From e26ae7fe9acda10593c14863f8190c652044dfe1 Mon Sep 17 00:00:00 2001 From: Tomusdrw Date: Wed, 21 Sep 2016 11:43:31 +0200 Subject: [PATCH] Adding New UI to dapps --- Cargo.lock | 2 ++ dapps/Cargo.toml | 9 +++++- dapps/src/apps/mod.rs | 57 ++++++++++++++++++++++++++++++++-- dapps/src/lib.rs | 5 ++- dapps/ui/src/lib.rs.in | 6 ++-- dapps/ui/src/web/gavcoin.html | 6 ++-- dapps/ui/src/web/index.js | 2 +- dapps/ui/src/web/parity.js | 2 +- dapps/ui/src/web/registry.html | 6 ++-- dapps/ui/src/web/tokenreg.html | 6 ++-- 10 files changed, 83 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e565f412975..8fc4fb04a41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -322,9 +322,11 @@ dependencies = [ "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", "mime_guess 1.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "parity-dapps 1.4.0 (git+https://github.com/ethcore/parity-ui.git)", + "parity-dapps-glue 1.4.0", "parity-dapps-home 1.4.0 (git+https://github.com/ethcore/parity-ui.git)", "parity-dapps-status 1.4.0 (git+https://github.com/ethcore/parity-ui.git)", "parity-dapps-wallet 1.4.0 (git+https://github.com/ethcore/parity-ui.git)", + "parity-ui 1.4.0", "rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.8.4 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/dapps/Cargo.toml b/dapps/Cargo.toml index b1883e74812..cd961ac6d3b 100644 --- a/dapps/Cargo.toml +++ b/dapps/Cargo.toml @@ -27,11 +27,17 @@ ethcore-devtools = { path = "../devtools" } ethcore-rpc = { path = "../rpc" } ethcore-util = { path = "../util" } https-fetch = { path = "../util/https-fetch" } -parity-dapps = { git = "https://github.com/ethcore/parity-ui.git", version = "1.4" } +parity-ui = { path = "./ui" } +parity-dapps-glue = { path = "./js-glue" } + +### DEPRECATED # List of apps +parity-dapps = { git = "https://github.com/ethcore/parity-ui.git", version = "1.4" } parity-dapps-status = { git = "https://github.com/ethcore/parity-ui.git", version = "1.4" } parity-dapps-home = { git = "https://github.com/ethcore/parity-ui.git", version = "1.4" } parity-dapps-wallet = { git = "https://github.com/ethcore/parity-ui.git", version = "1.4", optional = true } +### /DEPRECATED + mime_guess = { version = "1.6.1" } clippy = { version = "0.0.90", optional = true} @@ -45,6 +51,7 @@ nightly = ["serde_macros"] dev = ["clippy", "ethcore-rpc/dev", "ethcore-util/dev"] use-precompiled-js = [ + "parity-ui/use-precompiled-js", "parity-dapps-status/use-precompiled-js", "parity-dapps-home/use-precompiled-js", "parity-dapps-wallet/use-precompiled-js" diff --git a/dapps/src/apps/mod.rs b/dapps/src/apps/mod.rs index 65bee587dea..90f22be12d9 100644 --- a/dapps/src/apps/mod.rs +++ b/dapps/src/apps/mod.rs @@ -17,7 +17,8 @@ use endpoint::{Endpoints, Endpoint}; use page::PageEndpoint; use proxypac::ProxyPac; -use parity_dapps::WebApp; +use parity_dapps::{self, WebApp}; +use parity_dapps_glue::WebApp as NewWebApp; mod cache; mod fs; @@ -27,6 +28,7 @@ pub mod manifest; extern crate parity_dapps_status; extern crate parity_dapps_home; +extern crate parity_ui; pub const DAPPS_DOMAIN : &'static str = ".parity"; pub const RPC_PATH : &'static str = "rpc"; @@ -57,9 +59,13 @@ pub fn all_endpoints(dapps_path: String) -> Endpoints { pages.insert("home".into(), Box::new( PageEndpoint::new_safe_to_embed(parity_dapps_home::App::default()) )); + // NOTE [ToDr] Dapps will be currently embeded on 8180 + pages.insert("ui".into(), Box::new( + PageEndpoint::new_safe_to_embed(NewUi::default()) + )); pages.insert("proxy".into(), ProxyPac::boxed()); - insert::(&mut pages, "parity"); insert::(&mut pages, "status"); + insert::(&mut pages, "parity"); // Optional dapps wallet_page(&mut pages); @@ -78,3 +84,50 @@ fn wallet_page(_pages: &mut Endpoints) {} fn insert(pages: &mut Endpoints, id: &str) { pages.insert(id.to_owned(), Box::new(PageEndpoint::new(T::default()))); } + +// TODO [ToDr] Temporary wrapper until we get rid of old built-ins. +use std::collections::HashMap; + +struct NewUi { + app: parity_ui::App, + files: HashMap<&'static str, parity_dapps::File>, +} + +impl Default for NewUi { + fn default() -> Self { + let app = parity_ui::App::default(); + let files = { + let mut files = HashMap::new(); + for (k, v) in &app.files { + files.insert(*k, parity_dapps::File { + path: v.path, + content: v.content, + content_type: v.content_type, + }); + } + files + }; + + NewUi { + app: app, + files: files, + } + } +} + +impl WebApp for NewUi { + fn file(&self, path: &str) -> Option<&parity_dapps::File> { + self.files.get(path) + } + + fn info(&self) -> parity_dapps::Info { + let info = self.app.info(); + parity_dapps::Info { + name: info.name, + version: info.version, + author: info.author, + description: info.description, + icon_url: info.icon_url, + } + } +} diff --git a/dapps/src/lib.rs b/dapps/src/lib.rs index 4dcf53a441d..0c811b70272 100644 --- a/dapps/src/lib.rs +++ b/dapps/src/lib.rs @@ -57,7 +57,6 @@ extern crate jsonrpc_core; extern crate jsonrpc_http_server; extern crate mime_guess; extern crate rustc_serialize; -extern crate parity_dapps; extern crate https_fetch; extern crate ethcore_rpc; extern crate ethcore_util as util; @@ -65,6 +64,10 @@ extern crate linked_hash_map; #[cfg(test)] extern crate ethcore_devtools as devtools; +extern crate parity_dapps_glue; +// TODO [ToDr] - Deprecate when we get rid of old dapps. +extern crate parity_dapps; + mod endpoint; mod apps; mod page; diff --git a/dapps/ui/src/lib.rs.in b/dapps/ui/src/lib.rs.in index 06f041b7ab1..57984287a37 100644 --- a/dapps/ui/src/lib.rs.in +++ b/dapps/ui/src/lib.rs.in @@ -22,7 +22,7 @@ use parity_dapps_glue::{WebApp, File, Info}; #[derive(WebAppFiles)] #[webapp(path = "./web")] pub struct App { - files: HashMap<&'static str, File>, + pub files: HashMap<&'static str, File>, } impl Default for App { @@ -40,10 +40,10 @@ impl WebApp for App { fn info(&self) -> Info { Info { - name: "Parity Home Screen", + name: "Parity UI", version: env!("CARGO_PKG_VERSION"), author: "Ethcore ", - description: "Home Screen and injectable topbar for Parity Dapps.", + description: "New UI for Parity. (Experimental)", icon_url: "icon.png", } } diff --git a/dapps/ui/src/web/gavcoin.html b/dapps/ui/src/web/gavcoin.html index fb82bffef6d..63a8b3a9cc0 100644 --- a/dapps/ui/src/web/gavcoin.html +++ b/dapps/ui/src/web/gavcoin.html @@ -10,8 +10,8 @@
- - - + + + diff --git a/dapps/ui/src/web/index.js b/dapps/ui/src/web/index.js index 386e2cd9e62..e4cf9dc7a8e 100644 --- a/dapps/ui/src/web/index.js +++ b/dapps/ui/src/web/index.js @@ -65,7 +65,7 @@ webpackJsonp([1],[function(module,exports,__webpack_require__){eval("module.expo },function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.ERRORS = undefined;exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvalidateAddress = validateAddress;exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvalidateName = validateName;var _util = __webpack_require__(255);var _util2 = _interopRequireDefault(_util);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var ERRORS = exports.ERRORS = { invalidAddress: 'address is an invalid network address', duplicateAddress: 'the address is already in your address book', invalidChecksum: 'address has failed the checksum formatting', invalidName: 'name should not be blank and longer than 2' }; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\nfunction validateAddress(address) {var addressError = null;if (!address) {addressError = ERRORS.invalidAddress;} else if (!_util2.default.isAddressValid(address)) {addressError = ERRORS.invalidAddress;} else {address = _util2.default.toChecksumAddress(address);}return { address: address, addressError: addressError };}function validateName(name) {var nameError = !name || name.length < 2 ? ERRORS.invalidName : null;return { name: name, nameError: nameError };}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./util/validation.js\n ** module id = 952\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./util/validation.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _create = __webpack_require__(1394);var _create2 = _interopRequireDefault(_create);\n\nvar _ui = __webpack_require__(26);\n\nvar _header = __webpack_require__(1535);var _header2 = _interopRequireDefault(_header);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}\n\nvar DEFAULT_NAME = 'Unnamed';var\n\nHeader = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Header, _Component);function Header() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Header);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Header.__proto__ || (0, _getPrototypeOf2.default)(Header)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n state = {\n name: null }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n onSubmitName = function (name) {var\n api = _this.context.api;var\n account = _this.props.account;\n\n _this.setState({ name: name }, function () {\n api.personal.\n setAccountName(account.address, name).\n catch(function (error) {\n console.error(error);\n });\n });\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Header, [{ key: 'componentWillMount', value: function componentWillMount() {this.setName();} }, { key: 'componentWillReceiveProps', value: function componentWillReceiveProps() {this.setName();} }, { key: 'render', value: function render() {var _props = this.props;var account = _props.account;var balance = _props.balance;var address = account.address;var name = this.state.name;if (!account) {return null;}return _react2.default.createElement(_ui.Container, null, _react2.default.createElement(_ui.IdentityIcon, { address: address }), _react2.default.createElement(_ui.Form, null, _react2.default.createElement('div', { className: _header2.default.floatleft }, _react2.default.createElement(_ui.InputInline, { label: 'account name', hint: 'a descriptive name for the account', value: name, 'static': this.renderTitle(name), onSubmit: this.onSubmitName }), _react2.default.createElement('div', { className: _header2.default.infoline }, address), this.renderTxCount()), _react2.default.createElement('div', { className: _header2.default.balances }, _react2.default.createElement(_ui.Balance, { account: account, balance: balance }))));} }, { key: 'renderTitle', value: function renderTitle(name) {return _react2.default.createElement(_ui.ContainerTitle, { title: _react2.default.createElement('span', null, _react2.default.createElement('span', null, name || DEFAULT_NAME), _react2.default.createElement(_create2.default, { className: _header2.default.editicon, color: 'rgb(0, 151, 167)' })) });} }, { key: 'renderTxCount', value: function renderTxCount() {var _props2 = this.props;var isTest = _props2.isTest;var balance = _props2.balance;if (!balance) {return null;}var txCount = balance.txCount.sub(isTest ? 0x100000 : 0);return _react2.default.createElement('div', { className: _header2.default.infoline }, txCount.toFormat(), ' outgoing transactions');} }, { key: 'setName', value: function setName()\n\n {var\n account = this.props.account;\n\n if (account && account.name !== this.propName) {\n this.propName = account.name;\n this.setState({\n name: account.name });\n\n }\n } }]);return Header;}(_react.Component), _class.contextTypes = { api: _react.PropTypes.object }, _class.propTypes = { account: _react.PropTypes.object, balance: _react.PropTypes.object, isTest: _react.PropTypes.bool }, _temp2);exports.default = Header;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Account/Header/header.js\n ** module id = 953\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Account/Header/header.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _bignumber = __webpack_require__(21);var _bignumber2 = _interopRequireDefault(_bignumber);\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\nvar _moment = __webpack_require__(5);var _moment2 = _interopRequireDefault(_moment);\nvar _LinearProgress = __webpack_require__(114);var _LinearProgress2 = _interopRequireDefault(_LinearProgress);\n\nvar _util = __webpack_require__(255);var _util2 = _interopRequireDefault(_util);\nvar _etherscan = __webpack_require__(795);var _etherscan2 = _interopRequireDefault(_etherscan);\nvar _ui = __webpack_require__(26);\n\nvar _transactions = __webpack_require__(1536);var _transactions2 = _interopRequireDefault(_transactions);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}\n\nfunction formatHash(hash) {\n if (!hash || hash.length <= 21) {\n return hash;\n }\n\n return hash.substr(2, 9) + '...' + hash.slice(-9);\n}\n\nfunction formatNumber(number) {\n return new _bignumber2.default(number).toFormat();\n}\n\nfunction formatTime(time) {\n return (0, _moment2.default)(parseInt(time, 10) * 1000).fromNow(true);\n}\n\nfunction formatEther(value) {\n var ether = _util2.default.fromWei(value);\n\n if (ether.gt(0)) {\n return '' + ether.toFormat(5);\n }\n\n return null;\n}var\n\nTransactions = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Transactions, _Component);function Transactions() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Transactions);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Transactions.__proto__ || (0, _getPrototypeOf2.default)(Transactions)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n state = {\n transactions: [],\n loading: true }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n getTransactions = function () {var _this$props =\n _this.props;var isTest = _this$props.isTest;var address = _this$props.address;\n\n return _etherscan2.default.account.\n transactions(address, 0, isTest).\n then(function (transactions) {\n _this.setState({\n transactions: transactions,\n loading: false });\n\n }).\n catch(function (error) {\n console.error('getTransactions', error);\n });\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Transactions, [{ key: 'componentDidMount', value: function componentDidMount() {this.getTransactions();} }, { key: 'render', value: function render() {return _react2.default.createElement(_ui.Container, null, this.renderTransactions());} }, { key: 'renderAddress', value: function renderAddress(prefix, address) {var _props = this.props;var accounts = _props.accounts;var contacts = _props.contacts;var tokens = _props.tokens;var account = (accounts || {})[address] || (contacts || {})[address] || (tokens || {})[address];var link = prefix + 'address/' + address;var name = account ? account.name.toUpperCase() : formatHash(address);return _react2.default.createElement('td', { className: _transactions2.default.left }, _react2.default.createElement(_ui.IdentityIcon, { inline: true, center: true, tokens: tokens, address: address }), _react2.default.createElement('a', { href: link, target: '_blank', className: _transactions2.default.link }, name));} }, { key: 'renderTransactions', value: function renderTransactions() {var _this2 = this;var isTest = this.props.isTest;var _state = this.state;var loading = _state.loading;var transactions = _state.transactions;if (loading) {return _react2.default.createElement(_LinearProgress2.default, { mode: 'indeterminate' });} else if (!transactions.length) {return _react2.default.createElement('div', { className: _transactions2.default.infonone }, 'No transactions were found for this account');}var prefix = 'https://' + (isTest ? 'testnet.' : '') + 'etherscan.io/';var rows = (transactions || []).map(function (tx) {var hashLink = prefix + 'tx/' + tx.hash;var value = formatEther(tx.value);var token = value ? 'ΞTH' : null;var tosection = tx.to && tx.to.length ? _this2.renderAddress(prefix, tx.to) : _react2.default.createElement('td', { className: '' + _transactions2.default.center });return _react2.default.createElement('tr', { key: tx.hash }, _react2.default.createElement('td', { className: _transactions2.default.center }), _this2.renderAddress(prefix, tx.from), tosection, _react2.default.createElement('td', { className: _transactions2.default.center }, _react2.default.createElement('a', { href: hashLink, target: '_blank', className: _transactions2.default.link }, formatHash(tx.hash))), _react2.default.createElement('td', { className: _transactions2.default.right }, formatNumber(tx.blockNumber)), _react2.default.createElement('td', { className: _transactions2.default.right }, formatTime(tx.timeStamp)), _react2.default.createElement('td', { className: _transactions2.default.value }, formatEther(tx.value), _react2.default.createElement('small', null, ' ', token)));});return _react2.default.createElement('div', { className: _transactions2.default.transactions }, _react2.default.createElement('table', null, _react2.default.createElement('thead', null, _react2.default.createElement('tr', { className: _transactions2.default.info }, _react2.default.createElement('th', null, ' '), _react2.default.createElement('th', { className: _transactions2.default.left }, 'from'), _react2.default.createElement('th', { className: _transactions2.default.left }, 'to'), _react2.default.createElement('th', { className: _transactions2.default.center }, 'transaction'), _react2.default.createElement('th', { className: _transactions2.default.right }, 'block'), _react2.default.createElement('th', { className: _transactions2.default.right }, 'age'), _react2.default.createElement('th', { className: _transactions2.default.right }, 'value'))), _react2.default.createElement('tbody', null, rows)), _react2.default.createElement('div', { className: _transactions2.default.etherscan }, 'Transaction list powered by ', _react2.default.createElement('a', { href: 'https://etherscan.io/', target: '_blank' }, 'etherscan.io')));} }]);return Transactions;}(_react.Component), _class.propTypes = { address: _react.PropTypes.string.isRequired, accounts: _react.PropTypes.object, contacts: _react.PropTypes.object, tokens: _react.PropTypes.object, isTest: _react.PropTypes.bool }, _temp2);\n\n\nfunction mapStateToProps(state) {var\n isTest = state.nodeStatus.isTest;var _state$personal =\n state.personal;var accounts = _state$personal.accounts;var contacts = _state$personal.contacts;var\n tokens = state.balances.tokens;\n\n return {\n isTest: isTest,\n accounts: accounts,\n contacts: contacts,\n tokens: tokens };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nTransactions);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Account/Transactions/transactions.js\n ** module id = 954\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Account/Transactions/transactions.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\nvar _send = __webpack_require__(326);var _send2 = _interopRequireDefault(_send);\n\nvar _modals = __webpack_require__(445);\nvar _ui = __webpack_require__(26);\n\nvar _shapeshiftBtn = __webpack_require__(1218);var _shapeshiftBtn2 = _interopRequireDefault(_shapeshiftBtn);\n\nvar _Header = __webpack_require__(681);var _Header2 = _interopRequireDefault(_Header);\nvar _Transactions = __webpack_require__(682);var _Transactions2 = _interopRequireDefault(_Transactions);\n\nvar _account = __webpack_require__(1537);var _account2 = _interopRequireDefault(_account);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nAccount = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Account, _Component);function Account() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Account);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Account.__proto__ || (0, _getPrototypeOf2.default)(Account)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n propName = null, _this.\n\n state = {\n fundDialog: false,\n transferDialog: false }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n onShapeshiftAccountClick = function () {\n _this.setState({\n fundDialog: !_this.state.fundDialog });\n\n }, _this.\n\n onShapeshiftAccountClose = function () {\n _this.onShapeshiftAccountClick();\n }, _this.\n\n onTransferClick = function () {\n _this.setState({\n transferDialog: !_this.state.transferDialog });\n\n }, _this.\n\n onTransferClose = function () {\n _this.onTransferClick();\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Account, [{ key: 'render', value: function render() {var _props = this.props;var accounts = _props.accounts;var balances = _props.balances;var isTest = _props.isTest;var address = this.props.params.address;var account = (accounts || {})[address];var balance = (balances || {})[address];if (!account) {return null;}return _react2.default.createElement('div', { className: _account2.default.account }, this.renderFundDialog(), this.renderTransferDialog(), this.renderActionbar(), _react2.default.createElement(_ui.Page, null, _react2.default.createElement(_Header2.default, { isTest: isTest, account: account, balance: balance }), _react2.default.createElement(_Transactions2.default, { accounts: accounts, address: address })));} }, { key: 'renderActionbar', value: function renderActionbar() {var buttons = [_react2.default.createElement(_ui.Button, { key: 'transferFunds', icon: _react2.default.createElement(_send2.default, null), label: 'transfer', onClick: this.onTransferClick }), _react2.default.createElement(_ui.Button, { key: 'shapeshift', icon: _react2.default.createElement('img', { src: _shapeshiftBtn2.default, className: _account2.default.btnicon }), label: 'shapeshift', onClick: this.onShapeshiftAccountClick })];return _react2.default.createElement(_ui.Actionbar, { title: 'Account Management', buttons: buttons });} }, { key: 'renderFundDialog', value: function renderFundDialog() {var fundDialog = this.state.fundDialog;if (!fundDialog) {return null;}var address = this.props.params.address;return _react2.default.createElement(_modals.Shapeshift, { address: address, onClose: this.onShapeshiftAccountClose });} }, { key: 'renderTransferDialog', value: function renderTransferDialog() {var transferDialog = this.state.transferDialog;if (!transferDialog) {return null;}var address = this.props.params.address;var _props2 = this.props;var accounts = _props2.accounts;var balances = _props2.balances;var account = accounts[address];var balance = balances[address];return _react2.default.createElement(_modals.Transfer, { account: account, balance: balance, balances: balances, onClose: this.onTransferClose });} }]);return Account;}(_react.Component), _class.propTypes = { params: _react.PropTypes.object, accounts: _react.PropTypes.object, balances: _react.PropTypes.object, isTest: _react.PropTypes.bool }, _temp2);\n\n\nfunction mapStateToProps(state) {var\n accounts = state.personal.accounts;var\n balances = state.balances.balances;var\n isTest = state.nodeStatus.isTest;\n\n return {\n isTest: isTest,\n accounts: accounts,\n balances: balances };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nAccount);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Account/account.js\n ** module id = 955\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Account/account.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _account = __webpack_require__(955);var _account2 = _interopRequireDefault(_account);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _account2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Account/index.js\n ** module id = 956\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Account/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _keys = __webpack_require__(41);var _keys2 = _interopRequireDefault(_keys);var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _ui = __webpack_require__(26);\n\nvar _Summary = __webpack_require__(958);var _Summary2 = _interopRequireDefault(_Summary);\nvar _list = __webpack_require__(1538);var _list2 = _interopRequireDefault(_list);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nList = (_temp = _class = function (_Component) {(0, _inherits3.default)(List, _Component);function List() {(0, _classCallCheck3.default)(this, List);return (0, _possibleConstructorReturn3.default)(this, (List.__proto__ || (0, _getPrototypeOf2.default)(List)).apply(this, arguments));}(0, _createClass3.default)(List, [{ key: 'render', value: function render()\n\n\n\n\n\n\n\n {\n return (\n _react2.default.createElement('div', { className: _list2.default.list },\n this.renderAccounts()));\n\n\n } }, { key: 'renderAccounts', value: function renderAccounts()\n\n {var _props =\n this.props;var accounts = _props.accounts;var balances = _props.balances;var contact = _props.contact;var empty = _props.empty;\n\n if (empty) {\n return (\n _react2.default.createElement(_ui.Container, { className: _list2.default.empty },\n _react2.default.createElement('div', null, 'There are currently no accounts or addresses to display.')));\n\n\n\n\n }\n\n return (0, _keys2.default)(accounts).map(function (address, idx) {\n var account = accounts[address] || {};\n var balance = balances[address] || {};\n\n return (\n _react2.default.createElement('div', {\n className: _list2.default.account,\n key: address },\n _react2.default.createElement(_Summary2.default, {\n contact: contact,\n account: account,\n balance: balance })));\n\n\n });\n } }]);return List;}(_react.Component), _class.propTypes = { accounts: _react.PropTypes.object, balances: _react.PropTypes.object, contact: _react.PropTypes.bool, empty: _react.PropTypes.bool }, _temp);exports.default = List;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Accounts/List/list.js\n ** module id = 957\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Accounts/List/list.js?")},[1603,959],function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRouter = __webpack_require__(431);\n\nvar _ui = __webpack_require__(26);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nSummary = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Summary, _Component);function Summary() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Summary);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Summary.__proto__ || (0, _getPrototypeOf2.default)(Summary)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n\n state = {\n name: 'Unnamed' }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Summary, [{ key: 'render', value: function render()\n\n\n {var _props =\n this.props;var account = _props.account;var balance = _props.balance;var children = _props.children;var contact = _props.contact;\n\n if (!account) {\n return null;\n }\n\n var viewLink = '/' + (contact ? 'address' : 'account') + '/' + account.address;\n\n return (\n _react2.default.createElement(_ui.Container, null,\n _react2.default.createElement(_ui.IdentityIcon, {\n address: account.address }),\n _react2.default.createElement(_ui.ContainerTitle, {\n title: _react2.default.createElement(_reactRouter.Link, { to: viewLink }, account.name || 'Unnamed'),\n byline: account.address }),\n _react2.default.createElement(_ui.Balance, {\n balance: balance }),\n children));\n\n\n } }]);return Summary;}(_react.Component), _class.contextTypes = { api: _react2.default.PropTypes.object }, _class.propTypes = { account: _react.PropTypes.object.isRequired, balance: _react.PropTypes.object.isRequired, contact: _react.PropTypes.bool, children: _react.PropTypes.node }, _temp2);exports.default = Summary;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Accounts/Summary/summary.js\n ** module id = 959\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Accounts/Summary/summary.js?"); },function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\nvar _add = __webpack_require__(325);var _add2 = _interopRequireDefault(_add);\n\nvar _List = __webpack_require__(683);var _List2 = _interopRequireDefault(_List);\nvar _modals = __webpack_require__(445);\nvar _ui = __webpack_require__(26);\n\nvar _accounts = __webpack_require__(1539);var _accounts2 = _interopRequireDefault(_accounts);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nAccounts = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Accounts, _Component);function Accounts() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Accounts);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Accounts.__proto__ || (0, _getPrototypeOf2.default)(Accounts)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n state = {\n addressBook: false,\n newDialog: false }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n onNewAccountClick = function () {\n _this.setState({\n newDialog: !_this.state.newDialog });\n\n }, _this.\n\n onNewAccountClose = function () {\n _this.onNewAccountClick();\n }, _this.\n\n onNewAccountUpdate = function () {\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Accounts, [{ key: 'render', value: function render() {var _props = this.props;var accounts = _props.accounts;var hasAccounts = _props.hasAccounts;var balances = _props.balances;return _react2.default.createElement('div', { className: _accounts2.default.accounts }, this.renderNewDialog(), this.renderActionbar(), _react2.default.createElement(_ui.Page, null, _react2.default.createElement(_List2.default, { accounts: accounts, balances: balances, empty: !hasAccounts }), _react2.default.createElement(_ui.Tooltip, { className: _accounts2.default.accountTooltip, text: 'your accounts are visible for easy access, allowing you to edit the meta information, make transfers, view transactions and fund the account' })));} }, { key: 'renderActionbar', value: function renderActionbar() {var buttons = [_react2.default.createElement(_ui.Button, { key: 'newAccount', icon: _react2.default.createElement(_add2.default, null), label: 'new account', onClick: this.onNewAccountClick })];return _react2.default.createElement(_ui.Actionbar, { className: _accounts2.default.toolbar, title: 'Accounts Overview', buttons: buttons }, _react2.default.createElement(_ui.Tooltip, { className: _accounts2.default.toolbarTooltip, right: true, text: 'actions relating to the current view are available on the toolbar for quick access, be it for performing actions or creating a new item' }));} }, { key: 'renderNewDialog', value: function renderNewDialog() {var newDialog = this.state.newDialog;if (!newDialog) {return null;}return _react2.default.createElement(_modals.CreateAccount, { onClose: this.onNewAccountClose, onUpdate: this.onNewAccountUpdate });} }]);return Accounts;}(_react.Component), _class.contextTypes = { api: _react.PropTypes.object }, _class.propTypes = { accounts: _react.PropTypes.object, hasAccounts: _react.PropTypes.bool, balances: _react.PropTypes.object }, _temp2);\n\n\nfunction mapStateToProps(state) {var _state$personal =\n state.personal;var accounts = _state$personal.accounts;var hasAccounts = _state$personal.hasAccounts;var\n balances = state.balances.balances;\n\n return {\n accounts: accounts,\n hasAccounts: hasAccounts,\n balances: balances };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nAccounts);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Accounts/accounts.js\n ** module id = 960\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Accounts/accounts.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _accounts = __webpack_require__(960);var _accounts2 = _interopRequireDefault(_accounts);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _accounts2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Accounts/index.js\n ** module id = 961\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Accounts/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\nvar _delete = __webpack_require__(616);var _delete2 = _interopRequireDefault(_delete);\n\nvar _actions = __webpack_require__(446);\nvar _ui = __webpack_require__(26);\n\nvar _Header = __webpack_require__(681);var _Header2 = _interopRequireDefault(_Header);\nvar _Transactions = __webpack_require__(682);var _Transactions2 = _interopRequireDefault(_Transactions);\n\nvar _address = __webpack_require__(1540);var _address2 = _interopRequireDefault(_address);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nAddress = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Address, _Component);function Address() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Address);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Address.__proto__ || (0, _getPrototypeOf2.default)(Address)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n\n\n state = {\n showDeleteDialog: false }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n onDeleteConfirmed = function () {var _this$context =\n _this.context;var api = _this$context.api;var router = _this$context.router;var\n contacts = _this.props.contacts;var\n address = _this.props.params.address;\n var contact = (contacts || {})[address];\n\n _this.closeDeleteDialog();\n contact.meta.deleted = true;\n\n api.personal.\n setAccountMeta(address, contact.meta).\n then(function () {return router.push('/addresses');}).\n catch(function (error) {\n console.error('onDeleteConfirmed', error);\n (0, _actions.newError)(new Error('Deletion failed: ' + error.message));\n });\n }, _this.\n\n closeDeleteDialog = function () {\n _this.setState({ showDeleteDialog: false });\n }, _this.\n\n showDeleteDialog = function () {\n _this.setState({ showDeleteDialog: true });\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Address, [{ key: 'render', value: function render() {var _props = this.props;var contacts = _props.contacts;var balances = _props.balances;var isTest = _props.isTest;var address = this.props.params.address;var contact = (contacts || {})[address];var balance = (balances || {})[address];if (!contact) {return null;}return _react2.default.createElement('div', { className: _address2.default.address }, this.renderActionbar(contact), this.renderDeleteConfirm(), _react2.default.createElement(_ui.Page, null, _react2.default.createElement(_Header2.default, { isTest: isTest, account: contact, balance: balance }), _react2.default.createElement(_Transactions2.default, { address: address })));} }, { key: 'renderActionbar', value: function renderActionbar(contact) {var buttons = [_react2.default.createElement(_ui.Button, { key: 'delete', icon: _react2.default.createElement(_delete2.default, null), label: 'delete address', onClick: this.showDeleteDialog })];return _react2.default.createElement(_ui.Actionbar, { title: 'Address Information', buttons: contact.meta.deleted ? [] : buttons });} }, { key: 'renderDeleteConfirm', value: function renderDeleteConfirm() {var contacts = this.props.contacts;var showDeleteDialog = this.state.showDeleteDialog;if (!showDeleteDialog) {return;}var address = this.props.params.address;var contact = contacts[address];return _react2.default.createElement(_ui.ConfirmDialog, { className: _address2.default.delete, title: 'confirm removal', visible: true, onDeny: this.closeDeleteDialog, onConfirm: this.onDeleteConfirmed }, _react2.default.createElement('div', { className: _address2.default.hero }, 'Are you sure you want to remove the following address from your addressbook?'), _react2.default.createElement('div', { className: _address2.default.info }, _react2.default.createElement(_ui.IdentityIcon, { className: _address2.default.icon, address: address }), _react2.default.createElement('div', { className: _address2.default.nameinfo }, _react2.default.createElement('div', { className: _address2.default.header }, contact.name || 'Unnamed'), _react2.default.createElement('div', { className: _address2.default.address }, address))), _react2.default.createElement('div', { className: _address2.default.description }, contact.meta.description));} }]);return Address;}(_react.Component), _class.contextTypes = { api: _react.PropTypes.object.isRequired, router: _react.PropTypes.object.isRequired }, _class.propTypes = { contacts: _react.PropTypes.object, balances: _react.PropTypes.object, isTest: _react.PropTypes.bool, params: _react.PropTypes.object }, _temp2);\n\n\nfunction mapStateToProps(state) {var\n contacts = state.personal.contacts;var\n balances = state.balances.balances;var\n isTest = state.nodeStatus.isTest;\n\n return {\n isTest: isTest,\n contacts: contacts,\n balances: balances };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({ newError: _actions.newError }, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nAddress);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Address/address.js\n ** module id = 962\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Address/address.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _address = __webpack_require__(962);var _address2 = _interopRequireDefault(_address);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _address2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Address/index.js\n ** module id = 963\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Address/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _promise = __webpack_require__(39);var _promise2 = _interopRequireDefault(_promise);var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\nvar _add = __webpack_require__(325);var _add2 = _interopRequireDefault(_add);\n\nvar _List = __webpack_require__(683);var _List2 = _interopRequireDefault(_List);\nvar _modals = __webpack_require__(445);\nvar _ui = __webpack_require__(26);\n\nvar _addresses = __webpack_require__(1541);var _addresses2 = _interopRequireDefault(_addresses);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nAddresses = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Addresses, _Component);function Addresses() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Addresses);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Addresses.__proto__ || (0, _getPrototypeOf2.default)(Addresses)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n state = {\n showAdd: false }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n onOpenAdd = function () {\n _this.setState({\n showAdd: true });\n\n }, _this.\n\n onCloseAdd = function (address, name, description) {var\n api = _this.context.api;\n\n _this.setState({\n showAdd: false });\n\n\n if (address) {\n _promise2.default.all([\n api.personal.setAccountName(address, name),\n api.personal.setAccountMeta(address, { description: description })]).\n catch(function (error) {\n console.error('updateDetails', error);\n });\n }\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Addresses, [{ key: 'render', value: function render() {var _props = this.props;var balances = _props.balances;var contacts = _props.contacts;var hasContacts = _props.hasContacts;return _react2.default.createElement('div', { className: _addresses2.default.addresses }, this.renderActionbar(), this.renderAddAddress(), _react2.default.createElement(_ui.Page, null, _react2.default.createElement(_List2.default, { contact: true, accounts: contacts, balances: balances, empty: !hasContacts })));} }, { key: 'renderActionbar', value: function renderActionbar() {var buttons = [_react2.default.createElement(_ui.Button, { key: 'newAddress', icon: _react2.default.createElement(_add2.default, null), label: 'new address', onClick: this.onOpenAdd })];return _react2.default.createElement(_ui.Actionbar, { className: _addresses2.default.toolbar, title: 'Saved Addresses', buttons: buttons });} }, { key: 'renderAddAddress', value: function renderAddAddress() {var contacts = this.props.contacts;var showAdd = this.state.showAdd;if (!showAdd) {return null;}return _react2.default.createElement(_modals.AddAddress, { contacts: contacts, onClose: this.onCloseAdd });} }]);return Addresses;}(_react.Component), _class.contextTypes = { api: _react.PropTypes.object }, _class.propTypes = { balances: _react.PropTypes.object, contacts: _react.PropTypes.object, hasContacts: _react.PropTypes.bool }, _temp2);\n\n\nfunction mapStateToProps(state) {var\n balances = state.balances.balances;var _state$personal =\n state.personal;var contacts = _state$personal.contacts;var hasContacts = _state$personal.hasContacts;\n\n return {\n balances: balances,\n contacts: contacts,\n hasContacts: hasContacts };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nAddresses);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Addresses/addresses.js\n ** module id = 964\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Addresses/addresses.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _addresses = __webpack_require__(964);var _addresses2 = _interopRequireDefault(_addresses);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _addresses2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Addresses/index.js\n ** module id = 965\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Addresses/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _modals = __webpack_require__(445);\nvar _ui = __webpack_require__(26);\n\nvar _application = __webpack_require__(789);var _application2 = _interopRequireDefault(_application);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nContainer = (_temp = _class = function (_Component) {(0, _inherits3.default)(Container, _Component);function Container() {(0, _classCallCheck3.default)(this, Container);return (0, _possibleConstructorReturn3.default)(this, (Container.__proto__ || (0, _getPrototypeOf2.default)(Container)).apply(this, arguments));}(0, _createClass3.default)(Container, [{ key: 'render', value: function render()\n\n\n\n\n\n\n {var _props =\n this.props;var children = _props.children;var showFirstRun = _props.showFirstRun;var onCloseFirstRun = _props.onCloseFirstRun;\n\n return (\n _react2.default.createElement('div', { className: _application2.default.container },\n _react2.default.createElement(_modals.FirstRun, {\n visible: showFirstRun,\n onClose: onCloseFirstRun }),\n _react2.default.createElement(_ui.Tooltips, null),\n _react2.default.createElement(_ui.Errors, null),\n children));\n\n\n } }]);return Container;}(_react.Component), _class.propTypes = { children: _react.PropTypes.node, showFirstRun: _react.PropTypes.bool, onCloseFirstRun: _react.PropTypes.func }, _temp);exports.default = Container;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/Container/container.js\n ** module id = 966\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/Container/container.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _container = __webpack_require__(966);var _container2 = _interopRequireDefault(_container);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _container2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/Container/index.js\n ** module id = 967\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/Container/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _ParityBar = __webpack_require__(684);var _ParityBar2 = _interopRequireDefault(_ParityBar);\n\nvar _application = __webpack_require__(789);var _application2 = _interopRequireDefault(_application);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nDappContainer = (_temp = _class = function (_Component) {(0, _inherits3.default)(DappContainer, _Component);function DappContainer() {(0, _classCallCheck3.default)(this, DappContainer);return (0, _possibleConstructorReturn3.default)(this, (DappContainer.__proto__ || (0, _getPrototypeOf2.default)(DappContainer)).apply(this, arguments));}(0, _createClass3.default)(DappContainer, [{ key: 'render', value: function render()\n\n\n\n\n {var\n children = this.props.children;\n\n return (\n _react2.default.createElement('div', { className: _application2.default.container },\n children,\n _react2.default.createElement(_ParityBar2.default, null)));\n\n\n } }]);return DappContainer;}(_react.Component), _class.propTypes = { children: _react.PropTypes.node }, _temp);exports.default = DappContainer;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/DappContainer/dappContainer.js\n ** module id = 968\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/DappContainer/dappContainer.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _dappContainer = __webpack_require__(968);var _dappContainer2 = _interopRequireDefault(_dappContainer);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _dappContainer2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/DappContainer/index.js\n ** module id = 969\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/DappContainer/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _frameError = __webpack_require__(1542);var _frameError2 = _interopRequireDefault(_frameError);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\nvar FrameError = function (_Component) {(0, _inherits3.default)(FrameError, _Component);function FrameError() {(0, _classCallCheck3.default)(this, FrameError);return (0, _possibleConstructorReturn3.default)(this, (FrameError.__proto__ || (0, _getPrototypeOf2.default)(FrameError)).apply(this, arguments));}(0, _createClass3.default)(FrameError, [{ key: 'render', value: function render() {return _react2.default.createElement('div', { className: _frameError2.default.error }, 'ERROR: This application cannot and should not be loaded in an embedded iFrame');} }]);return FrameError;}(_react.Component);exports.default = FrameError;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/FrameError/frameError.js\n ** module id = 970\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/FrameError/frameError.js?"); },function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _frameError = __webpack_require__(970);var _frameError2 = _interopRequireDefault(_frameError);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _frameError2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/FrameError/index.js\n ** module id = 971\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/FrameError/index.js?")},[1604,973],function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\n\nvar _status = __webpack_require__(1543);var _status2 = _interopRequireDefault(_status);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nStatus = (_temp = _class = function (_Component) {(0, _inherits3.default)(Status, _Component);function Status() {(0, _classCallCheck3.default)(this, Status);return (0, _possibleConstructorReturn3.default)(this, (Status.__proto__ || (0, _getPrototypeOf2.default)(Status)).apply(this, arguments));}(0, _createClass3.default)(Status, [{ key: 'render', value: function render()\n\n\n\n\n\n\n\n\n {var _props =\n this.props;var clientVersion = _props.clientVersion;var blockNumber = _props.blockNumber;var netChain = _props.netChain;var netPeers = _props.netPeers;var isTest = _props.isTest;\n var netStyle = _status2.default.network + ' ' + _status2.default[isTest ? 'networktest' : 'networklive'];\n\n if (!blockNumber) {\n return null;\n }\n\n return (\n _react2.default.createElement('div', { className: _status2.default.status },\n _react2.default.createElement('div', { className: _status2.default.version },\n clientVersion),\n\n _react2.default.createElement('div', { className: _status2.default.netinfo },\n _react2.default.createElement('div', null,\n _react2.default.createElement('div', { className: _status2.default.block },\n blockNumber.toFormat(), ' blocks'),\n\n _react2.default.createElement('div', { className: _status2.default.peers },\n netPeers.active.toFormat(), '/', netPeers.connected.toFormat(), '/', netPeers.max.toFormat(), ' peers')),\n\n\n _react2.default.createElement('div', { className: netStyle },\n isTest ? 'test' : netChain))));\n\n\n\n\n } }]);return Status;}(_react.Component), _class.propTypes = { blockNumber: _react.PropTypes.object, clientVersion: _react.PropTypes.string, netPeers: _react.PropTypes.object, netChain: _react.PropTypes.string, isTest: _react.PropTypes.bool }, _temp);\n\n\nfunction mapStateToProps(state) {var _state$nodeStatus =\n state.nodeStatus;var blockNumber = _state$nodeStatus.blockNumber;var clientVersion = _state$nodeStatus.clientVersion;var netPeers = _state$nodeStatus.netPeers;var netChain = _state$nodeStatus.netChain;var isTest = _state$nodeStatus.isTest;\n\n return {\n blockNumber: blockNumber,\n clientVersion: clientVersion,\n netPeers: netPeers,\n netChain: netChain,\n isTest: isTest };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nStatus);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/Status/status.js\n ** module id = 973\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/Status/status.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _tabBar = __webpack_require__(975);var _tabBar2 = _interopRequireDefault(_tabBar);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _tabBar2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/TabBar/index.js\n ** module id = 974\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/TabBar/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _assign = __webpack_require__(40);var _assign2 = _interopRequireDefault(_assign);var _stringify = __webpack_require__(69);var _stringify2 = _interopRequireDefault(_stringify);var _keys = __webpack_require__(41);var _keys2 = _interopRequireDefault(_keys);var _defineProperty2 = __webpack_require__(101);var _defineProperty3 = _interopRequireDefault(_defineProperty2);var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _materialUi = __webpack_require__(18);\nvar _Toolbar = __webpack_require__(105);\nvar _Tabs = __webpack_require__(137);\nvar _accountBalanceWallet = __webpack_require__(1381);var _accountBalanceWallet2 = _interopRequireDefault(_accountBalanceWallet);\nvar _trackChanges = __webpack_require__(1390);var _trackChanges2 = _interopRequireDefault(_trackChanges);\nvar _settings = __webpack_require__(1389);var _settings2 = _interopRequireDefault(_settings);\nvar _contacts = __webpack_require__(1393);var _contacts2 = _interopRequireDefault(_contacts);\nvar _apps = __webpack_require__(1400);var _apps2 = _interopRequireDefault(_apps);\nvar _removeRedEye = __webpack_require__(1398);var _removeRedEye2 = _interopRequireDefault(_removeRedEye);\n\nvar _ui = __webpack_require__(26);\n\nvar _tabBar = __webpack_require__(1544);var _tabBar2 = _interopRequireDefault(_tabBar);\nvar _ethcoreBlock = __webpack_require__(1216);var _ethcoreBlock2 = _interopRequireDefault(_ethcoreBlock);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}\n\nvar TABMAP = {\n accounts: 'account',\n addresses: 'address',\n apps: 'app',\n contracts: 'contract' };\n\nvar LS_VIEWS = 'views';var\n\nTabBar = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(TabBar, _Component);function TabBar() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, TabBar);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = TabBar.__proto__ || (0, _getPrototypeOf2.default)(TabBar)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n state = {\n accountsVisible: true,\n addressesVisible: true,\n appsVisible: true,\n statusVisible: true,\n signerVisible: true,\n activeRoute: '/accounts' }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n renderLabel = function (name, bubble) {\n return (\n _react2.default.createElement('div', { className: _tabBar2.default.label },\n name,\n bubble));\n\n\n }, _this.\n\n renderSignerLabel = function (label) {var\n pending = _this.props.pending;\n var bubble = null;\n\n if (pending && pending.length) {\n bubble =\n _react2.default.createElement(_ui.Badge, {\n color: 'red',\n className: _tabBar2.default.labelBubble,\n value: pending.length });\n\n }\n\n return _this.renderLabel(label, bubble);\n }, _this.\n\n renderStatusLabel = function (label) {var _this$props =\n _this.props;var isTest = _this$props.isTest;var netChain = _this$props.netChain;\n var bubble =\n _react2.default.createElement(_ui.Badge, {\n color: isTest ? 'red' : 'default',\n className: _tabBar2.default.labelBubble,\n value: isTest ? 'TEST' : netChain });\n\n\n return _this.renderLabel(label, bubble);\n }, _this.\n\n\n\n\n\n onActivate = function (activeRoute) {var\n router = _this.context.router;\n\n router.push(activeRoute);\n _this.setState(activeRoute);\n }, _this.\n\n toggleMenu = function (event, menu) {\n var id = menu.props['data-id'];\n var toggle = _this.visibleId(id);\n var isActive = _this.state[toggle];\n\n if (_this.tabs[id].fixed) {\n return;\n }\n\n _this.setState((0, _defineProperty3.default)({},\n toggle, !isActive),\n _this.saveViews);\n }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n saveViews = function () {\n var lsdata = _this.getDefaultViews();\n\n (0, _keys2.default)(lsdata).forEach(function (id) {\n lsdata[id].active = _this.state[_this.visibleId(id)];\n });\n\n window.localStorage.setItem(LS_VIEWS, (0, _stringify2.default)(lsdata));\n }, _this.\n\n tabs = {\n accounts: {\n active: true,\n fixed: true,\n icon: _react2.default.createElement(_accountBalanceWallet2.default, null),\n label: 'Accounts',\n route: '/accounts',\n value: 'account',\n body: _react2.default.createElement(_ui.Tooltip, { className: _tabBar2.default.tabbarTooltip, text: 'navigate between the different parts and views of the application, switching between an account view, token view and distributed application view' }) },\n\n addresses: {\n active: true,\n icon: _react2.default.createElement(_contacts2.default, null),\n label: 'Addressbook',\n route: '/addresses',\n value: 'address' },\n\n apps: {\n active: true,\n icon: _react2.default.createElement(_apps2.default, null),\n label: 'Applications',\n route: '/apps',\n value: 'app' },\n\n status: {\n active: true,\n icon: _react2.default.createElement(_trackChanges2.default, null),\n label: 'Status',\n renderLabel: _this.renderStatusLabel,\n route: '/status',\n value: 'status' },\n\n signer: {\n active: true,\n fixed: true,\n icon: _react2.default.createElement(_ui.SignerIcon, { className: _tabBar2.default.signerIcon }),\n label: 'Signer',\n renderLabel: _this.renderSignerLabel,\n route: '/signer',\n value: 'signer' } }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(TabBar, [{ key: 'componentDidMount', value: function componentDidMount() {this.loadViews();} }, { key: 'render', value: function render() {return _react2.default.createElement(_Toolbar.Toolbar, { className: _tabBar2.default.toolbar }, this.renderLogo(), this.renderTabs(), this.renderSettingsMenu());} }, { key: 'renderLogo', value: function renderLogo() {return _react2.default.createElement(_Toolbar.ToolbarGroup, null, _react2.default.createElement('div', { className: _tabBar2.default.logo }, _react2.default.createElement('img', { src: _ethcoreBlock2.default }), _react2.default.createElement('div', null, 'Parity')));} }, { key: 'renderSettingsMenu', value: function renderSettingsMenu() {var _this2 = this;var items = (0, _keys2.default)(this.tabs).map(function (id) {var tab = _this2.tabs[id];var isActive = _this2.state[_this2.visibleId(id)];var icon = _react2.default.createElement(_removeRedEye2.default, { className: isActive ? _tabBar2.default.optionSelected : _tabBar2.default.optionUnselected });return _react2.default.createElement(_materialUi.MenuItem, { className: tab.fixed ? _tabBar2.default.menuDisabled : _tabBar2.default.menuEnabled, leftIcon: icon, key: id, 'data-id': id, disabled: tab.fixed, primaryText: tab.label });});return _react2.default.createElement(_Toolbar.ToolbarGroup, null, _react2.default.createElement(_materialUi.IconMenu, { className: _tabBar2.default.settings, iconButtonElement: _react2.default.createElement(_materialUi.IconButton, null, _react2.default.createElement(_settings2.default, null)), anchorOrigin: { horizontal: 'right', vertical: 'bottom' }, targetOrigin: { horizontal: 'right', vertical: 'bottom' }, touchTapCloseDelay: 0, onItemTouchTap: this.toggleMenu }, items));} }, { key: 'renderTabs', value: function renderTabs() {var _this3 = this;var windowHash = (window.location.hash || '').split('?')[0].split('/')[1];var hash = TABMAP[windowHash] || windowHash;var items = (0, _keys2.default)(this.tabs).filter(function (id) {var tab = _this3.tabs[id];var isFixed = tab.fixed;var isVisible = _this3.state[_this3.visibleId(id)];return isFixed || isVisible;}).map(function (id) {var tab = _this3.tabs[id];var onActivate = function onActivate() {return _this3.onActivate(tab.route);};return _react2.default.createElement(_Tabs.Tab, { className: hash === tab.value ? _tabBar2.default.tabactive : '', value: tab.value, icon: tab.icon, key: id, label: tab.renderLabel ? tab.renderLabel(tab.label) : _this3.renderLabel(tab.label), onActive: onActivate }, tab.body);});return _react2.default.createElement(_Tabs.Tabs, { className: _tabBar2.default.tabs, value: hash }, items);} }, { key: 'visibleId', value: function visibleId(id) {return id + 'Visible';} }, { key: 'getDefaultViews', value: function getDefaultViews() {var _this4 = this;var views = {};(0, _keys2.default)(this.tabs).forEach(function (id) {var tab = _this4.tabs[id];views[id] = { active: tab.active || false };});return views;} }, { key: 'loadViews', value: function loadViews() {var _this5 = this;var defaults = this.getDefaultViews();var state = {};var lsdata = void 0;try {var json = window.localStorage.getItem(LS_VIEWS) || {};lsdata = (0, _assign2.default)(defaults, JSON.parse(json));} catch (e) {lsdata = defaults;}(0, _keys2.default)(lsdata).forEach(function (id) {state[_this5.visibleId(id)] = lsdata[id].active;});this.setState(state, this.saveViews);} }]);return TabBar;}(_react.Component), _class.contextTypes = { router: _react.PropTypes.object.isRequired }, _class.propTypes = { pending: _react.PropTypes.array, isTest: _react.PropTypes.bool, netChain: _react.PropTypes.string }, _temp2);exports.default = TabBar;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/TabBar/tabBar.js\n ** module id = 975\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/TabBar/tabBar.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _slicedToArray2 = __webpack_require__(111);var _slicedToArray3 = _interopRequireDefault(_slicedToArray2);var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\n\nvar _Container = __webpack_require__(967);var _Container2 = _interopRequireDefault(_Container);\nvar _DappContainer = __webpack_require__(969);var _DappContainer2 = _interopRequireDefault(_DappContainer);\nvar _FrameError = __webpack_require__(971);var _FrameError2 = _interopRequireDefault(_FrameError);\nvar _Status = __webpack_require__(972);var _Status2 = _interopRequireDefault(_Status);\nvar _TabBar = __webpack_require__(974);var _TabBar2 = _interopRequireDefault(_TabBar);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}\n\nvar inFrame = window.parent !== window && window.parent.frames.length !== 0;var\n\nApplication = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Application, _Component);function Application() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Application);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Application.__proto__ || (0, _getPrototypeOf2.default)(Application)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n\n state = {\n showFirstRun: false }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n onCloseFirstRun = function () {\n _this.setState({\n showFirstRun: false });\n\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Application, [{ key: 'componentWillMount', value: function componentWillMount() {this.checkAccounts();} }, { key: 'render', value: function render() {var _props = this.props;var children = _props.children;var pending = _props.pending;var netChain = _props.netChain;var isTest = _props.isTest;var showFirstRun = this.state.showFirstRun;var _replace$split = (window.location.hash || '').replace('#/', '').split('/');var _replace$split2 = (0, _slicedToArray3.default)(_replace$split, 1);var root = _replace$split2[0];if (inFrame) {return _react2.default.createElement(_FrameError2.default, null);} else if (root === 'app') {return _react2.default.createElement(_DappContainer2.default, null, children);}return _react2.default.createElement(_Container2.default, { showFirstRun: showFirstRun, onCloseFirstRun: this.onCloseFirstRun }, _react2.default.createElement(_TabBar2.default, { netChain: netChain, isTest: isTest, pending: pending }), children, _react2.default.createElement(_Status2.default, null));} }, { key: 'checkAccounts', value: function checkAccounts() {var _this2 = this;var api = this.context.api;api.personal.listAccounts().then(function (accounts) {_this2.setState({ showFirst: accounts.length === 0 });}).catch(function (error) {console.error('checkAccounts', error);});} }]);return Application;}(_react.Component), _class.contextTypes = { api: _react.PropTypes.object.isRequired }, _class.propTypes = { children: _react.PropTypes.node, netChain: _react.PropTypes.string, isTest: _react.PropTypes.bool, pending: _react.PropTypes.array }, _temp2);\n\n\nfunction mapStateToProps(state) {var _state$nodeStatus =\n state.nodeStatus;var netChain = _state$nodeStatus.netChain;var isTest = _state$nodeStatus.isTest;var\n hasAccounts = state.personal.hasAccounts;var\n pending = state.signerRequests.pending;\n\n return {\n hasAccounts: hasAccounts,\n netChain: netChain,\n isTest: isTest,\n pending: pending };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nApplication);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/application.js\n ** module id = 976\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/application.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _application = __webpack_require__(976);var _application2 = _interopRequireDefault(_application);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _application2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Application/index.js\n ** module id = 977\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Application/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _promise = __webpack_require__(39);var _promise2 = _interopRequireDefault(_promise);var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _Container = __webpack_require__(256);var _Container2 = _interopRequireDefault(_Container);\n\nvar _contract = __webpack_require__(1545);var _contract2 = _interopRequireDefault(_contract);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}\n\nfunction nicename(name) {\n return name.split(/(?=[A-Z])/).join(' ');\n}var\n\nContract = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Contract, _Component);function Contract() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Contract);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Contract.__proto__ || (0, _getPrototypeOf2.default)(Contract)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n queryContract = function () {\n var contract = _this._findContract();\n var queries = _this._findQueries(contract);\n\n if (!queries) {\n setTimeout(_this.queryContract, 5000);\n return;\n }\n\n var promises = [];\n\n queries.forEach(function (query) {\n if (!query.inputs.length) {\n promises.push(query.call());\n }\n });\n\n _promise2.default.\n all(promises).\n then(function (returns) {\n console.log(returns);\n setTimeout(_this.queryContract, 5000);\n });\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Contract, [{ key: 'componentDidMount', value: function componentDidMount() {this.queryContract();} }, { key: 'render', value: function render() {var contract = this._findContract();if (!contract) {return null;}return _react2.default.createElement('div', null, this.renderQueries(contract), this.renderFunctions(contract), this.renderEvents(contract));} }, { key: 'renderEvents', value: function renderEvents(contract) {var events = this._findEvents(contract).map(function (fn) {return _react2.default.createElement('div', { key: fn.signature, className: _contract2.default.method }, nicename(fn.name));});return _react2.default.createElement(_Container2.default, null, _react2.default.createElement('h2', null, 'events'), _react2.default.createElement('div', { className: _contract2.default.methods }, events));} }, { key: 'renderFunctions', value: function renderFunctions(contract) {var functions = this._findFunctions(contract).map(function (fn) {return _react2.default.createElement('div', { key: fn.signature, className: _contract2.default.method }, nicename(fn.name));});return _react2.default.createElement(_Container2.default, null, _react2.default.createElement('h2', null, 'functions'), _react2.default.createElement('div', { className: _contract2.default.methods }, functions));} }, { key: 'renderQueries', value: function renderQueries(contract) {var queries = this._findQueries(contract).map(function (fn) {return _react2.default.createElement('div', { key: fn.signature, className: _contract2.default.method }, nicename(fn.name));});return _react2.default.createElement(_Container2.default, null, _react2.default.createElement('h2', null, 'queries'), _react2.default.createElement('div', { className: _contract2.default.methods }, queries));} }, { key: '_sortContracts', value: function _sortContracts(a, b) {return a.name.localeCompare(b.name);} }, { key: '_findContract', value: function _findContract() {if (!this.props.params.address || !this.context.contracts) {return null;}var address = this.props.params.address.toLowerCase();var contract = this.context.contracts.find(function (c) {return c.address.toLowerCase() === address;});return !contract ? null : contract.contract;} }, { key: '_findEvents', value: function _findEvents(contract) {return !contract ? null : contract.events.sort(this._sortContracts);} }, { key: '_findQueries', value: function _findQueries(contract) {return !contract ? null : contract.functions.filter(function (fn) {return fn.constant;}).sort(this._sortContracts);} }, { key: '_findFunctions', value: function _findFunctions(contract) {return !contract ? null : contract.functions.filter(function (fn) {return !fn.constant;}).sort(this._sortContracts);} }]);return Contract;}(_react.Component), _class.contextTypes = { api: _react2.default.PropTypes.object.isRequired, contracts: _react.PropTypes.array.isRequired }, _class.propTypes = { params: _react.PropTypes.object }, _temp2);exports.default = Contract;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Contract/contract.js\n ** module id = 978\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Contract/contract.js?"); -},[1599,978],[1603,981],function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRouter = __webpack_require__(431);\n\nvar _Container = __webpack_require__(256);var _Container2 = _interopRequireDefault(_Container);\nvar _IdentityIcon = __webpack_require__(51);var _IdentityIcon2 = _interopRequireDefault(_IdentityIcon);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nSummary = (_temp = _class = function (_Component) {(0, _inherits3.default)(Summary, _Component);function Summary() {(0, _classCallCheck3.default)(this, Summary);return (0, _possibleConstructorReturn3.default)(this, (Summary.__proto__ || (0, _getPrototypeOf2.default)(Summary)).apply(this, arguments));}(0, _createClass3.default)(Summary, [{ key: 'render', value: function render()\n\n\n\n\n\n\n\n\n\n {\n var contract = this.props.contract;\n\n if (!contract) {\n return null;\n }\n\n var viewLink = '/app/' + contract.address;\n\n return (\n _react2.default.createElement(_Container2.default, null,\n _react2.default.createElement(_IdentityIcon2.default, {\n address: contract.address }),\n _react2.default.createElement(_Container.Title, {\n title: _react2.default.createElement(_reactRouter.Link, { to: viewLink }, contract.name || 'Unnamed'),\n byline: contract.address }),\n this.props.children));\n\n\n } }]);return Summary;}(_react.Component), _class.contextTypes = { api: _react2.default.PropTypes.object.isRequired }, _class.propTypes = { contract: _react.PropTypes.object.isRequired, children: _react.PropTypes.node }, _temp);exports.default = Summary;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Contracts/Summary/summary.js\n ** module id = 981\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Contracts/Summary/summary.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _Summary = __webpack_require__(980);var _Summary2 = _interopRequireDefault(_Summary);\n\nvar _contracts = __webpack_require__(1546);var _contracts2 = _interopRequireDefault(_contracts);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nContracts = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Contracts, _Component);function Contracts() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Contracts);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Contracts.__proto__ || (0, _getPrototypeOf2.default)(Contracts)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n state = {}, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Contracts, [{ key: 'render', value: function render()\n\n\n {\n return (\n _react2.default.createElement('div', null,\n _react2.default.createElement('div', { className: _contracts2.default.contracts },\n this.renderContracts())));\n\n\n\n } }, { key: 'renderContracts', value: function renderContracts()\n\n {\n if (!this.context.contracts) {\n return null;\n }\n\n return this.context.contracts.map(function (contract, idx) {\n return (\n _react2.default.createElement('div', {\n className: _contracts2.default.contract,\n key: contract.address },\n _react2.default.createElement(_Summary2.default, {\n contract: contract })));\n\n\n });\n } }]);return Contracts;}(_react.Component), _class.contextTypes = { api: _react.PropTypes.object.isRequired, contracts: _react.PropTypes.array.isRequired }, _temp2);exports.default = Contracts;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Contracts/contracts.js\n ** module id = 982\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Contracts/contracts.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _contracts = __webpack_require__(982);var _contracts2 = _interopRequireDefault(_contracts);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _contracts2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Contracts/index.js\n ** module id = 983\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Contracts/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _dapp = __webpack_require__(1547);var _dapp2 = _interopRequireDefault(_dapp);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nDapp = (_temp = _class = function (_Component) {(0, _inherits3.default)(Dapp, _Component);function Dapp() {(0, _classCallCheck3.default)(this, Dapp);return (0, _possibleConstructorReturn3.default)(this, (Dapp.__proto__ || (0, _getPrototypeOf2.default)(Dapp)).apply(this, arguments));}(0, _createClass3.default)(Dapp, [{ key: 'render', value: function render()\n\n\n\n\n {var\n name = this.props.params.name;\n var src = name + '.html';\n\n return (\n _react2.default.createElement('iframe', {\n className: _dapp2.default.frame,\n frameBorder: 0,\n name: name,\n sandbox: 'allow-scripts',\n scrolling: 'auto',\n src: src }));\n\n\n } }]);return Dapp;}(_react.Component), _class.propTypes = { params: _react.PropTypes.object }, _temp);exports.default = Dapp;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Dapp/dapp.js\n ** module id = 984\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Dapp/dapp.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _dapp = __webpack_require__(984);var _dapp2 = _interopRequireDefault(_dapp);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _dapp2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Dapp/index.js\n ** module id = 985\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Dapp/index.js?")},[1603,987],function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRouter = __webpack_require__(431);\n\nvar _Container = __webpack_require__(256);var _Container2 = _interopRequireDefault(_Container);\nvar _IdentityIcon = __webpack_require__(51);var _IdentityIcon2 = _interopRequireDefault(_IdentityIcon);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nSummary = (_temp = _class = function (_Component) {(0, _inherits3.default)(Summary, _Component);function Summary() {(0, _classCallCheck3.default)(this, Summary);return (0, _possibleConstructorReturn3.default)(this, (Summary.__proto__ || (0, _getPrototypeOf2.default)(Summary)).apply(this, arguments));}(0, _createClass3.default)(Summary, [{ key: 'render', value: function render()\n\n\n\n\n\n\n\n\n\n\n {var _props =\n this.props;var app = _props.app;var tokens = _props.tokens;\n\n if (!app) {\n return null;\n }\n\n var url = '/app/' + app.url;\n\n return (\n _react2.default.createElement(_Container2.default, null,\n _react2.default.createElement(_IdentityIcon2.default, {\n address: app.address,\n tokens: tokens }),\n _react2.default.createElement(_Container.Title, {\n title: _react2.default.createElement(_reactRouter.Link, { to: url }, app.name),\n byline: app.description }),\n this.props.children));\n\n\n } }]);return Summary;}(_react.Component), _class.contextTypes = { api: _react2.default.PropTypes.object }, _class.propTypes = { app: _react.PropTypes.object.isRequired, tokens: _react.PropTypes.object, children: _react.PropTypes.node }, _temp);exports.default = Summary;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Dapps/Summary/summary.js\n ** module id = 987\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Dapps/Summary/summary.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\n\nvar _ui = __webpack_require__(26);\n\nvar _Summary = __webpack_require__(986);var _Summary2 = _interopRequireDefault(_Summary);\n\nvar _dapps = __webpack_require__(1548);var _dapps2 = _interopRequireDefault(_dapps);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nDapps = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Dapps, _Component);function Dapps() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Dapps);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Dapps.__proto__ || (0, _getPrototypeOf2.default)(Dapps)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n state = {\n apps: [\n {\n name: 'GAVcoin',\n address: '0x6C5b287A875298f773225e72ce3fA8B2782e0347',\n description: 'Manage your GAVcoins, the hottest new property in crypto',\n url: 'gavcoin' },\n\n {\n name: 'Registry',\n address: '0x8E4e9B13D4b45Cb0befC93c3061b1408f67316B2',\n description: 'A global registry of addresses on the network',\n url: 'registry' },\n\n {\n name: 'Token Registry',\n address: '0x1AE76cf6Ee3955F773C429801a203f08c84B7cc5',\n description: 'A registry of transactable tokens on the network',\n url: 'tokenreg' }] }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Dapps, [{ key: 'render', value: function render()\n\n\n\n\n {\n return (\n _react2.default.createElement('div', null,\n _react2.default.createElement(_ui.Actionbar, {\n title: 'Decentralized Applications' }),\n _react2.default.createElement(_ui.Page, null,\n _react2.default.createElement('div', { className: _dapps2.default.contracts },\n this.renderApps()))));\n\n\n\n\n } }, { key: 'renderApps', value: function renderApps()\n\n {var\n tokens = this.props.tokens;var\n apps = this.state.apps;\n\n return apps.map(function (app, idx) {\n return (\n _react2.default.createElement('div', {\n className: _dapps2.default.contract,\n key: app.address },\n _react2.default.createElement(_Summary2.default, {\n app: app,\n tokens: tokens })));\n\n\n });\n } }]);return Dapps;}(_react.Component), _class.contextTypes = { api: _react.PropTypes.object.isRequired }, _class.propTypes = { tokens: _react.PropTypes.object }, _temp2);\n\n\nfunction mapStateToProps(state) {var\n tokens = state.balances.tokens;\n\n return {\n tokens: tokens };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nDapps);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Dapps/dapps.js\n ** module id = 988\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Dapps/dapps.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _dapps = __webpack_require__(988);var _dapps2 = _interopRequireDefault(_dapps);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _dapps2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Dapps/index.js\n ** module id = 989\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Dapps/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRouter = __webpack_require__(431);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\nvar _clear = __webpack_require__(106);var _clear2 = _interopRequireDefault(_clear);\n\nvar _ui = __webpack_require__(26);\nvar _Signer = __webpack_require__(692);\n\nvar _ethcoreBlockBlue = __webpack_require__(1215);var _ethcoreBlockBlue2 = _interopRequireDefault(_ethcoreBlockBlue);\nvar _parityBar = __webpack_require__(1549);var _parityBar2 = _interopRequireDefault(_parityBar);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nParityBar = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(ParityBar, _Component);function ParityBar() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, ParityBar);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = ParityBar.__proto__ || (0, _getPrototypeOf2.default)(ParityBar)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n state = {\n opened: false }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n toggleDisplay = function () {var\n opened = _this.state.opened;\n\n _this.setState({\n opened: !opened });\n\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(ParityBar, [{ key: 'render', value: function render() {var opened = this.state.opened;return opened ? this.renderExpanded() : this.renderBar();} }, { key: 'renderBar', value: function renderBar() {var parityIcon = _react2.default.createElement('img', { src: _ethcoreBlockBlue2.default, className: _parityBar2.default.parityIcon });return _react2.default.createElement('div', { className: _parityBar2.default.bar }, _react2.default.createElement('div', { className: _parityBar2.default.corner }, _react2.default.createElement(_reactRouter.Link, { to: '/apps' }, _react2.default.createElement(_ui.Button, { className: _parityBar2.default.button, icon: parityIcon, label: this.renderLabel('Parity') })), _react2.default.createElement(_ui.Button, { className: _parityBar2.default.button, icon: _react2.default.createElement(_ui.SignerIcon, { className: _parityBar2.default.signerIcon }), label: this.renderSignerLabel(), onClick: this.toggleDisplay })));} }, { key: 'renderExpanded', value: function renderExpanded() {return _react2.default.createElement('div', { className: _parityBar2.default.expanded }, _react2.default.createElement('div', { className: _parityBar2.default.header }, _react2.default.createElement('div', { className: _parityBar2.default.title }, _react2.default.createElement(_ui.ContainerTitle, { title: 'Parity Signer: Pending' })), _react2.default.createElement('div', { className: _parityBar2.default.actions }, _react2.default.createElement(_ui.Button, { icon: _react2.default.createElement(_clear2.default, null), label: 'Close', onClick: this.toggleDisplay }))), _react2.default.createElement(_Signer.Embedded, null));} }, { key: 'renderLabel', value: function renderLabel(name, bubble) {return _react2.default.createElement('div', { className: _parityBar2.default.label }, _react2.default.createElement('div', { className: _parityBar2.default.labelText }, name), bubble);} }, { key: 'renderSignerLabel', value: function renderSignerLabel() {var pending = this.props.pending;var bubble = null;if (pending && pending.length) {bubble = _react2.default.createElement(_ui.Badge, { color: 'red', className: _parityBar2.default.labelBubble, value: pending.length });}return this.renderLabel('Signer', bubble);} }]);return ParityBar;}(_react.Component), _class.propTypes = { pending: _react.PropTypes.array }, _temp2);\n\n\nfunction mapStateToProps(state) {var\n pending = state.signerRequests.pending;\n\n return {\n pending: pending };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nParityBar);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/ParityBar/parityBar.js\n ** module id = 990\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/ParityBar/parityBar.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\n\nvar _Account = __webpack_require__(1550);var _Account2 = _interopRequireDefault(_Account);\n\nvar _ui = __webpack_require__(26);\nvar _AccountLink = __webpack_require__(993);var _AccountLink2 = _interopRequireDefault(_AccountLink);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nAccount = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Account, _Component);function Account() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Account);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Account.__proto__ || (0, _getPrototypeOf2.default)(Account)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n state = {\n balanceDisplay: '?' }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Account, [{ key: 'componentWillMount', value: function componentWillMount()\n\n\n {\n this.updateBalanceDisplay(this.props.balance);\n } }, { key: 'componentWillReceiveProps', value: function componentWillReceiveProps(\n\n nextProps) {\n if (nextProps.balance === this.props.balance) {\n return;\n }\n this.updateBalanceDisplay(nextProps.balance);\n } }, { key: 'updateBalanceDisplay', value: function updateBalanceDisplay(\n\n balance) {\n this.setState({\n balanceDisplay: balance ? balance.div(1e18).toFormat(3) : '?' });\n\n } }, { key: 'render', value: function render()\n\n {var _props =\n this.props;var address = _props.address;var chain = _props.chain;var className = _props.className;var tokens = _props.tokens;\n\n return (\n _react2.default.createElement('div', { className: _Account2.default.acc + ' ' + className, title: this.renderTitle() },\n _react2.default.createElement(_AccountLink2.default, { address: address, chain: chain },\n _react2.default.createElement(_ui.IdentityIcon, {\n center: true,\n address: address,\n tokens: tokens })),\n\n this.renderName(),\n this.renderBalance()));\n\n\n } }, { key: 'renderTitle', value: function renderTitle()\n\n {var\n address = this.props.address;\n var name = this._retrieveName();\n\n if (name) {\n return address + ' ' + name;\n }\n\n return address;\n } }, { key: 'renderBalance', value: function renderBalance()\n\n {var\n balanceDisplay = this.state.balanceDisplay;\n return (\n _react2.default.createElement('span', null, ' ', _react2.default.createElement('strong', null, balanceDisplay), ' ', _react2.default.createElement('small', null, 'ETH')));\n\n } }, { key: 'renderName', value: function renderName()\n\n {var\n address = this.props.address;\n var name = this._retrieveName();\n\n if (!name) {\n return (\n _react2.default.createElement(_AccountLink2.default, { address: address, chain: this.props.chain }, '[',\n this.shortAddress(address), ']'));\n\n\n }\n\n return (\n _react2.default.createElement(_AccountLink2.default, { address: address, chain: this.props.chain },\n _react2.default.createElement('span', null,\n _react2.default.createElement('span', { className: _Account2.default.name }, name),\n _react2.default.createElement('span', { className: _Account2.default.address }, '[', this.tinyAddress(address), ']'))));\n\n\n\n } }, { key: '_retrieveName', value: function _retrieveName()\n\n {var _props2 =\n this.props;var address = _props2.address;var accounts = _props2.accounts;var contacts = _props2.contacts;var tokens = _props2.tokens;\n var account = (accounts || {})[address] || (contacts || {})[address] || (tokens || {})[address];\n\n return account ?\n account.name :\n null;\n } }, { key: 'tinyAddress', value: function tinyAddress()\n\n {var\n address = this.props.address;\n var len = address.length;\n return address.slice(2, 4) + '..' + address.slice(len - 2);\n } }, { key: 'shortAddress', value: function shortAddress()\n\n {var\n address = this.props.address;\n var len = address.length;\n return address.slice(2, 8) + '..' + address.slice(len - 7);\n } }]);return Account;}(_react.Component), _class.propTypes = { className: _react.PropTypes.string, accounts: _react.PropTypes.object, contacts: _react.PropTypes.object, tokens: _react.PropTypes.object, address: _react.PropTypes.string.isRequired, chain: _react.PropTypes.string.isRequired, balance: _react.PropTypes.object // eth BigNumber, not required since it mght take time to fetch\n}, _temp2);\n\nfunction mapStateToProps(state) {var _state$personal =\n state.personal;var accounts = _state$personal.accounts;var contacts = _state$personal.contacts;var\n tokens = state.balances.tokens;\n\n return {\n accounts: accounts,\n contacts: contacts,\n tokens: tokens };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nAccount);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/Account/Account.js\n ** module id = 991\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/Account/Account.js?"); +},[1599,978],[1603,981],function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRouter = __webpack_require__(431);\n\nvar _Container = __webpack_require__(256);var _Container2 = _interopRequireDefault(_Container);\nvar _IdentityIcon = __webpack_require__(51);var _IdentityIcon2 = _interopRequireDefault(_IdentityIcon);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nSummary = (_temp = _class = function (_Component) {(0, _inherits3.default)(Summary, _Component);function Summary() {(0, _classCallCheck3.default)(this, Summary);return (0, _possibleConstructorReturn3.default)(this, (Summary.__proto__ || (0, _getPrototypeOf2.default)(Summary)).apply(this, arguments));}(0, _createClass3.default)(Summary, [{ key: 'render', value: function render()\n\n\n\n\n\n\n\n\n\n {\n var contract = this.props.contract;\n\n if (!contract) {\n return null;\n }\n\n var viewLink = '/app/' + contract.address;\n\n return (\n _react2.default.createElement(_Container2.default, null,\n _react2.default.createElement(_IdentityIcon2.default, {\n address: contract.address }),\n _react2.default.createElement(_Container.Title, {\n title: _react2.default.createElement(_reactRouter.Link, { to: viewLink }, contract.name || 'Unnamed'),\n byline: contract.address }),\n this.props.children));\n\n\n } }]);return Summary;}(_react.Component), _class.contextTypes = { api: _react2.default.PropTypes.object.isRequired }, _class.propTypes = { contract: _react.PropTypes.object.isRequired, children: _react.PropTypes.node }, _temp);exports.default = Summary;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Contracts/Summary/summary.js\n ** module id = 981\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Contracts/Summary/summary.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _Summary = __webpack_require__(980);var _Summary2 = _interopRequireDefault(_Summary);\n\nvar _contracts = __webpack_require__(1546);var _contracts2 = _interopRequireDefault(_contracts);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nContracts = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Contracts, _Component);function Contracts() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Contracts);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Contracts.__proto__ || (0, _getPrototypeOf2.default)(Contracts)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n state = {}, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Contracts, [{ key: 'render', value: function render()\n\n\n {\n return (\n _react2.default.createElement('div', null,\n _react2.default.createElement('div', { className: _contracts2.default.contracts },\n this.renderContracts())));\n\n\n\n } }, { key: 'renderContracts', value: function renderContracts()\n\n {\n if (!this.context.contracts) {\n return null;\n }\n\n return this.context.contracts.map(function (contract, idx) {\n return (\n _react2.default.createElement('div', {\n className: _contracts2.default.contract,\n key: contract.address },\n _react2.default.createElement(_Summary2.default, {\n contract: contract })));\n\n\n });\n } }]);return Contracts;}(_react.Component), _class.contextTypes = { api: _react.PropTypes.object.isRequired, contracts: _react.PropTypes.array.isRequired }, _temp2);exports.default = Contracts;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Contracts/contracts.js\n ** module id = 982\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Contracts/contracts.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _contracts = __webpack_require__(982);var _contracts2 = _interopRequireDefault(_contracts);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _contracts2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Contracts/index.js\n ** module id = 983\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Contracts/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _dapp = __webpack_require__(1547);var _dapp2 = _interopRequireDefault(_dapp);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nDapp = (_temp = _class = function (_Component) {(0, _inherits3.default)(Dapp, _Component);function Dapp() {(0, _classCallCheck3.default)(this, Dapp);return (0, _possibleConstructorReturn3.default)(this, (Dapp.__proto__ || (0, _getPrototypeOf2.default)(Dapp)).apply(this, arguments));}(0, _createClass3.default)(Dapp, [{ key: 'render', value: function render()\n\n\n\n\n {var\n name = this.props.params.name;\n var src = 'http://localhost:8080/ui/' + name + '.html';\n\n return (\n _react2.default.createElement('iframe', {\n className: _dapp2.default.frame,\n frameBorder: 0,\n name: name,\n sandbox: 'allow-scripts',\n scrolling: 'auto',\n src: src }));\n\n\n } }]);return Dapp;}(_react.Component), _class.propTypes = { params: _react.PropTypes.object }, _temp);exports.default = Dapp;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Dapp/dapp.js\n ** module id = 984\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Dapp/dapp.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _dapp = __webpack_require__(984);var _dapp2 = _interopRequireDefault(_dapp);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _dapp2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Dapp/index.js\n ** module id = 985\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Dapp/index.js?")},[1603,987],function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRouter = __webpack_require__(431);\n\nvar _Container = __webpack_require__(256);var _Container2 = _interopRequireDefault(_Container);\nvar _IdentityIcon = __webpack_require__(51);var _IdentityIcon2 = _interopRequireDefault(_IdentityIcon);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nSummary = (_temp = _class = function (_Component) {(0, _inherits3.default)(Summary, _Component);function Summary() {(0, _classCallCheck3.default)(this, Summary);return (0, _possibleConstructorReturn3.default)(this, (Summary.__proto__ || (0, _getPrototypeOf2.default)(Summary)).apply(this, arguments));}(0, _createClass3.default)(Summary, [{ key: 'render', value: function render()\n\n\n\n\n\n\n\n\n\n\n {var _props =\n this.props;var app = _props.app;var tokens = _props.tokens;\n\n if (!app) {\n return null;\n }\n\n var url = '/app/' + app.url;\n\n return (\n _react2.default.createElement(_Container2.default, null,\n _react2.default.createElement(_IdentityIcon2.default, {\n address: app.address,\n tokens: tokens }),\n _react2.default.createElement(_Container.Title, {\n title: _react2.default.createElement(_reactRouter.Link, { to: url }, app.name),\n byline: app.description }),\n this.props.children));\n\n\n } }]);return Summary;}(_react.Component), _class.contextTypes = { api: _react2.default.PropTypes.object }, _class.propTypes = { app: _react.PropTypes.object.isRequired, tokens: _react.PropTypes.object, children: _react.PropTypes.node }, _temp);exports.default = Summary;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Dapps/Summary/summary.js\n ** module id = 987\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Dapps/Summary/summary.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\n\nvar _ui = __webpack_require__(26);\n\nvar _Summary = __webpack_require__(986);var _Summary2 = _interopRequireDefault(_Summary);\n\nvar _dapps = __webpack_require__(1548);var _dapps2 = _interopRequireDefault(_dapps);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nDapps = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Dapps, _Component);function Dapps() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Dapps);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Dapps.__proto__ || (0, _getPrototypeOf2.default)(Dapps)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n state = {\n apps: [\n {\n name: 'GAVcoin',\n address: '0x6C5b287A875298f773225e72ce3fA8B2782e0347',\n description: 'Manage your GAVcoins, the hottest new property in crypto',\n url: 'gavcoin' },\n\n {\n name: 'Registry',\n address: '0x8E4e9B13D4b45Cb0befC93c3061b1408f67316B2',\n description: 'A global registry of addresses on the network',\n url: 'registry' },\n\n {\n name: 'Token Registry',\n address: '0x1AE76cf6Ee3955F773C429801a203f08c84B7cc5',\n description: 'A registry of transactable tokens on the network',\n url: 'tokenreg' }] }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Dapps, [{ key: 'render', value: function render()\n\n\n\n\n {\n return (\n _react2.default.createElement('div', null,\n _react2.default.createElement(_ui.Actionbar, {\n title: 'Decentralized Applications' }),\n _react2.default.createElement(_ui.Page, null,\n _react2.default.createElement('div', { className: _dapps2.default.contracts },\n this.renderApps()))));\n\n\n\n\n } }, { key: 'renderApps', value: function renderApps()\n\n {var\n tokens = this.props.tokens;var\n apps = this.state.apps;\n\n return apps.map(function (app, idx) {\n return (\n _react2.default.createElement('div', {\n className: _dapps2.default.contract,\n key: app.address },\n _react2.default.createElement(_Summary2.default, {\n app: app,\n tokens: tokens })));\n\n\n });\n } }]);return Dapps;}(_react.Component), _class.contextTypes = { api: _react.PropTypes.object.isRequired }, _class.propTypes = { tokens: _react.PropTypes.object }, _temp2);\n\n\nfunction mapStateToProps(state) {var\n tokens = state.balances.tokens;\n\n return {\n tokens: tokens };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nDapps);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Dapps/dapps.js\n ** module id = 988\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Dapps/dapps.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _dapps = __webpack_require__(988);var _dapps2 = _interopRequireDefault(_dapps);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _dapps2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Dapps/index.js\n ** module id = 989\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Dapps/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRouter = __webpack_require__(431);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\nvar _clear = __webpack_require__(106);var _clear2 = _interopRequireDefault(_clear);\n\nvar _ui = __webpack_require__(26);\nvar _Signer = __webpack_require__(692);\n\nvar _ethcoreBlockBlue = __webpack_require__(1215);var _ethcoreBlockBlue2 = _interopRequireDefault(_ethcoreBlockBlue);\nvar _parityBar = __webpack_require__(1549);var _parityBar2 = _interopRequireDefault(_parityBar);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nParityBar = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(ParityBar, _Component);function ParityBar() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, ParityBar);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = ParityBar.__proto__ || (0, _getPrototypeOf2.default)(ParityBar)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n state = {\n opened: false }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n toggleDisplay = function () {var\n opened = _this.state.opened;\n\n _this.setState({\n opened: !opened });\n\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(ParityBar, [{ key: 'render', value: function render() {var opened = this.state.opened;return opened ? this.renderExpanded() : this.renderBar();} }, { key: 'renderBar', value: function renderBar() {var parityIcon = _react2.default.createElement('img', { src: _ethcoreBlockBlue2.default, className: _parityBar2.default.parityIcon });return _react2.default.createElement('div', { className: _parityBar2.default.bar }, _react2.default.createElement('div', { className: _parityBar2.default.corner }, _react2.default.createElement(_reactRouter.Link, { to: '/apps' }, _react2.default.createElement(_ui.Button, { className: _parityBar2.default.button, icon: parityIcon, label: this.renderLabel('Parity') })), _react2.default.createElement(_ui.Button, { className: _parityBar2.default.button, icon: _react2.default.createElement(_ui.SignerIcon, { className: _parityBar2.default.signerIcon }), label: this.renderSignerLabel(), onClick: this.toggleDisplay })));} }, { key: 'renderExpanded', value: function renderExpanded() {return _react2.default.createElement('div', { className: _parityBar2.default.expanded }, _react2.default.createElement('div', { className: _parityBar2.default.header }, _react2.default.createElement('div', { className: _parityBar2.default.title }, _react2.default.createElement(_ui.ContainerTitle, { title: 'Parity Signer: Pending' })), _react2.default.createElement('div', { className: _parityBar2.default.actions }, _react2.default.createElement(_ui.Button, { icon: _react2.default.createElement(_clear2.default, null), label: 'Close', onClick: this.toggleDisplay }))), _react2.default.createElement(_Signer.Embedded, null));} }, { key: 'renderLabel', value: function renderLabel(name, bubble) {return _react2.default.createElement('div', { className: _parityBar2.default.label }, _react2.default.createElement('div', { className: _parityBar2.default.labelText }, name), bubble);} }, { key: 'renderSignerLabel', value: function renderSignerLabel() {var pending = this.props.pending;var bubble = null;if (pending && pending.length) {bubble = _react2.default.createElement(_ui.Badge, { color: 'red', className: _parityBar2.default.labelBubble, value: pending.length });}return this.renderLabel('Signer', bubble);} }]);return ParityBar;}(_react.Component), _class.propTypes = { pending: _react.PropTypes.array }, _temp2);\n\n\nfunction mapStateToProps(state) {var\n pending = state.signerRequests.pending;\n\n return {\n pending: pending };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nParityBar);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/ParityBar/parityBar.js\n ** module id = 990\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/ParityBar/parityBar.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\n\nvar _Account = __webpack_require__(1550);var _Account2 = _interopRequireDefault(_Account);\n\nvar _ui = __webpack_require__(26);\nvar _AccountLink = __webpack_require__(993);var _AccountLink2 = _interopRequireDefault(_AccountLink);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nAccount = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Account, _Component);function Account() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Account);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Account.__proto__ || (0, _getPrototypeOf2.default)(Account)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n state = {\n balanceDisplay: '?' }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Account, [{ key: 'componentWillMount', value: function componentWillMount()\n\n\n {\n this.updateBalanceDisplay(this.props.balance);\n } }, { key: 'componentWillReceiveProps', value: function componentWillReceiveProps(\n\n nextProps) {\n if (nextProps.balance === this.props.balance) {\n return;\n }\n this.updateBalanceDisplay(nextProps.balance);\n } }, { key: 'updateBalanceDisplay', value: function updateBalanceDisplay(\n\n balance) {\n this.setState({\n balanceDisplay: balance ? balance.div(1e18).toFormat(3) : '?' });\n\n } }, { key: 'render', value: function render()\n\n {var _props =\n this.props;var address = _props.address;var chain = _props.chain;var className = _props.className;var tokens = _props.tokens;\n\n return (\n _react2.default.createElement('div', { className: _Account2.default.acc + ' ' + className, title: this.renderTitle() },\n _react2.default.createElement(_AccountLink2.default, { address: address, chain: chain },\n _react2.default.createElement(_ui.IdentityIcon, {\n center: true,\n address: address,\n tokens: tokens })),\n\n this.renderName(),\n this.renderBalance()));\n\n\n } }, { key: 'renderTitle', value: function renderTitle()\n\n {var\n address = this.props.address;\n var name = this._retrieveName();\n\n if (name) {\n return address + ' ' + name;\n }\n\n return address;\n } }, { key: 'renderBalance', value: function renderBalance()\n\n {var\n balanceDisplay = this.state.balanceDisplay;\n return (\n _react2.default.createElement('span', null, ' ', _react2.default.createElement('strong', null, balanceDisplay), ' ', _react2.default.createElement('small', null, 'ETH')));\n\n } }, { key: 'renderName', value: function renderName()\n\n {var\n address = this.props.address;\n var name = this._retrieveName();\n\n if (!name) {\n return (\n _react2.default.createElement(_AccountLink2.default, { address: address, chain: this.props.chain }, '[',\n this.shortAddress(address), ']'));\n\n\n }\n\n return (\n _react2.default.createElement(_AccountLink2.default, { address: address, chain: this.props.chain },\n _react2.default.createElement('span', null,\n _react2.default.createElement('span', { className: _Account2.default.name }, name),\n _react2.default.createElement('span', { className: _Account2.default.address }, '[', this.tinyAddress(address), ']'))));\n\n\n\n } }, { key: '_retrieveName', value: function _retrieveName()\n\n {var _props2 =\n this.props;var address = _props2.address;var accounts = _props2.accounts;var contacts = _props2.contacts;var tokens = _props2.tokens;\n var account = (accounts || {})[address] || (contacts || {})[address] || (tokens || {})[address];\n\n return account ?\n account.name :\n null;\n } }, { key: 'tinyAddress', value: function tinyAddress()\n\n {var\n address = this.props.address;\n var len = address.length;\n return address.slice(2, 4) + '..' + address.slice(len - 2);\n } }, { key: 'shortAddress', value: function shortAddress()\n\n {var\n address = this.props.address;\n var len = address.length;\n return address.slice(2, 8) + '..' + address.slice(len - 7);\n } }]);return Account;}(_react.Component), _class.propTypes = { className: _react.PropTypes.string, accounts: _react.PropTypes.object, contacts: _react.PropTypes.object, tokens: _react.PropTypes.object, address: _react.PropTypes.string.isRequired, chain: _react.PropTypes.string.isRequired, balance: _react.PropTypes.object // eth BigNumber, not required since it mght take time to fetch\n}, _temp2);\n\nfunction mapStateToProps(state) {var _state$personal =\n state.personal;var accounts = _state$personal.accounts;var contacts = _state$personal.contacts;var\n tokens = state.balances.tokens;\n\n return {\n accounts: accounts,\n contacts: contacts,\n tokens: tokens };\n\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({}, dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nAccount);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/Account/Account.js\n ** module id = 991\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/Account/Account.js?"); },function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _account = __webpack_require__(1019);\nvar _AccountLink = __webpack_require__(1551);var _AccountLink2 = _interopRequireDefault(_AccountLink);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nAccountLink = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(AccountLink, _Component);function AccountLink() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, AccountLink);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = AccountLink.__proto__ || (0, _getPrototypeOf2.default)(AccountLink)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n state = {\n link: null }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(AccountLink, [{ key: 'componentWillMount', value: function componentWillMount()\n\n\n {var _props =\n this.props;var address = _props.address;var chain = _props.chain;\n\n this.updateLink(address, chain);\n } }, { key: 'componentWillReceiveProps', value: function componentWillReceiveProps(\n\n nextProps) {var\n address = nextProps.address;var chain = nextProps.chain;\n\n this.updateLink(address, chain);\n } }, { key: 'render', value: function render()\n\n {var _props2 =\n this.props;var children = _props2.children;var address = _props2.address;var className = _props2.className;\n return (\n _react2.default.createElement('a', {\n href: this.state.link,\n target: '_blank',\n className: _AccountLink2.default.container + ' ' + className },\n\n children || address));\n\n\n } }, { key: 'updateLink', value: function updateLink(\n\n address, chain) {\n var link = (0, _account.getAccountLink)(address, chain);\n\n this.setState({\n link: link });\n\n } }]);return AccountLink;}(_react.Component), _class.propTypes = { chain: _react.PropTypes.string.isRequired, address: _react.PropTypes.string.isRequired, className: _react.PropTypes.string, children: _react.PropTypes.node }, _temp2);exports.default = AccountLink;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/Account/AccountLink/AccountLink.js\n ** module id = 992\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/Account/AccountLink/AccountLink.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _AccountLink = __webpack_require__(992);var _AccountLink2 = _interopRequireDefault(_AccountLink);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _AccountLink2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/Account/AccountLink/index.js\n ** module id = 993\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/Account/AccountLink/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _TransactionFinishedWeb = __webpack_require__(1004);var _TransactionFinishedWeb2 = _interopRequireDefault(_TransactionFinishedWeb);\nvar _SignRequestWeb = __webpack_require__(686);var _SignRequestWeb2 = _interopRequireDefault(_SignRequestWeb);\nvar _Web3Compositor = __webpack_require__(298);var _Web3Compositor2 = _interopRequireDefault(_Web3Compositor);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nRequestFinishedWeb3 = (_temp = _class = function (_Component) {(0, _inherits3.default)(RequestFinishedWeb3, _Component);function RequestFinishedWeb3() {(0, _classCallCheck3.default)(this, RequestFinishedWeb3);return (0, _possibleConstructorReturn3.default)(this, (RequestFinishedWeb3.__proto__ || (0, _getPrototypeOf2.default)(RequestFinishedWeb3)).apply(this, arguments));}(0, _createClass3.default)(RequestFinishedWeb3, [{ key: 'render', value: function render()\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {var _props =\n this.props;var payload = _props.payload;var id = _props.id;var result = _props.result;var msg = _props.msg;var status = _props.status;var error = _props.error;var className = _props.className;\n\n if (payload.sign) {var\n sign = payload.sign;\n return (\n _react2.default.createElement(_SignRequestWeb2.default, {\n className: className,\n isFinished: true,\n id: id,\n address: sign.address,\n hash: sign.hash,\n result: result,\n msg: msg,\n status: status,\n error: error }));\n\n\n }\n\n if (payload.transaction) {var\n transaction = payload.transaction;\n return (\n _react2.default.createElement(_TransactionFinishedWeb2.default, {\n className: className,\n txHash: result,\n id: id,\n gasPrice: transaction.gasPrice,\n gas: transaction.gas,\n from: transaction.from,\n to: transaction.to,\n value: transaction.value,\n msg: msg,\n status: status,\n error: error }));\n\n\n }\n\n // Unknown payload\n return null;\n } }]);return RequestFinishedWeb3;}(_react.Component), _class.contextTypes = { web3: _react.PropTypes.object.isRequired }, _class.propTypes = { id: _react.PropTypes.string.isRequired, result: _react.PropTypes.any.isRequired, payload: _react.PropTypes.oneOfType([_react.PropTypes.shape({ transaction: _react.PropTypes.object.isRequired }), _react.PropTypes.shape({ sign: _react.PropTypes.object.isRequired })]).isRequired, msg: _react.PropTypes.string, status: _react.PropTypes.string, error: _react.PropTypes.string, className: _react.PropTypes.string }, _temp);exports.default =\n\n\n(0, _Web3Compositor2.default)(RequestFinishedWeb3);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/RequestFinishedWeb3/RequestFinishedWeb3.js\n ** module id = 994\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/RequestFinishedWeb3/RequestFinishedWeb3.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _RequestFinishedWeb = __webpack_require__(994);var _RequestFinishedWeb2 = _interopRequireDefault(_RequestFinishedWeb);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _RequestFinishedWeb2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/RequestFinishedWeb3/index.js\n ** module id = 995\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/RequestFinishedWeb3/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _TransactionPendingWeb = __webpack_require__(1014);var _TransactionPendingWeb2 = _interopRequireDefault(_TransactionPendingWeb);\nvar _SignRequestWeb = __webpack_require__(686);var _SignRequestWeb2 = _interopRequireDefault(_SignRequestWeb);\nvar _Web3Compositor = __webpack_require__(298);var _Web3Compositor2 = _interopRequireDefault(_Web3Compositor);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nRequestPendingWeb3 = (_temp = _class = function (_Component) {(0, _inherits3.default)(RequestPendingWeb3, _Component);function RequestPendingWeb3() {(0, _classCallCheck3.default)(this, RequestPendingWeb3);return (0, _possibleConstructorReturn3.default)(this, (RequestPendingWeb3.__proto__ || (0, _getPrototypeOf2.default)(RequestPendingWeb3)).apply(this, arguments));}(0, _createClass3.default)(RequestPendingWeb3, [{ key: 'render', value: function render()\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {var _props =\n this.props;var payload = _props.payload;var id = _props.id;var className = _props.className;var isSending = _props.isSending;var onConfirm = _props.onConfirm;var onReject = _props.onReject;\n\n if (payload.sign) {var\n sign = payload.sign;\n return (\n _react2.default.createElement(_SignRequestWeb2.default, {\n className: className,\n onConfirm: onConfirm,\n onReject: onReject,\n isSending: isSending,\n isFinished: false,\n id: id,\n address: sign.address,\n hash: sign.hash }));\n\n\n }\n\n if (payload.transaction) {var\n transaction = payload.transaction;\n return (\n _react2.default.createElement(_TransactionPendingWeb2.default, {\n className: className,\n onConfirm: onConfirm,\n onReject: onReject,\n isSending: isSending,\n id: id,\n gasPrice: transaction.gasPrice,\n gas: transaction.gas,\n data: transaction.data,\n from: transaction.from,\n to: transaction.to,\n value: transaction.value }));\n\n\n }\n\n // Unknown payload\n return null;\n } }]);return RequestPendingWeb3;}(_react.Component), _class.contextTypes = { web3: _react.PropTypes.object.isRequired }, _class.propTypes = { id: _react.PropTypes.string.isRequired, onConfirm: _react.PropTypes.func.isRequired, onReject: _react.PropTypes.func.isRequired, isSending: _react.PropTypes.bool.isRequired, payload: _react.PropTypes.oneOfType([_react.PropTypes.shape({ transaction: _react.PropTypes.object.isRequired }), _react.PropTypes.shape({ sign: _react.PropTypes.object.isRequired })]).isRequired, className: _react.PropTypes.string }, _temp);exports.default =\n\n\n(0, _Web3Compositor2.default)(RequestPendingWeb3);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/RequestPendingWeb3/RequestPendingWeb3.js\n ** module id = 996\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/RequestPendingWeb3/RequestPendingWeb3.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _RequestPendingWeb = __webpack_require__(996);var _RequestPendingWeb2 = _interopRequireDefault(_RequestPendingWeb);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _RequestPendingWeb2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/RequestPendingWeb3/index.js\n ** module id = 997\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/RequestPendingWeb3/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _Account = __webpack_require__(685);var _Account2 = _interopRequireDefault(_Account);\nvar _TransactionPendingForm = __webpack_require__(688);var _TransactionPendingForm2 = _interopRequireDefault(_TransactionPendingForm);\nvar _TxHashLink = __webpack_require__(689);var _TxHashLink2 = _interopRequireDefault(_TxHashLink);\n\nvar _SignRequest = __webpack_require__(1552);var _SignRequest2 = _interopRequireDefault(_SignRequest);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nSignRequest = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(SignRequest, _Component);function SignRequest() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, SignRequest);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = SignRequest.__proto__ || (0, _getPrototypeOf2.default)(SignRequest)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n onConfirm = function (password) {var\n id = _this.props.id;\n _this.props.onConfirm({ id: id, password: password });\n }, _this.\n\n onReject = function () {\n _this.props.onReject(_this.props.id);\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);} // TODO [todr] re-use proptypes?\n (0, _createClass3.default)(SignRequest, [{ key: 'render', value: function render() {var className = this.props.className || '';return _react2.default.createElement('div', { className: _SignRequest2.default.container + ' ' + className }, this.renderDetails(), this.renderActions());} }, { key: 'renderDetails', value: function renderDetails() {var _props = this.props;var address = _props.address;var balance = _props.balance;var chain = _props.chain;var hash = _props.hash;return _react2.default.createElement('div', { className: _SignRequest2.default.signDetails }, _react2.default.createElement('div', { className: _SignRequest2.default.address }, _react2.default.createElement(_Account2.default, { address: address, balance: balance, chain: chain })), _react2.default.createElement('div', { className: _SignRequest2.default.info, title: hash }, _react2.default.createElement('p', null, 'Dapp is requesting to sign arbitrary transaction using this account.'), _react2.default.createElement('p', null, _react2.default.createElement('strong', null, 'Confirm the transaction only if you trust the app.'))));} }, { key: 'renderActions', value: function renderActions() {var _props2 = this.props;var isFinished = _props2.isFinished;var status = _props2.status;if (isFinished) {if (status === 'confirmed') {var _props3 = this.props;var chain = _props3.chain;var hash = _props3.hash;return _react2.default.createElement('div', { className: _SignRequest2.default.actions }, _react2.default.createElement('span', { className: _SignRequest2.default.isConfirmed }, 'Confirmed'), _react2.default.createElement('div', null, 'Transaction hash: ', _react2.default.createElement('br', null), _react2.default.createElement(_TxHashLink2.default, { chain: chain, txHash: hash, className: _SignRequest2.default.txHash })));}return _react2.default.createElement('div', { className: _SignRequest2.default.actions }, _react2.default.createElement('span', { className: _SignRequest2.default.isRejected }, 'Rejected'));}return _react2.default.createElement(_TransactionPendingForm2.default, { isSending: this.props.isSending, onConfirm: this.onConfirm, onReject: this.onReject, className: _SignRequest2.default.actions });} }]);return SignRequest;}(_react.Component), _class.propTypes = { id: _react.PropTypes.string.isRequired, address: _react.PropTypes.string.isRequired, hash: _react.PropTypes.string.isRequired, isFinished: _react.PropTypes.bool.isRequired, chain: _react.PropTypes.string.isRequired, balance: _react.PropTypes.object, isSending: _react.PropTypes.bool, onConfirm: _react.PropTypes.func, onReject: _react.PropTypes.func, status: _react.PropTypes.string, className: _react.PropTypes.string }, _temp2);exports.default = SignRequest;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/SignRequest/SignRequest.js\n ** module id = 998\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/SignRequest/SignRequest.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _SignRequest = __webpack_require__(998);var _SignRequest2 = _interopRequireDefault(_SignRequest);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _SignRequest2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/SignRequest/index.js\n ** module id = 999\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/SignRequest/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _SignRequest = __webpack_require__(999);var _SignRequest2 = _interopRequireDefault(_SignRequest);\n\nvar _Web3Compositor = __webpack_require__(298);var _Web3Compositor2 = _interopRequireDefault(_Web3Compositor);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nSignRequestWeb3 = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(SignRequestWeb3, _Component);function SignRequestWeb3() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, SignRequestWeb3);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = SignRequestWeb3.__proto__ || (0, _getPrototypeOf2.default)(SignRequestWeb3)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n state = {\n chain: 'homestead',\n balance: null // avoid required prop loading warning\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(SignRequestWeb3, [{ key: 'render', value: function render()\n\n {var\n web3 = this.context.web3;var _state =\n this.state;var balance = _state.balance;var chain = _state.chain;var _props =\n this.props;var onConfirm = _props.onConfirm;var onReject = _props.onReject;var isSending = _props.isSending;var isFinished = _props.isFinished;var hash = _props.hash;var className = _props.className;var id = _props.id;var status = _props.status;\n\n var address = web3.toChecksumAddress(this.props.address);\n\n return (\n _react2.default.createElement(_SignRequest2.default, {\n address: address,\n hash: hash,\n balance: balance,\n onConfirm: onConfirm,\n onReject: onReject,\n isSending: isSending,\n isFinished: isFinished,\n id: id,\n chain: chain,\n status: status,\n className: className }));\n\n\n } }, { key: 'onTick', value: function onTick(\n\n next) {\n this.fetchChain();\n this.fetchBalance(next);\n } }, { key: 'fetchChain', value: function fetchChain()\n\n {var _this2 = this;\n this.context.web3.ethcore.getNetChain(function (err, chain) {\n if (err) {\n return console.warn('err fetching chain', err);\n }\n _this2.setState({ chain: chain });\n });\n } }, { key: 'fetchBalance', value: function fetchBalance(\n\n next) {var _this3 = this;var\n address = this.props.address;\n\n this.context.web3.eth.getBalance(address, function (err, balance) {\n next(err);\n\n if (err) {\n console.warn('err fetching balance for ', address, err);\n return;\n }\n\n _this3.setState({ balance: balance });\n });\n } }]);return SignRequestWeb3;}(_react.Component), _class.contextTypes = { web3: _react.PropTypes.object.isRequired }, _class.propTypes = { id: _react.PropTypes.string.isRequired, address: _react.PropTypes.string.isRequired, hash: _react.PropTypes.string.isRequired, isFinished: _react.PropTypes.bool.isRequired, isSending: _react.PropTypes.bool, onConfirm: _react.PropTypes.func, onReject: _react.PropTypes.func, status: _react.PropTypes.string, className: _react.PropTypes.string }, _temp2);exports.default =\n\n\n\n(0, _Web3Compositor2.default)(SignRequestWeb3);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/SignRequestWeb3/SignRequestWeb3.js\n ** module id = 1000\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/SignRequestWeb3/SignRequestWeb3.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _extends2 = __webpack_require__(28);var _extends3 = _interopRequireDefault(_extends2);var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _TransactionMainDetails = __webpack_require__(687);var _TransactionMainDetails2 = _interopRequireDefault(_TransactionMainDetails);\nvar _TxHashLink = __webpack_require__(689);var _TxHashLink2 = _interopRequireDefault(_TxHashLink);\nvar _TransactionFinished = __webpack_require__(1553);var _TransactionFinished2 = _interopRequireDefault(_TransactionFinished);\n\nvar _transaction = __webpack_require__(449);var tUtil = _interopRequireWildcard(_transaction);\nvar _util = __webpack_require__(690);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)) newObj[key] = obj[key];}}newObj.default = obj;return newObj;}}function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nTransactionFinished = (_temp = _class = function (_Component) {(0, _inherits3.default)(TransactionFinished, _Component);function TransactionFinished() {(0, _classCallCheck3.default)(this, TransactionFinished);return (0, _possibleConstructorReturn3.default)(this, (TransactionFinished.__proto__ || (0, _getPrototypeOf2.default)(TransactionFinished)).apply(this, arguments));}(0, _createClass3.default)(TransactionFinished, [{ key: 'componentWillMount', value: function componentWillMount()\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {var _props =\n this.props;var gas = _props.gas;var gasPrice = _props.gasPrice;var value = _props.value;\n var fee = tUtil.getFee(gas, gasPrice); // BigNumber object\n var totalValue = tUtil.getTotalValue(fee, value);\n this.setState({ totalValue: totalValue });\n } }, { key: 'render', value: function render()\n\n {var\n className = this.props.className;var\n totalValue = this.state.totalValue;\n\n return (\n _react2.default.createElement('div', { className: _TransactionFinished2.default.container + ' ' + (className || '') },\n _react2.default.createElement('div', { className: _TransactionFinished2.default.mainContainer },\n _react2.default.createElement(_TransactionMainDetails2.default, (0, _extends3.default)({},\n this.props, {\n totalValue: totalValue,\n className: _TransactionFinished2.default.transactionDetails })),\n\n _react2.default.createElement('div', { className: _TransactionFinished2.default.statusContainer },\n this.renderStatus()))));\n\n\n\n\n } }, { key: 'renderStatus', value: function renderStatus()\n\n {var\n status = this.props.status;\n var klass = status === 'confirmed' ? _TransactionFinished2.default.isConfirmed : _TransactionFinished2.default.isRejected;\n return (\n _react2.default.createElement('div', null,\n _react2.default.createElement('span', { className: klass }, (0, _util.capitalize)(status)),\n this.renderTxHash()));\n\n\n } }, { key: 'renderTxHash', value: function renderTxHash()\n\n {var _props2 =\n this.props;var txHash = _props2.txHash;var chain = _props2.chain;\n if (!txHash) {\n return;\n }\n\n return (\n _react2.default.createElement('div', null, 'Transaction hash: ',\n _react2.default.createElement('br', null),\n _react2.default.createElement(_TxHashLink2.default, { chain: chain, txHash: txHash, className: _TransactionFinished2.default.txHash })));\n\n\n } }]);return TransactionFinished;}(_react.Component), _class.propTypes = { id: _react.PropTypes.string.isRequired, from: _react.PropTypes.string.isRequired, fromBalance: _react.PropTypes.object, // eth BigNumber, not required since it might take time to fetch\n value: _react.PropTypes.string.isRequired, // wei hex\n chain: _react.PropTypes.string.isRequired, gasPrice: _react.PropTypes.string.isRequired, // wei hex\n gas: _react.PropTypes.string.isRequired, // hex\n status: _react.PropTypes.string.isRequired, // rejected, confirmed\n to: _react.PropTypes.string, // undefined if it's a contract\n toBalance: _react.PropTypes.object, // eth BigNumber - undefined if it's a contract or until it's fetched\n txHash: _react.PropTypes.string, // undefined if transacation is rejected\n className: _react.PropTypes.string, data: _react.PropTypes.string }, _class.defaultProps = { value: '0x0' // todo [adgo] - remove after resolving https://github.com/ethcore/parity/issues/1458\n}, _temp);exports.default = TransactionFinished;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionFinished/TransactionFinished.js\n ** module id = 1001\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionFinished/TransactionFinished.js?"); },function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _TransactionFinished = __webpack_require__(1001);var _TransactionFinished2 = _interopRequireDefault(_TransactionFinished);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _TransactionFinished2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionFinished/index.js\n ** module id = 1002\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionFinished/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _extends2 = __webpack_require__(28);var _extends3 = _interopRequireDefault(_extends2);var _defineProperty2 = __webpack_require__(101);var _defineProperty3 = _interopRequireDefault(_defineProperty2);var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _TransactionFinished = __webpack_require__(1002);var _TransactionFinished2 = _interopRequireDefault(_TransactionFinished);\nvar _Web3Compositor = __webpack_require__(298);var _Web3Compositor2 = _interopRequireDefault(_Web3Compositor);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nTransactionFinishedWeb3 = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(TransactionFinishedWeb3, _Component);function TransactionFinishedWeb3() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, TransactionFinishedWeb3);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = TransactionFinishedWeb3.__proto__ || (0, _getPrototypeOf2.default)(TransactionFinishedWeb3)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n state = {\n chain: 'homestead' }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(TransactionFinishedWeb3, [{ key: 'onTick', value: function onTick(\n\n\n next) {\n this.fetchChain();\n this.fetchBalances(next);\n } }, { key: 'fetchBalances', value: function fetchBalances(\n\n next) {var _props =\n this.props;var from = _props.from;var to = _props.to;\n this.fetchBalance(from, 'from', next);\n\n if (!to) {\n return;\n }\n\n this.fetchBalance(to, 'to', next);\n } }, { key: 'fetchBalance', value: function fetchBalance(\n\n address, owner, next) {var _this2 = this;\n this.context.web3.eth.getBalance(address, function (err, balance) {\n next(err);\n\n if (err) {\n console.warn('err fetching balance for ', address, err);\n return;\n }\n\n _this2.setState((0, _defineProperty3.default)({},\n owner + 'Balance', balance));\n\n });\n } }, { key: 'fetchChain', value: function fetchChain()\n\n {var _this3 = this;\n this.context.web3.ethcore.getNetChain(function (err, chain) {\n if (err) {\n return console.warn('err fetching chain', err);\n }\n\n _this3.setState({ chain: chain });\n });\n } }, { key: 'render', value: function render()\n\n {var _state =\n this.state;var fromBalance = _state.fromBalance;var toBalance = _state.toBalance;var chain = _state.chain;var\n web3 = this.context.web3;var _props2 =\n\n this.props;var from = _props2.from;var to = _props2.to;\n from = web3.toChecksumAddress(from);\n to = to ? web3.toChecksumAddress(to) : to;\n\n return (\n _react2.default.createElement(_TransactionFinished2.default, (0, _extends3.default)({},\n this.props, {\n from: from,\n fromBalance: fromBalance,\n to: to,\n toBalance: toBalance,\n chain: chain })));\n\n\n } }]);return TransactionFinishedWeb3;}(_react.Component), _class.contextTypes = { web3: _react.PropTypes.object.isRequired }, _class.propTypes = { from: _react.PropTypes.string.isRequired, to: _react.PropTypes.string // undefined if it's a contract\n}, _temp2);exports.default =\n\n(0, _Web3Compositor2.default)(TransactionFinishedWeb3);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionFinishedWeb3/TransactionFinishedWeb3.js\n ** module id = 1003\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionFinishedWeb3/TransactionFinishedWeb3.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _TransactionFinishedWeb = __webpack_require__(1003);var _TransactionFinishedWeb2 = _interopRequireDefault(_TransactionFinishedWeb);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _TransactionFinishedWeb2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionFinishedWeb3/index.js\n ** module id = 1004\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionFinishedWeb3/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _code = __webpack_require__(1385);var _code2 = _interopRequireDefault(_code);\nvar _reactTooltip = __webpack_require__(625);var _reactTooltip2 = _interopRequireDefault(_reactTooltip);\n\nvar _transaction = __webpack_require__(449);var tUtil = _interopRequireWildcard(_transaction);\nvar _Account = __webpack_require__(685);var _Account2 = _interopRequireDefault(_Account);\nvar _TransactionMainDetails = __webpack_require__(1554);var _TransactionMainDetails2 = _interopRequireDefault(_TransactionMainDetails);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)) newObj[key] = obj[key];}}newObj.default = obj;return newObj;}}function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nTransactionMainDetails = (_temp = _class = function (_Component) {(0, _inherits3.default)(TransactionMainDetails, _Component);function TransactionMainDetails() {(0, _classCallCheck3.default)(this, TransactionMainDetails);return (0, _possibleConstructorReturn3.default)(this, (TransactionMainDetails.__proto__ || (0, _getPrototypeOf2.default)(TransactionMainDetails)).apply(this, arguments));}(0, _createClass3.default)(TransactionMainDetails, [{ key: 'componentWillMount', value: function componentWillMount()\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {var _props =\n this.props;var value = _props.value;var totalValue = _props.totalValue;\n this.updateDisplayValues(value, totalValue);\n } }, { key: 'componentWillReceiveProps', value: function componentWillReceiveProps(\n\n nextProps) {var\n value = nextProps.value;var totalValue = nextProps.totalValue;\n this.updateDisplayValues(value, totalValue);\n } }, { key: 'updateDisplayValues', value: function updateDisplayValues(\n\n value, totalValue) {\n this.setState({\n feeEth: tUtil.calcFeeInEth(totalValue, value),\n valueDisplay: tUtil.getValueDisplay(value),\n valueDisplayWei: tUtil.getValueDisplayWei(value),\n totalValueDisplay: tUtil.getTotalValueDisplay(totalValue),\n totalValueDisplayWei: tUtil.getTotalValueDisplayWei(totalValue) });\n\n } }, { key: 'render', value: function render()\n\n {var _props2 =\n this.props;var className = _props2.className;var children = _props2.children;\n return (\n _react2.default.createElement('div', { className: className },\n this.renderTransfer(),\n this.renderContract(),\n children));\n\n\n } }, { key: 'renderTransfer', value: function renderTransfer()\n\n {var _props3 =\n this.props;var from = _props3.from;var fromBalance = _props3.fromBalance;var to = _props3.to;var toBalance = _props3.toBalance;var chain = _props3.chain;\n if (!to) {\n return;\n }\n\n return (\n _react2.default.createElement('div', { className: _TransactionMainDetails2.default.transaction },\n _react2.default.createElement('div', { className: _TransactionMainDetails2.default.from },\n _react2.default.createElement('div', { className: _TransactionMainDetails2.default.account },\n _react2.default.createElement(_Account2.default, { address: from, balance: fromBalance, chain: chain }))),\n\n\n _react2.default.createElement('div', { className: _TransactionMainDetails2.default.tx },\n this.renderValue(),\n _react2.default.createElement('div', null, '⇒'),\n this.renderTotalValue()),\n\n _react2.default.createElement('div', { className: _TransactionMainDetails2.default.to },\n _react2.default.createElement('div', { className: _TransactionMainDetails2.default.account },\n _react2.default.createElement(_Account2.default, { address: to, balance: toBalance, chain: chain })))));\n\n\n\n\n } }, { key: 'renderContract', value: function renderContract()\n\n {var _props4 =\n this.props;var from = _props4.from;var fromBalance = _props4.fromBalance;var to = _props4.to;var chain = _props4.chain;\n if (to) {\n return;\n }\n return (\n _react2.default.createElement('div', { className: _TransactionMainDetails2.default.transaction },\n _react2.default.createElement('div', { className: _TransactionMainDetails2.default.from },\n _react2.default.createElement(_Account2.default, { address: from, balance: fromBalance, chain: chain })),\n\n _react2.default.createElement('div', { className: _TransactionMainDetails2.default.tx },\n this.renderValue(),\n _react2.default.createElement('div', null, '⇒'),\n this.renderTotalValue()),\n\n _react2.default.createElement('div', { className: _TransactionMainDetails2.default.contract },\n _react2.default.createElement(_code2.default, { className: _TransactionMainDetails2.default.contractIcon }),\n _react2.default.createElement('br', null), 'Contract')));\n\n\n\n\n } }, { key: 'renderValue', value: function renderValue()\n\n {var\n id = this.props.id;var _state =\n this.state;var valueDisplay = _state.valueDisplay;var valueDisplayWei = _state.valueDisplayWei;\n return (\n _react2.default.createElement('div', null,\n _react2.default.createElement('div', {\n 'data-tip': true,\n 'data-for': 'value' + id,\n 'data-effect': 'solid' },\n\n _react2.default.createElement('strong', null, valueDisplay, ' '),\n _react2.default.createElement('small', null, 'ETH')),\n\n _react2.default.createElement(_reactTooltip2.default, { id: 'value' + id }, 'The value of the transaction.',\n _react2.default.createElement('br', null),\n _react2.default.createElement('strong', null, valueDisplayWei), ' ', _react2.default.createElement('small', null, 'WEI'))));\n\n\n\n } }, { key: 'renderTotalValue', value: function renderTotalValue()\n\n {var\n id = this.props.id;var _state2 =\n this.state;var totalValueDisplay = _state2.totalValueDisplay;var totalValueDisplayWei = _state2.totalValueDisplayWei;var feeEth = _state2.feeEth;\n return (\n _react2.default.createElement('div', null,\n _react2.default.createElement('div', {\n 'data-tip': true,\n 'data-for': 'totalValue' + id,\n 'data-effect': 'solid',\n 'data-place': 'bottom',\n className: _TransactionMainDetails2.default.total },\n totalValueDisplay, ' ', _react2.default.createElement('small', null, 'ETH')),\n\n _react2.default.createElement(_reactTooltip2.default, { id: 'totalValue' + id }, 'The value of the transaction including the mining fee is ',\n _react2.default.createElement('strong', null, totalValueDisplayWei), ' ', _react2.default.createElement('small', null, 'WEI'), '. ', _react2.default.createElement('br', null), '(This includes a mining fee of ',\n _react2.default.createElement('strong', null, feeEth), ' ', _react2.default.createElement('small', null, 'ETH'), ')')));\n\n\n\n } }]);return TransactionMainDetails;}(_react.Component), _class.propTypes = { id: _react.PropTypes.string.isRequired, from: _react.PropTypes.string.isRequired, fromBalance: _react.PropTypes.object, // eth BigNumber, not required since it might take time to fetch\n value: _react.PropTypes.string.isRequired, // wei hex\n totalValue: _react.PropTypes.object.isRequired, // wei BigNumber\n chain: _react.PropTypes.string.isRequired, to: _react.PropTypes.string, // undefined if it's a contract\n toBalance: _react.PropTypes.object, // eth BigNumber - undefined if it's a contract or until it's fetched\n className: _react.PropTypes.string, children: _react.PropTypes.node }, _temp);exports.default = TransactionMainDetails;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionMainDetails/TransactionMainDetails.js\n ** module id = 1005\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionMainDetails/TransactionMainDetails.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _extends2 = __webpack_require__(28);var _extends3 = _interopRequireDefault(_extends2);var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _reactTooltip = __webpack_require__(625);var _reactTooltip2 = _interopRequireDefault(_reactTooltip);\nvar _description = __webpack_require__(1386);var _description2 = _interopRequireDefault(_description);\nvar _localGasStation = __webpack_require__(1399);var _localGasStation2 = _interopRequireDefault(_localGasStation);\nvar _TransactionMainDetails = __webpack_require__(687);var _TransactionMainDetails2 = _interopRequireDefault(_TransactionMainDetails);\nvar _TransactionPendingForm = __webpack_require__(688);var _TransactionPendingForm2 = _interopRequireDefault(_TransactionPendingForm);\nvar _TransactionPending = __webpack_require__(1555);var _TransactionPending2 = _interopRequireDefault(_TransactionPending);\n\nvar _transaction = __webpack_require__(449);var tUtil = _interopRequireWildcard(_transaction);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)) newObj[key] = obj[key];}}newObj.default = obj;return newObj;}}function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nTransactionPending = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(TransactionPending, _Component);function TransactionPending() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, TransactionPending);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = TransactionPending.__proto__ || (0, _getPrototypeOf2.default)(TransactionPending)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n state = {\n isDataExpanded: false }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n toggleDataExpanded = function () {\n if (_this.noData()) {\n return;\n }\n _this.setState({\n isDataExpanded: !_this.state.isDataExpanded });\n\n }, _this.\n\n onConfirm = function (password) {var _this$props =\n _this.props;var id = _this$props.id;var gasPrice = _this$props.gasPrice;\n _this.props.onConfirm({ id: id, password: password, gasPrice: gasPrice });\n }, _this.\n\n onReject = function () {\n _this.props.onReject(_this.props.id);\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(TransactionPending, [{ key: 'componentWillMount', value: function componentWillMount() {var _props = this.props;var gas = _props.gas;var gasPrice = _props.gasPrice;var value = _props.value;var fee = tUtil.getFee(gas, gasPrice); // BigNumber object\n var totalValue = tUtil.getTotalValue(fee, value);var gasPriceEthmDisplay = tUtil.getEthmFromWeiDisplay(gasPrice);var gasToDisplay = tUtil.getGasDisplay(gas);this.setState({ gasPriceEthmDisplay: gasPriceEthmDisplay, totalValue: totalValue, gasToDisplay: gasToDisplay });} }, { key: 'render', value: function render() {var totalValue = this.state.totalValue;var className = this.props.className || '';return _react2.default.createElement('div', { className: _TransactionPending2.default.container + ' ' + className }, _react2.default.createElement('div', { className: _TransactionPending2.default.mainContainer }, _react2.default.createElement(_TransactionMainDetails2.default, (0, _extends3.default)({}, this.props, { className: _TransactionPending2.default.transactionDetails, totalValue: totalValue }), _react2.default.createElement('div', { className: _TransactionPending2.default.iconsContainer }, this.renderGasPrice(), this.renderData()), _react2.default.createElement('div', { className: _TransactionPending2.default.expandedContainer }, this.renderDataExpanded())), _react2.default.createElement(_TransactionPendingForm2.default, { isSending: this.props.isSending, onConfirm: this.onConfirm, onReject: this.onReject })));} }, { key: 'renderGasPrice', value: function renderGasPrice() {var id = this.props.id;var _state = this.state;var gasPriceEthmDisplay = _state.gasPriceEthmDisplay;var gasToDisplay = _state.gasToDisplay;return _react2.default.createElement('div', { 'data-tip': true, 'data-place': 'right', 'data-for': 'gasPrice' + id, 'data-effect': 'solid' }, _react2.default.createElement('span', { className: _TransactionPending2.default.gasPrice }, _react2.default.createElement(_localGasStation2.default, null), gasPriceEthmDisplay, ' ', _react2.default.createElement('small', null, 'ETH/MGAS')), _react2.default.createElement(_reactTooltip2.default, { id: 'gasPrice' + id }, 'Cost of 1,000,000 units of gas. This transaction will use up to ', _react2.default.createElement('strong', null, gasToDisplay), ' ', _react2.default.createElement('small', null, 'MGAS'), '.'));} }, { key: 'renderData', value: function renderData() {var _props2 = this.props;var data = _props2.data;var id = _props2.id;var dataToDisplay = this.noData() ? 'no data' : tUtil.getShortData(data);var noDataClass = this.noData() ? _TransactionPending2.default.noData : '';return _react2.default.createElement('div', { className: _TransactionPending2.default.data + ' ' + noDataClass, onClick: this.toggleDataExpanded, 'data-tip': true, 'data-place': 'right', 'data-for': 'data' + id, 'data-class': _TransactionPending2.default.dataTooltip, 'data-effect': 'solid' }, _react2.default.createElement(_description2.default, null), dataToDisplay, _react2.default.createElement(_reactTooltip2.default, { id: 'data' + id }, _react2.default.createElement('strong', null, 'Extra data for the transaction: '), _react2.default.createElement('br', null), dataToDisplay, '.', _react2.default.createElement('br', null), this.noData() ? '' : _react2.default.createElement('strong', null, 'Click to expand.')));} }, { key: 'renderDataExpanded', value: function renderDataExpanded() {var isDataExpanded = this.state.isDataExpanded;var data = this.props.data;if (!isDataExpanded) {return;}return _react2.default.createElement('div', { className: _TransactionPending2.default.expandedHelper }, _react2.default.createElement('h3', null, 'Transaction\\'s Data'), _react2.default.createElement('code', { className: _TransactionPending2.default.expandedData }, data));} }, { key: 'noData', value: function noData() {return this.props.data === '0x';} }]);return TransactionPending;}(_react.Component), _class.propTypes = { id: _react.PropTypes.string.isRequired, chain: _react.PropTypes.string.isRequired, from: _react.PropTypes.string.isRequired, fromBalance: _react.PropTypes.object, // eth BigNumber, not required since it mght take time to fetch\n value: _react.PropTypes.string.isRequired, // wei hex\n gasPrice: _react.PropTypes.string.isRequired, // wei hex\n gas: _react.PropTypes.string.isRequired, // hex\n to: _react.PropTypes.string, // undefined if it's a contract\n toBalance: _react.PropTypes.object, // eth BigNumber - undefined if it's a contract or until it's fetched\n data: _react.PropTypes.string, // hex\n nonce: _react.PropTypes.number, onConfirm: _react.PropTypes.func.isRequired, onReject: _react.PropTypes.func.isRequired, isSending: _react.PropTypes.bool.isRequired, className: _react.PropTypes.string }, _class.defaultProps = { isSending: false }, _temp2);exports.default = TransactionPending;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionPending/TransactionPending.js\n ** module id = 1006\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionPending/TransactionPending.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _TransactionPending = __webpack_require__(1006);var _TransactionPending2 = _interopRequireDefault(_TransactionPending);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _TransactionPending2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionPending/index.js\n ** module id = 1007\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionPending/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _arrowBack = __webpack_require__(619);var _arrowBack2 = _interopRequireDefault(_arrowBack);\n\nvar _TransactionPendingFormConfirm = __webpack_require__(1010);var _TransactionPendingFormConfirm2 = _interopRequireDefault(_TransactionPendingFormConfirm);\nvar _TransactionPendingFormReject = __webpack_require__(1012);var _TransactionPendingFormReject2 = _interopRequireDefault(_TransactionPendingFormReject);\nvar _TransactionPendingForm = __webpack_require__(1556);var _TransactionPendingForm2 = _interopRequireDefault(_TransactionPendingForm);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nTransactionPendingForm = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(TransactionPendingForm, _Component);function TransactionPendingForm() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, TransactionPendingForm);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = TransactionPendingForm.__proto__ || (0, _getPrototypeOf2.default)(TransactionPendingForm)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n state = {\n isRejectOpen: false }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n onToggleReject = function () {var\n isRejectOpen = _this.state.isRejectOpen;\n _this.setState({ isRejectOpen: !isRejectOpen });\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(TransactionPendingForm, [{ key: 'render', value: function render() {var className = this.props.className;return _react2.default.createElement('div', { className: _TransactionPendingForm2.default.container + ' ' + className }, this.renderForm(), this.renderRejectToggle());} }, { key: 'renderForm', value: function renderForm() {var _props = this.props;var isSending = _props.isSending;var onConfirm = _props.onConfirm;var onReject = _props.onReject;if (this.state.isRejectOpen) {return _react2.default.createElement(_TransactionPendingFormReject2.default, { onReject: onReject });}return _react2.default.createElement(_TransactionPendingFormConfirm2.default, { onConfirm: onConfirm, isSending: isSending });} }, { key: 'renderRejectToggle', value: function renderRejectToggle() {var isRejectOpen = this.state.isRejectOpen;var html = void 0;if (!isRejectOpen) {html = _react2.default.createElement('span', null, 'reject transaction');} else {html = _react2.default.createElement('span', null, _react2.default.createElement(_arrowBack2.default, null), 'I\\'ve changed my mind');}return _react2.default.createElement('a', { onClick: this.onToggleReject, className: _TransactionPendingForm2.default.rejectToggle }, html);} }]);return TransactionPendingForm;}(_react.Component), _class.propTypes = { isSending: _react.PropTypes.bool.isRequired, onConfirm: _react.PropTypes.func.isRequired, onReject: _react.PropTypes.func.isRequired, className: _react.PropTypes.string }, _temp2);exports.default = TransactionPendingForm;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionPendingForm/TransactionPendingForm.js\n ** module id = 1008\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionPendingForm/TransactionPendingForm.js?"); },function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _RaisedButton = __webpack_require__(136);var _RaisedButton2 = _interopRequireDefault(_RaisedButton);\nvar _reactTooltip = __webpack_require__(625);var _reactTooltip2 = _interopRequireDefault(_reactTooltip);\n\nvar _ui = __webpack_require__(26);\n\nvar _TransactionPendingFormConfirm = __webpack_require__(1557);var _TransactionPendingFormConfirm2 = _interopRequireDefault(_TransactionPendingFormConfirm);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nTransactionPendingFormConfirm = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(TransactionPendingFormConfirm, _Component);function TransactionPendingFormConfirm() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, TransactionPendingFormConfirm);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = TransactionPendingFormConfirm.__proto__ || (0, _getPrototypeOf2.default)(TransactionPendingFormConfirm)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n id = Math.random(), _this.\n\n state = {\n password: '' }, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n onModifyPassword = function (evt) {\n var password = evt.target.value;\n _this.setState({\n password: password });\n\n }, _this.\n\n onConfirm = function () {var\n password = _this.state.password;\n _this.props.onConfirm(password);\n }, _this.\n\n onKeyDown = function (evt) {\n if (evt.which !== 13) {\n return;\n }\n\n _this.onConfirm();\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);} // for tooltip\n (0, _createClass3.default)(TransactionPendingFormConfirm, [{ key: 'render', value: function render() {var isSending = this.props.isSending;var password = this.state.password;return _react2.default.createElement('div', { className: _TransactionPendingFormConfirm2.default.confirmForm }, _react2.default.createElement(_ui.Form, null, _react2.default.createElement(_ui.Input, { onChange: this.onModifyPassword, onKeyDown: this.onKeyDown, label: 'Account Password', hint: 'unlock the account', type: 'password', value: password }), _react2.default.createElement('div', { 'data-tip': true, 'data-place': 'bottom', 'data-for': 'transactionConfirmForm' + this.id, 'data-effect': 'solid' }, _react2.default.createElement(_RaisedButton2.default, { onClick: this.onConfirm, className: _TransactionPendingFormConfirm2.default.confirmButton, fullWidth: true, primary: true, disabled: isSending, icon: _react2.default.createElement(_ui.SignerIcon, { className: _TransactionPendingFormConfirm2.default.signerIcon }), label: isSending ? 'Confirming...' : 'Confirm Transaction' })), this.renderTooltip()));} }, { key: 'renderTooltip', value: function renderTooltip() {if (this.state.password.length) {return;}return _react2.default.createElement(_reactTooltip2.default, { id: 'transactionConfirmForm' + this.id }, 'Please provide a password for this account');} }]);return TransactionPendingFormConfirm;}(_react.Component), _class.propTypes = { isSending: _react.PropTypes.bool.isRequired, onConfirm: _react.PropTypes.func.isRequired }, _temp2);exports.default = TransactionPendingFormConfirm;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionPendingForm/TransactionPendingFormConfirm/TransactionPendingFormConfirm.js\n ** module id = 1009\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionPendingForm/TransactionPendingFormConfirm/TransactionPendingFormConfirm.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _TransactionPendingFormConfirm = __webpack_require__(1009);var _TransactionPendingFormConfirm2 = _interopRequireDefault(_TransactionPendingFormConfirm);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _TransactionPendingFormConfirm2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionPendingForm/TransactionPendingFormConfirm/index.js\n ** module id = 1010\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionPendingForm/TransactionPendingFormConfirm/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _RaisedButton = __webpack_require__(136);var _RaisedButton2 = _interopRequireDefault(_RaisedButton);\n\nvar _constants = __webpack_require__(568);\nvar _TransactionPendingFormReject = __webpack_require__(1558);var _TransactionPendingFormReject2 = _interopRequireDefault(_TransactionPendingFormReject);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nTransactionPendingFormReject = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(TransactionPendingFormReject, _Component);function TransactionPendingFormReject() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, TransactionPendingFormReject);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = TransactionPendingFormReject.__proto__ || (0, _getPrototypeOf2.default)(TransactionPendingFormReject)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n\n state = {\n rejectCounter: _this.props.rejectCounterTime }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(TransactionPendingFormReject, [{ key: 'componentWillMount', value: function componentWillMount()\n\n\n {\n this.onInitCounter();\n } }, { key: 'componentWillUnmount', value: function componentWillUnmount()\n\n {\n this.onResetCounter();\n } }, { key: 'render', value: function render()\n\n {var\n rejectCounter = this.state.rejectCounter;var\n onReject = this.props.onReject;\n\n return (\n _react2.default.createElement('div', null,\n _react2.default.createElement('div', { className: _TransactionPendingFormReject2.default.rejectText }, 'Are you sure you want to reject transaction? ',\n _react2.default.createElement('br', null),\n _react2.default.createElement('strong', null, 'This cannot be undone')),\n\n _react2.default.createElement(_RaisedButton2.default, {\n onClick: onReject,\n className: _TransactionPendingFormReject2.default.rejectButton,\n disabled: rejectCounter > 0,\n fullWidth: true }, 'Reject Transaction ',\n\n this.renderCounter())));\n\n\n\n } }, { key: 'renderCounter', value: function renderCounter()\n\n {var\n rejectCounter = this.state.rejectCounter;\n if (!rejectCounter) {\n return;\n }\n return (\n _react2.default.createElement('span', null, '(' + rejectCounter + ')'));\n\n } }, { key: 'onInitCounter', value: function onInitCounter()\n\n {var _this2 = this;\n this.rejectInterval = setInterval(function () {var\n rejectCounter = _this2.state.rejectCounter;\n if (rejectCounter === 0) {\n return clearInterval(_this2.rejectInterval);\n }\n _this2.setState({ rejectCounter: rejectCounter - 1 });\n }, 1000);\n } }, { key: 'onResetCounter', value: function onResetCounter()\n\n {\n clearInterval(this.rejectInterval);\n this.setState({\n rejectCounter: this.props.rejectCounterTime });\n\n } }]);return TransactionPendingFormReject;}(_react.Component), _class.propTypes = { onReject: _react.PropTypes.func.isRequired, className: _react.PropTypes.string, rejectCounterTime: _react.PropTypes.number }, _class.defaultProps = { rejectCounterTime: _constants.REJECT_COUNTER_TIME }, _temp2);exports.default = TransactionPendingFormReject;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionPendingForm/TransactionPendingFormReject/TransactionPendingFormReject.js\n ** module id = 1011\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionPendingForm/TransactionPendingFormReject/TransactionPendingFormReject.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _TransactionPendingFormReject = __webpack_require__(1011);var _TransactionPendingFormReject2 = _interopRequireDefault(_TransactionPendingFormReject);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _TransactionPendingFormReject2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionPendingForm/TransactionPendingFormReject/index.js\n ** module id = 1012\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionPendingForm/TransactionPendingFormReject/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _defineProperty2 = __webpack_require__(101);var _defineProperty3 = _interopRequireDefault(_defineProperty2);var _extends2 = __webpack_require__(28);var _extends3 = _interopRequireDefault(_extends2);var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _TransactionPending = __webpack_require__(1007);var _TransactionPending2 = _interopRequireDefault(_TransactionPending);\nvar _Web3Compositor = __webpack_require__(298);var _Web3Compositor2 = _interopRequireDefault(_Web3Compositor);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nTransactionPendingWeb3 = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(TransactionPendingWeb3, _Component);function TransactionPendingWeb3() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, TransactionPendingWeb3);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = TransactionPendingWeb3.__proto__ || (0, _getPrototypeOf2.default)(TransactionPendingWeb3)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n state = {\n chain: 'homestead',\n fromBalance: null, // avoid required prop loading warning\n toBalance: null // avoid required prop loading warning in case there's a to address\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(TransactionPendingWeb3, [{ key: 'render', value: function render()\n\n {var\n web3 = this.context.web3;var _state =\n this.state;var fromBalance = _state.fromBalance;var toBalance = _state.toBalance;var chain = _state.chain;var _props =\n this.props;var from = _props.from;var to = _props.to;\n\n from = web3.toChecksumAddress(from);\n to = to ? web3.toChecksumAddress(to) : to;\n\n return (\n _react2.default.createElement(_TransactionPending2.default, (0, _extends3.default)({},\n this.props, {\n from: from,\n to: to,\n fromBalance: fromBalance,\n toBalance: toBalance,\n chain: chain })));\n\n\n }\n\n // todo [adgo] - call next() only after all CBs are executed\n }, { key: 'onTick', value: function onTick(next) {\n this.fetchChain();\n this.fetchBalances(next);\n } }, { key: 'fetchChain', value: function fetchChain()\n\n {var _this2 = this;\n this.context.web3.ethcore.getNetChain(function (err, chain) {\n if (err) {\n return console.warn('err fetching chain', err);\n }\n _this2.setState({ chain: chain });\n });\n } }, { key: 'fetchBalances', value: function fetchBalances(\n\n next) {var _props2 =\n this.props;var from = _props2.from;var to = _props2.to;\n this.fetchBalance(from, 'from', next);\n\n if (!to) {\n return;\n }\n\n this.fetchBalance(to, 'to', next);\n } }, { key: 'fetchBalance', value: function fetchBalance(\n\n address, owner, next) {var _this3 = this;\n this.context.web3.eth.getBalance(address, function (err, balance) {\n next(err);\n\n if (err) {\n console.warn('err fetching balance for ', address, err);\n return;\n }\n\n _this3.setState((0, _defineProperty3.default)({},\n owner + 'Balance', balance));\n\n });\n } }]);return TransactionPendingWeb3;}(_react.Component), _class.contextTypes = { web3: _react.PropTypes.object.isRequired }, _class.propTypes = { id: _react.PropTypes.string.isRequired, from: _react.PropTypes.string.isRequired, value: _react.PropTypes.string.isRequired, // wei hex\n gasPrice: _react.PropTypes.string.isRequired, // wei hex\n gas: _react.PropTypes.string.isRequired, // hex\n onConfirm: _react.PropTypes.func.isRequired, onReject: _react.PropTypes.func.isRequired, isSending: _react.PropTypes.bool.isRequired, to: _react.PropTypes.string, // undefined if it's a contract\n data: _react.PropTypes.string, // hex\n nonce: _react.PropTypes.number, className: _react.PropTypes.string }, _temp2);exports.default = (0, _Web3Compositor2.default)(TransactionPendingWeb3);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionPendingWeb3/TransactionPendingWeb3.js\n ** module id = 1013\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionPendingWeb3/TransactionPendingWeb3.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _TransactionPendingWeb = __webpack_require__(1013);var _TransactionPendingWeb2 = _interopRequireDefault(_TransactionPendingWeb);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _TransactionPendingWeb2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TransactionPendingWeb3/index.js\n ** module id = 1014\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TransactionPendingWeb3/index.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _transaction = __webpack_require__(449);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nTxHashLink = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(TxHashLink, _Component);function TxHashLink() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, TxHashLink);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = TxHashLink.__proto__ || (0, _getPrototypeOf2.default)(TxHashLink)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n state = {\n link: null }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(TxHashLink, [{ key: 'componentWillMount', value: function componentWillMount()\n\n\n {var _props =\n this.props;var txHash = _props.txHash;var chain = _props.chain;\n this.updateLink(txHash, chain);\n } }, { key: 'componentWillReceiveProps', value: function componentWillReceiveProps(\n\n nextProps) {var\n txHash = nextProps.txHash;var chain = nextProps.chain;\n this.updateLink(txHash, chain);\n } }, { key: 'render', value: function render()\n\n {var _props2 =\n this.props;var children = _props2.children;var txHash = _props2.txHash;var className = _props2.className;var\n link = this.state.link;\n\n return (\n _react2.default.createElement('a', {\n href: link,\n target: '_blank',\n className: className },\n children || txHash));\n\n\n } }, { key: 'updateLink', value: function updateLink(\n\n txHash, chain) {\n var link = (0, _transaction.getTxLink)(txHash, chain);\n this.setState({ link: link });\n } }]);return TxHashLink;}(_react.Component), _class.propTypes = { txHash: _react.PropTypes.string.isRequired, chain: _react.PropTypes.string.isRequired, children: _react.PropTypes.node, className: _react.PropTypes.string }, _temp2);exports.default = TxHashLink;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/TxHashLink/TxHashLink.js\n ** module id = 1015\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/TxHashLink/TxHashLink.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _extends2 = __webpack_require__(28);var _extends3 = _interopRequireDefault(_extends2);var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.default =\n\nfunction (Wrapped) {var _class, _temp2;return _temp2 = _class = function (_Component) {(0, _inherits3.default)(Web3Compositor, _Component);function Web3Compositor() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Web3Compositor);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Web3Compositor.__proto__ || (0, _getPrototypeOf2.default)(Web3Compositor)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n tickActive = false, _this.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n next = function () {\n if (!_this.tickActive) {\n return;\n }\n\n if (!_this.wrapped || !_this.wrapped.onTick) {\n setTimeout(_this.next, 5000);\n return;\n }\n\n var nextCalled = false;\n _this.wrapped.onTick(function (error) {\n if (nextCalled) {\n return;\n }\n nextCalled = true;\n setTimeout(_this.next, error ? 10000 : 2000);\n });\n }, _this.\n\n registerComponent = function (component) {\n _this.wrapped = component;\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Web3Compositor, [{ key: 'render', value: function render() {return _react2.default.createElement(Wrapped, (0, _extends3.default)({}, this.props, { ref: this.registerComponent }));} }, { key: 'componentDidMount', value: function componentDidMount() {this.tickActive = true;setTimeout(this.next);} }, { key: 'componentWillUnmount', value: function componentWillUnmount() {this.tickActive = false;} }]);return Web3Compositor;}(_react.Component), _class.contextTypes = { web3: _react.PropTypes.object.isRequired }, _temp2;}; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n// no need for react since not using JSX\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/Web3Compositor/Web3Compositor.js\n ** module id = 1016\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/Web3Compositor/Web3Compositor.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n// no need for react since not using JSX\nvar _react = __webpack_require__(1);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nWeb3Provider = (_temp = _class = function (_Component) {(0, _inherits3.default)(Web3Provider, _Component);function Web3Provider() {(0, _classCallCheck3.default)(this, Web3Provider);return (0, _possibleConstructorReturn3.default)(this, (Web3Provider.__proto__ || (0, _getPrototypeOf2.default)(Web3Provider)).apply(this, arguments));}(0, _createClass3.default)(Web3Provider, [{ key: 'getChildContext', value: function getChildContext()\n\n\n\n\n\n\n\n\n\n\n {\n return {\n web3: this.props.web3 };\n\n } }, { key: 'render', value: function render()\n\n {\n return this.props.children;\n } }]);return Web3Provider;}(_react.Component), _class.childContextTypes = { web3: _react.PropTypes.object.isRequired }, _class.propTypes = { web3: _react.PropTypes.object.isRequired, children: _react.PropTypes.element }, _temp);exports.default = Web3Provider;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/Web3Provider/Web3Provider.js\n ** module id = 1017\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/Web3Provider/Web3Provider.js?")},function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _Web3Provider = __webpack_require__(1017);var _Web3Provider2 = _interopRequireDefault(_Web3Provider);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _Web3Provider2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./views/Signer/components/Web3Provider/index.js\n ** module id = 1018\n ** module chunks = 1\n **/\n//# sourceURL=webpack:///./views/Signer/components/Web3Provider/index.js?"); diff --git a/dapps/ui/src/web/parity.js b/dapps/ui/src/web/parity.js index 9614570b63a..70874a2fa36 100644 --- a/dapps/ui/src/web/parity.js +++ b/dapps/ui/src/web/parity.js @@ -30,4 +30,4 @@ eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value },556:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _materialUi = __webpack_require__(18);\n\nvar _Title = __webpack_require__(554);var _Title2 = _interopRequireDefault(_Title);\n\n\n\n\n\n\nvar _modal = __webpack_require__(436);var _modal2 = _interopRequireDefault(_modal);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var ACTIONS_STYLE = { borderStyle: 'none' };var TITLE_STYLE = { borderStyle: 'none' };var DIALOG_STYLE = { paddingTop: '1px' };var CONTENT_STYLE = { transform: 'translate(0px, 0px)' };var\n\nModal = (_temp = _class = function (_Component) {(0, _inherits3.default)(Modal, _Component);function Modal() {(0, _classCallCheck3.default)(this, Modal);return (0, _possibleConstructorReturn3.default)(this, (Modal.__proto__ || (0, _getPrototypeOf2.default)(Modal)).apply(this, arguments));}(0, _createClass3.default)(Modal, [{ key: 'render', value: function render()\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n {var _props =\n this.props;var actions = _props.actions;var className = _props.className;var current = _props.current;var children = _props.children;var scroll = _props.scroll;var steps = _props.steps;var waiting = _props.waiting;var title = _props.title;var visible = _props.visible;\n var header =\n _react2.default.createElement(_Title2.default, {\n current: current,\n waiting: waiting,\n steps: steps,\n title: title });\n\n\n return (\n _react2.default.createElement(_materialUi.Dialog, {\n className: className,\n actions: actions,\n actionsContainerStyle: ACTIONS_STYLE,\n autoDetectWindowHeight: false,\n autoScrollBodyContent: !!scroll,\n contentStyle: CONTENT_STYLE,\n modal: true,\n open: visible,\n repositionOnUpdate: false,\n style: DIALOG_STYLE,\n title: header,\n titleStyle: TITLE_STYLE },\n children));\n\n\n } }]);return Modal;}(_react.Component), _class.propTypes = { actions: _react.PropTypes.node, children: _react.PropTypes.node, className: _react.PropTypes.string, current: _react.PropTypes.number, waiting: _react.PropTypes.array, scroll: _react.PropTypes.bool, steps: _react.PropTypes.array, title: _react2.default.PropTypes.oneOfType([_react.PropTypes.node, _react.PropTypes.string]), visible: _react.PropTypes.bool.isRequired }, _temp);exports.default = Modal;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/Modal/modal.js\n ** module id = 556\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Modal/modal.js?")},557:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _page = __webpack_require__(558);var _page2 = _interopRequireDefault(_page);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _page2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/Page/index.js\n ** module id = 557\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Page/index.js?")},558:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\n\nvar _page = __webpack_require__(662);var _page2 = _interopRequireDefault(_page);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nPage = (_temp = _class = function (_Component) {(0, _inherits3.default)(Page, _Component);function Page() {(0, _classCallCheck3.default)(this, Page);return (0, _possibleConstructorReturn3.default)(this, (Page.__proto__ || (0, _getPrototypeOf2.default)(Page)).apply(this, arguments));}(0, _createClass3.default)(Page, [{ key: 'render', value: function render()\n\n\n\n\n\n {var _props =\n this.props;var className = _props.className;var children = _props.children;\n var classes = _page2.default.layout + ' ' + className;\n\n return (\n _react2.default.createElement('div', { className: classes },\n children));\n\n\n } }]);return Page;}(_react.Component), _class.propTypes = { className: _react.PropTypes.string, children: _react.PropTypes.node }, _temp);exports.default = Page;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/Page/page.js\n ** module id = 558\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Page/page.js?")},559:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _signerIcon = __webpack_require__(560);var _signerIcon2 = _interopRequireDefault(_signerIcon);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _signerIcon2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/SignerIcon/index.js\n ** module id = 559\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/SignerIcon/index.js?")},560:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n\n// eslint-disable-line camelcase\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);var _jsSha = __webpack_require__(71);var _fingerprint = __webpack_require__(617);var _fingerprint2 = _interopRequireDefault(_fingerprint);\n\nvar _IdentityIcon = __webpack_require__(51);var _IdentityIcon2 = _interopRequireDefault(_IdentityIcon);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nSignerIcon = (_temp = _class = function (_Component) {(0, _inherits3.default)(SignerIcon, _Component);function SignerIcon() {(0, _classCallCheck3.default)(this, SignerIcon);return (0, _possibleConstructorReturn3.default)(this, (SignerIcon.__proto__ || (0, _getPrototypeOf2.default)(SignerIcon)).apply(this, arguments));}(0, _createClass3.default)(SignerIcon, [{ key: 'render', value: function render()\n\n\n\n\n {var\n className = this.props.className;\n var signerToken = window.localStorage.getItem('sysuiToken');\n\n if (!signerToken) {\n return (\n _react2.default.createElement(_fingerprint2.default, null));\n\n }\n\n var signerSha = (0, _jsSha.keccak_256)(signerToken);\n\n return (\n _react2.default.createElement(_IdentityIcon2.default, {\n center: true,\n className: className,\n address: signerSha }));\n\n } }]);return SignerIcon;}(_react.Component), _class.propTypes = { className: _react.PropTypes.string }, _temp);exports.default = SignerIcon;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/SignerIcon/signerIcon.js\n ** module id = 560\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/SignerIcon/signerIcon.js?")},561:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _theme = __webpack_require__(562);var _theme2 = _interopRequireDefault(_theme);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _theme2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/Theme/index.js\n ** module id = 561\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Theme/index.js?")},562:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar _getMuiTheme = __webpack_require__(122);var _getMuiTheme2 = _interopRequireDefault(_getMuiTheme);\nvar _darkBaseTheme = __webpack_require__(614);var _darkBaseTheme2 = _interopRequireDefault(_darkBaseTheme);\nvar _lightBaseTheme = __webpack_require__(271);var _lightBaseTheme2 = _interopRequireDefault(_lightBaseTheme);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}\n\nvar lightTheme = (0, _getMuiTheme2.default)(_lightBaseTheme2.default); // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\nvar muiTheme = (0, _getMuiTheme2.default)(_darkBaseTheme2.default);muiTheme.stepper.textColor = '#eee';muiTheme.stepper.disabledTextColor = '#777';muiTheme.inkBar.backgroundColor = 'transparent'; // 'rgb(0, 151, 167)'; // 'rgba(255, 136, 0, 0.8)';\nmuiTheme.raisedButton.primaryTextColor = 'white';muiTheme.snackbar.backgroundColor = 'rgba(255, 30, 30, 0.9)';muiTheme.snackbar.textColor = 'rgba(255, 255, 255, 0.9)';muiTheme.tabs = lightTheme.tabs;muiTheme.tabs.backgroundColor = 'rgb(65, 65, 65)';muiTheme.tabs.selectedTextColor = 'rgb(255, 255, 255)'; // 'rgb(0, 151, 167)'; // 'rgba(255, 136, 0, 0.8)';\nmuiTheme.tabs.textColor = 'rgb(0, 151, 167)'; // 'rgba(255, 255, 255, 1)'; // 'rgba(0, 151, 167, 1)';\nmuiTheme.textField.disabledTextColor = muiTheme.textField.textColor;muiTheme.toolbar = lightTheme.toolbar;muiTheme.toolbar.backgroundColor = 'rgb(80, 80, 80)'; // 'rgba(255, 136, 0, 0.5)'; // 'rgb(80, 80, 80)';\nexports.default =\nmuiTheme;\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/Theme/theme.js\n ** module id = 562\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Theme/theme.js?")},563:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = undefined;var _tooltip = __webpack_require__(564);var _tooltip2 = _interopRequireDefault(_tooltip);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ndefault = _tooltip2.default; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/Tooltips/Tooltip/index.js\n ** module id = 563\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Tooltips/Tooltip/index.js?")},564:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp2; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\nvar _materialUi = __webpack_require__(18);\nvar _doneAll = __webpack_require__(228);var _doneAll2 = _interopRequireDefault(_doneAll);\nvar _clear = __webpack_require__(106);var _clear2 = _interopRequireDefault(_clear);\nvar _arrowForward = __webpack_require__(272);var _arrowForward2 = _interopRequireDefault(_arrowForward);\n\nvar _actions = __webpack_require__(297);\n\nvar _tooltips = __webpack_require__(437);var _tooltips2 = _interopRequireDefault(_tooltips);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}\n\nvar tooltipId = 0;var\n\nTooltip = (_temp2 = _class = function (_Component) {(0, _inherits3.default)(Tooltip, _Component);function Tooltip() {var _ref;var _temp, _this, _ret;(0, _classCallCheck3.default)(this, Tooltip);for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = Tooltip.__proto__ || (0, _getPrototypeOf2.default)(Tooltip)).call.apply(_ref, [this].concat(args))), _this), _this.\n\n\n\n\n\n\n\n\n\n\n\n\n state = {\n id: tooltipId }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);}(0, _createClass3.default)(Tooltip, [{ key: 'componentWillMount', value: function componentWillMount()\n\n\n {var\n onNewTooltip = this.props.onNewTooltip;\n\n onNewTooltip(tooltipId);\n tooltipId++;\n } }, { key: 'render', value: function render()\n\n {var\n id = this.state.id;var _props =\n this.props;var className = _props.className;var currentId = _props.currentId;var maxId = _props.maxId;var right = _props.right;var onCloseTooltips = _props.onCloseTooltips;var onNextTooltip = _props.onNextTooltip;\n var classes = _tooltips2.default.box + ' ' + (right ? _tooltips2.default.arrowRight : _tooltips2.default.arrowLeft) + ' ' + className;\n\n if (id !== currentId) {\n return null;\n }\n\n var buttons = id !== maxId ?\n [\n _react2.default.createElement(_materialUi.FlatButton, {\n key: 'skipButton',\n icon: _react2.default.createElement(_clear2.default, null),\n label: 'Skip',\n onTouchTap: onCloseTooltips }),\n _react2.default.createElement(_materialUi.FlatButton, {\n key: 'nextButton',\n icon: _react2.default.createElement(_arrowForward2.default, null),\n label: 'Next',\n onTouchTap: onNextTooltip })] :\n\n _react2.default.createElement(_materialUi.FlatButton, {\n icon: _react2.default.createElement(_doneAll2.default, null),\n label: 'Done',\n onTouchTap: onCloseTooltips });\n\n\n return (\n _react2.default.createElement('div', {\n className: classes },\n _react2.default.createElement('div', { className: _tooltips2.default.title },\n this.props.title),\n\n _react2.default.createElement('div', { className: _tooltips2.default.text },\n this.props.text),\n\n _react2.default.createElement('div', { className: _tooltips2.default.buttons },\n buttons)));\n\n\n\n } }]);return Tooltip;}(_react.Component), _class.propTypes = { title: _react.PropTypes.string, text: _react.PropTypes.string, right: _react.PropTypes.bool, currentId: _react.PropTypes.number, maxId: _react.PropTypes.number, className: _react.PropTypes.string, onNewTooltip: _react.PropTypes.func, onNextTooltip: _react.PropTypes.func, onCloseTooltips: _react.PropTypes.func }, _temp2);\n\n\nfunction mapStateToProps(state) {var _state$tooltip =\n state.tooltip;var currentId = _state$tooltip.currentId;var maxId = _state$tooltip.maxId;\n\n return { currentId: currentId, maxId: maxId };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({\n onNewTooltip: _actions.newTooltip,\n onNextTooltip: _actions.nextTooltip,\n onCloseTooltips: _actions.closeTooltips },\n dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nTooltip);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/Tooltips/Tooltip/tooltip.js\n ** module id = 564\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Tooltips/Tooltip/tooltip.js?")},565:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _assign = __webpack_require__(40);var _assign2 = _interopRequireDefault(_assign);exports.default =\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\ntooltipReducer;function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\nvar LS_KEY = 'tooltips';var currentId = -1;var maxId = 0;function closeTooltips(state, action) {window.localStorage.setItem(LS_KEY, '{\"state\":\"off\"}');currentId = -1;return (0, _assign2.default)({}, state, { currentId: currentId });}function newTooltip(state, action) {var newId = action.newId;maxId = Math.max(newId, maxId);return (0, _assign2.default)({}, state, { currentId: currentId, maxId: maxId });}function nextTooltip(state, action) {var hideTips = window.localStorage.getItem(LS_KEY);currentId = hideTips ? -1 : currentId + 1;return (0, _assign2.default)({}, state, { currentId: currentId });}function tooltipReducer() {var state = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];var action = arguments[1];switch (action.type) {case 'newTooltip':return newTooltip(state, action);case 'nextTooltip':return nextTooltip(state, action);case 'closeTooltips':return closeTooltips(state, action);default:return state;}\n\n}\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/Tooltips/reducers.js\n ** module id = 565\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Tooltips/reducers.js?")},566:function(module,exports,__webpack_require__){eval("'use strict';Object.defineProperty(exports, \"__esModule\", { value: true });var _getPrototypeOf = __webpack_require__(6);var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);var _classCallCheck2 = __webpack_require__(3);var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);var _createClass2 = __webpack_require__(4);var _createClass3 = _interopRequireDefault(_createClass2);var _possibleConstructorReturn2 = __webpack_require__(8);var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);var _inherits2 = __webpack_require__(7);var _inherits3 = _interopRequireDefault(_inherits2);var _class, _temp; // Copyright 2015, 2016 Ethcore (UK) Ltd.\n// This file is part of Parity.\n\n// Parity is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n\n// Parity is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n\n// You should have received a copy of the GNU General Public License\n// along with Parity. If not, see .\n\nvar _react = __webpack_require__(1);var _react2 = _interopRequireDefault(_react);\nvar _reactRedux = __webpack_require__(19);\nvar _redux = __webpack_require__(17);\n\nvar _actions = __webpack_require__(297);\n\nvar _tooltips = __webpack_require__(437);var _tooltips2 = _interopRequireDefault(_tooltips);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var\n\nTooltips = (_temp = _class = function (_Component) {(0, _inherits3.default)(Tooltips, _Component);function Tooltips() {(0, _classCallCheck3.default)(this, Tooltips);return (0, _possibleConstructorReturn3.default)(this, (Tooltips.__proto__ || (0, _getPrototypeOf2.default)(Tooltips)).apply(this, arguments));}(0, _createClass3.default)(Tooltips, [{ key: 'componentDidMount', value: function componentDidMount()\n\n\n\n\n\n\n {var\n onNextTooltip = this.props.onNextTooltip;\n\n onNextTooltip();\n } }, { key: 'render', value: function render()\n\n {var\n currentId = this.props.currentId;\n\n if (currentId === -1) {\n return null;\n }\n\n return (\n _react2.default.createElement('div', { className: _tooltips2.default.overlay }));\n\n } }]);return Tooltips;}(_react.Component), _class.propTypes = { currentId: _react.PropTypes.number, closed: _react.PropTypes.bool, onNextTooltip: _react.PropTypes.func }, _temp);\n\n\nfunction mapStateToProps(state) {var\n currentId = state.tooltip.currentId;\n\n return { currentId: currentId };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return (0, _redux.bindActionCreators)({\n onNextTooltip: _actions.nextTooltip },\n dispatch);\n}exports.default =\n\n(0, _reactRedux.connect)(\nmapStateToProps,\nmapDispatchToProps)(\nTooltips);\n\n/*****************\n ** WEBPACK FOOTER\n ** ./ui/Tooltips/tooltips.js\n ** module id = 566\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Tooltips/tooltips.js?")},571:function(module,exports){eval('module.exports=function(){function r(r){for(var t=0;t>19^r^r>>8,(l[3]>>>0)/(1<<31>>>0)}function e(){var r=Math.floor(360*t()),e=60*t()+40+"%",o=25*(t()+t()+t()+t())+"%",n="hsl("+r+","+e+","+o+")";return n}function o(r){for(var e=r,o=r,n=Math.ceil(e/2),a=e-n,l=[],f=0;o>f;f++){for(var h=[],c=0;n>c;c++)h[c]=Math.floor(2.3*t());var i=h.slice(0,a);i.reverse(),h=h.concat(i);for(var v=0;v.\\n*/\\n.actionbar {\\n padding: 0.5em 24px !important;\\n height: auto !important;\\n}\\n\\n.tooltitle {\\n text-transform: uppercase;\\n color: white;\\n}\\n\\n.toolbuttons {\\n}\\n\\n.toolbuttons button {\\n margin: 10px 0 10px 16px !important;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"actionbar": "actionbar__actionbar___jIHsC",\n\t"tooltitle": "actionbar__tooltitle___1OQxJ",\n\t"toolbuttons": "actionbar__toolbuttons___2y-2A"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Actionbar/actionbar.css\n ** module id = 583\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Actionbar/actionbar.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader'); },584:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".badge__bubble___VUtkp{border-radius:50%;padding:3px 5px;color:#fff;font-size:.7em;line-height:1em}.badge__default___gCxms{background:#555}.badge__red___32Uzz{background:red}.badge__green___2W-xU{background:green}", "", {"version":3,"sources":["/./ui/Badge/badge.css"],"names":[],"mappings":"AAgBA,uBACE,kBAAmB,AACnB,gBAAiB,AACjB,WAAa,AACb,eAAiB,AACjB,eAAiB,CAClB,AAED,wBACE,eAAiB,CAClB,AAED,oBACE,cAAgB,CACjB,AAED,sBACE,gBAAkB,CACnB","file":"badge.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.bubble {\\n border-radius: 50%;\\n padding: 3px 5px;\\n color: white;\\n font-size: 0.7em;\\n line-height: 1em;\\n}\\n\\n.default {\\n background: #555;\\n}\\n\\n.red {\\n background: red;\\n}\\n\\n.green {\\n background: green;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"bubble": "badge__bubble___VUtkp",\n\t"default": "badge__default___gCxms",\n\t"red": "badge__red___32Uzz",\n\t"green": "badge__green___2W-xU"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Badge/badge.css\n ** module id = 584\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Badge/badge.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},585:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".balance__balances___23B-q{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:1em 0 0;vertical-align:top}.balance__empty___3BbCF{line-height:24px;margin:.75em .5em 0 0;opacity:.25}.balance__balance___2p4vw{background:hsla(0,0%,100%,.07);border-radius:16px;margin:.75em .5em 0 0;max-height:24px}.balance__balance___2p4vw img{display:inline-block;height:32px;margin:-4px 1em 0 0;width:32px}.balance__balance___2p4vw div{display:inline-block;line-height:24px;margin:0 1em 0 0;vertical-align:top}", "", {"version":3,"sources":["/./ui/Balance/balance.css"],"names":[],"mappings":"AAgBA,2BACE,oBAAc,AAAd,oBAAc,AAAd,aAAc,AACd,mBAAgB,AAAhB,eAAgB,AAChB,eAAkB,AAClB,kBAAoB,CACrB,AAED,wBACE,iBAAkB,AAClB,sBAAyB,AACzB,WAAc,CACf,AAED,0BACE,+BAAsC,AACtC,mBAAoB,AACpB,sBAAyB,AACzB,eAAiB,CAClB,AAED,8BACE,qBAAsB,AACtB,YAAa,AACb,oBAAqB,AACrB,UAAY,CACb,AAED,8BACE,qBAAsB,AAEtB,iBAAkB,AAClB,iBAAkB,AAClB,kBAAoB,CACrB","file":"balance.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.balances {\\n display: flex;\\n flex-wrap: wrap;\\n margin: 1em 0 0 0;\\n vertical-align: top;\\n}\\n\\n.empty {\\n line-height: 24px;\\n margin: 0.75em 0.5em 0 0;\\n opacity: 0.25;\\n}\\n\\n.balance {\\n background: rgba(255, 255, 255, 0.07);\\n border-radius: 16px;\\n margin: 0.75em 0.5em 0 0;\\n max-height: 24px;\\n}\\n\\n.balance img {\\n display: inline-block;\\n height: 32px;\\n margin: -4px 1em 0 0;\\n width: 32px;\\n}\\n\\n.balance div {\\n display: inline-block;\\n /*font-family: \'Roboto Mono\', monospace;*/\\n line-height: 24px;\\n margin: 0 1em 0 0;\\n vertical-align: top;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"balances": "balance__balances___23B-q",\n\t"empty": "balance__empty___3BbCF",\n\t"balance": "balance__balance___2p4vw"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Balance/balance.css\n ** module id = 585\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Balance/balance.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},586:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".confirmDialog__body___1JWnR{padding-top:1.5em;text-align:center}", "", {"version":3,"sources":["/./ui/ConfirmDialog/confirmDialog.css"],"names":[],"mappings":"AAgBA,6BACE,kBAAmB,AACnB,iBAAmB,CACpB","file":"confirmDialog.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.body {\\n padding-top: 1.5em;\\n text-align: center;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"body": "confirmDialog__body___1JWnR"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/ConfirmDialog/confirmDialog.css\n ** module id = 586\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/ConfirmDialog/confirmDialog.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},587:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".title__byline___1dG1t{color:#aaa}", "", {"version":3,"sources":["/./ui/Container/Title/title.css"],"names":[],"mappings":"AAgBA,uBACE,UAAY,CACb","file":"title.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.byline {\\n color: #aaa;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"byline": "title__byline___1dG1t"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Container/Title/title.css\n ** module id = 587\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Container/Title/title.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},588:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".container__container___1RCAy{padding:0 1em 1em}.container__padded___4TBr0{padding:1em}", "", {"version":3,"sources":["/./ui/Container/container.css"],"names":[],"mappings":"AAgBA,8BACE,iBAAyB,CAC1B,AAED,2BACE,WAAa,CACd","file":"container.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.container {\\n padding: 0em 1em 1em 1em;\\n}\\n\\n.padded {\\n padding: 1em;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"container": "container__container___1RCAy",\n\t"padded": "container__padded___4TBr0"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Container/container.css\n ** module id = 588\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Container/container.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},589:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".formWrap__stretch___2NJu4{width:75%;clear:both}.formWrap__stretch___2NJu4 input{width:100%}", "", {"version":3,"sources":["/./ui/Form/FormWrap/formWrap.css"],"names":[],"mappings":"AAgBA,2BACE,UAAW,AACX,UAAY,CACb,AAED,iCACE,UAAY,CACb","file":"formWrap.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.stretch {\\n width: 75%;\\n clear: both;\\n}\\n\\n.stretch input {\\n width: 100%;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"stretch": "formWrap__stretch___2NJu4"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Form/FormWrap/formWrap.css\n ** module id = 589\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Form/FormWrap/formWrap.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},590:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".inputAddress__container___38k-H{position:relative}.inputAddress__input___1eZUC input{padding-left:48px!important}.inputAddress__icon___3-Ujm{position:absolute;top:35px}", "", {"version":3,"sources":["/./ui/Form/InputAddress/inputAddress.css"],"names":[],"mappings":"AAgBA,iCACE,iBAAmB,CACpB,AAED,mCACE,2BAA8B,CAC/B,AAED,4BACE,kBAAmB,AACnB,QAAU,CACX","file":"inputAddress.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.container {\\n position: relative;\\n}\\n\\n.input input {\\n padding-left: 48px !important;\\n}\\n\\n.icon {\\n position: absolute;\\n top: 35px;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"container": "inputAddress__container___38k-H",\n\t"input": "inputAddress__input___1eZUC",\n\t"icon": "inputAddress__icon___3-Ujm"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Form/InputAddress/inputAddress.css\n ** module id = 590\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Form/InputAddress/inputAddress.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},591:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".inputAddressSelect__inputselect___rKRcJ{position:relative}.inputAddressSelect__inputselect___rKRcJ svg{padding-right:84px}.inputAddressSelect__toggle___1RZ-z{position:absolute!important;top:38px;right:0;display:inline-block!important;width:auto!important}.inputAddressSelect__account___2URCX{max-height:36px;padding:4px 0 0;line-height:32px}.inputAddressSelect__inputselect___rKRcJ .inputAddressSelect__account___2URCX{margin-top:11px}.inputAddressSelect__details___2uFXC{display:inline-block;vertical-align:top}.inputAddressSelect__image___xaVE9{display:inline-block;max-height:32px}.inputAddressSelect__name___3gXRa{line-height:32px;vertical-align:top;text-transform:uppercase}", "", {"version":3,"sources":["/./ui/Form/InputAddressSelect/inputAddressSelect.css"],"names":[],"mappings":"AAgBA,yCACE,iBAAmB,CACpB,AAED,6CACE,kBAAoB,CACrB,AAED,oCACE,4BAA8B,AAC9B,SAAU,AACV,QAAS,AACT,+BAAiC,AACjC,oBAAuB,CACxB,AAED,qCACE,gBAAiB,AACjB,gBAAmB,AACnB,gBAAkB,CACnB,AAED,8EACE,eAAiB,CAClB,AAED,qCACE,qBAAsB,AACtB,kBAAoB,CACrB,AAED,mCACE,qBAAsB,AACtB,eAAiB,CAClB,AAED,kCACE,iBAAkB,AAClB,mBAAoB,AACpB,wBAA0B,CAC3B","file":"inputAddressSelect.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.inputselect {\\n position: relative;\\n}\\n\\n.inputselect svg {\\n padding-right: 84px;\\n}\\n\\n.toggle {\\n position: absolute !important;\\n top: 38px;\\n right: 0;\\n display: inline-block !important;\\n width: auto !important;\\n}\\n\\n.account {\\n max-height: 36px;\\n padding: 4px 0 0 0;\\n line-height: 32px;\\n}\\n\\n.inputselect .account {\\n margin-top: 11px;\\n}\\n\\n.details {\\n display: inline-block;\\n vertical-align: top;\\n}\\n\\n.image {\\n display: inline-block;\\n max-height: 32px;\\n}\\n\\n.name {\\n line-height: 32px;\\n vertical-align: top;\\n text-transform: uppercase;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"inputselect": "inputAddressSelect__inputselect___rKRcJ",\n\t"toggle": "inputAddressSelect__toggle___1RZ-z",\n\t"account": "inputAddressSelect__account___2URCX",\n\t"details": "inputAddressSelect__details___2uFXC",\n\t"image": "inputAddressSelect__image___xaVE9",\n\t"name": "inputAddressSelect__name___3gXRa"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Form/InputAddressSelect/inputAddressSelect.css\n ** module id = 591\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Form/InputAddressSelect/inputAddressSelect.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},592:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".inputInline__inlineedit___wH76F{cursor:pointer}", "", {"version":3,"sources":["/./ui/Form/InputInline/inputInline.css"],"names":[],"mappings":"AAgBA,iCACE,cAAgB,CACjB","file":"inputInline.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.inlineedit {\\n cursor: pointer;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"inlineedit": "inputInline__inlineedit___wH76F"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Form/InputInline/inputInline.css\n ** module id = 592\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Form/InputInline/inputInline.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},593:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".form__autofill___3FYW0{height:0;width:1px;position:absolute;left:0;top:0;opacity:0}:root .form__form___RoysT input:-webkit-autofill{display:none;opacity:0}", "", {"version":3,"sources":["/./ui/Form/form.css"],"names":[],"mappings":"AAmBA,wBACE,SAAU,AACV,UAAW,AACX,kBAAmB,AACnB,OAAQ,AACR,MAAO,AACP,SAAW,CACZ,AAED,iDACE,aAAc,AACd,SAAW,CACZ","file":"form.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.form {\\n}\\n\\n.autofill {\\n height: 0;\\n width: 1px;\\n position: absolute;\\n left: 0;\\n top: 0;\\n opacity: 0;\\n}\\n\\n:root .form input:-webkit-autofill {\\n display: none;\\n opacity: 0;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"form": "form__form___RoysT",\n\t"autofill": "form__autofill___3FYW0"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Form/form.css\n ** module id = 593\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Form/form.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},594:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".modal__title___3mf2h{padding:1em;background:rgba(0,0,0,.175)}.modal__title___3mf2h h3{margin:0;text-transform:uppercase}.modal__title___3mf2h .modal__steps___v_ten{margin-bottom:-1em}.modal__waiting___DTZLZ{margin:0 -1em}", "", {"version":3,"sources":["/./ui/Modal/modal.css"],"names":[],"mappings":"AAgBA,sBACE,YAAa,AACb,2BAAiC,CAClC,AAED,yBACE,SAAU,AACV,wBAA0B,CAC3B,AAED,4CACE,kBAAoB,CACrB,AAED,wBACE,aAAsB,CACvB","file":"modal.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.title {\\n padding: 1em;\\n background: rgba(0, 0, 0, 0.175);\\n}\\n\\n.title h3 {\\n margin: 0;\\n text-transform: uppercase;\\n}\\n\\n.title .steps {\\n margin-bottom: -1em;\\n}\\n\\n.waiting {\\n margin: 0 -1em 0 -1em;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"title": "modal__title___3mf2h",\n\t"steps": "modal__steps___v_ten",\n\t"waiting": "modal__waiting___DTZLZ"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Modal/modal.css\n ** module id = 594\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Modal/modal.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},595:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".page__layout___27xcL{padding:0 3em}", "", {"version":3,"sources":["/./ui/Page/page.css"],"names":[],"mappings":"AAgBA,sBACE,aAAiB,CAClB","file":"page.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.layout {\\n padding: 0em 3em;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"layout": "page__layout___27xcL"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Page/page.css\n ** module id = 595\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Page/page.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},596:function(module,exports,__webpack_require__){eval('exports = module.exports = __webpack_require__(10)();\n// imports\n\n\n// module\nexports.push([module.id, ".tooltips__container___33FpL{height:100%;width:100%}.tooltips__overlay___14aeF{position:fixed;top:0;left:0;bottom:0;right:0;background:transparent;z-index:499}.tooltips__box___vmW-v{position:absolute;background:#663600;border:4px solid #f80;max-width:450px;border-radius:.5em;z-index:500;opacity:1;line-height:1.618em;white-space:normal;opacity:.95}.tooltips__box___vmW-v:after,.tooltips__box___vmW-v:before{bottom:100%;border:solid transparent;content:\\" \\";height:0;width:0;position:absolute;pointer-events:none}.tooltips__box___vmW-v:after{border-color:rgba(136,183,213,0);border-bottom-color:#663600;border-width:20px}.tooltips__box___vmW-v:before{border-color:rgba(194,225,245,0);border-bottom-color:#f80;border-width:26px}.tooltips__arrowLeft___1Dl8w:after,.tooltips__arrowLeft___1Dl8w:before{left:15%}.tooltips__arrowLeft___1Dl8w:after{margin-left:-20px}.tooltips__arrowLeft___1Dl8w:before{margin-left:-26px}.tooltips__arrowRight___3_FeX:after,.tooltips__arrowRight___3_FeX:before{right:15%}.tooltips__arrowRight___3_FeX:after{margin-right:-20px}.tooltips__arrowRight___3_FeX:before{margin-right:-26px}.tooltips__title___2UjHy{text-transform:uppercase}.tooltips__text___2Xt0o{padding:1em}.tooltips__buttons___1Bc4Q{margin:0;padding:0 .5em .5em 0;text-align:right}", "", {"version":3,"sources":["/./ui/Tooltips/tooltips.css"],"names":[],"mappings":"AAgBA,6BACE,YAAa,AACb,UAAY,CACb,AAED,2BACE,eAAgB,AAChB,MAAO,AACP,OAAQ,AACR,SAAU,AACV,QAAS,AACT,uBAAwB,AACxB,WAAa,CACd,AAED,uBACE,kBAAmB,AACnB,mBAAoB,AACpB,sBAAuB,AACvB,gBAAiB,AACjB,mBAAqB,AACrB,YAAa,AACb,UAAW,AACX,oBAAqB,AACrB,mBAAoB,AACpB,WAAc,CACf,AAED,2DACE,YAAa,AACb,yBAA0B,AAC1B,YAAa,AACb,SAAU,AACV,QAAS,AACT,kBAAmB,AACnB,mBAAqB,CACtB,AAED,6BACE,iCAAqC,AACrC,4BAA6B,AAC7B,iBAAmB,CACpB,AAED,8BACE,iCAAqC,AACrC,yBAA0B,AAC1B,iBAAmB,CACpB,AAED,uEACE,QAAU,CACX,AAED,mCACE,iBAAmB,CACpB,AAED,oCACE,iBAAmB,CACpB,AAED,yEACE,SAAW,CACZ,AAED,oCACE,kBAAoB,CACrB,AAED,qCACE,kBAAoB,CACrB,AAED,yBACE,wBAA0B,CAC3B,AAED,wBACE,WAAa,CACd,AAED,2BACE,SAAU,AACV,sBAAyB,AACzB,gBAAkB,CACnB","file":"tooltips.css","sourcesContent":["/* Copyright 2015, 2016 Ethcore (UK) Ltd.\\n/* This file is part of Parity.\\n/*\\n/* Parity is free software: you can redistribute it and/or modify\\n/* it under the terms of the GNU General Public License as published by\\n/* the Free Software Foundation, either version 3 of the License, or\\n/* (at your option) any later version.\\n/*\\n/* Parity is distributed in the hope that it will be useful,\\n/* but WITHOUT ANY WARRANTY; without even the implied warranty of\\n/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n/* GNU General Public License for more details.\\n/*\\n/* You should have received a copy of the GNU General Public License\\n/* along with Parity. If not, see .\\n*/\\n.container {\\n height: 100%;\\n width: 100%;\\n}\\n\\n.overlay {\\n position: fixed;\\n top: 0;\\n left: 0;\\n bottom: 0;\\n right: 0;\\n background: transparent;\\n z-index: 499;\\n}\\n\\n.box {\\n position: absolute;\\n background: #663600; /* rgba(48, 48, 48, 0.95); #88b7d5; */\\n border: 4px solid #f80; /* #c2e1f5; */\\n max-width: 450px;\\n border-radius: 0.5em;\\n z-index: 500;\\n opacity: 1;\\n line-height: 1.618em;\\n white-space: normal;\\n opacity: 0.95;\\n}\\n\\n.box:after, .box:before {\\n bottom: 100%;\\n border: solid transparent;\\n content: \\" \\";\\n height: 0;\\n width: 0;\\n position: absolute;\\n pointer-events: none;\\n}\\n\\n.box:after {\\n border-color: rgba(136, 183, 213, 0);\\n border-bottom-color: #663600; /* rgba(48, 48, 48, 0.95); #88b7d5; */\\n border-width: 20px;\\n}\\n\\n.box:before {\\n border-color: rgba(194, 225, 245, 0);\\n border-bottom-color: #f80; /* #c2e1f5; */\\n border-width: 26px;\\n}\\n\\n.arrowLeft:after, .arrowLeft:before {\\n left: 15%;\\n}\\n\\n.arrowLeft:after {\\n margin-left: -20px;\\n}\\n\\n.arrowLeft:before {\\n margin-left: -26px;\\n}\\n\\n.arrowRight:after, .arrowRight:before {\\n right: 15%;\\n}\\n\\n.arrowRight:after {\\n margin-right: -20px;\\n}\\n\\n.arrowRight:before {\\n margin-right: -26px;\\n}\\n\\n.title {\\n text-transform: uppercase;\\n}\\n\\n.text {\\n padding: 1em;\\n}\\n\\n.buttons {\\n margin: 0;\\n padding: 0 0.5em 0.5em 0;\\n text-align: right;\\n}\\n"],"sourceRoot":"webpack://"}]);\n\n// exports\nexports.locals = {\n\t"container": "tooltips__container___33FpL",\n\t"overlay": "tooltips__overlay___14aeF",\n\t"box": "tooltips__box___vmW-v",\n\t"arrowLeft": "tooltips__arrowLeft___1Dl8w",\n\t"arrowRight": "tooltips__arrowRight___3_FeX",\n\t"title": "tooltips__title___2UjHy",\n\t"text": "tooltips__text___2Xt0o",\n\t"buttons": "tooltips__buttons___1Bc4Q"\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!../~/postcss-loader!./ui/Tooltips/tooltips.css\n ** module id = 596\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///./ui/Tooltips/tooltips.css?../~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=%5Bname%5D__%5Blocal%5D___%5Bhash:base64:5%5D!../~/postcss-loader')},597:function(module,exports,__webpack_require__){eval("var require;/* WEBPACK VAR INJECTION */(function(process, global) {/*!\n * @overview es6-promise - a tiny implementation of Promises/A+.\n * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)\n * @license Licensed under MIT license\n * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE\n * @version 3.3.1\n */\n\n(function (global, factory) {\n true ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global.ES6Promise = factory());\n}(this, (function () { 'use strict';\n\nfunction objectOrFunction(x) {\n return typeof x === 'function' || typeof x === 'object' && x !== null;\n}\n\nfunction isFunction(x) {\n return typeof x === 'function';\n}\n\nvar _isArray = undefined;\nif (!Array.isArray) {\n _isArray = function (x) {\n return Object.prototype.toString.call(x) === '[object Array]';\n };\n} else {\n _isArray = Array.isArray;\n}\n\nvar isArray = _isArray;\n\nvar len = 0;\nvar vertxNext = undefined;\nvar customSchedulerFn = undefined;\n\nvar asap = function asap(callback, arg) {\n queue[len] = callback;\n queue[len + 1] = arg;\n len += 2;\n if (len === 2) {\n // If len is 2, that means that we need to schedule an async flush.\n // If additional callbacks are queued before the queue is flushed, they\n // will be processed by this flush that we are scheduling.\n if (customSchedulerFn) {\n customSchedulerFn(flush);\n } else {\n scheduleFlush();\n }\n }\n};\n\nfunction setScheduler(scheduleFn) {\n customSchedulerFn = scheduleFn;\n}\n\nfunction setAsap(asapFn) {\n asap = asapFn;\n}\n\nvar browserWindow = typeof window !== 'undefined' ? window : undefined;\nvar browserGlobal = browserWindow || {};\nvar BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\nvar isNode = typeof self === 'undefined' && typeof process !== 'undefined' && ({}).toString.call(process) === '[object process]';\n\n// test for web worker but not in IE10\nvar isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n\n// node\nfunction useNextTick() {\n // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n // see https://github.com/cujojs/when/issues/410 for details\n return function () {\n return process.nextTick(flush);\n };\n}\n\n// vertx\nfunction useVertxTimer() {\n return function () {\n vertxNext(flush);\n };\n}\n\nfunction useMutationObserver() {\n var iterations = 0;\n var observer = new BrowserMutationObserver(flush);\n var node = document.createTextNode('');\n observer.observe(node, { characterData: true });\n\n return function () {\n node.data = iterations = ++iterations % 2;\n };\n}\n\n// web worker\nfunction useMessageChannel() {\n var channel = new MessageChannel();\n channel.port1.onmessage = flush;\n return function () {\n return channel.port2.postMessage(0);\n };\n}\n\nfunction useSetTimeout() {\n // Store setTimeout reference so es6-promise will be unaffected by\n // other code modifying setTimeout (like sinon.useFakeTimers())\n var globalSetTimeout = setTimeout;\n return function () {\n return globalSetTimeout(flush, 1);\n };\n}\n\nvar queue = new Array(1000);\nfunction flush() {\n for (var i = 0; i < len; i += 2) {\n var callback = queue[i];\n var arg = queue[i + 1];\n\n callback(arg);\n\n queue[i] = undefined;\n queue[i + 1] = undefined;\n }\n\n len = 0;\n}\n\nfunction attemptVertx() {\n try {\n var r = require;\n var vertx = __webpack_require__(665);\n vertxNext = vertx.runOnLoop || vertx.runOnContext;\n return useVertxTimer();\n } catch (e) {\n return useSetTimeout();\n }\n}\n\nvar scheduleFlush = undefined;\n// Decide what async method to use to triggering processing of queued callbacks:\nif (isNode) {\n scheduleFlush = useNextTick();\n} else if (BrowserMutationObserver) {\n scheduleFlush = useMutationObserver();\n} else if (isWorker) {\n scheduleFlush = useMessageChannel();\n} else if (browserWindow === undefined && \"function\" === 'function') {\n scheduleFlush = attemptVertx();\n} else {\n scheduleFlush = useSetTimeout();\n}\n\nfunction then(onFulfillment, onRejection) {\n var _arguments = arguments;\n\n var parent = this;\n\n var child = new this.constructor(noop);\n\n if (child[PROMISE_ID] === undefined) {\n makePromise(child);\n }\n\n var _state = parent._state;\n\n if (_state) {\n (function () {\n var callback = _arguments[_state - 1];\n asap(function () {\n return invokeCallback(_state, child, callback, parent._result);\n });\n })();\n } else {\n subscribe(parent, child, onFulfillment, onRejection);\n }\n\n return child;\n}\n\n/**\n `Promise.resolve` returns a promise that will become resolved with the\n passed `value`. It is shorthand for the following:\n\n ```javascript\n let promise = new Promise(function(resolve, reject){\n resolve(1);\n });\n\n promise.then(function(value){\n // value === 1\n });\n ```\n\n Instead of writing the above, your code now simply becomes the following:\n\n ```javascript\n let promise = Promise.resolve(1);\n\n promise.then(function(value){\n // value === 1\n });\n ```\n\n @method resolve\n @static\n @param {Any} value value that the returned promise will be resolved with\n Useful for tooling.\n @return {Promise} a promise that will become fulfilled with the given\n `value`\n*/\nfunction resolve(object) {\n /*jshint validthis:true */\n var Constructor = this;\n\n if (object && typeof object === 'object' && object.constructor === Constructor) {\n return object;\n }\n\n var promise = new Constructor(noop);\n _resolve(promise, object);\n return promise;\n}\n\nvar PROMISE_ID = Math.random().toString(36).substring(16);\n\nfunction noop() {}\n\nvar PENDING = void 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\n\nvar GET_THEN_ERROR = new ErrorObject();\n\nfunction selfFulfillment() {\n return new TypeError(\"You cannot resolve a promise with itself\");\n}\n\nfunction cannotReturnOwn() {\n return new TypeError('A promises callback cannot return that same promise.');\n}\n\nfunction getThen(promise) {\n try {\n return promise.then;\n } catch (error) {\n GET_THEN_ERROR.error = error;\n return GET_THEN_ERROR;\n }\n}\n\nfunction tryThen(then, value, fulfillmentHandler, rejectionHandler) {\n try {\n then.call(value, fulfillmentHandler, rejectionHandler);\n } catch (e) {\n return e;\n }\n}\n\nfunction handleForeignThenable(promise, thenable, then) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(then, thenable, function (value) {\n if (sealed) {\n return;\n }\n sealed = true;\n if (thenable !== value) {\n _resolve(promise, value);\n } else {\n fulfill(promise, value);\n }\n }, function (reason) {\n if (sealed) {\n return;\n }\n sealed = true;\n\n _reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n if (!sealed && error) {\n sealed = true;\n _reject(promise, error);\n }\n }, promise);\n}\n\nfunction handleOwnThenable(promise, thenable) {\n if (thenable._state === FULFILLED) {\n fulfill(promise, thenable._result);\n } else if (thenable._state === REJECTED) {\n _reject(promise, thenable._result);\n } else {\n subscribe(thenable, undefined, function (value) {\n return _resolve(promise, value);\n }, function (reason) {\n return _reject(promise, reason);\n });\n }\n}\n\nfunction handleMaybeThenable(promise, maybeThenable, then$$) {\n if (maybeThenable.constructor === promise.constructor && then$$ === then && maybeThenable.constructor.resolve === resolve) {\n handleOwnThenable(promise, maybeThenable);\n } else {\n if (then$$ === GET_THEN_ERROR) {\n _reject(promise, GET_THEN_ERROR.error);\n } else if (then$$ === undefined) {\n fulfill(promise, maybeThenable);\n } else if (isFunction(then$$)) {\n handleForeignThenable(promise, maybeThenable, then$$);\n } else {\n fulfill(promise, maybeThenable);\n }\n }\n}\n\nfunction _resolve(promise, value) {\n if (promise === value) {\n _reject(promise, selfFulfillment());\n } else if (objectOrFunction(value)) {\n handleMaybeThenable(promise, value, getThen(value));\n } else {\n fulfill(promise, value);\n }\n}\n\nfunction publishRejection(promise) {\n if (promise._onerror) {\n promise._onerror(promise._result);\n }\n\n publish(promise);\n}\n\nfunction fulfill(promise, value) {\n if (promise._state !== PENDING) {\n return;\n }\n\n promise._result = value;\n promise._state = FULFILLED;\n\n if (promise._subscribers.length !== 0) {\n asap(publish, promise);\n }\n}\n\nfunction _reject(promise, reason) {\n if (promise._state !== PENDING) {\n return;\n }\n promise._state = REJECTED;\n promise._result = reason;\n\n asap(publishRejection, promise);\n}\n\nfunction subscribe(parent, child, onFulfillment, onRejection) {\n var _subscribers = parent._subscribers;\n var length = _subscribers.length;\n\n parent._onerror = null;\n\n _subscribers[length] = child;\n _subscribers[length + FULFILLED] = onFulfillment;\n _subscribers[length + REJECTED] = onRejection;\n\n if (length === 0 && parent._state) {\n asap(publish, parent);\n }\n}\n\nfunction publish(promise) {\n var subscribers = promise._subscribers;\n var settled = promise._state;\n\n if (subscribers.length === 0) {\n return;\n }\n\n var child = undefined,\n callback = undefined,\n detail = promise._result;\n\n for (var i = 0; i < subscribers.length; i += 3) {\n child = subscribers[i];\n callback = subscribers[i + settled];\n\n if (child) {\n invokeCallback(settled, child, callback, detail);\n } else {\n callback(detail);\n }\n }\n\n promise._subscribers.length = 0;\n}\n\nfunction ErrorObject() {\n this.error = null;\n}\n\nvar TRY_CATCH_ERROR = new ErrorObject();\n\nfunction tryCatch(callback, detail) {\n try {\n return callback(detail);\n } catch (e) {\n TRY_CATCH_ERROR.error = e;\n return TRY_CATCH_ERROR;\n }\n}\n\nfunction invokeCallback(settled, promise, callback, detail) {\n var hasCallback = isFunction(callback),\n value = undefined,\n error = undefined,\n succeeded = undefined,\n failed = undefined;\n\n if (hasCallback) {\n value = tryCatch(callback, detail);\n\n if (value === TRY_CATCH_ERROR) {\n failed = true;\n error = value.error;\n value = null;\n } else {\n succeeded = true;\n }\n\n if (promise === value) {\n _reject(promise, cannotReturnOwn());\n return;\n }\n } else {\n value = detail;\n succeeded = true;\n }\n\n if (promise._state !== PENDING) {\n // noop\n } else if (hasCallback && succeeded) {\n _resolve(promise, value);\n } else if (failed) {\n _reject(promise, error);\n } else if (settled === FULFILLED) {\n fulfill(promise, value);\n } else if (settled === REJECTED) {\n _reject(promise, value);\n }\n}\n\nfunction initializePromise(promise, resolver) {\n try {\n resolver(function resolvePromise(value) {\n _resolve(promise, value);\n }, function rejectPromise(reason) {\n _reject(promise, reason);\n });\n } catch (e) {\n _reject(promise, e);\n }\n}\n\nvar id = 0;\nfunction nextId() {\n return id++;\n}\n\nfunction makePromise(promise) {\n promise[PROMISE_ID] = id++;\n promise._state = undefined;\n promise._result = undefined;\n promise._subscribers = [];\n}\n\nfunction Enumerator(Constructor, input) {\n this._instanceConstructor = Constructor;\n this.promise = new Constructor(noop);\n\n if (!this.promise[PROMISE_ID]) {\n makePromise(this.promise);\n }\n\n if (isArray(input)) {\n this._input = input;\n this.length = input.length;\n this._remaining = input.length;\n\n this._result = new Array(this.length);\n\n if (this.length === 0) {\n fulfill(this.promise, this._result);\n } else {\n this.length = this.length || 0;\n this._enumerate();\n if (this._remaining === 0) {\n fulfill(this.promise, this._result);\n }\n }\n } else {\n _reject(this.promise, validationError());\n }\n}\n\nfunction validationError() {\n return new Error('Array Methods must be provided an Array');\n};\n\nEnumerator.prototype._enumerate = function () {\n var length = this.length;\n var _input = this._input;\n\n for (var i = 0; this._state === PENDING && i < length; i++) {\n this._eachEntry(_input[i], i);\n }\n};\n\nEnumerator.prototype._eachEntry = function (entry, i) {\n var c = this._instanceConstructor;\n var resolve$$ = c.resolve;\n\n if (resolve$$ === resolve) {\n var _then = getThen(entry);\n\n if (_then === then && entry._state !== PENDING) {\n this._settledAt(entry._state, i, entry._result);\n } else if (typeof _then !== 'function') {\n this._remaining--;\n this._result[i] = entry;\n } else if (c === Promise) {\n var promise = new c(noop);\n handleMaybeThenable(promise, entry, _then);\n this._willSettleAt(promise, i);\n } else {\n this._willSettleAt(new c(function (resolve$$) {\n return resolve$$(entry);\n }), i);\n }\n } else {\n this._willSettleAt(resolve$$(entry), i);\n }\n};\n\nEnumerator.prototype._settledAt = function (state, i, value) {\n var promise = this.promise;\n\n if (promise._state === PENDING) {\n this._remaining--;\n\n if (state === REJECTED) {\n _reject(promise, value);\n } else {\n this._result[i] = value;\n }\n }\n\n if (this._remaining === 0) {\n fulfill(promise, this._result);\n }\n};\n\nEnumerator.prototype._willSettleAt = function (promise, i) {\n var enumerator = this;\n\n subscribe(promise, undefined, function (value) {\n return enumerator._settledAt(FULFILLED, i, value);\n }, function (reason) {\n return enumerator._settledAt(REJECTED, i, reason);\n });\n};\n\n/**\n `Promise.all` accepts an array of promises, and returns a new promise which\n is fulfilled with an array of fulfillment values for the passed promises, or\n rejected with the reason of the first passed promise to be rejected. It casts all\n elements of the passed iterable to promises as it runs this algorithm.\n\n Example:\n\n ```javascript\n let promise1 = resolve(1);\n let promise2 = resolve(2);\n let promise3 = resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n\n Promise.all(promises).then(function(array){\n // The array here would be [ 1, 2, 3 ];\n });\n ```\n\n If any of the `promises` given to `all` are rejected, the first promise\n that is rejected will be given as an argument to the returned promises's\n rejection handler. For example:\n\n Example:\n\n ```javascript\n let promise1 = resolve(1);\n let promise2 = reject(new Error(\"2\"));\n let promise3 = reject(new Error(\"3\"));\n let promises = [ promise1, promise2, promise3 ];\n\n Promise.all(promises).then(function(array){\n // Code here never runs because there are rejected promises!\n }, function(error) {\n // error.message === \"2\"\n });\n ```\n\n @method all\n @static\n @param {Array} entries array of promises\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Promise} promise that is fulfilled when all `promises` have been\n fulfilled, or rejected if any of them become rejected.\n @static\n*/\nfunction all(entries) {\n return new Enumerator(this, entries).promise;\n}\n\n/**\n `Promise.race` returns a new promise which is settled in the same way as the\n first passed promise to settle.\n\n Example:\n\n ```javascript\n let promise1 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n\n let promise2 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 2');\n }, 100);\n });\n\n Promise.race([promise1, promise2]).then(function(result){\n // result === 'promise 2' because it was resolved before promise1\n // was resolved.\n });\n ```\n\n `Promise.race` is deterministic in that only the state of the first\n settled promise matters. For example, even if other promises given to the\n `promises` array argument are resolved, but the first settled promise has\n become rejected before the other promises became fulfilled, the returned\n promise will become rejected:\n\n ```javascript\n let promise1 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n\n let promise2 = new Promise(function(resolve, reject){\n setTimeout(function(){\n reject(new Error('promise 2'));\n }, 100);\n });\n\n Promise.race([promise1, promise2]).then(function(result){\n // Code here never runs\n }, function(reason){\n // reason.message === 'promise 2' because promise 2 became rejected before\n // promise 1 became fulfilled\n });\n ```\n\n An example real-world use case is implementing timeouts:\n\n ```javascript\n Promise.race([ajax('foo.json'), timeout(5000)])\n ```\n\n @method race\n @static\n @param {Array} promises array of promises to observe\n Useful for tooling.\n @return {Promise} a promise which settles in the same way as the first passed\n promise to settle.\n*/\nfunction race(entries) {\n /*jshint validthis:true */\n var Constructor = this;\n\n if (!isArray(entries)) {\n return new Constructor(function (_, reject) {\n return reject(new TypeError('You must pass an array to race.'));\n });\n } else {\n return new Constructor(function (resolve, reject) {\n var length = entries.length;\n for (var i = 0; i < length; i++) {\n Constructor.resolve(entries[i]).then(resolve, reject);\n }\n });\n }\n}\n\n/**\n `Promise.reject` returns a promise rejected with the passed `reason`.\n It is shorthand for the following:\n\n ```javascript\n let promise = new Promise(function(resolve, reject){\n reject(new Error('WHOOPS'));\n });\n\n promise.then(function(value){\n // Code here doesn't run because the promise is rejected!\n }, function(reason){\n // reason.message === 'WHOOPS'\n });\n ```\n\n Instead of writing the above, your code now simply becomes the following:\n\n ```javascript\n let promise = Promise.reject(new Error('WHOOPS'));\n\n promise.then(function(value){\n // Code here doesn't run because the promise is rejected!\n }, function(reason){\n // reason.message === 'WHOOPS'\n });\n ```\n\n @method reject\n @static\n @param {Any} reason value that the returned promise will be rejected with.\n Useful for tooling.\n @return {Promise} a promise rejected with the given `reason`.\n*/\nfunction reject(reason) {\n /*jshint validthis:true */\n var Constructor = this;\n var promise = new Constructor(noop);\n _reject(promise, reason);\n return promise;\n}\n\nfunction needsResolver() {\n throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n}\n\nfunction needsNew() {\n throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");\n}\n\n/**\n Promise objects represent the eventual result of an asynchronous operation. The\n primary way of interacting with a promise is through its `then` method, which\n registers callbacks to receive either a promise's eventual value or the reason\n why the promise cannot be fulfilled.\n\n Terminology\n -----------\n\n - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n - `thenable` is an object or function that defines a `then` method.\n - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n - `exception` is a value that is thrown using the throw statement.\n - `reason` is a value that indicates why a promise was rejected.\n - `settled` the final resting state of a promise, fulfilled or rejected.\n\n A promise can be in one of three states: pending, fulfilled, or rejected.\n\n Promises that are fulfilled have a fulfillment value and are in the fulfilled\n state. Promises that are rejected have a rejection reason and are in the\n rejected state. A fulfillment value is never a thenable.\n\n Promises can also be said to *resolve* a value. If this value is also a\n promise, then the original promise's settled state will match the value's\n settled state. So a promise that *resolves* a promise that rejects will\n itself reject, and a promise that *resolves* a promise that fulfills will\n itself fulfill.\n\n\n Basic Usage:\n ------------\n\n ```js\n let promise = new Promise(function(resolve, reject) {\n // on success\n resolve(value);\n\n // on failure\n reject(reason);\n });\n\n promise.then(function(value) {\n // on fulfillment\n }, function(reason) {\n // on rejection\n });\n ```\n\n Advanced Usage:\n ---------------\n\n Promises shine when abstracting away asynchronous interactions such as\n `XMLHttpRequest`s.\n\n ```js\n function getJSON(url) {\n return new Promise(function(resolve, reject){\n let xhr = new XMLHttpRequest();\n\n xhr.open('GET', url);\n xhr.onreadystatechange = handler;\n xhr.responseType = 'json';\n xhr.setRequestHeader('Accept', 'application/json');\n xhr.send();\n\n function handler() {\n if (this.readyState === this.DONE) {\n if (this.status === 200) {\n resolve(this.response);\n } else {\n reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n }\n }\n };\n });\n }\n\n getJSON('/posts.json').then(function(json) {\n // on fulfillment\n }, function(reason) {\n // on rejection\n });\n ```\n\n Unlike callbacks, promises are great composable primitives.\n\n ```js\n Promise.all([\n getJSON('/posts'),\n getJSON('/comments')\n ]).then(function(values){\n values[0] // => postsJSON\n values[1] // => commentsJSON\n\n return values;\n });\n ```\n\n @class Promise\n @param {function} resolver\n Useful for tooling.\n @constructor\n*/\nfunction Promise(resolver) {\n this[PROMISE_ID] = nextId();\n this._result = this._state = undefined;\n this._subscribers = [];\n\n if (noop !== resolver) {\n typeof resolver !== 'function' && needsResolver();\n this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n }\n}\n\nPromise.all = all;\nPromise.race = race;\nPromise.resolve = resolve;\nPromise.reject = reject;\nPromise._setScheduler = setScheduler;\nPromise._setAsap = setAsap;\nPromise._asap = asap;\n\nPromise.prototype = {\n constructor: Promise,\n\n /**\n The primary way of interacting with a promise is through its `then` method,\n which registers callbacks to receive either a promise's eventual value or the\n reason why the promise cannot be fulfilled.\n \n ```js\n findUser().then(function(user){\n // user is available\n }, function(reason){\n // user is unavailable, and you are given the reason why\n });\n ```\n \n Chaining\n --------\n \n The return value of `then` is itself a promise. This second, 'downstream'\n promise is resolved with the return value of the first promise's fulfillment\n or rejection handler, or rejected if the handler throws an exception.\n \n ```js\n findUser().then(function (user) {\n return user.name;\n }, function (reason) {\n return 'default name';\n }).then(function (userName) {\n // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n // will be `'default name'`\n });\n \n findUser().then(function (user) {\n throw new Error('Found user, but still unhappy');\n }, function (reason) {\n throw new Error('`findUser` rejected and we're unhappy');\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n // If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'.\n });\n ```\n If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n \n ```js\n findUser().then(function (user) {\n throw new PedagogicalException('Upstream error');\n }).then(function (value) {\n // never reached\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // The `PedgagocialException` is propagated all the way down to here\n });\n ```\n \n Assimilation\n ------------\n \n Sometimes the value you want to propagate to a downstream promise can only be\n retrieved asynchronously. This can be achieved by returning a promise in the\n fulfillment or rejection handler. The downstream promise will then be pending\n until the returned promise is settled. This is called *assimilation*.\n \n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // The user's comments are now available\n });\n ```\n \n If the assimliated promise rejects, then the downstream promise will also reject.\n \n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // If `findCommentsByAuthor` fulfills, we'll have the value here\n }, function (reason) {\n // If `findCommentsByAuthor` rejects, we'll have the reason here\n });\n ```\n \n Simple Example\n --------------\n \n Synchronous Example\n \n ```javascript\n let result;\n \n try {\n result = findResult();\n // success\n } catch(reason) {\n // failure\n }\n ```\n \n Errback Example\n \n ```js\n findResult(function(result, err){\n if (err) {\n // failure\n } else {\n // success\n }\n });\n ```\n \n Promise Example;\n \n ```javascript\n findResult().then(function(result){\n // success\n }, function(reason){\n // failure\n });\n ```\n \n Advanced Example\n --------------\n \n Synchronous Example\n \n ```javascript\n let author, books;\n \n try {\n author = findAuthor();\n books = findBooksByAuthor(author);\n // success\n } catch(reason) {\n // failure\n }\n ```\n \n Errback Example\n \n ```js\n \n function foundBooks(books) {\n \n }\n \n function failure(reason) {\n \n }\n \n findAuthor(function(author, err){\n if (err) {\n failure(err);\n // failure\n } else {\n try {\n findBoooksByAuthor(author, function(books, err) {\n if (err) {\n failure(err);\n } else {\n try {\n foundBooks(books);\n } catch(reason) {\n failure(reason);\n }\n }\n });\n } catch(error) {\n failure(err);\n }\n // success\n }\n });\n ```\n \n Promise Example;\n \n ```javascript\n findAuthor().\n then(findBooksByAuthor).\n then(function(books){\n // found books\n }).catch(function(reason){\n // something went wrong\n });\n ```\n \n @method then\n @param {Function} onFulfilled\n @param {Function} onRejected\n Useful for tooling.\n @return {Promise}\n */\n then: then,\n\n /**\n `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n as the catch block of a try/catch statement.\n \n ```js\n function findAuthor(){\n throw new Error('couldn't find that author');\n }\n \n // synchronous\n try {\n findAuthor();\n } catch(reason) {\n // something went wrong\n }\n \n // async with promises\n findAuthor().catch(function(reason){\n // something went wrong\n });\n ```\n \n @method catch\n @param {Function} onRejection\n Useful for tooling.\n @return {Promise}\n */\n 'catch': function _catch(onRejection) {\n return this.then(null, onRejection);\n }\n};\n\nfunction polyfill() {\n var local = undefined;\n\n if (typeof global !== 'undefined') {\n local = global;\n } else if (typeof self !== 'undefined') {\n local = self;\n } else {\n try {\n local = Function('return this')();\n } catch (e) {\n throw new Error('polyfill failed because global object is unavailable in this environment');\n }\n }\n\n var P = local.Promise;\n\n if (P) {\n var promiseToString = null;\n try {\n promiseToString = Object.prototype.toString.call(P.resolve());\n } catch (e) {\n // silently ignored\n }\n\n if (promiseToString === '[object Promise]' && !P.cast) {\n return;\n }\n }\n\n local.Promise = Promise;\n}\n\npolyfill();\n// Strange compat..\nPromise.polyfill = polyfill;\nPromise.Promise = Promise;\n\nreturn Promise;\n\n})));\n//# sourceMappingURL=es6-promise.map\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(138), (function() { return this; }())))\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/es6-promise/dist/es6-promise.js\n ** module id = 597\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///../~/es6-promise/dist/es6-promise.js?"); },603:function(module,exports,__webpack_require__){eval("// the whatwg-fetch polyfill installs the fetch() function\n// on the global object (window or self)\n//\n// Return that as the export for use in Webpack, Browserify etc.\n__webpack_require__(664);\nmodule.exports = self.fetch.bind(self);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/isomorphic-fetch/fetch-npm-browserify.js\n ** module id = 603\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///../~/isomorphic-fetch/fetch-npm-browserify.js?")},613:function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Stepper = exports.StepLabel = exports.StepContent = exports.StepButton = exports.Step = undefined;\n\nvar _Step2 = __webpack_require__(116);\n\nvar _Step3 = _interopRequireDefault(_Step2);\n\nvar _StepButton2 = __webpack_require__(117);\n\nvar _StepButton3 = _interopRequireDefault(_StepButton2);\n\nvar _StepContent2 = __webpack_require__(118);\n\nvar _StepContent3 = _interopRequireDefault(_StepContent2);\n\nvar _StepLabel2 = __webpack_require__(67);\n\nvar _StepLabel3 = _interopRequireDefault(_StepLabel2);\n\nvar _Stepper2 = __webpack_require__(119);\n\nvar _Stepper3 = _interopRequireDefault(_Stepper2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.Step = _Step3.default;\nexports.StepButton = _StepButton3.default;\nexports.StepContent = _StepContent3.default;\nexports.StepLabel = _StepLabel3.default;\nexports.Stepper = _Stepper3.default;\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/material-ui/Stepper/index.js\n ** module id = 613\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///../~/material-ui/Stepper/index.js?")},614:function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _colors = __webpack_require__(323);\n\nvar _colorManipulator = __webpack_require__(36);\n\nvar _spacing = __webpack_require__(615);\n\nvar _spacing2 = _interopRequireDefault(_spacing);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = {\n spacing: _spacing2.default,\n fontFamily: 'Roboto, sans-serif',\n palette: {\n primary1Color: _colors.cyan700,\n primary2Color: _colors.cyan700,\n primary3Color: _colors.grey600,\n accent1Color: _colors.pinkA200,\n accent2Color: _colors.pinkA400,\n accent3Color: _colors.pinkA100,\n textColor: _colors.fullWhite,\n secondaryTextColor: (0, _colorManipulator.fade)(_colors.fullWhite, 0.7),\n alternateTextColor: '#303030',\n canvasColor: '#303030',\n borderColor: (0, _colorManipulator.fade)(_colors.fullWhite, 0.3),\n disabledColor: (0, _colorManipulator.fade)(_colors.fullWhite, 0.3),\n pickerHeaderColor: (0, _colorManipulator.fade)(_colors.fullWhite, 0.12),\n clockCircleColor: (0, _colorManipulator.fade)(_colors.fullWhite, 0.12)\n }\n};\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/material-ui/styles/baseThemes/darkBaseTheme.js\n ** module id = 614\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///../~/material-ui/styles/baseThemes/darkBaseTheme.js?")},617:function(module,exports,__webpack_require__){eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(1);\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _pure = __webpack_require__(13);\n\nvar _pure2 = _interopRequireDefault(_pure);\n\nvar _SvgIcon = __webpack_require__(12);\n\nvar _SvgIcon2 = _interopRequireDefault(_SvgIcon);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ActionFingerprint = function ActionFingerprint(props) {\n return _react2.default.createElement(\n _SvgIcon2.default,\n props,\n _react2.default.createElement('path', { d: 'M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28zM3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7-.23.16-.54.11-.7-.12-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21zm6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39-2.57 0-4.66 1.97-4.66 4.39 0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15zm7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12zM14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94 1.7 0 3.08 1.32 3.08 2.94 0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38z' })\n );\n};\nActionFingerprint = (0, _pure2.default)(ActionFingerprint);\nActionFingerprint.displayName = 'ActionFingerprint';\nActionFingerprint.muiName = 'SvgIcon';\n\nexports.default = ActionFingerprint;\n\n/*****************\n ** WEBPACK FOOTER\n ** ../~/material-ui/svg-icons/action/fingerprint.js\n ** module id = 617\n ** module chunks = 1 2\n **/\n//# sourceURL=webpack:///../~/material-ui/svg-icons/action/fingerprint.js?")},651:function(module,exports,__webpack_require__){eval("// style-loader: Adds some css to the DOM by adding a