Newer
Older
// Code generated by go-bindata. DO NOT EDIT.
// sources:
// assets/index.html
// assets/bundle.js
package dashboard
import (
"crypto/sha256"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strings"
"time"
)
type asset struct {
bytes []byte
info os.FileInfo
digest [sha256.Size]byte
}
type bindataFileInfo struct {
name string
size int64
mode os.FileMode
modTime time.Time
}
func (fi bindataFileInfo) Name() string {
return fi.name
}
func (fi bindataFileInfo) Size() int64 {
return fi.size
}
func (fi bindataFileInfo) Mode() os.FileMode {
return fi.mode
}
func (fi bindataFileInfo) ModTime() time.Time {
return fi.modTime
}
func (fi bindataFileInfo) IsDir() bool {
return false
}
func (fi bindataFileInfo) Sys() interface{} {
return nil
}
var _indexHtml = []byte(`<!DOCTYPE html>
<html lang="en" style="height: 100%">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Go Ethereum Dashboard</title>
<link rel="shortcut icon" type="image/ico" href="https://ethereum.org/favicon.ico" />
<style>
::-webkit-scrollbar {
width: 16px;
}
::-webkit-scrollbar-thumb {
background: #212121;
}
::-webkit-scrollbar-corner {
background: transparent;
}
</style>
</head>
<body style="height: 100%; margin: 0">
<div id="dashboard" style="height: 100%"></div>
<script type="text/javascript" src="bundle.js"></script>
</body>
</html>
`)
func indexHtmlBytes() ([]byte, error) {
return _indexHtml, nil
func indexHtml() (*asset, error) {
bytes, err := indexHtmlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "index.html", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6a, 0xe4, 0x19, 0xb4, 0xf4, 0x89, 0xd3, 0x51, 0xa8, 0xde, 0x87, 0x57, 0x96, 0x17, 0x3f, 0x43, 0xa6, 0xa0, 0x7a, 0x6f, 0xba, 0xeb, 0x27, 0xcf, 0x41, 0x28, 0x6e, 0x85, 0x91, 0xa6, 0x48, 0xcf}}
return a, nil
}
//nolint:misspell
var _bundleJs = []byte((((`!function(e) {
function n(r) {
if (t[r]) return t[r].exports;
var o = t[r] = {
i: r,
l: !1,
exports: {}
};
return e[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports;
n.m = e, n.c = t, n.d = function(e, t, r) {
n.o(e, t) || Object.defineProperty(e, t, {
}, n.r = function(e) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
value: "Module"
}), Object.defineProperty(e, "__esModule", {
}, n.t = function(e, t) {
if (1 & t && (e = n(e)), 8 & t) return e;
if (4 & t && "object" == typeof e && e && e.__esModule) return e;
var r = Object.create(null);
if (n.r(r), Object.defineProperty(r, "default", {
enumerable: !0,
value: e
}), 2 & t && "string" != typeof e) for (var o in e) n.d(r, o, function(t) {
}.bind(null, o));
return r;
}, n.n = function(e) {
var t = e && e.__esModule ? function() {
return e.default;
} : function() {
return e;
};
return n.d(t, "a", t), t;
}, n.o = function(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}, n.p = "", n(n.s = "./index.jsx");
}({
"./common.jsx": function(e, t, n) {
"use strict";
(function(e) {
n.d(t, "b", function() {
return d;
}), n.d(t, "a", function() {
return f;
}), n.d(t, "c", function() {
return p;
}), n.d(t, "g", function() {
return h;
}), n.d(t, "f", function() {
}), n.d(t, "e", function() {
return y;
}), n.d(t, "d", function() {
return b;
var r, o = n("./node_modules/@fortawesome/free-solid-svg-icons/index.es.js"), a = n("./node_modules/@fortawesome/free-regular-svg-icons/index.es.js");
function i(e) {
for (var t = 1; t < arguments.length; t++) {
var n = null != arguments[t] ? arguments[t] : {}, r = Object.keys(n);
"function" == typeof Object.getOwnPropertySymbols && (r = r.concat(Object.getOwnPropertySymbols(n).filter(function(e) {
return Object.getOwnPropertyDescriptor(n, e).enumerable;
}))), r.forEach(function(t) {
function s(e, t, n) {
return t in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
(r = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : n("./node_modules/react-hot-loader/index.js")).enterModule) && r(e);
var l, u, c = [ {
id: "home",
menu: {
title: "Home",
id: "chain",
menu: {
title: "Chain",
id: "txpool",
menu: {
title: "TxPool",
icon: a.b
id: "network",
menu: {
title: "Network",
id: "system",
menu: {
title: "System",
id: "logs",
menu: {
title: "Logs",
}
} ], d = new Map(c.map(function(e) {
var t = e.id;
return [ t, i({
id: t
}, e.menu) ];
})), f = 200, p = .2, h = {
light: {
color: "rgba(255, 255, 255, 0.54)"
}
}, _ = [ "", "Ki", "Mi", "Gi", "Ti", "Pi", "Ei", "Zi", "Yi" ], m = function(e) {
for (var t = 0; e > 1024 && t < 8; t++) e /= 1024;
return e.toFixed(2).toString().concat(" ", _[t], "B");
}, y = [ "#00FF00", "#FFFF00", "#FF7F00", "#FF0000" ], b = [ 0, 2048, 102400, 2097152 ];
(l = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : n("./node_modules/react-hot-loader/index.js")).default) && (l.register(c, "menuSkeletons", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/common.jsx"),
l.register(d, "MENU", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/common.jsx"),
l.register(f, "DURATION", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/common.jsx"),
l.register(p, "chartStrokeWidth", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/common.jsx"),
l.register(h, "styles", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/common.jsx"),
l.register(_, "unit", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/common.jsx"),
l.register(m, "simplifyBytes", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/common.jsx"),
l.register(y, "hues", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/common.jsx"),
l.register(b, "hueScale", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/common.jsx")),
(u = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : n("./node_modules/react-hot-loader/index.js")).leaveModule) && u(e);
}).call(this, n("./node_modules/webpack/buildin/harmony-module.js")(e));
},
"./components/Body.jsx": function(module, __webpack_exports__, __webpack_require__) {
"use strict";
(function(module) {
var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./node_modules/react/index.js"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), _SideBar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./components/SideBar.jsx"), _Main__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("./components/Main.jsx"), enterModule;
function _typeof(e) {
return (_typeof = "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;
})(e);
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
}
function _defineProperties(e, t) {
for (var n = 0; n < t.length; n++) {
var r = t[n];
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0),
Object.defineProperty(e, r.key, r);
}
}
function _createClass(e, t, n) {
return t && _defineProperties(e.prototype, t), n && _defineProperties(e, n), e;
}
function _possibleConstructorReturn(e, t) {
return !t || "object" !== _typeof(t) && "function" != typeof t ? _assertThisInitialized(e) : t;
}
function _assertThisInitialized(e) {
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return e;
}
function _getPrototypeOf(e) {
return (_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
return e.__proto__ || Object.getPrototypeOf(e);
})(e);
}
function _inherits(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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
}), t && _setPrototypeOf(e, t);
}
function _setPrototypeOf(e, t) {
return (_setPrototypeOf = Object.setPrototypeOf || function(e, t) {
return e.__proto__ = t, e;
})(e, t);
}
enterModule = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).enterModule,
enterModule && enterModule(module);
var styles = {
body: {
display: "flex",
width: "100%",
height: "92%"
}
}, Body = function(_Component) {
function Body() {
return _classCallCheck(this, Body), _possibleConstructorReturn(this, _getPrototypeOf(Body).apply(this, arguments));
}
return _inherits(Body, _Component), _createClass(Body, [ {
key: "render",
value: function() {
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
style: styles.body
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_SideBar__WEBPACK_IMPORTED_MODULE_1__.a, {
opened: this.props.opened,
changeContent: this.props.changeContent
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_Main__WEBPACK_IMPORTED_MODULE_2__.a, {
active: this.props.active,
content: this.props.content,
shouldUpdate: this.props.shouldUpdate,
send: this.props.send
}));
}
}, {
key: "__reactstandin__regenerateByEval",
value: function __reactstandin__regenerateByEval(key, code) {
this[key] = eval(code);
}
} ]), Body;
}(react__WEBPACK_IMPORTED_MODULE_0__.Component), _default = Body, reactHotLoader, leaveModule;
__webpack_exports__.a = _default, reactHotLoader = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).default,
reactHotLoader && (reactHotLoader.register(styles, "styles", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Body.jsx"),
reactHotLoader.register(Body, "Body", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Body.jsx"),
reactHotLoader.register(_default, "default", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Body.jsx")),
leaveModule = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).leaveModule,
leaveModule && leaveModule(module);
}).call(this, __webpack_require__("./node_modules/webpack/buildin/harmony-module.js")(module));
},
"./components/ChartRow.jsx": function(module, __webpack_exports__, __webpack_require__) {
"use strict";
(function(module) {
var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./node_modules/react/index.js"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./node_modules/@material-ui/core/Grid/index.js"), _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_1__), enterModule;
function _typeof(e) {
return (_typeof = "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;
})(e);
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
}
function _defineProperties(e, t) {
for (var n = 0; n < t.length; n++) {
var r = t[n];
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0),
Object.defineProperty(e, r.key, r);
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
}
}
function _createClass(e, t, n) {
return t && _defineProperties(e.prototype, t), n && _defineProperties(e, n), e;
}
function _possibleConstructorReturn(e, t) {
return !t || "object" !== _typeof(t) && "function" != typeof t ? _assertThisInitialized(e) : t;
}
function _assertThisInitialized(e) {
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return e;
}
function _getPrototypeOf(e) {
return (_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
return e.__proto__ || Object.getPrototypeOf(e);
})(e);
}
function _inherits(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 && _setPrototypeOf(e, t);
}
function _setPrototypeOf(e, t) {
return (_setPrototypeOf = Object.setPrototypeOf || function(e, t) {
return e.__proto__ = t, e;
})(e, t);
}
enterModule = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).enterModule,
enterModule && enterModule(module);
var styles = {
container: {
flexWrap: "nowrap",
height: "100%",
maxWidth: "100%",
margin: 0
},
item: {
flex: 1,
padding: 0
}
}, ChartRow = function(_Component) {
function ChartRow() {
return _classCallCheck(this, ChartRow), _possibleConstructorReturn(this, _getPrototypeOf(ChartRow).apply(this, arguments));
}
return _inherits(ChartRow, _Component), _createClass(ChartRow, [ {
key: "render",
value: function() {
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_1___default.a, {
container: !0,
direction: "row",
style: styles.container,
justify: "space-between"
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.Children.map(this.props.children, function(e) {
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_1___default.a, {
item: !0,
xs: !0,
style: styles.item
}, e);
}));
}
}, {
key: "__reactstandin__regenerateByEval",
value: function __reactstandin__regenerateByEval(key, code) {
this[key] = eval(code);
}
} ]), ChartRow;
}(react__WEBPACK_IMPORTED_MODULE_0__.Component), _default = ChartRow, reactHotLoader, leaveModule;
__webpack_exports__.a = _default, reactHotLoader = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).default,
reactHotLoader && (reactHotLoader.register(styles, "styles", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/ChartRow.jsx"),
reactHotLoader.register(ChartRow, "ChartRow", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/ChartRow.jsx"),
reactHotLoader.register(_default, "default", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/ChartRow.jsx")),
leaveModule = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).leaveModule,
leaveModule && leaveModule(module);
}).call(this, __webpack_require__("./node_modules/webpack/buildin/harmony-module.js")(module));
},
"./components/CustomTooltip.jsx": function(module, __webpack_exports__, __webpack_require__) {
"use strict";
(function(module) {
__webpack_require__.d(__webpack_exports__, "d", function() {
return multiplier;
}), __webpack_require__.d(__webpack_exports__, "e", function() {
return percentPlotter;
}), __webpack_require__.d(__webpack_exports__, "b", function() {
return bytePlotter;
}), __webpack_require__.d(__webpack_exports__, "a", function() {
return bytePerSecPlotter;
});
var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./node_modules/react/index.js"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), _material_ui_core_Typography__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./node_modules/@material-ui/core/Typography/index.js"), _material_ui_core_Typography__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(_material_ui_core_Typography__WEBPACK_IMPORTED_MODULE_1__), _common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("./common.jsx"), enterModule;
function _typeof(e) {
return (_typeof = "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;
})(e);
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
}
function _defineProperties(e, t) {
for (var n = 0; n < t.length; n++) {
var r = t[n];
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0),
Object.defineProperty(e, r.key, r);
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
}
}
function _createClass(e, t, n) {
return t && _defineProperties(e.prototype, t), n && _defineProperties(e, n), e;
}
function _possibleConstructorReturn(e, t) {
return !t || "object" !== _typeof(t) && "function" != typeof t ? _assertThisInitialized(e) : t;
}
function _assertThisInitialized(e) {
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return e;
}
function _getPrototypeOf(e) {
return (_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
return e.__proto__ || Object.getPrototypeOf(e);
})(e);
}
function _inherits(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 && _setPrototypeOf(e, t);
}
function _setPrototypeOf(e, t) {
return (_setPrototypeOf = Object.setPrototypeOf || function(e, t) {
return e.__proto__ = t, e;
})(e, t);
}
enterModule = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).enterModule,
enterModule && enterModule(module);
var multiplier = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1;
return function(t) {
return t * e;
};
}, percentPlotter = function(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : multiplier(1);
return function(n) {
var r = t(n);
return "number" != typeof r ? null : react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_Typography__WEBPACK_IMPORTED_MODULE_1___default.a, {
type: "caption",
color: "inherit"
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
style: _common__WEBPACK_IMPORTED_MODULE_2__.g.light
}, e), " ", r.toFixed(2), " %");
};
}, bytePlotter = function(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : multiplier(1);
return function(n) {
var r = t(n);
return "number" != typeof r ? null : react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_Typography__WEBPACK_IMPORTED_MODULE_1___default.a, {
type: "caption",
color: "inherit"
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
style: _common__WEBPACK_IMPORTED_MODULE_2__.g.light
}, e), " ", Object(_common__WEBPACK_IMPORTED_MODULE_2__.f)(r));
};
}, bytePerSecPlotter = function(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : multiplier(1);
return function(n) {
var r = t(n);
return "number" != typeof r ? null : react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_Typography__WEBPACK_IMPORTED_MODULE_1___default.a, {
type: "caption",
color: "inherit"
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
style: _common__WEBPACK_IMPORTED_MODULE_2__.g.light
}, e), Object(_common__WEBPACK_IMPORTED_MODULE_2__.f)(r), "/s");
};
}, CustomTooltip = function(_Component) {
function CustomTooltip() {
return _classCallCheck(this, CustomTooltip), _possibleConstructorReturn(this, _getPrototypeOf(CustomTooltip).apply(this, arguments));
}
return _inherits(CustomTooltip, _Component), _createClass(CustomTooltip, [ {
key: "render",
value: function() {
var e = this.props, t = e.active, n = e.payload, r = e.tooltip;
return !t || "function" != typeof r || !Array.isArray(n) || n.length < 1 ? null : r(n[0].value);
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
}
}, {
key: "__reactstandin__regenerateByEval",
value: function __reactstandin__regenerateByEval(key, code) {
this[key] = eval(code);
}
} ]), CustomTooltip;
}(react__WEBPACK_IMPORTED_MODULE_0__.Component), _default = CustomTooltip, reactHotLoader, leaveModule;
__webpack_exports__.c = _default, reactHotLoader = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).default,
reactHotLoader && (reactHotLoader.register(multiplier, "multiplier", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/CustomTooltip.jsx"),
reactHotLoader.register(percentPlotter, "percentPlotter", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/CustomTooltip.jsx"),
reactHotLoader.register(bytePlotter, "bytePlotter", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/CustomTooltip.jsx"),
reactHotLoader.register(bytePerSecPlotter, "bytePerSecPlotter", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/CustomTooltip.jsx"),
reactHotLoader.register(CustomTooltip, "CustomTooltip", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/CustomTooltip.jsx"),
reactHotLoader.register(_default, "default", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/CustomTooltip.jsx")),
leaveModule = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).leaveModule,
leaveModule && leaveModule(module);
}).call(this, __webpack_require__("./node_modules/webpack/buildin/harmony-module.js")(module));
},
"./components/Dashboard.jsx": function(module, __webpack_exports__, __webpack_require__) {
"use strict";
(function(module) {
var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./node_modules/react/index.js"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), react_hot_loader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./node_modules/react-hot-loader/index.js"), react_hot_loader__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(react_hot_loader__WEBPACK_IMPORTED_MODULE_1__), _material_ui_core_styles_withStyles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("./node_modules/@material-ui/core/styles/withStyles.js"), _material_ui_core_styles_withStyles__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(_material_ui_core_styles_withStyles__WEBPACK_IMPORTED_MODULE_2__), Header__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("./components/Header.jsx"), Body__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("./components/Body.jsx"), Logs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("./components/Logs.jsx"), Network__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("./components/Network.jsx"), _common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("./common.jsx"), enterModule;
function _typeof(e) {
return (_typeof = "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;
})(e);
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
}
function _defineProperties(e, t) {
for (var n = 0; n < t.length; n++) {
var r = t[n];
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0),
Object.defineProperty(e, r.key, r);
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
}
}
function _createClass(e, t, n) {
return t && _defineProperties(e.prototype, t), n && _defineProperties(e, n), e;
}
function _possibleConstructorReturn(e, t) {
return !t || "object" !== _typeof(t) && "function" != typeof t ? _assertThisInitialized(e) : t;
}
function _getPrototypeOf(e) {
return (_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
return e.__proto__ || Object.getPrototypeOf(e);
})(e);
}
function _assertThisInitialized(e) {
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return e;
}
function _inherits(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 && _setPrototypeOf(e, t);
}
function _setPrototypeOf(e, t) {
return (_setPrototypeOf = Object.setPrototypeOf || function(e, t) {
return e.__proto__ = t, e;
})(e, t);
}
function _defineProperty(e, t, n) {
return t in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
function _toConsumableArray(e) {
return _arrayWithoutHoles(e) || _iterableToArray(e) || _nonIterableSpread();
}
function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance");
}
function _iterableToArray(e) {
if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e);
}
function _arrayWithoutHoles(e) {
if (Array.isArray(e)) {
for (var t = 0, n = new Array(e.length); t < e.length; t++) n[t] = e[t];
return n;
}
}
enterModule = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).enterModule,
enterModule && enterModule(module);
var deepUpdate = function e(t, n, r) {
if (void 0 === n) return r;
if ("function" == typeof t) return t(n, r);
return Object.keys(r).forEach(function(a) {
o[a] = e(t[a], n[a], r[a]);
}, shouldUpdate = function e(t, n) {
var r = {};
return Object.keys(n).forEach(function(o) {
r[o] = "function" == typeof t[o] || e(t[o], n[o]);
}), r;
}, replacer = function(e) {
return e;
}, appender = function(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : replacer;
return function(n, r) {
return [].concat(_toConsumableArray(r), _toConsumableArray(n.map(function(e) {
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
return t(e);
}))).slice(-e);
};
}, defaultContent = function() {
return {
general: {
version: null,
commit: null
},
home: {},
chain: {},
txpool: {},
network: {
peers: {
bundles: {}
},
diff: []
},
system: {
activeMemory: [],
virtualMemory: [],
networkIngress: [],
networkEgress: [],
processCPU: [],
systemCPU: [],
diskRead: [],
diskWrite: []
},
logs: {
chunks: [],
endTop: !1,
endBottom: !0,
topChanged: Logs__WEBPACK_IMPORTED_MODULE_5__.a,
bottomChanged: Logs__WEBPACK_IMPORTED_MODULE_5__.a
}
};
}, updaters = {
general: {
version: replacer,
commit: replacer
},
home: null,
chain: null,
txpool: null,
network: Object(Network__WEBPACK_IMPORTED_MODULE_6__.b)(200),
system: {
activeMemory: appender(200),
virtualMemory: appender(200),
networkIngress: appender(200),
networkEgress: appender(200),
processCPU: appender(200),
systemCPU: appender(200),
diskRead: appender(200),
diskWrite: appender(200)
},
logs: Object(Logs__WEBPACK_IMPORTED_MODULE_5__.c)(5)
}, styles = {
dashboard: {
display: "flex",
flexFlow: "column",
width: "100%",
height: "100%",
zIndex: 1,
overflow: "hidden"
}, themeStyles = function(e) {
return {
dashboard: {
background: e.palette.background.default
}
};
}, Dashboard = function(_Component) {
function Dashboard(e) {
var t;
return _classCallCheck(this, Dashboard), _defineProperty(_assertThisInitialized(t = _possibleConstructorReturn(this, _getPrototypeOf(Dashboard).call(this, e))), "reconnect", function() {
var e = window.location.host, n = new WebSocket("".concat("https:" === window.location.protocol ? "wss://" : "ws://").concat(e, "/api"));
n.onopen = function() {
t.setState({
content: defaultContent(),
shouldUpdate: {},
server: n
}, n.onmessage = function(e) {
var n = JSON.parse(e.data);
n ? t.update(n) : console.error("Incoming message is ".concat(n));
}, n.onclose = function() {
t.setState({
server: null
}), setTimeout(t.reconnect, 3e3);
};
}), _defineProperty(_assertThisInitialized(t), "send", function(e) {
null != t.state.server && t.state.server.send(e);
}), _defineProperty(_assertThisInitialized(t), "update", function(e) {
t.setState(function(t) {
content: deepUpdate(updaters, e, t.content),
shouldUpdate: shouldUpdate(updaters, e)
});
}), _defineProperty(_assertThisInitialized(t), "changeContent", function(e) {
t.setState(function(t) {
return t.active !== e ? {
active: e
} : {};
});
}), _defineProperty(_assertThisInitialized(t), "switchSideBar", function() {
t.setState(function(e) {
return {
sideBar: !e.sideBar
};
});
}), t.state = {
active: _common__WEBPACK_IMPORTED_MODULE_7__.b.get("home").id,
sideBar: !0,
content: defaultContent(),
shouldUpdate: {},
server: null
}, t;
return _inherits(Dashboard, _Component), _createClass(Dashboard, [ {
key: "componentDidMount",
value: function() {
this.reconnect();
}
}, {
key: "render",
value: function() {
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
className: this.props.classes.dashboard,
style: styles.dashboard
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Header__WEBPACK_IMPORTED_MODULE_3__.a, {
switchSideBar: this.switchSideBar
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Body__WEBPACK_IMPORTED_MODULE_4__.a, {
opened: this.state.sideBar,
changeContent: this.changeContent,
active: this.state.active,
content: this.state.content,
shouldUpdate: this.state.shouldUpdate,
send: this.send
}));
}, {
key: "__reactstandin__regenerateByEval",
value: function __reactstandin__regenerateByEval(key, code) {
this[key] = eval(code);
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
} ]), Dashboard;
}(react__WEBPACK_IMPORTED_MODULE_0__.Component), _default = Object(react_hot_loader__WEBPACK_IMPORTED_MODULE_1__.hot)(module)(_material_ui_core_styles_withStyles__WEBPACK_IMPORTED_MODULE_2___default()(themeStyles)(Dashboard)), reactHotLoader, leaveModule;
__webpack_exports__.a = _default, reactHotLoader = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).default,
reactHotLoader && (reactHotLoader.register(deepUpdate, "deepUpdate", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Dashboard.jsx"),
reactHotLoader.register(shouldUpdate, "shouldUpdate", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Dashboard.jsx"),
reactHotLoader.register(replacer, "replacer", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Dashboard.jsx"),
reactHotLoader.register(appender, "appender", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Dashboard.jsx"),
reactHotLoader.register(defaultContent, "defaultContent", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Dashboard.jsx"),
reactHotLoader.register(updaters, "updaters", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Dashboard.jsx"),
reactHotLoader.register(styles, "styles", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Dashboard.jsx"),
reactHotLoader.register(themeStyles, "themeStyles", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Dashboard.jsx"),
reactHotLoader.register(Dashboard, "Dashboard", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Dashboard.jsx"),
reactHotLoader.register(_default, "default", "/home/misi/Work/src/github.com/ethereum/go-ethereum/dashboard/assets/components/Dashboard.jsx")),
leaveModule = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).leaveModule,
leaveModule && leaveModule(module);
}).call(this, __webpack_require__("./node_modules/webpack/buildin/harmony-module.js")(module));
},
"./components/Footer.jsx": function(module, __webpack_exports__, __webpack_require__) {
"use strict";
(function(module) {
var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./node_modules/react/index.js"), react__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__), _material_ui_core_styles_withStyles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./node_modules/@material-ui/core/styles/withStyles.js"), _material_ui_core_styles_withStyles__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(_material_ui_core_styles_withStyles__WEBPACK_IMPORTED_MODULE_1__), _material_ui_core_Typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("./node_modules/@material-ui/core/Typography/index.js"), _material_ui_core_Typography__WEBPACK_IMPORTED_MODULE_2___default = __webpack_require__.n(_material_ui_core_Typography__WEBPACK_IMPORTED_MODULE_2__), _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("./node_modules/@material-ui/core/Grid/index.js"), _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_3___default = __webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_3__), recharts_es6_component_ResponsiveContainer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("./node_modules/recharts/es6/component/ResponsiveContainer.js"), recharts_es6_chart_AreaChart__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("./node_modules/recharts/es6/chart/AreaChart.js"), recharts_es6_cartesian_Area__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("./node_modules/recharts/es6/cartesian/Area.js"), recharts_es6_cartesian_ReferenceLine__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("./node_modules/recharts/es6/cartesian/ReferenceLine.js"), recharts_es6_component_Label__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("./node_modules/recharts/es6/component/Label.js"), recharts_es6_component_Tooltip__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("./node_modules/recharts/es6/component/Tooltip.js"), ChartRow__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("./components/ChartRow.jsx"), CustomTooltip__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("./components/CustomTooltip.jsx"), _common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("./common.jsx"), enterModule;
function _typeof(e) {
return (_typeof = "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;
})(e);
}
function _extends() {
return (_extends = Object.assign || function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
}).apply(this, arguments);
}
function _classCallCheck(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
}
function _defineProperties(e, t) {
for (var n = 0; n < t.length; n++) {
var r = t[n];
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0),
Object.defineProperty(e, r.key, r);
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
}
function _createClass(e, t, n) {
return t && _defineProperties(e.prototype, t), n && _defineProperties(e, n), e;
}
function _possibleConstructorReturn(e, t) {
return !t || "object" !== _typeof(t) && "function" != typeof t ? _assertThisInitialized(e) : t;
}
function _getPrototypeOf(e) {
return (_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) {
return e.__proto__ || Object.getPrototypeOf(e);
})(e);
}
function _assertThisInitialized(e) {
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return e;
}
function _inherits(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 && _setPrototypeOf(e, t);
}
function _setPrototypeOf(e, t) {
return (_setPrototypeOf = Object.setPrototypeOf || function(e, t) {
return e.__proto__ = t, e;
})(e, t);
}
function _defineProperty(e, t, n) {
return t in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
enterModule = ("undefined" != typeof reactHotLoaderGlobal ? reactHotLoaderGlobal : __webpack_require__("./node_modules/react-hot-loader/index.js")).enterModule,
enterModule && enterModule(module);
var FOOTER_SYNC_ID = "footerSyncId", CPU = "cpu", MEMORY = "memory", DISK = "disk", TRAFFIC = "traffic", TOP = "Top", BOTTOM = "Bottom", cpuLabelTop = "Process load", cpuLabelBottom = "System load", memoryLabelTop = "Active memory", memoryLabelBottom = "Virtual memory", diskLabelTop = "Disk read", diskLabelBottom = "Disk write", trafficLabelTop = "Download", trafficLabelBottom = "Upload", styles = {
footer: {
maxWidth: "100%",
flexWrap: "nowrap",
margin: 0
},
chartRowWrapper: {
height: "100%",
padding: 0
},
doubleChartWrapper: {
height: "100%",
width: "99%"
},
link: {
color: "inherit",
textDecoration: "none"
}, themeStyles = function(e) {
return {
footer: {
backgroundColor: e.palette.grey[900],
color: e.palette.getContrastText(e.palette.grey[900]),
zIndex: e.zIndex.appBar,
height: 10 * e.spacing.unit
}
};
}, Footer = function(_Component) {
function Footer() {
var e, t;
_classCallCheck(this, Footer);
for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++) r[o] = arguments[o];
return _defineProperty(_assertThisInitialized(t = _possibleConstructorReturn(this, (e = _getPrototypeOf(Footer)).call.apply(e, [ this ].concat(r)))), "halfHeightChart", function(e, t, n, r, o) {
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(recharts_es6_component_ResponsiveContainer__WEBPACK_IMPORTED_MODULE_4__.a, {
width: "100%",
height: "50%"
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(recharts_es6_chart_AreaChart__WEBPACK_IMPORTED_MODULE_5__.a, e, !t || react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(recharts_es6_component_Tooltip__WEBPACK_IMPORTED_MODULE_9__.a, {
cursor: !1,
content: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(CustomTooltip__WEBPACK_IMPORTED_MODULE_11__.c, {
tooltip: t
})
}), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(recharts_es6_cartesian_Area__WEBPACK_IMPORTED_MODULE_6__.a, _extends({
isAnimationActive: !1,
strokeWidth: _common__WEBPACK_IMPORTED_MODULE_12__.c,
type: "monotone"
}, n)), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(recharts_es6_cartesian_ReferenceLine__WEBPACK_IMPORTED_MODULE_7__.a, {
x: 0,
strokeWidth: 0
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(recharts_es6_component_Label__WEBPACK_IMPORTED_MODULE_8__.a, {
fill: n.fill,
value: r,
position: o
}), _defineProperty(_assertThisInitialized(t), "doubleChart", function(e, n, r, o) {
if (!Array.isArray(r.data) || !Array.isArray(o.data)) return null;
var a = r.default || 0, i = o.default || 0, s = "".concat(n).concat(TOP), l = "".concat(n).concat(BOTTOM);
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
style: styles.doubleChartWrapper
}, t.halfHeightChart({
syncId: e,
data: r.data.map(function(e) {
var t = e.value;
return _defineProperty({}, s, t || a);
}),
margin: {
top: 5,
right: 5,
bottom: 0,
left: 5
}
}, r.tooltip, {
dataKey: s,
stroke: "#8884d8",
fill: "#8884d8"
}, r.label, "insideBottomLeft"), t.halfHeightChart({
data: o.data.map(function(e) {
var t = e.value;
return _defineProperty({}, l, -t || -i);
}),
margin: {
top: 0,
right: 5,
bottom: 5,
left: 5
}
}, o.tooltip, {
dataKey: l,
stroke: "#82ca9d",
fill: "#82ca9d"
}, o.label, "insideTopLeft"));
}), t;
}
return _inherits(Footer, _Component), _createClass(Footer, [ {
key: "shouldComponentUpdate",
value: function(e, t, n) {
return void 0 !== e.shouldUpdate.general || void 0 !== e.shouldUpdate.system;
}
}, {
key: "render",
value: function() {
var e = this.props, t = e.general, n = e.system;
return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_3___default.a, {
container: !0,
className: this.props.classes.footer,
direction: "row",
alignItems: "center",
style: styles.footer
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_3___default.a, {
item: !0,
xs: !0,
style: styles.chartRowWrapper
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(ChartRow__WEBPACK_IMPORTED_MODULE_10__.a, null, this.doubleChart(FOOTER_SYNC_ID, CPU, {
data: n.processCPU,