"use strict";

var _react = _interopRequireDefault(require("react"));

var _reactBlessed = require("react-blessed");

var _screen = _interopRequireDefault(require("./screen"));

var _App = _interopRequireDefault(require("./views/App"));

var _env = _interopRequireWildcard(require("./env"));

var _containers = require("./store/containers");

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

(0, _reactBlessed.render)(_react.default.createElement(_App.default, null), _screen.default);
(0, _containers.refreshContainers)();
setInterval(_containers.refreshContainers, (0, _env.number)(_env.default.KTRM_REFRESH_INTERVAL, 3000));