From 35a86c7f7bc681d4bc4b398521caed6bfae384c0 Mon Sep 17 00:00:00 2001 From: Richard Astbury Date: Tue, 28 Aug 2018 13:13:38 +0100 Subject: [PATCH 1/3] minor improvements to jsx --- App/grains/grain.jsx | 7 ++----- App/index.jsx | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/App/grains/grain.jsx b/App/grains/grain.jsx index e868b997..9cc84c1e 100644 --- a/App/grains/grain.jsx +++ b/App/grains/grain.jsx @@ -83,11 +83,8 @@ module.exports = React.createClass({ }, render:function(){ - var renderMethod = this.renderGraphs; - - if (Object.keys(this.props.grainStats).length === 0) renderMethod = this.renderEmpty; - - return renderMethod() + if (Object.keys(this.props.grainStats).length === 0) return this.renderEmpty(); + return this.renderGraphs() } }); diff --git a/App/index.jsx b/App/index.jsx index 6f9b03b2..e87c6db9 100644 --- a/App/index.jsx +++ b/App/index.jsx @@ -18,7 +18,6 @@ const Alert = require('./components/alert.jsx'); const LogStream = require('./logstream/log-stream.jsx'); const SiloCounters = require('./silos/silo-counters.jsx'); const Reminders = require('./reminders/reminders.jsx'); -var timer; var dashboardCounters = {}; var routeIndex = 0; @@ -213,7 +212,7 @@ routie('/host/:host/counters', function(host){ renderLoading(); http.get(`SiloCounters/${host}`, (err, data) => { - + if (routeIndex != thisRouteIndex) return; var subTitle = Silo Details renderPage(, "#/silos") }); From 850f23e0497293d59984b1148471857b57615c34 Mon Sep 17 00:00:00 2001 From: Richard Astbury Date: Tue, 28 Aug 2018 13:58:21 +0100 Subject: [PATCH 2/3] added 'dev' script to package --- .gitignore | 1 + App/package.json | 3 ++- OrleansDashboard/index.min.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fa7eb065..cda73d34 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ *.sln.docstates .vscode/ BenchmarkDotNet.Artifacts/ +TestHost/index.min.js # User-specific files (MonoDevelop/Xamarin Studio) *.userprefs diff --git a/App/package.json b/App/package.json index 595fd782..129a8dd9 100644 --- a/App/package.json +++ b/App/package.json @@ -7,7 +7,8 @@ "build": "npm run lint && npm run test && npm run browserify", "lint": "eslint . --ext .js --ext .jsx", "test": "mocha", - "browserify": "browserify -t babelify index.jsx -g [ envify --NODE_ENV production ] -g uglifyify | uglifyjs --compress warnings=false --mangle > ../OrleansDashboard/index.min.js" + "browserify": "browserify -t babelify index.jsx -g [ envify --NODE_ENV production ] -g uglifyify | uglifyjs --compress warnings=false --mangle > ../OrleansDashboard/index.min.js", + "dev": "browserify -t babelify index.jsx -g [ envify --NODE_ENV development ] > ../TestHost/index.min.js" }, "dependencies": { "chart.js": "2.2.2", diff --git a/OrleansDashboard/index.min.js b/OrleansDashboard/index.min.js index 7d03aaaa..af02efc4 100644 --- a/OrleansDashboard/index.min.js +++ b/OrleansDashboard/index.min.js @@ -1 +1 @@ -!function(){function e(t,n,r){function a(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){return a(t[o][1][e]||e)},u,u.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o-1:e}).filter(function(e){return t.state.primary_key?e.primaryKey.indexOf(t.state.primary_key)>-1:e}).filter(function(e){return t.state.name?e.name.indexOf(t.state.name)>-1:e}).filter(function(e){return t.state.startAt?e.startAt.indexOf(t.state.startAt)>-1:e}).filter(function(e){return t.state.period?e.period.indexOf(t.state.period)>-1:e})},render:function(){if(!this.props.data)return null;var e=this.filterData(this.props.data);return a.createElement("table",{className:"table"},a.createElement("tbody",null,a.createElement("tr",null,a.createElement("th",{style:{textAlign:"left"}},"Grain Reference"),a.createElement("th",null,"Primary Key"),a.createElement("th",null),a.createElement("th",{style:{textAlign:"left"}},"Name"),a.createElement("th",{style:{textAlign:"left"}},"Start At"),a.createElement("th",{style:{textAlign:"right"}},"Period")),a.createElement("tr",null,a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.grain_reference,type:"text",name:"grain_reference",className:"form-control",placeholder:"Filter by Grain Reference"})),a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.primary_key,type:"text",name:"primary_key",className:"form-control",placeholder:"Filter by Primary Key"})),a.createElement("th",null),a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.name,type:"text",name:"name",className:"form-control",placeholder:"Filter by Name"})),a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.startAt,type:"text",name:"startAt",className:"form-control",placeholder:"Filter by Start At"})),a.createElement("th",{style:{textAlign:"right"}},a.createElement("input",{onChange:this.handleChange,value:this.state.period,type:"text",name:"period",className:"form-control",placeholder:"Filter by Period"}))),e.map(this.renderReminder)))}})},{react:259}],13:[function(e,t,n){"use strict";var r=e("react");t.exports=r.createClass({displayName:"exports",getInitialState:function(){var e=document.getElementById("dark-theme-style"),t="light";return localStorage&&(t=localStorage.getItem("theme")||"light"),"light"===t?e.setAttribute("media","none"):e.setAttribute("media",""),{light:"light"===t}},saveTheme:function(){localStorage&&localStorage.setItem("theme",this.state.light?"light":"dark")},pickLight:function(){document.getElementById("dark-theme-style").setAttribute("media","none"),this.setState({light:!0},this.saveTheme)},pickDark:function(){document.getElementById("dark-theme-style").setAttribute("media",""),this.setState({light:!1},this.saveTheme)},render:function(){return r.createElement("div",{className:"btn-group btn-group-sm",role:"group",style:{marginTop:"10px",marginRight:"10px"}},r.createElement("a",{href:"javascript:void(0);",className:this.state.light?"btn btn-primary":"btn btn-default",onClick:this.pickLight},"Light"),r.createElement("a",{href:"javascript:void(0);",className:this.state.light?"btn btn-default":"btn btn-primary",onClick:this.pickDark},"Dark"))}})},{react:259}],14:[function(e,t,n){"use strict";var r=e("react"),a=e("react-chartjs").Line;t.exports=r.createClass({displayName:"exports",getInitialState:function(){return{width:0}},getWidth:function(){this.refs.container&&this.setState({width:this.refs.container.offsetWidth})},renderChart:function(){if(0===this.state.width)return setTimeout(this.getWidth,0);var e={labels:this.props.series[0].map(function(e){return""}),datasets:[{label:"y2",backgroundColor:"rgba(236,151,31,0)",borderColor:"rgba(236,151,31,0.8)",data:this.props.series[2],pointRadius:0,yAxisID:"y2"},{label:"y1",backgroundColor:"rgba(246,31,31,0.8)",borderColor:"rgba(246,31,31,0)",data:this.props.series[0],pointRadius:0,yAxisID:"y1"},{label:"y1",backgroundColor:"rgba(120,57,136,0.8)",borderColor:"rgba(120,57,136,0)",data:this.props.series[1],pointRadius:0,yAxisID:"y1"}]},t={legend:{display:!1},maintainAspectRatio:!1,animation:!1,showTooltips:!1,responsive:!0,hoverMode:"label",stacked:!1,scales:{xAxes:[{display:!0,gridLines:{offsetGridLines:!1,drawOnChartArea:!1}}],yAxes:[{type:"linear",display:!0,position:"left",id:"y1",gridLines:{drawOnChartArea:!1},ticks:{beginAtZero:!0}},{type:"linear",display:!0,position:"right",id:"y2",gridLines:{drawOnChartArea:!1},ticks:{beginAtZero:!0}}]}};return r.createElement(a,{data:e,options:t,width:this.state.width,height:180})},render:function(){return r.createElement("div",{ref:"container"},this.renderChart())}})},{react:259,"react-chartjs":82}],15:[function(e,t,n){"use strict";function r(e){var t=e.split(".");return t[t.length-1]}var a=e("react"),i=e("../components/time-series-chart.jsx"),o=e("../components/counter-widget.jsx"),s=e("./silo-table.jsx"),l=e("../components/panel.jsx"),c=e("../components/page.jsx"),u=a.createClass({displayName:"GrainGraph",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 a.createElement("div",null,a.createElement("h4",null,this.props.grainMethod),a.createElement(i,{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=a.createClass({displayName:"exports",renderEmpty:function(){return a.createElement("span",null,"No messages recorded")},renderGraphs:function(){var e=this,t={activationCount:0,totalSeconds:0,totalAwaitTime:0,totalCalls:0,totalExceptions:0};return this.props.dashboardCounters.simpleGrainStats.forEach(function(n){n.grainType===e.props.grainType&&(t.activationCount+=n.activationCount,t.totalSeconds+=n.totalSeconds,t.totalAwaitTime+=n.totalAwaitTime,t.totalCalls+=n.totalCalls,t.totalExceptions+=n.totalExceptions)}),a.createElement(c,{title:r(this.props.grainType),subTitle:this.props.grainType},a.createElement("div",null,a.createElement("div",{className:"row"},a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"cubes",counter:t.activationCount,title:"Activations"})),a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"bug",counter:0===t.totalCalls?"0.00":(100*t.totalExceptions/t.totalCalls).toFixed(2)+"%",title:"Error Rate"})),a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"tachometer",counter:(t.totalCalls/100).toFixed(2),title:"Req/sec"})),a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"clock-o",counter:0===t.totalCalls?"0":(t.totalAwaitTime/t.totalCalls).toFixed(2)+"ms",title:"Average response time"}))),a.createElement(l,{title:"Method Profiling"},a.createElement("div",null,a.createElement("span",null,a.createElement("strong",{style:{color:"#783988",fontSize:"25px"}},"/")," number of requests per second",a.createElement("br",null),a.createElement("strong",{style:{color:"#EC1F1F",fontSize:"25px"}},"/")," failed requests"),a.createElement("span",{className:"pull-right"},a.createElement("strong",{style:{color:"#EC971F",fontSize:"25px"}},"/")," average latency in milliseconds"),Object.keys(this.props.grainStats).sort().map(function(t){return a.createElement(u,{stats:e.props.grainStats[t],grainMethod:r(t)})}))),a.createElement(l,{title:"Activations by Silo"},a.createElement(s,{data:this.props.dashboardCounters.simpleGrainStats,grainType:this.props.grainType}))))},render:function(){var e=this.renderGraphs;return 0===Object.keys(this.props.grainStats).length&&(e=this.renderEmpty),e()}})},{"../components/counter-widget.jsx":2,"../components/page.jsx":9,"../components/panel.jsx":10,"../components/time-series-chart.jsx":14,"./silo-table.jsx":17,react:259}],16:[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("../components/grain-table.jsx"),s=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(a,{icon:"cubes",counter:this.props.dashboardCounters.totalActivationCount,title:"Total Activations"})),r.createElement("div",{className:"col-md-8"},r.createElement("div",{className:"info-box",style:{padding:"5px"}},r.createElement(i,{series:[this.props.dashboardCounters.totalActivationCountHistory]})))),r.createElement(s,{title:"Activations by Type"},r.createElement(o,{data:this.props.dashboardCounters.simpleGrainStats})))}})},{"../components/counter-widget.jsx":2,"../components/grain-table.jsx":5,"../components/multi-series-chart-widget.jsx":8,"../components/panel.jsx":10,react:259}],17:[function(e,t,n){"use strict";var r=e("react");t.exports=r.createClass({displayName:"exports",renderStat:function(e){return r.createElement("tr",{key:e.siloAddress},r.createElement("td",{style:{textOverflow:"ellipsis"},title:e.siloAddress},r.createElement("a",{href:"#/host/"+e.siloAddress},e.siloAddress)),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,e.activationCount))),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,0===e.totalCalls?"0.00":(100*e.totalExceptions/e.totalCalls).toFixed(2))," ",r.createElement("small",null,"%"))),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,0===e.totalSeconds?"0":(e.totalCalls/100).toFixed(2))," ",r.createElement("small",null,"req/sec"))),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,0===e.totalCalls?"0":(e.totalAwaitTime/e.totalCalls).toFixed(2))," ",r.createElement("small",null,"ms/req"))))},render:function(){var e=this,t={};if(!this.props.data)return null;this.props.data.forEach(function(n){if(t[n.siloAddress]||(t[n.siloAddress]={activationCount:0,totalSeconds:0,totalAwaitTime:0,totalCalls:0,totalExceptions:0}),!e.props.grainType||n.grainType===e.props.grainType){var r=t[n.siloAddress];r.activationCount+=n.activationCount,r.totalSeconds+=n.totalSeconds,r.totalAwaitTime+=n.totalAwaitTime,r.totalCalls+=n.totalCalls,r.totalExceptions+=n.totalExceptions}});var n=Object.keys(t).map(function(e){var n=t[e];return n.siloAddress=e,n}).sort(function(e,t){return t.activationCount-e.activationCount});return r.createElement("table",{className:"table"},r.createElement("tbody",null,r.createElement("tr",null,r.createElement("th",{style:{textAlign:"left"}},"Silo"),r.createElement("th",{style:{textAlign:"right"}},"Activations"),r.createElement("th",{style:{textAlign:"right"}},"Exception rate"),r.createElement("th",{style:{textAlign:"right"}},"Throughput"),r.createElement("th",{style:{textAlign:"right"}},"Latency")),n.map(this.renderStat)))}})},{react:259}],18:[function(e,t,n){"use strict";function r(){try{document.getElementsByClassName("wrapper")[0].scrollTo(0,0)}catch(e){}}function a(){clearTimeout(O),O=null,h.render(d.createElement("span",null),document.getElementById("error-message-content"))}function i(){u.get("DashboardCounters",function(e,t){D=t,g.emit("dashboard-counters",t)})}function o(){var e="2",t=function(){h.render(d.createElement("span",{id:"version"},"v.",e,d.createElement("i",{style:{marginLeft:"12px",marginRight:"5px"},className:"fa fa-github"}),d.createElement("a",{style:{color:"white",textDecoration:"underline"},href:"https://github.com/OrleansContrib/OrleansDashboard/"},"Source")),document.getElementById("version-content"))};u.get("version",function(n,r){e=r.version,t()})}function s(){h.render(d.createElement(x,null),m)}function l(e,t){h.render(e,m);var n=c();n.forEach(function(e){e.active=e.path===t}),h.render(d.createElement(C,{menu:n}),A)}function c(){var e=[{name:"Overview",path:"#/",icon:"fa-circle"},{name:"Grains",path:"#/grains",icon:"fa-circle"},{name:"Silos",path:"#/silos",icon:"fa-circle"},{name:"Reminders",path:"#/reminders",icon:"fa-circle"}];return window.hideTrace||e.push({name:"Log Stream",path:"#/trace",icon:"fa-file-text"}),e}var u=e("./lib/http"),d=e("react"),h=e("react-dom"),p=e("./lib/routie"),f=e("./silos/silo.jsx"),m=document.getElementById("content"),g=e("eventthing"),v=e("./components/theme-buttons.jsx"),b=e("./grains/grain.jsx"),y=e("./components/page.jsx"),x=e("./components/loading.jsx"),C=e("./components/menu.jsx"),w=e("./grains/grains.jsx"),_=e("./silos/silos.jsx"),k=e("./overview/overview.jsx"),E=e("./silos/silo-state-label.jsx"),S=e("./components/alert.jsx"),M=e("./logstream/log-stream.jsx"),T=e("./silos/silo-counters.jsx"),P=e("./reminders/reminders.jsx"),D={},R=0;h.render(d.createElement(v,null),document.getElementById("button-toggles-content"));var O;u.onError(function(e){h.render(d.createElement(S,{onClose:a},e),document.getElementById("error-message-content")),O&&clearTimeout(O),O=setTimeout(a,3e3)}),setInterval(i,1e3),i();var I=function(){},A=document.getElementById("menu");p("",function(){var e=++R;g.clearAll(),r(),s();var t={},n=[];I=function(){R==e&&l(d.createElement(y,{title:"Dashboard"},d.createElement(k,{dashboardCounters:D,clusterStats:t,grainMethodStats:n})),"#/")},g.on("dashboard-counters",I),g.on("refresh",function(e){u.get("ClusterStats",function(e,r){t=r,u.get("TopGrainMethods",function(e,t){n=t,I()})})}),o(),i()}),p("/grains",function(){var e=++R;g.clearAll(),r(),s(),I=function(){R==e&&l(d.createElement(y,{title:"Grains"},d.createElement(w,{dashboardCounters:D})),"#/grains")},g.on("dashboard-counters",I),g.on("refresh",I),i()}),p("/silos",function(){var e=++R;g.clearAll(),r(),s(),I=function(){R==e&&l(d.createElement(y,{title:"Silos"},d.createElement(_,{dashboardCounters:D})),"#/silos")},g.on("dashboard-counters",I),g.on("refresh",I),i()}),p("/host/:host",function(e){var t=++R;g.clearAll(),r(),s();var n={},a=[],i=[],o=function(t){u.get("HistoricalStats/"+e,function(e,t){a=t,h()}),u.get("SiloStats/"+e,function(e,t){i=t,h()})},c=function(){return a.length&&a[a.length-1]&&a[a.length-1].isOverloaded?d.createElement("small",null,d.createElement("span",{className:"label label-danger"},"OVERLOADED")):null},h=function(){if(R==t){var r=(D.hosts||[]).filter(function(t){return t.siloAddress===e})[0]||{},o=d.createElement("span",null,d.createElement(E,{status:r.status})," ",c());l(d.createElement(y,{title:"Silo "+e,subTitle:o},d.createElement(f,{silo:e,data:a,siloProperties:n,dashboardCounters:D,siloStats:i})),"#/silos")}};g.on("dashboard-counters",h),g.on("refresh",o),u.get("SiloProperties/"+e,function(e,t){n=t,o()})}),p("/host/:host/counters",function(e){++R,g.clearAll(),r(),s(),u.get("SiloCounters/"+e,function(t,n){var r=d.createElement("a",{href:"#/host/"+e},"Silo Details");l(d.createElement(y,{title:"Silo "+e,subTitle:r},d.createElement(T,{silo:e,dashboardCounters:D,counters:n})),"#/silos")})}),p("/grain/:grainType",function(e){var t=++R;g.clearAll(),r(),s();var n={},a=function(t){u.get("GrainStats/"+e,function(e,t){n=t,I()})};I=function(){R==t&&l(d.createElement(b,{grainType:e,dashboardCounters:D,grainStats:n}),"#/grains")},g.on("dashboard-counters",I),g.on("refresh",a),a()}),p("/reminders/:page?",function(e){var t=++R;g.clearAll(),r(),s();var n=[];e=e?parseInt(e):1;var a=function(){R==t&&l(d.createElement(y,{title:"Reminders"},d.createElement(P,{remindersData:n,page:e})),"#/reminders")},i=function(t){u.get("Reminders/"+e,function(e,t){n=t,a()})};g.on("long-refresh",i),i()}),p("/trace",function(){++R,g.clearAll(),r();var e=u.stream("Trace");l(d.createElement(M,{xhr:e}),"#/trace")}),setInterval(function(){return g.emit("refresh")},1e3),setInterval(function(){return g.emit("long-refresh")},1e4),p.reload()},{"./components/alert.jsx":1,"./components/loading.jsx":6,"./components/menu.jsx":7,"./components/page.jsx":9,"./components/theme-buttons.jsx":13,"./grains/grain.jsx":15,"./grains/grains.jsx":16,"./lib/http":19,"./lib/routie":20,"./logstream/log-stream.jsx":21,"./overview/overview.jsx":260,"./reminders/reminders.jsx":261,"./silos/silo-counters.jsx":263,"./silos/silo-state-label.jsx":265,"./silos/silo.jsx":266,"./silos/silos.jsx":267,eventthing:71,react:259,"react-dom":93}],19:[function(e,t,n){"use strict";function r(e,t,n,r){var i=new XMLHttpRequest;i.open(e,t,!0),i.onreadystatechange=function(){if(4===i.readyState){if(i.status<400&&i.status>0)return r(null,JSON.parse(i.responseText||"{}"));var e="Error connecting to Orleans Silo. Status code: "+(i.status||"NO_CONNECTION");a.forEach(function(t){return t(e)})}},i.setRequestHeader("Content-Type","application/json"),i.setRequestHeader("Accept","application/json"),i.send(n)}e("eventthing");t.exports.get=function(e,t){r("GET",e,null,t)},t.exports.stream=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!0),t.send(),t};var a=[];t.exports.onError=function(e){a.push(e)}},{eventthing:71}],20:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e,a){"object"===(void 0===n?"undefined":r(n))?t.exports=a(window):"function"==typeof define&&define.amd?define([],function(){return e.routie=a(window)}):e.routie=a(window)}(void 0,function(e){var t=[],n={},a=e.routie,i=function(e,t){this.name=t,this.path=e,this.keys=[],this.fns=[],this.params={},this.regex=o(this.path,this.keys,!1,!1)};i.prototype.addHandler=function(e){this.fns.push(e)},i.prototype.removeHandler=function(e){for(var t=0,n=this.fns.length;tn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,r=e,a=void 0===t?.5:t,i=2*a-1,o=n.alpha()-r.alpha(),s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,l=1-s;return this.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue()).alpha(n.alpha()*a+r.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new i,r=this.values,a=n.values;for(var o in r)r.hasOwnProperty(o)&&(e=r[o],"[object Array]"===(t={}.toString.call(e))?a[o]=e.slice(0):"[object Number]"===t?a[o]=e:console.error("unexpected color value:",e));return n}},i.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},i.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},i.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function u(e){var t,n,r,a=c(e),i=a[0],o=a[1],s=a[2];return i/=95.047,o/=100,s/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,t=116*o-16,n=500*(i-o),r=200*(o-s),[t,n,r]}function d(e){var t,n,r,a,i,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return i=255*l,[i,i,i];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var c=0;c<3;c++)(r=o+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,a[c]=255*i;return a}function h(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*i),l=255*r*(1-n*(1-i)),r=255*r;switch(a){case 0:return[r,l,o];case 1:return[s,r,o];case 2:return[o,r,l];case 3:return[o,s,r];case 4:return[l,o,r];case 5:return[r,o,s]}}function p(e){var t,n,a,i,o=e[0]/360,s=e[1]/100,l=e[2]/100,c=s+l;switch(c>1&&(s/=c,l/=c),t=Math.floor(6*o),n=1-l,a=6*o-t,0!=(1&t)&&(a=1-a),i=s+a*(n-s),t){default:case 6:case 0:r=n,g=i,b=s;break;case 1:r=i,g=n,b=s;break;case 2:r=s,g=n,b=i;break;case 3:r=s,g=i,b=n;break;case 4:r=i,g=s,b=n;break;case 5:r=n,g=s,b=i}return[255*r,255*g,255*b]}function f(e){var t,n,r,a=e[0]/100,i=e[1]/100,o=e[2]/100,s=e[3]/100;return t=1-Math.min(1,a*(1-s)+s),n=1-Math.min(1,i*(1-s)+s),r=1-Math.min(1,o*(1-s)+s),[255*t,255*n,255*r]}function m(e){var t,n,r,a=e[0]/100,i=e[1]/100,o=e[2]/100;return t=3.2406*a+-1.5372*i+-.4986*o,n=-.9689*a+1.8758*i+.0415*o,r=.0557*a+-.204*i+1.057*o,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]}function v(e){var t,n,r,a=e[0],i=e[1],o=e[2];return a/=95.047,i/=100,o/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,t=116*i-16,n=500*(a-i),r=200*(i-o),[t,n,r]}function y(e){var t,n,r,a,i=e[0],o=e[1],s=e[2];return i<=8?a=(n=100*i/903.3)/100*7.787+16/116:(n=100*Math.pow((i+16)/116,3),a=Math.pow(n/100,1/3)),t=t/95.047<=.008856?t=95.047*(o/500+a-16/116)/7.787:95.047*Math.pow(o/500+a,3),r=r/108.883<=.008859?r=108.883*(a-s/200-16/116)/7.787:108.883*Math.pow(a-s/200,3),[t,n,r]}function x(e){var t,n,r,a=e[0],i=e[1],o=e[2];return t=Math.atan2(o,i),(n=360*t/2/Math.PI)<0&&(n+=360),r=Math.sqrt(i*i+o*o),[a,r,n]}function C(e){return m(y(e))}function w(e){var t,n,r,a=e[0],i=e[1];return r=e[2]/360*2*Math.PI,t=i*Math.cos(r),n=i*Math.sin(r),[a,t,n]}function _(e){return k[e]}t.exports={rgb2hsl:a,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:c,rgb2lab:u,rgb2lch:function(e){return x(u(e))},hsl2rgb:d,hsl2hsv:function(e){var t,n,r=e[0],a=e[1]/100,i=e[2]/100;return 0===i?[0,0,0]:(i*=2,a*=i<=1?i:2-i,n=(i+a)/2,t=2*a/(i+a),[r,100*t,100*n])},hsl2hwb:function(e){return o(d(e))},hsl2cmyk:function(e){return s(d(e))},hsl2keyword:function(e){return l(d(e))},hsv2rgb:h,hsv2hsl:function(e){var t,n,r=e[0],a=e[1]/100,i=e[2]/100;return n=(2-a)*i,t=a*i,t/=n<=1?n:2-n,t=t||0,n/=2,[r,100*t,100*n]},hsv2hwb:function(e){return o(h(e))},hsv2cmyk:function(e){return s(h(e))},hsv2keyword:function(e){return l(h(e))},hwb2rgb:p,hwb2hsl:function(e){return a(p(e))},hwb2hsv:function(e){return i(p(e))},hwb2cmyk:function(e){return s(p(e))},hwb2keyword:function(e){return l(p(e))},cmyk2rgb:f,cmyk2hsl:function(e){return a(f(e))},cmyk2hsv:function(e){return i(f(e))},cmyk2hwb:function(e){return o(f(e))},cmyk2keyword:function(e){return l(f(e))},keyword2rgb:_,keyword2hsl:function(e){return a(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return o(_(e))},keyword2cmyk:function(e){return s(_(e))},keyword2lab:function(e){return u(_(e))},keyword2xyz:function(e){return c(_(e))},xyz2rgb:m,xyz2lab:v,xyz2lch:function(e){return x(v(e))},lab2xyz:y,lab2rgb:C,lab2lch:x,lch2lab:w,lch2xyz:function(e){return y(w(e))},lch2rgb:function(e){return C(w(e))}};var k={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},E={};for(var S in k)E[JSON.stringify(k[S])]=S},{}],25:[function(e,t,n){var r=e("./conversions"),a=function(){return new c};for(var i in r){a[i+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(i);var o=/(\w+)2(\w+)/.exec(i),s=o[1],l=o[2];(a[s]=a[s]||{})[l]=a[i]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var a=0;a0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}function N(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(Bt[e]=a),t&&(Bt[t[0]]=function(){return A(a.apply(this,arguments),t[1],t[2])}),n&&(Bt[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function F(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function j(e){var t,n,r=e.match(Vt);for(t=0,n=r.length;t=0&&Ut.test(e);)e=e.replace(Ut,function(e){return t.longDateFormat(e)||e}),Ut.lastIndex=0,n-=1;return e}function U(e,t,n){sn[e]=S(t)?t:function(e,r){return e&&n?n:t}}function W(e,t){return u(sn,e)?sn[e](t._strict,t._locale):new RegExp(B(e))}function B(e){return H(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a}))}function H(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function z(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=C(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ie(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function oe(e,t,n){var r=7+t-n;return-(7+ie(e,0,r).getUTCDay()-t)%7+r-1}function se(e,t,n,r,a){var i,o,s=1+7*(t-1)+(7+n-r)%7+oe(e,r,a);return s<=0?o=G(i=e-1)+s:s>G(e)?(i=e+1,o=s-G(e)):(i=e,o=s),{year:i,dayOfYear:o}}function le(e,t,n){var r,a,i=oe(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?r=o+ce(a=e.year()-1,t,n):o>ce(e.year(),t,n)?(r=o-ce(e.year(),t,n),a=e.year()+1):(a=e.year(),r=o),{week:r,year:a}}function ce(e,t,n){var r=oe(e,t,n),a=oe(e+1,t,n);return(G(e)-r+a)/7}function ue(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function de(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function he(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=bn.call(this._weekdaysParse,o))?a:null:"ddd"===t?-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:null:"dddd"===t?-1!==(a=bn.call(this._weekdaysParse,o))?a:-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:null:"ddd"===t?-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:-1!==(a=bn.call(this._weekdaysParse,o))?a:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:null:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:-1!==(a=bn.call(this._weekdaysParse,o))?a:-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:null}function pe(){function e(e,t){return t.length-e.length}var t,n,r,a,i,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),i=this.weekdays(n,""),o.push(r),s.push(a),l.push(i),c.push(r),c.push(a),c.push(i);for(o.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=H(s[t]),l[t]=H(l[t]),c[t]=H(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("^("+o.join("|")+")","i")}function fe(){return this.hours()%12||12}function me(e,t){N(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ge(e,t){return t._meridiemParse}function ve(e){return e?e.toLowerCase().replace("_","-"):e}function be(e){for(var t,n,r,a,i=0;i0;){if(r=ye(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(a,n,!0)>=t-1)break;t--}i++}return null}function ye(n){var r=null;if(!Fn[n]&&void 0!==t&&t&&t.exports)try{r=On._abbr,e("./locale/"+n),xe(r)}catch(n){}return Fn[n]}function xe(e,t){var n;return e&&(n=o(t)?we(e):Ce(e,t))&&(On=n),On._abbr}function Ce(e,t){if(null!==t){var n=Nn;if(t.abbr=e,null!=Fn[e])E("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."),n=Fn[e]._config;else if(null!=t.parentLocale){if(null==Fn[t.parentLocale])return jn[t.parentLocale]||(jn[t.parentLocale]=[]),jn[t.parentLocale].push({name:e,config:t}),null;n=Fn[t.parentLocale]._config}return Fn[e]=new T(M(n,t)),jn[e]&&jn[e].forEach(function(e){Ce(e.name,e.config)}),xe(e),Fn[e]}return delete Fn[e],null}function we(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return On;if(!r(e)){if(t=ye(e))return t;e=[e]}return be(e)}function _e(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[un]<0||n[un]>11?un:n[dn]<1||n[dn]>$(n[cn],n[un])?dn:n[hn]<0||n[hn]>24||24===n[hn]&&(0!==n[pn]||0!==n[fn]||0!==n[mn])?hn:n[pn]<0||n[pn]>59?pn:n[fn]<0||n[fn]>59?fn:n[mn]<0||n[mn]>999?mn:-1,f(e)._overflowDayOfYear&&(tdn)&&(t=dn),f(e)._overflowWeeks&&-1===t&&(t=gn),f(e)._overflowWeekday&&-1===t&&(t=vn),f(e).overflow=t),e}function ke(e,t,n){return null!=e?e:null!=t?t:n}function Ee(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Se(e){var t,n,r,a,i=[];if(!e._d){for(r=Ee(e),e._w&&null==e._a[dn]&&null==e._a[un]&&Me(e),null!=e._dayOfYear&&(a=ke(e._a[cn],r[cn]),(e._dayOfYear>G(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=ie(a,0,e._dayOfYear),e._a[un]=n.getUTCMonth(),e._a[dn]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[hn]&&0===e._a[pn]&&0===e._a[fn]&&0===e._a[mn]&&(e._nextDay=!0,e._a[hn]=0),e._d=(e._useUTC?ie:ae).apply(null,i),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[hn]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(f(e).weekdayMismatch=!0)}}function Me(e){var t,n,r,a,i,o,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,o=4,n=ke(t.GG,e._a[cn],le(ze(),1,4).year),r=ke(t.W,1),((a=ke(t.E,1))<1||a>7)&&(l=!0);else{i=e._locale._week.dow,o=e._locale._week.doy;var c=le(ze(),i,o);n=ke(t.gg,e._a[cn],c.year),r=ke(t.w,c.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+i,(t.e<0||t.e>6)&&(l=!0)):a=i}r<1||r>ce(n,i,o)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(s=se(n,r,a,i,o),e._a[cn]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){var t,n,r,a,i,o,s=e._i,l=Ln.exec(s)||Vn.exec(s);if(l){for(f(e).iso=!0,t=0,n=Wn.length;t0&&f(e).unusedInput.push(o),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Bt[i]?(r?f(e).empty=!1:f(e).unusedTokens.push(i),q(i,r,e)):e._strict&&!r&&f(e).unusedTokens.push(i);f(e).charsLeftOver=l-c,s.length>0&&f(e).unusedInput.push(s),e._a[hn]<=12&&!0===f(e).bigHour&&e._a[hn]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[hn]=je(e._locale,e._a[hn],e._meridiem),Se(e),_e(e)}else Ae(e);else Te(e)}function je(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Le(e){var t,n,r,a,i;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;ai&&(t=i),ht.call(this,e,t,n,r,a))}function ht(e,t,n,r,a){var i=se(e,t,n,r,a),o=ie(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function pt(e){return e}function ft(e,t,n,r){var a=we(),i=h().set(r,t);return a[n](i,e)}function mt(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return ft(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=ft(e,r,n,"month");return a}function gt(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var a=we(),i=e?a._week.dow:0;if(null!=n)return ft(t,(n+i)%7,r,"day");var o,l=[];for(o=0;o<7;o++)l[o]=ft(t,(o+i)%7,r,"day");return l}function vt(e,t,n,r){var a=tt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function bt(e){return e<0?Math.floor(e):Math.ceil(e)}function yt(e){return 4800*e/146097}function xt(e){return 146097*e/4800}function Ct(e){return function(){return this.as(e)}}function wt(e){return function(){return this.isValid()?this._data[e]:NaN}}function _t(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function kt(e,t,n){var r=tt(e).abs(),a=kr(r.as("s")),i=kr(r.as("m")),o=kr(r.as("h")),s=kr(r.as("d")),l=kr(r.as("M")),c=kr(r.as("y")),u=a<=Er.ss&&["s",a]||a0,u[4]=n,_t.apply(null,u)}function Et(e){return(e>0)-(e<0)||+e}function St(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Sr(this._milliseconds)/1e3,a=Sr(this._days),i=Sr(this._months);t=x((e=x(r/60))/60),r%=60,e%=60;var o=n=x(i/12),s=i%=12,l=a,c=t,u=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var p=h<0?"-":"",f=Et(this._months)!==Et(h)?"-":"",m=Et(this._days)!==Et(h)?"-":"",g=Et(this._milliseconds)!==Et(h)?"-":"";return p+"P"+(o?f+o+"Y":"")+(s?f+s+"M":"")+(l?m+l+"D":"")+(c||u||d?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(d?g+d+"S":"")}var Mt,Tt;Tt=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var bn,yn=Z("FullYear",!0);bn=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;tthis?this:e:g()}),Kn=["year","quarter","month","week","day","hour","minute","second","millisecond"];Qe("Z",":"),Qe("ZZ",""),U("Z",rn),U("ZZ",rn),z(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Xe(rn,e)});var Zn=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Qn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Xn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;tt.fn=Ge.prototype,tt.invalid=function(){return tt(NaN)};var Jn=it(1,"add"),$n=it(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var er=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ut("gggg","weekYear"),ut("ggggg","weekYear"),ut("GGGG","isoWeekYear"),ut("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),O("weekYear",1),O("isoWeekYear",1),U("G",tn),U("g",tn),U("GG",Kt,zt),U("gg",Kt,zt),U("GGGG",Jt,qt),U("gggg",Jt,qt),U("GGGGG",$t,Gt),U("ggggg",$t,Gt),Y(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=C(e)}),Y(["gg","GG"],function(e,t,r,a){t[a]=n.parseTwoDigitYear(e)}),N("Q",0,"Qo","quarter"),P("quarter","Q"),O("quarter",7),U("Q",Ht),z("Q",function(e,t){t[un]=3*(C(e)-1)}),N("D",["DD",2],"Do","date"),P("date","D"),O("date",9),U("D",Kt),U("DD",Kt,zt),U("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),z(["D","DD"],dn),z("Do",function(e,t){t[dn]=C(e.match(Kt)[0],10)});var tr=Z("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),O("dayOfYear",4),U("DDD",Xt),U("DDDD",Yt),z(["DDD","DDDD"],function(e,t,n){n._dayOfYear=C(e)}),N("m",["mm",2],0,"minute"),P("minute","m"),O("minute",14),U("m",Kt),U("mm",Kt,zt),z(["m","mm"],pn);var nr=Z("Minutes",!1);N("s",["ss",2],0,"second"),P("second","s"),O("second",15),U("s",Kt),U("ss",Kt,zt),z(["s","ss"],fn);var rr=Z("Seconds",!1);N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),O("millisecond",16),U("S",Xt,Ht),U("SS",Xt,zt),U("SSS",Xt,Yt);var ar;for(ar="SSSS";ar.length<=9;ar+="S")U(ar,en);for(ar="S";ar.length<=9;ar+="S")z(ar,function(e,t){t[mn]=C(1e3*("0."+e))});var ir=Z("Milliseconds",!1);N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var or=b.prototype;or.add=Jn,or.calendar=function(e,t){var r=e||ze(),a=Je(r,this).startOf("day"),i=n.calendarFormat(this,a)||"sameElse",o=t&&(S(t[i])?t[i].call(this,r):t[i]);return this.format(o||this.localeData().calendar(i,this,ze(r)))},or.clone=function(){return new b(this)},or.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Je(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=D(t)){case"year":i=st(this,r)/12;break;case"month":i=st(this,r);break;case"quarter":i=st(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:x(i)},or.endOf=function(e){return void 0===(e=D(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},or.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=L(this,e);return this.localeData().postformat(t)},or.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||ze(e).isValid())?tt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},or.fromNow=function(e){return this.from(ze(),e)},or.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||ze(e).isValid())?tt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},or.toNow=function(e){return this.to(ze(),e)},or.get=function(e){return e=D(e),S(this[e])?this[e]():this},or.invalidAt=function(){return f(this).overflow},or.isAfter=function(e,t){var n=y(e)?e:ze(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(o(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()9999?L(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):S(Date.prototype.toISOString)?this.toDate().toISOString():L(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},or.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+a)},or.toJSON=function(){return this.isValid()?this.toISOString():null},or.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},or.unix=function(){return Math.floor(this.valueOf()/1e3)},or.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},or.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},or.year=yn,or.isLeapYear=function(){return K(this.year())},or.weekYear=function(e){return dt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},or.isoWeekYear=function(e){return dt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},or.quarter=or.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},or.month=ne,or.daysInMonth=function(){return $(this.year(),this.month())},or.week=or.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},or.isoWeek=or.isoWeeks=function(e){var t=le(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},or.weeksInYear=function(){var e=this.localeData()._week;return ce(this.year(),e.dow,e.doy)},or.isoWeeksInYear=function(){return ce(this.year(),1,4)},or.date=tr,or.day=or.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=ue(e,this.localeData()),this.add(e-t,"d")):t},or.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},or.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=de(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},or.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},or.hour=or.hours=An,or.minute=or.minutes=nr,or.second=or.seconds=rr,or.millisecond=or.milliseconds=ir,or.utcOffset=function(e,t,r){var a,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Xe(rn,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(a=$e(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),i!==e&&(!t||this._changeInProgress?ot(this,tt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:$e(this)},or.utc=function(e){return this.utcOffset(0,e)},or.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract($e(this),"m")),this},or.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Xe(nn,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},or.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ze(e).utcOffset():0,(this.utcOffset()-e)%60==0)},or.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},or.isLocal=function(){return!!this.isValid()&&!this._isUTC},or.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},or.isUtc=et,or.isUTC=et,or.zoneAbbr=function(){return this._isUTC?"UTC":""},or.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},or.dates=k("dates accessor is deprecated. Use date instead.",tr),or.months=k("months accessor is deprecated. Use month instead",ne),or.years=k("years accessor is deprecated. Use year instead",yn),or.zone=k("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()}),or.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),(e=We(e))._a){var t=e._isUTC?h(e._a):ze(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var sr=T.prototype;sr.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return S(r)?r.call(t,n):r},sr.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},sr.invalidDate=function(){return this._invalidDate},sr.ordinal=function(e){return this._ordinal.replace("%d",e)},sr.preparse=pt,sr.postformat=pt,sr.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return S(a)?a(e,t,n,r):a.replace(/%d/i,e)},sr.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)},sr.set=function(e){var t,n;for(n in e)S(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},sr.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xn).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},sr.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xn.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},sr.monthsParse=function(e,t,n){var r,a,i;if(this._monthsParseExact)return ee.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},sr.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=kn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},sr.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=_n),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},sr.week=function(e){return le(e,this._week.dow,this._week.doy).week},sr.firstDayOfYear=function(){return this._week.doy},sr.firstDayOfWeek=function(){return this._week.dow},sr.weekdays=function(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone},sr.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},sr.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},sr.weekdaysParse=function(e,t,n){var r,a,i;if(this._weekdaysParseExact)return he.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},sr.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||pe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Pn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},sr.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||pe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Dn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},sr.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||pe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},sr.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},sr.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},xe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===C(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=k("moment.lang is deprecated. Use moment.locale instead.",xe),n.langData=k("moment.langData is deprecated. Use moment.localeData instead.",we);var lr=Math.abs,cr=Ct("ms"),ur=Ct("s"),dr=Ct("m"),hr=Ct("h"),pr=Ct("d"),fr=Ct("w"),mr=Ct("M"),gr=Ct("y"),vr=wt("milliseconds"),br=wt("seconds"),yr=wt("minutes"),xr=wt("hours"),Cr=wt("days"),wr=wt("months"),_r=wt("years"),kr=Math.round,Er={ss:44,s:45,m:45,h:22,d:26,M:11},Sr=Math.abs,Mr=Ge.prototype;return Mr.isValid=function(){return this._isValid},Mr.abs=function(){var e=this._data;return this._milliseconds=lr(this._milliseconds),this._days=lr(this._days),this._months=lr(this._months),e.milliseconds=lr(e.milliseconds),e.seconds=lr(e.seconds),e.minutes=lr(e.minutes),e.hours=lr(e.hours),e.months=lr(e.months),e.years=lr(e.years),this},Mr.add=function(e,t){return vt(this,e,t,1)},Mr.subtract=function(e,t){return vt(this,e,t,-1)},Mr.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=D(e))||"year"===e)return t=this._days+r/864e5,n=this._months+yt(t),"month"===e?n:n/12;switch(t=this._days+Math.round(xt(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Mr.asMilliseconds=cr,Mr.asSeconds=ur,Mr.asMinutes=dr,Mr.asHours=hr,Mr.asDays=pr,Mr.asWeeks=fr,Mr.asMonths=mr,Mr.asYears=gr,Mr.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12):NaN},Mr._bubble=function(){var e,t,n,r,a,i=this._milliseconds,o=this._days,s=this._months,l=this._data;return i>=0&&o>=0&&s>=0||i<=0&&o<=0&&s<=0||(i+=864e5*bt(xt(s)+o),o=0,s=0),l.milliseconds=i%1e3,e=x(i/1e3),l.seconds=e%60,t=x(e/60),l.minutes=t%60,n=x(t/60),l.hours=n%24,o+=x(n/24),a=x(yt(o)),s+=a,o-=bt(xt(a)),r=x(s/12),s%=12,l.days=o,l.months=s,l.years=r,this},Mr.clone=function(){return tt(this)},Mr.get=function(e){return e=D(e),this.isValid()?this[e+"s"]():NaN},Mr.milliseconds=vr,Mr.seconds=br,Mr.minutes=yr,Mr.hours=xr,Mr.days=Cr,Mr.weeks=function(){return x(this.days()/7)},Mr.months=wr,Mr.years=_r,Mr.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=kt(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Mr.toISOString=St,Mr.toString=St,Mr.toJSON=St,Mr.locale=lt,Mr.localeData=ct,Mr.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",St),Mr.lang=er,N("X",0,0,"unix"),N("x",0,0,"valueOf"),U("x",tn),U("X",an),z("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),z("x",function(e,t,n){n._d=new Date(C(e))}),n.version="2.19.2",Mt=ze,n.fn=or,n.min=function(){return Ye("isBefore",[].slice.call(arguments,0))},n.max=function(){return Ye("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(e){return ze(1e3*e)},n.months=function(e,t){return mt(e,t,"months")},n.isDate=l,n.locale=xe,n.invalid=g,n.duration=tt,n.isMoment=y,n.weekdays=function(e,t,n){return gt(e,t,n,"weekdays")},n.parseZone=function(){return ze.apply(null,arguments).parseZone()},n.localeData=we,n.isDuration=Ke,n.monthsShort=function(e,t){return mt(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return gt(e,t,n,"weekdaysMin")},n.defineLocale=Ce,n.updateLocale=function(e,t){if(null!=t){var n,r,a=Nn;null!=(r=ye(e))&&(a=r._config),(n=new T(t=M(a,t))).parentLocale=Fn[e],Fn[e]=n,xe(e)}else null!=Fn[e]&&(null!=Fn[e].parentLocale?Fn[e]=Fn[e].parentLocale:null!=Fn[e]&&delete Fn[e]);return Fn[e]},n.locales=function(){return Ot(Fn)},n.weekdaysShort=function(e,t,n){return gt(e,t,n,"weekdaysShort")},n.normalizeUnits=D,n.relativeTimeRounding=function(e){return void 0===e?kr:"function"==typeof e&&(kr=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Er[e]&&(void 0===t?Er[e]:(Er[e]=t,"s"===e&&(Er.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=or,n})},{}],28:[function(e,t,n){var r=e("./core/core.js")();e("./core/core.helpers")(r),e("./core/core.canvasHelpers")(r),e("./core/core.element")(r),e("./core/core.animation")(r),e("./core/core.controller")(r),e("./core/core.datasetController")(r),e("./core/core.layoutService")(r),e("./core/core.scaleService")(r),e("./core/core.plugin.js")(r),e("./core/core.scale")(r),e("./core/core.title")(r),e("./core/core.legend")(r),e("./core/core.tooltip")(r),e("./elements/element.arc")(r),e("./elements/element.line")(r),e("./elements/element.point")(r),e("./elements/element.rectangle")(r),e("./scales/scale.linearbase.js")(r),e("./scales/scale.category")(r),e("./scales/scale.linear")(r),e("./scales/scale.logarithmic")(r),e("./scales/scale.radialLinear")(r),e("./scales/scale.time")(r),e("./controllers/controller.bar")(r),e("./controllers/controller.bubble")(r),e("./controllers/controller.doughnut")(r),e("./controllers/controller.line")(r),e("./controllers/controller.polarArea")(r),e("./controllers/controller.radar")(r),e("./charts/Chart.Bar")(r),e("./charts/Chart.Bubble")(r),e("./charts/Chart.Doughnut")(r),e("./charts/Chart.Line")(r),e("./charts/Chart.PolarArea")(r),e("./charts/Chart.Radar")(r),e("./charts/Chart.Scatter")(r),window.Chart=t.exports=r},{"./charts/Chart.Bar":29,"./charts/Chart.Bubble":30,"./charts/Chart.Doughnut":31,"./charts/Chart.Line":32,"./charts/Chart.PolarArea":33,"./charts/Chart.Radar":34,"./charts/Chart.Scatter":35,"./controllers/controller.bar":36,"./controllers/controller.bubble":37,"./controllers/controller.doughnut":38,"./controllers/controller.line":39,"./controllers/controller.polarArea":40,"./controllers/controller.radar":41,"./core/core.animation":42,"./core/core.canvasHelpers":43,"./core/core.controller":44,"./core/core.datasetController":45,"./core/core.element":46,"./core/core.helpers":47,"./core/core.js":48,"./core/core.layoutService":49,"./core/core.legend":50,"./core/core.plugin.js":51,"./core/core.scale":52,"./core/core.scaleService":53,"./core/core.title":54,"./core/core.tooltip":55,"./elements/element.arc":56,"./elements/element.line":57,"./elements/element.point":58,"./elements/element.rectangle":59,"./scales/scale.category":60,"./scales/scale.linear":61,"./scales/scale.linearbase.js":62,"./scales/scale.logarithmic":63,"./scales/scale.radialLinear":64,"./scales/scale.time":65}],29:[function(e,t,n){"use strict";t.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},{}],30:[function(e,t,n){"use strict";t.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},{}],31:[function(e,t,n){"use strict";t.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},{}],32:[function(e,t,n){"use strict";t.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},{}],33:[function(e,t,n){"use strict";t.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},{}],34:[function(e,t,n){"use strict";t.exports=function(e){e.Radar=function(t,n){return n.options=e.helpers.configMerge({aspectRatio:1},n.options),n.type="radar",new e(t,n)}}},{}],35:[function(e,t,n){"use strict";t.exports=function(e){var t={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-1"}],yAxes:[{type:"linear",position:"left",id:"y-axis-1"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}};e.defaults.scatter=t,e.controllers.scatter=e.controllers.line,e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},{}],36:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},e.controllers.bar=e.DatasetController.extend({dataElementType:e.elements.Rectangle,initialize:function(t,n){e.DatasetController.prototype.initialize.call(this,t,n),this.getMeta().bar=!0},getBarCount:function(){var e=this,n=0;return t.each(e.chart.data.datasets,function(t,r){e.chart.getDatasetMeta(r).bar&&e.chart.isDatasetVisible(r)&&++n},e),n},update:function(e){var n=this;t.each(n.getMeta().data,function(t,r){n.updateElement(t,r,e)},n)},updateElement:function(e,n,r){var a=this,i=a.getMeta(),o=a.getScaleForId(i.xAxisID),s=a.getScaleForId(i.yAxisID),l=s.getBasePixel(),c=a.chart.options.elements.rectangle,u=e.custom||{},d=a.getDataset();t.extend(e,{_xScale:o,_yScale:s,_datasetIndex:a.index,_index:n,_model:{x:a.calculateBarX(n,a.index),y:r?l:a.calculateBarY(n,a.index),label:a.chart.data.labels[n],datasetLabel:d.label,base:r?l:a.calculateBarBase(a.index,n),width:a.calculateBarWidth(n),backgroundColor:u.backgroundColor?u.backgroundColor:t.getValueAtIndexOrDefault(d.backgroundColor,n,c.backgroundColor),borderSkipped:u.borderSkipped?u.borderSkipped:c.borderSkipped,borderColor:u.borderColor?u.borderColor:t.getValueAtIndexOrDefault(d.borderColor,n,c.borderColor),borderWidth:u.borderWidth?u.borderWidth:t.getValueAtIndexOrDefault(d.borderWidth,n,c.borderWidth)}}),e.pivot()},calculateBarBase:function(e,t){var n=this,r=n.getMeta(),a=n.getScaleForId(r.yAxisID),i=0;if(a.options.stacked){for(var o=n.chart,s=o.data.datasets,l=Number(s[e].data[t]),c=0;c0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index=n.y-n.height/2&&t<=n.y+n.height/2&&e>=n.x&&e<=n.base:t>=n.y-n.height/2&&t<=n.y+n.height/2&&e>=n.base&&e<=n.x),r}}),e.pivot()},calculateBarBase:function(e,t){var n=this,r=n.getMeta(),a=n.getScaleForId(r.xAxisID),i=0;if(a.options.stacked){for(var o=n.chart,s=o.data.datasets,l=Number(s[e].data[t]),c=0;c');var n=e.data,r=n.datasets,a=n.labels;if(r.length)for(var i=0;i'),a[i]&&t.push(a[i]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,a){var i=e.getDatasetMeta(0),o=n.datasets[0],s=i.data[a],l=s&&s.custom||{},c=t.getValueAtIndexOrDefault,u=e.options.elements.arc;return{text:r,fillStyle:l.backgroundColor?l.backgroundColor:c(o.backgroundColor,a,u.backgroundColor),strokeStyle:l.borderColor?l.borderColor:c(o.borderColor,a,u.borderColor),lineWidth:l.borderWidth?l.borderWidth:c(o.borderWidth,a,u.borderWidth),hidden:isNaN(o.data[a])||i.data[a].hidden,index:a}}):[]}},onClick:function(e,t){var n,r,a,i=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n=Math.PI?-1:f<-Math.PI?1:0))+p,g={x:Math.cos(f),y:Math.sin(f)},v={x:Math.cos(m),y:Math.sin(m)},b=f<=0&&0<=m||f<=2*Math.PI&&2*Math.PI<=m,y=f<=.5*Math.PI&&.5*Math.PI<=m||f<=2.5*Math.PI&&2.5*Math.PI<=m,x=f<=-Math.PI&&-Math.PI<=m||f<=Math.PI&&Math.PI<=m,C=f<=.5*-Math.PI&&.5*-Math.PI<=m||f<=1.5*Math.PI&&1.5*Math.PI<=m,w=h/100,_={x:x?-1:Math.min(g.x*(g.x<0?1:w),v.x*(v.x<0?1:w)),y:C?-1:Math.min(g.y*(g.y<0?1:w),v.y*(v.y<0?1:w))},k={x:b?1:Math.max(g.x*(g.x>0?1:w),v.x*(v.x>0?1:w)),y:y?1:Math.max(g.y*(g.y>0?1:w),v.y*(v.y>0?1:w))},E={width:.5*(k.x-_.x),height:.5*(k.y-_.y)};c=Math.min(s/E.width,l/E.height),u={x:-.5*(k.x+_.x),y:-.5*(k.y+_.y)}}r.borderWidth=n.getMaxBorderWidth(d.data),r.outerRadius=Math.max((c-r.borderWidth)/2,0),r.innerRadius=Math.max(h?r.outerRadius/100*h:1,0),r.radiusLength=(r.outerRadius-r.innerRadius)/r.getVisibleDatasetCount(),r.offsetX=u.x*r.outerRadius,r.offsetY=u.y*r.outerRadius,d.total=n.calculateTotal(),n.outerRadius=r.outerRadius-r.radiusLength*n.getRingIndex(n.index),n.innerRadius=n.outerRadius-r.radiusLength,t.each(d.data,function(t,r){n.updateElement(t,r,e)})},updateElement:function(e,n,r){var a=this,i=a.chart,o=i.chartArea,s=i.options,l=s.animation,c=(o.left+o.right)/2,u=(o.top+o.bottom)/2,d=s.rotation,h=s.rotation,p=a.getDataset(),f=r&&l.animateRotate?0:e.hidden?0:a.calculateCircumference(p.data[n])*(s.circumference/(2*Math.PI)),m=r&&l.animateScale?0:a.innerRadius,g=r&&l.animateScale?0:a.outerRadius,v=t.getValueAtIndexOrDefault;t.extend(e,{_datasetIndex:a.index,_index:n,_model:{x:c+i.offsetX,y:u+i.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:g,innerRadius:m,label:v(p.label,n,i.data.labels[n])}});var b=e._model;this.removeHoverStyle(e),r&&l.animateRotate||(b.startAngle=0===n?s.rotation:a.getMeta().data[n-1]._model.endAngle,b.endAngle=b.startAngle+b.circumference),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var e,n=this.getDataset(),r=this.getMeta(),a=0;return t.each(r.data,function(t,r){e=n.data[r],isNaN(e)||t.hidden||(a+=Math.abs(e))}),a},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?2*Math.PI*(e/t):0},getMaxBorderWidth:function(e){for(var t,n,r=0,a=this.index,i=e.length,o=0;o(r=t>r?t:r)?n:r;return r}})}},{}],39:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return n.getValueOrDefault(e.showLine,t.showLines)}var n=e.helpers;e.defaults.line={showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},e.controllers.line=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,addElementAndReset:function(n){var r=this,a=r.chart.options,i=r.getMeta();e.DatasetController.prototype.addElementAndReset.call(r,n),t(r.getDataset(),a)&&0!==i.dataset._model.tension&&r.updateBezierControlPoints()},update:function(e){var r,a,i,o=this,s=o.getMeta(),l=s.dataset,c=s.data||[],u=o.chart.options,d=u.elements.line,h=o.getScaleForId(s.yAxisID),p=o.getDataset(),f=t(p,u);for(f&&(i=l.custom||{},void 0!==p.tension&&void 0===p.lineTension&&(p.lineTension=p.tension),l._scale=h,l._datasetIndex=o.index,l._children=c,l._model={spanGaps:p.spanGaps?p.spanGaps:u.spanGaps,tension:i.tension?i.tension:n.getValueOrDefault(p.lineTension,d.tension),backgroundColor:i.backgroundColor?i.backgroundColor:p.backgroundColor||d.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:p.borderWidth||d.borderWidth,borderColor:i.borderColor?i.borderColor:p.borderColor||d.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:p.borderCapStyle||d.borderCapStyle,borderDash:i.borderDash?i.borderDash:p.borderDash||d.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:p.borderDashOffset||d.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:p.borderJoinStyle||d.borderJoinStyle,fill:i.fill?i.fill:void 0!==p.fill?p.fill:d.fill,steppedLine:i.steppedLine?i.steppedLine:n.getValueOrDefault(p.steppedLine,d.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:n.getValueOrDefault(p.cubicInterpolationMode,d.cubicInterpolationMode),scaleTop:h.top,scaleBottom:h.bottom,scaleZero:h.getBasePixel()},l.pivot()),r=0,a=c.length;r');var n=e.data,r=n.datasets,a=n.labels;if(r.length)for(var i=0;i'),a[i]&&t.push(a[i]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,a){var i=e.getDatasetMeta(0),o=n.datasets[0],s=i.data[a].custom||{},l=t.getValueAtIndexOrDefault,c=e.options.elements.arc;return{text:r,fillStyle:s.backgroundColor?s.backgroundColor:l(o.backgroundColor,a,c.backgroundColor),strokeStyle:s.borderColor?s.borderColor:l(o.borderColor,a,c.borderColor),lineWidth:s.borderWidth?s.borderWidth:l(o.borderWidth,a,c.borderWidth),hidden:isNaN(o.data[a])||i.data[a].hidden,index:a}}):[]}},onClick:function(e,t){var n,r,a,i=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n0&&!isNaN(e)?2*Math.PI/t:0}})}},{}],41:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.radar={scale:{type:"radialLinear"},elements:{line:{tension:0}}},e.controllers.radar=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,linkScales:t.noop,addElementAndReset:function(t){e.DatasetController.prototype.addElementAndReset.call(this,t),this.updateBezierControlPoints()},update:function(e){var n=this,r=n.getMeta(),a=r.dataset,i=r.data,o=a.custom||{},s=n.getDataset(),l=n.chart.options.elements.line,c=n.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),t.extend(r.dataset,{_datasetIndex:n.index,_children:i,_loop:!0,_model:{tension:o.tension?o.tension:t.getValueOrDefault(s.lineTension,l.tension),backgroundColor:o.backgroundColor?o.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:s.borderWidth||l.borderWidth,borderColor:o.borderColor?o.borderColor:s.borderColor||l.borderColor,fill:o.fill?o.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:o.borderCapStyle?o.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:o.borderDash?o.borderDash:s.borderDash||l.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle,scaleTop:c.top,scaleBottom:c.bottom,scaleZero:c.getBasePosition()}}),r.dataset.pivot(),t.each(i,function(t,r){n.updateElement(t,r,e)},n),n.updateBezierControlPoints()},updateElement:function(e,n,r){var a=this,i=e.custom||{},o=a.getDataset(),s=a.chart.scale,l=a.chart.options.elements.point,c=s.getPointPositionForValue(n,o.data[n]);t.extend(e,{_datasetIndex:a.index,_index:n,_scale:s,_model:{x:r?s.xCenter:c.x,y:r?s.yCenter:c.y,tension:i.tension?i.tension:t.getValueOrDefault(o.tension,a.chart.options.elements.line.tension),radius:i.radius?i.radius:t.getValueAtIndexOrDefault(o.pointRadius,n,l.radius),backgroundColor:i.backgroundColor?i.backgroundColor:t.getValueAtIndexOrDefault(o.pointBackgroundColor,n,l.backgroundColor),borderColor:i.borderColor?i.borderColor:t.getValueAtIndexOrDefault(o.pointBorderColor,n,l.borderColor),borderWidth:i.borderWidth?i.borderWidth:t.getValueAtIndexOrDefault(o.pointBorderWidth,n,l.borderWidth),pointStyle:i.pointStyle?i.pointStyle:t.getValueAtIndexOrDefault(o.pointStyle,n,l.pointStyle),hitRadius:i.hitRadius?i.hitRadius:t.getValueAtIndexOrDefault(o.hitRadius,n,l.hitRadius)}}),e._model.skip=i.skip?i.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var e=this.chart.chartArea,n=this.getMeta();t.each(n.data,function(r,a){var i=r._model,o=t.splineCurve(t.previousItem(n.data,a,!0)._model,i,t.nextItem(n.data,a,!0)._model,i.tension);i.controlPointPreviousX=Math.max(Math.min(o.previous.x,e.right),e.left),i.controlPointPreviousY=Math.max(Math.min(o.previous.y,e.bottom),e.top),i.controlPointNextX=Math.max(Math.min(o.next.x,e.right),e.left),i.controlPointNextY=Math.max(Math.min(o.next.y,e.bottom),e.top),r.pivot()})},draw:function(e){var n=this.getMeta(),r=e||1;t.each(n.data,function(e){e.transition(r)}),n.dataset.transition(r).draw(),t.each(n.data,function(e){e.draw()})},setHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],r=e.custom||{},a=e._index,i=e._model;i.radius=r.hoverRadius?r.hoverRadius:t.getValueAtIndexOrDefault(n.pointHoverRadius,a,this.chart.options.elements.point.hoverRadius),i.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:t.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,a,t.getHoverColor(i.backgroundColor)),i.borderColor=r.hoverBorderColor?r.hoverBorderColor:t.getValueAtIndexOrDefault(n.pointHoverBorderColor,a,t.getHoverColor(i.borderColor)),i.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:t.getValueAtIndexOrDefault(n.pointHoverBorderWidth,a,i.borderWidth)},removeHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],r=e.custom||{},a=e._index,i=e._model,o=this.chart.options.elements.point;i.radius=r.radius?r.radius:t.getValueAtIndexOrDefault(n.radius,a,o.radius),i.backgroundColor=r.backgroundColor?r.backgroundColor:t.getValueAtIndexOrDefault(n.pointBackgroundColor,a,o.backgroundColor),i.borderColor=r.borderColor?r.borderColor:t.getValueAtIndexOrDefault(n.pointBorderColor,a,o.borderColor),i.borderWidth=r.borderWidth?r.borderWidth:t.getValueAtIndexOrDefault(n.pointBorderWidth,a,o.borderWidth)}})}},{}],42:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:t.noop,onComplete:t.noop},e.Animation=e.Element.extend({currentStep:null,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),e.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(e,t,n,r){var a=this;r||(e.animating=!0);for(var i=0;i1&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1);for(var r=0;re.animations[r].animationObject.numSteps&&(e.animations[r].animationObject.currentStep=e.animations[r].animationObject.numSteps),e.animations[r].animationObject.render(e.animations[r].chartInstance,e.animations[r].animationObject),e.animations[r].animationObject.onAnimationProgress&&e.animations[r].animationObject.onAnimationProgress.call&&e.animations[r].animationObject.onAnimationProgress.call(e.animations[r].chartInstance,e.animations[r]),e.animations[r].animationObject.currentStep===e.animations[r].animationObject.numSteps?(e.animations[r].animationObject.onAnimationComplete&&e.animations[r].animationObject.onAnimationComplete.call&&e.animations[r].animationObject.onAnimationComplete.call(e.animations[r].chartInstance,e.animations[r]),e.animations[r].chartInstance.animating=!1,e.animations.splice(r,1)):++r;var a=(Date.now()-t)/e.frameDuration;e.dropFrames+=a,e.animations.length>0&&e.requestAnimationFrame()}}}},{}],43:[function(e,t,n){"use strict";t.exports=function(e){(e.canvasHelpers={}).drawPoint=function(e,t,n,r,a){var i,o,s,l,c,u;if("object"!=typeof t||"[object HTMLImageElement]"!==(i=t.toString())&&"[object HTMLCanvasElement]"!==i){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=(o=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(r-o/2,a+c/3),e.lineTo(r+o/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"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)}}},{}],44:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.types={},e.instances={},e.controllers={},e.Controller=function(n){return this.chart=n,this.config=n.config,this.options=this.config.options=t.configMerge(e.defaults.global,e.defaults[this.config.type],this.config.options||{}),this.id=t.uid(),Object.defineProperty(this,"data",{get:function(){return this.config.data}}),e.instances[this.id]=this,this.options.responsive&&this.resize(!0),this.initialize(),this},t.extend(e.Controller.prototype,{initialize:function(){var t=this;return e.plugins.notify("beforeInit",[t]),t.bindEvents(),t.ensureScalesHaveIDs(),t.buildOrUpdateControllers(),t.buildScales(),t.updateLayout(),t.resetElements(),t.initToolTip(),t.update(),e.plugins.notify("afterInit",[t]),t},clear:function(){return t.clear(this.chart),this},stop:function(){return e.animationService.cancelAnimation(this),this},resize:function(n){var r=this,a=r.chart,i=a.canvas,o=t.getMaximumWidth(i),s=a.aspectRatio,l=r.options.maintainAspectRatio&&!1===isNaN(s)&&isFinite(s)&&0!==s?o/s:t.getMaximumHeight(i);if(a.width===o&&a.height===l)return r;i.width=a.width=o,i.height=a.height=l,t.retinaScale(a);var c={width:o,height:l};return e.plugins.notify("resize",[r,c]),r.options.onResize&&r.options.onResize(r,c),n||(r.stop(),r.update(r.options.responsiveAnimationDuration)),r},ensureScalesHaveIDs:function(){var e=this.options,n=e.scales||{},r=e.scale;t.each(n.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),t.each(n.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),r&&(r.id=r.id||"scale")},buildScales:function(){var n=this,r=n.options,a=n.scales={},i=[];r.scales&&(i=i.concat((r.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category"}}),(r.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear"}}))),r.scale&&i.push({options:r.scale,dtype:"radialLinear",isDefault:!0}),t.each(i,function(r){var i=r.options,o=t.getValueOrDefault(i.type,r.dtype),s=e.scaleService.getScaleConstructor(o);if(s){var l=new s({id:i.id,options:i,ctx:n.chart.ctx,chart:n});a[l.id]=l,r.isDefault&&(n.scale=l)}}),e.scaleService.addScalesToLayout(this)},updateLayout:function(){e.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var n=this,r=[],a=[];if(t.each(n.data.datasets,function(t,i){var o=n.getDatasetMeta(i);o.type||(o.type=t.type||n.config.type),r.push(o.type),o.controller?o.controller.updateIndex(i):(o.controller=new e.controllers[o.type](n,i),a.push(o.controller))},n),r.length>1)for(var i=1;i0&&(t=this.getDatasetMeta(t[0]._datasetIndex).data),t},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var r=n._meta[t.id];return r||(r=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;tn)for(var r=n;r=0;a--)t.call(n,e[a],a);else for(a=0;a=r[n].length||!r[n][a].type?r[n].push(i.configMerge(s,t)):t.type&&t.type!==r[n][a].type?r[n][a]=i.configMerge(r[n][a],s,t):r[n][a]=i.configMerge(r[n][a],t)}):(r[n]=[],i.each(t,function(t){var a=i.getValueOrDefault(t.type,"xAxes"===n?"category":"linear");r[n].push(i.configMerge(e.scaleService.getScaleDefaults(a),t))})):r.hasOwnProperty(n)&&"object"==typeof r[n]&&null!==r[n]&&"object"==typeof t?r[n]=i.configMerge(r[n],t):r[n]=t}),r},i.getValueAtIndexOrDefault=function(e,t,n){return void 0===e||null===e?n:i.isArray(e)?t=0;r--){var a=e[r];if(t(a))return a}},i.inherits=function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=i.inherits,e&&i.extend(n.prototype,e),n.__super__=t.prototype,n},i.noop=function(){},i.uid=function(){var e=0;return function(){return e++}}(),i.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},i.almostEquals=function(e,t,n){return Math.abs(e-t)0?1:-1},i.log10=Math.log10?function(e){return Math.log10(e)}:function(e){return Math.log(e)/Math.LN10},i.toRadians=function(e){return e*(Math.PI/180)},i.toDegrees=function(e){return e*(180/Math.PI)},i.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*Math.PI&&(i+=2*Math.PI),{angle:i,distance:a}},i.aliasPixel=function(e){return e%2==0?0:.5},i.splineCurve=function(e,t,n,r){var a=e.skip?t:e,i=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(i.x-a.x,2)+Math.pow(i.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),c=s/(s+l),u=l/(s+l),d=r*(c=isNaN(c)?0:c),h=r*(u=isNaN(u)?0:u);return{previous:{x:i.x-d*(o.x-a.x),y:i.y-d*(o.y-a.y)},next:{x:i.x+h*(o.x-a.x),y:i.y+h*(o.y-a.y)}}},i.EPSILON=Number.EPSILON||1e-14,i.splineCurveMonotone=function(e){var t,n,r,a,o=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),s=o.length;for(t=0;t0?o[t-1]:null,(a=t0?o[t-1]:null,a=t=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},i.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},i.niceNum=function(e,t){var n=Math.floor(i.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)};var o=i.easingEffects={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-1*e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1*((e=e/1-1)*e*e+1)},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-1*((e=e/1-1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return 1*(e/=1)*e*e*e*e},easeOutQuint:function(e){return 1*((e=e/1-1)*e*e*e*e+1)},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return-1*Math.cos(e/1*(Math.PI/2))+1},easeOutSine:function(e){return 1*Math.sin(e/1*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e/1)-1)},easeInExpo:function(e){return 0===e?1:1*Math.pow(2,10*(e/1-1))},easeOutExpo:function(e){return 1===e?1:1*(1-Math.pow(2,-10*e/1))},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-1*(Math.sqrt(1-(e/=1)*e)-1)},easeOutCirc:function(e){return 1*Math.sqrt(1-(e=e/1-1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1==(e/=1)?1:(n||(n=.3),r0?(n=l[0].clientX,r=l[0].clientY):(n=a.clientX,r=a.clientY);var c=parseFloat(i.getStyle(o,"padding-left")),u=parseFloat(i.getStyle(o,"padding-top")),d=parseFloat(i.getStyle(o,"padding-right")),h=parseFloat(i.getStyle(o,"padding-bottom")),p=s.right-s.left-c-d,f=s.bottom-s.top-u-h;return n=Math.round((n-s.left-c)/p*o.width/t.currentDevicePixelRatio),r=Math.round((r-s.top-u)/f*o.height/t.currentDevicePixelRatio),{x:n,y:r}},i.addEvent=function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},i.removeEvent=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=i.noop},i.bindEvents=function(e,t,n){var r=e.events=e.events||{};i.each(t,function(t){r[t]=function(){n.apply(e,arguments)},i.addEvent(e.chart.canvas,t,r[t])})},i.unbindEvents=function(e,t){var n=e.chart.canvas;i.each(t,function(e,t){i.removeEvent(n,t,e)})},i.getConstraintWidth=function(e){return a(e,"max-width","clientWidth")},i.getConstraintHeight=function(e){return a(e,"max-height","clientHeight")},i.getMaximumWidth=function(e){var t=e.parentNode,n=parseInt(i.getStyle(t,"padding-left"))+parseInt(i.getStyle(t,"padding-right")),r=t.clientWidth-n,a=i.getConstraintWidth(e);return isNaN(a)?r:Math.min(r,a)},i.getMaximumHeight=function(e){var t=e.parentNode,n=parseInt(i.getStyle(t,"padding-top"))+parseInt(i.getStyle(t,"padding-bottom")),r=t.clientHeight-n,a=i.getConstraintHeight(e);return isNaN(a)?r:Math.min(r,a)},i.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},i.retinaScale=function(e){var t=e.ctx,n=e.canvas,r=n.width,a=n.height,i=e.currentDevicePixelRatio=window.devicePixelRatio||1;1!==i&&(n.height=a*i,n.width=r*i,t.scale(i,i),e.originalDevicePixelRatio=e.originalDevicePixelRatio||i),n.style.width=r+"px",n.style.height=a+"px"},i.clear=function(e){e.ctx.clearRect(0,0,e.width,e.height)},i.fontString=function(e,t,n){return t+" "+e+"px "+n},i.longestText=function(e,t,n,r){var a=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},o=r.garbageCollect=[],r.font=t),e.font=t;var s=0;i.each(n,function(t){void 0!==t&&null!==t&&!0!==i.isArray(t)?s=i.measureText(e,a,o,s,t):i.isArray(t)&&i.each(t,function(t){void 0===t||null===t||i.isArray(t)||(s=i.measureText(e,a,o,s,t))})});var l=o.length/2;if(l>n.length){for(var c=0;cr&&(r=i),r},i.numberOfLabelLines=function(e){var t=1;return i.each(e,function(e){i.isArray(e)&&e.length>t&&(t=e.length)}),t},i.drawRoundedRectangle=function(e,t,n,r,a,i){e.beginPath(),e.moveTo(t+i,n),e.lineTo(t+r-i,n),e.quadraticCurveTo(t+r,n,t+r,n+i),e.lineTo(t+r,n+a-i),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-i),e.lineTo(t,n+i),e.quadraticCurveTo(t,n,t+i,n),e.closePath()},i.color=function(t){return r?r(t instanceof CanvasGradient?e.defaults.global.defaultColor:t):(console.log("Color.js not found!"),t)},i.addResizeListener=function(e,t){var n=document.createElement("iframe");n.classlist?n.classlist.add("chartjs-hidden-iframe"):n.setAttribute("class","chartjs-hidden-iframe"),n.tabIndex=-1;var r=n.style;r.width="100%",r.display="block",r.border=0,r.height=0,r.margin=0,r.position="absolute",r.left=0,r.right=0,r.top=0,r.bottom=0,e.insertBefore(n,e.firstChild),(n.contentWindow||n).onresize=function(){t&&t()}},i.removeResizeListener=function(e){var t=e.querySelector(".chartjs-hidden-iframe");t&&t.parentNode.removeChild(t)},i.isArray=Array.isArray?function(e){return Array.isArray(e)}:function(e){return"[object Array]"===Object.prototype.toString.call(e)},i.arrayEquals=function(e,t){var n,r,a,o;if(!e||!t||e.length!=t.length)return!1;for(n=0,r=e.length;n');for(var n=0;n'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("");return t.push(""),t.join("")}}},e.Chart=e,e}},{}],49:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.layoutService={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),e.boxes.push(t)},removeBox:function(e,t){e.boxes&&e.boxes.splice(e.boxes.indexOf(t),1)},update:function(e,n,r){function a(e){var n=t.findNextWhere(y,function(t){return t.box===e});if(n)if(e.isHorizontal()){var r={left:x,right:C,top:0,bottom:0};e.update(e.options.fullWidth?h:v,p/2,r)}else e.update(n.minSize.width,b)}function i(e){e.isHorizontal()?(e.left=e.options.fullWidth?o:x,e.right=e.options.fullWidth?n-o:x+v,e.top=M,e.bottom=M+e.height,M=e.bottom):(e.left=S,e.right=S+e.width,e.top=w,e.bottom=w+b,S=e.right)}if(e){var o=0,s=t.where(e.boxes,function(e){return"left"===e.options.position}),l=t.where(e.boxes,function(e){return"right"===e.options.position}),c=t.where(e.boxes,function(e){return"top"===e.options.position}),u=t.where(e.boxes,function(e){return"bottom"===e.options.position}),d=t.where(e.boxes,function(e){return"chartArea"===e.options.position});c.sort(function(e,t){return(t.options.fullWidth?1:0)-(e.options.fullWidth?1:0)}),u.sort(function(e,t){return(e.options.fullWidth?1:0)-(t.options.fullWidth?1:0)});var h=n-2*o,p=r-0,f=p/2,m=(n-h/2)/(s.length+l.length),g=(r-f)/(c.length+u.length),v=h,b=p,y=[];t.each(s.concat(l,c,u),function(e){var t,n=e.isHorizontal();n?(t=e.update(e.options.fullWidth?h:v,g),b-=t.height):(t=e.update(m,f),v-=t.width),y.push({horizontal:n,minSize:t,box:e})});var x=o,C=o,w=0,_=0;t.each(s.concat(l),a),t.each(s,function(e){x+=e.width}),t.each(l,function(e){C+=e.width}),t.each(c.concat(u),a),t.each(c,function(e){w+=e.height}),t.each(u,function(e){_+=e.height}),t.each(s.concat(l),function(e){var n=t.findNextWhere(y,function(t){return t.box===e}),r={left:0,right:0,top:w,bottom:_};n&&e.update(n.minSize.width,b,r)}),x=o,C=o,w=0,_=0,t.each(s,function(e){x+=e.width}),t.each(l,function(e){C+=e.width}),t.each(c,function(e){w+=e.height}),t.each(u,function(e){_+=e.height});var k=r-w-_,E=n-x-C;E===v&&k===b||(t.each(s,function(e){e.height=k}),t.each(l,function(e){e.height=k}),t.each(c,function(e){e.options.fullWidth||(e.width=E)}),t.each(u,function(e){e.options.fullWidth||(e.width=E)}),b=k,v=E);var S=o,M=0;t.each(s.concat(c),i),S+=v,M+=b,t.each(l,i),t.each(u,i),e.chartArea={left:x,top:w,right:x+v,bottom:w+b},t.each(d,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(v,b)})}}}}},{}],50:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,a=r.getDatasetMeta(n);a.hidden=null===a.hidden?!r.data.datasets[n].hidden:null,r.update()},labels:{boxWidth:40,padding:10,generateLabels:function(e){var n=e.data;return t.isArray(n.datasets)?n.datasets.map(function(n,r){return{text:n.label,fillStyle:t.isArray(n.backgroundColor)?n.backgroundColor[0]:n.backgroundColor,hidden:!e.isDatasetVisible(r),lineCap:n.borderCapStyle,lineDash:n.borderDash,lineDashOffset:n.borderDashOffset,lineJoin:n.borderJoinStyle,lineWidth:n.borderWidth,strokeStyle:n.borderColor,pointStyle:n.pointStyle,datasetIndex:r}},this):[]}}},e.Legend=e.Element.extend({initialize:function(e){t.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:n,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:n,beforeSetDimensions:n,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:n,beforeBuildLabels:n,buildLabels:function(){var e=this;e.legendItems=e.options.labels.generateLabels.call(e,e.chart),e.options.reverse&&e.legendItems.reverse()},afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,r=n.options,a=r.labels,i=r.display,o=n.ctx,s=e.defaults.global,l=t.getValueOrDefault,c=l(a.fontSize,s.defaultFontSize),u=l(a.fontStyle,s.defaultFontStyle),d=l(a.fontFamily,s.defaultFontFamily),h=t.fontString(c,u,d),p=n.legendHitBoxes=[],f=n.minSize,m=n.isHorizontal();if(m?(f.width=n.maxWidth,f.height=i?10:0):(f.width=i?10:0,f.height=n.maxHeight),i)if(o.font=h,m){var g=n.lineWidths=[0],v=n.legendItems.length?c+a.padding:0;o.textAlign="left",o.textBaseline="top",t.each(n.legendItems,function(e,t){var r=(a.usePointStyle?c*Math.sqrt(2):a.boxWidth)+c/2+o.measureText(e.text).width;g[g.length-1]+r+a.padding>=n.width&&(v+=c+a.padding,g[g.length]=n.left),p[t]={left:0,top:0,width:r,height:c},g[g.length-1]+=r+a.padding}),f.height+=v}else{var b=a.padding,y=n.columnWidths=[],x=a.padding,C=0,w=0,_=c+b;t.each(n.legendItems,function(e,t){var n=(a.usePointStyle?2*a.boxWidth:a.boxWidth)+c/2+o.measureText(e.text).width;w+_>f.height&&(x+=C+a.padding,y.push(C),C=0,w=0),C=Math.max(C,n),w+=_,p[t]={left:0,top:0,width:n,height:c}}),x+=C,y.push(C),f.width+=x}n.width=f.width,n.height=f.height},afterFit:n,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var n=this,r=n.options,a=r.labels,i=e.defaults.global,o=i.elements.line,s=n.width,l=n.lineWidths;if(r.display){var c,u=n.ctx,d=t.getValueOrDefault,h=d(a.fontColor,i.defaultFontColor),p=d(a.fontSize,i.defaultFontSize),f=d(a.fontStyle,i.defaultFontStyle),m=d(a.fontFamily,i.defaultFontFamily),g=t.fontString(p,f,m);u.textAlign="left",u.textBaseline="top",u.lineWidth=.5,u.strokeStyle=h,u.fillStyle=h,u.font=g;var v=a.boxWidth,b=n.legendHitBoxes,y=function(t,n,a){if(!(isNaN(v)||v<=0)){if(u.save(),u.fillStyle=d(a.fillStyle,i.defaultColor),u.lineCap=d(a.lineCap,o.borderCapStyle),u.lineDashOffset=d(a.lineDashOffset,o.borderDashOffset),u.lineJoin=d(a.lineJoin,o.borderJoinStyle),u.lineWidth=d(a.lineWidth,o.borderWidth),u.strokeStyle=d(a.strokeStyle,i.defaultColor),u.setLineDash&&u.setLineDash(d(a.lineDash,o.borderDash)),r.labels&&r.labels.usePointStyle){var s=p*Math.SQRT2/2,l=s/Math.SQRT2,c=t+l,h=n+l;e.canvasHelpers.drawPoint(u,a.pointStyle,s,c,h)}else u.strokeRect(t,n,v,p),u.fillRect(t,n,v,p);u.restore()}},x=function(e,t,n,r){u.fillText(n.text,v+p/2+e,t),n.hidden&&(u.beginPath(),u.lineWidth=2,u.moveTo(v+p/2+e,t+p/2),u.lineTo(v+p/2+e+r,t+p/2),u.stroke())},C=n.isHorizontal();c=C?{x:n.left+(s-l[0])/2,y:n.top+a.padding,line:0}:{x:n.left+a.padding,y:n.top+a.padding,line:0};var w=p+a.padding;t.each(n.legendItems,function(e,t){var r=u.measureText(e.text).width,i=a.usePointStyle?p+p/2+r:v+p/2+r,o=c.x,d=c.y;C?o+i>=s&&(d=c.y+=w,c.line++,o=c.x=n.left+(s-l[c.line])/2):d+w>n.bottom&&(o=c.x=o+n.columnWidths[c.line]+a.padding,d=c.y=n.top,c.line++),y(o,d,e),b[t].left=o,b[t].top=d,x(o,d,e,r),C?c.x+=i+a.padding:c.y+=w})}},handleEvent:function(e){var n=this,r=t.getRelativePosition(e,n.chart.chart),a=r.x,i=r.y,o=n.options;if(a>=n.left&&a<=n.right&&i>=n.top&&i<=n.bottom)for(var s=n.legendHitBoxes,l=0;l=c.left&&a<=c.left+c.width&&i>=c.top&&i<=c.top+c.height){o.onClick&&o.onClick.call(n,e,n.legendItems[l]);break}}}}),e.plugins.register({beforeInit:function(t){var n=t.options.legend;n&&(t.legend=new e.Legend({ctx:t.chart.ctx,options:n,chart:t}),e.layoutService.addBox(t,t.legend))}})}},{}],51:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers.noop;e.plugins={_plugins:[],register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)})},unregister:function(e){var t=this._plugins;[].concat(e).forEach(function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})},clear:function(){this._plugins=[]},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t){var n,r,a=this._plugins,i=a.length;for(n=0;nv&&n.labelRotationn.yLabelWidth&&(n.paddingLeft=u+o/2),n.paddingRight=o/2,f*m>n.maxHeight){n.labelRotation--;break}n.labelRotation++,g=p*m}}n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0))},afterCalculateTickRotation:function(){t.callCallback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){t.callCallback(this.options.beforeFit,[this])},fit:function(){var n=this,r=n.minSize={width:0,height:0},a=n.options,i=e.defaults.global,o=a.ticks,s=a.scaleLabel,l=a.gridLines,c=a.display,u=n.isHorizontal(),d=t.getValueOrDefault(o.fontSize,i.defaultFontSize),h=t.getValueOrDefault(o.fontStyle,i.defaultFontStyle),p=t.getValueOrDefault(o.fontFamily,i.defaultFontFamily),f=t.fontString(d,h,p),m=t.getValueOrDefault(s.fontSize,i.defaultFontSize),g=a.gridLines.tickMarkLength;if(r.width=u?n.isFullWidth()?n.maxWidth-n.margins.left-n.margins.right:n.maxWidth:c&&l.drawTicks?g:0,r.height=u?c&&l.drawTicks?g:0:n.maxHeight,s.display&&c&&(u?r.height+=1.5*m:r.width+=1.5*m),o.display&&c){n.longestTextCache||(n.longestTextCache={});var v=t.longestText(n.ctx,f,n.ticks,n.longestTextCache),b=t.numberOfLabelLines(n.ticks),y=.5*d;if(u){n.longestLabelWidth=v;var x=Math.sin(t.toRadians(n.labelRotation))*n.longestLabelWidth+d*b+y*b;r.height=Math.min(n.maxHeight,r.height+x),n.ctx.font=f;var C=n.ctx.measureText(n.ticks[0]).width,w=n.ctx.measureText(n.ticks[n.ticks.length-1]).width,_=Math.cos(t.toRadians(n.labelRotation)),k=Math.sin(t.toRadians(n.labelRotation));n.paddingLeft=0!==n.labelRotation?_*C+3:C/2+3,n.paddingRight=0!==n.labelRotation?k*(d/2)+3:w/2+3}else{var E=n.maxWidth-r.width;o.mirror?v=0:v+=n.options.ticks.padding,v0&&n>0?t:0)},draw:function(n){var r=this,a=r.options;if(a.display){var i,o,s=r.ctx,l=e.defaults.global,c=a.ticks,u=a.gridLines,d=a.scaleLabel,h=0!==r.labelRotation,p=c.autoSkip,f=r.isHorizontal();c.maxTicksLimit&&(o=c.maxTicksLimit);var m=t.getValueOrDefault(c.fontColor,l.defaultFontColor),g=t.getValueOrDefault(c.fontSize,l.defaultFontSize),v=t.getValueOrDefault(c.fontStyle,l.defaultFontStyle),b=t.getValueOrDefault(c.fontFamily,l.defaultFontFamily),y=t.fontString(g,v,b),x=u.tickMarkLength,C=t.getValueOrDefault(u.borderDash,l.borderDash),w=t.getValueOrDefault(u.borderDashOffset,l.borderDashOffset),_=t.getValueOrDefault(d.fontColor,l.defaultFontColor),k=t.getValueOrDefault(d.fontSize,l.defaultFontSize),E=t.getValueOrDefault(d.fontStyle,l.defaultFontStyle),S=t.getValueOrDefault(d.fontFamily,l.defaultFontFamily),M=t.fontString(k,E,S),T=t.toRadians(r.labelRotation),P=Math.cos(T),D=r.longestLabelWidth*P;s.fillStyle=m;var R=[];if(f){if(i=!1,h&&(D/=2),(D+c.autoSkipPadding)*r.ticks.length>r.width-(r.paddingLeft+r.paddingRight)&&(i=1+Math.floor((D+c.autoSkipPadding)*r.ticks.length/(r.width-(r.paddingLeft+r.paddingRight)))),o&&r.ticks.length>o)for(;!i||r.ticks.length/(i||1)>o;)i||(i=1),i+=1;p||(i=!1)}var O="right"===a.position?r.left:r.right-x,I="right"===a.position?r.left+x:r.right,A="bottom"===a.position?r.top:r.bottom-x,N="bottom"===a.position?r.top+x:r.bottom;if(t.each(r.ticks,function(e,o){if(void 0!==e&&null!==e){var s=r.ticks.length===o+1;if((!(i>1&&o%i>0||o%i==0&&o+i>=r.ticks.length)||s)&&void 0!==e&&null!==e){var l,d;o===(void 0!==r.zeroLineIndex?r.zeroLineIndex:0)?(l=u.zeroLineWidth,d=u.zeroLineColor):(l=t.getValueAtIndexOrDefault(u.lineWidth,o),d=t.getValueAtIndexOrDefault(u.color,o));var p,m,g,v,b,y,_,k,E,S,M,P="middle";if(f){h||(P="top"===a.position?"bottom":"top"),M=h?"right":"center";var D=r.getPixelForTick(o)+t.aliasPixel(l);E=r.getPixelForTick(o,u.offsetGridLines)+c.labelOffset,S=h?r.top+12:"top"===a.position?r.bottom-x:r.top+x,p=g=b=_=D,m=A,v=N,y=n.top,k=n.bottom}else{"left"===a.position?c.mirror?(E=r.right+c.padding,M="left"):(E=r.right-c.padding,M="right"):c.mirror?(E=r.left-c.padding,M="right"):(E=r.left+c.padding,M="left");var F=r.getPixelForTick(o);F+=t.aliasPixel(l),S=r.getPixelForTick(o,u.offsetGridLines),p=O,g=I,b=n.left,_=n.right,m=v=y=k=F}R.push({tx1:p,ty1:m,tx2:g,ty2:v,x1:b,y1:y,x2:_,y2:k,labelX:E,labelY:S,glWidth:l,glColor:d,glBorderDash:C,glBorderDashOffset:w,rotation:-1*T,label:e,textBaseline:P,textAlign:M})}}}),t.each(R,function(e){if(u.display&&(s.save(),s.lineWidth=e.glWidth,s.strokeStyle=e.glColor,s.setLineDash&&(s.setLineDash(e.glBorderDash),s.lineDashOffset=e.glBorderDashOffset),s.beginPath(),u.drawTicks&&(s.moveTo(e.tx1,e.ty1),s.lineTo(e.tx2,e.ty2)),u.drawOnChartArea&&(s.moveTo(e.x1,e.y1),s.lineTo(e.x2,e.y2)),s.stroke(),s.restore()),c.display){s.save(),s.translate(e.labelX,e.labelY),s.rotate(e.rotation),s.font=y,s.textBaseline=e.textBaseline,s.textAlign=e.textAlign;var n=e.label;if(t.isArray(n))for(var r=0,a=0;r0){var i=e[0];i.xLabel?n=i.xLabel:a>0&&i.index1&&a.each(f,function(e){h.push(s.callbacks.labelColor.call(o,e,d))}),a.extend(l,{title:o.getTitle(f,u),beforeBody:o.getBeforeBody(f,u),body:o.getBody(f,u),afterBody:o.getAfterBody(f,u),footer:o.getFooter(f,u),x:Math.round(p.x),y:Math.round(p.y),caretPadding:a.getValueOrDefault(p.padding,2),labelColors:h});var m=o.getTooltipSize(l);o.determineAlignment(m),a.extend(l,o.getBackgroundPoint(l,m))}else o._model.opacity=0;return e&&s.custom&&s.custom.call(o,l),o},getTooltipSize:function(e){var t=this._chart.ctx,n={height:2*e.yPadding,width:0},r=e.body,i=r.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);i+=e.beforeBody.length+e.afterBody.length;var o=e.title.length,s=e.footer.length,l=e.titleFontSize,c=e.bodyFontSize,u=e.footerFontSize;n.height+=o*l,n.height+=(o-1)*e.titleSpacing,n.height+=o?e.titleMarginBottom:0,n.height+=i*c,n.height+=i?(i-1)*e.bodySpacing:0,n.height+=s?e.footerMarginTop:0,n.height+=s*u,n.height+=s?(s-1)*e.footerSpacing:0;var d=0,h=function(e){n.width=Math.max(n.width,t.measureText(e).width+d)};return t.font=a.fontString(l,e._titleFontStyle,e._titleFontFamily),a.each(e.title,h),t.font=a.fontString(c,e._bodyFontStyle,e._bodyFontFamily),a.each(e.beforeBody.concat(e.afterBody),h),d=r.length>1?c+2:0,a.each(r,function(e){a.each(e.before,h),a.each(e.lines,h),a.each(e.after,h)}),d=0,t.font=a.fontString(u,e._footerFontStyle,e._footerFontFamily),a.each(e.footer,h),n.width+=2*e.xPadding,n},determineAlignment:function(e){var t=this,n=t._model,r=t._chart,a=t._chartInstance.chartArea;n.yr.height-e.height&&(n.yAlign="bottom");var i,o,s,l,c,u=(a.left+a.right)/2,d=(a.top+a.bottom)/2;"center"===n.yAlign?(i=function(e){return e<=u},o=function(e){return e>u}):(i=function(t){return t<=e.width/2},o=function(t){return t>=r.width-e.width/2}),s=function(t){return t+e.width>r.width},l=function(t){return t-e.width<0},c=function(e){return e<=d?"top":"bottom"},i(n.x)?(n.xAlign="left",s(n.x)&&(n.xAlign="center",n.yAlign=c(n.y))):o(n.x)&&(n.xAlign="right",l(n.x)&&(n.xAlign="center",n.yAlign=c(n.y)))},getBackgroundPoint:function(e,t){var n={x:e.x,y:e.y},r=e.caretSize,a=e.caretPadding,i=e.cornerRadius,o=e.xAlign,s=e.yAlign,l=r+a,c=i+a;return"right"===o?n.x-=t.width:"center"===o&&(n.x-=t.width/2),"top"===s?n.y+=l:n.y-="bottom"===s?t.height+l:t.height/2,"center"===s?"left"===o?n.x+=l:"right"===o&&(n.x-=l):"left"===o?n.x-=c:"right"===o&&(n.x+=c),n},drawCaret:function(e,t,n){var r,i,o,s,l,c,u=this._view,d=this._chart.ctx,h=u.caretSize,p=u.cornerRadius,f=u.xAlign,m=u.yAlign,g=e.x,v=e.y,b=t.width,y=t.height;"center"===m?("left"===f?(i=(r=g)-h,o=r):(i=(r=g+b)+h,o=r),s=(l=v+y/2)-h,c=l+h):("left"===f?o=(i=(r=g+p)+h)+h:"right"===f?o=(i=(r=g+b-p)-h)-h:(r=(i=g+b/2)-h,o=i+h),"top"===m?(l=(s=v)-h,c=s):(l=(s=v+y)+h,c=s));var x=a.color(u.backgroundColor);d.fillStyle=x.alpha(n*x.alpha()).rgbString(),d.beginPath(),d.moveTo(r,s),d.lineTo(i,l),d.lineTo(o,c),d.closePath(),d.fill()},drawTitle:function(e,t,n,r){var i=t.title;if(i.length){n.textAlign=t._titleAlign,n.textBaseline="top";var o=t.titleFontSize,s=t.titleSpacing,l=a.color(t.titleFontColor);n.fillStyle=l.alpha(r*l.alpha()).rgbString(),n.font=a.fontString(o,t._titleFontStyle,t._titleFontFamily);var c,u;for(c=0,u=i.length;c1;u=h?i+2:0,a.each(s,function(o,s){a.each(o.before,d),a.each(o.lines,function(o){h&&(n.fillStyle=a.color(t.legendColorBackground).alpha(r).rgbaString(),n.fillRect(e.x,e.y,i,i),n.strokeStyle=a.color(t.labelColors[s].borderColor).alpha(r).rgbaString(),n.strokeRect(e.x,e.y,i,i),n.fillStyle=a.color(t.labelColors[s].backgroundColor).alpha(r).rgbaString(),n.fillRect(e.x+1,e.y+1,i-2,i-2),n.fillStyle=c),d(o)}),a.each(o.after,d)}),u=0,a.each(t.afterBody,d),e.y-=o},drawFooter:function(e,t,n,r){var i=t.footer;if(i.length){e.y+=t.footerMarginTop,n.textAlign=t._footerAlign,n.textBaseline="top";var o=a.color(t.footerFontColor);n.fillStyle=o.alpha(r*o.alpha()).rgbString(),n.font=a.fontString(t.footerFontSize,t._footerFontStyle,t._footerFontFamily),a.each(i,function(r){n.fillText(r,e.x,e.y),e.y+=t.footerFontSize+t.footerSpacing})}},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n=this.getTooltipSize(t),r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity;if(this._options.enabled){var o=a.color(t.backgroundColor);e.fillStyle=o.alpha(i*o.alpha()).rgbString(),a.drawRoundedRectangle(e,r.x,r.y,n.width,n.height,t.cornerRadius),e.fill(),this.drawCaret(r,n,i),r.x+=t.xPadding,r.y+=t.yPadding,this.drawTitle(r,t,e,i),this.drawBody(r,t,e,i),this.drawFooter(r,t,e,i)}}}})}},{}],56:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;n.elements.arc={backgroundColor:n.defaultColor,borderColor:"#fff",borderWidth:2},e.elements.Arc=e.Element.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)l;)i-=2*Math.PI;for(;i=s&&i<=l,u=o>=r.innerRadius&&o<=r.outerRadius;return c&&u}return!1},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()}})}},{}],57:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;e.defaults.global.elements.line={tension:.4,backgroundColor:n.defaultColor,borderWidth:3,borderColor:n.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0},e.elements.Line=e.Element.extend({draw:function(){function e(e,t){var n=t._view;!0===t._view.steppedLine?(l.lineTo(t._view.x,e._view.y),l.lineTo(t._view.x,t._view.y)):0===t._view.tension?l.lineTo(n.x,n.y):l.bezierCurveTo(e._view.controlPointNextX,e._view.controlPointNextY,n.controlPointPreviousX,n.controlPointPreviousY,n.x,n.y)}var r=this,a=r._view,i=a.spanGaps,o=a.scaleZero,s=r._loop,l=r._chart.ctx;l.save();var c=r._children.slice(),u=-1;s&&c.length&&c.push(c[0]);var d,h,p,f;if(c.length&&a.fill){for(l.beginPath(),d=0;d=n.x-n.width/2&&e<=n.x+n.width/2&&t>=n.y&&t<=n.base:e>=n.x-n.width/2&&e<=n.x+n.width/2&&t>=n.base&&t<=n.y)},inLabelRange:function(e){var t=this._view;return!!t&&e>=t.x-t.width/2&&e<=t.x+t.width/2},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})}},{}],60:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"bottom"},r=e.Scale.extend({getLabels:function(){var e=this.chart.data;return(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels},determineDataLimits:function(){var e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1;var r;void 0!==e.options.ticks.min&&(r=t.indexOf(n,e.options.ticks.min),e.minIndex=-1!==r?r:e.minIndex),void 0!==e.options.ticks.max&&(r=t.indexOf(n,e.options.ticks.max),e.maxIndex=-1!==r?r:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var e=this,t=e.getLabels();e.ticks=0===e.minIndex&&e.maxIndex===t.length-1?t:t.slice(e.minIndex,e.maxIndex+1)},getLabelForIndex:function(e){return this.ticks[e]},getPixelForValue:function(e,t,n,r){var a=this,i=Math.max(a.maxIndex+1-a.minIndex-(a.options.gridLines.offsetGridLines?0:1),1);if(void 0!==e&&isNaN(t)){var o=a.getLabels().indexOf(e);t=-1!==o?o:t}if(a.isHorizontal()){var s=(a.width-(a.paddingLeft+a.paddingRight))/i,l=s*(t-a.minIndex)+a.paddingLeft;return(a.options.gridLines.offsetGridLines&&r||a.maxIndex===a.minIndex&&r)&&(l+=s/2),a.left+Math.round(l)}var c=(a.height-(a.paddingTop+a.paddingBottom))/i,u=c*(t-a.minIndex)+a.paddingTop;return a.options.gridLines.offsetGridLines&&r&&(u+=c/2),a.top+Math.round(u)},getPixelForTick:function(e,t){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null,t)},getValueForPixel:function(e){var t=this,n=Math.max(t.ticks.length-(t.options.gridLines.offsetGridLines?0:1),1),r=t.isHorizontal(),a=(r?t.width-(t.paddingLeft+t.paddingRight):t.height-(t.paddingTop+t.paddingBottom))/n;return e-=r?t.left:t.top,t.options.gridLines.offsetGridLines&&(e-=a/2),(e-=r?t.paddingLeft:t.paddingTop)<=0?0:Math.round(e/a)},getBasePixel:function(){return this.bottom}});e.scaleService.registerScaleType("category",r,n)}},{}],61:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback:function(e,n,r){var a=r.length>3?r[2]-r[1]:r[1]-r[0];Math.abs(a)>1&&e!==Math.floor(e)&&(a=e-Math.floor(e));var i=t.log10(Math.abs(a)),o="";if(0!==e){var s=-1*Math.floor(i);s=Math.max(Math.min(s,20),0),o=e.toFixed(s)}else o="0";return o}}},r=e.LinearScaleBase.extend({determineDataLimits:function(){function e(e){return o?e.xAxisID===n.id:e.yAxisID===n.id}var n=this,r=n.options,a=n.chart,i=a.data.datasets,o=n.isHorizontal();if(n.min=null,n.max=null,r.stacked){var s={},l=!1,c=!1;t.each(i,function(i,o){var u=a.getDatasetMeta(o);void 0===s[u.type]&&(s[u.type]={positiveValues:[],negativeValues:[]});var d=s[u.type].positiveValues,h=s[u.type].negativeValues;a.isDatasetVisible(o)&&e(u)&&t.each(i.data,function(e,t){var a=+n.getRightValue(e);isNaN(a)||u.data[t].hidden||(d[t]=d[t]||0,h[t]=h[t]||0,r.relativePoints?d[t]=100:a<0?(c=!0,h[t]+=a):(l=!0,d[t]+=a))})}),t.each(s,function(e){var r=e.positiveValues.concat(e.negativeValues),a=t.min(r),i=t.max(r);n.min=null===n.min?a:Math.min(n.min,a),n.max=null===n.max?i:Math.max(n.max,i)})}else t.each(i,function(r,i){var o=a.getDatasetMeta(i);a.isDatasetVisible(i)&&e(o)&&t.each(r.data,function(e,t){var r=+n.getRightValue(e);isNaN(r)||o.data[t].hidden||(null===n.min?n.min=r:rn.max&&(n.max=r))})});this.handleTickRangeOptions()},getTickLimit:function(){var n,r=this,a=r.options.ticks;if(r.isHorizontal())n=Math.min(a.maxTicksLimit?a.maxTicksLimit:11,Math.ceil(r.width/50));else{var i=t.getValueOrDefault(a.fontSize,e.defaults.global.defaultFontSize);n=Math.min(a.maxTicksLimit?a.maxTicksLimit:11,Math.ceil(r.height/(2*i)))}return n},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,n,r=this,a=r.paddingLeft,i=r.paddingBottom,o=r.start,s=+r.getRightValue(e),l=r.end-o;return r.isHorizontal()?(n=r.width-(a+r.paddingRight),t=r.left+n/l*(s-o),Math.round(t+a)):(n=r.height-(r.paddingTop+i),t=r.bottom-i-n/l*(s-o),Math.round(t))},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),r=t.paddingLeft,a=t.paddingBottom,i=n?t.width-(r+t.paddingRight):t.height-(t.paddingTop+a),o=(n?e-t.left-r:t.bottom-a-e)/i;return t.start+(t.end-t.start)*o},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});e.scaleService.registerScaleType("linear",r,n)}},{}],62:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.LinearScaleBase=e.Scale.extend({handleTickRangeOptions:function(){var e=this,n=e.options.ticks;if(n.beginAtZero){var r=t.sign(e.min),a=t.sign(e.max);r<0&&a<0?e.max=0:r>0&&a>0&&(e.min=0)}void 0!==n.min?e.min=n.min:void 0!==n.suggestedMin&&(e.min=Math.min(e.min,n.suggestedMin)),void 0!==n.max?e.max=n.max:void 0!==n.suggestedMax&&(e.max=Math.max(e.max,n.suggestedMax)),e.min===e.max&&(e.max++,n.beginAtZero||e.min--)},getTickLimit:n,handleDirectionalChanges:n,buildTicks:function(){var e=this,n=e.options,r=e.ticks=[],a=n.ticks,i=t.getValueOrDefault,o=e.getTickLimit();o=Math.max(2,o);var s;if(a.fixedStepSize&&a.fixedStepSize>0||a.stepSize&&a.stepSize>0)s=i(a.fixedStepSize,a.stepSize);else{var l=t.niceNum(e.max-e.min,!1);s=t.niceNum(l/(o-1),!0)}var c=Math.floor(e.min/s)*s,u=Math.ceil(e.max/s)*s,d=(u-c)/s;d=t.almostEquals(d,Math.round(d),s/1e3)?Math.round(d):Math.ceil(d),r.push(void 0!==a.min?a.min:c);for(var h=1;hn.max&&(n.max=r),0!==r&&(null===n.minNotZero||re.max&&(e.max=r))})}}),e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,r=t.getValueOrDefault(e.fontSize,n.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*r)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,r,a,i,o,s,l,c,u,d,h,p,f=this.options.pointLabels,m=t.getValueOrDefault(f.fontSize,n.defaultFontSize),g=t.getValueOrDefault(f.fontStyle,n.defaultFontStyle),v=t.getValueOrDefault(f.fontFamily,n.defaultFontFamily),b=t.fontString(m,g,v),y=t.min([this.height/2-m-5,this.width/2]),x=this.width,C=0;for(this.ctx.font=b,r=0;rx&&(x=e.x+i,o=r),e.x-ix&&(x=e.x+a,o=r):e.x-a0&&n>0?t:0)},draw:function(){var e=this,r=e.options,a=r.gridLines,i=r.ticks,o=r.angleLines,s=r.pointLabels,l=t.getValueOrDefault;if(r.display){var c=e.ctx,u=l(i.fontSize,n.defaultFontSize),d=l(i.fontStyle,n.defaultFontStyle),h=l(i.fontFamily,n.defaultFontFamily),p=t.fontString(u,d,h);if(t.each(e.ticks,function(o,s){if(s>0||r.reverse){var d=e.getDistanceFromCenterForValue(e.ticksAsNumbers[s]),h=e.yCenter-d;if(a.display&&0!==s)if(c.strokeStyle=t.getValueAtIndexOrDefault(a.color,s-1),c.lineWidth=t.getValueAtIndexOrDefault(a.lineWidth,s-1),r.lineArc)c.beginPath(),c.arc(e.xCenter,e.yCenter,d,0,2*Math.PI),c.closePath(),c.stroke();else{c.beginPath();for(var f=0;f=0;y--){if(o.display){var x=e.getPointPosition(y,f);c.beginPath(),c.moveTo(e.xCenter,e.yCenter),c.lineTo(x.x,x.y),c.stroke(),c.closePath()}var C=e.getPointPosition(y,f+5),w=l(s.fontColor,n.defaultFontColor);c.font=b,c.fillStyle=w;var _=e.pointLabels,k=360*(this.getIndexAngle(y)+Math.PI/2)/(2*Math.PI)%360;c.textAlign=0===k||180===k?"center":k<180?"left":"right",c.textBaseline=90===k||270===k?"middle":k>270||k<90?"bottom":"top",c.fillText(_[y]?_[y]:"",C.x,C.y)}}}}});e.scaleService.registerScaleType("radialLinear",a,r)}},{}],65:[function(e,t,n){"use strict";var r=e("moment");r="function"==typeof r?r:window.moment,t.exports=function(e){var t=e.helpers,n={units:[{name:"millisecond",steps:[1,2,5,10,20,50,100,250,500]},{name:"second",steps:[1,2,5,10,30]},{name:"minute",steps:[1,2,5,10,30]},{name:"hour",steps:[1,2,3,6,12]},{name:"day",steps:[1,2,5]},{name:"week",maxStep:4},{name:"month",maxStep:3},{name:"quarter",maxStep:4},{name:"year",maxStep:!1}]},a={position:"bottom",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm:ss a",hour:"MMM D, hA",day:"ll",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1}},i=e.Scale.extend({initialize:function(){if(!r)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");e.Scale.prototype.initialize.call(this)},getLabelMoment:function(e,t){return void 0!==this.labelMoments[e]?this.labelMoments[e][t]:null},getMomentStartOf:function(e){var t=this;return"week"===t.options.time.unit&&!1!==t.options.time.isoWeekday?e.clone().startOf("isoWeek").isoWeekday(t.options.time.isoWeekday):e.clone().startOf(t.tickUnit)},determineDataLimits:function(){var e=this;e.labelMoments=[];var n=[];e.chart.data.labels&&e.chart.data.labels.length>0?(t.each(e.chart.data.labels,function(t){var r=e.parseTime(t);r.isValid()&&(e.options.time.round&&r.startOf(e.options.time.round),n.push(r))},e),e.firstTick=r.min.call(e,n),e.lastTick=r.max.call(e,n)):(e.firstTick=null,e.lastTick=null),t.each(e.chart.data.datasets,function(a,i){var o=[],s=e.chart.isDatasetVisible(i);"object"==typeof a.data[0]&&null!==a.data[0]?t.each(a.data,function(t){var n=e.parseTime(e.getRightValue(t));n.isValid()&&(e.options.time.round&&n.startOf(e.options.time.round),o.push(n),s&&(e.firstTick=null!==e.firstTick?r.min(e.firstTick,n):n,e.lastTick=null!==e.lastTick?r.max(e.lastTick,n):n))},e):o=n,e.labelMoments.push(o)},e),e.options.time.min&&(e.firstTick=e.parseTime(e.options.time.min)),e.options.time.max&&(e.lastTick=e.parseTime(e.options.time.max)),e.firstTick=(e.firstTick||r()).clone(),e.lastTick=(e.lastTick||r()).clone()},buildTicks:function(){var r=this;r.ctx.save();var a=t.getValueOrDefault(r.options.ticks.fontSize,e.defaults.global.defaultFontSize),i=t.getValueOrDefault(r.options.ticks.fontStyle,e.defaults.global.defaultFontStyle),o=t.getValueOrDefault(r.options.ticks.fontFamily,e.defaults.global.defaultFontFamily),s=t.fontString(a,i,o);if(r.ctx.font=s,r.ticks=[],r.unitScale=1,r.scaleSizeInUnits=0,r.options.time.unit)r.tickUnit=r.options.time.unit||"day",r.displayFormat=r.options.time.displayFormats[r.tickUnit],r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0),r.unitScale=t.getValueOrDefault(r.options.time.unitStepSize,1);else{var l=r.isHorizontal()?r.width-(r.paddingLeft+r.paddingRight):r.height-(r.paddingTop+r.paddingBottom),c=r.tickFormatFunction(r.firstTick,0,[]),u=r.ctx.measureText(c).width,d=l/(u=u*Math.cos(t.toRadians(r.options.ticks.maxRotation))+a*Math.sin(t.toRadians(r.options.ticks.maxRotation)));r.tickUnit="millisecond",r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0),r.displayFormat=r.options.time.displayFormats[r.tickUnit];for(var h=0,p=n.units[h];h=Math.ceil(r.scaleSizeInUnits/d)){r.unitScale=t.getValueOrDefault(r.options.time.unitStepSize,p.steps[f]);break}break}if(!1===p.maxStep||Math.ceil(r.scaleSizeInUnits/d)=0&&(r.lastTick=b),r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0)}r.options.time.displayFormat&&(r.displayFormat=r.options.time.displayFormat),r.ticks.push(r.firstTick.clone());for(var x=1;x<=r.scaleSizeInUnits;++x){var C=v.clone().add(x,r.tickUnit);if(r.options.time.max&&C.diff(r.lastTick,r.tickUnit,!0)>=0)break;x%r.unitScale==0&&r.ticks.push(C)}0===r.ticks[r.ticks.length-1].diff(r.lastTick,r.tickUnit)&&0!==r.scaleSizeInUnits||(r.options.time.max?(r.ticks.push(r.lastTick.clone()),r.scaleSizeInUnits=r.lastTick.diff(r.ticks[0],r.tickUnit,!0)):(r.ticks.push(r.lastTick.clone()),r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0))),r.ctx.restore()},getLabelForIndex:function(e,t){var n=this,r=n.chart.data.labels&&e=0&&(i=d[n],i.unitCount=Math.round(i.unitCount),0!==n);n--)f=d[n-1],p=t.unitMeasures[f.unitName]/t.unitMeasures[i.unitName],(i.unitCount%p==0||t.largest&&t.largest-12?m.slice(0,-1).join(t.delimiter)+(t.serialComma?",":"")+t.conjunction+m.slice(-1):void 0:m.join(t.delimiter):r(0,t.units[t.units.length-1],o,t)}function r(e,t,n,r){var a;a=void 0===r.decimal?n.decimal:r.decimal;var i,o=e.toString().replace(".",a),s=n[t];return i="function"==typeof s?s(e):s,o+r.spacer+i}function a(e){for(var t,n=1;n=2&&e%10<=4&&e%100<10?2:3}function o(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function s(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function l(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}var c={ar:{y:function(e){return 1===e?"سنة":"سنوات"},mo:function(e){return 1===e?"شهر":"أشهر"},w:function(e){return 1===e?"أسبوع":"أسابيع"},d:function(e){return 1===e?"يوم":"أيام"},h:function(e){return 1===e?"ساعة":"ساعات"},m:function(e){return 1===e?"دقيقة":"دقائق"},s:function(e){return 1===e?"ثانية":"ثواني"},ms:function(e){return 1===e?"جزء من الثانية":"أجزاء من الثانية"},decimal:","},bg:{y:function(e){return["години","година","години"][s(e)]},mo:function(e){return["месеца","месец","месеца"][s(e)]},w:function(e){return["седмици","седмица","седмици"][s(e)]},d:function(e){return["дни","ден","дни"][s(e)]},h:function(e){return["часа","час","часа"][s(e)]},m:function(e){return["минути","минута","минути"][s(e)]},s:function(e){return["секунди","секунда","секунди"][s(e)]},ms:function(e){return["милисекунди","милисекунда","милисекунди"][s(e)]},decimal:","},ca:{y:function(e){return"any"+(1===e?"":"s")},mo:function(e){return"mes"+(1===e?"":"os")},w:function(e){return"setman"+(1===e?"a":"es")},d:function(e){return"di"+(1===e?"a":"es")},h:function(e){return"hor"+(1===e?"a":"es")},m:function(e){return"minut"+(1===e?"":"s")},s:function(e){return"segon"+(1===e?"":"s")},ms:function(e){return"milisegon"+(1===e?"":"s")},decimal:","},cs:{y:function(e){return["rok","roku","roky","let"][i(e)]},mo:function(e){return["měsíc","měsíce","měsíce","měsíců"][i(e)]},w:function(e){return["týden","týdne","týdny","týdnů"][i(e)]},d:function(e){return["den","dne","dny","dní"][i(e)]},h:function(e){return["hodina","hodiny","hodiny","hodin"][i(e)]},m:function(e){return["minuta","minuty","minuty","minut"][i(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekund"][i(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][i(e)]},decimal:","},da:{y:"år",mo:function(e){return"måned"+(1===e?"":"er")},w:function(e){return"uge"+(1===e?"":"r")},d:function(e){return"dag"+(1===e?"":"e")},h:function(e){return"time"+(1===e?"":"r")},m:function(e){return"minut"+(1===e?"":"ter")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},de:{y:function(e){return"Jahr"+(1===e?"":"e")},mo:function(e){return"Monat"+(1===e?"":"e")},w:function(e){return"Woche"+(1===e?"":"n")},d:function(e){return"Tag"+(1===e?"":"e")},h:function(e){return"Stunde"+(1===e?"":"n")},m:function(e){return"Minute"+(1===e?"":"n")},s:function(e){return"Sekunde"+(1===e?"":"n")},ms:function(e){return"Millisekunde"+(1===e?"":"n")},decimal:","},en:{y:function(e){return"year"+(1===e?"":"s")},mo:function(e){return"month"+(1===e?"":"s")},w:function(e){return"week"+(1===e?"":"s")},d:function(e){return"day"+(1===e?"":"s")},h:function(e){return"hour"+(1===e?"":"s")},m:function(e){return"minute"+(1===e?"":"s")},s:function(e){return"second"+(1===e?"":"s")},ms:function(e){return"millisecond"+(1===e?"":"s")},decimal:"."},es:{y:function(e){return"año"+(1===e?"":"s")},mo:function(e){return"mes"+(1===e?"":"es")},w:function(e){return"semana"+(1===e?"":"s")},d:function(e){return"día"+(1===e?"":"s")},h:function(e){return"hora"+(1===e?"":"s")},m:function(e){return"minuto"+(1===e?"":"s")},s:function(e){return"segundo"+(1===e?"":"s")},ms:function(e){return"milisegundo"+(1===e?"":"s")},decimal:","},fa:{y:"سال",mo:"ماه",w:"هفته",d:"روز",h:"ساعت",m:"دقیقه",s:"ثانیه",ms:"میلی ثانیه",decimal:"."},fi:{y:function(e){return 1===e?"vuosi":"vuotta"},mo:function(e){return 1===e?"kuukausi":"kuukautta"},w:function(e){return"viikko"+(1===e?"":"a")},d:function(e){return"päivä"+(1===e?"":"ä")},h:function(e){return"tunti"+(1===e?"":"a")},m:function(e){return"minuutti"+(1===e?"":"a")},s:function(e){return"sekunti"+(1===e?"":"a")},ms:function(e){return"millisekunti"+(1===e?"":"a")},decimal:","},fr:{y:function(e){return"an"+(e>=2?"s":"")},mo:"mois",w:function(e){return"semaine"+(e>=2?"s":"")},d:function(e){return"jour"+(e>=2?"s":"")},h:function(e){return"heure"+(e>=2?"s":"")},m:function(e){return"minute"+(e>=2?"s":"")},s:function(e){return"seconde"+(e>=2?"s":"")},ms:function(e){return"milliseconde"+(e>=2?"s":"")},decimal:","},gr:{y:function(e){return 1===e?"χρόνος":"χρόνια"},mo:function(e){return 1===e?"μήνας":"μήνες"},w:function(e){return 1===e?"εβδομάδα":"εβδομάδες"},d:function(e){return 1===e?"μέρα":"μέρες"},h:function(e){return 1===e?"ώρα":"ώρες"},m:function(e){return 1===e?"λεπτό":"λεπτά"},s:function(e){return 1===e?"δευτερόλεπτο":"δευτερόλεπτα"},ms:function(e){return 1===e?"χιλιοστό του δευτερολέπτου":"χιλιοστά του δευτερολέπτου"},decimal:","},hu:{y:"év",mo:"hónap",w:"hét",d:"nap",h:"óra",m:"perc",s:"másodperc",ms:"ezredmásodperc",decimal:","},id:{y:"tahun",mo:"bulan",w:"minggu",d:"hari",h:"jam",m:"menit",s:"detik",ms:"milidetik",decimal:"."},is:{y:"ár",mo:function(e){return"mánuð"+(1===e?"ur":"ir")},w:function(e){return"vik"+(1===e?"a":"ur")},d:function(e){return"dag"+(1===e?"ur":"ar")},h:function(e){return"klukkutím"+(1===e?"i":"ar")},m:function(e){return"mínút"+(1===e?"a":"ur")},s:function(e){return"sekúnd"+(1===e?"a":"ur")},ms:function(e){return"millisekúnd"+(1===e?"a":"ur")},decimal:"."},it:{y:function(e){return"ann"+(1===e?"o":"i")},mo:function(e){return"mes"+(1===e?"e":"i")},w:function(e){return"settiman"+(1===e?"a":"e")},d:function(e){return"giorn"+(1===e?"o":"i")},h:function(e){return"or"+(1===e?"a":"e")},m:function(e){return"minut"+(1===e?"o":"i")},s:function(e){return"second"+(1===e?"o":"i")},ms:function(e){return"millisecond"+(1===e?"o":"i")},decimal:","},ja:{y:"年",mo:"月",w:"週",d:"日",h:"時間",m:"分",s:"秒",ms:"ミリ秒",decimal:"."},ko:{y:"년",mo:"개월",w:"주일",d:"일",h:"시간",m:"분",s:"초",ms:"밀리 초",decimal:"."},lt:{y:function(e){return e%10==0||e%100>=10&&e%100<=20?"metų":"metai"},mo:function(e){return["mėnuo","mėnesiai","mėnesių"][l(e)]},w:function(e){return["savaitė","savaitės","savaičių"][l(e)]},d:function(e){return["diena","dienos","dienų"][l(e)]},h:function(e){return["valanda","valandos","valandų"][l(e)]},m:function(e){return["minutė","minutės","minučių"][l(e)]},s:function(e){return["sekundė","sekundės","sekundžių"][l(e)]},ms:function(e){return["milisekundė","milisekundės","milisekundžių"][l(e)]},decimal:","},ms:{y:"tahun",mo:"bulan",w:"minggu",d:"hari",h:"jam",m:"minit",s:"saat",ms:"milisaat",decimal:"."},nl:{y:"jaar",mo:function(e){return 1===e?"maand":"maanden"},w:function(e){return 1===e?"week":"weken"},d:function(e){return 1===e?"dag":"dagen"},h:"uur",m:function(e){return 1===e?"minuut":"minuten"},s:function(e){return 1===e?"seconde":"seconden"},ms:function(e){return 1===e?"milliseconde":"milliseconden"},decimal:","},no:{y:"år",mo:function(e){return"måned"+(1===e?"":"er")},w:function(e){return"uke"+(1===e?"":"r")},d:function(e){return"dag"+(1===e?"":"er")},h:function(e){return"time"+(1===e?"":"r")},m:function(e){return"minutt"+(1===e?"":"er")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},pl:{y:function(e){return["rok","roku","lata","lat"][o(e)]},mo:function(e){return["miesiąc","miesiąca","miesiące","miesięcy"][o(e)]},w:function(e){return["tydzień","tygodnia","tygodnie","tygodni"][o(e)]},d:function(e){return["dzień","dnia","dni","dni"][o(e)]},h:function(e){return["godzina","godziny","godziny","godzin"][o(e)]},m:function(e){return["minuta","minuty","minuty","minut"][o(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekund"][o(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][o(e)]},decimal:","},pt:{y:function(e){return"ano"+(1===e?"":"s")},mo:function(e){return 1!==e?"meses":"mês"},w:function(e){return"semana"+(1===e?"":"s")},d:function(e){return"dia"+(1===e?"":"s")},h:function(e){return"hora"+(1===e?"":"s")},m:function(e){return"minuto"+(1===e?"":"s")},s:function(e){return"segundo"+(1===e?"":"s")},ms:function(e){return"milissegundo"+(1===e?"":"s")},decimal:","},ru:{y:function(e){return["лет","год","года"][s(e)]},mo:function(e){return["месяцев","месяц","месяца"][s(e)]},w:function(e){return["недель","неделя","недели"][s(e)]},d:function(e){return["дней","день","дня"][s(e)]},h:function(e){return["часов","час","часа"][s(e)]},m:function(e){return["минут","минута","минуты"][s(e)]},s:function(e){return["секунд","секунда","секунды"][s(e)]},ms:function(e){return["миллисекунд","миллисекунда","миллисекунды"][s(e)]},decimal:","},uk:{y:function(e){return["років","рік","роки"][s(e)]},mo:function(e){return["місяців","місяць","місяці"][s(e)]},w:function(e){return["неділь","неділя","неділі"][s(e)]},d:function(e){return["днів","день","дні"][s(e)]},h:function(e){return["годин","година","години"][s(e)]},m:function(e){return["хвилин","хвилина","хвилини"][s(e)]},s:function(e){return["секунд","секунда","секунди"][s(e)]},ms:function(e){return["мілісекунд","мілісекунда","мілісекунди"][s(e)]},decimal:","},sv:{y:"år",mo:function(e){return"månad"+(1===e?"":"er")},w:function(e){return"veck"+(1===e?"a":"or")},d:function(e){return"dag"+(1===e?"":"ar")},h:function(e){return"timm"+(1===e?"e":"ar")},m:function(e){return"minut"+(1===e?"":"er")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},tr:{y:"yıl",mo:"ay",w:"hafta",d:"gün",h:"saat",m:"dakika",s:"saniye",ms:"milisaniye",decimal:","},vi:{y:"năm",mo:"tháng",w:"tuần",d:"ngày",h:"giờ",m:"phút",s:"giây",ms:"mili giây",decimal:","},zh_CN:{y:"年",mo:"个月",w:"周",d:"天",h:"小时",m:"分钟",s:"秒",ms:"毫秒",decimal:"."},zh_TW:{y:"年",mo:"個月",w:"周",d:"天",h:"小時",m:"分鐘",s:"秒",ms:"毫秒",decimal:"."}},u=e({});u.getSupportedLanguages=function(){var e=[];for(var t in c)c.hasOwnProperty(t)&&e.push(t);return e},u.humanizer=e,"function"==typeof define&&define.amd?define(function(){return u}):void 0!==t&&t.exports?t.exports=u:this.humanizeDuration=u}()},{}],73:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function o(e){if(h===clearTimeout)return clearTimeout(e);if((h===a||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{return h(e)}catch(t){try{return h.call(null,e)}catch(t){return h.call(this,e)}}}function s(){g&&f&&(g=!1,f.length?m=f.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=i(s);g=!0;for(var t=m.length;t;){for(f=m,m=[];++v1)for(var n=1;n8&&x<=11),_=32,k=String.fromCharCode(_),E={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},S=!1,M=null,T={eventTypes:E,extractEvents:function(e,t,n,r){return[l(e,t,n,r),d(e,t,n,r)]}};t.exports=T},{"./EventPropagators":112,"./FallbackCompositionState":113,"./SyntheticCompositionEvent":170,"./SyntheticInputEvent":174,"fbjs/lib/ExecutionEnvironment":213}],97:[function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var a={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},i=["Webkit","ms","Moz","O"];Object.keys(a).forEach(function(e){i.forEach(function(t){a[r(t,e)]=a[e]})});var o={isUnitlessNumber:a,shorthandPropertyExpansions:{background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}}};t.exports=o},{}],98:[function(e,t,n){"use strict";var r=e("./CSSProperty"),a=e("fbjs/lib/ExecutionEnvironment"),i=(e("./ReactInstrumentation"),e("fbjs/lib/camelizeStyleName"),e("./dangerousStyleValue")),o=e("fbjs/lib/hyphenateStyleName"),s=e("fbjs/lib/memoizeStringOnly"),l=(e("fbjs/lib/warning"),s(function(e){return o(e)})),c=!1,u="cssFloat";if(a.canUseDOM){var d=document.createElement("div").style;try{d.font=""}catch(e){c=!0}void 0===document.documentElement.style.cssFloat&&(u="styleFloat")}var h={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var a=0===r.indexOf("--"),o=e[r];null!=o&&(n+=l(r)+":",n+=i(r,o,t,a)+";")}return n||null},setValueForStyles:function(e,t,n){var a=e.style;for(var o in t)if(t.hasOwnProperty(o)){var s=0===o.indexOf("--"),l=i(o,t[o],n,s);if("float"!==o&&"cssFloat"!==o||(o=u),s)a.setProperty(o,l);else if(l)a[o]=l;else{var d=c&&r.shorthandPropertyExpansions[o];if(d)for(var h in d)a[h]="";else a[o]=""}}}};t.exports=h},{"./CSSProperty":97,"./ReactInstrumentation":150,"./dangerousStyleValue":186,"fbjs/lib/ExecutionEnvironment":213,"fbjs/lib/camelizeStyleName":215,"fbjs/lib/hyphenateStyleName":226,"fbjs/lib/memoizeStringOnly":230,"fbjs/lib/warning":232}],99:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=e("./reactProdInvariant"),i=e("./PooledClass"),o=(e("fbjs/lib/invariant"),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length&&a("24"),this._callbacks=null,this._contexts=null;for(var r=0;r8));var N=!1;_.canUseDOM&&(N=P("input")&&(!document.documentMode||document.documentMode>9));var F={eventTypes:R,_allowSimulatedPassThrough:!0,_isInputEventSupported:N,extractEvents:function(e,t,n,i){var o,s,l=t?k.getNodeFromInstance(t):window;if(a(l)?A?o=u:s=d:D(l)?N?o=y:(o=g,s=m):v(l)&&(o=b),o){var c=o(e,t,n);if(c)return r(c,n,i)}s&&s(e,l,t),"topBlur"===e&&x(t,l)}};t.exports=F},{"./EventPluginHub":109,"./EventPropagators":112,"./ReactDOMComponentTree":126,"./ReactUpdates":163,"./SyntheticEvent":172,"./getEventTarget":194,"./inputValueTracking":200,"./isEventSupported":202,"./isTextInputElement":203,"fbjs/lib/ExecutionEnvironment":213}],101:[function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function a(e,t,n){c.insertTreeBefore(e,t,n)}function i(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):f(e,t,n)}function o(e,t){if(Array.isArray(t)){var n=t[1];l(e,t=t[0],n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var a=t;;){var i=a.nextSibling;if(f(e,a,r),a===n)break;a=i}}function l(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}var c=e("./DOMLazyTree"),u=e("./Danger"),d=(e("./ReactDOMComponentTree"),e("./ReactInstrumentation"),e("./createMicrosoftUnsafeLocalFunction")),h=e("./setInnerHTML"),p=e("./setTextContent"),f=d(function(e,t,n){e.insertBefore(t,n)}),m={dangerouslyReplaceNodeWithMarkup:u.dangerouslyReplaceNodeWithMarkup,replaceDelimitedText:function(e,t,n){var r=e.parentNode,a=e.nextSibling;a===t?n&&f(r,document.createTextNode(n),a):n?(p(a,n),l(r,a,t)):l(r,e,t)},processUpdates:function(e,t){for(var n=0;n-1||o("96",e),!c.plugins[n]){t.extractEvents||o("97",e),c.plugins[n]=t;var r=t.eventTypes;for(var i in r)a(r[i],t,i)||o("98",i,e)}}}function a(e,t,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&o("99",n),c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var a in r)r.hasOwnProperty(a)&&i(r[a],t,n);return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){c.registrationNameModules[e]&&o("100",e),c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var o=e("./reactProdInvariant"),s=(e("fbjs/lib/invariant"),null),l={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s&&o("101"),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var a=e[n];l.hasOwnProperty(n)&&l[n]===a||(l[n]&&o("102",n),l[n]=a,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var a=c.registrationNameModules[n[r]];if(a)return a}}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var a in r)r.hasOwnProperty(a)&&delete r[a]}};t.exports=c},{"./reactProdInvariant":205,"fbjs/lib/invariant":227}],111:[function(e,t,n){"use strict";function r(e,t,n,r){var a=e.type||"unknown-event";e.currentTarget=c.getNodeFromInstance(r),t?l.invokeGuardedCallbackWithCatch(a,n,e):l.invokeGuardedCallback(a,n,e),e.currentTarget=null}function a(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r1?1-t:void 0;return this._fallbackText=a.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},{"./PooledClass":117,"./getTextContentAccessor":198,"object-assign":233}],114:[function(e,t,n){"use strict";var r=e("./DOMProperty"),a=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,o=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,l=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:a|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,controlsList:0,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:l,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:a|i,muted:a|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:o,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:a|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:o,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}};t.exports=c},{"./DOMProperty":104}],115:[function(e,t,n){"use strict";var r={escape:function(e){var t=/[=:]/g,n={"=":"=0",":":"=2"};return"$"+(""+e).replace(t,function(e){return n[e]})},unescape:function(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1))).replace(t,function(e){return n[e]})}};t.exports=r},{}],116:[function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink&&s("87")}function a(e){r(e),(null!=e.value||null!=e.onChange)&&s("88")}function i(e){r(e),(null!=e.checked||null!=e.onChange)&&s("89")}function o(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=e("./reactProdInvariant"),l=e("./ReactPropTypesSecret"),c=e("prop-types/factory")(e("react/lib/React").isValidElement),u=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),d={value:function(e,t,n){return!e[t]||u[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:c.func},h={},p={checkPropTypes:function(e,t,n){for(var r in d){if(d.hasOwnProperty(r))var a=d[r](t,r,e,"prop",null,l);a instanceof Error&&!(a.message in h)&&(h[a.message]=!0,o(n))}},getValue:function(e){return e.valueLink?(a(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(a(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};t.exports=p},{"./ReactPropTypesSecret":156,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"prop-types/factory":75,"react/lib/React":236}],117:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),a=(e("fbjs/lib/invariant"),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e){var t=this;e instanceof t||r("25"),e.destructor(),t.instancePool.length=0||null!=t.is}function m(e){var t=e.type;p(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=e("./reactProdInvariant"),v=e("object-assign"),b=e("./AutoFocusUtils"),y=e("./CSSPropertyOperations"),x=e("./DOMLazyTree"),C=e("./DOMNamespaces"),w=e("./DOMProperty"),_=e("./DOMPropertyOperations"),k=e("./EventPluginHub"),E=e("./EventPluginRegistry"),S=e("./ReactBrowserEventEmitter"),M=e("./ReactDOMComponentFlags"),T=e("./ReactDOMComponentTree"),P=e("./ReactDOMInput"),D=e("./ReactDOMOption"),R=e("./ReactDOMSelect"),O=e("./ReactDOMTextarea"),I=(e("./ReactInstrumentation"),e("./ReactMultiChild")),A=e("./ReactServerRenderingTransaction"),N=(e("fbjs/lib/emptyFunction"),e("./escapeTextContentForBrowser")),F=(e("fbjs/lib/invariant"),e("./isEventSupported"),e("fbjs/lib/shallowEqual"),e("./inputValueTracking")),j=(e("./validateDOMNesting"),e("fbjs/lib/warning"),M),L=k.deleteListener,V=T.getNodeFromInstance,U=S.listenTo,W=E.registrationNameModules,B={string:!0,number:!0},H="__html",z={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},Y=11,q={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},G={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},K={listing:!0,pre:!0,textarea:!0},Z=v({menuitem:!0},G),Q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},J={}.hasOwnProperty,$=1;m.displayName="ReactDOMComponent",m.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=$++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(d,this);break;case"input":P.mountWrapper(this,i,t),i=P.getHostProps(this,i),e.getReactMountReady().enqueue(u,this),e.getReactMountReady().enqueue(d,this);break;case"option":D.mountWrapper(this,i,t),i=D.getHostProps(this,i);break;case"select":R.mountWrapper(this,i,t),i=R.getHostProps(this,i),e.getReactMountReady().enqueue(d,this);break;case"textarea":O.mountWrapper(this,i,t),i=O.getHostProps(this,i),e.getReactMountReady().enqueue(u,this),e.getReactMountReady().enqueue(d,this)}a(this,i);var o,h;null!=t?(o=t._namespaceURI,h=t._tag):n._tag&&(o=n._namespaceURI,h=n._tag),(null==o||o===C.svg&&"foreignobject"===h)&&(o=C.html),o===C.html&&("svg"===this._tag?o=C.svg:"math"===this._tag&&(o=C.mathml)),this._namespaceURI=o;var p;if(e.useCreateElement){var f,m=n._ownerDocument;if(o===C.html)if("script"===this._tag){var g=m.createElement("div"),v=this._currentElement.type;g.innerHTML="<"+v+">",f=g.removeChild(g.firstChild)}else f=i.is?m.createElement(this._currentElement.type,i.is):m.createElement(this._currentElement.type);else f=m.createElementNS(o,this._currentElement.type);T.precacheNode(this,f),this._flags|=j.hasCachedChildNodes,this._hostParent||_.setAttributeForRoot(f),this._updateDOMProperties(null,i,e);var y=x(f);this._createInitialChildren(e,i,r,y),p=y}else{var w=this._createOpenTagMarkupAndPutListeners(e,i),k=this._createContentMarkup(e,i,r);p=!k&&G[this._tag]?w+"/>":w+">"+k+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(l,this),i.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"select":case"button":i.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(c,this)}return p},_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(W.hasOwnProperty(r))a&&i(this,r,a,e);else{"style"===r&&(a&&(a=this._previousStyleCopy=v({},t.style)),a=y.createMarkupForStyles(a,this));var o=null;null!=this._tag&&f(this._tag,t)?z.hasOwnProperty(r)||(o=_.createMarkupForCustomAttribute(r,a)):o=_.createMarkupForProperty(r,a),o&&(n+=" "+o)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+_.createMarkupForRoot()),n+=" "+_.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",a=t.dangerouslySetInnerHTML;if(null!=a)null!=a.__html&&(r=a.__html);else{var i=B[typeof t.children]?t.children:null,o=null!=i?null:t.children;null!=i?r=N(i):null!=o&&(r=this.mountChildren(o,e,n).join(""))}return K[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&&x.queueHTML(r,a.__html);else{var i=B[typeof t.children]?t.children:null,o=null!=i?null:t.children;if(null!=i)""!==i&&x.queueText(r,i);else if(null!=o)for(var s=this.mountChildren(o,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[o()].length,a=Math.min(t.start,r),s=void 0===t.end?a:Math.min(t.end,r);if(!n.extend&&a>s){var l=s;s=a,a=l}var c=i(e,a),u=i(e,s);if(c&&u){var d=document.createRange();d.setStart(c.node,c.offset),n.removeAllRanges(),a>s?(n.addRange(d),n.extend(u.node,u.offset)):(d.setEnd(u.node,u.offset),n.addRange(d))}}}};t.exports=l},{"./getNodeForCharacterOffset":197,"./getTextContentAccessor":198,"fbjs/lib/ExecutionEnvironment":213}],135:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),a=e("object-assign"),i=e("./DOMChildrenOperations"),o=e("./DOMLazyTree"),s=e("./ReactDOMComponentTree"),l=e("./escapeTextContentForBrowser"),c=(e("fbjs/lib/invariant"),e("./validateDOMNesting"),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});a(c.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++,i=" react-text: "+a+" ";if(this._domID=a,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,u=c.createComment(i),d=c.createComment(" /react-text "),h=o(c.createDocumentFragment());return o.queueChild(h,o(u)),this._stringText&&o.queueChild(h,o(c.createTextNode(this._stringText))),o.queueChild(h,o(d)),s.precacheNode(this,u),this._closingComment=d,h}var p=l(this._stringText);return e.renderToStaticMarkup?p:"\x3c!--"+i+"--\x3e"+p+"\x3c!-- /react-text --\x3e"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this).nextSibling;;){if(null==t&&r("67",this._domID),8===t.nodeType&&" /react-text "===t.nodeValue){this._closingComment=t;break}t=t.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=c},{"./DOMChildrenOperations":101,"./DOMLazyTree":102,"./ReactDOMComponentTree":126,"./escapeTextContentForBrowser":187,"./reactProdInvariant":205,"./validateDOMNesting":211,"fbjs/lib/invariant":227,"object-assign":233}],136:[function(e,t,n){"use strict";function r(){this._rootNodeID&&u.updateWrapper(this)}function a(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return c.asap(r,this),n}var i=e("./reactProdInvariant"),o=e("object-assign"),s=e("./LinkedValueUtils"),l=e("./ReactDOMComponentTree"),c=e("./ReactUpdates"),u=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{getHostProps:function(e,t){return null!=t.dangerouslySetInnerHTML&&i("91"),o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){var n=s.getValue(t),r=n;if(null==n){var o=t.defaultValue,l=t.children;null!=l&&(null!=o&&i("92"),Array.isArray(l)&&(l.length<=1||i("93"),l=l[0]),o=""+l),null==o&&(o=""),r=o}e._wrapperState={initialValue:""+r,listeners:null,onChange:a.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=l.getNodeFromInstance(e),r=s.getValue(t);if(null!=r){var a=""+r;a!==n.value&&(n.value=a),null==t.defaultValue&&(n.defaultValue=a)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=l.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});t.exports=u},{"./LinkedValueUtils":116,"./ReactDOMComponentTree":126,"./ReactUpdates":163,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"object-assign":233}],137:[function(e,t,n){"use strict";function r(e,t){"_hostNode"in e||a("33"),"_hostNode"in t||a("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var i=0,o=t;o;o=o._hostParent)i++;for(;n-i>0;)e=e._hostParent,n--;for(;i-n>0;)t=t._hostParent,i--;for(var s=n;s--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}var a=e("./reactProdInvariant");e("fbjs/lib/invariant");t.exports={isAncestor:function(e,t){"_hostNode"in e||a("35"),"_hostNode"in t||a("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1},getLowestCommonAncestor:r,getParentInstance:function(e){return"_hostNode"in e||a("36"),e._hostParent},traverseTwoPhase:function(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var a;for(a=r.length;a-- >0;)t(r[a],"captured",n);for(a=0;a0;)n(l[c],"captured",i)}}},{"./reactProdInvariant":205,"fbjs/lib/invariant":227}],138:[function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var a=e("object-assign"),i=e("./ReactUpdates"),o=e("./Transaction"),s=e("fbjs/lib/emptyFunction"),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},c=[{initialize:s,close:i.flushBatchedUpdates.bind(i)},l];a(r.prototype,o,{getTransactionWrappers:function(){return c}});var u=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,a,i){var o=d.isBatchingUpdates;return d.isBatchingUpdates=!0,o?e(t,n,r,a,i):u.perform(e,null,t,n,r,a,i)}};t.exports=d},{"./ReactUpdates":163,"./Transaction":181,"fbjs/lib/emptyFunction":219,"object-assign":233}],139:[function(e,t,n){"use strict";var r=e("./ARIADOMPropertyConfig"),a=e("./BeforeInputEventPlugin"),i=e("./ChangeEventPlugin"),o=e("./DefaultEventPluginOrder"),s=e("./EnterLeaveEventPlugin"),l=e("./HTMLDOMPropertyConfig"),c=e("./ReactComponentBrowserEnvironment"),u=e("./ReactDOMComponent"),d=e("./ReactDOMComponentTree"),h=e("./ReactDOMEmptyComponent"),p=e("./ReactDOMTreeTraversal"),f=e("./ReactDOMTextComponent"),m=e("./ReactDefaultBatchingStrategy"),g=e("./ReactEventListener"),v=e("./ReactInjection"),b=e("./ReactReconcileTransaction"),y=e("./SVGDOMPropertyConfig"),x=e("./SelectEventPlugin"),C=e("./SimpleEventPlugin"),w=!1;t.exports={inject:function(){w||(w=!0,v.EventEmitter.injectReactEventListener(g),v.EventPluginHub.injectEventPluginOrder(o),v.EventPluginUtils.injectComponentTree(d),v.EventPluginUtils.injectTreeTraversal(p),v.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:C,EnterLeaveEventPlugin:s,ChangeEventPlugin:i,SelectEventPlugin:x,BeforeInputEventPlugin:a}),v.HostComponent.injectGenericComponentClass(u),v.HostComponent.injectTextComponentClass(f),v.DOMProperty.injectDOMPropertyConfig(r),v.DOMProperty.injectDOMPropertyConfig(l),v.DOMProperty.injectDOMPropertyConfig(y),v.EmptyComponent.injectEmptyComponentFactory(function(e){return new h(e)}),v.Updates.injectReconcileTransaction(b),v.Updates.injectBatchingStrategy(m),v.Component.injectEnvironment(c))}}},{"./ARIADOMPropertyConfig":94,"./BeforeInputEventPlugin":96,"./ChangeEventPlugin":100,"./DefaultEventPluginOrder":107,"./EnterLeaveEventPlugin":108,"./HTMLDOMPropertyConfig":114,"./ReactComponentBrowserEnvironment":120,"./ReactDOMComponent":124,"./ReactDOMComponentTree":126,"./ReactDOMEmptyComponent":128,"./ReactDOMTextComponent":135,"./ReactDOMTreeTraversal":137,"./ReactDefaultBatchingStrategy":138,"./ReactEventListener":144,"./ReactInjection":147,"./ReactReconcileTransaction":157,"./SVGDOMPropertyConfig":165,"./SelectEventPlugin":166,"./SimpleEventPlugin":167}],140:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},{}],141:[function(e,t,n){"use strict";var r,a={injectEmptyComponentFactory:function(e){r=e}},i={create:function(e){return r(e)}};i.injection=a,t.exports=i},{}],142:[function(e,t,n){"use strict";function r(e,t,n){try{t(n)}catch(e){null===a&&(a=e)}}var a=null,i={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(a){var e=a;throw a=null,e}}};t.exports=i},{}],143:[function(e,t,n){"use strict";function r(e){a.enqueueEvents(e),a.processEventQueue(!1)}var a=e("./EventPluginHub"),i={handleTopLevel:function(e,t,n,i){r(a.extractEvents(e,t,n,i))}};t.exports=i},{"./EventPluginHub":109}],144:[function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=d.getNodeFromInstance(e).parentNode;return d.getClosestInstanceFromNode(t)}function a(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=p(e.nativeEvent),n=d.getClosestInstanceFromNode(t),a=n;do{e.ancestors.push(a),a=a&&r(a)}while(a);for(var i=0;i/,i=/^<\!\-\-/,o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(a," "+o.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(o.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};t.exports=o},{"./adler32":184}],152:[function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r.":"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 o,s=g.createElement(L,{child:t});if(e){var l=w.get(e);o=l._processChildContext(l._context)}else o=M;var u=h(n);if(u){var d=u._currentElement.props.child;if(D(d,t)){var f=u._renderedComponent.getPublicInstance(),m=r&&function(){r.call(f)};return V._updateRootComponent(u,s,o,n,m),f}V.unmountComponentAtNode(n)}var v=a(n),b=v&&!!i(v),y=c(n),x=b&&!u&&!y,C=V._renderNewRootComponent(s,n,x,o)._renderedComponent.getPublicInstance();return r&&r.call(C),C},render:function(e,t,n){return V._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){u(e)||p("40");var t=h(e);return t?(delete F[t._instance.rootID],S.batchedUpdates(l,t,e,!1),!0):(c(e),1===e.nodeType&&e.hasAttribute(O),!1)},_mountImageIntoNode:function(e,t,n,i,o){if(u(t)||p("41"),i){var s=a(t);if(_.canReuseMarkup(e,s))return void b.precacheNode(n,s);var l=s.getAttribute(_.CHECKSUM_ATTR_NAME);s.removeAttribute(_.CHECKSUM_ATTR_NAME);var c=s.outerHTML;s.setAttribute(_.CHECKSUM_ATTR_NAME,l);var d=e,h=r(d,c),m=" (client) "+d.substring(h-20,h+20)+"\n (server) "+c.substring(h-20,h+20);t.nodeType===A&&p("42",m)}if(t.nodeType===A&&p("43"),o.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);f.insertTreeBefore(t,e,null)}else P(t,e),b.precacheNode(n,t.firstChild)}};t.exports=V},{"./DOMLazyTree":102,"./DOMProperty":104,"./ReactBrowserEventEmitter":118,"./ReactDOMComponentTree":126,"./ReactDOMContainerInfo":127,"./ReactDOMFeatureFlags":129,"./ReactFeatureFlags":145,"./ReactInstanceMap":149,"./ReactInstrumentation":150,"./ReactMarkupChecksum":151,"./ReactReconciler":158,"./ReactUpdateQueue":162,"./ReactUpdates":163,"./instantiateReactComponent":201,"./reactProdInvariant":205,"./setInnerHTML":207,"./shouldUpdateReactComponent":209,"fbjs/lib/emptyObject":220,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"react/lib/React":236,"react/lib/ReactCurrentOwner":239}],153:[function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function a(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:h.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function o(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function l(e,t){return t&&(e=e||[]).push(t),e}function c(e,t){d.processChildrenUpdates(e,t)}var u=e("./reactProdInvariant"),d=e("./ReactComponentEnvironment"),h=(e("./ReactInstanceMap"),e("./ReactInstrumentation"),e("react/lib/ReactCurrentOwner"),e("./ReactReconciler")),p=e("./ReactChildReconciler"),f=(e("fbjs/lib/emptyFunction"),e("./flattenChildren")),m=(e("fbjs/lib/invariant"),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return p.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,a,i){var o;return o=f(t,0),p.updateChildren(e,o,n,r,a,this,this._hostContainerInfo,i,0),o},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var a=[],i=0;for(var o in r)if(r.hasOwnProperty(o)){var s=r[o],l=h.mountComponent(s,t,this,this._hostContainerInfo,n,0);s._mountIndex=i++,a.push(l)}return a},updateTextContent:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&u("118");c(this,[s(e)])},updateMarkup:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&u("118");c(this,[o(e)])},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,a={},i=[],o=this._reconcilerUpdateChildren(r,e,i,a,t,n);if(o||r){var s,u=null,d=0,p=0,f=0,m=null;for(s in o)if(o.hasOwnProperty(s)){var g=r&&r[s],v=o[s];g===v?(u=l(u,this.moveChild(g,m,d,p)),p=Math.max(g._mountIndex,p),g._mountIndex=d):(g&&(p=Math.max(g._mountIndex,p)),u=l(u,this._mountChildAtIndex(v,i[f],m,d,t,n)),f++),d++,m=h.getHostNode(v)}for(s in a)a.hasOwnProperty(s)&&(u=l(u,this._unmountChild(r[s],a[s])));u&&c(this,u),this._renderedChildren=o}},unmountChildren:function(e){var t=this._renderedChildren;p.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);return n||null}var o=e("./reactProdInvariant"),s=(e("react/lib/ReactCurrentOwner"),e("./ReactInstanceMap")),l=(e("./ReactInstrumentation"),e("./ReactUpdates")),c=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){c.validateCallback(t,n);var a=i(e);if(!a)return null;a._pendingCallbacks?a._pendingCallbacks.push(t):a._pendingCallbacks=[t],r(a)},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e);t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var a=i(e);a&&(a._pendingStateQueue=[t],a._pendingReplaceState=!0,void 0!==n&&null!==n&&(c.validateCallback(n,"replaceState"),a._pendingCallbacks?a._pendingCallbacks.push(n):a._pendingCallbacks=[n]),r(a))},enqueueSetState:function(e,t){var n=i(e);n&&((n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n))},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&o("122",t,a(e))}});t.exports=c},{"./ReactInstanceMap":149,"./ReactInstrumentation":150,"./ReactUpdates":163,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"react/lib/ReactCurrentOwner":239}],163:[function(e,t,n){"use strict";function r(){_.ReactReconcileTransaction&&x||l("123")}function a(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=u.getPooled(),this.reconcileTransaction=_.ReactReconcileTransaction.getPooled(!0)}function i(e,t){return e._mountOrder-t._mountOrder}function o(e){var t=e.dirtyComponentsLength;t!==g.length&&l("124",t,g.length),g.sort(i),v++;for(var n=0;n]/;t.exports=function(e){return"boolean"==typeof e||"number"==typeof e?""+e:r(e)}},{}],188:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),a=(e("react/lib/ReactCurrentOwner"),e("./ReactDOMComponentTree")),i=e("./ReactInstanceMap"),o=e("./getHostComponentFromComposite");e("fbjs/lib/invariant"),e("fbjs/lib/warning");t.exports=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=i.get(e);if(t)return(t=o(t))?a.getNodeFromInstance(t):null;"function"==typeof e.render?r("44"):r("45",Object.keys(e))}},{"./ReactDOMComponentTree":126,"./ReactInstanceMap":149,"./getHostComponentFromComposite":195,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"react/lib/ReactCurrentOwner":239}],189:[function(e,t,n){(function(n){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var a=e;void 0===a[n]&&null!=t&&(a[n]=t)}}e("./KeyEscapeUtils");var a=e("./traverseAllChildren");e("fbjs/lib/warning");void 0!==n&&n.env,t.exports=function(e,t){if(null==e)return e;var n={};return a(e,r,n),n}}).call(this,e("_process"))},{"./KeyEscapeUtils":115,"./traverseAllChildren":210,_process:73,"fbjs/lib/warning":232}],190:[function(e,t,n){"use strict";t.exports=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}},{}],191:[function(e,t,n){"use strict";t.exports=function(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}},{}],192:[function(e,t,n){"use strict";var r=e("./getEventCharCode"),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=function(e){if(e.key){var t=a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=r(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}},{"./getEventCharCode":191}],193:[function(e,t,n){"use strict";function r(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=a[e];return!!n&&!!t[n]}var a={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=function(e){return r}},{}],194:[function(e,t,n){"use strict";t.exports=function(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}},{}],195:[function(e,t,n){"use strict";var r=e("./ReactNodeTypes");t.exports=function(e){for(var t;(t=e._renderedNodeType)===r.COMPOSITE;)e=e._renderedComponent;return t===r.HOST?e._renderedComponent:t===r.EMPTY?null:void 0}},{"./ReactNodeTypes":154}],196:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.iterator,a="@@iterator";t.exports=function(e){var t=e&&(r&&e[r]||e[a]);if("function"==typeof t)return t}},{}],197:[function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function a(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}t.exports=function(e,t){for(var n=r(e),i=0,o=0;n;){if(3===n.nodeType){if(o=i+n.textContent.length,i<=t&&o>=t)return{node:n,offset:t-i};i=o}n=r(a(n))}}},{}],198:[function(e,t,n){"use strict";var r=e("fbjs/lib/ExecutionEnvironment"),a=null;t.exports=function(){return!a&&r.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}},{"fbjs/lib/ExecutionEnvironment":213}],199:[function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}var a=e("fbjs/lib/ExecutionEnvironment"),i={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},o={},s={};a.canUseDOM&&(s=document.createElement("div").style,"AnimationEvent"in window||(delete i.animationend.animation,delete i.animationiteration.animation,delete i.animationstart.animation),"TransitionEvent"in window||delete i.transitionend.transition),t.exports=function(e){if(o[e])return o[e];if(!i[e])return e;var t=i[e];for(var n in t)if(t.hasOwnProperty(n)&&n in s)return o[e]=t[n];return""}},{"fbjs/lib/ExecutionEnvironment":213}],200:[function(e,t,n){"use strict";function r(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function a(e){return e._wrapperState.valueTracker}function i(e,t){e._wrapperState.valueTracker=t}function o(e){e._wrapperState.valueTracker=null}function s(e){var t;return e&&(t=r(e)?""+e.checked:e.value),t}var l=e("./ReactDOMComponentTree"),c={_getTrackerFromNode:function(e){return a(l.getInstanceFromNode(e))},track:function(e){if(!a(e)){var t=l.getNodeFromInstance(e),n=r(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),c=""+t[n];t.hasOwnProperty(n)||"function"!=typeof s.get||"function"!=typeof s.set||(Object.defineProperty(t,n,{enumerable:s.enumerable,configurable:!0,get:function(){return s.get.call(this)},set:function(e){c=""+e,s.set.call(this,e)}}),i(e,{getValue:function(){return c},setValue:function(e){c=""+e},stopTracking:function(){o(e),delete t[n]}}))}},updateValueIfChanged:function(e){if(!e)return!1;var t=a(e);if(!t)return c.track(e),!0;var n=t.getValue(),r=s(l.getNodeFromInstance(e));return r!==n&&(t.setValue(r),!0)},stopTracking:function(e){var t=a(e);t&&t.stopTracking()}};t.exports=c},{"./ReactDOMComponentTree":126}],201:[function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function a(e){return"function"==typeof e&&void 0!==e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||!1===e)n=c.create(i);else if("object"==typeof e){var s=e,l=s.type;if("function"!=typeof l&&"string"!=typeof l){var h="";h+=r(s._owner),o("130",null==l?l:typeof l,h)}"string"==typeof s.type?n=u.createInternalComponent(s):a(s.type)?(n=new s.type(s)).getHostNode||(n.getHostNode=n.getNativeNode):n=new d(s)}else"string"==typeof e||"number"==typeof e?n=u.createInstanceForText(e):o("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var o=e("./reactProdInvariant"),s=e("object-assign"),l=e("./ReactCompositeComponent"),c=e("./ReactEmptyComponent"),u=e("./ReactHostComponent"),d=(e("react/lib/getNextDebugID"),e("fbjs/lib/invariant"),e("fbjs/lib/warning"),function(e){this.construct(e)});s(d.prototype,l,{_instantiateReactComponent:i}),t.exports=i},{"./ReactCompositeComponent":122,"./ReactEmptyComponent":141,"./ReactHostComponent":146,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"object-assign":233,"react/lib/getNextDebugID":249}],202:[function(e,t,n){"use strict";var r,a=e("fbjs/lib/ExecutionEnvironment");a.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=function(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var o=document.createElement("div");o.setAttribute(n,"return;"),i="function"==typeof o[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},{"fbjs/lib/ExecutionEnvironment":213}],203:[function(e,t,n){"use strict";var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}},{}],204:[function(e,t,n){"use strict";var r=e("./escapeTextContentForBrowser");t.exports=function(e){return'"'+r(e)+'"'}},{"./escapeTextContentForBrowser":187}],205:[function(e,t,n){"use strict";t.exports=function(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r]/,l=e("./createMicrosoftUnsafeLocalFunction")(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{(r=r||document.createElement("div")).innerHTML=""+t+"";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),o.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":103,"./createMicrosoftUnsafeLocalFunction":185,"fbjs/lib/ExecutionEnvironment":213}],208:[function(e,t,n){"use strict";var r=e("fbjs/lib/ExecutionEnvironment"),a=e("./escapeTextContentForBrowser"),i=e("./setInnerHTML"),o=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||(o=function(e,t){3!==e.nodeType?i(e,a(t)):e.nodeValue=t})),t.exports=o},{"./escapeTextContentForBrowser":187,"./setInnerHTML":207,"fbjs/lib/ExecutionEnvironment":213}],209:[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,i=typeof t;return"string"===a||"number"===a?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}},{}],210:[function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function a(e,t,n,d){var h=typeof e;if("undefined"!==h&&"boolean"!==h||(e=null),null===e||"string"===h||"number"===h||"object"===h&&e.$$typeof===o)return n(d,e,""===t?c+r(e,0):t),1;var p,f=0,m=""===t?c:t+u;if(Array.isArray(e))for(var g=0;g',""],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,o[e]=!0}),t.exports=function(e){return i||a(!1),d.hasOwnProperty(e)||(e="*"),o.hasOwnProperty(e)||(i.innerHTML="*"===e?"":"<"+e+">",o[e]=!i.firstChild),o[e]?d[e]:null}},{"./ExecutionEnvironment":213,"./invariant":227}],224:[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}}},{}],225:[function(e,t,n){"use strict";var r=/([A-Z])/g;t.exports=function(e){return e.replace(r,"-$1").toLowerCase()}},{}],226:[function(e,t,n){"use strict";var r=e("./hyphenate"),a=/^ms-/;t.exports=function(e){return r(e).replace(a,"-ms-")}},{"./hyphenate":225}],227:[function(e,t,n){"use strict";var r=function(e){};t.exports=function(e,t,n,a,i,o,s,l){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,a,i,o,s,l],d=0;(c=new Error(t.replace(/%s/g,function(){return u[d++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},{}],228:[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))}},{}],229:[function(e,t,n){"use strict";var r=e("./isNode");t.exports=function(e){return r(e)&&3==e.nodeType}},{"./isNode":228}],230:[function(e,t,n){"use strict";t.exports=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}},{}],231:[function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}var a=Object.prototype.hasOwnProperty;t.exports=function(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=0;o1){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(){function e(t,n,r){function a(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){return a(t[o][1][e]||e)},u,u.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o-1:e}).filter(function(e){return t.state.primary_key?e.primaryKey.indexOf(t.state.primary_key)>-1:e}).filter(function(e){return t.state.name?e.name.indexOf(t.state.name)>-1:e}).filter(function(e){return t.state.startAt?e.startAt.indexOf(t.state.startAt)>-1:e}).filter(function(e){return t.state.period?e.period.indexOf(t.state.period)>-1:e})},render:function(){if(!this.props.data)return null;var e=this.filterData(this.props.data);return a.createElement("table",{className:"table"},a.createElement("tbody",null,a.createElement("tr",null,a.createElement("th",{style:{textAlign:"left"}},"Grain Reference"),a.createElement("th",null,"Primary Key"),a.createElement("th",null),a.createElement("th",{style:{textAlign:"left"}},"Name"),a.createElement("th",{style:{textAlign:"left"}},"Start At"),a.createElement("th",{style:{textAlign:"right"}},"Period")),a.createElement("tr",null,a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.grain_reference,type:"text",name:"grain_reference",className:"form-control",placeholder:"Filter by Grain Reference"})),a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.primary_key,type:"text",name:"primary_key",className:"form-control",placeholder:"Filter by Primary Key"})),a.createElement("th",null),a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.name,type:"text",name:"name",className:"form-control",placeholder:"Filter by Name"})),a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.startAt,type:"text",name:"startAt",className:"form-control",placeholder:"Filter by Start At"})),a.createElement("th",{style:{textAlign:"right"}},a.createElement("input",{onChange:this.handleChange,value:this.state.period,type:"text",name:"period",className:"form-control",placeholder:"Filter by Period"}))),e.map(this.renderReminder)))}})},{react:259}],13:[function(e,t,n){"use strict";var r=e("react");t.exports=r.createClass({displayName:"exports",getInitialState:function(){var e=document.getElementById("dark-theme-style"),t="light";return localStorage&&(t=localStorage.getItem("theme")||"light"),"light"===t?e.setAttribute("media","none"):e.setAttribute("media",""),{light:"light"===t}},saveTheme:function(){localStorage&&localStorage.setItem("theme",this.state.light?"light":"dark")},pickLight:function(){document.getElementById("dark-theme-style").setAttribute("media","none"),this.setState({light:!0},this.saveTheme)},pickDark:function(){document.getElementById("dark-theme-style").setAttribute("media",""),this.setState({light:!1},this.saveTheme)},render:function(){return r.createElement("div",{className:"btn-group btn-group-sm",role:"group",style:{marginTop:"10px",marginRight:"10px"}},r.createElement("a",{href:"javascript:void(0);",className:this.state.light?"btn btn-primary":"btn btn-default",onClick:this.pickLight},"Light"),r.createElement("a",{href:"javascript:void(0);",className:this.state.light?"btn btn-default":"btn btn-primary",onClick:this.pickDark},"Dark"))}})},{react:259}],14:[function(e,t,n){"use strict";var r=e("react"),a=e("react-chartjs").Line;t.exports=r.createClass({displayName:"exports",getInitialState:function(){return{width:0}},getWidth:function(){this.refs.container&&this.setState({width:this.refs.container.offsetWidth})},renderChart:function(){if(0===this.state.width)return setTimeout(this.getWidth,0);var e={labels:this.props.series[0].map(function(e){return""}),datasets:[{label:"y2",backgroundColor:"rgba(236,151,31,0)",borderColor:"rgba(236,151,31,0.8)",data:this.props.series[2],pointRadius:0,yAxisID:"y2"},{label:"y1",backgroundColor:"rgba(246,31,31,0.8)",borderColor:"rgba(246,31,31,0)",data:this.props.series[0],pointRadius:0,yAxisID:"y1"},{label:"y1",backgroundColor:"rgba(120,57,136,0.8)",borderColor:"rgba(120,57,136,0)",data:this.props.series[1],pointRadius:0,yAxisID:"y1"}]},t={legend:{display:!1},maintainAspectRatio:!1,animation:!1,showTooltips:!1,responsive:!0,hoverMode:"label",stacked:!1,scales:{xAxes:[{display:!0,gridLines:{offsetGridLines:!1,drawOnChartArea:!1}}],yAxes:[{type:"linear",display:!0,position:"left",id:"y1",gridLines:{drawOnChartArea:!1},ticks:{beginAtZero:!0}},{type:"linear",display:!0,position:"right",id:"y2",gridLines:{drawOnChartArea:!1},ticks:{beginAtZero:!0}}]}};return r.createElement(a,{data:e,options:t,width:this.state.width,height:180})},render:function(){return r.createElement("div",{ref:"container"},this.renderChart())}})},{react:259,"react-chartjs":82}],15:[function(e,t,n){"use strict";function r(e){var t=e.split(".");return t[t.length-1]}var a=e("react"),i=e("../components/time-series-chart.jsx"),o=e("../components/counter-widget.jsx"),s=e("./silo-table.jsx"),l=e("../components/panel.jsx"),c=e("../components/page.jsx"),u=a.createClass({displayName:"GrainGraph",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 a.createElement("div",null,a.createElement("h4",null,this.props.grainMethod),a.createElement(i,{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=a.createClass({displayName:"exports",renderEmpty:function(){return a.createElement("span",null,"No messages recorded")},renderGraphs:function(){var e=this,t={activationCount:0,totalSeconds:0,totalAwaitTime:0,totalCalls:0,totalExceptions:0};return this.props.dashboardCounters.simpleGrainStats.forEach(function(n){n.grainType===e.props.grainType&&(t.activationCount+=n.activationCount,t.totalSeconds+=n.totalSeconds,t.totalAwaitTime+=n.totalAwaitTime,t.totalCalls+=n.totalCalls,t.totalExceptions+=n.totalExceptions)}),a.createElement(c,{title:r(this.props.grainType),subTitle:this.props.grainType},a.createElement("div",null,a.createElement("div",{className:"row"},a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"cubes",counter:t.activationCount,title:"Activations"})),a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"bug",counter:0===t.totalCalls?"0.00":(100*t.totalExceptions/t.totalCalls).toFixed(2)+"%",title:"Error Rate"})),a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"tachometer",counter:(t.totalCalls/100).toFixed(2),title:"Req/sec"})),a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"clock-o",counter:0===t.totalCalls?"0":(t.totalAwaitTime/t.totalCalls).toFixed(2)+"ms",title:"Average response time"}))),a.createElement(l,{title:"Method Profiling"},a.createElement("div",null,a.createElement("span",null,a.createElement("strong",{style:{color:"#783988",fontSize:"25px"}},"/")," number of requests per second",a.createElement("br",null),a.createElement("strong",{style:{color:"#EC1F1F",fontSize:"25px"}},"/")," failed requests"),a.createElement("span",{className:"pull-right"},a.createElement("strong",{style:{color:"#EC971F",fontSize:"25px"}},"/")," average latency in milliseconds"),Object.keys(this.props.grainStats).sort().map(function(t){return a.createElement(u,{stats:e.props.grainStats[t],grainMethod:r(t)})}))),a.createElement(l,{title:"Activations by Silo"},a.createElement(s,{data:this.props.dashboardCounters.simpleGrainStats,grainType:this.props.grainType}))))},render:function(){return 0===Object.keys(this.props.grainStats).length?this.renderEmpty():this.renderGraphs()}})},{"../components/counter-widget.jsx":2,"../components/page.jsx":9,"../components/panel.jsx":10,"../components/time-series-chart.jsx":14,"./silo-table.jsx":17,react:259}],16:[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("../components/grain-table.jsx"),s=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(a,{icon:"cubes",counter:this.props.dashboardCounters.totalActivationCount,title:"Total Activations"})),r.createElement("div",{className:"col-md-8"},r.createElement("div",{className:"info-box",style:{padding:"5px"}},r.createElement(i,{series:[this.props.dashboardCounters.totalActivationCountHistory]})))),r.createElement(s,{title:"Activations by Type"},r.createElement(o,{data:this.props.dashboardCounters.simpleGrainStats})))}})},{"../components/counter-widget.jsx":2,"../components/grain-table.jsx":5,"../components/multi-series-chart-widget.jsx":8,"../components/panel.jsx":10,react:259}],17:[function(e,t,n){"use strict";var r=e("react");t.exports=r.createClass({displayName:"exports",renderStat:function(e){return r.createElement("tr",{key:e.siloAddress},r.createElement("td",{style:{textOverflow:"ellipsis"},title:e.siloAddress},r.createElement("a",{href:"#/host/"+e.siloAddress},e.siloAddress)),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,e.activationCount))),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,0===e.totalCalls?"0.00":(100*e.totalExceptions/e.totalCalls).toFixed(2))," ",r.createElement("small",null,"%"))),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,0===e.totalSeconds?"0":(e.totalCalls/100).toFixed(2))," ",r.createElement("small",null,"req/sec"))),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,0===e.totalCalls?"0":(e.totalAwaitTime/e.totalCalls).toFixed(2))," ",r.createElement("small",null,"ms/req"))))},render:function(){var e=this,t={};if(!this.props.data)return null;this.props.data.forEach(function(n){if(t[n.siloAddress]||(t[n.siloAddress]={activationCount:0,totalSeconds:0,totalAwaitTime:0,totalCalls:0,totalExceptions:0}),!e.props.grainType||n.grainType===e.props.grainType){var r=t[n.siloAddress];r.activationCount+=n.activationCount,r.totalSeconds+=n.totalSeconds,r.totalAwaitTime+=n.totalAwaitTime,r.totalCalls+=n.totalCalls,r.totalExceptions+=n.totalExceptions}});var n=Object.keys(t).map(function(e){var n=t[e];return n.siloAddress=e,n}).sort(function(e,t){return t.activationCount-e.activationCount});return r.createElement("table",{className:"table"},r.createElement("tbody",null,r.createElement("tr",null,r.createElement("th",{style:{textAlign:"left"}},"Silo"),r.createElement("th",{style:{textAlign:"right"}},"Activations"),r.createElement("th",{style:{textAlign:"right"}},"Exception rate"),r.createElement("th",{style:{textAlign:"right"}},"Throughput"),r.createElement("th",{style:{textAlign:"right"}},"Latency")),n.map(this.renderStat)))}})},{react:259}],18:[function(e,t,n){"use strict";function r(){try{document.getElementsByClassName("wrapper")[0].scrollTo(0,0)}catch(e){}}function a(){clearTimeout(O),O=null,h.render(d.createElement("span",null),document.getElementById("error-message-content"))}function i(){u.get("DashboardCounters",function(e,t){D=t,g.emit("dashboard-counters",t)})}function o(){var e="2",t=function(){h.render(d.createElement("span",{id:"version"},"v.",e,d.createElement("i",{style:{marginLeft:"12px",marginRight:"5px"},className:"fa fa-github"}),d.createElement("a",{style:{color:"white",textDecoration:"underline"},href:"https://github.com/OrleansContrib/OrleansDashboard/"},"Source")),document.getElementById("version-content"))};u.get("version",function(n,r){e=r.version,t()})}function s(){h.render(d.createElement(x,null),m)}function l(e,t){h.render(e,m);var n=c();n.forEach(function(e){e.active=e.path===t}),h.render(d.createElement(C,{menu:n}),A)}function c(){var e=[{name:"Overview",path:"#/",icon:"fa-circle"},{name:"Grains",path:"#/grains",icon:"fa-circle"},{name:"Silos",path:"#/silos",icon:"fa-circle"},{name:"Reminders",path:"#/reminders",icon:"fa-circle"}];return window.hideTrace||e.push({name:"Log Stream",path:"#/trace",icon:"fa-file-text"}),e}var u=e("./lib/http"),d=e("react"),h=e("react-dom"),p=e("./lib/routie"),f=e("./silos/silo.jsx"),m=document.getElementById("content"),g=e("eventthing"),v=e("./components/theme-buttons.jsx"),b=e("./grains/grain.jsx"),y=e("./components/page.jsx"),x=e("./components/loading.jsx"),C=e("./components/menu.jsx"),w=e("./grains/grains.jsx"),_=e("./silos/silos.jsx"),k=e("./overview/overview.jsx"),E=e("./silos/silo-state-label.jsx"),S=e("./components/alert.jsx"),M=e("./logstream/log-stream.jsx"),T=e("./silos/silo-counters.jsx"),P=e("./reminders/reminders.jsx"),D={},R=0;h.render(d.createElement(v,null),document.getElementById("button-toggles-content"));var O;u.onError(function(e){h.render(d.createElement(S,{onClose:a},e),document.getElementById("error-message-content")),O&&clearTimeout(O),O=setTimeout(a,3e3)}),setInterval(i,1e3),i();var I=function(){},A=document.getElementById("menu");p("",function(){var e=++R;g.clearAll(),r(),s();var t={},n=[];I=function(){R==e&&l(d.createElement(y,{title:"Dashboard"},d.createElement(k,{dashboardCounters:D,clusterStats:t,grainMethodStats:n})),"#/")},g.on("dashboard-counters",I),g.on("refresh",function(e){u.get("ClusterStats",function(e,r){t=r,u.get("TopGrainMethods",function(e,t){n=t,I()})})}),o(),i()}),p("/grains",function(){var e=++R;g.clearAll(),r(),s(),I=function(){R==e&&l(d.createElement(y,{title:"Grains"},d.createElement(w,{dashboardCounters:D})),"#/grains")},g.on("dashboard-counters",I),g.on("refresh",I),i()}),p("/silos",function(){var e=++R;g.clearAll(),r(),s(),I=function(){R==e&&l(d.createElement(y,{title:"Silos"},d.createElement(_,{dashboardCounters:D})),"#/silos")},g.on("dashboard-counters",I),g.on("refresh",I),i()}),p("/host/:host",function(e){var t=++R;g.clearAll(),r(),s();var n={},a=[],i=[],o=function(t){u.get("HistoricalStats/"+e,function(e,t){a=t,h()}),u.get("SiloStats/"+e,function(e,t){i=t,h()})},c=function(){return a.length&&a[a.length-1]&&a[a.length-1].isOverloaded?d.createElement("small",null,d.createElement("span",{className:"label label-danger"},"OVERLOADED")):null},h=function(){if(R==t){var r=(D.hosts||[]).filter(function(t){return t.siloAddress===e})[0]||{},o=d.createElement("span",null,d.createElement(E,{status:r.status})," ",c());l(d.createElement(y,{title:"Silo "+e,subTitle:o},d.createElement(f,{silo:e,data:a,siloProperties:n,dashboardCounters:D,siloStats:i})),"#/silos")}};g.on("dashboard-counters",h),g.on("refresh",o),u.get("SiloProperties/"+e,function(e,t){n=t,o()})}),p("/host/:host/counters",function(e){var t=++R;g.clearAll(),r(),s(),u.get("SiloCounters/"+e,function(n,r){if(R==t){var a=d.createElement("a",{href:"#/host/"+e},"Silo Details");l(d.createElement(y,{title:"Silo "+e,subTitle:a},d.createElement(T,{silo:e,dashboardCounters:D,counters:r})),"#/silos")}})}),p("/grain/:grainType",function(e){var t=++R;g.clearAll(),r(),s();var n={},a=function(t){u.get("GrainStats/"+e,function(e,t){n=t,I()})};I=function(){R==t&&l(d.createElement(b,{grainType:e,dashboardCounters:D,grainStats:n}),"#/grains")},g.on("dashboard-counters",I),g.on("refresh",a),a()}),p("/reminders/:page?",function(e){var t=++R;g.clearAll(),r(),s();var n=[];e=e?parseInt(e):1;var a=function(){R==t&&l(d.createElement(y,{title:"Reminders"},d.createElement(P,{remindersData:n,page:e})),"#/reminders")},i=function(t){u.get("Reminders/"+e,function(e,t){n=t,a()})};g.on("long-refresh",i),i()}),p("/trace",function(){++R,g.clearAll(),r();var e=u.stream("Trace");l(d.createElement(M,{xhr:e}),"#/trace")}),setInterval(function(){return g.emit("refresh")},1e3),setInterval(function(){return g.emit("long-refresh")},1e4),p.reload()},{"./components/alert.jsx":1,"./components/loading.jsx":6,"./components/menu.jsx":7,"./components/page.jsx":9,"./components/theme-buttons.jsx":13,"./grains/grain.jsx":15,"./grains/grains.jsx":16,"./lib/http":19,"./lib/routie":20,"./logstream/log-stream.jsx":21,"./overview/overview.jsx":260,"./reminders/reminders.jsx":261,"./silos/silo-counters.jsx":263,"./silos/silo-state-label.jsx":265,"./silos/silo.jsx":266,"./silos/silos.jsx":267,eventthing:71,react:259,"react-dom":93}],19:[function(e,t,n){"use strict";function r(e,t,n,r){var i=new XMLHttpRequest;i.open(e,t,!0),i.onreadystatechange=function(){if(4===i.readyState){if(i.status<400&&i.status>0)return r(null,JSON.parse(i.responseText||"{}"));var e="Error connecting to Orleans Silo. Status code: "+(i.status||"NO_CONNECTION");a.forEach(function(t){return t(e)})}},i.setRequestHeader("Content-Type","application/json"),i.setRequestHeader("Accept","application/json"),i.send(n)}e("eventthing");t.exports.get=function(e,t){r("GET",e,null,t)},t.exports.stream=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!0),t.send(),t};var a=[];t.exports.onError=function(e){a.push(e)}},{eventthing:71}],20:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e,a){"object"===(void 0===n?"undefined":r(n))?t.exports=a(window):"function"==typeof define&&define.amd?define([],function(){return e.routie=a(window)}):e.routie=a(window)}(void 0,function(e){var t=[],n={},a=e.routie,i=function(e,t){this.name=t,this.path=e,this.keys=[],this.fns=[],this.params={},this.regex=o(this.path,this.keys,!1,!1)};i.prototype.addHandler=function(e){this.fns.push(e)},i.prototype.removeHandler=function(e){for(var t=0,n=this.fns.length;tn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,r=e,a=void 0===t?.5:t,i=2*a-1,o=n.alpha()-r.alpha(),s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,l=1-s;return this.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue()).alpha(n.alpha()*a+r.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new i,r=this.values,a=n.values;for(var o in r)r.hasOwnProperty(o)&&(e=r[o],"[object Array]"===(t={}.toString.call(e))?a[o]=e.slice(0):"[object Number]"===t?a[o]=e:console.error("unexpected color value:",e));return n}},i.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},i.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},i.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function u(e){var t,n,r,a=c(e),i=a[0],o=a[1],s=a[2];return i/=95.047,o/=100,s/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,t=116*o-16,n=500*(i-o),r=200*(o-s),[t,n,r]}function d(e){var t,n,r,a,i,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return i=255*l,[i,i,i];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var c=0;c<3;c++)(r=o+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,a[c]=255*i;return a}function h(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*i),l=255*r*(1-n*(1-i)),r=255*r;switch(a){case 0:return[r,l,o];case 1:return[s,r,o];case 2:return[o,r,l];case 3:return[o,s,r];case 4:return[l,o,r];case 5:return[r,o,s]}}function p(e){var t,n,a,i,o=e[0]/360,s=e[1]/100,l=e[2]/100,c=s+l;switch(c>1&&(s/=c,l/=c),t=Math.floor(6*o),n=1-l,a=6*o-t,0!=(1&t)&&(a=1-a),i=s+a*(n-s),t){default:case 6:case 0:r=n,g=i,b=s;break;case 1:r=i,g=n,b=s;break;case 2:r=s,g=n,b=i;break;case 3:r=s,g=i,b=n;break;case 4:r=i,g=s,b=n;break;case 5:r=n,g=s,b=i}return[255*r,255*g,255*b]}function f(e){var t,n,r,a=e[0]/100,i=e[1]/100,o=e[2]/100,s=e[3]/100;return t=1-Math.min(1,a*(1-s)+s),n=1-Math.min(1,i*(1-s)+s),r=1-Math.min(1,o*(1-s)+s),[255*t,255*n,255*r]}function m(e){var t,n,r,a=e[0]/100,i=e[1]/100,o=e[2]/100;return t=3.2406*a+-1.5372*i+-.4986*o,n=-.9689*a+1.8758*i+.0415*o,r=.0557*a+-.204*i+1.057*o,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]}function v(e){var t,n,r,a=e[0],i=e[1],o=e[2];return a/=95.047,i/=100,o/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,t=116*i-16,n=500*(a-i),r=200*(i-o),[t,n,r]}function y(e){var t,n,r,a,i=e[0],o=e[1],s=e[2];return i<=8?a=(n=100*i/903.3)/100*7.787+16/116:(n=100*Math.pow((i+16)/116,3),a=Math.pow(n/100,1/3)),t=t/95.047<=.008856?t=95.047*(o/500+a-16/116)/7.787:95.047*Math.pow(o/500+a,3),r=r/108.883<=.008859?r=108.883*(a-s/200-16/116)/7.787:108.883*Math.pow(a-s/200,3),[t,n,r]}function x(e){var t,n,r,a=e[0],i=e[1],o=e[2];return t=Math.atan2(o,i),(n=360*t/2/Math.PI)<0&&(n+=360),r=Math.sqrt(i*i+o*o),[a,r,n]}function C(e){return m(y(e))}function w(e){var t,n,r,a=e[0],i=e[1];return r=e[2]/360*2*Math.PI,t=i*Math.cos(r),n=i*Math.sin(r),[a,t,n]}function _(e){return k[e]}t.exports={rgb2hsl:a,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:c,rgb2lab:u,rgb2lch:function(e){return x(u(e))},hsl2rgb:d,hsl2hsv:function(e){var t,n,r=e[0],a=e[1]/100,i=e[2]/100;return 0===i?[0,0,0]:(i*=2,a*=i<=1?i:2-i,n=(i+a)/2,t=2*a/(i+a),[r,100*t,100*n])},hsl2hwb:function(e){return o(d(e))},hsl2cmyk:function(e){return s(d(e))},hsl2keyword:function(e){return l(d(e))},hsv2rgb:h,hsv2hsl:function(e){var t,n,r=e[0],a=e[1]/100,i=e[2]/100;return n=(2-a)*i,t=a*i,t/=n<=1?n:2-n,t=t||0,n/=2,[r,100*t,100*n]},hsv2hwb:function(e){return o(h(e))},hsv2cmyk:function(e){return s(h(e))},hsv2keyword:function(e){return l(h(e))},hwb2rgb:p,hwb2hsl:function(e){return a(p(e))},hwb2hsv:function(e){return i(p(e))},hwb2cmyk:function(e){return s(p(e))},hwb2keyword:function(e){return l(p(e))},cmyk2rgb:f,cmyk2hsl:function(e){return a(f(e))},cmyk2hsv:function(e){return i(f(e))},cmyk2hwb:function(e){return o(f(e))},cmyk2keyword:function(e){return l(f(e))},keyword2rgb:_,keyword2hsl:function(e){return a(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return o(_(e))},keyword2cmyk:function(e){return s(_(e))},keyword2lab:function(e){return u(_(e))},keyword2xyz:function(e){return c(_(e))},xyz2rgb:m,xyz2lab:v,xyz2lch:function(e){return x(v(e))},lab2xyz:y,lab2rgb:C,lab2lch:x,lch2lab:w,lch2xyz:function(e){return y(w(e))},lch2rgb:function(e){return C(w(e))}};var k={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},E={};for(var S in k)E[JSON.stringify(k[S])]=S},{}],25:[function(e,t,n){var r=e("./conversions"),a=function(){return new c};for(var i in r){a[i+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(i);var o=/(\w+)2(\w+)/.exec(i),s=o[1],l=o[2];(a[s]=a[s]||{})[l]=a[i]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var a=0;a0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}function N(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(Bt[e]=a),t&&(Bt[t[0]]=function(){return A(a.apply(this,arguments),t[1],t[2])}),n&&(Bt[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function F(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function j(e){var t,n,r=e.match(Vt);for(t=0,n=r.length;t=0&&Ut.test(e);)e=e.replace(Ut,function(e){return t.longDateFormat(e)||e}),Ut.lastIndex=0,n-=1;return e}function U(e,t,n){sn[e]=S(t)?t:function(e,r){return e&&n?n:t}}function W(e,t){return u(sn,e)?sn[e](t._strict,t._locale):new RegExp(B(e))}function B(e){return H(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a}))}function H(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function z(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=C(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ie(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function oe(e,t,n){var r=7+t-n;return-(7+ie(e,0,r).getUTCDay()-t)%7+r-1}function se(e,t,n,r,a){var i,o,s=1+7*(t-1)+(7+n-r)%7+oe(e,r,a);return s<=0?o=G(i=e-1)+s:s>G(e)?(i=e+1,o=s-G(e)):(i=e,o=s),{year:i,dayOfYear:o}}function le(e,t,n){var r,a,i=oe(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?r=o+ce(a=e.year()-1,t,n):o>ce(e.year(),t,n)?(r=o-ce(e.year(),t,n),a=e.year()+1):(a=e.year(),r=o),{week:r,year:a}}function ce(e,t,n){var r=oe(e,t,n),a=oe(e+1,t,n);return(G(e)-r+a)/7}function ue(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function de(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function he(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=bn.call(this._weekdaysParse,o))?a:null:"ddd"===t?-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:null:"dddd"===t?-1!==(a=bn.call(this._weekdaysParse,o))?a:-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:null:"ddd"===t?-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:-1!==(a=bn.call(this._weekdaysParse,o))?a:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:null:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:-1!==(a=bn.call(this._weekdaysParse,o))?a:-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:null}function pe(){function e(e,t){return t.length-e.length}var t,n,r,a,i,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),i=this.weekdays(n,""),o.push(r),s.push(a),l.push(i),c.push(r),c.push(a),c.push(i);for(o.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=H(s[t]),l[t]=H(l[t]),c[t]=H(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("^("+o.join("|")+")","i")}function fe(){return this.hours()%12||12}function me(e,t){N(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ge(e,t){return t._meridiemParse}function ve(e){return e?e.toLowerCase().replace("_","-"):e}function be(e){for(var t,n,r,a,i=0;i0;){if(r=ye(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(a,n,!0)>=t-1)break;t--}i++}return null}function ye(n){var r=null;if(!Fn[n]&&void 0!==t&&t&&t.exports)try{r=On._abbr,e("./locale/"+n),xe(r)}catch(n){}return Fn[n]}function xe(e,t){var n;return e&&(n=o(t)?we(e):Ce(e,t))&&(On=n),On._abbr}function Ce(e,t){if(null!==t){var n=Nn;if(t.abbr=e,null!=Fn[e])E("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."),n=Fn[e]._config;else if(null!=t.parentLocale){if(null==Fn[t.parentLocale])return jn[t.parentLocale]||(jn[t.parentLocale]=[]),jn[t.parentLocale].push({name:e,config:t}),null;n=Fn[t.parentLocale]._config}return Fn[e]=new T(M(n,t)),jn[e]&&jn[e].forEach(function(e){Ce(e.name,e.config)}),xe(e),Fn[e]}return delete Fn[e],null}function we(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return On;if(!r(e)){if(t=ye(e))return t;e=[e]}return be(e)}function _e(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[un]<0||n[un]>11?un:n[dn]<1||n[dn]>$(n[cn],n[un])?dn:n[hn]<0||n[hn]>24||24===n[hn]&&(0!==n[pn]||0!==n[fn]||0!==n[mn])?hn:n[pn]<0||n[pn]>59?pn:n[fn]<0||n[fn]>59?fn:n[mn]<0||n[mn]>999?mn:-1,f(e)._overflowDayOfYear&&(tdn)&&(t=dn),f(e)._overflowWeeks&&-1===t&&(t=gn),f(e)._overflowWeekday&&-1===t&&(t=vn),f(e).overflow=t),e}function ke(e,t,n){return null!=e?e:null!=t?t:n}function Ee(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Se(e){var t,n,r,a,i=[];if(!e._d){for(r=Ee(e),e._w&&null==e._a[dn]&&null==e._a[un]&&Me(e),null!=e._dayOfYear&&(a=ke(e._a[cn],r[cn]),(e._dayOfYear>G(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=ie(a,0,e._dayOfYear),e._a[un]=n.getUTCMonth(),e._a[dn]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[hn]&&0===e._a[pn]&&0===e._a[fn]&&0===e._a[mn]&&(e._nextDay=!0,e._a[hn]=0),e._d=(e._useUTC?ie:ae).apply(null,i),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[hn]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(f(e).weekdayMismatch=!0)}}function Me(e){var t,n,r,a,i,o,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,o=4,n=ke(t.GG,e._a[cn],le(ze(),1,4).year),r=ke(t.W,1),((a=ke(t.E,1))<1||a>7)&&(l=!0);else{i=e._locale._week.dow,o=e._locale._week.doy;var c=le(ze(),i,o);n=ke(t.gg,e._a[cn],c.year),r=ke(t.w,c.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+i,(t.e<0||t.e>6)&&(l=!0)):a=i}r<1||r>ce(n,i,o)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(s=se(n,r,a,i,o),e._a[cn]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){var t,n,r,a,i,o,s=e._i,l=Ln.exec(s)||Vn.exec(s);if(l){for(f(e).iso=!0,t=0,n=Wn.length;t0&&f(e).unusedInput.push(o),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Bt[i]?(r?f(e).empty=!1:f(e).unusedTokens.push(i),q(i,r,e)):e._strict&&!r&&f(e).unusedTokens.push(i);f(e).charsLeftOver=l-c,s.length>0&&f(e).unusedInput.push(s),e._a[hn]<=12&&!0===f(e).bigHour&&e._a[hn]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[hn]=je(e._locale,e._a[hn],e._meridiem),Se(e),_e(e)}else Ae(e);else Te(e)}function je(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Le(e){var t,n,r,a,i;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;ai&&(t=i),ht.call(this,e,t,n,r,a))}function ht(e,t,n,r,a){var i=se(e,t,n,r,a),o=ie(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function pt(e){return e}function ft(e,t,n,r){var a=we(),i=h().set(r,t);return a[n](i,e)}function mt(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return ft(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=ft(e,r,n,"month");return a}function gt(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var a=we(),i=e?a._week.dow:0;if(null!=n)return ft(t,(n+i)%7,r,"day");var o,l=[];for(o=0;o<7;o++)l[o]=ft(t,(o+i)%7,r,"day");return l}function vt(e,t,n,r){var a=tt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function bt(e){return e<0?Math.floor(e):Math.ceil(e)}function yt(e){return 4800*e/146097}function xt(e){return 146097*e/4800}function Ct(e){return function(){return this.as(e)}}function wt(e){return function(){return this.isValid()?this._data[e]:NaN}}function _t(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function kt(e,t,n){var r=tt(e).abs(),a=kr(r.as("s")),i=kr(r.as("m")),o=kr(r.as("h")),s=kr(r.as("d")),l=kr(r.as("M")),c=kr(r.as("y")),u=a<=Er.ss&&["s",a]||a0,u[4]=n,_t.apply(null,u)}function Et(e){return(e>0)-(e<0)||+e}function St(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Sr(this._milliseconds)/1e3,a=Sr(this._days),i=Sr(this._months);t=x((e=x(r/60))/60),r%=60,e%=60;var o=n=x(i/12),s=i%=12,l=a,c=t,u=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var p=h<0?"-":"",f=Et(this._months)!==Et(h)?"-":"",m=Et(this._days)!==Et(h)?"-":"",g=Et(this._milliseconds)!==Et(h)?"-":"";return p+"P"+(o?f+o+"Y":"")+(s?f+s+"M":"")+(l?m+l+"D":"")+(c||u||d?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(d?g+d+"S":"")}var Mt,Tt;Tt=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var bn,yn=Z("FullYear",!0);bn=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;tthis?this:e:g()}),Kn=["year","quarter","month","week","day","hour","minute","second","millisecond"];Qe("Z",":"),Qe("ZZ",""),U("Z",rn),U("ZZ",rn),z(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Xe(rn,e)});var Zn=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Qn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Xn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;tt.fn=Ge.prototype,tt.invalid=function(){return tt(NaN)};var Jn=it(1,"add"),$n=it(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var er=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ut("gggg","weekYear"),ut("ggggg","weekYear"),ut("GGGG","isoWeekYear"),ut("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),O("weekYear",1),O("isoWeekYear",1),U("G",tn),U("g",tn),U("GG",Kt,zt),U("gg",Kt,zt),U("GGGG",Jt,qt),U("gggg",Jt,qt),U("GGGGG",$t,Gt),U("ggggg",$t,Gt),Y(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=C(e)}),Y(["gg","GG"],function(e,t,r,a){t[a]=n.parseTwoDigitYear(e)}),N("Q",0,"Qo","quarter"),P("quarter","Q"),O("quarter",7),U("Q",Ht),z("Q",function(e,t){t[un]=3*(C(e)-1)}),N("D",["DD",2],"Do","date"),P("date","D"),O("date",9),U("D",Kt),U("DD",Kt,zt),U("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),z(["D","DD"],dn),z("Do",function(e,t){t[dn]=C(e.match(Kt)[0],10)});var tr=Z("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),O("dayOfYear",4),U("DDD",Xt),U("DDDD",Yt),z(["DDD","DDDD"],function(e,t,n){n._dayOfYear=C(e)}),N("m",["mm",2],0,"minute"),P("minute","m"),O("minute",14),U("m",Kt),U("mm",Kt,zt),z(["m","mm"],pn);var nr=Z("Minutes",!1);N("s",["ss",2],0,"second"),P("second","s"),O("second",15),U("s",Kt),U("ss",Kt,zt),z(["s","ss"],fn);var rr=Z("Seconds",!1);N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),O("millisecond",16),U("S",Xt,Ht),U("SS",Xt,zt),U("SSS",Xt,Yt);var ar;for(ar="SSSS";ar.length<=9;ar+="S")U(ar,en);for(ar="S";ar.length<=9;ar+="S")z(ar,function(e,t){t[mn]=C(1e3*("0."+e))});var ir=Z("Milliseconds",!1);N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var or=b.prototype;or.add=Jn,or.calendar=function(e,t){var r=e||ze(),a=Je(r,this).startOf("day"),i=n.calendarFormat(this,a)||"sameElse",o=t&&(S(t[i])?t[i].call(this,r):t[i]);return this.format(o||this.localeData().calendar(i,this,ze(r)))},or.clone=function(){return new b(this)},or.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Je(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=D(t)){case"year":i=st(this,r)/12;break;case"month":i=st(this,r);break;case"quarter":i=st(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:x(i)},or.endOf=function(e){return void 0===(e=D(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},or.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=L(this,e);return this.localeData().postformat(t)},or.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||ze(e).isValid())?tt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},or.fromNow=function(e){return this.from(ze(),e)},or.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||ze(e).isValid())?tt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},or.toNow=function(e){return this.to(ze(),e)},or.get=function(e){return e=D(e),S(this[e])?this[e]():this},or.invalidAt=function(){return f(this).overflow},or.isAfter=function(e,t){var n=y(e)?e:ze(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(o(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()9999?L(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):S(Date.prototype.toISOString)?this.toDate().toISOString():L(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},or.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+a)},or.toJSON=function(){return this.isValid()?this.toISOString():null},or.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},or.unix=function(){return Math.floor(this.valueOf()/1e3)},or.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},or.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},or.year=yn,or.isLeapYear=function(){return K(this.year())},or.weekYear=function(e){return dt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},or.isoWeekYear=function(e){return dt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},or.quarter=or.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},or.month=ne,or.daysInMonth=function(){return $(this.year(),this.month())},or.week=or.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},or.isoWeek=or.isoWeeks=function(e){var t=le(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},or.weeksInYear=function(){var e=this.localeData()._week;return ce(this.year(),e.dow,e.doy)},or.isoWeeksInYear=function(){return ce(this.year(),1,4)},or.date=tr,or.day=or.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=ue(e,this.localeData()),this.add(e-t,"d")):t},or.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},or.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=de(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},or.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},or.hour=or.hours=An,or.minute=or.minutes=nr,or.second=or.seconds=rr,or.millisecond=or.milliseconds=ir,or.utcOffset=function(e,t,r){var a,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Xe(rn,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(a=$e(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),i!==e&&(!t||this._changeInProgress?ot(this,tt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:$e(this)},or.utc=function(e){return this.utcOffset(0,e)},or.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract($e(this),"m")),this},or.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Xe(nn,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},or.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ze(e).utcOffset():0,(this.utcOffset()-e)%60==0)},or.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},or.isLocal=function(){return!!this.isValid()&&!this._isUTC},or.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},or.isUtc=et,or.isUTC=et,or.zoneAbbr=function(){return this._isUTC?"UTC":""},or.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},or.dates=k("dates accessor is deprecated. Use date instead.",tr),or.months=k("months accessor is deprecated. Use month instead",ne),or.years=k("years accessor is deprecated. Use year instead",yn),or.zone=k("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()}),or.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),(e=We(e))._a){var t=e._isUTC?h(e._a):ze(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var sr=T.prototype;sr.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return S(r)?r.call(t,n):r},sr.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},sr.invalidDate=function(){return this._invalidDate},sr.ordinal=function(e){return this._ordinal.replace("%d",e)},sr.preparse=pt,sr.postformat=pt,sr.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return S(a)?a(e,t,n,r):a.replace(/%d/i,e)},sr.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)},sr.set=function(e){var t,n;for(n in e)S(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},sr.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xn).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},sr.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xn.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},sr.monthsParse=function(e,t,n){var r,a,i;if(this._monthsParseExact)return ee.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},sr.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=kn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},sr.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=_n),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},sr.week=function(e){return le(e,this._week.dow,this._week.doy).week},sr.firstDayOfYear=function(){return this._week.doy},sr.firstDayOfWeek=function(){return this._week.dow},sr.weekdays=function(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone},sr.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},sr.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},sr.weekdaysParse=function(e,t,n){var r,a,i;if(this._weekdaysParseExact)return he.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},sr.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||pe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Pn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},sr.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||pe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Dn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},sr.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||pe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},sr.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},sr.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},xe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===C(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=k("moment.lang is deprecated. Use moment.locale instead.",xe),n.langData=k("moment.langData is deprecated. Use moment.localeData instead.",we);var lr=Math.abs,cr=Ct("ms"),ur=Ct("s"),dr=Ct("m"),hr=Ct("h"),pr=Ct("d"),fr=Ct("w"),mr=Ct("M"),gr=Ct("y"),vr=wt("milliseconds"),br=wt("seconds"),yr=wt("minutes"),xr=wt("hours"),Cr=wt("days"),wr=wt("months"),_r=wt("years"),kr=Math.round,Er={ss:44,s:45,m:45,h:22,d:26,M:11},Sr=Math.abs,Mr=Ge.prototype;return Mr.isValid=function(){return this._isValid},Mr.abs=function(){var e=this._data;return this._milliseconds=lr(this._milliseconds),this._days=lr(this._days),this._months=lr(this._months),e.milliseconds=lr(e.milliseconds),e.seconds=lr(e.seconds),e.minutes=lr(e.minutes),e.hours=lr(e.hours),e.months=lr(e.months),e.years=lr(e.years),this},Mr.add=function(e,t){return vt(this,e,t,1)},Mr.subtract=function(e,t){return vt(this,e,t,-1)},Mr.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=D(e))||"year"===e)return t=this._days+r/864e5,n=this._months+yt(t),"month"===e?n:n/12;switch(t=this._days+Math.round(xt(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Mr.asMilliseconds=cr,Mr.asSeconds=ur,Mr.asMinutes=dr,Mr.asHours=hr,Mr.asDays=pr,Mr.asWeeks=fr,Mr.asMonths=mr,Mr.asYears=gr,Mr.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12):NaN},Mr._bubble=function(){var e,t,n,r,a,i=this._milliseconds,o=this._days,s=this._months,l=this._data;return i>=0&&o>=0&&s>=0||i<=0&&o<=0&&s<=0||(i+=864e5*bt(xt(s)+o),o=0,s=0),l.milliseconds=i%1e3,e=x(i/1e3),l.seconds=e%60,t=x(e/60),l.minutes=t%60,n=x(t/60),l.hours=n%24,o+=x(n/24),a=x(yt(o)),s+=a,o-=bt(xt(a)),r=x(s/12),s%=12,l.days=o,l.months=s,l.years=r,this},Mr.clone=function(){return tt(this)},Mr.get=function(e){return e=D(e),this.isValid()?this[e+"s"]():NaN},Mr.milliseconds=vr,Mr.seconds=br,Mr.minutes=yr,Mr.hours=xr,Mr.days=Cr,Mr.weeks=function(){return x(this.days()/7)},Mr.months=wr,Mr.years=_r,Mr.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=kt(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Mr.toISOString=St,Mr.toString=St,Mr.toJSON=St,Mr.locale=lt,Mr.localeData=ct,Mr.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",St),Mr.lang=er,N("X",0,0,"unix"),N("x",0,0,"valueOf"),U("x",tn),U("X",an),z("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),z("x",function(e,t,n){n._d=new Date(C(e))}),n.version="2.19.2",Mt=ze,n.fn=or,n.min=function(){return Ye("isBefore",[].slice.call(arguments,0))},n.max=function(){return Ye("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(e){return ze(1e3*e)},n.months=function(e,t){return mt(e,t,"months")},n.isDate=l,n.locale=xe,n.invalid=g,n.duration=tt,n.isMoment=y,n.weekdays=function(e,t,n){return gt(e,t,n,"weekdays")},n.parseZone=function(){return ze.apply(null,arguments).parseZone()},n.localeData=we,n.isDuration=Ke,n.monthsShort=function(e,t){return mt(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return gt(e,t,n,"weekdaysMin")},n.defineLocale=Ce,n.updateLocale=function(e,t){if(null!=t){var n,r,a=Nn;null!=(r=ye(e))&&(a=r._config),(n=new T(t=M(a,t))).parentLocale=Fn[e],Fn[e]=n,xe(e)}else null!=Fn[e]&&(null!=Fn[e].parentLocale?Fn[e]=Fn[e].parentLocale:null!=Fn[e]&&delete Fn[e]);return Fn[e]},n.locales=function(){return Ot(Fn)},n.weekdaysShort=function(e,t,n){return gt(e,t,n,"weekdaysShort")},n.normalizeUnits=D,n.relativeTimeRounding=function(e){return void 0===e?kr:"function"==typeof e&&(kr=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Er[e]&&(void 0===t?Er[e]:(Er[e]=t,"s"===e&&(Er.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=or,n})},{}],28:[function(e,t,n){var r=e("./core/core.js")();e("./core/core.helpers")(r),e("./core/core.canvasHelpers")(r),e("./core/core.element")(r),e("./core/core.animation")(r),e("./core/core.controller")(r),e("./core/core.datasetController")(r),e("./core/core.layoutService")(r),e("./core/core.scaleService")(r),e("./core/core.plugin.js")(r),e("./core/core.scale")(r),e("./core/core.title")(r),e("./core/core.legend")(r),e("./core/core.tooltip")(r),e("./elements/element.arc")(r),e("./elements/element.line")(r),e("./elements/element.point")(r),e("./elements/element.rectangle")(r),e("./scales/scale.linearbase.js")(r),e("./scales/scale.category")(r),e("./scales/scale.linear")(r),e("./scales/scale.logarithmic")(r),e("./scales/scale.radialLinear")(r),e("./scales/scale.time")(r),e("./controllers/controller.bar")(r),e("./controllers/controller.bubble")(r),e("./controllers/controller.doughnut")(r),e("./controllers/controller.line")(r),e("./controllers/controller.polarArea")(r),e("./controllers/controller.radar")(r),e("./charts/Chart.Bar")(r),e("./charts/Chart.Bubble")(r),e("./charts/Chart.Doughnut")(r),e("./charts/Chart.Line")(r),e("./charts/Chart.PolarArea")(r),e("./charts/Chart.Radar")(r),e("./charts/Chart.Scatter")(r),window.Chart=t.exports=r},{"./charts/Chart.Bar":29,"./charts/Chart.Bubble":30,"./charts/Chart.Doughnut":31,"./charts/Chart.Line":32,"./charts/Chart.PolarArea":33,"./charts/Chart.Radar":34,"./charts/Chart.Scatter":35,"./controllers/controller.bar":36,"./controllers/controller.bubble":37,"./controllers/controller.doughnut":38,"./controllers/controller.line":39,"./controllers/controller.polarArea":40,"./controllers/controller.radar":41,"./core/core.animation":42,"./core/core.canvasHelpers":43,"./core/core.controller":44,"./core/core.datasetController":45,"./core/core.element":46,"./core/core.helpers":47,"./core/core.js":48,"./core/core.layoutService":49,"./core/core.legend":50,"./core/core.plugin.js":51,"./core/core.scale":52,"./core/core.scaleService":53,"./core/core.title":54,"./core/core.tooltip":55,"./elements/element.arc":56,"./elements/element.line":57,"./elements/element.point":58,"./elements/element.rectangle":59,"./scales/scale.category":60,"./scales/scale.linear":61,"./scales/scale.linearbase.js":62,"./scales/scale.logarithmic":63,"./scales/scale.radialLinear":64,"./scales/scale.time":65}],29:[function(e,t,n){"use strict";t.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},{}],30:[function(e,t,n){"use strict";t.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},{}],31:[function(e,t,n){"use strict";t.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},{}],32:[function(e,t,n){"use strict";t.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},{}],33:[function(e,t,n){"use strict";t.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},{}],34:[function(e,t,n){"use strict";t.exports=function(e){e.Radar=function(t,n){return n.options=e.helpers.configMerge({aspectRatio:1},n.options),n.type="radar",new e(t,n)}}},{}],35:[function(e,t,n){"use strict";t.exports=function(e){var t={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-1"}],yAxes:[{type:"linear",position:"left",id:"y-axis-1"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}};e.defaults.scatter=t,e.controllers.scatter=e.controllers.line,e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},{}],36:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},e.controllers.bar=e.DatasetController.extend({dataElementType:e.elements.Rectangle,initialize:function(t,n){e.DatasetController.prototype.initialize.call(this,t,n),this.getMeta().bar=!0},getBarCount:function(){var e=this,n=0;return t.each(e.chart.data.datasets,function(t,r){e.chart.getDatasetMeta(r).bar&&e.chart.isDatasetVisible(r)&&++n},e),n},update:function(e){var n=this;t.each(n.getMeta().data,function(t,r){n.updateElement(t,r,e)},n)},updateElement:function(e,n,r){var a=this,i=a.getMeta(),o=a.getScaleForId(i.xAxisID),s=a.getScaleForId(i.yAxisID),l=s.getBasePixel(),c=a.chart.options.elements.rectangle,u=e.custom||{},d=a.getDataset();t.extend(e,{_xScale:o,_yScale:s,_datasetIndex:a.index,_index:n,_model:{x:a.calculateBarX(n,a.index),y:r?l:a.calculateBarY(n,a.index),label:a.chart.data.labels[n],datasetLabel:d.label,base:r?l:a.calculateBarBase(a.index,n),width:a.calculateBarWidth(n),backgroundColor:u.backgroundColor?u.backgroundColor:t.getValueAtIndexOrDefault(d.backgroundColor,n,c.backgroundColor),borderSkipped:u.borderSkipped?u.borderSkipped:c.borderSkipped,borderColor:u.borderColor?u.borderColor:t.getValueAtIndexOrDefault(d.borderColor,n,c.borderColor),borderWidth:u.borderWidth?u.borderWidth:t.getValueAtIndexOrDefault(d.borderWidth,n,c.borderWidth)}}),e.pivot()},calculateBarBase:function(e,t){var n=this,r=n.getMeta(),a=n.getScaleForId(r.yAxisID),i=0;if(a.options.stacked){for(var o=n.chart,s=o.data.datasets,l=Number(s[e].data[t]),c=0;c0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index=n.y-n.height/2&&t<=n.y+n.height/2&&e>=n.x&&e<=n.base:t>=n.y-n.height/2&&t<=n.y+n.height/2&&e>=n.base&&e<=n.x),r}}),e.pivot()},calculateBarBase:function(e,t){var n=this,r=n.getMeta(),a=n.getScaleForId(r.xAxisID),i=0;if(a.options.stacked){for(var o=n.chart,s=o.data.datasets,l=Number(s[e].data[t]),c=0;c');var n=e.data,r=n.datasets,a=n.labels;if(r.length)for(var i=0;i'),a[i]&&t.push(a[i]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,a){var i=e.getDatasetMeta(0),o=n.datasets[0],s=i.data[a],l=s&&s.custom||{},c=t.getValueAtIndexOrDefault,u=e.options.elements.arc;return{text:r,fillStyle:l.backgroundColor?l.backgroundColor:c(o.backgroundColor,a,u.backgroundColor),strokeStyle:l.borderColor?l.borderColor:c(o.borderColor,a,u.borderColor),lineWidth:l.borderWidth?l.borderWidth:c(o.borderWidth,a,u.borderWidth),hidden:isNaN(o.data[a])||i.data[a].hidden,index:a}}):[]}},onClick:function(e,t){var n,r,a,i=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n=Math.PI?-1:f<-Math.PI?1:0))+p,g={x:Math.cos(f),y:Math.sin(f)},v={x:Math.cos(m),y:Math.sin(m)},b=f<=0&&0<=m||f<=2*Math.PI&&2*Math.PI<=m,y=f<=.5*Math.PI&&.5*Math.PI<=m||f<=2.5*Math.PI&&2.5*Math.PI<=m,x=f<=-Math.PI&&-Math.PI<=m||f<=Math.PI&&Math.PI<=m,C=f<=.5*-Math.PI&&.5*-Math.PI<=m||f<=1.5*Math.PI&&1.5*Math.PI<=m,w=h/100,_={x:x?-1:Math.min(g.x*(g.x<0?1:w),v.x*(v.x<0?1:w)),y:C?-1:Math.min(g.y*(g.y<0?1:w),v.y*(v.y<0?1:w))},k={x:b?1:Math.max(g.x*(g.x>0?1:w),v.x*(v.x>0?1:w)),y:y?1:Math.max(g.y*(g.y>0?1:w),v.y*(v.y>0?1:w))},E={width:.5*(k.x-_.x),height:.5*(k.y-_.y)};c=Math.min(s/E.width,l/E.height),u={x:-.5*(k.x+_.x),y:-.5*(k.y+_.y)}}r.borderWidth=n.getMaxBorderWidth(d.data),r.outerRadius=Math.max((c-r.borderWidth)/2,0),r.innerRadius=Math.max(h?r.outerRadius/100*h:1,0),r.radiusLength=(r.outerRadius-r.innerRadius)/r.getVisibleDatasetCount(),r.offsetX=u.x*r.outerRadius,r.offsetY=u.y*r.outerRadius,d.total=n.calculateTotal(),n.outerRadius=r.outerRadius-r.radiusLength*n.getRingIndex(n.index),n.innerRadius=n.outerRadius-r.radiusLength,t.each(d.data,function(t,r){n.updateElement(t,r,e)})},updateElement:function(e,n,r){var a=this,i=a.chart,o=i.chartArea,s=i.options,l=s.animation,c=(o.left+o.right)/2,u=(o.top+o.bottom)/2,d=s.rotation,h=s.rotation,p=a.getDataset(),f=r&&l.animateRotate?0:e.hidden?0:a.calculateCircumference(p.data[n])*(s.circumference/(2*Math.PI)),m=r&&l.animateScale?0:a.innerRadius,g=r&&l.animateScale?0:a.outerRadius,v=t.getValueAtIndexOrDefault;t.extend(e,{_datasetIndex:a.index,_index:n,_model:{x:c+i.offsetX,y:u+i.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:g,innerRadius:m,label:v(p.label,n,i.data.labels[n])}});var b=e._model;this.removeHoverStyle(e),r&&l.animateRotate||(b.startAngle=0===n?s.rotation:a.getMeta().data[n-1]._model.endAngle,b.endAngle=b.startAngle+b.circumference),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var e,n=this.getDataset(),r=this.getMeta(),a=0;return t.each(r.data,function(t,r){e=n.data[r],isNaN(e)||t.hidden||(a+=Math.abs(e))}),a},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?2*Math.PI*(e/t):0},getMaxBorderWidth:function(e){for(var t,n,r=0,a=this.index,i=e.length,o=0;o(r=t>r?t:r)?n:r;return r}})}},{}],39:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return n.getValueOrDefault(e.showLine,t.showLines)}var n=e.helpers;e.defaults.line={showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},e.controllers.line=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,addElementAndReset:function(n){var r=this,a=r.chart.options,i=r.getMeta();e.DatasetController.prototype.addElementAndReset.call(r,n),t(r.getDataset(),a)&&0!==i.dataset._model.tension&&r.updateBezierControlPoints()},update:function(e){var r,a,i,o=this,s=o.getMeta(),l=s.dataset,c=s.data||[],u=o.chart.options,d=u.elements.line,h=o.getScaleForId(s.yAxisID),p=o.getDataset(),f=t(p,u);for(f&&(i=l.custom||{},void 0!==p.tension&&void 0===p.lineTension&&(p.lineTension=p.tension),l._scale=h,l._datasetIndex=o.index,l._children=c,l._model={spanGaps:p.spanGaps?p.spanGaps:u.spanGaps,tension:i.tension?i.tension:n.getValueOrDefault(p.lineTension,d.tension),backgroundColor:i.backgroundColor?i.backgroundColor:p.backgroundColor||d.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:p.borderWidth||d.borderWidth,borderColor:i.borderColor?i.borderColor:p.borderColor||d.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:p.borderCapStyle||d.borderCapStyle,borderDash:i.borderDash?i.borderDash:p.borderDash||d.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:p.borderDashOffset||d.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:p.borderJoinStyle||d.borderJoinStyle,fill:i.fill?i.fill:void 0!==p.fill?p.fill:d.fill,steppedLine:i.steppedLine?i.steppedLine:n.getValueOrDefault(p.steppedLine,d.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:n.getValueOrDefault(p.cubicInterpolationMode,d.cubicInterpolationMode),scaleTop:h.top,scaleBottom:h.bottom,scaleZero:h.getBasePixel()},l.pivot()),r=0,a=c.length;r');var n=e.data,r=n.datasets,a=n.labels;if(r.length)for(var i=0;i'),a[i]&&t.push(a[i]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,a){var i=e.getDatasetMeta(0),o=n.datasets[0],s=i.data[a].custom||{},l=t.getValueAtIndexOrDefault,c=e.options.elements.arc;return{text:r,fillStyle:s.backgroundColor?s.backgroundColor:l(o.backgroundColor,a,c.backgroundColor),strokeStyle:s.borderColor?s.borderColor:l(o.borderColor,a,c.borderColor),lineWidth:s.borderWidth?s.borderWidth:l(o.borderWidth,a,c.borderWidth),hidden:isNaN(o.data[a])||i.data[a].hidden,index:a}}):[]}},onClick:function(e,t){var n,r,a,i=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n0&&!isNaN(e)?2*Math.PI/t:0}})}},{}],41:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.radar={scale:{type:"radialLinear"},elements:{line:{tension:0}}},e.controllers.radar=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,linkScales:t.noop,addElementAndReset:function(t){e.DatasetController.prototype.addElementAndReset.call(this,t),this.updateBezierControlPoints()},update:function(e){var n=this,r=n.getMeta(),a=r.dataset,i=r.data,o=a.custom||{},s=n.getDataset(),l=n.chart.options.elements.line,c=n.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),t.extend(r.dataset,{_datasetIndex:n.index,_children:i,_loop:!0,_model:{tension:o.tension?o.tension:t.getValueOrDefault(s.lineTension,l.tension),backgroundColor:o.backgroundColor?o.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:s.borderWidth||l.borderWidth,borderColor:o.borderColor?o.borderColor:s.borderColor||l.borderColor,fill:o.fill?o.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:o.borderCapStyle?o.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:o.borderDash?o.borderDash:s.borderDash||l.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle,scaleTop:c.top,scaleBottom:c.bottom,scaleZero:c.getBasePosition()}}),r.dataset.pivot(),t.each(i,function(t,r){n.updateElement(t,r,e)},n),n.updateBezierControlPoints()},updateElement:function(e,n,r){var a=this,i=e.custom||{},o=a.getDataset(),s=a.chart.scale,l=a.chart.options.elements.point,c=s.getPointPositionForValue(n,o.data[n]);t.extend(e,{_datasetIndex:a.index,_index:n,_scale:s,_model:{x:r?s.xCenter:c.x,y:r?s.yCenter:c.y,tension:i.tension?i.tension:t.getValueOrDefault(o.tension,a.chart.options.elements.line.tension),radius:i.radius?i.radius:t.getValueAtIndexOrDefault(o.pointRadius,n,l.radius),backgroundColor:i.backgroundColor?i.backgroundColor:t.getValueAtIndexOrDefault(o.pointBackgroundColor,n,l.backgroundColor),borderColor:i.borderColor?i.borderColor:t.getValueAtIndexOrDefault(o.pointBorderColor,n,l.borderColor),borderWidth:i.borderWidth?i.borderWidth:t.getValueAtIndexOrDefault(o.pointBorderWidth,n,l.borderWidth),pointStyle:i.pointStyle?i.pointStyle:t.getValueAtIndexOrDefault(o.pointStyle,n,l.pointStyle),hitRadius:i.hitRadius?i.hitRadius:t.getValueAtIndexOrDefault(o.hitRadius,n,l.hitRadius)}}),e._model.skip=i.skip?i.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var e=this.chart.chartArea,n=this.getMeta();t.each(n.data,function(r,a){var i=r._model,o=t.splineCurve(t.previousItem(n.data,a,!0)._model,i,t.nextItem(n.data,a,!0)._model,i.tension);i.controlPointPreviousX=Math.max(Math.min(o.previous.x,e.right),e.left),i.controlPointPreviousY=Math.max(Math.min(o.previous.y,e.bottom),e.top),i.controlPointNextX=Math.max(Math.min(o.next.x,e.right),e.left),i.controlPointNextY=Math.max(Math.min(o.next.y,e.bottom),e.top),r.pivot()})},draw:function(e){var n=this.getMeta(),r=e||1;t.each(n.data,function(e){e.transition(r)}),n.dataset.transition(r).draw(),t.each(n.data,function(e){e.draw()})},setHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],r=e.custom||{},a=e._index,i=e._model;i.radius=r.hoverRadius?r.hoverRadius:t.getValueAtIndexOrDefault(n.pointHoverRadius,a,this.chart.options.elements.point.hoverRadius),i.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:t.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,a,t.getHoverColor(i.backgroundColor)),i.borderColor=r.hoverBorderColor?r.hoverBorderColor:t.getValueAtIndexOrDefault(n.pointHoverBorderColor,a,t.getHoverColor(i.borderColor)),i.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:t.getValueAtIndexOrDefault(n.pointHoverBorderWidth,a,i.borderWidth)},removeHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],r=e.custom||{},a=e._index,i=e._model,o=this.chart.options.elements.point;i.radius=r.radius?r.radius:t.getValueAtIndexOrDefault(n.radius,a,o.radius),i.backgroundColor=r.backgroundColor?r.backgroundColor:t.getValueAtIndexOrDefault(n.pointBackgroundColor,a,o.backgroundColor),i.borderColor=r.borderColor?r.borderColor:t.getValueAtIndexOrDefault(n.pointBorderColor,a,o.borderColor),i.borderWidth=r.borderWidth?r.borderWidth:t.getValueAtIndexOrDefault(n.pointBorderWidth,a,o.borderWidth)}})}},{}],42:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:t.noop,onComplete:t.noop},e.Animation=e.Element.extend({currentStep:null,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),e.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(e,t,n,r){var a=this;r||(e.animating=!0);for(var i=0;i1&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1);for(var r=0;re.animations[r].animationObject.numSteps&&(e.animations[r].animationObject.currentStep=e.animations[r].animationObject.numSteps),e.animations[r].animationObject.render(e.animations[r].chartInstance,e.animations[r].animationObject),e.animations[r].animationObject.onAnimationProgress&&e.animations[r].animationObject.onAnimationProgress.call&&e.animations[r].animationObject.onAnimationProgress.call(e.animations[r].chartInstance,e.animations[r]),e.animations[r].animationObject.currentStep===e.animations[r].animationObject.numSteps?(e.animations[r].animationObject.onAnimationComplete&&e.animations[r].animationObject.onAnimationComplete.call&&e.animations[r].animationObject.onAnimationComplete.call(e.animations[r].chartInstance,e.animations[r]),e.animations[r].chartInstance.animating=!1,e.animations.splice(r,1)):++r;var a=(Date.now()-t)/e.frameDuration;e.dropFrames+=a,e.animations.length>0&&e.requestAnimationFrame()}}}},{}],43:[function(e,t,n){"use strict";t.exports=function(e){(e.canvasHelpers={}).drawPoint=function(e,t,n,r,a){var i,o,s,l,c,u;if("object"!=typeof t||"[object HTMLImageElement]"!==(i=t.toString())&&"[object HTMLCanvasElement]"!==i){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=(o=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(r-o/2,a+c/3),e.lineTo(r+o/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"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)}}},{}],44:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.types={},e.instances={},e.controllers={},e.Controller=function(n){return this.chart=n,this.config=n.config,this.options=this.config.options=t.configMerge(e.defaults.global,e.defaults[this.config.type],this.config.options||{}),this.id=t.uid(),Object.defineProperty(this,"data",{get:function(){return this.config.data}}),e.instances[this.id]=this,this.options.responsive&&this.resize(!0),this.initialize(),this},t.extend(e.Controller.prototype,{initialize:function(){var t=this;return e.plugins.notify("beforeInit",[t]),t.bindEvents(),t.ensureScalesHaveIDs(),t.buildOrUpdateControllers(),t.buildScales(),t.updateLayout(),t.resetElements(),t.initToolTip(),t.update(),e.plugins.notify("afterInit",[t]),t},clear:function(){return t.clear(this.chart),this},stop:function(){return e.animationService.cancelAnimation(this),this},resize:function(n){var r=this,a=r.chart,i=a.canvas,o=t.getMaximumWidth(i),s=a.aspectRatio,l=r.options.maintainAspectRatio&&!1===isNaN(s)&&isFinite(s)&&0!==s?o/s:t.getMaximumHeight(i);if(a.width===o&&a.height===l)return r;i.width=a.width=o,i.height=a.height=l,t.retinaScale(a);var c={width:o,height:l};return e.plugins.notify("resize",[r,c]),r.options.onResize&&r.options.onResize(r,c),n||(r.stop(),r.update(r.options.responsiveAnimationDuration)),r},ensureScalesHaveIDs:function(){var e=this.options,n=e.scales||{},r=e.scale;t.each(n.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),t.each(n.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),r&&(r.id=r.id||"scale")},buildScales:function(){var n=this,r=n.options,a=n.scales={},i=[];r.scales&&(i=i.concat((r.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category"}}),(r.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear"}}))),r.scale&&i.push({options:r.scale,dtype:"radialLinear",isDefault:!0}),t.each(i,function(r){var i=r.options,o=t.getValueOrDefault(i.type,r.dtype),s=e.scaleService.getScaleConstructor(o);if(s){var l=new s({id:i.id,options:i,ctx:n.chart.ctx,chart:n});a[l.id]=l,r.isDefault&&(n.scale=l)}}),e.scaleService.addScalesToLayout(this)},updateLayout:function(){e.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var n=this,r=[],a=[];if(t.each(n.data.datasets,function(t,i){var o=n.getDatasetMeta(i);o.type||(o.type=t.type||n.config.type),r.push(o.type),o.controller?o.controller.updateIndex(i):(o.controller=new e.controllers[o.type](n,i),a.push(o.controller))},n),r.length>1)for(var i=1;i0&&(t=this.getDatasetMeta(t[0]._datasetIndex).data),t},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var r=n._meta[t.id];return r||(r=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;tn)for(var r=n;r=0;a--)t.call(n,e[a],a);else for(a=0;a=r[n].length||!r[n][a].type?r[n].push(i.configMerge(s,t)):t.type&&t.type!==r[n][a].type?r[n][a]=i.configMerge(r[n][a],s,t):r[n][a]=i.configMerge(r[n][a],t)}):(r[n]=[],i.each(t,function(t){var a=i.getValueOrDefault(t.type,"xAxes"===n?"category":"linear");r[n].push(i.configMerge(e.scaleService.getScaleDefaults(a),t))})):r.hasOwnProperty(n)&&"object"==typeof r[n]&&null!==r[n]&&"object"==typeof t?r[n]=i.configMerge(r[n],t):r[n]=t}),r},i.getValueAtIndexOrDefault=function(e,t,n){return void 0===e||null===e?n:i.isArray(e)?t=0;r--){var a=e[r];if(t(a))return a}},i.inherits=function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=i.inherits,e&&i.extend(n.prototype,e),n.__super__=t.prototype,n},i.noop=function(){},i.uid=function(){var e=0;return function(){return e++}}(),i.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},i.almostEquals=function(e,t,n){return Math.abs(e-t)0?1:-1},i.log10=Math.log10?function(e){return Math.log10(e)}:function(e){return Math.log(e)/Math.LN10},i.toRadians=function(e){return e*(Math.PI/180)},i.toDegrees=function(e){return e*(180/Math.PI)},i.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*Math.PI&&(i+=2*Math.PI),{angle:i,distance:a}},i.aliasPixel=function(e){return e%2==0?0:.5},i.splineCurve=function(e,t,n,r){var a=e.skip?t:e,i=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(i.x-a.x,2)+Math.pow(i.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),c=s/(s+l),u=l/(s+l),d=r*(c=isNaN(c)?0:c),h=r*(u=isNaN(u)?0:u);return{previous:{x:i.x-d*(o.x-a.x),y:i.y-d*(o.y-a.y)},next:{x:i.x+h*(o.x-a.x),y:i.y+h*(o.y-a.y)}}},i.EPSILON=Number.EPSILON||1e-14,i.splineCurveMonotone=function(e){var t,n,r,a,o=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),s=o.length;for(t=0;t0?o[t-1]:null,(a=t0?o[t-1]:null,a=t=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},i.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},i.niceNum=function(e,t){var n=Math.floor(i.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)};var o=i.easingEffects={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-1*e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1*((e=e/1-1)*e*e+1)},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-1*((e=e/1-1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return 1*(e/=1)*e*e*e*e},easeOutQuint:function(e){return 1*((e=e/1-1)*e*e*e*e+1)},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return-1*Math.cos(e/1*(Math.PI/2))+1},easeOutSine:function(e){return 1*Math.sin(e/1*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e/1)-1)},easeInExpo:function(e){return 0===e?1:1*Math.pow(2,10*(e/1-1))},easeOutExpo:function(e){return 1===e?1:1*(1-Math.pow(2,-10*e/1))},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-1*(Math.sqrt(1-(e/=1)*e)-1)},easeOutCirc:function(e){return 1*Math.sqrt(1-(e=e/1-1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1==(e/=1)?1:(n||(n=.3),r0?(n=l[0].clientX,r=l[0].clientY):(n=a.clientX,r=a.clientY);var c=parseFloat(i.getStyle(o,"padding-left")),u=parseFloat(i.getStyle(o,"padding-top")),d=parseFloat(i.getStyle(o,"padding-right")),h=parseFloat(i.getStyle(o,"padding-bottom")),p=s.right-s.left-c-d,f=s.bottom-s.top-u-h;return n=Math.round((n-s.left-c)/p*o.width/t.currentDevicePixelRatio),r=Math.round((r-s.top-u)/f*o.height/t.currentDevicePixelRatio),{x:n,y:r}},i.addEvent=function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},i.removeEvent=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=i.noop},i.bindEvents=function(e,t,n){var r=e.events=e.events||{};i.each(t,function(t){r[t]=function(){n.apply(e,arguments)},i.addEvent(e.chart.canvas,t,r[t])})},i.unbindEvents=function(e,t){var n=e.chart.canvas;i.each(t,function(e,t){i.removeEvent(n,t,e)})},i.getConstraintWidth=function(e){return a(e,"max-width","clientWidth")},i.getConstraintHeight=function(e){return a(e,"max-height","clientHeight")},i.getMaximumWidth=function(e){var t=e.parentNode,n=parseInt(i.getStyle(t,"padding-left"))+parseInt(i.getStyle(t,"padding-right")),r=t.clientWidth-n,a=i.getConstraintWidth(e);return isNaN(a)?r:Math.min(r,a)},i.getMaximumHeight=function(e){var t=e.parentNode,n=parseInt(i.getStyle(t,"padding-top"))+parseInt(i.getStyle(t,"padding-bottom")),r=t.clientHeight-n,a=i.getConstraintHeight(e);return isNaN(a)?r:Math.min(r,a)},i.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},i.retinaScale=function(e){var t=e.ctx,n=e.canvas,r=n.width,a=n.height,i=e.currentDevicePixelRatio=window.devicePixelRatio||1;1!==i&&(n.height=a*i,n.width=r*i,t.scale(i,i),e.originalDevicePixelRatio=e.originalDevicePixelRatio||i),n.style.width=r+"px",n.style.height=a+"px"},i.clear=function(e){e.ctx.clearRect(0,0,e.width,e.height)},i.fontString=function(e,t,n){return t+" "+e+"px "+n},i.longestText=function(e,t,n,r){var a=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},o=r.garbageCollect=[],r.font=t),e.font=t;var s=0;i.each(n,function(t){void 0!==t&&null!==t&&!0!==i.isArray(t)?s=i.measureText(e,a,o,s,t):i.isArray(t)&&i.each(t,function(t){void 0===t||null===t||i.isArray(t)||(s=i.measureText(e,a,o,s,t))})});var l=o.length/2;if(l>n.length){for(var c=0;cr&&(r=i),r},i.numberOfLabelLines=function(e){var t=1;return i.each(e,function(e){i.isArray(e)&&e.length>t&&(t=e.length)}),t},i.drawRoundedRectangle=function(e,t,n,r,a,i){e.beginPath(),e.moveTo(t+i,n),e.lineTo(t+r-i,n),e.quadraticCurveTo(t+r,n,t+r,n+i),e.lineTo(t+r,n+a-i),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-i),e.lineTo(t,n+i),e.quadraticCurveTo(t,n,t+i,n),e.closePath()},i.color=function(t){return r?r(t instanceof CanvasGradient?e.defaults.global.defaultColor:t):(console.log("Color.js not found!"),t)},i.addResizeListener=function(e,t){var n=document.createElement("iframe");n.classlist?n.classlist.add("chartjs-hidden-iframe"):n.setAttribute("class","chartjs-hidden-iframe"),n.tabIndex=-1;var r=n.style;r.width="100%",r.display="block",r.border=0,r.height=0,r.margin=0,r.position="absolute",r.left=0,r.right=0,r.top=0,r.bottom=0,e.insertBefore(n,e.firstChild),(n.contentWindow||n).onresize=function(){t&&t()}},i.removeResizeListener=function(e){var t=e.querySelector(".chartjs-hidden-iframe");t&&t.parentNode.removeChild(t)},i.isArray=Array.isArray?function(e){return Array.isArray(e)}:function(e){return"[object Array]"===Object.prototype.toString.call(e)},i.arrayEquals=function(e,t){var n,r,a,o;if(!e||!t||e.length!=t.length)return!1;for(n=0,r=e.length;n');for(var n=0;n'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("");return t.push(""),t.join("")}}},e.Chart=e,e}},{}],49:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.layoutService={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),e.boxes.push(t)},removeBox:function(e,t){e.boxes&&e.boxes.splice(e.boxes.indexOf(t),1)},update:function(e,n,r){function a(e){var n=t.findNextWhere(y,function(t){return t.box===e});if(n)if(e.isHorizontal()){var r={left:x,right:C,top:0,bottom:0};e.update(e.options.fullWidth?h:v,p/2,r)}else e.update(n.minSize.width,b)}function i(e){e.isHorizontal()?(e.left=e.options.fullWidth?o:x,e.right=e.options.fullWidth?n-o:x+v,e.top=M,e.bottom=M+e.height,M=e.bottom):(e.left=S,e.right=S+e.width,e.top=w,e.bottom=w+b,S=e.right)}if(e){var o=0,s=t.where(e.boxes,function(e){return"left"===e.options.position}),l=t.where(e.boxes,function(e){return"right"===e.options.position}),c=t.where(e.boxes,function(e){return"top"===e.options.position}),u=t.where(e.boxes,function(e){return"bottom"===e.options.position}),d=t.where(e.boxes,function(e){return"chartArea"===e.options.position});c.sort(function(e,t){return(t.options.fullWidth?1:0)-(e.options.fullWidth?1:0)}),u.sort(function(e,t){return(e.options.fullWidth?1:0)-(t.options.fullWidth?1:0)});var h=n-2*o,p=r-0,f=p/2,m=(n-h/2)/(s.length+l.length),g=(r-f)/(c.length+u.length),v=h,b=p,y=[];t.each(s.concat(l,c,u),function(e){var t,n=e.isHorizontal();n?(t=e.update(e.options.fullWidth?h:v,g),b-=t.height):(t=e.update(m,f),v-=t.width),y.push({horizontal:n,minSize:t,box:e})});var x=o,C=o,w=0,_=0;t.each(s.concat(l),a),t.each(s,function(e){x+=e.width}),t.each(l,function(e){C+=e.width}),t.each(c.concat(u),a),t.each(c,function(e){w+=e.height}),t.each(u,function(e){_+=e.height}),t.each(s.concat(l),function(e){var n=t.findNextWhere(y,function(t){return t.box===e}),r={left:0,right:0,top:w,bottom:_};n&&e.update(n.minSize.width,b,r)}),x=o,C=o,w=0,_=0,t.each(s,function(e){x+=e.width}),t.each(l,function(e){C+=e.width}),t.each(c,function(e){w+=e.height}),t.each(u,function(e){_+=e.height});var k=r-w-_,E=n-x-C;E===v&&k===b||(t.each(s,function(e){e.height=k}),t.each(l,function(e){e.height=k}),t.each(c,function(e){e.options.fullWidth||(e.width=E)}),t.each(u,function(e){e.options.fullWidth||(e.width=E)}),b=k,v=E);var S=o,M=0;t.each(s.concat(c),i),S+=v,M+=b,t.each(l,i),t.each(u,i),e.chartArea={left:x,top:w,right:x+v,bottom:w+b},t.each(d,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(v,b)})}}}}},{}],50:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,a=r.getDatasetMeta(n);a.hidden=null===a.hidden?!r.data.datasets[n].hidden:null,r.update()},labels:{boxWidth:40,padding:10,generateLabels:function(e){var n=e.data;return t.isArray(n.datasets)?n.datasets.map(function(n,r){return{text:n.label,fillStyle:t.isArray(n.backgroundColor)?n.backgroundColor[0]:n.backgroundColor,hidden:!e.isDatasetVisible(r),lineCap:n.borderCapStyle,lineDash:n.borderDash,lineDashOffset:n.borderDashOffset,lineJoin:n.borderJoinStyle,lineWidth:n.borderWidth,strokeStyle:n.borderColor,pointStyle:n.pointStyle,datasetIndex:r}},this):[]}}},e.Legend=e.Element.extend({initialize:function(e){t.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:n,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:n,beforeSetDimensions:n,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:n,beforeBuildLabels:n,buildLabels:function(){var e=this;e.legendItems=e.options.labels.generateLabels.call(e,e.chart),e.options.reverse&&e.legendItems.reverse()},afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,r=n.options,a=r.labels,i=r.display,o=n.ctx,s=e.defaults.global,l=t.getValueOrDefault,c=l(a.fontSize,s.defaultFontSize),u=l(a.fontStyle,s.defaultFontStyle),d=l(a.fontFamily,s.defaultFontFamily),h=t.fontString(c,u,d),p=n.legendHitBoxes=[],f=n.minSize,m=n.isHorizontal();if(m?(f.width=n.maxWidth,f.height=i?10:0):(f.width=i?10:0,f.height=n.maxHeight),i)if(o.font=h,m){var g=n.lineWidths=[0],v=n.legendItems.length?c+a.padding:0;o.textAlign="left",o.textBaseline="top",t.each(n.legendItems,function(e,t){var r=(a.usePointStyle?c*Math.sqrt(2):a.boxWidth)+c/2+o.measureText(e.text).width;g[g.length-1]+r+a.padding>=n.width&&(v+=c+a.padding,g[g.length]=n.left),p[t]={left:0,top:0,width:r,height:c},g[g.length-1]+=r+a.padding}),f.height+=v}else{var b=a.padding,y=n.columnWidths=[],x=a.padding,C=0,w=0,_=c+b;t.each(n.legendItems,function(e,t){var n=(a.usePointStyle?2*a.boxWidth:a.boxWidth)+c/2+o.measureText(e.text).width;w+_>f.height&&(x+=C+a.padding,y.push(C),C=0,w=0),C=Math.max(C,n),w+=_,p[t]={left:0,top:0,width:n,height:c}}),x+=C,y.push(C),f.width+=x}n.width=f.width,n.height=f.height},afterFit:n,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var n=this,r=n.options,a=r.labels,i=e.defaults.global,o=i.elements.line,s=n.width,l=n.lineWidths;if(r.display){var c,u=n.ctx,d=t.getValueOrDefault,h=d(a.fontColor,i.defaultFontColor),p=d(a.fontSize,i.defaultFontSize),f=d(a.fontStyle,i.defaultFontStyle),m=d(a.fontFamily,i.defaultFontFamily),g=t.fontString(p,f,m);u.textAlign="left",u.textBaseline="top",u.lineWidth=.5,u.strokeStyle=h,u.fillStyle=h,u.font=g;var v=a.boxWidth,b=n.legendHitBoxes,y=function(t,n,a){if(!(isNaN(v)||v<=0)){if(u.save(),u.fillStyle=d(a.fillStyle,i.defaultColor),u.lineCap=d(a.lineCap,o.borderCapStyle),u.lineDashOffset=d(a.lineDashOffset,o.borderDashOffset),u.lineJoin=d(a.lineJoin,o.borderJoinStyle),u.lineWidth=d(a.lineWidth,o.borderWidth),u.strokeStyle=d(a.strokeStyle,i.defaultColor),u.setLineDash&&u.setLineDash(d(a.lineDash,o.borderDash)),r.labels&&r.labels.usePointStyle){var s=p*Math.SQRT2/2,l=s/Math.SQRT2,c=t+l,h=n+l;e.canvasHelpers.drawPoint(u,a.pointStyle,s,c,h)}else u.strokeRect(t,n,v,p),u.fillRect(t,n,v,p);u.restore()}},x=function(e,t,n,r){u.fillText(n.text,v+p/2+e,t),n.hidden&&(u.beginPath(),u.lineWidth=2,u.moveTo(v+p/2+e,t+p/2),u.lineTo(v+p/2+e+r,t+p/2),u.stroke())},C=n.isHorizontal();c=C?{x:n.left+(s-l[0])/2,y:n.top+a.padding,line:0}:{x:n.left+a.padding,y:n.top+a.padding,line:0};var w=p+a.padding;t.each(n.legendItems,function(e,t){var r=u.measureText(e.text).width,i=a.usePointStyle?p+p/2+r:v+p/2+r,o=c.x,d=c.y;C?o+i>=s&&(d=c.y+=w,c.line++,o=c.x=n.left+(s-l[c.line])/2):d+w>n.bottom&&(o=c.x=o+n.columnWidths[c.line]+a.padding,d=c.y=n.top,c.line++),y(o,d,e),b[t].left=o,b[t].top=d,x(o,d,e,r),C?c.x+=i+a.padding:c.y+=w})}},handleEvent:function(e){var n=this,r=t.getRelativePosition(e,n.chart.chart),a=r.x,i=r.y,o=n.options;if(a>=n.left&&a<=n.right&&i>=n.top&&i<=n.bottom)for(var s=n.legendHitBoxes,l=0;l=c.left&&a<=c.left+c.width&&i>=c.top&&i<=c.top+c.height){o.onClick&&o.onClick.call(n,e,n.legendItems[l]);break}}}}),e.plugins.register({beforeInit:function(t){var n=t.options.legend;n&&(t.legend=new e.Legend({ctx:t.chart.ctx,options:n,chart:t}),e.layoutService.addBox(t,t.legend))}})}},{}],51:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers.noop;e.plugins={_plugins:[],register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)})},unregister:function(e){var t=this._plugins;[].concat(e).forEach(function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})},clear:function(){this._plugins=[]},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t){var n,r,a=this._plugins,i=a.length;for(n=0;nv&&n.labelRotationn.yLabelWidth&&(n.paddingLeft=u+o/2),n.paddingRight=o/2,f*m>n.maxHeight){n.labelRotation--;break}n.labelRotation++,g=p*m}}n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0))},afterCalculateTickRotation:function(){t.callCallback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){t.callCallback(this.options.beforeFit,[this])},fit:function(){var n=this,r=n.minSize={width:0,height:0},a=n.options,i=e.defaults.global,o=a.ticks,s=a.scaleLabel,l=a.gridLines,c=a.display,u=n.isHorizontal(),d=t.getValueOrDefault(o.fontSize,i.defaultFontSize),h=t.getValueOrDefault(o.fontStyle,i.defaultFontStyle),p=t.getValueOrDefault(o.fontFamily,i.defaultFontFamily),f=t.fontString(d,h,p),m=t.getValueOrDefault(s.fontSize,i.defaultFontSize),g=a.gridLines.tickMarkLength;if(r.width=u?n.isFullWidth()?n.maxWidth-n.margins.left-n.margins.right:n.maxWidth:c&&l.drawTicks?g:0,r.height=u?c&&l.drawTicks?g:0:n.maxHeight,s.display&&c&&(u?r.height+=1.5*m:r.width+=1.5*m),o.display&&c){n.longestTextCache||(n.longestTextCache={});var v=t.longestText(n.ctx,f,n.ticks,n.longestTextCache),b=t.numberOfLabelLines(n.ticks),y=.5*d;if(u){n.longestLabelWidth=v;var x=Math.sin(t.toRadians(n.labelRotation))*n.longestLabelWidth+d*b+y*b;r.height=Math.min(n.maxHeight,r.height+x),n.ctx.font=f;var C=n.ctx.measureText(n.ticks[0]).width,w=n.ctx.measureText(n.ticks[n.ticks.length-1]).width,_=Math.cos(t.toRadians(n.labelRotation)),k=Math.sin(t.toRadians(n.labelRotation));n.paddingLeft=0!==n.labelRotation?_*C+3:C/2+3,n.paddingRight=0!==n.labelRotation?k*(d/2)+3:w/2+3}else{var E=n.maxWidth-r.width;o.mirror?v=0:v+=n.options.ticks.padding,v0&&n>0?t:0)},draw:function(n){var r=this,a=r.options;if(a.display){var i,o,s=r.ctx,l=e.defaults.global,c=a.ticks,u=a.gridLines,d=a.scaleLabel,h=0!==r.labelRotation,p=c.autoSkip,f=r.isHorizontal();c.maxTicksLimit&&(o=c.maxTicksLimit);var m=t.getValueOrDefault(c.fontColor,l.defaultFontColor),g=t.getValueOrDefault(c.fontSize,l.defaultFontSize),v=t.getValueOrDefault(c.fontStyle,l.defaultFontStyle),b=t.getValueOrDefault(c.fontFamily,l.defaultFontFamily),y=t.fontString(g,v,b),x=u.tickMarkLength,C=t.getValueOrDefault(u.borderDash,l.borderDash),w=t.getValueOrDefault(u.borderDashOffset,l.borderDashOffset),_=t.getValueOrDefault(d.fontColor,l.defaultFontColor),k=t.getValueOrDefault(d.fontSize,l.defaultFontSize),E=t.getValueOrDefault(d.fontStyle,l.defaultFontStyle),S=t.getValueOrDefault(d.fontFamily,l.defaultFontFamily),M=t.fontString(k,E,S),T=t.toRadians(r.labelRotation),P=Math.cos(T),D=r.longestLabelWidth*P;s.fillStyle=m;var R=[];if(f){if(i=!1,h&&(D/=2),(D+c.autoSkipPadding)*r.ticks.length>r.width-(r.paddingLeft+r.paddingRight)&&(i=1+Math.floor((D+c.autoSkipPadding)*r.ticks.length/(r.width-(r.paddingLeft+r.paddingRight)))),o&&r.ticks.length>o)for(;!i||r.ticks.length/(i||1)>o;)i||(i=1),i+=1;p||(i=!1)}var O="right"===a.position?r.left:r.right-x,I="right"===a.position?r.left+x:r.right,A="bottom"===a.position?r.top:r.bottom-x,N="bottom"===a.position?r.top+x:r.bottom;if(t.each(r.ticks,function(e,o){if(void 0!==e&&null!==e){var s=r.ticks.length===o+1;if((!(i>1&&o%i>0||o%i==0&&o+i>=r.ticks.length)||s)&&void 0!==e&&null!==e){var l,d;o===(void 0!==r.zeroLineIndex?r.zeroLineIndex:0)?(l=u.zeroLineWidth,d=u.zeroLineColor):(l=t.getValueAtIndexOrDefault(u.lineWidth,o),d=t.getValueAtIndexOrDefault(u.color,o));var p,m,g,v,b,y,_,k,E,S,M,P="middle";if(f){h||(P="top"===a.position?"bottom":"top"),M=h?"right":"center";var D=r.getPixelForTick(o)+t.aliasPixel(l);E=r.getPixelForTick(o,u.offsetGridLines)+c.labelOffset,S=h?r.top+12:"top"===a.position?r.bottom-x:r.top+x,p=g=b=_=D,m=A,v=N,y=n.top,k=n.bottom}else{"left"===a.position?c.mirror?(E=r.right+c.padding,M="left"):(E=r.right-c.padding,M="right"):c.mirror?(E=r.left-c.padding,M="right"):(E=r.left+c.padding,M="left");var F=r.getPixelForTick(o);F+=t.aliasPixel(l),S=r.getPixelForTick(o,u.offsetGridLines),p=O,g=I,b=n.left,_=n.right,m=v=y=k=F}R.push({tx1:p,ty1:m,tx2:g,ty2:v,x1:b,y1:y,x2:_,y2:k,labelX:E,labelY:S,glWidth:l,glColor:d,glBorderDash:C,glBorderDashOffset:w,rotation:-1*T,label:e,textBaseline:P,textAlign:M})}}}),t.each(R,function(e){if(u.display&&(s.save(),s.lineWidth=e.glWidth,s.strokeStyle=e.glColor,s.setLineDash&&(s.setLineDash(e.glBorderDash),s.lineDashOffset=e.glBorderDashOffset),s.beginPath(),u.drawTicks&&(s.moveTo(e.tx1,e.ty1),s.lineTo(e.tx2,e.ty2)),u.drawOnChartArea&&(s.moveTo(e.x1,e.y1),s.lineTo(e.x2,e.y2)),s.stroke(),s.restore()),c.display){s.save(),s.translate(e.labelX,e.labelY),s.rotate(e.rotation),s.font=y,s.textBaseline=e.textBaseline,s.textAlign=e.textAlign;var n=e.label;if(t.isArray(n))for(var r=0,a=0;r0){var i=e[0];i.xLabel?n=i.xLabel:a>0&&i.index1&&a.each(f,function(e){h.push(s.callbacks.labelColor.call(o,e,d))}),a.extend(l,{title:o.getTitle(f,u),beforeBody:o.getBeforeBody(f,u),body:o.getBody(f,u),afterBody:o.getAfterBody(f,u),footer:o.getFooter(f,u),x:Math.round(p.x),y:Math.round(p.y),caretPadding:a.getValueOrDefault(p.padding,2),labelColors:h});var m=o.getTooltipSize(l);o.determineAlignment(m),a.extend(l,o.getBackgroundPoint(l,m))}else o._model.opacity=0;return e&&s.custom&&s.custom.call(o,l),o},getTooltipSize:function(e){var t=this._chart.ctx,n={height:2*e.yPadding,width:0},r=e.body,i=r.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);i+=e.beforeBody.length+e.afterBody.length;var o=e.title.length,s=e.footer.length,l=e.titleFontSize,c=e.bodyFontSize,u=e.footerFontSize;n.height+=o*l,n.height+=(o-1)*e.titleSpacing,n.height+=o?e.titleMarginBottom:0,n.height+=i*c,n.height+=i?(i-1)*e.bodySpacing:0,n.height+=s?e.footerMarginTop:0,n.height+=s*u,n.height+=s?(s-1)*e.footerSpacing:0;var d=0,h=function(e){n.width=Math.max(n.width,t.measureText(e).width+d)};return t.font=a.fontString(l,e._titleFontStyle,e._titleFontFamily),a.each(e.title,h),t.font=a.fontString(c,e._bodyFontStyle,e._bodyFontFamily),a.each(e.beforeBody.concat(e.afterBody),h),d=r.length>1?c+2:0,a.each(r,function(e){a.each(e.before,h),a.each(e.lines,h),a.each(e.after,h)}),d=0,t.font=a.fontString(u,e._footerFontStyle,e._footerFontFamily),a.each(e.footer,h),n.width+=2*e.xPadding,n},determineAlignment:function(e){var t=this,n=t._model,r=t._chart,a=t._chartInstance.chartArea;n.yr.height-e.height&&(n.yAlign="bottom");var i,o,s,l,c,u=(a.left+a.right)/2,d=(a.top+a.bottom)/2;"center"===n.yAlign?(i=function(e){return e<=u},o=function(e){return e>u}):(i=function(t){return t<=e.width/2},o=function(t){return t>=r.width-e.width/2}),s=function(t){return t+e.width>r.width},l=function(t){return t-e.width<0},c=function(e){return e<=d?"top":"bottom"},i(n.x)?(n.xAlign="left",s(n.x)&&(n.xAlign="center",n.yAlign=c(n.y))):o(n.x)&&(n.xAlign="right",l(n.x)&&(n.xAlign="center",n.yAlign=c(n.y)))},getBackgroundPoint:function(e,t){var n={x:e.x,y:e.y},r=e.caretSize,a=e.caretPadding,i=e.cornerRadius,o=e.xAlign,s=e.yAlign,l=r+a,c=i+a;return"right"===o?n.x-=t.width:"center"===o&&(n.x-=t.width/2),"top"===s?n.y+=l:n.y-="bottom"===s?t.height+l:t.height/2,"center"===s?"left"===o?n.x+=l:"right"===o&&(n.x-=l):"left"===o?n.x-=c:"right"===o&&(n.x+=c),n},drawCaret:function(e,t,n){var r,i,o,s,l,c,u=this._view,d=this._chart.ctx,h=u.caretSize,p=u.cornerRadius,f=u.xAlign,m=u.yAlign,g=e.x,v=e.y,b=t.width,y=t.height;"center"===m?("left"===f?(i=(r=g)-h,o=r):(i=(r=g+b)+h,o=r),s=(l=v+y/2)-h,c=l+h):("left"===f?o=(i=(r=g+p)+h)+h:"right"===f?o=(i=(r=g+b-p)-h)-h:(r=(i=g+b/2)-h,o=i+h),"top"===m?(l=(s=v)-h,c=s):(l=(s=v+y)+h,c=s));var x=a.color(u.backgroundColor);d.fillStyle=x.alpha(n*x.alpha()).rgbString(),d.beginPath(),d.moveTo(r,s),d.lineTo(i,l),d.lineTo(o,c),d.closePath(),d.fill()},drawTitle:function(e,t,n,r){var i=t.title;if(i.length){n.textAlign=t._titleAlign,n.textBaseline="top";var o=t.titleFontSize,s=t.titleSpacing,l=a.color(t.titleFontColor);n.fillStyle=l.alpha(r*l.alpha()).rgbString(),n.font=a.fontString(o,t._titleFontStyle,t._titleFontFamily);var c,u;for(c=0,u=i.length;c1;u=h?i+2:0,a.each(s,function(o,s){a.each(o.before,d),a.each(o.lines,function(o){h&&(n.fillStyle=a.color(t.legendColorBackground).alpha(r).rgbaString(),n.fillRect(e.x,e.y,i,i),n.strokeStyle=a.color(t.labelColors[s].borderColor).alpha(r).rgbaString(),n.strokeRect(e.x,e.y,i,i),n.fillStyle=a.color(t.labelColors[s].backgroundColor).alpha(r).rgbaString(),n.fillRect(e.x+1,e.y+1,i-2,i-2),n.fillStyle=c),d(o)}),a.each(o.after,d)}),u=0,a.each(t.afterBody,d),e.y-=o},drawFooter:function(e,t,n,r){var i=t.footer;if(i.length){e.y+=t.footerMarginTop,n.textAlign=t._footerAlign,n.textBaseline="top";var o=a.color(t.footerFontColor);n.fillStyle=o.alpha(r*o.alpha()).rgbString(),n.font=a.fontString(t.footerFontSize,t._footerFontStyle,t._footerFontFamily),a.each(i,function(r){n.fillText(r,e.x,e.y),e.y+=t.footerFontSize+t.footerSpacing})}},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n=this.getTooltipSize(t),r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity;if(this._options.enabled){var o=a.color(t.backgroundColor);e.fillStyle=o.alpha(i*o.alpha()).rgbString(),a.drawRoundedRectangle(e,r.x,r.y,n.width,n.height,t.cornerRadius),e.fill(),this.drawCaret(r,n,i),r.x+=t.xPadding,r.y+=t.yPadding,this.drawTitle(r,t,e,i),this.drawBody(r,t,e,i),this.drawFooter(r,t,e,i)}}}})}},{}],56:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;n.elements.arc={backgroundColor:n.defaultColor,borderColor:"#fff",borderWidth:2},e.elements.Arc=e.Element.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)l;)i-=2*Math.PI;for(;i=s&&i<=l,u=o>=r.innerRadius&&o<=r.outerRadius;return c&&u}return!1},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()}})}},{}],57:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;e.defaults.global.elements.line={tension:.4,backgroundColor:n.defaultColor,borderWidth:3,borderColor:n.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0},e.elements.Line=e.Element.extend({draw:function(){function e(e,t){var n=t._view;!0===t._view.steppedLine?(l.lineTo(t._view.x,e._view.y),l.lineTo(t._view.x,t._view.y)):0===t._view.tension?l.lineTo(n.x,n.y):l.bezierCurveTo(e._view.controlPointNextX,e._view.controlPointNextY,n.controlPointPreviousX,n.controlPointPreviousY,n.x,n.y)}var r=this,a=r._view,i=a.spanGaps,o=a.scaleZero,s=r._loop,l=r._chart.ctx;l.save();var c=r._children.slice(),u=-1;s&&c.length&&c.push(c[0]);var d,h,p,f;if(c.length&&a.fill){for(l.beginPath(),d=0;d=n.x-n.width/2&&e<=n.x+n.width/2&&t>=n.y&&t<=n.base:e>=n.x-n.width/2&&e<=n.x+n.width/2&&t>=n.base&&t<=n.y)},inLabelRange:function(e){var t=this._view;return!!t&&e>=t.x-t.width/2&&e<=t.x+t.width/2},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})}},{}],60:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"bottom"},r=e.Scale.extend({getLabels:function(){var e=this.chart.data;return(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels},determineDataLimits:function(){var e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1;var r;void 0!==e.options.ticks.min&&(r=t.indexOf(n,e.options.ticks.min),e.minIndex=-1!==r?r:e.minIndex),void 0!==e.options.ticks.max&&(r=t.indexOf(n,e.options.ticks.max),e.maxIndex=-1!==r?r:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var e=this,t=e.getLabels();e.ticks=0===e.minIndex&&e.maxIndex===t.length-1?t:t.slice(e.minIndex,e.maxIndex+1)},getLabelForIndex:function(e){return this.ticks[e]},getPixelForValue:function(e,t,n,r){var a=this,i=Math.max(a.maxIndex+1-a.minIndex-(a.options.gridLines.offsetGridLines?0:1),1);if(void 0!==e&&isNaN(t)){var o=a.getLabels().indexOf(e);t=-1!==o?o:t}if(a.isHorizontal()){var s=(a.width-(a.paddingLeft+a.paddingRight))/i,l=s*(t-a.minIndex)+a.paddingLeft;return(a.options.gridLines.offsetGridLines&&r||a.maxIndex===a.minIndex&&r)&&(l+=s/2),a.left+Math.round(l)}var c=(a.height-(a.paddingTop+a.paddingBottom))/i,u=c*(t-a.minIndex)+a.paddingTop;return a.options.gridLines.offsetGridLines&&r&&(u+=c/2),a.top+Math.round(u)},getPixelForTick:function(e,t){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null,t)},getValueForPixel:function(e){var t=this,n=Math.max(t.ticks.length-(t.options.gridLines.offsetGridLines?0:1),1),r=t.isHorizontal(),a=(r?t.width-(t.paddingLeft+t.paddingRight):t.height-(t.paddingTop+t.paddingBottom))/n;return e-=r?t.left:t.top,t.options.gridLines.offsetGridLines&&(e-=a/2),(e-=r?t.paddingLeft:t.paddingTop)<=0?0:Math.round(e/a)},getBasePixel:function(){return this.bottom}});e.scaleService.registerScaleType("category",r,n)}},{}],61:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback:function(e,n,r){var a=r.length>3?r[2]-r[1]:r[1]-r[0];Math.abs(a)>1&&e!==Math.floor(e)&&(a=e-Math.floor(e));var i=t.log10(Math.abs(a)),o="";if(0!==e){var s=-1*Math.floor(i);s=Math.max(Math.min(s,20),0),o=e.toFixed(s)}else o="0";return o}}},r=e.LinearScaleBase.extend({determineDataLimits:function(){function e(e){return o?e.xAxisID===n.id:e.yAxisID===n.id}var n=this,r=n.options,a=n.chart,i=a.data.datasets,o=n.isHorizontal();if(n.min=null,n.max=null,r.stacked){var s={},l=!1,c=!1;t.each(i,function(i,o){var u=a.getDatasetMeta(o);void 0===s[u.type]&&(s[u.type]={positiveValues:[],negativeValues:[]});var d=s[u.type].positiveValues,h=s[u.type].negativeValues;a.isDatasetVisible(o)&&e(u)&&t.each(i.data,function(e,t){var a=+n.getRightValue(e);isNaN(a)||u.data[t].hidden||(d[t]=d[t]||0,h[t]=h[t]||0,r.relativePoints?d[t]=100:a<0?(c=!0,h[t]+=a):(l=!0,d[t]+=a))})}),t.each(s,function(e){var r=e.positiveValues.concat(e.negativeValues),a=t.min(r),i=t.max(r);n.min=null===n.min?a:Math.min(n.min,a),n.max=null===n.max?i:Math.max(n.max,i)})}else t.each(i,function(r,i){var o=a.getDatasetMeta(i);a.isDatasetVisible(i)&&e(o)&&t.each(r.data,function(e,t){var r=+n.getRightValue(e);isNaN(r)||o.data[t].hidden||(null===n.min?n.min=r:rn.max&&(n.max=r))})});this.handleTickRangeOptions()},getTickLimit:function(){var n,r=this,a=r.options.ticks;if(r.isHorizontal())n=Math.min(a.maxTicksLimit?a.maxTicksLimit:11,Math.ceil(r.width/50));else{var i=t.getValueOrDefault(a.fontSize,e.defaults.global.defaultFontSize);n=Math.min(a.maxTicksLimit?a.maxTicksLimit:11,Math.ceil(r.height/(2*i)))}return n},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,n,r=this,a=r.paddingLeft,i=r.paddingBottom,o=r.start,s=+r.getRightValue(e),l=r.end-o;return r.isHorizontal()?(n=r.width-(a+r.paddingRight),t=r.left+n/l*(s-o),Math.round(t+a)):(n=r.height-(r.paddingTop+i),t=r.bottom-i-n/l*(s-o),Math.round(t))},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),r=t.paddingLeft,a=t.paddingBottom,i=n?t.width-(r+t.paddingRight):t.height-(t.paddingTop+a),o=(n?e-t.left-r:t.bottom-a-e)/i;return t.start+(t.end-t.start)*o},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});e.scaleService.registerScaleType("linear",r,n)}},{}],62:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.LinearScaleBase=e.Scale.extend({handleTickRangeOptions:function(){var e=this,n=e.options.ticks;if(n.beginAtZero){var r=t.sign(e.min),a=t.sign(e.max);r<0&&a<0?e.max=0:r>0&&a>0&&(e.min=0)}void 0!==n.min?e.min=n.min:void 0!==n.suggestedMin&&(e.min=Math.min(e.min,n.suggestedMin)),void 0!==n.max?e.max=n.max:void 0!==n.suggestedMax&&(e.max=Math.max(e.max,n.suggestedMax)),e.min===e.max&&(e.max++,n.beginAtZero||e.min--)},getTickLimit:n,handleDirectionalChanges:n,buildTicks:function(){var e=this,n=e.options,r=e.ticks=[],a=n.ticks,i=t.getValueOrDefault,o=e.getTickLimit();o=Math.max(2,o);var s;if(a.fixedStepSize&&a.fixedStepSize>0||a.stepSize&&a.stepSize>0)s=i(a.fixedStepSize,a.stepSize);else{var l=t.niceNum(e.max-e.min,!1);s=t.niceNum(l/(o-1),!0)}var c=Math.floor(e.min/s)*s,u=Math.ceil(e.max/s)*s,d=(u-c)/s;d=t.almostEquals(d,Math.round(d),s/1e3)?Math.round(d):Math.ceil(d),r.push(void 0!==a.min?a.min:c);for(var h=1;hn.max&&(n.max=r),0!==r&&(null===n.minNotZero||re.max&&(e.max=r))})}}),e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,r=t.getValueOrDefault(e.fontSize,n.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*r)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,r,a,i,o,s,l,c,u,d,h,p,f=this.options.pointLabels,m=t.getValueOrDefault(f.fontSize,n.defaultFontSize),g=t.getValueOrDefault(f.fontStyle,n.defaultFontStyle),v=t.getValueOrDefault(f.fontFamily,n.defaultFontFamily),b=t.fontString(m,g,v),y=t.min([this.height/2-m-5,this.width/2]),x=this.width,C=0;for(this.ctx.font=b,r=0;rx&&(x=e.x+i,o=r),e.x-ix&&(x=e.x+a,o=r):e.x-a0&&n>0?t:0)},draw:function(){var e=this,r=e.options,a=r.gridLines,i=r.ticks,o=r.angleLines,s=r.pointLabels,l=t.getValueOrDefault;if(r.display){var c=e.ctx,u=l(i.fontSize,n.defaultFontSize),d=l(i.fontStyle,n.defaultFontStyle),h=l(i.fontFamily,n.defaultFontFamily),p=t.fontString(u,d,h);if(t.each(e.ticks,function(o,s){if(s>0||r.reverse){var d=e.getDistanceFromCenterForValue(e.ticksAsNumbers[s]),h=e.yCenter-d;if(a.display&&0!==s)if(c.strokeStyle=t.getValueAtIndexOrDefault(a.color,s-1),c.lineWidth=t.getValueAtIndexOrDefault(a.lineWidth,s-1),r.lineArc)c.beginPath(),c.arc(e.xCenter,e.yCenter,d,0,2*Math.PI),c.closePath(),c.stroke();else{c.beginPath();for(var f=0;f=0;y--){if(o.display){var x=e.getPointPosition(y,f);c.beginPath(),c.moveTo(e.xCenter,e.yCenter),c.lineTo(x.x,x.y),c.stroke(),c.closePath()}var C=e.getPointPosition(y,f+5),w=l(s.fontColor,n.defaultFontColor);c.font=b,c.fillStyle=w;var _=e.pointLabels,k=360*(this.getIndexAngle(y)+Math.PI/2)/(2*Math.PI)%360;c.textAlign=0===k||180===k?"center":k<180?"left":"right",c.textBaseline=90===k||270===k?"middle":k>270||k<90?"bottom":"top",c.fillText(_[y]?_[y]:"",C.x,C.y)}}}}});e.scaleService.registerScaleType("radialLinear",a,r)}},{}],65:[function(e,t,n){"use strict";var r=e("moment");r="function"==typeof r?r:window.moment,t.exports=function(e){var t=e.helpers,n={units:[{name:"millisecond",steps:[1,2,5,10,20,50,100,250,500]},{name:"second",steps:[1,2,5,10,30]},{name:"minute",steps:[1,2,5,10,30]},{name:"hour",steps:[1,2,3,6,12]},{name:"day",steps:[1,2,5]},{name:"week",maxStep:4},{name:"month",maxStep:3},{name:"quarter",maxStep:4},{name:"year",maxStep:!1}]},a={position:"bottom",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm:ss a",hour:"MMM D, hA",day:"ll",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1}},i=e.Scale.extend({initialize:function(){if(!r)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");e.Scale.prototype.initialize.call(this)},getLabelMoment:function(e,t){return void 0!==this.labelMoments[e]?this.labelMoments[e][t]:null},getMomentStartOf:function(e){var t=this;return"week"===t.options.time.unit&&!1!==t.options.time.isoWeekday?e.clone().startOf("isoWeek").isoWeekday(t.options.time.isoWeekday):e.clone().startOf(t.tickUnit)},determineDataLimits:function(){var e=this;e.labelMoments=[];var n=[];e.chart.data.labels&&e.chart.data.labels.length>0?(t.each(e.chart.data.labels,function(t){var r=e.parseTime(t);r.isValid()&&(e.options.time.round&&r.startOf(e.options.time.round),n.push(r))},e),e.firstTick=r.min.call(e,n),e.lastTick=r.max.call(e,n)):(e.firstTick=null,e.lastTick=null),t.each(e.chart.data.datasets,function(a,i){var o=[],s=e.chart.isDatasetVisible(i);"object"==typeof a.data[0]&&null!==a.data[0]?t.each(a.data,function(t){var n=e.parseTime(e.getRightValue(t));n.isValid()&&(e.options.time.round&&n.startOf(e.options.time.round),o.push(n),s&&(e.firstTick=null!==e.firstTick?r.min(e.firstTick,n):n,e.lastTick=null!==e.lastTick?r.max(e.lastTick,n):n))},e):o=n,e.labelMoments.push(o)},e),e.options.time.min&&(e.firstTick=e.parseTime(e.options.time.min)),e.options.time.max&&(e.lastTick=e.parseTime(e.options.time.max)),e.firstTick=(e.firstTick||r()).clone(),e.lastTick=(e.lastTick||r()).clone()},buildTicks:function(){var r=this;r.ctx.save();var a=t.getValueOrDefault(r.options.ticks.fontSize,e.defaults.global.defaultFontSize),i=t.getValueOrDefault(r.options.ticks.fontStyle,e.defaults.global.defaultFontStyle),o=t.getValueOrDefault(r.options.ticks.fontFamily,e.defaults.global.defaultFontFamily),s=t.fontString(a,i,o);if(r.ctx.font=s,r.ticks=[],r.unitScale=1,r.scaleSizeInUnits=0,r.options.time.unit)r.tickUnit=r.options.time.unit||"day",r.displayFormat=r.options.time.displayFormats[r.tickUnit],r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0),r.unitScale=t.getValueOrDefault(r.options.time.unitStepSize,1);else{var l=r.isHorizontal()?r.width-(r.paddingLeft+r.paddingRight):r.height-(r.paddingTop+r.paddingBottom),c=r.tickFormatFunction(r.firstTick,0,[]),u=r.ctx.measureText(c).width,d=l/(u=u*Math.cos(t.toRadians(r.options.ticks.maxRotation))+a*Math.sin(t.toRadians(r.options.ticks.maxRotation)));r.tickUnit="millisecond",r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0),r.displayFormat=r.options.time.displayFormats[r.tickUnit];for(var h=0,p=n.units[h];h=Math.ceil(r.scaleSizeInUnits/d)){r.unitScale=t.getValueOrDefault(r.options.time.unitStepSize,p.steps[f]);break}break}if(!1===p.maxStep||Math.ceil(r.scaleSizeInUnits/d)=0&&(r.lastTick=b),r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0)}r.options.time.displayFormat&&(r.displayFormat=r.options.time.displayFormat),r.ticks.push(r.firstTick.clone());for(var x=1;x<=r.scaleSizeInUnits;++x){var C=v.clone().add(x,r.tickUnit);if(r.options.time.max&&C.diff(r.lastTick,r.tickUnit,!0)>=0)break;x%r.unitScale==0&&r.ticks.push(C)}0===r.ticks[r.ticks.length-1].diff(r.lastTick,r.tickUnit)&&0!==r.scaleSizeInUnits||(r.options.time.max?(r.ticks.push(r.lastTick.clone()),r.scaleSizeInUnits=r.lastTick.diff(r.ticks[0],r.tickUnit,!0)):(r.ticks.push(r.lastTick.clone()),r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0))),r.ctx.restore()},getLabelForIndex:function(e,t){var n=this,r=n.chart.data.labels&&e=0&&(i=d[n],i.unitCount=Math.round(i.unitCount),0!==n);n--)f=d[n-1],p=t.unitMeasures[f.unitName]/t.unitMeasures[i.unitName],(i.unitCount%p==0||t.largest&&t.largest-12?m.slice(0,-1).join(t.delimiter)+(t.serialComma?",":"")+t.conjunction+m.slice(-1):void 0:m.join(t.delimiter):r(0,t.units[t.units.length-1],o,t)}function r(e,t,n,r){var a;a=void 0===r.decimal?n.decimal:r.decimal;var i,o=e.toString().replace(".",a),s=n[t];return i="function"==typeof s?s(e):s,o+r.spacer+i}function a(e){for(var t,n=1;n=2&&e%10<=4&&e%100<10?2:3}function o(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function s(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function l(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}var c={ar:{y:function(e){return 1===e?"سنة":"سنوات"},mo:function(e){return 1===e?"شهر":"أشهر"},w:function(e){return 1===e?"أسبوع":"أسابيع"},d:function(e){return 1===e?"يوم":"أيام"},h:function(e){return 1===e?"ساعة":"ساعات"},m:function(e){return 1===e?"دقيقة":"دقائق"},s:function(e){return 1===e?"ثانية":"ثواني"},ms:function(e){return 1===e?"جزء من الثانية":"أجزاء من الثانية"},decimal:","},bg:{y:function(e){return["години","година","години"][s(e)]},mo:function(e){return["месеца","месец","месеца"][s(e)]},w:function(e){return["седмици","седмица","седмици"][s(e)]},d:function(e){return["дни","ден","дни"][s(e)]},h:function(e){return["часа","час","часа"][s(e)]},m:function(e){return["минути","минута","минути"][s(e)]},s:function(e){return["секунди","секунда","секунди"][s(e)]},ms:function(e){return["милисекунди","милисекунда","милисекунди"][s(e)]},decimal:","},ca:{y:function(e){return"any"+(1===e?"":"s")},mo:function(e){return"mes"+(1===e?"":"os")},w:function(e){return"setman"+(1===e?"a":"es")},d:function(e){return"di"+(1===e?"a":"es")},h:function(e){return"hor"+(1===e?"a":"es")},m:function(e){return"minut"+(1===e?"":"s")},s:function(e){return"segon"+(1===e?"":"s")},ms:function(e){return"milisegon"+(1===e?"":"s")},decimal:","},cs:{y:function(e){return["rok","roku","roky","let"][i(e)]},mo:function(e){return["měsíc","měsíce","měsíce","měsíců"][i(e)]},w:function(e){return["týden","týdne","týdny","týdnů"][i(e)]},d:function(e){return["den","dne","dny","dní"][i(e)]},h:function(e){return["hodina","hodiny","hodiny","hodin"][i(e)]},m:function(e){return["minuta","minuty","minuty","minut"][i(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekund"][i(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][i(e)]},decimal:","},da:{y:"år",mo:function(e){return"måned"+(1===e?"":"er")},w:function(e){return"uge"+(1===e?"":"r")},d:function(e){return"dag"+(1===e?"":"e")},h:function(e){return"time"+(1===e?"":"r")},m:function(e){return"minut"+(1===e?"":"ter")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},de:{y:function(e){return"Jahr"+(1===e?"":"e")},mo:function(e){return"Monat"+(1===e?"":"e")},w:function(e){return"Woche"+(1===e?"":"n")},d:function(e){return"Tag"+(1===e?"":"e")},h:function(e){return"Stunde"+(1===e?"":"n")},m:function(e){return"Minute"+(1===e?"":"n")},s:function(e){return"Sekunde"+(1===e?"":"n")},ms:function(e){return"Millisekunde"+(1===e?"":"n")},decimal:","},en:{y:function(e){return"year"+(1===e?"":"s")},mo:function(e){return"month"+(1===e?"":"s")},w:function(e){return"week"+(1===e?"":"s")},d:function(e){return"day"+(1===e?"":"s")},h:function(e){return"hour"+(1===e?"":"s")},m:function(e){return"minute"+(1===e?"":"s")},s:function(e){return"second"+(1===e?"":"s")},ms:function(e){return"millisecond"+(1===e?"":"s")},decimal:"."},es:{y:function(e){return"año"+(1===e?"":"s")},mo:function(e){return"mes"+(1===e?"":"es")},w:function(e){return"semana"+(1===e?"":"s")},d:function(e){return"día"+(1===e?"":"s")},h:function(e){return"hora"+(1===e?"":"s")},m:function(e){return"minuto"+(1===e?"":"s")},s:function(e){return"segundo"+(1===e?"":"s")},ms:function(e){return"milisegundo"+(1===e?"":"s")},decimal:","},fa:{y:"سال",mo:"ماه",w:"هفته",d:"روز",h:"ساعت",m:"دقیقه",s:"ثانیه",ms:"میلی ثانیه",decimal:"."},fi:{y:function(e){return 1===e?"vuosi":"vuotta"},mo:function(e){return 1===e?"kuukausi":"kuukautta"},w:function(e){return"viikko"+(1===e?"":"a")},d:function(e){return"päivä"+(1===e?"":"ä")},h:function(e){return"tunti"+(1===e?"":"a")},m:function(e){return"minuutti"+(1===e?"":"a")},s:function(e){return"sekunti"+(1===e?"":"a")},ms:function(e){return"millisekunti"+(1===e?"":"a")},decimal:","},fr:{y:function(e){return"an"+(e>=2?"s":"")},mo:"mois",w:function(e){return"semaine"+(e>=2?"s":"")},d:function(e){return"jour"+(e>=2?"s":"")},h:function(e){return"heure"+(e>=2?"s":"")},m:function(e){return"minute"+(e>=2?"s":"")},s:function(e){return"seconde"+(e>=2?"s":"")},ms:function(e){return"milliseconde"+(e>=2?"s":"")},decimal:","},gr:{y:function(e){return 1===e?"χρόνος":"χρόνια"},mo:function(e){return 1===e?"μήνας":"μήνες"},w:function(e){return 1===e?"εβδομάδα":"εβδομάδες"},d:function(e){return 1===e?"μέρα":"μέρες"},h:function(e){return 1===e?"ώρα":"ώρες"},m:function(e){return 1===e?"λεπτό":"λεπτά"},s:function(e){return 1===e?"δευτερόλεπτο":"δευτερόλεπτα"},ms:function(e){return 1===e?"χιλιοστό του δευτερολέπτου":"χιλιοστά του δευτερολέπτου"},decimal:","},hu:{y:"év",mo:"hónap",w:"hét",d:"nap",h:"óra",m:"perc",s:"másodperc",ms:"ezredmásodperc",decimal:","},id:{y:"tahun",mo:"bulan",w:"minggu",d:"hari",h:"jam",m:"menit",s:"detik",ms:"milidetik",decimal:"."},is:{y:"ár",mo:function(e){return"mánuð"+(1===e?"ur":"ir")},w:function(e){return"vik"+(1===e?"a":"ur")},d:function(e){return"dag"+(1===e?"ur":"ar")},h:function(e){return"klukkutím"+(1===e?"i":"ar")},m:function(e){return"mínút"+(1===e?"a":"ur")},s:function(e){return"sekúnd"+(1===e?"a":"ur")},ms:function(e){return"millisekúnd"+(1===e?"a":"ur")},decimal:"."},it:{y:function(e){return"ann"+(1===e?"o":"i")},mo:function(e){return"mes"+(1===e?"e":"i")},w:function(e){return"settiman"+(1===e?"a":"e")},d:function(e){return"giorn"+(1===e?"o":"i")},h:function(e){return"or"+(1===e?"a":"e")},m:function(e){return"minut"+(1===e?"o":"i")},s:function(e){return"second"+(1===e?"o":"i")},ms:function(e){return"millisecond"+(1===e?"o":"i")},decimal:","},ja:{y:"年",mo:"月",w:"週",d:"日",h:"時間",m:"分",s:"秒",ms:"ミリ秒",decimal:"."},ko:{y:"년",mo:"개월",w:"주일",d:"일",h:"시간",m:"분",s:"초",ms:"밀리 초",decimal:"."},lt:{y:function(e){return e%10==0||e%100>=10&&e%100<=20?"metų":"metai"},mo:function(e){return["mėnuo","mėnesiai","mėnesių"][l(e)]},w:function(e){return["savaitė","savaitės","savaičių"][l(e)]},d:function(e){return["diena","dienos","dienų"][l(e)]},h:function(e){return["valanda","valandos","valandų"][l(e)]},m:function(e){return["minutė","minutės","minučių"][l(e)]},s:function(e){return["sekundė","sekundės","sekundžių"][l(e)]},ms:function(e){return["milisekundė","milisekundės","milisekundžių"][l(e)]},decimal:","},ms:{y:"tahun",mo:"bulan",w:"minggu",d:"hari",h:"jam",m:"minit",s:"saat",ms:"milisaat",decimal:"."},nl:{y:"jaar",mo:function(e){return 1===e?"maand":"maanden"},w:function(e){return 1===e?"week":"weken"},d:function(e){return 1===e?"dag":"dagen"},h:"uur",m:function(e){return 1===e?"minuut":"minuten"},s:function(e){return 1===e?"seconde":"seconden"},ms:function(e){return 1===e?"milliseconde":"milliseconden"},decimal:","},no:{y:"år",mo:function(e){return"måned"+(1===e?"":"er")},w:function(e){return"uke"+(1===e?"":"r")},d:function(e){return"dag"+(1===e?"":"er")},h:function(e){return"time"+(1===e?"":"r")},m:function(e){return"minutt"+(1===e?"":"er")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},pl:{y:function(e){return["rok","roku","lata","lat"][o(e)]},mo:function(e){return["miesiąc","miesiąca","miesiące","miesięcy"][o(e)]},w:function(e){return["tydzień","tygodnia","tygodnie","tygodni"][o(e)]},d:function(e){return["dzień","dnia","dni","dni"][o(e)]},h:function(e){return["godzina","godziny","godziny","godzin"][o(e)]},m:function(e){return["minuta","minuty","minuty","minut"][o(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekund"][o(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][o(e)]},decimal:","},pt:{y:function(e){return"ano"+(1===e?"":"s")},mo:function(e){return 1!==e?"meses":"mês"},w:function(e){return"semana"+(1===e?"":"s")},d:function(e){return"dia"+(1===e?"":"s")},h:function(e){return"hora"+(1===e?"":"s")},m:function(e){return"minuto"+(1===e?"":"s")},s:function(e){return"segundo"+(1===e?"":"s")},ms:function(e){return"milissegundo"+(1===e?"":"s")},decimal:","},ru:{y:function(e){return["лет","год","года"][s(e)]},mo:function(e){return["месяцев","месяц","месяца"][s(e)]},w:function(e){return["недель","неделя","недели"][s(e)]},d:function(e){return["дней","день","дня"][s(e)]},h:function(e){return["часов","час","часа"][s(e)]},m:function(e){return["минут","минута","минуты"][s(e)]},s:function(e){return["секунд","секунда","секунды"][s(e)]},ms:function(e){return["миллисекунд","миллисекунда","миллисекунды"][s(e)]},decimal:","},uk:{y:function(e){return["років","рік","роки"][s(e)]},mo:function(e){return["місяців","місяць","місяці"][s(e)]},w:function(e){return["неділь","неділя","неділі"][s(e)]},d:function(e){return["днів","день","дні"][s(e)]},h:function(e){return["годин","година","години"][s(e)]},m:function(e){return["хвилин","хвилина","хвилини"][s(e)]},s:function(e){return["секунд","секунда","секунди"][s(e)]},ms:function(e){return["мілісекунд","мілісекунда","мілісекунди"][s(e)]},decimal:","},sv:{y:"år",mo:function(e){return"månad"+(1===e?"":"er")},w:function(e){return"veck"+(1===e?"a":"or")},d:function(e){return"dag"+(1===e?"":"ar")},h:function(e){return"timm"+(1===e?"e":"ar")},m:function(e){return"minut"+(1===e?"":"er")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},tr:{y:"yıl",mo:"ay",w:"hafta",d:"gün",h:"saat",m:"dakika",s:"saniye",ms:"milisaniye",decimal:","},vi:{y:"năm",mo:"tháng",w:"tuần",d:"ngày",h:"giờ",m:"phút",s:"giây",ms:"mili giây",decimal:","},zh_CN:{y:"年",mo:"个月",w:"周",d:"天",h:"小时",m:"分钟",s:"秒",ms:"毫秒",decimal:"."},zh_TW:{y:"年",mo:"個月",w:"周",d:"天",h:"小時",m:"分鐘",s:"秒",ms:"毫秒",decimal:"."}},u=e({});u.getSupportedLanguages=function(){var e=[];for(var t in c)c.hasOwnProperty(t)&&e.push(t);return e},u.humanizer=e,"function"==typeof define&&define.amd?define(function(){return u}):void 0!==t&&t.exports?t.exports=u:this.humanizeDuration=u}()},{}],73:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function o(e){if(h===clearTimeout)return clearTimeout(e);if((h===a||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{return h(e)}catch(t){try{return h.call(null,e)}catch(t){return h.call(this,e)}}}function s(){g&&f&&(g=!1,f.length?m=f.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=i(s);g=!0;for(var t=m.length;t;){for(f=m,m=[];++v1)for(var n=1;n8&&x<=11),_=32,k=String.fromCharCode(_),E={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},S=!1,M=null,T={eventTypes:E,extractEvents:function(e,t,n,r){return[l(e,t,n,r),d(e,t,n,r)]}};t.exports=T},{"./EventPropagators":112,"./FallbackCompositionState":113,"./SyntheticCompositionEvent":170,"./SyntheticInputEvent":174,"fbjs/lib/ExecutionEnvironment":213}],97:[function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var a={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},i=["Webkit","ms","Moz","O"];Object.keys(a).forEach(function(e){i.forEach(function(t){a[r(t,e)]=a[e]})});var o={isUnitlessNumber:a,shorthandPropertyExpansions:{background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}}};t.exports=o},{}],98:[function(e,t,n){"use strict";var r=e("./CSSProperty"),a=e("fbjs/lib/ExecutionEnvironment"),i=(e("./ReactInstrumentation"),e("fbjs/lib/camelizeStyleName"),e("./dangerousStyleValue")),o=e("fbjs/lib/hyphenateStyleName"),s=e("fbjs/lib/memoizeStringOnly"),l=(e("fbjs/lib/warning"),s(function(e){return o(e)})),c=!1,u="cssFloat";if(a.canUseDOM){var d=document.createElement("div").style;try{d.font=""}catch(e){c=!0}void 0===document.documentElement.style.cssFloat&&(u="styleFloat")}var h={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var a=0===r.indexOf("--"),o=e[r];null!=o&&(n+=l(r)+":",n+=i(r,o,t,a)+";")}return n||null},setValueForStyles:function(e,t,n){var a=e.style;for(var o in t)if(t.hasOwnProperty(o)){var s=0===o.indexOf("--"),l=i(o,t[o],n,s);if("float"!==o&&"cssFloat"!==o||(o=u),s)a.setProperty(o,l);else if(l)a[o]=l;else{var d=c&&r.shorthandPropertyExpansions[o];if(d)for(var h in d)a[h]="";else a[o]=""}}}};t.exports=h},{"./CSSProperty":97,"./ReactInstrumentation":150,"./dangerousStyleValue":186,"fbjs/lib/ExecutionEnvironment":213,"fbjs/lib/camelizeStyleName":215,"fbjs/lib/hyphenateStyleName":226,"fbjs/lib/memoizeStringOnly":230,"fbjs/lib/warning":232}],99:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=e("./reactProdInvariant"),i=e("./PooledClass"),o=(e("fbjs/lib/invariant"),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length&&a("24"),this._callbacks=null,this._contexts=null;for(var r=0;r8));var N=!1;_.canUseDOM&&(N=P("input")&&(!document.documentMode||document.documentMode>9));var F={eventTypes:R,_allowSimulatedPassThrough:!0,_isInputEventSupported:N,extractEvents:function(e,t,n,i){var o,s,l=t?k.getNodeFromInstance(t):window;if(a(l)?A?o=u:s=d:D(l)?N?o=y:(o=g,s=m):v(l)&&(o=b),o){var c=o(e,t,n);if(c)return r(c,n,i)}s&&s(e,l,t),"topBlur"===e&&x(t,l)}};t.exports=F},{"./EventPluginHub":109,"./EventPropagators":112,"./ReactDOMComponentTree":126,"./ReactUpdates":163,"./SyntheticEvent":172,"./getEventTarget":194,"./inputValueTracking":200,"./isEventSupported":202,"./isTextInputElement":203,"fbjs/lib/ExecutionEnvironment":213}],101:[function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function a(e,t,n){c.insertTreeBefore(e,t,n)}function i(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):f(e,t,n)}function o(e,t){if(Array.isArray(t)){var n=t[1];l(e,t=t[0],n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var a=t;;){var i=a.nextSibling;if(f(e,a,r),a===n)break;a=i}}function l(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}var c=e("./DOMLazyTree"),u=e("./Danger"),d=(e("./ReactDOMComponentTree"),e("./ReactInstrumentation"),e("./createMicrosoftUnsafeLocalFunction")),h=e("./setInnerHTML"),p=e("./setTextContent"),f=d(function(e,t,n){e.insertBefore(t,n)}),m={dangerouslyReplaceNodeWithMarkup:u.dangerouslyReplaceNodeWithMarkup,replaceDelimitedText:function(e,t,n){var r=e.parentNode,a=e.nextSibling;a===t?n&&f(r,document.createTextNode(n),a):n?(p(a,n),l(r,a,t)):l(r,e,t)},processUpdates:function(e,t){for(var n=0;n-1||o("96",e),!c.plugins[n]){t.extractEvents||o("97",e),c.plugins[n]=t;var r=t.eventTypes;for(var i in r)a(r[i],t,i)||o("98",i,e)}}}function a(e,t,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&o("99",n),c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var a in r)r.hasOwnProperty(a)&&i(r[a],t,n);return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){c.registrationNameModules[e]&&o("100",e),c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var o=e("./reactProdInvariant"),s=(e("fbjs/lib/invariant"),null),l={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s&&o("101"),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var a=e[n];l.hasOwnProperty(n)&&l[n]===a||(l[n]&&o("102",n),l[n]=a,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var a=c.registrationNameModules[n[r]];if(a)return a}}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var a in r)r.hasOwnProperty(a)&&delete r[a]}};t.exports=c},{"./reactProdInvariant":205,"fbjs/lib/invariant":227}],111:[function(e,t,n){"use strict";function r(e,t,n,r){var a=e.type||"unknown-event";e.currentTarget=c.getNodeFromInstance(r),t?l.invokeGuardedCallbackWithCatch(a,n,e):l.invokeGuardedCallback(a,n,e),e.currentTarget=null}function a(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r1?1-t:void 0;return this._fallbackText=a.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},{"./PooledClass":117,"./getTextContentAccessor":198,"object-assign":233}],114:[function(e,t,n){"use strict";var r=e("./DOMProperty"),a=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,o=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,l=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:a|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,controlsList:0,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:l,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:a|i,muted:a|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:o,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:a|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:o,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}};t.exports=c},{"./DOMProperty":104}],115:[function(e,t,n){"use strict";var r={escape:function(e){var t=/[=:]/g,n={"=":"=0",":":"=2"};return"$"+(""+e).replace(t,function(e){return n[e]})},unescape:function(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1))).replace(t,function(e){return n[e]})}};t.exports=r},{}],116:[function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink&&s("87")}function a(e){r(e),(null!=e.value||null!=e.onChange)&&s("88")}function i(e){r(e),(null!=e.checked||null!=e.onChange)&&s("89")}function o(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=e("./reactProdInvariant"),l=e("./ReactPropTypesSecret"),c=e("prop-types/factory")(e("react/lib/React").isValidElement),u=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),d={value:function(e,t,n){return!e[t]||u[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:c.func},h={},p={checkPropTypes:function(e,t,n){for(var r in d){if(d.hasOwnProperty(r))var a=d[r](t,r,e,"prop",null,l);a instanceof Error&&!(a.message in h)&&(h[a.message]=!0,o(n))}},getValue:function(e){return e.valueLink?(a(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(a(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};t.exports=p},{"./ReactPropTypesSecret":156,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"prop-types/factory":75,"react/lib/React":236}],117:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),a=(e("fbjs/lib/invariant"),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e){var t=this;e instanceof t||r("25"),e.destructor(),t.instancePool.length=0||null!=t.is}function m(e){var t=e.type;p(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=e("./reactProdInvariant"),v=e("object-assign"),b=e("./AutoFocusUtils"),y=e("./CSSPropertyOperations"),x=e("./DOMLazyTree"),C=e("./DOMNamespaces"),w=e("./DOMProperty"),_=e("./DOMPropertyOperations"),k=e("./EventPluginHub"),E=e("./EventPluginRegistry"),S=e("./ReactBrowserEventEmitter"),M=e("./ReactDOMComponentFlags"),T=e("./ReactDOMComponentTree"),P=e("./ReactDOMInput"),D=e("./ReactDOMOption"),R=e("./ReactDOMSelect"),O=e("./ReactDOMTextarea"),I=(e("./ReactInstrumentation"),e("./ReactMultiChild")),A=e("./ReactServerRenderingTransaction"),N=(e("fbjs/lib/emptyFunction"),e("./escapeTextContentForBrowser")),F=(e("fbjs/lib/invariant"),e("./isEventSupported"),e("fbjs/lib/shallowEqual"),e("./inputValueTracking")),j=(e("./validateDOMNesting"),e("fbjs/lib/warning"),M),L=k.deleteListener,V=T.getNodeFromInstance,U=S.listenTo,W=E.registrationNameModules,B={string:!0,number:!0},H="__html",z={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},Y=11,q={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},G={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},K={listing:!0,pre:!0,textarea:!0},Z=v({menuitem:!0},G),Q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},J={}.hasOwnProperty,$=1;m.displayName="ReactDOMComponent",m.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=$++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(d,this);break;case"input":P.mountWrapper(this,i,t),i=P.getHostProps(this,i),e.getReactMountReady().enqueue(u,this),e.getReactMountReady().enqueue(d,this);break;case"option":D.mountWrapper(this,i,t),i=D.getHostProps(this,i);break;case"select":R.mountWrapper(this,i,t),i=R.getHostProps(this,i),e.getReactMountReady().enqueue(d,this);break;case"textarea":O.mountWrapper(this,i,t),i=O.getHostProps(this,i),e.getReactMountReady().enqueue(u,this),e.getReactMountReady().enqueue(d,this)}a(this,i);var o,h;null!=t?(o=t._namespaceURI,h=t._tag):n._tag&&(o=n._namespaceURI,h=n._tag),(null==o||o===C.svg&&"foreignobject"===h)&&(o=C.html),o===C.html&&("svg"===this._tag?o=C.svg:"math"===this._tag&&(o=C.mathml)),this._namespaceURI=o;var p;if(e.useCreateElement){var f,m=n._ownerDocument;if(o===C.html)if("script"===this._tag){var g=m.createElement("div"),v=this._currentElement.type;g.innerHTML="<"+v+">",f=g.removeChild(g.firstChild)}else f=i.is?m.createElement(this._currentElement.type,i.is):m.createElement(this._currentElement.type);else f=m.createElementNS(o,this._currentElement.type);T.precacheNode(this,f),this._flags|=j.hasCachedChildNodes,this._hostParent||_.setAttributeForRoot(f),this._updateDOMProperties(null,i,e);var y=x(f);this._createInitialChildren(e,i,r,y),p=y}else{var w=this._createOpenTagMarkupAndPutListeners(e,i),k=this._createContentMarkup(e,i,r);p=!k&&G[this._tag]?w+"/>":w+">"+k+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(l,this),i.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"select":case"button":i.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(c,this)}return p},_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(W.hasOwnProperty(r))a&&i(this,r,a,e);else{"style"===r&&(a&&(a=this._previousStyleCopy=v({},t.style)),a=y.createMarkupForStyles(a,this));var o=null;null!=this._tag&&f(this._tag,t)?z.hasOwnProperty(r)||(o=_.createMarkupForCustomAttribute(r,a)):o=_.createMarkupForProperty(r,a),o&&(n+=" "+o)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+_.createMarkupForRoot()),n+=" "+_.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",a=t.dangerouslySetInnerHTML;if(null!=a)null!=a.__html&&(r=a.__html);else{var i=B[typeof t.children]?t.children:null,o=null!=i?null:t.children;null!=i?r=N(i):null!=o&&(r=this.mountChildren(o,e,n).join(""))}return K[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&&x.queueHTML(r,a.__html);else{var i=B[typeof t.children]?t.children:null,o=null!=i?null:t.children;if(null!=i)""!==i&&x.queueText(r,i);else if(null!=o)for(var s=this.mountChildren(o,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[o()].length,a=Math.min(t.start,r),s=void 0===t.end?a:Math.min(t.end,r);if(!n.extend&&a>s){var l=s;s=a,a=l}var c=i(e,a),u=i(e,s);if(c&&u){var d=document.createRange();d.setStart(c.node,c.offset),n.removeAllRanges(),a>s?(n.addRange(d),n.extend(u.node,u.offset)):(d.setEnd(u.node,u.offset),n.addRange(d))}}}};t.exports=l},{"./getNodeForCharacterOffset":197,"./getTextContentAccessor":198,"fbjs/lib/ExecutionEnvironment":213}],135:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),a=e("object-assign"),i=e("./DOMChildrenOperations"),o=e("./DOMLazyTree"),s=e("./ReactDOMComponentTree"),l=e("./escapeTextContentForBrowser"),c=(e("fbjs/lib/invariant"),e("./validateDOMNesting"),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});a(c.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++,i=" react-text: "+a+" ";if(this._domID=a,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,u=c.createComment(i),d=c.createComment(" /react-text "),h=o(c.createDocumentFragment());return o.queueChild(h,o(u)),this._stringText&&o.queueChild(h,o(c.createTextNode(this._stringText))),o.queueChild(h,o(d)),s.precacheNode(this,u),this._closingComment=d,h}var p=l(this._stringText);return e.renderToStaticMarkup?p:"\x3c!--"+i+"--\x3e"+p+"\x3c!-- /react-text --\x3e"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this).nextSibling;;){if(null==t&&r("67",this._domID),8===t.nodeType&&" /react-text "===t.nodeValue){this._closingComment=t;break}t=t.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=c},{"./DOMChildrenOperations":101,"./DOMLazyTree":102,"./ReactDOMComponentTree":126,"./escapeTextContentForBrowser":187,"./reactProdInvariant":205,"./validateDOMNesting":211,"fbjs/lib/invariant":227,"object-assign":233}],136:[function(e,t,n){"use strict";function r(){this._rootNodeID&&u.updateWrapper(this)}function a(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return c.asap(r,this),n}var i=e("./reactProdInvariant"),o=e("object-assign"),s=e("./LinkedValueUtils"),l=e("./ReactDOMComponentTree"),c=e("./ReactUpdates"),u=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{getHostProps:function(e,t){return null!=t.dangerouslySetInnerHTML&&i("91"),o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){var n=s.getValue(t),r=n;if(null==n){var o=t.defaultValue,l=t.children;null!=l&&(null!=o&&i("92"),Array.isArray(l)&&(l.length<=1||i("93"),l=l[0]),o=""+l),null==o&&(o=""),r=o}e._wrapperState={initialValue:""+r,listeners:null,onChange:a.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=l.getNodeFromInstance(e),r=s.getValue(t);if(null!=r){var a=""+r;a!==n.value&&(n.value=a),null==t.defaultValue&&(n.defaultValue=a)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=l.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});t.exports=u},{"./LinkedValueUtils":116,"./ReactDOMComponentTree":126,"./ReactUpdates":163,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"object-assign":233}],137:[function(e,t,n){"use strict";function r(e,t){"_hostNode"in e||a("33"),"_hostNode"in t||a("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var i=0,o=t;o;o=o._hostParent)i++;for(;n-i>0;)e=e._hostParent,n--;for(;i-n>0;)t=t._hostParent,i--;for(var s=n;s--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}var a=e("./reactProdInvariant");e("fbjs/lib/invariant");t.exports={isAncestor:function(e,t){"_hostNode"in e||a("35"),"_hostNode"in t||a("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1},getLowestCommonAncestor:r,getParentInstance:function(e){return"_hostNode"in e||a("36"),e._hostParent},traverseTwoPhase:function(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var a;for(a=r.length;a-- >0;)t(r[a],"captured",n);for(a=0;a0;)n(l[c],"captured",i)}}},{"./reactProdInvariant":205,"fbjs/lib/invariant":227}],138:[function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var a=e("object-assign"),i=e("./ReactUpdates"),o=e("./Transaction"),s=e("fbjs/lib/emptyFunction"),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},c=[{initialize:s,close:i.flushBatchedUpdates.bind(i)},l];a(r.prototype,o,{getTransactionWrappers:function(){return c}});var u=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,a,i){var o=d.isBatchingUpdates;return d.isBatchingUpdates=!0,o?e(t,n,r,a,i):u.perform(e,null,t,n,r,a,i)}};t.exports=d},{"./ReactUpdates":163,"./Transaction":181,"fbjs/lib/emptyFunction":219,"object-assign":233}],139:[function(e,t,n){"use strict";var r=e("./ARIADOMPropertyConfig"),a=e("./BeforeInputEventPlugin"),i=e("./ChangeEventPlugin"),o=e("./DefaultEventPluginOrder"),s=e("./EnterLeaveEventPlugin"),l=e("./HTMLDOMPropertyConfig"),c=e("./ReactComponentBrowserEnvironment"),u=e("./ReactDOMComponent"),d=e("./ReactDOMComponentTree"),h=e("./ReactDOMEmptyComponent"),p=e("./ReactDOMTreeTraversal"),f=e("./ReactDOMTextComponent"),m=e("./ReactDefaultBatchingStrategy"),g=e("./ReactEventListener"),v=e("./ReactInjection"),b=e("./ReactReconcileTransaction"),y=e("./SVGDOMPropertyConfig"),x=e("./SelectEventPlugin"),C=e("./SimpleEventPlugin"),w=!1;t.exports={inject:function(){w||(w=!0,v.EventEmitter.injectReactEventListener(g),v.EventPluginHub.injectEventPluginOrder(o),v.EventPluginUtils.injectComponentTree(d),v.EventPluginUtils.injectTreeTraversal(p),v.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:C,EnterLeaveEventPlugin:s,ChangeEventPlugin:i,SelectEventPlugin:x,BeforeInputEventPlugin:a}),v.HostComponent.injectGenericComponentClass(u),v.HostComponent.injectTextComponentClass(f),v.DOMProperty.injectDOMPropertyConfig(r),v.DOMProperty.injectDOMPropertyConfig(l),v.DOMProperty.injectDOMPropertyConfig(y),v.EmptyComponent.injectEmptyComponentFactory(function(e){return new h(e)}),v.Updates.injectReconcileTransaction(b),v.Updates.injectBatchingStrategy(m),v.Component.injectEnvironment(c))}}},{"./ARIADOMPropertyConfig":94,"./BeforeInputEventPlugin":96,"./ChangeEventPlugin":100,"./DefaultEventPluginOrder":107,"./EnterLeaveEventPlugin":108,"./HTMLDOMPropertyConfig":114,"./ReactComponentBrowserEnvironment":120,"./ReactDOMComponent":124,"./ReactDOMComponentTree":126,"./ReactDOMEmptyComponent":128,"./ReactDOMTextComponent":135,"./ReactDOMTreeTraversal":137,"./ReactDefaultBatchingStrategy":138,"./ReactEventListener":144,"./ReactInjection":147,"./ReactReconcileTransaction":157,"./SVGDOMPropertyConfig":165,"./SelectEventPlugin":166,"./SimpleEventPlugin":167}],140:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},{}],141:[function(e,t,n){"use strict";var r,a={injectEmptyComponentFactory:function(e){r=e}},i={create:function(e){return r(e)}};i.injection=a,t.exports=i},{}],142:[function(e,t,n){"use strict";function r(e,t,n){try{t(n)}catch(e){null===a&&(a=e)}}var a=null,i={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(a){var e=a;throw a=null,e}}};t.exports=i},{}],143:[function(e,t,n){"use strict";function r(e){a.enqueueEvents(e),a.processEventQueue(!1)}var a=e("./EventPluginHub"),i={handleTopLevel:function(e,t,n,i){r(a.extractEvents(e,t,n,i))}};t.exports=i},{"./EventPluginHub":109}],144:[function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=d.getNodeFromInstance(e).parentNode;return d.getClosestInstanceFromNode(t)}function a(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=p(e.nativeEvent),n=d.getClosestInstanceFromNode(t),a=n;do{e.ancestors.push(a),a=a&&r(a)}while(a);for(var i=0;i/,i=/^<\!\-\-/,o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(a," "+o.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(o.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};t.exports=o},{"./adler32":184}],152:[function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r.":"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 o,s=g.createElement(L,{child:t});if(e){var l=w.get(e);o=l._processChildContext(l._context)}else o=M;var u=h(n);if(u){var d=u._currentElement.props.child;if(D(d,t)){var f=u._renderedComponent.getPublicInstance(),m=r&&function(){r.call(f)};return V._updateRootComponent(u,s,o,n,m),f}V.unmountComponentAtNode(n)}var v=a(n),b=v&&!!i(v),y=c(n),x=b&&!u&&!y,C=V._renderNewRootComponent(s,n,x,o)._renderedComponent.getPublicInstance();return r&&r.call(C),C},render:function(e,t,n){return V._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){u(e)||p("40");var t=h(e);return t?(delete F[t._instance.rootID],S.batchedUpdates(l,t,e,!1),!0):(c(e),1===e.nodeType&&e.hasAttribute(O),!1)},_mountImageIntoNode:function(e,t,n,i,o){if(u(t)||p("41"),i){var s=a(t);if(_.canReuseMarkup(e,s))return void b.precacheNode(n,s);var l=s.getAttribute(_.CHECKSUM_ATTR_NAME);s.removeAttribute(_.CHECKSUM_ATTR_NAME);var c=s.outerHTML;s.setAttribute(_.CHECKSUM_ATTR_NAME,l);var d=e,h=r(d,c),m=" (client) "+d.substring(h-20,h+20)+"\n (server) "+c.substring(h-20,h+20);t.nodeType===A&&p("42",m)}if(t.nodeType===A&&p("43"),o.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);f.insertTreeBefore(t,e,null)}else P(t,e),b.precacheNode(n,t.firstChild)}};t.exports=V},{"./DOMLazyTree":102,"./DOMProperty":104,"./ReactBrowserEventEmitter":118,"./ReactDOMComponentTree":126,"./ReactDOMContainerInfo":127,"./ReactDOMFeatureFlags":129,"./ReactFeatureFlags":145,"./ReactInstanceMap":149,"./ReactInstrumentation":150,"./ReactMarkupChecksum":151,"./ReactReconciler":158,"./ReactUpdateQueue":162,"./ReactUpdates":163,"./instantiateReactComponent":201,"./reactProdInvariant":205,"./setInnerHTML":207,"./shouldUpdateReactComponent":209,"fbjs/lib/emptyObject":220,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"react/lib/React":236,"react/lib/ReactCurrentOwner":239}],153:[function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function a(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:h.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function o(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function l(e,t){return t&&(e=e||[]).push(t),e}function c(e,t){d.processChildrenUpdates(e,t)}var u=e("./reactProdInvariant"),d=e("./ReactComponentEnvironment"),h=(e("./ReactInstanceMap"),e("./ReactInstrumentation"),e("react/lib/ReactCurrentOwner"),e("./ReactReconciler")),p=e("./ReactChildReconciler"),f=(e("fbjs/lib/emptyFunction"),e("./flattenChildren")),m=(e("fbjs/lib/invariant"),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return p.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,a,i){var o;return o=f(t,0),p.updateChildren(e,o,n,r,a,this,this._hostContainerInfo,i,0),o},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var a=[],i=0;for(var o in r)if(r.hasOwnProperty(o)){var s=r[o],l=h.mountComponent(s,t,this,this._hostContainerInfo,n,0);s._mountIndex=i++,a.push(l)}return a},updateTextContent:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&u("118");c(this,[s(e)])},updateMarkup:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&u("118");c(this,[o(e)])},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,a={},i=[],o=this._reconcilerUpdateChildren(r,e,i,a,t,n);if(o||r){var s,u=null,d=0,p=0,f=0,m=null;for(s in o)if(o.hasOwnProperty(s)){var g=r&&r[s],v=o[s];g===v?(u=l(u,this.moveChild(g,m,d,p)),p=Math.max(g._mountIndex,p),g._mountIndex=d):(g&&(p=Math.max(g._mountIndex,p)),u=l(u,this._mountChildAtIndex(v,i[f],m,d,t,n)),f++),d++,m=h.getHostNode(v)}for(s in a)a.hasOwnProperty(s)&&(u=l(u,this._unmountChild(r[s],a[s])));u&&c(this,u),this._renderedChildren=o}},unmountChildren:function(e){var t=this._renderedChildren;p.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);return n||null}var o=e("./reactProdInvariant"),s=(e("react/lib/ReactCurrentOwner"),e("./ReactInstanceMap")),l=(e("./ReactInstrumentation"),e("./ReactUpdates")),c=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){c.validateCallback(t,n);var a=i(e);if(!a)return null;a._pendingCallbacks?a._pendingCallbacks.push(t):a._pendingCallbacks=[t],r(a)},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e);t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var a=i(e);a&&(a._pendingStateQueue=[t],a._pendingReplaceState=!0,void 0!==n&&null!==n&&(c.validateCallback(n,"replaceState"),a._pendingCallbacks?a._pendingCallbacks.push(n):a._pendingCallbacks=[n]),r(a))},enqueueSetState:function(e,t){var n=i(e);n&&((n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n))},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&o("122",t,a(e))}});t.exports=c},{"./ReactInstanceMap":149,"./ReactInstrumentation":150,"./ReactUpdates":163,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"react/lib/ReactCurrentOwner":239}],163:[function(e,t,n){"use strict";function r(){_.ReactReconcileTransaction&&x||l("123")}function a(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=u.getPooled(),this.reconcileTransaction=_.ReactReconcileTransaction.getPooled(!0)}function i(e,t){return e._mountOrder-t._mountOrder}function o(e){var t=e.dirtyComponentsLength;t!==g.length&&l("124",t,g.length),g.sort(i),v++;for(var n=0;n]/;t.exports=function(e){return"boolean"==typeof e||"number"==typeof e?""+e:r(e)}},{}],188:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),a=(e("react/lib/ReactCurrentOwner"),e("./ReactDOMComponentTree")),i=e("./ReactInstanceMap"),o=e("./getHostComponentFromComposite");e("fbjs/lib/invariant"),e("fbjs/lib/warning");t.exports=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=i.get(e);if(t)return(t=o(t))?a.getNodeFromInstance(t):null;"function"==typeof e.render?r("44"):r("45",Object.keys(e))}},{"./ReactDOMComponentTree":126,"./ReactInstanceMap":149,"./getHostComponentFromComposite":195,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"react/lib/ReactCurrentOwner":239}],189:[function(e,t,n){(function(n){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var a=e;void 0===a[n]&&null!=t&&(a[n]=t)}}e("./KeyEscapeUtils");var a=e("./traverseAllChildren");e("fbjs/lib/warning");void 0!==n&&n.env,t.exports=function(e,t){if(null==e)return e;var n={};return a(e,r,n),n}}).call(this,e("_process"))},{"./KeyEscapeUtils":115,"./traverseAllChildren":210,_process:73,"fbjs/lib/warning":232}],190:[function(e,t,n){"use strict";t.exports=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}},{}],191:[function(e,t,n){"use strict";t.exports=function(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}},{}],192:[function(e,t,n){"use strict";var r=e("./getEventCharCode"),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=function(e){if(e.key){var t=a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=r(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}},{"./getEventCharCode":191}],193:[function(e,t,n){"use strict";function r(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=a[e];return!!n&&!!t[n]}var a={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=function(e){return r}},{}],194:[function(e,t,n){"use strict";t.exports=function(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}},{}],195:[function(e,t,n){"use strict";var r=e("./ReactNodeTypes");t.exports=function(e){for(var t;(t=e._renderedNodeType)===r.COMPOSITE;)e=e._renderedComponent;return t===r.HOST?e._renderedComponent:t===r.EMPTY?null:void 0}},{"./ReactNodeTypes":154}],196:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.iterator,a="@@iterator";t.exports=function(e){var t=e&&(r&&e[r]||e[a]);if("function"==typeof t)return t}},{}],197:[function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function a(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}t.exports=function(e,t){for(var n=r(e),i=0,o=0;n;){if(3===n.nodeType){if(o=i+n.textContent.length,i<=t&&o>=t)return{node:n,offset:t-i};i=o}n=r(a(n))}}},{}],198:[function(e,t,n){"use strict";var r=e("fbjs/lib/ExecutionEnvironment"),a=null;t.exports=function(){return!a&&r.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}},{"fbjs/lib/ExecutionEnvironment":213}],199:[function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}var a=e("fbjs/lib/ExecutionEnvironment"),i={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},o={},s={};a.canUseDOM&&(s=document.createElement("div").style,"AnimationEvent"in window||(delete i.animationend.animation,delete i.animationiteration.animation,delete i.animationstart.animation),"TransitionEvent"in window||delete i.transitionend.transition),t.exports=function(e){if(o[e])return o[e];if(!i[e])return e;var t=i[e];for(var n in t)if(t.hasOwnProperty(n)&&n in s)return o[e]=t[n];return""}},{"fbjs/lib/ExecutionEnvironment":213}],200:[function(e,t,n){"use strict";function r(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function a(e){return e._wrapperState.valueTracker}function i(e,t){e._wrapperState.valueTracker=t}function o(e){e._wrapperState.valueTracker=null}function s(e){var t;return e&&(t=r(e)?""+e.checked:e.value),t}var l=e("./ReactDOMComponentTree"),c={_getTrackerFromNode:function(e){return a(l.getInstanceFromNode(e))},track:function(e){if(!a(e)){var t=l.getNodeFromInstance(e),n=r(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),c=""+t[n];t.hasOwnProperty(n)||"function"!=typeof s.get||"function"!=typeof s.set||(Object.defineProperty(t,n,{enumerable:s.enumerable,configurable:!0,get:function(){return s.get.call(this)},set:function(e){c=""+e,s.set.call(this,e)}}),i(e,{getValue:function(){return c},setValue:function(e){c=""+e},stopTracking:function(){o(e),delete t[n]}}))}},updateValueIfChanged:function(e){if(!e)return!1;var t=a(e);if(!t)return c.track(e),!0;var n=t.getValue(),r=s(l.getNodeFromInstance(e));return r!==n&&(t.setValue(r),!0)},stopTracking:function(e){var t=a(e);t&&t.stopTracking()}};t.exports=c},{"./ReactDOMComponentTree":126}],201:[function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function a(e){return"function"==typeof e&&void 0!==e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||!1===e)n=c.create(i);else if("object"==typeof e){var s=e,l=s.type;if("function"!=typeof l&&"string"!=typeof l){var h="";h+=r(s._owner),o("130",null==l?l:typeof l,h)}"string"==typeof s.type?n=u.createInternalComponent(s):a(s.type)?(n=new s.type(s)).getHostNode||(n.getHostNode=n.getNativeNode):n=new d(s)}else"string"==typeof e||"number"==typeof e?n=u.createInstanceForText(e):o("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var o=e("./reactProdInvariant"),s=e("object-assign"),l=e("./ReactCompositeComponent"),c=e("./ReactEmptyComponent"),u=e("./ReactHostComponent"),d=(e("react/lib/getNextDebugID"),e("fbjs/lib/invariant"),e("fbjs/lib/warning"),function(e){this.construct(e)});s(d.prototype,l,{_instantiateReactComponent:i}),t.exports=i},{"./ReactCompositeComponent":122,"./ReactEmptyComponent":141,"./ReactHostComponent":146,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"object-assign":233,"react/lib/getNextDebugID":249}],202:[function(e,t,n){"use strict";var r,a=e("fbjs/lib/ExecutionEnvironment");a.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=function(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var o=document.createElement("div");o.setAttribute(n,"return;"),i="function"==typeof o[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},{"fbjs/lib/ExecutionEnvironment":213}],203:[function(e,t,n){"use strict";var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}},{}],204:[function(e,t,n){"use strict";var r=e("./escapeTextContentForBrowser");t.exports=function(e){return'"'+r(e)+'"'}},{"./escapeTextContentForBrowser":187}],205:[function(e,t,n){"use strict";t.exports=function(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r]/,l=e("./createMicrosoftUnsafeLocalFunction")(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{(r=r||document.createElement("div")).innerHTML=""+t+"";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),o.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":103,"./createMicrosoftUnsafeLocalFunction":185,"fbjs/lib/ExecutionEnvironment":213}],208:[function(e,t,n){"use strict";var r=e("fbjs/lib/ExecutionEnvironment"),a=e("./escapeTextContentForBrowser"),i=e("./setInnerHTML"),o=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||(o=function(e,t){3!==e.nodeType?i(e,a(t)):e.nodeValue=t})),t.exports=o},{"./escapeTextContentForBrowser":187,"./setInnerHTML":207,"fbjs/lib/ExecutionEnvironment":213}],209:[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,i=typeof t;return"string"===a||"number"===a?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}},{}],210:[function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function a(e,t,n,d){var h=typeof e;if("undefined"!==h&&"boolean"!==h||(e=null),null===e||"string"===h||"number"===h||"object"===h&&e.$$typeof===o)return n(d,e,""===t?c+r(e,0):t),1;var p,f=0,m=""===t?c:t+u;if(Array.isArray(e))for(var g=0;g',""],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,o[e]=!0}),t.exports=function(e){return i||a(!1),d.hasOwnProperty(e)||(e="*"),o.hasOwnProperty(e)||(i.innerHTML="*"===e?"":"<"+e+">",o[e]=!i.firstChild),o[e]?d[e]:null}},{"./ExecutionEnvironment":213,"./invariant":227}],224:[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}}},{}],225:[function(e,t,n){"use strict";var r=/([A-Z])/g;t.exports=function(e){return e.replace(r,"-$1").toLowerCase()}},{}],226:[function(e,t,n){"use strict";var r=e("./hyphenate"),a=/^ms-/;t.exports=function(e){return r(e).replace(a,"-ms-")}},{"./hyphenate":225}],227:[function(e,t,n){"use strict";var r=function(e){};t.exports=function(e,t,n,a,i,o,s,l){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,a,i,o,s,l],d=0;(c=new Error(t.replace(/%s/g,function(){return u[d++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},{}],228:[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))}},{}],229:[function(e,t,n){"use strict";var r=e("./isNode");t.exports=function(e){return r(e)&&3==e.nodeType}},{"./isNode":228}],230:[function(e,t,n){"use strict";t.exports=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}},{}],231:[function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}var a=Object.prototype.hasOwnProperty;t.exports=function(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=0;o1){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]); From d01d03f21d1c83a8126373400da6f475eba7c65a Mon Sep 17 00:00:00 2001 From: Kyle Dodson Date: Tue, 28 Aug 2018 21:19:53 -0700 Subject: [PATCH 3/3] Add watchify and update JS dependencies --- App/.babelrc | 7 +- App/.eslintrc.json | 2 +- App/package-lock.json | 5782 +++++++++++++++++---------------- App/package.json | 32 +- OrleansDashboard/index.min.js | 2 +- 5 files changed, 3015 insertions(+), 2810 deletions(-) diff --git a/App/.babelrc b/App/.babelrc index 05786794..8ddc2268 100644 --- a/App/.babelrc +++ b/App/.babelrc @@ -1,3 +1,8 @@ { - "presets": ["react", "es2015"] + "presets": [ + ["@babel/preset-env", { + "modules": false + }], + "@babel/preset-react" + ] } diff --git a/App/.eslintrc.json b/App/.eslintrc.json index f2cc328c..2c9657a2 100644 --- a/App/.eslintrc.json +++ b/App/.eslintrc.json @@ -5,8 +5,8 @@ }, "extends": "eslint:recommended", "parserOptions": { + "ecmaVersion": 2018, "ecmaFeatures": { - "experimentalObjectRestSpread": true, "jsx": true } }, diff --git a/App/package-lock.json b/App/package-lock.json index d5bf7cdd..dd2cbb9f 100644 --- a/App/package-lock.json +++ b/App/package-lock.json @@ -4,1331 +4,1047 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "JSONStream": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.3.tgz", - "integrity": "sha512-3Sp6WZZ/lXl+nTDoGpGWHEpTnnC6X5fnkolYZR6nwIfzbxxvA8utPWe1gCt7i0m9uVGsSz2IS8K8mJ7HmlduMg==", + "@babel/code-frame": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", + "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", "dev": true, "requires": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" + "@babel/highlight": "7.0.0" } }, - "acorn": { - "version": "4.0.13", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", - "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", - "dev": true + "@babel/core": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.0.0.tgz", + "integrity": "sha512-nrvxS5u6QUN5gLl1GEakIcmOeoUHT1/gQtdMRq18WFURJ5osn4ppJLVSseMQo4zVWKJfBTF4muIYijXUnKlRLQ==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0", + "@babel/generator": "7.0.0", + "@babel/helpers": "7.0.0", + "@babel/parser": "7.0.0", + "@babel/template": "7.0.0", + "@babel/traverse": "7.0.0", + "@babel/types": "7.0.0", + "convert-source-map": "1.5.1", + "debug": "3.1.0", + "json5": "0.5.1", + "lodash": "4.17.10", + "resolve": "1.8.1", + "semver": "5.5.1", + "source-map": "0.5.7" + } }, - "acorn-jsx": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", - "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", + "@babel/generator": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0.tgz", + "integrity": "sha512-/BM2vupkpbZXq22l1ALO7MqXJZH2k8bKVv8Y+pABFnzWdztDB/ZLveP5At21vLz5c2YtSE6p7j2FZEsqafMz5Q==", "dev": true, "requires": { - "acorn": "^3.0.4" - }, - "dependencies": { - "acorn": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", - "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", - "dev": true - } + "@babel/types": "7.0.0", + "jsesc": "2.5.1", + "lodash": "4.17.10", + "source-map": "0.5.7", + "trim-right": "1.0.1" } }, - "acorn-node": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.3.0.tgz", - "integrity": "sha512-efP54n3d1aLfjL2UMdaXa6DsswwzJeI5rqhbFvXMrKiJ6eJFpf+7R0zN7t8IC+XKn2YOAFAv6xbBNgHUkoHWLw==", + "@babel/helper-annotate-as-pure": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz", + "integrity": "sha512-3UYcJUj9kvSLbLbUIfQTqzcy5VX7GRZ/CCDrnOaZorFFM01aXp1+GJwuFGV4NDDoAS+mOUyHcO6UD/RfqOks3Q==", "dev": true, "requires": { - "acorn": "^5.4.1", - "xtend": "^4.0.1" - }, - "dependencies": { - "acorn": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.6.2.tgz", - "integrity": "sha512-zUzo1E5dI2Ey8+82egfnttyMlMZ2y0D8xOCO3PNPPlYXpl8NZvF6Qk9L9BEtJs+43FqEmfBViDqc5d1ckRDguw==", - "dev": true - } + "@babel/types": "7.0.0" } }, - "ajv": { - "version": "5.5.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", - "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.0.0.tgz", + "integrity": "sha512-9HdU8lrAc4FUZOy+y2w//kUhynSpkGIRYDzJW1oKJx7+v8m6UEAbAd2tSvxirsq2kJTXJZZS6Eo8FnUDUH0ZWw==", "dev": true, "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.3.0" + "@babel/helper-explode-assignable-expression": "7.0.0", + "@babel/types": "7.0.0" } }, - "ajv-keywords": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz", - "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=", - "dev": true + "@babel/helper-builder-react-jsx": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.0.0.tgz", + "integrity": "sha512-ebJ2JM6NAKW0fQEqN8hOLxK84RbRz9OkUhGS/Xd5u56ejMfVbayJ4+LykERZCOUM6faa6Fp3SZNX3fcT16MKHw==", + "dev": true, + "requires": { + "@babel/types": "7.0.0", + "esutils": "2.0.2" + } }, - "ansi-escapes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", - "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", - "dev": true + "@babel/helper-call-delegate": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.0.0.tgz", + "integrity": "sha512-HdYG6vr4KgXHK0q1QRZ8guoYCF5rZjIdPlhcVY+j4EBK/FDR+cXRM5/6lQr3NIWDc7dO1KfgjG5rfH6lM89VBw==", + "dev": true, + "requires": { + "@babel/helper-hoist-variables": "7.0.0", + "@babel/traverse": "7.0.0", + "@babel/types": "7.0.0" + } }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true + "@babel/helper-define-map": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.0.0.tgz", + "integrity": "sha512-acbCxYS9XufWxsBiclmXMK1CFz7en/XSYvHFcbb3Jb8BqjFEBrA46WlIsoSQTRG/eYN60HciUnzdyQxOZhrHfw==", + "dev": true, + "requires": { + "@babel/helper-function-name": "7.0.0", + "@babel/types": "7.0.0", + "lodash": "4.17.10" + } }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true + "@babel/helper-explode-assignable-expression": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.0.0.tgz", + "integrity": "sha512-5gLPwdDnYf8GfPsjS+UmZUtYE1jaXTFm1P+ymGobqvXbA0q3ANgpH60+C6zDrRAWXYbQXYvzzQC/r0gJVNNltQ==", + "dev": true, + "requires": { + "@babel/traverse": "7.0.0", + "@babel/types": "7.0.0" + } }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "@babel/helper-function-name": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0.tgz", + "integrity": "sha512-Zo+LGvfYp4rMtz84BLF3bavFTdf8y4rJtMPTe2J+rxYmnDOIeH8le++VFI/pRJU+rQhjqiXxE4LMaIau28Tv1Q==", "dev": true, "requires": { - "sprintf-js": "~1.0.2" + "@babel/helper-get-function-arity": "7.0.0", + "@babel/template": "7.0.0", + "@babel/types": "7.0.0" } }, - "array-filter": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz", - "integrity": "sha1-fajPLiZijtcygDWB/SH2fKzS7uw=", - "dev": true + "@babel/helper-get-function-arity": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz", + "integrity": "sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==", + "dev": true, + "requires": { + "@babel/types": "7.0.0" + } }, - "array-includes": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", - "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", + "@babel/helper-hoist-variables": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.0.0.tgz", + "integrity": "sha512-Ggv5sldXUeSKsuzLkddtyhyHe2YantsxWKNi7A+7LeD12ExRDWTRk29JCXpaHPAbMaIPZSil7n+lq78WY2VY7w==", "dev": true, "requires": { - "define-properties": "^1.1.2", - "es-abstract": "^1.7.0" + "@babel/types": "7.0.0" } }, - "array-map": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz", - "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=", - "dev": true + "@babel/helper-member-expression-to-functions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.0.0.tgz", + "integrity": "sha512-avo+lm/QmZlv27Zsi0xEor2fKcqWG56D5ae9dzklpIaY7cQMK5N8VSpaNVPPagiqmy7LrEjK1IWdGMOqPu5csg==", + "dev": true, + "requires": { + "@babel/types": "7.0.0" + } }, - "array-reduce": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz", - "integrity": "sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=", - "dev": true + "@babel/helper-module-imports": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz", + "integrity": "sha512-aP/hlLq01DWNEiDg4Jn23i+CXxW/owM4WpDLFUbpjxe4NS3BhLVZQ5i7E0ZrxuQ/vwekIeciyamgB1UIYxxM6A==", + "dev": true, + "requires": { + "@babel/types": "7.0.0" + } }, - "array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "@babel/helper-module-transforms": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.0.0.tgz", + "integrity": "sha512-QdwmTTlPmT7TZcf30dnqm8pem+o48tVt991xXogE5CQCwqSpWKuzH2E9v8VWeccQ66a6/CmrLZ+bwp66JYeM5A==", "dev": true, "requires": { - "array-uniq": "^1.0.1" + "@babel/helper-module-imports": "7.0.0", + "@babel/helper-simple-access": "7.0.0", + "@babel/helper-split-export-declaration": "7.0.0", + "@babel/template": "7.0.0", + "@babel/types": "7.0.0", + "lodash": "4.17.10" } }, - "array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "dev": true + "@babel/helper-optimise-call-expression": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0.tgz", + "integrity": "sha512-u8nd9NQePYNQV8iPWu/pLLYBqZBa4ZaY1YWRFMuxrid94wKI1QNt67NEZ7GAe5Kc/0LLScbim05xZFWkAdrj9g==", + "dev": true, + "requires": { + "@babel/types": "7.0.0" + } }, - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "@babel/helper-plugin-utils": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz", + "integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==", "dev": true }, - "asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", + "@babel/helper-regex": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.0.0.tgz", + "integrity": "sha512-TR0/N0NDCcUIUEbqV6dCO+LptmmSQFQ7q70lfcEB4URsjD0E1HzicrwUH+ap6BAQ2jhCX9Q4UqZy4wilujWlkg==", + "dev": true, + "requires": { + "lodash": "4.17.10" + } + }, + "@babel/helper-remap-async-to-generator": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.0.0.tgz", + "integrity": "sha512-3o4sYLOsK6m0A7t1P0saTanBPmk5MAlxVnp9773Of4L8PMVLukU7loZix5KoJgflxSo2c2ETTzseptc0rQEp7A==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "7.0.0", + "@babel/helper-wrap-function": "7.0.0", + "@babel/template": "7.0.0", + "@babel/traverse": "7.0.0", + "@babel/types": "7.0.0" + } + }, + "@babel/helper-replace-supers": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.0.0.tgz", + "integrity": "sha512-fsSv7VogxzMSmGch6DwhKHGsciVXo7hbfhBgH9ZrgJMXKMjO7ASQTUfbVL7MU1uCfviyqjucazGK7TWPT9weuQ==", + "dev": true, + "requires": { + "@babel/helper-member-expression-to-functions": "7.0.0", + "@babel/helper-optimise-call-expression": "7.0.0", + "@babel/traverse": "7.0.0", + "@babel/types": "7.0.0" + } + }, + "@babel/helper-simple-access": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.0.0.tgz", + "integrity": "sha512-CNeuX52jbQSq4j1n+R+21xrjbTjsnXa9n1aERbgHRD/p9h4Udkxr1n24yPMQmnTETHdnQDvkVSYWFw/ETAymYg==", + "dev": true, + "requires": { + "@babel/template": "7.0.0", + "@babel/types": "7.0.0" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0.tgz", + "integrity": "sha512-MXkOJqva62dfC0w85mEf/LucPPS/1+04nmmRMPEBUB++hiiThQ2zPtX/mEWQ3mtzCEjIJvPY8nuwxXtQeQwUag==", + "dev": true, + "requires": { + "@babel/types": "7.0.0" + } + }, + "@babel/helper-wrap-function": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.0.0.tgz", + "integrity": "sha512-kjprWPDNVPZ/9pyLRXcZBvfjnFwqokmXTPTaC4AV8Ns7WRl7ewSxrB19AWZzQsC/WSPQLOw1ciR8uPYkAM1znA==", + "dev": true, + "requires": { + "@babel/helper-function-name": "7.0.0", + "@babel/template": "7.0.0", + "@babel/traverse": "7.0.0", + "@babel/types": "7.0.0" + } + }, + "@babel/helpers": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.0.0.tgz", + "integrity": "sha512-jbvgR8iLZPnyk6m/UqdXYsSxbVtRi7Pd3CzB4OPwPBnmhNG1DWjiiy777NTuoyIcniszK51R40L5pgfXAfHDtw==", + "dev": true, + "requires": { + "@babel/template": "7.0.0", + "@babel/traverse": "7.0.0", + "@babel/types": "7.0.0" + } + }, + "@babel/highlight": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz", + "integrity": "sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw==", + "dev": true, + "requires": { + "chalk": "2.4.1", + "esutils": "2.0.2", + "js-tokens": "4.0.0" + } + }, + "@babel/parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0.tgz", + "integrity": "sha512-RgJhNdRinpO8zibnoHbzTTexNs4c8ROkXFBanNDZTLHjwbdLk8J5cJSKulx/bycWTLYmKVNCkxRtVCoJnqPk+g==", "dev": true }, - "asn1.js": { - "version": "4.10.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", - "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", + "@babel/plugin-proposal-async-generator-functions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0.tgz", + "integrity": "sha512-QsXmmjLrFADCcDQAfdQn7tfBRLjpTzRWaDpKpW4ZXW1fahPG4SvjcF1xfvVnXGC662RSExYXL+6DAqbtgqMXeA==", "dev": true, "requires": { - "bn.js": "^4.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-remap-async-to-generator": "7.0.0", + "@babel/plugin-syntax-async-generators": "7.0.0" } }, - "assert": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", - "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", + "@babel/plugin-proposal-json-strings": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.0.0.tgz", + "integrity": "sha512-kfVdUkIAGJIVmHmtS/40i/fg/AGnw/rsZBCaapY5yjeO5RA9m165Xbw9KMOu2nqXP5dTFjEjHdfNdoVcHv133Q==", "dev": true, "requires": { - "util": "0.10.3" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", - "dev": true - }, - "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "dev": true, - "requires": { - "inherits": "2.0.1" - } - } + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-syntax-json-strings": "7.0.0" } }, - "astw": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/astw/-/astw-2.2.0.tgz", - "integrity": "sha1-e9QXhNMkk5h66yOba04cV6hzuRc=", + "@babel/plugin-proposal-object-rest-spread": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0.tgz", + "integrity": "sha512-14fhfoPcNu7itSen7Py1iGN0gEm87hX/B+8nZPqkdmANyyYWYMY2pjA3r8WXbWVKMzfnSNS0xY8GVS0IjXi/iw==", "dev": true, "requires": { - "acorn": "^4.0.3" + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-syntax-object-rest-spread": "7.0.0" } }, - "babel-code-frame": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", - "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "@babel/plugin-proposal-optional-catch-binding": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.0.0.tgz", + "integrity": "sha512-JPqAvLG1s13B/AuoBjdBYvn38RqW6n1TzrQO839/sIpqLpbnXKacsAgpZHzLD83Sm8SDXMkkrAvEnJ25+0yIpw==", "dev": true, "requires": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" - }, - "dependencies": { - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "dev": true, - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "dev": true - } + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-syntax-optional-catch-binding": "7.0.0" } }, - "babel-preset-es2015": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz", - "integrity": "sha1-1EBQ1rwsn+6nAqrzjXJ6AhBTiTk=", - "dev": true, - "requires": { - "babel-plugin-check-es2015-constants": "^6.22.0", - "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", - "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", - "babel-plugin-transform-es2015-block-scoping": "^6.24.1", - "babel-plugin-transform-es2015-classes": "^6.24.1", - "babel-plugin-transform-es2015-computed-properties": "^6.24.1", - "babel-plugin-transform-es2015-destructuring": "^6.22.0", - "babel-plugin-transform-es2015-duplicate-keys": "^6.24.1", - "babel-plugin-transform-es2015-for-of": "^6.22.0", - "babel-plugin-transform-es2015-function-name": "^6.24.1", - "babel-plugin-transform-es2015-literals": "^6.22.0", - "babel-plugin-transform-es2015-modules-amd": "^6.24.1", - "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", - "babel-plugin-transform-es2015-modules-systemjs": "^6.24.1", - "babel-plugin-transform-es2015-modules-umd": "^6.24.1", - "babel-plugin-transform-es2015-object-super": "^6.24.1", - "babel-plugin-transform-es2015-parameters": "^6.24.1", - "babel-plugin-transform-es2015-shorthand-properties": "^6.24.1", - "babel-plugin-transform-es2015-spread": "^6.22.0", - "babel-plugin-transform-es2015-sticky-regex": "^6.24.1", - "babel-plugin-transform-es2015-template-literals": "^6.22.0", - "babel-plugin-transform-es2015-typeof-symbol": "^6.22.0", - "babel-plugin-transform-es2015-unicode-regex": "^6.24.1", - "babel-plugin-transform-regenerator": "^6.24.1" - }, - "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true - }, - "babel-code-frame": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", - "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", - "dev": true, - "requires": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" - } - }, - "babel-helper-call-delegate": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", - "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", - "dev": true, - "requires": { - "babel-helper-hoist-variables": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "babel-helper-define-map": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", - "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", - "dev": true, - "requires": { - "babel-helper-function-name": "^6.24.1", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "lodash": "^4.17.4" - } - }, - "babel-helper-function-name": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", - "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", - "dev": true, - "requires": { - "babel-helper-get-function-arity": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "babel-helper-get-function-arity": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", - "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "babel-helper-hoist-variables": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", - "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "babel-helper-optimise-call-expression": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", - "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "babel-helper-regex": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", - "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "lodash": "^4.17.4" - } - }, - "babel-helper-replace-supers": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", - "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", - "dev": true, - "requires": { - "babel-helper-optimise-call-expression": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "babel-messages": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", - "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-check-es2015-constants": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", - "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-es2015-arrow-functions": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", - "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-es2015-block-scoped-functions": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", - "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-es2015-block-scoping": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", - "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "lodash": "^4.17.4" - } - }, - "babel-plugin-transform-es2015-classes": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", - "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", - "dev": true, - "requires": { - "babel-helper-define-map": "^6.24.1", - "babel-helper-function-name": "^6.24.1", - "babel-helper-optimise-call-expression": "^6.24.1", - "babel-helper-replace-supers": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "babel-plugin-transform-es2015-computed-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", - "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "babel-plugin-transform-es2015-destructuring": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", - "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-es2015-duplicate-keys": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", - "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "babel-plugin-transform-es2015-for-of": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", - "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-es2015-function-name": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", - "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", - "dev": true, - "requires": { - "babel-helper-function-name": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "babel-plugin-transform-es2015-literals": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", - "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-es2015-modules-amd": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", - "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", - "dev": true, - "requires": { - "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "babel-plugin-transform-es2015-modules-commonjs": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz", - "integrity": "sha1-DYOUApt9xqvhqX7xgeAHWN0uXYo=", - "dev": true, - "requires": { - "babel-plugin-transform-strict-mode": "^6.24.1", - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-types": "^6.26.0" - } - }, - "babel-plugin-transform-es2015-modules-systemjs": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", - "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", - "dev": true, - "requires": { - "babel-helper-hoist-variables": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "babel-plugin-transform-es2015-modules-umd": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", - "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", - "dev": true, - "requires": { - "babel-plugin-transform-es2015-modules-amd": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "babel-plugin-transform-es2015-object-super": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", - "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", - "dev": true, - "requires": { - "babel-helper-replace-supers": "^6.24.1", - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-es2015-parameters": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", - "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", - "dev": true, - "requires": { - "babel-helper-call-delegate": "^6.24.1", - "babel-helper-get-function-arity": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "babel-plugin-transform-es2015-shorthand-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", - "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "babel-plugin-transform-es2015-spread": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", - "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-es2015-sticky-regex": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", - "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", - "dev": true, - "requires": { - "babel-helper-regex": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "babel-plugin-transform-es2015-template-literals": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", - "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-es2015-typeof-symbol": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", - "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-es2015-unicode-regex": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", - "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", - "dev": true, - "requires": { - "babel-helper-regex": "^6.24.1", - "babel-runtime": "^6.22.0", - "regexpu-core": "^2.0.0" - } - }, - "babel-plugin-transform-regenerator": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", - "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", - "dev": true, - "requires": { - "regenerator-transform": "^0.10.0" - } - }, - "babel-plugin-transform-strict-mode": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", - "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "dev": true, - "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - } - }, - "babel-template": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", - "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "lodash": "^4.17.4" - } - }, - "babel-traverse": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", - "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", - "dev": true, - "requires": { - "babel-code-frame": "^6.26.0", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "debug": "^2.6.8", - "globals": "^9.18.0", - "invariant": "^2.2.2", - "lodash": "^4.17.4" - } - }, - "babel-types": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", - "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "esutils": "^2.0.2", - "lodash": "^4.17.4", - "to-fast-properties": "^1.0.3" - } - }, - "babylon": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", - "dev": true - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "dev": true, - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, - "core-js": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz", - "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs=", - "dev": true - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", - "dev": true - }, - "globals": { - "version": "9.18.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", - "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", - "dev": true - }, - "has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "invariant": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", - "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=", - "dev": true, - "requires": { - "loose-envify": "^1.0.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true - }, - "jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "dev": true - }, - "lodash": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", - "dev": true - }, - "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "dev": true, - "requires": { - "js-tokens": "^3.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "private": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", - "dev": true - }, - "regenerate": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.3.tgz", - "integrity": "sha512-jVpo1GadrDAK59t/0jRx5VxYWQEDkkEKi6+HjE3joFVLfDOh9Xrdh0dF1eSq+BI/SwvTQ44gSscJ8N5zYL61sg==", - "dev": true - }, - "regenerator-runtime": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz", - "integrity": "sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A==", - "dev": true - }, - "regenerator-transform": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", - "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", - "dev": true, - "requires": { - "babel-runtime": "^6.18.0", - "babel-types": "^6.19.0", - "private": "^0.1.6" - } - }, - "regexpu-core": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", - "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", - "dev": true, - "requires": { - "regenerate": "^1.2.1", - "regjsgen": "^0.2.0", - "regjsparser": "^0.1.4" - } - }, - "regjsgen": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", - "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", - "dev": true - }, - "regjsparser": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", - "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", - "dev": true, - "requires": { - "jsesc": "~0.5.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "@babel/plugin-proposal-unicode-property-regex": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.0.0.tgz", + "integrity": "sha512-tM3icA6GhC3ch2SkmSxv7J/hCWKISzwycub6eGsDrFDgukD4dZ/I+x81XgW0YslS6mzNuQ1Cbzh5osjIMgepPQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-regex": "7.0.0", + "regexpu-core": "4.2.0" + } + }, + "@babel/plugin-syntax-async-generators": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.0.0.tgz", + "integrity": "sha512-im7ged00ddGKAjcZgewXmp1vxSZQQywuQXe2B1A7kajjZmDeY/ekMPmWr9zJgveSaQH0k7BcGrojQhcK06l0zA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.0.0.tgz", + "integrity": "sha512-UlSfNydC+XLj4bw7ijpldc1uZ/HB84vw+U6BTuqMdIEmz/LDe63w/GHtpQMdXWdqQZFeAI9PjnHe/vDhwirhKA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-syntax-jsx": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0.tgz", + "integrity": "sha512-PdmL2AoPsCLWxhIr3kG2+F9v4WH06Q3z+NoGVpQgnUNGcagXHq5sB3OXxkSahKq9TLdNMN/AJzFYSOo8UKDMHg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0.tgz", + "integrity": "sha512-5A0n4p6bIiVe5OvQPxBnesezsgFJdHhSs3uFSvaPdMqtsovajLZ+G2vZyvNe10EzJBWWo3AcHGKhAFUxqwp2dw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.0.0.tgz", + "integrity": "sha512-Wc+HVvwjcq5qBg1w5RG9o9RVzmCaAg/Vp0erHCKpAYV8La6I94o4GQAmFYNmkzoMO6gzoOSulpKeSSz6mPEoZw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-arrow-functions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.0.0.tgz", + "integrity": "sha512-2EZDBl1WIO/q4DIkIp4s86sdp4ZifL51MoIviLY/gG/mLSuOIEg7J8o6mhbxOTvUJkaN50n+8u41FVsr5KLy/w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-async-to-generator": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.0.0.tgz", + "integrity": "sha512-CiWNhSMZzj1n3uEKUUS/oL+a7Xi8hnPQB6GpC1WfL/ZYvxBLDBn14sHMo5EyOaeArccSonyk5jFIKMRRbrHOnQ==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-remap-async-to-generator": "7.0.0" + } + }, + "@babel/plugin-transform-block-scoped-functions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.0.0.tgz", + "integrity": "sha512-AOBiyUp7vYTqz2Jibe1UaAWL0Hl9JUXEgjFvvvcSc9MVDItv46ViXFw2F7SVt1B5k+KWjl44eeXOAk3UDEaJjQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-block-scoping": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.0.0.tgz", + "integrity": "sha512-GWEMCrmHQcYWISilUrk9GDqH4enf3UmhOEbNbNrlNAX1ssH3MsS1xLOS6rdjRVPgA7XXVPn87tRkdTEoA/dxEg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0", + "lodash": "4.17.10" + } + }, + "@babel/plugin-transform-classes": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.0.0.tgz", + "integrity": "sha512-8LBm7XsHQiNISEmb+ejBiHi1pUihwUf+lrIwyVsXVbQ1vLqgkvhgayK5JnW3WXvQD2rmM0qxFAIyDE5vtMem2A==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "7.0.0", + "@babel/helper-define-map": "7.0.0", + "@babel/helper-function-name": "7.0.0", + "@babel/helper-optimise-call-expression": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-replace-supers": "7.0.0", + "@babel/helper-split-export-declaration": "7.0.0", + "globals": "11.7.0" + } + }, + "@babel/plugin-transform-computed-properties": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.0.0.tgz", + "integrity": "sha512-ubouZdChNAv4AAWAgU7QKbB93NU5sHwInEWfp+/OzJKA02E6Woh9RVoX4sZrbRwtybky/d7baTUqwFx+HgbvMA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-destructuring": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.0.0.tgz", + "integrity": "sha512-Fr2GtF8YJSXGTyFPakPFB4ODaEKGU04bPsAllAIabwoXdFrPxL0LVXQX5dQWoxOjjgozarJcC9eWGsj0fD6Zsg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-dotall-regex": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.0.0.tgz", + "integrity": "sha512-00THs8eJxOJUFVx1w8i1MBF4XH4PsAjKjQ1eqN/uCH3YKwP21GCKfrn6YZFZswbOk9+0cw1zGQPHVc1KBlSxig==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-regex": "7.0.0", + "regexpu-core": "4.2.0" + } + }, + "@babel/plugin-transform-duplicate-keys": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.0.0.tgz", + "integrity": "sha512-w2vfPkMqRkdxx+C71ATLJG30PpwtTpW7DDdLqYt2acXU7YjztzeWW2Jk1T6hKqCLYCcEA5UQM/+xTAm+QCSnuQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-exponentiation-operator": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.0.0.tgz", + "integrity": "sha512-Ig74elCuFQ0mvHkWUq5qDCNI3qHWlop5w4TcDxdtJiOk8Egqe2uxDRY9XnXGSlmWClClmnixcoYumyvbAuj4dA==", + "dev": true, + "requires": { + "@babel/helper-builder-binary-assignment-operator-visitor": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-for-of": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.0.0.tgz", + "integrity": "sha512-TlxKecN20X2tt2UEr2LNE6aqA0oPeMT1Y3cgz8k4Dn1j5ObT8M3nl9aA37LLklx0PBZKETC9ZAf9n/6SujTuXA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-function-name": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.0.0.tgz", + "integrity": "sha512-mR7JN9vkwsAIot74pSwzn/2Gq4nn2wN0HKtQyJLc1ghAarsymdBMTfh+Q/aeR2N3heXs3URQscTLrKe3yUU7Yw==", + "dev": true, + "requires": { + "@babel/helper-function-name": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-literals": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.0.0.tgz", + "integrity": "sha512-1NTDBWkeNXgpUcyoVFxbr9hS57EpZYXpje92zv0SUzjdu3enaRwF/l3cmyRnXLtIdyJASyiS6PtybK+CgKf7jA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-modules-amd": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.0.0.tgz", + "integrity": "sha512-CtSVpT/0tty/4405qczoIHm41YfFbPChplsmfBwsi3RTq/M9cHgVb3ixI5bqqgdKkqWwSX2sXqejvMKLuTVU+Q==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-modules-commonjs": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.0.0.tgz", + "integrity": "sha512-BIcQLgPFCxi7YygtNpz5xj+7HxhOprbCGZKeLW6Kxsn1eHS6sJZMw4MfmqFZagl/v6IVa0AJoMHdDXLVrpd3Aw==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-simple-access": "7.0.0" + } + }, + "@babel/plugin-transform-modules-systemjs": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.0.0.tgz", + "integrity": "sha512-8EDKMAsitLkiF/D4Zhe9CHEE2XLh4bfLbb9/Zf3FgXYQOZyZYyg7EAel/aT2A7bHv62jwHf09q2KU/oEexr83g==", + "dev": true, + "requires": { + "@babel/helper-hoist-variables": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-modules-umd": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.0.0.tgz", + "integrity": "sha512-EMyKpzgugxef+R1diXDwqw/Hmt5ls8VxfI8Gq5Lo8Qp3oKIepkYG4L/mvE2dmZSRalgL9sguoPKbnQ1m96hVFw==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-new-target": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.0.0.tgz", + "integrity": "sha512-yin069FYjah+LbqfGeTfzIBODex/e++Yfa0rH0fpfam9uTbuEeEOx5GLGr210ggOV77mVRNoeqSYqeuaqSzVSw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-object-super": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.0.0.tgz", + "integrity": "sha512-BfAiF1l18Xr1shy1NyyQgLiHDvh/S7APiEM5+0wxTsQ+e3fgXO+NA47u4PvppzH0meJS21y0gZHcjnvUAJj8tQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-replace-supers": "7.0.0" + } + }, + "@babel/plugin-transform-parameters": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.0.0.tgz", + "integrity": "sha512-eWngvRBWx0gScot0xa340JzrkA+8HGAk1OaCHDfXAjkrTFkp73Lcf+78s7AStSdRML5nzx5aXpnjN1MfrjkBoA==", + "dev": true, + "requires": { + "@babel/helper-call-delegate": "7.0.0", + "@babel/helper-get-function-arity": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-react-display-name": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.0.0.tgz", + "integrity": "sha512-BX8xKuQTO0HzINxT6j/GiCwoJB0AOMs0HmLbEnAvcte8U8rSkNa/eSCAY+l1OA4JnCVq2jw2p6U8QQryy2fTPg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-react-jsx": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.0.0.tgz", + "integrity": "sha512-0TMP21hXsSUjIQJmu/r7RiVxeFrXRcMUigbKu0BLegJK9PkYodHstaszcig7zxXfaBji2LYUdtqIkHs+hgYkJQ==", + "dev": true, + "requires": { + "@babel/helper-builder-react-jsx": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-syntax-jsx": "7.0.0" + } + }, + "@babel/plugin-transform-react-jsx-self": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.0.0.tgz", + "integrity": "sha512-pymy+AK12WO4safW1HmBpwagUQRl9cevNX+82AIAtU1pIdugqcH+nuYP03Ja6B+N4gliAaKWAegIBL/ymALPHA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-syntax-jsx": "7.0.0" + } + }, + "@babel/plugin-transform-react-jsx-source": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.0.0.tgz", + "integrity": "sha512-OSeEpFJEH5dw/TtxTg4nijl4nHBbhqbKL94Xo/Y17WKIf2qJWeIk/QeXACF19lG1vMezkxqruwnTjVizaW7u7w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-syntax-jsx": "7.0.0" + } + }, + "@babel/plugin-transform-regenerator": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0.tgz", + "integrity": "sha512-sj2qzsEx8KDVv1QuJc/dEfilkg3RRPvPYx/VnKLtItVQRWt1Wqf5eVCOLZm29CiGFfYYsA3VPjfizTCV0S0Dlw==", + "dev": true, + "requires": { + "regenerator-transform": "0.13.3" + } + }, + "@babel/plugin-transform-shorthand-properties": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.0.0.tgz", + "integrity": "sha512-g/99LI4vm5iOf5r1Gdxq5Xmu91zvjhEG5+yZDJW268AZELAu4J1EiFLnkSG3yuUsZyOipVOVUKoGPYwfsTymhw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-spread": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.0.0.tgz", + "integrity": "sha512-L702YFy2EvirrR4shTj0g2xQp7aNwZoWNCkNu2mcoU0uyzMl0XRwDSwzB/xp6DSUFiBmEXuyAyEN16LsgVqGGQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-sticky-regex": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.0.0.tgz", + "integrity": "sha512-LFUToxiyS/WD+XEWpkx/XJBrUXKewSZpzX68s+yEOtIbdnsRjpryDw9U06gYc6klYEij/+KQVRnD3nz3AoKmjw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-regex": "7.0.0" + } + }, + "@babel/plugin-transform-template-literals": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.0.0.tgz", + "integrity": "sha512-vA6rkTCabRZu7Nbl9DfLZE1imj4tzdWcg5vtdQGvj+OH9itNNB6hxuRMHuIY8SGnEt1T9g5foqs9LnrHzsqEFg==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-typeof-symbol": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.0.0.tgz", + "integrity": "sha512-1r1X5DO78WnaAIvs5uC48t41LLckxsYklJrZjNKcevyz83sF2l4RHbw29qrCPr/6ksFsdfRpT/ZgxNWHXRnffg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0" + } + }, + "@babel/plugin-transform-unicode-regex": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.0.0.tgz", + "integrity": "sha512-uJBrJhBOEa3D033P95nPHu3nbFwFE9ZgXsfEitzoIXIwqAZWk7uXcg06yFKXz9FSxBH5ucgU/cYdX0IV8ldHKw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0", + "@babel/helper-regex": "7.0.0", + "regexpu-core": "4.2.0" + } + }, + "@babel/preset-env": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.0.0.tgz", + "integrity": "sha512-Fnx1wWaWv2w2rl+VHxA9si//Da40941IQ29fKiRejVR7oN1FxSEL8+SyAX/2oKIye2gPvY/GBbJVEKQ/oi43zQ==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "7.0.0", + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-proposal-async-generator-functions": "7.0.0", + "@babel/plugin-proposal-json-strings": "7.0.0", + "@babel/plugin-proposal-object-rest-spread": "7.0.0", + "@babel/plugin-proposal-optional-catch-binding": "7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "7.0.0", + "@babel/plugin-syntax-async-generators": "7.0.0", + "@babel/plugin-syntax-object-rest-spread": "7.0.0", + "@babel/plugin-syntax-optional-catch-binding": "7.0.0", + "@babel/plugin-transform-arrow-functions": "7.0.0", + "@babel/plugin-transform-async-to-generator": "7.0.0", + "@babel/plugin-transform-block-scoped-functions": "7.0.0", + "@babel/plugin-transform-block-scoping": "7.0.0", + "@babel/plugin-transform-classes": "7.0.0", + "@babel/plugin-transform-computed-properties": "7.0.0", + "@babel/plugin-transform-destructuring": "7.0.0", + "@babel/plugin-transform-dotall-regex": "7.0.0", + "@babel/plugin-transform-duplicate-keys": "7.0.0", + "@babel/plugin-transform-exponentiation-operator": "7.0.0", + "@babel/plugin-transform-for-of": "7.0.0", + "@babel/plugin-transform-function-name": "7.0.0", + "@babel/plugin-transform-literals": "7.0.0", + "@babel/plugin-transform-modules-amd": "7.0.0", + "@babel/plugin-transform-modules-commonjs": "7.0.0", + "@babel/plugin-transform-modules-systemjs": "7.0.0", + "@babel/plugin-transform-modules-umd": "7.0.0", + "@babel/plugin-transform-new-target": "7.0.0", + "@babel/plugin-transform-object-super": "7.0.0", + "@babel/plugin-transform-parameters": "7.0.0", + "@babel/plugin-transform-regenerator": "7.0.0", + "@babel/plugin-transform-shorthand-properties": "7.0.0", + "@babel/plugin-transform-spread": "7.0.0", + "@babel/plugin-transform-sticky-regex": "7.0.0", + "@babel/plugin-transform-template-literals": "7.0.0", + "@babel/plugin-transform-typeof-symbol": "7.0.0", + "@babel/plugin-transform-unicode-regex": "7.0.0", + "browserslist": "4.1.0", + "invariant": "2.2.4", + "js-levenshtein": "1.1.3", + "semver": "5.5.1" + } + }, + "@babel/preset-react": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.0.0.tgz", + "integrity": "sha512-oayxyPS4Zj+hF6Et11BwuBkmpgT/zMxyuZgFrMeZID6Hdh3dGlk4sHCAhdBCpuCKW2ppBfl2uCCetlrUIJRY3w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "7.0.0", + "@babel/plugin-transform-react-display-name": "7.0.0", + "@babel/plugin-transform-react-jsx": "7.0.0", + "@babel/plugin-transform-react-jsx-self": "7.0.0", + "@babel/plugin-transform-react-jsx-source": "7.0.0" + } + }, + "@babel/template": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0.tgz", + "integrity": "sha512-VLQZik/G5mjYJ6u19U3W2u7eM+rA/NGzH+GtHDFFkLTKLW66OasFrxZ/yK7hkyQcswrmvugFyZpDFRW0DjcjCw==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0", + "@babel/parser": "7.0.0", + "@babel/types": "7.0.0" + } + }, + "@babel/traverse": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0.tgz", + "integrity": "sha512-ka/lwaonJZTlJyn97C4g5FYjPOx+Oxd3ab05hbDr1Mx9aP1FclJ+SUHyLx3Tx40sGmOVJApDxE6puJhd3ld2kw==", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0", + "@babel/generator": "7.0.0", + "@babel/helper-function-name": "7.0.0", + "@babel/helper-split-export-declaration": "7.0.0", + "@babel/parser": "7.0.0", + "@babel/types": "7.0.0", + "debug": "3.1.0", + "globals": "11.7.0", + "lodash": "4.17.10" + } + }, + "@babel/types": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0.tgz", + "integrity": "sha512-5tPDap4bGKTLPtci2SUl/B7Gv8RnuJFuQoWx26RJobS0fFrz4reUA3JnwIM+HVHEmWE0C1mzKhDtTp8NsWY02Q==", + "dev": true, + "requires": { + "esutils": "2.0.2", + "lodash": "4.17.10", + "to-fast-properties": "2.0.0" + } + }, + "JSONStream": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.4.tgz", + "integrity": "sha512-Y7vfi3I5oMOYIr+WxV8NZxDSwcbNgzdKYsTNInmycOq9bUYwGg9ryu57Wg5NLmCjqdFPNUmpMBo3kSJN9tCbXg==", + "dev": true, + "requires": { + "jsonparse": "1.3.1", + "through": "2.3.8" + } + }, + "acorn": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.2.tgz", + "integrity": "sha512-cJrKCNcr2kv8dlDnbw+JPUGjHZzo4myaxOLmpOX8a+rgX94YeTcTMv/LFJUSByRpc+i4GgVnnhLxvMu/2Y+rqw==", + "dev": true + }, + "acorn-dynamic-import": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz", + "integrity": "sha512-zVWV8Z8lislJoOKKqdNMOB+s6+XV5WERty8MnKBeFgwA+19XJjJHs2RP5dzM57FftIs+jQnRToLiWazKr6sSWg==", + "dev": true, + "requires": { + "acorn": "5.7.2" + } + }, + "acorn-jsx": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-4.1.1.tgz", + "integrity": "sha512-JY+iV6r+cO21KtntVvFkD+iqjtdpRUpGqKWgfkCdZq1R+kbreEl8EcdcJR4SmiIgsIQT33s6QzheQ9a275Q8xw==", + "dev": true, + "requires": { + "acorn": "5.7.2" + } + }, + "acorn-node": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.5.2.tgz", + "integrity": "sha512-krFKvw/d1F17AN3XZbybIUzEY4YEPNiGo05AfP3dBlfVKrMHETKpgjpuZkSF8qDNt9UkQcqj7am8yJLseklCMg==", + "dev": true, + "requires": { + "acorn": "5.7.2", + "acorn-dynamic-import": "3.0.0", + "xtend": "4.0.1" + } + }, + "ajv": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.3.tgz", + "integrity": "sha512-LqZ9wY+fx3UMiiPd741yB2pj3hhil+hQc8taf4o2QGRFpWgZ2V5C8HA165DY9sS3fJwsk7uT7ZlFEyC3Ig3lLg==", + "dev": true, + "requires": { + "fast-deep-equal": "2.0.1", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.4.1", + "uri-js": "4.2.2" + } + }, + "ajv-keywords": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.2.0.tgz", + "integrity": "sha1-6GuBnGAs+IIa1jdBNpjx3sAhhHo=", + "dev": true + }, + "ansi-escapes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", + "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.3" + }, + "dependencies": { + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, "requires": { - "ansi-regex": "^2.0.0" + "color-name": "1.1.3" } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "dev": true - }, - "to-fast-properties": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", - "dev": true } } }, - "babel-preset-react": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-preset-react/-/babel-preset-react-6.24.1.tgz", - "integrity": "sha1-umnfrqRfw+xjm2pOzqbhdwLJE4A=", + "anymatch": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", "dev": true, "requires": { - "babel-plugin-syntax-jsx": "^6.3.13", - "babel-plugin-transform-react-display-name": "^6.23.0", - "babel-plugin-transform-react-jsx": "^6.24.1", - "babel-plugin-transform-react-jsx-self": "^6.22.0", - "babel-plugin-transform-react-jsx-source": "^6.22.0", - "babel-preset-flow": "^6.23.0" + "micromatch": "2.3.11", + "normalize-path": "2.1.1" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "1.0.3" + } + }, + "arr-diff": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", + "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", + "dev": true, + "requires": { + "arr-flatten": "1.1.0" + } + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "array-filter": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz", + "integrity": "sha1-fajPLiZijtcygDWB/SH2fKzS7uw=", + "dev": true + }, + "array-includes": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", + "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", + "dev": true, + "requires": { + "define-properties": "1.1.3", + "es-abstract": "1.12.0" + } + }, + "array-map": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz", + "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=", + "dev": true + }, + "array-reduce": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz", + "integrity": "sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=", + "dev": true + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "1.0.3" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, + "array-unique": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", + "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", + "dev": true + }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" + }, + "asn1.js": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", + "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", + "dev": true, + "requires": { + "bn.js": "4.11.8", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1" + } + }, + "assert": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.4.1.tgz", + "integrity": "sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE=", + "dev": true, + "requires": { + "util": "0.10.3" }, "dependencies": { - "babel-helper-builder-react-jsx": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.26.0.tgz", - "integrity": "sha1-Of+DE7dci2Xc7/HzHTg+D/KkCKA=", - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "esutils": "^2.0.2" - } - }, - "babel-plugin-syntax-flow": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz", - "integrity": "sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=", - "dev": true - }, - "babel-plugin-syntax-jsx": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", - "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=", + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", "dev": true }, - "babel-plugin-transform-flow-strip-types": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz", - "integrity": "sha1-hMtnKTXUNxT9wyvOhFaNh0Qc988=", - "dev": true, - "requires": { - "babel-plugin-syntax-flow": "^6.18.0", - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-react-display-name": { - "version": "6.25.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-display-name/-/babel-plugin-transform-react-display-name-6.25.0.tgz", - "integrity": "sha1-Z+K/Hx6ck6sI25Z5LgU5K/LMKNE=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-react-jsx": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz", - "integrity": "sha1-hAoCjn30YN/DotKfDA2R9jduZqM=", - "dev": true, - "requires": { - "babel-helper-builder-react-jsx": "^6.24.1", - "babel-plugin-syntax-jsx": "^6.8.0", - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-react-jsx-self": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-self/-/babel-plugin-transform-react-jsx-self-6.22.0.tgz", - "integrity": "sha1-322AqdomEqEh5t3XVYvL7PBuY24=", - "dev": true, - "requires": { - "babel-plugin-syntax-jsx": "^6.8.0", - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-transform-react-jsx-source": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz", - "integrity": "sha1-ZqwSFT9c0tF7PBkmj0vwGX9E7NY=", - "dev": true, - "requires": { - "babel-plugin-syntax-jsx": "^6.8.0", - "babel-runtime": "^6.22.0" - } - }, - "babel-preset-flow": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-preset-flow/-/babel-preset-flow-6.23.0.tgz", - "integrity": "sha1-5xIYiHCFrpoktb5Baa/7WZgWxJ0=", - "dev": true, - "requires": { - "babel-plugin-transform-flow-strip-types": "^6.22.0" - } - }, - "babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "dev": true, - "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - } - }, - "babel-types": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", - "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", "dev": true, "requires": { - "babel-runtime": "^6.26.0", - "esutils": "^2.0.2", - "lodash": "^4.17.4", - "to-fast-properties": "^1.0.3" + "inherits": "2.0.1" } - }, - "core-js": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz", - "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs=", - "dev": true - }, - "esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", - "dev": true - }, - "lodash": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", - "dev": true - }, - "regenerator-runtime": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz", - "integrity": "sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A==", - "dev": true - }, - "to-fast-properties": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", - "dev": true } } }, - "babelify": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz", - "integrity": "sha1-qlau3nBn/XvVSWZu4W3ChQh+iOU=", + "async-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", + "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", + "dev": true + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", "dev": true, "requires": { - "babel-core": "^6.0.14", - "object-assign": "^4.0.0" + "chalk": "1.1.3", + "esutils": "2.0.2", + "js-tokens": "3.0.2" }, "dependencies": { - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, "ansi-styles": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", "dev": true }, - "babel-code-frame": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", - "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", - "dev": true, - "requires": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" - } - }, - "babel-core": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz", - "integrity": "sha1-rzL3izGm/O8RnIew/Y2XU/A6C7g=", - "dev": true, - "requires": { - "babel-code-frame": "^6.26.0", - "babel-generator": "^6.26.0", - "babel-helpers": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-register": "^6.26.0", - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "convert-source-map": "^1.5.0", - "debug": "^2.6.8", - "json5": "^0.5.1", - "lodash": "^4.17.4", - "minimatch": "^3.0.4", - "path-is-absolute": "^1.0.1", - "private": "^0.1.7", - "slash": "^1.0.0", - "source-map": "^0.5.6" - } - }, - "babel-generator": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.0.tgz", - "integrity": "sha1-rBriAHC3n248odMmlhMFN3TyDcU=", - "dev": true, - "requires": { - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "detect-indent": "^4.0.0", - "jsesc": "^1.3.0", - "lodash": "^4.17.4", - "source-map": "^0.5.6", - "trim-right": "^1.0.1" - } - }, - "babel-helpers": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", - "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "babel-messages": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", - "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-register": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", - "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", - "dev": true, - "requires": { - "babel-core": "^6.26.0", - "babel-runtime": "^6.26.0", - "core-js": "^2.5.0", - "home-or-tmp": "^2.0.0", - "lodash": "^4.17.4", - "mkdirp": "^0.5.1", - "source-map-support": "^0.4.15" - } - }, - "babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "dev": true, - "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - } - }, - "babel-template": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", - "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "lodash": "^4.17.4" - } - }, - "babel-traverse": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", - "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", - "dev": true, - "requires": { - "babel-code-frame": "^6.26.0", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "debug": "^2.6.8", - "globals": "^9.18.0", - "invariant": "^2.2.2", - "lodash": "^4.17.4" - } - }, - "babel-types": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", - "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "esutils": "^2.0.2", - "lodash": "^4.17.4", - "to-fast-properties": "^1.0.3" - } - }, - "babylon": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", - "dev": true - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "brace-expansion": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", - "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, "chalk": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "convert-source-map": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", - "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", - "dev": true - }, - "core-js": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz", - "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs=", - "dev": true - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "detect-indent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", - "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", - "dev": true, - "requires": { - "repeating": "^2.0.0" - } - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", - "dev": true - }, - "globals": { - "version": "9.18.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", - "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", - "dev": true - }, - "has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "home-or-tmp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", - "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", - "dev": true, - "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.1" - } - }, - "invariant": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", - "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=", - "dev": true, - "requires": { - "loose-envify": "^1.0.0" - } - }, - "is-finite": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", - "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" } }, "js-tokens": { @@ -1337,142 +1053,13 @@ "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", "dev": true }, - "jsesc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", - "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", - "dev": true - }, - "json5": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", - "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", - "dev": true - }, - "lodash": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", - "dev": true - }, - "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "dev": true, - "requires": { - "js-tokens": "^3.0.0" - } - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true - }, - "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "dev": true, - "requires": { - "minimist": "0.0.8" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "dev": true - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true - }, - "os-homedir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "dev": true - }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "private": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", - "dev": true - }, - "regenerator-runtime": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz", - "integrity": "sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A==", - "dev": true - }, - "repeating": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "dev": true, - "requires": { - "is-finite": "^1.0.0" - } - }, - "slash": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", - "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", - "dev": true - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - }, - "source-map-support": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", - "dev": true, - "requires": { - "source-map": "^0.5.6" - } - }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "supports-color": { @@ -1480,21 +1067,15 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true - }, - "to-fast-properties": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", - "dev": true - }, - "trim-right": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", - "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", - "dev": true } } }, + "babelify": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/babelify/-/babelify-9.0.0.tgz", + "integrity": "sha512-Q8rZxbkCo0BKQFp4JYWSt9lVYWDRyZPk5fsUr4PQguxGDN0XXVjHCr00WaKpdSUhGXSVYjIujXjtFzhwTGg8VA==", + "dev": true + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", @@ -1507,6 +1088,12 @@ "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==", "dev": true }, + "binary-extensions": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.11.0.tgz", + "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=", + "dev": true + }, "bn.js": { "version": "4.11.8", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", @@ -1519,10 +1106,21 @@ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "requires": { - "balanced-match": "^1.0.0", + "balanced-match": "1.0.0", "concat-map": "0.0.1" } }, + "braces": { + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", + "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", + "dev": true, + "requires": { + "expand-range": "1.8.2", + "preserve": "0.2.0", + "repeat-element": "1.1.3" + } + }, "brorand": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", @@ -1535,18 +1133,18 @@ "integrity": "sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA==", "dev": true, "requires": { - "JSONStream": "^1.0.3", - "combine-source-map": "~0.8.0", - "defined": "^1.0.0", - "safe-buffer": "^5.1.1", - "through2": "^2.0.0", - "umd": "^3.0.0" + "JSONStream": "1.3.4", + "combine-source-map": "0.8.0", + "defined": "1.0.0", + "safe-buffer": "5.1.2", + "through2": "2.0.3", + "umd": "3.0.3" } }, "browser-resolve": { - "version": "1.11.2", - "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.2.tgz", - "integrity": "sha1-j/CbCixCFxihBRwmCzLkj0QpOM4=", + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz", + "integrity": "sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==", "dev": true, "requires": { "resolve": "1.1.7" @@ -1572,54 +1170,54 @@ "integrity": "sha512-fMES05wq1Oukts6ksGUU2TMVHHp06LyQt0SIwbXIHm7waSrQmNBZePsU0iM/4f94zbvb/wHma+D1YrdzWYnF/A==", "dev": true, "requires": { - "JSONStream": "^1.0.3", - "assert": "^1.4.0", - "browser-pack": "^6.0.1", - "browser-resolve": "^1.11.0", - "browserify-zlib": "~0.2.0", - "buffer": "^5.0.2", - "cached-path-relative": "^1.0.0", - "concat-stream": "^1.6.0", - "console-browserify": "^1.1.0", - "constants-browserify": "~1.0.0", - "crypto-browserify": "^3.0.0", - "defined": "^1.0.0", - "deps-sort": "^2.0.0", - "domain-browser": "^1.2.0", - "duplexer2": "~0.1.2", - "events": "^2.0.0", - "glob": "^7.1.0", - "has": "^1.0.0", - "htmlescape": "^1.1.0", - "https-browserify": "^1.0.0", - "inherits": "~2.0.1", - "insert-module-globals": "^7.0.0", - "labeled-stream-splicer": "^2.0.0", - "mkdirp": "^0.5.0", - "module-deps": "^6.0.0", - "os-browserify": "~0.3.0", - "parents": "^1.0.1", - "path-browserify": "~0.0.0", - "process": "~0.11.0", - "punycode": "^1.3.2", - "querystring-es3": "~0.2.0", - "read-only-stream": "^2.0.0", - "readable-stream": "^2.0.2", - "resolve": "^1.1.4", - "shasum": "^1.0.0", - "shell-quote": "^1.6.1", - "stream-browserify": "^2.0.0", - "stream-http": "^2.0.0", - "string_decoder": "^1.1.1", - "subarg": "^1.0.0", - "syntax-error": "^1.1.1", - "through2": "^2.0.0", - "timers-browserify": "^1.0.1", + "JSONStream": "1.3.4", + "assert": "1.4.1", + "browser-pack": "6.1.0", + "browser-resolve": "1.11.3", + "browserify-zlib": "0.2.0", + "buffer": "5.2.0", + "cached-path-relative": "1.0.1", + "concat-stream": "1.6.2", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.12.0", + "defined": "1.0.0", + "deps-sort": "2.0.0", + "domain-browser": "1.2.0", + "duplexer2": "0.1.4", + "events": "2.1.0", + "glob": "7.1.3", + "has": "1.0.3", + "htmlescape": "1.1.1", + "https-browserify": "1.0.0", + "inherits": "2.0.3", + "insert-module-globals": "7.2.0", + "labeled-stream-splicer": "2.0.1", + "mkdirp": "0.5.1", + "module-deps": "6.1.0", + "os-browserify": "0.3.0", + "parents": "1.0.1", + "path-browserify": "0.0.1", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "read-only-stream": "2.0.0", + "readable-stream": "2.3.6", + "resolve": "1.8.1", + "shasum": "1.0.2", + "shell-quote": "1.6.1", + "stream-browserify": "2.0.1", + "stream-http": "2.8.3", + "string_decoder": "1.1.1", + "subarg": "1.0.0", + "syntax-error": "1.4.0", + "through2": "2.0.3", + "timers-browserify": "1.4.2", "tty-browserify": "0.0.1", - "url": "~0.11.0", - "util": "~0.10.1", - "vm-browserify": "^1.0.0", - "xtend": "^4.0.0" + "url": "0.11.0", + "util": "0.10.4", + "vm-browserify": "1.1.0", + "xtend": "4.0.1" } }, "browserify-aes": { @@ -1628,12 +1226,12 @@ "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", "dev": true, "requires": { - "buffer-xor": "^1.0.3", - "cipher-base": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.3", - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "buffer-xor": "1.0.3", + "cipher-base": "1.0.4", + "create-hash": "1.2.0", + "evp_bytestokey": "1.0.3", + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "browserify-cipher": { @@ -1642,20 +1240,21 @@ "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", "dev": true, "requires": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" + "browserify-aes": "1.2.0", + "browserify-des": "1.0.2", + "evp_bytestokey": "1.0.3" } }, "browserify-des": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.1.tgz", - "integrity": "sha512-zy0Cobe3hhgpiOM32Tj7KQ3Vl91m0njwsjzZQK1L+JDf11dzP9qIvjreVinsvXrgfjhStXwUWAEpB9D7Gwmayw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", "dev": true, "requires": { - "cipher-base": "^1.0.1", - "des.js": "^1.0.0", - "inherits": "^2.0.1" + "cipher-base": "1.0.4", + "des.js": "1.0.0", + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "browserify-rsa": { @@ -1664,8 +1263,8 @@ "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", "dev": true, "requires": { - "bn.js": "^4.1.0", - "randombytes": "^2.0.1" + "bn.js": "4.11.8", + "randombytes": "2.0.6" } }, "browserify-sign": { @@ -1674,13 +1273,13 @@ "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", "dev": true, "requires": { - "bn.js": "^4.1.1", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.2", - "elliptic": "^6.0.0", - "inherits": "^2.0.1", - "parse-asn1": "^5.0.0" + "bn.js": "4.11.8", + "browserify-rsa": "4.0.1", + "create-hash": "1.2.0", + "create-hmac": "1.1.7", + "elliptic": "6.4.1", + "inherits": "2.0.3", + "parse-asn1": "5.1.1" } }, "browserify-zlib": { @@ -1689,23 +1288,34 @@ "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", "dev": true, "requires": { - "pako": "~1.0.5" + "pako": "1.0.6" + } + }, + "browserslist": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.1.0.tgz", + "integrity": "sha512-kQBKB8hnq1SRfSpwHDpM1JNHAyk9fydW8hIDvndR2ijTFKIlBPEvkJkCt8JznOugdm12/YCaRgyq/sqDGz9PwA==", + "dev": true, + "requires": { + "caniuse-lite": "1.0.30000880", + "electron-to-chromium": "1.3.61", + "node-releases": "1.0.0-alpha.11" } }, "buffer": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.1.0.tgz", - "integrity": "sha512-YkIRgwsZwJWTnyQrsBTWefizHh+8GYj3kbL1BTiAQ/9pwpino0G7B2gp5tx/FUBqUlvtxV85KNR3mwfAtv15Yw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.2.0.tgz", + "integrity": "sha512-nUJyfChH7PMJy75eRDCCKtszSEFokUNXC1hNVSe+o+VdcgvDPLs20k3v8UXI8ruRYAJiYtyRea8mYyqPxoHWDw==", "dev": true, "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4" + "base64-js": "1.3.0", + "ieee754": "1.1.12" } }, "buffer-from": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz", - "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "dev": true }, "buffer-xor": { @@ -1732,7 +1342,7 @@ "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", "dev": true, "requires": { - "callsites": "^0.2.0" + "callsites": "0.2.0" } }, "callsites": { @@ -1741,26 +1351,21 @@ "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", "dev": true }, + "caniuse-lite": { + "version": "1.0.30000880", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000880.tgz", + "integrity": "sha512-G2cDhHp0DshhwFJSurN7PByRTXgijs3eA3F9tGd5tf5vnTttDVuRI9bFna0WDMID4VYhGs2ob9U/K1A5+pm8pw==", + "dev": true + }, "chalk": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - } + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.5.0" } }, "chardet": { @@ -1770,46 +1375,46 @@ "dev": true }, "chart.js": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.2.2.tgz", - "integrity": "sha1-HyexCkCkzpQcA9NhmrJBnexMrk8=", + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.7.2.tgz", + "integrity": "sha512-90wl3V9xRZ8tnMvMlpcW+0Yg13BelsGS9P9t0ClaDxv/hdypHDr/YAGf+728m11P5ljwyB0ZHfPKCapZFqSqYA==", "requires": { - "chartjs-color": "^2.0.0", - "moment": "^2.10.6" - }, - "dependencies": { - "chartjs-color": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/chartjs-color/-/chartjs-color-2.2.0.tgz", - "integrity": "sha1-hKL7dVeH7YXDndbdjHsdiEKbrq4=", - "requires": { - "chartjs-color-string": "^0.5.0", - "color-convert": "^0.5.3" - } - }, - "chartjs-color-string": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/chartjs-color-string/-/chartjs-color-string-0.5.0.tgz", - "integrity": "sha512-amWNvCOXlOUYxZVDSa0YOab5K/lmEhbFNKI55PWc4mlv28BDzA7zaoQTGxSBgJMHIW+hGX8YUrvw/FH4LyhwSQ==", - "requires": { - "color-name": "^1.0.0" - } - }, - "color-convert": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-0.5.3.tgz", - "integrity": "sha1-vbbGnOZg+t/+CwAHzER+G59ygr0=" - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "moment": { - "version": "2.19.2", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.19.2.tgz", - "integrity": "sha512-Rf6jiHPEfxp9+dlzxPTmRHbvoFXsh2L/U8hOupUMpnuecHQmI6cF6lUbJl3QqKPko1u6ujO+FxtcajLVfLpAtA==" - } + "chartjs-color": "2.2.0", + "moment": "2.22.2" + } + }, + "chartjs-color": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/chartjs-color/-/chartjs-color-2.2.0.tgz", + "integrity": "sha1-hKL7dVeH7YXDndbdjHsdiEKbrq4=", + "requires": { + "chartjs-color-string": "0.5.0", + "color-convert": "0.5.3" + } + }, + "chartjs-color-string": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/chartjs-color-string/-/chartjs-color-string-0.5.0.tgz", + "integrity": "sha512-amWNvCOXlOUYxZVDSa0YOab5K/lmEhbFNKI55PWc4mlv28BDzA7zaoQTGxSBgJMHIW+hGX8YUrvw/FH4LyhwSQ==", + "requires": { + "color-name": "1.1.3" + } + }, + "chokidar": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz", + "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=", + "dev": true, + "requires": { + "anymatch": "1.3.2", + "async-each": "1.0.1", + "fsevents": "1.2.4", + "glob-parent": "2.0.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "2.0.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.1.0" } }, "cipher-base": { @@ -1818,8 +1423,8 @@ "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", "dev": true, "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "circular-json": { @@ -1834,7 +1439,7 @@ "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", "dev": true, "requires": { - "restore-cursor": "^2.0.0" + "restore-cursor": "2.0.0" } }, "cli-width": { @@ -1843,26 +1448,15 @@ "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", "dev": true }, - "co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", - "dev": true - }, "color-convert": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", - "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", - "dev": true, - "requires": { - "color-name": "^1.1.1" - } + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-0.5.3.tgz", + "integrity": "sha1-vbbGnOZg+t/+CwAHzER+G59ygr0=" }, "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "combine-source-map": { "version": "0.8.0", @@ -1870,16 +1464,24 @@ "integrity": "sha1-pY0N8ELBhvz4IqjoAV9UUNLXmos=", "dev": true, "requires": { - "convert-source-map": "~1.1.0", - "inline-source-map": "~0.6.0", - "lodash.memoize": "~3.0.3", - "source-map": "~0.5.3" + "convert-source-map": "1.1.3", + "inline-source-map": "0.6.2", + "lodash.memoize": "3.0.4", + "source-map": "0.5.7" + }, + "dependencies": { + "convert-source-map": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", + "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=", + "dev": true + } } }, "commander": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", - "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", + "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==", "dev": true }, "concat-map": { @@ -1894,10 +1496,10 @@ "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", "dev": true, "requires": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" + "buffer-from": "1.1.1", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "typedarray": "0.0.6" } }, "console-browserify": { @@ -1906,7 +1508,7 @@ "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=", "dev": true, "requires": { - "date-now": "^0.1.4" + "date-now": "0.1.4" } }, "constants-browserify": { @@ -1916,16 +1518,15 @@ "dev": true }, "convert-source-map": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", - "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", + "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", "dev": true }, "core-js": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", - "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=", - "dev": true + "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" }, "core-util-is": { "version": "1.0.2", @@ -1939,8 +1540,8 @@ "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==", "dev": true, "requires": { - "bn.js": "^4.1.0", - "elliptic": "^6.0.0" + "bn.js": "4.11.8", + "elliptic": "6.4.1" } }, "create-hash": { @@ -1949,11 +1550,11 @@ "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", "dev": true, "requires": { - "cipher-base": "^1.0.1", - "inherits": "^2.0.1", - "md5.js": "^1.3.4", - "ripemd160": "^2.0.1", - "sha.js": "^2.4.0" + "cipher-base": "1.0.4", + "inherits": "2.0.3", + "md5.js": "1.3.4", + "ripemd160": "2.0.2", + "sha.js": "2.4.11" } }, "create-hmac": { @@ -1962,136 +1563,45 @@ "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", "dev": true, "requires": { - "cipher-base": "^1.0.3", - "create-hash": "^1.1.0", - "inherits": "^2.0.1", - "ripemd160": "^2.0.0", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" + "cipher-base": "1.0.4", + "create-hash": "1.2.0", + "inherits": "2.0.3", + "ripemd160": "2.0.2", + "safe-buffer": "5.1.2", + "sha.js": "2.4.11" } }, "create-react-class": { - "version": "15.6.2", - "resolved": "https://registry.npmjs.org/create-react-class/-/create-react-class-15.6.2.tgz", - "integrity": "sha1-zx7RXxKq1/FO9fLf4F5sQvke8Co=", + "version": "15.6.3", + "resolved": "https://registry.npmjs.org/create-react-class/-/create-react-class-15.6.3.tgz", + "integrity": "sha512-M+/3Q6E6DLO6Yx3OwrWjwHBnvfXXYA7W+dFjt/ZDBemHO1DDZhsalX/NUtnTYclN6GfnBDRh4qRHjcDHmlJBJg==", "requires": { - "fbjs": "^0.8.9", - "loose-envify": "^1.3.1", - "object-assign": "^4.1.1" - }, - "dependencies": { - "asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" - }, - "core-js": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", - "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" - }, - "encoding": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", - "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", - "requires": { - "iconv-lite": "~0.4.13" - } - }, - "fbjs": { - "version": "0.8.16", - "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz", - "integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=", - "requires": { - "core-js": "^1.0.0", - "isomorphic-fetch": "^2.1.1", - "loose-envify": "^1.0.0", - "object-assign": "^4.1.0", - "promise": "^7.1.1", - "setimmediate": "^1.0.5", - "ua-parser-js": "^0.7.9" - } - }, - "iconv-lite": { - "version": "0.4.19", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", - "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==" - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "isomorphic-fetch": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", - "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", - "requires": { - "node-fetch": "^1.0.1", - "whatwg-fetch": ">=0.10.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" - }, - "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "requires": { - "js-tokens": "^3.0.0" - } - }, - "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "requires": { - "asap": "~2.0.3" - } - }, - "setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" - }, - "ua-parser-js": { - "version": "0.7.17", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.17.tgz", - "integrity": "sha512-uRdSdu1oA1rncCQL7sCj8vSyZkgtL7faaw9Tc9rZ3mGgraQ7+Pdx7w5mnOSF3gw9ZNG6oc+KXfkon3bKuROm0g==" - }, - "whatwg-fetch": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz", - "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ=" - } + "fbjs": "0.8.17", + "loose-envify": "1.4.0", + "object-assign": "4.1.1" + } + }, + "cross-env": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.2.0.tgz", + "integrity": "sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==", + "dev": true, + "requires": { + "cross-spawn": "6.0.5", + "is-windows": "1.0.2" } }, "cross-spawn": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", - "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", "dev": true, "requires": { - "lru-cache": "^4.0.1", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "nice-try": "1.0.5", + "path-key": "2.0.1", + "semver": "5.5.1", + "shebang-command": "1.2.0", + "which": "1.3.1" } }, "crypto-browserify": { @@ -2100,17 +1610,17 @@ "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", "dev": true, "requires": { - "browserify-cipher": "^1.0.0", - "browserify-sign": "^4.0.0", - "create-ecdh": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.0", - "diffie-hellman": "^5.0.0", - "inherits": "^2.0.1", - "pbkdf2": "^3.0.3", - "public-encrypt": "^4.0.0", - "randombytes": "^2.0.0", - "randomfill": "^1.0.3" + "browserify-cipher": "1.0.1", + "browserify-sign": "4.0.4", + "create-ecdh": "4.0.3", + "create-hash": "1.2.0", + "create-hmac": "1.1.7", + "diffie-hellman": "5.0.3", + "inherits": "2.0.3", + "pbkdf2": "3.0.16", + "public-encrypt": "4.0.2", + "randombytes": "2.0.6", + "randomfill": "1.0.4" } }, "date-now": { @@ -2134,438 +1644,1003 @@ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, - "define-properties": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", - "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", - "dev": true, - "requires": { - "foreach": "^2.0.5", - "object-keys": "^1.0.8" - } - }, - "defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "1.0.12" + } + }, + "defined": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", + "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", + "dev": true + }, + "del": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", + "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", + "dev": true, + "requires": { + "globby": "5.0.0", + "is-path-cwd": "1.0.0", + "is-path-in-cwd": "1.0.1", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "rimraf": "2.6.2" + } + }, + "deps-sort": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.0.tgz", + "integrity": "sha1-CRckkC6EZYJg65EHSMzNGvbiH7U=", + "dev": true, + "requires": { + "JSONStream": "1.3.4", + "shasum": "1.0.2", + "subarg": "1.0.0", + "through2": "2.0.3" + } + }, + "des.js": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", + "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1" + } + }, + "detective": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/detective/-/detective-5.1.0.tgz", + "integrity": "sha512-TFHMqfOvxlgrfVzTEkNBSh9SvSNX/HfF4OFI2QFGCyPm02EsyILqnUeb5P6q7JZ3SFNTBL5t2sePRgrN4epUWQ==", + "dev": true, + "requires": { + "acorn-node": "1.5.2", + "defined": "1.0.0", + "minimist": "1.2.0" + } + }, + "diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "dev": true + }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "requires": { + "bn.js": "4.11.8", + "miller-rabin": "4.0.1", + "randombytes": "2.0.6" + } + }, + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "2.0.2" + } + }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true + }, + "duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", + "dev": true, + "requires": { + "readable-stream": "2.3.6" + } + }, + "electron-to-chromium": { + "version": "1.3.61", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.61.tgz", + "integrity": "sha512-XjTdsm6x71Y48lF9EEvGciwXD70b20g0t+3YbrE+0fPFutqV08DSNrZXkoXAp3QuzX7TpL/OW+/VsNoR9GkuNg==", + "dev": true + }, + "elliptic": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz", + "integrity": "sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==", + "dev": true, + "requires": { + "bn.js": "4.11.8", + "brorand": "1.1.0", + "hash.js": "1.1.5", + "hmac-drbg": "1.0.1", + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1", + "minimalistic-crypto-utils": "1.0.1" + } + }, + "encoding": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", + "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", + "requires": { + "iconv-lite": "0.4.24" + } + }, + "envify": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/envify/-/envify-4.1.0.tgz", + "integrity": "sha512-IKRVVoAYr4pIx4yIWNsz9mOsboxlNXiu7TNBnem/K/uTHdkyzXWDzHCK7UTolqBbgaBz0tQHsD3YNls0uIIjiw==", + "dev": true, + "requires": { + "esprima": "4.0.1", + "through": "2.3.8" + } + }, + "es-abstract": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", + "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", + "dev": true, + "requires": { + "es-to-primitive": "1.1.1", + "function-bind": "1.1.1", + "has": "1.0.3", + "is-callable": "1.1.4", + "is-regex": "1.0.4" + } + }, + "es-to-primitive": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz", + "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", + "dev": true, + "requires": { + "is-callable": "1.1.4", + "is-date-object": "1.0.1", + "is-symbol": "1.0.1" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "eslint": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.4.0.tgz", + "integrity": "sha512-UIpL91XGex3qtL6qwyCQJar2j3osKxK9e3ano3OcGEIRM4oWIpCkDg9x95AXEC2wMs7PnxzOkPZ2gq+tsMS9yg==", + "dev": true, + "requires": { + "ajv": "6.5.3", + "babel-code-frame": "6.26.0", + "chalk": "2.4.1", + "cross-spawn": "6.0.5", + "debug": "3.1.0", + "doctrine": "2.1.0", + "eslint-scope": "4.0.0", + "eslint-utils": "1.3.1", + "eslint-visitor-keys": "1.0.0", + "espree": "4.0.0", + "esquery": "1.0.1", + "esutils": "2.0.2", + "file-entry-cache": "2.0.0", + "functional-red-black-tree": "1.0.1", + "glob": "7.1.3", + "globals": "11.7.0", + "ignore": "4.0.6", + "imurmurhash": "0.1.4", + "inquirer": "5.2.0", + "is-resolvable": "1.1.0", + "js-yaml": "3.12.0", + "json-stable-stringify-without-jsonify": "1.0.1", + "levn": "0.3.0", + "lodash": "4.17.10", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "natural-compare": "1.4.0", + "optionator": "0.8.2", + "path-is-inside": "1.0.2", + "pluralize": "7.0.0", + "progress": "2.0.0", + "regexpp": "2.0.0", + "require-uncached": "1.0.3", + "semver": "5.5.1", + "strip-ansi": "4.0.0", + "strip-json-comments": "2.0.1", + "table": "4.0.3", + "text-table": "0.2.0" + } + }, + "eslint-plugin-react": { + "version": "7.11.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.11.1.tgz", + "integrity": "sha512-cVVyMadRyW7qsIUh3FHp3u6QHNhOgVrLQYdQEB1bPWBsgbNCHdFAeNMquBMCcZJu59eNthX053L70l7gRt4SCw==", + "dev": true, + "requires": { + "array-includes": "3.0.3", + "doctrine": "2.1.0", + "has": "1.0.3", + "jsx-ast-utils": "2.0.1", + "prop-types": "15.6.2" + } + }, + "eslint-scope": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz", + "integrity": "sha512-1G6UTDi7Jc1ELFwnR58HV4fK9OQK4S6N985f166xqXxpjU6plxFISJa2Ba9KCQuFa8RCnj/lSFJbHo7UFDBnUA==", + "dev": true, + "requires": { + "esrecurse": "4.2.1", + "estraverse": "4.2.0" + } + }, + "eslint-utils": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.3.1.tgz", + "integrity": "sha512-Z7YjnIldX+2XMcjr7ZkgEsOj/bREONV60qYeB/bjMAqqqZ4zxKyWX+BOUkdmRmA9riiIPVvo5x86m5elviOk0Q==", + "dev": true + }, + "eslint-visitor-keys": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", + "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", + "dev": true + }, + "espree": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-4.0.0.tgz", + "integrity": "sha512-kapdTCt1bjmspxStVKX6huolXVV5ZfyZguY1lcfhVVZstce3bqxH9mcLzNn3/mlgW6wQ732+0fuG9v7h0ZQoKg==", + "dev": true, + "requires": { + "acorn": "5.7.2", + "acorn-jsx": "4.1.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "esquery": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", + "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", + "dev": true, + "requires": { + "estraverse": "4.2.0" + } + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "dev": true, + "requires": { + "estraverse": "4.2.0" + } + }, + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true + }, + "events": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/events/-/events-2.1.0.tgz", + "integrity": "sha512-3Zmiobend8P9DjmKAty0Era4jV8oJ0yGYe2nJJAxgymF9+N8F2m0hhZiMoWtcfepExzNKZumFU3ksdQbInGWCg==", "dev": true }, - "del": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", - "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", - "dev": true, - "requires": { - "globby": "^5.0.0", - "is-path-cwd": "^1.0.0", - "is-path-in-cwd": "^1.0.0", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "rimraf": "^2.2.8" - } + "eventthing": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/eventthing/-/eventthing-1.0.7.tgz", + "integrity": "sha1-Jxg926Rd8/vyiGTMCSpbfaQ0gUE=" }, - "deps-sort": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.0.tgz", - "integrity": "sha1-CRckkC6EZYJg65EHSMzNGvbiH7U=", + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", "dev": true, "requires": { - "JSONStream": "^1.0.3", - "shasum": "^1.0.0", - "subarg": "^1.0.0", - "through2": "^2.0.0" + "md5.js": "1.3.4", + "safe-buffer": "5.1.2" } }, - "des.js": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", - "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", + "expand-brackets": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", + "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", "dev": true, "requires": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "is-posix-bracket": "0.1.1" } }, - "detective": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/detective/-/detective-5.1.0.tgz", - "integrity": "sha512-TFHMqfOvxlgrfVzTEkNBSh9SvSNX/HfF4OFI2QFGCyPm02EsyILqnUeb5P6q7JZ3SFNTBL5t2sePRgrN4epUWQ==", + "expand-range": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", + "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", "dev": true, "requires": { - "acorn-node": "^1.3.0", - "defined": "^1.0.0", - "minimist": "^1.1.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - } + "fill-range": "2.2.4" } }, - "diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "extend": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extend/-/extend-1.3.0.tgz", + "integrity": "sha1-0VFvsP9WJNLr+RI+odrFoZlABPg=", "dev": true }, - "diffie-hellman": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "external-editor": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", + "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", "dev": true, "requires": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" + "chardet": "0.4.2", + "iconv-lite": "0.4.24", + "tmp": "0.0.33" } }, - "doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "extglob": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", + "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", "dev": true, "requires": { - "esutils": "^2.0.2" + "is-extglob": "1.0.0" } }, - "domain-browser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", - "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", "dev": true }, - "duplexer2": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", - "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", - "dev": true, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fbjs": { + "version": "0.8.17", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz", + "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=", "requires": { - "readable-stream": "^2.0.2" + "core-js": "1.2.7", + "isomorphic-fetch": "2.2.1", + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "promise": "7.3.1", + "setimmediate": "1.0.5", + "ua-parser-js": "0.7.18" } }, - "elliptic": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz", - "integrity": "sha1-ysmvh2LIWDYYcAPI3+GT5eLq5d8=", + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", "dev": true, "requires": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.0" + "escape-string-regexp": "1.0.5" } }, - "encoding": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", - "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", + "file-entry-cache": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", + "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", "dev": true, "requires": { - "iconv-lite": "~0.4.13" + "flat-cache": "1.3.0", + "object-assign": "4.1.1" } }, - "envify": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/envify/-/envify-4.1.0.tgz", - "integrity": "sha512-IKRVVoAYr4pIx4yIWNsz9mOsboxlNXiu7TNBnem/K/uTHdkyzXWDzHCK7UTolqBbgaBz0tQHsD3YNls0uIIjiw==", + "filename-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", + "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", + "dev": true + }, + "fill-range": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", + "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", "dev": true, "requires": { - "esprima": "^4.0.0", - "through": "~2.3.4" + "is-number": "2.1.0", + "isobject": "2.1.0", + "randomatic": "3.1.0", + "repeat-element": "1.1.3", + "repeat-string": "1.6.1" } }, - "es-abstract": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz", - "integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==", + "flat-cache": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz", + "integrity": "sha1-0wMLMrOBVPTjt+nHCfSQ9++XxIE=", "dev": true, "requires": { - "es-to-primitive": "^1.1.1", - "function-bind": "^1.1.1", - "has": "^1.0.1", - "is-callable": "^1.1.3", - "is-regex": "^1.0.4" + "circular-json": "0.3.3", + "del": "2.2.2", + "graceful-fs": "4.1.11", + "write": "0.2.1" } }, - "es-to-primitive": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz", - "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "for-own": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", + "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", "dev": true, "requires": { - "is-callable": "^1.1.1", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.1" + "for-in": "1.0.2" } }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, - "eslint": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-4.19.1.tgz", - "integrity": "sha512-bT3/1x1EbZB7phzYu7vCr1v3ONuzDtX8WjuM9c0iYxe+cq+pwcKEoQjl7zd3RpC6YOLgnSy3cTN58M2jcoPDIQ==", - "dev": true, - "requires": { - "ajv": "^5.3.0", - "babel-code-frame": "^6.22.0", - "chalk": "^2.1.0", - "concat-stream": "^1.6.0", - "cross-spawn": "^5.1.0", - "debug": "^3.1.0", - "doctrine": "^2.1.0", - "eslint-scope": "^3.7.1", - "eslint-visitor-keys": "^1.0.0", - "espree": "^3.5.4", - "esquery": "^1.0.0", - "esutils": "^2.0.2", - "file-entry-cache": "^2.0.0", - "functional-red-black-tree": "^1.0.1", - "glob": "^7.1.2", - "globals": "^11.0.1", - "ignore": "^3.3.3", - "imurmurhash": "^0.1.4", - "inquirer": "^3.0.6", - "is-resolvable": "^1.0.0", - "js-yaml": "^3.9.1", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.3.0", - "lodash": "^4.17.4", - "minimatch": "^3.0.2", - "mkdirp": "^0.5.1", - "natural-compare": "^1.4.0", - "optionator": "^0.8.2", - "path-is-inside": "^1.0.2", - "pluralize": "^7.0.0", - "progress": "^2.0.0", - "regexpp": "^1.0.1", - "require-uncached": "^1.0.3", - "semver": "^5.3.0", - "strip-ansi": "^4.0.0", - "strip-json-comments": "~2.0.1", - "table": "4.0.2", - "text-table": "~0.2.0" - } - }, - "eslint-plugin-react": { - "version": "7.9.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.9.1.tgz", - "integrity": "sha512-uvq+2ZkiqzjwF+pMZ8xqIC3pChV4KviPvvPIyQOvKWnjtvyW3iGfHIRqVumw05L3itby0QGmA4VdBA9m1OdMmg==", + "fsevents": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", + "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", "dev": true, + "optional": true, "requires": { - "doctrine": "^2.1.0", - "has": "^1.0.2", - "jsx-ast-utils": "^2.0.1", - "prop-types": "^15.6.1" + "nan": "2.11.0", + "node-pre-gyp": "0.10.0" }, "dependencies": { - "prop-types": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.1.tgz", - "integrity": "sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ==", + "abbrev": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, + "aproba": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + }, + "are-we-there-yet": { + "version": "1.1.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "delegates": "1.0.0", + "readable-stream": "2.3.6" + } + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "dev": true, + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "chownr": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "bundled": true, + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true, + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "deep-extend": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "optional": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "detect-libc": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "fs-minipass": { + "version": "1.2.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minipass": "2.2.4" + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "gauge": { + "version": "2.7.4", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "aproba": "1.2.0", + "console-control-strings": "1.1.0", + "has-unicode": "2.0.1", + "object-assign": "4.1.1", + "signal-exit": "3.0.2", + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wide-align": "1.1.2" + } + }, + "glob": { + "version": "7.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "iconv-lite": { + "version": "0.4.21", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safer-buffer": "2.1.2" + } + }, + "ignore-walk": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "minimatch": "3.0.4" + } + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "bundled": true, + "dev": true + }, + "ini": { + "version": "1.3.5", + "bundled": true, + "dev": true, + "optional": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "requires": { + "number-is-nan": "1.0.1" + } + }, + "isarray": { + "version": "1.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "dev": true, + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true, + "dev": true + }, + "minipass": { + "version": "2.2.4", + "bundled": true, + "dev": true, + "requires": { + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + } + }, + "minizlib": { + "version": "1.1.0", + "bundled": true, "dev": true, + "optional": true, "requires": { - "fbjs": "^0.8.16", - "loose-envify": "^1.3.1", - "object-assign": "^4.1.1" + "minipass": "2.2.4" } - } - } - }, - "eslint-scope": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.1.tgz", - "integrity": "sha1-PWPD7f2gLgbgGkUq2IyqzHzctug=", - "dev": true, - "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - } - }, - "eslint-visitor-keys": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", - "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", - "dev": true - }, - "espree": { - "version": "3.5.4", - "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", - "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", - "dev": true, - "requires": { - "acorn": "^5.5.0", - "acorn-jsx": "^3.0.0" - }, - "dependencies": { - "acorn": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.6.2.tgz", - "integrity": "sha512-zUzo1E5dI2Ey8+82egfnttyMlMZ2y0D8xOCO3PNPPlYXpl8NZvF6Qk9L9BEtJs+43FqEmfBViDqc5d1ckRDguw==", + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "dev": true, + "requires": { + "minimist": "0.0.8" + } + }, + "ms": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "needle": { + "version": "2.2.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "debug": "2.6.9", + "iconv-lite": "0.4.21", + "sax": "1.2.4" + } + }, + "node-pre-gyp": { + "version": "0.10.0", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "detect-libc": "1.0.3", + "mkdirp": "0.5.1", + "needle": "2.2.0", + "nopt": "4.0.1", + "npm-packlist": "1.1.10", + "npmlog": "4.1.2", + "rc": "1.2.7", + "rimraf": "2.6.2", + "semver": "5.5.0", + "tar": "4.4.1" + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "abbrev": "1.1.1", + "osenv": "0.1.5" + } + }, + "npm-bundled": { + "version": "1.0.3", + "bundled": true, + "dev": true, + "optional": true + }, + "npm-packlist": { + "version": "1.1.10", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "ignore-walk": "3.0.1", + "npm-bundled": "1.0.3" + } + }, + "npmlog": { + "version": "4.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "are-we-there-yet": "1.1.4", + "console-control-strings": "1.1.0", + "gauge": "2.7.4", + "set-blocking": "2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "bundled": true, "dev": true - } - } - }, - "esprima": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", - "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==", - "dev": true - }, - "esquery": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", - "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", - "dev": true, - "requires": { - "estraverse": "^4.0.0" - } - }, - "esrecurse": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", - "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", - "dev": true, - "requires": { - "estraverse": "^4.1.0" - } - }, - "estraverse": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", - "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", - "dev": true - }, - "esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", - "dev": true - }, - "events": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/events/-/events-2.1.0.tgz", - "integrity": "sha512-3Zmiobend8P9DjmKAty0Era4jV8oJ0yGYe2nJJAxgymF9+N8F2m0hhZiMoWtcfepExzNKZumFU3ksdQbInGWCg==", - "dev": true - }, - "eventthing": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/eventthing/-/eventthing-1.0.7.tgz", - "integrity": "sha1-Jxg926Rd8/vyiGTMCSpbfaQ0gUE=" - }, - "evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "dev": true, - "requires": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" - } - }, - "extend": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extend/-/extend-1.3.0.tgz", - "integrity": "sha1-0VFvsP9WJNLr+RI+odrFoZlABPg=", - "dev": true - }, - "external-editor": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", - "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", - "dev": true, - "requires": { - "chardet": "^0.4.0", - "iconv-lite": "^0.4.17", - "tmp": "^0.0.33" - } - }, - "fast-deep-equal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", - "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", - "dev": true - }, - "fast-json-stable-stringify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", - "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true - }, - "fbjs": { - "version": "0.8.16", - "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz", - "integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=", - "dev": true, - "requires": { - "core-js": "^1.0.0", - "isomorphic-fetch": "^2.1.1", - "loose-envify": "^1.0.0", - "object-assign": "^4.1.0", - "promise": "^7.1.1", - "setimmediate": "^1.0.5", - "ua-parser-js": "^0.7.9" - } - }, - "figures": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", - "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.5" - } - }, - "file-entry-cache": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", - "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", - "dev": true, - "requires": { - "flat-cache": "^1.2.1", - "object-assign": "^4.0.1" - } - }, - "flat-cache": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz", - "integrity": "sha1-0wMLMrOBVPTjt+nHCfSQ9++XxIE=", - "dev": true, - "requires": { - "circular-json": "^0.3.1", - "del": "^2.0.2", - "graceful-fs": "^4.1.2", - "write": "^0.2.1" + }, + "object-assign": { + "version": "4.1.1", + "bundled": true, + "dev": true, + "optional": true + }, + "once": { + "version": "1.4.0", + "bundled": true, + "dev": true, + "requires": { + "wrappy": "1.0.2" + } + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "os-tmpdir": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "osenv": { + "version": "0.1.5", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "os-homedir": "1.0.2", + "os-tmpdir": "1.0.2" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "rc": { + "version": "1.2.7", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "deep-extend": "0.5.1", + "ini": "1.3.5", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true, + "dev": true, + "optional": true + } + } + }, + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.1", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "rimraf": { + "version": "2.6.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "glob": "7.1.2" + } + }, + "safe-buffer": { + "version": "5.1.1", + "bundled": true, + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true, + "dev": true, + "optional": true + }, + "sax": { + "version": "1.2.4", + "bundled": true, + "dev": true, + "optional": true + }, + "semver": { + "version": "5.5.0", + "bundled": true, + "dev": true, + "optional": true + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true, + "dev": true, + "optional": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "string-width": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true, + "dev": true, + "optional": true + }, + "tar": { + "version": "4.4.1", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "chownr": "1.0.1", + "fs-minipass": "1.2.5", + "minipass": "2.2.4", + "minizlib": "1.1.0", + "mkdirp": "0.5.1", + "safe-buffer": "5.1.1", + "yallist": "3.0.2" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true, + "dev": true, + "optional": true + }, + "wide-align": { + "version": "1.1.2", + "bundled": true, + "dev": true, + "optional": true, + "requires": { + "string-width": "1.0.2" + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true, + "dev": true + }, + "yallist": { + "version": "3.0.2", + "bundled": true, + "dev": true + } } }, - "foreach": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", - "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", - "dev": true - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", @@ -2578,57 +2653,49 @@ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, + "get-assigned-identifiers": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz", + "integrity": "sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==", + "dev": true + }, "glob": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", "dev": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "dependencies": { - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - } + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "glob-base": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", + "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", + "dev": true, + "requires": { + "glob-parent": "2.0.0", + "is-glob": "2.0.1" + } + }, + "glob-parent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", + "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", + "dev": true, + "requires": { + "is-glob": "2.0.1" } }, "globals": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.5.0.tgz", - "integrity": "sha512-hYyf+kI8dm3nORsiiXUQigOU62hDLfJ9G01uyGMxhc6BKsircrUhC4uJPQPUSuq2GrTmiiEt7ewxlMdBewfmKQ==", + "version": "11.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.7.0.tgz", + "integrity": "sha512-K8BNSPySfeShBQXsahYB/AbbWruVOTyVpgoIDnl8odPpeSfP2J5QO2oLFFdl2j7GfDCtZj2bMKar2T49itTPCg==", "dev": true }, "globby": { @@ -2637,12 +2704,12 @@ "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", "dev": true, "requires": { - "array-union": "^1.0.1", - "arrify": "^1.0.0", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "array-union": "1.0.2", + "arrify": "1.0.1", + "glob": "7.1.3", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" } }, "graceful-fs": { @@ -2663,7 +2730,7 @@ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dev": true, "requires": { - "function-bind": "^1.1.1" + "function-bind": "1.1.1" } }, "has-ansi": { @@ -2672,7 +2739,7 @@ "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "2.1.1" } }, "has-flag": { @@ -2687,18 +2754,18 @@ "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", "dev": true, "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "hash.js": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", - "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.5.tgz", + "integrity": "sha512-eWI5HG9Np+eHV1KQhisXWwM+4EPPYe5dFX1UZZH7k/E3JzDEazVH+VGlZi6R94ZqImq+A3D1mCEtrFIfg/E7sA==", "dev": true, "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.0" + "inherits": "2.0.3", + "minimalistic-assert": "1.0.1" } }, "he": { @@ -2713,9 +2780,9 @@ "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", "dev": true, "requires": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" + "hash.js": "1.1.5", + "minimalistic-assert": "1.0.1", + "minimalistic-crypto-utils": "1.0.1" } }, "htmlescape": { @@ -2731,17 +2798,16 @@ "dev": true }, "humanize-duration": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/humanize-duration/-/humanize-duration-3.12.0.tgz", - "integrity": "sha512-Hnx+whbZRWv2SQnGolrPk+Q20khpkF4hRWTRbldcJx8F0cJQAAo3YaV7+5P6OqssBonI8zN9aZ7Fixs3kWLAhw==" + "version": "3.15.1", + "resolved": "https://registry.npmjs.org/humanize-duration/-/humanize-duration-3.15.1.tgz", + "integrity": "sha512-xfwsDoAinTTTNUAuYUGdeSPOUWEXzn9Xkep5LR0gpSw0gMKfpqLA7oxLWVRstYtZUarnCaeN0QqkOTC0TTPUpg==" }, "iconv-lite": { - "version": "0.4.23", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", - "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", - "dev": true, + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "requires": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": "2.1.2" } }, "ieee754": { @@ -2751,9 +2817,9 @@ "dev": true }, "ignore": { - "version": "3.3.8", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.8.tgz", - "integrity": "sha512-pUh+xUQQhQzevjRHHFqqcTy0/dP/kS9I8HSrUydhihjuD09W6ldVWFtIrwhXdUJHis3i2rZNqEHpZH/cbinFbg==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true }, "imurmurhash": { @@ -2768,8 +2834,8 @@ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" + "once": "1.4.0", + "wrappy": "1.0.2" } }, "inherits": { @@ -2784,46 +2850,64 @@ "integrity": "sha1-+Tk0ccGKedFyT4Y/o4tYY3Ct4qU=", "dev": true, "requires": { - "source-map": "~0.5.3" + "source-map": "0.5.7" } }, "inquirer": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", - "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", - "dev": true, - "requires": { - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.0", - "cli-cursor": "^2.1.0", - "cli-width": "^2.0.0", - "external-editor": "^2.0.4", - "figures": "^2.0.0", - "lodash": "^4.3.0", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-5.2.0.tgz", + "integrity": "sha512-E9BmnJbAKLPGonz0HeWHtbKf+EeSP93paWO3ZYoUpq/aowXvYGjjCSuashhXPpzbArIjBbji39THkxTz9ZeEUQ==", + "dev": true, + "requires": { + "ansi-escapes": "3.1.0", + "chalk": "2.4.1", + "cli-cursor": "2.1.0", + "cli-width": "2.2.0", + "external-editor": "2.2.0", + "figures": "2.0.0", + "lodash": "4.17.10", "mute-stream": "0.0.7", - "run-async": "^2.2.0", - "rx-lite": "^4.0.8", - "rx-lite-aggregates": "^4.0.8", - "string-width": "^2.1.0", - "strip-ansi": "^4.0.0", - "through": "^2.3.6" + "run-async": "2.3.0", + "rxjs": "5.5.11", + "string-width": "2.1.1", + "strip-ansi": "4.0.0", + "through": "2.3.8" } }, "insert-module-globals": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.1.0.tgz", - "integrity": "sha512-LbYZdybvKjbbcKLp03lB323Cgc8f0iL0Rjh8U6JZ7K1gZSf7MxQH191iCNUcLX4qIQ6/yWe4Q4ZsQ+opcReNFg==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.2.0.tgz", + "integrity": "sha512-VE6NlW+WGn2/AeOMd496AHFYmE7eLKkUY6Ty31k4og5vmA3Fjuwe9v6ifH6Xx/Hz27QvdoMoviw1/pqWRB09Sw==", + "dev": true, + "requires": { + "JSONStream": "1.3.4", + "acorn-node": "1.5.2", + "combine-source-map": "0.8.0", + "concat-stream": "1.6.2", + "is-buffer": "1.1.6", + "path-is-absolute": "1.0.1", + "process": "0.11.10", + "through2": "2.0.3", + "undeclared-identifiers": "1.1.2", + "xtend": "4.0.1" + } + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "requires": { + "loose-envify": "1.4.0" + } + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", "dev": true, "requires": { - "JSONStream": "^1.0.3", - "combine-source-map": "^0.8.0", - "concat-stream": "^1.6.1", - "is-buffer": "^1.1.0", - "lexical-scope": "^1.2.0", - "path-is-absolute": "^1.0.1", - "process": "~0.11.0", - "through2": "^2.0.0", - "xtend": "^4.0.0" + "binary-extensions": "1.11.0" } }, "is-buffer": { @@ -2833,9 +2917,9 @@ "dev": true }, "is-callable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz", - "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", + "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", "dev": true }, "is-date-object": { @@ -2844,12 +2928,57 @@ "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", "dev": true }, + "is-dotfile": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", + "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", + "dev": true + }, + "is-equal-shallow": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", + "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", + "dev": true, + "requires": { + "is-primitive": "2.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-extglob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", + "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", + "dev": true + }, "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", "dev": true }, + "is-glob": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", + "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", + "dev": true, + "requires": { + "is-extglob": "1.0.0" + } + }, + "is-number": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", + "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + } + }, "is-path-cwd": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", @@ -2862,7 +2991,7 @@ "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", "dev": true, "requires": { - "is-path-inside": "^1.0.0" + "is-path-inside": "1.0.1" } }, "is-path-inside": { @@ -2871,9 +3000,21 @@ "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", "dev": true, "requires": { - "path-is-inside": "^1.0.1" + "path-is-inside": "1.0.2" } }, + "is-posix-bracket": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", + "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", + "dev": true + }, + "is-primitive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", + "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", + "dev": true + }, "is-promise": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", @@ -2886,7 +3027,7 @@ "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", "dev": true, "requires": { - "has": "^1.0.1" + "has": "1.0.3" } }, "is-resolvable": { @@ -2898,8 +3039,7 @@ "is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "dev": true + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" }, "is-symbol": { "version": "1.0.1", @@ -2907,6 +3047,12 @@ "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=", "dev": true }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -2919,36 +3065,55 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + }, "isomorphic-fetch": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", - "dev": true, "requires": { - "node-fetch": "^1.0.1", - "whatwg-fetch": ">=0.10.0" + "node-fetch": "1.7.3", + "whatwg-fetch": "2.0.4" } }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "js-levenshtein": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.3.tgz", + "integrity": "sha512-/812MXr9RBtMObviZ8gQBhHO8MOrGj8HlEE+4ccMTElNA/6I3u39u+bhny55Lk921yn44nSZFy9naNLElL5wgQ==", "dev": true }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, "js-yaml": { "version": "3.12.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", "dev": true, "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "argparse": "1.0.10", + "esprima": "4.0.1" } }, + "jsesc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.1.tgz", + "integrity": "sha1-5CGiqOINawgZ3yiQj3glJrlt0f4=", + "dev": true + }, "json-schema-traverse": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", - "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, "json-stable-stringify": { @@ -2957,7 +3122,7 @@ "integrity": "sha1-YRwj6BTbN1Un34URk9tZ3Sryf0U=", "dev": true, "requires": { - "jsonify": "~0.0.0" + "jsonify": "0.0.0" } }, "json-stable-stringify-without-jsonify": { @@ -2966,6 +3131,12 @@ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true + }, "jsonify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", @@ -2984,7 +3155,16 @@ "integrity": "sha1-6AGxs5mF4g//yHtA43SAgOLcrH8=", "dev": true, "requires": { - "array-includes": "^3.0.3" + "array-includes": "3.0.3" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" } }, "labeled-stream-splicer": { @@ -2993,9 +3173,9 @@ "integrity": "sha512-MC94mHZRvJ3LfykJlTUipBqenZz1pacOZEMhhQ8dMGcDHs0SBE5GbsavUXV7YtP3icBW17W0Zy1I0lfASmo9Pg==", "dev": true, "requires": { - "inherits": "^2.0.1", - "isarray": "^2.0.4", - "stream-splicer": "^2.0.0" + "inherits": "2.0.3", + "isarray": "2.0.4", + "stream-splicer": "2.0.0" }, "dependencies": { "isarray": { @@ -3012,17 +3192,8 @@ "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", "dev": true, "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - } - }, - "lexical-scope": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/lexical-scope/-/lexical-scope-1.2.0.tgz", - "integrity": "sha1-/Ope3HBKSzqHls3KQZw6CvryLfQ=", - "dev": true, - "requires": { - "astw": "^2.0.0" + "prelude-ls": "1.1.2", + "type-check": "0.3.2" } }, "lodash": { @@ -3038,23 +3209,18 @@ "dev": true }, "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "dev": true, + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "requires": { - "js-tokens": "^3.0.0" + "js-tokens": "4.0.0" } }, - "lru-cache": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", - "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", - "dev": true, - "requires": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" - } + "math-random": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz", + "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=", + "dev": true }, "md5.js": { "version": "1.3.4", @@ -3062,8 +3228,29 @@ "integrity": "sha1-6b296UogpawYsENA/Fdk1bCdkB0=", "dev": true, "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" + "hash-base": "3.0.4", + "inherits": "2.0.3" + } + }, + "micromatch": { + "version": "2.3.11", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", + "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", + "dev": true, + "requires": { + "arr-diff": "2.0.0", + "array-unique": "0.2.1", + "braces": "1.8.5", + "expand-brackets": "0.1.5", + "extglob": "0.3.2", + "filename-regex": "2.0.1", + "is-extglob": "1.0.0", + "is-glob": "2.0.1", + "kind-of": "3.2.2", + "normalize-path": "2.1.1", + "object.omit": "2.0.1", + "parse-glob": "3.0.4", + "regex-cache": "0.4.4" } }, "miller-rabin": { @@ -3072,8 +3259,8 @@ "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", "dev": true, "requires": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" + "bn.js": "4.11.8", + "brorand": "1.1.0" } }, "mimic-fn": { @@ -3095,27 +3282,35 @@ "dev": true }, "minimatch": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.3.tgz", - "integrity": "sha512-NyXjqu1IwcqH6nv5vmMtaG3iw7kdV3g6MwlUBZkc3Vn5b5AMIWYKfptvzipoyFfhlfOgBQ9zoTxQMravF1QTnw==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { - "brace-expansion": "^1.0.0" + "brace-expansion": "1.1.11" } }, "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, "mkdirp": { "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "dev": true, "requires": { "minimist": "0.0.8" + }, + "dependencies": { + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "dev": true + } } }, "mocha": { @@ -3137,41 +3332,27 @@ "supports-color": "5.4.0" }, "dependencies": { - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "dev": true, "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" } }, - "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==", - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "supports-color": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", + "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", "dev": true, "requires": { - "brace-expansion": "^1.1.7" + "has-flag": "3.0.0" } } } @@ -3182,22 +3363,27 @@ "integrity": "sha512-NPs5N511VD1rrVJihSso/LiBShRbJALYBKzDW91uZYy7BpjnO4bGnZL3HjZ9yKcFdZUWwaYjDz9zxbuP7vKMuQ==", "dev": true, "requires": { - "JSONStream": "^1.0.3", - "browser-resolve": "^1.7.0", - "cached-path-relative": "^1.0.0", - "concat-stream": "~1.6.0", - "defined": "^1.0.0", - "detective": "^5.0.2", - "duplexer2": "^0.1.2", - "inherits": "^2.0.1", - "parents": "^1.0.0", - "readable-stream": "^2.0.2", - "resolve": "^1.4.0", - "stream-combiner2": "^1.1.1", - "subarg": "^1.0.0", - "through2": "^2.0.0", - "xtend": "^4.0.0" - } + "JSONStream": "1.3.4", + "browser-resolve": "1.11.3", + "cached-path-relative": "1.0.1", + "concat-stream": "1.6.2", + "defined": "1.0.0", + "detective": "5.1.0", + "duplexer2": "0.1.4", + "inherits": "2.0.3", + "parents": "1.0.1", + "readable-stream": "2.3.6", + "resolve": "1.8.1", + "stream-combiner2": "1.1.1", + "subarg": "1.0.0", + "through2": "2.0.3", + "xtend": "4.0.1" + } + }, + "moment": { + "version": "2.22.2", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.22.2.tgz", + "integrity": "sha1-PCV/mDn8DpP/UxSWMiOeuQeD/2Y=" }, "ms": { "version": "2.0.0", @@ -3211,41 +3397,80 @@ "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", "dev": true }, + "nan": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.0.tgz", + "integrity": "sha512-F4miItu2rGnV2ySkXOQoA8FKz/SR2Q2sWP0sbTxNxz/tuokeC8WxOhPMcwi0qIyGtVn/rrSeLbvVkznqCdwYnw==", + "dev": true, + "optional": true + }, "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, + "nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, "node-fetch": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", + "requires": { + "encoding": "0.1.12", + "is-stream": "1.1.0" + } + }, + "node-releases": { + "version": "1.0.0-alpha.11", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.0.0-alpha.11.tgz", + "integrity": "sha512-CaViu+2FqTNYOYNihXa5uPS/zry92I3vPU4nCB6JB3OeZ2UGtOpF5gRwuN4+m3hbEcL47bOXyun1jX2iC+3uEQ==", "dev": true, "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" + "semver": "5.5.1" + } + }, + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "1.1.0" } }, "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" }, "object-keys": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", - "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz", + "integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag==", "dev": true }, + "object.omit": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", + "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", + "dev": true, + "requires": { + "for-own": "0.1.5", + "is-extendable": "0.1.1" + } + }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "requires": { - "wrappy": "1" + "wrappy": "1.0.2" } }, "onetime": { @@ -3254,7 +3479,7 @@ "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", "dev": true, "requires": { - "mimic-fn": "^1.0.0" + "mimic-fn": "1.2.0" } }, "optionator": { @@ -3263,12 +3488,12 @@ "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", "dev": true, "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.4", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "wordwrap": "~1.0.0" + "deep-is": "0.1.3", + "fast-levenshtein": "2.0.6", + "levn": "0.3.0", + "prelude-ls": "1.1.2", + "type-check": "0.3.2", + "wordwrap": "1.0.0" } }, "os-browserify": { @@ -3283,6 +3508,15 @@ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true }, + "outpipe": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/outpipe/-/outpipe-1.1.1.tgz", + "integrity": "sha1-UM+GFjZeh+Ax4ppeyTOaPaRyX6I=", + "dev": true, + "requires": { + "shell-quote": "1.6.1" + } + }, "pako": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz", @@ -3295,7 +3529,7 @@ "integrity": "sha1-/t1NK/GTp3dF/nHjcdc8MwfZx1E=", "dev": true, "requires": { - "path-platform": "~0.11.15" + "path-platform": "0.11.15" } }, "parse-asn1": { @@ -3304,17 +3538,29 @@ "integrity": "sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw==", "dev": true, "requires": { - "asn1.js": "^4.0.0", - "browserify-aes": "^1.0.0", - "create-hash": "^1.1.0", - "evp_bytestokey": "^1.0.0", - "pbkdf2": "^3.0.3" + "asn1.js": "4.10.1", + "browserify-aes": "1.2.0", + "create-hash": "1.2.0", + "evp_bytestokey": "1.0.3", + "pbkdf2": "3.0.16" + } + }, + "parse-glob": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", + "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", + "dev": true, + "requires": { + "glob-base": "0.3.0", + "is-dotfile": "1.0.3", + "is-extglob": "1.0.0", + "is-glob": "2.0.1" } }, "path-browserify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.0.tgz", - "integrity": "sha1-oLhwcpquIUAFt9UDLsLLuw+0RRo=", + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", + "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", "dev": true }, "path-is-absolute": { @@ -3329,10 +3575,16 @@ "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", "dev": true }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, "path-parse": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", "dev": true }, "path-platform": { @@ -3347,11 +3599,11 @@ "integrity": "sha512-y4CXP3thSxqf7c0qmOF+9UeOTrifiVTIM+u7NWlq+PRsHbr7r7dpCmvzrZxa96JJUNi0Y5w9VqG5ZNeCVMoDcA==", "dev": true, "requires": { - "create-hash": "^1.1.2", - "create-hmac": "^1.1.4", - "ripemd160": "^2.0.1", - "safe-buffer": "^5.0.1", - "sha.js": "^2.4.8" + "create-hash": "1.2.0", + "create-hmac": "1.1.7", + "ripemd160": "2.0.2", + "safe-buffer": "5.1.2", + "sha.js": "2.4.11" } }, "pify": { @@ -3372,7 +3624,7 @@ "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "dev": true, "requires": { - "pinkie": "^2.0.0" + "pinkie": "2.0.4" } }, "pluralize": { @@ -3387,6 +3639,18 @@ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true }, + "preserve": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", + "dev": true + }, + "private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "dev": true + }, "process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", @@ -3407,131 +3671,20 @@ }, "promise": { "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "dev": true, - "requires": { - "asap": "~2.0.3" - } - }, - "prop-types": { - "version": "15.6.0", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.0.tgz", - "integrity": "sha1-zq8IMCL8RrSjX2nhPvda7Q1jmFY=", - "requires": { - "fbjs": "^0.8.16", - "loose-envify": "^1.3.1", - "object-assign": "^4.1.1" - }, - "dependencies": { - "asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" - }, - "core-js": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", - "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" - }, - "encoding": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", - "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", - "requires": { - "iconv-lite": "~0.4.13" - } - }, - "fbjs": { - "version": "0.8.16", - "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz", - "integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=", - "requires": { - "core-js": "^1.0.0", - "isomorphic-fetch": "^2.1.1", - "loose-envify": "^1.0.0", - "object-assign": "^4.1.0", - "promise": "^7.1.1", - "setimmediate": "^1.0.5", - "ua-parser-js": "^0.7.9" - } - }, - "iconv-lite": { - "version": "0.4.19", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", - "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==" - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "isomorphic-fetch": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", - "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", - "requires": { - "node-fetch": "^1.0.1", - "whatwg-fetch": ">=0.10.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" - }, - "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "requires": { - "js-tokens": "^3.0.0" - } - }, - "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "requires": { - "asap": "~2.0.3" - } - }, - "setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" - }, - "ua-parser-js": { - "version": "0.7.17", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.17.tgz", - "integrity": "sha512-uRdSdu1oA1rncCQL7sCj8vSyZkgtL7faaw9Tc9rZ3mGgraQ7+Pdx7w5mnOSF3gw9ZNG6oc+KXfkon3bKuROm0g==" - }, - "whatwg-fetch": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz", - "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ=" - } + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "requires": { + "asap": "2.0.6" } }, - "pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", - "dev": true + "prop-types": { + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", + "requires": { + "loose-envify": "1.4.0", + "object-assign": "4.1.1" + } }, "public-encrypt": { "version": "4.0.2", @@ -3539,11 +3692,11 @@ "integrity": "sha512-4kJ5Esocg8X3h8YgJsKAuoesBgB7mqH3eowiDzMUPKiRDDE7E/BqqZD1hnTByIaAFiwAw246YEltSq7tdrOH0Q==", "dev": true, "requires": { - "bn.js": "^4.1.0", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "parse-asn1": "^5.0.0", - "randombytes": "^2.0.1" + "bn.js": "4.11.8", + "browserify-rsa": "4.0.1", + "create-hash": "1.2.0", + "parse-asn1": "5.1.1", + "randombytes": "2.0.6" } }, "punycode": { @@ -3564,13 +3717,38 @@ "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", "dev": true }, + "randomatic": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.0.tgz", + "integrity": "sha512-KnGPVE0lo2WoXxIZ7cPR8YBpiol4gsSuOwDSg410oHh80ZMp5EiypNqL2K4Z77vJn6lB5rap7IkAmcUlalcnBQ==", + "dev": true, + "requires": { + "is-number": "4.0.0", + "kind-of": "6.0.2", + "math-random": "1.0.1" + }, + "dependencies": { + "is-number": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, "randombytes": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz", "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==", "dev": true, "requires": { - "safe-buffer": "^5.1.0" + "safe-buffer": "5.1.2" } }, "randomfill": { @@ -3579,8 +3757,8 @@ "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", "dev": true, "requires": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" + "randombytes": "2.0.6", + "safe-buffer": "5.1.2" } }, "react": { @@ -3588,232 +3766,25 @@ "resolved": "https://registry.npmjs.org/react/-/react-15.6.2.tgz", "integrity": "sha1-26BDSrQ5z+gvEI8PURZjkIF5qnI=", "requires": { - "create-react-class": "^15.6.0", - "fbjs": "^0.8.9", - "loose-envify": "^1.1.0", - "object-assign": "^4.1.0", - "prop-types": "^15.5.10" - }, - "dependencies": { - "asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" - }, - "core-js": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", - "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" - }, - "encoding": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", - "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", - "requires": { - "iconv-lite": "~0.4.13" - } - }, - "fbjs": { - "version": "0.8.16", - "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz", - "integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=", - "requires": { - "core-js": "^1.0.0", - "isomorphic-fetch": "^2.1.1", - "loose-envify": "^1.0.0", - "object-assign": "^4.1.0", - "promise": "^7.1.1", - "setimmediate": "^1.0.5", - "ua-parser-js": "^0.7.9" - } - }, - "iconv-lite": { - "version": "0.4.19", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", - "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==" - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "isomorphic-fetch": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", - "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", - "requires": { - "node-fetch": "^1.0.1", - "whatwg-fetch": ">=0.10.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" - }, - "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "requires": { - "js-tokens": "^3.0.0" - } - }, - "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "requires": { - "asap": "~2.0.3" - } - }, - "setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" - }, - "ua-parser-js": { - "version": "0.7.17", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.17.tgz", - "integrity": "sha512-uRdSdu1oA1rncCQL7sCj8vSyZkgtL7faaw9Tc9rZ3mGgraQ7+Pdx7w5mnOSF3gw9ZNG6oc+KXfkon3bKuROm0g==" - }, - "whatwg-fetch": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz", - "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ=" - } + "create-react-class": "15.6.3", + "fbjs": "0.8.17", + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2" } }, "react-chartjs": { - "version": "git://github.com/reactjs/react-chartjs.git#35f665b28438cf4a15892e814489304ef1ac5527", - "from": "git://github.com/reactjs/react-chartjs.git#chartjs-v2" + "version": "git://github.com/reactjs/react-chartjs.git#35f665b28438cf4a15892e814489304ef1ac5527" }, "react-dom": { "version": "15.6.2", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-15.6.2.tgz", "integrity": "sha1-Qc+t9pO3V/rycIRDodH9WgK+9zA=", "requires": { - "fbjs": "^0.8.9", - "loose-envify": "^1.1.0", - "object-assign": "^4.1.0", - "prop-types": "^15.5.10" - }, - "dependencies": { - "asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" - }, - "core-js": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", - "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=" - }, - "encoding": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", - "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", - "requires": { - "iconv-lite": "~0.4.13" - } - }, - "fbjs": { - "version": "0.8.16", - "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.16.tgz", - "integrity": "sha1-XmdDL1UNxBtXK/VYR7ispk5TN9s=", - "requires": { - "core-js": "^1.0.0", - "isomorphic-fetch": "^2.1.1", - "loose-envify": "^1.0.0", - "object-assign": "^4.1.0", - "promise": "^7.1.1", - "setimmediate": "^1.0.5", - "ua-parser-js": "^0.7.9" - } - }, - "iconv-lite": { - "version": "0.4.19", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", - "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==" - }, - "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" - }, - "isomorphic-fetch": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", - "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", - "requires": { - "node-fetch": "^1.0.1", - "whatwg-fetch": ">=0.10.0" - } - }, - "js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" - }, - "loose-envify": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "requires": { - "js-tokens": "^3.0.0" - } - }, - "node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "requires": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "requires": { - "asap": "~2.0.3" - } - }, - "setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" - }, - "ua-parser-js": { - "version": "0.7.17", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.17.tgz", - "integrity": "sha512-uRdSdu1oA1rncCQL7sCj8vSyZkgtL7faaw9Tc9rZ3mGgraQ7+Pdx7w5mnOSF3gw9ZNG6oc+KXfkon3bKuROm0g==" - }, - "whatwg-fetch": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz", - "integrity": "sha1-nITsLc9oGH/wC8ZOEnS0QhduHIQ=" - } + "fbjs": "0.8.17", + "loose-envify": "1.4.0", + "object-assign": "4.1.1", + "prop-types": "15.6.2" } }, "read-only-stream": { @@ -3822,7 +3793,7 @@ "integrity": "sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A=", "dev": true, "requires": { - "readable-stream": "^2.0.2" + "readable-stream": "2.3.6" } }, "readable-stream": { @@ -3831,19 +3802,119 @@ "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "dev": true, "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "readdirp": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz", + "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "minimatch": "3.0.4", + "readable-stream": "2.3.6", + "set-immediate-shim": "1.0.1" + } + }, + "regenerate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", + "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==", + "dev": true + }, + "regenerate-unicode-properties": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-7.0.0.tgz", + "integrity": "sha512-s5NGghCE4itSlUS+0WUj88G6cfMVMmH8boTPNvABf8od+2dhT9WDlWu8n01raQAJZMOK8Ch6jSexaRO7swd6aw==", + "dev": true, + "requires": { + "regenerate": "1.4.0" + } + }, + "regenerator-transform": { + "version": "0.13.3", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.3.tgz", + "integrity": "sha512-5ipTrZFSq5vU2YoGoww4uaRVAK4wyYC4TSICibbfEPOruUu8FFP7ErV0BjmbIOEpn3O/k9na9UEdYR/3m7N6uA==", + "dev": true, + "requires": { + "private": "0.1.8" + } + }, + "regex-cache": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", + "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", + "dev": true, + "requires": { + "is-equal-shallow": "0.1.3" } }, "regexpp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.0.tgz", + "integrity": "sha512-g2FAVtR8Uh8GO1Nv5wpxW7VFVwHcCEr4wyA8/MHiRkO8uHoR5ntAA8Uq3P1vvMTX/BeQiRVSpDGLd+Wn5HNOTA==", + "dev": true + }, + "regexpu-core": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.2.0.tgz", + "integrity": "sha512-Z835VSnJJ46CNBttalHD/dB+Sj2ezmY6Xp38npwU87peK6mqOzOpV8eYktdkLTEkzzD+JsTcxd84ozd8I14+rw==", + "dev": true, + "requires": { + "regenerate": "1.4.0", + "regenerate-unicode-properties": "7.0.0", + "regjsgen": "0.4.0", + "regjsparser": "0.3.0", + "unicode-match-property-ecmascript": "1.0.4", + "unicode-match-property-value-ecmascript": "1.0.2" + } + }, + "regjsgen": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.4.0.tgz", + "integrity": "sha512-X51Lte1gCYUdlwhF28+2YMO0U6WeN0GLpgpA7LK7mbdDnkQYiwvEpmpe0F/cv5L14EbxgrdayAG3JETBv0dbXA==", + "dev": true + }, + "regjsparser": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.3.0.tgz", + "integrity": "sha512-zza72oZBBHzt64G7DxdqrOo/30bhHkwMUoT0WqfGu98XLd7N+1tsy5MJ96Bk4MD0y74n629RhmrGW6XlnLLwCA==", + "dev": true, + "requires": { + "jsesc": "0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } + } + }, + "remove-trailing-separator": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-1.1.0.tgz", - "integrity": "sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", "dev": true }, "require-uncached": { @@ -3852,17 +3923,17 @@ "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", "dev": true, "requires": { - "caller-path": "^0.1.0", - "resolve-from": "^1.0.0" + "caller-path": "0.1.0", + "resolve-from": "1.0.1" } }, "resolve": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", - "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", "dev": true, "requires": { - "path-parse": "^1.0.5" + "path-parse": "1.0.6" } }, "resolve-from": { @@ -3877,8 +3948,8 @@ "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", "dev": true, "requires": { - "onetime": "^2.0.0", - "signal-exit": "^3.0.2" + "onetime": "2.0.1", + "signal-exit": "3.0.2" } }, "rimraf": { @@ -3887,7 +3958,7 @@ "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", "dev": true, "requires": { - "glob": "^7.0.5" + "glob": "7.1.3" } }, "ripemd160": { @@ -3896,8 +3967,8 @@ "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", "dev": true, "requires": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" + "hash-base": "3.0.4", + "inherits": "2.0.3" } }, "run-async": { @@ -3906,22 +3977,16 @@ "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", "dev": true, "requires": { - "is-promise": "^2.1.0" + "is-promise": "2.1.0" } }, - "rx-lite": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", - "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", - "dev": true - }, - "rx-lite-aggregates": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", - "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", + "rxjs": { + "version": "5.5.11", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.11.tgz", + "integrity": "sha512-3bjO7UwWfA2CV7lmwYMBzj4fQ6Cq+ftHc2MvUe+WMS7wcdJ1LosDWmdjPQanYp2dBRj572p7PeU81JUxHKOcBA==", "dev": true, "requires": { - "rx-lite": "*" + "symbol-observable": "1.0.1" } }, "safe-buffer": { @@ -3933,20 +3998,24 @@ "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "semver": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", - "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz", + "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==", + "dev": true + }, + "set-immediate-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", "dev": true }, "setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", - "dev": true + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" }, "sha.js": { "version": "2.4.11", @@ -3954,8 +4023,8 @@ "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", "dev": true, "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "2.0.3", + "safe-buffer": "5.1.2" } }, "shasum": { @@ -3964,8 +4033,8 @@ "integrity": "sha1-5wEjENj0F/TetXEhUOVni4euVl8=", "dev": true, "requires": { - "json-stable-stringify": "~0.0.0", - "sha.js": "~2.4.4" + "json-stable-stringify": "0.0.1", + "sha.js": "2.4.11" } }, "shebang-command": { @@ -3974,7 +4043,7 @@ "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "dev": true, "requires": { - "shebang-regex": "^1.0.0" + "shebang-regex": "1.0.0" } }, "shebang-regex": { @@ -3989,10 +4058,10 @@ "integrity": "sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=", "dev": true, "requires": { - "array-filter": "~0.0.0", - "array-map": "~0.0.0", - "array-reduce": "~0.0.0", - "jsonify": "~0.0.0" + "array-filter": "0.0.1", + "array-map": "0.0.0", + "array-reduce": "0.0.0", + "jsonify": "0.0.0" } }, "signal-exit": { @@ -4001,21 +4070,45 @@ "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true }, + "simple-concat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.0.tgz", + "integrity": "sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=", + "dev": true + }, "slice-ansi": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", "dev": true, "requires": { - "is-fullwidth-code-point": "^2.0.0" + "is-fullwidth-code-point": "2.0.0" } }, "source-map": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", - "integrity": "sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==", + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "dev": true }, + "source-map-support": { + "version": "0.5.9", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.9.tgz", + "integrity": "sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA==", + "dev": true, + "requires": { + "buffer-from": "1.1.1", + "source-map": "0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", @@ -4028,8 +4121,8 @@ "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", "dev": true, "requires": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" + "inherits": "2.0.3", + "readable-stream": "2.3.6" } }, "stream-combiner2": { @@ -4038,8 +4131,8 @@ "integrity": "sha1-+02KFCDqNidk4hrUeAOXvry0HL4=", "dev": true, "requires": { - "duplexer2": "~0.1.0", - "readable-stream": "^2.0.2" + "duplexer2": "0.1.4", + "readable-stream": "2.3.6" } }, "stream-http": { @@ -4048,11 +4141,11 @@ "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", "dev": true, "requires": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.3.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" + "builtin-status-codes": "3.0.0", + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "to-arraybuffer": "1.0.1", + "xtend": "4.0.1" } }, "stream-splicer": { @@ -4061,8 +4154,8 @@ "integrity": "sha1-G2O+Q4oTPktnHMGTUZdgAXWRDYM=", "dev": true, "requires": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.2" + "inherits": "2.0.3", + "readable-stream": "2.3.6" } }, "string-width": { @@ -4071,8 +4164,8 @@ "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" } }, "string_decoder": { @@ -4081,7 +4174,7 @@ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "5.1.2" } }, "strip-ansi": { @@ -4090,7 +4183,7 @@ "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "requires": { - "ansi-regex": "^3.0.0" + "ansi-regex": "3.0.0" }, "dependencies": { "ansi-regex": { @@ -4113,47 +4206,70 @@ "integrity": "sha1-9izxdYHplrSPyWVpn1TAauJouNI=", "dev": true, "requires": { - "minimist": "^1.1.0" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true - } + "minimist": "1.2.0" } }, "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "has-flag": "3.0.0" } }, + "symbol-observable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", + "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", + "dev": true + }, "syntax-error": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz", "integrity": "sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==", "dev": true, "requires": { - "acorn-node": "^1.2.0" + "acorn-node": "1.5.2" } }, "table": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/table/-/table-4.0.2.tgz", - "integrity": "sha512-UUkEAPdSGxtRpiV9ozJ5cMTtYiqz7Ni1OGqLXRCynrvzdtR1p+cfOWe2RJLwvUG8hNanaSRjecIqwOjqeatDsA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/table/-/table-4.0.3.tgz", + "integrity": "sha512-S7rnFITmBH1EnyKcvxBh1LjYeQMmnZtCXSEbHcH6S0NoKit24ZuFO/T1vDcLdYsLQkM188PVVhQmzKIuThNkKg==", "dev": true, "requires": { - "ajv": "^5.2.3", - "ajv-keywords": "^2.1.0", - "chalk": "^2.1.0", - "lodash": "^4.17.4", + "ajv": "6.5.3", + "ajv-keywords": "3.2.0", + "chalk": "2.4.1", + "lodash": "4.17.10", "slice-ansi": "1.0.0", - "string-width": "^2.1.1" + "string-width": "2.1.1" + } + }, + "terser": { + "version": "3.8.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-3.8.2.tgz", + "integrity": "sha512-FGSBXiBJe2TSXy6pWwXpY0YcEWEK35UKL64BBbxX3aHqM4Nj0RMqXvqBuoSGfyd80t8MKQ5JwYm5jRRGTSEFNg==", + "dev": true, + "requires": { + "commander": "2.17.1", + "source-map": "0.6.1", + "source-map-support": "0.5.9" + }, + "dependencies": { + "commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } } }, "text-table": { @@ -4174,8 +4290,8 @@ "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", "dev": true, "requires": { - "readable-stream": "^2.1.5", - "xtend": "~4.0.1" + "readable-stream": "2.3.6", + "xtend": "4.0.1" } }, "timers-browserify": { @@ -4184,7 +4300,7 @@ "integrity": "sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=", "dev": true, "requires": { - "process": "~0.11.0" + "process": "0.11.10" } }, "tmp": { @@ -4193,7 +4309,7 @@ "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dev": true, "requires": { - "os-tmpdir": "~1.0.2" + "os-tmpdir": "1.0.2" } }, "to-arraybuffer": { @@ -4202,6 +4318,18 @@ "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", "dev": true }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true + }, "tty-browserify": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz", @@ -4214,7 +4342,7 @@ "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", "dev": true, "requires": { - "prelude-ls": "~1.1.2" + "prelude-ls": "1.1.2" } }, "typedarray": { @@ -4226,30 +4354,43 @@ "ua-parser-js": { "version": "0.7.18", "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.18.tgz", - "integrity": "sha512-LtzwHlVHwFGTptfNSgezHp7WUlwiqb0gA9AALRbKaERfxwJoiX0A73QbTToxteIAuIaFshhgIZfqK8s7clqgnA==", - "dev": true + "integrity": "sha512-LtzwHlVHwFGTptfNSgezHp7WUlwiqb0gA9AALRbKaERfxwJoiX0A73QbTToxteIAuIaFshhgIZfqK8s7clqgnA==" }, "uglify-js": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.1.3.tgz", - "integrity": "sha512-5ZUOgufCHjN2mBBLfz63UtWTP6va2sSzBpNCM+/iqI6RnPzEhANmB0EKiKBYdQbc3v7KeomXJ2DJx0Xq9gvUvA==", + "version": "3.4.8", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.8.tgz", + "integrity": "sha512-WatYTD84gP/867bELqI2F/2xC9PQBETn/L+7RGq9MQOA/7yFBNvY1UwXqvtILeE6n0ITwBXxp34M0/o70dzj6A==", "dev": true, "requires": { - "commander": "~2.11.0", - "source-map": "~0.5.1" + "commander": "2.17.1", + "source-map": "0.6.1" + }, + "dependencies": { + "commander": { + "version": "2.17.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", + "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } } }, "uglifyify": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/uglifyify/-/uglifyify-4.0.4.tgz", - "integrity": "sha512-zsybjeGOkBYM7aL0zNT13yse2rlbW2QzrcL1LYsl/aCh0frzzfIh6XE0ZtKGeWkCzD/81y5xiFKqJIJ2ChvXlA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/uglifyify/-/uglifyify-5.0.1.tgz", + "integrity": "sha512-PO44rgExvwj3rkK0UzenHVnPU18drBy9x9HOUmgkuRh6K2KIsDqrB5LqxGtjybgGTOS1JeP8SBc+TN5rhiva6w==", "dev": true, "requires": { - "convert-source-map": "~1.1.0", - "extend": "^1.2.1", - "minimatch": "^3.0.2", - "through": "~2.3.4", - "uglify-es": "^3.0.15" + "convert-source-map": "1.1.3", + "extend": "1.3.0", + "minimatch": "3.0.4", + "terser": "3.8.2", + "through": "2.3.8" }, "dependencies": { "convert-source-map": { @@ -4257,16 +4398,6 @@ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=", "dev": true - }, - "uglify-es": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.1.3.tgz", - "integrity": "sha512-Nuo5gkv/Q6PmLa+Ui2LvK+87YdMAcuXfRIWF0uVfkHVSfpT3Ue0euCSu4t0b8xv4Bt05lmXUT8bLI9OmnyPj8A==", - "dev": true, - "requires": { - "commander": "~2.11.0", - "source-map": "~0.5.1" - } } } }, @@ -4276,6 +4407,63 @@ "integrity": "sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow==", "dev": true }, + "undeclared-identifiers": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.2.tgz", + "integrity": "sha512-13EaeocO4edF/3JKime9rD7oB6QI8llAGhgn5fKOPyfkJbRb6NFv9pYV6dFEmpa4uRjKeBqLZP8GpuzqHlKDMQ==", + "dev": true, + "requires": { + "acorn-node": "1.5.2", + "get-assigned-identifiers": "1.2.0", + "simple-concat": "1.0.0", + "xtend": "4.0.1" + } + }, + "unicode-canonical-property-names-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", + "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==", + "dev": true + }, + "unicode-match-property-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", + "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", + "dev": true, + "requires": { + "unicode-canonical-property-names-ecmascript": "1.0.4", + "unicode-property-aliases-ecmascript": "1.0.4" + } + }, + "unicode-match-property-value-ecmascript": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.0.2.tgz", + "integrity": "sha512-Rx7yODZC1L/T8XKo/2kNzVAQaRE88AaMvI1EF/Xnj3GW2wzN6fop9DDWuFAKUVFH7vozkz26DzP0qyWLKLIVPQ==", + "dev": true + }, + "unicode-property-aliases-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.4.tgz", + "integrity": "sha512-2WSLa6OdYd2ng8oqiGIWnJqyFArvhn+5vgx5GTxMbUYjCYKUcuKS62YLFF0R/BDGlB1yzXjQOLtPAfHsgirEpg==", + "dev": true + }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dev": true, + "requires": { + "punycode": "2.1.1" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + } + } + }, "url": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", @@ -4310,16 +4498,30 @@ "dev": true }, "vm-browserify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.0.1.tgz", - "integrity": "sha512-EqzLchIMYLBjRPoqVsEkZOa/4Vr2RfOWbd58F+I/Gj79AYTrsseMunxbbSkbYfrqZaXSuPBBXNSOhtJgg0PpmA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.0.tgz", + "integrity": "sha512-iq+S7vZJE60yejDYM0ek6zg308+UZsdtPExWP9VZoCFCz1zkJoXFnAX7aZfd/ZwrkidzdUZL0C/ryW+JwAiIGw==", "dev": true }, + "watchify": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/watchify/-/watchify-3.11.0.tgz", + "integrity": "sha512-7jWG0c3cKKm2hKScnSAMUEUjRJKXUShwMPk0ASVhICycQhwND3IMAdhJYmc1mxxKzBUJTSF5HZizfrKrS6BzkA==", + "dev": true, + "requires": { + "anymatch": "1.3.2", + "browserify": "16.2.2", + "chokidar": "1.7.0", + "defined": "1.0.0", + "outpipe": "1.1.1", + "through2": "2.0.3", + "xtend": "4.0.1" + } + }, "whatwg-fetch": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz", - "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==", - "dev": true + "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==" }, "which": { "version": "1.3.1", @@ -4327,7 +4529,7 @@ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, "requires": { - "isexe": "^2.0.0" + "isexe": "2.0.0" } }, "wordwrap": { @@ -4348,7 +4550,7 @@ "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", "dev": true, "requires": { - "mkdirp": "^0.5.1" + "mkdirp": "0.5.1" } }, "xtend": { @@ -4356,12 +4558,6 @@ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", "dev": true - }, - "yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", - "dev": true } } } diff --git a/App/package.json b/App/package.json index 129a8dd9..3e367b4f 100644 --- a/App/package.json +++ b/App/package.json @@ -1,34 +1,38 @@ { "name": "OrleansDashboardApp", "version": "1.0.0", - "description": "", + "description": "An admin dashboard for Microsoft Orleans", + "repository": "github:OrleansContrib/OrleansDashboard", "main": "index.js", "scripts": { "build": "npm run lint && npm run test && npm run browserify", "lint": "eslint . --ext .js --ext .jsx", "test": "mocha", - "browserify": "browserify -t babelify index.jsx -g [ envify --NODE_ENV production ] -g uglifyify | uglifyjs --compress warnings=false --mangle > ../OrleansDashboard/index.min.js", - "dev": "browserify -t babelify index.jsx -g [ envify --NODE_ENV development ] > ../TestHost/index.min.js" + "browserify": "cross-env BABEL_ENV=production browserify index.jsx -t babelify -g [ envify --NODE_ENV production ] -g uglifyify | uglifyjs --compress warnings=false --mangle > ../OrleansDashboard/index.min.js", + "watch": "cross-env BABEL_ENV=development watchify index.jsx -t babelify -g [ envify --NODE_ENV development ] -o ../TestHost/index.min.js" }, "dependencies": { - "chart.js": "2.2.2", + "chart.js": "^2.7.2", "eventthing": "^1.0.7", - "humanize-duration": "^3.9.1", - "react": "^15.4.2", + "humanize-duration": "^3.15.1", + "react": "^15.6.2", "react-chartjs": "git://github.com/reactjs/react-chartjs.git#chartjs-v2", - "react-dom": "^15.3.0" + "react-dom": "^15.6.2" }, "devDependencies": { - "babel-preset-es2015": "^6.5.0", - "babel-preset-react": "^6.5.0", - "babelify": "^7.2.0", + "@babel/core": "^7.0.0", + "@babel/preset-env": "^7.0.0", + "@babel/preset-react": "^7.0.0", + "babelify": "^9.0.0", "browserify": "^16.2.2", + "cross-env": "^5.2.0", "envify": "^4.1.0", - "eslint": "^4.19.1", - "eslint-plugin-react": "^7.9.1", + "eslint": "^5.4.0", + "eslint-plugin-react": "^7.11.1", "mocha": "^5.2.0", - "uglify-js": "^3.1.3", - "uglifyify": "^4.0.4" + "uglify-js": "^3.4.8", + "uglifyify": "^5.0.1", + "watchify": "^3.11.0" }, "author": "Richard Astbury", "license": "MIT" diff --git a/OrleansDashboard/index.min.js b/OrleansDashboard/index.min.js index 9adc5252..68691d92 100644 --- a/OrleansDashboard/index.min.js +++ b/OrleansDashboard/index.min.js @@ -1 +1 @@ -function(){function e(t,n,r){function a(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[o]={exports:{}};t[o][0].call(u.exports,function(e){return a(t[o][1][e]||e)},u,u.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;or(t)?1:0}function c(e,t){return l(t,e)}function u(e,t){return e.totalExceptions-t.totalExceptions}function d(e,t){return u(t,e)}function h(e,t){return e.totalCalls-t.totalCalls}function p(e,t){return h(t,e)}function f(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 m(e,t){return f(t,e)}var g=function(){function e(e,t){for(var n=0;n-1:e}).filter(function(e){return t.state.primary_key?e.primaryKey.indexOf(t.state.primary_key)>-1:e}).filter(function(e){return t.state.name?e.name.indexOf(t.state.name)>-1:e}).filter(function(e){return t.state.startAt?e.startAt.indexOf(t.state.startAt)>-1:e}).filter(function(e){return t.state.period?e.period.indexOf(t.state.period)>-1:e})},render:function(){if(!this.props.data)return null;var e=this.filterData(this.props.data);return a.createElement("table",{className:"table"},a.createElement("tbody",null,a.createElement("tr",null,a.createElement("th",{style:{textAlign:"left"}},"Grain Reference"),a.createElement("th",null,"Primary Key"),a.createElement("th",null),a.createElement("th",{style:{textAlign:"left"}},"Name"),a.createElement("th",{style:{textAlign:"left"}},"Start At"),a.createElement("th",{style:{textAlign:"right"}},"Period")),a.createElement("tr",null,a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.grain_reference,type:"text",name:"grain_reference",className:"form-control",placeholder:"Filter by Grain Reference"})),a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.primary_key,type:"text",name:"primary_key",className:"form-control",placeholder:"Filter by Primary Key"})),a.createElement("th",null),a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.name,type:"text",name:"name",className:"form-control",placeholder:"Filter by Name"})),a.createElement("th",{style:{textAlign:"left"}},a.createElement("input",{onChange:this.handleChange,value:this.state.startAt,type:"text",name:"startAt",className:"form-control",placeholder:"Filter by Start At"})),a.createElement("th",{style:{textAlign:"right"}},a.createElement("input",{onChange:this.handleChange,value:this.state.period,type:"text",name:"period",className:"form-control",placeholder:"Filter by Period"}))),e.map(this.renderReminder)))}})},{react:259}],13:[function(e,t,n){"use strict";var r=e("react");t.exports=r.createClass({displayName:"exports",getInitialState:function(){var e=document.getElementById("dark-theme-style"),t="light";return localStorage&&(t=localStorage.getItem("theme")||"light"),"light"===t?e.setAttribute("media","none"):e.setAttribute("media",""),{light:"light"===t}},saveTheme:function(){localStorage&&localStorage.setItem("theme",this.state.light?"light":"dark")},pickLight:function(){document.getElementById("dark-theme-style").setAttribute("media","none"),this.setState({light:!0},this.saveTheme)},pickDark:function(){document.getElementById("dark-theme-style").setAttribute("media",""),this.setState({light:!1},this.saveTheme)},render:function(){return r.createElement("div",{className:"btn-group btn-group-sm",role:"group",style:{marginTop:"10px",marginRight:"10px"}},r.createElement("a",{href:"javascript:void(0);",className:this.state.light?"btn btn-primary":"btn btn-default",onClick:this.pickLight},"Light"),r.createElement("a",{href:"javascript:void(0);",className:this.state.light?"btn btn-default":"btn btn-primary",onClick:this.pickDark},"Dark"))}})},{react:259}],14:[function(e,t,n){"use strict";var r=e("react"),a=e("react-chartjs").Line;t.exports=r.createClass({displayName:"exports",getInitialState:function(){return{width:0}},getWidth:function(){this.refs.container&&this.setState({width:this.refs.container.offsetWidth})},renderChart:function(){if(0===this.state.width)return setTimeout(this.getWidth,0);var e={labels:this.props.series[0].map(function(e){return""}),datasets:[{label:"y2",backgroundColor:"rgba(236,151,31,0)",borderColor:"rgba(236,151,31,0.8)",data:this.props.series[2],pointRadius:0,yAxisID:"y2"},{label:"y1",backgroundColor:"rgba(246,31,31,0.8)",borderColor:"rgba(246,31,31,0)",data:this.props.series[0],pointRadius:0,yAxisID:"y1"},{label:"y1",backgroundColor:"rgba(120,57,136,0.8)",borderColor:"rgba(120,57,136,0)",data:this.props.series[1],pointRadius:0,yAxisID:"y1"}]},t={legend:{display:!1},maintainAspectRatio:!1,animation:!1,showTooltips:!1,responsive:!0,hoverMode:"label",stacked:!1,scales:{xAxes:[{display:!0,gridLines:{offsetGridLines:!1,drawOnChartArea:!1}}],yAxes:[{type:"linear",display:!0,position:"left",id:"y1",gridLines:{drawOnChartArea:!1},ticks:{beginAtZero:!0}},{type:"linear",display:!0,position:"right",id:"y2",gridLines:{drawOnChartArea:!1},ticks:{beginAtZero:!0}}]}};return r.createElement(a,{data:e,options:t,width:this.state.width,height:180})},render:function(){return r.createElement("div",{ref:"container"},this.renderChart())}})},{react:259,"react-chartjs":82}],15:[function(e,t,n){"use strict";function r(e){var t=e.split(".");return t[t.length-1]}var a=e("react"),i=e("../components/time-series-chart.jsx"),o=e("../components/counter-widget.jsx"),s=e("./silo-table.jsx"),l=e("../components/panel.jsx"),c=e("../components/page.jsx"),u=a.createClass({displayName:"GrainGraph",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 a.createElement("div",null,a.createElement("h4",null,this.props.grainMethod),a.createElement(i,{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=a.createClass({displayName:"exports",renderEmpty:function(){return a.createElement("span",null,"No messages recorded")},renderGraphs:function(){var e=this,t={activationCount:0,totalSeconds:0,totalAwaitTime:0,totalCalls:0,totalExceptions:0};return this.props.dashboardCounters.simpleGrainStats.forEach(function(n){n.grainType===e.props.grainType&&(t.activationCount+=n.activationCount,t.totalSeconds+=n.totalSeconds,t.totalAwaitTime+=n.totalAwaitTime,t.totalCalls+=n.totalCalls,t.totalExceptions+=n.totalExceptions)}),a.createElement(c,{title:r(this.props.grainType),subTitle:this.props.grainType},a.createElement("div",null,a.createElement("div",{className:"row"},a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"cubes",counter:t.activationCount,title:"Activations"})),a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"bug",counter:0===t.totalCalls?"0.00":(100*t.totalExceptions/t.totalCalls).toFixed(2)+"%",title:"Error Rate"})),a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"tachometer",counter:(t.totalCalls/100).toFixed(2),title:"Req/sec"})),a.createElement("div",{className:"col-md-3"},a.createElement(o,{icon:"clock-o",counter:0===t.totalCalls?"0":(t.totalAwaitTime/t.totalCalls).toFixed(2)+"ms",title:"Average response time"}))),a.createElement(l,{title:"Method Profiling"},a.createElement("div",null,a.createElement("span",null,a.createElement("strong",{style:{color:"#783988",fontSize:"25px"}},"/")," number of requests per second",a.createElement("br",null),a.createElement("strong",{style:{color:"#EC1F1F",fontSize:"25px"}},"/")," failed requests"),a.createElement("span",{className:"pull-right"},a.createElement("strong",{style:{color:"#EC971F",fontSize:"25px"}},"/")," average latency in milliseconds"),Object.keys(this.props.grainStats).sort().map(function(t){return a.createElement(u,{stats:e.props.grainStats[t],grainMethod:r(t)})}))),a.createElement(l,{title:"Activations by Silo"},a.createElement(s,{data:this.props.dashboardCounters.simpleGrainStats,grainType:this.props.grainType}))))},render:function(){var e=this.renderGraphs;return 0===Object.keys(this.props.grainStats).length&&(e=this.renderEmpty),e()}})},{"../components/counter-widget.jsx":2,"../components/page.jsx":9,"../components/panel.jsx":10,"../components/time-series-chart.jsx":14,"./silo-table.jsx":17,react:259}],16:[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("../components/grain-table.jsx"),s=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(a,{icon:"cubes",counter:this.props.dashboardCounters.totalActivationCount,title:"Total Activations"})),r.createElement("div",{className:"col-md-8"},r.createElement("div",{className:"info-box",style:{padding:"5px"}},r.createElement(i,{series:[this.props.dashboardCounters.totalActivationCountHistory]})))),r.createElement(s,{title:"Activations by Type"},r.createElement(o,{data:this.props.dashboardCounters.simpleGrainStats})))}})},{"../components/counter-widget.jsx":2,"../components/grain-table.jsx":5,"../components/multi-series-chart-widget.jsx":8,"../components/panel.jsx":10,react:259}],17:[function(e,t,n){"use strict";var r=e("react");t.exports=r.createClass({displayName:"exports",renderStat:function(e){return r.createElement("tr",{key:e.siloAddress},r.createElement("td",{style:{textOverflow:"ellipsis"},title:e.siloAddress},r.createElement("a",{href:"#/host/"+e.siloAddress},e.siloAddress)),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,e.activationCount))),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,0===e.totalCalls?"0.00":(100*e.totalExceptions/e.totalCalls).toFixed(2))," ",r.createElement("small",null,"%"))),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,0===e.totalSeconds?"0":(e.totalCalls/100).toFixed(2))," ",r.createElement("small",null,"req/sec"))),r.createElement("td",null,r.createElement("span",{className:"pull-right"},r.createElement("strong",null,0===e.totalCalls?"0":(e.totalAwaitTime/e.totalCalls).toFixed(2))," ",r.createElement("small",null,"ms/req"))))},render:function(){var e=this,t={};if(!this.props.data)return null;this.props.data.forEach(function(n){if(t[n.siloAddress]||(t[n.siloAddress]={activationCount:0,totalSeconds:0,totalAwaitTime:0,totalCalls:0,totalExceptions:0}),!e.props.grainType||n.grainType===e.props.grainType){var r=t[n.siloAddress];r.activationCount+=n.activationCount,r.totalSeconds+=n.totalSeconds,r.totalAwaitTime+=n.totalAwaitTime,r.totalCalls+=n.totalCalls,r.totalExceptions+=n.totalExceptions}});var n=Object.keys(t).map(function(e){var n=t[e];return n.siloAddress=e,n}).sort(function(e,t){return t.activationCount-e.activationCount});return r.createElement("table",{className:"table"},r.createElement("tbody",null,r.createElement("tr",null,r.createElement("th",{style:{textAlign:"left"}},"Silo"),r.createElement("th",{style:{textAlign:"right"}},"Activations"),r.createElement("th",{style:{textAlign:"right"}},"Exception rate"),r.createElement("th",{style:{textAlign:"right"}},"Throughput"),r.createElement("th",{style:{textAlign:"right"}},"Latency")),n.map(this.renderStat)))}})},{react:259}],18:[function(e,t,n){"use strict";function r(){try{document.getElementsByClassName("wrapper")[0].scrollTo(0,0)}catch(e){}}function a(){clearTimeout(O),O=null,h.render(d.createElement("span",null),document.getElementById("error-message-content"))}function i(){u.get("DashboardCounters",function(e,t){D=t,g.emit("dashboard-counters",t)})}function o(){var e="2",t=function(){h.render(d.createElement("span",{id:"version"},"v.",e,d.createElement("i",{style:{marginLeft:"12px",marginRight:"5px"},className:"fa fa-github"}),d.createElement("a",{style:{color:"white",textDecoration:"underline"},href:"https://github.com/OrleansContrib/OrleansDashboard/"},"Source")),document.getElementById("version-content"))};u.get("version",function(n,r){e=r.version,t()})}function s(){h.render(d.createElement(x,null),m)}function l(e,t){h.render(e,m);var n=c();n.forEach(function(e){e.active=e.path===t}),h.render(d.createElement(C,{menu:n}),A)}function c(){var e=[{name:"Overview",path:"#/",icon:"fa-circle"},{name:"Grains",path:"#/grains",icon:"fa-circle"},{name:"Silos",path:"#/silos",icon:"fa-circle"},{name:"Reminders",path:"#/reminders",icon:"fa-circle"}];return window.hideTrace||e.push({name:"Log Stream",path:"#/trace",icon:"fa-file-text"}),e}var u=e("./lib/http"),d=e("react"),h=e("react-dom"),p=e("./lib/routie"),f=e("./silos/silo.jsx"),m=document.getElementById("content"),g=e("eventthing"),v=e("./components/theme-buttons.jsx"),b=e("./grains/grain.jsx"),y=e("./components/page.jsx"),x=e("./components/loading.jsx"),C=e("./components/menu.jsx"),w=e("./grains/grains.jsx"),_=e("./silos/silos.jsx"),k=e("./overview/overview.jsx"),E=e("./silos/silo-state-label.jsx"),S=e("./components/alert.jsx"),M=e("./logstream/log-stream.jsx"),T=e("./silos/silo-counters.jsx"),P=e("./reminders/reminders.jsx"),D={},R=0;h.render(d.createElement(v,null),document.getElementById("button-toggles-content"));var O;u.onError(function(e){h.render(d.createElement(S,{onClose:a},e),document.getElementById("error-message-content")),O&&clearTimeout(O),O=setTimeout(a,3e3)}),setInterval(i,1e3),i();var I=function(){},A=document.getElementById("menu");p("",function(){var e=++R;g.clearAll(),r(),s();var t={},n=[];I=function(){R==e&&l(d.createElement(y,{title:"Dashboard"},d.createElement(k,{dashboardCounters:D,clusterStats:t,grainMethodStats:n})),"#/")},g.on("dashboard-counters",I),g.on("refresh",function(e){u.get("ClusterStats",function(e,r){t=r,u.get("TopGrainMethods",function(e,t){n=t,I()})})}),o(),i()}),p("/grains",function(){var e=++R;g.clearAll(),r(),s(),I=function(){R==e&&l(d.createElement(y,{title:"Grains"},d.createElement(w,{dashboardCounters:D})),"#/grains")},g.on("dashboard-counters",I),g.on("refresh",I),i()}),p("/silos",function(){var e=++R;g.clearAll(),r(),s(),I=function(){R==e&&l(d.createElement(y,{title:"Silos"},d.createElement(_,{dashboardCounters:D})),"#/silos")},g.on("dashboard-counters",I),g.on("refresh",I),i()}),p("/host/:host",function(e){var t=++R;g.clearAll(),r(),s();var n={},a=[],i=[],o=function(t){u.get("HistoricalStats/"+e,function(e,t){a=t,h()}),u.get("SiloStats/"+e,function(e,t){i=t,h()})},c=function(){return a.length&&a[a.length-1]&&a[a.length-1].isOverloaded?d.createElement("small",null,d.createElement("span",{className:"label label-danger"},"OVERLOADED")):null},h=function(){if(R==t){var r=(D.hosts||[]).filter(function(t){return t.siloAddress===e})[0]||{},o=d.createElement("span",null,d.createElement(E,{status:r.status})," ",c());l(d.createElement(y,{title:"Silo "+e,subTitle:o},d.createElement(f,{silo:e,data:a,siloProperties:n,dashboardCounters:D,siloStats:i})),"#/silos")}};g.on("dashboard-counters",h),g.on("refresh",o),u.get("SiloProperties/"+e,function(e,t){n=t,o()})}),p("/host/:host/counters",function(e){++R,g.clearAll(),r(),s(),u.get("SiloCounters/"+e,function(t,n){var r=d.createElement("a",{href:"#/host/"+e},"Silo Details");l(d.createElement(y,{title:"Silo "+e,subTitle:r},d.createElement(T,{silo:e,dashboardCounters:D,counters:n})),"#/silos")})}),p("/grain/:grainType",function(e){var t=++R;g.clearAll(),r(),s();var n={},a=function(t){u.get("GrainStats/"+e,function(e,t){n=t,I()})};I=function(){R==t&&l(d.createElement(b,{grainType:e,dashboardCounters:D,grainStats:n}),"#/grains")},g.on("dashboard-counters",I),g.on("refresh",a),a()}),p("/reminders/:page?",function(e){var t=++R;g.clearAll(),r(),s();var n=[];e=e?parseInt(e):1;var a=function(){R==t&&l(d.createElement(y,{title:"Reminders"},d.createElement(P,{remindersData:n,page:e})),"#/reminders")},i=function(t){u.get("Reminders/"+e,function(e,t){n=t,a()})};g.on("long-refresh",i),i()}),p("/trace",function(){++R,g.clearAll(),r();var e=u.stream("Trace");l(d.createElement(M,{xhr:e}),"#/trace")}),setInterval(function(){return g.emit("refresh")},1e3),setInterval(function(){return g.emit("long-refresh")},1e4),p.reload()},{"./components/alert.jsx":1,"./components/loading.jsx":6,"./components/menu.jsx":7,"./components/page.jsx":9,"./components/theme-buttons.jsx":13,"./grains/grain.jsx":15,"./grains/grains.jsx":16,"./lib/http":19,"./lib/routie":20,"./logstream/log-stream.jsx":21,"./overview/overview.jsx":260,"./reminders/reminders.jsx":261,"./silos/silo-counters.jsx":263,"./silos/silo-state-label.jsx":265,"./silos/silo.jsx":266,"./silos/silos.jsx":267,eventthing:71,react:259,"react-dom":93}],19:[function(e,t,n){"use strict";function r(e,t,n,r){var i=new XMLHttpRequest;i.open(e,t,!0),i.onreadystatechange=function(){if(4===i.readyState){if(i.status<400&&i.status>0)return r(null,JSON.parse(i.responseText||"{}"));var e="Error connecting to Orleans Silo. Status code: "+(i.status||"NO_CONNECTION");a.forEach(function(t){return t(e)})}},i.setRequestHeader("Content-Type","application/json"),i.setRequestHeader("Accept","application/json"),i.send(n)}e("eventthing");t.exports.get=function(e,t){r("GET",e,null,t)},t.exports.stream=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!0),t.send(),t};var a=[];t.exports.onError=function(e){a.push(e)}},{eventthing:71}],20:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e,a){"object"===(void 0===n?"undefined":r(n))?t.exports=a(window):"function"==typeof define&&define.amd?define([],function(){return e.routie=a(window)}):e.routie=a(window)}(void 0,function(e){var t=[],n={},a=e.routie,i=function(e,t){this.name=t,this.path=e,this.keys=[],this.fns=[],this.params={},this.regex=o(this.path,this.keys,!1,!1)};i.prototype.addHandler=function(e){this.fns.push(e)},i.prototype.removeHandler=function(e){for(var t=0,n=this.fns.length;tn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,r=e,a=void 0===t?.5:t,i=2*a-1,o=n.alpha()-r.alpha(),s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,l=1-s;return this.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue()).alpha(n.alpha()*a+r.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new i,r=this.values,a=n.values;for(var o in r)r.hasOwnProperty(o)&&(e=r[o],"[object Array]"===(t={}.toString.call(e))?a[o]=e.slice(0):"[object Number]"===t?a[o]=e:console.error("unexpected color value:",e));return n}},i.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},i.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},i.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function u(e){var t,n,r,a=c(e),i=a[0],o=a[1],s=a[2];return i/=95.047,o/=100,s/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,t=116*o-16,n=500*(i-o),r=200*(o-s),[t,n,r]}function d(e){var t,n,r,a,i,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return i=255*l,[i,i,i];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var c=0;c<3;c++)(r=o+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,a[c]=255*i;return a}function h(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*i),l=255*r*(1-n*(1-i)),r=255*r;switch(a){case 0:return[r,l,o];case 1:return[s,r,o];case 2:return[o,r,l];case 3:return[o,s,r];case 4:return[l,o,r];case 5:return[r,o,s]}}function p(e){var t,n,a,i,o=e[0]/360,s=e[1]/100,l=e[2]/100,c=s+l;switch(c>1&&(s/=c,l/=c),t=Math.floor(6*o),n=1-l,a=6*o-t,0!=(1&t)&&(a=1-a),i=s+a*(n-s),t){default:case 6:case 0:r=n,g=i,b=s;break;case 1:r=i,g=n,b=s;break;case 2:r=s,g=n,b=i;break;case 3:r=s,g=i,b=n;break;case 4:r=i,g=s,b=n;break;case 5:r=n,g=s,b=i}return[255*r,255*g,255*b]}function f(e){var t,n,r,a=e[0]/100,i=e[1]/100,o=e[2]/100,s=e[3]/100;return t=1-Math.min(1,a*(1-s)+s),n=1-Math.min(1,i*(1-s)+s),r=1-Math.min(1,o*(1-s)+s),[255*t,255*n,255*r]}function m(e){var t,n,r,a=e[0]/100,i=e[1]/100,o=e[2]/100;return t=3.2406*a+-1.5372*i+-.4986*o,n=-.9689*a+1.8758*i+.0415*o,r=.0557*a+-.204*i+1.057*o,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]}function v(e){var t,n,r,a=e[0],i=e[1],o=e[2];return a/=95.047,i/=100,o/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,t=116*i-16,n=500*(a-i),r=200*(i-o),[t,n,r]}function y(e){var t,n,r,a,i=e[0],o=e[1],s=e[2];return i<=8?a=(n=100*i/903.3)/100*7.787+16/116:(n=100*Math.pow((i+16)/116,3),a=Math.pow(n/100,1/3)),t=t/95.047<=.008856?t=95.047*(o/500+a-16/116)/7.787:95.047*Math.pow(o/500+a,3),r=r/108.883<=.008859?r=108.883*(a-s/200-16/116)/7.787:108.883*Math.pow(a-s/200,3),[t,n,r]}function x(e){var t,n,r,a=e[0],i=e[1],o=e[2];return t=Math.atan2(o,i),(n=360*t/2/Math.PI)<0&&(n+=360),r=Math.sqrt(i*i+o*o),[a,r,n]}function C(e){return m(y(e))}function w(e){var t,n,r,a=e[0],i=e[1];return r=e[2]/360*2*Math.PI,t=i*Math.cos(r),n=i*Math.sin(r),[a,t,n]}function _(e){return k[e]}t.exports={rgb2hsl:a,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:c,rgb2lab:u,rgb2lch:function(e){return x(u(e))},hsl2rgb:d,hsl2hsv:function(e){var t,n,r=e[0],a=e[1]/100,i=e[2]/100;return 0===i?[0,0,0]:(i*=2,a*=i<=1?i:2-i,n=(i+a)/2,t=2*a/(i+a),[r,100*t,100*n])},hsl2hwb:function(e){return o(d(e))},hsl2cmyk:function(e){return s(d(e))},hsl2keyword:function(e){return l(d(e))},hsv2rgb:h,hsv2hsl:function(e){var t,n,r=e[0],a=e[1]/100,i=e[2]/100;return n=(2-a)*i,t=a*i,t/=n<=1?n:2-n,t=t||0,n/=2,[r,100*t,100*n]},hsv2hwb:function(e){return o(h(e))},hsv2cmyk:function(e){return s(h(e))},hsv2keyword:function(e){return l(h(e))},hwb2rgb:p,hwb2hsl:function(e){return a(p(e))},hwb2hsv:function(e){return i(p(e))},hwb2cmyk:function(e){return s(p(e))},hwb2keyword:function(e){return l(p(e))},cmyk2rgb:f,cmyk2hsl:function(e){return a(f(e))},cmyk2hsv:function(e){return i(f(e))},cmyk2hwb:function(e){return o(f(e))},cmyk2keyword:function(e){return l(f(e))},keyword2rgb:_,keyword2hsl:function(e){return a(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return o(_(e))},keyword2cmyk:function(e){return s(_(e))},keyword2lab:function(e){return u(_(e))},keyword2xyz:function(e){return c(_(e))},xyz2rgb:m,xyz2lab:v,xyz2lch:function(e){return x(v(e))},lab2xyz:y,lab2rgb:C,lab2lch:x,lch2lab:w,lch2xyz:function(e){return y(w(e))},lch2rgb:function(e){return C(w(e))}};var k={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},E={};for(var S in k)E[JSON.stringify(k[S])]=S},{}],25:[function(e,t,n){var r=e("./conversions"),a=function(){return new c};for(var i in r){a[i+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(i);var o=/(\w+)2(\w+)/.exec(i),s=o[1],l=o[2];(a[s]=a[s]||{})[l]=a[i]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var a=0;a0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}function N(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(Bt[e]=a),t&&(Bt[t[0]]=function(){return A(a.apply(this,arguments),t[1],t[2])}),n&&(Bt[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function F(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function j(e){var t,n,r=e.match(Vt);for(t=0,n=r.length;t=0&&Ut.test(e);)e=e.replace(Ut,function(e){return t.longDateFormat(e)||e}),Ut.lastIndex=0,n-=1;return e}function U(e,t,n){sn[e]=S(t)?t:function(e,r){return e&&n?n:t}}function W(e,t){return u(sn,e)?sn[e](t._strict,t._locale):new RegExp(B(e))}function B(e){return H(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,a){return t||n||r||a}))}function H(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function z(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=C(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function ie(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function oe(e,t,n){var r=7+t-n;return-(7+ie(e,0,r).getUTCDay()-t)%7+r-1}function se(e,t,n,r,a){var i,o,s=1+7*(t-1)+(7+n-r)%7+oe(e,r,a);return s<=0?o=G(i=e-1)+s:s>G(e)?(i=e+1,o=s-G(e)):(i=e,o=s),{year:i,dayOfYear:o}}function le(e,t,n){var r,a,i=oe(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?r=o+ce(a=e.year()-1,t,n):o>ce(e.year(),t,n)?(r=o-ce(e.year(),t,n),a=e.year()+1):(a=e.year(),r=o),{week:r,year:a}}function ce(e,t,n){var r=oe(e,t,n),a=oe(e+1,t,n);return(G(e)-r+a)/7}function ue(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function de(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function he(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=bn.call(this._weekdaysParse,o))?a:null:"ddd"===t?-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:null:"dddd"===t?-1!==(a=bn.call(this._weekdaysParse,o))?a:-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:null:"ddd"===t?-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:-1!==(a=bn.call(this._weekdaysParse,o))?a:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:null:-1!==(a=bn.call(this._minWeekdaysParse,o))?a:-1!==(a=bn.call(this._weekdaysParse,o))?a:-1!==(a=bn.call(this._shortWeekdaysParse,o))?a:null}function pe(){function e(e,t){return t.length-e.length}var t,n,r,a,i,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),i=this.weekdays(n,""),o.push(r),s.push(a),l.push(i),c.push(r),c.push(a),c.push(i);for(o.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=H(s[t]),l[t]=H(l[t]),c[t]=H(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("^("+o.join("|")+")","i")}function fe(){return this.hours()%12||12}function me(e,t){N(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ge(e,t){return t._meridiemParse}function ve(e){return e?e.toLowerCase().replace("_","-"):e}function be(e){for(var t,n,r,a,i=0;i0;){if(r=ye(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(a,n,!0)>=t-1)break;t--}i++}return null}function ye(n){var r=null;if(!Fn[n]&&void 0!==t&&t&&t.exports)try{r=On._abbr,e("./locale/"+n),xe(r)}catch(n){}return Fn[n]}function xe(e,t){var n;return e&&(n=o(t)?we(e):Ce(e,t))&&(On=n),On._abbr}function Ce(e,t){if(null!==t){var n=Nn;if(t.abbr=e,null!=Fn[e])E("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."),n=Fn[e]._config;else if(null!=t.parentLocale){if(null==Fn[t.parentLocale])return jn[t.parentLocale]||(jn[t.parentLocale]=[]),jn[t.parentLocale].push({name:e,config:t}),null;n=Fn[t.parentLocale]._config}return Fn[e]=new T(M(n,t)),jn[e]&&jn[e].forEach(function(e){Ce(e.name,e.config)}),xe(e),Fn[e]}return delete Fn[e],null}function we(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return On;if(!r(e)){if(t=ye(e))return t;e=[e]}return be(e)}function _e(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[un]<0||n[un]>11?un:n[dn]<1||n[dn]>$(n[cn],n[un])?dn:n[hn]<0||n[hn]>24||24===n[hn]&&(0!==n[pn]||0!==n[fn]||0!==n[mn])?hn:n[pn]<0||n[pn]>59?pn:n[fn]<0||n[fn]>59?fn:n[mn]<0||n[mn]>999?mn:-1,f(e)._overflowDayOfYear&&(tdn)&&(t=dn),f(e)._overflowWeeks&&-1===t&&(t=gn),f(e)._overflowWeekday&&-1===t&&(t=vn),f(e).overflow=t),e}function ke(e,t,n){return null!=e?e:null!=t?t:n}function Ee(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Se(e){var t,n,r,a,i=[];if(!e._d){for(r=Ee(e),e._w&&null==e._a[dn]&&null==e._a[un]&&Me(e),null!=e._dayOfYear&&(a=ke(e._a[cn],r[cn]),(e._dayOfYear>G(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=ie(a,0,e._dayOfYear),e._a[un]=n.getUTCMonth(),e._a[dn]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[hn]&&0===e._a[pn]&&0===e._a[fn]&&0===e._a[mn]&&(e._nextDay=!0,e._a[hn]=0),e._d=(e._useUTC?ie:ae).apply(null,i),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[hn]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(f(e).weekdayMismatch=!0)}}function Me(e){var t,n,r,a,i,o,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,o=4,n=ke(t.GG,e._a[cn],le(ze(),1,4).year),r=ke(t.W,1),((a=ke(t.E,1))<1||a>7)&&(l=!0);else{i=e._locale._week.dow,o=e._locale._week.doy;var c=le(ze(),i,o);n=ke(t.gg,e._a[cn],c.year),r=ke(t.w,c.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+i,(t.e<0||t.e>6)&&(l=!0)):a=i}r<1||r>ce(n,i,o)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(s=se(n,r,a,i,o),e._a[cn]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){var t,n,r,a,i,o,s=e._i,l=Ln.exec(s)||Vn.exec(s);if(l){for(f(e).iso=!0,t=0,n=Wn.length;t0&&f(e).unusedInput.push(o),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Bt[i]?(r?f(e).empty=!1:f(e).unusedTokens.push(i),q(i,r,e)):e._strict&&!r&&f(e).unusedTokens.push(i);f(e).charsLeftOver=l-c,s.length>0&&f(e).unusedInput.push(s),e._a[hn]<=12&&!0===f(e).bigHour&&e._a[hn]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[hn]=je(e._locale,e._a[hn],e._meridiem),Se(e),_e(e)}else Ae(e);else Te(e)}function je(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Le(e){var t,n,r,a,i;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;ai&&(t=i),ht.call(this,e,t,n,r,a))}function ht(e,t,n,r,a){var i=se(e,t,n,r,a),o=ie(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function pt(e){return e}function ft(e,t,n,r){var a=we(),i=h().set(r,t);return a[n](i,e)}function mt(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return ft(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=ft(e,r,n,"month");return a}function gt(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var a=we(),i=e?a._week.dow:0;if(null!=n)return ft(t,(n+i)%7,r,"day");var o,l=[];for(o=0;o<7;o++)l[o]=ft(t,(o+i)%7,r,"day");return l}function vt(e,t,n,r){var a=tt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function bt(e){return e<0?Math.floor(e):Math.ceil(e)}function yt(e){return 4800*e/146097}function xt(e){return 146097*e/4800}function Ct(e){return function(){return this.as(e)}}function wt(e){return function(){return this.isValid()?this._data[e]:NaN}}function _t(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function kt(e,t,n){var r=tt(e).abs(),a=kr(r.as("s")),i=kr(r.as("m")),o=kr(r.as("h")),s=kr(r.as("d")),l=kr(r.as("M")),c=kr(r.as("y")),u=a<=Er.ss&&["s",a]||a0,u[4]=n,_t.apply(null,u)}function Et(e){return(e>0)-(e<0)||+e}function St(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Sr(this._milliseconds)/1e3,a=Sr(this._days),i=Sr(this._months);t=x((e=x(r/60))/60),r%=60,e%=60;var o=n=x(i/12),s=i%=12,l=a,c=t,u=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var p=h<0?"-":"",f=Et(this._months)!==Et(h)?"-":"",m=Et(this._days)!==Et(h)?"-":"",g=Et(this._milliseconds)!==Et(h)?"-":"";return p+"P"+(o?f+o+"Y":"")+(s?f+s+"M":"")+(l?m+l+"D":"")+(c||u||d?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(d?g+d+"S":"")}var Mt,Tt;Tt=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var bn,yn=Z("FullYear",!0);bn=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;tthis?this:e:g()}),Kn=["year","quarter","month","week","day","hour","minute","second","millisecond"];Qe("Z",":"),Qe("ZZ",""),U("Z",rn),U("ZZ",rn),z(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Xe(rn,e)});var Zn=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Qn=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Xn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;tt.fn=Ge.prototype,tt.invalid=function(){return tt(NaN)};var Jn=it(1,"add"),$n=it(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var er=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ut("gggg","weekYear"),ut("ggggg","weekYear"),ut("GGGG","isoWeekYear"),ut("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),O("weekYear",1),O("isoWeekYear",1),U("G",tn),U("g",tn),U("GG",Kt,zt),U("gg",Kt,zt),U("GGGG",Jt,qt),U("gggg",Jt,qt),U("GGGGG",$t,Gt),U("ggggg",$t,Gt),Y(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=C(e)}),Y(["gg","GG"],function(e,t,r,a){t[a]=n.parseTwoDigitYear(e)}),N("Q",0,"Qo","quarter"),P("quarter","Q"),O("quarter",7),U("Q",Ht),z("Q",function(e,t){t[un]=3*(C(e)-1)}),N("D",["DD",2],"Do","date"),P("date","D"),O("date",9),U("D",Kt),U("DD",Kt,zt),U("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),z(["D","DD"],dn),z("Do",function(e,t){t[dn]=C(e.match(Kt)[0],10)});var tr=Z("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),O("dayOfYear",4),U("DDD",Xt),U("DDDD",Yt),z(["DDD","DDDD"],function(e,t,n){n._dayOfYear=C(e)}),N("m",["mm",2],0,"minute"),P("minute","m"),O("minute",14),U("m",Kt),U("mm",Kt,zt),z(["m","mm"],pn);var nr=Z("Minutes",!1);N("s",["ss",2],0,"second"),P("second","s"),O("second",15),U("s",Kt),U("ss",Kt,zt),z(["s","ss"],fn);var rr=Z("Seconds",!1);N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),O("millisecond",16),U("S",Xt,Ht),U("SS",Xt,zt),U("SSS",Xt,Yt);var ar;for(ar="SSSS";ar.length<=9;ar+="S")U(ar,en);for(ar="S";ar.length<=9;ar+="S")z(ar,function(e,t){t[mn]=C(1e3*("0."+e))});var ir=Z("Milliseconds",!1);N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var or=b.prototype;or.add=Jn,or.calendar=function(e,t){var r=e||ze(),a=Je(r,this).startOf("day"),i=n.calendarFormat(this,a)||"sameElse",o=t&&(S(t[i])?t[i].call(this,r):t[i]);return this.format(o||this.localeData().calendar(i,this,ze(r)))},or.clone=function(){return new b(this)},or.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Je(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=D(t)){case"year":i=st(this,r)/12;break;case"month":i=st(this,r);break;case"quarter":i=st(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:x(i)},or.endOf=function(e){return void 0===(e=D(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},or.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=L(this,e);return this.localeData().postformat(t)},or.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||ze(e).isValid())?tt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},or.fromNow=function(e){return this.from(ze(),e)},or.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||ze(e).isValid())?tt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},or.toNow=function(e){return this.to(ze(),e)},or.get=function(e){return e=D(e),S(this[e])?this[e]():this},or.invalidAt=function(){return f(this).overflow},or.isAfter=function(e,t){var n=y(e)?e:ze(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(o(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()9999?L(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):S(Date.prototype.toISOString)?this.toDate().toISOString():L(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},or.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+a)},or.toJSON=function(){return this.isValid()?this.toISOString():null},or.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},or.unix=function(){return Math.floor(this.valueOf()/1e3)},or.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},or.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},or.year=yn,or.isLeapYear=function(){return K(this.year())},or.weekYear=function(e){return dt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},or.isoWeekYear=function(e){return dt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},or.quarter=or.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},or.month=ne,or.daysInMonth=function(){return $(this.year(),this.month())},or.week=or.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},or.isoWeek=or.isoWeeks=function(e){var t=le(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},or.weeksInYear=function(){var e=this.localeData()._week;return ce(this.year(),e.dow,e.doy)},or.isoWeeksInYear=function(){return ce(this.year(),1,4)},or.date=tr,or.day=or.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=ue(e,this.localeData()),this.add(e-t,"d")):t},or.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},or.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=de(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},or.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},or.hour=or.hours=An,or.minute=or.minutes=nr,or.second=or.seconds=rr,or.millisecond=or.milliseconds=ir,or.utcOffset=function(e,t,r){var a,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Xe(rn,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(a=$e(this)),this._offset=e,this._isUTC=!0,null!=a&&this.add(a,"m"),i!==e&&(!t||this._changeInProgress?ot(this,tt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:$e(this)},or.utc=function(e){return this.utcOffset(0,e)},or.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract($e(this),"m")),this},or.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Xe(nn,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},or.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ze(e).utcOffset():0,(this.utcOffset()-e)%60==0)},or.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},or.isLocal=function(){return!!this.isValid()&&!this._isUTC},or.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},or.isUtc=et,or.isUTC=et,or.zoneAbbr=function(){return this._isUTC?"UTC":""},or.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},or.dates=k("dates accessor is deprecated. Use date instead.",tr),or.months=k("months accessor is deprecated. Use month instead",ne),or.years=k("years accessor is deprecated. Use year instead",yn),or.zone=k("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()}),or.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),(e=We(e))._a){var t=e._isUTC?h(e._a):ze(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var sr=T.prototype;sr.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return S(r)?r.call(t,n):r},sr.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},sr.invalidDate=function(){return this._invalidDate},sr.ordinal=function(e){return this._ordinal.replace("%d",e)},sr.preparse=pt,sr.postformat=pt,sr.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return S(a)?a(e,t,n,r):a.replace(/%d/i,e)},sr.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)},sr.set=function(e){var t,n;for(n in e)S(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},sr.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xn).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},sr.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xn.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},sr.monthsParse=function(e,t,n){var r,a,i;if(this._monthsParseExact)return ee.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},sr.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=kn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},sr.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=_n),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},sr.week=function(e){return le(e,this._week.dow,this._week.doy).week},sr.firstDayOfYear=function(){return this._week.doy},sr.firstDayOfWeek=function(){return this._week.dow},sr.weekdays=function(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone},sr.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},sr.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},sr.weekdaysParse=function(e,t,n){var r,a,i;if(this._weekdaysParseExact)return he.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},sr.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||pe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Pn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},sr.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||pe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Dn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},sr.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||pe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},sr.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},sr.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},xe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===C(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=k("moment.lang is deprecated. Use moment.locale instead.",xe),n.langData=k("moment.langData is deprecated. Use moment.localeData instead.",we);var lr=Math.abs,cr=Ct("ms"),ur=Ct("s"),dr=Ct("m"),hr=Ct("h"),pr=Ct("d"),fr=Ct("w"),mr=Ct("M"),gr=Ct("y"),vr=wt("milliseconds"),br=wt("seconds"),yr=wt("minutes"),xr=wt("hours"),Cr=wt("days"),wr=wt("months"),_r=wt("years"),kr=Math.round,Er={ss:44,s:45,m:45,h:22,d:26,M:11},Sr=Math.abs,Mr=Ge.prototype;return Mr.isValid=function(){return this._isValid},Mr.abs=function(){var e=this._data;return this._milliseconds=lr(this._milliseconds),this._days=lr(this._days),this._months=lr(this._months),e.milliseconds=lr(e.milliseconds),e.seconds=lr(e.seconds),e.minutes=lr(e.minutes),e.hours=lr(e.hours),e.months=lr(e.months),e.years=lr(e.years),this},Mr.add=function(e,t){return vt(this,e,t,1)},Mr.subtract=function(e,t){return vt(this,e,t,-1)},Mr.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=D(e))||"year"===e)return t=this._days+r/864e5,n=this._months+yt(t),"month"===e?n:n/12;switch(t=this._days+Math.round(xt(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Mr.asMilliseconds=cr,Mr.asSeconds=ur,Mr.asMinutes=dr,Mr.asHours=hr,Mr.asDays=pr,Mr.asWeeks=fr,Mr.asMonths=mr,Mr.asYears=gr,Mr.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12):NaN},Mr._bubble=function(){var e,t,n,r,a,i=this._milliseconds,o=this._days,s=this._months,l=this._data;return i>=0&&o>=0&&s>=0||i<=0&&o<=0&&s<=0||(i+=864e5*bt(xt(s)+o),o=0,s=0),l.milliseconds=i%1e3,e=x(i/1e3),l.seconds=e%60,t=x(e/60),l.minutes=t%60,n=x(t/60),l.hours=n%24,o+=x(n/24),a=x(yt(o)),s+=a,o-=bt(xt(a)),r=x(s/12),s%=12,l.days=o,l.months=s,l.years=r,this},Mr.clone=function(){return tt(this)},Mr.get=function(e){return e=D(e),this.isValid()?this[e+"s"]():NaN},Mr.milliseconds=vr,Mr.seconds=br,Mr.minutes=yr,Mr.hours=xr,Mr.days=Cr,Mr.weeks=function(){return x(this.days()/7)},Mr.months=wr,Mr.years=_r,Mr.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=kt(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Mr.toISOString=St,Mr.toString=St,Mr.toJSON=St,Mr.locale=lt,Mr.localeData=ct,Mr.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",St),Mr.lang=er,N("X",0,0,"unix"),N("x",0,0,"valueOf"),U("x",tn),U("X",an),z("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),z("x",function(e,t,n){n._d=new Date(C(e))}),n.version="2.19.2",Mt=ze,n.fn=or,n.min=function(){return Ye("isBefore",[].slice.call(arguments,0))},n.max=function(){return Ye("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(e){return ze(1e3*e)},n.months=function(e,t){return mt(e,t,"months")},n.isDate=l,n.locale=xe,n.invalid=g,n.duration=tt,n.isMoment=y,n.weekdays=function(e,t,n){return gt(e,t,n,"weekdays")},n.parseZone=function(){return ze.apply(null,arguments).parseZone()},n.localeData=we,n.isDuration=Ke,n.monthsShort=function(e,t){return mt(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return gt(e,t,n,"weekdaysMin")},n.defineLocale=Ce,n.updateLocale=function(e,t){if(null!=t){var n,r,a=Nn;null!=(r=ye(e))&&(a=r._config),(n=new T(t=M(a,t))).parentLocale=Fn[e],Fn[e]=n,xe(e)}else null!=Fn[e]&&(null!=Fn[e].parentLocale?Fn[e]=Fn[e].parentLocale:null!=Fn[e]&&delete Fn[e]);return Fn[e]},n.locales=function(){return Ot(Fn)},n.weekdaysShort=function(e,t,n){return gt(e,t,n,"weekdaysShort")},n.normalizeUnits=D,n.relativeTimeRounding=function(e){return void 0===e?kr:"function"==typeof e&&(kr=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Er[e]&&(void 0===t?Er[e]:(Er[e]=t,"s"===e&&(Er.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=or,n})},{}],28:[function(e,t,n){var r=e("./core/core.js")();e("./core/core.helpers")(r),e("./core/core.canvasHelpers")(r),e("./core/core.element")(r),e("./core/core.animation")(r),e("./core/core.controller")(r),e("./core/core.datasetController")(r),e("./core/core.layoutService")(r),e("./core/core.scaleService")(r),e("./core/core.plugin.js")(r),e("./core/core.scale")(r),e("./core/core.title")(r),e("./core/core.legend")(r),e("./core/core.tooltip")(r),e("./elements/element.arc")(r),e("./elements/element.line")(r),e("./elements/element.point")(r),e("./elements/element.rectangle")(r),e("./scales/scale.linearbase.js")(r),e("./scales/scale.category")(r),e("./scales/scale.linear")(r),e("./scales/scale.logarithmic")(r),e("./scales/scale.radialLinear")(r),e("./scales/scale.time")(r),e("./controllers/controller.bar")(r),e("./controllers/controller.bubble")(r),e("./controllers/controller.doughnut")(r),e("./controllers/controller.line")(r),e("./controllers/controller.polarArea")(r),e("./controllers/controller.radar")(r),e("./charts/Chart.Bar")(r),e("./charts/Chart.Bubble")(r),e("./charts/Chart.Doughnut")(r),e("./charts/Chart.Line")(r),e("./charts/Chart.PolarArea")(r),e("./charts/Chart.Radar")(r),e("./charts/Chart.Scatter")(r),window.Chart=t.exports=r},{"./charts/Chart.Bar":29,"./charts/Chart.Bubble":30,"./charts/Chart.Doughnut":31,"./charts/Chart.Line":32,"./charts/Chart.PolarArea":33,"./charts/Chart.Radar":34,"./charts/Chart.Scatter":35,"./controllers/controller.bar":36,"./controllers/controller.bubble":37,"./controllers/controller.doughnut":38,"./controllers/controller.line":39,"./controllers/controller.polarArea":40,"./controllers/controller.radar":41,"./core/core.animation":42,"./core/core.canvasHelpers":43,"./core/core.controller":44,"./core/core.datasetController":45,"./core/core.element":46,"./core/core.helpers":47,"./core/core.js":48,"./core/core.layoutService":49,"./core/core.legend":50,"./core/core.plugin.js":51,"./core/core.scale":52,"./core/core.scaleService":53,"./core/core.title":54,"./core/core.tooltip":55,"./elements/element.arc":56,"./elements/element.line":57,"./elements/element.point":58,"./elements/element.rectangle":59,"./scales/scale.category":60,"./scales/scale.linear":61,"./scales/scale.linearbase.js":62,"./scales/scale.logarithmic":63,"./scales/scale.radialLinear":64,"./scales/scale.time":65}],29:[function(e,t,n){"use strict";t.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},{}],30:[function(e,t,n){"use strict";t.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},{}],31:[function(e,t,n){"use strict";t.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},{}],32:[function(e,t,n){"use strict";t.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},{}],33:[function(e,t,n){"use strict";t.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},{}],34:[function(e,t,n){"use strict";t.exports=function(e){e.Radar=function(t,n){return n.options=e.helpers.configMerge({aspectRatio:1},n.options),n.type="radar",new e(t,n)}}},{}],35:[function(e,t,n){"use strict";t.exports=function(e){var t={hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-1"}],yAxes:[{type:"linear",position:"left",id:"y-axis-1"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}};e.defaults.scatter=t,e.controllers.scatter=e.controllers.line,e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},{}],36:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.bar={hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}},e.controllers.bar=e.DatasetController.extend({dataElementType:e.elements.Rectangle,initialize:function(t,n){e.DatasetController.prototype.initialize.call(this,t,n),this.getMeta().bar=!0},getBarCount:function(){var e=this,n=0;return t.each(e.chart.data.datasets,function(t,r){e.chart.getDatasetMeta(r).bar&&e.chart.isDatasetVisible(r)&&++n},e),n},update:function(e){var n=this;t.each(n.getMeta().data,function(t,r){n.updateElement(t,r,e)},n)},updateElement:function(e,n,r){var a=this,i=a.getMeta(),o=a.getScaleForId(i.xAxisID),s=a.getScaleForId(i.yAxisID),l=s.getBasePixel(),c=a.chart.options.elements.rectangle,u=e.custom||{},d=a.getDataset();t.extend(e,{_xScale:o,_yScale:s,_datasetIndex:a.index,_index:n,_model:{x:a.calculateBarX(n,a.index),y:r?l:a.calculateBarY(n,a.index),label:a.chart.data.labels[n],datasetLabel:d.label,base:r?l:a.calculateBarBase(a.index,n),width:a.calculateBarWidth(n),backgroundColor:u.backgroundColor?u.backgroundColor:t.getValueAtIndexOrDefault(d.backgroundColor,n,c.backgroundColor),borderSkipped:u.borderSkipped?u.borderSkipped:c.borderSkipped,borderColor:u.borderColor?u.borderColor:t.getValueAtIndexOrDefault(d.borderColor,n,c.borderColor),borderWidth:u.borderWidth?u.borderWidth:t.getValueAtIndexOrDefault(d.borderWidth,n,c.borderWidth)}}),e.pivot()},calculateBarBase:function(e,t){var n=this,r=n.getMeta(),a=n.getScaleForId(r.yAxisID),i=0;if(a.options.stacked){for(var o=n.chart,s=o.data.datasets,l=Number(s[e].data[t]),c=0;c0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index=n.y-n.height/2&&t<=n.y+n.height/2&&e>=n.x&&e<=n.base:t>=n.y-n.height/2&&t<=n.y+n.height/2&&e>=n.base&&e<=n.x),r}}),e.pivot()},calculateBarBase:function(e,t){var n=this,r=n.getMeta(),a=n.getScaleForId(r.xAxisID),i=0;if(a.options.stacked){for(var o=n.chart,s=o.data.datasets,l=Number(s[e].data[t]),c=0;c');var n=e.data,r=n.datasets,a=n.labels;if(r.length)for(var i=0;i'),a[i]&&t.push(a[i]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,a){var i=e.getDatasetMeta(0),o=n.datasets[0],s=i.data[a],l=s&&s.custom||{},c=t.getValueAtIndexOrDefault,u=e.options.elements.arc;return{text:r,fillStyle:l.backgroundColor?l.backgroundColor:c(o.backgroundColor,a,u.backgroundColor),strokeStyle:l.borderColor?l.borderColor:c(o.borderColor,a,u.borderColor),lineWidth:l.borderWidth?l.borderWidth:c(o.borderWidth,a,u.borderWidth),hidden:isNaN(o.data[a])||i.data[a].hidden,index:a}}):[]}},onClick:function(e,t){var n,r,a,i=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n=Math.PI?-1:f<-Math.PI?1:0))+p,g={x:Math.cos(f),y:Math.sin(f)},v={x:Math.cos(m),y:Math.sin(m)},b=f<=0&&0<=m||f<=2*Math.PI&&2*Math.PI<=m,y=f<=.5*Math.PI&&.5*Math.PI<=m||f<=2.5*Math.PI&&2.5*Math.PI<=m,x=f<=-Math.PI&&-Math.PI<=m||f<=Math.PI&&Math.PI<=m,C=f<=.5*-Math.PI&&.5*-Math.PI<=m||f<=1.5*Math.PI&&1.5*Math.PI<=m,w=h/100,_={x:x?-1:Math.min(g.x*(g.x<0?1:w),v.x*(v.x<0?1:w)),y:C?-1:Math.min(g.y*(g.y<0?1:w),v.y*(v.y<0?1:w))},k={x:b?1:Math.max(g.x*(g.x>0?1:w),v.x*(v.x>0?1:w)),y:y?1:Math.max(g.y*(g.y>0?1:w),v.y*(v.y>0?1:w))},E={width:.5*(k.x-_.x),height:.5*(k.y-_.y)};c=Math.min(s/E.width,l/E.height),u={x:-.5*(k.x+_.x),y:-.5*(k.y+_.y)}}r.borderWidth=n.getMaxBorderWidth(d.data),r.outerRadius=Math.max((c-r.borderWidth)/2,0),r.innerRadius=Math.max(h?r.outerRadius/100*h:1,0),r.radiusLength=(r.outerRadius-r.innerRadius)/r.getVisibleDatasetCount(),r.offsetX=u.x*r.outerRadius,r.offsetY=u.y*r.outerRadius,d.total=n.calculateTotal(),n.outerRadius=r.outerRadius-r.radiusLength*n.getRingIndex(n.index),n.innerRadius=n.outerRadius-r.radiusLength,t.each(d.data,function(t,r){n.updateElement(t,r,e)})},updateElement:function(e,n,r){var a=this,i=a.chart,o=i.chartArea,s=i.options,l=s.animation,c=(o.left+o.right)/2,u=(o.top+o.bottom)/2,d=s.rotation,h=s.rotation,p=a.getDataset(),f=r&&l.animateRotate?0:e.hidden?0:a.calculateCircumference(p.data[n])*(s.circumference/(2*Math.PI)),m=r&&l.animateScale?0:a.innerRadius,g=r&&l.animateScale?0:a.outerRadius,v=t.getValueAtIndexOrDefault;t.extend(e,{_datasetIndex:a.index,_index:n,_model:{x:c+i.offsetX,y:u+i.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:g,innerRadius:m,label:v(p.label,n,i.data.labels[n])}});var b=e._model;this.removeHoverStyle(e),r&&l.animateRotate||(b.startAngle=0===n?s.rotation:a.getMeta().data[n-1]._model.endAngle,b.endAngle=b.startAngle+b.circumference),e.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var e,n=this.getDataset(),r=this.getMeta(),a=0;return t.each(r.data,function(t,r){e=n.data[r],isNaN(e)||t.hidden||(a+=Math.abs(e))}),a},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?2*Math.PI*(e/t):0},getMaxBorderWidth:function(e){for(var t,n,r=0,a=this.index,i=e.length,o=0;o(r=t>r?t:r)?n:r;return r}})}},{}],39:[function(e,t,n){"use strict";t.exports=function(e){function t(e,t){return n.getValueOrDefault(e.showLine,t.showLines)}var n=e.helpers;e.defaults.line={showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}},e.controllers.line=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,addElementAndReset:function(n){var r=this,a=r.chart.options,i=r.getMeta();e.DatasetController.prototype.addElementAndReset.call(r,n),t(r.getDataset(),a)&&0!==i.dataset._model.tension&&r.updateBezierControlPoints()},update:function(e){var r,a,i,o=this,s=o.getMeta(),l=s.dataset,c=s.data||[],u=o.chart.options,d=u.elements.line,h=o.getScaleForId(s.yAxisID),p=o.getDataset(),f=t(p,u);for(f&&(i=l.custom||{},void 0!==p.tension&&void 0===p.lineTension&&(p.lineTension=p.tension),l._scale=h,l._datasetIndex=o.index,l._children=c,l._model={spanGaps:p.spanGaps?p.spanGaps:u.spanGaps,tension:i.tension?i.tension:n.getValueOrDefault(p.lineTension,d.tension),backgroundColor:i.backgroundColor?i.backgroundColor:p.backgroundColor||d.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:p.borderWidth||d.borderWidth,borderColor:i.borderColor?i.borderColor:p.borderColor||d.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:p.borderCapStyle||d.borderCapStyle,borderDash:i.borderDash?i.borderDash:p.borderDash||d.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:p.borderDashOffset||d.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:p.borderJoinStyle||d.borderJoinStyle,fill:i.fill?i.fill:void 0!==p.fill?p.fill:d.fill,steppedLine:i.steppedLine?i.steppedLine:n.getValueOrDefault(p.steppedLine,d.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:n.getValueOrDefault(p.cubicInterpolationMode,d.cubicInterpolationMode),scaleTop:h.top,scaleBottom:h.bottom,scaleZero:h.getBasePixel()},l.pivot()),r=0,a=c.length;r');var n=e.data,r=n.datasets,a=n.labels;if(r.length)for(var i=0;i'),a[i]&&t.push(a[i]),t.push("");return t.push(""),t.join("")},legend:{labels:{generateLabels:function(e){var n=e.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,a){var i=e.getDatasetMeta(0),o=n.datasets[0],s=i.data[a].custom||{},l=t.getValueAtIndexOrDefault,c=e.options.elements.arc;return{text:r,fillStyle:s.backgroundColor?s.backgroundColor:l(o.backgroundColor,a,c.backgroundColor),strokeStyle:s.borderColor?s.borderColor:l(o.borderColor,a,c.borderColor),lineWidth:s.borderWidth?s.borderWidth:l(o.borderWidth,a,c.borderWidth),hidden:isNaN(o.data[a])||i.data[a].hidden,index:a}}):[]}},onClick:function(e,t){var n,r,a,i=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n0&&!isNaN(e)?2*Math.PI/t:0}})}},{}],41:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.radar={scale:{type:"radialLinear"},elements:{line:{tension:0}}},e.controllers.radar=e.DatasetController.extend({datasetElementType:e.elements.Line,dataElementType:e.elements.Point,linkScales:t.noop,addElementAndReset:function(t){e.DatasetController.prototype.addElementAndReset.call(this,t),this.updateBezierControlPoints()},update:function(e){var n=this,r=n.getMeta(),a=r.dataset,i=r.data,o=a.custom||{},s=n.getDataset(),l=n.chart.options.elements.line,c=n.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),t.extend(r.dataset,{_datasetIndex:n.index,_children:i,_loop:!0,_model:{tension:o.tension?o.tension:t.getValueOrDefault(s.lineTension,l.tension),backgroundColor:o.backgroundColor?o.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:s.borderWidth||l.borderWidth,borderColor:o.borderColor?o.borderColor:s.borderColor||l.borderColor,fill:o.fill?o.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:o.borderCapStyle?o.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:o.borderDash?o.borderDash:s.borderDash||l.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle,scaleTop:c.top,scaleBottom:c.bottom,scaleZero:c.getBasePosition()}}),r.dataset.pivot(),t.each(i,function(t,r){n.updateElement(t,r,e)},n),n.updateBezierControlPoints()},updateElement:function(e,n,r){var a=this,i=e.custom||{},o=a.getDataset(),s=a.chart.scale,l=a.chart.options.elements.point,c=s.getPointPositionForValue(n,o.data[n]);t.extend(e,{_datasetIndex:a.index,_index:n,_scale:s,_model:{x:r?s.xCenter:c.x,y:r?s.yCenter:c.y,tension:i.tension?i.tension:t.getValueOrDefault(o.tension,a.chart.options.elements.line.tension),radius:i.radius?i.radius:t.getValueAtIndexOrDefault(o.pointRadius,n,l.radius),backgroundColor:i.backgroundColor?i.backgroundColor:t.getValueAtIndexOrDefault(o.pointBackgroundColor,n,l.backgroundColor),borderColor:i.borderColor?i.borderColor:t.getValueAtIndexOrDefault(o.pointBorderColor,n,l.borderColor),borderWidth:i.borderWidth?i.borderWidth:t.getValueAtIndexOrDefault(o.pointBorderWidth,n,l.borderWidth),pointStyle:i.pointStyle?i.pointStyle:t.getValueAtIndexOrDefault(o.pointStyle,n,l.pointStyle),hitRadius:i.hitRadius?i.hitRadius:t.getValueAtIndexOrDefault(o.hitRadius,n,l.hitRadius)}}),e._model.skip=i.skip?i.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var e=this.chart.chartArea,n=this.getMeta();t.each(n.data,function(r,a){var i=r._model,o=t.splineCurve(t.previousItem(n.data,a,!0)._model,i,t.nextItem(n.data,a,!0)._model,i.tension);i.controlPointPreviousX=Math.max(Math.min(o.previous.x,e.right),e.left),i.controlPointPreviousY=Math.max(Math.min(o.previous.y,e.bottom),e.top),i.controlPointNextX=Math.max(Math.min(o.next.x,e.right),e.left),i.controlPointNextY=Math.max(Math.min(o.next.y,e.bottom),e.top),r.pivot()})},draw:function(e){var n=this.getMeta(),r=e||1;t.each(n.data,function(e){e.transition(r)}),n.dataset.transition(r).draw(),t.each(n.data,function(e){e.draw()})},setHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],r=e.custom||{},a=e._index,i=e._model;i.radius=r.hoverRadius?r.hoverRadius:t.getValueAtIndexOrDefault(n.pointHoverRadius,a,this.chart.options.elements.point.hoverRadius),i.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:t.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,a,t.getHoverColor(i.backgroundColor)),i.borderColor=r.hoverBorderColor?r.hoverBorderColor:t.getValueAtIndexOrDefault(n.pointHoverBorderColor,a,t.getHoverColor(i.borderColor)),i.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:t.getValueAtIndexOrDefault(n.pointHoverBorderWidth,a,i.borderWidth)},removeHoverStyle:function(e){var n=this.chart.data.datasets[e._datasetIndex],r=e.custom||{},a=e._index,i=e._model,o=this.chart.options.elements.point;i.radius=r.radius?r.radius:t.getValueAtIndexOrDefault(n.radius,a,o.radius),i.backgroundColor=r.backgroundColor?r.backgroundColor:t.getValueAtIndexOrDefault(n.pointBackgroundColor,a,o.backgroundColor),i.borderColor=r.borderColor?r.borderColor:t.getValueAtIndexOrDefault(n.pointBorderColor,a,o.borderColor),i.borderWidth=r.borderWidth?r.borderWidth:t.getValueAtIndexOrDefault(n.pointBorderWidth,a,o.borderWidth)}})}},{}],42:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.defaults.global.animation={duration:1e3,easing:"easeOutQuart",onProgress:t.noop,onComplete:t.noop},e.Animation=e.Element.extend({currentStep:null,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),e.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(e,t,n,r){var a=this;r||(e.animating=!0);for(var i=0;i1&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1);for(var r=0;re.animations[r].animationObject.numSteps&&(e.animations[r].animationObject.currentStep=e.animations[r].animationObject.numSteps),e.animations[r].animationObject.render(e.animations[r].chartInstance,e.animations[r].animationObject),e.animations[r].animationObject.onAnimationProgress&&e.animations[r].animationObject.onAnimationProgress.call&&e.animations[r].animationObject.onAnimationProgress.call(e.animations[r].chartInstance,e.animations[r]),e.animations[r].animationObject.currentStep===e.animations[r].animationObject.numSteps?(e.animations[r].animationObject.onAnimationComplete&&e.animations[r].animationObject.onAnimationComplete.call&&e.animations[r].animationObject.onAnimationComplete.call(e.animations[r].chartInstance,e.animations[r]),e.animations[r].chartInstance.animating=!1,e.animations.splice(r,1)):++r;var a=(Date.now()-t)/e.frameDuration;e.dropFrames+=a,e.animations.length>0&&e.requestAnimationFrame()}}}},{}],43:[function(e,t,n){"use strict";t.exports=function(e){(e.canvasHelpers={}).drawPoint=function(e,t,n,r,a){var i,o,s,l,c,u;if("object"!=typeof t||"[object HTMLImageElement]"!==(i=t.toString())&&"[object HTMLCanvasElement]"!==i){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=(o=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(r-o/2,a+c/3),e.lineTo(r+o/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"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)}}},{}],44:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.types={},e.instances={},e.controllers={},e.Controller=function(n){return this.chart=n,this.config=n.config,this.options=this.config.options=t.configMerge(e.defaults.global,e.defaults[this.config.type],this.config.options||{}),this.id=t.uid(),Object.defineProperty(this,"data",{get:function(){return this.config.data}}),e.instances[this.id]=this,this.options.responsive&&this.resize(!0),this.initialize(),this},t.extend(e.Controller.prototype,{initialize:function(){var t=this;return e.plugins.notify("beforeInit",[t]),t.bindEvents(),t.ensureScalesHaveIDs(),t.buildOrUpdateControllers(),t.buildScales(),t.updateLayout(),t.resetElements(),t.initToolTip(),t.update(),e.plugins.notify("afterInit",[t]),t},clear:function(){return t.clear(this.chart),this},stop:function(){return e.animationService.cancelAnimation(this),this},resize:function(n){var r=this,a=r.chart,i=a.canvas,o=t.getMaximumWidth(i),s=a.aspectRatio,l=r.options.maintainAspectRatio&&!1===isNaN(s)&&isFinite(s)&&0!==s?o/s:t.getMaximumHeight(i);if(a.width===o&&a.height===l)return r;i.width=a.width=o,i.height=a.height=l,t.retinaScale(a);var c={width:o,height:l};return e.plugins.notify("resize",[r,c]),r.options.onResize&&r.options.onResize(r,c),n||(r.stop(),r.update(r.options.responsiveAnimationDuration)),r},ensureScalesHaveIDs:function(){var e=this.options,n=e.scales||{},r=e.scale;t.each(n.xAxes,function(e,t){e.id=e.id||"x-axis-"+t}),t.each(n.yAxes,function(e,t){e.id=e.id||"y-axis-"+t}),r&&(r.id=r.id||"scale")},buildScales:function(){var n=this,r=n.options,a=n.scales={},i=[];r.scales&&(i=i.concat((r.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category"}}),(r.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear"}}))),r.scale&&i.push({options:r.scale,dtype:"radialLinear",isDefault:!0}),t.each(i,function(r){var i=r.options,o=t.getValueOrDefault(i.type,r.dtype),s=e.scaleService.getScaleConstructor(o);if(s){var l=new s({id:i.id,options:i,ctx:n.chart.ctx,chart:n});a[l.id]=l,r.isDefault&&(n.scale=l)}}),e.scaleService.addScalesToLayout(this)},updateLayout:function(){e.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var n=this,r=[],a=[];if(t.each(n.data.datasets,function(t,i){var o=n.getDatasetMeta(i);o.type||(o.type=t.type||n.config.type),r.push(o.type),o.controller?o.controller.updateIndex(i):(o.controller=new e.controllers[o.type](n,i),a.push(o.controller))},n),r.length>1)for(var i=1;i0&&(t=this.getDatasetMeta(t[0]._datasetIndex).data),t},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var r=n._meta[t.id];return r||(r=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;tn)for(var r=n;r=0;a--)t.call(n,e[a],a);else for(a=0;a=r[n].length||!r[n][a].type?r[n].push(i.configMerge(s,t)):t.type&&t.type!==r[n][a].type?r[n][a]=i.configMerge(r[n][a],s,t):r[n][a]=i.configMerge(r[n][a],t)}):(r[n]=[],i.each(t,function(t){var a=i.getValueOrDefault(t.type,"xAxes"===n?"category":"linear");r[n].push(i.configMerge(e.scaleService.getScaleDefaults(a),t))})):r.hasOwnProperty(n)&&"object"==typeof r[n]&&null!==r[n]&&"object"==typeof t?r[n]=i.configMerge(r[n],t):r[n]=t}),r},i.getValueAtIndexOrDefault=function(e,t,n){return void 0===e||null===e?n:i.isArray(e)?t=0;r--){var a=e[r];if(t(a))return a}},i.inherits=function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=i.inherits,e&&i.extend(n.prototype,e),n.__super__=t.prototype,n},i.noop=function(){},i.uid=function(){var e=0;return function(){return e++}}(),i.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},i.almostEquals=function(e,t,n){return Math.abs(e-t)0?1:-1},i.log10=Math.log10?function(e){return Math.log10(e)}:function(e){return Math.log(e)/Math.LN10},i.toRadians=function(e){return e*(Math.PI/180)},i.toDegrees=function(e){return e*(180/Math.PI)},i.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*Math.PI&&(i+=2*Math.PI),{angle:i,distance:a}},i.aliasPixel=function(e){return e%2==0?0:.5},i.splineCurve=function(e,t,n,r){var a=e.skip?t:e,i=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(i.x-a.x,2)+Math.pow(i.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),c=s/(s+l),u=l/(s+l),d=r*(c=isNaN(c)?0:c),h=r*(u=isNaN(u)?0:u);return{previous:{x:i.x-d*(o.x-a.x),y:i.y-d*(o.y-a.y)},next:{x:i.x+h*(o.x-a.x),y:i.y+h*(o.y-a.y)}}},i.EPSILON=Number.EPSILON||1e-14,i.splineCurveMonotone=function(e){var t,n,r,a,o=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),s=o.length;for(t=0;t0?o[t-1]:null,(a=t0?o[t-1]:null,a=t=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},i.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},i.niceNum=function(e,t){var n=Math.floor(i.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)};var o=i.easingEffects={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-1*e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1*((e=e/1-1)*e*e+1)},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-1*((e=e/1-1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return 1*(e/=1)*e*e*e*e},easeOutQuint:function(e){return 1*((e=e/1-1)*e*e*e*e+1)},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return-1*Math.cos(e/1*(Math.PI/2))+1},easeOutSine:function(e){return 1*Math.sin(e/1*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e/1)-1)},easeInExpo:function(e){return 0===e?1:1*Math.pow(2,10*(e/1-1))},easeOutExpo:function(e){return 1===e?1:1*(1-Math.pow(2,-10*e/1))},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-1*(Math.sqrt(1-(e/=1)*e)-1)},easeOutCirc:function(e){return 1*Math.sqrt(1-(e=e/1-1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1==(e/=1)?1:(n||(n=.3),r0?(n=l[0].clientX,r=l[0].clientY):(n=a.clientX,r=a.clientY);var c=parseFloat(i.getStyle(o,"padding-left")),u=parseFloat(i.getStyle(o,"padding-top")),d=parseFloat(i.getStyle(o,"padding-right")),h=parseFloat(i.getStyle(o,"padding-bottom")),p=s.right-s.left-c-d,f=s.bottom-s.top-u-h;return n=Math.round((n-s.left-c)/p*o.width/t.currentDevicePixelRatio),r=Math.round((r-s.top-u)/f*o.height/t.currentDevicePixelRatio),{x:n,y:r}},i.addEvent=function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},i.removeEvent=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=i.noop},i.bindEvents=function(e,t,n){var r=e.events=e.events||{};i.each(t,function(t){r[t]=function(){n.apply(e,arguments)},i.addEvent(e.chart.canvas,t,r[t])})},i.unbindEvents=function(e,t){var n=e.chart.canvas;i.each(t,function(e,t){i.removeEvent(n,t,e)})},i.getConstraintWidth=function(e){return a(e,"max-width","clientWidth")},i.getConstraintHeight=function(e){return a(e,"max-height","clientHeight")},i.getMaximumWidth=function(e){var t=e.parentNode,n=parseInt(i.getStyle(t,"padding-left"))+parseInt(i.getStyle(t,"padding-right")),r=t.clientWidth-n,a=i.getConstraintWidth(e);return isNaN(a)?r:Math.min(r,a)},i.getMaximumHeight=function(e){var t=e.parentNode,n=parseInt(i.getStyle(t,"padding-top"))+parseInt(i.getStyle(t,"padding-bottom")),r=t.clientHeight-n,a=i.getConstraintHeight(e);return isNaN(a)?r:Math.min(r,a)},i.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},i.retinaScale=function(e){var t=e.ctx,n=e.canvas,r=n.width,a=n.height,i=e.currentDevicePixelRatio=window.devicePixelRatio||1;1!==i&&(n.height=a*i,n.width=r*i,t.scale(i,i),e.originalDevicePixelRatio=e.originalDevicePixelRatio||i),n.style.width=r+"px",n.style.height=a+"px"},i.clear=function(e){e.ctx.clearRect(0,0,e.width,e.height)},i.fontString=function(e,t,n){return t+" "+e+"px "+n},i.longestText=function(e,t,n,r){var a=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},o=r.garbageCollect=[],r.font=t),e.font=t;var s=0;i.each(n,function(t){void 0!==t&&null!==t&&!0!==i.isArray(t)?s=i.measureText(e,a,o,s,t):i.isArray(t)&&i.each(t,function(t){void 0===t||null===t||i.isArray(t)||(s=i.measureText(e,a,o,s,t))})});var l=o.length/2;if(l>n.length){for(var c=0;cr&&(r=i),r},i.numberOfLabelLines=function(e){var t=1;return i.each(e,function(e){i.isArray(e)&&e.length>t&&(t=e.length)}),t},i.drawRoundedRectangle=function(e,t,n,r,a,i){e.beginPath(),e.moveTo(t+i,n),e.lineTo(t+r-i,n),e.quadraticCurveTo(t+r,n,t+r,n+i),e.lineTo(t+r,n+a-i),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-i),e.lineTo(t,n+i),e.quadraticCurveTo(t,n,t+i,n),e.closePath()},i.color=function(t){return r?r(t instanceof CanvasGradient?e.defaults.global.defaultColor:t):(console.log("Color.js not found!"),t)},i.addResizeListener=function(e,t){var n=document.createElement("iframe");n.classlist?n.classlist.add("chartjs-hidden-iframe"):n.setAttribute("class","chartjs-hidden-iframe"),n.tabIndex=-1;var r=n.style;r.width="100%",r.display="block",r.border=0,r.height=0,r.margin=0,r.position="absolute",r.left=0,r.right=0,r.top=0,r.bottom=0,e.insertBefore(n,e.firstChild),(n.contentWindow||n).onresize=function(){t&&t()}},i.removeResizeListener=function(e){var t=e.querySelector(".chartjs-hidden-iframe");t&&t.parentNode.removeChild(t)},i.isArray=Array.isArray?function(e){return Array.isArray(e)}:function(e){return"[object Array]"===Object.prototype.toString.call(e)},i.arrayEquals=function(e,t){var n,r,a,o;if(!e||!t||e.length!=t.length)return!1;for(n=0,r=e.length;n');for(var n=0;n'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("");return t.push(""),t.join("")}}},e.Chart=e,e}},{}],49:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers;e.layoutService={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),e.boxes.push(t)},removeBox:function(e,t){e.boxes&&e.boxes.splice(e.boxes.indexOf(t),1)},update:function(e,n,r){function a(e){var n=t.findNextWhere(y,function(t){return t.box===e});if(n)if(e.isHorizontal()){var r={left:x,right:C,top:0,bottom:0};e.update(e.options.fullWidth?h:v,p/2,r)}else e.update(n.minSize.width,b)}function i(e){e.isHorizontal()?(e.left=e.options.fullWidth?o:x,e.right=e.options.fullWidth?n-o:x+v,e.top=M,e.bottom=M+e.height,M=e.bottom):(e.left=S,e.right=S+e.width,e.top=w,e.bottom=w+b,S=e.right)}if(e){var o=0,s=t.where(e.boxes,function(e){return"left"===e.options.position}),l=t.where(e.boxes,function(e){return"right"===e.options.position}),c=t.where(e.boxes,function(e){return"top"===e.options.position}),u=t.where(e.boxes,function(e){return"bottom"===e.options.position}),d=t.where(e.boxes,function(e){return"chartArea"===e.options.position});c.sort(function(e,t){return(t.options.fullWidth?1:0)-(e.options.fullWidth?1:0)}),u.sort(function(e,t){return(e.options.fullWidth?1:0)-(t.options.fullWidth?1:0)});var h=n-2*o,p=r-0,f=p/2,m=(n-h/2)/(s.length+l.length),g=(r-f)/(c.length+u.length),v=h,b=p,y=[];t.each(s.concat(l,c,u),function(e){var t,n=e.isHorizontal();n?(t=e.update(e.options.fullWidth?h:v,g),b-=t.height):(t=e.update(m,f),v-=t.width),y.push({horizontal:n,minSize:t,box:e})});var x=o,C=o,w=0,_=0;t.each(s.concat(l),a),t.each(s,function(e){x+=e.width}),t.each(l,function(e){C+=e.width}),t.each(c.concat(u),a),t.each(c,function(e){w+=e.height}),t.each(u,function(e){_+=e.height}),t.each(s.concat(l),function(e){var n=t.findNextWhere(y,function(t){return t.box===e}),r={left:0,right:0,top:w,bottom:_};n&&e.update(n.minSize.width,b,r)}),x=o,C=o,w=0,_=0,t.each(s,function(e){x+=e.width}),t.each(l,function(e){C+=e.width}),t.each(c,function(e){w+=e.height}),t.each(u,function(e){_+=e.height});var k=r-w-_,E=n-x-C;E===v&&k===b||(t.each(s,function(e){e.height=k}),t.each(l,function(e){e.height=k}),t.each(c,function(e){e.options.fullWidth||(e.width=E)}),t.each(u,function(e){e.options.fullWidth||(e.width=E)}),b=k,v=E);var S=o,M=0;t.each(s.concat(c),i),S+=v,M+=b,t.each(l,i),t.each(u,i),e.chartArea={left:x,top:w,right:x+v,bottom:w+b},t.each(d,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(v,b)})}}}}},{}],50:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.defaults.global.legend={display:!0,position:"top",fullWidth:!0,reverse:!1,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,a=r.getDatasetMeta(n);a.hidden=null===a.hidden?!r.data.datasets[n].hidden:null,r.update()},labels:{boxWidth:40,padding:10,generateLabels:function(e){var n=e.data;return t.isArray(n.datasets)?n.datasets.map(function(n,r){return{text:n.label,fillStyle:t.isArray(n.backgroundColor)?n.backgroundColor[0]:n.backgroundColor,hidden:!e.isDatasetVisible(r),lineCap:n.borderCapStyle,lineDash:n.borderDash,lineDashOffset:n.borderDashOffset,lineJoin:n.borderJoinStyle,lineWidth:n.borderWidth,strokeStyle:n.borderColor,pointStyle:n.pointStyle,datasetIndex:r}},this):[]}}},e.Legend=e.Element.extend({initialize:function(e){t.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:n,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:n,beforeSetDimensions:n,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:n,beforeBuildLabels:n,buildLabels:function(){var e=this;e.legendItems=e.options.labels.generateLabels.call(e,e.chart),e.options.reverse&&e.legendItems.reverse()},afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,r=n.options,a=r.labels,i=r.display,o=n.ctx,s=e.defaults.global,l=t.getValueOrDefault,c=l(a.fontSize,s.defaultFontSize),u=l(a.fontStyle,s.defaultFontStyle),d=l(a.fontFamily,s.defaultFontFamily),h=t.fontString(c,u,d),p=n.legendHitBoxes=[],f=n.minSize,m=n.isHorizontal();if(m?(f.width=n.maxWidth,f.height=i?10:0):(f.width=i?10:0,f.height=n.maxHeight),i)if(o.font=h,m){var g=n.lineWidths=[0],v=n.legendItems.length?c+a.padding:0;o.textAlign="left",o.textBaseline="top",t.each(n.legendItems,function(e,t){var r=(a.usePointStyle?c*Math.sqrt(2):a.boxWidth)+c/2+o.measureText(e.text).width;g[g.length-1]+r+a.padding>=n.width&&(v+=c+a.padding,g[g.length]=n.left),p[t]={left:0,top:0,width:r,height:c},g[g.length-1]+=r+a.padding}),f.height+=v}else{var b=a.padding,y=n.columnWidths=[],x=a.padding,C=0,w=0,_=c+b;t.each(n.legendItems,function(e,t){var n=(a.usePointStyle?2*a.boxWidth:a.boxWidth)+c/2+o.measureText(e.text).width;w+_>f.height&&(x+=C+a.padding,y.push(C),C=0,w=0),C=Math.max(C,n),w+=_,p[t]={left:0,top:0,width:n,height:c}}),x+=C,y.push(C),f.width+=x}n.width=f.width,n.height=f.height},afterFit:n,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var n=this,r=n.options,a=r.labels,i=e.defaults.global,o=i.elements.line,s=n.width,l=n.lineWidths;if(r.display){var c,u=n.ctx,d=t.getValueOrDefault,h=d(a.fontColor,i.defaultFontColor),p=d(a.fontSize,i.defaultFontSize),f=d(a.fontStyle,i.defaultFontStyle),m=d(a.fontFamily,i.defaultFontFamily),g=t.fontString(p,f,m);u.textAlign="left",u.textBaseline="top",u.lineWidth=.5,u.strokeStyle=h,u.fillStyle=h,u.font=g;var v=a.boxWidth,b=n.legendHitBoxes,y=function(t,n,a){if(!(isNaN(v)||v<=0)){if(u.save(),u.fillStyle=d(a.fillStyle,i.defaultColor),u.lineCap=d(a.lineCap,o.borderCapStyle),u.lineDashOffset=d(a.lineDashOffset,o.borderDashOffset),u.lineJoin=d(a.lineJoin,o.borderJoinStyle),u.lineWidth=d(a.lineWidth,o.borderWidth),u.strokeStyle=d(a.strokeStyle,i.defaultColor),u.setLineDash&&u.setLineDash(d(a.lineDash,o.borderDash)),r.labels&&r.labels.usePointStyle){var s=p*Math.SQRT2/2,l=s/Math.SQRT2,c=t+l,h=n+l;e.canvasHelpers.drawPoint(u,a.pointStyle,s,c,h)}else u.strokeRect(t,n,v,p),u.fillRect(t,n,v,p);u.restore()}},x=function(e,t,n,r){u.fillText(n.text,v+p/2+e,t),n.hidden&&(u.beginPath(),u.lineWidth=2,u.moveTo(v+p/2+e,t+p/2),u.lineTo(v+p/2+e+r,t+p/2),u.stroke())},C=n.isHorizontal();c=C?{x:n.left+(s-l[0])/2,y:n.top+a.padding,line:0}:{x:n.left+a.padding,y:n.top+a.padding,line:0};var w=p+a.padding;t.each(n.legendItems,function(e,t){var r=u.measureText(e.text).width,i=a.usePointStyle?p+p/2+r:v+p/2+r,o=c.x,d=c.y;C?o+i>=s&&(d=c.y+=w,c.line++,o=c.x=n.left+(s-l[c.line])/2):d+w>n.bottom&&(o=c.x=o+n.columnWidths[c.line]+a.padding,d=c.y=n.top,c.line++),y(o,d,e),b[t].left=o,b[t].top=d,x(o,d,e,r),C?c.x+=i+a.padding:c.y+=w})}},handleEvent:function(e){var n=this,r=t.getRelativePosition(e,n.chart.chart),a=r.x,i=r.y,o=n.options;if(a>=n.left&&a<=n.right&&i>=n.top&&i<=n.bottom)for(var s=n.legendHitBoxes,l=0;l=c.left&&a<=c.left+c.width&&i>=c.top&&i<=c.top+c.height){o.onClick&&o.onClick.call(n,e,n.legendItems[l]);break}}}}),e.plugins.register({beforeInit:function(t){var n=t.options.legend;n&&(t.legend=new e.Legend({ctx:t.chart.ctx,options:n,chart:t}),e.layoutService.addBox(t,t.legend))}})}},{}],51:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers.noop;e.plugins={_plugins:[],register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)})},unregister:function(e){var t=this._plugins;[].concat(e).forEach(function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})},clear:function(){this._plugins=[]},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t){var n,r,a=this._plugins,i=a.length;for(n=0;nv&&n.labelRotationn.yLabelWidth&&(n.paddingLeft=u+o/2),n.paddingRight=o/2,f*m>n.maxHeight){n.labelRotation--;break}n.labelRotation++,g=p*m}}n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0))},afterCalculateTickRotation:function(){t.callCallback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){t.callCallback(this.options.beforeFit,[this])},fit:function(){var n=this,r=n.minSize={width:0,height:0},a=n.options,i=e.defaults.global,o=a.ticks,s=a.scaleLabel,l=a.gridLines,c=a.display,u=n.isHorizontal(),d=t.getValueOrDefault(o.fontSize,i.defaultFontSize),h=t.getValueOrDefault(o.fontStyle,i.defaultFontStyle),p=t.getValueOrDefault(o.fontFamily,i.defaultFontFamily),f=t.fontString(d,h,p),m=t.getValueOrDefault(s.fontSize,i.defaultFontSize),g=a.gridLines.tickMarkLength;if(r.width=u?n.isFullWidth()?n.maxWidth-n.margins.left-n.margins.right:n.maxWidth:c&&l.drawTicks?g:0,r.height=u?c&&l.drawTicks?g:0:n.maxHeight,s.display&&c&&(u?r.height+=1.5*m:r.width+=1.5*m),o.display&&c){n.longestTextCache||(n.longestTextCache={});var v=t.longestText(n.ctx,f,n.ticks,n.longestTextCache),b=t.numberOfLabelLines(n.ticks),y=.5*d;if(u){n.longestLabelWidth=v;var x=Math.sin(t.toRadians(n.labelRotation))*n.longestLabelWidth+d*b+y*b;r.height=Math.min(n.maxHeight,r.height+x),n.ctx.font=f;var C=n.ctx.measureText(n.ticks[0]).width,w=n.ctx.measureText(n.ticks[n.ticks.length-1]).width,_=Math.cos(t.toRadians(n.labelRotation)),k=Math.sin(t.toRadians(n.labelRotation));n.paddingLeft=0!==n.labelRotation?_*C+3:C/2+3,n.paddingRight=0!==n.labelRotation?k*(d/2)+3:w/2+3}else{var E=n.maxWidth-r.width;o.mirror?v=0:v+=n.options.ticks.padding,v0&&n>0?t:0)},draw:function(n){var r=this,a=r.options;if(a.display){var i,o,s=r.ctx,l=e.defaults.global,c=a.ticks,u=a.gridLines,d=a.scaleLabel,h=0!==r.labelRotation,p=c.autoSkip,f=r.isHorizontal();c.maxTicksLimit&&(o=c.maxTicksLimit);var m=t.getValueOrDefault(c.fontColor,l.defaultFontColor),g=t.getValueOrDefault(c.fontSize,l.defaultFontSize),v=t.getValueOrDefault(c.fontStyle,l.defaultFontStyle),b=t.getValueOrDefault(c.fontFamily,l.defaultFontFamily),y=t.fontString(g,v,b),x=u.tickMarkLength,C=t.getValueOrDefault(u.borderDash,l.borderDash),w=t.getValueOrDefault(u.borderDashOffset,l.borderDashOffset),_=t.getValueOrDefault(d.fontColor,l.defaultFontColor),k=t.getValueOrDefault(d.fontSize,l.defaultFontSize),E=t.getValueOrDefault(d.fontStyle,l.defaultFontStyle),S=t.getValueOrDefault(d.fontFamily,l.defaultFontFamily),M=t.fontString(k,E,S),T=t.toRadians(r.labelRotation),P=Math.cos(T),D=r.longestLabelWidth*P;s.fillStyle=m;var R=[];if(f){if(i=!1,h&&(D/=2),(D+c.autoSkipPadding)*r.ticks.length>r.width-(r.paddingLeft+r.paddingRight)&&(i=1+Math.floor((D+c.autoSkipPadding)*r.ticks.length/(r.width-(r.paddingLeft+r.paddingRight)))),o&&r.ticks.length>o)for(;!i||r.ticks.length/(i||1)>o;)i||(i=1),i+=1;p||(i=!1)}var O="right"===a.position?r.left:r.right-x,I="right"===a.position?r.left+x:r.right,A="bottom"===a.position?r.top:r.bottom-x,N="bottom"===a.position?r.top+x:r.bottom;if(t.each(r.ticks,function(e,o){if(void 0!==e&&null!==e){var s=r.ticks.length===o+1;if((!(i>1&&o%i>0||o%i==0&&o+i>=r.ticks.length)||s)&&void 0!==e&&null!==e){var l,d;o===(void 0!==r.zeroLineIndex?r.zeroLineIndex:0)?(l=u.zeroLineWidth,d=u.zeroLineColor):(l=t.getValueAtIndexOrDefault(u.lineWidth,o),d=t.getValueAtIndexOrDefault(u.color,o));var p,m,g,v,b,y,_,k,E,S,M,P="middle";if(f){h||(P="top"===a.position?"bottom":"top"),M=h?"right":"center";var D=r.getPixelForTick(o)+t.aliasPixel(l);E=r.getPixelForTick(o,u.offsetGridLines)+c.labelOffset,S=h?r.top+12:"top"===a.position?r.bottom-x:r.top+x,p=g=b=_=D,m=A,v=N,y=n.top,k=n.bottom}else{"left"===a.position?c.mirror?(E=r.right+c.padding,M="left"):(E=r.right-c.padding,M="right"):c.mirror?(E=r.left-c.padding,M="right"):(E=r.left+c.padding,M="left");var F=r.getPixelForTick(o);F+=t.aliasPixel(l),S=r.getPixelForTick(o,u.offsetGridLines),p=O,g=I,b=n.left,_=n.right,m=v=y=k=F}R.push({tx1:p,ty1:m,tx2:g,ty2:v,x1:b,y1:y,x2:_,y2:k,labelX:E,labelY:S,glWidth:l,glColor:d,glBorderDash:C,glBorderDashOffset:w,rotation:-1*T,label:e,textBaseline:P,textAlign:M})}}}),t.each(R,function(e){if(u.display&&(s.save(),s.lineWidth=e.glWidth,s.strokeStyle=e.glColor,s.setLineDash&&(s.setLineDash(e.glBorderDash),s.lineDashOffset=e.glBorderDashOffset),s.beginPath(),u.drawTicks&&(s.moveTo(e.tx1,e.ty1),s.lineTo(e.tx2,e.ty2)),u.drawOnChartArea&&(s.moveTo(e.x1,e.y1),s.lineTo(e.x2,e.y2)),s.stroke(),s.restore()),c.display){s.save(),s.translate(e.labelX,e.labelY),s.rotate(e.rotation),s.font=y,s.textBaseline=e.textBaseline,s.textAlign=e.textAlign;var n=e.label;if(t.isArray(n))for(var r=0,a=0;r0){var i=e[0];i.xLabel?n=i.xLabel:a>0&&i.index1&&a.each(f,function(e){h.push(s.callbacks.labelColor.call(o,e,d))}),a.extend(l,{title:o.getTitle(f,u),beforeBody:o.getBeforeBody(f,u),body:o.getBody(f,u),afterBody:o.getAfterBody(f,u),footer:o.getFooter(f,u),x:Math.round(p.x),y:Math.round(p.y),caretPadding:a.getValueOrDefault(p.padding,2),labelColors:h});var m=o.getTooltipSize(l);o.determineAlignment(m),a.extend(l,o.getBackgroundPoint(l,m))}else o._model.opacity=0;return e&&s.custom&&s.custom.call(o,l),o},getTooltipSize:function(e){var t=this._chart.ctx,n={height:2*e.yPadding,width:0},r=e.body,i=r.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);i+=e.beforeBody.length+e.afterBody.length;var o=e.title.length,s=e.footer.length,l=e.titleFontSize,c=e.bodyFontSize,u=e.footerFontSize;n.height+=o*l,n.height+=(o-1)*e.titleSpacing,n.height+=o?e.titleMarginBottom:0,n.height+=i*c,n.height+=i?(i-1)*e.bodySpacing:0,n.height+=s?e.footerMarginTop:0,n.height+=s*u,n.height+=s?(s-1)*e.footerSpacing:0;var d=0,h=function(e){n.width=Math.max(n.width,t.measureText(e).width+d)};return t.font=a.fontString(l,e._titleFontStyle,e._titleFontFamily),a.each(e.title,h),t.font=a.fontString(c,e._bodyFontStyle,e._bodyFontFamily),a.each(e.beforeBody.concat(e.afterBody),h),d=r.length>1?c+2:0,a.each(r,function(e){a.each(e.before,h),a.each(e.lines,h),a.each(e.after,h)}),d=0,t.font=a.fontString(u,e._footerFontStyle,e._footerFontFamily),a.each(e.footer,h),n.width+=2*e.xPadding,n},determineAlignment:function(e){var t=this,n=t._model,r=t._chart,a=t._chartInstance.chartArea;n.yr.height-e.height&&(n.yAlign="bottom");var i,o,s,l,c,u=(a.left+a.right)/2,d=(a.top+a.bottom)/2;"center"===n.yAlign?(i=function(e){return e<=u},o=function(e){return e>u}):(i=function(t){return t<=e.width/2},o=function(t){return t>=r.width-e.width/2}),s=function(t){return t+e.width>r.width},l=function(t){return t-e.width<0},c=function(e){return e<=d?"top":"bottom"},i(n.x)?(n.xAlign="left",s(n.x)&&(n.xAlign="center",n.yAlign=c(n.y))):o(n.x)&&(n.xAlign="right",l(n.x)&&(n.xAlign="center",n.yAlign=c(n.y)))},getBackgroundPoint:function(e,t){var n={x:e.x,y:e.y},r=e.caretSize,a=e.caretPadding,i=e.cornerRadius,o=e.xAlign,s=e.yAlign,l=r+a,c=i+a;return"right"===o?n.x-=t.width:"center"===o&&(n.x-=t.width/2),"top"===s?n.y+=l:n.y-="bottom"===s?t.height+l:t.height/2,"center"===s?"left"===o?n.x+=l:"right"===o&&(n.x-=l):"left"===o?n.x-=c:"right"===o&&(n.x+=c),n},drawCaret:function(e,t,n){var r,i,o,s,l,c,u=this._view,d=this._chart.ctx,h=u.caretSize,p=u.cornerRadius,f=u.xAlign,m=u.yAlign,g=e.x,v=e.y,b=t.width,y=t.height;"center"===m?("left"===f?(i=(r=g)-h,o=r):(i=(r=g+b)+h,o=r),s=(l=v+y/2)-h,c=l+h):("left"===f?o=(i=(r=g+p)+h)+h:"right"===f?o=(i=(r=g+b-p)-h)-h:(r=(i=g+b/2)-h,o=i+h),"top"===m?(l=(s=v)-h,c=s):(l=(s=v+y)+h,c=s));var x=a.color(u.backgroundColor);d.fillStyle=x.alpha(n*x.alpha()).rgbString(),d.beginPath(),d.moveTo(r,s),d.lineTo(i,l),d.lineTo(o,c),d.closePath(),d.fill()},drawTitle:function(e,t,n,r){var i=t.title;if(i.length){n.textAlign=t._titleAlign,n.textBaseline="top";var o=t.titleFontSize,s=t.titleSpacing,l=a.color(t.titleFontColor);n.fillStyle=l.alpha(r*l.alpha()).rgbString(),n.font=a.fontString(o,t._titleFontStyle,t._titleFontFamily);var c,u;for(c=0,u=i.length;c1;u=h?i+2:0,a.each(s,function(o,s){a.each(o.before,d),a.each(o.lines,function(o){h&&(n.fillStyle=a.color(t.legendColorBackground).alpha(r).rgbaString(),n.fillRect(e.x,e.y,i,i),n.strokeStyle=a.color(t.labelColors[s].borderColor).alpha(r).rgbaString(),n.strokeRect(e.x,e.y,i,i),n.fillStyle=a.color(t.labelColors[s].backgroundColor).alpha(r).rgbaString(),n.fillRect(e.x+1,e.y+1,i-2,i-2),n.fillStyle=c),d(o)}),a.each(o.after,d)}),u=0,a.each(t.afterBody,d),e.y-=o},drawFooter:function(e,t,n,r){var i=t.footer;if(i.length){e.y+=t.footerMarginTop,n.textAlign=t._footerAlign,n.textBaseline="top";var o=a.color(t.footerFontColor);n.fillStyle=o.alpha(r*o.alpha()).rgbString(),n.font=a.fontString(t.footerFontSize,t._footerFontStyle,t._footerFontFamily),a.each(i,function(r){n.fillText(r,e.x,e.y),e.y+=t.footerFontSize+t.footerSpacing})}},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n=this.getTooltipSize(t),r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity;if(this._options.enabled){var o=a.color(t.backgroundColor);e.fillStyle=o.alpha(i*o.alpha()).rgbString(),a.drawRoundedRectangle(e,r.x,r.y,n.width,n.height,t.cornerRadius),e.fill(),this.drawCaret(r,n,i),r.x+=t.xPadding,r.y+=t.yPadding,this.drawTitle(r,t,e,i),this.drawBody(r,t,e,i),this.drawFooter(r,t,e,i)}}}})}},{}],56:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;n.elements.arc={backgroundColor:n.defaultColor,borderColor:"#fff",borderWidth:2},e.elements.Arc=e.Element.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)l;)i-=2*Math.PI;for(;i=s&&i<=l,u=o>=r.innerRadius&&o<=r.outerRadius;return c&&u}return!1},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()}})}},{}],57:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=e.defaults.global;e.defaults.global.elements.line={tension:.4,backgroundColor:n.defaultColor,borderWidth:3,borderColor:n.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0},e.elements.Line=e.Element.extend({draw:function(){function e(e,t){var n=t._view;!0===t._view.steppedLine?(l.lineTo(t._view.x,e._view.y),l.lineTo(t._view.x,t._view.y)):0===t._view.tension?l.lineTo(n.x,n.y):l.bezierCurveTo(e._view.controlPointNextX,e._view.controlPointNextY,n.controlPointPreviousX,n.controlPointPreviousY,n.x,n.y)}var r=this,a=r._view,i=a.spanGaps,o=a.scaleZero,s=r._loop,l=r._chart.ctx;l.save();var c=r._children.slice(),u=-1;s&&c.length&&c.push(c[0]);var d,h,p,f;if(c.length&&a.fill){for(l.beginPath(),d=0;d=n.x-n.width/2&&e<=n.x+n.width/2&&t>=n.y&&t<=n.base:e>=n.x-n.width/2&&e<=n.x+n.width/2&&t>=n.base&&t<=n.y)},inLabelRange:function(e){var t=this._view;return!!t&&e>=t.x-t.width/2&&e<=t.x+t.width/2},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})}},{}],60:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"bottom"},r=e.Scale.extend({getLabels:function(){var e=this.chart.data;return(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels},determineDataLimits:function(){var e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1;var r;void 0!==e.options.ticks.min&&(r=t.indexOf(n,e.options.ticks.min),e.minIndex=-1!==r?r:e.minIndex),void 0!==e.options.ticks.max&&(r=t.indexOf(n,e.options.ticks.max),e.maxIndex=-1!==r?r:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var e=this,t=e.getLabels();e.ticks=0===e.minIndex&&e.maxIndex===t.length-1?t:t.slice(e.minIndex,e.maxIndex+1)},getLabelForIndex:function(e){return this.ticks[e]},getPixelForValue:function(e,t,n,r){var a=this,i=Math.max(a.maxIndex+1-a.minIndex-(a.options.gridLines.offsetGridLines?0:1),1);if(void 0!==e&&isNaN(t)){var o=a.getLabels().indexOf(e);t=-1!==o?o:t}if(a.isHorizontal()){var s=(a.width-(a.paddingLeft+a.paddingRight))/i,l=s*(t-a.minIndex)+a.paddingLeft;return(a.options.gridLines.offsetGridLines&&r||a.maxIndex===a.minIndex&&r)&&(l+=s/2),a.left+Math.round(l)}var c=(a.height-(a.paddingTop+a.paddingBottom))/i,u=c*(t-a.minIndex)+a.paddingTop;return a.options.gridLines.offsetGridLines&&r&&(u+=c/2),a.top+Math.round(u)},getPixelForTick:function(e,t){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null,t)},getValueForPixel:function(e){var t=this,n=Math.max(t.ticks.length-(t.options.gridLines.offsetGridLines?0:1),1),r=t.isHorizontal(),a=(r?t.width-(t.paddingLeft+t.paddingRight):t.height-(t.paddingTop+t.paddingBottom))/n;return e-=r?t.left:t.top,t.options.gridLines.offsetGridLines&&(e-=a/2),(e-=r?t.paddingLeft:t.paddingTop)<=0?0:Math.round(e/a)},getBasePixel:function(){return this.bottom}});e.scaleService.registerScaleType("category",r,n)}},{}],61:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n={position:"left",ticks:{callback:function(e,n,r){var a=r.length>3?r[2]-r[1]:r[1]-r[0];Math.abs(a)>1&&e!==Math.floor(e)&&(a=e-Math.floor(e));var i=t.log10(Math.abs(a)),o="";if(0!==e){var s=-1*Math.floor(i);s=Math.max(Math.min(s,20),0),o=e.toFixed(s)}else o="0";return o}}},r=e.LinearScaleBase.extend({determineDataLimits:function(){function e(e){return o?e.xAxisID===n.id:e.yAxisID===n.id}var n=this,r=n.options,a=n.chart,i=a.data.datasets,o=n.isHorizontal();if(n.min=null,n.max=null,r.stacked){var s={},l=!1,c=!1;t.each(i,function(i,o){var u=a.getDatasetMeta(o);void 0===s[u.type]&&(s[u.type]={positiveValues:[],negativeValues:[]});var d=s[u.type].positiveValues,h=s[u.type].negativeValues;a.isDatasetVisible(o)&&e(u)&&t.each(i.data,function(e,t){var a=+n.getRightValue(e);isNaN(a)||u.data[t].hidden||(d[t]=d[t]||0,h[t]=h[t]||0,r.relativePoints?d[t]=100:a<0?(c=!0,h[t]+=a):(l=!0,d[t]+=a))})}),t.each(s,function(e){var r=e.positiveValues.concat(e.negativeValues),a=t.min(r),i=t.max(r);n.min=null===n.min?a:Math.min(n.min,a),n.max=null===n.max?i:Math.max(n.max,i)})}else t.each(i,function(r,i){var o=a.getDatasetMeta(i);a.isDatasetVisible(i)&&e(o)&&t.each(r.data,function(e,t){var r=+n.getRightValue(e);isNaN(r)||o.data[t].hidden||(null===n.min?n.min=r:rn.max&&(n.max=r))})});this.handleTickRangeOptions()},getTickLimit:function(){var n,r=this,a=r.options.ticks;if(r.isHorizontal())n=Math.min(a.maxTicksLimit?a.maxTicksLimit:11,Math.ceil(r.width/50));else{var i=t.getValueOrDefault(a.fontSize,e.defaults.global.defaultFontSize);n=Math.min(a.maxTicksLimit?a.maxTicksLimit:11,Math.ceil(r.height/(2*i)))}return n},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,n,r=this,a=r.paddingLeft,i=r.paddingBottom,o=r.start,s=+r.getRightValue(e),l=r.end-o;return r.isHorizontal()?(n=r.width-(a+r.paddingRight),t=r.left+n/l*(s-o),Math.round(t+a)):(n=r.height-(r.paddingTop+i),t=r.bottom-i-n/l*(s-o),Math.round(t))},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),r=t.paddingLeft,a=t.paddingBottom,i=n?t.width-(r+t.paddingRight):t.height-(t.paddingTop+a),o=(n?e-t.left-r:t.bottom-a-e)/i;return t.start+(t.end-t.start)*o},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});e.scaleService.registerScaleType("linear",r,n)}},{}],62:[function(e,t,n){"use strict";t.exports=function(e){var t=e.helpers,n=t.noop;e.LinearScaleBase=e.Scale.extend({handleTickRangeOptions:function(){var e=this,n=e.options.ticks;if(n.beginAtZero){var r=t.sign(e.min),a=t.sign(e.max);r<0&&a<0?e.max=0:r>0&&a>0&&(e.min=0)}void 0!==n.min?e.min=n.min:void 0!==n.suggestedMin&&(e.min=Math.min(e.min,n.suggestedMin)),void 0!==n.max?e.max=n.max:void 0!==n.suggestedMax&&(e.max=Math.max(e.max,n.suggestedMax)),e.min===e.max&&(e.max++,n.beginAtZero||e.min--)},getTickLimit:n,handleDirectionalChanges:n,buildTicks:function(){var e=this,n=e.options,r=e.ticks=[],a=n.ticks,i=t.getValueOrDefault,o=e.getTickLimit();o=Math.max(2,o);var s;if(a.fixedStepSize&&a.fixedStepSize>0||a.stepSize&&a.stepSize>0)s=i(a.fixedStepSize,a.stepSize);else{var l=t.niceNum(e.max-e.min,!1);s=t.niceNum(l/(o-1),!0)}var c=Math.floor(e.min/s)*s,u=Math.ceil(e.max/s)*s,d=(u-c)/s;d=t.almostEquals(d,Math.round(d),s/1e3)?Math.round(d):Math.ceil(d),r.push(void 0!==a.min?a.min:c);for(var h=1;hn.max&&(n.max=r),0!==r&&(null===n.minNotZero||re.max&&(e.max=r))})}}),e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,r=t.getValueOrDefault(e.fontSize,n.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*r)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,r,a,i,o,s,l,c,u,d,h,p,f=this.options.pointLabels,m=t.getValueOrDefault(f.fontSize,n.defaultFontSize),g=t.getValueOrDefault(f.fontStyle,n.defaultFontStyle),v=t.getValueOrDefault(f.fontFamily,n.defaultFontFamily),b=t.fontString(m,g,v),y=t.min([this.height/2-m-5,this.width/2]),x=this.width,C=0;for(this.ctx.font=b,r=0;rx&&(x=e.x+i,o=r),e.x-ix&&(x=e.x+a,o=r):e.x-a0&&n>0?t:0)},draw:function(){var e=this,r=e.options,a=r.gridLines,i=r.ticks,o=r.angleLines,s=r.pointLabels,l=t.getValueOrDefault;if(r.display){var c=e.ctx,u=l(i.fontSize,n.defaultFontSize),d=l(i.fontStyle,n.defaultFontStyle),h=l(i.fontFamily,n.defaultFontFamily),p=t.fontString(u,d,h);if(t.each(e.ticks,function(o,s){if(s>0||r.reverse){var d=e.getDistanceFromCenterForValue(e.ticksAsNumbers[s]),h=e.yCenter-d;if(a.display&&0!==s)if(c.strokeStyle=t.getValueAtIndexOrDefault(a.color,s-1),c.lineWidth=t.getValueAtIndexOrDefault(a.lineWidth,s-1),r.lineArc)c.beginPath(),c.arc(e.xCenter,e.yCenter,d,0,2*Math.PI),c.closePath(),c.stroke();else{c.beginPath();for(var f=0;f=0;y--){if(o.display){var x=e.getPointPosition(y,f);c.beginPath(),c.moveTo(e.xCenter,e.yCenter),c.lineTo(x.x,x.y),c.stroke(),c.closePath()}var C=e.getPointPosition(y,f+5),w=l(s.fontColor,n.defaultFontColor);c.font=b,c.fillStyle=w;var _=e.pointLabels,k=360*(this.getIndexAngle(y)+Math.PI/2)/(2*Math.PI)%360;c.textAlign=0===k||180===k?"center":k<180?"left":"right",c.textBaseline=90===k||270===k?"middle":k>270||k<90?"bottom":"top",c.fillText(_[y]?_[y]:"",C.x,C.y)}}}}});e.scaleService.registerScaleType("radialLinear",a,r)}},{}],65:[function(e,t,n){"use strict";var r=e("moment");r="function"==typeof r?r:window.moment,t.exports=function(e){var t=e.helpers,n={units:[{name:"millisecond",steps:[1,2,5,10,20,50,100,250,500]},{name:"second",steps:[1,2,5,10,30]},{name:"minute",steps:[1,2,5,10,30]},{name:"hour",steps:[1,2,3,6,12]},{name:"day",steps:[1,2,5]},{name:"week",maxStep:4},{name:"month",maxStep:3},{name:"quarter",maxStep:4},{name:"year",maxStep:!1}]},a={position:"bottom",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm:ss a",hour:"MMM D, hA",day:"ll",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1}},i=e.Scale.extend({initialize:function(){if(!r)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");e.Scale.prototype.initialize.call(this)},getLabelMoment:function(e,t){return void 0!==this.labelMoments[e]?this.labelMoments[e][t]:null},getMomentStartOf:function(e){var t=this;return"week"===t.options.time.unit&&!1!==t.options.time.isoWeekday?e.clone().startOf("isoWeek").isoWeekday(t.options.time.isoWeekday):e.clone().startOf(t.tickUnit)},determineDataLimits:function(){var e=this;e.labelMoments=[];var n=[];e.chart.data.labels&&e.chart.data.labels.length>0?(t.each(e.chart.data.labels,function(t){var r=e.parseTime(t);r.isValid()&&(e.options.time.round&&r.startOf(e.options.time.round),n.push(r))},e),e.firstTick=r.min.call(e,n),e.lastTick=r.max.call(e,n)):(e.firstTick=null,e.lastTick=null),t.each(e.chart.data.datasets,function(a,i){var o=[],s=e.chart.isDatasetVisible(i);"object"==typeof a.data[0]&&null!==a.data[0]?t.each(a.data,function(t){var n=e.parseTime(e.getRightValue(t));n.isValid()&&(e.options.time.round&&n.startOf(e.options.time.round),o.push(n),s&&(e.firstTick=null!==e.firstTick?r.min(e.firstTick,n):n,e.lastTick=null!==e.lastTick?r.max(e.lastTick,n):n))},e):o=n,e.labelMoments.push(o)},e),e.options.time.min&&(e.firstTick=e.parseTime(e.options.time.min)),e.options.time.max&&(e.lastTick=e.parseTime(e.options.time.max)),e.firstTick=(e.firstTick||r()).clone(),e.lastTick=(e.lastTick||r()).clone()},buildTicks:function(){var r=this;r.ctx.save();var a=t.getValueOrDefault(r.options.ticks.fontSize,e.defaults.global.defaultFontSize),i=t.getValueOrDefault(r.options.ticks.fontStyle,e.defaults.global.defaultFontStyle),o=t.getValueOrDefault(r.options.ticks.fontFamily,e.defaults.global.defaultFontFamily),s=t.fontString(a,i,o);if(r.ctx.font=s,r.ticks=[],r.unitScale=1,r.scaleSizeInUnits=0,r.options.time.unit)r.tickUnit=r.options.time.unit||"day",r.displayFormat=r.options.time.displayFormats[r.tickUnit],r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0),r.unitScale=t.getValueOrDefault(r.options.time.unitStepSize,1);else{var l=r.isHorizontal()?r.width-(r.paddingLeft+r.paddingRight):r.height-(r.paddingTop+r.paddingBottom),c=r.tickFormatFunction(r.firstTick,0,[]),u=r.ctx.measureText(c).width,d=l/(u=u*Math.cos(t.toRadians(r.options.ticks.maxRotation))+a*Math.sin(t.toRadians(r.options.ticks.maxRotation)));r.tickUnit="millisecond",r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0),r.displayFormat=r.options.time.displayFormats[r.tickUnit];for(var h=0,p=n.units[h];h=Math.ceil(r.scaleSizeInUnits/d)){r.unitScale=t.getValueOrDefault(r.options.time.unitStepSize,p.steps[f]);break}break}if(!1===p.maxStep||Math.ceil(r.scaleSizeInUnits/d)=0&&(r.lastTick=b),r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0)}r.options.time.displayFormat&&(r.displayFormat=r.options.time.displayFormat),r.ticks.push(r.firstTick.clone());for(var x=1;x<=r.scaleSizeInUnits;++x){var C=v.clone().add(x,r.tickUnit);if(r.options.time.max&&C.diff(r.lastTick,r.tickUnit,!0)>=0)break;x%r.unitScale==0&&r.ticks.push(C)}0===r.ticks[r.ticks.length-1].diff(r.lastTick,r.tickUnit)&&0!==r.scaleSizeInUnits||(r.options.time.max?(r.ticks.push(r.lastTick.clone()),r.scaleSizeInUnits=r.lastTick.diff(r.ticks[0],r.tickUnit,!0)):(r.ticks.push(r.lastTick.clone()),r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0))),r.ctx.restore()},getLabelForIndex:function(e,t){var n=this,r=n.chart.data.labels&&e=0&&(i=d[n],i.unitCount=Math.round(i.unitCount),0!==n);n--)f=d[n-1],p=t.unitMeasures[f.unitName]/t.unitMeasures[i.unitName],(i.unitCount%p==0||t.largest&&t.largest-12?m.slice(0,-1).join(t.delimiter)+(t.serialComma?",":"")+t.conjunction+m.slice(-1):void 0:m.join(t.delimiter):r(0,t.units[t.units.length-1],o,t)}function r(e,t,n,r){var a;a=void 0===r.decimal?n.decimal:r.decimal;var i,o=e.toString().replace(".",a),s=n[t];return i="function"==typeof s?s(e):s,o+r.spacer+i}function a(e){for(var t,n=1;n=2&&e%10<=4&&e%100<10?2:3}function o(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function s(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function l(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}var c={ar:{y:function(e){return 1===e?"سنة":"سنوات"},mo:function(e){return 1===e?"شهر":"أشهر"},w:function(e){return 1===e?"أسبوع":"أسابيع"},d:function(e){return 1===e?"يوم":"أيام"},h:function(e){return 1===e?"ساعة":"ساعات"},m:function(e){return 1===e?"دقيقة":"دقائق"},s:function(e){return 1===e?"ثانية":"ثواني"},ms:function(e){return 1===e?"جزء من الثانية":"أجزاء من الثانية"},decimal:","},bg:{y:function(e){return["години","година","години"][s(e)]},mo:function(e){return["месеца","месец","месеца"][s(e)]},w:function(e){return["седмици","седмица","седмици"][s(e)]},d:function(e){return["дни","ден","дни"][s(e)]},h:function(e){return["часа","час","часа"][s(e)]},m:function(e){return["минути","минута","минути"][s(e)]},s:function(e){return["секунди","секунда","секунди"][s(e)]},ms:function(e){return["милисекунди","милисекунда","милисекунди"][s(e)]},decimal:","},ca:{y:function(e){return"any"+(1===e?"":"s")},mo:function(e){return"mes"+(1===e?"":"os")},w:function(e){return"setman"+(1===e?"a":"es")},d:function(e){return"di"+(1===e?"a":"es")},h:function(e){return"hor"+(1===e?"a":"es")},m:function(e){return"minut"+(1===e?"":"s")},s:function(e){return"segon"+(1===e?"":"s")},ms:function(e){return"milisegon"+(1===e?"":"s")},decimal:","},cs:{y:function(e){return["rok","roku","roky","let"][i(e)]},mo:function(e){return["měsíc","měsíce","měsíce","měsíců"][i(e)]},w:function(e){return["týden","týdne","týdny","týdnů"][i(e)]},d:function(e){return["den","dne","dny","dní"][i(e)]},h:function(e){return["hodina","hodiny","hodiny","hodin"][i(e)]},m:function(e){return["minuta","minuty","minuty","minut"][i(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekund"][i(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][i(e)]},decimal:","},da:{y:"år",mo:function(e){return"måned"+(1===e?"":"er")},w:function(e){return"uge"+(1===e?"":"r")},d:function(e){return"dag"+(1===e?"":"e")},h:function(e){return"time"+(1===e?"":"r")},m:function(e){return"minut"+(1===e?"":"ter")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},de:{y:function(e){return"Jahr"+(1===e?"":"e")},mo:function(e){return"Monat"+(1===e?"":"e")},w:function(e){return"Woche"+(1===e?"":"n")},d:function(e){return"Tag"+(1===e?"":"e")},h:function(e){return"Stunde"+(1===e?"":"n")},m:function(e){return"Minute"+(1===e?"":"n")},s:function(e){return"Sekunde"+(1===e?"":"n")},ms:function(e){return"Millisekunde"+(1===e?"":"n")},decimal:","},en:{y:function(e){return"year"+(1===e?"":"s")},mo:function(e){return"month"+(1===e?"":"s")},w:function(e){return"week"+(1===e?"":"s")},d:function(e){return"day"+(1===e?"":"s")},h:function(e){return"hour"+(1===e?"":"s")},m:function(e){return"minute"+(1===e?"":"s")},s:function(e){return"second"+(1===e?"":"s")},ms:function(e){return"millisecond"+(1===e?"":"s")},decimal:"."},es:{y:function(e){return"año"+(1===e?"":"s")},mo:function(e){return"mes"+(1===e?"":"es")},w:function(e){return"semana"+(1===e?"":"s")},d:function(e){return"día"+(1===e?"":"s")},h:function(e){return"hora"+(1===e?"":"s")},m:function(e){return"minuto"+(1===e?"":"s")},s:function(e){return"segundo"+(1===e?"":"s")},ms:function(e){return"milisegundo"+(1===e?"":"s")},decimal:","},fa:{y:"سال",mo:"ماه",w:"هفته",d:"روز",h:"ساعت",m:"دقیقه",s:"ثانیه",ms:"میلی ثانیه",decimal:"."},fi:{y:function(e){return 1===e?"vuosi":"vuotta"},mo:function(e){return 1===e?"kuukausi":"kuukautta"},w:function(e){return"viikko"+(1===e?"":"a")},d:function(e){return"päivä"+(1===e?"":"ä")},h:function(e){return"tunti"+(1===e?"":"a")},m:function(e){return"minuutti"+(1===e?"":"a")},s:function(e){return"sekunti"+(1===e?"":"a")},ms:function(e){return"millisekunti"+(1===e?"":"a")},decimal:","},fr:{y:function(e){return"an"+(e>=2?"s":"")},mo:"mois",w:function(e){return"semaine"+(e>=2?"s":"")},d:function(e){return"jour"+(e>=2?"s":"")},h:function(e){return"heure"+(e>=2?"s":"")},m:function(e){return"minute"+(e>=2?"s":"")},s:function(e){return"seconde"+(e>=2?"s":"")},ms:function(e){return"milliseconde"+(e>=2?"s":"")},decimal:","},gr:{y:function(e){return 1===e?"χρόνος":"χρόνια"},mo:function(e){return 1===e?"μήνας":"μήνες"},w:function(e){return 1===e?"εβδομάδα":"εβδομάδες"},d:function(e){return 1===e?"μέρα":"μέρες"},h:function(e){return 1===e?"ώρα":"ώρες"},m:function(e){return 1===e?"λεπτό":"λεπτά"},s:function(e){return 1===e?"δευτερόλεπτο":"δευτερόλεπτα"},ms:function(e){return 1===e?"χιλιοστό του δευτερολέπτου":"χιλιοστά του δευτερολέπτου"},decimal:","},hu:{y:"év",mo:"hónap",w:"hét",d:"nap",h:"óra",m:"perc",s:"másodperc",ms:"ezredmásodperc",decimal:","},id:{y:"tahun",mo:"bulan",w:"minggu",d:"hari",h:"jam",m:"menit",s:"detik",ms:"milidetik",decimal:"."},is:{y:"ár",mo:function(e){return"mánuð"+(1===e?"ur":"ir")},w:function(e){return"vik"+(1===e?"a":"ur")},d:function(e){return"dag"+(1===e?"ur":"ar")},h:function(e){return"klukkutím"+(1===e?"i":"ar")},m:function(e){return"mínút"+(1===e?"a":"ur")},s:function(e){return"sekúnd"+(1===e?"a":"ur")},ms:function(e){return"millisekúnd"+(1===e?"a":"ur")},decimal:"."},it:{y:function(e){return"ann"+(1===e?"o":"i")},mo:function(e){return"mes"+(1===e?"e":"i")},w:function(e){return"settiman"+(1===e?"a":"e")},d:function(e){return"giorn"+(1===e?"o":"i")},h:function(e){return"or"+(1===e?"a":"e")},m:function(e){return"minut"+(1===e?"o":"i")},s:function(e){return"second"+(1===e?"o":"i")},ms:function(e){return"millisecond"+(1===e?"o":"i")},decimal:","},ja:{y:"年",mo:"月",w:"週",d:"日",h:"時間",m:"分",s:"秒",ms:"ミリ秒",decimal:"."},ko:{y:"년",mo:"개월",w:"주일",d:"일",h:"시간",m:"분",s:"초",ms:"밀리 초",decimal:"."},lt:{y:function(e){return e%10==0||e%100>=10&&e%100<=20?"metų":"metai"},mo:function(e){return["mėnuo","mėnesiai","mėnesių"][l(e)]},w:function(e){return["savaitė","savaitės","savaičių"][l(e)]},d:function(e){return["diena","dienos","dienų"][l(e)]},h:function(e){return["valanda","valandos","valandų"][l(e)]},m:function(e){return["minutė","minutės","minučių"][l(e)]},s:function(e){return["sekundė","sekundės","sekundžių"][l(e)]},ms:function(e){return["milisekundė","milisekundės","milisekundžių"][l(e)]},decimal:","},ms:{y:"tahun",mo:"bulan",w:"minggu",d:"hari",h:"jam",m:"minit",s:"saat",ms:"milisaat",decimal:"."},nl:{y:"jaar",mo:function(e){return 1===e?"maand":"maanden"},w:function(e){return 1===e?"week":"weken"},d:function(e){return 1===e?"dag":"dagen"},h:"uur",m:function(e){return 1===e?"minuut":"minuten"},s:function(e){return 1===e?"seconde":"seconden"},ms:function(e){return 1===e?"milliseconde":"milliseconden"},decimal:","},no:{y:"år",mo:function(e){return"måned"+(1===e?"":"er")},w:function(e){return"uke"+(1===e?"":"r")},d:function(e){return"dag"+(1===e?"":"er")},h:function(e){return"time"+(1===e?"":"r")},m:function(e){return"minutt"+(1===e?"":"er")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},pl:{y:function(e){return["rok","roku","lata","lat"][o(e)]},mo:function(e){return["miesiąc","miesiąca","miesiące","miesięcy"][o(e)]},w:function(e){return["tydzień","tygodnia","tygodnie","tygodni"][o(e)]},d:function(e){return["dzień","dnia","dni","dni"][o(e)]},h:function(e){return["godzina","godziny","godziny","godzin"][o(e)]},m:function(e){return["minuta","minuty","minuty","minut"][o(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekund"][o(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][o(e)]},decimal:","},pt:{y:function(e){return"ano"+(1===e?"":"s")},mo:function(e){return 1!==e?"meses":"mês"},w:function(e){return"semana"+(1===e?"":"s")},d:function(e){return"dia"+(1===e?"":"s")},h:function(e){return"hora"+(1===e?"":"s")},m:function(e){return"minuto"+(1===e?"":"s")},s:function(e){return"segundo"+(1===e?"":"s")},ms:function(e){return"milissegundo"+(1===e?"":"s")},decimal:","},ru:{y:function(e){return["лет","год","года"][s(e)]},mo:function(e){return["месяцев","месяц","месяца"][s(e)]},w:function(e){return["недель","неделя","недели"][s(e)]},d:function(e){return["дней","день","дня"][s(e)]},h:function(e){return["часов","час","часа"][s(e)]},m:function(e){return["минут","минута","минуты"][s(e)]},s:function(e){return["секунд","секунда","секунды"][s(e)]},ms:function(e){return["миллисекунд","миллисекунда","миллисекунды"][s(e)]},decimal:","},uk:{y:function(e){return["років","рік","роки"][s(e)]},mo:function(e){return["місяців","місяць","місяці"][s(e)]},w:function(e){return["неділь","неділя","неділі"][s(e)]},d:function(e){return["днів","день","дні"][s(e)]},h:function(e){return["годин","година","години"][s(e)]},m:function(e){return["хвилин","хвилина","хвилини"][s(e)]},s:function(e){return["секунд","секунда","секунди"][s(e)]},ms:function(e){return["мілісекунд","мілісекунда","мілісекунди"][s(e)]},decimal:","},sv:{y:"år",mo:function(e){return"månad"+(1===e?"":"er")},w:function(e){return"veck"+(1===e?"a":"or")},d:function(e){return"dag"+(1===e?"":"ar")},h:function(e){return"timm"+(1===e?"e":"ar")},m:function(e){return"minut"+(1===e?"":"er")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},tr:{y:"yıl",mo:"ay",w:"hafta",d:"gün",h:"saat",m:"dakika",s:"saniye",ms:"milisaniye",decimal:","},vi:{y:"năm",mo:"tháng",w:"tuần",d:"ngày",h:"giờ",m:"phút",s:"giây",ms:"mili giây",decimal:","},zh_CN:{y:"年",mo:"个月",w:"周",d:"天",h:"小时",m:"分钟",s:"秒",ms:"毫秒",decimal:"."},zh_TW:{y:"年",mo:"個月",w:"周",d:"天",h:"小時",m:"分鐘",s:"秒",ms:"毫秒",decimal:"."}},u=e({});u.getSupportedLanguages=function(){var e=[];for(var t in c)c.hasOwnProperty(t)&&e.push(t);return e},u.humanizer=e,"function"==typeof define&&define.amd?define(function(){return u}):void 0!==t&&t.exports?t.exports=u:this.humanizeDuration=u}()},{}],73:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function o(e){if(h===clearTimeout)return clearTimeout(e);if((h===a||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{return h(e)}catch(t){try{return h.call(null,e)}catch(t){return h.call(this,e)}}}function s(){g&&f&&(g=!1,f.length?m=f.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=i(s);g=!0;for(var t=m.length;t;){for(f=m,m=[];++v1)for(var n=1;n8&&x<=11),_=32,k=String.fromCharCode(_),E={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},S=!1,M=null,T={eventTypes:E,extractEvents:function(e,t,n,r){return[l(e,t,n,r),d(e,t,n,r)]}};t.exports=T},{"./EventPropagators":112,"./FallbackCompositionState":113,"./SyntheticCompositionEvent":170,"./SyntheticInputEvent":174,"fbjs/lib/ExecutionEnvironment":213}],97:[function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var a={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},i=["Webkit","ms","Moz","O"];Object.keys(a).forEach(function(e){i.forEach(function(t){a[r(t,e)]=a[e]})});var o={isUnitlessNumber:a,shorthandPropertyExpansions:{background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}}};t.exports=o},{}],98:[function(e,t,n){"use strict";var r=e("./CSSProperty"),a=e("fbjs/lib/ExecutionEnvironment"),i=(e("./ReactInstrumentation"),e("fbjs/lib/camelizeStyleName"),e("./dangerousStyleValue")),o=e("fbjs/lib/hyphenateStyleName"),s=e("fbjs/lib/memoizeStringOnly"),l=(e("fbjs/lib/warning"),s(function(e){return o(e)})),c=!1,u="cssFloat";if(a.canUseDOM){var d=document.createElement("div").style;try{d.font=""}catch(e){c=!0}void 0===document.documentElement.style.cssFloat&&(u="styleFloat")}var h={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var a=0===r.indexOf("--"),o=e[r];null!=o&&(n+=l(r)+":",n+=i(r,o,t,a)+";")}return n||null},setValueForStyles:function(e,t,n){var a=e.style;for(var o in t)if(t.hasOwnProperty(o)){var s=0===o.indexOf("--"),l=i(o,t[o],n,s);if("float"!==o&&"cssFloat"!==o||(o=u),s)a.setProperty(o,l);else if(l)a[o]=l;else{var d=c&&r.shorthandPropertyExpansions[o];if(d)for(var h in d)a[h]="";else a[o]=""}}}};t.exports=h},{"./CSSProperty":97,"./ReactInstrumentation":150,"./dangerousStyleValue":186,"fbjs/lib/ExecutionEnvironment":213,"fbjs/lib/camelizeStyleName":215,"fbjs/lib/hyphenateStyleName":226,"fbjs/lib/memoizeStringOnly":230,"fbjs/lib/warning":232}],99:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=e("./reactProdInvariant"),i=e("./PooledClass"),o=(e("fbjs/lib/invariant"),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length&&a("24"),this._callbacks=null,this._contexts=null;for(var r=0;r8));var N=!1;_.canUseDOM&&(N=P("input")&&(!document.documentMode||document.documentMode>9));var F={eventTypes:R,_allowSimulatedPassThrough:!0,_isInputEventSupported:N,extractEvents:function(e,t,n,i){var o,s,l=t?k.getNodeFromInstance(t):window;if(a(l)?A?o=u:s=d:D(l)?N?o=y:(o=g,s=m):v(l)&&(o=b),o){var c=o(e,t,n);if(c)return r(c,n,i)}s&&s(e,l,t),"topBlur"===e&&x(t,l)}};t.exports=F},{"./EventPluginHub":109,"./EventPropagators":112,"./ReactDOMComponentTree":126,"./ReactUpdates":163,"./SyntheticEvent":172,"./getEventTarget":194,"./inputValueTracking":200,"./isEventSupported":202,"./isTextInputElement":203,"fbjs/lib/ExecutionEnvironment":213}],101:[function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function a(e,t,n){c.insertTreeBefore(e,t,n)}function i(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):f(e,t,n)}function o(e,t){if(Array.isArray(t)){var n=t[1];l(e,t=t[0],n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var a=t;;){var i=a.nextSibling;if(f(e,a,r),a===n)break;a=i}}function l(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}var c=e("./DOMLazyTree"),u=e("./Danger"),d=(e("./ReactDOMComponentTree"),e("./ReactInstrumentation"),e("./createMicrosoftUnsafeLocalFunction")),h=e("./setInnerHTML"),p=e("./setTextContent"),f=d(function(e,t,n){e.insertBefore(t,n)}),m={dangerouslyReplaceNodeWithMarkup:u.dangerouslyReplaceNodeWithMarkup,replaceDelimitedText:function(e,t,n){var r=e.parentNode,a=e.nextSibling;a===t?n&&f(r,document.createTextNode(n),a):n?(p(a,n),l(r,a,t)):l(r,e,t)},processUpdates:function(e,t){for(var n=0;n-1||o("96",e),!c.plugins[n]){t.extractEvents||o("97",e),c.plugins[n]=t;var r=t.eventTypes;for(var i in r)a(r[i],t,i)||o("98",i,e)}}}function a(e,t,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&o("99",n),c.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var a in r)r.hasOwnProperty(a)&&i(r[a],t,n);return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){c.registrationNameModules[e]&&o("100",e),c.registrationNameModules[e]=t,c.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var o=e("./reactProdInvariant"),s=(e("fbjs/lib/invariant"),null),l={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s&&o("101"),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var a=e[n];l.hasOwnProperty(n)&&l[n]===a||(l[n]&&o("102",n),l[n]=a,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var a=c.registrationNameModules[n[r]];if(a)return a}}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var a in r)r.hasOwnProperty(a)&&delete r[a]}};t.exports=c},{"./reactProdInvariant":205,"fbjs/lib/invariant":227}],111:[function(e,t,n){"use strict";function r(e,t,n,r){var a=e.type||"unknown-event";e.currentTarget=c.getNodeFromInstance(r),t?l.invokeGuardedCallbackWithCatch(a,n,e):l.invokeGuardedCallback(a,n,e),e.currentTarget=null}function a(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r1?1-t:void 0;return this._fallbackText=a.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),t.exports=r},{"./PooledClass":117,"./getTextContentAccessor":198,"object-assign":233}],114:[function(e,t,n){"use strict";var r=e("./DOMProperty"),a=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,o=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,l=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:a|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,controlsList:0,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:l,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:a|i,muted:a|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:o,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:a|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:o,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}};t.exports=c},{"./DOMProperty":104}],115:[function(e,t,n){"use strict";var r={escape:function(e){var t=/[=:]/g,n={"=":"=0",":":"=2"};return"$"+(""+e).replace(t,function(e){return n[e]})},unescape:function(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1))).replace(t,function(e){return n[e]})}};t.exports=r},{}],116:[function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink&&s("87")}function a(e){r(e),(null!=e.value||null!=e.onChange)&&s("88")}function i(e){r(e),(null!=e.checked||null!=e.onChange)&&s("89")}function o(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=e("./reactProdInvariant"),l=e("./ReactPropTypesSecret"),c=e("prop-types/factory")(e("react/lib/React").isValidElement),u=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),d={value:function(e,t,n){return!e[t]||u[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:c.func},h={},p={checkPropTypes:function(e,t,n){for(var r in d){if(d.hasOwnProperty(r))var a=d[r](t,r,e,"prop",null,l);a instanceof Error&&!(a.message in h)&&(h[a.message]=!0,o(n))}},getValue:function(e){return e.valueLink?(a(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(a(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};t.exports=p},{"./ReactPropTypesSecret":156,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"prop-types/factory":75,"react/lib/React":236}],117:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),a=(e("fbjs/lib/invariant"),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e){var t=this;e instanceof t||r("25"),e.destructor(),t.instancePool.length=0||null!=t.is}function m(e){var t=e.type;p(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=e("./reactProdInvariant"),v=e("object-assign"),b=e("./AutoFocusUtils"),y=e("./CSSPropertyOperations"),x=e("./DOMLazyTree"),C=e("./DOMNamespaces"),w=e("./DOMProperty"),_=e("./DOMPropertyOperations"),k=e("./EventPluginHub"),E=e("./EventPluginRegistry"),S=e("./ReactBrowserEventEmitter"),M=e("./ReactDOMComponentFlags"),T=e("./ReactDOMComponentTree"),P=e("./ReactDOMInput"),D=e("./ReactDOMOption"),R=e("./ReactDOMSelect"),O=e("./ReactDOMTextarea"),I=(e("./ReactInstrumentation"),e("./ReactMultiChild")),A=e("./ReactServerRenderingTransaction"),N=(e("fbjs/lib/emptyFunction"),e("./escapeTextContentForBrowser")),F=(e("fbjs/lib/invariant"),e("./isEventSupported"),e("fbjs/lib/shallowEqual"),e("./inputValueTracking")),j=(e("./validateDOMNesting"),e("fbjs/lib/warning"),M),L=k.deleteListener,V=T.getNodeFromInstance,U=S.listenTo,W=E.registrationNameModules,B={string:!0,number:!0},H="__html",z={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},Y=11,q={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},G={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},K={listing:!0,pre:!0,textarea:!0},Z=v({menuitem:!0},G),Q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},J={}.hasOwnProperty,$=1;m.displayName="ReactDOMComponent",m.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=$++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(d,this);break;case"input":P.mountWrapper(this,i,t),i=P.getHostProps(this,i),e.getReactMountReady().enqueue(u,this),e.getReactMountReady().enqueue(d,this);break;case"option":D.mountWrapper(this,i,t),i=D.getHostProps(this,i);break;case"select":R.mountWrapper(this,i,t),i=R.getHostProps(this,i),e.getReactMountReady().enqueue(d,this);break;case"textarea":O.mountWrapper(this,i,t),i=O.getHostProps(this,i),e.getReactMountReady().enqueue(u,this),e.getReactMountReady().enqueue(d,this)}a(this,i);var o,h;null!=t?(o=t._namespaceURI,h=t._tag):n._tag&&(o=n._namespaceURI,h=n._tag),(null==o||o===C.svg&&"foreignobject"===h)&&(o=C.html),o===C.html&&("svg"===this._tag?o=C.svg:"math"===this._tag&&(o=C.mathml)),this._namespaceURI=o;var p;if(e.useCreateElement){var f,m=n._ownerDocument;if(o===C.html)if("script"===this._tag){var g=m.createElement("div"),v=this._currentElement.type;g.innerHTML="<"+v+">",f=g.removeChild(g.firstChild)}else f=i.is?m.createElement(this._currentElement.type,i.is):m.createElement(this._currentElement.type);else f=m.createElementNS(o,this._currentElement.type);T.precacheNode(this,f),this._flags|=j.hasCachedChildNodes,this._hostParent||_.setAttributeForRoot(f),this._updateDOMProperties(null,i,e);var y=x(f);this._createInitialChildren(e,i,r,y),p=y}else{var w=this._createOpenTagMarkupAndPutListeners(e,i),k=this._createContentMarkup(e,i,r);p=!k&&G[this._tag]?w+"/>":w+">"+k+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(l,this),i.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"select":case"button":i.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(c,this)}return p},_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(W.hasOwnProperty(r))a&&i(this,r,a,e);else{"style"===r&&(a&&(a=this._previousStyleCopy=v({},t.style)),a=y.createMarkupForStyles(a,this));var o=null;null!=this._tag&&f(this._tag,t)?z.hasOwnProperty(r)||(o=_.createMarkupForCustomAttribute(r,a)):o=_.createMarkupForProperty(r,a),o&&(n+=" "+o)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+_.createMarkupForRoot()),n+=" "+_.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",a=t.dangerouslySetInnerHTML;if(null!=a)null!=a.__html&&(r=a.__html);else{var i=B[typeof t.children]?t.children:null,o=null!=i?null:t.children;null!=i?r=N(i):null!=o&&(r=this.mountChildren(o,e,n).join(""))}return K[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&&x.queueHTML(r,a.__html);else{var i=B[typeof t.children]?t.children:null,o=null!=i?null:t.children;if(null!=i)""!==i&&x.queueText(r,i);else if(null!=o)for(var s=this.mountChildren(o,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[o()].length,a=Math.min(t.start,r),s=void 0===t.end?a:Math.min(t.end,r);if(!n.extend&&a>s){var l=s;s=a,a=l}var c=i(e,a),u=i(e,s);if(c&&u){var d=document.createRange();d.setStart(c.node,c.offset),n.removeAllRanges(),a>s?(n.addRange(d),n.extend(u.node,u.offset)):(d.setEnd(u.node,u.offset),n.addRange(d))}}}};t.exports=l},{"./getNodeForCharacterOffset":197,"./getTextContentAccessor":198,"fbjs/lib/ExecutionEnvironment":213}],135:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),a=e("object-assign"),i=e("./DOMChildrenOperations"),o=e("./DOMLazyTree"),s=e("./ReactDOMComponentTree"),l=e("./escapeTextContentForBrowser"),c=(e("fbjs/lib/invariant"),e("./validateDOMNesting"),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});a(c.prototype,{mountComponent:function(e,t,n,r){var a=n._idCounter++,i=" react-text: "+a+" ";if(this._domID=a,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,u=c.createComment(i),d=c.createComment(" /react-text "),h=o(c.createDocumentFragment());return o.queueChild(h,o(u)),this._stringText&&o.queueChild(h,o(c.createTextNode(this._stringText))),o.queueChild(h,o(d)),s.precacheNode(this,u),this._closingComment=d,h}var p=l(this._stringText);return e.renderToStaticMarkup?p:"\x3c!--"+i+"--\x3e"+p+"\x3c!-- /react-text --\x3e"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this).nextSibling;;){if(null==t&&r("67",this._domID),8===t.nodeType&&" /react-text "===t.nodeValue){this._closingComment=t;break}t=t.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=c},{"./DOMChildrenOperations":101,"./DOMLazyTree":102,"./ReactDOMComponentTree":126,"./escapeTextContentForBrowser":187,"./reactProdInvariant":205,"./validateDOMNesting":211,"fbjs/lib/invariant":227,"object-assign":233}],136:[function(e,t,n){"use strict";function r(){this._rootNodeID&&u.updateWrapper(this)}function a(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return c.asap(r,this),n}var i=e("./reactProdInvariant"),o=e("object-assign"),s=e("./LinkedValueUtils"),l=e("./ReactDOMComponentTree"),c=e("./ReactUpdates"),u=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{getHostProps:function(e,t){return null!=t.dangerouslySetInnerHTML&&i("91"),o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){var n=s.getValue(t),r=n;if(null==n){var o=t.defaultValue,l=t.children;null!=l&&(null!=o&&i("92"),Array.isArray(l)&&(l.length<=1||i("93"),l=l[0]),o=""+l),null==o&&(o=""),r=o}e._wrapperState={initialValue:""+r,listeners:null,onChange:a.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=l.getNodeFromInstance(e),r=s.getValue(t);if(null!=r){var a=""+r;a!==n.value&&(n.value=a),null==t.defaultValue&&(n.defaultValue=a)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=l.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});t.exports=u},{"./LinkedValueUtils":116,"./ReactDOMComponentTree":126,"./ReactUpdates":163,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"object-assign":233}],137:[function(e,t,n){"use strict";function r(e,t){"_hostNode"in e||a("33"),"_hostNode"in t||a("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var i=0,o=t;o;o=o._hostParent)i++;for(;n-i>0;)e=e._hostParent,n--;for(;i-n>0;)t=t._hostParent,i--;for(var s=n;s--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}var a=e("./reactProdInvariant");e("fbjs/lib/invariant");t.exports={isAncestor:function(e,t){"_hostNode"in e||a("35"),"_hostNode"in t||a("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1},getLowestCommonAncestor:r,getParentInstance:function(e){return"_hostNode"in e||a("36"),e._hostParent},traverseTwoPhase:function(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var a;for(a=r.length;a-- >0;)t(r[a],"captured",n);for(a=0;a0;)n(l[c],"captured",i)}}},{"./reactProdInvariant":205,"fbjs/lib/invariant":227}],138:[function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var a=e("object-assign"),i=e("./ReactUpdates"),o=e("./Transaction"),s=e("fbjs/lib/emptyFunction"),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},c=[{initialize:s,close:i.flushBatchedUpdates.bind(i)},l];a(r.prototype,o,{getTransactionWrappers:function(){return c}});var u=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,a,i){var o=d.isBatchingUpdates;return d.isBatchingUpdates=!0,o?e(t,n,r,a,i):u.perform(e,null,t,n,r,a,i)}};t.exports=d},{"./ReactUpdates":163,"./Transaction":181,"fbjs/lib/emptyFunction":219,"object-assign":233}],139:[function(e,t,n){"use strict";var r=e("./ARIADOMPropertyConfig"),a=e("./BeforeInputEventPlugin"),i=e("./ChangeEventPlugin"),o=e("./DefaultEventPluginOrder"),s=e("./EnterLeaveEventPlugin"),l=e("./HTMLDOMPropertyConfig"),c=e("./ReactComponentBrowserEnvironment"),u=e("./ReactDOMComponent"),d=e("./ReactDOMComponentTree"),h=e("./ReactDOMEmptyComponent"),p=e("./ReactDOMTreeTraversal"),f=e("./ReactDOMTextComponent"),m=e("./ReactDefaultBatchingStrategy"),g=e("./ReactEventListener"),v=e("./ReactInjection"),b=e("./ReactReconcileTransaction"),y=e("./SVGDOMPropertyConfig"),x=e("./SelectEventPlugin"),C=e("./SimpleEventPlugin"),w=!1;t.exports={inject:function(){w||(w=!0,v.EventEmitter.injectReactEventListener(g),v.EventPluginHub.injectEventPluginOrder(o),v.EventPluginUtils.injectComponentTree(d),v.EventPluginUtils.injectTreeTraversal(p),v.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:C,EnterLeaveEventPlugin:s,ChangeEventPlugin:i,SelectEventPlugin:x,BeforeInputEventPlugin:a}),v.HostComponent.injectGenericComponentClass(u),v.HostComponent.injectTextComponentClass(f),v.DOMProperty.injectDOMPropertyConfig(r),v.DOMProperty.injectDOMPropertyConfig(l),v.DOMProperty.injectDOMPropertyConfig(y),v.EmptyComponent.injectEmptyComponentFactory(function(e){return new h(e)}),v.Updates.injectReconcileTransaction(b),v.Updates.injectBatchingStrategy(m),v.Component.injectEnvironment(c))}}},{"./ARIADOMPropertyConfig":94,"./BeforeInputEventPlugin":96,"./ChangeEventPlugin":100,"./DefaultEventPluginOrder":107,"./EnterLeaveEventPlugin":108,"./HTMLDOMPropertyConfig":114,"./ReactComponentBrowserEnvironment":120,"./ReactDOMComponent":124,"./ReactDOMComponentTree":126,"./ReactDOMEmptyComponent":128,"./ReactDOMTextComponent":135,"./ReactDOMTreeTraversal":137,"./ReactDefaultBatchingStrategy":138,"./ReactEventListener":144,"./ReactInjection":147,"./ReactReconcileTransaction":157,"./SVGDOMPropertyConfig":165,"./SelectEventPlugin":166,"./SimpleEventPlugin":167}],140:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},{}],141:[function(e,t,n){"use strict";var r,a={injectEmptyComponentFactory:function(e){r=e}},i={create:function(e){return r(e)}};i.injection=a,t.exports=i},{}],142:[function(e,t,n){"use strict";function r(e,t,n){try{t(n)}catch(e){null===a&&(a=e)}}var a=null,i={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(a){var e=a;throw a=null,e}}};t.exports=i},{}],143:[function(e,t,n){"use strict";function r(e){a.enqueueEvents(e),a.processEventQueue(!1)}var a=e("./EventPluginHub"),i={handleTopLevel:function(e,t,n,i){r(a.extractEvents(e,t,n,i))}};t.exports=i},{"./EventPluginHub":109}],144:[function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=d.getNodeFromInstance(e).parentNode;return d.getClosestInstanceFromNode(t)}function a(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function i(e){var t=p(e.nativeEvent),n=d.getClosestInstanceFromNode(t),a=n;do{e.ancestors.push(a),a=a&&r(a)}while(a);for(var i=0;i/,i=/^<\!\-\-/,o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(a," "+o.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(o.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};t.exports=o},{"./adler32":184}],152:[function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r.":"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 o,s=g.createElement(L,{child:t});if(e){var l=w.get(e);o=l._processChildContext(l._context)}else o=M;var u=h(n);if(u){var d=u._currentElement.props.child;if(D(d,t)){var f=u._renderedComponent.getPublicInstance(),m=r&&function(){r.call(f)};return V._updateRootComponent(u,s,o,n,m),f}V.unmountComponentAtNode(n)}var v=a(n),b=v&&!!i(v),y=c(n),x=b&&!u&&!y,C=V._renderNewRootComponent(s,n,x,o)._renderedComponent.getPublicInstance();return r&&r.call(C),C},render:function(e,t,n){return V._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){u(e)||p("40");var t=h(e);return t?(delete F[t._instance.rootID],S.batchedUpdates(l,t,e,!1),!0):(c(e),1===e.nodeType&&e.hasAttribute(O),!1)},_mountImageIntoNode:function(e,t,n,i,o){if(u(t)||p("41"),i){var s=a(t);if(_.canReuseMarkup(e,s))return void b.precacheNode(n,s);var l=s.getAttribute(_.CHECKSUM_ATTR_NAME);s.removeAttribute(_.CHECKSUM_ATTR_NAME);var c=s.outerHTML;s.setAttribute(_.CHECKSUM_ATTR_NAME,l);var d=e,h=r(d,c),m=" (client) "+d.substring(h-20,h+20)+"\n (server) "+c.substring(h-20,h+20);t.nodeType===A&&p("42",m)}if(t.nodeType===A&&p("43"),o.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);f.insertTreeBefore(t,e,null)}else P(t,e),b.precacheNode(n,t.firstChild)}};t.exports=V},{"./DOMLazyTree":102,"./DOMProperty":104,"./ReactBrowserEventEmitter":118,"./ReactDOMComponentTree":126,"./ReactDOMContainerInfo":127,"./ReactDOMFeatureFlags":129,"./ReactFeatureFlags":145,"./ReactInstanceMap":149,"./ReactInstrumentation":150,"./ReactMarkupChecksum":151,"./ReactReconciler":158,"./ReactUpdateQueue":162,"./ReactUpdates":163,"./instantiateReactComponent":201,"./reactProdInvariant":205,"./setInnerHTML":207,"./shouldUpdateReactComponent":209,"fbjs/lib/emptyObject":220,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"react/lib/React":236,"react/lib/ReactCurrentOwner":239}],153:[function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function a(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:h.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function o(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function l(e,t){return t&&(e=e||[]).push(t),e}function c(e,t){d.processChildrenUpdates(e,t)}var u=e("./reactProdInvariant"),d=e("./ReactComponentEnvironment"),h=(e("./ReactInstanceMap"),e("./ReactInstrumentation"),e("react/lib/ReactCurrentOwner"),e("./ReactReconciler")),p=e("./ReactChildReconciler"),f=(e("fbjs/lib/emptyFunction"),e("./flattenChildren")),m=(e("fbjs/lib/invariant"),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return p.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,a,i){var o;return o=f(t,0),p.updateChildren(e,o,n,r,a,this,this._hostContainerInfo,i,0),o},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var a=[],i=0;for(var o in r)if(r.hasOwnProperty(o)){var s=r[o],l=h.mountComponent(s,t,this,this._hostContainerInfo,n,0);s._mountIndex=i++,a.push(l)}return a},updateTextContent:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&u("118");c(this,[s(e)])},updateMarkup:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&u("118");c(this,[o(e)])},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,a={},i=[],o=this._reconcilerUpdateChildren(r,e,i,a,t,n);if(o||r){var s,u=null,d=0,p=0,f=0,m=null;for(s in o)if(o.hasOwnProperty(s)){var g=r&&r[s],v=o[s];g===v?(u=l(u,this.moveChild(g,m,d,p)),p=Math.max(g._mountIndex,p),g._mountIndex=d):(g&&(p=Math.max(g._mountIndex,p)),u=l(u,this._mountChildAtIndex(v,i[f],m,d,t,n)),f++),d++,m=h.getHostNode(v)}for(s in a)a.hasOwnProperty(s)&&(u=l(u,this._unmountChild(r[s],a[s])));u&&c(this,u),this._renderedChildren=o}},unmountChildren:function(e){var t=this._renderedChildren;p.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);return n||null}var o=e("./reactProdInvariant"),s=(e("react/lib/ReactCurrentOwner"),e("./ReactInstanceMap")),l=(e("./ReactInstrumentation"),e("./ReactUpdates")),c=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){c.validateCallback(t,n);var a=i(e);if(!a)return null;a._pendingCallbacks?a._pendingCallbacks.push(t):a._pendingCallbacks=[t],r(a)},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e);t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var a=i(e);a&&(a._pendingStateQueue=[t],a._pendingReplaceState=!0,void 0!==n&&null!==n&&(c.validateCallback(n,"replaceState"),a._pendingCallbacks?a._pendingCallbacks.push(n):a._pendingCallbacks=[n]),r(a))},enqueueSetState:function(e,t){var n=i(e);n&&((n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n))},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&o("122",t,a(e))}});t.exports=c},{"./ReactInstanceMap":149,"./ReactInstrumentation":150,"./ReactUpdates":163,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"react/lib/ReactCurrentOwner":239}],163:[function(e,t,n){"use strict";function r(){_.ReactReconcileTransaction&&x||l("123")}function a(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=u.getPooled(),this.reconcileTransaction=_.ReactReconcileTransaction.getPooled(!0)}function i(e,t){return e._mountOrder-t._mountOrder}function o(e){var t=e.dirtyComponentsLength;t!==g.length&&l("124",t,g.length),g.sort(i),v++;for(var n=0;n]/;t.exports=function(e){return"boolean"==typeof e||"number"==typeof e?""+e:r(e)}},{}],188:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),a=(e("react/lib/ReactCurrentOwner"),e("./ReactDOMComponentTree")),i=e("./ReactInstanceMap"),o=e("./getHostComponentFromComposite");e("fbjs/lib/invariant"),e("fbjs/lib/warning");t.exports=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=i.get(e);if(t)return(t=o(t))?a.getNodeFromInstance(t):null;"function"==typeof e.render?r("44"):r("45",Object.keys(e))}},{"./ReactDOMComponentTree":126,"./ReactInstanceMap":149,"./getHostComponentFromComposite":195,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"react/lib/ReactCurrentOwner":239}],189:[function(e,t,n){(function(n){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var a=e;void 0===a[n]&&null!=t&&(a[n]=t)}}e("./KeyEscapeUtils");var a=e("./traverseAllChildren");e("fbjs/lib/warning");void 0!==n&&n.env,t.exports=function(e,t){if(null==e)return e;var n={};return a(e,r,n),n}}).call(this,e("_process"))},{"./KeyEscapeUtils":115,"./traverseAllChildren":210,_process:73,"fbjs/lib/warning":232}],190:[function(e,t,n){"use strict";t.exports=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}},{}],191:[function(e,t,n){"use strict";t.exports=function(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}},{}],192:[function(e,t,n){"use strict";var r=e("./getEventCharCode"),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=function(e){if(e.key){var t=a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=r(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}},{"./getEventCharCode":191}],193:[function(e,t,n){"use strict";function r(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=a[e];return!!n&&!!t[n]}var a={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=function(e){return r}},{}],194:[function(e,t,n){"use strict";t.exports=function(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}},{}],195:[function(e,t,n){"use strict";var r=e("./ReactNodeTypes");t.exports=function(e){for(var t;(t=e._renderedNodeType)===r.COMPOSITE;)e=e._renderedComponent;return t===r.HOST?e._renderedComponent:t===r.EMPTY?null:void 0}},{"./ReactNodeTypes":154}],196:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.iterator,a="@@iterator";t.exports=function(e){var t=e&&(r&&e[r]||e[a]);if("function"==typeof t)return t}},{}],197:[function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function a(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}t.exports=function(e,t){for(var n=r(e),i=0,o=0;n;){if(3===n.nodeType){if(o=i+n.textContent.length,i<=t&&o>=t)return{node:n,offset:t-i};i=o}n=r(a(n))}}},{}],198:[function(e,t,n){"use strict";var r=e("fbjs/lib/ExecutionEnvironment"),a=null;t.exports=function(){return!a&&r.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}},{"fbjs/lib/ExecutionEnvironment":213}],199:[function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}var a=e("fbjs/lib/ExecutionEnvironment"),i={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},o={},s={};a.canUseDOM&&(s=document.createElement("div").style,"AnimationEvent"in window||(delete i.animationend.animation,delete i.animationiteration.animation,delete i.animationstart.animation),"TransitionEvent"in window||delete i.transitionend.transition),t.exports=function(e){if(o[e])return o[e];if(!i[e])return e;var t=i[e];for(var n in t)if(t.hasOwnProperty(n)&&n in s)return o[e]=t[n];return""}},{"fbjs/lib/ExecutionEnvironment":213}],200:[function(e,t,n){"use strict";function r(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function a(e){return e._wrapperState.valueTracker}function i(e,t){e._wrapperState.valueTracker=t}function o(e){e._wrapperState.valueTracker=null}function s(e){var t;return e&&(t=r(e)?""+e.checked:e.value),t}var l=e("./ReactDOMComponentTree"),c={_getTrackerFromNode:function(e){return a(l.getInstanceFromNode(e))},track:function(e){if(!a(e)){var t=l.getNodeFromInstance(e),n=r(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),c=""+t[n];t.hasOwnProperty(n)||"function"!=typeof s.get||"function"!=typeof s.set||(Object.defineProperty(t,n,{enumerable:s.enumerable,configurable:!0,get:function(){return s.get.call(this)},set:function(e){c=""+e,s.set.call(this,e)}}),i(e,{getValue:function(){return c},setValue:function(e){c=""+e},stopTracking:function(){o(e),delete t[n]}}))}},updateValueIfChanged:function(e){if(!e)return!1;var t=a(e);if(!t)return c.track(e),!0;var n=t.getValue(),r=s(l.getNodeFromInstance(e));return r!==n&&(t.setValue(r),!0)},stopTracking:function(e){var t=a(e);t&&t.stopTracking()}};t.exports=c},{"./ReactDOMComponentTree":126}],201:[function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function a(e){return"function"==typeof e&&void 0!==e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||!1===e)n=c.create(i);else if("object"==typeof e){var s=e,l=s.type;if("function"!=typeof l&&"string"!=typeof l){var h="";h+=r(s._owner),o("130",null==l?l:typeof l,h)}"string"==typeof s.type?n=u.createInternalComponent(s):a(s.type)?(n=new s.type(s)).getHostNode||(n.getHostNode=n.getNativeNode):n=new d(s)}else"string"==typeof e||"number"==typeof e?n=u.createInstanceForText(e):o("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var o=e("./reactProdInvariant"),s=e("object-assign"),l=e("./ReactCompositeComponent"),c=e("./ReactEmptyComponent"),u=e("./ReactHostComponent"),d=(e("react/lib/getNextDebugID"),e("fbjs/lib/invariant"),e("fbjs/lib/warning"),function(e){this.construct(e)});s(d.prototype,l,{_instantiateReactComponent:i}),t.exports=i},{"./ReactCompositeComponent":122,"./ReactEmptyComponent":141,"./ReactHostComponent":146,"./reactProdInvariant":205,"fbjs/lib/invariant":227,"fbjs/lib/warning":232,"object-assign":233,"react/lib/getNextDebugID":249}],202:[function(e,t,n){"use strict";var r,a=e("fbjs/lib/ExecutionEnvironment");a.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=function(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var o=document.createElement("div");o.setAttribute(n,"return;"),i="function"==typeof o[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},{"fbjs/lib/ExecutionEnvironment":213}],203:[function(e,t,n){"use strict";var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}},{}],204:[function(e,t,n){"use strict";var r=e("./escapeTextContentForBrowser");t.exports=function(e){return'"'+r(e)+'"'}},{"./escapeTextContentForBrowser":187}],205:[function(e,t,n){"use strict";t.exports=function(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r]/,l=e("./createMicrosoftUnsafeLocalFunction")(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{(r=r||document.createElement("div")).innerHTML=""+t+"";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),o.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":103,"./createMicrosoftUnsafeLocalFunction":185,"fbjs/lib/ExecutionEnvironment":213}],208:[function(e,t,n){"use strict";var r=e("fbjs/lib/ExecutionEnvironment"),a=e("./escapeTextContentForBrowser"),i=e("./setInnerHTML"),o=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||(o=function(e,t){3!==e.nodeType?i(e,a(t)):e.nodeValue=t})),t.exports=o},{"./escapeTextContentForBrowser":187,"./setInnerHTML":207,"fbjs/lib/ExecutionEnvironment":213}],209:[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,i=typeof t;return"string"===a||"number"===a?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}},{}],210:[function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function a(e,t,n,d){var h=typeof e;if("undefined"!==h&&"boolean"!==h||(e=null),null===e||"string"===h||"number"===h||"object"===h&&e.$$typeof===o)return n(d,e,""===t?c+r(e,0):t),1;var p,f=0,m=""===t?c:t+u;if(Array.isArray(e))for(var g=0;g',""],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,o[e]=!0}),t.exports=function(e){return i||a(!1),d.hasOwnProperty(e)||(e="*"),o.hasOwnProperty(e)||(i.innerHTML="*"===e?"":"<"+e+">",o[e]=!i.firstChild),o[e]?d[e]:null}},{"./ExecutionEnvironment":213,"./invariant":227}],224:[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}}},{}],225:[function(e,t,n){"use strict";var r=/([A-Z])/g;t.exports=function(e){return e.replace(r,"-$1").toLowerCase()}},{}],226:[function(e,t,n){"use strict";var r=e("./hyphenate"),a=/^ms-/;t.exports=function(e){return r(e).replace(a,"-ms-")}},{"./hyphenate":225}],227:[function(e,t,n){"use strict";var r=function(e){};t.exports=function(e,t,n,a,i,o,s,l){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,a,i,o,s,l],d=0;(c=new Error(t.replace(/%s/g,function(){return u[d++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},{}],228:[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))}},{}],229:[function(e,t,n){"use strict";var r=e("./isNode");t.exports=function(e){return r(e)&&3==e.nodeType}},{"./isNode":228}],230:[function(e,t,n){"use strict";t.exports=function(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}},{}],231:[function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}var a=Object.prototype.hasOwnProperty;t.exports=function(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=0;o1){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]); \ No newline at end of file +!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+">",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",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+""}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=""+t+"";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