diff --git a/CHANGELOG.md b/CHANGELOG.md index 11e9e715a9..809ee67270 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +### New + +- Add PIT, SKE tokens, add HUM contract [#2165](https://github.com/kvhnuke/etherwallet/pull/2165) +- Add ZIX token [#2163](https://github.com/kvhnuke/etherwallet/pull/2163) +- Add CRO contract [#2160](https://github.com/kvhnuke/etherwallet/pull/2160) +- ADD DEX token [#2161](https://github.com/kvhnuke/etherwallet/pull/2161) +- ADD SAC token [#2159](https://github.com/kvhnuke/etherwallet/pull/2159) +- Add ABBC, GROO, FGP, and LIBER tokens [#2162](https://github.com/kvhnuke/etherwallet/pull/2162) +- Add NCC, LG, LML, and GNY tokens [#2158](https://github.com/kvhnuke/etherwallet/pull/2158) +- PTON token [#2157](https://github.com/kvhnuke/etherwallet/pull/2157) +- ABBC contract [#2156](https://github.com/kvhnuke/etherwallet/pull/2156) +- ABBC custom gas [#2155](https://github.com/kvhnuke/etherwallet/pull/2155) +- LML contract [#2152](https://github.com/kvhnuke/etherwallet/pull/2152) +- GNY contract [#2151](https://github.com/kvhnuke/etherwallet/pull/2151) + +### Release v3.26.0 + +### New + +- Update changelog, update darklist, update coinvest token, update u2f package [#2149](https://github.com/kvhnuke/etherwallet/pull/2149) +- Add Trezor Hardware Wallet Support for MIX Blockchain (MIX) [#2146](https://github.com/kvhnuke/etherwallet/pull/2146) +- Add Callisto Cold Staking Contract ABI & Update Explorer [#2144](https://github.com/kvhnuke/etherwallet/pull/2144) + ### Release v3.25.0 ### New @@ -281,7 +304,7 @@ - Add CLB token [#1912](https://github.com/kvhnuke/etherwallet/pull/1912) - Update EOS classic style [#1911](https://github.com/kvhnuke/etherwallet/pull/1911) - Add EOS classic node [#1903](https://github.com/kvhnuke/etherwallet/pull/1903) -- Add $FFC token [#1910](https://github.com/kvhnuke/etherwallet/pull/1910) +- Add \$FFC token [#1910](https://github.com/kvhnuke/etherwallet/pull/1910) - Add OAK and RAO tokens [#1909](https://github.com/kvhnuke/etherwallet/pull/1909) - BBK abi [#1901](https://github.com/kvhnuke/etherwallet/pull/1901) - OAK custom Gas [#1907](https://github.com/kvhnuke/etherwallet/pull/1907) diff --git a/app/includes/header.tpl b/app/includes/header.tpl index a66d4a2278..f29bfa89d2 100644 --- a/app/includes/header.tpl +++ b/app/includes/header.tpl @@ -100,18 +100,18 @@ @@if (site === 'mew' ) { MyEtherWallet -

3.25.0

+

3.26.0

} @@if (site === 'cx' ) { MyEtherWallet -

3.25.0

+

3.26.0

}
- + diff --git a/app/manifest.json b/app/manifest.json index fe87d72633..7c0c65c37e 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -1,6 +1,6 @@ { "name": "MyEtherWallet", - "version": "3.25.0", + "version": "3.26.0", "manifest_version": 2, "description": "MyEtherWallet Chrome Extension", "homepage_url": "https://www.myetherwallet.com/", diff --git a/app/package.json b/app/package.json index c91b923d81..0cd96813e7 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "MyEtherWallet", - "version": "3.25.0", + "version": "3.26.0", "description": "An NPM dist of MyEtherWallet. For easier downloading & updating via CLI.", "author": "MyEtherWallet", "license": "ISC", diff --git a/app/scripts/abiDefinitions/cloAbi.json b/app/scripts/abiDefinitions/cloAbi.json index fe51488c70..2a07870a1b 100644 --- a/app/scripts/abiDefinitions/cloAbi.json +++ b/app/scripts/abiDefinitions/cloAbi.json @@ -1 +1,17 @@ -[] +[ + { + "name":"Select a contract...", + "address":"", + "abi":"" + }, + { + "name":"Callisto Cold Staking", + "address":"0xd813419749b3c2cdc94a2f9cfcf154113264a9d6", + "abi":'[{"constant":false,"inputs":[],"name":"start_staking","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"claim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"staker","outputs":[{"name":"amount","type":"uint256"},{"name":"time","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"stake_reward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw_stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"time","type":"uint256"}],"name":"StartStaking","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"staker","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"WithdrawStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"staker","type":"address"},{"indexed":false,"name":"reward","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_address","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"DonationDeposited","type":"event"}]' + }, + { + "name":"Officiality Checker", + "address":"0xf6f29e5ba51171c4ef4997bd0208c7e9bc5d5eda", + "abi":'[{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"remove_entry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"fire","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"},{"name":"_link","type":"string"},{"name":"_metadata","type":"string"}],"name":"add_entry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"hire","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"string"}],"name":"get_entry","outputs":[{"name":"","type":"string"},{"name":"","type":"string"},{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_link","type":"string"}],"name":"is_official","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"transfer_ownership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_name","type":"string"}],"name":"Registered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_name","type":"string"}],"name":"Removed","type":"event"}]' + } +] diff --git a/app/scripts/abiDefinitions/ethAbi.json b/app/scripts/abiDefinitions/ethAbi.json index 3a8f0da609..8712b9b6aa 100644 --- a/app/scripts/abiDefinitions/ethAbi.json +++ b/app/scripts/abiDefinitions/ethAbi.json @@ -277,6 +277,11 @@ "abi": '[{"constant": true, "inputs": [], "name": "name", "outputs": [{"name": "", "type": "string"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "endBlock", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "spender", "type": "address"}, {"name": "value", "type": "uint256"}], "name": "approve", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "totalSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "from", "type": "address"}, {"name": "to", "type": "address"}, {"name": "value", "type": "uint256"}], "name": "transferFrom", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "ethFundAddress", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "secondCapEndingBlock", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "decimals", "outputs": [{"name": "", "type": "uint8"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isStopped", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "minCap", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "tokenExchangeRate", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "claimTokens", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function"}, {"constant": true, "inputs": [], "name": "startBlock", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "baseTokenCapPerAddress", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "finalize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "refund", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "blocksInSecondCapPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "owner", "type": "address"}], "name": "balanceOf", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "restartSale", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "targets", "type": "address[]"}, {"name": "isRegistered", "type": "bool"}], "name": "changeRegistrationStatuses", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "purchases", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isFinalized", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "symbol", "outputs": [{"name": "", "type": "string"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_newOwner", "type": "address"}], "name": "changeOwner", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "to", "type": "address"}, {"name": "value", "type": "uint256"}], "name": "transfer", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "assignedSupply", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "", "type": "address"}], "name": "registered", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "blocksInFirstCapPeriod", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "gmtFundAddress", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "gmtFund", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [{"name": "owner", "type": "address"}, {"name": "spender", "type": "address"}], "name": "allowance", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "baseEthCapPerAddress", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "firstCapEndingBlock", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "stopSale", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "tokenUnit", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "target", "type": "address"}, {"name": "isRegistered", "type": "bool"}], "name": "changeRegistrationStatus", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "gasLimitInWei", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_ethFundAddress", "type": "address"}, {"name": "_gmtFundAddress", "type": "address"}, {"name": "_startBlock", "type": "uint256"}, {"name": "_endBlock", "type": "uint256"}, {"name": "_tokenExchangeRate", "type": "uint256"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"payable": true, "stateMutability": "payable", "type": "fallback"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "_to", "type": "address"}, {"indexed": false, "name": "_value", "type": "uint256"}], "name": "RefundSent", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "_to", "type": "address"}, {"indexed": false, "name": "_value", "type": "uint256"}], "name": "ClaimGMT", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "from", "type": "address"}, {"indexed": true, "name": "to", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Transfer", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "owner", "type": "address"}, {"indexed": true, "name": "spender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "Approval", "type": "event"}]' }, + { + "name": "GNY", + "address": "0x247551F2EB3362E222c742E9c788B8957D9BC87e", + "abi": '[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeSub","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeDiv","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeMul","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeAdd","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"}]' + }, { "name": "Havven (HAV)", "address": "0xD989a04AD891528B571eF73dAcaEFeB0402a65b3", @@ -288,6 +293,11 @@ "address": "0xC011A72400E58ecD99Ee497CF89E3775d4bd732F", "abi": '[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"nominsIssued","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"issuer","type":"address"}],"name":"remainingIssuableNomins","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"issuer","type":"address"}],"name":"maxIssuableNomins","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"issueNomins","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"issueMaxNomins","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"burnNomins","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawFees","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"FeesWithdrawn","type":"event"},{"constant":true,"inputs":[],"name":"lastFeesCollected","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]' }, + { + "name": "HUMToken (HUM)", + "address": "0xb0514a5b4aa58ac6e954f537598dd42a71916581", + "abi": '[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"owners","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"lockTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_villains","type":"address[]"}],"name":"addManyToBlacklist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_villain","type":"address"}],"name":"addToBlacklist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_villain","type":"address"}],"name":"removeFromBlacklist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isUnlocked","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"newOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unlockTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"deleteOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"root","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"blacklist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_wallet","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]' + }, { "name": "IIC - Ibiscoin ERC20 Token Contract", "address": "0x16662F73dF3e79e54c6c5938b4313f92C524C120", @@ -328,6 +338,11 @@ "abi": '[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"minter","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_for","type":"address"},{"name":"tokenCount","type":"uint256"}],"name":"burnTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newAddress","type":"address"}],"name":"changeMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_for","type":"address"},{"name":"tokenCount","type":"uint256"}],"name":"issueTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"exchanger","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"founder","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newAddress","type":"address"}],"name":"changeFounder","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newAddress","type":"address"}],"name":"changeExchanger","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Issuance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Burn","type":"event"}]' }, + { + "name": "LML", + "address": "0x25B6325f5BB1c1E03cfbC3e53F470E1F1ca022E3", + "abi": '[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeSub","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeDiv","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeMul","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeAdd","outputs":[{"name":"c","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"}]' + }, { "name": "LookRev Crowdsale", "address": "0x21ae23b882a340a22282162086bc98d3e2b73018", @@ -696,5 +711,20 @@ "name": "URB", "address": "0x931684139f756C24eC0731E9F74FE50e5548dDeF", "abi":'[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_fromVault","type":"address"},{"name":"_tokensAmount","type":"uint256"},{"name":"_beneficiary","type":"address"},{"name":"_unlockTime","type":"uint256"}],"name":"lockTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"vestingCountOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"urbitTeamTokensVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"HARD_CAP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"saleClosedTimestamp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"releasableBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"releaseVestedTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokensAmount","type":"uint256"},{"name":"_beneficiary","type":"address"},{"name":"_duration","type":"uint256"}],"name":"lockBountyTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"lockedBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"retainedTokensVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"senderIsAdmin","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"MAGNITUDE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_index","type":"uint256"}],"name":"vestingOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newUrbitAdminAddress","type":"address"}],"name":"changeAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"burnUnsoldTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"createSaleTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardsTokensVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"saleTokensAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"saleClosed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_fromVault","type":"address"},{"name":"_tokensAmount","type":"uint256"},{"name":"_beneficiary","type":"address"},{"name":"_start","type":"uint256"},{"name":"_cliff","type":"uint256"},{"name":"_duration","type":"uint256"},{"name":"_revocable","type":"bool"}],"name":"vestTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"releaseVestedTokensFor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"bountyTokensVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"vestingsOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"urbitAdminAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"closeSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"advisorsTokensVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_urbitAdminAddress","type":"address"},{"name":"_saleTokensAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]' - } + }, + { + "name": "ABBC Cash(ABCH) Token", + "address": "0xcc7d26d8ea6281bb363c8448515f2c61f7bc19f0", + "abi":'[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"isContract","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"},{"name":"data","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferAnyERC20Token","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenOwner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Approval","type":"event"}]' + }, + { + "name": "PTON", + "address": "0x4946583c5b86e01ccd30c71a05617d06e3e73060", + "abi":'[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"transferEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenOfferingAddr","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"adminAddr","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TOKEN_OFFERING_ALLOWANCE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ADMIN_ALLOWANCE","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"admin","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":false,"inputs":[{"name":"offeringAddr","type":"address"},{"name":"amountForSale","type":"uint256"}],"name":"setTokenOffering","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"enableTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]' + }, + { + "name": "CRO", + "address": "0xA0b73E1Ff0B80914AB6fe0444E65848C4C34450b", + "abi":'[{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"state","type":"bool"}],"name":"setTransferAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"secondarySaleReserveWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"setReleaseAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"upgrade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"upgradeAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"releaseTokenTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"upgradeMaster","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mainNetLaunchIncentiveReserveWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getUpgradeState","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"transferAgents","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"released","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"canUpgrade","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"capitalReserveWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"airdropReserveWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalUpgraded","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"releaseAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"agent","type":"address"}],"name":"setUpgradeAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ecosystemGrantsReserveWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"master","type":"address"}],"name":"setUpgradeMaster","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_initialSupply","type":"uint256"},{"name":"_decimals","type":"uint8"},{"name":"_mintable","type":"bool"},{"name":"_secondarySaleReserveWallet","type":"address"},{"name":"_mainNetLaunchIncentiveReserveWallet","type":"address"},{"name":"_capitalReserveWallet","type":"address"},{"name":"_ecosystemGrantsReserveWallet","type":"address"},{"name":"_airdropReserveWallet","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newName","type":"string"},{"indexed":false,"name":"newSymbol","type":"string"}],"name":"UpdatedTokenInformation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Upgrade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"agent","type":"address"}],"name":"UpgradeAgentSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]' + } ] diff --git a/app/scripts/constants/darkListConst.js b/app/scripts/constants/darkListConst.js index f424a26a33..e58bb788b3 100644 --- a/app/scripts/constants/darkListConst.js +++ b/app/scripts/constants/darkListConst.js @@ -1,5 +1,25 @@ const darklist = function() { return [ + { + address: "0xF193a9aFb00715AaCF7ca9Ebffafe02C77517C2E", + comment: "Fake copy of ROCK2PAY token", + date: "2018-11-06" + }, + { + address: "0xcc02b920ae227f1be7d01fc241c27e5f74d40436", + comment: "Fake copy of ROCK2 token", + date: "2018-10-28" + }, + { + address: "0xa153a6eF80fb5d60de18688bdC82684d48FC8De1", + comment: "Fake copy of ROCK2 token", + date: "2018-10-28" + }, + { + address: "0x19fb7020381fe9197bf841d5034D5467FE5a3C93", + comment: "Fake copy of ROCK2 token", + date: "2018-10-27" + }, { address: "0x8abe0a9b8A1C8a003354E61F3ed8befdeb7D2CEc", comment: "Fake copy of ROCK2 token", @@ -3478,7 +3498,8 @@ const darklist = function() { }, { address: "0xDdd6854A002A6fbcDF695385cD5ed630c9E27C3e", - comment: "Scam address contacted Trust Wallet users in Telegram group depicting admin image and username", + comment: + "Scam address contacted Trust Wallet users in Telegram group depicting admin image and username", date: "2018-10-25" } ]; diff --git a/app/scripts/controllers/decryptWalletCtrl.js b/app/scripts/controllers/decryptWalletCtrl.js index 75490bad0b..a8836789fa 100644 --- a/app/scripts/controllers/decryptWalletCtrl.js +++ b/app/scripts/controllers/decryptWalletCtrl.js @@ -1,6 +1,13 @@ "use strict"; +const u2f = require("u2f-api"); var decryptWalletCtrl = function($scope, $sce, walletService) { $scope.walletType = ""; + $scope.supported = false; + u2f.isSupported().then(res => { + $scope.supported = res && window.browser.name === "chrome"; + $scope.$apply(); + }); + $scope.requireFPass = $scope.requirePPass = $scope.showFDecrypt = $scope.showPDecrypt = $scope.showAOnly = $scope.showParityDecrypt = false; $scope.filePassword = ""; $scope.fileContent = ""; @@ -175,6 +182,9 @@ var decryptWalletCtrl = function($scope, $sce, walletService) { case nodes.nodeTypes.TOMO: $scope.HDWallet.dPath = $scope.HDWallet.tomoPath; break; + case nodes.nodeTypes.MIX: + $scope.HDWallet.dPath = $scope.HDWallet.hwMixPath; + break; default: $scope.HDWallet.dPath = $scope.HDWallet.trezorPath; } diff --git a/app/scripts/customGas.js b/app/scripts/customGas.js index 621783741d..28bce8d545 100644 --- a/app/scripts/customGas.js +++ b/app/scripts/customGas.js @@ -448,4 +448,11 @@ to: '0x46b9ad944d1059450da1163511069c718f699d31', gasLimit: 200000, data: '', msg: 'Credits token sale https://credits.com' +}, +{ +// ABBC Cash (ABCH) Token Sale +to: '0xcc7d26d8ea6281bb363c8448515f2c61f7bc19f0', +gasLimit: 250000, +data: '', +msg: 'ABCH Token Sale. - https://abbcfoundation.com' }] diff --git a/app/scripts/directives/walletDecryptDrtv.html b/app/scripts/directives/walletDecryptDrtv.html index ba12d77491..07fb0a4375 100644 --- a/app/scripts/directives/walletDecryptDrtv.html +++ b/app/scripts/directives/walletDecryptDrtv.html @@ -59,7 +59,7 @@

- MEWconnect does note support your browser.
Please use a supported browser (
Chrome, Firefox, Opera, Safari (version 11 and above)) + MEWconnect does not support your browser.
Please use a supported browser (Chrome, Firefox, Opera, Safari (version 11 and above))
    diff --git a/app/scripts/nodes.js b/app/scripts/nodes.js index fe71ec6c75..c2e225af44 100644 --- a/app/scripts/nodes.js +++ b/app/scripts/nodes.js @@ -319,8 +319,8 @@ nodes.nodeList = { }, clo: { name: "CLO", - blockExplorerTX: "https://explorer.callisto.network/tx/[[txHash]]", - blockExplorerAddr: "https://explorer.callisto.network/account/[[address]]", + blockExplorerTX: "https://explorer2.callisto.network/tx/[[txHash]]", + blockExplorerAddr: "https://explorer2.callisto.network/addr/[[address]]", type: nodes.nodeTypes.CLO, eip155: true, chainId: 820, diff --git a/app/scripts/tokens/ethTokens.json b/app/scripts/tokens/ethTokens.json index a57b28ada4..9985955398 100644 --- a/app/scripts/tokens/ethTokens.json +++ b/app/scripts/tokens/ethTokens.json @@ -77,6 +77,12 @@ "decimal": 18, "type": "default" }, + { + "address": "0xcc7d26d8ea6281bb363c8448515f2c61f7bc19f0", + "symbol": "ABCH", + "decimal": 18, + "type": "default" + }, { "address": "0xb98d4c97425d9908e66e53a6fdf673acca0be986", "symbol": "ABT", @@ -1308,7 +1314,7 @@ "type": "default" }, { - "address": "0x5e8f855966d638135a968861e80dda722291b06d", + "address": "0xeb547ed1d8a3ff1461abaa7f0022fed4836e00a4", "symbol": "COIN", "decimal": 18, "type": "default" @@ -1721,6 +1727,12 @@ "decimal": 18, "type": "default" }, + { + "address": "0x497bAEF294c11a5f0f5Bea3f2AdB3073DB448B56", + "symbol": "DEX", + "decimal": 18, + "type": "default" + }, { "address": "0xE0B7927c4aF23765Cb51314A0E0521A9645F0E2A", "symbol": "DGD", @@ -2357,6 +2369,12 @@ "decimal": 18, "type": "default" }, + { + "address": "0xd9a8cfe21c232d485065cb62a96866799d4645f7", + "symbol": "FGP", + "decimal": 18, + "type": "default" + }, { "address": "0x52fb36c83ad33c1824912fc81071ca5eeb8ab390", "symbol": "FID", @@ -2657,6 +2675,12 @@ "decimal": 9, "type": "default" }, + { + "address": "0x247551F2EB3362E222c742E9c788B8957D9BC87e", + "symbol": "GNY", + "decimal": 18, + "type": "default" + }, { "address": "0xeAb43193CF0623073Ca89DB9B712796356FA7414", "symbol": "GOLDX", @@ -2681,6 +2705,12 @@ "decimal": 18, "type": "default" }, + { + "address": "0xC17195bde49D70CefCF8A9F2ee1759FFC27BF0B1", + "symbol": "GROO", + "decimal": 18, + "type": "default" + }, { "address": "0x0a9A9ce600D08BF9b76F49FA4e7b38A67EBEB1E6", "symbol": "GROW", @@ -3377,6 +3407,12 @@ "decimal": 5, "type": "default" }, + { + "address": "0xc520F3Ac303a107D8F4B08b326B6ea66A4f961cd", + "symbol": "LG", + "decimal": 18, + "type": "default" + }, { "address": "0x59061b6f26BB4A9cE5828A19d35CFD5A4B80F056", "symbol": "LGD", @@ -3395,6 +3431,12 @@ "decimal": 8, "type": "default" }, + { + "address": "0xe6dfbf1faca95036b8e76e1fb28933d025b76cc0", + "symbol": "LIBER", + "decimal": 18, + "type": "default" + }, { "address": "0xEB9951021698B42e4399f9cBb6267Aa35F82D59D", "symbol": "LIF", @@ -3437,6 +3479,12 @@ "decimal": 18, "type": "default" }, + { + "address": "0x25B6325f5BB1c1E03cfbC3e53F470E1F1ca022E3", + "symbol": "LML", + "decimal": 18, + "type": "default" + }, { "address": "0x63e634330A20150DbB61B15648bC73855d6CCF07", "symbol": "LNC", @@ -3913,7 +3961,13 @@ }, { "address": "0x5d48f293baed247a2d0189058ba37aa238bd4725", - "symbol": "NCC", + "symbol": "NCC (NeuroChain)", + "decimal": 18, + "type": "default" + }, + { + "address": "0x9344b383b1D59b5ce3468B234DAB43C7190ba735", + "symbol": "NCC (NeedsCoin)", "decimal": 18, "type": "default" }, @@ -4385,6 +4439,12 @@ "decimal": 8, "type": "default" }, + { + "address": "0x0ff161071e627a0e6de138105c73970f86ca7922", + "symbol": "PIT", + "decimal": 18, + "type": "default" + }, { "address": "0x8eFFd494eB698cc399AF6231fCcd39E08fd20B15", "symbol": "PIX", @@ -4589,6 +4649,12 @@ "decimal": 18, "type": "default" }, + { + "address": "0x4946583c5b86e01ccd30c71a05617d06e3e73060", + "symbol": "PTON", + "decimal": 18, + "type": "default" + }, { "address": "0x8Ae4BF2C33a8e667de34B54938B0ccD03Eb8CC06", "symbol": "PTOY", @@ -5135,6 +5201,12 @@ "decimal": 8, "type": "default" }, + { + "address": "0x13DB74B3cf512F65C4b91683940B4f3955E05085", + "symbol": "SKE", + "decimal": 8, + "type": "default" + }, { "address": "0x2bDC0D42996017fCe214b21607a515DA41A9E0C5", "symbol": "SKIN", @@ -6508,5 +6580,17 @@ "symbol": "ZXC", "decimal": 18, "type": "default" + }, + { + "address": "0xabC1280A0187a2020cC675437aed400185F86Db6", + "symbol": "SAC", + "decimal": 18, + "type": "default" + }, + { + "address": "0xf3C092cA8CD6D3d4ca004Dc1d0f1fe8CcAB53599", + "symbol": "ZIX", + "decimal": 18, + "type": "default" } ] diff --git a/app/styles/etherwallet-custom.less b/app/styles/etherwallet-custom.less index e799ca3eac..bbe790f8fd 100644 --- a/app/styles/etherwallet-custom.less +++ b/app/styles/etherwallet-custom.less @@ -37,7 +37,8 @@ textarea { &:hover, &:focus { background-color: darken(@brand-orangered, 5%); - a, a:hover { + a, + a:hover { text-decoration: none; } } @@ -51,25 +52,27 @@ textarea { a:hover, a:focus { color: darken(white, 5%); - a, a:hover { + a, + a:hover { text-decoration: none; } } } - // address icenticons .address-identicon-container { padding: 0; text-align: left; max-width: 4.5rem; - margin-left: -.5rem; - margin-top: .5rem; + margin-left: -0.5rem; + margin-top: 0.5rem; } .address-identicon-container-right { text-align: right; - .addressIdenticon { float: right; } + .addressIdenticon { + float: right; + } } .address-identicon-container-offline { @@ -84,7 +87,8 @@ textarea { background-size: cover; background-repeat: no-repeat; border-radius: 50%; - box-shadow: inset rgba(255, 255, 255, 0.5) 0 2px 2px, inset rgba(0, 0, 0, 0.6) 0 -1px 8px; + box-shadow: inset rgba(255, 255, 255, 0.5) 0 2px 2px, + inset rgba(0, 0, 0, 0.6) 0 -1px 8px; } .addressIdenticon.med { @@ -107,24 +111,23 @@ textarea { margin-right: @space-sm; } -.transaction-modal{ - - tbody{ - tr{ - td:nth-child(1){ +.transaction-modal { + tbody { + tr { + td:nth-child(1) { width: 30%; } - td:nth-child(2){ + td:nth-child(2) { width: 70%; } } } - .text-width-limit{ + .text-width-limit { display: grid; grid-auto-rows: 1fr; - p{ + p { margin: 0; white-space: nowrap; overflow: hidden; @@ -153,7 +156,11 @@ textarea { } .account-help-icon { - h3, h4, h5, h6, img { + h3, + h4, + h5, + h6, + img { display: inline-block; } img:hover + .account-help-text { @@ -173,13 +180,13 @@ textarea { .account-help-text { background: white; border-radius: @border-radius; - border: 1px solid #CDCDCD; - box-shadow: 0 0 @space-sm rgba(100, 100, 100, .2); + border: 1px solid #cdcdcd; + box-shadow: 0 0 @space-sm rgba(100, 100, 100, 0.2); display: none; font-size: @font-size-xs; font-weight: 400; padding: @space-xs; - position: absolute;; + position: absolute; width: 18rem; z-index: 999; color: @text-color; @@ -192,9 +199,7 @@ textarea { } } - - -@media screen and (max-width:767px) { +@media screen and (max-width: 767px) { .account-help-icon li, .account-help-icon img, .account-help-icon p { @@ -215,7 +220,7 @@ textarea { #accountAddressMainTbl-1 { font-family: @font-family-monospace; font-weight: normal; - letter-spacing: .02em; + letter-spacing: 0.02em; } // QR Code on Offline Transactions Page @@ -251,7 +256,7 @@ table.account-info { flex-direction: column; } td { - padding: .3rem; + padding: 0.3rem; line-height: 1; } td:first-child { @@ -270,7 +275,7 @@ table.account-info { } } -input[type="text"]+.eye { +input[type="text"] + .eye { cursor: pointer; &:before { content: ""; @@ -284,7 +289,7 @@ input[type="text"]+.eye { } } -input[type="password"]+.eye { +input[type="password"] + .eye { cursor: pointer; &:before { content: ""; @@ -298,11 +303,10 @@ input[type="password"]+.eye { } } - // collapsable containers .collapse-container { h1 { - margin: .25rem 0; + margin: 0.25rem 0; } .collapse-button { float: left; @@ -322,7 +326,6 @@ input[type="password"]+.eye { } } - // help collapsable containers .help .collapse-container { margin: 40px 0; @@ -376,25 +379,24 @@ h2 a.isActive { } } - .item { margin: 6px 0; } .output { padding: @space-sm @space; - margin-top: -@space/2; + margin-top: -@space / 2; p { margin: @space-md 0 0; } } label .small { - font-size: .9rem; + font-size: 0.9rem; } label small { - color: @gray-light + color: @gray-light; } .write-address { @@ -410,25 +412,17 @@ label small { display: block; } - .decrypt-drtv { padding: @space 0; label.radio { padding: 0 @space-lg; - margin: .5rem 0; + margin: 0.5rem 0; } h4 { margin-top: 0; } } - - - - - - - .qr-code { max-width: 17rem; margin: auto; @@ -467,7 +461,9 @@ label small { left: auto; right: 0; min-width: 37rem; - small { float: right; } + small { + float: right; + } } } @@ -477,19 +473,16 @@ label small { font-weight: 400; } - .btn-primary-buy-button{ + .btn-primary-buy-button { width: 200px; } - .btn-red { - background-color: #84023d; border-color: #84023d; position: relative; width: 200px; - .na{ - + .na { background-color: red; border-radius: 300px; @@ -504,7 +497,6 @@ label small { position: relative; } - .pad-bot { padding-bottom: 5px; } @@ -519,12 +511,12 @@ label small { .dropdown-gas__msg { font-size: 12px; - font-weight:300; + font-weight: 300; margin: -10px auto 3px auto; max-width: 113rem; padding: 0 5rem; text-align: right; - white-space:normal; + white-space: normal; @media screen and (max-width: 80rem) { padding: 0 3%; } @@ -532,24 +524,27 @@ label small { margin-top: 0; padding: 0 1%; } - } .view-wallet-content { h5 { margin-bottom: @space-xs; } - a.isActive { color: @text-color; } + a.isActive { + color: @text-color; + } } #selectedTypeLedger ol { padding-left: 1rem; } - .loading-wrap { position: fixed; - top:0;left:0;right:0;bottom:0; - background-color: fadeOut(black,30%); + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: fadeOut(black, 30%); z-index: 999; text-align: center; @@ -558,7 +553,7 @@ label small { text-align: center; top: 40%; left: 50%; - transform: translate(-50%,-60%); + transform: translate(-50%, -60%); } img { border-radius: 50%; @@ -569,7 +564,8 @@ label small { } @keyframes opacity { - from, to { + from, + to { opacity: 0; } 50% { @@ -582,7 +578,7 @@ label small { height: auto; width: 100%; max-width: 290px; - padding: .5rem 0; + padding: 0.5rem 0; } .ens-response { @@ -604,7 +600,7 @@ label small { @brand-music: #fece00; @brand-go: #27223d; @brand-eosc: #926565; -@brand-akroma: #AA0087; +@brand-akroma: #aa0087; @brand-esn: #a16bff; @brand-pirl: #a2d729; @brand-etho: #d63068; @@ -625,7 +621,7 @@ label small { li:nth-child(1), li:nth-child(2), li:nth-child(3), - li:nth-child(4){ + li:nth-child(4) { border-left: 2px solid @brand-eth; } li:nth-child(5), @@ -729,10 +725,18 @@ header { margin-bottom: 1em; } header.ETH { - .header-branding { border-bottom: 0.25rem solid @brand-eth; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-eth; } - & + .container .modal-content { border: 0.25rem solid @brand-eth; } - & + .container .alert-info { background-color:@brand-eth; } + .header-branding { + border-bottom: 0.25rem solid @brand-eth; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-eth; + } + & + .container .modal-content { + border: 0.25rem solid @brand-eth; + } + & + .container .alert-info { + background-color: @brand-eth; + } .dropdown-gas:before { width: 24px; background-image: url("../images/coins/ethereum.svg"); @@ -740,10 +744,18 @@ header.ETH { } header.ETC { - .header-branding { border-bottom: 0.25rem solid @brand-etc; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-etc; } - & + .container .modal-content { border: 0.25rem solid @brand-etc; } - & + .container .alert-info { background-color:@brand-etc; } + .header-branding { + border-bottom: 0.25rem solid @brand-etc; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-etc; + } + & + .container .modal-content { + border: 0.25rem solid @brand-etc; + } + & + .container .alert-info { + background-color: @brand-etc; + } .dropdown-gas:before { width: 24px; background-image: url("../images/coins/ethereum-classic.svg"); @@ -751,38 +763,78 @@ header.ETC { } header.Ropsten { - .header-branding { border-bottom: 0.25rem solid @brand-test; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-test; } - & + .container .modal-content { border: 0.25rem solid @brand-test; } - & + .container .alert-info { background-color:@brand-test; } + .header-branding { + border-bottom: 0.25rem solid @brand-test; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-test; + } + & + .container .modal-content { + border: 0.25rem solid @brand-test; + } + & + .container .alert-info { + background-color: @brand-test; + } } header.Kovan { - .header-branding { border-bottom: 0.25rem solid @brand-test; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-test; } - & + .container .modal-content { border: 0.25rem solid @brand-test; } - & + .container .alert-info { background-color:@brand-test; } + .header-branding { + border-bottom: 0.25rem solid @brand-test; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-test; + } + & + .container .modal-content { + border: 0.25rem solid @brand-test; + } + & + .container .alert-info { + background-color: @brand-test; + } } header.Rinkeby { - .header-branding { border-bottom: 0.25rem solid @brand-test; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-test; } - & + .container .modal-content { border: 0.25rem solid @brand-test; } - & + .container .alert-info { background-color:@brand-test; } + .header-branding { + border-bottom: 0.25rem solid @brand-test; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-test; + } + & + .container .modal-content { + border: 0.25rem solid @brand-test; + } + & + .container .alert-info { + background-color: @brand-test; + } } header.Custom { - .header-branding { border-bottom: 0.25rem solid @brand-cust; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-cust; } - & + .container .modal-content { border: 0.25rem solid @brand-cust; } - & + .container .alert-info { background-color:@brand-cust; } + .header-branding { + border-bottom: 0.25rem solid @brand-cust; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-cust; + } + & + .container .modal-content { + border: 0.25rem solid @brand-cust; + } + & + .container .alert-info { + background-color: @brand-cust; + } } header.EXP { - .header-branding { border-bottom: 0.25rem solid @brand-exp; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-exp; } - & + .container .modal-content { border: 0.25rem solid @brand-exp; } - & + .container .alert-info { background-color:@brand-exp; } + .header-branding { + border-bottom: 0.25rem solid @brand-exp; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-exp; + } + & + .container .modal-content { + border: 0.25rem solid @brand-exp; + } + & + .container .alert-info { + background-color: @brand-exp; + } .dropdown-gas:before { width: 32px; background-image: url("../images/coins/exp.svg"); @@ -790,10 +842,18 @@ header.EXP { } header.UBQ { - .header-branding { border-bottom: 0.25rem solid @brand-ubq; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-ubq; } - & + .container .modal-content { border: 0.25rem solid @brand-ubq; } - & + .container .alert-info { background-color:@brand-ubq; } + .header-branding { + border-bottom: 0.25rem solid @brand-ubq; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-ubq; + } + & + .container .modal-content { + border: 0.25rem solid @brand-ubq; + } + & + .container .alert-info { + background-color: @brand-ubq; + } .dropdown-gas:before { width: 32px; background-image: url("../images/coins/ubiq.svg"); @@ -801,10 +861,18 @@ header.UBQ { } header.POA { - .header-branding { border-bottom: 0.25rem solid @brand-poa; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-poa; } - & + .container .modal-content { border: 0.25rem solid @brand-poa; } - & + .container .alert-info { background-color:@brand-poa; } + .header-branding { + border-bottom: 0.25rem solid @brand-poa; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-poa; + } + & + .container .modal-content { + border: 0.25rem solid @brand-poa; + } + & + .container .alert-info { + background-color: @brand-poa; + } .dropdown-gas:before { width: 32px; background-image: url("../images/coins/poa.svg"); @@ -812,10 +880,18 @@ header.POA { } header.TOMO { - .header-branding { border-bottom: 0.25rem solid @brand-tomo; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-tomo; } - & + .container .modal-content { border: 0.25rem solid @brand-tomo; } - & + .container .alert-info { background-color:@brand-tomo; } + .header-branding { + border-bottom: 0.25rem solid @brand-tomo; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-tomo; + } + & + .container .modal-content { + border: 0.25rem solid @brand-tomo; + } + & + .container .alert-info { + background-color: @brand-tomo; + } .dropdown-gas:before { width: 34px; background-image: url("../images/coins/tomo.svg"); @@ -823,10 +899,18 @@ header.TOMO { } header.ELLA { - .header-branding { border-bottom: 0.25rem solid @brand-ella; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-ella; } - & + .container .modal-content { border: 0.25rem solid @brand-ella; } - & + .container .alert-info { background-color:@brand-ella; } + .header-branding { + border-bottom: 0.25rem solid @brand-ella; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-ella; + } + & + .container .modal-content { + border: 0.25rem solid @brand-ella; + } + & + .container .alert-info { + background-color: @brand-ella; + } .dropdown-gas:before { width: 32px; background-image: url("../images/coins/ella.svg"); @@ -834,10 +918,18 @@ header.ELLA { } header.ETSC { - .header-branding { border-bottom: 0.25rem solid @brand-etsc; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-etsc; } - & + .container .modal-content { border: 0.25rem solid @brand-etsc; } - & + .container .alert-info { background-color:@brand-etsc; } + .header-branding { + border-bottom: 0.25rem solid @brand-etsc; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-etsc; + } + & + .container .modal-content { + border: 0.25rem solid @brand-etsc; + } + & + .container .alert-info { + background-color: @brand-etsc; + } .dropdown-gas:before { width: 32px; background-image: url("../images/coins/etsc.svg"); @@ -845,10 +937,18 @@ header.ETSC { } header.EGEM { - .header-branding { border-bottom: 0.25rem solid @brand-egem; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-egem; } - & + .container .modal-content { border: 0.25rem solid @brand-egem; } - & + .container .alert-info { background-color:@brand-egem; } + .header-branding { + border-bottom: 0.25rem solid @brand-egem; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-egem; + } + & + .container .modal-content { + border: 0.25rem solid @brand-egem; + } + & + .container .alert-info { + background-color: @brand-egem; + } .dropdown-gas:before { width: 36px; background-image: url("../images/coins/egem.svg"); @@ -856,22 +956,37 @@ header.EGEM { } header.CLO { - .header-branding { border-bottom: 0.25rem solid @brand-clo; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-clo; } - & + .container .modal-content { border: 0.25rem solid @brand-clo; } - & + .container .alert-info { background-color:@brand-clo; } + .header-branding { + border-bottom: 0.25rem solid @brand-clo; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-clo; + } + & + .container .modal-content { + border: 0.25rem solid @brand-clo; + } + & + .container .alert-info { + background-color: @brand-clo; + } .dropdown-gas:before { width: 36px; background-image: url("../images/coins/callisto.svg"); } } - header.MUSIC { - .header-branding { border-bottom: 0.25rem solid @brand-music;} - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-music; } - & + .container .modal-content { border: 0.25rem solid @brand-music; } - & + .container .alert-info { background-color:@brand-music; } + .header-branding { + border-bottom: 0.25rem solid @brand-music; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-music; + } + & + .container .modal-content { + border: 0.25rem solid @brand-music; + } + & + .container .alert-info { + background-color: @brand-music; + } .dropdown-gas:before { width: 34px; background-image: url("../images/coins/music.svg"); @@ -879,10 +994,18 @@ header.MUSIC { } header.GO { - .header-branding { border-bottom: 0.25rem solid @brand-go; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-go; } - & + .container .modal-content { border: 0.25rem solid @brand-go; } - & + .container .alert-info { background-color:@brand-go; } + .header-branding { + border-bottom: 0.25rem solid @brand-go; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-go; + } + & + .container .modal-content { + border: 0.25rem solid @brand-go; + } + & + .container .alert-info { + background-color: @brand-go; + } .dropdown-gas:before { width: 38px; background-image: url("../images/coins/gochain.svg"); @@ -890,10 +1013,18 @@ header.GO { } header.EOSC { - .header-branding { border-bottom: 0.25rem solid @brand-eosc; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-eosc; } - & + .container .modal-content { border: 0.25rem solid @brand-eosc; } - & + .container .alert-info { background-color:@brand-eosc; } + .header-branding { + border-bottom: 0.25rem solid @brand-eosc; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-eosc; + } + & + .container .modal-content { + border: 0.25rem solid @brand-eosc; + } + & + .container .alert-info { + background-color: @brand-eosc; + } .dropdown-gas:before { width: 26px; background-image: url("../images/coins/eosc.svg"); @@ -901,10 +1032,18 @@ header.EOSC { } header.AKA { - .header-branding { border-bottom: 0.25rem solid @brand-akroma; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-akroma; } - & + .container .modal-content { border: 0.25rem solid @brand-akroma; } - & + .container .alert-info { background-color:@brand-akroma; } + .header-branding { + border-bottom: 0.25rem solid @brand-akroma; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-akroma; + } + & + .container .modal-content { + border: 0.25rem solid @brand-akroma; + } + & + .container .alert-info { + background-color: @brand-akroma; + } .dropdown-gas:before { width: 34px; background-image: url("../images/coins/akroma.svg"); @@ -912,10 +1051,18 @@ header.AKA { } header.ESN { - .header-branding { border-bottom: 0.25rem solid @brand-esn; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-esn; } - & + .container .modal-content { border: 0.25rem solid @brand-esn; } - & + .container .alert-info { background-color:@brand-esn; } + .header-branding { + border-bottom: 0.25rem solid @brand-esn; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-esn; + } + & + .container .modal-content { + border: 0.25rem solid @brand-esn; + } + & + .container .alert-info { + background-color: @brand-esn; + } .dropdown-gas:before { width: 32px; background-image: url("../images/coins/ethersocial.svg"); @@ -923,10 +1070,18 @@ header.ESN { } header.PIRL { - .header-branding { border-bottom: 0.25rem solid @brand-pirl; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-pirl; } - & + .container .modal-content { border: 0.25rem solid @brand-pirl; } - & + .container .alert-info { background-color:@brand-pirl; } + .header-branding { + border-bottom: 0.25rem solid @brand-pirl; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-pirl; + } + & + .container .modal-content { + border: 0.25rem solid @brand-pirl; + } + & + .container .alert-info { + background-color: @brand-pirl; + } .dropdown-gas:before { width: 32px; background-image: url("../images/coins/pirl.svg"); @@ -934,10 +1089,18 @@ header.PIRL { } header.ETHO { - .header-branding { border-bottom: 0.25rem solid @brand-etho; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-etho; } - & + .container .modal-content { border: 0.25rem solid @brand-etho; } - & + .container .alert-info { background-color:@brand-etho; } + .header-branding { + border-bottom: 0.25rem solid @brand-etho; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-etho; + } + & + .container .modal-content { + border: 0.25rem solid @brand-etho; + } + & + .container .alert-info { + background-color: @brand-etho; + } .dropdown-gas:before { width: 24px; background-image: url("../images/coins/etho.svg"); @@ -945,10 +1108,18 @@ header.ETHO { } header.ATH { - .header-branding { border-bottom: 0.25rem solid @brand-ath; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-ath; } - & + .container .modal-content { border: 0.25rem solid @brand-ath; } - & + .container .alert-info { background-color:@brand-ath; } + .header-branding { + border-bottom: 0.25rem solid @brand-ath; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-ath; + } + & + .container .modal-content { + border: 0.25rem solid @brand-ath; + } + & + .container .alert-info { + background-color: @brand-ath; + } .dropdown-gas:before { width: 36px; background-image: url("../images/coins/atheios.svg"); @@ -956,10 +1127,18 @@ header.ATH { } header.ILT { - .header-branding { border-bottom: 0.25rem solid @brand-ilt; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-ilt; } - & + .container .modal-content { border: 0.25rem solid @brand-ilt; } - & + .container .alert-info { background-color:@brand-ilt; } + .header-branding { + border-bottom: 0.25rem solid @brand-ilt; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-ilt; + } + & + .container .modal-content { + border: 0.25rem solid @brand-ilt; + } + & + .container .alert-info { + background-color: @brand-ilt; + } .dropdown-gas:before { width: 35px; background-image: url("../images/coins/ilt.svg"); @@ -967,10 +1146,18 @@ header.ILT { } header.WEB { - .header-branding { border-bottom: 0.25rem solid @brand-web; } - & + .container + .pre-footer + .footer { border-top: 0.25rem solid @brand-web; } - & + .container .modal-content { border: 0.25rem solid @brand-web; } - & + .container .alert-info { background-color:@brand-web; } + .header-branding { + border-bottom: 0.25rem solid @brand-web; + } + & + .container + .pre-footer + .footer { + border-top: 0.25rem solid @brand-web; + } + & + .container .modal-content { + border: 0.25rem solid @brand-web; + } + & + .container .alert-info { + background-color: @brand-web; + } .dropdown-gas:before { width: 36px; background-image: url("../images/coins/webchain.svg"); @@ -1016,7 +1203,6 @@ header.WEB { } } - .on-boarding-close { display: flex; justify-content: flex-end; @@ -1056,3 +1242,10 @@ header.WEB { height: 60%; text-align: center; } + +.unsupported { + color: @brand-danger; + background: rgba(255, 68, 8, 0.1); + border: 1px solid @brand-danger; + padding: 10px; +} diff --git a/chrome-extension/contest.html b/chrome-extension/contest.html index 2c9c022b76..0e8bd78100 100644 --- a/chrome-extension/contest.html +++ b/chrome-extension/contest.html @@ -100,13 +100,13 @@ MyEtherWallet -

    3.25.0

    +

    3.26.0

    - + diff --git a/chrome-extension/css/etherwallet-master.min.css b/chrome-extension/css/etherwallet-master.min.css index e2121c11b1..555c02b3d6 100644 --- a/chrome-extension/css/etherwallet-master.min.css +++ b/chrome-extension/css/etherwallet-master.min.css @@ -1,3 +1,3 @@ @font-face{font-family:Lato;src:url(../fonts/Lato-Light.woff) format("woff");font-style:normal;font-weight:300}@font-face{font-family:Lato;src:url(../fonts/Lato-Regular.woff) format("woff");font-style:normal;font-weight:400}@font-face{font-family:Lato;src:url(../fonts/Lato-Bold.woff) format("woff");font-style:normal;font-weight:700} /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0} -/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline;color:#000}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #000;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}.print-text{color:#0b7290!important}footer{border-top:1px solid #000}header{border-bottom:1px solid #000;border-top:0 solid #fff!important}.btn{border:1px solid #000;color:1px solid #000;background:transparent!important}.nav-container{display:none!important}.footer-1 img{width:40px!important}.footer-1 *,.footer-2 *,.footer-3 *{font-size:8px!important;line-height:1.1!important}.footer-1 .footer-2,.footer-1 .footer-3,.footer-2 .footer-2,.footer-2 .footer-3,.footer-3 .footer-2,.footer-3 .footer-3{float:left!important}.h1,h1{font-size:18px}.h1,.h2,h1,h2{font-weight:700}.h2,h2{font-size:17px}.h3,h3{font-size:16px}.h3,.h4,h3,h4{font-weight:700}.h4,h4{font-size:15px}.h5,h5{font-size:14px}.h5,.h6,h5,h6{font-weight:700}.h6,h6{font-size:13px}.modal{position:inherit!important;page-break-inside:avoid;page-break-before:always}}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-size:15 px;-webkit-tap-highlight-color:rgba(0,0,0,0);height:100%}@media screen and (min-width:94rem){html{font-size:16px}}@media screen and (max-width:50.2rem){html{font-size:15 px}}body{font-family:Lato,sans-serif;font-size:1rem;line-height:1.4;color:#333;background-color:#fbfbfb;height:100%}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-thumbnail{padding:.2rem;line-height:1.4;background-color:#fbfbfb;border:1px solid #ddd;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid #ececec}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:700;line-height:1.2;color:inherit;letter-spacing:.02em}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:inherit}.h1,.h2,.h3,h1,h2,h3{margin-top:1rem;margin-bottom:.5rem}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:1rem;margin-bottom:.5rem}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:2.25rem}.h1,.h2,h1,h2{font-weight:300}.h2,h2{font-size:1.9rem}.h3,h3{font-size:1.5rem}.h3,.h4,h3,h4{font-weight:700}.h4,h4{font-size:1.3rem}.h5,h5{font-size:1.15rem}.h5,.h6,h5,h6{font-weight:400}.h6,h6{font-size:1.07rem}p{margin:0 0 .5rem;font-weight:300}p.strong,p .strong,p strong{font-weight:400}i{font-style:normal}.strong,strong{font-weight:600}.lead{margin-bottom:1.4;font-size:1rem}a{color:#0e97c0;text-decoration:none;cursor:pointer}a,a:hover{-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}a:hover{opacity:.8;color:#0c84a8}a:active,a:focus{opacity:1;-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}a:focus{outline:thin dotted;outline-offset:3px}.point{cursor:pointer}.strike{text-decoration:line-through}.small,small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#9a9a9a}.text-primary{color:#0e97c0}a.text-primary:focus,a.text-primary:hover{color:#0c84a8}.text-success{color:#459f42}a.text-success:focus,a.text-success:hover{color:#3d8d3b}.text-info{color:#0b1929}a.text-info:focus,a.text-info:hover{color:#060d15}.text-warning{color:#cc7a00}a.text-warning:focus,a.text-warning:hover{color:#b36a00}.text-danger{color:#df2518}a.text-danger:focus,a.text-danger:hover{color:#c82116}.text-underline{text-decoration:underline}.text-light{font-weight:200}.bg-primary{color:#fff;background-color:#0e97c0}a.bg-primary:focus,a.bg-primary:hover{background-color:#0b7290}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:-.5rem;margin:2.8 0 1.4;border-bottom:1px solid #ececec}ol,ul{margin-top:0;margin-bottom:1em}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}li{margin-bottom:.5em;font-weight:300}li strong{font-weight:400}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:1.4}dd,dt{line-height:1.4}dt{font-weight:700}dd{margin-left:0}@media (min-width:51.2rem){.dl-horizontal dt{float:left;width:-8rem;clear:left;text-align:right;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:12rem}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #9a9a9a}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:.5rem 1.4;margin:0 0 1.4;font-size:1.25rem;border-left:5px solid #ececec}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.4;color:#9a9a9a}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"\2014 \00A0"}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #ececec;border-left:0;text-align:right}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:"\00A0 \2014"}address{margin-bottom:1.4;font-style:normal;line-height:1.4}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{color:#c7254e;background-color:#f9f2f4}code,kbd{padding:2px 4px;font-size:90%;border-radius:0}kbd{color:#fff;background-color:#333;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:.2;margin:0 0 .7;font-size:0;line-height:1.4;word-break:break-all;word-wrap:break-word;color:#333;background-color:#fafafa;border:1px solid #ececec;border-radius:0}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:23rem;overflow-y:scroll}.container{width:100%;margin-right:auto;margin-left:auto;max-width:113rem;padding:0 5rem}@media screen and (max-width:80rem){.container{padding:0 3%}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:1rem;padding-right:1rem}.row{margin-left:-1rem;margin-right:-1rem}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:1rem;padding-right:1rem}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:51.2rem){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:66.13333333rem){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:80rem){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent;margin-bottom:10px;border-bottom:1px solid #ddd}caption{padding-top:.5rem;padding-bottom:.5rem;color:#9a9a9a}caption,th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:1.4}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:.5rem;line-height:1.4;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fbfbfb}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:.25rem}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f5f5f5}.table-striped>tbody>tr>td,.table-striped>tbody>tr>th,.table-striped>tfoot>tr>td,.table-striped>tfoot>tr>th,.table-striped>thead>tr>td,.table-striped>thead>tr>th{border-top:0}.table-mnemonic{border-bottom:0;font-weight:400}.table-mnemonic th{border-bottom:1px solid #ececec;vertical-align:bottom}.table-mnemonic td:first-child{font-family:Menlo,Monaco,Consolas,Courier New,monospace}.table-mnemonic tr:last-child td:first-child{text-align:left}.table-mnemonic tr:first-child,.table-mnemonic tr:last-child:not(.mnemonic-custom-row){background-color:#fff!important}.table-mnemonic.table>tbody>tr>td,.table-mnemonic.table>tbody>tr>th,.table-mnemonic.table>tfoot>tr>td,.table-mnemonic.table>tfoot>tr>th,.table-mnemonic.table>thead>tr>td,.table-mnemonic.table>thead>tr>th{padding:.25rem}.table-mnemonic .mnemonic-custom-row input[type=text]{margin:-5px;display:inline;width:70%;max-width:15rem}.table-mnemonic label{margin:.15rem}.table-hover,.table-hover>tbody>tr>td,.table-hover>tbody>tr>th,.table-hover>tfoot>tr>td,.table-hover>tfoot>tr>th,.table-hover>thead>tr>td,.table-hover>thead>tr>th,.table-hover td,.table-hover th,.table-hover tr{border:0 solid #fff}.table-hover>tbody>tr:hover{background-color:#fafafa}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#fafafa}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#ededed}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}@media screen and (max-width:50.2rem){.table-responsive{width:100%;margin-bottom:1.05;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.table-domainsale-modal .table-ens-modal{font-weight:400;font-size:16px}.table-domainsale-modal .table-ens-modal textarea{font-size:11px;word-break:break-all;padding:.5rem}fieldset{margin:0;min-width:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:1.4;font-size:1.5rem;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-top:.5rem;margin-bottom:.25rem;font-weight:600;font-size:1.15rem}label small{font-weight:300;font-size:1em}td label{font-weight:400}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:3px 0 0;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:thin dotted;outline-offset:3px}output{display:block;padding-top:1.75rem;font-size:1rem;line-height:1.4;color:#333}.account-help-icon+.btn,.account-help-icon+input,.account-help-icon+textarea,label+.form-control,label+input,label+textarea{margin-top:0}.form-control{display:block;width:100%;height:2.55rem;padding:.25rem 1rem;font-size:1rem;line-height:2;color:#333;background-color:#fff;background-image:none;border:1px solid #ececec;margin-top:.5rem;margin-bottom:.5rem;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}.form-control:focus{border-color:#0e97c0;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 2px rgba(14,151,192,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 2px rgba(14,151,192,.5)}.form-control::-moz-placeholder{color:#d3d3d3;opacity:1}.form-control:-ms-input-placeholder{color:#d3d3d3}.form-control::-webkit-input-placeholder{color:#d3d3d3}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#ececec;opacity:1;cursor:text!important;-webkit-box-shadow:none!important;box-shadow:none!important}.form-control[disabled],fieldset[disabled] .form-control{cursor:default}textarea.form-control{height:auto;line-height:1.4}input[readonly]{background-color:#fafafa;cursor:text!important}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:2.55rem}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:2rem}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:4rem}}.form-group{margin-top:.5rem;margin-bottom:.5rem;display:block}.checkbox,.radio{position:relative;display:block;margin:15px 0;font-weight:500}.checkbox label,.radio label{min-height:1.4;padding-left:20px;padding-right:15px;margin-bottom:0;font-weight:500;cursor:pointer}.checkbox.small,.radio.small{margin:.2rem 0}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{margin-left:-20px}input[type=radio]{margin-right:5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .checkbox label,fieldset[disabled] .radio-inline,fieldset[disabled] .radio label,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:default}.form-control-static{padding-top:1.75rem;padding-bottom:1.75rem;margin-bottom:0;min-height:2.4rem}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.input-sm{height:2rem;line-height:2rem}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5}.form-group-sm select.form-control{height:2rem;line-height:2rem}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:2rem;min-height:2.3rem;padding:1.5rem 1rem;font-size:.9rem;line-height:1.5}.input-lg{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2;border-radius:0}select.input-lg{height:4rem;line-height:4rem}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2}.form-group-lg select.form-control{height:4rem;line-height:4rem}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:4rem;min-height:3.3rem;padding:2rem;font-size:1.9rem;line-height:1.2}.form-control.is-valid{border-color:#b5e0b4;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(93,186,90,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(93,186,90,.5)}.form-control.is-valid:focus{border-color:#92d190;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(93,186,90,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(93,186,90,.5)}.form-control.is-invalid{border-color:#f7b7b3;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(234,75,64,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(234,75,64,.5)}.form-control.is-invalid:focus{border-color:#f28c85;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(234,75,64,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(234,75,64,.5)}.form-control.is-semivalid{border-color:#ffcc80;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(255,152,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(255,152,0,.5)}.form-control.is-semivalid:focus{border-color:#ffb74d;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(255,152,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(255,152,0,.5)}.flagged-address{color:red;font-weight:700}.btn{background-image:none;cursor:pointer;border:1px solid gray;display:inline-block;font-weight:400;letter-spacing:.05em;margin-top:.5rem;margin-bottom:0;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;vertical-align:middle;white-space:nowrap;padding:.75rem 2rem;font-size:1.07rem;line-height:1.4;border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline-offset:3px}.btn.focus,.btn:focus,.btn:hover{color:#222;text-decoration:none;border-bottom-color:transparent;-webkit-box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1);box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1)}.btn.active,.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:default;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.alert .btn-info{background-color:#fff;text-decoration:none;color:#163151}.alert .btn-info.focus,.alert .btn-info:focus,.alert .btn-info:hover{color:#fff;text-decoration:none;opacity:1}.alert .btn-info.disabled{background-color:#fff;text-decoration:none;color:#163151;opacity:.6}.btn-default{color:#222;background-color:#c3c3c3;border-color:#bdbdbd;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#222;background-color:#b6b6b6;border-color:#b0b0b0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#222;background-color:#9d9d9d;border-color:#979797;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#c3c3c3;border-color:#bdbdbd}.btn-default .badge{color:#c3c3c3;background-color:#222}.btn-primary{color:#fff;background-color:#0e97c0;border-color:#0e97c0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#0c84a8;border-color:#0c84a8;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#095f79;border-color:#095f79;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#0e97c0;border-color:#0e97c0}.btn-primary .badge{color:#0e97c0;background-color:#fff}.btn-success{color:#fff;background-color:#5dba5a;border-color:#5dba5a;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#4db14a;border-color:#4db14a;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#3d8d3b;border-color:#3d8d3b;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5dba5a;border-color:#5dba5a}.btn-success .badge{color:#5dba5a;background-color:#fff}.btn-info{color:#fff;background-color:#163151;border-color:#163151;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#11253d;border-color:#11253d;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#060d15;border-color:#060d15;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#163151;border-color:#163151}.btn-info .badge{color:#163151;background-color:#fff}.btn-warning{color:#fff;background-color:#ff9800;border-color:#ff9800;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#e68900;border-color:#e68900;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#b36a00;border-color:#b36a00;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#ff9800;border-color:#ff9800}.btn-warning .badge{color:#ff9800;background-color:#fff}.btn-danger{color:#fff;background-color:#ea4b40;border-color:#ea4b40;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#e73529;border-color:#e73529;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#c82116;border-color:#c82116;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#ea4b40;border-color:#ea4b40}.btn-danger .badge{color:#ea4b40;background-color:#fff}.btn-white{background-color:hsla(0,0%,100%,.8);border-color:hsla(0,0%,100%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease;color:#163151}.btn-white.active,.btn-white.focus,.btn-white:active,.btn-white:focus,.btn-white:hover,.open>.dropdown-toggle.btn-white{color:#163151;background-color:hsla(0,0%,95%,.8);border-color:hsla(0,0%,95%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-white.active.focus,.btn-white.active:focus,.btn-white.active:hover,.btn-white:active.focus,.btn-white:active:focus,.btn-white:active:hover,.open>.dropdown-toggle.btn-white.focus,.open>.dropdown-toggle.btn-white:focus,.open>.dropdown-toggle.btn-white:hover{color:#163151;background-color:hsla(0,0%,85%,.8);border-color:hsla(0,0%,85%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-white.active,.btn-white:active,.open>.dropdown-toggle.btn-white{background-image:none}.btn-white.disabled,.btn-white.disabled.active,.btn-white.disabled.focus,.btn-white.disabled:active,.btn-white.disabled:focus,.btn-white.disabled:hover,.btn-white[disabled],.btn-white[disabled].active,.btn-white[disabled].focus,.btn-white[disabled]:active,.btn-white[disabled]:focus,.btn-white[disabled]:hover,fieldset[disabled] .btn-white,fieldset[disabled] .btn-white.active,fieldset[disabled] .btn-white.focus,fieldset[disabled] .btn-white:active,fieldset[disabled] .btn-white:focus,fieldset[disabled] .btn-white:hover{background-color:hsla(0,0%,100%,.8);border-color:hsla(0,0%,100%,.8)}.btn-white .badge{color:hsla(0,0%,100%,.8);background-color:#163151}.header-branding a.btn-white{color:#163151}.header-branding a.btn-white:focus,.header-branding a.btn-white:hover{background:#fff;opacity:1;color:#163151}.btn-group .btn-default{border-bottom-width:1px}.btn-group .btn-default.active{border:1px solid #0e97c0;color:#0e97c0;background:#f5f5f5}.btn-link{color:#0e97c0;font-weight:400}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#0c84a8;text-decoration:none;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#9a9a9a;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:1rem 2rem;font-size:1.15rem;line-height:1.2;border-radius:0}.btn-group-sm>.btn,.btn-sm{padding:.5rem 1rem;font-size:1rem;line-height:1.5;border-radius:0}.btn-group-xs>.btn,.btn-xs{font-size:.75rem;line-height:1.5;border-radius:0;padding:.1rem .6rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}.btn-file,input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.btn-file{background-image:none;cursor:pointer;border:1px solid gray;display:inline-block;font-weight:400;letter-spacing:.05em;margin-top:.5rem;margin-bottom:0;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;vertical-align:middle;white-space:nowrap;padding:.75rem 2rem;font-size:1.07rem;line-height:1.4;border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;color:#222;background-color:#c3c3c3;border-color:#bdbdbd;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease;position:relative;overflow:hidden}.btn-file.active.focus,.btn-file.active:focus,.btn-file.focus,.btn-file:active.focus,.btn-file:active:focus,.btn-file:focus{outline:thin dotted;outline-offset:3px}.btn-file.focus,.btn-file:focus,.btn-file:hover{color:#222;text-decoration:none;border-bottom-color:transparent;-webkit-box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1);box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1)}.btn-file.active,.btn-file:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-file.disabled,.btn-file[disabled],fieldset[disabled] .btn-file{cursor:default;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn-file.disabled,fieldset[disabled] a.btn-file{pointer-events:none}.btn-file.active,.btn-file.focus,.btn-file:active,.btn-file:focus,.btn-file:hover,.open>.dropdown-toggle.btn-file{color:#222;background-color:#b6b6b6;border-color:#b0b0b0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-file.active.focus,.btn-file.active:focus,.btn-file.active:hover,.btn-file:active.focus,.btn-file:active:focus,.btn-file:active:hover,.open>.dropdown-toggle.btn-file.focus,.open>.dropdown-toggle.btn-file:focus,.open>.dropdown-toggle.btn-file:hover{color:#222;background-color:#9d9d9d;border-color:#979797;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-file.active,.btn-file:active,.open>.dropdown-toggle.btn-file{background-image:none}.btn-file.disabled,.btn-file.disabled.active,.btn-file.disabled.focus,.btn-file.disabled:active,.btn-file.disabled:focus,.btn-file.disabled:hover,.btn-file[disabled],.btn-file[disabled].active,.btn-file[disabled].focus,.btn-file[disabled]:active,.btn-file[disabled]:focus,.btn-file[disabled]:hover,fieldset[disabled] .btn-file,fieldset[disabled] .btn-file.active,fieldset[disabled] .btn-file.focus,fieldset[disabled] .btn-file:active,fieldset[disabled] .btn-file:focus,fieldset[disabled] .btn-file:hover{background-color:#c3c3c3;border-color:#bdbdbd}.btn-file .badge{color:#c3c3c3;background-color:#222}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;filter:alpha(opacity=0);opacity:0;background:red;cursor:inherit;display:block}.caret{display:inline-block;width:0;height:0;margin-left:.5rem;vertical-align:middle;border-top:.25rem dashed;border-right:.25rem solid transparent;border-left:.25rem solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle{margin-top:0;font-size:1rem;padding:.5rem 1rem}.dropdown:hover .dropdown-menu{display:block}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;min-width:160px;max-width:100vw;max-height:75vh;overflow:scroll;padding:0;margin:2px 0 0;list-style:none;font-size:.9rem;text-align:left;background-color:#fff;border-radius:0;-webkit-box-shadow:0 6px 10px rgba(0,0,0,.175);box-shadow:0 6px 10px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:2px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li{margin:0}.dropdown-menu>li:first-child{padding-top:2px}.dropdown-menu>li:last-child{padding-bottom:2px}.dropdown-menu>li>a{display:block;padding:2px 1rem;clear:both;font-weight:300;line-height:1.4;color:#163151;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{text-decoration:none;color:#0e97c0;background-color:#fafafa}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0;background-color:#0e97c0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#9a9a9a}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:default}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:.9rem;line-height:1.4;color:#9a9a9a;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:.25rem solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:51.2rem){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle;margin-bottom:5px}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn-group{float:left}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn-lg .caret{border-width:.25rem .25rem 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 .25rem .25rem}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group>*{margin-bottom:0;margin-top:0}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%}.input-group .dropdown-toggle{padding-right:.75rem;padding-left:.75rem}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2;border-radius:0}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:4rem;line-height:4rem}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:2rem;line-height:2rem}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding-left:2rem;padding-right:2rem;font-size:1rem;font-weight:400;line-height:1;color:#333;text-align:center;background-color:#ececec;border:1px solid #dfdfdf;outline:0;-webkit-box-shadow:inset 0 1px 1px hsla(0,0%,93%,.5),0 0 1px hsla(0,0%,93%,.5);box-shadow:inset 0 1px 1px hsla(0,0%,93%,.5),0 0 1px hsla(0,0%,93%,.5)}.input-group-addon.input-sm{padding:.5rem 1rem;font-size:.9rem}.input-group-addon.input-lg{padding:1rem 2rem;font-size:1.9rem}.input-group-addon:focus{border:1px solid #dadada;outline:0;-webkit-box-shadow:inset 0 1px 1px #ececec,30%,0 0 1px hsla(0,0%,93%,.9);box-shadow:inset 0 1px 1px #ececec,30%,0 0 1px hsla(0,0%,93%,.9)}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative;margin-bottom:0;margin-top:0;font-size:1rem;padding:.55rem 2rem}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.alert{padding:.75rem 2rem;margin:1rem auto;font-weight:300;font-size:1.07rem}.alert h4{color:inherit}.alert>:first-child,.alert h4{margin-top:0}.alert>:last-child{margin-bottom:0}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert a{color:#fff;text-decoration:underline}.alert a:hover{opacity:.8}.alert a:active,.alert a:focus{opacity:1}.alert svg{vertical-align:bottom}.alert-danger--outline{padding:.5em .6em .6em .3em;margin:0 0 1em;border-top:2px solid #ea4b40;-webkit-box-shadow:0 1px 5px 1px rgba(63,63,63,.13);box-shadow:0 1px 5px 1px rgba(63,63,63,.13);font-size:.9em;font-weight:500}.alert-danger--outline:before{content:"";background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23ea4b40'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23ea4b40'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:1.75em;float:left;width:2em;height:4em;margin-right:.75em}.alert.popup{position:fixed;bottom:0;left:0;right:0;padding:1rem 0;-webkit-box-shadow:0 0 20px 0 rgba(0,0,0,.33);box-shadow:0 0 20px 0 rgba(0,0,0,.33);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out;z-index:1060;margin:0}.alert.popup .container{position:relative;padding:0 10rem 0 5rem}@media screen and (max-width:51.2rem){.alert.popup .container{padding:1rem 8rem 1rem 4rem}}@media screen and (max-width:32rem){.alert.popup .container{padding:3rem 1rem 0 4rem}}.alert.popup .container:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:contain;display:block;color:#fff;position:absolute;top:0;bottom:0;left:1%;width:2.25rem}@media screen and (max-width:32rem){.alert.popup .container:after{top:2.5rem;left:.5rem}}.alert.popup .icon-close{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 348.333 348.334'%3E%3Cpath d='M336.559 68.611L231.016 174.165l105.543 105.549c15.699 15.705 15.699 41.145 0 56.85-7.844 7.844-18.128 11.769-28.407 11.769-10.296 0-20.581-3.919-28.419-11.769L174.167 231.003 68.609 336.563c-7.843 7.844-18.128 11.769-28.416 11.769-10.285 0-20.563-3.919-28.413-11.769-15.699-15.698-15.699-41.139 0-56.85l105.54-105.549L11.774 68.611c-15.699-15.699-15.699-41.145 0-56.844 15.696-15.687 41.127-15.687 56.829 0l105.563 105.554L279.721 11.767c15.705-15.687 41.139-15.687 56.832 0 15.705 15.699 15.705 41.145.006 56.844z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:1rem;cursor:pointer;opacity:.7;position:absolute;top:0;right:0;width:9rem;bottom:0;border-left:1px solid hsla(0,0%,100%,.7);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}@media screen and (max-width:51.2rem){.alert.popup .icon-close{width:7rem}}@media screen and (max-width:32rem){.alert.popup .icon-close{width:100%;height:3rem;left:0;right:0;top:0;bottom:auto;border-left:0;border-bottom:1px solid hsla(0,0%,100%,.7)}}.alert.popup .icon-close:hover{border-color:hsla(0,0%,100%,.5)}.alert.popup .icon-close:active,.alert.popup .icon-close:hover{-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out;background-color:rgba(0,0,0,.1)}.alert.popup .icon-close:active{border-color:hsla(0,0%,100%,.7);opacity:1}.alert.popup.ng-hide{bottom:-20%;-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}.alert,.alert-info{background-color:#0e97c0;border-color:#0e97c0;color:#fff}.alert-info hr,.alert hr{border-top-color:#0c84a8}.alert-info .alert-link,.alert .alert-link{color:#e6e6e6}.alert-info .container:after,.alert .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' x='30' y='30' viewBox='0 0 65 65' width='512' height='512'%3E%3Cpath d='M32.5 0C14.58 0 0 14.579 0 32.5S14.58 65 32.5 65 65 50.421 65 32.5 50.42 0 32.5 0zm0 61C16.785 61 4 48.215 4 32.5S16.785 4 32.5 4 61 16.785 61 32.5 48.215 61 32.5 61z' fill='%23FFF'/%3E%3Ccircle cx='33.018' cy='19.541' r='3.345' fill='%23FFF'/%3E%3Cpath d='M32.137 28.342a2 2 0 0 0-2 2v17a2 2 0 0 0 4 0v-17a2 2 0 0 0-2-2z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-success{background-color:#5dba5a;border-color:#5dba5a;color:#fff}.alert-success hr{border-top-color:#4db14a}.alert-success .alert-link{color:#e6e6e6}.alert-success .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 478.2 478.2' width='32' height='32'%3E%3Cpath d='M457.575 325.1c9.8-12.5 14.5-25.9 13.9-39.7-.6-15.2-7.4-27.1-13-34.4 6.5-16.2 9-41.7-12.7-61.5-15.9-14.5-42.9-21-80.3-19.2-26.3 1.2-48.3 6.1-49.2 6.3h-.1c-5 .9-10.3 2-15.7 3.2-.4-6.4.7-22.3 12.5-58.1 14-42.6 13.2-75.2-2.6-97-16.6-22.9-43.1-24.7-50.9-24.7-7.5 0-14.4 3.1-19.3 8.8-11.1 12.9-9.8 36.7-8.4 47.7-13.2 35.4-50.2 122.2-81.5 146.3-.6.4-1.1.9-1.6 1.4-9.2 9.7-15.4 20.2-19.6 29.4-5.9-3.2-12.6-5-19.8-5h-61c-23 0-41.6 18.7-41.6 41.6v162.5c0 23 18.7 41.6 41.6 41.6h61c8.9 0 17.2-2.8 24-7.6l23.5 2.8c3.6.5 67.6 8.6 133.3 7.3 11.9.9 23.1 1.4 33.5 1.4 17.9 0 33.5-1.4 46.5-4.2 30.6-6.5 51.5-19.5 62.1-38.6 8.1-14.6 8.1-29.1 6.8-38.3 19.9-18 23.4-37.9 22.7-51.9-.4-8.1-2.2-15-4.1-20.1zm-409.3 122.2c-8.1 0-14.6-6.6-14.6-14.6V270.1c0-8.1 6.6-14.6 14.6-14.6h61c8.1 0 14.6 6.6 14.6 14.6v162.5c0 8.1-6.6 14.6-14.6 14.6h-61v.1zm383.7-133.9c-4.2 4.4-5 11.1-1.8 16.3 0 .1 4.1 7.1 4.6 16.7.7 13.1-5.6 24.7-18.8 34.6-4.7 3.6-6.6 9.8-4.6 15.4 0 .1 4.3 13.3-2.7 25.8-6.7 12-21.6 20.6-44.2 25.4-18.1 3.9-42.7 4.6-72.9 2.2h-1.4c-64.3 1.4-129.3-7-130-7.1h-.1l-10.1-1.2c.6-2.8.9-5.8.9-8.8V270.1c0-4.3-.7-8.5-1.9-12.4 1.8-6.7 6.8-21.6 18.6-34.3 44.9-35.6 88.8-155.7 90.7-160.9.8-2.1 1-4.4.6-6.7-1.7-11.2-1.1-24.9 1.3-29 5.3.1 19.6 1.6 28.2 13.5 10.2 14.1 9.8 39.3-1.2 72.7-16.8 50.9-18.2 77.7-4.9 89.5 6.6 5.9 15.4 6.2 21.8 3.9 6.1-1.4 11.9-2.6 17.4-3.5.4-.1.9-.2 1.3-.3 30.7-6.7 85.7-10.8 104.8 6.6 16.2 14.8 4.7 34.4 3.4 36.5-3.7 5.6-2.6 12.9 2.4 17.4.1.1 10.6 10 11.1 23.3.4 8.9-3.8 18-12.5 27z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-warning{background-color:#ff9800;border-color:#ff9800;color:#fff}.alert-warning hr{border-top-color:#e68900}.alert-warning .alert-link{color:#e6e6e6}.alert-warning .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23FFF'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-danger{background-color:#ea4b40;border-color:#ea4b40;color:#fff}.alert-danger hr{border-top-color:#e73529}.alert-danger .alert-link{color:#e6e6e6}.alert-danger .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23FFF'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23FFF'/%3E%3C/svg%3E")}.well{min-height:20px;padding:1rem;margin-top:1rem;margin-bottom:1rem;background-color:#fafafa;border:1px solid #e8e8e8;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well :first-child{margin-top:0}.well :last-child{margin-bottom:0}.well.lg{padding:2rem}.well.sm{padding:.5rem}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal,.modal-open{overflow:hidden}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translateY(-25%);-ms-transform:translateY(-25%);-o-transform:translateY(-25%);transform:translateY(-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:-webkit-transform .3s ease-out;-o-transition:transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0);-ms-transform:translate(0);-o-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border-radius:0;-webkit-box-shadow:1px 1px 60px rgba(0,0,0,.32);box-shadow:1px 1px 60px rgba(0,0,0,.32);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:.75rem 1.5rem}.modal-header .close{margin-top:-2px}.modal-title{margin:0 0 1rem;line-height:1.4}.modal-body{position:relative;padding:.75rem;font-size:1.15rem}.modal-body .table>tbody>tr>td{vertical-align:middle}.modal-body .addressIdenticon{margin:auto}.modal-footer{padding:1rem 1.5rem;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn{margin-top:0}.modal-footer .btn+.btn{margin-left:.5rem;margin-bottom:0;margin-top:0}#sendTransaction .modal-footer{text-align:center}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:51.2rem){.modal-dialog{width:800px;margin:30px auto}.modal-sm{width:30rem}}@media (min-width:66.13333333rem){.modal-lg{width:70rem}}.bity-contact:after,.bity-contact:before,.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.modal-footer:after,.modal-footer:before,.row:after,.row:before{content:" ";display:table}.bity-contact:after,.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.modal-footer:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:50.2rem){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:50.2rem){.visible-xs-block{display:block!important}}@media (max-width:50.2rem){.visible-xs-inline{display:inline!important}}@media (max-width:50.2rem){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-block{display:block!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-inline{display:inline!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-block{display:block!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-inline{display:inline!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-inline-block{display:inline-block!important}}@media (min-width:80rem){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:80rem){.visible-lg-block{display:block!important}}@media (min-width:80rem){.visible-lg-inline{display:inline!important}}@media (min-width:80rem){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:50.2rem){.hidden-xs{display:none!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.hidden-sm{display:none!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.hidden-md{display:none!important}}@media (min-width:80rem){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}img{max-width:100%;height:auto}textarea{resize:vertical}.announcement{padding:3px 10px;text-align:center;font-weight:300;color:#fff;display:block;background-color:#0e97c0}.announcement a{text-decoration:underline;color:#fff}.announcement:focus,.announcement:hover,.announcement a{-webkit-transition:all .25s ease;-o-transition:.25s all ease;transition:all .25s ease}.announcement:focus,.announcement:hover{color:#f2f2f2;text-decoration:none;background-color:#0c84a8}.announcement strong{font-weight:400}.annoucement-warning{background-color:#ff5722}.annoucement-warning:focus,.annoucement-warning:hover{background-color:#ff4408}.annoucement-warning:focus a,.annoucement-warning:focus a:hover,.annoucement-warning:hover a,.annoucement-warning:hover a:hover{text-decoration:none}.annoucement-danger{background-color:#ea4b40}.annoucement-danger:hover{background-color:#ff4408}.annoucement-danger a:focus,.annoucement-danger a:hover{color:#f2f2f2}.annoucement-danger a:focus a,.annoucement-danger a:focus a:hover,.annoucement-danger a:hover a,.annoucement-danger a:hover a:hover{text-decoration:none}.address-identicon-container{padding:0;text-align:left;max-width:4.5rem;margin-left:-.5rem;margin-top:.5rem}.address-identicon-container-right{text-align:right}.address-identicon-container-right .addressIdenticon{float:right}.address-identicon-container-offline{padding:0;margin-left:-15px}.addressIdenticon{width:100%;height:auto;padding-bottom:100%;background-size:cover;background-repeat:no-repeat;border-radius:50%;-webkit-box-shadow:inset hsla(0,0%,100%,.5) 0 2px 2px,inset rgba(0,0,0,.6) 0 -1px 8px;box-shadow:inset 0 2px 2px hsla(0,0%,100%,.5),inset 0 -1px 8px rgba(0,0,0,.6)}.addressIdenticon.med{width:3rem;height:3rem;padding:0}.addressIdenticon.small{width:2rem;height:2rem;padding:0}.addressIdenticon.inline{display:inline-block}.addressIdenticon.float{float:left;margin-right:.5rem}.transaction-modal tbody tr td:first-child{width:30%}.transaction-modal tbody tr td:nth-child(2){width:70%}.transaction-modal .text-width-limit{display:grid;grid-auto-rows:1fr}.transaction-modal .text-width-limit p{margin:0;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.wrap{word-wrap:break-word}.bigger-on-mobile.form-control[readonly]{height:60px}@media screen and (max-width:767px){.bigger-on-mobile.form-control[readonly]{height:100px}}#paneHelp h3{margin-top:2em}.account-help-icon h3,.account-help-icon h4,.account-help-icon h5,.account-help-icon h6,.account-help-icon img{display:inline-block}.account-help-icon img:hover+.account-help-text{display:block;opacity:1;z-index:999}.account-help-icon img{margin-left:-30px;margin-right:3px}.account-help-icon:hover{opacity:1}.account-help-text{background:#fff;border-radius:0;border:1px solid #cdcdcd;-webkit-box-shadow:0 0 .5rem hsla(0,0%,39%,.2);box-shadow:0 0 .5rem hsla(0,0%,39%,.2);display:none;font-size:.75rem;font-weight:400;padding:.25rem;position:absolute;width:18rem;z-index:999;color:#333}ul.account-help-text{padding-left:1.6rem}.account-help-text li{font-size:.75rem;font-weight:400}@media screen and (max-width:767px){.account-help-icon img,.account-help-icon li,.account-help-icon p{display:none}}#accountAddress,#accountAddressMainTbl-1,#accountBalance,#accountBalanceBtc,#accountBalanceEur,#accountBalancePopMB-0,#accountBalancePopMB-2,#accountBalanceUsd,.form-control,.mono{font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-weight:400;letter-spacing:.02em}.offline-qrcode{margin-top:-150px;max-width:300px}@media screen and (max-width:942px){.offline-qrcode{margin-top:-78px}}@media screen and (max-width:769px){.offline-qrcode{margin-top:0}}.account-info{padding-left:1em;margin:0}.account-info:after,.account-info:before{content:" ";display:table}.account-info:after{clear:both}.account-info li{margin-bottom:0;list-style-type:none;word-break:break-all}table.account-info{font-weight:200;border-bottom:0;min-width:200px;width:100%}table.account-info tbody{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}table.account-info td{padding:.3rem;line-height:1}table.account-info td:first-child{word-wrap:break-word;padding-left:1em}table.account-info tr{border-bottom:1px solid #f3f3f3}table.account-info tr:last-child,table.account-info tr:nth-last-child(2){border-bottom:0 solid #f3f3f3}table.account-info tr.custom-token{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}input[type=text]+.eye{cursor:pointer}input[type=text]+.eye:before{content:"";width:20px;height:20px;margin-left:6px;margin-right:6px;display:inline-block;vertical-align:middle;background:url(../images/icon-eye.svg)}input[type=password]+.eye{cursor:pointer}input[type=password]+.eye:before{content:"";width:20px;height:20px;margin-left:6px;margin-right:6px;display:inline-block;vertical-align:middle;background:url(../images/icon-eye-closed.svg)}.collapse-container h1{margin:.25rem 0}.collapse-container .collapse-button{float:left;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0;margin:5px -30px;font-size:1.6rem;line-height:.95;display:inline-block;width:25px;height:25px;text-align:center;border:1px solid #ddd;color:#c3c3c3;border-radius:5px}.help .collapse-container{margin:40px 0}.help .collapse-container .collapse-button{margin:-10px -30px;font-size:20px;line-height:1}.token-remove{width:.9rem;height:.9rem;position:absolute;left:18px;cursor:pointer}.node-remove{width:16px;height:16px;position:absolute;right:6px;top:8px}.m-addresses td:first-child{max-width:50px;min-widht:50px}.m-addresses td:last-child{text-align:right}.token-balances{margin-bottom:15px;font-size:14px;max-height:60vh;overflow:scroll}h2 a.isActive,h2 a.isActive:active,h2 a.isActive:hover{color:#333;cursor:default}.item{margin:6px 0}.output{padding:.5rem 1rem;margin-top:-.5rem}.output p{margin:.75rem 0 0}label .small{font-size:.9rem}label small{color:#9a9a9a}.write-address .col-xs-1{padding:0}.write-address .col-xs-11{padding-right:10px}.write-boolean label{display:block}.decrypt-drtv{padding:1rem 0}.decrypt-drtv label.radio{padding:0 1.5rem;margin:.5rem 0}.decrypt-drtv h4{margin-top:0}.qr-code{max-width:17rem;margin:auto}.qr-pkey-container{position:relative}.qr-overlay{background-color:#000;position:absolute;top:0;left:0;right:0;bottom:0}.contracts a.isActive{color:#333;font-weight:400}.contracts .dropdown-toggle{display:block;text-align:left;white-space:normal}.contracts .dropdown-toggle .caret{position:absolute;right:1rem;top:1.25rem}.contracts .dropdown-menu-left{font-size:.9rem;left:auto;right:0;min-width:37rem}.contracts .dropdown-menu-left small{float:right}.ens-tab a.isActive{color:#333;font-weight:400}.ens-tab .btn-primary-buy-button{width:200px}.ens-tab .btn-red{background-color:#84023d;border-color:#84023d;position:relative;width:200px}.ens-tab .btn-red .na{background-color:red;border-radius:300px;padding:5px 8px;font-weight:900}.ens-tab .btn-red:hover{background-color:#84023d;border-color:#84023d;position:relative}.ens-tab .pad-bot{padding-bottom:5px}.dropdown-gas{padding-bottom:1rem}@media screen and (max-width:900px){.dropdown-gas{padding-bottom:2rem}}.dropdown-gas__msg{font-size:12px;font-weight:300;margin:-10px auto 3px;max-width:113rem;padding:0 5rem;text-align:right;white-space:normal}@media screen and (max-width:80rem){.dropdown-gas__msg{padding:0 3%}}@media screen and (max-width:900px){.dropdown-gas__msg{margin-top:0;padding:0 1%}}.view-wallet-content h5{margin-bottom:.25rem}.view-wallet-content a.isActive{color:#333}#selectedTypeLedger ol{padding-left:1rem}.loading-wrap{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.7);z-index:999;text-align:center}.loading-wrap .loading{position:absolute;text-align:center;top:40%;left:50%;-webkit-transform:translate(-50%,-60%);-ms-transform:translate(-50%,-60%);transform:translate(-50%,-60%)}.loading-wrap img{border-radius:50%}.loading-wrap h1{-webkit-animation:opacity 2s infinite ease-in-out;animation:opacity 2s infinite ease-in-out;color:#fff}@-webkit-keyframes opacity{0%,to{opacity:0}50%{opacity:1}}@keyframes opacity{0%,to{opacity:0}50%{opacity:1}}.embedded-logo{height:auto;width:100%;max-width:290px;padding:.5rem 0}.ens-response{color:#737373}.dropdown-node .dropdown-menu li{border-left:2px solid #b50085;position:relative}.dropdown-node .dropdown-menu li:last-child{border-top:1px solid #ececec;padding-top:5px}.dropdown-node .dropdown-menu li:first-child,.dropdown-node .dropdown-menu li:nth-child(2),.dropdown-node .dropdown-menu li:nth-child(3),.dropdown-node .dropdown-menu li:nth-child(4){border-left:2px solid #0e97c0}.dropdown-node .dropdown-menu li:nth-child(5),.dropdown-node .dropdown-menu li:nth-child(6),.dropdown-node .dropdown-menu li:nth-child(7),.dropdown-node .dropdown-menu li:nth-child(8),.dropdown-node .dropdown-menu li:nth-child(9){border-left:2px solid #009241}.dropdown-node .dropdown-menu li:nth-child(10),.dropdown-node .dropdown-menu li:nth-child(11),.dropdown-node .dropdown-menu li:nth-child(12),.dropdown-node .dropdown-menu li:nth-child(13),.dropdown-node .dropdown-menu li:nth-child(14),.dropdown-node .dropdown-menu li:nth-child(15){border-left:2px solid #adc101}.dropdown-node .dropdown-menu li:nth-child(16){border-left:2px solid #673ab7}.dropdown-node .dropdown-menu li:nth-child(17){border-left:2px solid #00ad85}.dropdown-node .dropdown-menu li:nth-child(18){border-left:2px solid #4568bb}.dropdown-node .dropdown-menu li:nth-child(19){border-left:2px solid #6a488d}.dropdown-node .dropdown-menu li:nth-child(20){border-left:2px solid #046111}.dropdown-node .dropdown-menu li:nth-child(21){border-left:2px solid #4295d1}.dropdown-node .dropdown-menu li:nth-child(22){border-left:2px solid #0e97c0}.dropdown-node .dropdown-menu li:nth-child(23){border-left:2px solid #009241}.dropdown-node .dropdown-menu li:nth-child(24){border-left:2px solid #fece00}.dropdown-node .dropdown-menu li:nth-child(25){border-left:2px solid #27223d}.dropdown-node .dropdown-menu li:nth-child(26){border-left:2px solid #926565}.dropdown-node .dropdown-menu li:nth-child(27),.dropdown-node .dropdown-menu li:nth-child(28){border-left:2px solid #aa0087}.dropdown-node .dropdown-menu li:nth-child(29){border-left:2px solid #a16bff}.dropdown-node .dropdown-menu li:nth-child(30){border-left:2px solid #a2d729}.dropdown-node .dropdown-menu li:nth-child(31){border-left:2px solid #d63068}.dropdown-node .dropdown-menu li:nth-child(32){border-left:2px solid #09f}.dropdown-node .dropdown-menu li:nth-child(33){border-left:2px solid #4568bb}.dropdown-node .dropdown-menu li:nth-child(34){border-left:2px solid #0092ee}.dropdown-node .dropdown-menu li:last-child{border-left:2px solid #9a9a9a}.dropdown-node .dropdown-menu li:nth-child(4),.dropdown-node .dropdown-menu li:nth-child(9),.dropdown-node .dropdown-menu li:nth-child(15),.dropdown-node .dropdown-menu li:nth-child(16),.dropdown-node .dropdown-menu li:nth-child(17),.dropdown-node .dropdown-menu li:nth-child(18),.dropdown-node .dropdown-menu li:nth-child(19),.dropdown-node .dropdown-menu li:nth-child(20),.dropdown-node .dropdown-menu li:nth-child(21),.dropdown-node .dropdown-menu li:nth-child(22),.dropdown-node .dropdown-menu li:nth-child(23),.dropdown-node .dropdown-menu li:nth-child(24),.dropdown-node .dropdown-menu li:nth-child(25),.dropdown-node .dropdown-menu li:nth-child(26),.dropdown-node .dropdown-menu li:nth-child(28),.dropdown-node .dropdown-menu li:nth-child(29),.dropdown-node .dropdown-menu li:nth-child(30),.dropdown-node .dropdown-menu li:nth-child(31),.dropdown-node .dropdown-menu li:nth-child(32),.dropdown-node .dropdown-menu li:nth-child(33){border-bottom:1px solid #ececec}header{margin-bottom:1em}header.ETH .header-branding{border-bottom:.25rem solid #0e97c0}header.ETH+.container+.pre-footer+.footer{border-top:.25rem solid #0e97c0}header.ETH+.container .modal-content{border:.25rem solid #0e97c0}header.ETH+.container .alert-info{background-color:#0e97c0}header.ETH .dropdown-gas:before{width:24px;background-image:url(../images/coins/ethereum.svg)}header.ETC .header-branding{border-bottom:.25rem solid #009241}header.ETC+.container+.pre-footer+.footer{border-top:.25rem solid #009241}header.ETC+.container .modal-content{border:.25rem solid #009241}header.ETC+.container .alert-info{background-color:#009241}header.ETC .dropdown-gas:before{width:24px;background-image:url(../images/coins/ethereum-classic.svg)}header.Ropsten .header-branding{border-bottom:.25rem solid #adc101}header.Ropsten+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Ropsten+.container .modal-content{border:.25rem solid #adc101}header.Ropsten+.container .alert-info{background-color:#adc101}header.Kovan .header-branding{border-bottom:.25rem solid #adc101}header.Kovan+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Kovan+.container .modal-content{border:.25rem solid #adc101}header.Kovan+.container .alert-info{background-color:#adc101}header.Rinkeby .header-branding{border-bottom:.25rem solid #adc101}header.Rinkeby+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Rinkeby+.container .modal-content{border:.25rem solid #adc101}header.Rinkeby+.container .alert-info{background-color:#adc101}header.Custom .header-branding{border-bottom:.25rem solid #b50085}header.Custom+.container+.pre-footer+.footer{border-top:.25rem solid #b50085}header.Custom+.container .modal-content{border:.25rem solid #b50085}header.Custom+.container .alert-info{background-color:#b50085}header.EXP .header-branding{border-bottom:.25rem solid #673ab7}header.EXP+.container+.pre-footer+.footer{border-top:.25rem solid #673ab7}header.EXP+.container .modal-content{border:.25rem solid #673ab7}header.EXP+.container .alert-info{background-color:#673ab7}header.EXP .dropdown-gas:before{width:32px;background-image:url(../images/coins/exp.svg)}header.UBQ .header-branding{border-bottom:.25rem solid #00ad85}header.UBQ+.container+.pre-footer+.footer{border-top:.25rem solid #00ad85}header.UBQ+.container .modal-content{border:.25rem solid #00ad85}header.UBQ+.container .alert-info{background-color:#00ad85}header.UBQ .dropdown-gas:before{width:32px;background-image:url(../images/coins/ubiq.svg)}header.POA .header-branding{border-bottom:.25rem solid #4568bb}header.POA+.container+.pre-footer+.footer{border-top:.25rem solid #4568bb}header.POA+.container .modal-content{border:.25rem solid #4568bb}header.POA+.container .alert-info{background-color:#4568bb}header.POA .dropdown-gas:before{width:32px;background-image:url(../images/coins/poa.svg)}header.TOMO .header-branding{border-bottom:.25rem solid #6a488d}header.TOMO+.container+.pre-footer+.footer{border-top:.25rem solid #6a488d}header.TOMO+.container .modal-content{border:.25rem solid #6a488d}header.TOMO+.container .alert-info{background-color:#6a488d}header.TOMO .dropdown-gas:before{width:34px;background-image:url(../images/coins/tomo.svg)}header.ELLA .header-branding{border-bottom:.25rem solid #046111}header.ELLA+.container+.pre-footer+.footer{border-top:.25rem solid #046111}header.ELLA+.container .modal-content{border:.25rem solid #046111}header.ELLA+.container .alert-info{background-color:#046111}header.ELLA .dropdown-gas:before{width:32px;background-image:url(../images/coins/ella.svg)}header.ETSC .header-branding{border-bottom:.25rem solid #4295d1}header.ETSC+.container+.pre-footer+.footer{border-top:.25rem solid #4295d1}header.ETSC+.container .modal-content{border:.25rem solid #4295d1}header.ETSC+.container .alert-info{background-color:#4295d1}header.ETSC .dropdown-gas:before{width:32px;background-image:url(../images/coins/etsc.svg)}header.EGEM .header-branding{border-bottom:.25rem solid #0e97c0}header.EGEM+.container+.pre-footer+.footer{border-top:.25rem solid #0e97c0}header.EGEM+.container .modal-content{border:.25rem solid #0e97c0}header.EGEM+.container .alert-info{background-color:#0e97c0}header.EGEM .dropdown-gas:before{width:36px;background-image:url(../images/coins/egem.svg)}header.CLO .header-branding{border-bottom:.25rem solid #009241}header.CLO+.container+.pre-footer+.footer{border-top:.25rem solid #009241}header.CLO+.container .modal-content{border:.25rem solid #009241}header.CLO+.container .alert-info{background-color:#009241}header.CLO .dropdown-gas:before{width:36px;background-image:url(../images/coins/callisto.svg)}header.MUSIC .header-branding{border-bottom:.25rem solid #fece00}header.MUSIC+.container+.pre-footer+.footer{border-top:.25rem solid #fece00}header.MUSIC+.container .modal-content{border:.25rem solid #fece00}header.MUSIC+.container .alert-info{background-color:#fece00}header.MUSIC .dropdown-gas:before{width:34px;background-image:url(../images/coins/music.svg)}header.GO .header-branding{border-bottom:.25rem solid #27223d}header.GO+.container+.pre-footer+.footer{border-top:.25rem solid #27223d}header.GO+.container .modal-content{border:.25rem solid #27223d}header.GO+.container .alert-info{background-color:#27223d}header.GO .dropdown-gas:before{width:38px;background-image:url(../images/coins/gochain.svg)}header.EOSC .header-branding{border-bottom:.25rem solid #926565}header.EOSC+.container+.pre-footer+.footer{border-top:.25rem solid #926565}header.EOSC+.container .modal-content{border:.25rem solid #926565}header.EOSC+.container .alert-info{background-color:#926565}header.EOSC .dropdown-gas:before{width:26px;background-image:url(../images/coins/eosc.svg)}header.AKA .header-branding{border-bottom:.25rem solid #aa0087}header.AKA+.container+.pre-footer+.footer{border-top:.25rem solid #aa0087}header.AKA+.container .modal-content{border:.25rem solid #aa0087}header.AKA+.container .alert-info{background-color:#aa0087}header.AKA .dropdown-gas:before{width:34px;background-image:url(../images/coins/akroma.svg)}header.ESN .header-branding{border-bottom:.25rem solid #a16bff}header.ESN+.container+.pre-footer+.footer{border-top:.25rem solid #a16bff}header.ESN+.container .modal-content{border:.25rem solid #a16bff}header.ESN+.container .alert-info{background-color:#a16bff}header.ESN .dropdown-gas:before{width:32px;background-image:url(../images/coins/ethersocial.svg)}header.PIRL .header-branding{border-bottom:.25rem solid #a2d729}header.PIRL+.container+.pre-footer+.footer{border-top:.25rem solid #a2d729}header.PIRL+.container .modal-content{border:.25rem solid #a2d729}header.PIRL+.container .alert-info{background-color:#a2d729}header.PIRL .dropdown-gas:before{width:32px;background-image:url(../images/coins/pirl.svg)}header.ETHO .header-branding{border-bottom:.25rem solid #d63068}header.ETHO+.container+.pre-footer+.footer{border-top:.25rem solid #d63068}header.ETHO+.container .modal-content{border:.25rem solid #d63068}header.ETHO+.container .alert-info{background-color:#d63068}header.ETHO .dropdown-gas:before{width:24px;background-image:url(../images/coins/etho.svg)}header.ATH .header-branding{border-bottom:.25rem solid #09f}header.ATH+.container+.pre-footer+.footer{border-top:.25rem solid #09f}header.ATH+.container .modal-content{border:.25rem solid #09f}header.ATH+.container .alert-info{background-color:#09f}header.ATH .dropdown-gas:before{width:36px;background-image:url(../images/coins/atheios.svg)}header.ILT .header-branding{border-bottom:.25rem solid #4568bb}header.ILT+.container+.pre-footer+.footer{border-top:.25rem solid #4568bb}header.ILT+.container .modal-content{border:.25rem solid #4568bb}header.ILT+.container .alert-info{background-color:#4568bb}header.ILT .dropdown-gas:before{width:35px;background-image:url(../images/coins/ilt.svg)}header.WEB .header-branding{border-bottom:.25rem solid #0092ee}header.WEB+.container+.pre-footer+.footer{border-top:.25rem solid #0092ee}header.WEB+.container .modal-content{border:.25rem solid #0092ee}header.WEB+.container .alert-info{background-color:#0092ee}header.WEB .dropdown-gas:before{width:36px;background-image:url(../images/coins/webchain.svg)}.contest-container{-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:0!important;text-align:center}.contest-container ol{padding:0 10em;text-align:left!important}.contest-container ol li{list-style-position:inside}@media screen and (max-width:960px){.contest-container ol{padding:0 5em!important}.collapse-container .collapse-button{margin-left:-100px}}@media screen and (max-width:650px){.contest-container ol{padding:0 20px!important}}.on-boarding-close{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.on-boarding-close img{cursor:pointer}@media screen and (max-width:600px){.footer__pill-custom-wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.footer__pill-custom-wrap a{-webkit-box-flex:1;-webkit-flex:auto;-ms-flex:auto;flex:auto;max-width:115px}}.privacy-policy{width:90%}.privacy-policy h1,.privacy-policy h3{font-weight:700;text-align:center}.privacy-policy .privacy-policy-body{margin-top:30px}.phishing{height:60%;text-align:center}.swap-tab a.link,.swap-tab a.link:hover{-webkit-transition:none;-o-transition:none;transition:none}.swap-tab .btn-lg{margin-top:3rem}.swap-tab .btn img,.swap-tab .btn svg{margin-right:.5rem;margin-left:-.25rem;vertical-align:middle}.swap-tab .swap-rates{text-align:center}.swap-tab .swap-rates .order-panel{background:-webkit-linear-gradient(300deg,#0e97c0,#163151);background:-o-linear-gradient(300deg,#0e97c0,#163151);background:linear-gradient(150deg,#0e97c0,#163151);position:relative}.swap-tab .swap-rates .order-panel .bity-logo{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@media screen and (max-width:51.2rem){.swap-tab .swap-rates .order-panel{padding-top:1rem;padding-bottom:1rem}.swap-tab .swap-rates .order-panel .order-info{text-align:left;padding:0 0 0 22%}.swap-tab .swap-rates .order-panel .bity-logo{left:-1rem;top:40%;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}}.swap-tab .swap-rates .form-control.input-sm{width:16%;min-width:3.5rem;display:inline-block;margin-right:1rem;text-align:right;background-color:transparent;color:#fff;-webkit-box-shadow:0 0 0 #fff;box-shadow:0 0 0 #fff;border:0 solid #fff;border-bottom:2px solid #fff}.swap-tab .swap-rates p{margin:0}.swap-tab .swap-rates p span{opacity:.9}.swap-tab .swap-rates .order-info:nth-child(4n+1),.swap-tab .swap-rates .order-info:nth-child(4n+2),.swap-tab .swap-rates .order-info:nth-child(4n+3){background:transparent}.swap-tab .swap-panel{text-align:center;margin-top:3rem;padding:2rem .5rem}.swap-tab .swap-panel>*{display:inline-block;margin:1.5rem .5rem;vertical-align:middle}.swap-tab .swap-panel .form-control{width:10rem;margin-right:0}.swap-tab .swap-panel .dropdown{margin-left:0}.swap-tab .swap-address{text-align:center;padding:3rem 1rem}.swap-tab .swap-start{text-align:center}.swap-tab .swap-start .swap-info{text-align:left;margin-bottom:5rem}.swap-tab .swap-order{text-align:left}.swap-tab .swap-order .order-info-wrap{margin-bottom:0}.swap-tab .swap-order h1{margin-top:3rem;margin-bottom:3rem}.ens-tab .collapse-container h4,.ens-tab .collapse-container h5,.swap-tab .collapse-container h4,.swap-tab .collapse-container h5{display:inline-block}.ens-tab .collapse-container .collapse-button,.swap-tab .collapse-container .collapse-button{float:none;margin:0}.order-info-wrap{margin-bottom:3rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.order-info-wrap .order-info{padding:1rem 0}.order-info{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;min-height:100px;text-align:center;padding:.5rem 0;color:#fff}.order-info:after,.order-info:before{content:" ";display:table}.order-info:after{clear:both}.order-info h3,.order-info h4,.order-info p{margin:0}.order-info:nth-child(4n+1){background-color:#175575}.order-info:nth-child(4n+2){background-color:#1e92ba}.order-info:nth-child(4n+3){background-color:#143955}.order-info:nth-child(4n+4){background-color:#19b3ae}.swap-progress{margin-top:2rem;margin-bottom:0;position:relative}.swap-progress .sep{position:absolute;top:3.5rem;left:3%;right:3%;height:.25rem;background-color:#ececec}@media screen and (max-width:675px){.swap-progress .sep{display:none}}.swap-progress:after,.swap-progress:before{content:" ";display:table}.swap-progress:after{clear:both}.swap-progress .progress-item{width:20%;float:left;text-align:center;margin:.25rem 0}@media screen and (max-width:675px){.swap-progress .progress-item{width:100%}}.swap-progress .progress-item:nth-child(4n+1) .progress-circle{border-color:rgba(30,146,186,.4);color:rgba(30,146,186,.4)}.swap-progress .progress-item:nth-child(4n+2) .progress-circle{border-color:rgba(23,85,117,.4);color:rgba(23,85,117,.4)}.swap-progress .progress-item:nth-child(4n+3) .progress-circle{border-color:rgba(25,179,174,.4);color:rgba(25,179,174,.4)}.swap-progress .progress-item:nth-child(4n+4) .progress-circle{border-color:rgba(20,57,85,.4);color:rgba(20,57,85,.4)}.swap-progress .progress-item .progress-circle{border-radius:50%;border-width:.25rem;border-style:solid;-webkit-box-sizing:content-box;box-sizing:content-box;margin:1rem auto;padding-bottom:4rem;position:relative;width:4rem;background:#fff}@media screen and (max-width:675px){.swap-progress .progress-item .progress-circle{margin:.25rem 1rem .25rem 2rem;padding-bottom:3rem;width:3rem;float:left}}.swap-progress .progress-item .progress-circle i{font-size:1.5rem;line-height:1.75rem;height:1.75rem;width:1.75rem;font-weight:900;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@media screen and (max-width:675px){.swap-progress .progress-item .progress-circle i{font-size:1.5rem;line-height:1.5rem;height:1.5rem;width:1.5rem}}.swap-progress .progress-item p{font-size:.9rem;font-weight:600;text-transform:uppercase;color:hsla(0,0%,55%,.5);letter-spacing:.1em}@media screen and (max-width:675px){.swap-progress .progress-item p{line-height:4rem;margin:0;text-align:left}}.swap-progress .progress-item p small{letter-spacing:.03em;font-size:75%}.swap-progress .progress-item.progress-active p{color:#8d8d8d}.swap-progress .progress-item.progress-active:nth-child(4n+1) .progress-circle{border-color:#1e92ba;color:#1e92ba}.swap-progress .progress-item.progress-active:nth-child(4n+2) .progress-circle{border-color:#175575;color:#175575}.swap-progress .progress-item.progress-active:nth-child(4n+3) .progress-circle{border-color:#19b3ae;color:#19b3ae}.swap-progress .progress-item.progress-active:nth-child(4n+4) .progress-circle{border-color:#143955;color:#143955}.swap-progress .progress-item.progress-true .progress-circle{background-color:#5dba5a;border-color:#5dba5a;-webkit-box-shadow:inset 0 0 0 5px #fff;box-shadow:inset 0 0 0 5px #fff}.swap-progress .progress-item.progress-true .progress-circle i{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 426.67 426.67' width='32' height='32'%3E%3Cpath d='M153.504 366.839c-8.657 0-17.323-3.302-23.927-9.911L9.914 237.265c-13.218-13.218-13.218-34.645 0-47.863 13.218-13.218 34.645-13.218 47.863 0l95.727 95.727 215.39-215.386c13.218-13.214 34.65-13.218 47.859 0 13.222 13.218 13.222 34.65 0 47.863L177.436 356.928c-6.609 6.605-15.271 9.911-23.932 9.911z' fill='%23fff'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain;font-size:0}.swap-progress .progress-item.progress-true p{color:#5dba5a}.ens-tab .order-info-wrap{margin-top:1rem;margin-bottom:1rem}.ens-tab h5+p{margin-top:-.5em}.bity-contact{margin:9rem -1rem -5rem}.cont-md{max-width:64rem;margin:auto}.txstatus__1 .form-control{max-width:64rem;margin:1rem auto}.txstatus__3 h4{display:inline-block}.txstatus__3 .collapse-button{float:none;margin:0}.text-ellipsis{white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.block-title1{background-color:#007cc0}.block-title1,.block-title2{color:#fff;padding:10px 20px;font-weight:900;font-size:20px}.block-title2{background-color:#3e4b5a}.mywallet-container ::-webkit-scrollbar{width:7px}.mywallet-container ::-webkit-scrollbar-track{background:#d7d7d7}.mywallet-container ::-webkit-scrollbar-thumb{background:#3e4b5a;border-radius:12px}.mywallet-container p{margin:0}.mywallet-container h3{margin:0;font-weight:900}.mywallet-container .addressIdenticon{width:50px!important;height:50px!important}.mywallet-container .grid-bg{background-color:#f5f5f5}.mywallet-container .grid-frame{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.mywallet-container .grid-frame #walletsContainer{-webkit-box-flex:50;-webkit-flex:50;-ms-flex:50;flex:50;height:100%}.mywallet-container .grid-frame .data:last-child{margin:0}.mywallet-container .grid-frame .data{display:grid;grid-template-columns:1fr 350px;grid-gap:4px;margin-bottom:20px}.mywallet-container .grid-frame .data .wallet .editor-icons{height:20px;width:20px}.mywallet-container .grid-frame .data .wallet .block-title1 p{font-weight:900}.mywallet-container .grid-frame .data .wallet .content{padding:25px 30px 20px}.mywallet-container .grid-frame .data .wallet .content>div{display:inline-block;vertical-align:top}.mywallet-container .grid-frame .data .wallet .content .balance{padding:0 20px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block{margin-bottom:15px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .block-title,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .block-title{width:125px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block h3,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block h3{display:inline-block;vertical-align:middle;font-size:20px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .balance-amount,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .balance-amount{vertical-align:middle;display:inline-block;font-size:20px;font-weight:900;color:#00c599}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block{display:inline-block;vertical-align:middle}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p{background-color:#fff;padding-left:20px;font-weight:500;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;font-size:14px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p button,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p button{background-color:#b3b3b4!important;color:#fff!important;display:inline-block;margin-left:30px;padding:12px 17px!important;border:none;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p button:hover,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p button:hover{background-color:grey!important}.mywallet-container .grid-frame .data .tokens .col-title{background-color:#fff;display:grid;grid-template-columns:1fr 1fr;padding:5px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .data .tokens .col-title p{font-weight:900;font-size:13px}.mywallet-container .grid-frame .data .tokens .content{height:116px;overflow-y:auto;position:relative}.mywallet-container .grid-frame .data .tokens .content>div{display:grid;grid-template-columns:1fr 1fr;padding:5px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .data .tokens .content>div:nth-child(2n){background-color:#ebebeb}.mywallet-container .grid-frame .data .tokens .content>div p{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mywallet-container .grid-frame .sidebar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:15;-webkit-flex:15;-ms-flex:15;flex:15;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-left:15px;margin-top:4.2rem}.mywallet-container .grid-frame .sidebar .title-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#fff;background-color:#3e4b5a;padding:10px 20px}.mywallet-container .grid-frame .sidebar .title-container .title{display:inline-block;font-weight:900;font-size:20px}.mywallet-container .grid-frame .sidebar .title-container .total-of{display:inline-block;margin-left:auto;font-size:13px;margin-top:10px}.mywallet-container .grid-frame .sidebar .col-title{background-color:#fff;display:grid;grid-template-columns:2fr 1fr;padding:15px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .sidebar .col-title p{font-size:15px;font-weight:900}.mywallet-container .grid-frame .sidebar .content{overflow-y:scroll;position:relative}.mywallet-container .grid-frame .sidebar .content>div{display:grid;grid-template-columns:2fr 1fr;padding:15px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .sidebar .content>div p{font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mywallet-container .grid-frame .sidebar .content>div .add-button{position:relative}.mywallet-container .grid-frame .sidebar .content>div .add-button p{cursor:pointer;width:90px;position:absolute;padding:7px 0;border:1px solid blue;font-size:12px;color:blue;text-align:center;top:-6px;left:0;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .sidebar .content>div .add-button p:hover{color:#fff;background-color:blue}.mywallet-container .grid-frame .sidebar .content>div .remove-button{position:relative}.mywallet-container .grid-frame .sidebar .content>div .remove-button p{cursor:pointer;width:90px;position:absolute;padding:7px 0;border:1px solid red;font-size:12px;color:red;text-align:center;top:-6px;left:0;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .sidebar .content>div .remove-button p:hover{color:#fff;background-color:red}.mywallet-container .grid-frame .sidebar .content .col-title{background-color:#fff}.mywallet-container .grid-frame .sidebar .content .col-title p{font-weight:900}#etherWalletPopUp{padding:10px;position:relative;min-width:346px}#etherWalletPopUp .back-icon{position:absolute;left:5px;top:5px}#etherWalletPopUp .back-icon:active,#etherWalletPopUp .back-icon:hover{outline:0}.toggleTokenContainer span{color:#0e97c0;cursor:pointer}.toggleTokenContainer span:hover{color:#095f79}.walletTokensContainer{max-height:70px;overflow:scroll}.quicksend-address{font-family:Menlo,Monaco,Consolas,Courier New,monospace;max-width:170px;word-wrap:break-word;font-size:12px;font-weight:300;display:block}.chrome-tokens span{min-width:130px;display:inline-block}.truncate{max-width:130px;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mainWalletDelete,.mainWalletEdit,.mainWalletView{margin:.5em}.myWalletCtrl table:not(.account-info) h2{margin:0;font-size:1.6em}.myWalletCtrl table:not(.account-info) h3{font-weight:400;font-size:1.3em}.myWalletCtrl table:not(.account-info) td:nth-child(2){max-width:380px}.myWalletCtrl table:not(.account-info) td,.myWalletCtrl table:not(.account-info) th{vertical-align:middle;padding:.5em .75em}#secWatchOnlyMain .mainWalletDelete{width:60px;display:block}.spinner{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;height:37px}.spinner-container{display:inherit!important;padding:7.5px 20px!important;text-align:center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.text-navy{color:#163151}.text-gray-lighter{color:#ececec}.text-blue{color:#0e97c0}.text-white{color:#fff}.bg-navy{background:#163151}.bg-gradient{background:#163151;background:-webkit-linear-gradient(301deg,#132a45,#143a56,#21a4ce,#19b4ad);background:-o-linear-gradient(301deg,#132a45,#143a56,#21a4ce,#19b4ad);background:linear-gradient(149deg,#132a45,#143a56,#21a4ce,#19b4ad)}.bg-gray-lighter{background-color:#ececec}.bg-blue{background-color:#0e97c0}.bg-white{background-color:#fff}.text-serif{font-family:Georgia,Times New Roman,Times,serif}.text-sans-serif{font-family:Lato,sans-serif}.pad-v-sm{padding-top:.5em;padding-bottom:.5em}.pad-v-md{padding-top:1em;padding-bottom:1em}.pad-v-lg{padding-top:1.5em;padding-bottom:1.5em}.pad-v-xl{padding-top:2em;padding-bottom:2em}.marg-v-sm{margin-top:.5em;margin-bottom:.5em}.marg-v-md{margin-top:1em;margin-bottom:1em}.marg-v-lg{margin-top:1.5em;margin-bottom:1.5em}.marg-v-xl{margin-top:2em;margin-bottom:2em}.img-fill{width:100%;height:auto;max-width:100%}.header-branding{color:#fff;padding:0}@media screen and (max-width:960px){.header-branding{text-align:center}}.header-branding .container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:900px){.header-branding .container{padding-left:1%;padding-right:1%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}}.header-branding .brand{float:left}@media screen and (max-width:900px){.header-branding .brand{float:none}}.header-branding .brand img{padding:.25rem 0}.header-branding .tagline{font-weight:200;color:#fff;-webkit-box-flex:1;-webkit-flex:1 auto;-ms-flex:1 auto;flex:1 auto;text-align:right;padding:.25rem 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:900px){.header-branding .tagline{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;text-align:right}}.header-branding a{cursor:pointer;font-weight:400;display:inline-block}.header-branding a,.header-branding a:active,.header-branding a:hover{color:#fff;-webkit-transition:all .25s ease;-o-transition:.25s all ease;transition:all .25s ease}.header-branding a:active,.header-branding a:hover{opacity:.8;text-decoration:none}.header-branding .dropdown{padding:.1rem}@media screen and (max-width:900px){.header-branding .dropdown{padding:.1rem 0;white-space:nowrap;display:inline-block;font-size:14px}.header-branding .dropdown .dropdown-menu{right:0;overflow-y:auto;min-width:auto;left:auto;top:100%;font-size:14px}.header-branding .dropdown .dropdown-menu>li>a{font-size:14px;padding:.25rem 30px .25rem 15px;position:relative}.header-branding .dropdown-gas{white-space:normal}.header-branding .dropdown-gas .dropdown-menu{right:0!important}}.header-branding .dropdown-toggle{font-size:14px;padding:.3em .6rem}.header-branding .dropdown-gas{display:inline-block}.header-branding .dropdown-gas .dropdown-menu{min-width:200px;padding:.5rem;margin:.1rem 0 0;right:.1rem;left:auto;overflow:unset}.header-branding .dropdown-gas .dropdown-menu p{padding:0}.header-branding .dropdown-gas:before{content:"";display:inline-block;background-position:50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle;width:24px;height:48px;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='417' preserveAspectRatio='xMidYMid'%3E%3Cg fill-opacity='.588'%3E%3Cpath d='M128.95 154.205h.003l127.96 58.162L128.953.047z' fill='%23b1b1b1'/%3E%3Cpath d='M128.95 154.205V.047L.988 212.367l127.96-58.162z' fill='%23cfcfcf'/%3E%3Cpath d='M128.949 416.953l128.038-180.32-128.038 75.6z' fill='%23b1b1b1'/%3E%3Cpath fill='%23cfcfcf' d='M.988 236.632l127.962 180.32v-104.72z'/%3E%3Cpath fill='%23909090' d='M128.95 288.004l127.96-75.637-127.96-58.162z'/%3E%3Cpath fill='%23b1b1b1' d='M128.948 154.205L.988 212.367l127.96 75.637z'/%3E%3C/g%3E%3C/svg%3E");margin-top:1px}.dropdown-menu a.active{text-decoration:none;color:#0e97c0;background-color:#fafafa}.dropdown-menu{overflow-y:auto;right:.1rem;margin:.1rem 0 0}.nav-container{position:relative;overflow-y:hidden}.nav-container .nav-scroll{-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;overflow-x:auto;margin-bottom:-20px;font-size:0;white-space:nowrap}@media screen and (max-width:51.2rem){.nav-container .nav-scroll{margin:0 -5% -20px}}.nav-container .nav-scroll .nav-inner{border-bottom:2px solid #fff;display:inline-block;font-size:0;margin-bottom:20px;min-width:100%;padding:5px 0 0;vertical-align:middle}.nav-container .nav-scroll .nav-inner .nav-item{display:inline-block;font-size:0}.nav-container .nav-scroll .nav-inner .nav-item.NAV_Swap a:before{content:"";display:inline-block;margin-top:-.1rem;width:1.3rem;height:1.3rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 620.04 631.27'%3E%3Ctitle%3Eicon-swap%3C/title%3E%3Cpath d='M469.95 289.68c-77 0-139.59-62.62-139.59-139.59S392.98 10.5 469.95 10.5s139.59 62.62 139.59 139.59-62.62 139.59-139.59 139.59z' fill='%23ffe14d'/%3E%3Cpath d='M469.95 21a129.09 129.09 0 1 1-129.09 129.09A129.24 129.24 0 0 1 469.95 21m0-21c-82.76 0-150.09 67.33-150.09 150.09s67.29 150.09 150.09 150.09 150.09-67.33 150.09-150.09S552.71 0 469.95 0z' fill='%230f0f0f'/%3E%3Cpath d='M599.04 150.09A129.24 129.24 0 0 0 469.95 21v258.18a129.24 129.24 0 0 0 129.09-129.09z' fill='%23fc3'/%3E%3Cpath d='M469.95 44.94a105.12 105.12 0 1 0 105.12 105.15A105.24 105.24 0 0 0 469.95 44.94zm0 179c-49.27 0-74.85-24.6-74.85-73.87s25.58-74.85 74.85-74.85 75.82 25.58 75.82 74.85-26.55 73.87-75.82 73.87z' fill='%23ff9f19'/%3E%3Cpath d='M545.77 150.09c0 49.27-26.55 74.85-75.82 74.85v30.27a105.12 105.12 0 1 0 0-210.24v30.27c49.27 0 75.82 25.58 75.82 74.85z' fill='%23f28618'/%3E%3Cpath fill='%230492be' d='M100.66 277.37H26.9V114.06h240.72V50.84l131.7 100.1-131.7 100.09v-63.22H100.66v89.56z'/%3E%3Cpath fill='%23103957' opacity='.2' d='M63.78 150.94h335.54l-131.7-100.1v63.22H26.9v163.31h36.88V150.94z'/%3E%3Cpath d='M259.71 34.94l152.67 116-152.67 116v-71.23H108.55v89.56H19V106.15h240.71zm126.55 116L275.52 66.77v55.17H34.8v147.53h57.95v-89.53h182.77v55.19z'/%3E%3Cpath fill='%23fff' d='M292.951 119.43l9.638-12.482 47.456 36.642-9.638 12.482z'/%3E%3Cpath d='M150.09 620.77c-77 0-139.59-62.62-139.59-139.59s62.65-139.59 139.59-139.59 139.59 62.62 139.59 139.59-62.62 139.59-139.59 139.59z' fill='%23ffe14d'/%3E%3Cpath d='M150.09 352.09A129.09 129.09 0 1 1 21 481.18a129.24 129.24 0 0 1 129.09-129.09m0-21C67.33 331.09 0 398.42 0 481.18s67.33 150.09 150.09 150.09 150.06-67.33 150.06-150.09-67.3-150.09-150.06-150.09z' fill='%230f0f0f'/%3E%3Cpath d='M21 481.18a129.24 129.24 0 0 0 129.09 129.09V352.09A129.24 129.24 0 0 0 21 481.18z' fill='%23fc3'/%3E%3Cpath d='M150.09 586.3A105.12 105.12 0 1 0 44.97 481.18 105.24 105.24 0 0 0 150.09 586.3zm0-179c49.27 0 74.85 24.6 74.85 73.87s-25.58 74.85-74.85 74.85-75.82-25.58-75.82-74.85 26.55-73.86 75.82-73.86z' fill='%23ff9f19'/%3E%3Cpath d='M74.26 481.18c0-49.27 26.55-74.85 75.82-74.85v-30.27a105.12 105.12 0 1 0 0 210.24v-30.27c-49.26 0-75.82-25.58-75.82-74.85z' fill='%23f28618'/%3E%3Cpath fill='%230492be' d='M519.39 353.9h73.75v163.31H352.43v63.22L220.72 480.34l131.71-100.1v63.22h166.96V353.9z'/%3E%3Cpath fill='%23103957' opacity='.2' d='M556.26 480.34H220.72l131.71 100.09v-63.22h240.71V353.9h-36.88v126.44z'/%3E%3Cpath d='M360.32 596.36l-152.66-116 152.66-116v71.25h151.16V346h89.56v179.11H360.32zm-126.55-116l110.74 84.16v-55.21h240.73V361.8h-57.95v89.56H344.52v-55.19z'/%3E%3Cpath fill='%23fff' d='M268.572 486.574l9.7-12.473 47.419 36.875-9.7 12.473z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle;margin-right:.25rem}.nav-container .nav-scroll .nav-inner .nav-item a{color:#095f79;display:block;font-size:16px;font-weight:300;padding:10px;white-space:nowrap;position:relative;min-height:2.75rem}.nav-container .nav-scroll .nav-inner .nav-item a:after{content:"";background:#0e97c0;height:2px;width:100%;left:0;position:absolute;bottom:-1px;-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.nav-container .nav-scroll .nav-inner .nav-item.active a,.nav-container .nav-scroll .nav-inner .nav-item a:focus,.nav-container .nav-scroll .nav-inner .nav-item a:hover{color:#0e97c0;text-decoration:none;-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s}.nav-container .nav-scroll .nav-inner .nav-item.active a:after,.nav-container .nav-scroll .nav-inner .nav-item a:focus:after,.nav-container .nav-scroll .nav-inner .nav-item a:hover:after{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s}.nav-container .nav-arrow-left,.nav-container .nav-arrow-right{background-color:#fff;bottom:12px;color:#d6d6d6;font-size:33px;line-height:1.3;min-width:50px;position:absolute;top:0;vertical-align:middle;width:5%;z-index:999}.nav-container .nav-arrow-left:hover,.nav-container .nav-arrow-right:hover{text-decoration:none}.nav-container .nav-arrow-right{right:3%;background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),color-stop(47%,#fff),to(#fff));background:-webkit-linear-gradient(left,hsla(0,0%,100%,0),#fff 47%,#fff);background:-o-linear-gradient(left,hsla(0,0%,100%,0) 0,#fff 47%,#fff 100%);background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff 47%,#fff);padding-right:5px;text-align:right}@media screen and (max-width:51.2rem){.nav-container .nav-arrow-right{right:0}}.nav-container .nav-arrow-left{left:3%;background:-webkit-gradient(linear,right top,left top,from(hsla(0,0%,100%,0)),color-stop(47%,#fff),to(#fff));background:-webkit-linear-gradient(right,hsla(0,0%,100%,0),#fff 47%,#fff);background:-o-linear-gradient(right,hsla(0,0%,100%,0) 0,#fff 47%,#fff 100%);background:linear-gradient(270deg,hsla(0,0%,100%,0) 0,#fff 47%,#fff);padding-left:5px;text-align:left}@media screen and (max-width:51.2rem){.nav-container .nav-arrow-left{left:0}}.print-container{width:680px;height:280px;border:1px solid gray;margin-bottom:50px;position:relative}.print-container #identicon{-webkit-print-color-adjust:exact;position:absolute;right:7.5rem;bottom:3rem}.print-container #identicon:after{content:"Always look for this icon when sending to this wallet.";font-size:9px;width:120px;position:absolute;bottom:.75rem;text-align:center;right:-7.5rem}.print-title{float:left}.print-text{color:#0b7290;text-transform:uppercase;letter-spacing:.05em;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);position:absolute;right:0;bottom:0;font-size:13px;font-weight:600}.print-qr-code-1{width:28%;float:left;position:relative;padding:20px}.print-qr-code-1 .print-text{right:-35px;bottom:69px}.print-qr-code-2{width:28%;float:left;position:relative;padding:20px}.print-qr-code-2 .print-text{right:-45px;bottom:69px}.print-notes{width:28%;float:left;position:relative;padding:20px}.print-notes .print-text{right:-45px;bottom:69px}.print-address-container{float:left;width:85%;padding:0 25px}.print-address-container p{font-size:14px;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.ether-logo-1{position:absolute;left:100px}.ether-logo-2{position:absolute;right:32px;bottom:64px}.block--container{max-width:113rem;margin-left:-1%;margin-right:-1%}.block__wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.block{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative}.block:after,.block:before{content:" ";display:table}.block:after{clear:both}@media screen and (max-width:32rem){.block{padding:1.25rem}}.block>:first-child{margin-top:0}.block>:last-child{margin-bottom:0}.block--text-white *,.block--text-white a{color:#fff}.block--text-white a:focus,.block--text-white a:hover{color:hsla(0,0%,100%,.9)}.block--danger{background-color:#ea4b40}.block--danger *,.block--danger a{color:#fff}.block--danger a:focus,.block--danger a:hover{color:hsla(0,0%,100%,.9)}.block--warning{background-color:#ff9800}.block--warning *,.block--warning a{color:#fff}.block--warning a:focus,.block--warning a:hover{color:hsla(0,0%,100%,.9)}.block--info{background-color:#163151}.block--info *,.block--info a{color:#fff}.block--info a:focus,.block--info a:hover{color:hsla(0,0%,100%,.9)}.block--primary{background-color:#0e97c0}.block--primary *,.block--primary a{color:#fff}.block--primary a:focus,.block--primary a:hover{color:hsla(0,0%,100%,.9)}.block--success{background-color:#5dba5a}.block--success *,.block--success a{color:#fff}.block--success a:focus,.block--success a:hover{color:hsla(0,0%,100%,.9)}.block__main{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative;text-align:left;padding:.75rem;-webkit-flex-basis:98%;-ms-flex-preferred-size:98%;flex-basis:98%;margin:1rem .5%}.block__main:after,.block__main:before{content:" ";display:table}.block__main:after{clear:both}@media screen and (max-width:32rem){.block__main{padding:1.25rem}}.block__main>:first-child{margin-top:0}.block__main>:last-child{margin-bottom:0}@media screen and (min-width:51.2rem){.block__main{-webkit-flex-basis:68%;-ms-flex-preferred-size:68%;flex-basis:68%}}@media screen and (min-width:66.13333333rem){.block__main{-webkit-flex-basis:73%;-ms-flex-preferred-size:73%;flex-basis:73%}}.block__help{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative;background-image:url(../images/icon-help-2.svg);background-size:8rem;background-position:102% -5%;background-repeat:no-repeat;text-align:left;margin:1rem 1%;-webkit-flex-basis:98%;-ms-flex-preferred-size:98%;flex-basis:98%}.block__help:after,.block__help:before{content:" ";display:table}.block__help:after{clear:both}@media screen and (max-width:32rem){.block__help{padding:1.25rem}}.block__help>:last-child{margin-bottom:0}@media screen and (min-width:51.2rem){.block__help{-webkit-flex-basis:28%;-ms-flex-preferred-size:28%;flex-basis:28%}}@media screen and (min-width:66.13333333rem){.block__help{-webkit-flex-basis:23%;-ms-flex-preferred-size:23%;flex-basis:23%}}.block__help a{color:#ff5722}.block__help a:hover{color:#ff4408}.block__help>:first-child{margin-top:0}.block__help ul{list-style:circle}.block__help ol,.block__help ul{padding-left:1rem}.block__help h2{font-size:1.15rem;font-weight:400}.equal-space>*{margin-top:1rem;margin-bottom:1rem}.u-center-h{text-align:center}.gen__1 .input-group{max-width:43rem;margin:1rem auto}.gen__1--inner{text-align:center}.gen__1--inner h1{margin:1rem auto 2rem}.gen__1--inner h4{margin:3rem auto 1rem}.gen__1--inner p{margin:0 0 2rem}.gen__1--inner .btn{margin:0 auto 3rem}.gen__2--inner{text-align:center}.gen__2--inner h1{margin:1rem auto}.gen__2--inner>.btn{margin:1rem auto 2rem}.gen__2--inner .warn{margin:2rem auto}.gen__3--inner{text-align:center}.gen__3--inner h1{margin:2rem auto 1rem}.gen__3--inner>.btn,.gen__3--inner>.form-control{margin:0 auto 3rem}.pre-footer{padding:1rem;-webkit-box-shadow:16px 16px 47px 0 rgba(0,0,0,.07);box-shadow:16px 16px 47px 0 rgba(0,0,0,.07);margin-top:5rem;background-color:#fff;text-align:center}.pre-footer p{font-size:1.3rem}.footer{background-color:#102138;color:#fff;font-size:.8rem;margin-top:0}.footer h5{margin-top:.5rem;margin-bottom:.25rem}.footer h5 i{margin-left:-1.5em;margin-right:.25em}.footer h5:first-child{margin-top:0}.footer ul{list-style:none;padding-left:0;margin:0}.footer li,.footer p{font-size:.8rem;margin:.25em 0}.footer a{color:#7fe5ff;font-weight:400}.footer a:focus,.footer a:hover{color:#4cdbff}.footer small{font-size:.6rem}.footer--logo{width:100%;height:auto;max-width:16rem}.header--gas{max-width:26rem;color:#333}.header--gas p{font-weight:400;margin:.5rem 0 0}.header--gas a,.header--gas a:focus,.header--gas a:hover,.header--gas a:visited{color:#0e97c0}.footer--left{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:22rem;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:32rem){.footer--left{max-width:100%}}.footer--cent{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:34rem;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2}@media screen and (max-width:32rem){.footer--cent{max-width:100%}}.footer--cent li:last-child,.footer--cent ul{margin-bottom:0}.footer--righ{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:28rem;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:32rem){.footer--righ{max-width:100%}}.footer__icon{display:inline-block;height:30px;width:30px;padding:5px}.footer__pill-wrap{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}a.footer__pill{display:inline;background:#0e97c0;padding:3px 12px;border-radius:30px;color:#fff}a.footer__pill:focus,a.footer__pill:hover{color:#0e97c0;background:#fff;opacity:1}.custom-token-fields label{font-weight:400;font-size:1rem}.custom-token-fields input{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.custom-token-fields input{height:2rem;line-height:2rem}select[multiple].custom-token-fields input,textarea.custom-token-fields input{height:auto}.custom-token-fields input .mono{font-size:.75rem}.custom-token-fields .address-identicon-container{margin-top:2rem}.swap--btc,.swap--hw,.swap--usd{text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:1rem .15rem}.swap--btc .col-sm-7,.swap--hw .col-sm-7,.swap--usd .col-sm-7{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.swap--usd{background-color:#2b71b1}.swap--usd *,.swap--usd a{color:#fff}.swap--usd a:focus,.swap--usd a:hover{color:hsla(0,0%,100%,.9)}.swap--usd .swap-flag--bal,.swap--usd .swap-flag--price{background-color:#2e86d7}.swap--btc{background-color:#006e79}.swap--btc *,.swap--btc a{color:#fff}.swap--btc a:focus,.swap--btc a:hover{color:hsla(0,0%,100%,.9)}.swap--btc .swap-flag--bal,.swap--btc .swap-flag--price{background-color:#00a3b4}.swap--hw{background-color:#6e9a3e}.swap--hw *,.swap--hw a{color:#fff}.swap--hw a:focus,.swap--hw a:hover{color:hsla(0,0%,100%,.9)}.swap--hw .swap-flag--bal,.swap--hw .swap-flag--price{background-color:#81bc3f}.swap--hw .swap__logo{margin:.45rem 0}.swap-flag--bal,.swap-flag--price{background-color:#5dba5a;color:#fff;padding:.1rem .5rem;font-size:.7rem;border-radius:5rem;margin:.7rem 0 0;line-height:1.4;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.swap__subhead{font-size:.8rem;margin:.15rem 0}.swap__cta{font-size:1.25rem;margin:.15rem 0}.swap__logo{margin:0}.swap__nav{margin-top:-1.1rem;margin-bottom:.7rem;text-align:center}.swap__nav a{color:#9a9a9a;padding:0 .2rem .6rem}.send-modal__addr{font-size:12px}.u__protip{display:table}.u__protip:before{content:"";display:table-cell;width:2em;height:1em;background-image:url(../images/icon-protip.svg);background-size:contain;vertical-align:middle;text-align:center;background-position:50%;background-repeat:no-repeat;border-right:.5em solid transparent}.u__download{display:table;margin-left:.5em}.u__download:before{content:"";display:table-cell;width:1.25em;height:1em;background-image:url(../images/icon-external-link.svg);background-size:contain;vertical-align:middle;text-align:center;background-position:50%;background-repeat:no-repeat;border-right:.5em solid transparent}.send__load-tokens{padding:5px 2px;margin:0;background-color:#ff9800;text-align:center;color:#fff;font-size:9px}.send__load-tokens img{width:14px;height:14px}.send__load-tokens p{margin:4px 0 0;font-weight:500}.send__load-tokens:hover{color:#fff;opacity:.8}.onboarding__modal{padding:1rem}.onboarding__modal:after,.onboarding__modal:before{content:" ";display:table}.onboarding__modal:after{clear:both}.onboarding__modal .btn-primary{background-image:url(../images/icon-arrow-right.svg);background-size:contain;background-position:100%;background-repeat:no-repeat}.onboarding__modal .btn-default{background-image:url(../images/icon-arrow-left.svg);background-size:contain;background-position:0;background-repeat:no-repeat}.onboarding__modal .onboarding__title{text-align:center;margin-bottom:1.5rem}@media (max-width:50.2rem){.onboarding__modal .onboarding__title{margin:0 auto .5rem}}.onboarding__modal img{margin-top:1rem;margin-bottom:1rem}@media (max-width:50.2rem){.onboarding__modal img{max-height:200px}}.onboarding__modal .onboarding__buttons .btn{margin-top:.5rem;margin-bottom:.5rem}@media (min-width:51.2rem){.onboarding__modal .onboarding__buttons{margin-top:.5rem;margin-bottom:.5rem}.onboarding__modal .onboarding__buttons:after,.onboarding__modal .onboarding__buttons:before{content:" ";display:table}.onboarding__modal .onboarding__buttons:after{clear:both}.onboarding__modal .onboarding__buttons .btn+.btn{float:right}}@media (max-width:50.2rem){.onboarding__modal .onboarding__buttons .btn{display:block}.onboarding__modal .onboarding__buttons .btn+.btn{margin-top:1.5rem}}@media (max-width:50.2rem){.onboarding__modal{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.onboarding__modal .onboarding__content,.onboarding__modal .onboarding__image{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.onboarding__modal .onboarding__content+.onboarding__image{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}}.row.row--flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media (max-width:50.2rem){.row.row--flex{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}}.onboarding__msg{text-align:center;font-size:.9rem} \ No newline at end of file +/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline;color:#000}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #000;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}.print-text{color:#0b7290!important}footer{border-top:1px solid #000}header{border-bottom:1px solid #000;border-top:0 solid #fff!important}.btn{border:1px solid #000;color:1px solid #000;background:transparent!important}.nav-container{display:none!important}.footer-1 img{width:40px!important}.footer-1 *,.footer-2 *,.footer-3 *{font-size:8px!important;line-height:1.1!important}.footer-1 .footer-2,.footer-1 .footer-3,.footer-2 .footer-2,.footer-2 .footer-3,.footer-3 .footer-2,.footer-3 .footer-3{float:left!important}.h1,h1{font-size:18px}.h1,.h2,h1,h2{font-weight:700}.h2,h2{font-size:17px}.h3,h3{font-size:16px}.h3,.h4,h3,h4{font-weight:700}.h4,h4{font-size:15px}.h5,h5{font-size:14px}.h5,.h6,h5,h6{font-weight:700}.h6,h6{font-size:13px}.modal{position:inherit!important;page-break-inside:avoid;page-break-before:always}}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-size:15 px;-webkit-tap-highlight-color:rgba(0,0,0,0);height:100%}@media screen and (min-width:94rem){html{font-size:16px}}@media screen and (max-width:50.2rem){html{font-size:15 px}}body{font-family:Lato,sans-serif;font-size:1rem;line-height:1.4;color:#333;background-color:#fbfbfb;height:100%}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-thumbnail{padding:.2rem;line-height:1.4;background-color:#fbfbfb;border:1px solid #ddd;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid #ececec}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:700;line-height:1.2;color:inherit;letter-spacing:.02em}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:inherit}.h1,.h2,.h3,h1,h2,h3{margin-top:1rem;margin-bottom:.5rem}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:1rem;margin-bottom:.5rem}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:2.25rem}.h1,.h2,h1,h2{font-weight:300}.h2,h2{font-size:1.9rem}.h3,h3{font-size:1.5rem}.h3,.h4,h3,h4{font-weight:700}.h4,h4{font-size:1.3rem}.h5,h5{font-size:1.15rem}.h5,.h6,h5,h6{font-weight:400}.h6,h6{font-size:1.07rem}p{margin:0 0 .5rem;font-weight:300}p.strong,p .strong,p strong{font-weight:400}i{font-style:normal}.strong,strong{font-weight:600}.lead{margin-bottom:1.4;font-size:1rem}a{color:#0e97c0;text-decoration:none;cursor:pointer}a,a:hover{-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}a:hover{opacity:.8;color:#0c84a8}a:active,a:focus{opacity:1;-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}a:focus{outline:thin dotted;outline-offset:3px}.point{cursor:pointer}.strike{text-decoration:line-through}.small,small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#9a9a9a}.text-primary{color:#0e97c0}a.text-primary:focus,a.text-primary:hover{color:#0c84a8}.text-success{color:#459f42}a.text-success:focus,a.text-success:hover{color:#3d8d3b}.text-info{color:#0b1929}a.text-info:focus,a.text-info:hover{color:#060d15}.text-warning{color:#cc7a00}a.text-warning:focus,a.text-warning:hover{color:#b36a00}.text-danger{color:#df2518}a.text-danger:focus,a.text-danger:hover{color:#c82116}.text-underline{text-decoration:underline}.text-light{font-weight:200}.bg-primary{color:#fff;background-color:#0e97c0}a.bg-primary:focus,a.bg-primary:hover{background-color:#0b7290}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:-.5rem;margin:2.8 0 1.4;border-bottom:1px solid #ececec}ol,ul{margin-top:0;margin-bottom:1em}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}li{margin-bottom:.5em;font-weight:300}li strong{font-weight:400}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:1.4}dd,dt{line-height:1.4}dt{font-weight:700}dd{margin-left:0}@media (min-width:51.2rem){.dl-horizontal dt{float:left;width:-8rem;clear:left;text-align:right;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:12rem}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #9a9a9a}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:.5rem 1.4;margin:0 0 1.4;font-size:1.25rem;border-left:5px solid #ececec}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.4;color:#9a9a9a}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"\2014 \00A0"}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #ececec;border-left:0;text-align:right}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:"\00A0 \2014"}address{margin-bottom:1.4;font-style:normal;line-height:1.4}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{color:#c7254e;background-color:#f9f2f4}code,kbd{padding:2px 4px;font-size:90%;border-radius:0}kbd{color:#fff;background-color:#333;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:.2;margin:0 0 .7;font-size:0;line-height:1.4;word-break:break-all;word-wrap:break-word;color:#333;background-color:#fafafa;border:1px solid #ececec;border-radius:0}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:23rem;overflow-y:scroll}.container{width:100%;margin-right:auto;margin-left:auto;max-width:113rem;padding:0 5rem}@media screen and (max-width:80rem){.container{padding:0 3%}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:1rem;padding-right:1rem}.row{margin-left:-1rem;margin-right:-1rem}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:1rem;padding-right:1rem}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:51.2rem){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:66.13333333rem){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:80rem){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent;margin-bottom:10px;border-bottom:1px solid #ddd}caption{padding-top:.5rem;padding-bottom:.5rem;color:#9a9a9a}caption,th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:1.4}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:.5rem;line-height:1.4;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fbfbfb}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:.25rem}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f5f5f5}.table-striped>tbody>tr>td,.table-striped>tbody>tr>th,.table-striped>tfoot>tr>td,.table-striped>tfoot>tr>th,.table-striped>thead>tr>td,.table-striped>thead>tr>th{border-top:0}.table-mnemonic{border-bottom:0;font-weight:400}.table-mnemonic th{border-bottom:1px solid #ececec;vertical-align:bottom}.table-mnemonic td:first-child{font-family:Menlo,Monaco,Consolas,Courier New,monospace}.table-mnemonic tr:last-child td:first-child{text-align:left}.table-mnemonic tr:first-child,.table-mnemonic tr:last-child:not(.mnemonic-custom-row){background-color:#fff!important}.table-mnemonic.table>tbody>tr>td,.table-mnemonic.table>tbody>tr>th,.table-mnemonic.table>tfoot>tr>td,.table-mnemonic.table>tfoot>tr>th,.table-mnemonic.table>thead>tr>td,.table-mnemonic.table>thead>tr>th{padding:.25rem}.table-mnemonic .mnemonic-custom-row input[type=text]{margin:-5px;display:inline;width:70%;max-width:15rem}.table-mnemonic label{margin:.15rem}.table-hover,.table-hover>tbody>tr>td,.table-hover>tbody>tr>th,.table-hover>tfoot>tr>td,.table-hover>tfoot>tr>th,.table-hover>thead>tr>td,.table-hover>thead>tr>th,.table-hover td,.table-hover th,.table-hover tr{border:0 solid #fff}.table-hover>tbody>tr:hover{background-color:#fafafa}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#fafafa}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#ededed}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}@media screen and (max-width:50.2rem){.table-responsive{width:100%;margin-bottom:1.05;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.table-domainsale-modal .table-ens-modal{font-weight:400;font-size:16px}.table-domainsale-modal .table-ens-modal textarea{font-size:11px;word-break:break-all;padding:.5rem}fieldset{margin:0;min-width:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:1.4;font-size:1.5rem;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-top:.5rem;margin-bottom:.25rem;font-weight:600;font-size:1.15rem}label small{font-weight:300;font-size:1em}td label{font-weight:400}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:3px 0 0;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:thin dotted;outline-offset:3px}output{display:block;padding-top:1.75rem;font-size:1rem;line-height:1.4;color:#333}.account-help-icon+.btn,.account-help-icon+input,.account-help-icon+textarea,label+.form-control,label+input,label+textarea{margin-top:0}.form-control{display:block;width:100%;height:2.55rem;padding:.25rem 1rem;font-size:1rem;line-height:2;color:#333;background-color:#fff;background-image:none;border:1px solid #ececec;margin-top:.5rem;margin-bottom:.5rem;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}.form-control:focus{border-color:#0e97c0;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 2px rgba(14,151,192,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 2px rgba(14,151,192,.5)}.form-control::-moz-placeholder{color:#d3d3d3;opacity:1}.form-control:-ms-input-placeholder{color:#d3d3d3}.form-control::-webkit-input-placeholder{color:#d3d3d3}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#ececec;opacity:1;cursor:text!important;-webkit-box-shadow:none!important;box-shadow:none!important}.form-control[disabled],fieldset[disabled] .form-control{cursor:default}textarea.form-control{height:auto;line-height:1.4}input[readonly]{background-color:#fafafa;cursor:text!important}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:2.55rem}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:2rem}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:4rem}}.form-group{margin-top:.5rem;margin-bottom:.5rem;display:block}.checkbox,.radio{position:relative;display:block;margin:15px 0;font-weight:500}.checkbox label,.radio label{min-height:1.4;padding-left:20px;padding-right:15px;margin-bottom:0;font-weight:500;cursor:pointer}.checkbox.small,.radio.small{margin:.2rem 0}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{margin-left:-20px}input[type=radio]{margin-right:5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .checkbox label,fieldset[disabled] .radio-inline,fieldset[disabled] .radio label,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:default}.form-control-static{padding-top:1.75rem;padding-bottom:1.75rem;margin-bottom:0;min-height:2.4rem}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.input-sm{height:2rem;line-height:2rem}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5}.form-group-sm select.form-control{height:2rem;line-height:2rem}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:2rem;min-height:2.3rem;padding:1.5rem 1rem;font-size:.9rem;line-height:1.5}.input-lg{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2;border-radius:0}select.input-lg{height:4rem;line-height:4rem}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2}.form-group-lg select.form-control{height:4rem;line-height:4rem}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:4rem;min-height:3.3rem;padding:2rem;font-size:1.9rem;line-height:1.2}.form-control.is-valid{border-color:#b5e0b4;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(93,186,90,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(93,186,90,.5)}.form-control.is-valid:focus{border-color:#92d190;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(93,186,90,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(93,186,90,.5)}.form-control.is-invalid{border-color:#f7b7b3;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(234,75,64,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(234,75,64,.5)}.form-control.is-invalid:focus{border-color:#f28c85;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(234,75,64,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(234,75,64,.5)}.form-control.is-semivalid{border-color:#ffcc80;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(255,152,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(255,152,0,.5)}.form-control.is-semivalid:focus{border-color:#ffb74d;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(255,152,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(255,152,0,.5)}.flagged-address{color:red;font-weight:700}.btn{background-image:none;cursor:pointer;border:1px solid gray;display:inline-block;font-weight:400;letter-spacing:.05em;margin-top:.5rem;margin-bottom:0;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;vertical-align:middle;white-space:nowrap;padding:.75rem 2rem;font-size:1.07rem;line-height:1.4;border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline-offset:3px}.btn.focus,.btn:focus,.btn:hover{color:#222;text-decoration:none;border-bottom-color:transparent;-webkit-box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1);box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1)}.btn.active,.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:default;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.alert .btn-info{background-color:#fff;text-decoration:none;color:#163151}.alert .btn-info.focus,.alert .btn-info:focus,.alert .btn-info:hover{color:#fff;text-decoration:none;opacity:1}.alert .btn-info.disabled{background-color:#fff;text-decoration:none;color:#163151;opacity:.6}.btn-default{color:#222;background-color:#c3c3c3;border-color:#bdbdbd;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#222;background-color:#b6b6b6;border-color:#b0b0b0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#222;background-color:#9d9d9d;border-color:#979797;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#c3c3c3;border-color:#bdbdbd}.btn-default .badge{color:#c3c3c3;background-color:#222}.btn-primary{color:#fff;background-color:#0e97c0;border-color:#0e97c0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#0c84a8;border-color:#0c84a8;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#095f79;border-color:#095f79;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#0e97c0;border-color:#0e97c0}.btn-primary .badge{color:#0e97c0;background-color:#fff}.btn-success{color:#fff;background-color:#5dba5a;border-color:#5dba5a;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#4db14a;border-color:#4db14a;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#3d8d3b;border-color:#3d8d3b;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5dba5a;border-color:#5dba5a}.btn-success .badge{color:#5dba5a;background-color:#fff}.btn-info{color:#fff;background-color:#163151;border-color:#163151;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#11253d;border-color:#11253d;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#060d15;border-color:#060d15;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#163151;border-color:#163151}.btn-info .badge{color:#163151;background-color:#fff}.btn-warning{color:#fff;background-color:#ff9800;border-color:#ff9800;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#e68900;border-color:#e68900;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#b36a00;border-color:#b36a00;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#ff9800;border-color:#ff9800}.btn-warning .badge{color:#ff9800;background-color:#fff}.btn-danger{color:#fff;background-color:#ea4b40;border-color:#ea4b40;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#e73529;border-color:#e73529;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#c82116;border-color:#c82116;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#ea4b40;border-color:#ea4b40}.btn-danger .badge{color:#ea4b40;background-color:#fff}.btn-white{background-color:hsla(0,0%,100%,.8);border-color:hsla(0,0%,100%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease;color:#163151}.btn-white.active,.btn-white.focus,.btn-white:active,.btn-white:focus,.btn-white:hover,.open>.dropdown-toggle.btn-white{color:#163151;background-color:hsla(0,0%,95%,.8);border-color:hsla(0,0%,95%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-white.active.focus,.btn-white.active:focus,.btn-white.active:hover,.btn-white:active.focus,.btn-white:active:focus,.btn-white:active:hover,.open>.dropdown-toggle.btn-white.focus,.open>.dropdown-toggle.btn-white:focus,.open>.dropdown-toggle.btn-white:hover{color:#163151;background-color:hsla(0,0%,85%,.8);border-color:hsla(0,0%,85%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-white.active,.btn-white:active,.open>.dropdown-toggle.btn-white{background-image:none}.btn-white.disabled,.btn-white.disabled.active,.btn-white.disabled.focus,.btn-white.disabled:active,.btn-white.disabled:focus,.btn-white.disabled:hover,.btn-white[disabled],.btn-white[disabled].active,.btn-white[disabled].focus,.btn-white[disabled]:active,.btn-white[disabled]:focus,.btn-white[disabled]:hover,fieldset[disabled] .btn-white,fieldset[disabled] .btn-white.active,fieldset[disabled] .btn-white.focus,fieldset[disabled] .btn-white:active,fieldset[disabled] .btn-white:focus,fieldset[disabled] .btn-white:hover{background-color:hsla(0,0%,100%,.8);border-color:hsla(0,0%,100%,.8)}.btn-white .badge{color:hsla(0,0%,100%,.8);background-color:#163151}.header-branding a.btn-white{color:#163151}.header-branding a.btn-white:focus,.header-branding a.btn-white:hover{background:#fff;opacity:1;color:#163151}.btn-group .btn-default{border-bottom-width:1px}.btn-group .btn-default.active{border:1px solid #0e97c0;color:#0e97c0;background:#f5f5f5}.btn-link{color:#0e97c0;font-weight:400}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#0c84a8;text-decoration:none;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#9a9a9a;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:1rem 2rem;font-size:1.15rem;line-height:1.2;border-radius:0}.btn-group-sm>.btn,.btn-sm{padding:.5rem 1rem;font-size:1rem;line-height:1.5;border-radius:0}.btn-group-xs>.btn,.btn-xs{font-size:.75rem;line-height:1.5;border-radius:0;padding:.1rem .6rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}.btn-file,input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.btn-file{background-image:none;cursor:pointer;border:1px solid gray;display:inline-block;font-weight:400;letter-spacing:.05em;margin-top:.5rem;margin-bottom:0;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;vertical-align:middle;white-space:nowrap;padding:.75rem 2rem;font-size:1.07rem;line-height:1.4;border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;color:#222;background-color:#c3c3c3;border-color:#bdbdbd;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease;position:relative;overflow:hidden}.btn-file.active.focus,.btn-file.active:focus,.btn-file.focus,.btn-file:active.focus,.btn-file:active:focus,.btn-file:focus{outline:thin dotted;outline-offset:3px}.btn-file.focus,.btn-file:focus,.btn-file:hover{color:#222;text-decoration:none;border-bottom-color:transparent;-webkit-box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1);box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1)}.btn-file.active,.btn-file:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-file.disabled,.btn-file[disabled],fieldset[disabled] .btn-file{cursor:default;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn-file.disabled,fieldset[disabled] a.btn-file{pointer-events:none}.btn-file.active,.btn-file.focus,.btn-file:active,.btn-file:focus,.btn-file:hover,.open>.dropdown-toggle.btn-file{color:#222;background-color:#b6b6b6;border-color:#b0b0b0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-file.active.focus,.btn-file.active:focus,.btn-file.active:hover,.btn-file:active.focus,.btn-file:active:focus,.btn-file:active:hover,.open>.dropdown-toggle.btn-file.focus,.open>.dropdown-toggle.btn-file:focus,.open>.dropdown-toggle.btn-file:hover{color:#222;background-color:#9d9d9d;border-color:#979797;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-file.active,.btn-file:active,.open>.dropdown-toggle.btn-file{background-image:none}.btn-file.disabled,.btn-file.disabled.active,.btn-file.disabled.focus,.btn-file.disabled:active,.btn-file.disabled:focus,.btn-file.disabled:hover,.btn-file[disabled],.btn-file[disabled].active,.btn-file[disabled].focus,.btn-file[disabled]:active,.btn-file[disabled]:focus,.btn-file[disabled]:hover,fieldset[disabled] .btn-file,fieldset[disabled] .btn-file.active,fieldset[disabled] .btn-file.focus,fieldset[disabled] .btn-file:active,fieldset[disabled] .btn-file:focus,fieldset[disabled] .btn-file:hover{background-color:#c3c3c3;border-color:#bdbdbd}.btn-file .badge{color:#c3c3c3;background-color:#222}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;filter:alpha(opacity=0);opacity:0;background:red;cursor:inherit;display:block}.caret{display:inline-block;width:0;height:0;margin-left:.5rem;vertical-align:middle;border-top:.25rem dashed;border-right:.25rem solid transparent;border-left:.25rem solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle{margin-top:0;font-size:1rem;padding:.5rem 1rem}.dropdown:hover .dropdown-menu{display:block}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;min-width:160px;max-width:100vw;max-height:75vh;overflow:scroll;padding:0;margin:2px 0 0;list-style:none;font-size:.9rem;text-align:left;background-color:#fff;border-radius:0;-webkit-box-shadow:0 6px 10px rgba(0,0,0,.175);box-shadow:0 6px 10px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:2px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li{margin:0}.dropdown-menu>li:first-child{padding-top:2px}.dropdown-menu>li:last-child{padding-bottom:2px}.dropdown-menu>li>a{display:block;padding:2px 1rem;clear:both;font-weight:300;line-height:1.4;color:#163151;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{text-decoration:none;color:#0e97c0;background-color:#fafafa}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0;background-color:#0e97c0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#9a9a9a}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:default}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:.9rem;line-height:1.4;color:#9a9a9a;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:.25rem solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:51.2rem){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle;margin-bottom:5px}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn-group{float:left}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn-lg .caret{border-width:.25rem .25rem 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 .25rem .25rem}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group>*{margin-bottom:0;margin-top:0}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%}.input-group .dropdown-toggle{padding-right:.75rem;padding-left:.75rem}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2;border-radius:0}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:4rem;line-height:4rem}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:2rem;line-height:2rem}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding-left:2rem;padding-right:2rem;font-size:1rem;font-weight:400;line-height:1;color:#333;text-align:center;background-color:#ececec;border:1px solid #dfdfdf;outline:0;-webkit-box-shadow:inset 0 1px 1px hsla(0,0%,93%,.5),0 0 1px hsla(0,0%,93%,.5);box-shadow:inset 0 1px 1px hsla(0,0%,93%,.5),0 0 1px hsla(0,0%,93%,.5)}.input-group-addon.input-sm{padding:.5rem 1rem;font-size:.9rem}.input-group-addon.input-lg{padding:1rem 2rem;font-size:1.9rem}.input-group-addon:focus{border:1px solid #dadada;outline:0;-webkit-box-shadow:inset 0 1px 1px #ececec,30%,0 0 1px hsla(0,0%,93%,.9);box-shadow:inset 0 1px 1px #ececec,30%,0 0 1px hsla(0,0%,93%,.9)}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative;margin-bottom:0;margin-top:0;font-size:1rem;padding:.55rem 2rem}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.alert{padding:.75rem 2rem;margin:1rem auto;font-weight:300;font-size:1.07rem}.alert h4{color:inherit}.alert>:first-child,.alert h4{margin-top:0}.alert>:last-child{margin-bottom:0}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert a{color:#fff;text-decoration:underline}.alert a:hover{opacity:.8}.alert a:active,.alert a:focus{opacity:1}.alert svg{vertical-align:bottom}.alert-danger--outline{padding:.5em .6em .6em .3em;margin:0 0 1em;border-top:2px solid #ea4b40;-webkit-box-shadow:0 1px 5px 1px rgba(63,63,63,.13);box-shadow:0 1px 5px 1px rgba(63,63,63,.13);font-size:.9em;font-weight:500}.alert-danger--outline:before{content:"";background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23ea4b40'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23ea4b40'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:1.75em;float:left;width:2em;height:4em;margin-right:.75em}.alert.popup{position:fixed;bottom:0;left:0;right:0;padding:1rem 0;-webkit-box-shadow:0 0 20px 0 rgba(0,0,0,.33);box-shadow:0 0 20px 0 rgba(0,0,0,.33);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out;z-index:1060;margin:0}.alert.popup .container{position:relative;padding:0 10rem 0 5rem}@media screen and (max-width:51.2rem){.alert.popup .container{padding:1rem 8rem 1rem 4rem}}@media screen and (max-width:32rem){.alert.popup .container{padding:3rem 1rem 0 4rem}}.alert.popup .container:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:contain;display:block;color:#fff;position:absolute;top:0;bottom:0;left:1%;width:2.25rem}@media screen and (max-width:32rem){.alert.popup .container:after{top:2.5rem;left:.5rem}}.alert.popup .icon-close{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 348.333 348.334'%3E%3Cpath d='M336.559 68.611L231.016 174.165l105.543 105.549c15.699 15.705 15.699 41.145 0 56.85-7.844 7.844-18.128 11.769-28.407 11.769-10.296 0-20.581-3.919-28.419-11.769L174.167 231.003 68.609 336.563c-7.843 7.844-18.128 11.769-28.416 11.769-10.285 0-20.563-3.919-28.413-11.769-15.699-15.698-15.699-41.139 0-56.85l105.54-105.549L11.774 68.611c-15.699-15.699-15.699-41.145 0-56.844 15.696-15.687 41.127-15.687 56.829 0l105.563 105.554L279.721 11.767c15.705-15.687 41.139-15.687 56.832 0 15.705 15.699 15.705 41.145.006 56.844z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:1rem;cursor:pointer;opacity:.7;position:absolute;top:0;right:0;width:9rem;bottom:0;border-left:1px solid hsla(0,0%,100%,.7);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}@media screen and (max-width:51.2rem){.alert.popup .icon-close{width:7rem}}@media screen and (max-width:32rem){.alert.popup .icon-close{width:100%;height:3rem;left:0;right:0;top:0;bottom:auto;border-left:0;border-bottom:1px solid hsla(0,0%,100%,.7)}}.alert.popup .icon-close:hover{border-color:hsla(0,0%,100%,.5)}.alert.popup .icon-close:active,.alert.popup .icon-close:hover{-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out;background-color:rgba(0,0,0,.1)}.alert.popup .icon-close:active{border-color:hsla(0,0%,100%,.7);opacity:1}.alert.popup.ng-hide{bottom:-20%;-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}.alert,.alert-info{background-color:#0e97c0;border-color:#0e97c0;color:#fff}.alert-info hr,.alert hr{border-top-color:#0c84a8}.alert-info .alert-link,.alert .alert-link{color:#e6e6e6}.alert-info .container:after,.alert .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' x='30' y='30' viewBox='0 0 65 65' width='512' height='512'%3E%3Cpath d='M32.5 0C14.58 0 0 14.579 0 32.5S14.58 65 32.5 65 65 50.421 65 32.5 50.42 0 32.5 0zm0 61C16.785 61 4 48.215 4 32.5S16.785 4 32.5 4 61 16.785 61 32.5 48.215 61 32.5 61z' fill='%23FFF'/%3E%3Ccircle cx='33.018' cy='19.541' r='3.345' fill='%23FFF'/%3E%3Cpath d='M32.137 28.342a2 2 0 0 0-2 2v17a2 2 0 0 0 4 0v-17a2 2 0 0 0-2-2z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-success{background-color:#5dba5a;border-color:#5dba5a;color:#fff}.alert-success hr{border-top-color:#4db14a}.alert-success .alert-link{color:#e6e6e6}.alert-success .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 478.2 478.2' width='32' height='32'%3E%3Cpath d='M457.575 325.1c9.8-12.5 14.5-25.9 13.9-39.7-.6-15.2-7.4-27.1-13-34.4 6.5-16.2 9-41.7-12.7-61.5-15.9-14.5-42.9-21-80.3-19.2-26.3 1.2-48.3 6.1-49.2 6.3h-.1c-5 .9-10.3 2-15.7 3.2-.4-6.4.7-22.3 12.5-58.1 14-42.6 13.2-75.2-2.6-97-16.6-22.9-43.1-24.7-50.9-24.7-7.5 0-14.4 3.1-19.3 8.8-11.1 12.9-9.8 36.7-8.4 47.7-13.2 35.4-50.2 122.2-81.5 146.3-.6.4-1.1.9-1.6 1.4-9.2 9.7-15.4 20.2-19.6 29.4-5.9-3.2-12.6-5-19.8-5h-61c-23 0-41.6 18.7-41.6 41.6v162.5c0 23 18.7 41.6 41.6 41.6h61c8.9 0 17.2-2.8 24-7.6l23.5 2.8c3.6.5 67.6 8.6 133.3 7.3 11.9.9 23.1 1.4 33.5 1.4 17.9 0 33.5-1.4 46.5-4.2 30.6-6.5 51.5-19.5 62.1-38.6 8.1-14.6 8.1-29.1 6.8-38.3 19.9-18 23.4-37.9 22.7-51.9-.4-8.1-2.2-15-4.1-20.1zm-409.3 122.2c-8.1 0-14.6-6.6-14.6-14.6V270.1c0-8.1 6.6-14.6 14.6-14.6h61c8.1 0 14.6 6.6 14.6 14.6v162.5c0 8.1-6.6 14.6-14.6 14.6h-61v.1zm383.7-133.9c-4.2 4.4-5 11.1-1.8 16.3 0 .1 4.1 7.1 4.6 16.7.7 13.1-5.6 24.7-18.8 34.6-4.7 3.6-6.6 9.8-4.6 15.4 0 .1 4.3 13.3-2.7 25.8-6.7 12-21.6 20.6-44.2 25.4-18.1 3.9-42.7 4.6-72.9 2.2h-1.4c-64.3 1.4-129.3-7-130-7.1h-.1l-10.1-1.2c.6-2.8.9-5.8.9-8.8V270.1c0-4.3-.7-8.5-1.9-12.4 1.8-6.7 6.8-21.6 18.6-34.3 44.9-35.6 88.8-155.7 90.7-160.9.8-2.1 1-4.4.6-6.7-1.7-11.2-1.1-24.9 1.3-29 5.3.1 19.6 1.6 28.2 13.5 10.2 14.1 9.8 39.3-1.2 72.7-16.8 50.9-18.2 77.7-4.9 89.5 6.6 5.9 15.4 6.2 21.8 3.9 6.1-1.4 11.9-2.6 17.4-3.5.4-.1.9-.2 1.3-.3 30.7-6.7 85.7-10.8 104.8 6.6 16.2 14.8 4.7 34.4 3.4 36.5-3.7 5.6-2.6 12.9 2.4 17.4.1.1 10.6 10 11.1 23.3.4 8.9-3.8 18-12.5 27z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-warning{background-color:#ff9800;border-color:#ff9800;color:#fff}.alert-warning hr{border-top-color:#e68900}.alert-warning .alert-link{color:#e6e6e6}.alert-warning .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23FFF'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-danger{background-color:#ea4b40;border-color:#ea4b40;color:#fff}.alert-danger hr{border-top-color:#e73529}.alert-danger .alert-link{color:#e6e6e6}.alert-danger .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23FFF'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23FFF'/%3E%3C/svg%3E")}.well{min-height:20px;padding:1rem;margin-top:1rem;margin-bottom:1rem;background-color:#fafafa;border:1px solid #e8e8e8;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well :first-child{margin-top:0}.well :last-child{margin-bottom:0}.well.lg{padding:2rem}.well.sm{padding:.5rem}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal,.modal-open{overflow:hidden}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translateY(-25%);-ms-transform:translateY(-25%);-o-transform:translateY(-25%);transform:translateY(-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:-webkit-transform .3s ease-out;-o-transition:transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0);-ms-transform:translate(0);-o-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border-radius:0;-webkit-box-shadow:1px 1px 60px rgba(0,0,0,.32);box-shadow:1px 1px 60px rgba(0,0,0,.32);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:.75rem 1.5rem}.modal-header .close{margin-top:-2px}.modal-title{margin:0 0 1rem;line-height:1.4}.modal-body{position:relative;padding:.75rem;font-size:1.15rem}.modal-body .table>tbody>tr>td{vertical-align:middle}.modal-body .addressIdenticon{margin:auto}.modal-footer{padding:1rem 1.5rem;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn{margin-top:0}.modal-footer .btn+.btn{margin-left:.5rem;margin-bottom:0;margin-top:0}#sendTransaction .modal-footer{text-align:center}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:51.2rem){.modal-dialog{width:800px;margin:30px auto}.modal-sm{width:30rem}}@media (min-width:66.13333333rem){.modal-lg{width:70rem}}.bity-contact:after,.bity-contact:before,.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.modal-footer:after,.modal-footer:before,.row:after,.row:before{content:" ";display:table}.bity-contact:after,.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.modal-footer:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:50.2rem){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:50.2rem){.visible-xs-block{display:block!important}}@media (max-width:50.2rem){.visible-xs-inline{display:inline!important}}@media (max-width:50.2rem){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-block{display:block!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-inline{display:inline!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-block{display:block!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-inline{display:inline!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-inline-block{display:inline-block!important}}@media (min-width:80rem){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:80rem){.visible-lg-block{display:block!important}}@media (min-width:80rem){.visible-lg-inline{display:inline!important}}@media (min-width:80rem){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:50.2rem){.hidden-xs{display:none!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.hidden-sm{display:none!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.hidden-md{display:none!important}}@media (min-width:80rem){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}img{max-width:100%;height:auto}textarea{resize:vertical}.announcement{padding:3px 10px;text-align:center;font-weight:300;color:#fff;display:block;background-color:#0e97c0}.announcement a{text-decoration:underline;color:#fff}.announcement:focus,.announcement:hover,.announcement a{-webkit-transition:all .25s ease;-o-transition:.25s all ease;transition:all .25s ease}.announcement:focus,.announcement:hover{color:#f2f2f2;text-decoration:none;background-color:#0c84a8}.announcement strong{font-weight:400}.annoucement-warning{background-color:#ff5722}.annoucement-warning:focus,.annoucement-warning:hover{background-color:#ff4408}.annoucement-warning:focus a,.annoucement-warning:focus a:hover,.annoucement-warning:hover a,.annoucement-warning:hover a:hover{text-decoration:none}.annoucement-danger{background-color:#ea4b40}.annoucement-danger:hover{background-color:#ff4408}.annoucement-danger a:focus,.annoucement-danger a:hover{color:#f2f2f2}.annoucement-danger a:focus a,.annoucement-danger a:focus a:hover,.annoucement-danger a:hover a,.annoucement-danger a:hover a:hover{text-decoration:none}.address-identicon-container{padding:0;text-align:left;max-width:4.5rem;margin-left:-.5rem;margin-top:.5rem}.address-identicon-container-right{text-align:right}.address-identicon-container-right .addressIdenticon{float:right}.address-identicon-container-offline{padding:0;margin-left:-15px}.addressIdenticon{width:100%;height:auto;padding-bottom:100%;background-size:cover;background-repeat:no-repeat;border-radius:50%;-webkit-box-shadow:inset hsla(0,0%,100%,.5) 0 2px 2px,inset rgba(0,0,0,.6) 0 -1px 8px;box-shadow:inset 0 2px 2px hsla(0,0%,100%,.5),inset 0 -1px 8px rgba(0,0,0,.6)}.addressIdenticon.med{width:3rem;height:3rem;padding:0}.addressIdenticon.small{width:2rem;height:2rem;padding:0}.addressIdenticon.inline{display:inline-block}.addressIdenticon.float{float:left;margin-right:.5rem}.transaction-modal tbody tr td:first-child{width:30%}.transaction-modal tbody tr td:nth-child(2){width:70%}.transaction-modal .text-width-limit{display:grid;grid-auto-rows:1fr}.transaction-modal .text-width-limit p{margin:0;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.wrap{word-wrap:break-word}.bigger-on-mobile.form-control[readonly]{height:60px}@media screen and (max-width:767px){.bigger-on-mobile.form-control[readonly]{height:100px}}#paneHelp h3{margin-top:2em}.account-help-icon h3,.account-help-icon h4,.account-help-icon h5,.account-help-icon h6,.account-help-icon img{display:inline-block}.account-help-icon img:hover+.account-help-text{display:block;opacity:1;z-index:999}.account-help-icon img{margin-left:-30px;margin-right:3px}.account-help-icon:hover{opacity:1}.account-help-text{background:#fff;border-radius:0;border:1px solid #cdcdcd;-webkit-box-shadow:0 0 .5rem hsla(0,0%,39%,.2);box-shadow:0 0 .5rem hsla(0,0%,39%,.2);display:none;font-size:.75rem;font-weight:400;padding:.25rem;position:absolute;width:18rem;z-index:999;color:#333}ul.account-help-text{padding-left:1.6rem}.account-help-text li{font-size:.75rem;font-weight:400}@media screen and (max-width:767px){.account-help-icon img,.account-help-icon li,.account-help-icon p{display:none}}#accountAddress,#accountAddressMainTbl-1,#accountBalance,#accountBalanceBtc,#accountBalanceEur,#accountBalancePopMB-0,#accountBalancePopMB-2,#accountBalanceUsd,.form-control,.mono{font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-weight:400;letter-spacing:.02em}.offline-qrcode{margin-top:-150px;max-width:300px}@media screen and (max-width:942px){.offline-qrcode{margin-top:-78px}}@media screen and (max-width:769px){.offline-qrcode{margin-top:0}}.account-info{padding-left:1em;margin:0}.account-info:after,.account-info:before{content:" ";display:table}.account-info:after{clear:both}.account-info li{margin-bottom:0;list-style-type:none;word-break:break-all}table.account-info{font-weight:200;border-bottom:0;min-width:200px;width:100%}table.account-info tbody{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}table.account-info td{padding:.3rem;line-height:1}table.account-info td:first-child{word-wrap:break-word;padding-left:1em}table.account-info tr{border-bottom:1px solid #f3f3f3}table.account-info tr:last-child,table.account-info tr:nth-last-child(2){border-bottom:0 solid #f3f3f3}table.account-info tr.custom-token{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}input[type=text]+.eye{cursor:pointer}input[type=text]+.eye:before{content:"";width:20px;height:20px;margin-left:6px;margin-right:6px;display:inline-block;vertical-align:middle;background:url(../images/icon-eye.svg)}input[type=password]+.eye{cursor:pointer}input[type=password]+.eye:before{content:"";width:20px;height:20px;margin-left:6px;margin-right:6px;display:inline-block;vertical-align:middle;background:url(../images/icon-eye-closed.svg)}.collapse-container h1{margin:.25rem 0}.collapse-container .collapse-button{float:left;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0;margin:5px -30px;font-size:1.6rem;line-height:.95;display:inline-block;width:25px;height:25px;text-align:center;border:1px solid #ddd;color:#c3c3c3;border-radius:5px}.help .collapse-container{margin:40px 0}.help .collapse-container .collapse-button{margin:-10px -30px;font-size:20px;line-height:1}.token-remove{width:.9rem;height:.9rem;position:absolute;left:18px;cursor:pointer}.node-remove{width:16px;height:16px;position:absolute;right:6px;top:8px}.m-addresses td:first-child{max-width:50px;min-widht:50px}.m-addresses td:last-child{text-align:right}.token-balances{margin-bottom:15px;font-size:14px;max-height:60vh;overflow:scroll}h2 a.isActive,h2 a.isActive:active,h2 a.isActive:hover{color:#333;cursor:default}.item{margin:6px 0}.output{padding:.5rem 1rem;margin-top:-.5rem}.output p{margin:.75rem 0 0}label .small{font-size:.9rem}label small{color:#9a9a9a}.write-address .col-xs-1{padding:0}.write-address .col-xs-11{padding-right:10px}.write-boolean label{display:block}.decrypt-drtv{padding:1rem 0}.decrypt-drtv label.radio{padding:0 1.5rem;margin:.5rem 0}.decrypt-drtv h4{margin-top:0}.qr-code{max-width:17rem;margin:auto}.qr-pkey-container{position:relative}.qr-overlay{background-color:#000;position:absolute;top:0;left:0;right:0;bottom:0}.contracts a.isActive{color:#333;font-weight:400}.contracts .dropdown-toggle{display:block;text-align:left;white-space:normal}.contracts .dropdown-toggle .caret{position:absolute;right:1rem;top:1.25rem}.contracts .dropdown-menu-left{font-size:.9rem;left:auto;right:0;min-width:37rem}.contracts .dropdown-menu-left small{float:right}.ens-tab a.isActive{color:#333;font-weight:400}.ens-tab .btn-primary-buy-button{width:200px}.ens-tab .btn-red{background-color:#84023d;border-color:#84023d;position:relative;width:200px}.ens-tab .btn-red .na{background-color:red;border-radius:300px;padding:5px 8px;font-weight:900}.ens-tab .btn-red:hover{background-color:#84023d;border-color:#84023d;position:relative}.ens-tab .pad-bot{padding-bottom:5px}.dropdown-gas{padding-bottom:1rem}@media screen and (max-width:900px){.dropdown-gas{padding-bottom:2rem}}.dropdown-gas__msg{font-size:12px;font-weight:300;margin:-10px auto 3px;max-width:113rem;padding:0 5rem;text-align:right;white-space:normal}@media screen and (max-width:80rem){.dropdown-gas__msg{padding:0 3%}}@media screen and (max-width:900px){.dropdown-gas__msg{margin-top:0;padding:0 1%}}.view-wallet-content h5{margin-bottom:.25rem}.view-wallet-content a.isActive{color:#333}#selectedTypeLedger ol{padding-left:1rem}.loading-wrap{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.7);z-index:999;text-align:center}.loading-wrap .loading{position:absolute;text-align:center;top:40%;left:50%;-webkit-transform:translate(-50%,-60%);-ms-transform:translate(-50%,-60%);transform:translate(-50%,-60%)}.loading-wrap img{border-radius:50%}.loading-wrap h1{-webkit-animation:opacity 2s infinite ease-in-out;animation:opacity 2s infinite ease-in-out;color:#fff}@-webkit-keyframes opacity{0%,to{opacity:0}50%{opacity:1}}@keyframes opacity{0%,to{opacity:0}50%{opacity:1}}.embedded-logo{height:auto;width:100%;max-width:290px;padding:.5rem 0}.ens-response{color:#737373}.dropdown-node .dropdown-menu li{border-left:2px solid #b50085;position:relative}.dropdown-node .dropdown-menu li:last-child{border-top:1px solid #ececec;padding-top:5px}.dropdown-node .dropdown-menu li:first-child,.dropdown-node .dropdown-menu li:nth-child(2),.dropdown-node .dropdown-menu li:nth-child(3),.dropdown-node .dropdown-menu li:nth-child(4){border-left:2px solid #0e97c0}.dropdown-node .dropdown-menu li:nth-child(5),.dropdown-node .dropdown-menu li:nth-child(6),.dropdown-node .dropdown-menu li:nth-child(7),.dropdown-node .dropdown-menu li:nth-child(8),.dropdown-node .dropdown-menu li:nth-child(9){border-left:2px solid #009241}.dropdown-node .dropdown-menu li:nth-child(10),.dropdown-node .dropdown-menu li:nth-child(11),.dropdown-node .dropdown-menu li:nth-child(12),.dropdown-node .dropdown-menu li:nth-child(13),.dropdown-node .dropdown-menu li:nth-child(14),.dropdown-node .dropdown-menu li:nth-child(15){border-left:2px solid #adc101}.dropdown-node .dropdown-menu li:nth-child(16){border-left:2px solid #673ab7}.dropdown-node .dropdown-menu li:nth-child(17){border-left:2px solid #00ad85}.dropdown-node .dropdown-menu li:nth-child(18){border-left:2px solid #4568bb}.dropdown-node .dropdown-menu li:nth-child(19){border-left:2px solid #6a488d}.dropdown-node .dropdown-menu li:nth-child(20){border-left:2px solid #046111}.dropdown-node .dropdown-menu li:nth-child(21){border-left:2px solid #4295d1}.dropdown-node .dropdown-menu li:nth-child(22){border-left:2px solid #0e97c0}.dropdown-node .dropdown-menu li:nth-child(23){border-left:2px solid #009241}.dropdown-node .dropdown-menu li:nth-child(24){border-left:2px solid #fece00}.dropdown-node .dropdown-menu li:nth-child(25){border-left:2px solid #27223d}.dropdown-node .dropdown-menu li:nth-child(26){border-left:2px solid #926565}.dropdown-node .dropdown-menu li:nth-child(27),.dropdown-node .dropdown-menu li:nth-child(28){border-left:2px solid #aa0087}.dropdown-node .dropdown-menu li:nth-child(29){border-left:2px solid #a16bff}.dropdown-node .dropdown-menu li:nth-child(30){border-left:2px solid #a2d729}.dropdown-node .dropdown-menu li:nth-child(31){border-left:2px solid #d63068}.dropdown-node .dropdown-menu li:nth-child(32){border-left:2px solid #09f}.dropdown-node .dropdown-menu li:nth-child(33){border-left:2px solid #4568bb}.dropdown-node .dropdown-menu li:nth-child(34){border-left:2px solid #0092ee}.dropdown-node .dropdown-menu li:last-child{border-left:2px solid #9a9a9a}.dropdown-node .dropdown-menu li:nth-child(4),.dropdown-node .dropdown-menu li:nth-child(9),.dropdown-node .dropdown-menu li:nth-child(15),.dropdown-node .dropdown-menu li:nth-child(16),.dropdown-node .dropdown-menu li:nth-child(17),.dropdown-node .dropdown-menu li:nth-child(18),.dropdown-node .dropdown-menu li:nth-child(19),.dropdown-node .dropdown-menu li:nth-child(20),.dropdown-node .dropdown-menu li:nth-child(21),.dropdown-node .dropdown-menu li:nth-child(22),.dropdown-node .dropdown-menu li:nth-child(23),.dropdown-node .dropdown-menu li:nth-child(24),.dropdown-node .dropdown-menu li:nth-child(25),.dropdown-node .dropdown-menu li:nth-child(26),.dropdown-node .dropdown-menu li:nth-child(28),.dropdown-node .dropdown-menu li:nth-child(29),.dropdown-node .dropdown-menu li:nth-child(30),.dropdown-node .dropdown-menu li:nth-child(31),.dropdown-node .dropdown-menu li:nth-child(32),.dropdown-node .dropdown-menu li:nth-child(33){border-bottom:1px solid #ececec}header{margin-bottom:1em}header.ETH .header-branding{border-bottom:.25rem solid #0e97c0}header.ETH+.container+.pre-footer+.footer{border-top:.25rem solid #0e97c0}header.ETH+.container .modal-content{border:.25rem solid #0e97c0}header.ETH+.container .alert-info{background-color:#0e97c0}header.ETH .dropdown-gas:before{width:24px;background-image:url(../images/coins/ethereum.svg)}header.ETC .header-branding{border-bottom:.25rem solid #009241}header.ETC+.container+.pre-footer+.footer{border-top:.25rem solid #009241}header.ETC+.container .modal-content{border:.25rem solid #009241}header.ETC+.container .alert-info{background-color:#009241}header.ETC .dropdown-gas:before{width:24px;background-image:url(../images/coins/ethereum-classic.svg)}header.Ropsten .header-branding{border-bottom:.25rem solid #adc101}header.Ropsten+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Ropsten+.container .modal-content{border:.25rem solid #adc101}header.Ropsten+.container .alert-info{background-color:#adc101}header.Kovan .header-branding{border-bottom:.25rem solid #adc101}header.Kovan+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Kovan+.container .modal-content{border:.25rem solid #adc101}header.Kovan+.container .alert-info{background-color:#adc101}header.Rinkeby .header-branding{border-bottom:.25rem solid #adc101}header.Rinkeby+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Rinkeby+.container .modal-content{border:.25rem solid #adc101}header.Rinkeby+.container .alert-info{background-color:#adc101}header.Custom .header-branding{border-bottom:.25rem solid #b50085}header.Custom+.container+.pre-footer+.footer{border-top:.25rem solid #b50085}header.Custom+.container .modal-content{border:.25rem solid #b50085}header.Custom+.container .alert-info{background-color:#b50085}header.EXP .header-branding{border-bottom:.25rem solid #673ab7}header.EXP+.container+.pre-footer+.footer{border-top:.25rem solid #673ab7}header.EXP+.container .modal-content{border:.25rem solid #673ab7}header.EXP+.container .alert-info{background-color:#673ab7}header.EXP .dropdown-gas:before{width:32px;background-image:url(../images/coins/exp.svg)}header.UBQ .header-branding{border-bottom:.25rem solid #00ad85}header.UBQ+.container+.pre-footer+.footer{border-top:.25rem solid #00ad85}header.UBQ+.container .modal-content{border:.25rem solid #00ad85}header.UBQ+.container .alert-info{background-color:#00ad85}header.UBQ .dropdown-gas:before{width:32px;background-image:url(../images/coins/ubiq.svg)}header.POA .header-branding{border-bottom:.25rem solid #4568bb}header.POA+.container+.pre-footer+.footer{border-top:.25rem solid #4568bb}header.POA+.container .modal-content{border:.25rem solid #4568bb}header.POA+.container .alert-info{background-color:#4568bb}header.POA .dropdown-gas:before{width:32px;background-image:url(../images/coins/poa.svg)}header.TOMO .header-branding{border-bottom:.25rem solid #6a488d}header.TOMO+.container+.pre-footer+.footer{border-top:.25rem solid #6a488d}header.TOMO+.container .modal-content{border:.25rem solid #6a488d}header.TOMO+.container .alert-info{background-color:#6a488d}header.TOMO .dropdown-gas:before{width:34px;background-image:url(../images/coins/tomo.svg)}header.ELLA .header-branding{border-bottom:.25rem solid #046111}header.ELLA+.container+.pre-footer+.footer{border-top:.25rem solid #046111}header.ELLA+.container .modal-content{border:.25rem solid #046111}header.ELLA+.container .alert-info{background-color:#046111}header.ELLA .dropdown-gas:before{width:32px;background-image:url(../images/coins/ella.svg)}header.ETSC .header-branding{border-bottom:.25rem solid #4295d1}header.ETSC+.container+.pre-footer+.footer{border-top:.25rem solid #4295d1}header.ETSC+.container .modal-content{border:.25rem solid #4295d1}header.ETSC+.container .alert-info{background-color:#4295d1}header.ETSC .dropdown-gas:before{width:32px;background-image:url(../images/coins/etsc.svg)}header.EGEM .header-branding{border-bottom:.25rem solid #0e97c0}header.EGEM+.container+.pre-footer+.footer{border-top:.25rem solid #0e97c0}header.EGEM+.container .modal-content{border:.25rem solid #0e97c0}header.EGEM+.container .alert-info{background-color:#0e97c0}header.EGEM .dropdown-gas:before{width:36px;background-image:url(../images/coins/egem.svg)}header.CLO .header-branding{border-bottom:.25rem solid #009241}header.CLO+.container+.pre-footer+.footer{border-top:.25rem solid #009241}header.CLO+.container .modal-content{border:.25rem solid #009241}header.CLO+.container .alert-info{background-color:#009241}header.CLO .dropdown-gas:before{width:36px;background-image:url(../images/coins/callisto.svg)}header.MUSIC .header-branding{border-bottom:.25rem solid #fece00}header.MUSIC+.container+.pre-footer+.footer{border-top:.25rem solid #fece00}header.MUSIC+.container .modal-content{border:.25rem solid #fece00}header.MUSIC+.container .alert-info{background-color:#fece00}header.MUSIC .dropdown-gas:before{width:34px;background-image:url(../images/coins/music.svg)}header.GO .header-branding{border-bottom:.25rem solid #27223d}header.GO+.container+.pre-footer+.footer{border-top:.25rem solid #27223d}header.GO+.container .modal-content{border:.25rem solid #27223d}header.GO+.container .alert-info{background-color:#27223d}header.GO .dropdown-gas:before{width:38px;background-image:url(../images/coins/gochain.svg)}header.EOSC .header-branding{border-bottom:.25rem solid #926565}header.EOSC+.container+.pre-footer+.footer{border-top:.25rem solid #926565}header.EOSC+.container .modal-content{border:.25rem solid #926565}header.EOSC+.container .alert-info{background-color:#926565}header.EOSC .dropdown-gas:before{width:26px;background-image:url(../images/coins/eosc.svg)}header.AKA .header-branding{border-bottom:.25rem solid #aa0087}header.AKA+.container+.pre-footer+.footer{border-top:.25rem solid #aa0087}header.AKA+.container .modal-content{border:.25rem solid #aa0087}header.AKA+.container .alert-info{background-color:#aa0087}header.AKA .dropdown-gas:before{width:34px;background-image:url(../images/coins/akroma.svg)}header.ESN .header-branding{border-bottom:.25rem solid #a16bff}header.ESN+.container+.pre-footer+.footer{border-top:.25rem solid #a16bff}header.ESN+.container .modal-content{border:.25rem solid #a16bff}header.ESN+.container .alert-info{background-color:#a16bff}header.ESN .dropdown-gas:before{width:32px;background-image:url(../images/coins/ethersocial.svg)}header.PIRL .header-branding{border-bottom:.25rem solid #a2d729}header.PIRL+.container+.pre-footer+.footer{border-top:.25rem solid #a2d729}header.PIRL+.container .modal-content{border:.25rem solid #a2d729}header.PIRL+.container .alert-info{background-color:#a2d729}header.PIRL .dropdown-gas:before{width:32px;background-image:url(../images/coins/pirl.svg)}header.ETHO .header-branding{border-bottom:.25rem solid #d63068}header.ETHO+.container+.pre-footer+.footer{border-top:.25rem solid #d63068}header.ETHO+.container .modal-content{border:.25rem solid #d63068}header.ETHO+.container .alert-info{background-color:#d63068}header.ETHO .dropdown-gas:before{width:24px;background-image:url(../images/coins/etho.svg)}header.ATH .header-branding{border-bottom:.25rem solid #09f}header.ATH+.container+.pre-footer+.footer{border-top:.25rem solid #09f}header.ATH+.container .modal-content{border:.25rem solid #09f}header.ATH+.container .alert-info{background-color:#09f}header.ATH .dropdown-gas:before{width:36px;background-image:url(../images/coins/atheios.svg)}header.ILT .header-branding{border-bottom:.25rem solid #4568bb}header.ILT+.container+.pre-footer+.footer{border-top:.25rem solid #4568bb}header.ILT+.container .modal-content{border:.25rem solid #4568bb}header.ILT+.container .alert-info{background-color:#4568bb}header.ILT .dropdown-gas:before{width:35px;background-image:url(../images/coins/ilt.svg)}header.WEB .header-branding{border-bottom:.25rem solid #0092ee}header.WEB+.container+.pre-footer+.footer{border-top:.25rem solid #0092ee}header.WEB+.container .modal-content{border:.25rem solid #0092ee}header.WEB+.container .alert-info{background-color:#0092ee}header.WEB .dropdown-gas:before{width:36px;background-image:url(../images/coins/webchain.svg)}.contest-container{-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:0!important;text-align:center}.contest-container ol{padding:0 10em;text-align:left!important}.contest-container ol li{list-style-position:inside}@media screen and (max-width:960px){.contest-container ol{padding:0 5em!important}.collapse-container .collapse-button{margin-left:-100px}}@media screen and (max-width:650px){.contest-container ol{padding:0 20px!important}}.on-boarding-close{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.on-boarding-close img{cursor:pointer}@media screen and (max-width:600px){.footer__pill-custom-wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.footer__pill-custom-wrap a{-webkit-box-flex:1;-webkit-flex:auto;-ms-flex:auto;flex:auto;max-width:115px}}.privacy-policy{width:90%}.privacy-policy h1,.privacy-policy h3{font-weight:700;text-align:center}.privacy-policy .privacy-policy-body{margin-top:30px}.phishing{height:60%;text-align:center}.unsupported{color:#ea4b40;background:rgba(255,68,8,.1);border:1px solid #ea4b40;padding:10px}.swap-tab a.link,.swap-tab a.link:hover{-webkit-transition:none;-o-transition:none;transition:none}.swap-tab .btn-lg{margin-top:3rem}.swap-tab .btn img,.swap-tab .btn svg{margin-right:.5rem;margin-left:-.25rem;vertical-align:middle}.swap-tab .swap-rates{text-align:center}.swap-tab .swap-rates .order-panel{background:-webkit-linear-gradient(300deg,#0e97c0,#163151);background:-o-linear-gradient(300deg,#0e97c0,#163151);background:linear-gradient(150deg,#0e97c0,#163151);position:relative}.swap-tab .swap-rates .order-panel .bity-logo{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@media screen and (max-width:51.2rem){.swap-tab .swap-rates .order-panel{padding-top:1rem;padding-bottom:1rem}.swap-tab .swap-rates .order-panel .order-info{text-align:left;padding:0 0 0 22%}.swap-tab .swap-rates .order-panel .bity-logo{left:-1rem;top:40%;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}}.swap-tab .swap-rates .form-control.input-sm{width:16%;min-width:3.5rem;display:inline-block;margin-right:1rem;text-align:right;background-color:transparent;color:#fff;-webkit-box-shadow:0 0 0 #fff;box-shadow:0 0 0 #fff;border:0 solid #fff;border-bottom:2px solid #fff}.swap-tab .swap-rates p{margin:0}.swap-tab .swap-rates p span{opacity:.9}.swap-tab .swap-rates .order-info:nth-child(4n+1),.swap-tab .swap-rates .order-info:nth-child(4n+2),.swap-tab .swap-rates .order-info:nth-child(4n+3){background:transparent}.swap-tab .swap-panel{text-align:center;margin-top:3rem;padding:2rem .5rem}.swap-tab .swap-panel>*{display:inline-block;margin:1.5rem .5rem;vertical-align:middle}.swap-tab .swap-panel .form-control{width:10rem;margin-right:0}.swap-tab .swap-panel .dropdown{margin-left:0}.swap-tab .swap-address{text-align:center;padding:3rem 1rem}.swap-tab .swap-start{text-align:center}.swap-tab .swap-start .swap-info{text-align:left;margin-bottom:5rem}.swap-tab .swap-order{text-align:left}.swap-tab .swap-order .order-info-wrap{margin-bottom:0}.swap-tab .swap-order h1{margin-top:3rem;margin-bottom:3rem}.ens-tab .collapse-container h4,.ens-tab .collapse-container h5,.swap-tab .collapse-container h4,.swap-tab .collapse-container h5{display:inline-block}.ens-tab .collapse-container .collapse-button,.swap-tab .collapse-container .collapse-button{float:none;margin:0}.order-info-wrap{margin-bottom:3rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.order-info-wrap .order-info{padding:1rem 0}.order-info{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;min-height:100px;text-align:center;padding:.5rem 0;color:#fff}.order-info:after,.order-info:before{content:" ";display:table}.order-info:after{clear:both}.order-info h3,.order-info h4,.order-info p{margin:0}.order-info:nth-child(4n+1){background-color:#175575}.order-info:nth-child(4n+2){background-color:#1e92ba}.order-info:nth-child(4n+3){background-color:#143955}.order-info:nth-child(4n+4){background-color:#19b3ae}.swap-progress{margin-top:2rem;margin-bottom:0;position:relative}.swap-progress .sep{position:absolute;top:3.5rem;left:3%;right:3%;height:.25rem;background-color:#ececec}@media screen and (max-width:675px){.swap-progress .sep{display:none}}.swap-progress:after,.swap-progress:before{content:" ";display:table}.swap-progress:after{clear:both}.swap-progress .progress-item{width:20%;float:left;text-align:center;margin:.25rem 0}@media screen and (max-width:675px){.swap-progress .progress-item{width:100%}}.swap-progress .progress-item:nth-child(4n+1) .progress-circle{border-color:rgba(30,146,186,.4);color:rgba(30,146,186,.4)}.swap-progress .progress-item:nth-child(4n+2) .progress-circle{border-color:rgba(23,85,117,.4);color:rgba(23,85,117,.4)}.swap-progress .progress-item:nth-child(4n+3) .progress-circle{border-color:rgba(25,179,174,.4);color:rgba(25,179,174,.4)}.swap-progress .progress-item:nth-child(4n+4) .progress-circle{border-color:rgba(20,57,85,.4);color:rgba(20,57,85,.4)}.swap-progress .progress-item .progress-circle{border-radius:50%;border-width:.25rem;border-style:solid;-webkit-box-sizing:content-box;box-sizing:content-box;margin:1rem auto;padding-bottom:4rem;position:relative;width:4rem;background:#fff}@media screen and (max-width:675px){.swap-progress .progress-item .progress-circle{margin:.25rem 1rem .25rem 2rem;padding-bottom:3rem;width:3rem;float:left}}.swap-progress .progress-item .progress-circle i{font-size:1.5rem;line-height:1.75rem;height:1.75rem;width:1.75rem;font-weight:900;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@media screen and (max-width:675px){.swap-progress .progress-item .progress-circle i{font-size:1.5rem;line-height:1.5rem;height:1.5rem;width:1.5rem}}.swap-progress .progress-item p{font-size:.9rem;font-weight:600;text-transform:uppercase;color:hsla(0,0%,55%,.5);letter-spacing:.1em}@media screen and (max-width:675px){.swap-progress .progress-item p{line-height:4rem;margin:0;text-align:left}}.swap-progress .progress-item p small{letter-spacing:.03em;font-size:75%}.swap-progress .progress-item.progress-active p{color:#8d8d8d}.swap-progress .progress-item.progress-active:nth-child(4n+1) .progress-circle{border-color:#1e92ba;color:#1e92ba}.swap-progress .progress-item.progress-active:nth-child(4n+2) .progress-circle{border-color:#175575;color:#175575}.swap-progress .progress-item.progress-active:nth-child(4n+3) .progress-circle{border-color:#19b3ae;color:#19b3ae}.swap-progress .progress-item.progress-active:nth-child(4n+4) .progress-circle{border-color:#143955;color:#143955}.swap-progress .progress-item.progress-true .progress-circle{background-color:#5dba5a;border-color:#5dba5a;-webkit-box-shadow:inset 0 0 0 5px #fff;box-shadow:inset 0 0 0 5px #fff}.swap-progress .progress-item.progress-true .progress-circle i{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 426.67 426.67' width='32' height='32'%3E%3Cpath d='M153.504 366.839c-8.657 0-17.323-3.302-23.927-9.911L9.914 237.265c-13.218-13.218-13.218-34.645 0-47.863 13.218-13.218 34.645-13.218 47.863 0l95.727 95.727 215.39-215.386c13.218-13.214 34.65-13.218 47.859 0 13.222 13.218 13.222 34.65 0 47.863L177.436 356.928c-6.609 6.605-15.271 9.911-23.932 9.911z' fill='%23fff'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain;font-size:0}.swap-progress .progress-item.progress-true p{color:#5dba5a}.ens-tab .order-info-wrap{margin-top:1rem;margin-bottom:1rem}.ens-tab h5+p{margin-top:-.5em}.bity-contact{margin:9rem -1rem -5rem}.cont-md{max-width:64rem;margin:auto}.txstatus__1 .form-control{max-width:64rem;margin:1rem auto}.txstatus__3 h4{display:inline-block}.txstatus__3 .collapse-button{float:none;margin:0}.text-ellipsis{white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.block-title1{background-color:#007cc0}.block-title1,.block-title2{color:#fff;padding:10px 20px;font-weight:900;font-size:20px}.block-title2{background-color:#3e4b5a}.mywallet-container ::-webkit-scrollbar{width:7px}.mywallet-container ::-webkit-scrollbar-track{background:#d7d7d7}.mywallet-container ::-webkit-scrollbar-thumb{background:#3e4b5a;border-radius:12px}.mywallet-container p{margin:0}.mywallet-container h3{margin:0;font-weight:900}.mywallet-container .addressIdenticon{width:50px!important;height:50px!important}.mywallet-container .grid-bg{background-color:#f5f5f5}.mywallet-container .grid-frame{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.mywallet-container .grid-frame #walletsContainer{-webkit-box-flex:50;-webkit-flex:50;-ms-flex:50;flex:50;height:100%}.mywallet-container .grid-frame .data:last-child{margin:0}.mywallet-container .grid-frame .data{display:grid;grid-template-columns:1fr 350px;grid-gap:4px;margin-bottom:20px}.mywallet-container .grid-frame .data .wallet .editor-icons{height:20px;width:20px}.mywallet-container .grid-frame .data .wallet .block-title1 p{font-weight:900}.mywallet-container .grid-frame .data .wallet .content{padding:25px 30px 20px}.mywallet-container .grid-frame .data .wallet .content>div{display:inline-block;vertical-align:top}.mywallet-container .grid-frame .data .wallet .content .balance{padding:0 20px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block{margin-bottom:15px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .block-title,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .block-title{width:125px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block h3,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block h3{display:inline-block;vertical-align:middle;font-size:20px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .balance-amount,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .balance-amount{vertical-align:middle;display:inline-block;font-size:20px;font-weight:900;color:#00c599}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block{display:inline-block;vertical-align:middle}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p{background-color:#fff;padding-left:20px;font-weight:500;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;font-size:14px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p button,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p button{background-color:#b3b3b4!important;color:#fff!important;display:inline-block;margin-left:30px;padding:12px 17px!important;border:none;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p button:hover,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p button:hover{background-color:grey!important}.mywallet-container .grid-frame .data .tokens .col-title{background-color:#fff;display:grid;grid-template-columns:1fr 1fr;padding:5px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .data .tokens .col-title p{font-weight:900;font-size:13px}.mywallet-container .grid-frame .data .tokens .content{height:116px;overflow-y:auto;position:relative}.mywallet-container .grid-frame .data .tokens .content>div{display:grid;grid-template-columns:1fr 1fr;padding:5px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .data .tokens .content>div:nth-child(2n){background-color:#ebebeb}.mywallet-container .grid-frame .data .tokens .content>div p{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mywallet-container .grid-frame .sidebar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:15;-webkit-flex:15;-ms-flex:15;flex:15;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-left:15px;margin-top:4.2rem}.mywallet-container .grid-frame .sidebar .title-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#fff;background-color:#3e4b5a;padding:10px 20px}.mywallet-container .grid-frame .sidebar .title-container .title{display:inline-block;font-weight:900;font-size:20px}.mywallet-container .grid-frame .sidebar .title-container .total-of{display:inline-block;margin-left:auto;font-size:13px;margin-top:10px}.mywallet-container .grid-frame .sidebar .col-title{background-color:#fff;display:grid;grid-template-columns:2fr 1fr;padding:15px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .sidebar .col-title p{font-size:15px;font-weight:900}.mywallet-container .grid-frame .sidebar .content{overflow-y:scroll;position:relative}.mywallet-container .grid-frame .sidebar .content>div{display:grid;grid-template-columns:2fr 1fr;padding:15px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .sidebar .content>div p{font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mywallet-container .grid-frame .sidebar .content>div .add-button{position:relative}.mywallet-container .grid-frame .sidebar .content>div .add-button p{cursor:pointer;width:90px;position:absolute;padding:7px 0;border:1px solid blue;font-size:12px;color:blue;text-align:center;top:-6px;left:0;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .sidebar .content>div .add-button p:hover{color:#fff;background-color:blue}.mywallet-container .grid-frame .sidebar .content>div .remove-button{position:relative}.mywallet-container .grid-frame .sidebar .content>div .remove-button p{cursor:pointer;width:90px;position:absolute;padding:7px 0;border:1px solid red;font-size:12px;color:red;text-align:center;top:-6px;left:0;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .sidebar .content>div .remove-button p:hover{color:#fff;background-color:red}.mywallet-container .grid-frame .sidebar .content .col-title{background-color:#fff}.mywallet-container .grid-frame .sidebar .content .col-title p{font-weight:900}#etherWalletPopUp{padding:10px;position:relative;min-width:346px}#etherWalletPopUp .back-icon{position:absolute;left:5px;top:5px}#etherWalletPopUp .back-icon:active,#etherWalletPopUp .back-icon:hover{outline:0}.toggleTokenContainer span{color:#0e97c0;cursor:pointer}.toggleTokenContainer span:hover{color:#095f79}.walletTokensContainer{max-height:70px;overflow:scroll}.quicksend-address{font-family:Menlo,Monaco,Consolas,Courier New,monospace;max-width:170px;word-wrap:break-word;font-size:12px;font-weight:300;display:block}.chrome-tokens span{min-width:130px;display:inline-block}.truncate{max-width:130px;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mainWalletDelete,.mainWalletEdit,.mainWalletView{margin:.5em}.myWalletCtrl table:not(.account-info) h2{margin:0;font-size:1.6em}.myWalletCtrl table:not(.account-info) h3{font-weight:400;font-size:1.3em}.myWalletCtrl table:not(.account-info) td:nth-child(2){max-width:380px}.myWalletCtrl table:not(.account-info) td,.myWalletCtrl table:not(.account-info) th{vertical-align:middle;padding:.5em .75em}#secWatchOnlyMain .mainWalletDelete{width:60px;display:block}.spinner{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;height:37px}.spinner-container{display:inherit!important;padding:7.5px 20px!important;text-align:center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.text-navy{color:#163151}.text-gray-lighter{color:#ececec}.text-blue{color:#0e97c0}.text-white{color:#fff}.bg-navy{background:#163151}.bg-gradient{background:#163151;background:-webkit-linear-gradient(301deg,#132a45,#143a56,#21a4ce,#19b4ad);background:-o-linear-gradient(301deg,#132a45,#143a56,#21a4ce,#19b4ad);background:linear-gradient(149deg,#132a45,#143a56,#21a4ce,#19b4ad)}.bg-gray-lighter{background-color:#ececec}.bg-blue{background-color:#0e97c0}.bg-white{background-color:#fff}.text-serif{font-family:Georgia,Times New Roman,Times,serif}.text-sans-serif{font-family:Lato,sans-serif}.pad-v-sm{padding-top:.5em;padding-bottom:.5em}.pad-v-md{padding-top:1em;padding-bottom:1em}.pad-v-lg{padding-top:1.5em;padding-bottom:1.5em}.pad-v-xl{padding-top:2em;padding-bottom:2em}.marg-v-sm{margin-top:.5em;margin-bottom:.5em}.marg-v-md{margin-top:1em;margin-bottom:1em}.marg-v-lg{margin-top:1.5em;margin-bottom:1.5em}.marg-v-xl{margin-top:2em;margin-bottom:2em}.img-fill{width:100%;height:auto;max-width:100%}.header-branding{color:#fff;padding:0}@media screen and (max-width:960px){.header-branding{text-align:center}}.header-branding .container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:900px){.header-branding .container{padding-left:1%;padding-right:1%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}}.header-branding .brand{float:left}@media screen and (max-width:900px){.header-branding .brand{float:none}}.header-branding .brand img{padding:.25rem 0}.header-branding .tagline{font-weight:200;color:#fff;-webkit-box-flex:1;-webkit-flex:1 auto;-ms-flex:1 auto;flex:1 auto;text-align:right;padding:.25rem 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:900px){.header-branding .tagline{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;text-align:right}}.header-branding a{cursor:pointer;font-weight:400;display:inline-block}.header-branding a,.header-branding a:active,.header-branding a:hover{color:#fff;-webkit-transition:all .25s ease;-o-transition:.25s all ease;transition:all .25s ease}.header-branding a:active,.header-branding a:hover{opacity:.8;text-decoration:none}.header-branding .dropdown{padding:.1rem}@media screen and (max-width:900px){.header-branding .dropdown{padding:.1rem 0;white-space:nowrap;display:inline-block;font-size:14px}.header-branding .dropdown .dropdown-menu{right:0;overflow-y:auto;min-width:auto;left:auto;top:100%;font-size:14px}.header-branding .dropdown .dropdown-menu>li>a{font-size:14px;padding:.25rem 30px .25rem 15px;position:relative}.header-branding .dropdown-gas{white-space:normal}.header-branding .dropdown-gas .dropdown-menu{right:0!important}}.header-branding .dropdown-toggle{font-size:14px;padding:.3em .6rem}.header-branding .dropdown-gas{display:inline-block}.header-branding .dropdown-gas .dropdown-menu{min-width:200px;padding:.5rem;margin:.1rem 0 0;right:.1rem;left:auto;overflow:unset}.header-branding .dropdown-gas .dropdown-menu p{padding:0}.header-branding .dropdown-gas:before{content:"";display:inline-block;background-position:50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle;width:24px;height:48px;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='417' preserveAspectRatio='xMidYMid'%3E%3Cg fill-opacity='.588'%3E%3Cpath d='M128.95 154.205h.003l127.96 58.162L128.953.047z' fill='%23b1b1b1'/%3E%3Cpath d='M128.95 154.205V.047L.988 212.367l127.96-58.162z' fill='%23cfcfcf'/%3E%3Cpath d='M128.949 416.953l128.038-180.32-128.038 75.6z' fill='%23b1b1b1'/%3E%3Cpath fill='%23cfcfcf' d='M.988 236.632l127.962 180.32v-104.72z'/%3E%3Cpath fill='%23909090' d='M128.95 288.004l127.96-75.637-127.96-58.162z'/%3E%3Cpath fill='%23b1b1b1' d='M128.948 154.205L.988 212.367l127.96 75.637z'/%3E%3C/g%3E%3C/svg%3E");margin-top:1px}.dropdown-menu a.active{text-decoration:none;color:#0e97c0;background-color:#fafafa}.dropdown-menu{overflow-y:auto;right:.1rem;margin:.1rem 0 0}.nav-container{position:relative;overflow-y:hidden}.nav-container .nav-scroll{-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;overflow-x:auto;margin-bottom:-20px;font-size:0;white-space:nowrap}@media screen and (max-width:51.2rem){.nav-container .nav-scroll{margin:0 -5% -20px}}.nav-container .nav-scroll .nav-inner{border-bottom:2px solid #fff;display:inline-block;font-size:0;margin-bottom:20px;min-width:100%;padding:5px 0 0;vertical-align:middle}.nav-container .nav-scroll .nav-inner .nav-item{display:inline-block;font-size:0}.nav-container .nav-scroll .nav-inner .nav-item.NAV_Swap a:before{content:"";display:inline-block;margin-top:-.1rem;width:1.3rem;height:1.3rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 620.04 631.27'%3E%3Ctitle%3Eicon-swap%3C/title%3E%3Cpath d='M469.95 289.68c-77 0-139.59-62.62-139.59-139.59S392.98 10.5 469.95 10.5s139.59 62.62 139.59 139.59-62.62 139.59-139.59 139.59z' fill='%23ffe14d'/%3E%3Cpath d='M469.95 21a129.09 129.09 0 1 1-129.09 129.09A129.24 129.24 0 0 1 469.95 21m0-21c-82.76 0-150.09 67.33-150.09 150.09s67.29 150.09 150.09 150.09 150.09-67.33 150.09-150.09S552.71 0 469.95 0z' fill='%230f0f0f'/%3E%3Cpath d='M599.04 150.09A129.24 129.24 0 0 0 469.95 21v258.18a129.24 129.24 0 0 0 129.09-129.09z' fill='%23fc3'/%3E%3Cpath d='M469.95 44.94a105.12 105.12 0 1 0 105.12 105.15A105.24 105.24 0 0 0 469.95 44.94zm0 179c-49.27 0-74.85-24.6-74.85-73.87s25.58-74.85 74.85-74.85 75.82 25.58 75.82 74.85-26.55 73.87-75.82 73.87z' fill='%23ff9f19'/%3E%3Cpath d='M545.77 150.09c0 49.27-26.55 74.85-75.82 74.85v30.27a105.12 105.12 0 1 0 0-210.24v30.27c49.27 0 75.82 25.58 75.82 74.85z' fill='%23f28618'/%3E%3Cpath fill='%230492be' d='M100.66 277.37H26.9V114.06h240.72V50.84l131.7 100.1-131.7 100.09v-63.22H100.66v89.56z'/%3E%3Cpath fill='%23103957' opacity='.2' d='M63.78 150.94h335.54l-131.7-100.1v63.22H26.9v163.31h36.88V150.94z'/%3E%3Cpath d='M259.71 34.94l152.67 116-152.67 116v-71.23H108.55v89.56H19V106.15h240.71zm126.55 116L275.52 66.77v55.17H34.8v147.53h57.95v-89.53h182.77v55.19z'/%3E%3Cpath fill='%23fff' d='M292.951 119.43l9.638-12.482 47.456 36.642-9.638 12.482z'/%3E%3Cpath d='M150.09 620.77c-77 0-139.59-62.62-139.59-139.59s62.65-139.59 139.59-139.59 139.59 62.62 139.59 139.59-62.62 139.59-139.59 139.59z' fill='%23ffe14d'/%3E%3Cpath d='M150.09 352.09A129.09 129.09 0 1 1 21 481.18a129.24 129.24 0 0 1 129.09-129.09m0-21C67.33 331.09 0 398.42 0 481.18s67.33 150.09 150.09 150.09 150.06-67.33 150.06-150.09-67.3-150.09-150.06-150.09z' fill='%230f0f0f'/%3E%3Cpath d='M21 481.18a129.24 129.24 0 0 0 129.09 129.09V352.09A129.24 129.24 0 0 0 21 481.18z' fill='%23fc3'/%3E%3Cpath d='M150.09 586.3A105.12 105.12 0 1 0 44.97 481.18 105.24 105.24 0 0 0 150.09 586.3zm0-179c49.27 0 74.85 24.6 74.85 73.87s-25.58 74.85-74.85 74.85-75.82-25.58-75.82-74.85 26.55-73.86 75.82-73.86z' fill='%23ff9f19'/%3E%3Cpath d='M74.26 481.18c0-49.27 26.55-74.85 75.82-74.85v-30.27a105.12 105.12 0 1 0 0 210.24v-30.27c-49.26 0-75.82-25.58-75.82-74.85z' fill='%23f28618'/%3E%3Cpath fill='%230492be' d='M519.39 353.9h73.75v163.31H352.43v63.22L220.72 480.34l131.71-100.1v63.22h166.96V353.9z'/%3E%3Cpath fill='%23103957' opacity='.2' d='M556.26 480.34H220.72l131.71 100.09v-63.22h240.71V353.9h-36.88v126.44z'/%3E%3Cpath d='M360.32 596.36l-152.66-116 152.66-116v71.25h151.16V346h89.56v179.11H360.32zm-126.55-116l110.74 84.16v-55.21h240.73V361.8h-57.95v89.56H344.52v-55.19z'/%3E%3Cpath fill='%23fff' d='M268.572 486.574l9.7-12.473 47.419 36.875-9.7 12.473z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle;margin-right:.25rem}.nav-container .nav-scroll .nav-inner .nav-item a{color:#095f79;display:block;font-size:16px;font-weight:300;padding:10px;white-space:nowrap;position:relative;min-height:2.75rem}.nav-container .nav-scroll .nav-inner .nav-item a:after{content:"";background:#0e97c0;height:2px;width:100%;left:0;position:absolute;bottom:-1px;-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.nav-container .nav-scroll .nav-inner .nav-item.active a,.nav-container .nav-scroll .nav-inner .nav-item a:focus,.nav-container .nav-scroll .nav-inner .nav-item a:hover{color:#0e97c0;text-decoration:none;-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s}.nav-container .nav-scroll .nav-inner .nav-item.active a:after,.nav-container .nav-scroll .nav-inner .nav-item a:focus:after,.nav-container .nav-scroll .nav-inner .nav-item a:hover:after{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s}.nav-container .nav-arrow-left,.nav-container .nav-arrow-right{background-color:#fff;bottom:12px;color:#d6d6d6;font-size:33px;line-height:1.3;min-width:50px;position:absolute;top:0;vertical-align:middle;width:5%;z-index:999}.nav-container .nav-arrow-left:hover,.nav-container .nav-arrow-right:hover{text-decoration:none}.nav-container .nav-arrow-right{right:3%;background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),color-stop(47%,#fff),to(#fff));background:-webkit-linear-gradient(left,hsla(0,0%,100%,0),#fff 47%,#fff);background:-o-linear-gradient(left,hsla(0,0%,100%,0) 0,#fff 47%,#fff 100%);background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff 47%,#fff);padding-right:5px;text-align:right}@media screen and (max-width:51.2rem){.nav-container .nav-arrow-right{right:0}}.nav-container .nav-arrow-left{left:3%;background:-webkit-gradient(linear,right top,left top,from(hsla(0,0%,100%,0)),color-stop(47%,#fff),to(#fff));background:-webkit-linear-gradient(right,hsla(0,0%,100%,0),#fff 47%,#fff);background:-o-linear-gradient(right,hsla(0,0%,100%,0) 0,#fff 47%,#fff 100%);background:linear-gradient(270deg,hsla(0,0%,100%,0) 0,#fff 47%,#fff);padding-left:5px;text-align:left}@media screen and (max-width:51.2rem){.nav-container .nav-arrow-left{left:0}}.print-container{width:680px;height:280px;border:1px solid gray;margin-bottom:50px;position:relative}.print-container #identicon{-webkit-print-color-adjust:exact;position:absolute;right:7.5rem;bottom:3rem}.print-container #identicon:after{content:"Always look for this icon when sending to this wallet.";font-size:9px;width:120px;position:absolute;bottom:.75rem;text-align:center;right:-7.5rem}.print-title{float:left}.print-text{color:#0b7290;text-transform:uppercase;letter-spacing:.05em;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);position:absolute;right:0;bottom:0;font-size:13px;font-weight:600}.print-qr-code-1{width:28%;float:left;position:relative;padding:20px}.print-qr-code-1 .print-text{right:-35px;bottom:69px}.print-qr-code-2{width:28%;float:left;position:relative;padding:20px}.print-qr-code-2 .print-text{right:-45px;bottom:69px}.print-notes{width:28%;float:left;position:relative;padding:20px}.print-notes .print-text{right:-45px;bottom:69px}.print-address-container{float:left;width:85%;padding:0 25px}.print-address-container p{font-size:14px;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.ether-logo-1{position:absolute;left:100px}.ether-logo-2{position:absolute;right:32px;bottom:64px}.block--container{max-width:113rem;margin-left:-1%;margin-right:-1%}.block__wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.block{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative}.block:after,.block:before{content:" ";display:table}.block:after{clear:both}@media screen and (max-width:32rem){.block{padding:1.25rem}}.block>:first-child{margin-top:0}.block>:last-child{margin-bottom:0}.block--text-white *,.block--text-white a{color:#fff}.block--text-white a:focus,.block--text-white a:hover{color:hsla(0,0%,100%,.9)}.block--danger{background-color:#ea4b40}.block--danger *,.block--danger a{color:#fff}.block--danger a:focus,.block--danger a:hover{color:hsla(0,0%,100%,.9)}.block--warning{background-color:#ff9800}.block--warning *,.block--warning a{color:#fff}.block--warning a:focus,.block--warning a:hover{color:hsla(0,0%,100%,.9)}.block--info{background-color:#163151}.block--info *,.block--info a{color:#fff}.block--info a:focus,.block--info a:hover{color:hsla(0,0%,100%,.9)}.block--primary{background-color:#0e97c0}.block--primary *,.block--primary a{color:#fff}.block--primary a:focus,.block--primary a:hover{color:hsla(0,0%,100%,.9)}.block--success{background-color:#5dba5a}.block--success *,.block--success a{color:#fff}.block--success a:focus,.block--success a:hover{color:hsla(0,0%,100%,.9)}.block__main{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative;text-align:left;padding:.75rem;-webkit-flex-basis:98%;-ms-flex-preferred-size:98%;flex-basis:98%;margin:1rem .5%}.block__main:after,.block__main:before{content:" ";display:table}.block__main:after{clear:both}@media screen and (max-width:32rem){.block__main{padding:1.25rem}}.block__main>:first-child{margin-top:0}.block__main>:last-child{margin-bottom:0}@media screen and (min-width:51.2rem){.block__main{-webkit-flex-basis:68%;-ms-flex-preferred-size:68%;flex-basis:68%}}@media screen and (min-width:66.13333333rem){.block__main{-webkit-flex-basis:73%;-ms-flex-preferred-size:73%;flex-basis:73%}}.block__help{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative;background-image:url(../images/icon-help-2.svg);background-size:8rem;background-position:102% -5%;background-repeat:no-repeat;text-align:left;margin:1rem 1%;-webkit-flex-basis:98%;-ms-flex-preferred-size:98%;flex-basis:98%}.block__help:after,.block__help:before{content:" ";display:table}.block__help:after{clear:both}@media screen and (max-width:32rem){.block__help{padding:1.25rem}}.block__help>:last-child{margin-bottom:0}@media screen and (min-width:51.2rem){.block__help{-webkit-flex-basis:28%;-ms-flex-preferred-size:28%;flex-basis:28%}}@media screen and (min-width:66.13333333rem){.block__help{-webkit-flex-basis:23%;-ms-flex-preferred-size:23%;flex-basis:23%}}.block__help a{color:#ff5722}.block__help a:hover{color:#ff4408}.block__help>:first-child{margin-top:0}.block__help ul{list-style:circle}.block__help ol,.block__help ul{padding-left:1rem}.block__help h2{font-size:1.15rem;font-weight:400}.equal-space>*{margin-top:1rem;margin-bottom:1rem}.u-center-h{text-align:center}.gen__1 .input-group{max-width:43rem;margin:1rem auto}.gen__1--inner{text-align:center}.gen__1--inner h1{margin:1rem auto 2rem}.gen__1--inner h4{margin:3rem auto 1rem}.gen__1--inner p{margin:0 0 2rem}.gen__1--inner .btn{margin:0 auto 3rem}.gen__2--inner{text-align:center}.gen__2--inner h1{margin:1rem auto}.gen__2--inner>.btn{margin:1rem auto 2rem}.gen__2--inner .warn{margin:2rem auto}.gen__3--inner{text-align:center}.gen__3--inner h1{margin:2rem auto 1rem}.gen__3--inner>.btn,.gen__3--inner>.form-control{margin:0 auto 3rem}.pre-footer{padding:1rem;-webkit-box-shadow:16px 16px 47px 0 rgba(0,0,0,.07);box-shadow:16px 16px 47px 0 rgba(0,0,0,.07);margin-top:5rem;background-color:#fff;text-align:center}.pre-footer p{font-size:1.3rem}.footer{background-color:#102138;color:#fff;font-size:.8rem;margin-top:0}.footer h5{margin-top:.5rem;margin-bottom:.25rem}.footer h5 i{margin-left:-1.5em;margin-right:.25em}.footer h5:first-child{margin-top:0}.footer ul{list-style:none;padding-left:0;margin:0}.footer li,.footer p{font-size:.8rem;margin:.25em 0}.footer a{color:#7fe5ff;font-weight:400}.footer a:focus,.footer a:hover{color:#4cdbff}.footer small{font-size:.6rem}.footer--logo{width:100%;height:auto;max-width:16rem}.header--gas{max-width:26rem;color:#333}.header--gas p{font-weight:400;margin:.5rem 0 0}.header--gas a,.header--gas a:focus,.header--gas a:hover,.header--gas a:visited{color:#0e97c0}.footer--left{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:22rem;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:32rem){.footer--left{max-width:100%}}.footer--cent{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:34rem;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2}@media screen and (max-width:32rem){.footer--cent{max-width:100%}}.footer--cent li:last-child,.footer--cent ul{margin-bottom:0}.footer--righ{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:28rem;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:32rem){.footer--righ{max-width:100%}}.footer__icon{display:inline-block;height:30px;width:30px;padding:5px}.footer__pill-wrap{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}a.footer__pill{display:inline;background:#0e97c0;padding:3px 12px;border-radius:30px;color:#fff}a.footer__pill:focus,a.footer__pill:hover{color:#0e97c0;background:#fff;opacity:1}.custom-token-fields label{font-weight:400;font-size:1rem}.custom-token-fields input{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.custom-token-fields input{height:2rem;line-height:2rem}select[multiple].custom-token-fields input,textarea.custom-token-fields input{height:auto}.custom-token-fields input .mono{font-size:.75rem}.custom-token-fields .address-identicon-container{margin-top:2rem}.swap--btc,.swap--hw,.swap--usd{text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:1rem .15rem}.swap--btc .col-sm-7,.swap--hw .col-sm-7,.swap--usd .col-sm-7{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.swap--usd{background-color:#2b71b1}.swap--usd *,.swap--usd a{color:#fff}.swap--usd a:focus,.swap--usd a:hover{color:hsla(0,0%,100%,.9)}.swap--usd .swap-flag--bal,.swap--usd .swap-flag--price{background-color:#2e86d7}.swap--btc{background-color:#006e79}.swap--btc *,.swap--btc a{color:#fff}.swap--btc a:focus,.swap--btc a:hover{color:hsla(0,0%,100%,.9)}.swap--btc .swap-flag--bal,.swap--btc .swap-flag--price{background-color:#00a3b4}.swap--hw{background-color:#6e9a3e}.swap--hw *,.swap--hw a{color:#fff}.swap--hw a:focus,.swap--hw a:hover{color:hsla(0,0%,100%,.9)}.swap--hw .swap-flag--bal,.swap--hw .swap-flag--price{background-color:#81bc3f}.swap--hw .swap__logo{margin:.45rem 0}.swap-flag--bal,.swap-flag--price{background-color:#5dba5a;color:#fff;padding:.1rem .5rem;font-size:.7rem;border-radius:5rem;margin:.7rem 0 0;line-height:1.4;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.swap__subhead{font-size:.8rem;margin:.15rem 0}.swap__cta{font-size:1.25rem;margin:.15rem 0}.swap__logo{margin:0}.swap__nav{margin-top:-1.1rem;margin-bottom:.7rem;text-align:center}.swap__nav a{color:#9a9a9a;padding:0 .2rem .6rem}.send-modal__addr{font-size:12px}.u__protip{display:table}.u__protip:before{content:"";display:table-cell;width:2em;height:1em;background-image:url(../images/icon-protip.svg);background-size:contain;vertical-align:middle;text-align:center;background-position:50%;background-repeat:no-repeat;border-right:.5em solid transparent}.u__download{display:table;margin-left:.5em}.u__download:before{content:"";display:table-cell;width:1.25em;height:1em;background-image:url(../images/icon-external-link.svg);background-size:contain;vertical-align:middle;text-align:center;background-position:50%;background-repeat:no-repeat;border-right:.5em solid transparent}.send__load-tokens{padding:5px 2px;margin:0;background-color:#ff9800;text-align:center;color:#fff;font-size:9px}.send__load-tokens img{width:14px;height:14px}.send__load-tokens p{margin:4px 0 0;font-weight:500}.send__load-tokens:hover{color:#fff;opacity:.8}.onboarding__modal{padding:1rem}.onboarding__modal:after,.onboarding__modal:before{content:" ";display:table}.onboarding__modal:after{clear:both}.onboarding__modal .btn-primary{background-image:url(../images/icon-arrow-right.svg);background-size:contain;background-position:100%;background-repeat:no-repeat}.onboarding__modal .btn-default{background-image:url(../images/icon-arrow-left.svg);background-size:contain;background-position:0;background-repeat:no-repeat}.onboarding__modal .onboarding__title{text-align:center;margin-bottom:1.5rem}@media (max-width:50.2rem){.onboarding__modal .onboarding__title{margin:0 auto .5rem}}.onboarding__modal img{margin-top:1rem;margin-bottom:1rem}@media (max-width:50.2rem){.onboarding__modal img{max-height:200px}}.onboarding__modal .onboarding__buttons .btn{margin-top:.5rem;margin-bottom:.5rem}@media (min-width:51.2rem){.onboarding__modal .onboarding__buttons{margin-top:.5rem;margin-bottom:.5rem}.onboarding__modal .onboarding__buttons:after,.onboarding__modal .onboarding__buttons:before{content:" ";display:table}.onboarding__modal .onboarding__buttons:after{clear:both}.onboarding__modal .onboarding__buttons .btn+.btn{float:right}}@media (max-width:50.2rem){.onboarding__modal .onboarding__buttons .btn{display:block}.onboarding__modal .onboarding__buttons .btn+.btn{margin-top:1.5rem}}@media (max-width:50.2rem){.onboarding__modal{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.onboarding__modal .onboarding__content,.onboarding__modal .onboarding__image{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.onboarding__modal .onboarding__content+.onboarding__image{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}}.row.row--flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media (max-width:50.2rem){.row.row--flex{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}}.onboarding__msg{text-align:center;font-size:.9rem} \ No newline at end of file diff --git a/chrome-extension/cx-wallet.html b/chrome-extension/cx-wallet.html index 3816a48245..2ad970724a 100644 --- a/chrome-extension/cx-wallet.html +++ b/chrome-extension/cx-wallet.html @@ -83,12 +83,12 @@ MyEtherWallet -

    3.25.0

    +

    3.26.0

    - + diff --git a/chrome-extension/helpers.html b/chrome-extension/helpers.html index 310ca1cc3e..0e3738f079 100644 --- a/chrome-extension/helpers.html +++ b/chrome-extension/helpers.html @@ -101,13 +101,13 @@ MyEtherWallet -

    3.25.0

    +

    3.26.0

    - + diff --git a/chrome-extension/js/etherwallet-master.js b/chrome-extension/js/etherwallet-master.js index 848de07e63..cbd7e2f489 100644 --- a/chrome-extension/js/etherwallet-master.js +++ b/chrome-extension/js/etherwallet-master.js @@ -4,8 +4,25 @@ module.exports=[] module.exports=[] },{}],3:[function(require,module,exports){ -arguments[4][2][0].apply(exports,arguments) -},{"dup":2}],4:[function(require,module,exports){ +module.exports=[ + { + "name":"Select a contract...", + "address":"", + "abi":"" + }, + { + "name":"Callisto Cold Staking", + "address":"0xd813419749b3c2cdc94a2f9cfcf154113264a9d6", + "abi":'[{"constant":false,"inputs":[],"name":"start_staking","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"claim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"staker","outputs":[{"name":"amount","type":"uint256"},{"name":"time","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"stake_reward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw_stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"time","type":"uint256"}],"name":"StartStaking","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"staker","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"WithdrawStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"staker","type":"address"},{"indexed":false,"name":"reward","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_address","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"DonationDeposited","type":"event"}]' + }, + { + "name":"Officiality Checker", + "address":"0xf6f29e5ba51171c4ef4997bd0208c7e9bc5d5eda", + "abi":'[{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"remove_entry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"fire","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"},{"name":"_link","type":"string"},{"name":"_metadata","type":"string"}],"name":"add_entry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"hire","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"string"}],"name":"get_entry","outputs":[{"name":"","type":"string"},{"name":"","type":"string"},{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_link","type":"string"}],"name":"is_official","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"transfer_ownership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_name","type":"string"}],"name":"Registered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_name","type":"string"}],"name":"Removed","type":"event"}]' + } +] + +},{}],4:[function(require,module,exports){ arguments[4][2][0].apply(exports,arguments) },{"dup":2}],5:[function(require,module,exports){ arguments[4][2][0].apply(exports,arguments) @@ -998,6 +1015,22 @@ module.exports = bity; var darklist = function darklist() { return [{ + address: "0xF193a9aFb00715AaCF7ca9Ebffafe02C77517C2E", + comment: "Fake copy of ROCK2PAY token", + date: "2018-11-06" + }, { + address: "0xcc02b920ae227f1be7d01fc241c27e5f74d40436", + comment: "Fake copy of ROCK2 token", + date: "2018-10-28" + }, { + address: "0xa153a6eF80fb5d60de18688bdC82684d48FC8De1", + comment: "Fake copy of ROCK2 token", + date: "2018-10-28" + }, { + address: "0x19fb7020381fe9197bf841d5034D5467FE5a3C93", + comment: "Fake copy of ROCK2 token", + date: "2018-10-27" + }, { address: "0x8abe0a9b8A1C8a003354E61F3ed8befdeb7D2CEc", comment: "Fake copy of ROCK2 token", date: "2018-09-12" @@ -4776,8 +4809,15 @@ module.exports = contractsCtrl; function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; } +var u2f = require("u2f-api"); var decryptWalletCtrl = function decryptWalletCtrl($scope, $sce, walletService) { $scope.walletType = ""; + $scope.supported = false; + u2f.isSupported().then(function (res) { + $scope.supported = res && window.browser.name === "chrome"; + $scope.$apply(); + }); + $scope.requireFPass = $scope.requirePPass = $scope.showFDecrypt = $scope.showPDecrypt = $scope.showAOnly = $scope.showParityDecrypt = false; $scope.filePassword = ""; $scope.fileContent = ""; @@ -4952,6 +4992,9 @@ var decryptWalletCtrl = function decryptWalletCtrl($scope, $sce, walletService) case nodes.nodeTypes.TOMO: $scope.HDWallet.dPath = $scope.HDWallet.tomoPath; break; + case nodes.nodeTypes.MIX: + $scope.HDWallet.dPath = $scope.HDWallet.hwMixPath; + break; default: $scope.HDWallet.dPath = $scope.HDWallet.trezorPath; } @@ -5429,7 +5472,7 @@ var decryptWalletCtrl = function decryptWalletCtrl($scope, $sce, walletService) module.exports = decryptWalletCtrl; }).call(this,require("buffer").Buffer) -},{"buffer":262}],36:[function(require,module,exports){ +},{"buffer":414,"u2f-api":999}],36:[function(require,module,exports){ 'use strict'; var domainsaleCtrl = function domainsaleCtrl($scope, $sce, walletService) { @@ -10043,7 +10086,7 @@ var fileReaderDrtv = function fileReaderDrtv($parse) { module.exports = fileReaderDrtv; },{}],60:[function(require,module,exports){ -module.exports = "
    \n\n \n
    \n\n

    \n How would you like to access your wallet?\n

    \n\n \n \n\n \n \n \n \n \n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n
    \n \n\n\n \n
    \n\n \n
    \n

    \n Your Address\n

    \n
    \n \n This is a recommended way to view your balance.\n
    \n

    \n You can only view your balance via this option.\n Please use another option in order to send.\n

    \n
    \n \n
    \n \n
    \n \n\n\n \n
    \n

    \n MetaMask / Mist\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n MetaMask is a browser extension that allows you to access your wallet quickly, safely & easily. It is more secure because you never enter your private key on a website. It protects you from phishing & malicious websites.\n
    \n \n
    \n \n Please use MyEtherWallet on a secure (SSL / HTTPS) connection to connect.\n \n
    \n \n
    \n \n\n\n \n
    \n

    \n Ledger Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n
    \n

    \n {{ledgerErrorString}}\n

    \n
      \n
    • \n Please use MyEtherWallet on a secure (SSL / HTTPS) connection to connect.\n
    • \n
    • \n \n Open the Ethereum application (or a contract application)\n \n \n Open the Expanse application (or a contract application)\n \n \n Open the Ubiq application (or a contract application)\n \n
    • \n
    • \n \n Still not working? More Troubleshooting Tips\n \n
    • \n
    \n
    \n
    \n \n\n\n \n
    \n

    \n TREZOR Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n
    \n

    \n {{trezorErrorString}}\n

    \n \n
    \n
    \n \n\n\n \n
    \n

    \n Digital Bitbox Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n \n
    \n \n\n\n \n
    \n

    \n Secalot Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n \n
    \n \n\n \n \n \n
    \n

    \n MEWconnect\n

    \n
    \n MEWconnect does note support your browser.
    Please use a supported browser (Chrome, Firefox, Opera, Safari (version 11 and above))\n
    \n
    \n \n
    \n \n MEWconnect only works on a secure (SSL / HTTPS) connection.\n \n
    \n \n \n
    \n \n
    Scan this code with your MEWconnect app
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n MEWconnect does not fully support your browser [{{mewConnectMayFail.browser}} {{mewConnectMayFail.version}}] and may not work.
    Please use a fully supported browser (Chrome , Firefox, Opera)\n
    \n
    \n\n\n
    \n \n \n\n \n
    \n

    Select your wallet file

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n \n
    \n

    \n Your file is encrypted. Please enter the password:\n

    \n \n
    \n \n
    \n \n\n\n \n
    \n

    Paste your mnemonic:

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n
    \n \n
    \n
    \n

    \n Password (optional):\n

    \n
    \n \n
    \n
    \n \n
    \n \n\n\n \n
    \n

    \n Paste your private key:\n

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website is dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n
    \n \n
    \n
    \n

    \n Your file is encrypted. Please enter the password:\n

    \n \n
    \n \n
    \n \n\n\n \n
    \n

    Paste your mnemonic:

    \n
    \n \n
    \n \n
    \n \n\n
    \n \n\n\n \n
    \n\n
    \n\n
    \n\n
    \n\n \n\n \n

    \n Select HD derivation path:\n

    \n\n

    \n We do not know the correct path for this network.\n \n Please open a github issue\n \n so we can discuss / be enlightened.\n

    \n\n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n\n\n\n

    \n Please select the address you would like to interact with.\n

    \n\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n
    \n Address\n \n Balance\n \n Token
    Balances\n
    \n \n \n \n {{wallet.getBalance()}} {{ajaxReq.type}}\n \n \n \n \n \n
    \n 5\"\n role=\"link\"\n tabindex=\"0\"\n translate=\"MNEM_prev\">\n Previous Addresses\n \n \n \n More Addresses\n \n
    \n\n
    \n \n\n \n
    \n\n
    \n\n
    \n\n
    \n\n
    \n\n
    \n"; +module.exports = "
    \n\n \n
    \n\n

    \n How would you like to access your wallet?\n

    \n\n \n \n\n \n \n \n \n \n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n
    \n \n\n\n \n
    \n\n \n
    \n

    \n Your Address\n

    \n
    \n \n This is a recommended way to view your balance.\n
    \n

    \n You can only view your balance via this option.\n Please use another option in order to send.\n

    \n
    \n \n
    \n \n
    \n \n\n\n \n
    \n

    \n MetaMask / Mist\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n MetaMask is a browser extension that allows you to access your wallet quickly, safely & easily. It is more secure because you never enter your private key on a website. It protects you from phishing & malicious websites.\n
    \n \n
    \n \n Please use MyEtherWallet on a secure (SSL / HTTPS) connection to connect.\n \n
    \n \n
    \n \n\n\n \n
    \n

    \n Ledger Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n
    \n U2F not supported in this browser. Please try using Google Chrome with a secure (SSL / HTTPS) connection!\n
    \n \n
    \n

    \n {{ledgerErrorString}}\n

    \n
      \n
    • \n Please use MyEtherWallet on a secure (SSL / HTTPS) connection to connect.\n
    • \n
    • \n \n Open the Ethereum application (or a contract application)\n \n \n Open the Expanse application (or a contract application)\n \n \n Open the Ubiq application (or a contract application)\n \n
    • \n
    • \n \n Still not working? More Troubleshooting Tips\n \n
    • \n
    \n
    \n
    \n \n\n\n \n
    \n

    \n TREZOR Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n
    \n

    \n {{trezorErrorString}}\n

    \n \n
    \n
    \n \n\n\n \n
    \n

    \n Digital Bitbox Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n \n
    \n \n\n\n \n
    \n

    \n Secalot Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n \n
    \n \n\n \n \n \n
    \n

    \n MEWconnect\n

    \n
    \n MEWconnect does not support your browser.
    Please use a supported browser (Chrome, Firefox, Opera, Safari (version 11 and above))\n
    \n
    \n \n
    \n \n MEWconnect only works on a secure (SSL / HTTPS) connection.\n \n
    \n \n \n
    \n \n
    Scan this code with your MEWconnect app
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n MEWconnect does not fully support your browser [{{mewConnectMayFail.browser}} {{mewConnectMayFail.version}}] and may not work.
    Please use a fully supported browser (Chrome , Firefox, Opera)\n
    \n
    \n\n\n
    \n \n \n\n \n
    \n

    Select your wallet file

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n \n
    \n

    \n Your file is encrypted. Please enter the password:\n

    \n \n
    \n \n
    \n \n\n\n \n
    \n

    Paste your mnemonic:

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n
    \n \n
    \n
    \n

    \n Password (optional):\n

    \n
    \n \n
    \n
    \n \n
    \n \n\n\n \n
    \n

    \n Paste your private key:\n

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website is dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n
    \n \n
    \n
    \n

    \n Your file is encrypted. Please enter the password:\n

    \n \n
    \n \n
    \n \n\n\n \n
    \n

    Paste your mnemonic:

    \n
    \n \n
    \n \n
    \n \n\n
    \n \n\n\n \n
    \n\n
    \n\n
    \n\n
    \n\n \n\n \n

    \n Select HD derivation path:\n

    \n\n

    \n We do not know the correct path for this network.\n \n Please open a github issue\n \n so we can discuss / be enlightened.\n

    \n\n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n\n\n\n

    \n Please select the address you would like to interact with.\n

    \n\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n
    \n Address\n \n Balance\n \n Token
    Balances\n
    \n \n \n \n {{wallet.getBalance()}} {{ajaxReq.type}}\n \n \n \n \n \n
    \n 5\"\n role=\"link\"\n tabindex=\"0\"\n translate=\"MNEM_prev\">\n Previous Addresses\n \n \n \n More Addresses\n \n
    \n\n
    \n \n\n \n
    \n\n
    \n\n
    \n\n
    \n\n
    \n\n
    \n"; },{}],61:[function(require,module,exports){ 'use strict'; @@ -17191,8 +17234,8 @@ nodes.nodeList = { }, clo: { name: "CLO", - blockExplorerTX: "https://explorer.callisto.network/tx/[[txHash]]", - blockExplorerAddr: "https://explorer.callisto.network/account/[[address]]", + blockExplorerTX: "https://explorer2.callisto.network/tx/[[txHash]]", + blockExplorerAddr: "https://explorer2.callisto.network/addr/[[address]]", type: nodes.nodeTypes.CLO, eip155: true, chainId: 820, @@ -21848,7 +21891,7 @@ module.exports=[ "type": "default" }, { - "address": "0x5e8f855966d638135a968861e80dda722291b06d", + "address": "0xeb547ed1d8a3ff1461abaa7f0022fed4836e00a4", "symbol": "COIN", "decimal": 18, "type": "default" @@ -81041,2740 +81084,2740 @@ function fromByteArray (uint8) { } },{}],217:[function(require,module,exports){ -/*! bignumber.js v4.1.0 https://github.com/MikeMcl/bignumber.js/LICENCE */ - -;(function (globalObj) { - 'use strict'; - - /* - bignumber.js v4.1.0 - A JavaScript library for arbitrary-precision arithmetic. - https://github.com/MikeMcl/bignumber.js - Copyright (c) 2017 Michael Mclaughlin - MIT Expat Licence - */ - - - var BigNumber, - isNumeric = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, - mathceil = Math.ceil, - mathfloor = Math.floor, - notBool = ' not a boolean or binary digit', - roundingMode = 'rounding mode', - tooManyDigits = 'number type has more than 15 significant digits', - ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_', - BASE = 1e14, - LOG_BASE = 14, - MAX_SAFE_INTEGER = 0x1fffffffffffff, // 2^53 - 1 - // MAX_INT32 = 0x7fffffff, // 2^31 - 1 - POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], - SQRT_BASE = 1e7, - - /* - * The limit on the value of DECIMAL_PLACES, TO_EXP_NEG, TO_EXP_POS, MIN_EXP, MAX_EXP, and - * the arguments to toExponential, toFixed, toFormat, and toPrecision, beyond which an - * exception is thrown (if ERRORS is true). - */ - MAX = 1E9; // 0 to MAX_INT32 - - - /* - * Create and return a BigNumber constructor. - */ - function constructorFactory(config) { - var div, parseNumeric, - - // id tracks the caller function, so its name can be included in error messages. - id = 0, - P = BigNumber.prototype, - ONE = new BigNumber(1), - - - /********************************* EDITABLE DEFAULTS **********************************/ - - - /* - * The default values below must be integers within the inclusive ranges stated. - * The values can also be changed at run-time using BigNumber.config. - */ - - // The maximum number of decimal places for operations involving division. - DECIMAL_PLACES = 20, // 0 to MAX - - /* - * The rounding mode used when rounding to the above decimal places, and when using - * toExponential, toFixed, toFormat and toPrecision, and round (default value). - * UP 0 Away from zero. - * DOWN 1 Towards zero. - * CEIL 2 Towards +Infinity. - * FLOOR 3 Towards -Infinity. - * HALF_UP 4 Towards nearest neighbour. If equidistant, up. - * HALF_DOWN 5 Towards nearest neighbour. If equidistant, down. - * HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour. - * HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity. - * HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity. - */ - ROUNDING_MODE = 4, // 0 to 8 - - // EXPONENTIAL_AT : [TO_EXP_NEG , TO_EXP_POS] - - // The exponent value at and beneath which toString returns exponential notation. - // Number type: -7 - TO_EXP_NEG = -7, // 0 to -MAX - - // The exponent value at and above which toString returns exponential notation. - // Number type: 21 - TO_EXP_POS = 21, // 0 to MAX - - // RANGE : [MIN_EXP, MAX_EXP] - - // The minimum exponent value, beneath which underflow to zero occurs. - // Number type: -324 (5e-324) - MIN_EXP = -1e7, // -1 to -MAX - - // The maximum exponent value, above which overflow to Infinity occurs. - // Number type: 308 (1.7976931348623157e+308) - // For MAX_EXP > 1e7, e.g. new BigNumber('1e100000000').plus(1) may be slow. - MAX_EXP = 1e7, // 1 to MAX - - // Whether BigNumber Errors are ever thrown. - ERRORS = true, // true or false - - // Change to intValidatorNoErrors if ERRORS is false. - isValidInt = intValidatorWithErrors, // intValidatorWithErrors/intValidatorNoErrors - - // Whether to use cryptographically-secure random number generation, if available. - CRYPTO = false, // true or false - - /* - * The modulo mode used when calculating the modulus: a mod n. - * The quotient (q = a / n) is calculated according to the corresponding rounding mode. - * The remainder (r) is calculated as: r = a - n * q. - * - * UP 0 The remainder is positive if the dividend is negative, else is negative. - * DOWN 1 The remainder has the same sign as the dividend. - * This modulo mode is commonly known as 'truncated division' and is - * equivalent to (a % n) in JavaScript. - * FLOOR 3 The remainder has the same sign as the divisor (Python %). - * HALF_EVEN 6 This modulo mode implements the IEEE 754 remainder function. - * EUCLID 9 Euclidian division. q = sign(n) * floor(a / abs(n)). - * The remainder is always positive. - * - * The truncated division, floored division, Euclidian division and IEEE 754 remainder - * modes are commonly used for the modulus operation. - * Although the other rounding modes can also be used, they may not give useful results. - */ - MODULO_MODE = 1, // 0 to 9 - - // The maximum number of significant digits of the result of the toPower operation. - // If POW_PRECISION is 0, there will be unlimited significant digits. - POW_PRECISION = 0, // 0 to MAX - - // The format specification used by the BigNumber.prototype.toFormat method. - FORMAT = { - decimalSeparator: '.', - groupSeparator: ',', - groupSize: 3, - secondaryGroupSize: 0, - fractionGroupSeparator: '\xA0', // non-breaking space - fractionGroupSize: 0 - }; - - - /******************************************************************************************/ - - - // CONSTRUCTOR - - - /* - * The BigNumber constructor and exported function. - * Create and return a new instance of a BigNumber object. - * - * n {number|string|BigNumber} A numeric value. - * [b] {number} The base of n. Integer, 2 to 64 inclusive. - */ - function BigNumber( n, b ) { - var c, e, i, num, len, str, - x = this; - - // Enable constructor usage without new. - if ( !( x instanceof BigNumber ) ) { - - // 'BigNumber() constructor call without new: {n}' - if (ERRORS) raise( 26, 'constructor call without new', n ); - return new BigNumber( n, b ); - } - - // 'new BigNumber() base not an integer: {b}' - // 'new BigNumber() base out of range: {b}' - if ( b == null || !isValidInt( b, 2, 64, id, 'base' ) ) { - - // Duplicate. - if ( n instanceof BigNumber ) { - x.s = n.s; - x.e = n.e; - x.c = ( n = n.c ) ? n.slice() : n; - id = 0; - return; - } - - if ( ( num = typeof n == 'number' ) && n * 0 == 0 ) { - x.s = 1 / n < 0 ? ( n = -n, -1 ) : 1; - - // Fast path for integers. - if ( n === ~~n ) { - for ( e = 0, i = n; i >= 10; i /= 10, e++ ); - x.e = e; - x.c = [n]; - id = 0; - return; - } - - str = n + ''; - } else { - if ( !isNumeric.test( str = n + '' ) ) return parseNumeric( x, str, num ); - x.s = str.charCodeAt(0) === 45 ? ( str = str.slice(1), -1 ) : 1; - } - } else { - b = b | 0; - str = n + ''; - - // Ensure return value is rounded to DECIMAL_PLACES as with other bases. - // Allow exponential notation to be used with base 10 argument. - if ( b == 10 ) { - x = new BigNumber( n instanceof BigNumber ? n : str ); - return round( x, DECIMAL_PLACES + x.e + 1, ROUNDING_MODE ); - } - - // Avoid potential interpretation of Infinity and NaN as base 44+ values. - // Any number in exponential form will fail due to the [Ee][+-]. - if ( ( num = typeof n == 'number' ) && n * 0 != 0 || - !( new RegExp( '^-?' + ( c = '[' + ALPHABET.slice( 0, b ) + ']+' ) + - '(?:\\.' + c + ')?$',b < 37 ? 'i' : '' ) ).test(str) ) { - return parseNumeric( x, str, num, b ); - } - - if (num) { - x.s = 1 / n < 0 ? ( str = str.slice(1), -1 ) : 1; - - if ( ERRORS && str.replace( /^0\.0*|\./, '' ).length > 15 ) { - - // 'new BigNumber() number type has more than 15 significant digits: {n}' - raise( id, tooManyDigits, n ); - } - - // Prevent later check for length on converted number. - num = false; - } else { - x.s = str.charCodeAt(0) === 45 ? ( str = str.slice(1), -1 ) : 1; - } - - str = convertBase( str, 10, b, x.s ); - } - - // Decimal point? - if ( ( e = str.indexOf('.') ) > -1 ) str = str.replace( '.', '' ); - - // Exponential form? - if ( ( i = str.search( /e/i ) ) > 0 ) { - - // Determine exponent. - if ( e < 0 ) e = i; - e += +str.slice( i + 1 ); - str = str.substring( 0, i ); - } else if ( e < 0 ) { - - // Integer. - e = str.length; - } - - // Determine leading zeros. - for ( i = 0; str.charCodeAt(i) === 48; i++ ); - - // Determine trailing zeros. - for ( len = str.length; str.charCodeAt(--len) === 48; ); - str = str.slice( i, len + 1 ); - - if (str) { - len = str.length; - - // Disallow numbers with over 15 significant digits if number type. - // 'new BigNumber() number type has more than 15 significant digits: {n}' - if ( num && ERRORS && len > 15 && ( n > MAX_SAFE_INTEGER || n !== mathfloor(n) ) ) { - raise( id, tooManyDigits, x.s * n ); - } - - e = e - i - 1; - - // Overflow? - if ( e > MAX_EXP ) { - - // Infinity. - x.c = x.e = null; - - // Underflow? - } else if ( e < MIN_EXP ) { - - // Zero. - x.c = [ x.e = 0 ]; - } else { - x.e = e; - x.c = []; - - // Transform base - - // e is the base 10 exponent. - // i is where to slice str to get the first element of the coefficient array. - i = ( e + 1 ) % LOG_BASE; - if ( e < 0 ) i += LOG_BASE; - - if ( i < len ) { - if (i) x.c.push( +str.slice( 0, i ) ); - - for ( len -= LOG_BASE; i < len; ) { - x.c.push( +str.slice( i, i += LOG_BASE ) ); - } - - str = str.slice(i); - i = LOG_BASE - str.length; - } else { - i -= len; - } - - for ( ; i--; str += '0' ); - x.c.push( +str ); - } - } else { - - // Zero. - x.c = [ x.e = 0 ]; - } - - id = 0; - } - - - // CONSTRUCTOR PROPERTIES - - - BigNumber.another = constructorFactory; - - BigNumber.ROUND_UP = 0; - BigNumber.ROUND_DOWN = 1; - BigNumber.ROUND_CEIL = 2; - BigNumber.ROUND_FLOOR = 3; - BigNumber.ROUND_HALF_UP = 4; - BigNumber.ROUND_HALF_DOWN = 5; - BigNumber.ROUND_HALF_EVEN = 6; - BigNumber.ROUND_HALF_CEIL = 7; - BigNumber.ROUND_HALF_FLOOR = 8; - BigNumber.EUCLID = 9; - - - /* - * Configure infrequently-changing library-wide settings. - * - * Accept an object or an argument list, with one or many of the following properties or - * parameters respectively: - * - * DECIMAL_PLACES {number} Integer, 0 to MAX inclusive - * ROUNDING_MODE {number} Integer, 0 to 8 inclusive - * EXPONENTIAL_AT {number|number[]} Integer, -MAX to MAX inclusive or - * [integer -MAX to 0 incl., 0 to MAX incl.] - * RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or - * [integer -MAX to -1 incl., integer 1 to MAX incl.] - * ERRORS {boolean|number} true, false, 1 or 0 - * CRYPTO {boolean|number} true, false, 1 or 0 - * MODULO_MODE {number} 0 to 9 inclusive - * POW_PRECISION {number} 0 to MAX inclusive - * FORMAT {object} See BigNumber.prototype.toFormat - * decimalSeparator {string} - * groupSeparator {string} - * groupSize {number} - * secondaryGroupSize {number} - * fractionGroupSeparator {string} - * fractionGroupSize {number} - * - * (The values assigned to the above FORMAT object properties are not checked for validity.) - * - * E.g. - * BigNumber.config(20, 4) is equivalent to - * BigNumber.config({ DECIMAL_PLACES : 20, ROUNDING_MODE : 4 }) - * - * Ignore properties/parameters set to null or undefined. - * Return an object with the properties current values. - */ - BigNumber.config = BigNumber.set = function () { - var v, p, - i = 0, - r = {}, - a = arguments, - o = a[0], - has = o && typeof o == 'object' - ? function () { if ( o.hasOwnProperty(p) ) return ( v = o[p] ) != null; } - : function () { if ( a.length > i ) return ( v = a[i++] ) != null; }; - - // DECIMAL_PLACES {number} Integer, 0 to MAX inclusive. - // 'config() DECIMAL_PLACES not an integer: {v}' - // 'config() DECIMAL_PLACES out of range: {v}' - if ( has( p = 'DECIMAL_PLACES' ) && isValidInt( v, 0, MAX, 2, p ) ) { - DECIMAL_PLACES = v | 0; - } - r[p] = DECIMAL_PLACES; - - // ROUNDING_MODE {number} Integer, 0 to 8 inclusive. - // 'config() ROUNDING_MODE not an integer: {v}' - // 'config() ROUNDING_MODE out of range: {v}' - if ( has( p = 'ROUNDING_MODE' ) && isValidInt( v, 0, 8, 2, p ) ) { - ROUNDING_MODE = v | 0; - } - r[p] = ROUNDING_MODE; - - // EXPONENTIAL_AT {number|number[]} - // Integer, -MAX to MAX inclusive or [integer -MAX to 0 inclusive, 0 to MAX inclusive]. - // 'config() EXPONENTIAL_AT not an integer: {v}' - // 'config() EXPONENTIAL_AT out of range: {v}' - if ( has( p = 'EXPONENTIAL_AT' ) ) { - - if ( isArray(v) ) { - if ( isValidInt( v[0], -MAX, 0, 2, p ) && isValidInt( v[1], 0, MAX, 2, p ) ) { - TO_EXP_NEG = v[0] | 0; - TO_EXP_POS = v[1] | 0; - } - } else if ( isValidInt( v, -MAX, MAX, 2, p ) ) { - TO_EXP_NEG = -( TO_EXP_POS = ( v < 0 ? -v : v ) | 0 ); - } - } - r[p] = [ TO_EXP_NEG, TO_EXP_POS ]; - - // RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or - // [integer -MAX to -1 inclusive, integer 1 to MAX inclusive]. - // 'config() RANGE not an integer: {v}' - // 'config() RANGE cannot be zero: {v}' - // 'config() RANGE out of range: {v}' - if ( has( p = 'RANGE' ) ) { - - if ( isArray(v) ) { - if ( isValidInt( v[0], -MAX, -1, 2, p ) && isValidInt( v[1], 1, MAX, 2, p ) ) { - MIN_EXP = v[0] | 0; - MAX_EXP = v[1] | 0; - } - } else if ( isValidInt( v, -MAX, MAX, 2, p ) ) { - if ( v | 0 ) MIN_EXP = -( MAX_EXP = ( v < 0 ? -v : v ) | 0 ); - else if (ERRORS) raise( 2, p + ' cannot be zero', v ); - } - } - r[p] = [ MIN_EXP, MAX_EXP ]; - - // ERRORS {boolean|number} true, false, 1 or 0. - // 'config() ERRORS not a boolean or binary digit: {v}' - if ( has( p = 'ERRORS' ) ) { - - if ( v === !!v || v === 1 || v === 0 ) { - id = 0; - isValidInt = ( ERRORS = !!v ) ? intValidatorWithErrors : intValidatorNoErrors; - } else if (ERRORS) { - raise( 2, p + notBool, v ); - } - } - r[p] = ERRORS; - - // CRYPTO {boolean|number} true, false, 1 or 0. - // 'config() CRYPTO not a boolean or binary digit: {v}' - // 'config() crypto unavailable: {crypto}' - if ( has( p = 'CRYPTO' ) ) { - - if ( v === true || v === false || v === 1 || v === 0 ) { - if (v) { - v = typeof crypto == 'undefined'; - if ( !v && crypto && (crypto.getRandomValues || crypto.randomBytes)) { - CRYPTO = true; - } else if (ERRORS) { - raise( 2, 'crypto unavailable', v ? void 0 : crypto ); - } else { - CRYPTO = false; - } - } else { - CRYPTO = false; - } - } else if (ERRORS) { - raise( 2, p + notBool, v ); - } - } - r[p] = CRYPTO; - - // MODULO_MODE {number} Integer, 0 to 9 inclusive. - // 'config() MODULO_MODE not an integer: {v}' - // 'config() MODULO_MODE out of range: {v}' - if ( has( p = 'MODULO_MODE' ) && isValidInt( v, 0, 9, 2, p ) ) { - MODULO_MODE = v | 0; - } - r[p] = MODULO_MODE; - - // POW_PRECISION {number} Integer, 0 to MAX inclusive. - // 'config() POW_PRECISION not an integer: {v}' - // 'config() POW_PRECISION out of range: {v}' - if ( has( p = 'POW_PRECISION' ) && isValidInt( v, 0, MAX, 2, p ) ) { - POW_PRECISION = v | 0; - } - r[p] = POW_PRECISION; - - // FORMAT {object} - // 'config() FORMAT not an object: {v}' - if ( has( p = 'FORMAT' ) ) { - - if ( typeof v == 'object' ) { - FORMAT = v; - } else if (ERRORS) { - raise( 2, p + ' not an object', v ); - } - } - r[p] = FORMAT; - - return r; - }; - - - /* - * Return a new BigNumber whose value is the maximum of the arguments. - * - * arguments {number|string|BigNumber} - */ - BigNumber.max = function () { return maxOrMin( arguments, P.lt ); }; - - - /* - * Return a new BigNumber whose value is the minimum of the arguments. - * - * arguments {number|string|BigNumber} - */ - BigNumber.min = function () { return maxOrMin( arguments, P.gt ); }; - - - /* - * Return a new BigNumber with a random value equal to or greater than 0 and less than 1, - * and with dp, or DECIMAL_PLACES if dp is omitted, decimal places (or less if trailing - * zeros are produced). - * - * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. - * - * 'random() decimal places not an integer: {dp}' - * 'random() decimal places out of range: {dp}' - * 'random() crypto unavailable: {crypto}' - */ - BigNumber.random = (function () { - var pow2_53 = 0x20000000000000; - - // Return a 53 bit integer n, where 0 <= n < 9007199254740992. - // Check if Math.random() produces more than 32 bits of randomness. - // If it does, assume at least 53 bits are produced, otherwise assume at least 30 bits. - // 0x40000000 is 2^30, 0x800000 is 2^23, 0x1fffff is 2^21 - 1. - var random53bitInt = (Math.random() * pow2_53) & 0x1fffff - ? function () { return mathfloor( Math.random() * pow2_53 ); } - : function () { return ((Math.random() * 0x40000000 | 0) * 0x800000) + - (Math.random() * 0x800000 | 0); }; - - return function (dp) { - var a, b, e, k, v, - i = 0, - c = [], - rand = new BigNumber(ONE); - - dp = dp == null || !isValidInt( dp, 0, MAX, 14 ) ? DECIMAL_PLACES : dp | 0; - k = mathceil( dp / LOG_BASE ); - - if (CRYPTO) { - - // Browsers supporting crypto.getRandomValues. - if (crypto.getRandomValues) { - - a = crypto.getRandomValues( new Uint32Array( k *= 2 ) ); - - for ( ; i < k; ) { - - // 53 bits: - // ((Math.pow(2, 32) - 1) * Math.pow(2, 21)).toString(2) - // 11111 11111111 11111111 11111111 11100000 00000000 00000000 - // ((Math.pow(2, 32) - 1) >>> 11).toString(2) - // 11111 11111111 11111111 - // 0x20000 is 2^21. - v = a[i] * 0x20000 + (a[i + 1] >>> 11); - - // Rejection sampling: - // 0 <= v < 9007199254740992 - // Probability that v >= 9e15, is - // 7199254740992 / 9007199254740992 ~= 0.0008, i.e. 1 in 1251 - if ( v >= 9e15 ) { - b = crypto.getRandomValues( new Uint32Array(2) ); - a[i] = b[0]; - a[i + 1] = b[1]; - } else { - - // 0 <= v <= 8999999999999999 - // 0 <= (v % 1e14) <= 99999999999999 - c.push( v % 1e14 ); - i += 2; - } - } - i = k / 2; - - // Node.js supporting crypto.randomBytes. - } else if (crypto.randomBytes) { - - // buffer - a = crypto.randomBytes( k *= 7 ); - - for ( ; i < k; ) { - - // 0x1000000000000 is 2^48, 0x10000000000 is 2^40 - // 0x100000000 is 2^32, 0x1000000 is 2^24 - // 11111 11111111 11111111 11111111 11111111 11111111 11111111 - // 0 <= v < 9007199254740992 - v = ( ( a[i] & 31 ) * 0x1000000000000 ) + ( a[i + 1] * 0x10000000000 ) + - ( a[i + 2] * 0x100000000 ) + ( a[i + 3] * 0x1000000 ) + - ( a[i + 4] << 16 ) + ( a[i + 5] << 8 ) + a[i + 6]; - - if ( v >= 9e15 ) { - crypto.randomBytes(7).copy( a, i ); - } else { - - // 0 <= (v % 1e14) <= 99999999999999 - c.push( v % 1e14 ); - i += 7; - } - } - i = k / 7; - } else { - CRYPTO = false; - if (ERRORS) raise( 14, 'crypto unavailable', crypto ); - } - } - - // Use Math.random. - if (!CRYPTO) { - - for ( ; i < k; ) { - v = random53bitInt(); - if ( v < 9e15 ) c[i++] = v % 1e14; - } - } - - k = c[--i]; - dp %= LOG_BASE; - - // Convert trailing digits to zeros according to dp. - if ( k && dp ) { - v = POWS_TEN[LOG_BASE - dp]; - c[i] = mathfloor( k / v ) * v; - } - - // Remove trailing elements which are zero. - for ( ; c[i] === 0; c.pop(), i-- ); - - // Zero? - if ( i < 0 ) { - c = [ e = 0 ]; - } else { - - // Remove leading elements which are zero and adjust exponent accordingly. - for ( e = -1 ; c[0] === 0; c.splice(0, 1), e -= LOG_BASE); - - // Count the digits of the first element of c to determine leading zeros, and... - for ( i = 1, v = c[0]; v >= 10; v /= 10, i++); - - // adjust the exponent accordingly. - if ( i < LOG_BASE ) e -= LOG_BASE - i; - } - - rand.e = e; - rand.c = c; - return rand; - }; - })(); - - - // PRIVATE FUNCTIONS - - - // Convert a numeric string of baseIn to a numeric string of baseOut. - function convertBase( str, baseOut, baseIn, sign ) { - var d, e, k, r, x, xc, y, - i = str.indexOf( '.' ), - dp = DECIMAL_PLACES, - rm = ROUNDING_MODE; - - if ( baseIn < 37 ) str = str.toLowerCase(); - - // Non-integer. - if ( i >= 0 ) { - k = POW_PRECISION; - - // Unlimited precision. - POW_PRECISION = 0; - str = str.replace( '.', '' ); - y = new BigNumber(baseIn); - x = y.pow( str.length - i ); - POW_PRECISION = k; - - // Convert str as if an integer, then restore the fraction part by dividing the - // result by its base raised to a power. - y.c = toBaseOut( toFixedPoint( coeffToString( x.c ), x.e ), 10, baseOut ); - y.e = y.c.length; - } - - // Convert the number as integer. - xc = toBaseOut( str, baseIn, baseOut ); - e = k = xc.length; - - // Remove trailing zeros. - for ( ; xc[--k] == 0; xc.pop() ); - if ( !xc[0] ) return '0'; - - if ( i < 0 ) { - --e; - } else { - x.c = xc; - x.e = e; - - // sign is needed for correct rounding. - x.s = sign; - x = div( x, y, dp, rm, baseOut ); - xc = x.c; - r = x.r; - e = x.e; - } - - d = e + dp + 1; - - // The rounding digit, i.e. the digit to the right of the digit that may be rounded up. - i = xc[d]; - k = baseOut / 2; - r = r || d < 0 || xc[d + 1] != null; - - r = rm < 4 ? ( i != null || r ) && ( rm == 0 || rm == ( x.s < 0 ? 3 : 2 ) ) - : i > k || i == k &&( rm == 4 || r || rm == 6 && xc[d - 1] & 1 || - rm == ( x.s < 0 ? 8 : 7 ) ); - - if ( d < 1 || !xc[0] ) { - - // 1^-dp or 0. - str = r ? toFixedPoint( '1', -dp ) : '0'; - } else { - xc.length = d; - - if (r) { - - // Rounding up may mean the previous digit has to be rounded up and so on. - for ( --baseOut; ++xc[--d] > baseOut; ) { - xc[d] = 0; - - if ( !d ) { - ++e; - xc = [1].concat(xc); - } - } - } - - // Determine trailing zeros. - for ( k = xc.length; !xc[--k]; ); - - // E.g. [4, 11, 15] becomes 4bf. - for ( i = 0, str = ''; i <= k; str += ALPHABET.charAt( xc[i++] ) ); - str = toFixedPoint( str, e ); - } - - // The caller will add the sign. - return str; - } - - - // Perform division in the specified base. Called by div and convertBase. - div = (function () { - - // Assume non-zero x and k. - function multiply( x, k, base ) { - var m, temp, xlo, xhi, - carry = 0, - i = x.length, - klo = k % SQRT_BASE, - khi = k / SQRT_BASE | 0; - - for ( x = x.slice(); i--; ) { - xlo = x[i] % SQRT_BASE; - xhi = x[i] / SQRT_BASE | 0; - m = khi * xlo + xhi * klo; - temp = klo * xlo + ( ( m % SQRT_BASE ) * SQRT_BASE ) + carry; - carry = ( temp / base | 0 ) + ( m / SQRT_BASE | 0 ) + khi * xhi; - x[i] = temp % base; - } - - if (carry) x = [carry].concat(x); - - return x; - } - - function compare( a, b, aL, bL ) { - var i, cmp; - - if ( aL != bL ) { - cmp = aL > bL ? 1 : -1; - } else { - - for ( i = cmp = 0; i < aL; i++ ) { - - if ( a[i] != b[i] ) { - cmp = a[i] > b[i] ? 1 : -1; - break; - } - } - } - return cmp; - } - - function subtract( a, b, aL, base ) { - var i = 0; - - // Subtract b from a. - for ( ; aL--; ) { - a[aL] -= i; - i = a[aL] < b[aL] ? 1 : 0; - a[aL] = i * base + a[aL] - b[aL]; - } - - // Remove leading zeros. - for ( ; !a[0] && a.length > 1; a.splice(0, 1) ); - } - - // x: dividend, y: divisor. - return function ( x, y, dp, rm, base ) { - var cmp, e, i, more, n, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0, - yL, yz, - s = x.s == y.s ? 1 : -1, - xc = x.c, - yc = y.c; - - // Either NaN, Infinity or 0? - if ( !xc || !xc[0] || !yc || !yc[0] ) { - - return new BigNumber( - - // Return NaN if either NaN, or both Infinity or 0. - !x.s || !y.s || ( xc ? yc && xc[0] == yc[0] : !yc ) ? NaN : - - // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0. - xc && xc[0] == 0 || !yc ? s * 0 : s / 0 - ); - } - - q = new BigNumber(s); - qc = q.c = []; - e = x.e - y.e; - s = dp + e + 1; - - if ( !base ) { - base = BASE; - e = bitFloor( x.e / LOG_BASE ) - bitFloor( y.e / LOG_BASE ); - s = s / LOG_BASE | 0; - } - - // Result exponent may be one less then the current value of e. - // The coefficients of the BigNumbers from convertBase may have trailing zeros. - for ( i = 0; yc[i] == ( xc[i] || 0 ); i++ ); - if ( yc[i] > ( xc[i] || 0 ) ) e--; - - if ( s < 0 ) { - qc.push(1); - more = true; - } else { - xL = xc.length; - yL = yc.length; - i = 0; - s += 2; - - // Normalise xc and yc so highest order digit of yc is >= base / 2. - - n = mathfloor( base / ( yc[0] + 1 ) ); - - // Not necessary, but to handle odd bases where yc[0] == ( base / 2 ) - 1. - // if ( n > 1 || n++ == 1 && yc[0] < base / 2 ) { - if ( n > 1 ) { - yc = multiply( yc, n, base ); - xc = multiply( xc, n, base ); - yL = yc.length; - xL = xc.length; - } - - xi = yL; - rem = xc.slice( 0, yL ); - remL = rem.length; - - // Add zeros to make remainder as long as divisor. - for ( ; remL < yL; rem[remL++] = 0 ); - yz = yc.slice(); - yz = [0].concat(yz); - yc0 = yc[0]; - if ( yc[1] >= base / 2 ) yc0++; - // Not necessary, but to prevent trial digit n > base, when using base 3. - // else if ( base == 3 && yc0 == 1 ) yc0 = 1 + 1e-15; - - do { - n = 0; - - // Compare divisor and remainder. - cmp = compare( yc, rem, yL, remL ); - - // If divisor < remainder. - if ( cmp < 0 ) { - - // Calculate trial digit, n. - - rem0 = rem[0]; - if ( yL != remL ) rem0 = rem0 * base + ( rem[1] || 0 ); - - // n is how many times the divisor goes into the current remainder. - n = mathfloor( rem0 / yc0 ); - - // Algorithm: - // 1. product = divisor * trial digit (n) - // 2. if product > remainder: product -= divisor, n-- - // 3. remainder -= product - // 4. if product was < remainder at 2: - // 5. compare new remainder and divisor - // 6. If remainder > divisor: remainder -= divisor, n++ - - if ( n > 1 ) { - - // n may be > base only when base is 3. - if (n >= base) n = base - 1; - - // product = divisor * trial digit. - prod = multiply( yc, n, base ); - prodL = prod.length; - remL = rem.length; - - // Compare product and remainder. - // If product > remainder. - // Trial digit n too high. - // n is 1 too high about 5% of the time, and is not known to have - // ever been more than 1 too high. - while ( compare( prod, rem, prodL, remL ) == 1 ) { - n--; - - // Subtract divisor from product. - subtract( prod, yL < prodL ? yz : yc, prodL, base ); - prodL = prod.length; - cmp = 1; - } - } else { - - // n is 0 or 1, cmp is -1. - // If n is 0, there is no need to compare yc and rem again below, - // so change cmp to 1 to avoid it. - // If n is 1, leave cmp as -1, so yc and rem are compared again. - if ( n == 0 ) { - - // divisor < remainder, so n must be at least 1. - cmp = n = 1; - } - - // product = divisor - prod = yc.slice(); - prodL = prod.length; - } - - if ( prodL < remL ) prod = [0].concat(prod); - - // Subtract product from remainder. - subtract( rem, prod, remL, base ); - remL = rem.length; - - // If product was < remainder. - if ( cmp == -1 ) { - - // Compare divisor and new remainder. - // If divisor < new remainder, subtract divisor from remainder. - // Trial digit n too low. - // n is 1 too low about 5% of the time, and very rarely 2 too low. - while ( compare( yc, rem, yL, remL ) < 1 ) { - n++; - - // Subtract divisor from remainder. - subtract( rem, yL < remL ? yz : yc, remL, base ); - remL = rem.length; - } - } - } else if ( cmp === 0 ) { - n++; - rem = [0]; - } // else cmp === 1 and n will be 0 - - // Add the next digit, n, to the result array. - qc[i++] = n; - - // Update the remainder. - if ( rem[0] ) { - rem[remL++] = xc[xi] || 0; - } else { - rem = [ xc[xi] ]; - remL = 1; - } - } while ( ( xi++ < xL || rem[0] != null ) && s-- ); - - more = rem[0] != null; - - // Leading zero? - if ( !qc[0] ) qc.splice(0, 1); - } - - if ( base == BASE ) { - - // To calculate q.e, first get the number of digits of qc[0]. - for ( i = 1, s = qc[0]; s >= 10; s /= 10, i++ ); - round( q, dp + ( q.e = i + e * LOG_BASE - 1 ) + 1, rm, more ); - - // Caller is convertBase. - } else { - q.e = e; - q.r = +more; - } - - return q; - }; - })(); - - - /* - * Return a string representing the value of BigNumber n in fixed-point or exponential - * notation rounded to the specified decimal places or significant digits. - * - * n is a BigNumber. - * i is the index of the last digit required (i.e. the digit that may be rounded up). - * rm is the rounding mode. - * caller is caller id: toExponential 19, toFixed 20, toFormat 21, toPrecision 24. - */ - function format( n, i, rm, caller ) { - var c0, e, ne, len, str; - - rm = rm != null && isValidInt( rm, 0, 8, caller, roundingMode ) - ? rm | 0 : ROUNDING_MODE; - - if ( !n.c ) return n.toString(); - c0 = n.c[0]; - ne = n.e; - - if ( i == null ) { - str = coeffToString( n.c ); - str = caller == 19 || caller == 24 && ne <= TO_EXP_NEG - ? toExponential( str, ne ) - : toFixedPoint( str, ne ); - } else { - n = round( new BigNumber(n), i, rm ); - - // n.e may have changed if the value was rounded up. - e = n.e; - - str = coeffToString( n.c ); - len = str.length; - - // toPrecision returns exponential notation if the number of significant digits - // specified is less than the number of digits necessary to represent the integer - // part of the value in fixed-point notation. - - // Exponential notation. - if ( caller == 19 || caller == 24 && ( i <= e || e <= TO_EXP_NEG ) ) { - - // Append zeros? - for ( ; len < i; str += '0', len++ ); - str = toExponential( str, e ); - - // Fixed-point notation. - } else { - i -= ne; - str = toFixedPoint( str, e ); - - // Append zeros? - if ( e + 1 > len ) { - if ( --i > 0 ) for ( str += '.'; i--; str += '0' ); - } else { - i += e - len; - if ( i > 0 ) { - if ( e + 1 == len ) str += '.'; - for ( ; i--; str += '0' ); - } - } - } - } - - return n.s < 0 && c0 ? '-' + str : str; - } - - - // Handle BigNumber.max and BigNumber.min. - function maxOrMin( args, method ) { - var m, n, - i = 0; - - if ( isArray( args[0] ) ) args = args[0]; - m = new BigNumber( args[0] ); - - for ( ; ++i < args.length; ) { - n = new BigNumber( args[i] ); - - // If any number is NaN, return NaN. - if ( !n.s ) { - m = n; - break; - } else if ( method.call( m, n ) ) { - m = n; - } - } - - return m; - } - - - /* - * Return true if n is an integer in range, otherwise throw. - * Use for argument validation when ERRORS is true. - */ - function intValidatorWithErrors( n, min, max, caller, name ) { - if ( n < min || n > max || n != truncate(n) ) { - raise( caller, ( name || 'decimal places' ) + - ( n < min || n > max ? ' out of range' : ' not an integer' ), n ); - } - - return true; - } - - - /* - * Strip trailing zeros, calculate base 10 exponent and check against MIN_EXP and MAX_EXP. - * Called by minus, plus and times. - */ - function normalise( n, c, e ) { - var i = 1, - j = c.length; - - // Remove trailing zeros. - for ( ; !c[--j]; c.pop() ); - - // Calculate the base 10 exponent. First get the number of digits of c[0]. - for ( j = c[0]; j >= 10; j /= 10, i++ ); - - // Overflow? - if ( ( e = i + e * LOG_BASE - 1 ) > MAX_EXP ) { - - // Infinity. - n.c = n.e = null; - - // Underflow? - } else if ( e < MIN_EXP ) { - - // Zero. - n.c = [ n.e = 0 ]; - } else { - n.e = e; - n.c = c; - } - - return n; - } - - - // Handle values that fail the validity test in BigNumber. - parseNumeric = (function () { - var basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i, - dotAfter = /^([^.]+)\.$/, - dotBefore = /^\.([^.]+)$/, - isInfinityOrNaN = /^-?(Infinity|NaN)$/, - whitespaceOrPlus = /^\s*\+(?=[\w.])|^\s+|\s+$/g; - - return function ( x, str, num, b ) { - var base, - s = num ? str : str.replace( whitespaceOrPlus, '' ); - - // No exception on ±Infinity or NaN. - if ( isInfinityOrNaN.test(s) ) { - x.s = isNaN(s) ? null : s < 0 ? -1 : 1; - } else { - if ( !num ) { - - // basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i - s = s.replace( basePrefix, function ( m, p1, p2 ) { - base = ( p2 = p2.toLowerCase() ) == 'x' ? 16 : p2 == 'b' ? 2 : 8; - return !b || b == base ? p1 : m; - }); - - if (b) { - base = b; - - // E.g. '1.' to '1', '.1' to '0.1' - s = s.replace( dotAfter, '$1' ).replace( dotBefore, '0.$1' ); - } - - if ( str != s ) return new BigNumber( s, base ); - } - - // 'new BigNumber() not a number: {n}' - // 'new BigNumber() not a base {b} number: {n}' - if (ERRORS) raise( id, 'not a' + ( b ? ' base ' + b : '' ) + ' number', str ); - x.s = null; - } - - x.c = x.e = null; - id = 0; - } - })(); - - - // Throw a BigNumber Error. - function raise( caller, msg, val ) { - var error = new Error( [ - 'new BigNumber', // 0 - 'cmp', // 1 - 'config', // 2 - 'div', // 3 - 'divToInt', // 4 - 'eq', // 5 - 'gt', // 6 - 'gte', // 7 - 'lt', // 8 - 'lte', // 9 - 'minus', // 10 - 'mod', // 11 - 'plus', // 12 - 'precision', // 13 - 'random', // 14 - 'round', // 15 - 'shift', // 16 - 'times', // 17 - 'toDigits', // 18 - 'toExponential', // 19 - 'toFixed', // 20 - 'toFormat', // 21 - 'toFraction', // 22 - 'pow', // 23 - 'toPrecision', // 24 - 'toString', // 25 - 'BigNumber' // 26 - ][caller] + '() ' + msg + ': ' + val ); - - error.name = 'BigNumber Error'; - id = 0; - throw error; - } - - - /* - * Round x to sd significant digits using rounding mode rm. Check for over/under-flow. - * If r is truthy, it is known that there are more digits after the rounding digit. - */ - function round( x, sd, rm, r ) { - var d, i, j, k, n, ni, rd, - xc = x.c, - pows10 = POWS_TEN; - - // if x is not Infinity or NaN... - if (xc) { - - // rd is the rounding digit, i.e. the digit after the digit that may be rounded up. - // n is a base 1e14 number, the value of the element of array x.c containing rd. - // ni is the index of n within x.c. - // d is the number of digits of n. - // i is the index of rd within n including leading zeros. - // j is the actual index of rd within n (if < 0, rd is a leading zero). - out: { - - // Get the number of digits of the first element of xc. - for ( d = 1, k = xc[0]; k >= 10; k /= 10, d++ ); - i = sd - d; - - // If the rounding digit is in the first element of xc... - if ( i < 0 ) { - i += LOG_BASE; - j = sd; - n = xc[ ni = 0 ]; - - // Get the rounding digit at index j of n. - rd = n / pows10[ d - j - 1 ] % 10 | 0; - } else { - ni = mathceil( ( i + 1 ) / LOG_BASE ); - - if ( ni >= xc.length ) { - - if (r) { - - // Needed by sqrt. - for ( ; xc.length <= ni; xc.push(0) ); - n = rd = 0; - d = 1; - i %= LOG_BASE; - j = i - LOG_BASE + 1; - } else { - break out; - } - } else { - n = k = xc[ni]; - - // Get the number of digits of n. - for ( d = 1; k >= 10; k /= 10, d++ ); - - // Get the index of rd within n. - i %= LOG_BASE; - - // Get the index of rd within n, adjusted for leading zeros. - // The number of leading zeros of n is given by LOG_BASE - d. - j = i - LOG_BASE + d; - - // Get the rounding digit at index j of n. - rd = j < 0 ? 0 : n / pows10[ d - j - 1 ] % 10 | 0; - } - } - - r = r || sd < 0 || - - // Are there any non-zero digits after the rounding digit? - // The expression n % pows10[ d - j - 1 ] returns all digits of n to the right - // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714. - xc[ni + 1] != null || ( j < 0 ? n : n % pows10[ d - j - 1 ] ); - - r = rm < 4 - ? ( rd || r ) && ( rm == 0 || rm == ( x.s < 0 ? 3 : 2 ) ) - : rd > 5 || rd == 5 && ( rm == 4 || r || rm == 6 && - - // Check whether the digit to the left of the rounding digit is odd. - ( ( i > 0 ? j > 0 ? n / pows10[ d - j ] : 0 : xc[ni - 1] ) % 10 ) & 1 || - rm == ( x.s < 0 ? 8 : 7 ) ); - - if ( sd < 1 || !xc[0] ) { - xc.length = 0; - - if (r) { - - // Convert sd to decimal places. - sd -= x.e + 1; - - // 1, 0.1, 0.01, 0.001, 0.0001 etc. - xc[0] = pows10[ ( LOG_BASE - sd % LOG_BASE ) % LOG_BASE ]; - x.e = -sd || 0; - } else { - - // Zero. - xc[0] = x.e = 0; - } - - return x; - } - - // Remove excess digits. - if ( i == 0 ) { - xc.length = ni; - k = 1; - ni--; - } else { - xc.length = ni + 1; - k = pows10[ LOG_BASE - i ]; - - // E.g. 56700 becomes 56000 if 7 is the rounding digit. - // j > 0 means i > number of leading zeros of n. - xc[ni] = j > 0 ? mathfloor( n / pows10[ d - j ] % pows10[j] ) * k : 0; - } - - // Round up? - if (r) { - - for ( ; ; ) { - - // If the digit to be rounded up is in the first element of xc... - if ( ni == 0 ) { - - // i will be the length of xc[0] before k is added. - for ( i = 1, j = xc[0]; j >= 10; j /= 10, i++ ); - j = xc[0] += k; - for ( k = 1; j >= 10; j /= 10, k++ ); - - // if i != k the length has increased. - if ( i != k ) { - x.e++; - if ( xc[0] == BASE ) xc[0] = 1; - } - - break; - } else { - xc[ni] += k; - if ( xc[ni] != BASE ) break; - xc[ni--] = 0; - k = 1; - } - } - } - - // Remove trailing zeros. - for ( i = xc.length; xc[--i] === 0; xc.pop() ); - } - - // Overflow? Infinity. - if ( x.e > MAX_EXP ) { - x.c = x.e = null; - - // Underflow? Zero. - } else if ( x.e < MIN_EXP ) { - x.c = [ x.e = 0 ]; - } - } - - return x; - } - - - // PROTOTYPE/INSTANCE METHODS - - - /* - * Return a new BigNumber whose value is the absolute value of this BigNumber. - */ - P.absoluteValue = P.abs = function () { - var x = new BigNumber(this); - if ( x.s < 0 ) x.s = 1; - return x; - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber rounded to a whole - * number in the direction of Infinity. - */ - P.ceil = function () { - return round( new BigNumber(this), this.e + 1, 2 ); - }; - - - /* - * Return - * 1 if the value of this BigNumber is greater than the value of BigNumber(y, b), - * -1 if the value of this BigNumber is less than the value of BigNumber(y, b), - * 0 if they have the same value, - * or null if the value of either is NaN. - */ - P.comparedTo = P.cmp = function ( y, b ) { - id = 1; - return compare( this, new BigNumber( y, b ) ); - }; - - - /* - * Return the number of decimal places of the value of this BigNumber, or null if the value - * of this BigNumber is ±Infinity or NaN. - */ - P.decimalPlaces = P.dp = function () { - var n, v, - c = this.c; - - if ( !c ) return null; - n = ( ( v = c.length - 1 ) - bitFloor( this.e / LOG_BASE ) ) * LOG_BASE; - - // Subtract the number of trailing zeros of the last number. - if ( v = c[v] ) for ( ; v % 10 == 0; v /= 10, n-- ); - if ( n < 0 ) n = 0; - - return n; - }; - - - /* - * n / 0 = I - * n / N = N - * n / I = 0 - * 0 / n = 0 - * 0 / 0 = N - * 0 / N = N - * 0 / I = 0 - * N / n = N - * N / 0 = N - * N / N = N - * N / I = N - * I / n = I - * I / 0 = I - * I / N = N - * I / I = N - * - * Return a new BigNumber whose value is the value of this BigNumber divided by the value of - * BigNumber(y, b), rounded according to DECIMAL_PLACES and ROUNDING_MODE. - */ - P.dividedBy = P.div = function ( y, b ) { - id = 3; - return div( this, new BigNumber( y, b ), DECIMAL_PLACES, ROUNDING_MODE ); - }; - - - /* - * Return a new BigNumber whose value is the integer part of dividing the value of this - * BigNumber by the value of BigNumber(y, b). - */ - P.dividedToIntegerBy = P.divToInt = function ( y, b ) { - id = 4; - return div( this, new BigNumber( y, b ), 0, 1 ); - }; - - - /* - * Return true if the value of this BigNumber is equal to the value of BigNumber(y, b), - * otherwise returns false. - */ - P.equals = P.eq = function ( y, b ) { - id = 5; - return compare( this, new BigNumber( y, b ) ) === 0; - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber rounded to a whole - * number in the direction of -Infinity. - */ - P.floor = function () { - return round( new BigNumber(this), this.e + 1, 3 ); - }; - - - /* - * Return true if the value of this BigNumber is greater than the value of BigNumber(y, b), - * otherwise returns false. - */ - P.greaterThan = P.gt = function ( y, b ) { - id = 6; - return compare( this, new BigNumber( y, b ) ) > 0; - }; - - - /* - * Return true if the value of this BigNumber is greater than or equal to the value of - * BigNumber(y, b), otherwise returns false. - */ - P.greaterThanOrEqualTo = P.gte = function ( y, b ) { - id = 7; - return ( b = compare( this, new BigNumber( y, b ) ) ) === 1 || b === 0; - - }; - - - /* - * Return true if the value of this BigNumber is a finite number, otherwise returns false. - */ - P.isFinite = function () { - return !!this.c; - }; - - - /* - * Return true if the value of this BigNumber is an integer, otherwise return false. - */ - P.isInteger = P.isInt = function () { - return !!this.c && bitFloor( this.e / LOG_BASE ) > this.c.length - 2; - }; - - - /* - * Return true if the value of this BigNumber is NaN, otherwise returns false. - */ - P.isNaN = function () { - return !this.s; - }; - - - /* - * Return true if the value of this BigNumber is negative, otherwise returns false. - */ - P.isNegative = P.isNeg = function () { - return this.s < 0; - }; - - - /* - * Return true if the value of this BigNumber is 0 or -0, otherwise returns false. - */ - P.isZero = function () { - return !!this.c && this.c[0] == 0; - }; - - - /* - * Return true if the value of this BigNumber is less than the value of BigNumber(y, b), - * otherwise returns false. - */ - P.lessThan = P.lt = function ( y, b ) { - id = 8; - return compare( this, new BigNumber( y, b ) ) < 0; - }; - - - /* - * Return true if the value of this BigNumber is less than or equal to the value of - * BigNumber(y, b), otherwise returns false. - */ - P.lessThanOrEqualTo = P.lte = function ( y, b ) { - id = 9; - return ( b = compare( this, new BigNumber( y, b ) ) ) === -1 || b === 0; - }; - - - /* - * n - 0 = n - * n - N = N - * n - I = -I - * 0 - n = -n - * 0 - 0 = 0 - * 0 - N = N - * 0 - I = -I - * N - n = N - * N - 0 = N - * N - N = N - * N - I = N - * I - n = I - * I - 0 = I - * I - N = N - * I - I = N - * - * Return a new BigNumber whose value is the value of this BigNumber minus the value of - * BigNumber(y, b). - */ - P.minus = P.sub = function ( y, b ) { - var i, j, t, xLTy, - x = this, - a = x.s; - - id = 10; - y = new BigNumber( y, b ); - b = y.s; - - // Either NaN? - if ( !a || !b ) return new BigNumber(NaN); - - // Signs differ? - if ( a != b ) { - y.s = -b; - return x.plus(y); - } - - var xe = x.e / LOG_BASE, - ye = y.e / LOG_BASE, - xc = x.c, - yc = y.c; - - if ( !xe || !ye ) { - - // Either Infinity? - if ( !xc || !yc ) return xc ? ( y.s = -b, y ) : new BigNumber( yc ? x : NaN ); - - // Either zero? - if ( !xc[0] || !yc[0] ) { - - // Return y if y is non-zero, x if x is non-zero, or zero if both are zero. - return yc[0] ? ( y.s = -b, y ) : new BigNumber( xc[0] ? x : - - // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity - ROUNDING_MODE == 3 ? -0 : 0 ); - } - } - - xe = bitFloor(xe); - ye = bitFloor(ye); - xc = xc.slice(); - - // Determine which is the bigger number. - if ( a = xe - ye ) { - - if ( xLTy = a < 0 ) { - a = -a; - t = xc; - } else { - ye = xe; - t = yc; - } - - t.reverse(); - - // Prepend zeros to equalise exponents. - for ( b = a; b--; t.push(0) ); - t.reverse(); - } else { - - // Exponents equal. Check digit by digit. - j = ( xLTy = ( a = xc.length ) < ( b = yc.length ) ) ? a : b; - - for ( a = b = 0; b < j; b++ ) { - - if ( xc[b] != yc[b] ) { - xLTy = xc[b] < yc[b]; - break; - } - } - } - - // x < y? Point xc to the array of the bigger number. - if (xLTy) t = xc, xc = yc, yc = t, y.s = -y.s; - - b = ( j = yc.length ) - ( i = xc.length ); - - // Append zeros to xc if shorter. - // No need to add zeros to yc if shorter as subtract only needs to start at yc.length. - if ( b > 0 ) for ( ; b--; xc[i++] = 0 ); - b = BASE - 1; - - // Subtract yc from xc. - for ( ; j > a; ) { - - if ( xc[--j] < yc[j] ) { - for ( i = j; i && !xc[--i]; xc[i] = b ); - --xc[i]; - xc[j] += BASE; - } - - xc[j] -= yc[j]; - } - - // Remove leading zeros and adjust exponent accordingly. - for ( ; xc[0] == 0; xc.splice(0, 1), --ye ); - - // Zero? - if ( !xc[0] ) { - - // Following IEEE 754 (2008) 6.3, - // n - n = +0 but n - n = -0 when rounding towards -Infinity. - y.s = ROUNDING_MODE == 3 ? -1 : 1; - y.c = [ y.e = 0 ]; - return y; - } - - // No need to check for Infinity as +x - +y != Infinity && -x - -y != Infinity - // for finite x and y. - return normalise( y, xc, ye ); - }; - - - /* - * n % 0 = N - * n % N = N - * n % I = n - * 0 % n = 0 - * -0 % n = -0 - * 0 % 0 = N - * 0 % N = N - * 0 % I = 0 - * N % n = N - * N % 0 = N - * N % N = N - * N % I = N - * I % n = N - * I % 0 = N - * I % N = N - * I % I = N - * - * Return a new BigNumber whose value is the value of this BigNumber modulo the value of - * BigNumber(y, b). The result depends on the value of MODULO_MODE. - */ - P.modulo = P.mod = function ( y, b ) { - var q, s, - x = this; - - id = 11; - y = new BigNumber( y, b ); - - // Return NaN if x is Infinity or NaN, or y is NaN or zero. - if ( !x.c || !y.s || y.c && !y.c[0] ) { - return new BigNumber(NaN); - - // Return x if y is Infinity or x is zero. - } else if ( !y.c || x.c && !x.c[0] ) { - return new BigNumber(x); - } - - if ( MODULO_MODE == 9 ) { - - // Euclidian division: q = sign(y) * floor(x / abs(y)) - // r = x - qy where 0 <= r < abs(y) - s = y.s; - y.s = 1; - q = div( x, y, 0, 3 ); - y.s = s; - q.s *= s; - } else { - q = div( x, y, 0, MODULO_MODE ); - } - - return x.minus( q.times(y) ); - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber negated, - * i.e. multiplied by -1. - */ - P.negated = P.neg = function () { - var x = new BigNumber(this); - x.s = -x.s || null; - return x; - }; - - - /* - * n + 0 = n - * n + N = N - * n + I = I - * 0 + n = n - * 0 + 0 = 0 - * 0 + N = N - * 0 + I = I - * N + n = N - * N + 0 = N - * N + N = N - * N + I = N - * I + n = I - * I + 0 = I - * I + N = N - * I + I = I - * - * Return a new BigNumber whose value is the value of this BigNumber plus the value of - * BigNumber(y, b). - */ - P.plus = P.add = function ( y, b ) { - var t, - x = this, - a = x.s; - - id = 12; - y = new BigNumber( y, b ); - b = y.s; - - // Either NaN? - if ( !a || !b ) return new BigNumber(NaN); - - // Signs differ? - if ( a != b ) { - y.s = -b; - return x.minus(y); - } - - var xe = x.e / LOG_BASE, - ye = y.e / LOG_BASE, - xc = x.c, - yc = y.c; - - if ( !xe || !ye ) { - - // Return ±Infinity if either ±Infinity. - if ( !xc || !yc ) return new BigNumber( a / 0 ); - - // Either zero? - // Return y if y is non-zero, x if x is non-zero, or zero if both are zero. - if ( !xc[0] || !yc[0] ) return yc[0] ? y : new BigNumber( xc[0] ? x : a * 0 ); - } - - xe = bitFloor(xe); - ye = bitFloor(ye); - xc = xc.slice(); - - // Prepend zeros to equalise exponents. Faster to use reverse then do unshifts. - if ( a = xe - ye ) { - if ( a > 0 ) { - ye = xe; - t = yc; - } else { - a = -a; - t = xc; - } - - t.reverse(); - for ( ; a--; t.push(0) ); - t.reverse(); - } - - a = xc.length; - b = yc.length; - - // Point xc to the longer array, and b to the shorter length. - if ( a - b < 0 ) t = yc, yc = xc, xc = t, b = a; - - // Only start adding at yc.length - 1 as the further digits of xc can be ignored. - for ( a = 0; b; ) { - a = ( xc[--b] = xc[b] + yc[b] + a ) / BASE | 0; - xc[b] = BASE === xc[b] ? 0 : xc[b] % BASE; - } - - if (a) { - xc = [a].concat(xc); - ++ye; - } - - // No need to check for zero, as +x + +y != 0 && -x + -y != 0 - // ye = MAX_EXP + 1 possible - return normalise( y, xc, ye ); - }; - - - /* - * Return the number of significant digits of the value of this BigNumber. - * - * [z] {boolean|number} Whether to count integer-part trailing zeros: true, false, 1 or 0. - */ - P.precision = P.sd = function (z) { - var n, v, - x = this, - c = x.c; - - // 'precision() argument not a boolean or binary digit: {z}' - if ( z != null && z !== !!z && z !== 1 && z !== 0 ) { - if (ERRORS) raise( 13, 'argument' + notBool, z ); - if ( z != !!z ) z = null; - } - - if ( !c ) return null; - v = c.length - 1; - n = v * LOG_BASE + 1; - - if ( v = c[v] ) { - - // Subtract the number of trailing zeros of the last element. - for ( ; v % 10 == 0; v /= 10, n-- ); - - // Add the number of digits of the first element. - for ( v = c[0]; v >= 10; v /= 10, n++ ); - } - - if ( z && x.e + 1 > n ) n = x.e + 1; - - return n; - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber rounded to a maximum of - * dp decimal places using rounding mode rm, or to 0 and ROUNDING_MODE respectively if - * omitted. - * - * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'round() decimal places out of range: {dp}' - * 'round() decimal places not an integer: {dp}' - * 'round() rounding mode not an integer: {rm}' - * 'round() rounding mode out of range: {rm}' - */ - P.round = function ( dp, rm ) { - var n = new BigNumber(this); - - if ( dp == null || isValidInt( dp, 0, MAX, 15 ) ) { - round( n, ~~dp + this.e + 1, rm == null || - !isValidInt( rm, 0, 8, 15, roundingMode ) ? ROUNDING_MODE : rm | 0 ); - } - - return n; - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber shifted by k places - * (powers of 10). Shift to the right if n > 0, and to the left if n < 0. - * - * k {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive. - * - * If k is out of range and ERRORS is false, the result will be ±0 if k < 0, or ±Infinity - * otherwise. - * - * 'shift() argument not an integer: {k}' - * 'shift() argument out of range: {k}' - */ - P.shift = function (k) { - var n = this; - return isValidInt( k, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER, 16, 'argument' ) - - // k < 1e+21, or truncate(k) will produce exponential notation. - ? n.times( '1e' + truncate(k) ) - : new BigNumber( n.c && n.c[0] && ( k < -MAX_SAFE_INTEGER || k > MAX_SAFE_INTEGER ) - ? n.s * ( k < 0 ? 0 : 1 / 0 ) - : n ); - }; - - - /* - * sqrt(-n) = N - * sqrt( N) = N - * sqrt(-I) = N - * sqrt( I) = I - * sqrt( 0) = 0 - * sqrt(-0) = -0 - * - * Return a new BigNumber whose value is the square root of the value of this BigNumber, - * rounded according to DECIMAL_PLACES and ROUNDING_MODE. - */ - P.squareRoot = P.sqrt = function () { - var m, n, r, rep, t, - x = this, - c = x.c, - s = x.s, - e = x.e, - dp = DECIMAL_PLACES + 4, - half = new BigNumber('0.5'); - - // Negative/NaN/Infinity/zero? - if ( s !== 1 || !c || !c[0] ) { - return new BigNumber( !s || s < 0 && ( !c || c[0] ) ? NaN : c ? x : 1 / 0 ); - } - - // Initial estimate. - s = Math.sqrt( +x ); - - // Math.sqrt underflow/overflow? - // Pass x to Math.sqrt as integer, then adjust the exponent of the result. - if ( s == 0 || s == 1 / 0 ) { - n = coeffToString(c); - if ( ( n.length + e ) % 2 == 0 ) n += '0'; - s = Math.sqrt(n); - e = bitFloor( ( e + 1 ) / 2 ) - ( e < 0 || e % 2 ); - - if ( s == 1 / 0 ) { - n = '1e' + e; - } else { - n = s.toExponential(); - n = n.slice( 0, n.indexOf('e') + 1 ) + e; - } - - r = new BigNumber(n); - } else { - r = new BigNumber( s + '' ); - } - - // Check for zero. - // r could be zero if MIN_EXP is changed after the this value was created. - // This would cause a division by zero (x/t) and hence Infinity below, which would cause - // coeffToString to throw. - if ( r.c[0] ) { - e = r.e; - s = e + dp; - if ( s < 3 ) s = 0; - - // Newton-Raphson iteration. - for ( ; ; ) { - t = r; - r = half.times( t.plus( div( x, t, dp, 1 ) ) ); - - if ( coeffToString( t.c ).slice( 0, s ) === ( n = - coeffToString( r.c ) ).slice( 0, s ) ) { - - // The exponent of r may here be one less than the final result exponent, - // e.g 0.0009999 (e-4) --> 0.001 (e-3), so adjust s so the rounding digits - // are indexed correctly. - if ( r.e < e ) --s; - n = n.slice( s - 3, s + 1 ); - - // The 4th rounding digit may be in error by -1 so if the 4 rounding digits - // are 9999 or 4999 (i.e. approaching a rounding boundary) continue the - // iteration. - if ( n == '9999' || !rep && n == '4999' ) { - - // On the first iteration only, check to see if rounding up gives the - // exact result as the nines may infinitely repeat. - if ( !rep ) { - round( t, t.e + DECIMAL_PLACES + 2, 0 ); - - if ( t.times(t).eq(x) ) { - r = t; - break; - } - } - - dp += 4; - s += 4; - rep = 1; - } else { - - // If rounding digits are null, 0{0,4} or 50{0,3}, check for exact - // result. If not, then there are further digits and m will be truthy. - if ( !+n || !+n.slice(1) && n.charAt(0) == '5' ) { - - // Truncate to the first rounding digit. - round( r, r.e + DECIMAL_PLACES + 2, 1 ); - m = !r.times(r).eq(x); - } - - break; - } - } - } - } - - return round( r, r.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m ); - }; - - - /* - * n * 0 = 0 - * n * N = N - * n * I = I - * 0 * n = 0 - * 0 * 0 = 0 - * 0 * N = N - * 0 * I = N - * N * n = N - * N * 0 = N - * N * N = N - * N * I = N - * I * n = I - * I * 0 = N - * I * N = N - * I * I = I - * - * Return a new BigNumber whose value is the value of this BigNumber times the value of - * BigNumber(y, b). - */ - P.times = P.mul = function ( y, b ) { - var c, e, i, j, k, m, xcL, xlo, xhi, ycL, ylo, yhi, zc, - base, sqrtBase, - x = this, - xc = x.c, - yc = ( id = 17, y = new BigNumber( y, b ) ).c; - - // Either NaN, ±Infinity or ±0? - if ( !xc || !yc || !xc[0] || !yc[0] ) { - - // Return NaN if either is NaN, or one is 0 and the other is Infinity. - if ( !x.s || !y.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc ) { - y.c = y.e = y.s = null; - } else { - y.s *= x.s; - - // Return ±Infinity if either is ±Infinity. - if ( !xc || !yc ) { - y.c = y.e = null; - - // Return ±0 if either is ±0. - } else { - y.c = [0]; - y.e = 0; - } - } - - return y; - } - - e = bitFloor( x.e / LOG_BASE ) + bitFloor( y.e / LOG_BASE ); - y.s *= x.s; - xcL = xc.length; - ycL = yc.length; - - // Ensure xc points to longer array and xcL to its length. - if ( xcL < ycL ) zc = xc, xc = yc, yc = zc, i = xcL, xcL = ycL, ycL = i; - - // Initialise the result array with zeros. - for ( i = xcL + ycL, zc = []; i--; zc.push(0) ); - - base = BASE; - sqrtBase = SQRT_BASE; - - for ( i = ycL; --i >= 0; ) { - c = 0; - ylo = yc[i] % sqrtBase; - yhi = yc[i] / sqrtBase | 0; - - for ( k = xcL, j = i + k; j > i; ) { - xlo = xc[--k] % sqrtBase; - xhi = xc[k] / sqrtBase | 0; - m = yhi * xlo + xhi * ylo; - xlo = ylo * xlo + ( ( m % sqrtBase ) * sqrtBase ) + zc[j] + c; - c = ( xlo / base | 0 ) + ( m / sqrtBase | 0 ) + yhi * xhi; - zc[j--] = xlo % base; - } - - zc[j] = c; - } - - if (c) { - ++e; - } else { - zc.splice(0, 1); - } - - return normalise( y, zc, e ); - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber rounded to a maximum of - * sd significant digits using rounding mode rm, or ROUNDING_MODE if rm is omitted. - * - * [sd] {number} Significant digits. Integer, 1 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'toDigits() precision out of range: {sd}' - * 'toDigits() precision not an integer: {sd}' - * 'toDigits() rounding mode not an integer: {rm}' - * 'toDigits() rounding mode out of range: {rm}' - */ - P.toDigits = function ( sd, rm ) { - var n = new BigNumber(this); - sd = sd == null || !isValidInt( sd, 1, MAX, 18, 'precision' ) ? null : sd | 0; - rm = rm == null || !isValidInt( rm, 0, 8, 18, roundingMode ) ? ROUNDING_MODE : rm | 0; - return sd ? round( n, sd, rm ) : n; - }; - - - /* - * Return a string representing the value of this BigNumber in exponential notation and - * rounded using ROUNDING_MODE to dp fixed decimal places. - * - * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'toExponential() decimal places not an integer: {dp}' - * 'toExponential() decimal places out of range: {dp}' - * 'toExponential() rounding mode not an integer: {rm}' - * 'toExponential() rounding mode out of range: {rm}' - */ - P.toExponential = function ( dp, rm ) { - return format( this, - dp != null && isValidInt( dp, 0, MAX, 19 ) ? ~~dp + 1 : null, rm, 19 ); - }; - - - /* - * Return a string representing the value of this BigNumber in fixed-point notation rounding - * to dp fixed decimal places using rounding mode rm, or ROUNDING_MODE if rm is omitted. - * - * Note: as with JavaScript's number type, (-0).toFixed(0) is '0', - * but e.g. (-0.00001).toFixed(0) is '-0'. - * - * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'toFixed() decimal places not an integer: {dp}' - * 'toFixed() decimal places out of range: {dp}' - * 'toFixed() rounding mode not an integer: {rm}' - * 'toFixed() rounding mode out of range: {rm}' - */ - P.toFixed = function ( dp, rm ) { - return format( this, dp != null && isValidInt( dp, 0, MAX, 20 ) - ? ~~dp + this.e + 1 : null, rm, 20 ); - }; - - - /* - * Return a string representing the value of this BigNumber in fixed-point notation rounded - * using rm or ROUNDING_MODE to dp decimal places, and formatted according to the properties - * of the FORMAT object (see BigNumber.config). - * - * FORMAT = { - * decimalSeparator : '.', - * groupSeparator : ',', - * groupSize : 3, - * secondaryGroupSize : 0, - * fractionGroupSeparator : '\xA0', // non-breaking space - * fractionGroupSize : 0 - * }; - * - * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'toFormat() decimal places not an integer: {dp}' - * 'toFormat() decimal places out of range: {dp}' - * 'toFormat() rounding mode not an integer: {rm}' - * 'toFormat() rounding mode out of range: {rm}' - */ - P.toFormat = function ( dp, rm ) { - var str = format( this, dp != null && isValidInt( dp, 0, MAX, 21 ) - ? ~~dp + this.e + 1 : null, rm, 21 ); - - if ( this.c ) { - var i, - arr = str.split('.'), - g1 = +FORMAT.groupSize, - g2 = +FORMAT.secondaryGroupSize, - groupSeparator = FORMAT.groupSeparator, - intPart = arr[0], - fractionPart = arr[1], - isNeg = this.s < 0, - intDigits = isNeg ? intPart.slice(1) : intPart, - len = intDigits.length; - - if (g2) i = g1, g1 = g2, g2 = i, len -= i; - - if ( g1 > 0 && len > 0 ) { - i = len % g1 || g1; - intPart = intDigits.substr( 0, i ); - - for ( ; i < len; i += g1 ) { - intPart += groupSeparator + intDigits.substr( i, g1 ); - } - - if ( g2 > 0 ) intPart += groupSeparator + intDigits.slice(i); - if (isNeg) intPart = '-' + intPart; - } - - str = fractionPart - ? intPart + FORMAT.decimalSeparator + ( ( g2 = +FORMAT.fractionGroupSize ) - ? fractionPart.replace( new RegExp( '\\d{' + g2 + '}\\B', 'g' ), - '$&' + FORMAT.fractionGroupSeparator ) - : fractionPart ) - : intPart; - } - - return str; - }; - - - /* - * Return a string array representing the value of this BigNumber as a simple fraction with - * an integer numerator and an integer denominator. The denominator will be a positive - * non-zero value less than or equal to the specified maximum denominator. If a maximum - * denominator is not specified, the denominator will be the lowest value necessary to - * represent the number exactly. - * - * [md] {number|string|BigNumber} Integer >= 1 and < Infinity. The maximum denominator. - * - * 'toFraction() max denominator not an integer: {md}' - * 'toFraction() max denominator out of range: {md}' - */ - P.toFraction = function (md) { - var arr, d0, d2, e, exp, n, n0, q, s, - k = ERRORS, - x = this, - xc = x.c, - d = new BigNumber(ONE), - n1 = d0 = new BigNumber(ONE), - d1 = n0 = new BigNumber(ONE); - - if ( md != null ) { - ERRORS = false; - n = new BigNumber(md); - ERRORS = k; - - if ( !( k = n.isInt() ) || n.lt(ONE) ) { - - if (ERRORS) { - raise( 22, - 'max denominator ' + ( k ? 'out of range' : 'not an integer' ), md ); - } - - // ERRORS is false: - // If md is a finite non-integer >= 1, round it to an integer and use it. - md = !k && n.c && round( n, n.e + 1, 1 ).gte(ONE) ? n : null; - } - } - - if ( !xc ) return x.toString(); - s = coeffToString(xc); - - // Determine initial denominator. - // d is a power of 10 and the minimum max denominator that specifies the value exactly. - e = d.e = s.length - x.e - 1; - d.c[0] = POWS_TEN[ ( exp = e % LOG_BASE ) < 0 ? LOG_BASE + exp : exp ]; - md = !md || n.cmp(d) > 0 ? ( e > 0 ? d : n1 ) : n; - - exp = MAX_EXP; - MAX_EXP = 1 / 0; - n = new BigNumber(s); - - // n0 = d1 = 0 - n0.c[0] = 0; - - for ( ; ; ) { - q = div( n, d, 0, 1 ); - d2 = d0.plus( q.times(d1) ); - if ( d2.cmp(md) == 1 ) break; - d0 = d1; - d1 = d2; - n1 = n0.plus( q.times( d2 = n1 ) ); - n0 = d2; - d = n.minus( q.times( d2 = d ) ); - n = d2; - } - - d2 = div( md.minus(d0), d1, 0, 1 ); - n0 = n0.plus( d2.times(n1) ); - d0 = d0.plus( d2.times(d1) ); - n0.s = n1.s = x.s; - e *= 2; - - // Determine which fraction is closer to x, n0/d0 or n1/d1 - arr = div( n1, d1, e, ROUNDING_MODE ).minus(x).abs().cmp( - div( n0, d0, e, ROUNDING_MODE ).minus(x).abs() ) < 1 - ? [ n1.toString(), d1.toString() ] - : [ n0.toString(), d0.toString() ]; - - MAX_EXP = exp; - return arr; - }; - - - /* - * Return the value of this BigNumber converted to a number primitive. - */ - P.toNumber = function () { - return +this; - }; - - - /* - * Return a BigNumber whose value is the value of this BigNumber raised to the power n. - * If m is present, return the result modulo m. - * If n is negative round according to DECIMAL_PLACES and ROUNDING_MODE. - * If POW_PRECISION is non-zero and m is not present, round to POW_PRECISION using - * ROUNDING_MODE. - * - * The modular power operation works efficiently when x, n, and m are positive integers, - * otherwise it is equivalent to calculating x.toPower(n).modulo(m) (with POW_PRECISION 0). - * - * n {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive. - * [m] {number|string|BigNumber} The modulus. - * - * 'pow() exponent not an integer: {n}' - * 'pow() exponent out of range: {n}' - * - * Performs 54 loop iterations for n of 9007199254740991. - */ - P.toPower = P.pow = function ( n, m ) { - var k, y, z, - i = mathfloor( n < 0 ? -n : +n ), - x = this; - - if ( m != null ) { - id = 23; - m = new BigNumber(m); - } - - // Pass ±Infinity to Math.pow if exponent is out of range. - if ( !isValidInt( n, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER, 23, 'exponent' ) && - ( !isFinite(n) || i > MAX_SAFE_INTEGER && ( n /= 0 ) || - parseFloat(n) != n && !( n = NaN ) ) || n == 0 ) { - k = Math.pow( +x, n ); - return new BigNumber( m ? k % m : k ); - } - - if (m) { - if ( n > 1 && x.gt(ONE) && x.isInt() && m.gt(ONE) && m.isInt() ) { - x = x.mod(m); - } else { - z = m; - - // Nullify m so only a single mod operation is performed at the end. - m = null; - } - } else if (POW_PRECISION) { - - // Truncating each coefficient array to a length of k after each multiplication - // equates to truncating significant digits to POW_PRECISION + [28, 41], - // i.e. there will be a minimum of 28 guard digits retained. - // (Using + 1.5 would give [9, 21] guard digits.) - k = mathceil( POW_PRECISION / LOG_BASE + 2 ); - } - - y = new BigNumber(ONE); - - for ( ; ; ) { - if ( i % 2 ) { - y = y.times(x); - if ( !y.c ) break; - if (k) { - if ( y.c.length > k ) y.c.length = k; - } else if (m) { - y = y.mod(m); - } - } - - i = mathfloor( i / 2 ); - if ( !i ) break; - x = x.times(x); - if (k) { - if ( x.c && x.c.length > k ) x.c.length = k; - } else if (m) { - x = x.mod(m); - } - } - - if (m) return y; - if ( n < 0 ) y = ONE.div(y); - - return z ? y.mod(z) : k ? round( y, POW_PRECISION, ROUNDING_MODE ) : y; - }; - - - /* - * Return a string representing the value of this BigNumber rounded to sd significant digits - * using rounding mode rm or ROUNDING_MODE. If sd is less than the number of digits - * necessary to represent the integer part of the value in fixed-point notation, then use - * exponential notation. - * - * [sd] {number} Significant digits. Integer, 1 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'toPrecision() precision not an integer: {sd}' - * 'toPrecision() precision out of range: {sd}' - * 'toPrecision() rounding mode not an integer: {rm}' - * 'toPrecision() rounding mode out of range: {rm}' - */ - P.toPrecision = function ( sd, rm ) { - return format( this, sd != null && isValidInt( sd, 1, MAX, 24, 'precision' ) - ? sd | 0 : null, rm, 24 ); - }; - - - /* - * Return a string representing the value of this BigNumber in base b, or base 10 if b is - * omitted. If a base is specified, including base 10, round according to DECIMAL_PLACES and - * ROUNDING_MODE. If a base is not specified, and this BigNumber has a positive exponent - * that is equal to or greater than TO_EXP_POS, or a negative exponent equal to or less than - * TO_EXP_NEG, return exponential notation. - * - * [b] {number} Integer, 2 to 64 inclusive. - * - * 'toString() base not an integer: {b}' - * 'toString() base out of range: {b}' - */ - P.toString = function (b) { - var str, - n = this, - s = n.s, - e = n.e; - - // Infinity or NaN? - if ( e === null ) { - - if (s) { - str = 'Infinity'; - if ( s < 0 ) str = '-' + str; - } else { - str = 'NaN'; - } - } else { - str = coeffToString( n.c ); - - if ( b == null || !isValidInt( b, 2, 64, 25, 'base' ) ) { - str = e <= TO_EXP_NEG || e >= TO_EXP_POS - ? toExponential( str, e ) - : toFixedPoint( str, e ); - } else { - str = convertBase( toFixedPoint( str, e ), b | 0, 10, s ); - } - - if ( s < 0 && n.c[0] ) str = '-' + str; - } - - return str; - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber truncated to a whole - * number. - */ - P.truncated = P.trunc = function () { - return round( new BigNumber(this), this.e + 1, 1 ); - }; - - - /* - * Return as toString, but do not accept a base argument, and include the minus sign for - * negative zero. - */ - P.valueOf = P.toJSON = function () { - var str, - n = this, - e = n.e; - - if ( e === null ) return n.toString(); - - str = coeffToString( n.c ); - - str = e <= TO_EXP_NEG || e >= TO_EXP_POS - ? toExponential( str, e ) - : toFixedPoint( str, e ); - - return n.s < 0 ? '-' + str : str; - }; - - - P.isBigNumber = true; - - if ( config != null ) BigNumber.config(config); - - return BigNumber; - } - - - // PRIVATE HELPER FUNCTIONS - - - function bitFloor(n) { - var i = n | 0; - return n > 0 || n === i ? i : i - 1; - } - - - // Return a coefficient array as a string of base 10 digits. - function coeffToString(a) { - var s, z, - i = 1, - j = a.length, - r = a[0] + ''; - - for ( ; i < j; ) { - s = a[i++] + ''; - z = LOG_BASE - s.length; - for ( ; z--; s = '0' + s ); - r += s; - } - - // Determine trailing zeros. - for ( j = r.length; r.charCodeAt(--j) === 48; ); - return r.slice( 0, j + 1 || 1 ); - } - - - // Compare the value of BigNumbers x and y. - function compare( x, y ) { - var a, b, - xc = x.c, - yc = y.c, - i = x.s, - j = y.s, - k = x.e, - l = y.e; - - // Either NaN? - if ( !i || !j ) return null; - - a = xc && !xc[0]; - b = yc && !yc[0]; - - // Either zero? - if ( a || b ) return a ? b ? 0 : -j : i; - - // Signs differ? - if ( i != j ) return i; - - a = i < 0; - b = k == l; - - // Either Infinity? - if ( !xc || !yc ) return b ? 0 : !xc ^ a ? 1 : -1; - - // Compare exponents. - if ( !b ) return k > l ^ a ? 1 : -1; - - j = ( k = xc.length ) < ( l = yc.length ) ? k : l; - - // Compare digit by digit. - for ( i = 0; i < j; i++ ) if ( xc[i] != yc[i] ) return xc[i] > yc[i] ^ a ? 1 : -1; - - // Compare lengths. - return k == l ? 0 : k > l ^ a ? 1 : -1; - } - - - /* - * Return true if n is a valid number in range, otherwise false. - * Use for argument validation when ERRORS is false. - * Note: parseInt('1e+1') == 1 but parseFloat('1e+1') == 10. - */ - function intValidatorNoErrors( n, min, max ) { - return ( n = truncate(n) ) >= min && n <= max; - } - - - function isArray(obj) { - return Object.prototype.toString.call(obj) == '[object Array]'; - } - - - /* - * Convert string of baseIn to an array of numbers of baseOut. - * Eg. convertBase('255', 10, 16) returns [15, 15]. - * Eg. convertBase('ff', 16, 10) returns [2, 5, 5]. - */ - function toBaseOut( str, baseIn, baseOut ) { - var j, - arr = [0], - arrL, - i = 0, - len = str.length; - - for ( ; i < len; ) { - for ( arrL = arr.length; arrL--; arr[arrL] *= baseIn ); - arr[ j = 0 ] += ALPHABET.indexOf( str.charAt( i++ ) ); - - for ( ; j < arr.length; j++ ) { - - if ( arr[j] > baseOut - 1 ) { - if ( arr[j + 1] == null ) arr[j + 1] = 0; - arr[j + 1] += arr[j] / baseOut | 0; - arr[j] %= baseOut; - } - } - } - - return arr.reverse(); - } - - - function toExponential( str, e ) { - return ( str.length > 1 ? str.charAt(0) + '.' + str.slice(1) : str ) + - ( e < 0 ? 'e' : 'e+' ) + e; - } - - - function toFixedPoint( str, e ) { - var len, z; - - // Negative exponent? - if ( e < 0 ) { - - // Prepend zeros. - for ( z = '0.'; ++e; z += '0' ); - str = z + str; - - // Positive exponent - } else { - len = str.length; - - // Append zeros. - if ( ++e > len ) { - for ( z = '0', e -= len; --e; z += '0' ); - str += z; - } else if ( e < len ) { - str = str.slice( 0, e ) + '.' + str.slice(e); - } - } - - return str; - } - - - function truncate(n) { - n = parseFloat(n); - return n < 0 ? mathceil(n) : mathfloor(n); - } - - - // EXPORT - - - BigNumber = constructorFactory(); - BigNumber['default'] = BigNumber.BigNumber = BigNumber; - - - // AMD. - if ( typeof define == 'function' && define.amd ) { - define( function () { return BigNumber; } ); - - // Node.js and other environments that support module.exports. - } else if ( typeof module != 'undefined' && module.exports ) { - module.exports = BigNumber; - - // Browser. - } else { - if ( !globalObj ) globalObj = typeof self != 'undefined' ? self : Function('return this')(); - globalObj.BigNumber = BigNumber; - } -})(this); +/*! bignumber.js v4.1.0 https://github.com/MikeMcl/bignumber.js/LICENCE */ + +;(function (globalObj) { + 'use strict'; + + /* + bignumber.js v4.1.0 + A JavaScript library for arbitrary-precision arithmetic. + https://github.com/MikeMcl/bignumber.js + Copyright (c) 2017 Michael Mclaughlin + MIT Expat Licence + */ + + + var BigNumber, + isNumeric = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, + mathceil = Math.ceil, + mathfloor = Math.floor, + notBool = ' not a boolean or binary digit', + roundingMode = 'rounding mode', + tooManyDigits = 'number type has more than 15 significant digits', + ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_', + BASE = 1e14, + LOG_BASE = 14, + MAX_SAFE_INTEGER = 0x1fffffffffffff, // 2^53 - 1 + // MAX_INT32 = 0x7fffffff, // 2^31 - 1 + POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], + SQRT_BASE = 1e7, + + /* + * The limit on the value of DECIMAL_PLACES, TO_EXP_NEG, TO_EXP_POS, MIN_EXP, MAX_EXP, and + * the arguments to toExponential, toFixed, toFormat, and toPrecision, beyond which an + * exception is thrown (if ERRORS is true). + */ + MAX = 1E9; // 0 to MAX_INT32 + + + /* + * Create and return a BigNumber constructor. + */ + function constructorFactory(config) { + var div, parseNumeric, + + // id tracks the caller function, so its name can be included in error messages. + id = 0, + P = BigNumber.prototype, + ONE = new BigNumber(1), + + + /********************************* EDITABLE DEFAULTS **********************************/ + + + /* + * The default values below must be integers within the inclusive ranges stated. + * The values can also be changed at run-time using BigNumber.config. + */ + + // The maximum number of decimal places for operations involving division. + DECIMAL_PLACES = 20, // 0 to MAX + + /* + * The rounding mode used when rounding to the above decimal places, and when using + * toExponential, toFixed, toFormat and toPrecision, and round (default value). + * UP 0 Away from zero. + * DOWN 1 Towards zero. + * CEIL 2 Towards +Infinity. + * FLOOR 3 Towards -Infinity. + * HALF_UP 4 Towards nearest neighbour. If equidistant, up. + * HALF_DOWN 5 Towards nearest neighbour. If equidistant, down. + * HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour. + * HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity. + * HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity. + */ + ROUNDING_MODE = 4, // 0 to 8 + + // EXPONENTIAL_AT : [TO_EXP_NEG , TO_EXP_POS] + + // The exponent value at and beneath which toString returns exponential notation. + // Number type: -7 + TO_EXP_NEG = -7, // 0 to -MAX + + // The exponent value at and above which toString returns exponential notation. + // Number type: 21 + TO_EXP_POS = 21, // 0 to MAX + + // RANGE : [MIN_EXP, MAX_EXP] + + // The minimum exponent value, beneath which underflow to zero occurs. + // Number type: -324 (5e-324) + MIN_EXP = -1e7, // -1 to -MAX + + // The maximum exponent value, above which overflow to Infinity occurs. + // Number type: 308 (1.7976931348623157e+308) + // For MAX_EXP > 1e7, e.g. new BigNumber('1e100000000').plus(1) may be slow. + MAX_EXP = 1e7, // 1 to MAX + + // Whether BigNumber Errors are ever thrown. + ERRORS = true, // true or false + + // Change to intValidatorNoErrors if ERRORS is false. + isValidInt = intValidatorWithErrors, // intValidatorWithErrors/intValidatorNoErrors + + // Whether to use cryptographically-secure random number generation, if available. + CRYPTO = false, // true or false + + /* + * The modulo mode used when calculating the modulus: a mod n. + * The quotient (q = a / n) is calculated according to the corresponding rounding mode. + * The remainder (r) is calculated as: r = a - n * q. + * + * UP 0 The remainder is positive if the dividend is negative, else is negative. + * DOWN 1 The remainder has the same sign as the dividend. + * This modulo mode is commonly known as 'truncated division' and is + * equivalent to (a % n) in JavaScript. + * FLOOR 3 The remainder has the same sign as the divisor (Python %). + * HALF_EVEN 6 This modulo mode implements the IEEE 754 remainder function. + * EUCLID 9 Euclidian division. q = sign(n) * floor(a / abs(n)). + * The remainder is always positive. + * + * The truncated division, floored division, Euclidian division and IEEE 754 remainder + * modes are commonly used for the modulus operation. + * Although the other rounding modes can also be used, they may not give useful results. + */ + MODULO_MODE = 1, // 0 to 9 + + // The maximum number of significant digits of the result of the toPower operation. + // If POW_PRECISION is 0, there will be unlimited significant digits. + POW_PRECISION = 0, // 0 to MAX + + // The format specification used by the BigNumber.prototype.toFormat method. + FORMAT = { + decimalSeparator: '.', + groupSeparator: ',', + groupSize: 3, + secondaryGroupSize: 0, + fractionGroupSeparator: '\xA0', // non-breaking space + fractionGroupSize: 0 + }; + + + /******************************************************************************************/ + + + // CONSTRUCTOR + + + /* + * The BigNumber constructor and exported function. + * Create and return a new instance of a BigNumber object. + * + * n {number|string|BigNumber} A numeric value. + * [b] {number} The base of n. Integer, 2 to 64 inclusive. + */ + function BigNumber( n, b ) { + var c, e, i, num, len, str, + x = this; + + // Enable constructor usage without new. + if ( !( x instanceof BigNumber ) ) { + + // 'BigNumber() constructor call without new: {n}' + if (ERRORS) raise( 26, 'constructor call without new', n ); + return new BigNumber( n, b ); + } + + // 'new BigNumber() base not an integer: {b}' + // 'new BigNumber() base out of range: {b}' + if ( b == null || !isValidInt( b, 2, 64, id, 'base' ) ) { + + // Duplicate. + if ( n instanceof BigNumber ) { + x.s = n.s; + x.e = n.e; + x.c = ( n = n.c ) ? n.slice() : n; + id = 0; + return; + } + + if ( ( num = typeof n == 'number' ) && n * 0 == 0 ) { + x.s = 1 / n < 0 ? ( n = -n, -1 ) : 1; + + // Fast path for integers. + if ( n === ~~n ) { + for ( e = 0, i = n; i >= 10; i /= 10, e++ ); + x.e = e; + x.c = [n]; + id = 0; + return; + } + + str = n + ''; + } else { + if ( !isNumeric.test( str = n + '' ) ) return parseNumeric( x, str, num ); + x.s = str.charCodeAt(0) === 45 ? ( str = str.slice(1), -1 ) : 1; + } + } else { + b = b | 0; + str = n + ''; + + // Ensure return value is rounded to DECIMAL_PLACES as with other bases. + // Allow exponential notation to be used with base 10 argument. + if ( b == 10 ) { + x = new BigNumber( n instanceof BigNumber ? n : str ); + return round( x, DECIMAL_PLACES + x.e + 1, ROUNDING_MODE ); + } + + // Avoid potential interpretation of Infinity and NaN as base 44+ values. + // Any number in exponential form will fail due to the [Ee][+-]. + if ( ( num = typeof n == 'number' ) && n * 0 != 0 || + !( new RegExp( '^-?' + ( c = '[' + ALPHABET.slice( 0, b ) + ']+' ) + + '(?:\\.' + c + ')?$',b < 37 ? 'i' : '' ) ).test(str) ) { + return parseNumeric( x, str, num, b ); + } + + if (num) { + x.s = 1 / n < 0 ? ( str = str.slice(1), -1 ) : 1; + + if ( ERRORS && str.replace( /^0\.0*|\./, '' ).length > 15 ) { + + // 'new BigNumber() number type has more than 15 significant digits: {n}' + raise( id, tooManyDigits, n ); + } + + // Prevent later check for length on converted number. + num = false; + } else { + x.s = str.charCodeAt(0) === 45 ? ( str = str.slice(1), -1 ) : 1; + } + + str = convertBase( str, 10, b, x.s ); + } + + // Decimal point? + if ( ( e = str.indexOf('.') ) > -1 ) str = str.replace( '.', '' ); + + // Exponential form? + if ( ( i = str.search( /e/i ) ) > 0 ) { + + // Determine exponent. + if ( e < 0 ) e = i; + e += +str.slice( i + 1 ); + str = str.substring( 0, i ); + } else if ( e < 0 ) { + + // Integer. + e = str.length; + } + + // Determine leading zeros. + for ( i = 0; str.charCodeAt(i) === 48; i++ ); + + // Determine trailing zeros. + for ( len = str.length; str.charCodeAt(--len) === 48; ); + str = str.slice( i, len + 1 ); + + if (str) { + len = str.length; + + // Disallow numbers with over 15 significant digits if number type. + // 'new BigNumber() number type has more than 15 significant digits: {n}' + if ( num && ERRORS && len > 15 && ( n > MAX_SAFE_INTEGER || n !== mathfloor(n) ) ) { + raise( id, tooManyDigits, x.s * n ); + } + + e = e - i - 1; + + // Overflow? + if ( e > MAX_EXP ) { + + // Infinity. + x.c = x.e = null; + + // Underflow? + } else if ( e < MIN_EXP ) { + + // Zero. + x.c = [ x.e = 0 ]; + } else { + x.e = e; + x.c = []; + + // Transform base + + // e is the base 10 exponent. + // i is where to slice str to get the first element of the coefficient array. + i = ( e + 1 ) % LOG_BASE; + if ( e < 0 ) i += LOG_BASE; + + if ( i < len ) { + if (i) x.c.push( +str.slice( 0, i ) ); + + for ( len -= LOG_BASE; i < len; ) { + x.c.push( +str.slice( i, i += LOG_BASE ) ); + } + + str = str.slice(i); + i = LOG_BASE - str.length; + } else { + i -= len; + } + + for ( ; i--; str += '0' ); + x.c.push( +str ); + } + } else { + + // Zero. + x.c = [ x.e = 0 ]; + } + + id = 0; + } + + + // CONSTRUCTOR PROPERTIES + + + BigNumber.another = constructorFactory; + + BigNumber.ROUND_UP = 0; + BigNumber.ROUND_DOWN = 1; + BigNumber.ROUND_CEIL = 2; + BigNumber.ROUND_FLOOR = 3; + BigNumber.ROUND_HALF_UP = 4; + BigNumber.ROUND_HALF_DOWN = 5; + BigNumber.ROUND_HALF_EVEN = 6; + BigNumber.ROUND_HALF_CEIL = 7; + BigNumber.ROUND_HALF_FLOOR = 8; + BigNumber.EUCLID = 9; + + + /* + * Configure infrequently-changing library-wide settings. + * + * Accept an object or an argument list, with one or many of the following properties or + * parameters respectively: + * + * DECIMAL_PLACES {number} Integer, 0 to MAX inclusive + * ROUNDING_MODE {number} Integer, 0 to 8 inclusive + * EXPONENTIAL_AT {number|number[]} Integer, -MAX to MAX inclusive or + * [integer -MAX to 0 incl., 0 to MAX incl.] + * RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or + * [integer -MAX to -1 incl., integer 1 to MAX incl.] + * ERRORS {boolean|number} true, false, 1 or 0 + * CRYPTO {boolean|number} true, false, 1 or 0 + * MODULO_MODE {number} 0 to 9 inclusive + * POW_PRECISION {number} 0 to MAX inclusive + * FORMAT {object} See BigNumber.prototype.toFormat + * decimalSeparator {string} + * groupSeparator {string} + * groupSize {number} + * secondaryGroupSize {number} + * fractionGroupSeparator {string} + * fractionGroupSize {number} + * + * (The values assigned to the above FORMAT object properties are not checked for validity.) + * + * E.g. + * BigNumber.config(20, 4) is equivalent to + * BigNumber.config({ DECIMAL_PLACES : 20, ROUNDING_MODE : 4 }) + * + * Ignore properties/parameters set to null or undefined. + * Return an object with the properties current values. + */ + BigNumber.config = BigNumber.set = function () { + var v, p, + i = 0, + r = {}, + a = arguments, + o = a[0], + has = o && typeof o == 'object' + ? function () { if ( o.hasOwnProperty(p) ) return ( v = o[p] ) != null; } + : function () { if ( a.length > i ) return ( v = a[i++] ) != null; }; + + // DECIMAL_PLACES {number} Integer, 0 to MAX inclusive. + // 'config() DECIMAL_PLACES not an integer: {v}' + // 'config() DECIMAL_PLACES out of range: {v}' + if ( has( p = 'DECIMAL_PLACES' ) && isValidInt( v, 0, MAX, 2, p ) ) { + DECIMAL_PLACES = v | 0; + } + r[p] = DECIMAL_PLACES; + + // ROUNDING_MODE {number} Integer, 0 to 8 inclusive. + // 'config() ROUNDING_MODE not an integer: {v}' + // 'config() ROUNDING_MODE out of range: {v}' + if ( has( p = 'ROUNDING_MODE' ) && isValidInt( v, 0, 8, 2, p ) ) { + ROUNDING_MODE = v | 0; + } + r[p] = ROUNDING_MODE; + + // EXPONENTIAL_AT {number|number[]} + // Integer, -MAX to MAX inclusive or [integer -MAX to 0 inclusive, 0 to MAX inclusive]. + // 'config() EXPONENTIAL_AT not an integer: {v}' + // 'config() EXPONENTIAL_AT out of range: {v}' + if ( has( p = 'EXPONENTIAL_AT' ) ) { + + if ( isArray(v) ) { + if ( isValidInt( v[0], -MAX, 0, 2, p ) && isValidInt( v[1], 0, MAX, 2, p ) ) { + TO_EXP_NEG = v[0] | 0; + TO_EXP_POS = v[1] | 0; + } + } else if ( isValidInt( v, -MAX, MAX, 2, p ) ) { + TO_EXP_NEG = -( TO_EXP_POS = ( v < 0 ? -v : v ) | 0 ); + } + } + r[p] = [ TO_EXP_NEG, TO_EXP_POS ]; + + // RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or + // [integer -MAX to -1 inclusive, integer 1 to MAX inclusive]. + // 'config() RANGE not an integer: {v}' + // 'config() RANGE cannot be zero: {v}' + // 'config() RANGE out of range: {v}' + if ( has( p = 'RANGE' ) ) { + + if ( isArray(v) ) { + if ( isValidInt( v[0], -MAX, -1, 2, p ) && isValidInt( v[1], 1, MAX, 2, p ) ) { + MIN_EXP = v[0] | 0; + MAX_EXP = v[1] | 0; + } + } else if ( isValidInt( v, -MAX, MAX, 2, p ) ) { + if ( v | 0 ) MIN_EXP = -( MAX_EXP = ( v < 0 ? -v : v ) | 0 ); + else if (ERRORS) raise( 2, p + ' cannot be zero', v ); + } + } + r[p] = [ MIN_EXP, MAX_EXP ]; + + // ERRORS {boolean|number} true, false, 1 or 0. + // 'config() ERRORS not a boolean or binary digit: {v}' + if ( has( p = 'ERRORS' ) ) { + + if ( v === !!v || v === 1 || v === 0 ) { + id = 0; + isValidInt = ( ERRORS = !!v ) ? intValidatorWithErrors : intValidatorNoErrors; + } else if (ERRORS) { + raise( 2, p + notBool, v ); + } + } + r[p] = ERRORS; + + // CRYPTO {boolean|number} true, false, 1 or 0. + // 'config() CRYPTO not a boolean or binary digit: {v}' + // 'config() crypto unavailable: {crypto}' + if ( has( p = 'CRYPTO' ) ) { + + if ( v === true || v === false || v === 1 || v === 0 ) { + if (v) { + v = typeof crypto == 'undefined'; + if ( !v && crypto && (crypto.getRandomValues || crypto.randomBytes)) { + CRYPTO = true; + } else if (ERRORS) { + raise( 2, 'crypto unavailable', v ? void 0 : crypto ); + } else { + CRYPTO = false; + } + } else { + CRYPTO = false; + } + } else if (ERRORS) { + raise( 2, p + notBool, v ); + } + } + r[p] = CRYPTO; + + // MODULO_MODE {number} Integer, 0 to 9 inclusive. + // 'config() MODULO_MODE not an integer: {v}' + // 'config() MODULO_MODE out of range: {v}' + if ( has( p = 'MODULO_MODE' ) && isValidInt( v, 0, 9, 2, p ) ) { + MODULO_MODE = v | 0; + } + r[p] = MODULO_MODE; + + // POW_PRECISION {number} Integer, 0 to MAX inclusive. + // 'config() POW_PRECISION not an integer: {v}' + // 'config() POW_PRECISION out of range: {v}' + if ( has( p = 'POW_PRECISION' ) && isValidInt( v, 0, MAX, 2, p ) ) { + POW_PRECISION = v | 0; + } + r[p] = POW_PRECISION; + + // FORMAT {object} + // 'config() FORMAT not an object: {v}' + if ( has( p = 'FORMAT' ) ) { + + if ( typeof v == 'object' ) { + FORMAT = v; + } else if (ERRORS) { + raise( 2, p + ' not an object', v ); + } + } + r[p] = FORMAT; + + return r; + }; + + + /* + * Return a new BigNumber whose value is the maximum of the arguments. + * + * arguments {number|string|BigNumber} + */ + BigNumber.max = function () { return maxOrMin( arguments, P.lt ); }; + + + /* + * Return a new BigNumber whose value is the minimum of the arguments. + * + * arguments {number|string|BigNumber} + */ + BigNumber.min = function () { return maxOrMin( arguments, P.gt ); }; + + + /* + * Return a new BigNumber with a random value equal to or greater than 0 and less than 1, + * and with dp, or DECIMAL_PLACES if dp is omitted, decimal places (or less if trailing + * zeros are produced). + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * + * 'random() decimal places not an integer: {dp}' + * 'random() decimal places out of range: {dp}' + * 'random() crypto unavailable: {crypto}' + */ + BigNumber.random = (function () { + var pow2_53 = 0x20000000000000; + + // Return a 53 bit integer n, where 0 <= n < 9007199254740992. + // Check if Math.random() produces more than 32 bits of randomness. + // If it does, assume at least 53 bits are produced, otherwise assume at least 30 bits. + // 0x40000000 is 2^30, 0x800000 is 2^23, 0x1fffff is 2^21 - 1. + var random53bitInt = (Math.random() * pow2_53) & 0x1fffff + ? function () { return mathfloor( Math.random() * pow2_53 ); } + : function () { return ((Math.random() * 0x40000000 | 0) * 0x800000) + + (Math.random() * 0x800000 | 0); }; + + return function (dp) { + var a, b, e, k, v, + i = 0, + c = [], + rand = new BigNumber(ONE); + + dp = dp == null || !isValidInt( dp, 0, MAX, 14 ) ? DECIMAL_PLACES : dp | 0; + k = mathceil( dp / LOG_BASE ); + + if (CRYPTO) { + + // Browsers supporting crypto.getRandomValues. + if (crypto.getRandomValues) { + + a = crypto.getRandomValues( new Uint32Array( k *= 2 ) ); + + for ( ; i < k; ) { + + // 53 bits: + // ((Math.pow(2, 32) - 1) * Math.pow(2, 21)).toString(2) + // 11111 11111111 11111111 11111111 11100000 00000000 00000000 + // ((Math.pow(2, 32) - 1) >>> 11).toString(2) + // 11111 11111111 11111111 + // 0x20000 is 2^21. + v = a[i] * 0x20000 + (a[i + 1] >>> 11); + + // Rejection sampling: + // 0 <= v < 9007199254740992 + // Probability that v >= 9e15, is + // 7199254740992 / 9007199254740992 ~= 0.0008, i.e. 1 in 1251 + if ( v >= 9e15 ) { + b = crypto.getRandomValues( new Uint32Array(2) ); + a[i] = b[0]; + a[i + 1] = b[1]; + } else { + + // 0 <= v <= 8999999999999999 + // 0 <= (v % 1e14) <= 99999999999999 + c.push( v % 1e14 ); + i += 2; + } + } + i = k / 2; + + // Node.js supporting crypto.randomBytes. + } else if (crypto.randomBytes) { + + // buffer + a = crypto.randomBytes( k *= 7 ); + + for ( ; i < k; ) { + + // 0x1000000000000 is 2^48, 0x10000000000 is 2^40 + // 0x100000000 is 2^32, 0x1000000 is 2^24 + // 11111 11111111 11111111 11111111 11111111 11111111 11111111 + // 0 <= v < 9007199254740992 + v = ( ( a[i] & 31 ) * 0x1000000000000 ) + ( a[i + 1] * 0x10000000000 ) + + ( a[i + 2] * 0x100000000 ) + ( a[i + 3] * 0x1000000 ) + + ( a[i + 4] << 16 ) + ( a[i + 5] << 8 ) + a[i + 6]; + + if ( v >= 9e15 ) { + crypto.randomBytes(7).copy( a, i ); + } else { + + // 0 <= (v % 1e14) <= 99999999999999 + c.push( v % 1e14 ); + i += 7; + } + } + i = k / 7; + } else { + CRYPTO = false; + if (ERRORS) raise( 14, 'crypto unavailable', crypto ); + } + } + + // Use Math.random. + if (!CRYPTO) { + + for ( ; i < k; ) { + v = random53bitInt(); + if ( v < 9e15 ) c[i++] = v % 1e14; + } + } + + k = c[--i]; + dp %= LOG_BASE; + + // Convert trailing digits to zeros according to dp. + if ( k && dp ) { + v = POWS_TEN[LOG_BASE - dp]; + c[i] = mathfloor( k / v ) * v; + } + + // Remove trailing elements which are zero. + for ( ; c[i] === 0; c.pop(), i-- ); + + // Zero? + if ( i < 0 ) { + c = [ e = 0 ]; + } else { + + // Remove leading elements which are zero and adjust exponent accordingly. + for ( e = -1 ; c[0] === 0; c.splice(0, 1), e -= LOG_BASE); + + // Count the digits of the first element of c to determine leading zeros, and... + for ( i = 1, v = c[0]; v >= 10; v /= 10, i++); + + // adjust the exponent accordingly. + if ( i < LOG_BASE ) e -= LOG_BASE - i; + } + + rand.e = e; + rand.c = c; + return rand; + }; + })(); + + + // PRIVATE FUNCTIONS + + + // Convert a numeric string of baseIn to a numeric string of baseOut. + function convertBase( str, baseOut, baseIn, sign ) { + var d, e, k, r, x, xc, y, + i = str.indexOf( '.' ), + dp = DECIMAL_PLACES, + rm = ROUNDING_MODE; + + if ( baseIn < 37 ) str = str.toLowerCase(); + + // Non-integer. + if ( i >= 0 ) { + k = POW_PRECISION; + + // Unlimited precision. + POW_PRECISION = 0; + str = str.replace( '.', '' ); + y = new BigNumber(baseIn); + x = y.pow( str.length - i ); + POW_PRECISION = k; + + // Convert str as if an integer, then restore the fraction part by dividing the + // result by its base raised to a power. + y.c = toBaseOut( toFixedPoint( coeffToString( x.c ), x.e ), 10, baseOut ); + y.e = y.c.length; + } + + // Convert the number as integer. + xc = toBaseOut( str, baseIn, baseOut ); + e = k = xc.length; + + // Remove trailing zeros. + for ( ; xc[--k] == 0; xc.pop() ); + if ( !xc[0] ) return '0'; + + if ( i < 0 ) { + --e; + } else { + x.c = xc; + x.e = e; + + // sign is needed for correct rounding. + x.s = sign; + x = div( x, y, dp, rm, baseOut ); + xc = x.c; + r = x.r; + e = x.e; + } + + d = e + dp + 1; + + // The rounding digit, i.e. the digit to the right of the digit that may be rounded up. + i = xc[d]; + k = baseOut / 2; + r = r || d < 0 || xc[d + 1] != null; + + r = rm < 4 ? ( i != null || r ) && ( rm == 0 || rm == ( x.s < 0 ? 3 : 2 ) ) + : i > k || i == k &&( rm == 4 || r || rm == 6 && xc[d - 1] & 1 || + rm == ( x.s < 0 ? 8 : 7 ) ); + + if ( d < 1 || !xc[0] ) { + + // 1^-dp or 0. + str = r ? toFixedPoint( '1', -dp ) : '0'; + } else { + xc.length = d; + + if (r) { + + // Rounding up may mean the previous digit has to be rounded up and so on. + for ( --baseOut; ++xc[--d] > baseOut; ) { + xc[d] = 0; + + if ( !d ) { + ++e; + xc = [1].concat(xc); + } + } + } + + // Determine trailing zeros. + for ( k = xc.length; !xc[--k]; ); + + // E.g. [4, 11, 15] becomes 4bf. + for ( i = 0, str = ''; i <= k; str += ALPHABET.charAt( xc[i++] ) ); + str = toFixedPoint( str, e ); + } + + // The caller will add the sign. + return str; + } + + + // Perform division in the specified base. Called by div and convertBase. + div = (function () { + + // Assume non-zero x and k. + function multiply( x, k, base ) { + var m, temp, xlo, xhi, + carry = 0, + i = x.length, + klo = k % SQRT_BASE, + khi = k / SQRT_BASE | 0; + + for ( x = x.slice(); i--; ) { + xlo = x[i] % SQRT_BASE; + xhi = x[i] / SQRT_BASE | 0; + m = khi * xlo + xhi * klo; + temp = klo * xlo + ( ( m % SQRT_BASE ) * SQRT_BASE ) + carry; + carry = ( temp / base | 0 ) + ( m / SQRT_BASE | 0 ) + khi * xhi; + x[i] = temp % base; + } + + if (carry) x = [carry].concat(x); + + return x; + } + + function compare( a, b, aL, bL ) { + var i, cmp; + + if ( aL != bL ) { + cmp = aL > bL ? 1 : -1; + } else { + + for ( i = cmp = 0; i < aL; i++ ) { + + if ( a[i] != b[i] ) { + cmp = a[i] > b[i] ? 1 : -1; + break; + } + } + } + return cmp; + } + + function subtract( a, b, aL, base ) { + var i = 0; + + // Subtract b from a. + for ( ; aL--; ) { + a[aL] -= i; + i = a[aL] < b[aL] ? 1 : 0; + a[aL] = i * base + a[aL] - b[aL]; + } + + // Remove leading zeros. + for ( ; !a[0] && a.length > 1; a.splice(0, 1) ); + } + + // x: dividend, y: divisor. + return function ( x, y, dp, rm, base ) { + var cmp, e, i, more, n, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0, + yL, yz, + s = x.s == y.s ? 1 : -1, + xc = x.c, + yc = y.c; + + // Either NaN, Infinity or 0? + if ( !xc || !xc[0] || !yc || !yc[0] ) { + + return new BigNumber( + + // Return NaN if either NaN, or both Infinity or 0. + !x.s || !y.s || ( xc ? yc && xc[0] == yc[0] : !yc ) ? NaN : + + // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0. + xc && xc[0] == 0 || !yc ? s * 0 : s / 0 + ); + } + + q = new BigNumber(s); + qc = q.c = []; + e = x.e - y.e; + s = dp + e + 1; + + if ( !base ) { + base = BASE; + e = bitFloor( x.e / LOG_BASE ) - bitFloor( y.e / LOG_BASE ); + s = s / LOG_BASE | 0; + } + + // Result exponent may be one less then the current value of e. + // The coefficients of the BigNumbers from convertBase may have trailing zeros. + for ( i = 0; yc[i] == ( xc[i] || 0 ); i++ ); + if ( yc[i] > ( xc[i] || 0 ) ) e--; + + if ( s < 0 ) { + qc.push(1); + more = true; + } else { + xL = xc.length; + yL = yc.length; + i = 0; + s += 2; + + // Normalise xc and yc so highest order digit of yc is >= base / 2. + + n = mathfloor( base / ( yc[0] + 1 ) ); + + // Not necessary, but to handle odd bases where yc[0] == ( base / 2 ) - 1. + // if ( n > 1 || n++ == 1 && yc[0] < base / 2 ) { + if ( n > 1 ) { + yc = multiply( yc, n, base ); + xc = multiply( xc, n, base ); + yL = yc.length; + xL = xc.length; + } + + xi = yL; + rem = xc.slice( 0, yL ); + remL = rem.length; + + // Add zeros to make remainder as long as divisor. + for ( ; remL < yL; rem[remL++] = 0 ); + yz = yc.slice(); + yz = [0].concat(yz); + yc0 = yc[0]; + if ( yc[1] >= base / 2 ) yc0++; + // Not necessary, but to prevent trial digit n > base, when using base 3. + // else if ( base == 3 && yc0 == 1 ) yc0 = 1 + 1e-15; + + do { + n = 0; + + // Compare divisor and remainder. + cmp = compare( yc, rem, yL, remL ); + + // If divisor < remainder. + if ( cmp < 0 ) { + + // Calculate trial digit, n. + + rem0 = rem[0]; + if ( yL != remL ) rem0 = rem0 * base + ( rem[1] || 0 ); + + // n is how many times the divisor goes into the current remainder. + n = mathfloor( rem0 / yc0 ); + + // Algorithm: + // 1. product = divisor * trial digit (n) + // 2. if product > remainder: product -= divisor, n-- + // 3. remainder -= product + // 4. if product was < remainder at 2: + // 5. compare new remainder and divisor + // 6. If remainder > divisor: remainder -= divisor, n++ + + if ( n > 1 ) { + + // n may be > base only when base is 3. + if (n >= base) n = base - 1; + + // product = divisor * trial digit. + prod = multiply( yc, n, base ); + prodL = prod.length; + remL = rem.length; + + // Compare product and remainder. + // If product > remainder. + // Trial digit n too high. + // n is 1 too high about 5% of the time, and is not known to have + // ever been more than 1 too high. + while ( compare( prod, rem, prodL, remL ) == 1 ) { + n--; + + // Subtract divisor from product. + subtract( prod, yL < prodL ? yz : yc, prodL, base ); + prodL = prod.length; + cmp = 1; + } + } else { + + // n is 0 or 1, cmp is -1. + // If n is 0, there is no need to compare yc and rem again below, + // so change cmp to 1 to avoid it. + // If n is 1, leave cmp as -1, so yc and rem are compared again. + if ( n == 0 ) { + + // divisor < remainder, so n must be at least 1. + cmp = n = 1; + } + + // product = divisor + prod = yc.slice(); + prodL = prod.length; + } + + if ( prodL < remL ) prod = [0].concat(prod); + + // Subtract product from remainder. + subtract( rem, prod, remL, base ); + remL = rem.length; + + // If product was < remainder. + if ( cmp == -1 ) { + + // Compare divisor and new remainder. + // If divisor < new remainder, subtract divisor from remainder. + // Trial digit n too low. + // n is 1 too low about 5% of the time, and very rarely 2 too low. + while ( compare( yc, rem, yL, remL ) < 1 ) { + n++; + + // Subtract divisor from remainder. + subtract( rem, yL < remL ? yz : yc, remL, base ); + remL = rem.length; + } + } + } else if ( cmp === 0 ) { + n++; + rem = [0]; + } // else cmp === 1 and n will be 0 + + // Add the next digit, n, to the result array. + qc[i++] = n; + + // Update the remainder. + if ( rem[0] ) { + rem[remL++] = xc[xi] || 0; + } else { + rem = [ xc[xi] ]; + remL = 1; + } + } while ( ( xi++ < xL || rem[0] != null ) && s-- ); + + more = rem[0] != null; + + // Leading zero? + if ( !qc[0] ) qc.splice(0, 1); + } + + if ( base == BASE ) { + + // To calculate q.e, first get the number of digits of qc[0]. + for ( i = 1, s = qc[0]; s >= 10; s /= 10, i++ ); + round( q, dp + ( q.e = i + e * LOG_BASE - 1 ) + 1, rm, more ); + + // Caller is convertBase. + } else { + q.e = e; + q.r = +more; + } + + return q; + }; + })(); + + + /* + * Return a string representing the value of BigNumber n in fixed-point or exponential + * notation rounded to the specified decimal places or significant digits. + * + * n is a BigNumber. + * i is the index of the last digit required (i.e. the digit that may be rounded up). + * rm is the rounding mode. + * caller is caller id: toExponential 19, toFixed 20, toFormat 21, toPrecision 24. + */ + function format( n, i, rm, caller ) { + var c0, e, ne, len, str; + + rm = rm != null && isValidInt( rm, 0, 8, caller, roundingMode ) + ? rm | 0 : ROUNDING_MODE; + + if ( !n.c ) return n.toString(); + c0 = n.c[0]; + ne = n.e; + + if ( i == null ) { + str = coeffToString( n.c ); + str = caller == 19 || caller == 24 && ne <= TO_EXP_NEG + ? toExponential( str, ne ) + : toFixedPoint( str, ne ); + } else { + n = round( new BigNumber(n), i, rm ); + + // n.e may have changed if the value was rounded up. + e = n.e; + + str = coeffToString( n.c ); + len = str.length; + + // toPrecision returns exponential notation if the number of significant digits + // specified is less than the number of digits necessary to represent the integer + // part of the value in fixed-point notation. + + // Exponential notation. + if ( caller == 19 || caller == 24 && ( i <= e || e <= TO_EXP_NEG ) ) { + + // Append zeros? + for ( ; len < i; str += '0', len++ ); + str = toExponential( str, e ); + + // Fixed-point notation. + } else { + i -= ne; + str = toFixedPoint( str, e ); + + // Append zeros? + if ( e + 1 > len ) { + if ( --i > 0 ) for ( str += '.'; i--; str += '0' ); + } else { + i += e - len; + if ( i > 0 ) { + if ( e + 1 == len ) str += '.'; + for ( ; i--; str += '0' ); + } + } + } + } + + return n.s < 0 && c0 ? '-' + str : str; + } + + + // Handle BigNumber.max and BigNumber.min. + function maxOrMin( args, method ) { + var m, n, + i = 0; + + if ( isArray( args[0] ) ) args = args[0]; + m = new BigNumber( args[0] ); + + for ( ; ++i < args.length; ) { + n = new BigNumber( args[i] ); + + // If any number is NaN, return NaN. + if ( !n.s ) { + m = n; + break; + } else if ( method.call( m, n ) ) { + m = n; + } + } + + return m; + } + + + /* + * Return true if n is an integer in range, otherwise throw. + * Use for argument validation when ERRORS is true. + */ + function intValidatorWithErrors( n, min, max, caller, name ) { + if ( n < min || n > max || n != truncate(n) ) { + raise( caller, ( name || 'decimal places' ) + + ( n < min || n > max ? ' out of range' : ' not an integer' ), n ); + } + + return true; + } + + + /* + * Strip trailing zeros, calculate base 10 exponent and check against MIN_EXP and MAX_EXP. + * Called by minus, plus and times. + */ + function normalise( n, c, e ) { + var i = 1, + j = c.length; + + // Remove trailing zeros. + for ( ; !c[--j]; c.pop() ); + + // Calculate the base 10 exponent. First get the number of digits of c[0]. + for ( j = c[0]; j >= 10; j /= 10, i++ ); + + // Overflow? + if ( ( e = i + e * LOG_BASE - 1 ) > MAX_EXP ) { + + // Infinity. + n.c = n.e = null; + + // Underflow? + } else if ( e < MIN_EXP ) { + + // Zero. + n.c = [ n.e = 0 ]; + } else { + n.e = e; + n.c = c; + } + + return n; + } + + + // Handle values that fail the validity test in BigNumber. + parseNumeric = (function () { + var basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i, + dotAfter = /^([^.]+)\.$/, + dotBefore = /^\.([^.]+)$/, + isInfinityOrNaN = /^-?(Infinity|NaN)$/, + whitespaceOrPlus = /^\s*\+(?=[\w.])|^\s+|\s+$/g; + + return function ( x, str, num, b ) { + var base, + s = num ? str : str.replace( whitespaceOrPlus, '' ); + + // No exception on ±Infinity or NaN. + if ( isInfinityOrNaN.test(s) ) { + x.s = isNaN(s) ? null : s < 0 ? -1 : 1; + } else { + if ( !num ) { + + // basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i + s = s.replace( basePrefix, function ( m, p1, p2 ) { + base = ( p2 = p2.toLowerCase() ) == 'x' ? 16 : p2 == 'b' ? 2 : 8; + return !b || b == base ? p1 : m; + }); + + if (b) { + base = b; + + // E.g. '1.' to '1', '.1' to '0.1' + s = s.replace( dotAfter, '$1' ).replace( dotBefore, '0.$1' ); + } + + if ( str != s ) return new BigNumber( s, base ); + } + + // 'new BigNumber() not a number: {n}' + // 'new BigNumber() not a base {b} number: {n}' + if (ERRORS) raise( id, 'not a' + ( b ? ' base ' + b : '' ) + ' number', str ); + x.s = null; + } + + x.c = x.e = null; + id = 0; + } + })(); + + + // Throw a BigNumber Error. + function raise( caller, msg, val ) { + var error = new Error( [ + 'new BigNumber', // 0 + 'cmp', // 1 + 'config', // 2 + 'div', // 3 + 'divToInt', // 4 + 'eq', // 5 + 'gt', // 6 + 'gte', // 7 + 'lt', // 8 + 'lte', // 9 + 'minus', // 10 + 'mod', // 11 + 'plus', // 12 + 'precision', // 13 + 'random', // 14 + 'round', // 15 + 'shift', // 16 + 'times', // 17 + 'toDigits', // 18 + 'toExponential', // 19 + 'toFixed', // 20 + 'toFormat', // 21 + 'toFraction', // 22 + 'pow', // 23 + 'toPrecision', // 24 + 'toString', // 25 + 'BigNumber' // 26 + ][caller] + '() ' + msg + ': ' + val ); + + error.name = 'BigNumber Error'; + id = 0; + throw error; + } + + + /* + * Round x to sd significant digits using rounding mode rm. Check for over/under-flow. + * If r is truthy, it is known that there are more digits after the rounding digit. + */ + function round( x, sd, rm, r ) { + var d, i, j, k, n, ni, rd, + xc = x.c, + pows10 = POWS_TEN; + + // if x is not Infinity or NaN... + if (xc) { + + // rd is the rounding digit, i.e. the digit after the digit that may be rounded up. + // n is a base 1e14 number, the value of the element of array x.c containing rd. + // ni is the index of n within x.c. + // d is the number of digits of n. + // i is the index of rd within n including leading zeros. + // j is the actual index of rd within n (if < 0, rd is a leading zero). + out: { + + // Get the number of digits of the first element of xc. + for ( d = 1, k = xc[0]; k >= 10; k /= 10, d++ ); + i = sd - d; + + // If the rounding digit is in the first element of xc... + if ( i < 0 ) { + i += LOG_BASE; + j = sd; + n = xc[ ni = 0 ]; + + // Get the rounding digit at index j of n. + rd = n / pows10[ d - j - 1 ] % 10 | 0; + } else { + ni = mathceil( ( i + 1 ) / LOG_BASE ); + + if ( ni >= xc.length ) { + + if (r) { + + // Needed by sqrt. + for ( ; xc.length <= ni; xc.push(0) ); + n = rd = 0; + d = 1; + i %= LOG_BASE; + j = i - LOG_BASE + 1; + } else { + break out; + } + } else { + n = k = xc[ni]; + + // Get the number of digits of n. + for ( d = 1; k >= 10; k /= 10, d++ ); + + // Get the index of rd within n. + i %= LOG_BASE; + + // Get the index of rd within n, adjusted for leading zeros. + // The number of leading zeros of n is given by LOG_BASE - d. + j = i - LOG_BASE + d; + + // Get the rounding digit at index j of n. + rd = j < 0 ? 0 : n / pows10[ d - j - 1 ] % 10 | 0; + } + } + + r = r || sd < 0 || + + // Are there any non-zero digits after the rounding digit? + // The expression n % pows10[ d - j - 1 ] returns all digits of n to the right + // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714. + xc[ni + 1] != null || ( j < 0 ? n : n % pows10[ d - j - 1 ] ); + + r = rm < 4 + ? ( rd || r ) && ( rm == 0 || rm == ( x.s < 0 ? 3 : 2 ) ) + : rd > 5 || rd == 5 && ( rm == 4 || r || rm == 6 && + + // Check whether the digit to the left of the rounding digit is odd. + ( ( i > 0 ? j > 0 ? n / pows10[ d - j ] : 0 : xc[ni - 1] ) % 10 ) & 1 || + rm == ( x.s < 0 ? 8 : 7 ) ); + + if ( sd < 1 || !xc[0] ) { + xc.length = 0; + + if (r) { + + // Convert sd to decimal places. + sd -= x.e + 1; + + // 1, 0.1, 0.01, 0.001, 0.0001 etc. + xc[0] = pows10[ ( LOG_BASE - sd % LOG_BASE ) % LOG_BASE ]; + x.e = -sd || 0; + } else { + + // Zero. + xc[0] = x.e = 0; + } + + return x; + } + + // Remove excess digits. + if ( i == 0 ) { + xc.length = ni; + k = 1; + ni--; + } else { + xc.length = ni + 1; + k = pows10[ LOG_BASE - i ]; + + // E.g. 56700 becomes 56000 if 7 is the rounding digit. + // j > 0 means i > number of leading zeros of n. + xc[ni] = j > 0 ? mathfloor( n / pows10[ d - j ] % pows10[j] ) * k : 0; + } + + // Round up? + if (r) { + + for ( ; ; ) { + + // If the digit to be rounded up is in the first element of xc... + if ( ni == 0 ) { + + // i will be the length of xc[0] before k is added. + for ( i = 1, j = xc[0]; j >= 10; j /= 10, i++ ); + j = xc[0] += k; + for ( k = 1; j >= 10; j /= 10, k++ ); + + // if i != k the length has increased. + if ( i != k ) { + x.e++; + if ( xc[0] == BASE ) xc[0] = 1; + } + + break; + } else { + xc[ni] += k; + if ( xc[ni] != BASE ) break; + xc[ni--] = 0; + k = 1; + } + } + } + + // Remove trailing zeros. + for ( i = xc.length; xc[--i] === 0; xc.pop() ); + } + + // Overflow? Infinity. + if ( x.e > MAX_EXP ) { + x.c = x.e = null; + + // Underflow? Zero. + } else if ( x.e < MIN_EXP ) { + x.c = [ x.e = 0 ]; + } + } + + return x; + } + + + // PROTOTYPE/INSTANCE METHODS + + + /* + * Return a new BigNumber whose value is the absolute value of this BigNumber. + */ + P.absoluteValue = P.abs = function () { + var x = new BigNumber(this); + if ( x.s < 0 ) x.s = 1; + return x; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber rounded to a whole + * number in the direction of Infinity. + */ + P.ceil = function () { + return round( new BigNumber(this), this.e + 1, 2 ); + }; + + + /* + * Return + * 1 if the value of this BigNumber is greater than the value of BigNumber(y, b), + * -1 if the value of this BigNumber is less than the value of BigNumber(y, b), + * 0 if they have the same value, + * or null if the value of either is NaN. + */ + P.comparedTo = P.cmp = function ( y, b ) { + id = 1; + return compare( this, new BigNumber( y, b ) ); + }; + + + /* + * Return the number of decimal places of the value of this BigNumber, or null if the value + * of this BigNumber is ±Infinity or NaN. + */ + P.decimalPlaces = P.dp = function () { + var n, v, + c = this.c; + + if ( !c ) return null; + n = ( ( v = c.length - 1 ) - bitFloor( this.e / LOG_BASE ) ) * LOG_BASE; + + // Subtract the number of trailing zeros of the last number. + if ( v = c[v] ) for ( ; v % 10 == 0; v /= 10, n-- ); + if ( n < 0 ) n = 0; + + return n; + }; + + + /* + * n / 0 = I + * n / N = N + * n / I = 0 + * 0 / n = 0 + * 0 / 0 = N + * 0 / N = N + * 0 / I = 0 + * N / n = N + * N / 0 = N + * N / N = N + * N / I = N + * I / n = I + * I / 0 = I + * I / N = N + * I / I = N + * + * Return a new BigNumber whose value is the value of this BigNumber divided by the value of + * BigNumber(y, b), rounded according to DECIMAL_PLACES and ROUNDING_MODE. + */ + P.dividedBy = P.div = function ( y, b ) { + id = 3; + return div( this, new BigNumber( y, b ), DECIMAL_PLACES, ROUNDING_MODE ); + }; + + + /* + * Return a new BigNumber whose value is the integer part of dividing the value of this + * BigNumber by the value of BigNumber(y, b). + */ + P.dividedToIntegerBy = P.divToInt = function ( y, b ) { + id = 4; + return div( this, new BigNumber( y, b ), 0, 1 ); + }; + + + /* + * Return true if the value of this BigNumber is equal to the value of BigNumber(y, b), + * otherwise returns false. + */ + P.equals = P.eq = function ( y, b ) { + id = 5; + return compare( this, new BigNumber( y, b ) ) === 0; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber rounded to a whole + * number in the direction of -Infinity. + */ + P.floor = function () { + return round( new BigNumber(this), this.e + 1, 3 ); + }; + + + /* + * Return true if the value of this BigNumber is greater than the value of BigNumber(y, b), + * otherwise returns false. + */ + P.greaterThan = P.gt = function ( y, b ) { + id = 6; + return compare( this, new BigNumber( y, b ) ) > 0; + }; + + + /* + * Return true if the value of this BigNumber is greater than or equal to the value of + * BigNumber(y, b), otherwise returns false. + */ + P.greaterThanOrEqualTo = P.gte = function ( y, b ) { + id = 7; + return ( b = compare( this, new BigNumber( y, b ) ) ) === 1 || b === 0; + + }; + + + /* + * Return true if the value of this BigNumber is a finite number, otherwise returns false. + */ + P.isFinite = function () { + return !!this.c; + }; + + + /* + * Return true if the value of this BigNumber is an integer, otherwise return false. + */ + P.isInteger = P.isInt = function () { + return !!this.c && bitFloor( this.e / LOG_BASE ) > this.c.length - 2; + }; + + + /* + * Return true if the value of this BigNumber is NaN, otherwise returns false. + */ + P.isNaN = function () { + return !this.s; + }; + + + /* + * Return true if the value of this BigNumber is negative, otherwise returns false. + */ + P.isNegative = P.isNeg = function () { + return this.s < 0; + }; + + + /* + * Return true if the value of this BigNumber is 0 or -0, otherwise returns false. + */ + P.isZero = function () { + return !!this.c && this.c[0] == 0; + }; + + + /* + * Return true if the value of this BigNumber is less than the value of BigNumber(y, b), + * otherwise returns false. + */ + P.lessThan = P.lt = function ( y, b ) { + id = 8; + return compare( this, new BigNumber( y, b ) ) < 0; + }; + + + /* + * Return true if the value of this BigNumber is less than or equal to the value of + * BigNumber(y, b), otherwise returns false. + */ + P.lessThanOrEqualTo = P.lte = function ( y, b ) { + id = 9; + return ( b = compare( this, new BigNumber( y, b ) ) ) === -1 || b === 0; + }; + + + /* + * n - 0 = n + * n - N = N + * n - I = -I + * 0 - n = -n + * 0 - 0 = 0 + * 0 - N = N + * 0 - I = -I + * N - n = N + * N - 0 = N + * N - N = N + * N - I = N + * I - n = I + * I - 0 = I + * I - N = N + * I - I = N + * + * Return a new BigNumber whose value is the value of this BigNumber minus the value of + * BigNumber(y, b). + */ + P.minus = P.sub = function ( y, b ) { + var i, j, t, xLTy, + x = this, + a = x.s; + + id = 10; + y = new BigNumber( y, b ); + b = y.s; + + // Either NaN? + if ( !a || !b ) return new BigNumber(NaN); + + // Signs differ? + if ( a != b ) { + y.s = -b; + return x.plus(y); + } + + var xe = x.e / LOG_BASE, + ye = y.e / LOG_BASE, + xc = x.c, + yc = y.c; + + if ( !xe || !ye ) { + + // Either Infinity? + if ( !xc || !yc ) return xc ? ( y.s = -b, y ) : new BigNumber( yc ? x : NaN ); + + // Either zero? + if ( !xc[0] || !yc[0] ) { + + // Return y if y is non-zero, x if x is non-zero, or zero if both are zero. + return yc[0] ? ( y.s = -b, y ) : new BigNumber( xc[0] ? x : + + // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity + ROUNDING_MODE == 3 ? -0 : 0 ); + } + } + + xe = bitFloor(xe); + ye = bitFloor(ye); + xc = xc.slice(); + + // Determine which is the bigger number. + if ( a = xe - ye ) { + + if ( xLTy = a < 0 ) { + a = -a; + t = xc; + } else { + ye = xe; + t = yc; + } + + t.reverse(); + + // Prepend zeros to equalise exponents. + for ( b = a; b--; t.push(0) ); + t.reverse(); + } else { + + // Exponents equal. Check digit by digit. + j = ( xLTy = ( a = xc.length ) < ( b = yc.length ) ) ? a : b; + + for ( a = b = 0; b < j; b++ ) { + + if ( xc[b] != yc[b] ) { + xLTy = xc[b] < yc[b]; + break; + } + } + } + + // x < y? Point xc to the array of the bigger number. + if (xLTy) t = xc, xc = yc, yc = t, y.s = -y.s; + + b = ( j = yc.length ) - ( i = xc.length ); + + // Append zeros to xc if shorter. + // No need to add zeros to yc if shorter as subtract only needs to start at yc.length. + if ( b > 0 ) for ( ; b--; xc[i++] = 0 ); + b = BASE - 1; + + // Subtract yc from xc. + for ( ; j > a; ) { + + if ( xc[--j] < yc[j] ) { + for ( i = j; i && !xc[--i]; xc[i] = b ); + --xc[i]; + xc[j] += BASE; + } + + xc[j] -= yc[j]; + } + + // Remove leading zeros and adjust exponent accordingly. + for ( ; xc[0] == 0; xc.splice(0, 1), --ye ); + + // Zero? + if ( !xc[0] ) { + + // Following IEEE 754 (2008) 6.3, + // n - n = +0 but n - n = -0 when rounding towards -Infinity. + y.s = ROUNDING_MODE == 3 ? -1 : 1; + y.c = [ y.e = 0 ]; + return y; + } + + // No need to check for Infinity as +x - +y != Infinity && -x - -y != Infinity + // for finite x and y. + return normalise( y, xc, ye ); + }; + + + /* + * n % 0 = N + * n % N = N + * n % I = n + * 0 % n = 0 + * -0 % n = -0 + * 0 % 0 = N + * 0 % N = N + * 0 % I = 0 + * N % n = N + * N % 0 = N + * N % N = N + * N % I = N + * I % n = N + * I % 0 = N + * I % N = N + * I % I = N + * + * Return a new BigNumber whose value is the value of this BigNumber modulo the value of + * BigNumber(y, b). The result depends on the value of MODULO_MODE. + */ + P.modulo = P.mod = function ( y, b ) { + var q, s, + x = this; + + id = 11; + y = new BigNumber( y, b ); + + // Return NaN if x is Infinity or NaN, or y is NaN or zero. + if ( !x.c || !y.s || y.c && !y.c[0] ) { + return new BigNumber(NaN); + + // Return x if y is Infinity or x is zero. + } else if ( !y.c || x.c && !x.c[0] ) { + return new BigNumber(x); + } + + if ( MODULO_MODE == 9 ) { + + // Euclidian division: q = sign(y) * floor(x / abs(y)) + // r = x - qy where 0 <= r < abs(y) + s = y.s; + y.s = 1; + q = div( x, y, 0, 3 ); + y.s = s; + q.s *= s; + } else { + q = div( x, y, 0, MODULO_MODE ); + } + + return x.minus( q.times(y) ); + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber negated, + * i.e. multiplied by -1. + */ + P.negated = P.neg = function () { + var x = new BigNumber(this); + x.s = -x.s || null; + return x; + }; + + + /* + * n + 0 = n + * n + N = N + * n + I = I + * 0 + n = n + * 0 + 0 = 0 + * 0 + N = N + * 0 + I = I + * N + n = N + * N + 0 = N + * N + N = N + * N + I = N + * I + n = I + * I + 0 = I + * I + N = N + * I + I = I + * + * Return a new BigNumber whose value is the value of this BigNumber plus the value of + * BigNumber(y, b). + */ + P.plus = P.add = function ( y, b ) { + var t, + x = this, + a = x.s; + + id = 12; + y = new BigNumber( y, b ); + b = y.s; + + // Either NaN? + if ( !a || !b ) return new BigNumber(NaN); + + // Signs differ? + if ( a != b ) { + y.s = -b; + return x.minus(y); + } + + var xe = x.e / LOG_BASE, + ye = y.e / LOG_BASE, + xc = x.c, + yc = y.c; + + if ( !xe || !ye ) { + + // Return ±Infinity if either ±Infinity. + if ( !xc || !yc ) return new BigNumber( a / 0 ); + + // Either zero? + // Return y if y is non-zero, x if x is non-zero, or zero if both are zero. + if ( !xc[0] || !yc[0] ) return yc[0] ? y : new BigNumber( xc[0] ? x : a * 0 ); + } + + xe = bitFloor(xe); + ye = bitFloor(ye); + xc = xc.slice(); + + // Prepend zeros to equalise exponents. Faster to use reverse then do unshifts. + if ( a = xe - ye ) { + if ( a > 0 ) { + ye = xe; + t = yc; + } else { + a = -a; + t = xc; + } + + t.reverse(); + for ( ; a--; t.push(0) ); + t.reverse(); + } + + a = xc.length; + b = yc.length; + + // Point xc to the longer array, and b to the shorter length. + if ( a - b < 0 ) t = yc, yc = xc, xc = t, b = a; + + // Only start adding at yc.length - 1 as the further digits of xc can be ignored. + for ( a = 0; b; ) { + a = ( xc[--b] = xc[b] + yc[b] + a ) / BASE | 0; + xc[b] = BASE === xc[b] ? 0 : xc[b] % BASE; + } + + if (a) { + xc = [a].concat(xc); + ++ye; + } + + // No need to check for zero, as +x + +y != 0 && -x + -y != 0 + // ye = MAX_EXP + 1 possible + return normalise( y, xc, ye ); + }; + + + /* + * Return the number of significant digits of the value of this BigNumber. + * + * [z] {boolean|number} Whether to count integer-part trailing zeros: true, false, 1 or 0. + */ + P.precision = P.sd = function (z) { + var n, v, + x = this, + c = x.c; + + // 'precision() argument not a boolean or binary digit: {z}' + if ( z != null && z !== !!z && z !== 1 && z !== 0 ) { + if (ERRORS) raise( 13, 'argument' + notBool, z ); + if ( z != !!z ) z = null; + } + + if ( !c ) return null; + v = c.length - 1; + n = v * LOG_BASE + 1; + + if ( v = c[v] ) { + + // Subtract the number of trailing zeros of the last element. + for ( ; v % 10 == 0; v /= 10, n-- ); + + // Add the number of digits of the first element. + for ( v = c[0]; v >= 10; v /= 10, n++ ); + } + + if ( z && x.e + 1 > n ) n = x.e + 1; + + return n; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber rounded to a maximum of + * dp decimal places using rounding mode rm, or to 0 and ROUNDING_MODE respectively if + * omitted. + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'round() decimal places out of range: {dp}' + * 'round() decimal places not an integer: {dp}' + * 'round() rounding mode not an integer: {rm}' + * 'round() rounding mode out of range: {rm}' + */ + P.round = function ( dp, rm ) { + var n = new BigNumber(this); + + if ( dp == null || isValidInt( dp, 0, MAX, 15 ) ) { + round( n, ~~dp + this.e + 1, rm == null || + !isValidInt( rm, 0, 8, 15, roundingMode ) ? ROUNDING_MODE : rm | 0 ); + } + + return n; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber shifted by k places + * (powers of 10). Shift to the right if n > 0, and to the left if n < 0. + * + * k {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive. + * + * If k is out of range and ERRORS is false, the result will be ±0 if k < 0, or ±Infinity + * otherwise. + * + * 'shift() argument not an integer: {k}' + * 'shift() argument out of range: {k}' + */ + P.shift = function (k) { + var n = this; + return isValidInt( k, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER, 16, 'argument' ) + + // k < 1e+21, or truncate(k) will produce exponential notation. + ? n.times( '1e' + truncate(k) ) + : new BigNumber( n.c && n.c[0] && ( k < -MAX_SAFE_INTEGER || k > MAX_SAFE_INTEGER ) + ? n.s * ( k < 0 ? 0 : 1 / 0 ) + : n ); + }; + + + /* + * sqrt(-n) = N + * sqrt( N) = N + * sqrt(-I) = N + * sqrt( I) = I + * sqrt( 0) = 0 + * sqrt(-0) = -0 + * + * Return a new BigNumber whose value is the square root of the value of this BigNumber, + * rounded according to DECIMAL_PLACES and ROUNDING_MODE. + */ + P.squareRoot = P.sqrt = function () { + var m, n, r, rep, t, + x = this, + c = x.c, + s = x.s, + e = x.e, + dp = DECIMAL_PLACES + 4, + half = new BigNumber('0.5'); + + // Negative/NaN/Infinity/zero? + if ( s !== 1 || !c || !c[0] ) { + return new BigNumber( !s || s < 0 && ( !c || c[0] ) ? NaN : c ? x : 1 / 0 ); + } + + // Initial estimate. + s = Math.sqrt( +x ); + + // Math.sqrt underflow/overflow? + // Pass x to Math.sqrt as integer, then adjust the exponent of the result. + if ( s == 0 || s == 1 / 0 ) { + n = coeffToString(c); + if ( ( n.length + e ) % 2 == 0 ) n += '0'; + s = Math.sqrt(n); + e = bitFloor( ( e + 1 ) / 2 ) - ( e < 0 || e % 2 ); + + if ( s == 1 / 0 ) { + n = '1e' + e; + } else { + n = s.toExponential(); + n = n.slice( 0, n.indexOf('e') + 1 ) + e; + } + + r = new BigNumber(n); + } else { + r = new BigNumber( s + '' ); + } + + // Check for zero. + // r could be zero if MIN_EXP is changed after the this value was created. + // This would cause a division by zero (x/t) and hence Infinity below, which would cause + // coeffToString to throw. + if ( r.c[0] ) { + e = r.e; + s = e + dp; + if ( s < 3 ) s = 0; + + // Newton-Raphson iteration. + for ( ; ; ) { + t = r; + r = half.times( t.plus( div( x, t, dp, 1 ) ) ); + + if ( coeffToString( t.c ).slice( 0, s ) === ( n = + coeffToString( r.c ) ).slice( 0, s ) ) { + + // The exponent of r may here be one less than the final result exponent, + // e.g 0.0009999 (e-4) --> 0.001 (e-3), so adjust s so the rounding digits + // are indexed correctly. + if ( r.e < e ) --s; + n = n.slice( s - 3, s + 1 ); + + // The 4th rounding digit may be in error by -1 so if the 4 rounding digits + // are 9999 or 4999 (i.e. approaching a rounding boundary) continue the + // iteration. + if ( n == '9999' || !rep && n == '4999' ) { + + // On the first iteration only, check to see if rounding up gives the + // exact result as the nines may infinitely repeat. + if ( !rep ) { + round( t, t.e + DECIMAL_PLACES + 2, 0 ); + + if ( t.times(t).eq(x) ) { + r = t; + break; + } + } + + dp += 4; + s += 4; + rep = 1; + } else { + + // If rounding digits are null, 0{0,4} or 50{0,3}, check for exact + // result. If not, then there are further digits and m will be truthy. + if ( !+n || !+n.slice(1) && n.charAt(0) == '5' ) { + + // Truncate to the first rounding digit. + round( r, r.e + DECIMAL_PLACES + 2, 1 ); + m = !r.times(r).eq(x); + } + + break; + } + } + } + } + + return round( r, r.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m ); + }; + + + /* + * n * 0 = 0 + * n * N = N + * n * I = I + * 0 * n = 0 + * 0 * 0 = 0 + * 0 * N = N + * 0 * I = N + * N * n = N + * N * 0 = N + * N * N = N + * N * I = N + * I * n = I + * I * 0 = N + * I * N = N + * I * I = I + * + * Return a new BigNumber whose value is the value of this BigNumber times the value of + * BigNumber(y, b). + */ + P.times = P.mul = function ( y, b ) { + var c, e, i, j, k, m, xcL, xlo, xhi, ycL, ylo, yhi, zc, + base, sqrtBase, + x = this, + xc = x.c, + yc = ( id = 17, y = new BigNumber( y, b ) ).c; + + // Either NaN, ±Infinity or ±0? + if ( !xc || !yc || !xc[0] || !yc[0] ) { + + // Return NaN if either is NaN, or one is 0 and the other is Infinity. + if ( !x.s || !y.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc ) { + y.c = y.e = y.s = null; + } else { + y.s *= x.s; + + // Return ±Infinity if either is ±Infinity. + if ( !xc || !yc ) { + y.c = y.e = null; + + // Return ±0 if either is ±0. + } else { + y.c = [0]; + y.e = 0; + } + } + + return y; + } + + e = bitFloor( x.e / LOG_BASE ) + bitFloor( y.e / LOG_BASE ); + y.s *= x.s; + xcL = xc.length; + ycL = yc.length; + + // Ensure xc points to longer array and xcL to its length. + if ( xcL < ycL ) zc = xc, xc = yc, yc = zc, i = xcL, xcL = ycL, ycL = i; + + // Initialise the result array with zeros. + for ( i = xcL + ycL, zc = []; i--; zc.push(0) ); + + base = BASE; + sqrtBase = SQRT_BASE; + + for ( i = ycL; --i >= 0; ) { + c = 0; + ylo = yc[i] % sqrtBase; + yhi = yc[i] / sqrtBase | 0; + + for ( k = xcL, j = i + k; j > i; ) { + xlo = xc[--k] % sqrtBase; + xhi = xc[k] / sqrtBase | 0; + m = yhi * xlo + xhi * ylo; + xlo = ylo * xlo + ( ( m % sqrtBase ) * sqrtBase ) + zc[j] + c; + c = ( xlo / base | 0 ) + ( m / sqrtBase | 0 ) + yhi * xhi; + zc[j--] = xlo % base; + } + + zc[j] = c; + } + + if (c) { + ++e; + } else { + zc.splice(0, 1); + } + + return normalise( y, zc, e ); + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber rounded to a maximum of + * sd significant digits using rounding mode rm, or ROUNDING_MODE if rm is omitted. + * + * [sd] {number} Significant digits. Integer, 1 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'toDigits() precision out of range: {sd}' + * 'toDigits() precision not an integer: {sd}' + * 'toDigits() rounding mode not an integer: {rm}' + * 'toDigits() rounding mode out of range: {rm}' + */ + P.toDigits = function ( sd, rm ) { + var n = new BigNumber(this); + sd = sd == null || !isValidInt( sd, 1, MAX, 18, 'precision' ) ? null : sd | 0; + rm = rm == null || !isValidInt( rm, 0, 8, 18, roundingMode ) ? ROUNDING_MODE : rm | 0; + return sd ? round( n, sd, rm ) : n; + }; + + + /* + * Return a string representing the value of this BigNumber in exponential notation and + * rounded using ROUNDING_MODE to dp fixed decimal places. + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'toExponential() decimal places not an integer: {dp}' + * 'toExponential() decimal places out of range: {dp}' + * 'toExponential() rounding mode not an integer: {rm}' + * 'toExponential() rounding mode out of range: {rm}' + */ + P.toExponential = function ( dp, rm ) { + return format( this, + dp != null && isValidInt( dp, 0, MAX, 19 ) ? ~~dp + 1 : null, rm, 19 ); + }; + + + /* + * Return a string representing the value of this BigNumber in fixed-point notation rounding + * to dp fixed decimal places using rounding mode rm, or ROUNDING_MODE if rm is omitted. + * + * Note: as with JavaScript's number type, (-0).toFixed(0) is '0', + * but e.g. (-0.00001).toFixed(0) is '-0'. + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'toFixed() decimal places not an integer: {dp}' + * 'toFixed() decimal places out of range: {dp}' + * 'toFixed() rounding mode not an integer: {rm}' + * 'toFixed() rounding mode out of range: {rm}' + */ + P.toFixed = function ( dp, rm ) { + return format( this, dp != null && isValidInt( dp, 0, MAX, 20 ) + ? ~~dp + this.e + 1 : null, rm, 20 ); + }; + + + /* + * Return a string representing the value of this BigNumber in fixed-point notation rounded + * using rm or ROUNDING_MODE to dp decimal places, and formatted according to the properties + * of the FORMAT object (see BigNumber.config). + * + * FORMAT = { + * decimalSeparator : '.', + * groupSeparator : ',', + * groupSize : 3, + * secondaryGroupSize : 0, + * fractionGroupSeparator : '\xA0', // non-breaking space + * fractionGroupSize : 0 + * }; + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'toFormat() decimal places not an integer: {dp}' + * 'toFormat() decimal places out of range: {dp}' + * 'toFormat() rounding mode not an integer: {rm}' + * 'toFormat() rounding mode out of range: {rm}' + */ + P.toFormat = function ( dp, rm ) { + var str = format( this, dp != null && isValidInt( dp, 0, MAX, 21 ) + ? ~~dp + this.e + 1 : null, rm, 21 ); + + if ( this.c ) { + var i, + arr = str.split('.'), + g1 = +FORMAT.groupSize, + g2 = +FORMAT.secondaryGroupSize, + groupSeparator = FORMAT.groupSeparator, + intPart = arr[0], + fractionPart = arr[1], + isNeg = this.s < 0, + intDigits = isNeg ? intPart.slice(1) : intPart, + len = intDigits.length; + + if (g2) i = g1, g1 = g2, g2 = i, len -= i; + + if ( g1 > 0 && len > 0 ) { + i = len % g1 || g1; + intPart = intDigits.substr( 0, i ); + + for ( ; i < len; i += g1 ) { + intPart += groupSeparator + intDigits.substr( i, g1 ); + } + + if ( g2 > 0 ) intPart += groupSeparator + intDigits.slice(i); + if (isNeg) intPart = '-' + intPart; + } + + str = fractionPart + ? intPart + FORMAT.decimalSeparator + ( ( g2 = +FORMAT.fractionGroupSize ) + ? fractionPart.replace( new RegExp( '\\d{' + g2 + '}\\B', 'g' ), + '$&' + FORMAT.fractionGroupSeparator ) + : fractionPart ) + : intPart; + } + + return str; + }; + + + /* + * Return a string array representing the value of this BigNumber as a simple fraction with + * an integer numerator and an integer denominator. The denominator will be a positive + * non-zero value less than or equal to the specified maximum denominator. If a maximum + * denominator is not specified, the denominator will be the lowest value necessary to + * represent the number exactly. + * + * [md] {number|string|BigNumber} Integer >= 1 and < Infinity. The maximum denominator. + * + * 'toFraction() max denominator not an integer: {md}' + * 'toFraction() max denominator out of range: {md}' + */ + P.toFraction = function (md) { + var arr, d0, d2, e, exp, n, n0, q, s, + k = ERRORS, + x = this, + xc = x.c, + d = new BigNumber(ONE), + n1 = d0 = new BigNumber(ONE), + d1 = n0 = new BigNumber(ONE); + + if ( md != null ) { + ERRORS = false; + n = new BigNumber(md); + ERRORS = k; + + if ( !( k = n.isInt() ) || n.lt(ONE) ) { + + if (ERRORS) { + raise( 22, + 'max denominator ' + ( k ? 'out of range' : 'not an integer' ), md ); + } + + // ERRORS is false: + // If md is a finite non-integer >= 1, round it to an integer and use it. + md = !k && n.c && round( n, n.e + 1, 1 ).gte(ONE) ? n : null; + } + } + + if ( !xc ) return x.toString(); + s = coeffToString(xc); + + // Determine initial denominator. + // d is a power of 10 and the minimum max denominator that specifies the value exactly. + e = d.e = s.length - x.e - 1; + d.c[0] = POWS_TEN[ ( exp = e % LOG_BASE ) < 0 ? LOG_BASE + exp : exp ]; + md = !md || n.cmp(d) > 0 ? ( e > 0 ? d : n1 ) : n; + + exp = MAX_EXP; + MAX_EXP = 1 / 0; + n = new BigNumber(s); + + // n0 = d1 = 0 + n0.c[0] = 0; + + for ( ; ; ) { + q = div( n, d, 0, 1 ); + d2 = d0.plus( q.times(d1) ); + if ( d2.cmp(md) == 1 ) break; + d0 = d1; + d1 = d2; + n1 = n0.plus( q.times( d2 = n1 ) ); + n0 = d2; + d = n.minus( q.times( d2 = d ) ); + n = d2; + } + + d2 = div( md.minus(d0), d1, 0, 1 ); + n0 = n0.plus( d2.times(n1) ); + d0 = d0.plus( d2.times(d1) ); + n0.s = n1.s = x.s; + e *= 2; + + // Determine which fraction is closer to x, n0/d0 or n1/d1 + arr = div( n1, d1, e, ROUNDING_MODE ).minus(x).abs().cmp( + div( n0, d0, e, ROUNDING_MODE ).minus(x).abs() ) < 1 + ? [ n1.toString(), d1.toString() ] + : [ n0.toString(), d0.toString() ]; + + MAX_EXP = exp; + return arr; + }; + + + /* + * Return the value of this BigNumber converted to a number primitive. + */ + P.toNumber = function () { + return +this; + }; + + + /* + * Return a BigNumber whose value is the value of this BigNumber raised to the power n. + * If m is present, return the result modulo m. + * If n is negative round according to DECIMAL_PLACES and ROUNDING_MODE. + * If POW_PRECISION is non-zero and m is not present, round to POW_PRECISION using + * ROUNDING_MODE. + * + * The modular power operation works efficiently when x, n, and m are positive integers, + * otherwise it is equivalent to calculating x.toPower(n).modulo(m) (with POW_PRECISION 0). + * + * n {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive. + * [m] {number|string|BigNumber} The modulus. + * + * 'pow() exponent not an integer: {n}' + * 'pow() exponent out of range: {n}' + * + * Performs 54 loop iterations for n of 9007199254740991. + */ + P.toPower = P.pow = function ( n, m ) { + var k, y, z, + i = mathfloor( n < 0 ? -n : +n ), + x = this; + + if ( m != null ) { + id = 23; + m = new BigNumber(m); + } + + // Pass ±Infinity to Math.pow if exponent is out of range. + if ( !isValidInt( n, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER, 23, 'exponent' ) && + ( !isFinite(n) || i > MAX_SAFE_INTEGER && ( n /= 0 ) || + parseFloat(n) != n && !( n = NaN ) ) || n == 0 ) { + k = Math.pow( +x, n ); + return new BigNumber( m ? k % m : k ); + } + + if (m) { + if ( n > 1 && x.gt(ONE) && x.isInt() && m.gt(ONE) && m.isInt() ) { + x = x.mod(m); + } else { + z = m; + + // Nullify m so only a single mod operation is performed at the end. + m = null; + } + } else if (POW_PRECISION) { + + // Truncating each coefficient array to a length of k after each multiplication + // equates to truncating significant digits to POW_PRECISION + [28, 41], + // i.e. there will be a minimum of 28 guard digits retained. + // (Using + 1.5 would give [9, 21] guard digits.) + k = mathceil( POW_PRECISION / LOG_BASE + 2 ); + } + + y = new BigNumber(ONE); + + for ( ; ; ) { + if ( i % 2 ) { + y = y.times(x); + if ( !y.c ) break; + if (k) { + if ( y.c.length > k ) y.c.length = k; + } else if (m) { + y = y.mod(m); + } + } + + i = mathfloor( i / 2 ); + if ( !i ) break; + x = x.times(x); + if (k) { + if ( x.c && x.c.length > k ) x.c.length = k; + } else if (m) { + x = x.mod(m); + } + } + + if (m) return y; + if ( n < 0 ) y = ONE.div(y); + + return z ? y.mod(z) : k ? round( y, POW_PRECISION, ROUNDING_MODE ) : y; + }; + + + /* + * Return a string representing the value of this BigNumber rounded to sd significant digits + * using rounding mode rm or ROUNDING_MODE. If sd is less than the number of digits + * necessary to represent the integer part of the value in fixed-point notation, then use + * exponential notation. + * + * [sd] {number} Significant digits. Integer, 1 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'toPrecision() precision not an integer: {sd}' + * 'toPrecision() precision out of range: {sd}' + * 'toPrecision() rounding mode not an integer: {rm}' + * 'toPrecision() rounding mode out of range: {rm}' + */ + P.toPrecision = function ( sd, rm ) { + return format( this, sd != null && isValidInt( sd, 1, MAX, 24, 'precision' ) + ? sd | 0 : null, rm, 24 ); + }; + + + /* + * Return a string representing the value of this BigNumber in base b, or base 10 if b is + * omitted. If a base is specified, including base 10, round according to DECIMAL_PLACES and + * ROUNDING_MODE. If a base is not specified, and this BigNumber has a positive exponent + * that is equal to or greater than TO_EXP_POS, or a negative exponent equal to or less than + * TO_EXP_NEG, return exponential notation. + * + * [b] {number} Integer, 2 to 64 inclusive. + * + * 'toString() base not an integer: {b}' + * 'toString() base out of range: {b}' + */ + P.toString = function (b) { + var str, + n = this, + s = n.s, + e = n.e; + + // Infinity or NaN? + if ( e === null ) { + + if (s) { + str = 'Infinity'; + if ( s < 0 ) str = '-' + str; + } else { + str = 'NaN'; + } + } else { + str = coeffToString( n.c ); + + if ( b == null || !isValidInt( b, 2, 64, 25, 'base' ) ) { + str = e <= TO_EXP_NEG || e >= TO_EXP_POS + ? toExponential( str, e ) + : toFixedPoint( str, e ); + } else { + str = convertBase( toFixedPoint( str, e ), b | 0, 10, s ); + } + + if ( s < 0 && n.c[0] ) str = '-' + str; + } + + return str; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber truncated to a whole + * number. + */ + P.truncated = P.trunc = function () { + return round( new BigNumber(this), this.e + 1, 1 ); + }; + + + /* + * Return as toString, but do not accept a base argument, and include the minus sign for + * negative zero. + */ + P.valueOf = P.toJSON = function () { + var str, + n = this, + e = n.e; + + if ( e === null ) return n.toString(); + + str = coeffToString( n.c ); + + str = e <= TO_EXP_NEG || e >= TO_EXP_POS + ? toExponential( str, e ) + : toFixedPoint( str, e ); + + return n.s < 0 ? '-' + str : str; + }; + + + P.isBigNumber = true; + + if ( config != null ) BigNumber.config(config); + + return BigNumber; + } + + + // PRIVATE HELPER FUNCTIONS + + + function bitFloor(n) { + var i = n | 0; + return n > 0 || n === i ? i : i - 1; + } + + + // Return a coefficient array as a string of base 10 digits. + function coeffToString(a) { + var s, z, + i = 1, + j = a.length, + r = a[0] + ''; + + for ( ; i < j; ) { + s = a[i++] + ''; + z = LOG_BASE - s.length; + for ( ; z--; s = '0' + s ); + r += s; + } + + // Determine trailing zeros. + for ( j = r.length; r.charCodeAt(--j) === 48; ); + return r.slice( 0, j + 1 || 1 ); + } + + + // Compare the value of BigNumbers x and y. + function compare( x, y ) { + var a, b, + xc = x.c, + yc = y.c, + i = x.s, + j = y.s, + k = x.e, + l = y.e; + + // Either NaN? + if ( !i || !j ) return null; + + a = xc && !xc[0]; + b = yc && !yc[0]; + + // Either zero? + if ( a || b ) return a ? b ? 0 : -j : i; + + // Signs differ? + if ( i != j ) return i; + + a = i < 0; + b = k == l; + + // Either Infinity? + if ( !xc || !yc ) return b ? 0 : !xc ^ a ? 1 : -1; + + // Compare exponents. + if ( !b ) return k > l ^ a ? 1 : -1; + + j = ( k = xc.length ) < ( l = yc.length ) ? k : l; + + // Compare digit by digit. + for ( i = 0; i < j; i++ ) if ( xc[i] != yc[i] ) return xc[i] > yc[i] ^ a ? 1 : -1; + + // Compare lengths. + return k == l ? 0 : k > l ^ a ? 1 : -1; + } + + + /* + * Return true if n is a valid number in range, otherwise false. + * Use for argument validation when ERRORS is false. + * Note: parseInt('1e+1') == 1 but parseFloat('1e+1') == 10. + */ + function intValidatorNoErrors( n, min, max ) { + return ( n = truncate(n) ) >= min && n <= max; + } + + + function isArray(obj) { + return Object.prototype.toString.call(obj) == '[object Array]'; + } + + + /* + * Convert string of baseIn to an array of numbers of baseOut. + * Eg. convertBase('255', 10, 16) returns [15, 15]. + * Eg. convertBase('ff', 16, 10) returns [2, 5, 5]. + */ + function toBaseOut( str, baseIn, baseOut ) { + var j, + arr = [0], + arrL, + i = 0, + len = str.length; + + for ( ; i < len; ) { + for ( arrL = arr.length; arrL--; arr[arrL] *= baseIn ); + arr[ j = 0 ] += ALPHABET.indexOf( str.charAt( i++ ) ); + + for ( ; j < arr.length; j++ ) { + + if ( arr[j] > baseOut - 1 ) { + if ( arr[j + 1] == null ) arr[j + 1] = 0; + arr[j + 1] += arr[j] / baseOut | 0; + arr[j] %= baseOut; + } + } + } + + return arr.reverse(); + } + + + function toExponential( str, e ) { + return ( str.length > 1 ? str.charAt(0) + '.' + str.slice(1) : str ) + + ( e < 0 ? 'e' : 'e+' ) + e; + } + + + function toFixedPoint( str, e ) { + var len, z; + + // Negative exponent? + if ( e < 0 ) { + + // Prepend zeros. + for ( z = '0.'; ++e; z += '0' ); + str = z + str; + + // Positive exponent + } else { + len = str.length; + + // Append zeros. + if ( ++e > len ) { + for ( z = '0', e -= len; --e; z += '0' ); + str += z; + } else if ( e < len ) { + str = str.slice( 0, e ) + '.' + str.slice(e); + } + } + + return str; + } + + + function truncate(n) { + n = parseFloat(n); + return n < 0 ? mathceil(n) : mathfloor(n); + } + + + // EXPORT + + + BigNumber = constructorFactory(); + BigNumber['default'] = BigNumber.BigNumber = BigNumber; + + + // AMD. + if ( typeof define == 'function' && define.amd ) { + define( function () { return BigNumber; } ); + + // Node.js and other environments that support module.exports. + } else if ( typeof module != 'undefined' && module.exports ) { + module.exports = BigNumber; + + // Browser. + } else { + if ( !globalObj ) globalObj = typeof self != 'undefined' ? self : Function('return this')(); + globalObj.BigNumber = BigNumber; + } +})(this); },{}],218:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer @@ -139231,41 +139274,46 @@ var isSafari = isBrowser && navigator.userAgent.match(/Safari\//) var isEDGE = isBrowser && navigator.userAgent.match(/Edge\/1[2345]/); var _backend = null; function getBackend() { - if (!_backend) - _backend = new Promise(function (resolve, reject) { - function notSupported() { - resolve({ u2f: null }); - } - if (!isBrowser) - return notSupported(); - if (isSafari) - // Safari doesn't support U2F, and the Safari-FIDO-U2F - // extension lacks full support (Multi-facet apps), so we - // block it until proper support. - return notSupported(); - var hasNativeSupport = (typeof window.u2f !== 'undefined') && - (typeof window.u2f.sign === 'function'); - if (hasNativeSupport) - return resolve({ u2f: window.u2f }); - if (isEDGE) - // We don't want to check for Google's extension hack on EDGE - // as it'll cause trouble (popups, etc) - return notSupported(); - if (location.protocol === 'http:') - // U2F isn't supported over http, only https - return notSupported(); - if (typeof MessageChannel === 'undefined') - // Unsupported browser, the chrome hack would throw - return notSupported(); - // Test for google extension support - chromeApi.isSupported(function (ok) { - if (ok) - resolve({ u2f: chromeApi }); - else - notSupported(); - }); + if (_backend) + return _backend; + var supportChecker = new Promise(function (resolve, reject) { + function notSupported() { + resolve({ u2f: null }); + } + if (!isBrowser) + return notSupported(); + if (isSafari) + // Safari doesn't support U2F, and the Safari-FIDO-U2F + // extension lacks full support (Multi-facet apps), so we + // block it until proper support. + return notSupported(); + var hasNativeSupport = (typeof window.u2f !== 'undefined') && + (typeof window.u2f.sign === 'function'); + if (hasNativeSupport) + return resolve({ u2f: window.u2f }); + if (isEDGE) + // We don't want to check for Google's extension hack on EDGE + // as it'll cause trouble (popups, etc) + return notSupported(); + if (location.protocol === 'http:') + // U2F isn't supported over http, only https + return notSupported(); + if (typeof MessageChannel === 'undefined') + // Unsupported browser, the chrome hack would throw + return notSupported(); + // Test for google extension support + chromeApi.isSupported(function (ok) { + if (ok) + resolve({ u2f: chromeApi }); + else + notSupported(); }); - return _backend; + }) + .then(function (response) { + _backend = response.u2f ? supportChecker : null; + return response; + }); + return supportChecker; } exports.ErrorCodes = { OK: 0, @@ -144927,169 +144975,169 @@ module.exports = function(obj, fn){ }; },{}],882:[function(require,module,exports){ - -/** - * Expose `Emitter`. - */ - -if (typeof module !== 'undefined') { - module.exports = Emitter; -} - -/** - * Initialize a new `Emitter`. - * - * @api public - */ - -function Emitter(obj) { - if (obj) return mixin(obj); -}; - -/** - * Mixin the emitter properties. - * - * @param {Object} obj - * @return {Object} - * @api private - */ - -function mixin(obj) { - for (var key in Emitter.prototype) { - obj[key] = Emitter.prototype[key]; - } - return obj; -} - -/** - * Listen on the given `event` with `fn`. - * - * @param {String} event - * @param {Function} fn - * @return {Emitter} - * @api public - */ - -Emitter.prototype.on = -Emitter.prototype.addEventListener = function(event, fn){ - this._callbacks = this._callbacks || {}; - (this._callbacks['$' + event] = this._callbacks['$' + event] || []) - .push(fn); - return this; -}; - -/** - * Adds an `event` listener that will be invoked a single - * time then automatically removed. - * - * @param {String} event - * @param {Function} fn - * @return {Emitter} - * @api public - */ - -Emitter.prototype.once = function(event, fn){ - function on() { - this.off(event, on); - fn.apply(this, arguments); - } - - on.fn = fn; - this.on(event, on); - return this; -}; - -/** - * Remove the given callback for `event` or all - * registered callbacks. - * - * @param {String} event - * @param {Function} fn - * @return {Emitter} - * @api public - */ - -Emitter.prototype.off = -Emitter.prototype.removeListener = -Emitter.prototype.removeAllListeners = -Emitter.prototype.removeEventListener = function(event, fn){ - this._callbacks = this._callbacks || {}; - - // all - if (0 == arguments.length) { - this._callbacks = {}; - return this; - } - - // specific event - var callbacks = this._callbacks['$' + event]; - if (!callbacks) return this; - - // remove all handlers - if (1 == arguments.length) { - delete this._callbacks['$' + event]; - return this; - } - - // remove specific handler - var cb; - for (var i = 0; i < callbacks.length; i++) { - cb = callbacks[i]; - if (cb === fn || cb.fn === fn) { - callbacks.splice(i, 1); - break; - } - } - return this; -}; - -/** - * Emit `event` with the given args. - * - * @param {String} event - * @param {Mixed} ... - * @return {Emitter} - */ - -Emitter.prototype.emit = function(event){ - this._callbacks = this._callbacks || {}; - var args = [].slice.call(arguments, 1) - , callbacks = this._callbacks['$' + event]; - - if (callbacks) { - callbacks = callbacks.slice(0); - for (var i = 0, len = callbacks.length; i < len; ++i) { - callbacks[i].apply(this, args); - } - } - - return this; -}; - -/** - * Return array of callbacks for `event`. - * - * @param {String} event - * @return {Array} - * @api public - */ - -Emitter.prototype.listeners = function(event){ - this._callbacks = this._callbacks || {}; - return this._callbacks['$' + event] || []; -}; - -/** - * Check if this emitter has `event` handlers. - * - * @param {String} event - * @return {Boolean} - * @api public - */ - -Emitter.prototype.hasListeners = function(event){ - return !! this.listeners(event).length; -}; + +/** + * Expose `Emitter`. + */ + +if (typeof module !== 'undefined') { + module.exports = Emitter; +} + +/** + * Initialize a new `Emitter`. + * + * @api public + */ + +function Emitter(obj) { + if (obj) return mixin(obj); +}; + +/** + * Mixin the emitter properties. + * + * @param {Object} obj + * @return {Object} + * @api private + */ + +function mixin(obj) { + for (var key in Emitter.prototype) { + obj[key] = Emitter.prototype[key]; + } + return obj; +} + +/** + * Listen on the given `event` with `fn`. + * + * @param {String} event + * @param {Function} fn + * @return {Emitter} + * @api public + */ + +Emitter.prototype.on = +Emitter.prototype.addEventListener = function(event, fn){ + this._callbacks = this._callbacks || {}; + (this._callbacks['$' + event] = this._callbacks['$' + event] || []) + .push(fn); + return this; +}; + +/** + * Adds an `event` listener that will be invoked a single + * time then automatically removed. + * + * @param {String} event + * @param {Function} fn + * @return {Emitter} + * @api public + */ + +Emitter.prototype.once = function(event, fn){ + function on() { + this.off(event, on); + fn.apply(this, arguments); + } + + on.fn = fn; + this.on(event, on); + return this; +}; + +/** + * Remove the given callback for `event` or all + * registered callbacks. + * + * @param {String} event + * @param {Function} fn + * @return {Emitter} + * @api public + */ + +Emitter.prototype.off = +Emitter.prototype.removeListener = +Emitter.prototype.removeAllListeners = +Emitter.prototype.removeEventListener = function(event, fn){ + this._callbacks = this._callbacks || {}; + + // all + if (0 == arguments.length) { + this._callbacks = {}; + return this; + } + + // specific event + var callbacks = this._callbacks['$' + event]; + if (!callbacks) return this; + + // remove all handlers + if (1 == arguments.length) { + delete this._callbacks['$' + event]; + return this; + } + + // remove specific handler + var cb; + for (var i = 0; i < callbacks.length; i++) { + cb = callbacks[i]; + if (cb === fn || cb.fn === fn) { + callbacks.splice(i, 1); + break; + } + } + return this; +}; + +/** + * Emit `event` with the given args. + * + * @param {String} event + * @param {Mixed} ... + * @return {Emitter} + */ + +Emitter.prototype.emit = function(event){ + this._callbacks = this._callbacks || {}; + var args = [].slice.call(arguments, 1) + , callbacks = this._callbacks['$' + event]; + + if (callbacks) { + callbacks = callbacks.slice(0); + for (var i = 0, len = callbacks.length; i < len; ++i) { + callbacks[i].apply(this, args); + } + } + + return this; +}; + +/** + * Return array of callbacks for `event`. + * + * @param {String} event + * @return {Array} + * @api public + */ + +Emitter.prototype.listeners = function(event){ + this._callbacks = this._callbacks || {}; + return this._callbacks['$' + event] || []; +}; + +/** + * Check if this emitter has `event` handlers. + * + * @param {String} event + * @return {Boolean} + * @api public + */ + +Emitter.prototype.hasListeners = function(event){ + return !! this.listeners(event).length; +}; },{}],883:[function(require,module,exports){ @@ -150328,84 +150376,84 @@ function plural(ms, n, name) { } },{}],956:[function(require,module,exports){ -/** - * Compiles a querystring - * Returns string representation of the object - * - * @param {Object} - * @api private - */ - -exports.encode = function (obj) { - var str = ''; - - for (var i in obj) { - if (obj.hasOwnProperty(i)) { - if (str.length) str += '&'; - str += encodeURIComponent(i) + '=' + encodeURIComponent(obj[i]); - } - } - - return str; -}; - -/** - * Parses a simple querystring into an object - * - * @param {String} qs - * @api private - */ - -exports.decode = function(qs){ - var qry = {}; - var pairs = qs.split('&'); - for (var i = 0, l = pairs.length; i < l; i++) { - var pair = pairs[i].split('='); - qry[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]); - } - return qry; -}; +/** + * Compiles a querystring + * Returns string representation of the object + * + * @param {Object} + * @api private + */ + +exports.encode = function (obj) { + var str = ''; + + for (var i in obj) { + if (obj.hasOwnProperty(i)) { + if (str.length) str += '&'; + str += encodeURIComponent(i) + '=' + encodeURIComponent(obj[i]); + } + } + + return str; +}; + +/** + * Parses a simple querystring into an object + * + * @param {String} qs + * @api private + */ + +exports.decode = function(qs){ + var qry = {}; + var pairs = qs.split('&'); + for (var i = 0, l = pairs.length; i < l; i++) { + var pair = pairs[i].split('='); + qry[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]); + } + return qry; +}; },{}],957:[function(require,module,exports){ -/** - * Parses an URI - * - * @author Steven Levithan (MIT license) - * @api private - */ - -var re = /^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/; - -var parts = [ - 'source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'anchor' -]; - -module.exports = function parseuri(str) { - var src = str, - b = str.indexOf('['), - e = str.indexOf(']'); - - if (b != -1 && e != -1) { - str = str.substring(0, b) + str.substring(b, e).replace(/:/g, ';') + str.substring(e, str.length); - } - - var m = re.exec(str || ''), - uri = {}, - i = 14; - - while (i--) { - uri[parts[i]] = m[i] || ''; - } - - if (b != -1 && e != -1) { - uri.source = src; - uri.host = uri.host.substring(1, uri.host.length - 1).replace(/;/g, ':'); - uri.authority = uri.authority.replace('[', '').replace(']', '').replace(/;/g, ':'); - uri.ipv6uri = true; - } - - return uri; -}; +/** + * Parses an URI + * + * @author Steven Levithan (MIT license) + * @api private + */ + +var re = /^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/; + +var parts = [ + 'source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'anchor' +]; + +module.exports = function parseuri(str) { + var src = str, + b = str.indexOf('['), + e = str.indexOf(']'); + + if (b != -1 && e != -1) { + str = str.substring(0, b) + str.substring(b, e).replace(/:/g, ';') + str.substring(e, str.length); + } + + var m = re.exec(str || ''), + uri = {}, + i = 14; + + while (i--) { + uri[parts[i]] = m[i] || ''; + } + + if (b != -1 && e != -1) { + uri.source = src; + uri.host = uri.host.substring(1, uri.host.length - 1).replace(/;/g, ':'); + uri.authority = uri.authority.replace('[', '').replace(']', '').replace(/;/g, ':'); + uri.ipv6uri = true; + } + + return uri; +}; },{}],958:[function(require,module,exports){ arguments[4][771][0].apply(exports,arguments) diff --git a/chrome-extension/manifest.json b/chrome-extension/manifest.json index fe87d72633..7c0c65c37e 100644 --- a/chrome-extension/manifest.json +++ b/chrome-extension/manifest.json @@ -1,6 +1,6 @@ { "name": "MyEtherWallet", - "version": "3.25.0", + "version": "3.26.0", "manifest_version": 2, "description": "MyEtherWallet Chrome Extension", "homepage_url": "https://www.myetherwallet.com/", diff --git a/chrome-extension/phishing.html b/chrome-extension/phishing.html index 59195025dd..0ef3f9ebe8 100644 --- a/chrome-extension/phishing.html +++ b/chrome-extension/phishing.html @@ -100,13 +100,13 @@ MyEtherWallet -

    3.25.0

    +

    3.26.0

    - + diff --git a/chrome-extension/privacy-policy.html b/chrome-extension/privacy-policy.html index f6a6871f69..827cef3fc6 100644 --- a/chrome-extension/privacy-policy.html +++ b/chrome-extension/privacy-policy.html @@ -100,13 +100,13 @@ MyEtherWallet -

    3.25.0

    +

    3.26.0

    - + diff --git a/dist/contest.html b/dist/contest.html index 2c9c022b76..0e8bd78100 100644 --- a/dist/contest.html +++ b/dist/contest.html @@ -100,13 +100,13 @@ MyEtherWallet -

    3.25.0

    +

    3.26.0

    - + diff --git a/dist/css/etherwallet-master.min.css b/dist/css/etherwallet-master.min.css index e2121c11b1..555c02b3d6 100644 --- a/dist/css/etherwallet-master.min.css +++ b/dist/css/etherwallet-master.min.css @@ -1,3 +1,3 @@ @font-face{font-family:Lato;src:url(../fonts/Lato-Light.woff) format("woff");font-style:normal;font-weight:300}@font-face{font-family:Lato;src:url(../fonts/Lato-Regular.woff) format("woff");font-style:normal;font-weight:400}@font-face{font-family:Lato;src:url(../fonts/Lato-Bold.woff) format("woff");font-style:normal;font-weight:700} /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0} -/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline;color:#000}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #000;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}.print-text{color:#0b7290!important}footer{border-top:1px solid #000}header{border-bottom:1px solid #000;border-top:0 solid #fff!important}.btn{border:1px solid #000;color:1px solid #000;background:transparent!important}.nav-container{display:none!important}.footer-1 img{width:40px!important}.footer-1 *,.footer-2 *,.footer-3 *{font-size:8px!important;line-height:1.1!important}.footer-1 .footer-2,.footer-1 .footer-3,.footer-2 .footer-2,.footer-2 .footer-3,.footer-3 .footer-2,.footer-3 .footer-3{float:left!important}.h1,h1{font-size:18px}.h1,.h2,h1,h2{font-weight:700}.h2,h2{font-size:17px}.h3,h3{font-size:16px}.h3,.h4,h3,h4{font-weight:700}.h4,h4{font-size:15px}.h5,h5{font-size:14px}.h5,.h6,h5,h6{font-weight:700}.h6,h6{font-size:13px}.modal{position:inherit!important;page-break-inside:avoid;page-break-before:always}}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-size:15 px;-webkit-tap-highlight-color:rgba(0,0,0,0);height:100%}@media screen and (min-width:94rem){html{font-size:16px}}@media screen and (max-width:50.2rem){html{font-size:15 px}}body{font-family:Lato,sans-serif;font-size:1rem;line-height:1.4;color:#333;background-color:#fbfbfb;height:100%}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-thumbnail{padding:.2rem;line-height:1.4;background-color:#fbfbfb;border:1px solid #ddd;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid #ececec}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:700;line-height:1.2;color:inherit;letter-spacing:.02em}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:inherit}.h1,.h2,.h3,h1,h2,h3{margin-top:1rem;margin-bottom:.5rem}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:1rem;margin-bottom:.5rem}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:2.25rem}.h1,.h2,h1,h2{font-weight:300}.h2,h2{font-size:1.9rem}.h3,h3{font-size:1.5rem}.h3,.h4,h3,h4{font-weight:700}.h4,h4{font-size:1.3rem}.h5,h5{font-size:1.15rem}.h5,.h6,h5,h6{font-weight:400}.h6,h6{font-size:1.07rem}p{margin:0 0 .5rem;font-weight:300}p.strong,p .strong,p strong{font-weight:400}i{font-style:normal}.strong,strong{font-weight:600}.lead{margin-bottom:1.4;font-size:1rem}a{color:#0e97c0;text-decoration:none;cursor:pointer}a,a:hover{-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}a:hover{opacity:.8;color:#0c84a8}a:active,a:focus{opacity:1;-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}a:focus{outline:thin dotted;outline-offset:3px}.point{cursor:pointer}.strike{text-decoration:line-through}.small,small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#9a9a9a}.text-primary{color:#0e97c0}a.text-primary:focus,a.text-primary:hover{color:#0c84a8}.text-success{color:#459f42}a.text-success:focus,a.text-success:hover{color:#3d8d3b}.text-info{color:#0b1929}a.text-info:focus,a.text-info:hover{color:#060d15}.text-warning{color:#cc7a00}a.text-warning:focus,a.text-warning:hover{color:#b36a00}.text-danger{color:#df2518}a.text-danger:focus,a.text-danger:hover{color:#c82116}.text-underline{text-decoration:underline}.text-light{font-weight:200}.bg-primary{color:#fff;background-color:#0e97c0}a.bg-primary:focus,a.bg-primary:hover{background-color:#0b7290}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:-.5rem;margin:2.8 0 1.4;border-bottom:1px solid #ececec}ol,ul{margin-top:0;margin-bottom:1em}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}li{margin-bottom:.5em;font-weight:300}li strong{font-weight:400}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:1.4}dd,dt{line-height:1.4}dt{font-weight:700}dd{margin-left:0}@media (min-width:51.2rem){.dl-horizontal dt{float:left;width:-8rem;clear:left;text-align:right;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:12rem}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #9a9a9a}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:.5rem 1.4;margin:0 0 1.4;font-size:1.25rem;border-left:5px solid #ececec}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.4;color:#9a9a9a}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"\2014 \00A0"}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #ececec;border-left:0;text-align:right}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:"\00A0 \2014"}address{margin-bottom:1.4;font-style:normal;line-height:1.4}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{color:#c7254e;background-color:#f9f2f4}code,kbd{padding:2px 4px;font-size:90%;border-radius:0}kbd{color:#fff;background-color:#333;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:.2;margin:0 0 .7;font-size:0;line-height:1.4;word-break:break-all;word-wrap:break-word;color:#333;background-color:#fafafa;border:1px solid #ececec;border-radius:0}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:23rem;overflow-y:scroll}.container{width:100%;margin-right:auto;margin-left:auto;max-width:113rem;padding:0 5rem}@media screen and (max-width:80rem){.container{padding:0 3%}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:1rem;padding-right:1rem}.row{margin-left:-1rem;margin-right:-1rem}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:1rem;padding-right:1rem}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:51.2rem){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:66.13333333rem){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:80rem){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent;margin-bottom:10px;border-bottom:1px solid #ddd}caption{padding-top:.5rem;padding-bottom:.5rem;color:#9a9a9a}caption,th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:1.4}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:.5rem;line-height:1.4;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fbfbfb}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:.25rem}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f5f5f5}.table-striped>tbody>tr>td,.table-striped>tbody>tr>th,.table-striped>tfoot>tr>td,.table-striped>tfoot>tr>th,.table-striped>thead>tr>td,.table-striped>thead>tr>th{border-top:0}.table-mnemonic{border-bottom:0;font-weight:400}.table-mnemonic th{border-bottom:1px solid #ececec;vertical-align:bottom}.table-mnemonic td:first-child{font-family:Menlo,Monaco,Consolas,Courier New,monospace}.table-mnemonic tr:last-child td:first-child{text-align:left}.table-mnemonic tr:first-child,.table-mnemonic tr:last-child:not(.mnemonic-custom-row){background-color:#fff!important}.table-mnemonic.table>tbody>tr>td,.table-mnemonic.table>tbody>tr>th,.table-mnemonic.table>tfoot>tr>td,.table-mnemonic.table>tfoot>tr>th,.table-mnemonic.table>thead>tr>td,.table-mnemonic.table>thead>tr>th{padding:.25rem}.table-mnemonic .mnemonic-custom-row input[type=text]{margin:-5px;display:inline;width:70%;max-width:15rem}.table-mnemonic label{margin:.15rem}.table-hover,.table-hover>tbody>tr>td,.table-hover>tbody>tr>th,.table-hover>tfoot>tr>td,.table-hover>tfoot>tr>th,.table-hover>thead>tr>td,.table-hover>thead>tr>th,.table-hover td,.table-hover th,.table-hover tr{border:0 solid #fff}.table-hover>tbody>tr:hover{background-color:#fafafa}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#fafafa}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#ededed}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}@media screen and (max-width:50.2rem){.table-responsive{width:100%;margin-bottom:1.05;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.table-domainsale-modal .table-ens-modal{font-weight:400;font-size:16px}.table-domainsale-modal .table-ens-modal textarea{font-size:11px;word-break:break-all;padding:.5rem}fieldset{margin:0;min-width:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:1.4;font-size:1.5rem;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-top:.5rem;margin-bottom:.25rem;font-weight:600;font-size:1.15rem}label small{font-weight:300;font-size:1em}td label{font-weight:400}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:3px 0 0;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:thin dotted;outline-offset:3px}output{display:block;padding-top:1.75rem;font-size:1rem;line-height:1.4;color:#333}.account-help-icon+.btn,.account-help-icon+input,.account-help-icon+textarea,label+.form-control,label+input,label+textarea{margin-top:0}.form-control{display:block;width:100%;height:2.55rem;padding:.25rem 1rem;font-size:1rem;line-height:2;color:#333;background-color:#fff;background-image:none;border:1px solid #ececec;margin-top:.5rem;margin-bottom:.5rem;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}.form-control:focus{border-color:#0e97c0;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 2px rgba(14,151,192,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 2px rgba(14,151,192,.5)}.form-control::-moz-placeholder{color:#d3d3d3;opacity:1}.form-control:-ms-input-placeholder{color:#d3d3d3}.form-control::-webkit-input-placeholder{color:#d3d3d3}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#ececec;opacity:1;cursor:text!important;-webkit-box-shadow:none!important;box-shadow:none!important}.form-control[disabled],fieldset[disabled] .form-control{cursor:default}textarea.form-control{height:auto;line-height:1.4}input[readonly]{background-color:#fafafa;cursor:text!important}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:2.55rem}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:2rem}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:4rem}}.form-group{margin-top:.5rem;margin-bottom:.5rem;display:block}.checkbox,.radio{position:relative;display:block;margin:15px 0;font-weight:500}.checkbox label,.radio label{min-height:1.4;padding-left:20px;padding-right:15px;margin-bottom:0;font-weight:500;cursor:pointer}.checkbox.small,.radio.small{margin:.2rem 0}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{margin-left:-20px}input[type=radio]{margin-right:5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .checkbox label,fieldset[disabled] .radio-inline,fieldset[disabled] .radio label,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:default}.form-control-static{padding-top:1.75rem;padding-bottom:1.75rem;margin-bottom:0;min-height:2.4rem}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.input-sm{height:2rem;line-height:2rem}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5}.form-group-sm select.form-control{height:2rem;line-height:2rem}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:2rem;min-height:2.3rem;padding:1.5rem 1rem;font-size:.9rem;line-height:1.5}.input-lg{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2;border-radius:0}select.input-lg{height:4rem;line-height:4rem}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2}.form-group-lg select.form-control{height:4rem;line-height:4rem}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:4rem;min-height:3.3rem;padding:2rem;font-size:1.9rem;line-height:1.2}.form-control.is-valid{border-color:#b5e0b4;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(93,186,90,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(93,186,90,.5)}.form-control.is-valid:focus{border-color:#92d190;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(93,186,90,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(93,186,90,.5)}.form-control.is-invalid{border-color:#f7b7b3;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(234,75,64,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(234,75,64,.5)}.form-control.is-invalid:focus{border-color:#f28c85;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(234,75,64,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(234,75,64,.5)}.form-control.is-semivalid{border-color:#ffcc80;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(255,152,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(255,152,0,.5)}.form-control.is-semivalid:focus{border-color:#ffb74d;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(255,152,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(255,152,0,.5)}.flagged-address{color:red;font-weight:700}.btn{background-image:none;cursor:pointer;border:1px solid gray;display:inline-block;font-weight:400;letter-spacing:.05em;margin-top:.5rem;margin-bottom:0;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;vertical-align:middle;white-space:nowrap;padding:.75rem 2rem;font-size:1.07rem;line-height:1.4;border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline-offset:3px}.btn.focus,.btn:focus,.btn:hover{color:#222;text-decoration:none;border-bottom-color:transparent;-webkit-box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1);box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1)}.btn.active,.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:default;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.alert .btn-info{background-color:#fff;text-decoration:none;color:#163151}.alert .btn-info.focus,.alert .btn-info:focus,.alert .btn-info:hover{color:#fff;text-decoration:none;opacity:1}.alert .btn-info.disabled{background-color:#fff;text-decoration:none;color:#163151;opacity:.6}.btn-default{color:#222;background-color:#c3c3c3;border-color:#bdbdbd;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#222;background-color:#b6b6b6;border-color:#b0b0b0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#222;background-color:#9d9d9d;border-color:#979797;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#c3c3c3;border-color:#bdbdbd}.btn-default .badge{color:#c3c3c3;background-color:#222}.btn-primary{color:#fff;background-color:#0e97c0;border-color:#0e97c0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#0c84a8;border-color:#0c84a8;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#095f79;border-color:#095f79;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#0e97c0;border-color:#0e97c0}.btn-primary .badge{color:#0e97c0;background-color:#fff}.btn-success{color:#fff;background-color:#5dba5a;border-color:#5dba5a;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#4db14a;border-color:#4db14a;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#3d8d3b;border-color:#3d8d3b;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5dba5a;border-color:#5dba5a}.btn-success .badge{color:#5dba5a;background-color:#fff}.btn-info{color:#fff;background-color:#163151;border-color:#163151;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#11253d;border-color:#11253d;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#060d15;border-color:#060d15;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#163151;border-color:#163151}.btn-info .badge{color:#163151;background-color:#fff}.btn-warning{color:#fff;background-color:#ff9800;border-color:#ff9800;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#e68900;border-color:#e68900;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#b36a00;border-color:#b36a00;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#ff9800;border-color:#ff9800}.btn-warning .badge{color:#ff9800;background-color:#fff}.btn-danger{color:#fff;background-color:#ea4b40;border-color:#ea4b40;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#e73529;border-color:#e73529;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#c82116;border-color:#c82116;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#ea4b40;border-color:#ea4b40}.btn-danger .badge{color:#ea4b40;background-color:#fff}.btn-white{background-color:hsla(0,0%,100%,.8);border-color:hsla(0,0%,100%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease;color:#163151}.btn-white.active,.btn-white.focus,.btn-white:active,.btn-white:focus,.btn-white:hover,.open>.dropdown-toggle.btn-white{color:#163151;background-color:hsla(0,0%,95%,.8);border-color:hsla(0,0%,95%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-white.active.focus,.btn-white.active:focus,.btn-white.active:hover,.btn-white:active.focus,.btn-white:active:focus,.btn-white:active:hover,.open>.dropdown-toggle.btn-white.focus,.open>.dropdown-toggle.btn-white:focus,.open>.dropdown-toggle.btn-white:hover{color:#163151;background-color:hsla(0,0%,85%,.8);border-color:hsla(0,0%,85%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-white.active,.btn-white:active,.open>.dropdown-toggle.btn-white{background-image:none}.btn-white.disabled,.btn-white.disabled.active,.btn-white.disabled.focus,.btn-white.disabled:active,.btn-white.disabled:focus,.btn-white.disabled:hover,.btn-white[disabled],.btn-white[disabled].active,.btn-white[disabled].focus,.btn-white[disabled]:active,.btn-white[disabled]:focus,.btn-white[disabled]:hover,fieldset[disabled] .btn-white,fieldset[disabled] .btn-white.active,fieldset[disabled] .btn-white.focus,fieldset[disabled] .btn-white:active,fieldset[disabled] .btn-white:focus,fieldset[disabled] .btn-white:hover{background-color:hsla(0,0%,100%,.8);border-color:hsla(0,0%,100%,.8)}.btn-white .badge{color:hsla(0,0%,100%,.8);background-color:#163151}.header-branding a.btn-white{color:#163151}.header-branding a.btn-white:focus,.header-branding a.btn-white:hover{background:#fff;opacity:1;color:#163151}.btn-group .btn-default{border-bottom-width:1px}.btn-group .btn-default.active{border:1px solid #0e97c0;color:#0e97c0;background:#f5f5f5}.btn-link{color:#0e97c0;font-weight:400}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#0c84a8;text-decoration:none;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#9a9a9a;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:1rem 2rem;font-size:1.15rem;line-height:1.2;border-radius:0}.btn-group-sm>.btn,.btn-sm{padding:.5rem 1rem;font-size:1rem;line-height:1.5;border-radius:0}.btn-group-xs>.btn,.btn-xs{font-size:.75rem;line-height:1.5;border-radius:0;padding:.1rem .6rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}.btn-file,input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.btn-file{background-image:none;cursor:pointer;border:1px solid gray;display:inline-block;font-weight:400;letter-spacing:.05em;margin-top:.5rem;margin-bottom:0;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;vertical-align:middle;white-space:nowrap;padding:.75rem 2rem;font-size:1.07rem;line-height:1.4;border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;color:#222;background-color:#c3c3c3;border-color:#bdbdbd;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease;position:relative;overflow:hidden}.btn-file.active.focus,.btn-file.active:focus,.btn-file.focus,.btn-file:active.focus,.btn-file:active:focus,.btn-file:focus{outline:thin dotted;outline-offset:3px}.btn-file.focus,.btn-file:focus,.btn-file:hover{color:#222;text-decoration:none;border-bottom-color:transparent;-webkit-box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1);box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1)}.btn-file.active,.btn-file:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-file.disabled,.btn-file[disabled],fieldset[disabled] .btn-file{cursor:default;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn-file.disabled,fieldset[disabled] a.btn-file{pointer-events:none}.btn-file.active,.btn-file.focus,.btn-file:active,.btn-file:focus,.btn-file:hover,.open>.dropdown-toggle.btn-file{color:#222;background-color:#b6b6b6;border-color:#b0b0b0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-file.active.focus,.btn-file.active:focus,.btn-file.active:hover,.btn-file:active.focus,.btn-file:active:focus,.btn-file:active:hover,.open>.dropdown-toggle.btn-file.focus,.open>.dropdown-toggle.btn-file:focus,.open>.dropdown-toggle.btn-file:hover{color:#222;background-color:#9d9d9d;border-color:#979797;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-file.active,.btn-file:active,.open>.dropdown-toggle.btn-file{background-image:none}.btn-file.disabled,.btn-file.disabled.active,.btn-file.disabled.focus,.btn-file.disabled:active,.btn-file.disabled:focus,.btn-file.disabled:hover,.btn-file[disabled],.btn-file[disabled].active,.btn-file[disabled].focus,.btn-file[disabled]:active,.btn-file[disabled]:focus,.btn-file[disabled]:hover,fieldset[disabled] .btn-file,fieldset[disabled] .btn-file.active,fieldset[disabled] .btn-file.focus,fieldset[disabled] .btn-file:active,fieldset[disabled] .btn-file:focus,fieldset[disabled] .btn-file:hover{background-color:#c3c3c3;border-color:#bdbdbd}.btn-file .badge{color:#c3c3c3;background-color:#222}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;filter:alpha(opacity=0);opacity:0;background:red;cursor:inherit;display:block}.caret{display:inline-block;width:0;height:0;margin-left:.5rem;vertical-align:middle;border-top:.25rem dashed;border-right:.25rem solid transparent;border-left:.25rem solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle{margin-top:0;font-size:1rem;padding:.5rem 1rem}.dropdown:hover .dropdown-menu{display:block}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;min-width:160px;max-width:100vw;max-height:75vh;overflow:scroll;padding:0;margin:2px 0 0;list-style:none;font-size:.9rem;text-align:left;background-color:#fff;border-radius:0;-webkit-box-shadow:0 6px 10px rgba(0,0,0,.175);box-shadow:0 6px 10px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:2px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li{margin:0}.dropdown-menu>li:first-child{padding-top:2px}.dropdown-menu>li:last-child{padding-bottom:2px}.dropdown-menu>li>a{display:block;padding:2px 1rem;clear:both;font-weight:300;line-height:1.4;color:#163151;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{text-decoration:none;color:#0e97c0;background-color:#fafafa}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0;background-color:#0e97c0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#9a9a9a}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:default}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:.9rem;line-height:1.4;color:#9a9a9a;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:.25rem solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:51.2rem){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle;margin-bottom:5px}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn-group{float:left}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn-lg .caret{border-width:.25rem .25rem 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 .25rem .25rem}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group>*{margin-bottom:0;margin-top:0}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%}.input-group .dropdown-toggle{padding-right:.75rem;padding-left:.75rem}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2;border-radius:0}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:4rem;line-height:4rem}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:2rem;line-height:2rem}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding-left:2rem;padding-right:2rem;font-size:1rem;font-weight:400;line-height:1;color:#333;text-align:center;background-color:#ececec;border:1px solid #dfdfdf;outline:0;-webkit-box-shadow:inset 0 1px 1px hsla(0,0%,93%,.5),0 0 1px hsla(0,0%,93%,.5);box-shadow:inset 0 1px 1px hsla(0,0%,93%,.5),0 0 1px hsla(0,0%,93%,.5)}.input-group-addon.input-sm{padding:.5rem 1rem;font-size:.9rem}.input-group-addon.input-lg{padding:1rem 2rem;font-size:1.9rem}.input-group-addon:focus{border:1px solid #dadada;outline:0;-webkit-box-shadow:inset 0 1px 1px #ececec,30%,0 0 1px hsla(0,0%,93%,.9);box-shadow:inset 0 1px 1px #ececec,30%,0 0 1px hsla(0,0%,93%,.9)}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative;margin-bottom:0;margin-top:0;font-size:1rem;padding:.55rem 2rem}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.alert{padding:.75rem 2rem;margin:1rem auto;font-weight:300;font-size:1.07rem}.alert h4{color:inherit}.alert>:first-child,.alert h4{margin-top:0}.alert>:last-child{margin-bottom:0}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert a{color:#fff;text-decoration:underline}.alert a:hover{opacity:.8}.alert a:active,.alert a:focus{opacity:1}.alert svg{vertical-align:bottom}.alert-danger--outline{padding:.5em .6em .6em .3em;margin:0 0 1em;border-top:2px solid #ea4b40;-webkit-box-shadow:0 1px 5px 1px rgba(63,63,63,.13);box-shadow:0 1px 5px 1px rgba(63,63,63,.13);font-size:.9em;font-weight:500}.alert-danger--outline:before{content:"";background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23ea4b40'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23ea4b40'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:1.75em;float:left;width:2em;height:4em;margin-right:.75em}.alert.popup{position:fixed;bottom:0;left:0;right:0;padding:1rem 0;-webkit-box-shadow:0 0 20px 0 rgba(0,0,0,.33);box-shadow:0 0 20px 0 rgba(0,0,0,.33);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out;z-index:1060;margin:0}.alert.popup .container{position:relative;padding:0 10rem 0 5rem}@media screen and (max-width:51.2rem){.alert.popup .container{padding:1rem 8rem 1rem 4rem}}@media screen and (max-width:32rem){.alert.popup .container{padding:3rem 1rem 0 4rem}}.alert.popup .container:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:contain;display:block;color:#fff;position:absolute;top:0;bottom:0;left:1%;width:2.25rem}@media screen and (max-width:32rem){.alert.popup .container:after{top:2.5rem;left:.5rem}}.alert.popup .icon-close{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 348.333 348.334'%3E%3Cpath d='M336.559 68.611L231.016 174.165l105.543 105.549c15.699 15.705 15.699 41.145 0 56.85-7.844 7.844-18.128 11.769-28.407 11.769-10.296 0-20.581-3.919-28.419-11.769L174.167 231.003 68.609 336.563c-7.843 7.844-18.128 11.769-28.416 11.769-10.285 0-20.563-3.919-28.413-11.769-15.699-15.698-15.699-41.139 0-56.85l105.54-105.549L11.774 68.611c-15.699-15.699-15.699-41.145 0-56.844 15.696-15.687 41.127-15.687 56.829 0l105.563 105.554L279.721 11.767c15.705-15.687 41.139-15.687 56.832 0 15.705 15.699 15.705 41.145.006 56.844z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:1rem;cursor:pointer;opacity:.7;position:absolute;top:0;right:0;width:9rem;bottom:0;border-left:1px solid hsla(0,0%,100%,.7);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}@media screen and (max-width:51.2rem){.alert.popup .icon-close{width:7rem}}@media screen and (max-width:32rem){.alert.popup .icon-close{width:100%;height:3rem;left:0;right:0;top:0;bottom:auto;border-left:0;border-bottom:1px solid hsla(0,0%,100%,.7)}}.alert.popup .icon-close:hover{border-color:hsla(0,0%,100%,.5)}.alert.popup .icon-close:active,.alert.popup .icon-close:hover{-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out;background-color:rgba(0,0,0,.1)}.alert.popup .icon-close:active{border-color:hsla(0,0%,100%,.7);opacity:1}.alert.popup.ng-hide{bottom:-20%;-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}.alert,.alert-info{background-color:#0e97c0;border-color:#0e97c0;color:#fff}.alert-info hr,.alert hr{border-top-color:#0c84a8}.alert-info .alert-link,.alert .alert-link{color:#e6e6e6}.alert-info .container:after,.alert .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' x='30' y='30' viewBox='0 0 65 65' width='512' height='512'%3E%3Cpath d='M32.5 0C14.58 0 0 14.579 0 32.5S14.58 65 32.5 65 65 50.421 65 32.5 50.42 0 32.5 0zm0 61C16.785 61 4 48.215 4 32.5S16.785 4 32.5 4 61 16.785 61 32.5 48.215 61 32.5 61z' fill='%23FFF'/%3E%3Ccircle cx='33.018' cy='19.541' r='3.345' fill='%23FFF'/%3E%3Cpath d='M32.137 28.342a2 2 0 0 0-2 2v17a2 2 0 0 0 4 0v-17a2 2 0 0 0-2-2z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-success{background-color:#5dba5a;border-color:#5dba5a;color:#fff}.alert-success hr{border-top-color:#4db14a}.alert-success .alert-link{color:#e6e6e6}.alert-success .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 478.2 478.2' width='32' height='32'%3E%3Cpath d='M457.575 325.1c9.8-12.5 14.5-25.9 13.9-39.7-.6-15.2-7.4-27.1-13-34.4 6.5-16.2 9-41.7-12.7-61.5-15.9-14.5-42.9-21-80.3-19.2-26.3 1.2-48.3 6.1-49.2 6.3h-.1c-5 .9-10.3 2-15.7 3.2-.4-6.4.7-22.3 12.5-58.1 14-42.6 13.2-75.2-2.6-97-16.6-22.9-43.1-24.7-50.9-24.7-7.5 0-14.4 3.1-19.3 8.8-11.1 12.9-9.8 36.7-8.4 47.7-13.2 35.4-50.2 122.2-81.5 146.3-.6.4-1.1.9-1.6 1.4-9.2 9.7-15.4 20.2-19.6 29.4-5.9-3.2-12.6-5-19.8-5h-61c-23 0-41.6 18.7-41.6 41.6v162.5c0 23 18.7 41.6 41.6 41.6h61c8.9 0 17.2-2.8 24-7.6l23.5 2.8c3.6.5 67.6 8.6 133.3 7.3 11.9.9 23.1 1.4 33.5 1.4 17.9 0 33.5-1.4 46.5-4.2 30.6-6.5 51.5-19.5 62.1-38.6 8.1-14.6 8.1-29.1 6.8-38.3 19.9-18 23.4-37.9 22.7-51.9-.4-8.1-2.2-15-4.1-20.1zm-409.3 122.2c-8.1 0-14.6-6.6-14.6-14.6V270.1c0-8.1 6.6-14.6 14.6-14.6h61c8.1 0 14.6 6.6 14.6 14.6v162.5c0 8.1-6.6 14.6-14.6 14.6h-61v.1zm383.7-133.9c-4.2 4.4-5 11.1-1.8 16.3 0 .1 4.1 7.1 4.6 16.7.7 13.1-5.6 24.7-18.8 34.6-4.7 3.6-6.6 9.8-4.6 15.4 0 .1 4.3 13.3-2.7 25.8-6.7 12-21.6 20.6-44.2 25.4-18.1 3.9-42.7 4.6-72.9 2.2h-1.4c-64.3 1.4-129.3-7-130-7.1h-.1l-10.1-1.2c.6-2.8.9-5.8.9-8.8V270.1c0-4.3-.7-8.5-1.9-12.4 1.8-6.7 6.8-21.6 18.6-34.3 44.9-35.6 88.8-155.7 90.7-160.9.8-2.1 1-4.4.6-6.7-1.7-11.2-1.1-24.9 1.3-29 5.3.1 19.6 1.6 28.2 13.5 10.2 14.1 9.8 39.3-1.2 72.7-16.8 50.9-18.2 77.7-4.9 89.5 6.6 5.9 15.4 6.2 21.8 3.9 6.1-1.4 11.9-2.6 17.4-3.5.4-.1.9-.2 1.3-.3 30.7-6.7 85.7-10.8 104.8 6.6 16.2 14.8 4.7 34.4 3.4 36.5-3.7 5.6-2.6 12.9 2.4 17.4.1.1 10.6 10 11.1 23.3.4 8.9-3.8 18-12.5 27z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-warning{background-color:#ff9800;border-color:#ff9800;color:#fff}.alert-warning hr{border-top-color:#e68900}.alert-warning .alert-link{color:#e6e6e6}.alert-warning .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23FFF'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-danger{background-color:#ea4b40;border-color:#ea4b40;color:#fff}.alert-danger hr{border-top-color:#e73529}.alert-danger .alert-link{color:#e6e6e6}.alert-danger .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23FFF'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23FFF'/%3E%3C/svg%3E")}.well{min-height:20px;padding:1rem;margin-top:1rem;margin-bottom:1rem;background-color:#fafafa;border:1px solid #e8e8e8;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well :first-child{margin-top:0}.well :last-child{margin-bottom:0}.well.lg{padding:2rem}.well.sm{padding:.5rem}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal,.modal-open{overflow:hidden}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translateY(-25%);-ms-transform:translateY(-25%);-o-transform:translateY(-25%);transform:translateY(-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:-webkit-transform .3s ease-out;-o-transition:transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0);-ms-transform:translate(0);-o-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border-radius:0;-webkit-box-shadow:1px 1px 60px rgba(0,0,0,.32);box-shadow:1px 1px 60px rgba(0,0,0,.32);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:.75rem 1.5rem}.modal-header .close{margin-top:-2px}.modal-title{margin:0 0 1rem;line-height:1.4}.modal-body{position:relative;padding:.75rem;font-size:1.15rem}.modal-body .table>tbody>tr>td{vertical-align:middle}.modal-body .addressIdenticon{margin:auto}.modal-footer{padding:1rem 1.5rem;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn{margin-top:0}.modal-footer .btn+.btn{margin-left:.5rem;margin-bottom:0;margin-top:0}#sendTransaction .modal-footer{text-align:center}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:51.2rem){.modal-dialog{width:800px;margin:30px auto}.modal-sm{width:30rem}}@media (min-width:66.13333333rem){.modal-lg{width:70rem}}.bity-contact:after,.bity-contact:before,.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.modal-footer:after,.modal-footer:before,.row:after,.row:before{content:" ";display:table}.bity-contact:after,.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.modal-footer:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:50.2rem){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:50.2rem){.visible-xs-block{display:block!important}}@media (max-width:50.2rem){.visible-xs-inline{display:inline!important}}@media (max-width:50.2rem){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-block{display:block!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-inline{display:inline!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-block{display:block!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-inline{display:inline!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-inline-block{display:inline-block!important}}@media (min-width:80rem){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:80rem){.visible-lg-block{display:block!important}}@media (min-width:80rem){.visible-lg-inline{display:inline!important}}@media (min-width:80rem){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:50.2rem){.hidden-xs{display:none!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.hidden-sm{display:none!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.hidden-md{display:none!important}}@media (min-width:80rem){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}img{max-width:100%;height:auto}textarea{resize:vertical}.announcement{padding:3px 10px;text-align:center;font-weight:300;color:#fff;display:block;background-color:#0e97c0}.announcement a{text-decoration:underline;color:#fff}.announcement:focus,.announcement:hover,.announcement a{-webkit-transition:all .25s ease;-o-transition:.25s all ease;transition:all .25s ease}.announcement:focus,.announcement:hover{color:#f2f2f2;text-decoration:none;background-color:#0c84a8}.announcement strong{font-weight:400}.annoucement-warning{background-color:#ff5722}.annoucement-warning:focus,.annoucement-warning:hover{background-color:#ff4408}.annoucement-warning:focus a,.annoucement-warning:focus a:hover,.annoucement-warning:hover a,.annoucement-warning:hover a:hover{text-decoration:none}.annoucement-danger{background-color:#ea4b40}.annoucement-danger:hover{background-color:#ff4408}.annoucement-danger a:focus,.annoucement-danger a:hover{color:#f2f2f2}.annoucement-danger a:focus a,.annoucement-danger a:focus a:hover,.annoucement-danger a:hover a,.annoucement-danger a:hover a:hover{text-decoration:none}.address-identicon-container{padding:0;text-align:left;max-width:4.5rem;margin-left:-.5rem;margin-top:.5rem}.address-identicon-container-right{text-align:right}.address-identicon-container-right .addressIdenticon{float:right}.address-identicon-container-offline{padding:0;margin-left:-15px}.addressIdenticon{width:100%;height:auto;padding-bottom:100%;background-size:cover;background-repeat:no-repeat;border-radius:50%;-webkit-box-shadow:inset hsla(0,0%,100%,.5) 0 2px 2px,inset rgba(0,0,0,.6) 0 -1px 8px;box-shadow:inset 0 2px 2px hsla(0,0%,100%,.5),inset 0 -1px 8px rgba(0,0,0,.6)}.addressIdenticon.med{width:3rem;height:3rem;padding:0}.addressIdenticon.small{width:2rem;height:2rem;padding:0}.addressIdenticon.inline{display:inline-block}.addressIdenticon.float{float:left;margin-right:.5rem}.transaction-modal tbody tr td:first-child{width:30%}.transaction-modal tbody tr td:nth-child(2){width:70%}.transaction-modal .text-width-limit{display:grid;grid-auto-rows:1fr}.transaction-modal .text-width-limit p{margin:0;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.wrap{word-wrap:break-word}.bigger-on-mobile.form-control[readonly]{height:60px}@media screen and (max-width:767px){.bigger-on-mobile.form-control[readonly]{height:100px}}#paneHelp h3{margin-top:2em}.account-help-icon h3,.account-help-icon h4,.account-help-icon h5,.account-help-icon h6,.account-help-icon img{display:inline-block}.account-help-icon img:hover+.account-help-text{display:block;opacity:1;z-index:999}.account-help-icon img{margin-left:-30px;margin-right:3px}.account-help-icon:hover{opacity:1}.account-help-text{background:#fff;border-radius:0;border:1px solid #cdcdcd;-webkit-box-shadow:0 0 .5rem hsla(0,0%,39%,.2);box-shadow:0 0 .5rem hsla(0,0%,39%,.2);display:none;font-size:.75rem;font-weight:400;padding:.25rem;position:absolute;width:18rem;z-index:999;color:#333}ul.account-help-text{padding-left:1.6rem}.account-help-text li{font-size:.75rem;font-weight:400}@media screen and (max-width:767px){.account-help-icon img,.account-help-icon li,.account-help-icon p{display:none}}#accountAddress,#accountAddressMainTbl-1,#accountBalance,#accountBalanceBtc,#accountBalanceEur,#accountBalancePopMB-0,#accountBalancePopMB-2,#accountBalanceUsd,.form-control,.mono{font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-weight:400;letter-spacing:.02em}.offline-qrcode{margin-top:-150px;max-width:300px}@media screen and (max-width:942px){.offline-qrcode{margin-top:-78px}}@media screen and (max-width:769px){.offline-qrcode{margin-top:0}}.account-info{padding-left:1em;margin:0}.account-info:after,.account-info:before{content:" ";display:table}.account-info:after{clear:both}.account-info li{margin-bottom:0;list-style-type:none;word-break:break-all}table.account-info{font-weight:200;border-bottom:0;min-width:200px;width:100%}table.account-info tbody{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}table.account-info td{padding:.3rem;line-height:1}table.account-info td:first-child{word-wrap:break-word;padding-left:1em}table.account-info tr{border-bottom:1px solid #f3f3f3}table.account-info tr:last-child,table.account-info tr:nth-last-child(2){border-bottom:0 solid #f3f3f3}table.account-info tr.custom-token{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}input[type=text]+.eye{cursor:pointer}input[type=text]+.eye:before{content:"";width:20px;height:20px;margin-left:6px;margin-right:6px;display:inline-block;vertical-align:middle;background:url(../images/icon-eye.svg)}input[type=password]+.eye{cursor:pointer}input[type=password]+.eye:before{content:"";width:20px;height:20px;margin-left:6px;margin-right:6px;display:inline-block;vertical-align:middle;background:url(../images/icon-eye-closed.svg)}.collapse-container h1{margin:.25rem 0}.collapse-container .collapse-button{float:left;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0;margin:5px -30px;font-size:1.6rem;line-height:.95;display:inline-block;width:25px;height:25px;text-align:center;border:1px solid #ddd;color:#c3c3c3;border-radius:5px}.help .collapse-container{margin:40px 0}.help .collapse-container .collapse-button{margin:-10px -30px;font-size:20px;line-height:1}.token-remove{width:.9rem;height:.9rem;position:absolute;left:18px;cursor:pointer}.node-remove{width:16px;height:16px;position:absolute;right:6px;top:8px}.m-addresses td:first-child{max-width:50px;min-widht:50px}.m-addresses td:last-child{text-align:right}.token-balances{margin-bottom:15px;font-size:14px;max-height:60vh;overflow:scroll}h2 a.isActive,h2 a.isActive:active,h2 a.isActive:hover{color:#333;cursor:default}.item{margin:6px 0}.output{padding:.5rem 1rem;margin-top:-.5rem}.output p{margin:.75rem 0 0}label .small{font-size:.9rem}label small{color:#9a9a9a}.write-address .col-xs-1{padding:0}.write-address .col-xs-11{padding-right:10px}.write-boolean label{display:block}.decrypt-drtv{padding:1rem 0}.decrypt-drtv label.radio{padding:0 1.5rem;margin:.5rem 0}.decrypt-drtv h4{margin-top:0}.qr-code{max-width:17rem;margin:auto}.qr-pkey-container{position:relative}.qr-overlay{background-color:#000;position:absolute;top:0;left:0;right:0;bottom:0}.contracts a.isActive{color:#333;font-weight:400}.contracts .dropdown-toggle{display:block;text-align:left;white-space:normal}.contracts .dropdown-toggle .caret{position:absolute;right:1rem;top:1.25rem}.contracts .dropdown-menu-left{font-size:.9rem;left:auto;right:0;min-width:37rem}.contracts .dropdown-menu-left small{float:right}.ens-tab a.isActive{color:#333;font-weight:400}.ens-tab .btn-primary-buy-button{width:200px}.ens-tab .btn-red{background-color:#84023d;border-color:#84023d;position:relative;width:200px}.ens-tab .btn-red .na{background-color:red;border-radius:300px;padding:5px 8px;font-weight:900}.ens-tab .btn-red:hover{background-color:#84023d;border-color:#84023d;position:relative}.ens-tab .pad-bot{padding-bottom:5px}.dropdown-gas{padding-bottom:1rem}@media screen and (max-width:900px){.dropdown-gas{padding-bottom:2rem}}.dropdown-gas__msg{font-size:12px;font-weight:300;margin:-10px auto 3px;max-width:113rem;padding:0 5rem;text-align:right;white-space:normal}@media screen and (max-width:80rem){.dropdown-gas__msg{padding:0 3%}}@media screen and (max-width:900px){.dropdown-gas__msg{margin-top:0;padding:0 1%}}.view-wallet-content h5{margin-bottom:.25rem}.view-wallet-content a.isActive{color:#333}#selectedTypeLedger ol{padding-left:1rem}.loading-wrap{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.7);z-index:999;text-align:center}.loading-wrap .loading{position:absolute;text-align:center;top:40%;left:50%;-webkit-transform:translate(-50%,-60%);-ms-transform:translate(-50%,-60%);transform:translate(-50%,-60%)}.loading-wrap img{border-radius:50%}.loading-wrap h1{-webkit-animation:opacity 2s infinite ease-in-out;animation:opacity 2s infinite ease-in-out;color:#fff}@-webkit-keyframes opacity{0%,to{opacity:0}50%{opacity:1}}@keyframes opacity{0%,to{opacity:0}50%{opacity:1}}.embedded-logo{height:auto;width:100%;max-width:290px;padding:.5rem 0}.ens-response{color:#737373}.dropdown-node .dropdown-menu li{border-left:2px solid #b50085;position:relative}.dropdown-node .dropdown-menu li:last-child{border-top:1px solid #ececec;padding-top:5px}.dropdown-node .dropdown-menu li:first-child,.dropdown-node .dropdown-menu li:nth-child(2),.dropdown-node .dropdown-menu li:nth-child(3),.dropdown-node .dropdown-menu li:nth-child(4){border-left:2px solid #0e97c0}.dropdown-node .dropdown-menu li:nth-child(5),.dropdown-node .dropdown-menu li:nth-child(6),.dropdown-node .dropdown-menu li:nth-child(7),.dropdown-node .dropdown-menu li:nth-child(8),.dropdown-node .dropdown-menu li:nth-child(9){border-left:2px solid #009241}.dropdown-node .dropdown-menu li:nth-child(10),.dropdown-node .dropdown-menu li:nth-child(11),.dropdown-node .dropdown-menu li:nth-child(12),.dropdown-node .dropdown-menu li:nth-child(13),.dropdown-node .dropdown-menu li:nth-child(14),.dropdown-node .dropdown-menu li:nth-child(15){border-left:2px solid #adc101}.dropdown-node .dropdown-menu li:nth-child(16){border-left:2px solid #673ab7}.dropdown-node .dropdown-menu li:nth-child(17){border-left:2px solid #00ad85}.dropdown-node .dropdown-menu li:nth-child(18){border-left:2px solid #4568bb}.dropdown-node .dropdown-menu li:nth-child(19){border-left:2px solid #6a488d}.dropdown-node .dropdown-menu li:nth-child(20){border-left:2px solid #046111}.dropdown-node .dropdown-menu li:nth-child(21){border-left:2px solid #4295d1}.dropdown-node .dropdown-menu li:nth-child(22){border-left:2px solid #0e97c0}.dropdown-node .dropdown-menu li:nth-child(23){border-left:2px solid #009241}.dropdown-node .dropdown-menu li:nth-child(24){border-left:2px solid #fece00}.dropdown-node .dropdown-menu li:nth-child(25){border-left:2px solid #27223d}.dropdown-node .dropdown-menu li:nth-child(26){border-left:2px solid #926565}.dropdown-node .dropdown-menu li:nth-child(27),.dropdown-node .dropdown-menu li:nth-child(28){border-left:2px solid #aa0087}.dropdown-node .dropdown-menu li:nth-child(29){border-left:2px solid #a16bff}.dropdown-node .dropdown-menu li:nth-child(30){border-left:2px solid #a2d729}.dropdown-node .dropdown-menu li:nth-child(31){border-left:2px solid #d63068}.dropdown-node .dropdown-menu li:nth-child(32){border-left:2px solid #09f}.dropdown-node .dropdown-menu li:nth-child(33){border-left:2px solid #4568bb}.dropdown-node .dropdown-menu li:nth-child(34){border-left:2px solid #0092ee}.dropdown-node .dropdown-menu li:last-child{border-left:2px solid #9a9a9a}.dropdown-node .dropdown-menu li:nth-child(4),.dropdown-node .dropdown-menu li:nth-child(9),.dropdown-node .dropdown-menu li:nth-child(15),.dropdown-node .dropdown-menu li:nth-child(16),.dropdown-node .dropdown-menu li:nth-child(17),.dropdown-node .dropdown-menu li:nth-child(18),.dropdown-node .dropdown-menu li:nth-child(19),.dropdown-node .dropdown-menu li:nth-child(20),.dropdown-node .dropdown-menu li:nth-child(21),.dropdown-node .dropdown-menu li:nth-child(22),.dropdown-node .dropdown-menu li:nth-child(23),.dropdown-node .dropdown-menu li:nth-child(24),.dropdown-node .dropdown-menu li:nth-child(25),.dropdown-node .dropdown-menu li:nth-child(26),.dropdown-node .dropdown-menu li:nth-child(28),.dropdown-node .dropdown-menu li:nth-child(29),.dropdown-node .dropdown-menu li:nth-child(30),.dropdown-node .dropdown-menu li:nth-child(31),.dropdown-node .dropdown-menu li:nth-child(32),.dropdown-node .dropdown-menu li:nth-child(33){border-bottom:1px solid #ececec}header{margin-bottom:1em}header.ETH .header-branding{border-bottom:.25rem solid #0e97c0}header.ETH+.container+.pre-footer+.footer{border-top:.25rem solid #0e97c0}header.ETH+.container .modal-content{border:.25rem solid #0e97c0}header.ETH+.container .alert-info{background-color:#0e97c0}header.ETH .dropdown-gas:before{width:24px;background-image:url(../images/coins/ethereum.svg)}header.ETC .header-branding{border-bottom:.25rem solid #009241}header.ETC+.container+.pre-footer+.footer{border-top:.25rem solid #009241}header.ETC+.container .modal-content{border:.25rem solid #009241}header.ETC+.container .alert-info{background-color:#009241}header.ETC .dropdown-gas:before{width:24px;background-image:url(../images/coins/ethereum-classic.svg)}header.Ropsten .header-branding{border-bottom:.25rem solid #adc101}header.Ropsten+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Ropsten+.container .modal-content{border:.25rem solid #adc101}header.Ropsten+.container .alert-info{background-color:#adc101}header.Kovan .header-branding{border-bottom:.25rem solid #adc101}header.Kovan+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Kovan+.container .modal-content{border:.25rem solid #adc101}header.Kovan+.container .alert-info{background-color:#adc101}header.Rinkeby .header-branding{border-bottom:.25rem solid #adc101}header.Rinkeby+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Rinkeby+.container .modal-content{border:.25rem solid #adc101}header.Rinkeby+.container .alert-info{background-color:#adc101}header.Custom .header-branding{border-bottom:.25rem solid #b50085}header.Custom+.container+.pre-footer+.footer{border-top:.25rem solid #b50085}header.Custom+.container .modal-content{border:.25rem solid #b50085}header.Custom+.container .alert-info{background-color:#b50085}header.EXP .header-branding{border-bottom:.25rem solid #673ab7}header.EXP+.container+.pre-footer+.footer{border-top:.25rem solid #673ab7}header.EXP+.container .modal-content{border:.25rem solid #673ab7}header.EXP+.container .alert-info{background-color:#673ab7}header.EXP .dropdown-gas:before{width:32px;background-image:url(../images/coins/exp.svg)}header.UBQ .header-branding{border-bottom:.25rem solid #00ad85}header.UBQ+.container+.pre-footer+.footer{border-top:.25rem solid #00ad85}header.UBQ+.container .modal-content{border:.25rem solid #00ad85}header.UBQ+.container .alert-info{background-color:#00ad85}header.UBQ .dropdown-gas:before{width:32px;background-image:url(../images/coins/ubiq.svg)}header.POA .header-branding{border-bottom:.25rem solid #4568bb}header.POA+.container+.pre-footer+.footer{border-top:.25rem solid #4568bb}header.POA+.container .modal-content{border:.25rem solid #4568bb}header.POA+.container .alert-info{background-color:#4568bb}header.POA .dropdown-gas:before{width:32px;background-image:url(../images/coins/poa.svg)}header.TOMO .header-branding{border-bottom:.25rem solid #6a488d}header.TOMO+.container+.pre-footer+.footer{border-top:.25rem solid #6a488d}header.TOMO+.container .modal-content{border:.25rem solid #6a488d}header.TOMO+.container .alert-info{background-color:#6a488d}header.TOMO .dropdown-gas:before{width:34px;background-image:url(../images/coins/tomo.svg)}header.ELLA .header-branding{border-bottom:.25rem solid #046111}header.ELLA+.container+.pre-footer+.footer{border-top:.25rem solid #046111}header.ELLA+.container .modal-content{border:.25rem solid #046111}header.ELLA+.container .alert-info{background-color:#046111}header.ELLA .dropdown-gas:before{width:32px;background-image:url(../images/coins/ella.svg)}header.ETSC .header-branding{border-bottom:.25rem solid #4295d1}header.ETSC+.container+.pre-footer+.footer{border-top:.25rem solid #4295d1}header.ETSC+.container .modal-content{border:.25rem solid #4295d1}header.ETSC+.container .alert-info{background-color:#4295d1}header.ETSC .dropdown-gas:before{width:32px;background-image:url(../images/coins/etsc.svg)}header.EGEM .header-branding{border-bottom:.25rem solid #0e97c0}header.EGEM+.container+.pre-footer+.footer{border-top:.25rem solid #0e97c0}header.EGEM+.container .modal-content{border:.25rem solid #0e97c0}header.EGEM+.container .alert-info{background-color:#0e97c0}header.EGEM .dropdown-gas:before{width:36px;background-image:url(../images/coins/egem.svg)}header.CLO .header-branding{border-bottom:.25rem solid #009241}header.CLO+.container+.pre-footer+.footer{border-top:.25rem solid #009241}header.CLO+.container .modal-content{border:.25rem solid #009241}header.CLO+.container .alert-info{background-color:#009241}header.CLO .dropdown-gas:before{width:36px;background-image:url(../images/coins/callisto.svg)}header.MUSIC .header-branding{border-bottom:.25rem solid #fece00}header.MUSIC+.container+.pre-footer+.footer{border-top:.25rem solid #fece00}header.MUSIC+.container .modal-content{border:.25rem solid #fece00}header.MUSIC+.container .alert-info{background-color:#fece00}header.MUSIC .dropdown-gas:before{width:34px;background-image:url(../images/coins/music.svg)}header.GO .header-branding{border-bottom:.25rem solid #27223d}header.GO+.container+.pre-footer+.footer{border-top:.25rem solid #27223d}header.GO+.container .modal-content{border:.25rem solid #27223d}header.GO+.container .alert-info{background-color:#27223d}header.GO .dropdown-gas:before{width:38px;background-image:url(../images/coins/gochain.svg)}header.EOSC .header-branding{border-bottom:.25rem solid #926565}header.EOSC+.container+.pre-footer+.footer{border-top:.25rem solid #926565}header.EOSC+.container .modal-content{border:.25rem solid #926565}header.EOSC+.container .alert-info{background-color:#926565}header.EOSC .dropdown-gas:before{width:26px;background-image:url(../images/coins/eosc.svg)}header.AKA .header-branding{border-bottom:.25rem solid #aa0087}header.AKA+.container+.pre-footer+.footer{border-top:.25rem solid #aa0087}header.AKA+.container .modal-content{border:.25rem solid #aa0087}header.AKA+.container .alert-info{background-color:#aa0087}header.AKA .dropdown-gas:before{width:34px;background-image:url(../images/coins/akroma.svg)}header.ESN .header-branding{border-bottom:.25rem solid #a16bff}header.ESN+.container+.pre-footer+.footer{border-top:.25rem solid #a16bff}header.ESN+.container .modal-content{border:.25rem solid #a16bff}header.ESN+.container .alert-info{background-color:#a16bff}header.ESN .dropdown-gas:before{width:32px;background-image:url(../images/coins/ethersocial.svg)}header.PIRL .header-branding{border-bottom:.25rem solid #a2d729}header.PIRL+.container+.pre-footer+.footer{border-top:.25rem solid #a2d729}header.PIRL+.container .modal-content{border:.25rem solid #a2d729}header.PIRL+.container .alert-info{background-color:#a2d729}header.PIRL .dropdown-gas:before{width:32px;background-image:url(../images/coins/pirl.svg)}header.ETHO .header-branding{border-bottom:.25rem solid #d63068}header.ETHO+.container+.pre-footer+.footer{border-top:.25rem solid #d63068}header.ETHO+.container .modal-content{border:.25rem solid #d63068}header.ETHO+.container .alert-info{background-color:#d63068}header.ETHO .dropdown-gas:before{width:24px;background-image:url(../images/coins/etho.svg)}header.ATH .header-branding{border-bottom:.25rem solid #09f}header.ATH+.container+.pre-footer+.footer{border-top:.25rem solid #09f}header.ATH+.container .modal-content{border:.25rem solid #09f}header.ATH+.container .alert-info{background-color:#09f}header.ATH .dropdown-gas:before{width:36px;background-image:url(../images/coins/atheios.svg)}header.ILT .header-branding{border-bottom:.25rem solid #4568bb}header.ILT+.container+.pre-footer+.footer{border-top:.25rem solid #4568bb}header.ILT+.container .modal-content{border:.25rem solid #4568bb}header.ILT+.container .alert-info{background-color:#4568bb}header.ILT .dropdown-gas:before{width:35px;background-image:url(../images/coins/ilt.svg)}header.WEB .header-branding{border-bottom:.25rem solid #0092ee}header.WEB+.container+.pre-footer+.footer{border-top:.25rem solid #0092ee}header.WEB+.container .modal-content{border:.25rem solid #0092ee}header.WEB+.container .alert-info{background-color:#0092ee}header.WEB .dropdown-gas:before{width:36px;background-image:url(../images/coins/webchain.svg)}.contest-container{-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:0!important;text-align:center}.contest-container ol{padding:0 10em;text-align:left!important}.contest-container ol li{list-style-position:inside}@media screen and (max-width:960px){.contest-container ol{padding:0 5em!important}.collapse-container .collapse-button{margin-left:-100px}}@media screen and (max-width:650px){.contest-container ol{padding:0 20px!important}}.on-boarding-close{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.on-boarding-close img{cursor:pointer}@media screen and (max-width:600px){.footer__pill-custom-wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.footer__pill-custom-wrap a{-webkit-box-flex:1;-webkit-flex:auto;-ms-flex:auto;flex:auto;max-width:115px}}.privacy-policy{width:90%}.privacy-policy h1,.privacy-policy h3{font-weight:700;text-align:center}.privacy-policy .privacy-policy-body{margin-top:30px}.phishing{height:60%;text-align:center}.swap-tab a.link,.swap-tab a.link:hover{-webkit-transition:none;-o-transition:none;transition:none}.swap-tab .btn-lg{margin-top:3rem}.swap-tab .btn img,.swap-tab .btn svg{margin-right:.5rem;margin-left:-.25rem;vertical-align:middle}.swap-tab .swap-rates{text-align:center}.swap-tab .swap-rates .order-panel{background:-webkit-linear-gradient(300deg,#0e97c0,#163151);background:-o-linear-gradient(300deg,#0e97c0,#163151);background:linear-gradient(150deg,#0e97c0,#163151);position:relative}.swap-tab .swap-rates .order-panel .bity-logo{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@media screen and (max-width:51.2rem){.swap-tab .swap-rates .order-panel{padding-top:1rem;padding-bottom:1rem}.swap-tab .swap-rates .order-panel .order-info{text-align:left;padding:0 0 0 22%}.swap-tab .swap-rates .order-panel .bity-logo{left:-1rem;top:40%;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}}.swap-tab .swap-rates .form-control.input-sm{width:16%;min-width:3.5rem;display:inline-block;margin-right:1rem;text-align:right;background-color:transparent;color:#fff;-webkit-box-shadow:0 0 0 #fff;box-shadow:0 0 0 #fff;border:0 solid #fff;border-bottom:2px solid #fff}.swap-tab .swap-rates p{margin:0}.swap-tab .swap-rates p span{opacity:.9}.swap-tab .swap-rates .order-info:nth-child(4n+1),.swap-tab .swap-rates .order-info:nth-child(4n+2),.swap-tab .swap-rates .order-info:nth-child(4n+3){background:transparent}.swap-tab .swap-panel{text-align:center;margin-top:3rem;padding:2rem .5rem}.swap-tab .swap-panel>*{display:inline-block;margin:1.5rem .5rem;vertical-align:middle}.swap-tab .swap-panel .form-control{width:10rem;margin-right:0}.swap-tab .swap-panel .dropdown{margin-left:0}.swap-tab .swap-address{text-align:center;padding:3rem 1rem}.swap-tab .swap-start{text-align:center}.swap-tab .swap-start .swap-info{text-align:left;margin-bottom:5rem}.swap-tab .swap-order{text-align:left}.swap-tab .swap-order .order-info-wrap{margin-bottom:0}.swap-tab .swap-order h1{margin-top:3rem;margin-bottom:3rem}.ens-tab .collapse-container h4,.ens-tab .collapse-container h5,.swap-tab .collapse-container h4,.swap-tab .collapse-container h5{display:inline-block}.ens-tab .collapse-container .collapse-button,.swap-tab .collapse-container .collapse-button{float:none;margin:0}.order-info-wrap{margin-bottom:3rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.order-info-wrap .order-info{padding:1rem 0}.order-info{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;min-height:100px;text-align:center;padding:.5rem 0;color:#fff}.order-info:after,.order-info:before{content:" ";display:table}.order-info:after{clear:both}.order-info h3,.order-info h4,.order-info p{margin:0}.order-info:nth-child(4n+1){background-color:#175575}.order-info:nth-child(4n+2){background-color:#1e92ba}.order-info:nth-child(4n+3){background-color:#143955}.order-info:nth-child(4n+4){background-color:#19b3ae}.swap-progress{margin-top:2rem;margin-bottom:0;position:relative}.swap-progress .sep{position:absolute;top:3.5rem;left:3%;right:3%;height:.25rem;background-color:#ececec}@media screen and (max-width:675px){.swap-progress .sep{display:none}}.swap-progress:after,.swap-progress:before{content:" ";display:table}.swap-progress:after{clear:both}.swap-progress .progress-item{width:20%;float:left;text-align:center;margin:.25rem 0}@media screen and (max-width:675px){.swap-progress .progress-item{width:100%}}.swap-progress .progress-item:nth-child(4n+1) .progress-circle{border-color:rgba(30,146,186,.4);color:rgba(30,146,186,.4)}.swap-progress .progress-item:nth-child(4n+2) .progress-circle{border-color:rgba(23,85,117,.4);color:rgba(23,85,117,.4)}.swap-progress .progress-item:nth-child(4n+3) .progress-circle{border-color:rgba(25,179,174,.4);color:rgba(25,179,174,.4)}.swap-progress .progress-item:nth-child(4n+4) .progress-circle{border-color:rgba(20,57,85,.4);color:rgba(20,57,85,.4)}.swap-progress .progress-item .progress-circle{border-radius:50%;border-width:.25rem;border-style:solid;-webkit-box-sizing:content-box;box-sizing:content-box;margin:1rem auto;padding-bottom:4rem;position:relative;width:4rem;background:#fff}@media screen and (max-width:675px){.swap-progress .progress-item .progress-circle{margin:.25rem 1rem .25rem 2rem;padding-bottom:3rem;width:3rem;float:left}}.swap-progress .progress-item .progress-circle i{font-size:1.5rem;line-height:1.75rem;height:1.75rem;width:1.75rem;font-weight:900;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@media screen and (max-width:675px){.swap-progress .progress-item .progress-circle i{font-size:1.5rem;line-height:1.5rem;height:1.5rem;width:1.5rem}}.swap-progress .progress-item p{font-size:.9rem;font-weight:600;text-transform:uppercase;color:hsla(0,0%,55%,.5);letter-spacing:.1em}@media screen and (max-width:675px){.swap-progress .progress-item p{line-height:4rem;margin:0;text-align:left}}.swap-progress .progress-item p small{letter-spacing:.03em;font-size:75%}.swap-progress .progress-item.progress-active p{color:#8d8d8d}.swap-progress .progress-item.progress-active:nth-child(4n+1) .progress-circle{border-color:#1e92ba;color:#1e92ba}.swap-progress .progress-item.progress-active:nth-child(4n+2) .progress-circle{border-color:#175575;color:#175575}.swap-progress .progress-item.progress-active:nth-child(4n+3) .progress-circle{border-color:#19b3ae;color:#19b3ae}.swap-progress .progress-item.progress-active:nth-child(4n+4) .progress-circle{border-color:#143955;color:#143955}.swap-progress .progress-item.progress-true .progress-circle{background-color:#5dba5a;border-color:#5dba5a;-webkit-box-shadow:inset 0 0 0 5px #fff;box-shadow:inset 0 0 0 5px #fff}.swap-progress .progress-item.progress-true .progress-circle i{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 426.67 426.67' width='32' height='32'%3E%3Cpath d='M153.504 366.839c-8.657 0-17.323-3.302-23.927-9.911L9.914 237.265c-13.218-13.218-13.218-34.645 0-47.863 13.218-13.218 34.645-13.218 47.863 0l95.727 95.727 215.39-215.386c13.218-13.214 34.65-13.218 47.859 0 13.222 13.218 13.222 34.65 0 47.863L177.436 356.928c-6.609 6.605-15.271 9.911-23.932 9.911z' fill='%23fff'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain;font-size:0}.swap-progress .progress-item.progress-true p{color:#5dba5a}.ens-tab .order-info-wrap{margin-top:1rem;margin-bottom:1rem}.ens-tab h5+p{margin-top:-.5em}.bity-contact{margin:9rem -1rem -5rem}.cont-md{max-width:64rem;margin:auto}.txstatus__1 .form-control{max-width:64rem;margin:1rem auto}.txstatus__3 h4{display:inline-block}.txstatus__3 .collapse-button{float:none;margin:0}.text-ellipsis{white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.block-title1{background-color:#007cc0}.block-title1,.block-title2{color:#fff;padding:10px 20px;font-weight:900;font-size:20px}.block-title2{background-color:#3e4b5a}.mywallet-container ::-webkit-scrollbar{width:7px}.mywallet-container ::-webkit-scrollbar-track{background:#d7d7d7}.mywallet-container ::-webkit-scrollbar-thumb{background:#3e4b5a;border-radius:12px}.mywallet-container p{margin:0}.mywallet-container h3{margin:0;font-weight:900}.mywallet-container .addressIdenticon{width:50px!important;height:50px!important}.mywallet-container .grid-bg{background-color:#f5f5f5}.mywallet-container .grid-frame{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.mywallet-container .grid-frame #walletsContainer{-webkit-box-flex:50;-webkit-flex:50;-ms-flex:50;flex:50;height:100%}.mywallet-container .grid-frame .data:last-child{margin:0}.mywallet-container .grid-frame .data{display:grid;grid-template-columns:1fr 350px;grid-gap:4px;margin-bottom:20px}.mywallet-container .grid-frame .data .wallet .editor-icons{height:20px;width:20px}.mywallet-container .grid-frame .data .wallet .block-title1 p{font-weight:900}.mywallet-container .grid-frame .data .wallet .content{padding:25px 30px 20px}.mywallet-container .grid-frame .data .wallet .content>div{display:inline-block;vertical-align:top}.mywallet-container .grid-frame .data .wallet .content .balance{padding:0 20px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block{margin-bottom:15px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .block-title,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .block-title{width:125px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block h3,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block h3{display:inline-block;vertical-align:middle;font-size:20px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .balance-amount,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .balance-amount{vertical-align:middle;display:inline-block;font-size:20px;font-weight:900;color:#00c599}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block{display:inline-block;vertical-align:middle}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p{background-color:#fff;padding-left:20px;font-weight:500;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;font-size:14px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p button,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p button{background-color:#b3b3b4!important;color:#fff!important;display:inline-block;margin-left:30px;padding:12px 17px!important;border:none;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p button:hover,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p button:hover{background-color:grey!important}.mywallet-container .grid-frame .data .tokens .col-title{background-color:#fff;display:grid;grid-template-columns:1fr 1fr;padding:5px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .data .tokens .col-title p{font-weight:900;font-size:13px}.mywallet-container .grid-frame .data .tokens .content{height:116px;overflow-y:auto;position:relative}.mywallet-container .grid-frame .data .tokens .content>div{display:grid;grid-template-columns:1fr 1fr;padding:5px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .data .tokens .content>div:nth-child(2n){background-color:#ebebeb}.mywallet-container .grid-frame .data .tokens .content>div p{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mywallet-container .grid-frame .sidebar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:15;-webkit-flex:15;-ms-flex:15;flex:15;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-left:15px;margin-top:4.2rem}.mywallet-container .grid-frame .sidebar .title-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#fff;background-color:#3e4b5a;padding:10px 20px}.mywallet-container .grid-frame .sidebar .title-container .title{display:inline-block;font-weight:900;font-size:20px}.mywallet-container .grid-frame .sidebar .title-container .total-of{display:inline-block;margin-left:auto;font-size:13px;margin-top:10px}.mywallet-container .grid-frame .sidebar .col-title{background-color:#fff;display:grid;grid-template-columns:2fr 1fr;padding:15px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .sidebar .col-title p{font-size:15px;font-weight:900}.mywallet-container .grid-frame .sidebar .content{overflow-y:scroll;position:relative}.mywallet-container .grid-frame .sidebar .content>div{display:grid;grid-template-columns:2fr 1fr;padding:15px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .sidebar .content>div p{font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mywallet-container .grid-frame .sidebar .content>div .add-button{position:relative}.mywallet-container .grid-frame .sidebar .content>div .add-button p{cursor:pointer;width:90px;position:absolute;padding:7px 0;border:1px solid blue;font-size:12px;color:blue;text-align:center;top:-6px;left:0;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .sidebar .content>div .add-button p:hover{color:#fff;background-color:blue}.mywallet-container .grid-frame .sidebar .content>div .remove-button{position:relative}.mywallet-container .grid-frame .sidebar .content>div .remove-button p{cursor:pointer;width:90px;position:absolute;padding:7px 0;border:1px solid red;font-size:12px;color:red;text-align:center;top:-6px;left:0;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .sidebar .content>div .remove-button p:hover{color:#fff;background-color:red}.mywallet-container .grid-frame .sidebar .content .col-title{background-color:#fff}.mywallet-container .grid-frame .sidebar .content .col-title p{font-weight:900}#etherWalletPopUp{padding:10px;position:relative;min-width:346px}#etherWalletPopUp .back-icon{position:absolute;left:5px;top:5px}#etherWalletPopUp .back-icon:active,#etherWalletPopUp .back-icon:hover{outline:0}.toggleTokenContainer span{color:#0e97c0;cursor:pointer}.toggleTokenContainer span:hover{color:#095f79}.walletTokensContainer{max-height:70px;overflow:scroll}.quicksend-address{font-family:Menlo,Monaco,Consolas,Courier New,monospace;max-width:170px;word-wrap:break-word;font-size:12px;font-weight:300;display:block}.chrome-tokens span{min-width:130px;display:inline-block}.truncate{max-width:130px;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mainWalletDelete,.mainWalletEdit,.mainWalletView{margin:.5em}.myWalletCtrl table:not(.account-info) h2{margin:0;font-size:1.6em}.myWalletCtrl table:not(.account-info) h3{font-weight:400;font-size:1.3em}.myWalletCtrl table:not(.account-info) td:nth-child(2){max-width:380px}.myWalletCtrl table:not(.account-info) td,.myWalletCtrl table:not(.account-info) th{vertical-align:middle;padding:.5em .75em}#secWatchOnlyMain .mainWalletDelete{width:60px;display:block}.spinner{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;height:37px}.spinner-container{display:inherit!important;padding:7.5px 20px!important;text-align:center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.text-navy{color:#163151}.text-gray-lighter{color:#ececec}.text-blue{color:#0e97c0}.text-white{color:#fff}.bg-navy{background:#163151}.bg-gradient{background:#163151;background:-webkit-linear-gradient(301deg,#132a45,#143a56,#21a4ce,#19b4ad);background:-o-linear-gradient(301deg,#132a45,#143a56,#21a4ce,#19b4ad);background:linear-gradient(149deg,#132a45,#143a56,#21a4ce,#19b4ad)}.bg-gray-lighter{background-color:#ececec}.bg-blue{background-color:#0e97c0}.bg-white{background-color:#fff}.text-serif{font-family:Georgia,Times New Roman,Times,serif}.text-sans-serif{font-family:Lato,sans-serif}.pad-v-sm{padding-top:.5em;padding-bottom:.5em}.pad-v-md{padding-top:1em;padding-bottom:1em}.pad-v-lg{padding-top:1.5em;padding-bottom:1.5em}.pad-v-xl{padding-top:2em;padding-bottom:2em}.marg-v-sm{margin-top:.5em;margin-bottom:.5em}.marg-v-md{margin-top:1em;margin-bottom:1em}.marg-v-lg{margin-top:1.5em;margin-bottom:1.5em}.marg-v-xl{margin-top:2em;margin-bottom:2em}.img-fill{width:100%;height:auto;max-width:100%}.header-branding{color:#fff;padding:0}@media screen and (max-width:960px){.header-branding{text-align:center}}.header-branding .container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:900px){.header-branding .container{padding-left:1%;padding-right:1%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}}.header-branding .brand{float:left}@media screen and (max-width:900px){.header-branding .brand{float:none}}.header-branding .brand img{padding:.25rem 0}.header-branding .tagline{font-weight:200;color:#fff;-webkit-box-flex:1;-webkit-flex:1 auto;-ms-flex:1 auto;flex:1 auto;text-align:right;padding:.25rem 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:900px){.header-branding .tagline{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;text-align:right}}.header-branding a{cursor:pointer;font-weight:400;display:inline-block}.header-branding a,.header-branding a:active,.header-branding a:hover{color:#fff;-webkit-transition:all .25s ease;-o-transition:.25s all ease;transition:all .25s ease}.header-branding a:active,.header-branding a:hover{opacity:.8;text-decoration:none}.header-branding .dropdown{padding:.1rem}@media screen and (max-width:900px){.header-branding .dropdown{padding:.1rem 0;white-space:nowrap;display:inline-block;font-size:14px}.header-branding .dropdown .dropdown-menu{right:0;overflow-y:auto;min-width:auto;left:auto;top:100%;font-size:14px}.header-branding .dropdown .dropdown-menu>li>a{font-size:14px;padding:.25rem 30px .25rem 15px;position:relative}.header-branding .dropdown-gas{white-space:normal}.header-branding .dropdown-gas .dropdown-menu{right:0!important}}.header-branding .dropdown-toggle{font-size:14px;padding:.3em .6rem}.header-branding .dropdown-gas{display:inline-block}.header-branding .dropdown-gas .dropdown-menu{min-width:200px;padding:.5rem;margin:.1rem 0 0;right:.1rem;left:auto;overflow:unset}.header-branding .dropdown-gas .dropdown-menu p{padding:0}.header-branding .dropdown-gas:before{content:"";display:inline-block;background-position:50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle;width:24px;height:48px;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='417' preserveAspectRatio='xMidYMid'%3E%3Cg fill-opacity='.588'%3E%3Cpath d='M128.95 154.205h.003l127.96 58.162L128.953.047z' fill='%23b1b1b1'/%3E%3Cpath d='M128.95 154.205V.047L.988 212.367l127.96-58.162z' fill='%23cfcfcf'/%3E%3Cpath d='M128.949 416.953l128.038-180.32-128.038 75.6z' fill='%23b1b1b1'/%3E%3Cpath fill='%23cfcfcf' d='M.988 236.632l127.962 180.32v-104.72z'/%3E%3Cpath fill='%23909090' d='M128.95 288.004l127.96-75.637-127.96-58.162z'/%3E%3Cpath fill='%23b1b1b1' d='M128.948 154.205L.988 212.367l127.96 75.637z'/%3E%3C/g%3E%3C/svg%3E");margin-top:1px}.dropdown-menu a.active{text-decoration:none;color:#0e97c0;background-color:#fafafa}.dropdown-menu{overflow-y:auto;right:.1rem;margin:.1rem 0 0}.nav-container{position:relative;overflow-y:hidden}.nav-container .nav-scroll{-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;overflow-x:auto;margin-bottom:-20px;font-size:0;white-space:nowrap}@media screen and (max-width:51.2rem){.nav-container .nav-scroll{margin:0 -5% -20px}}.nav-container .nav-scroll .nav-inner{border-bottom:2px solid #fff;display:inline-block;font-size:0;margin-bottom:20px;min-width:100%;padding:5px 0 0;vertical-align:middle}.nav-container .nav-scroll .nav-inner .nav-item{display:inline-block;font-size:0}.nav-container .nav-scroll .nav-inner .nav-item.NAV_Swap a:before{content:"";display:inline-block;margin-top:-.1rem;width:1.3rem;height:1.3rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 620.04 631.27'%3E%3Ctitle%3Eicon-swap%3C/title%3E%3Cpath d='M469.95 289.68c-77 0-139.59-62.62-139.59-139.59S392.98 10.5 469.95 10.5s139.59 62.62 139.59 139.59-62.62 139.59-139.59 139.59z' fill='%23ffe14d'/%3E%3Cpath d='M469.95 21a129.09 129.09 0 1 1-129.09 129.09A129.24 129.24 0 0 1 469.95 21m0-21c-82.76 0-150.09 67.33-150.09 150.09s67.29 150.09 150.09 150.09 150.09-67.33 150.09-150.09S552.71 0 469.95 0z' fill='%230f0f0f'/%3E%3Cpath d='M599.04 150.09A129.24 129.24 0 0 0 469.95 21v258.18a129.24 129.24 0 0 0 129.09-129.09z' fill='%23fc3'/%3E%3Cpath d='M469.95 44.94a105.12 105.12 0 1 0 105.12 105.15A105.24 105.24 0 0 0 469.95 44.94zm0 179c-49.27 0-74.85-24.6-74.85-73.87s25.58-74.85 74.85-74.85 75.82 25.58 75.82 74.85-26.55 73.87-75.82 73.87z' fill='%23ff9f19'/%3E%3Cpath d='M545.77 150.09c0 49.27-26.55 74.85-75.82 74.85v30.27a105.12 105.12 0 1 0 0-210.24v30.27c49.27 0 75.82 25.58 75.82 74.85z' fill='%23f28618'/%3E%3Cpath fill='%230492be' d='M100.66 277.37H26.9V114.06h240.72V50.84l131.7 100.1-131.7 100.09v-63.22H100.66v89.56z'/%3E%3Cpath fill='%23103957' opacity='.2' d='M63.78 150.94h335.54l-131.7-100.1v63.22H26.9v163.31h36.88V150.94z'/%3E%3Cpath d='M259.71 34.94l152.67 116-152.67 116v-71.23H108.55v89.56H19V106.15h240.71zm126.55 116L275.52 66.77v55.17H34.8v147.53h57.95v-89.53h182.77v55.19z'/%3E%3Cpath fill='%23fff' d='M292.951 119.43l9.638-12.482 47.456 36.642-9.638 12.482z'/%3E%3Cpath d='M150.09 620.77c-77 0-139.59-62.62-139.59-139.59s62.65-139.59 139.59-139.59 139.59 62.62 139.59 139.59-62.62 139.59-139.59 139.59z' fill='%23ffe14d'/%3E%3Cpath d='M150.09 352.09A129.09 129.09 0 1 1 21 481.18a129.24 129.24 0 0 1 129.09-129.09m0-21C67.33 331.09 0 398.42 0 481.18s67.33 150.09 150.09 150.09 150.06-67.33 150.06-150.09-67.3-150.09-150.06-150.09z' fill='%230f0f0f'/%3E%3Cpath d='M21 481.18a129.24 129.24 0 0 0 129.09 129.09V352.09A129.24 129.24 0 0 0 21 481.18z' fill='%23fc3'/%3E%3Cpath d='M150.09 586.3A105.12 105.12 0 1 0 44.97 481.18 105.24 105.24 0 0 0 150.09 586.3zm0-179c49.27 0 74.85 24.6 74.85 73.87s-25.58 74.85-74.85 74.85-75.82-25.58-75.82-74.85 26.55-73.86 75.82-73.86z' fill='%23ff9f19'/%3E%3Cpath d='M74.26 481.18c0-49.27 26.55-74.85 75.82-74.85v-30.27a105.12 105.12 0 1 0 0 210.24v-30.27c-49.26 0-75.82-25.58-75.82-74.85z' fill='%23f28618'/%3E%3Cpath fill='%230492be' d='M519.39 353.9h73.75v163.31H352.43v63.22L220.72 480.34l131.71-100.1v63.22h166.96V353.9z'/%3E%3Cpath fill='%23103957' opacity='.2' d='M556.26 480.34H220.72l131.71 100.09v-63.22h240.71V353.9h-36.88v126.44z'/%3E%3Cpath d='M360.32 596.36l-152.66-116 152.66-116v71.25h151.16V346h89.56v179.11H360.32zm-126.55-116l110.74 84.16v-55.21h240.73V361.8h-57.95v89.56H344.52v-55.19z'/%3E%3Cpath fill='%23fff' d='M268.572 486.574l9.7-12.473 47.419 36.875-9.7 12.473z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle;margin-right:.25rem}.nav-container .nav-scroll .nav-inner .nav-item a{color:#095f79;display:block;font-size:16px;font-weight:300;padding:10px;white-space:nowrap;position:relative;min-height:2.75rem}.nav-container .nav-scroll .nav-inner .nav-item a:after{content:"";background:#0e97c0;height:2px;width:100%;left:0;position:absolute;bottom:-1px;-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.nav-container .nav-scroll .nav-inner .nav-item.active a,.nav-container .nav-scroll .nav-inner .nav-item a:focus,.nav-container .nav-scroll .nav-inner .nav-item a:hover{color:#0e97c0;text-decoration:none;-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s}.nav-container .nav-scroll .nav-inner .nav-item.active a:after,.nav-container .nav-scroll .nav-inner .nav-item a:focus:after,.nav-container .nav-scroll .nav-inner .nav-item a:hover:after{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s}.nav-container .nav-arrow-left,.nav-container .nav-arrow-right{background-color:#fff;bottom:12px;color:#d6d6d6;font-size:33px;line-height:1.3;min-width:50px;position:absolute;top:0;vertical-align:middle;width:5%;z-index:999}.nav-container .nav-arrow-left:hover,.nav-container .nav-arrow-right:hover{text-decoration:none}.nav-container .nav-arrow-right{right:3%;background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),color-stop(47%,#fff),to(#fff));background:-webkit-linear-gradient(left,hsla(0,0%,100%,0),#fff 47%,#fff);background:-o-linear-gradient(left,hsla(0,0%,100%,0) 0,#fff 47%,#fff 100%);background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff 47%,#fff);padding-right:5px;text-align:right}@media screen and (max-width:51.2rem){.nav-container .nav-arrow-right{right:0}}.nav-container .nav-arrow-left{left:3%;background:-webkit-gradient(linear,right top,left top,from(hsla(0,0%,100%,0)),color-stop(47%,#fff),to(#fff));background:-webkit-linear-gradient(right,hsla(0,0%,100%,0),#fff 47%,#fff);background:-o-linear-gradient(right,hsla(0,0%,100%,0) 0,#fff 47%,#fff 100%);background:linear-gradient(270deg,hsla(0,0%,100%,0) 0,#fff 47%,#fff);padding-left:5px;text-align:left}@media screen and (max-width:51.2rem){.nav-container .nav-arrow-left{left:0}}.print-container{width:680px;height:280px;border:1px solid gray;margin-bottom:50px;position:relative}.print-container #identicon{-webkit-print-color-adjust:exact;position:absolute;right:7.5rem;bottom:3rem}.print-container #identicon:after{content:"Always look for this icon when sending to this wallet.";font-size:9px;width:120px;position:absolute;bottom:.75rem;text-align:center;right:-7.5rem}.print-title{float:left}.print-text{color:#0b7290;text-transform:uppercase;letter-spacing:.05em;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);position:absolute;right:0;bottom:0;font-size:13px;font-weight:600}.print-qr-code-1{width:28%;float:left;position:relative;padding:20px}.print-qr-code-1 .print-text{right:-35px;bottom:69px}.print-qr-code-2{width:28%;float:left;position:relative;padding:20px}.print-qr-code-2 .print-text{right:-45px;bottom:69px}.print-notes{width:28%;float:left;position:relative;padding:20px}.print-notes .print-text{right:-45px;bottom:69px}.print-address-container{float:left;width:85%;padding:0 25px}.print-address-container p{font-size:14px;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.ether-logo-1{position:absolute;left:100px}.ether-logo-2{position:absolute;right:32px;bottom:64px}.block--container{max-width:113rem;margin-left:-1%;margin-right:-1%}.block__wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.block{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative}.block:after,.block:before{content:" ";display:table}.block:after{clear:both}@media screen and (max-width:32rem){.block{padding:1.25rem}}.block>:first-child{margin-top:0}.block>:last-child{margin-bottom:0}.block--text-white *,.block--text-white a{color:#fff}.block--text-white a:focus,.block--text-white a:hover{color:hsla(0,0%,100%,.9)}.block--danger{background-color:#ea4b40}.block--danger *,.block--danger a{color:#fff}.block--danger a:focus,.block--danger a:hover{color:hsla(0,0%,100%,.9)}.block--warning{background-color:#ff9800}.block--warning *,.block--warning a{color:#fff}.block--warning a:focus,.block--warning a:hover{color:hsla(0,0%,100%,.9)}.block--info{background-color:#163151}.block--info *,.block--info a{color:#fff}.block--info a:focus,.block--info a:hover{color:hsla(0,0%,100%,.9)}.block--primary{background-color:#0e97c0}.block--primary *,.block--primary a{color:#fff}.block--primary a:focus,.block--primary a:hover{color:hsla(0,0%,100%,.9)}.block--success{background-color:#5dba5a}.block--success *,.block--success a{color:#fff}.block--success a:focus,.block--success a:hover{color:hsla(0,0%,100%,.9)}.block__main{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative;text-align:left;padding:.75rem;-webkit-flex-basis:98%;-ms-flex-preferred-size:98%;flex-basis:98%;margin:1rem .5%}.block__main:after,.block__main:before{content:" ";display:table}.block__main:after{clear:both}@media screen and (max-width:32rem){.block__main{padding:1.25rem}}.block__main>:first-child{margin-top:0}.block__main>:last-child{margin-bottom:0}@media screen and (min-width:51.2rem){.block__main{-webkit-flex-basis:68%;-ms-flex-preferred-size:68%;flex-basis:68%}}@media screen and (min-width:66.13333333rem){.block__main{-webkit-flex-basis:73%;-ms-flex-preferred-size:73%;flex-basis:73%}}.block__help{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative;background-image:url(../images/icon-help-2.svg);background-size:8rem;background-position:102% -5%;background-repeat:no-repeat;text-align:left;margin:1rem 1%;-webkit-flex-basis:98%;-ms-flex-preferred-size:98%;flex-basis:98%}.block__help:after,.block__help:before{content:" ";display:table}.block__help:after{clear:both}@media screen and (max-width:32rem){.block__help{padding:1.25rem}}.block__help>:last-child{margin-bottom:0}@media screen and (min-width:51.2rem){.block__help{-webkit-flex-basis:28%;-ms-flex-preferred-size:28%;flex-basis:28%}}@media screen and (min-width:66.13333333rem){.block__help{-webkit-flex-basis:23%;-ms-flex-preferred-size:23%;flex-basis:23%}}.block__help a{color:#ff5722}.block__help a:hover{color:#ff4408}.block__help>:first-child{margin-top:0}.block__help ul{list-style:circle}.block__help ol,.block__help ul{padding-left:1rem}.block__help h2{font-size:1.15rem;font-weight:400}.equal-space>*{margin-top:1rem;margin-bottom:1rem}.u-center-h{text-align:center}.gen__1 .input-group{max-width:43rem;margin:1rem auto}.gen__1--inner{text-align:center}.gen__1--inner h1{margin:1rem auto 2rem}.gen__1--inner h4{margin:3rem auto 1rem}.gen__1--inner p{margin:0 0 2rem}.gen__1--inner .btn{margin:0 auto 3rem}.gen__2--inner{text-align:center}.gen__2--inner h1{margin:1rem auto}.gen__2--inner>.btn{margin:1rem auto 2rem}.gen__2--inner .warn{margin:2rem auto}.gen__3--inner{text-align:center}.gen__3--inner h1{margin:2rem auto 1rem}.gen__3--inner>.btn,.gen__3--inner>.form-control{margin:0 auto 3rem}.pre-footer{padding:1rem;-webkit-box-shadow:16px 16px 47px 0 rgba(0,0,0,.07);box-shadow:16px 16px 47px 0 rgba(0,0,0,.07);margin-top:5rem;background-color:#fff;text-align:center}.pre-footer p{font-size:1.3rem}.footer{background-color:#102138;color:#fff;font-size:.8rem;margin-top:0}.footer h5{margin-top:.5rem;margin-bottom:.25rem}.footer h5 i{margin-left:-1.5em;margin-right:.25em}.footer h5:first-child{margin-top:0}.footer ul{list-style:none;padding-left:0;margin:0}.footer li,.footer p{font-size:.8rem;margin:.25em 0}.footer a{color:#7fe5ff;font-weight:400}.footer a:focus,.footer a:hover{color:#4cdbff}.footer small{font-size:.6rem}.footer--logo{width:100%;height:auto;max-width:16rem}.header--gas{max-width:26rem;color:#333}.header--gas p{font-weight:400;margin:.5rem 0 0}.header--gas a,.header--gas a:focus,.header--gas a:hover,.header--gas a:visited{color:#0e97c0}.footer--left{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:22rem;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:32rem){.footer--left{max-width:100%}}.footer--cent{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:34rem;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2}@media screen and (max-width:32rem){.footer--cent{max-width:100%}}.footer--cent li:last-child,.footer--cent ul{margin-bottom:0}.footer--righ{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:28rem;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:32rem){.footer--righ{max-width:100%}}.footer__icon{display:inline-block;height:30px;width:30px;padding:5px}.footer__pill-wrap{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}a.footer__pill{display:inline;background:#0e97c0;padding:3px 12px;border-radius:30px;color:#fff}a.footer__pill:focus,a.footer__pill:hover{color:#0e97c0;background:#fff;opacity:1}.custom-token-fields label{font-weight:400;font-size:1rem}.custom-token-fields input{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.custom-token-fields input{height:2rem;line-height:2rem}select[multiple].custom-token-fields input,textarea.custom-token-fields input{height:auto}.custom-token-fields input .mono{font-size:.75rem}.custom-token-fields .address-identicon-container{margin-top:2rem}.swap--btc,.swap--hw,.swap--usd{text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:1rem .15rem}.swap--btc .col-sm-7,.swap--hw .col-sm-7,.swap--usd .col-sm-7{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.swap--usd{background-color:#2b71b1}.swap--usd *,.swap--usd a{color:#fff}.swap--usd a:focus,.swap--usd a:hover{color:hsla(0,0%,100%,.9)}.swap--usd .swap-flag--bal,.swap--usd .swap-flag--price{background-color:#2e86d7}.swap--btc{background-color:#006e79}.swap--btc *,.swap--btc a{color:#fff}.swap--btc a:focus,.swap--btc a:hover{color:hsla(0,0%,100%,.9)}.swap--btc .swap-flag--bal,.swap--btc .swap-flag--price{background-color:#00a3b4}.swap--hw{background-color:#6e9a3e}.swap--hw *,.swap--hw a{color:#fff}.swap--hw a:focus,.swap--hw a:hover{color:hsla(0,0%,100%,.9)}.swap--hw .swap-flag--bal,.swap--hw .swap-flag--price{background-color:#81bc3f}.swap--hw .swap__logo{margin:.45rem 0}.swap-flag--bal,.swap-flag--price{background-color:#5dba5a;color:#fff;padding:.1rem .5rem;font-size:.7rem;border-radius:5rem;margin:.7rem 0 0;line-height:1.4;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.swap__subhead{font-size:.8rem;margin:.15rem 0}.swap__cta{font-size:1.25rem;margin:.15rem 0}.swap__logo{margin:0}.swap__nav{margin-top:-1.1rem;margin-bottom:.7rem;text-align:center}.swap__nav a{color:#9a9a9a;padding:0 .2rem .6rem}.send-modal__addr{font-size:12px}.u__protip{display:table}.u__protip:before{content:"";display:table-cell;width:2em;height:1em;background-image:url(../images/icon-protip.svg);background-size:contain;vertical-align:middle;text-align:center;background-position:50%;background-repeat:no-repeat;border-right:.5em solid transparent}.u__download{display:table;margin-left:.5em}.u__download:before{content:"";display:table-cell;width:1.25em;height:1em;background-image:url(../images/icon-external-link.svg);background-size:contain;vertical-align:middle;text-align:center;background-position:50%;background-repeat:no-repeat;border-right:.5em solid transparent}.send__load-tokens{padding:5px 2px;margin:0;background-color:#ff9800;text-align:center;color:#fff;font-size:9px}.send__load-tokens img{width:14px;height:14px}.send__load-tokens p{margin:4px 0 0;font-weight:500}.send__load-tokens:hover{color:#fff;opacity:.8}.onboarding__modal{padding:1rem}.onboarding__modal:after,.onboarding__modal:before{content:" ";display:table}.onboarding__modal:after{clear:both}.onboarding__modal .btn-primary{background-image:url(../images/icon-arrow-right.svg);background-size:contain;background-position:100%;background-repeat:no-repeat}.onboarding__modal .btn-default{background-image:url(../images/icon-arrow-left.svg);background-size:contain;background-position:0;background-repeat:no-repeat}.onboarding__modal .onboarding__title{text-align:center;margin-bottom:1.5rem}@media (max-width:50.2rem){.onboarding__modal .onboarding__title{margin:0 auto .5rem}}.onboarding__modal img{margin-top:1rem;margin-bottom:1rem}@media (max-width:50.2rem){.onboarding__modal img{max-height:200px}}.onboarding__modal .onboarding__buttons .btn{margin-top:.5rem;margin-bottom:.5rem}@media (min-width:51.2rem){.onboarding__modal .onboarding__buttons{margin-top:.5rem;margin-bottom:.5rem}.onboarding__modal .onboarding__buttons:after,.onboarding__modal .onboarding__buttons:before{content:" ";display:table}.onboarding__modal .onboarding__buttons:after{clear:both}.onboarding__modal .onboarding__buttons .btn+.btn{float:right}}@media (max-width:50.2rem){.onboarding__modal .onboarding__buttons .btn{display:block}.onboarding__modal .onboarding__buttons .btn+.btn{margin-top:1.5rem}}@media (max-width:50.2rem){.onboarding__modal{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.onboarding__modal .onboarding__content,.onboarding__modal .onboarding__image{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.onboarding__modal .onboarding__content+.onboarding__image{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}}.row.row--flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media (max-width:50.2rem){.row.row--flex{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}}.onboarding__msg{text-align:center;font-size:.9rem} \ No newline at end of file +/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline;color:#000}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #000;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}.print-text{color:#0b7290!important}footer{border-top:1px solid #000}header{border-bottom:1px solid #000;border-top:0 solid #fff!important}.btn{border:1px solid #000;color:1px solid #000;background:transparent!important}.nav-container{display:none!important}.footer-1 img{width:40px!important}.footer-1 *,.footer-2 *,.footer-3 *{font-size:8px!important;line-height:1.1!important}.footer-1 .footer-2,.footer-1 .footer-3,.footer-2 .footer-2,.footer-2 .footer-3,.footer-3 .footer-2,.footer-3 .footer-3{float:left!important}.h1,h1{font-size:18px}.h1,.h2,h1,h2{font-weight:700}.h2,h2{font-size:17px}.h3,h3{font-size:16px}.h3,.h4,h3,h4{font-weight:700}.h4,h4{font-size:15px}.h5,h5{font-size:14px}.h5,.h6,h5,h6{font-weight:700}.h6,h6{font-size:13px}.modal{position:inherit!important;page-break-inside:avoid;page-break-before:always}}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}html{font-size:15 px;-webkit-tap-highlight-color:rgba(0,0,0,0);height:100%}@media screen and (min-width:94rem){html{font-size:16px}}@media screen and (max-width:50.2rem){html{font-size:15 px}}body{font-family:Lato,sans-serif;font-size:1rem;line-height:1.4;color:#333;background-color:#fbfbfb;height:100%}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-thumbnail{padding:.2rem;line-height:1.4;background-color:#fbfbfb;border:1px solid #ddd;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid #ececec}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:700;line-height:1.2;color:inherit;letter-spacing:.02em}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:inherit}.h1,.h2,.h3,h1,h2,h3{margin-top:1rem;margin-bottom:.5rem}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:1rem;margin-bottom:.5rem}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:2.25rem}.h1,.h2,h1,h2{font-weight:300}.h2,h2{font-size:1.9rem}.h3,h3{font-size:1.5rem}.h3,.h4,h3,h4{font-weight:700}.h4,h4{font-size:1.3rem}.h5,h5{font-size:1.15rem}.h5,.h6,h5,h6{font-weight:400}.h6,h6{font-size:1.07rem}p{margin:0 0 .5rem;font-weight:300}p.strong,p .strong,p strong{font-weight:400}i{font-style:normal}.strong,strong{font-weight:600}.lead{margin-bottom:1.4;font-size:1rem}a{color:#0e97c0;text-decoration:none;cursor:pointer}a,a:hover{-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}a:hover{opacity:.8;color:#0c84a8}a:active,a:focus{opacity:1;-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}a:focus{outline:thin dotted;outline-offset:3px}.point{cursor:pointer}.strike{text-decoration:line-through}.small,small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#9a9a9a}.text-primary{color:#0e97c0}a.text-primary:focus,a.text-primary:hover{color:#0c84a8}.text-success{color:#459f42}a.text-success:focus,a.text-success:hover{color:#3d8d3b}.text-info{color:#0b1929}a.text-info:focus,a.text-info:hover{color:#060d15}.text-warning{color:#cc7a00}a.text-warning:focus,a.text-warning:hover{color:#b36a00}.text-danger{color:#df2518}a.text-danger:focus,a.text-danger:hover{color:#c82116}.text-underline{text-decoration:underline}.text-light{font-weight:200}.bg-primary{color:#fff;background-color:#0e97c0}a.bg-primary:focus,a.bg-primary:hover{background-color:#0b7290}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:-.5rem;margin:2.8 0 1.4;border-bottom:1px solid #ececec}ol,ul{margin-top:0;margin-bottom:1em}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}li{margin-bottom:.5em;font-weight:300}li strong{font-weight:400}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:1.4}dd,dt{line-height:1.4}dt{font-weight:700}dd{margin-left:0}@media (min-width:51.2rem){.dl-horizontal dt{float:left;width:-8rem;clear:left;text-align:right;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:12rem}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #9a9a9a}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:.5rem 1.4;margin:0 0 1.4;font-size:1.25rem;border-left:5px solid #ececec}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.4;color:#9a9a9a}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"\2014 \00A0"}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #ececec;border-left:0;text-align:right}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:"\00A0 \2014"}address{margin-bottom:1.4;font-style:normal;line-height:1.4}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{color:#c7254e;background-color:#f9f2f4}code,kbd{padding:2px 4px;font-size:90%;border-radius:0}kbd{color:#fff;background-color:#333;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:.2;margin:0 0 .7;font-size:0;line-height:1.4;word-break:break-all;word-wrap:break-word;color:#333;background-color:#fafafa;border:1px solid #ececec;border-radius:0}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:23rem;overflow-y:scroll}.container{width:100%;margin-right:auto;margin-left:auto;max-width:113rem;padding:0 5rem}@media screen and (max-width:80rem){.container{padding:0 3%}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:1rem;padding-right:1rem}.row{margin-left:-1rem;margin-right:-1rem}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:1rem;padding-right:1rem}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:51.2rem){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:66.13333333rem){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:80rem){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent;margin-bottom:10px;border-bottom:1px solid #ddd}caption{padding-top:.5rem;padding-bottom:.5rem;color:#9a9a9a}caption,th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:1.4}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:.5rem;line-height:1.4;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fbfbfb}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:.25rem}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f5f5f5}.table-striped>tbody>tr>td,.table-striped>tbody>tr>th,.table-striped>tfoot>tr>td,.table-striped>tfoot>tr>th,.table-striped>thead>tr>td,.table-striped>thead>tr>th{border-top:0}.table-mnemonic{border-bottom:0;font-weight:400}.table-mnemonic th{border-bottom:1px solid #ececec;vertical-align:bottom}.table-mnemonic td:first-child{font-family:Menlo,Monaco,Consolas,Courier New,monospace}.table-mnemonic tr:last-child td:first-child{text-align:left}.table-mnemonic tr:first-child,.table-mnemonic tr:last-child:not(.mnemonic-custom-row){background-color:#fff!important}.table-mnemonic.table>tbody>tr>td,.table-mnemonic.table>tbody>tr>th,.table-mnemonic.table>tfoot>tr>td,.table-mnemonic.table>tfoot>tr>th,.table-mnemonic.table>thead>tr>td,.table-mnemonic.table>thead>tr>th{padding:.25rem}.table-mnemonic .mnemonic-custom-row input[type=text]{margin:-5px;display:inline;width:70%;max-width:15rem}.table-mnemonic label{margin:.15rem}.table-hover,.table-hover>tbody>tr>td,.table-hover>tbody>tr>th,.table-hover>tfoot>tr>td,.table-hover>tfoot>tr>th,.table-hover>thead>tr>td,.table-hover>thead>tr>th,.table-hover td,.table-hover th,.table-hover tr{border:0 solid #fff}.table-hover>tbody>tr:hover{background-color:#fafafa}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#fafafa}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#ededed}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}@media screen and (max-width:50.2rem){.table-responsive{width:100%;margin-bottom:1.05;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}.table-domainsale-modal .table-ens-modal{font-weight:400;font-size:16px}.table-domainsale-modal .table-ens-modal textarea{font-size:11px;word-break:break-all;padding:.5rem}fieldset{margin:0;min-width:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:1.4;font-size:1.5rem;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-top:.5rem;margin-bottom:.25rem;font-weight:600;font-size:1.15rem}label small{font-weight:300;font-size:1em}td label{font-weight:400}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:3px 0 0;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:thin dotted;outline-offset:3px}output{display:block;padding-top:1.75rem;font-size:1rem;line-height:1.4;color:#333}.account-help-icon+.btn,.account-help-icon+input,.account-help-icon+textarea,label+.form-control,label+input,label+textarea{margin-top:0}.form-control{display:block;width:100%;height:2.55rem;padding:.25rem 1rem;font-size:1rem;line-height:2;color:#333;background-color:#fff;background-image:none;border:1px solid #ececec;margin-top:.5rem;margin-bottom:.5rem;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}.form-control:focus{border-color:#0e97c0;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 2px rgba(14,151,192,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 2px rgba(14,151,192,.5)}.form-control::-moz-placeholder{color:#d3d3d3;opacity:1}.form-control:-ms-input-placeholder{color:#d3d3d3}.form-control::-webkit-input-placeholder{color:#d3d3d3}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#ececec;opacity:1;cursor:text!important;-webkit-box-shadow:none!important;box-shadow:none!important}.form-control[disabled],fieldset[disabled] .form-control{cursor:default}textarea.form-control{height:auto;line-height:1.4}input[readonly]{background-color:#fafafa;cursor:text!important}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:2.55rem}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:2rem}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:4rem}}.form-group{margin-top:.5rem;margin-bottom:.5rem;display:block}.checkbox,.radio{position:relative;display:block;margin:15px 0;font-weight:500}.checkbox label,.radio label{min-height:1.4;padding-left:20px;padding-right:15px;margin-bottom:0;font-weight:500;cursor:pointer}.checkbox.small,.radio.small{margin:.2rem 0}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{margin-left:-20px}input[type=radio]{margin-right:5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .checkbox label,fieldset[disabled] .radio-inline,fieldset[disabled] .radio label,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:default}.form-control-static{padding-top:1.75rem;padding-bottom:1.75rem;margin-bottom:0;min-height:2.4rem}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.input-sm{height:2rem;line-height:2rem}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5}.form-group-sm select.form-control{height:2rem;line-height:2rem}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:2rem;min-height:2.3rem;padding:1.5rem 1rem;font-size:.9rem;line-height:1.5}.input-lg{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2;border-radius:0}select.input-lg{height:4rem;line-height:4rem}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2}.form-group-lg select.form-control{height:4rem;line-height:4rem}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:4rem;min-height:3.3rem;padding:2rem;font-size:1.9rem;line-height:1.2}.form-control.is-valid{border-color:#b5e0b4;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(93,186,90,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(93,186,90,.5)}.form-control.is-valid:focus{border-color:#92d190;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(93,186,90,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(93,186,90,.5)}.form-control.is-invalid{border-color:#f7b7b3;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(234,75,64,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(234,75,64,.5)}.form-control.is-invalid:focus{border-color:#f28c85;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(234,75,64,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(234,75,64,.5)}.form-control.is-semivalid{border-color:#ffcc80;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(255,152,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 1px rgba(255,152,0,.5)}.form-control.is-semivalid:focus{border-color:#ffb74d;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(255,152,0,.5);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 3px rgba(255,152,0,.5)}.flagged-address{color:red;font-weight:700}.btn{background-image:none;cursor:pointer;border:1px solid gray;display:inline-block;font-weight:400;letter-spacing:.05em;margin-top:.5rem;margin-bottom:0;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;vertical-align:middle;white-space:nowrap;padding:.75rem 2rem;font-size:1.07rem;line-height:1.4;border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline-offset:3px}.btn.focus,.btn:focus,.btn:hover{color:#222;text-decoration:none;border-bottom-color:transparent;-webkit-box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1);box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1)}.btn.active,.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:default;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.alert .btn-info{background-color:#fff;text-decoration:none;color:#163151}.alert .btn-info.focus,.alert .btn-info:focus,.alert .btn-info:hover{color:#fff;text-decoration:none;opacity:1}.alert .btn-info.disabled{background-color:#fff;text-decoration:none;color:#163151;opacity:.6}.btn-default{color:#222;background-color:#c3c3c3;border-color:#bdbdbd;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#222;background-color:#b6b6b6;border-color:#b0b0b0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#222;background-color:#9d9d9d;border-color:#979797;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#c3c3c3;border-color:#bdbdbd}.btn-default .badge{color:#c3c3c3;background-color:#222}.btn-primary{color:#fff;background-color:#0e97c0;border-color:#0e97c0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#0c84a8;border-color:#0c84a8;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#095f79;border-color:#095f79;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#0e97c0;border-color:#0e97c0}.btn-primary .badge{color:#0e97c0;background-color:#fff}.btn-success{color:#fff;background-color:#5dba5a;border-color:#5dba5a;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#4db14a;border-color:#4db14a;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#3d8d3b;border-color:#3d8d3b;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5dba5a;border-color:#5dba5a}.btn-success .badge{color:#5dba5a;background-color:#fff}.btn-info{color:#fff;background-color:#163151;border-color:#163151;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#11253d;border-color:#11253d;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#060d15;border-color:#060d15;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#163151;border-color:#163151}.btn-info .badge{color:#163151;background-color:#fff}.btn-warning{color:#fff;background-color:#ff9800;border-color:#ff9800;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#e68900;border-color:#e68900;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#b36a00;border-color:#b36a00;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#ff9800;border-color:#ff9800}.btn-warning .badge{color:#ff9800;background-color:#fff}.btn-danger{color:#fff;background-color:#ea4b40;border-color:#ea4b40;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#e73529;border-color:#e73529;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#c82116;border-color:#c82116;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#ea4b40;border-color:#ea4b40}.btn-danger .badge{color:#ea4b40;background-color:#fff}.btn-white{background-color:hsla(0,0%,100%,.8);border-color:hsla(0,0%,100%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease;color:#163151}.btn-white.active,.btn-white.focus,.btn-white:active,.btn-white:focus,.btn-white:hover,.open>.dropdown-toggle.btn-white{color:#163151;background-color:hsla(0,0%,95%,.8);border-color:hsla(0,0%,95%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-white.active.focus,.btn-white.active:focus,.btn-white.active:hover,.btn-white:active.focus,.btn-white:active:focus,.btn-white:active:hover,.open>.dropdown-toggle.btn-white.focus,.open>.dropdown-toggle.btn-white:focus,.open>.dropdown-toggle.btn-white:hover{color:#163151;background-color:hsla(0,0%,85%,.8);border-color:hsla(0,0%,85%,.8);-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-white.active,.btn-white:active,.open>.dropdown-toggle.btn-white{background-image:none}.btn-white.disabled,.btn-white.disabled.active,.btn-white.disabled.focus,.btn-white.disabled:active,.btn-white.disabled:focus,.btn-white.disabled:hover,.btn-white[disabled],.btn-white[disabled].active,.btn-white[disabled].focus,.btn-white[disabled]:active,.btn-white[disabled]:focus,.btn-white[disabled]:hover,fieldset[disabled] .btn-white,fieldset[disabled] .btn-white.active,fieldset[disabled] .btn-white.focus,fieldset[disabled] .btn-white:active,fieldset[disabled] .btn-white:focus,fieldset[disabled] .btn-white:hover{background-color:hsla(0,0%,100%,.8);border-color:hsla(0,0%,100%,.8)}.btn-white .badge{color:hsla(0,0%,100%,.8);background-color:#163151}.header-branding a.btn-white{color:#163151}.header-branding a.btn-white:focus,.header-branding a.btn-white:hover{background:#fff;opacity:1;color:#163151}.btn-group .btn-default{border-bottom-width:1px}.btn-group .btn-default.active{border:1px solid #0e97c0;color:#0e97c0;background:#f5f5f5}.btn-link{color:#0e97c0;font-weight:400}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#0c84a8;text-decoration:none;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#9a9a9a;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:1rem 2rem;font-size:1.15rem;line-height:1.2;border-radius:0}.btn-group-sm>.btn,.btn-sm{padding:.5rem 1rem;font-size:1rem;line-height:1.5;border-radius:0}.btn-group-xs>.btn,.btn-xs{font-size:.75rem;line-height:1.5;border-radius:0;padding:.1rem .6rem}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}.btn-file,input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.btn-file{background-image:none;cursor:pointer;border:1px solid gray;display:inline-block;font-weight:400;letter-spacing:.05em;margin-top:.5rem;margin-bottom:0;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;vertical-align:middle;white-space:nowrap;padding:.75rem 2rem;font-size:1.07rem;line-height:1.4;border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;color:#222;background-color:#c3c3c3;border-color:#bdbdbd;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease;position:relative;overflow:hidden}.btn-file.active.focus,.btn-file.active:focus,.btn-file.focus,.btn-file:active.focus,.btn-file:active:focus,.btn-file:focus{outline:thin dotted;outline-offset:3px}.btn-file.focus,.btn-file:focus,.btn-file:hover{color:#222;text-decoration:none;border-bottom-color:transparent;-webkit-box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1);box-shadow:inset 3px 3px 3px hsla(0,0%,78%,.1)}.btn-file.active,.btn-file:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-file.disabled,.btn-file[disabled],fieldset[disabled] .btn-file{cursor:default;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn-file.disabled,fieldset[disabled] a.btn-file{pointer-events:none}.btn-file.active,.btn-file.focus,.btn-file:active,.btn-file:focus,.btn-file:hover,.open>.dropdown-toggle.btn-file{color:#222;background-color:#b6b6b6;border-color:#b0b0b0;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-file.active.focus,.btn-file.active:focus,.btn-file.active:hover,.btn-file:active.focus,.btn-file:active:focus,.btn-file:active:hover,.open>.dropdown-toggle.btn-file.focus,.open>.dropdown-toggle.btn-file:focus,.open>.dropdown-toggle.btn-file:hover{color:#222;background-color:#9d9d9d;border-color:#979797;-webkit-transition:all .25s ease;-o-transition:all ease .25s;transition:all .25s ease}.btn-file.active,.btn-file:active,.open>.dropdown-toggle.btn-file{background-image:none}.btn-file.disabled,.btn-file.disabled.active,.btn-file.disabled.focus,.btn-file.disabled:active,.btn-file.disabled:focus,.btn-file.disabled:hover,.btn-file[disabled],.btn-file[disabled].active,.btn-file[disabled].focus,.btn-file[disabled]:active,.btn-file[disabled]:focus,.btn-file[disabled]:hover,fieldset[disabled] .btn-file,fieldset[disabled] .btn-file.active,fieldset[disabled] .btn-file.focus,fieldset[disabled] .btn-file:active,fieldset[disabled] .btn-file:focus,fieldset[disabled] .btn-file:hover{background-color:#c3c3c3;border-color:#bdbdbd}.btn-file .badge{color:#c3c3c3;background-color:#222}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;filter:alpha(opacity=0);opacity:0;background:red;cursor:inherit;display:block}.caret{display:inline-block;width:0;height:0;margin-left:.5rem;vertical-align:middle;border-top:.25rem dashed;border-right:.25rem solid transparent;border-left:.25rem solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle{margin-top:0;font-size:1rem;padding:.5rem 1rem}.dropdown:hover .dropdown-menu{display:block}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;min-width:160px;max-width:100vw;max-height:75vh;overflow:scroll;padding:0;margin:2px 0 0;list-style:none;font-size:.9rem;text-align:left;background-color:#fff;border-radius:0;-webkit-box-shadow:0 6px 10px rgba(0,0,0,.175);box-shadow:0 6px 10px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:2px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li{margin:0}.dropdown-menu>li:first-child{padding-top:2px}.dropdown-menu>li:last-child{padding-bottom:2px}.dropdown-menu>li>a{display:block;padding:2px 1rem;clear:both;font-weight:300;line-height:1.4;color:#163151;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{text-decoration:none;color:#0e97c0;background-color:#fafafa}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0;background-color:#0e97c0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#9a9a9a}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:default}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:.9rem;line-height:1.4;color:#9a9a9a;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:.25rem solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:51.2rem){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle;margin-bottom:5px}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn-group{float:left}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn-lg .caret{border-width:.25rem .25rem 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 .25rem .25rem}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group>*{margin-bottom:0;margin-top:0}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%}.input-group .dropdown-toggle{padding-right:.75rem;padding-left:.75rem}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:4rem;padding:1rem 2rem;font-size:1.9rem;line-height:1.2;border-radius:0}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:4rem;line-height:4rem}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:2rem;line-height:2rem}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding-left:2rem;padding-right:2rem;font-size:1rem;font-weight:400;line-height:1;color:#333;text-align:center;background-color:#ececec;border:1px solid #dfdfdf;outline:0;-webkit-box-shadow:inset 0 1px 1px hsla(0,0%,93%,.5),0 0 1px hsla(0,0%,93%,.5);box-shadow:inset 0 1px 1px hsla(0,0%,93%,.5),0 0 1px hsla(0,0%,93%,.5)}.input-group-addon.input-sm{padding:.5rem 1rem;font-size:.9rem}.input-group-addon.input-lg{padding:1rem 2rem;font-size:1.9rem}.input-group-addon:focus{border:1px solid #dadada;outline:0;-webkit-box-shadow:inset 0 1px 1px #ececec,30%,0 0 1px hsla(0,0%,93%,.9);box-shadow:inset 0 1px 1px #ececec,30%,0 0 1px hsla(0,0%,93%,.9)}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative;margin-bottom:0;margin-top:0;font-size:1rem;padding:.55rem 2rem}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.alert{padding:.75rem 2rem;margin:1rem auto;font-weight:300;font-size:1.07rem}.alert h4{color:inherit}.alert>:first-child,.alert h4{margin-top:0}.alert>:last-child{margin-bottom:0}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert a{color:#fff;text-decoration:underline}.alert a:hover{opacity:.8}.alert a:active,.alert a:focus{opacity:1}.alert svg{vertical-align:bottom}.alert-danger--outline{padding:.5em .6em .6em .3em;margin:0 0 1em;border-top:2px solid #ea4b40;-webkit-box-shadow:0 1px 5px 1px rgba(63,63,63,.13);box-shadow:0 1px 5px 1px rgba(63,63,63,.13);font-size:.9em;font-weight:500}.alert-danger--outline:before{content:"";background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23ea4b40'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23ea4b40'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:1.75em;float:left;width:2em;height:4em;margin-right:.75em}.alert.popup{position:fixed;bottom:0;left:0;right:0;padding:1rem 0;-webkit-box-shadow:0 0 20px 0 rgba(0,0,0,.33);box-shadow:0 0 20px 0 rgba(0,0,0,.33);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out;z-index:1060;margin:0}.alert.popup .container{position:relative;padding:0 10rem 0 5rem}@media screen and (max-width:51.2rem){.alert.popup .container{padding:1rem 8rem 1rem 4rem}}@media screen and (max-width:32rem){.alert.popup .container{padding:3rem 1rem 0 4rem}}.alert.popup .container:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:contain;display:block;color:#fff;position:absolute;top:0;bottom:0;left:1%;width:2.25rem}@media screen and (max-width:32rem){.alert.popup .container:after{top:2.5rem;left:.5rem}}.alert.popup .icon-close{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 348.333 348.334'%3E%3Cpath d='M336.559 68.611L231.016 174.165l105.543 105.549c15.699 15.705 15.699 41.145 0 56.85-7.844 7.844-18.128 11.769-28.407 11.769-10.296 0-20.581-3.919-28.419-11.769L174.167 231.003 68.609 336.563c-7.843 7.844-18.128 11.769-28.416 11.769-10.285 0-20.563-3.919-28.413-11.769-15.699-15.698-15.699-41.139 0-56.85l105.54-105.549L11.774 68.611c-15.699-15.699-15.699-41.145 0-56.844 15.696-15.687 41.127-15.687 56.829 0l105.563 105.554L279.721 11.767c15.705-15.687 41.139-15.687 56.832 0 15.705 15.699 15.705 41.145.006 56.844z' fill='%23FFF'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:1rem;cursor:pointer;opacity:.7;position:absolute;top:0;right:0;width:9rem;bottom:0;border-left:1px solid hsla(0,0%,100%,.7);-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}@media screen and (max-width:51.2rem){.alert.popup .icon-close{width:7rem}}@media screen and (max-width:32rem){.alert.popup .icon-close{width:100%;height:3rem;left:0;right:0;top:0;bottom:auto;border-left:0;border-bottom:1px solid hsla(0,0%,100%,.7)}}.alert.popup .icon-close:hover{border-color:hsla(0,0%,100%,.5)}.alert.popup .icon-close:active,.alert.popup .icon-close:hover{-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out;background-color:rgba(0,0,0,.1)}.alert.popup .icon-close:active{border-color:hsla(0,0%,100%,.7);opacity:1}.alert.popup.ng-hide{bottom:-20%;-webkit-transition:all .15s ease-in-out;-o-transition:.15s all ease-in-out;transition:all .15s ease-in-out}.alert,.alert-info{background-color:#0e97c0;border-color:#0e97c0;color:#fff}.alert-info hr,.alert hr{border-top-color:#0c84a8}.alert-info .alert-link,.alert .alert-link{color:#e6e6e6}.alert-info .container:after,.alert .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' x='30' y='30' viewBox='0 0 65 65' width='512' height='512'%3E%3Cpath d='M32.5 0C14.58 0 0 14.579 0 32.5S14.58 65 32.5 65 65 50.421 65 32.5 50.42 0 32.5 0zm0 61C16.785 61 4 48.215 4 32.5S16.785 4 32.5 4 61 16.785 61 32.5 48.215 61 32.5 61z' fill='%23FFF'/%3E%3Ccircle cx='33.018' cy='19.541' r='3.345' fill='%23FFF'/%3E%3Cpath d='M32.137 28.342a2 2 0 0 0-2 2v17a2 2 0 0 0 4 0v-17a2 2 0 0 0-2-2z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-success{background-color:#5dba5a;border-color:#5dba5a;color:#fff}.alert-success hr{border-top-color:#4db14a}.alert-success .alert-link{color:#e6e6e6}.alert-success .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 478.2 478.2' width='32' height='32'%3E%3Cpath d='M457.575 325.1c9.8-12.5 14.5-25.9 13.9-39.7-.6-15.2-7.4-27.1-13-34.4 6.5-16.2 9-41.7-12.7-61.5-15.9-14.5-42.9-21-80.3-19.2-26.3 1.2-48.3 6.1-49.2 6.3h-.1c-5 .9-10.3 2-15.7 3.2-.4-6.4.7-22.3 12.5-58.1 14-42.6 13.2-75.2-2.6-97-16.6-22.9-43.1-24.7-50.9-24.7-7.5 0-14.4 3.1-19.3 8.8-11.1 12.9-9.8 36.7-8.4 47.7-13.2 35.4-50.2 122.2-81.5 146.3-.6.4-1.1.9-1.6 1.4-9.2 9.7-15.4 20.2-19.6 29.4-5.9-3.2-12.6-5-19.8-5h-61c-23 0-41.6 18.7-41.6 41.6v162.5c0 23 18.7 41.6 41.6 41.6h61c8.9 0 17.2-2.8 24-7.6l23.5 2.8c3.6.5 67.6 8.6 133.3 7.3 11.9.9 23.1 1.4 33.5 1.4 17.9 0 33.5-1.4 46.5-4.2 30.6-6.5 51.5-19.5 62.1-38.6 8.1-14.6 8.1-29.1 6.8-38.3 19.9-18 23.4-37.9 22.7-51.9-.4-8.1-2.2-15-4.1-20.1zm-409.3 122.2c-8.1 0-14.6-6.6-14.6-14.6V270.1c0-8.1 6.6-14.6 14.6-14.6h61c8.1 0 14.6 6.6 14.6 14.6v162.5c0 8.1-6.6 14.6-14.6 14.6h-61v.1zm383.7-133.9c-4.2 4.4-5 11.1-1.8 16.3 0 .1 4.1 7.1 4.6 16.7.7 13.1-5.6 24.7-18.8 34.6-4.7 3.6-6.6 9.8-4.6 15.4 0 .1 4.3 13.3-2.7 25.8-6.7 12-21.6 20.6-44.2 25.4-18.1 3.9-42.7 4.6-72.9 2.2h-1.4c-64.3 1.4-129.3-7-130-7.1h-.1l-10.1-1.2c.6-2.8.9-5.8.9-8.8V270.1c0-4.3-.7-8.5-1.9-12.4 1.8-6.7 6.8-21.6 18.6-34.3 44.9-35.6 88.8-155.7 90.7-160.9.8-2.1 1-4.4.6-6.7-1.7-11.2-1.1-24.9 1.3-29 5.3.1 19.6 1.6 28.2 13.5 10.2 14.1 9.8 39.3-1.2 72.7-16.8 50.9-18.2 77.7-4.9 89.5 6.6 5.9 15.4 6.2 21.8 3.9 6.1-1.4 11.9-2.6 17.4-3.5.4-.1.9-.2 1.3-.3 30.7-6.7 85.7-10.8 104.8 6.6 16.2 14.8 4.7 34.4 3.4 36.5-3.7 5.6-2.6 12.9 2.4 17.4.1.1 10.6 10 11.1 23.3.4 8.9-3.8 18-12.5 27z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-warning{background-color:#ff9800;border-color:#ff9800;color:#fff}.alert-warning hr{border-top-color:#e68900}.alert-warning .alert-link{color:#e6e6e6}.alert-warning .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23FFF'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23FFF'/%3E%3C/svg%3E")}.alert-danger{background-color:#ea4b40;border-color:#ea4b40;color:#fff}.alert-danger hr{border-top-color:#e73529}.alert-danger .alert-link{color:#e6e6e6}.alert-danger .container:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='32' height='32'%3E%3Cpath d='M505.403 406.394L295.389 58.102c-8.274-13.721-23.367-22.245-39.39-22.245s-31.116 8.524-39.391 22.246L6.595 406.394c-8.551 14.182-8.804 31.95-.661 46.37 8.145 14.42 23.491 23.378 40.051 23.378h420.028c16.56 0 31.907-8.958 40.052-23.379 8.143-14.421 7.89-32.189-.662-46.369zm-28.364 29.978a12.684 12.684 0 0 1-11.026 6.436H45.985a12.68 12.68 0 0 1-11.025-6.435 12.683 12.683 0 0 1 .181-12.765L245.156 75.316A12.732 12.732 0 0 1 256 69.192c4.41 0 8.565 2.347 10.843 6.124l210.013 348.292a12.677 12.677 0 0 1 .183 12.764z' fill='%23FFF'/%3E%3Cpath d='M256.154 173.005c-12.68 0-22.576 6.804-22.576 18.866 0 36.802 4.329 89.686 4.329 126.489.001 9.587 8.352 13.607 18.248 13.607 7.422 0 17.937-4.02 17.937-13.607 0-36.802 4.329-89.686 4.329-126.489 0-12.061-10.205-18.866-22.267-18.866zm.311 180.301c-13.607 0-23.814 10.824-23.814 23.814 0 12.68 10.206 23.814 23.814 23.814 12.68 0 23.505-11.134 23.505-23.814 0-12.99-10.826-23.814-23.505-23.814z' fill='%23FFF'/%3E%3C/svg%3E")}.well{min-height:20px;padding:1rem;margin-top:1rem;margin-bottom:1rem;background-color:#fafafa;border:1px solid #e8e8e8;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well :first-child{margin-top:0}.well :last-child{margin-bottom:0}.well.lg{padding:2rem}.well.sm{padding:.5rem}.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal,.modal-open{overflow:hidden}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translateY(-25%);-ms-transform:translateY(-25%);-o-transform:translateY(-25%);transform:translateY(-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:-webkit-transform .3s ease-out;-o-transition:transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0);-ms-transform:translate(0);-o-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border-radius:0;-webkit-box-shadow:1px 1px 60px rgba(0,0,0,.32);box-shadow:1px 1px 60px rgba(0,0,0,.32);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:.75rem 1.5rem}.modal-header .close{margin-top:-2px}.modal-title{margin:0 0 1rem;line-height:1.4}.modal-body{position:relative;padding:.75rem;font-size:1.15rem}.modal-body .table>tbody>tr>td{vertical-align:middle}.modal-body .addressIdenticon{margin:auto}.modal-footer{padding:1rem 1.5rem;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn{margin-top:0}.modal-footer .btn+.btn{margin-left:.5rem;margin-bottom:0;margin-top:0}#sendTransaction .modal-footer{text-align:center}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:51.2rem){.modal-dialog{width:800px;margin:30px auto}.modal-sm{width:30rem}}@media (min-width:66.13333333rem){.modal-lg{width:70rem}}.bity-contact:after,.bity-contact:before,.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.modal-footer:after,.modal-footer:before,.row:after,.row:before{content:" ";display:table}.bity-contact:after,.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.modal-footer:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:50.2rem){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:50.2rem){.visible-xs-block{display:block!important}}@media (max-width:50.2rem){.visible-xs-inline{display:inline!important}}@media (max-width:50.2rem){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-block{display:block!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-inline{display:inline!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-block{display:block!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-inline{display:inline!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.visible-md-inline-block{display:inline-block!important}}@media (min-width:80rem){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:80rem){.visible-lg-block{display:block!important}}@media (min-width:80rem){.visible-lg-inline{display:inline!important}}@media (min-width:80rem){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:50.2rem){.hidden-xs{display:none!important}}@media (min-width:51.2rem) and (max-width:65.13333333rem){.hidden-sm{display:none!important}}@media (min-width:66.13333333rem) and (max-width:79rem){.hidden-md{display:none!important}}@media (min-width:80rem){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}img{max-width:100%;height:auto}textarea{resize:vertical}.announcement{padding:3px 10px;text-align:center;font-weight:300;color:#fff;display:block;background-color:#0e97c0}.announcement a{text-decoration:underline;color:#fff}.announcement:focus,.announcement:hover,.announcement a{-webkit-transition:all .25s ease;-o-transition:.25s all ease;transition:all .25s ease}.announcement:focus,.announcement:hover{color:#f2f2f2;text-decoration:none;background-color:#0c84a8}.announcement strong{font-weight:400}.annoucement-warning{background-color:#ff5722}.annoucement-warning:focus,.annoucement-warning:hover{background-color:#ff4408}.annoucement-warning:focus a,.annoucement-warning:focus a:hover,.annoucement-warning:hover a,.annoucement-warning:hover a:hover{text-decoration:none}.annoucement-danger{background-color:#ea4b40}.annoucement-danger:hover{background-color:#ff4408}.annoucement-danger a:focus,.annoucement-danger a:hover{color:#f2f2f2}.annoucement-danger a:focus a,.annoucement-danger a:focus a:hover,.annoucement-danger a:hover a,.annoucement-danger a:hover a:hover{text-decoration:none}.address-identicon-container{padding:0;text-align:left;max-width:4.5rem;margin-left:-.5rem;margin-top:.5rem}.address-identicon-container-right{text-align:right}.address-identicon-container-right .addressIdenticon{float:right}.address-identicon-container-offline{padding:0;margin-left:-15px}.addressIdenticon{width:100%;height:auto;padding-bottom:100%;background-size:cover;background-repeat:no-repeat;border-radius:50%;-webkit-box-shadow:inset hsla(0,0%,100%,.5) 0 2px 2px,inset rgba(0,0,0,.6) 0 -1px 8px;box-shadow:inset 0 2px 2px hsla(0,0%,100%,.5),inset 0 -1px 8px rgba(0,0,0,.6)}.addressIdenticon.med{width:3rem;height:3rem;padding:0}.addressIdenticon.small{width:2rem;height:2rem;padding:0}.addressIdenticon.inline{display:inline-block}.addressIdenticon.float{float:left;margin-right:.5rem}.transaction-modal tbody tr td:first-child{width:30%}.transaction-modal tbody tr td:nth-child(2){width:70%}.transaction-modal .text-width-limit{display:grid;grid-auto-rows:1fr}.transaction-modal .text-width-limit p{margin:0;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.wrap{word-wrap:break-word}.bigger-on-mobile.form-control[readonly]{height:60px}@media screen and (max-width:767px){.bigger-on-mobile.form-control[readonly]{height:100px}}#paneHelp h3{margin-top:2em}.account-help-icon h3,.account-help-icon h4,.account-help-icon h5,.account-help-icon h6,.account-help-icon img{display:inline-block}.account-help-icon img:hover+.account-help-text{display:block;opacity:1;z-index:999}.account-help-icon img{margin-left:-30px;margin-right:3px}.account-help-icon:hover{opacity:1}.account-help-text{background:#fff;border-radius:0;border:1px solid #cdcdcd;-webkit-box-shadow:0 0 .5rem hsla(0,0%,39%,.2);box-shadow:0 0 .5rem hsla(0,0%,39%,.2);display:none;font-size:.75rem;font-weight:400;padding:.25rem;position:absolute;width:18rem;z-index:999;color:#333}ul.account-help-text{padding-left:1.6rem}.account-help-text li{font-size:.75rem;font-weight:400}@media screen and (max-width:767px){.account-help-icon img,.account-help-icon li,.account-help-icon p{display:none}}#accountAddress,#accountAddressMainTbl-1,#accountBalance,#accountBalanceBtc,#accountBalanceEur,#accountBalancePopMB-0,#accountBalancePopMB-2,#accountBalanceUsd,.form-control,.mono{font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-weight:400;letter-spacing:.02em}.offline-qrcode{margin-top:-150px;max-width:300px}@media screen and (max-width:942px){.offline-qrcode{margin-top:-78px}}@media screen and (max-width:769px){.offline-qrcode{margin-top:0}}.account-info{padding-left:1em;margin:0}.account-info:after,.account-info:before{content:" ";display:table}.account-info:after{clear:both}.account-info li{margin-bottom:0;list-style-type:none;word-break:break-all}table.account-info{font-weight:200;border-bottom:0;min-width:200px;width:100%}table.account-info tbody{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}table.account-info td{padding:.3rem;line-height:1}table.account-info td:first-child{word-wrap:break-word;padding-left:1em}table.account-info tr{border-bottom:1px solid #f3f3f3}table.account-info tr:last-child,table.account-info tr:nth-last-child(2){border-bottom:0 solid #f3f3f3}table.account-info tr.custom-token{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}input[type=text]+.eye{cursor:pointer}input[type=text]+.eye:before{content:"";width:20px;height:20px;margin-left:6px;margin-right:6px;display:inline-block;vertical-align:middle;background:url(../images/icon-eye.svg)}input[type=password]+.eye{cursor:pointer}input[type=password]+.eye:before{content:"";width:20px;height:20px;margin-left:6px;margin-right:6px;display:inline-block;vertical-align:middle;background:url(../images/icon-eye-closed.svg)}.collapse-container h1{margin:.25rem 0}.collapse-container .collapse-button{float:left;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0;margin:5px -30px;font-size:1.6rem;line-height:.95;display:inline-block;width:25px;height:25px;text-align:center;border:1px solid #ddd;color:#c3c3c3;border-radius:5px}.help .collapse-container{margin:40px 0}.help .collapse-container .collapse-button{margin:-10px -30px;font-size:20px;line-height:1}.token-remove{width:.9rem;height:.9rem;position:absolute;left:18px;cursor:pointer}.node-remove{width:16px;height:16px;position:absolute;right:6px;top:8px}.m-addresses td:first-child{max-width:50px;min-widht:50px}.m-addresses td:last-child{text-align:right}.token-balances{margin-bottom:15px;font-size:14px;max-height:60vh;overflow:scroll}h2 a.isActive,h2 a.isActive:active,h2 a.isActive:hover{color:#333;cursor:default}.item{margin:6px 0}.output{padding:.5rem 1rem;margin-top:-.5rem}.output p{margin:.75rem 0 0}label .small{font-size:.9rem}label small{color:#9a9a9a}.write-address .col-xs-1{padding:0}.write-address .col-xs-11{padding-right:10px}.write-boolean label{display:block}.decrypt-drtv{padding:1rem 0}.decrypt-drtv label.radio{padding:0 1.5rem;margin:.5rem 0}.decrypt-drtv h4{margin-top:0}.qr-code{max-width:17rem;margin:auto}.qr-pkey-container{position:relative}.qr-overlay{background-color:#000;position:absolute;top:0;left:0;right:0;bottom:0}.contracts a.isActive{color:#333;font-weight:400}.contracts .dropdown-toggle{display:block;text-align:left;white-space:normal}.contracts .dropdown-toggle .caret{position:absolute;right:1rem;top:1.25rem}.contracts .dropdown-menu-left{font-size:.9rem;left:auto;right:0;min-width:37rem}.contracts .dropdown-menu-left small{float:right}.ens-tab a.isActive{color:#333;font-weight:400}.ens-tab .btn-primary-buy-button{width:200px}.ens-tab .btn-red{background-color:#84023d;border-color:#84023d;position:relative;width:200px}.ens-tab .btn-red .na{background-color:red;border-radius:300px;padding:5px 8px;font-weight:900}.ens-tab .btn-red:hover{background-color:#84023d;border-color:#84023d;position:relative}.ens-tab .pad-bot{padding-bottom:5px}.dropdown-gas{padding-bottom:1rem}@media screen and (max-width:900px){.dropdown-gas{padding-bottom:2rem}}.dropdown-gas__msg{font-size:12px;font-weight:300;margin:-10px auto 3px;max-width:113rem;padding:0 5rem;text-align:right;white-space:normal}@media screen and (max-width:80rem){.dropdown-gas__msg{padding:0 3%}}@media screen and (max-width:900px){.dropdown-gas__msg{margin-top:0;padding:0 1%}}.view-wallet-content h5{margin-bottom:.25rem}.view-wallet-content a.isActive{color:#333}#selectedTypeLedger ol{padding-left:1rem}.loading-wrap{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.7);z-index:999;text-align:center}.loading-wrap .loading{position:absolute;text-align:center;top:40%;left:50%;-webkit-transform:translate(-50%,-60%);-ms-transform:translate(-50%,-60%);transform:translate(-50%,-60%)}.loading-wrap img{border-radius:50%}.loading-wrap h1{-webkit-animation:opacity 2s infinite ease-in-out;animation:opacity 2s infinite ease-in-out;color:#fff}@-webkit-keyframes opacity{0%,to{opacity:0}50%{opacity:1}}@keyframes opacity{0%,to{opacity:0}50%{opacity:1}}.embedded-logo{height:auto;width:100%;max-width:290px;padding:.5rem 0}.ens-response{color:#737373}.dropdown-node .dropdown-menu li{border-left:2px solid #b50085;position:relative}.dropdown-node .dropdown-menu li:last-child{border-top:1px solid #ececec;padding-top:5px}.dropdown-node .dropdown-menu li:first-child,.dropdown-node .dropdown-menu li:nth-child(2),.dropdown-node .dropdown-menu li:nth-child(3),.dropdown-node .dropdown-menu li:nth-child(4){border-left:2px solid #0e97c0}.dropdown-node .dropdown-menu li:nth-child(5),.dropdown-node .dropdown-menu li:nth-child(6),.dropdown-node .dropdown-menu li:nth-child(7),.dropdown-node .dropdown-menu li:nth-child(8),.dropdown-node .dropdown-menu li:nth-child(9){border-left:2px solid #009241}.dropdown-node .dropdown-menu li:nth-child(10),.dropdown-node .dropdown-menu li:nth-child(11),.dropdown-node .dropdown-menu li:nth-child(12),.dropdown-node .dropdown-menu li:nth-child(13),.dropdown-node .dropdown-menu li:nth-child(14),.dropdown-node .dropdown-menu li:nth-child(15){border-left:2px solid #adc101}.dropdown-node .dropdown-menu li:nth-child(16){border-left:2px solid #673ab7}.dropdown-node .dropdown-menu li:nth-child(17){border-left:2px solid #00ad85}.dropdown-node .dropdown-menu li:nth-child(18){border-left:2px solid #4568bb}.dropdown-node .dropdown-menu li:nth-child(19){border-left:2px solid #6a488d}.dropdown-node .dropdown-menu li:nth-child(20){border-left:2px solid #046111}.dropdown-node .dropdown-menu li:nth-child(21){border-left:2px solid #4295d1}.dropdown-node .dropdown-menu li:nth-child(22){border-left:2px solid #0e97c0}.dropdown-node .dropdown-menu li:nth-child(23){border-left:2px solid #009241}.dropdown-node .dropdown-menu li:nth-child(24){border-left:2px solid #fece00}.dropdown-node .dropdown-menu li:nth-child(25){border-left:2px solid #27223d}.dropdown-node .dropdown-menu li:nth-child(26){border-left:2px solid #926565}.dropdown-node .dropdown-menu li:nth-child(27),.dropdown-node .dropdown-menu li:nth-child(28){border-left:2px solid #aa0087}.dropdown-node .dropdown-menu li:nth-child(29){border-left:2px solid #a16bff}.dropdown-node .dropdown-menu li:nth-child(30){border-left:2px solid #a2d729}.dropdown-node .dropdown-menu li:nth-child(31){border-left:2px solid #d63068}.dropdown-node .dropdown-menu li:nth-child(32){border-left:2px solid #09f}.dropdown-node .dropdown-menu li:nth-child(33){border-left:2px solid #4568bb}.dropdown-node .dropdown-menu li:nth-child(34){border-left:2px solid #0092ee}.dropdown-node .dropdown-menu li:last-child{border-left:2px solid #9a9a9a}.dropdown-node .dropdown-menu li:nth-child(4),.dropdown-node .dropdown-menu li:nth-child(9),.dropdown-node .dropdown-menu li:nth-child(15),.dropdown-node .dropdown-menu li:nth-child(16),.dropdown-node .dropdown-menu li:nth-child(17),.dropdown-node .dropdown-menu li:nth-child(18),.dropdown-node .dropdown-menu li:nth-child(19),.dropdown-node .dropdown-menu li:nth-child(20),.dropdown-node .dropdown-menu li:nth-child(21),.dropdown-node .dropdown-menu li:nth-child(22),.dropdown-node .dropdown-menu li:nth-child(23),.dropdown-node .dropdown-menu li:nth-child(24),.dropdown-node .dropdown-menu li:nth-child(25),.dropdown-node .dropdown-menu li:nth-child(26),.dropdown-node .dropdown-menu li:nth-child(28),.dropdown-node .dropdown-menu li:nth-child(29),.dropdown-node .dropdown-menu li:nth-child(30),.dropdown-node .dropdown-menu li:nth-child(31),.dropdown-node .dropdown-menu li:nth-child(32),.dropdown-node .dropdown-menu li:nth-child(33){border-bottom:1px solid #ececec}header{margin-bottom:1em}header.ETH .header-branding{border-bottom:.25rem solid #0e97c0}header.ETH+.container+.pre-footer+.footer{border-top:.25rem solid #0e97c0}header.ETH+.container .modal-content{border:.25rem solid #0e97c0}header.ETH+.container .alert-info{background-color:#0e97c0}header.ETH .dropdown-gas:before{width:24px;background-image:url(../images/coins/ethereum.svg)}header.ETC .header-branding{border-bottom:.25rem solid #009241}header.ETC+.container+.pre-footer+.footer{border-top:.25rem solid #009241}header.ETC+.container .modal-content{border:.25rem solid #009241}header.ETC+.container .alert-info{background-color:#009241}header.ETC .dropdown-gas:before{width:24px;background-image:url(../images/coins/ethereum-classic.svg)}header.Ropsten .header-branding{border-bottom:.25rem solid #adc101}header.Ropsten+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Ropsten+.container .modal-content{border:.25rem solid #adc101}header.Ropsten+.container .alert-info{background-color:#adc101}header.Kovan .header-branding{border-bottom:.25rem solid #adc101}header.Kovan+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Kovan+.container .modal-content{border:.25rem solid #adc101}header.Kovan+.container .alert-info{background-color:#adc101}header.Rinkeby .header-branding{border-bottom:.25rem solid #adc101}header.Rinkeby+.container+.pre-footer+.footer{border-top:.25rem solid #adc101}header.Rinkeby+.container .modal-content{border:.25rem solid #adc101}header.Rinkeby+.container .alert-info{background-color:#adc101}header.Custom .header-branding{border-bottom:.25rem solid #b50085}header.Custom+.container+.pre-footer+.footer{border-top:.25rem solid #b50085}header.Custom+.container .modal-content{border:.25rem solid #b50085}header.Custom+.container .alert-info{background-color:#b50085}header.EXP .header-branding{border-bottom:.25rem solid #673ab7}header.EXP+.container+.pre-footer+.footer{border-top:.25rem solid #673ab7}header.EXP+.container .modal-content{border:.25rem solid #673ab7}header.EXP+.container .alert-info{background-color:#673ab7}header.EXP .dropdown-gas:before{width:32px;background-image:url(../images/coins/exp.svg)}header.UBQ .header-branding{border-bottom:.25rem solid #00ad85}header.UBQ+.container+.pre-footer+.footer{border-top:.25rem solid #00ad85}header.UBQ+.container .modal-content{border:.25rem solid #00ad85}header.UBQ+.container .alert-info{background-color:#00ad85}header.UBQ .dropdown-gas:before{width:32px;background-image:url(../images/coins/ubiq.svg)}header.POA .header-branding{border-bottom:.25rem solid #4568bb}header.POA+.container+.pre-footer+.footer{border-top:.25rem solid #4568bb}header.POA+.container .modal-content{border:.25rem solid #4568bb}header.POA+.container .alert-info{background-color:#4568bb}header.POA .dropdown-gas:before{width:32px;background-image:url(../images/coins/poa.svg)}header.TOMO .header-branding{border-bottom:.25rem solid #6a488d}header.TOMO+.container+.pre-footer+.footer{border-top:.25rem solid #6a488d}header.TOMO+.container .modal-content{border:.25rem solid #6a488d}header.TOMO+.container .alert-info{background-color:#6a488d}header.TOMO .dropdown-gas:before{width:34px;background-image:url(../images/coins/tomo.svg)}header.ELLA .header-branding{border-bottom:.25rem solid #046111}header.ELLA+.container+.pre-footer+.footer{border-top:.25rem solid #046111}header.ELLA+.container .modal-content{border:.25rem solid #046111}header.ELLA+.container .alert-info{background-color:#046111}header.ELLA .dropdown-gas:before{width:32px;background-image:url(../images/coins/ella.svg)}header.ETSC .header-branding{border-bottom:.25rem solid #4295d1}header.ETSC+.container+.pre-footer+.footer{border-top:.25rem solid #4295d1}header.ETSC+.container .modal-content{border:.25rem solid #4295d1}header.ETSC+.container .alert-info{background-color:#4295d1}header.ETSC .dropdown-gas:before{width:32px;background-image:url(../images/coins/etsc.svg)}header.EGEM .header-branding{border-bottom:.25rem solid #0e97c0}header.EGEM+.container+.pre-footer+.footer{border-top:.25rem solid #0e97c0}header.EGEM+.container .modal-content{border:.25rem solid #0e97c0}header.EGEM+.container .alert-info{background-color:#0e97c0}header.EGEM .dropdown-gas:before{width:36px;background-image:url(../images/coins/egem.svg)}header.CLO .header-branding{border-bottom:.25rem solid #009241}header.CLO+.container+.pre-footer+.footer{border-top:.25rem solid #009241}header.CLO+.container .modal-content{border:.25rem solid #009241}header.CLO+.container .alert-info{background-color:#009241}header.CLO .dropdown-gas:before{width:36px;background-image:url(../images/coins/callisto.svg)}header.MUSIC .header-branding{border-bottom:.25rem solid #fece00}header.MUSIC+.container+.pre-footer+.footer{border-top:.25rem solid #fece00}header.MUSIC+.container .modal-content{border:.25rem solid #fece00}header.MUSIC+.container .alert-info{background-color:#fece00}header.MUSIC .dropdown-gas:before{width:34px;background-image:url(../images/coins/music.svg)}header.GO .header-branding{border-bottom:.25rem solid #27223d}header.GO+.container+.pre-footer+.footer{border-top:.25rem solid #27223d}header.GO+.container .modal-content{border:.25rem solid #27223d}header.GO+.container .alert-info{background-color:#27223d}header.GO .dropdown-gas:before{width:38px;background-image:url(../images/coins/gochain.svg)}header.EOSC .header-branding{border-bottom:.25rem solid #926565}header.EOSC+.container+.pre-footer+.footer{border-top:.25rem solid #926565}header.EOSC+.container .modal-content{border:.25rem solid #926565}header.EOSC+.container .alert-info{background-color:#926565}header.EOSC .dropdown-gas:before{width:26px;background-image:url(../images/coins/eosc.svg)}header.AKA .header-branding{border-bottom:.25rem solid #aa0087}header.AKA+.container+.pre-footer+.footer{border-top:.25rem solid #aa0087}header.AKA+.container .modal-content{border:.25rem solid #aa0087}header.AKA+.container .alert-info{background-color:#aa0087}header.AKA .dropdown-gas:before{width:34px;background-image:url(../images/coins/akroma.svg)}header.ESN .header-branding{border-bottom:.25rem solid #a16bff}header.ESN+.container+.pre-footer+.footer{border-top:.25rem solid #a16bff}header.ESN+.container .modal-content{border:.25rem solid #a16bff}header.ESN+.container .alert-info{background-color:#a16bff}header.ESN .dropdown-gas:before{width:32px;background-image:url(../images/coins/ethersocial.svg)}header.PIRL .header-branding{border-bottom:.25rem solid #a2d729}header.PIRL+.container+.pre-footer+.footer{border-top:.25rem solid #a2d729}header.PIRL+.container .modal-content{border:.25rem solid #a2d729}header.PIRL+.container .alert-info{background-color:#a2d729}header.PIRL .dropdown-gas:before{width:32px;background-image:url(../images/coins/pirl.svg)}header.ETHO .header-branding{border-bottom:.25rem solid #d63068}header.ETHO+.container+.pre-footer+.footer{border-top:.25rem solid #d63068}header.ETHO+.container .modal-content{border:.25rem solid #d63068}header.ETHO+.container .alert-info{background-color:#d63068}header.ETHO .dropdown-gas:before{width:24px;background-image:url(../images/coins/etho.svg)}header.ATH .header-branding{border-bottom:.25rem solid #09f}header.ATH+.container+.pre-footer+.footer{border-top:.25rem solid #09f}header.ATH+.container .modal-content{border:.25rem solid #09f}header.ATH+.container .alert-info{background-color:#09f}header.ATH .dropdown-gas:before{width:36px;background-image:url(../images/coins/atheios.svg)}header.ILT .header-branding{border-bottom:.25rem solid #4568bb}header.ILT+.container+.pre-footer+.footer{border-top:.25rem solid #4568bb}header.ILT+.container .modal-content{border:.25rem solid #4568bb}header.ILT+.container .alert-info{background-color:#4568bb}header.ILT .dropdown-gas:before{width:35px;background-image:url(../images/coins/ilt.svg)}header.WEB .header-branding{border-bottom:.25rem solid #0092ee}header.WEB+.container+.pre-footer+.footer{border-top:.25rem solid #0092ee}header.WEB+.container .modal-content{border:.25rem solid #0092ee}header.WEB+.container .alert-info{background-color:#0092ee}header.WEB .dropdown-gas:before{width:36px;background-image:url(../images/coins/webchain.svg)}.contest-container{-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;padding:0!important;text-align:center}.contest-container ol{padding:0 10em;text-align:left!important}.contest-container ol li{list-style-position:inside}@media screen and (max-width:960px){.contest-container ol{padding:0 5em!important}.collapse-container .collapse-button{margin-left:-100px}}@media screen and (max-width:650px){.contest-container ol{padding:0 20px!important}}.on-boarding-close{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.on-boarding-close img{cursor:pointer}@media screen and (max-width:600px){.footer__pill-custom-wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.footer__pill-custom-wrap a{-webkit-box-flex:1;-webkit-flex:auto;-ms-flex:auto;flex:auto;max-width:115px}}.privacy-policy{width:90%}.privacy-policy h1,.privacy-policy h3{font-weight:700;text-align:center}.privacy-policy .privacy-policy-body{margin-top:30px}.phishing{height:60%;text-align:center}.unsupported{color:#ea4b40;background:rgba(255,68,8,.1);border:1px solid #ea4b40;padding:10px}.swap-tab a.link,.swap-tab a.link:hover{-webkit-transition:none;-o-transition:none;transition:none}.swap-tab .btn-lg{margin-top:3rem}.swap-tab .btn img,.swap-tab .btn svg{margin-right:.5rem;margin-left:-.25rem;vertical-align:middle}.swap-tab .swap-rates{text-align:center}.swap-tab .swap-rates .order-panel{background:-webkit-linear-gradient(300deg,#0e97c0,#163151);background:-o-linear-gradient(300deg,#0e97c0,#163151);background:linear-gradient(150deg,#0e97c0,#163151);position:relative}.swap-tab .swap-rates .order-panel .bity-logo{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@media screen and (max-width:51.2rem){.swap-tab .swap-rates .order-panel{padding-top:1rem;padding-bottom:1rem}.swap-tab .swap-rates .order-panel .order-info{text-align:left;padding:0 0 0 22%}.swap-tab .swap-rates .order-panel .bity-logo{left:-1rem;top:40%;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}}.swap-tab .swap-rates .form-control.input-sm{width:16%;min-width:3.5rem;display:inline-block;margin-right:1rem;text-align:right;background-color:transparent;color:#fff;-webkit-box-shadow:0 0 0 #fff;box-shadow:0 0 0 #fff;border:0 solid #fff;border-bottom:2px solid #fff}.swap-tab .swap-rates p{margin:0}.swap-tab .swap-rates p span{opacity:.9}.swap-tab .swap-rates .order-info:nth-child(4n+1),.swap-tab .swap-rates .order-info:nth-child(4n+2),.swap-tab .swap-rates .order-info:nth-child(4n+3){background:transparent}.swap-tab .swap-panel{text-align:center;margin-top:3rem;padding:2rem .5rem}.swap-tab .swap-panel>*{display:inline-block;margin:1.5rem .5rem;vertical-align:middle}.swap-tab .swap-panel .form-control{width:10rem;margin-right:0}.swap-tab .swap-panel .dropdown{margin-left:0}.swap-tab .swap-address{text-align:center;padding:3rem 1rem}.swap-tab .swap-start{text-align:center}.swap-tab .swap-start .swap-info{text-align:left;margin-bottom:5rem}.swap-tab .swap-order{text-align:left}.swap-tab .swap-order .order-info-wrap{margin-bottom:0}.swap-tab .swap-order h1{margin-top:3rem;margin-bottom:3rem}.ens-tab .collapse-container h4,.ens-tab .collapse-container h5,.swap-tab .collapse-container h4,.swap-tab .collapse-container h5{display:inline-block}.ens-tab .collapse-container .collapse-button,.swap-tab .collapse-container .collapse-button{float:none;margin:0}.order-info-wrap{margin-bottom:3rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.order-info-wrap .order-info{padding:1rem 0}.order-info{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;min-height:100px;text-align:center;padding:.5rem 0;color:#fff}.order-info:after,.order-info:before{content:" ";display:table}.order-info:after{clear:both}.order-info h3,.order-info h4,.order-info p{margin:0}.order-info:nth-child(4n+1){background-color:#175575}.order-info:nth-child(4n+2){background-color:#1e92ba}.order-info:nth-child(4n+3){background-color:#143955}.order-info:nth-child(4n+4){background-color:#19b3ae}.swap-progress{margin-top:2rem;margin-bottom:0;position:relative}.swap-progress .sep{position:absolute;top:3.5rem;left:3%;right:3%;height:.25rem;background-color:#ececec}@media screen and (max-width:675px){.swap-progress .sep{display:none}}.swap-progress:after,.swap-progress:before{content:" ";display:table}.swap-progress:after{clear:both}.swap-progress .progress-item{width:20%;float:left;text-align:center;margin:.25rem 0}@media screen and (max-width:675px){.swap-progress .progress-item{width:100%}}.swap-progress .progress-item:nth-child(4n+1) .progress-circle{border-color:rgba(30,146,186,.4);color:rgba(30,146,186,.4)}.swap-progress .progress-item:nth-child(4n+2) .progress-circle{border-color:rgba(23,85,117,.4);color:rgba(23,85,117,.4)}.swap-progress .progress-item:nth-child(4n+3) .progress-circle{border-color:rgba(25,179,174,.4);color:rgba(25,179,174,.4)}.swap-progress .progress-item:nth-child(4n+4) .progress-circle{border-color:rgba(20,57,85,.4);color:rgba(20,57,85,.4)}.swap-progress .progress-item .progress-circle{border-radius:50%;border-width:.25rem;border-style:solid;-webkit-box-sizing:content-box;box-sizing:content-box;margin:1rem auto;padding-bottom:4rem;position:relative;width:4rem;background:#fff}@media screen and (max-width:675px){.swap-progress .progress-item .progress-circle{margin:.25rem 1rem .25rem 2rem;padding-bottom:3rem;width:3rem;float:left}}.swap-progress .progress-item .progress-circle i{font-size:1.5rem;line-height:1.75rem;height:1.75rem;width:1.75rem;font-weight:900;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@media screen and (max-width:675px){.swap-progress .progress-item .progress-circle i{font-size:1.5rem;line-height:1.5rem;height:1.5rem;width:1.5rem}}.swap-progress .progress-item p{font-size:.9rem;font-weight:600;text-transform:uppercase;color:hsla(0,0%,55%,.5);letter-spacing:.1em}@media screen and (max-width:675px){.swap-progress .progress-item p{line-height:4rem;margin:0;text-align:left}}.swap-progress .progress-item p small{letter-spacing:.03em;font-size:75%}.swap-progress .progress-item.progress-active p{color:#8d8d8d}.swap-progress .progress-item.progress-active:nth-child(4n+1) .progress-circle{border-color:#1e92ba;color:#1e92ba}.swap-progress .progress-item.progress-active:nth-child(4n+2) .progress-circle{border-color:#175575;color:#175575}.swap-progress .progress-item.progress-active:nth-child(4n+3) .progress-circle{border-color:#19b3ae;color:#19b3ae}.swap-progress .progress-item.progress-active:nth-child(4n+4) .progress-circle{border-color:#143955;color:#143955}.swap-progress .progress-item.progress-true .progress-circle{background-color:#5dba5a;border-color:#5dba5a;-webkit-box-shadow:inset 0 0 0 5px #fff;box-shadow:inset 0 0 0 5px #fff}.swap-progress .progress-item.progress-true .progress-circle i{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 426.67 426.67' width='32' height='32'%3E%3Cpath d='M153.504 366.839c-8.657 0-17.323-3.302-23.927-9.911L9.914 237.265c-13.218-13.218-13.218-34.645 0-47.863 13.218-13.218 34.645-13.218 47.863 0l95.727 95.727 215.39-215.386c13.218-13.214 34.65-13.218 47.859 0 13.222 13.218 13.222 34.65 0 47.863L177.436 356.928c-6.609 6.605-15.271 9.911-23.932 9.911z' fill='%23fff'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain;font-size:0}.swap-progress .progress-item.progress-true p{color:#5dba5a}.ens-tab .order-info-wrap{margin-top:1rem;margin-bottom:1rem}.ens-tab h5+p{margin-top:-.5em}.bity-contact{margin:9rem -1rem -5rem}.cont-md{max-width:64rem;margin:auto}.txstatus__1 .form-control{max-width:64rem;margin:1rem auto}.txstatus__3 h4{display:inline-block}.txstatus__3 .collapse-button{float:none;margin:0}.text-ellipsis{white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.block-title1{background-color:#007cc0}.block-title1,.block-title2{color:#fff;padding:10px 20px;font-weight:900;font-size:20px}.block-title2{background-color:#3e4b5a}.mywallet-container ::-webkit-scrollbar{width:7px}.mywallet-container ::-webkit-scrollbar-track{background:#d7d7d7}.mywallet-container ::-webkit-scrollbar-thumb{background:#3e4b5a;border-radius:12px}.mywallet-container p{margin:0}.mywallet-container h3{margin:0;font-weight:900}.mywallet-container .addressIdenticon{width:50px!important;height:50px!important}.mywallet-container .grid-bg{background-color:#f5f5f5}.mywallet-container .grid-frame{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.mywallet-container .grid-frame #walletsContainer{-webkit-box-flex:50;-webkit-flex:50;-ms-flex:50;flex:50;height:100%}.mywallet-container .grid-frame .data:last-child{margin:0}.mywallet-container .grid-frame .data{display:grid;grid-template-columns:1fr 350px;grid-gap:4px;margin-bottom:20px}.mywallet-container .grid-frame .data .wallet .editor-icons{height:20px;width:20px}.mywallet-container .grid-frame .data .wallet .block-title1 p{font-weight:900}.mywallet-container .grid-frame .data .wallet .content{padding:25px 30px 20px}.mywallet-container .grid-frame .data .wallet .content>div{display:inline-block;vertical-align:top}.mywallet-container .grid-frame .data .wallet .content .balance{padding:0 20px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block{margin-bottom:15px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .block-title,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .block-title{width:125px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block h3,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block h3{display:inline-block;vertical-align:middle;font-size:20px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .balance-amount,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .balance-amount{vertical-align:middle;display:inline-block;font-size:20px;font-weight:900;color:#00c599}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block{display:inline-block;vertical-align:middle}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p{background-color:#fff;padding-left:20px;font-weight:500;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;font-size:14px}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p button,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p button{background-color:#b3b3b4!important;color:#fff!important;display:inline-block;margin-left:30px;padding:12px 17px!important;border:none;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .data .wallet .content .balance .address-block .copy-block p button:hover,.mywallet-container .grid-frame .data .wallet .content .balance .balance-block .copy-block p button:hover{background-color:grey!important}.mywallet-container .grid-frame .data .tokens .col-title{background-color:#fff;display:grid;grid-template-columns:1fr 1fr;padding:5px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .data .tokens .col-title p{font-weight:900;font-size:13px}.mywallet-container .grid-frame .data .tokens .content{height:116px;overflow-y:auto;position:relative}.mywallet-container .grid-frame .data .tokens .content>div{display:grid;grid-template-columns:1fr 1fr;padding:5px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .data .tokens .content>div:nth-child(2n){background-color:#ebebeb}.mywallet-container .grid-frame .data .tokens .content>div p{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mywallet-container .grid-frame .sidebar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:15;-webkit-flex:15;-ms-flex:15;flex:15;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-left:15px;margin-top:4.2rem}.mywallet-container .grid-frame .sidebar .title-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#fff;background-color:#3e4b5a;padding:10px 20px}.mywallet-container .grid-frame .sidebar .title-container .title{display:inline-block;font-weight:900;font-size:20px}.mywallet-container .grid-frame .sidebar .title-container .total-of{display:inline-block;margin-left:auto;font-size:13px;margin-top:10px}.mywallet-container .grid-frame .sidebar .col-title{background-color:#fff;display:grid;grid-template-columns:2fr 1fr;padding:15px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .sidebar .col-title p{font-size:15px;font-weight:900}.mywallet-container .grid-frame .sidebar .content{overflow-y:scroll;position:relative}.mywallet-container .grid-frame .sidebar .content>div{display:grid;grid-template-columns:2fr 1fr;padding:15px 20px;border-bottom:1px solid #ededed}.mywallet-container .grid-frame .sidebar .content>div p{font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mywallet-container .grid-frame .sidebar .content>div .add-button{position:relative}.mywallet-container .grid-frame .sidebar .content>div .add-button p{cursor:pointer;width:90px;position:absolute;padding:7px 0;border:1px solid blue;font-size:12px;color:blue;text-align:center;top:-6px;left:0;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .sidebar .content>div .add-button p:hover{color:#fff;background-color:blue}.mywallet-container .grid-frame .sidebar .content>div .remove-button{position:relative}.mywallet-container .grid-frame .sidebar .content>div .remove-button p{cursor:pointer;width:90px;position:absolute;padding:7px 0;border:1px solid red;font-size:12px;color:red;text-align:center;top:-6px;left:0;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}.mywallet-container .grid-frame .sidebar .content>div .remove-button p:hover{color:#fff;background-color:red}.mywallet-container .grid-frame .sidebar .content .col-title{background-color:#fff}.mywallet-container .grid-frame .sidebar .content .col-title p{font-weight:900}#etherWalletPopUp{padding:10px;position:relative;min-width:346px}#etherWalletPopUp .back-icon{position:absolute;left:5px;top:5px}#etherWalletPopUp .back-icon:active,#etherWalletPopUp .back-icon:hover{outline:0}.toggleTokenContainer span{color:#0e97c0;cursor:pointer}.toggleTokenContainer span:hover{color:#095f79}.walletTokensContainer{max-height:70px;overflow:scroll}.quicksend-address{font-family:Menlo,Monaco,Consolas,Courier New,monospace;max-width:170px;word-wrap:break-word;font-size:12px;font-weight:300;display:block}.chrome-tokens span{min-width:130px;display:inline-block}.truncate{max-width:130px;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis}.mainWalletDelete,.mainWalletEdit,.mainWalletView{margin:.5em}.myWalletCtrl table:not(.account-info) h2{margin:0;font-size:1.6em}.myWalletCtrl table:not(.account-info) h3{font-weight:400;font-size:1.3em}.myWalletCtrl table:not(.account-info) td:nth-child(2){max-width:380px}.myWalletCtrl table:not(.account-info) td,.myWalletCtrl table:not(.account-info) th{vertical-align:middle;padding:.5em .75em}#secWatchOnlyMain .mainWalletDelete{width:60px;display:block}.spinner{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite;height:37px}.spinner-container{display:inherit!important;padding:7.5px 20px!important;text-align:center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.text-navy{color:#163151}.text-gray-lighter{color:#ececec}.text-blue{color:#0e97c0}.text-white{color:#fff}.bg-navy{background:#163151}.bg-gradient{background:#163151;background:-webkit-linear-gradient(301deg,#132a45,#143a56,#21a4ce,#19b4ad);background:-o-linear-gradient(301deg,#132a45,#143a56,#21a4ce,#19b4ad);background:linear-gradient(149deg,#132a45,#143a56,#21a4ce,#19b4ad)}.bg-gray-lighter{background-color:#ececec}.bg-blue{background-color:#0e97c0}.bg-white{background-color:#fff}.text-serif{font-family:Georgia,Times New Roman,Times,serif}.text-sans-serif{font-family:Lato,sans-serif}.pad-v-sm{padding-top:.5em;padding-bottom:.5em}.pad-v-md{padding-top:1em;padding-bottom:1em}.pad-v-lg{padding-top:1.5em;padding-bottom:1.5em}.pad-v-xl{padding-top:2em;padding-bottom:2em}.marg-v-sm{margin-top:.5em;margin-bottom:.5em}.marg-v-md{margin-top:1em;margin-bottom:1em}.marg-v-lg{margin-top:1.5em;margin-bottom:1.5em}.marg-v-xl{margin-top:2em;margin-bottom:2em}.img-fill{width:100%;height:auto;max-width:100%}.header-branding{color:#fff;padding:0}@media screen and (max-width:960px){.header-branding{text-align:center}}.header-branding .container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:900px){.header-branding .container{padding-left:1%;padding-right:1%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}}.header-branding .brand{float:left}@media screen and (max-width:900px){.header-branding .brand{float:none}}.header-branding .brand img{padding:.25rem 0}.header-branding .tagline{font-weight:200;color:#fff;-webkit-box-flex:1;-webkit-flex:1 auto;-ms-flex:1 auto;flex:1 auto;text-align:right;padding:.25rem 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media screen and (max-width:900px){.header-branding .tagline{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end;text-align:right}}.header-branding a{cursor:pointer;font-weight:400;display:inline-block}.header-branding a,.header-branding a:active,.header-branding a:hover{color:#fff;-webkit-transition:all .25s ease;-o-transition:.25s all ease;transition:all .25s ease}.header-branding a:active,.header-branding a:hover{opacity:.8;text-decoration:none}.header-branding .dropdown{padding:.1rem}@media screen and (max-width:900px){.header-branding .dropdown{padding:.1rem 0;white-space:nowrap;display:inline-block;font-size:14px}.header-branding .dropdown .dropdown-menu{right:0;overflow-y:auto;min-width:auto;left:auto;top:100%;font-size:14px}.header-branding .dropdown .dropdown-menu>li>a{font-size:14px;padding:.25rem 30px .25rem 15px;position:relative}.header-branding .dropdown-gas{white-space:normal}.header-branding .dropdown-gas .dropdown-menu{right:0!important}}.header-branding .dropdown-toggle{font-size:14px;padding:.3em .6rem}.header-branding .dropdown-gas{display:inline-block}.header-branding .dropdown-gas .dropdown-menu{min-width:200px;padding:.5rem;margin:.1rem 0 0;right:.1rem;left:auto;overflow:unset}.header-branding .dropdown-gas .dropdown-menu p{padding:0}.header-branding .dropdown-gas:before{content:"";display:inline-block;background-position:50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle;width:24px;height:48px;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='417' preserveAspectRatio='xMidYMid'%3E%3Cg fill-opacity='.588'%3E%3Cpath d='M128.95 154.205h.003l127.96 58.162L128.953.047z' fill='%23b1b1b1'/%3E%3Cpath d='M128.95 154.205V.047L.988 212.367l127.96-58.162z' fill='%23cfcfcf'/%3E%3Cpath d='M128.949 416.953l128.038-180.32-128.038 75.6z' fill='%23b1b1b1'/%3E%3Cpath fill='%23cfcfcf' d='M.988 236.632l127.962 180.32v-104.72z'/%3E%3Cpath fill='%23909090' d='M128.95 288.004l127.96-75.637-127.96-58.162z'/%3E%3Cpath fill='%23b1b1b1' d='M128.948 154.205L.988 212.367l127.96 75.637z'/%3E%3C/g%3E%3C/svg%3E");margin-top:1px}.dropdown-menu a.active{text-decoration:none;color:#0e97c0;background-color:#fafafa}.dropdown-menu{overflow-y:auto;right:.1rem;margin:.1rem 0 0}.nav-container{position:relative;overflow-y:hidden}.nav-container .nav-scroll{-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;overflow-x:auto;margin-bottom:-20px;font-size:0;white-space:nowrap}@media screen and (max-width:51.2rem){.nav-container .nav-scroll{margin:0 -5% -20px}}.nav-container .nav-scroll .nav-inner{border-bottom:2px solid #fff;display:inline-block;font-size:0;margin-bottom:20px;min-width:100%;padding:5px 0 0;vertical-align:middle}.nav-container .nav-scroll .nav-inner .nav-item{display:inline-block;font-size:0}.nav-container .nav-scroll .nav-inner .nav-item.NAV_Swap a:before{content:"";display:inline-block;margin-top:-.1rem;width:1.3rem;height:1.3rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 620.04 631.27'%3E%3Ctitle%3Eicon-swap%3C/title%3E%3Cpath d='M469.95 289.68c-77 0-139.59-62.62-139.59-139.59S392.98 10.5 469.95 10.5s139.59 62.62 139.59 139.59-62.62 139.59-139.59 139.59z' fill='%23ffe14d'/%3E%3Cpath d='M469.95 21a129.09 129.09 0 1 1-129.09 129.09A129.24 129.24 0 0 1 469.95 21m0-21c-82.76 0-150.09 67.33-150.09 150.09s67.29 150.09 150.09 150.09 150.09-67.33 150.09-150.09S552.71 0 469.95 0z' fill='%230f0f0f'/%3E%3Cpath d='M599.04 150.09A129.24 129.24 0 0 0 469.95 21v258.18a129.24 129.24 0 0 0 129.09-129.09z' fill='%23fc3'/%3E%3Cpath d='M469.95 44.94a105.12 105.12 0 1 0 105.12 105.15A105.24 105.24 0 0 0 469.95 44.94zm0 179c-49.27 0-74.85-24.6-74.85-73.87s25.58-74.85 74.85-74.85 75.82 25.58 75.82 74.85-26.55 73.87-75.82 73.87z' fill='%23ff9f19'/%3E%3Cpath d='M545.77 150.09c0 49.27-26.55 74.85-75.82 74.85v30.27a105.12 105.12 0 1 0 0-210.24v30.27c49.27 0 75.82 25.58 75.82 74.85z' fill='%23f28618'/%3E%3Cpath fill='%230492be' d='M100.66 277.37H26.9V114.06h240.72V50.84l131.7 100.1-131.7 100.09v-63.22H100.66v89.56z'/%3E%3Cpath fill='%23103957' opacity='.2' d='M63.78 150.94h335.54l-131.7-100.1v63.22H26.9v163.31h36.88V150.94z'/%3E%3Cpath d='M259.71 34.94l152.67 116-152.67 116v-71.23H108.55v89.56H19V106.15h240.71zm126.55 116L275.52 66.77v55.17H34.8v147.53h57.95v-89.53h182.77v55.19z'/%3E%3Cpath fill='%23fff' d='M292.951 119.43l9.638-12.482 47.456 36.642-9.638 12.482z'/%3E%3Cpath d='M150.09 620.77c-77 0-139.59-62.62-139.59-139.59s62.65-139.59 139.59-139.59 139.59 62.62 139.59 139.59-62.62 139.59-139.59 139.59z' fill='%23ffe14d'/%3E%3Cpath d='M150.09 352.09A129.09 129.09 0 1 1 21 481.18a129.24 129.24 0 0 1 129.09-129.09m0-21C67.33 331.09 0 398.42 0 481.18s67.33 150.09 150.09 150.09 150.06-67.33 150.06-150.09-67.3-150.09-150.06-150.09z' fill='%230f0f0f'/%3E%3Cpath d='M21 481.18a129.24 129.24 0 0 0 129.09 129.09V352.09A129.24 129.24 0 0 0 21 481.18z' fill='%23fc3'/%3E%3Cpath d='M150.09 586.3A105.12 105.12 0 1 0 44.97 481.18 105.24 105.24 0 0 0 150.09 586.3zm0-179c49.27 0 74.85 24.6 74.85 73.87s-25.58 74.85-74.85 74.85-75.82-25.58-75.82-74.85 26.55-73.86 75.82-73.86z' fill='%23ff9f19'/%3E%3Cpath d='M74.26 481.18c0-49.27 26.55-74.85 75.82-74.85v-30.27a105.12 105.12 0 1 0 0 210.24v-30.27c-49.26 0-75.82-25.58-75.82-74.85z' fill='%23f28618'/%3E%3Cpath fill='%230492be' d='M519.39 353.9h73.75v163.31H352.43v63.22L220.72 480.34l131.71-100.1v63.22h166.96V353.9z'/%3E%3Cpath fill='%23103957' opacity='.2' d='M556.26 480.34H220.72l131.71 100.09v-63.22h240.71V353.9h-36.88v126.44z'/%3E%3Cpath d='M360.32 596.36l-152.66-116 152.66-116v71.25h151.16V346h89.56v179.11H360.32zm-126.55-116l110.74 84.16v-55.21h240.73V361.8h-57.95v89.56H344.52v-55.19z'/%3E%3Cpath fill='%23fff' d='M268.572 486.574l9.7-12.473 47.419 36.875-9.7 12.473z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain;vertical-align:middle;margin-right:.25rem}.nav-container .nav-scroll .nav-inner .nav-item a{color:#095f79;display:block;font-size:16px;font-weight:300;padding:10px;white-space:nowrap;position:relative;min-height:2.75rem}.nav-container .nav-scroll .nav-inner .nav-item a:after{content:"";background:#0e97c0;height:2px;width:100%;left:0;position:absolute;bottom:-1px;-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.nav-container .nav-scroll .nav-inner .nav-item.active a,.nav-container .nav-scroll .nav-inner .nav-item a:focus,.nav-container .nav-scroll .nav-inner .nav-item a:hover{color:#0e97c0;text-decoration:none;-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s}.nav-container .nav-scroll .nav-inner .nav-item.active a:after,.nav-container .nav-scroll .nav-inner .nav-item a:focus:after,.nav-container .nav-scroll .nav-inner .nav-item a:hover:after{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);-webkit-transition:all .25s ease 0s;-o-transition:all .25s ease 0s;transition:all .25s ease 0s}.nav-container .nav-arrow-left,.nav-container .nav-arrow-right{background-color:#fff;bottom:12px;color:#d6d6d6;font-size:33px;line-height:1.3;min-width:50px;position:absolute;top:0;vertical-align:middle;width:5%;z-index:999}.nav-container .nav-arrow-left:hover,.nav-container .nav-arrow-right:hover{text-decoration:none}.nav-container .nav-arrow-right{right:3%;background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),color-stop(47%,#fff),to(#fff));background:-webkit-linear-gradient(left,hsla(0,0%,100%,0),#fff 47%,#fff);background:-o-linear-gradient(left,hsla(0,0%,100%,0) 0,#fff 47%,#fff 100%);background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff 47%,#fff);padding-right:5px;text-align:right}@media screen and (max-width:51.2rem){.nav-container .nav-arrow-right{right:0}}.nav-container .nav-arrow-left{left:3%;background:-webkit-gradient(linear,right top,left top,from(hsla(0,0%,100%,0)),color-stop(47%,#fff),to(#fff));background:-webkit-linear-gradient(right,hsla(0,0%,100%,0),#fff 47%,#fff);background:-o-linear-gradient(right,hsla(0,0%,100%,0) 0,#fff 47%,#fff 100%);background:linear-gradient(270deg,hsla(0,0%,100%,0) 0,#fff 47%,#fff);padding-left:5px;text-align:left}@media screen and (max-width:51.2rem){.nav-container .nav-arrow-left{left:0}}.print-container{width:680px;height:280px;border:1px solid gray;margin-bottom:50px;position:relative}.print-container #identicon{-webkit-print-color-adjust:exact;position:absolute;right:7.5rem;bottom:3rem}.print-container #identicon:after{content:"Always look for this icon when sending to this wallet.";font-size:9px;width:120px;position:absolute;bottom:.75rem;text-align:center;right:-7.5rem}.print-title{float:left}.print-text{color:#0b7290;text-transform:uppercase;letter-spacing:.05em;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);position:absolute;right:0;bottom:0;font-size:13px;font-weight:600}.print-qr-code-1{width:28%;float:left;position:relative;padding:20px}.print-qr-code-1 .print-text{right:-35px;bottom:69px}.print-qr-code-2{width:28%;float:left;position:relative;padding:20px}.print-qr-code-2 .print-text{right:-45px;bottom:69px}.print-notes{width:28%;float:left;position:relative;padding:20px}.print-notes .print-text{right:-45px;bottom:69px}.print-address-container{float:left;width:85%;padding:0 25px}.print-address-container p{font-size:14px;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.ether-logo-1{position:absolute;left:100px}.ether-logo-2{position:absolute;right:32px;bottom:64px}.block--container{max-width:113rem;margin-left:-1%;margin-right:-1%}.block__wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.block{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative}.block:after,.block:before{content:" ";display:table}.block:after{clear:both}@media screen and (max-width:32rem){.block{padding:1.25rem}}.block>:first-child{margin-top:0}.block>:last-child{margin-bottom:0}.block--text-white *,.block--text-white a{color:#fff}.block--text-white a:focus,.block--text-white a:hover{color:hsla(0,0%,100%,.9)}.block--danger{background-color:#ea4b40}.block--danger *,.block--danger a{color:#fff}.block--danger a:focus,.block--danger a:hover{color:hsla(0,0%,100%,.9)}.block--warning{background-color:#ff9800}.block--warning *,.block--warning a{color:#fff}.block--warning a:focus,.block--warning a:hover{color:hsla(0,0%,100%,.9)}.block--info{background-color:#163151}.block--info *,.block--info a{color:#fff}.block--info a:focus,.block--info a:hover{color:hsla(0,0%,100%,.9)}.block--primary{background-color:#0e97c0}.block--primary *,.block--primary a{color:#fff}.block--primary a:focus,.block--primary a:hover{color:hsla(0,0%,100%,.9)}.block--success{background-color:#5dba5a}.block--success *,.block--success a{color:#fff}.block--success a:focus,.block--success a:hover{color:hsla(0,0%,100%,.9)}.block__main{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative;text-align:left;padding:.75rem;-webkit-flex-basis:98%;-ms-flex-preferred-size:98%;flex-basis:98%;margin:1rem .5%}.block__main:after,.block__main:before{content:" ";display:table}.block__main:after{clear:both}@media screen and (max-width:32rem){.block__main{padding:1.25rem}}.block__main>:first-child{margin-top:0}.block__main>:last-child{margin-bottom:0}@media screen and (min-width:51.2rem){.block__main{-webkit-flex-basis:68%;-ms-flex-preferred-size:68%;flex-basis:68%}}@media screen and (min-width:66.13333333rem){.block__main{-webkit-flex-basis:73%;-ms-flex-preferred-size:73%;flex-basis:73%}}.block__help{background-color:#fff;-webkit-box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);box-shadow:16px 16px 47px 2px rgba(0,0,0,.07);padding:1.5rem 2rem;min-height:1.5rem;margin:1rem auto;position:relative;background-image:url(../images/icon-help-2.svg);background-size:8rem;background-position:102% -5%;background-repeat:no-repeat;text-align:left;margin:1rem 1%;-webkit-flex-basis:98%;-ms-flex-preferred-size:98%;flex-basis:98%}.block__help:after,.block__help:before{content:" ";display:table}.block__help:after{clear:both}@media screen and (max-width:32rem){.block__help{padding:1.25rem}}.block__help>:last-child{margin-bottom:0}@media screen and (min-width:51.2rem){.block__help{-webkit-flex-basis:28%;-ms-flex-preferred-size:28%;flex-basis:28%}}@media screen and (min-width:66.13333333rem){.block__help{-webkit-flex-basis:23%;-ms-flex-preferred-size:23%;flex-basis:23%}}.block__help a{color:#ff5722}.block__help a:hover{color:#ff4408}.block__help>:first-child{margin-top:0}.block__help ul{list-style:circle}.block__help ol,.block__help ul{padding-left:1rem}.block__help h2{font-size:1.15rem;font-weight:400}.equal-space>*{margin-top:1rem;margin-bottom:1rem}.u-center-h{text-align:center}.gen__1 .input-group{max-width:43rem;margin:1rem auto}.gen__1--inner{text-align:center}.gen__1--inner h1{margin:1rem auto 2rem}.gen__1--inner h4{margin:3rem auto 1rem}.gen__1--inner p{margin:0 0 2rem}.gen__1--inner .btn{margin:0 auto 3rem}.gen__2--inner{text-align:center}.gen__2--inner h1{margin:1rem auto}.gen__2--inner>.btn{margin:1rem auto 2rem}.gen__2--inner .warn{margin:2rem auto}.gen__3--inner{text-align:center}.gen__3--inner h1{margin:2rem auto 1rem}.gen__3--inner>.btn,.gen__3--inner>.form-control{margin:0 auto 3rem}.pre-footer{padding:1rem;-webkit-box-shadow:16px 16px 47px 0 rgba(0,0,0,.07);box-shadow:16px 16px 47px 0 rgba(0,0,0,.07);margin-top:5rem;background-color:#fff;text-align:center}.pre-footer p{font-size:1.3rem}.footer{background-color:#102138;color:#fff;font-size:.8rem;margin-top:0}.footer h5{margin-top:.5rem;margin-bottom:.25rem}.footer h5 i{margin-left:-1.5em;margin-right:.25em}.footer h5:first-child{margin-top:0}.footer ul{list-style:none;padding-left:0;margin:0}.footer li,.footer p{font-size:.8rem;margin:.25em 0}.footer a{color:#7fe5ff;font-weight:400}.footer a:focus,.footer a:hover{color:#4cdbff}.footer small{font-size:.6rem}.footer--logo{width:100%;height:auto;max-width:16rem}.header--gas{max-width:26rem;color:#333}.header--gas p{font-weight:400;margin:.5rem 0 0}.header--gas a,.header--gas a:focus,.header--gas a:hover,.header--gas a:visited{color:#0e97c0}.footer--left{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:22rem;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:32rem){.footer--left{max-width:100%}}.footer--cent{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:34rem;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2}@media screen and (max-width:32rem){.footer--cent{max-width:100%}}.footer--cent li:last-child,.footer--cent ul{margin-bottom:0}.footer--righ{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:1rem 2rem;max-width:28rem;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}@media screen and (max-width:32rem){.footer--righ{max-width:100%}}.footer__icon{display:inline-block;height:30px;width:30px;padding:5px}.footer__pill-wrap{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}a.footer__pill{display:inline;background:#0e97c0;padding:3px 12px;border-radius:30px;color:#fff}a.footer__pill:focus,a.footer__pill:hover{color:#0e97c0;background:#fff;opacity:1}.custom-token-fields label{font-weight:400;font-size:1rem}.custom-token-fields input{height:2rem;padding:.5rem 1rem;font-size:.9rem;line-height:1.5;border-radius:0}select.custom-token-fields input{height:2rem;line-height:2rem}select[multiple].custom-token-fields input,textarea.custom-token-fields input{height:auto}.custom-token-fields input .mono{font-size:.75rem}.custom-token-fields .address-identicon-container{margin-top:2rem}.swap--btc,.swap--hw,.swap--usd{text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:1rem .15rem}.swap--btc .col-sm-7,.swap--hw .col-sm-7,.swap--usd .col-sm-7{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.swap--usd{background-color:#2b71b1}.swap--usd *,.swap--usd a{color:#fff}.swap--usd a:focus,.swap--usd a:hover{color:hsla(0,0%,100%,.9)}.swap--usd .swap-flag--bal,.swap--usd .swap-flag--price{background-color:#2e86d7}.swap--btc{background-color:#006e79}.swap--btc *,.swap--btc a{color:#fff}.swap--btc a:focus,.swap--btc a:hover{color:hsla(0,0%,100%,.9)}.swap--btc .swap-flag--bal,.swap--btc .swap-flag--price{background-color:#00a3b4}.swap--hw{background-color:#6e9a3e}.swap--hw *,.swap--hw a{color:#fff}.swap--hw a:focus,.swap--hw a:hover{color:hsla(0,0%,100%,.9)}.swap--hw .swap-flag--bal,.swap--hw .swap-flag--price{background-color:#81bc3f}.swap--hw .swap__logo{margin:.45rem 0}.swap-flag--bal,.swap-flag--price{background-color:#5dba5a;color:#fff;padding:.1rem .5rem;font-size:.7rem;border-radius:5rem;margin:.7rem 0 0;line-height:1.4;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.swap__subhead{font-size:.8rem;margin:.15rem 0}.swap__cta{font-size:1.25rem;margin:.15rem 0}.swap__logo{margin:0}.swap__nav{margin-top:-1.1rem;margin-bottom:.7rem;text-align:center}.swap__nav a{color:#9a9a9a;padding:0 .2rem .6rem}.send-modal__addr{font-size:12px}.u__protip{display:table}.u__protip:before{content:"";display:table-cell;width:2em;height:1em;background-image:url(../images/icon-protip.svg);background-size:contain;vertical-align:middle;text-align:center;background-position:50%;background-repeat:no-repeat;border-right:.5em solid transparent}.u__download{display:table;margin-left:.5em}.u__download:before{content:"";display:table-cell;width:1.25em;height:1em;background-image:url(../images/icon-external-link.svg);background-size:contain;vertical-align:middle;text-align:center;background-position:50%;background-repeat:no-repeat;border-right:.5em solid transparent}.send__load-tokens{padding:5px 2px;margin:0;background-color:#ff9800;text-align:center;color:#fff;font-size:9px}.send__load-tokens img{width:14px;height:14px}.send__load-tokens p{margin:4px 0 0;font-weight:500}.send__load-tokens:hover{color:#fff;opacity:.8}.onboarding__modal{padding:1rem}.onboarding__modal:after,.onboarding__modal:before{content:" ";display:table}.onboarding__modal:after{clear:both}.onboarding__modal .btn-primary{background-image:url(../images/icon-arrow-right.svg);background-size:contain;background-position:100%;background-repeat:no-repeat}.onboarding__modal .btn-default{background-image:url(../images/icon-arrow-left.svg);background-size:contain;background-position:0;background-repeat:no-repeat}.onboarding__modal .onboarding__title{text-align:center;margin-bottom:1.5rem}@media (max-width:50.2rem){.onboarding__modal .onboarding__title{margin:0 auto .5rem}}.onboarding__modal img{margin-top:1rem;margin-bottom:1rem}@media (max-width:50.2rem){.onboarding__modal img{max-height:200px}}.onboarding__modal .onboarding__buttons .btn{margin-top:.5rem;margin-bottom:.5rem}@media (min-width:51.2rem){.onboarding__modal .onboarding__buttons{margin-top:.5rem;margin-bottom:.5rem}.onboarding__modal .onboarding__buttons:after,.onboarding__modal .onboarding__buttons:before{content:" ";display:table}.onboarding__modal .onboarding__buttons:after{clear:both}.onboarding__modal .onboarding__buttons .btn+.btn{float:right}}@media (max-width:50.2rem){.onboarding__modal .onboarding__buttons .btn{display:block}.onboarding__modal .onboarding__buttons .btn+.btn{margin-top:1.5rem}}@media (max-width:50.2rem){.onboarding__modal{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.onboarding__modal .onboarding__content,.onboarding__modal .onboarding__image{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.onboarding__modal .onboarding__content+.onboarding__image{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}}.row.row--flex{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media (max-width:50.2rem){.row.row--flex{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}}.onboarding__msg{text-align:center;font-size:.9rem} \ No newline at end of file diff --git a/dist/helpers.html b/dist/helpers.html index 310ca1cc3e..0e3738f079 100644 --- a/dist/helpers.html +++ b/dist/helpers.html @@ -101,13 +101,13 @@ MyEtherWallet -

    3.25.0

    +

    3.26.0

    - + diff --git a/dist/index.html b/dist/index.html index e4ddc46d5a..e184cba894 100644 --- a/dist/index.html +++ b/dist/index.html @@ -101,13 +101,13 @@ MyEtherWallet -

    3.25.0

    +

    3.26.0

    - + diff --git a/dist/js/etherwallet-master.js b/dist/js/etherwallet-master.js index 848de07e63..cbd7e2f489 100644 --- a/dist/js/etherwallet-master.js +++ b/dist/js/etherwallet-master.js @@ -4,8 +4,25 @@ module.exports=[] module.exports=[] },{}],3:[function(require,module,exports){ -arguments[4][2][0].apply(exports,arguments) -},{"dup":2}],4:[function(require,module,exports){ +module.exports=[ + { + "name":"Select a contract...", + "address":"", + "abi":"" + }, + { + "name":"Callisto Cold Staking", + "address":"0xd813419749b3c2cdc94a2f9cfcf154113264a9d6", + "abi":'[{"constant":false,"inputs":[],"name":"start_staking","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"claim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"staker","outputs":[{"name":"amount","type":"uint256"},{"name":"time","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"stake_reward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw_stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"time","type":"uint256"}],"name":"StartStaking","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"staker","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"WithdrawStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"staker","type":"address"},{"indexed":false,"name":"reward","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_address","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"DonationDeposited","type":"event"}]' + }, + { + "name":"Officiality Checker", + "address":"0xf6f29e5ba51171c4ef4997bd0208c7e9bc5d5eda", + "abi":'[{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"remove_entry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"fire","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"},{"name":"_link","type":"string"},{"name":"_metadata","type":"string"}],"name":"add_entry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"hire","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"string"}],"name":"get_entry","outputs":[{"name":"","type":"string"},{"name":"","type":"string"},{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_link","type":"string"}],"name":"is_official","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"transfer_ownership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_name","type":"string"}],"name":"Registered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_name","type":"string"}],"name":"Removed","type":"event"}]' + } +] + +},{}],4:[function(require,module,exports){ arguments[4][2][0].apply(exports,arguments) },{"dup":2}],5:[function(require,module,exports){ arguments[4][2][0].apply(exports,arguments) @@ -998,6 +1015,22 @@ module.exports = bity; var darklist = function darklist() { return [{ + address: "0xF193a9aFb00715AaCF7ca9Ebffafe02C77517C2E", + comment: "Fake copy of ROCK2PAY token", + date: "2018-11-06" + }, { + address: "0xcc02b920ae227f1be7d01fc241c27e5f74d40436", + comment: "Fake copy of ROCK2 token", + date: "2018-10-28" + }, { + address: "0xa153a6eF80fb5d60de18688bdC82684d48FC8De1", + comment: "Fake copy of ROCK2 token", + date: "2018-10-28" + }, { + address: "0x19fb7020381fe9197bf841d5034D5467FE5a3C93", + comment: "Fake copy of ROCK2 token", + date: "2018-10-27" + }, { address: "0x8abe0a9b8A1C8a003354E61F3ed8befdeb7D2CEc", comment: "Fake copy of ROCK2 token", date: "2018-09-12" @@ -4776,8 +4809,15 @@ module.exports = contractsCtrl; function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; } +var u2f = require("u2f-api"); var decryptWalletCtrl = function decryptWalletCtrl($scope, $sce, walletService) { $scope.walletType = ""; + $scope.supported = false; + u2f.isSupported().then(function (res) { + $scope.supported = res && window.browser.name === "chrome"; + $scope.$apply(); + }); + $scope.requireFPass = $scope.requirePPass = $scope.showFDecrypt = $scope.showPDecrypt = $scope.showAOnly = $scope.showParityDecrypt = false; $scope.filePassword = ""; $scope.fileContent = ""; @@ -4952,6 +4992,9 @@ var decryptWalletCtrl = function decryptWalletCtrl($scope, $sce, walletService) case nodes.nodeTypes.TOMO: $scope.HDWallet.dPath = $scope.HDWallet.tomoPath; break; + case nodes.nodeTypes.MIX: + $scope.HDWallet.dPath = $scope.HDWallet.hwMixPath; + break; default: $scope.HDWallet.dPath = $scope.HDWallet.trezorPath; } @@ -5429,7 +5472,7 @@ var decryptWalletCtrl = function decryptWalletCtrl($scope, $sce, walletService) module.exports = decryptWalletCtrl; }).call(this,require("buffer").Buffer) -},{"buffer":262}],36:[function(require,module,exports){ +},{"buffer":414,"u2f-api":999}],36:[function(require,module,exports){ 'use strict'; var domainsaleCtrl = function domainsaleCtrl($scope, $sce, walletService) { @@ -10043,7 +10086,7 @@ var fileReaderDrtv = function fileReaderDrtv($parse) { module.exports = fileReaderDrtv; },{}],60:[function(require,module,exports){ -module.exports = "
    \n\n \n
    \n\n

    \n How would you like to access your wallet?\n

    \n\n \n \n\n \n \n \n \n \n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n
    \n \n\n\n \n
    \n\n \n
    \n

    \n Your Address\n

    \n
    \n \n This is a recommended way to view your balance.\n
    \n

    \n You can only view your balance via this option.\n Please use another option in order to send.\n

    \n
    \n \n
    \n \n
    \n \n\n\n \n
    \n

    \n MetaMask / Mist\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n MetaMask is a browser extension that allows you to access your wallet quickly, safely & easily. It is more secure because you never enter your private key on a website. It protects you from phishing & malicious websites.\n
    \n \n
    \n \n Please use MyEtherWallet on a secure (SSL / HTTPS) connection to connect.\n \n
    \n \n
    \n \n\n\n \n
    \n

    \n Ledger Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n
    \n

    \n {{ledgerErrorString}}\n

    \n
      \n
    • \n Please use MyEtherWallet on a secure (SSL / HTTPS) connection to connect.\n
    • \n
    • \n \n Open the Ethereum application (or a contract application)\n \n \n Open the Expanse application (or a contract application)\n \n \n Open the Ubiq application (or a contract application)\n \n
    • \n
    • \n \n Still not working? More Troubleshooting Tips\n \n
    • \n
    \n
    \n
    \n \n\n\n \n
    \n

    \n TREZOR Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n
    \n

    \n {{trezorErrorString}}\n

    \n \n
    \n
    \n \n\n\n \n
    \n

    \n Digital Bitbox Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n \n
    \n \n\n\n \n
    \n

    \n Secalot Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n \n
    \n \n\n \n \n \n
    \n

    \n MEWconnect\n

    \n
    \n MEWconnect does note support your browser.
    Please use a supported browser (Chrome, Firefox, Opera, Safari (version 11 and above))\n
    \n
    \n \n
    \n \n MEWconnect only works on a secure (SSL / HTTPS) connection.\n \n
    \n \n \n
    \n \n
    Scan this code with your MEWconnect app
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n MEWconnect does not fully support your browser [{{mewConnectMayFail.browser}} {{mewConnectMayFail.version}}] and may not work.
    Please use a fully supported browser (Chrome , Firefox, Opera)\n
    \n
    \n\n\n
    \n \n \n\n \n
    \n

    Select your wallet file

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n \n
    \n

    \n Your file is encrypted. Please enter the password:\n

    \n \n
    \n \n
    \n \n\n\n \n
    \n

    Paste your mnemonic:

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n
    \n \n
    \n
    \n

    \n Password (optional):\n

    \n
    \n \n
    \n
    \n \n
    \n \n\n\n \n
    \n

    \n Paste your private key:\n

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website is dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n
    \n \n
    \n
    \n

    \n Your file is encrypted. Please enter the password:\n

    \n \n
    \n \n
    \n \n\n\n \n
    \n

    Paste your mnemonic:

    \n
    \n \n
    \n \n
    \n \n\n
    \n \n\n\n \n
    \n\n
    \n\n
    \n\n
    \n\n \n\n \n

    \n Select HD derivation path:\n

    \n\n

    \n We do not know the correct path for this network.\n \n Please open a github issue\n \n so we can discuss / be enlightened.\n

    \n\n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n\n\n\n

    \n Please select the address you would like to interact with.\n

    \n\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n
    \n Address\n \n Balance\n \n Token
    Balances\n
    \n \n \n \n {{wallet.getBalance()}} {{ajaxReq.type}}\n \n \n \n \n \n
    \n 5\"\n role=\"link\"\n tabindex=\"0\"\n translate=\"MNEM_prev\">\n Previous Addresses\n \n \n \n More Addresses\n \n
    \n\n
    \n \n\n \n
    \n\n
    \n\n
    \n\n
    \n\n
    \n\n
    \n"; +module.exports = "
    \n\n \n
    \n\n

    \n How would you like to access your wallet?\n

    \n\n \n \n\n \n \n \n \n \n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n \n\n \n
    \n \n\n\n \n
    \n\n \n
    \n

    \n Your Address\n

    \n
    \n \n This is a recommended way to view your balance.\n
    \n

    \n You can only view your balance via this option.\n Please use another option in order to send.\n

    \n
    \n \n
    \n \n
    \n \n\n\n \n
    \n

    \n MetaMask / Mist\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n MetaMask is a browser extension that allows you to access your wallet quickly, safely & easily. It is more secure because you never enter your private key on a website. It protects you from phishing & malicious websites.\n
    \n \n
    \n \n Please use MyEtherWallet on a secure (SSL / HTTPS) connection to connect.\n \n
    \n \n
    \n \n\n\n \n
    \n

    \n Ledger Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n
    \n U2F not supported in this browser. Please try using Google Chrome with a secure (SSL / HTTPS) connection!\n
    \n \n
    \n

    \n {{ledgerErrorString}}\n

    \n
      \n
    • \n Please use MyEtherWallet on a secure (SSL / HTTPS) connection to connect.\n
    • \n
    • \n \n Open the Ethereum application (or a contract application)\n \n \n Open the Expanse application (or a contract application)\n \n \n Open the Ubiq application (or a contract application)\n \n
    • \n
    • \n \n Still not working? More Troubleshooting Tips\n \n
    • \n
    \n
    \n
    \n \n\n\n \n
    \n

    \n TREZOR Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n
    \n

    \n {{trezorErrorString}}\n

    \n \n
    \n
    \n \n\n\n \n
    \n

    \n Digital Bitbox Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n \n
    \n \n\n\n \n
    \n

    \n Secalot Hardware Wallet\n

    \n
    \n \n This is a recommended way to access your wallet.\n
    \n
    \n A hardware wallet is a small USB device that allows you to access your wallet quickly, safely & easily. It is more secure because your private key never leaves the hardware wallet. It protects you from phishing, malware, and more.\n
    \n \n \n \n
    \n \n\n \n \n \n
    \n

    \n MEWconnect\n

    \n
    \n MEWconnect does not support your browser.
    Please use a supported browser (Chrome, Firefox, Opera, Safari (version 11 and above))\n
    \n
    \n \n
    \n \n MEWconnect only works on a secure (SSL / HTTPS) connection.\n \n
    \n \n \n
    \n \n
    Scan this code with your MEWconnect app
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n MEWconnect does not fully support your browser [{{mewConnectMayFail.browser}} {{mewConnectMayFail.version}}] and may not work.
    Please use a fully supported browser (Chrome , Firefox, Opera)\n
    \n
    \n\n\n
    \n \n \n\n \n
    \n

    Select your wallet file

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n \n
    \n

    \n Your file is encrypted. Please enter the password:\n

    \n \n
    \n \n
    \n \n\n\n \n
    \n

    Paste your mnemonic:

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n
    \n \n
    \n
    \n

    \n Password (optional):\n

    \n
    \n \n
    \n
    \n \n
    \n \n\n\n \n
    \n

    \n Paste your private key:\n

    \n
    \n \n This is not a recommended way to access your wallet.\n
    \n
    \n Entering your private key on a website is dangerous. If our website is compromised or you accidentally visit a different website, your funds will be stolen. Please consider:\n
    \n \n
    \n If you must, please double-check the URL & SSL cert. It should say https://www.myetherwallet.com & MYETHERWALLET INC in your URL bar.\n
    \n
    \n
    \n \n
    \n
    \n

    \n Your file is encrypted. Please enter the password:\n

    \n \n
    \n \n
    \n \n\n\n \n
    \n

    Paste your mnemonic:

    \n
    \n \n
    \n \n
    \n \n\n
    \n \n\n\n \n
    \n\n
    \n\n
    \n\n
    \n\n \n\n \n

    \n Select HD derivation path:\n

    \n\n

    \n We do not know the correct path for this network.\n \n Please open a github issue\n \n so we can discuss / be enlightened.\n

    \n\n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n\n\n\n

    \n Please select the address you would like to interact with.\n

    \n\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n
    \n Address\n \n Balance\n \n Token
    Balances\n
    \n \n \n \n {{wallet.getBalance()}} {{ajaxReq.type}}\n \n \n \n \n \n
    \n 5\"\n role=\"link\"\n tabindex=\"0\"\n translate=\"MNEM_prev\">\n Previous Addresses\n \n \n \n More Addresses\n \n
    \n\n
    \n \n\n \n
    \n\n
    \n\n
    \n\n
    \n\n
    \n\n
    \n"; },{}],61:[function(require,module,exports){ 'use strict'; @@ -17191,8 +17234,8 @@ nodes.nodeList = { }, clo: { name: "CLO", - blockExplorerTX: "https://explorer.callisto.network/tx/[[txHash]]", - blockExplorerAddr: "https://explorer.callisto.network/account/[[address]]", + blockExplorerTX: "https://explorer2.callisto.network/tx/[[txHash]]", + blockExplorerAddr: "https://explorer2.callisto.network/addr/[[address]]", type: nodes.nodeTypes.CLO, eip155: true, chainId: 820, @@ -21848,7 +21891,7 @@ module.exports=[ "type": "default" }, { - "address": "0x5e8f855966d638135a968861e80dda722291b06d", + "address": "0xeb547ed1d8a3ff1461abaa7f0022fed4836e00a4", "symbol": "COIN", "decimal": 18, "type": "default" @@ -81041,2740 +81084,2740 @@ function fromByteArray (uint8) { } },{}],217:[function(require,module,exports){ -/*! bignumber.js v4.1.0 https://github.com/MikeMcl/bignumber.js/LICENCE */ - -;(function (globalObj) { - 'use strict'; - - /* - bignumber.js v4.1.0 - A JavaScript library for arbitrary-precision arithmetic. - https://github.com/MikeMcl/bignumber.js - Copyright (c) 2017 Michael Mclaughlin - MIT Expat Licence - */ - - - var BigNumber, - isNumeric = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, - mathceil = Math.ceil, - mathfloor = Math.floor, - notBool = ' not a boolean or binary digit', - roundingMode = 'rounding mode', - tooManyDigits = 'number type has more than 15 significant digits', - ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_', - BASE = 1e14, - LOG_BASE = 14, - MAX_SAFE_INTEGER = 0x1fffffffffffff, // 2^53 - 1 - // MAX_INT32 = 0x7fffffff, // 2^31 - 1 - POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], - SQRT_BASE = 1e7, - - /* - * The limit on the value of DECIMAL_PLACES, TO_EXP_NEG, TO_EXP_POS, MIN_EXP, MAX_EXP, and - * the arguments to toExponential, toFixed, toFormat, and toPrecision, beyond which an - * exception is thrown (if ERRORS is true). - */ - MAX = 1E9; // 0 to MAX_INT32 - - - /* - * Create and return a BigNumber constructor. - */ - function constructorFactory(config) { - var div, parseNumeric, - - // id tracks the caller function, so its name can be included in error messages. - id = 0, - P = BigNumber.prototype, - ONE = new BigNumber(1), - - - /********************************* EDITABLE DEFAULTS **********************************/ - - - /* - * The default values below must be integers within the inclusive ranges stated. - * The values can also be changed at run-time using BigNumber.config. - */ - - // The maximum number of decimal places for operations involving division. - DECIMAL_PLACES = 20, // 0 to MAX - - /* - * The rounding mode used when rounding to the above decimal places, and when using - * toExponential, toFixed, toFormat and toPrecision, and round (default value). - * UP 0 Away from zero. - * DOWN 1 Towards zero. - * CEIL 2 Towards +Infinity. - * FLOOR 3 Towards -Infinity. - * HALF_UP 4 Towards nearest neighbour. If equidistant, up. - * HALF_DOWN 5 Towards nearest neighbour. If equidistant, down. - * HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour. - * HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity. - * HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity. - */ - ROUNDING_MODE = 4, // 0 to 8 - - // EXPONENTIAL_AT : [TO_EXP_NEG , TO_EXP_POS] - - // The exponent value at and beneath which toString returns exponential notation. - // Number type: -7 - TO_EXP_NEG = -7, // 0 to -MAX - - // The exponent value at and above which toString returns exponential notation. - // Number type: 21 - TO_EXP_POS = 21, // 0 to MAX - - // RANGE : [MIN_EXP, MAX_EXP] - - // The minimum exponent value, beneath which underflow to zero occurs. - // Number type: -324 (5e-324) - MIN_EXP = -1e7, // -1 to -MAX - - // The maximum exponent value, above which overflow to Infinity occurs. - // Number type: 308 (1.7976931348623157e+308) - // For MAX_EXP > 1e7, e.g. new BigNumber('1e100000000').plus(1) may be slow. - MAX_EXP = 1e7, // 1 to MAX - - // Whether BigNumber Errors are ever thrown. - ERRORS = true, // true or false - - // Change to intValidatorNoErrors if ERRORS is false. - isValidInt = intValidatorWithErrors, // intValidatorWithErrors/intValidatorNoErrors - - // Whether to use cryptographically-secure random number generation, if available. - CRYPTO = false, // true or false - - /* - * The modulo mode used when calculating the modulus: a mod n. - * The quotient (q = a / n) is calculated according to the corresponding rounding mode. - * The remainder (r) is calculated as: r = a - n * q. - * - * UP 0 The remainder is positive if the dividend is negative, else is negative. - * DOWN 1 The remainder has the same sign as the dividend. - * This modulo mode is commonly known as 'truncated division' and is - * equivalent to (a % n) in JavaScript. - * FLOOR 3 The remainder has the same sign as the divisor (Python %). - * HALF_EVEN 6 This modulo mode implements the IEEE 754 remainder function. - * EUCLID 9 Euclidian division. q = sign(n) * floor(a / abs(n)). - * The remainder is always positive. - * - * The truncated division, floored division, Euclidian division and IEEE 754 remainder - * modes are commonly used for the modulus operation. - * Although the other rounding modes can also be used, they may not give useful results. - */ - MODULO_MODE = 1, // 0 to 9 - - // The maximum number of significant digits of the result of the toPower operation. - // If POW_PRECISION is 0, there will be unlimited significant digits. - POW_PRECISION = 0, // 0 to MAX - - // The format specification used by the BigNumber.prototype.toFormat method. - FORMAT = { - decimalSeparator: '.', - groupSeparator: ',', - groupSize: 3, - secondaryGroupSize: 0, - fractionGroupSeparator: '\xA0', // non-breaking space - fractionGroupSize: 0 - }; - - - /******************************************************************************************/ - - - // CONSTRUCTOR - - - /* - * The BigNumber constructor and exported function. - * Create and return a new instance of a BigNumber object. - * - * n {number|string|BigNumber} A numeric value. - * [b] {number} The base of n. Integer, 2 to 64 inclusive. - */ - function BigNumber( n, b ) { - var c, e, i, num, len, str, - x = this; - - // Enable constructor usage without new. - if ( !( x instanceof BigNumber ) ) { - - // 'BigNumber() constructor call without new: {n}' - if (ERRORS) raise( 26, 'constructor call without new', n ); - return new BigNumber( n, b ); - } - - // 'new BigNumber() base not an integer: {b}' - // 'new BigNumber() base out of range: {b}' - if ( b == null || !isValidInt( b, 2, 64, id, 'base' ) ) { - - // Duplicate. - if ( n instanceof BigNumber ) { - x.s = n.s; - x.e = n.e; - x.c = ( n = n.c ) ? n.slice() : n; - id = 0; - return; - } - - if ( ( num = typeof n == 'number' ) && n * 0 == 0 ) { - x.s = 1 / n < 0 ? ( n = -n, -1 ) : 1; - - // Fast path for integers. - if ( n === ~~n ) { - for ( e = 0, i = n; i >= 10; i /= 10, e++ ); - x.e = e; - x.c = [n]; - id = 0; - return; - } - - str = n + ''; - } else { - if ( !isNumeric.test( str = n + '' ) ) return parseNumeric( x, str, num ); - x.s = str.charCodeAt(0) === 45 ? ( str = str.slice(1), -1 ) : 1; - } - } else { - b = b | 0; - str = n + ''; - - // Ensure return value is rounded to DECIMAL_PLACES as with other bases. - // Allow exponential notation to be used with base 10 argument. - if ( b == 10 ) { - x = new BigNumber( n instanceof BigNumber ? n : str ); - return round( x, DECIMAL_PLACES + x.e + 1, ROUNDING_MODE ); - } - - // Avoid potential interpretation of Infinity and NaN as base 44+ values. - // Any number in exponential form will fail due to the [Ee][+-]. - if ( ( num = typeof n == 'number' ) && n * 0 != 0 || - !( new RegExp( '^-?' + ( c = '[' + ALPHABET.slice( 0, b ) + ']+' ) + - '(?:\\.' + c + ')?$',b < 37 ? 'i' : '' ) ).test(str) ) { - return parseNumeric( x, str, num, b ); - } - - if (num) { - x.s = 1 / n < 0 ? ( str = str.slice(1), -1 ) : 1; - - if ( ERRORS && str.replace( /^0\.0*|\./, '' ).length > 15 ) { - - // 'new BigNumber() number type has more than 15 significant digits: {n}' - raise( id, tooManyDigits, n ); - } - - // Prevent later check for length on converted number. - num = false; - } else { - x.s = str.charCodeAt(0) === 45 ? ( str = str.slice(1), -1 ) : 1; - } - - str = convertBase( str, 10, b, x.s ); - } - - // Decimal point? - if ( ( e = str.indexOf('.') ) > -1 ) str = str.replace( '.', '' ); - - // Exponential form? - if ( ( i = str.search( /e/i ) ) > 0 ) { - - // Determine exponent. - if ( e < 0 ) e = i; - e += +str.slice( i + 1 ); - str = str.substring( 0, i ); - } else if ( e < 0 ) { - - // Integer. - e = str.length; - } - - // Determine leading zeros. - for ( i = 0; str.charCodeAt(i) === 48; i++ ); - - // Determine trailing zeros. - for ( len = str.length; str.charCodeAt(--len) === 48; ); - str = str.slice( i, len + 1 ); - - if (str) { - len = str.length; - - // Disallow numbers with over 15 significant digits if number type. - // 'new BigNumber() number type has more than 15 significant digits: {n}' - if ( num && ERRORS && len > 15 && ( n > MAX_SAFE_INTEGER || n !== mathfloor(n) ) ) { - raise( id, tooManyDigits, x.s * n ); - } - - e = e - i - 1; - - // Overflow? - if ( e > MAX_EXP ) { - - // Infinity. - x.c = x.e = null; - - // Underflow? - } else if ( e < MIN_EXP ) { - - // Zero. - x.c = [ x.e = 0 ]; - } else { - x.e = e; - x.c = []; - - // Transform base - - // e is the base 10 exponent. - // i is where to slice str to get the first element of the coefficient array. - i = ( e + 1 ) % LOG_BASE; - if ( e < 0 ) i += LOG_BASE; - - if ( i < len ) { - if (i) x.c.push( +str.slice( 0, i ) ); - - for ( len -= LOG_BASE; i < len; ) { - x.c.push( +str.slice( i, i += LOG_BASE ) ); - } - - str = str.slice(i); - i = LOG_BASE - str.length; - } else { - i -= len; - } - - for ( ; i--; str += '0' ); - x.c.push( +str ); - } - } else { - - // Zero. - x.c = [ x.e = 0 ]; - } - - id = 0; - } - - - // CONSTRUCTOR PROPERTIES - - - BigNumber.another = constructorFactory; - - BigNumber.ROUND_UP = 0; - BigNumber.ROUND_DOWN = 1; - BigNumber.ROUND_CEIL = 2; - BigNumber.ROUND_FLOOR = 3; - BigNumber.ROUND_HALF_UP = 4; - BigNumber.ROUND_HALF_DOWN = 5; - BigNumber.ROUND_HALF_EVEN = 6; - BigNumber.ROUND_HALF_CEIL = 7; - BigNumber.ROUND_HALF_FLOOR = 8; - BigNumber.EUCLID = 9; - - - /* - * Configure infrequently-changing library-wide settings. - * - * Accept an object or an argument list, with one or many of the following properties or - * parameters respectively: - * - * DECIMAL_PLACES {number} Integer, 0 to MAX inclusive - * ROUNDING_MODE {number} Integer, 0 to 8 inclusive - * EXPONENTIAL_AT {number|number[]} Integer, -MAX to MAX inclusive or - * [integer -MAX to 0 incl., 0 to MAX incl.] - * RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or - * [integer -MAX to -1 incl., integer 1 to MAX incl.] - * ERRORS {boolean|number} true, false, 1 or 0 - * CRYPTO {boolean|number} true, false, 1 or 0 - * MODULO_MODE {number} 0 to 9 inclusive - * POW_PRECISION {number} 0 to MAX inclusive - * FORMAT {object} See BigNumber.prototype.toFormat - * decimalSeparator {string} - * groupSeparator {string} - * groupSize {number} - * secondaryGroupSize {number} - * fractionGroupSeparator {string} - * fractionGroupSize {number} - * - * (The values assigned to the above FORMAT object properties are not checked for validity.) - * - * E.g. - * BigNumber.config(20, 4) is equivalent to - * BigNumber.config({ DECIMAL_PLACES : 20, ROUNDING_MODE : 4 }) - * - * Ignore properties/parameters set to null or undefined. - * Return an object with the properties current values. - */ - BigNumber.config = BigNumber.set = function () { - var v, p, - i = 0, - r = {}, - a = arguments, - o = a[0], - has = o && typeof o == 'object' - ? function () { if ( o.hasOwnProperty(p) ) return ( v = o[p] ) != null; } - : function () { if ( a.length > i ) return ( v = a[i++] ) != null; }; - - // DECIMAL_PLACES {number} Integer, 0 to MAX inclusive. - // 'config() DECIMAL_PLACES not an integer: {v}' - // 'config() DECIMAL_PLACES out of range: {v}' - if ( has( p = 'DECIMAL_PLACES' ) && isValidInt( v, 0, MAX, 2, p ) ) { - DECIMAL_PLACES = v | 0; - } - r[p] = DECIMAL_PLACES; - - // ROUNDING_MODE {number} Integer, 0 to 8 inclusive. - // 'config() ROUNDING_MODE not an integer: {v}' - // 'config() ROUNDING_MODE out of range: {v}' - if ( has( p = 'ROUNDING_MODE' ) && isValidInt( v, 0, 8, 2, p ) ) { - ROUNDING_MODE = v | 0; - } - r[p] = ROUNDING_MODE; - - // EXPONENTIAL_AT {number|number[]} - // Integer, -MAX to MAX inclusive or [integer -MAX to 0 inclusive, 0 to MAX inclusive]. - // 'config() EXPONENTIAL_AT not an integer: {v}' - // 'config() EXPONENTIAL_AT out of range: {v}' - if ( has( p = 'EXPONENTIAL_AT' ) ) { - - if ( isArray(v) ) { - if ( isValidInt( v[0], -MAX, 0, 2, p ) && isValidInt( v[1], 0, MAX, 2, p ) ) { - TO_EXP_NEG = v[0] | 0; - TO_EXP_POS = v[1] | 0; - } - } else if ( isValidInt( v, -MAX, MAX, 2, p ) ) { - TO_EXP_NEG = -( TO_EXP_POS = ( v < 0 ? -v : v ) | 0 ); - } - } - r[p] = [ TO_EXP_NEG, TO_EXP_POS ]; - - // RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or - // [integer -MAX to -1 inclusive, integer 1 to MAX inclusive]. - // 'config() RANGE not an integer: {v}' - // 'config() RANGE cannot be zero: {v}' - // 'config() RANGE out of range: {v}' - if ( has( p = 'RANGE' ) ) { - - if ( isArray(v) ) { - if ( isValidInt( v[0], -MAX, -1, 2, p ) && isValidInt( v[1], 1, MAX, 2, p ) ) { - MIN_EXP = v[0] | 0; - MAX_EXP = v[1] | 0; - } - } else if ( isValidInt( v, -MAX, MAX, 2, p ) ) { - if ( v | 0 ) MIN_EXP = -( MAX_EXP = ( v < 0 ? -v : v ) | 0 ); - else if (ERRORS) raise( 2, p + ' cannot be zero', v ); - } - } - r[p] = [ MIN_EXP, MAX_EXP ]; - - // ERRORS {boolean|number} true, false, 1 or 0. - // 'config() ERRORS not a boolean or binary digit: {v}' - if ( has( p = 'ERRORS' ) ) { - - if ( v === !!v || v === 1 || v === 0 ) { - id = 0; - isValidInt = ( ERRORS = !!v ) ? intValidatorWithErrors : intValidatorNoErrors; - } else if (ERRORS) { - raise( 2, p + notBool, v ); - } - } - r[p] = ERRORS; - - // CRYPTO {boolean|number} true, false, 1 or 0. - // 'config() CRYPTO not a boolean or binary digit: {v}' - // 'config() crypto unavailable: {crypto}' - if ( has( p = 'CRYPTO' ) ) { - - if ( v === true || v === false || v === 1 || v === 0 ) { - if (v) { - v = typeof crypto == 'undefined'; - if ( !v && crypto && (crypto.getRandomValues || crypto.randomBytes)) { - CRYPTO = true; - } else if (ERRORS) { - raise( 2, 'crypto unavailable', v ? void 0 : crypto ); - } else { - CRYPTO = false; - } - } else { - CRYPTO = false; - } - } else if (ERRORS) { - raise( 2, p + notBool, v ); - } - } - r[p] = CRYPTO; - - // MODULO_MODE {number} Integer, 0 to 9 inclusive. - // 'config() MODULO_MODE not an integer: {v}' - // 'config() MODULO_MODE out of range: {v}' - if ( has( p = 'MODULO_MODE' ) && isValidInt( v, 0, 9, 2, p ) ) { - MODULO_MODE = v | 0; - } - r[p] = MODULO_MODE; - - // POW_PRECISION {number} Integer, 0 to MAX inclusive. - // 'config() POW_PRECISION not an integer: {v}' - // 'config() POW_PRECISION out of range: {v}' - if ( has( p = 'POW_PRECISION' ) && isValidInt( v, 0, MAX, 2, p ) ) { - POW_PRECISION = v | 0; - } - r[p] = POW_PRECISION; - - // FORMAT {object} - // 'config() FORMAT not an object: {v}' - if ( has( p = 'FORMAT' ) ) { - - if ( typeof v == 'object' ) { - FORMAT = v; - } else if (ERRORS) { - raise( 2, p + ' not an object', v ); - } - } - r[p] = FORMAT; - - return r; - }; - - - /* - * Return a new BigNumber whose value is the maximum of the arguments. - * - * arguments {number|string|BigNumber} - */ - BigNumber.max = function () { return maxOrMin( arguments, P.lt ); }; - - - /* - * Return a new BigNumber whose value is the minimum of the arguments. - * - * arguments {number|string|BigNumber} - */ - BigNumber.min = function () { return maxOrMin( arguments, P.gt ); }; - - - /* - * Return a new BigNumber with a random value equal to or greater than 0 and less than 1, - * and with dp, or DECIMAL_PLACES if dp is omitted, decimal places (or less if trailing - * zeros are produced). - * - * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. - * - * 'random() decimal places not an integer: {dp}' - * 'random() decimal places out of range: {dp}' - * 'random() crypto unavailable: {crypto}' - */ - BigNumber.random = (function () { - var pow2_53 = 0x20000000000000; - - // Return a 53 bit integer n, where 0 <= n < 9007199254740992. - // Check if Math.random() produces more than 32 bits of randomness. - // If it does, assume at least 53 bits are produced, otherwise assume at least 30 bits. - // 0x40000000 is 2^30, 0x800000 is 2^23, 0x1fffff is 2^21 - 1. - var random53bitInt = (Math.random() * pow2_53) & 0x1fffff - ? function () { return mathfloor( Math.random() * pow2_53 ); } - : function () { return ((Math.random() * 0x40000000 | 0) * 0x800000) + - (Math.random() * 0x800000 | 0); }; - - return function (dp) { - var a, b, e, k, v, - i = 0, - c = [], - rand = new BigNumber(ONE); - - dp = dp == null || !isValidInt( dp, 0, MAX, 14 ) ? DECIMAL_PLACES : dp | 0; - k = mathceil( dp / LOG_BASE ); - - if (CRYPTO) { - - // Browsers supporting crypto.getRandomValues. - if (crypto.getRandomValues) { - - a = crypto.getRandomValues( new Uint32Array( k *= 2 ) ); - - for ( ; i < k; ) { - - // 53 bits: - // ((Math.pow(2, 32) - 1) * Math.pow(2, 21)).toString(2) - // 11111 11111111 11111111 11111111 11100000 00000000 00000000 - // ((Math.pow(2, 32) - 1) >>> 11).toString(2) - // 11111 11111111 11111111 - // 0x20000 is 2^21. - v = a[i] * 0x20000 + (a[i + 1] >>> 11); - - // Rejection sampling: - // 0 <= v < 9007199254740992 - // Probability that v >= 9e15, is - // 7199254740992 / 9007199254740992 ~= 0.0008, i.e. 1 in 1251 - if ( v >= 9e15 ) { - b = crypto.getRandomValues( new Uint32Array(2) ); - a[i] = b[0]; - a[i + 1] = b[1]; - } else { - - // 0 <= v <= 8999999999999999 - // 0 <= (v % 1e14) <= 99999999999999 - c.push( v % 1e14 ); - i += 2; - } - } - i = k / 2; - - // Node.js supporting crypto.randomBytes. - } else if (crypto.randomBytes) { - - // buffer - a = crypto.randomBytes( k *= 7 ); - - for ( ; i < k; ) { - - // 0x1000000000000 is 2^48, 0x10000000000 is 2^40 - // 0x100000000 is 2^32, 0x1000000 is 2^24 - // 11111 11111111 11111111 11111111 11111111 11111111 11111111 - // 0 <= v < 9007199254740992 - v = ( ( a[i] & 31 ) * 0x1000000000000 ) + ( a[i + 1] * 0x10000000000 ) + - ( a[i + 2] * 0x100000000 ) + ( a[i + 3] * 0x1000000 ) + - ( a[i + 4] << 16 ) + ( a[i + 5] << 8 ) + a[i + 6]; - - if ( v >= 9e15 ) { - crypto.randomBytes(7).copy( a, i ); - } else { - - // 0 <= (v % 1e14) <= 99999999999999 - c.push( v % 1e14 ); - i += 7; - } - } - i = k / 7; - } else { - CRYPTO = false; - if (ERRORS) raise( 14, 'crypto unavailable', crypto ); - } - } - - // Use Math.random. - if (!CRYPTO) { - - for ( ; i < k; ) { - v = random53bitInt(); - if ( v < 9e15 ) c[i++] = v % 1e14; - } - } - - k = c[--i]; - dp %= LOG_BASE; - - // Convert trailing digits to zeros according to dp. - if ( k && dp ) { - v = POWS_TEN[LOG_BASE - dp]; - c[i] = mathfloor( k / v ) * v; - } - - // Remove trailing elements which are zero. - for ( ; c[i] === 0; c.pop(), i-- ); - - // Zero? - if ( i < 0 ) { - c = [ e = 0 ]; - } else { - - // Remove leading elements which are zero and adjust exponent accordingly. - for ( e = -1 ; c[0] === 0; c.splice(0, 1), e -= LOG_BASE); - - // Count the digits of the first element of c to determine leading zeros, and... - for ( i = 1, v = c[0]; v >= 10; v /= 10, i++); - - // adjust the exponent accordingly. - if ( i < LOG_BASE ) e -= LOG_BASE - i; - } - - rand.e = e; - rand.c = c; - return rand; - }; - })(); - - - // PRIVATE FUNCTIONS - - - // Convert a numeric string of baseIn to a numeric string of baseOut. - function convertBase( str, baseOut, baseIn, sign ) { - var d, e, k, r, x, xc, y, - i = str.indexOf( '.' ), - dp = DECIMAL_PLACES, - rm = ROUNDING_MODE; - - if ( baseIn < 37 ) str = str.toLowerCase(); - - // Non-integer. - if ( i >= 0 ) { - k = POW_PRECISION; - - // Unlimited precision. - POW_PRECISION = 0; - str = str.replace( '.', '' ); - y = new BigNumber(baseIn); - x = y.pow( str.length - i ); - POW_PRECISION = k; - - // Convert str as if an integer, then restore the fraction part by dividing the - // result by its base raised to a power. - y.c = toBaseOut( toFixedPoint( coeffToString( x.c ), x.e ), 10, baseOut ); - y.e = y.c.length; - } - - // Convert the number as integer. - xc = toBaseOut( str, baseIn, baseOut ); - e = k = xc.length; - - // Remove trailing zeros. - for ( ; xc[--k] == 0; xc.pop() ); - if ( !xc[0] ) return '0'; - - if ( i < 0 ) { - --e; - } else { - x.c = xc; - x.e = e; - - // sign is needed for correct rounding. - x.s = sign; - x = div( x, y, dp, rm, baseOut ); - xc = x.c; - r = x.r; - e = x.e; - } - - d = e + dp + 1; - - // The rounding digit, i.e. the digit to the right of the digit that may be rounded up. - i = xc[d]; - k = baseOut / 2; - r = r || d < 0 || xc[d + 1] != null; - - r = rm < 4 ? ( i != null || r ) && ( rm == 0 || rm == ( x.s < 0 ? 3 : 2 ) ) - : i > k || i == k &&( rm == 4 || r || rm == 6 && xc[d - 1] & 1 || - rm == ( x.s < 0 ? 8 : 7 ) ); - - if ( d < 1 || !xc[0] ) { - - // 1^-dp or 0. - str = r ? toFixedPoint( '1', -dp ) : '0'; - } else { - xc.length = d; - - if (r) { - - // Rounding up may mean the previous digit has to be rounded up and so on. - for ( --baseOut; ++xc[--d] > baseOut; ) { - xc[d] = 0; - - if ( !d ) { - ++e; - xc = [1].concat(xc); - } - } - } - - // Determine trailing zeros. - for ( k = xc.length; !xc[--k]; ); - - // E.g. [4, 11, 15] becomes 4bf. - for ( i = 0, str = ''; i <= k; str += ALPHABET.charAt( xc[i++] ) ); - str = toFixedPoint( str, e ); - } - - // The caller will add the sign. - return str; - } - - - // Perform division in the specified base. Called by div and convertBase. - div = (function () { - - // Assume non-zero x and k. - function multiply( x, k, base ) { - var m, temp, xlo, xhi, - carry = 0, - i = x.length, - klo = k % SQRT_BASE, - khi = k / SQRT_BASE | 0; - - for ( x = x.slice(); i--; ) { - xlo = x[i] % SQRT_BASE; - xhi = x[i] / SQRT_BASE | 0; - m = khi * xlo + xhi * klo; - temp = klo * xlo + ( ( m % SQRT_BASE ) * SQRT_BASE ) + carry; - carry = ( temp / base | 0 ) + ( m / SQRT_BASE | 0 ) + khi * xhi; - x[i] = temp % base; - } - - if (carry) x = [carry].concat(x); - - return x; - } - - function compare( a, b, aL, bL ) { - var i, cmp; - - if ( aL != bL ) { - cmp = aL > bL ? 1 : -1; - } else { - - for ( i = cmp = 0; i < aL; i++ ) { - - if ( a[i] != b[i] ) { - cmp = a[i] > b[i] ? 1 : -1; - break; - } - } - } - return cmp; - } - - function subtract( a, b, aL, base ) { - var i = 0; - - // Subtract b from a. - for ( ; aL--; ) { - a[aL] -= i; - i = a[aL] < b[aL] ? 1 : 0; - a[aL] = i * base + a[aL] - b[aL]; - } - - // Remove leading zeros. - for ( ; !a[0] && a.length > 1; a.splice(0, 1) ); - } - - // x: dividend, y: divisor. - return function ( x, y, dp, rm, base ) { - var cmp, e, i, more, n, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0, - yL, yz, - s = x.s == y.s ? 1 : -1, - xc = x.c, - yc = y.c; - - // Either NaN, Infinity or 0? - if ( !xc || !xc[0] || !yc || !yc[0] ) { - - return new BigNumber( - - // Return NaN if either NaN, or both Infinity or 0. - !x.s || !y.s || ( xc ? yc && xc[0] == yc[0] : !yc ) ? NaN : - - // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0. - xc && xc[0] == 0 || !yc ? s * 0 : s / 0 - ); - } - - q = new BigNumber(s); - qc = q.c = []; - e = x.e - y.e; - s = dp + e + 1; - - if ( !base ) { - base = BASE; - e = bitFloor( x.e / LOG_BASE ) - bitFloor( y.e / LOG_BASE ); - s = s / LOG_BASE | 0; - } - - // Result exponent may be one less then the current value of e. - // The coefficients of the BigNumbers from convertBase may have trailing zeros. - for ( i = 0; yc[i] == ( xc[i] || 0 ); i++ ); - if ( yc[i] > ( xc[i] || 0 ) ) e--; - - if ( s < 0 ) { - qc.push(1); - more = true; - } else { - xL = xc.length; - yL = yc.length; - i = 0; - s += 2; - - // Normalise xc and yc so highest order digit of yc is >= base / 2. - - n = mathfloor( base / ( yc[0] + 1 ) ); - - // Not necessary, but to handle odd bases where yc[0] == ( base / 2 ) - 1. - // if ( n > 1 || n++ == 1 && yc[0] < base / 2 ) { - if ( n > 1 ) { - yc = multiply( yc, n, base ); - xc = multiply( xc, n, base ); - yL = yc.length; - xL = xc.length; - } - - xi = yL; - rem = xc.slice( 0, yL ); - remL = rem.length; - - // Add zeros to make remainder as long as divisor. - for ( ; remL < yL; rem[remL++] = 0 ); - yz = yc.slice(); - yz = [0].concat(yz); - yc0 = yc[0]; - if ( yc[1] >= base / 2 ) yc0++; - // Not necessary, but to prevent trial digit n > base, when using base 3. - // else if ( base == 3 && yc0 == 1 ) yc0 = 1 + 1e-15; - - do { - n = 0; - - // Compare divisor and remainder. - cmp = compare( yc, rem, yL, remL ); - - // If divisor < remainder. - if ( cmp < 0 ) { - - // Calculate trial digit, n. - - rem0 = rem[0]; - if ( yL != remL ) rem0 = rem0 * base + ( rem[1] || 0 ); - - // n is how many times the divisor goes into the current remainder. - n = mathfloor( rem0 / yc0 ); - - // Algorithm: - // 1. product = divisor * trial digit (n) - // 2. if product > remainder: product -= divisor, n-- - // 3. remainder -= product - // 4. if product was < remainder at 2: - // 5. compare new remainder and divisor - // 6. If remainder > divisor: remainder -= divisor, n++ - - if ( n > 1 ) { - - // n may be > base only when base is 3. - if (n >= base) n = base - 1; - - // product = divisor * trial digit. - prod = multiply( yc, n, base ); - prodL = prod.length; - remL = rem.length; - - // Compare product and remainder. - // If product > remainder. - // Trial digit n too high. - // n is 1 too high about 5% of the time, and is not known to have - // ever been more than 1 too high. - while ( compare( prod, rem, prodL, remL ) == 1 ) { - n--; - - // Subtract divisor from product. - subtract( prod, yL < prodL ? yz : yc, prodL, base ); - prodL = prod.length; - cmp = 1; - } - } else { - - // n is 0 or 1, cmp is -1. - // If n is 0, there is no need to compare yc and rem again below, - // so change cmp to 1 to avoid it. - // If n is 1, leave cmp as -1, so yc and rem are compared again. - if ( n == 0 ) { - - // divisor < remainder, so n must be at least 1. - cmp = n = 1; - } - - // product = divisor - prod = yc.slice(); - prodL = prod.length; - } - - if ( prodL < remL ) prod = [0].concat(prod); - - // Subtract product from remainder. - subtract( rem, prod, remL, base ); - remL = rem.length; - - // If product was < remainder. - if ( cmp == -1 ) { - - // Compare divisor and new remainder. - // If divisor < new remainder, subtract divisor from remainder. - // Trial digit n too low. - // n is 1 too low about 5% of the time, and very rarely 2 too low. - while ( compare( yc, rem, yL, remL ) < 1 ) { - n++; - - // Subtract divisor from remainder. - subtract( rem, yL < remL ? yz : yc, remL, base ); - remL = rem.length; - } - } - } else if ( cmp === 0 ) { - n++; - rem = [0]; - } // else cmp === 1 and n will be 0 - - // Add the next digit, n, to the result array. - qc[i++] = n; - - // Update the remainder. - if ( rem[0] ) { - rem[remL++] = xc[xi] || 0; - } else { - rem = [ xc[xi] ]; - remL = 1; - } - } while ( ( xi++ < xL || rem[0] != null ) && s-- ); - - more = rem[0] != null; - - // Leading zero? - if ( !qc[0] ) qc.splice(0, 1); - } - - if ( base == BASE ) { - - // To calculate q.e, first get the number of digits of qc[0]. - for ( i = 1, s = qc[0]; s >= 10; s /= 10, i++ ); - round( q, dp + ( q.e = i + e * LOG_BASE - 1 ) + 1, rm, more ); - - // Caller is convertBase. - } else { - q.e = e; - q.r = +more; - } - - return q; - }; - })(); - - - /* - * Return a string representing the value of BigNumber n in fixed-point or exponential - * notation rounded to the specified decimal places or significant digits. - * - * n is a BigNumber. - * i is the index of the last digit required (i.e. the digit that may be rounded up). - * rm is the rounding mode. - * caller is caller id: toExponential 19, toFixed 20, toFormat 21, toPrecision 24. - */ - function format( n, i, rm, caller ) { - var c0, e, ne, len, str; - - rm = rm != null && isValidInt( rm, 0, 8, caller, roundingMode ) - ? rm | 0 : ROUNDING_MODE; - - if ( !n.c ) return n.toString(); - c0 = n.c[0]; - ne = n.e; - - if ( i == null ) { - str = coeffToString( n.c ); - str = caller == 19 || caller == 24 && ne <= TO_EXP_NEG - ? toExponential( str, ne ) - : toFixedPoint( str, ne ); - } else { - n = round( new BigNumber(n), i, rm ); - - // n.e may have changed if the value was rounded up. - e = n.e; - - str = coeffToString( n.c ); - len = str.length; - - // toPrecision returns exponential notation if the number of significant digits - // specified is less than the number of digits necessary to represent the integer - // part of the value in fixed-point notation. - - // Exponential notation. - if ( caller == 19 || caller == 24 && ( i <= e || e <= TO_EXP_NEG ) ) { - - // Append zeros? - for ( ; len < i; str += '0', len++ ); - str = toExponential( str, e ); - - // Fixed-point notation. - } else { - i -= ne; - str = toFixedPoint( str, e ); - - // Append zeros? - if ( e + 1 > len ) { - if ( --i > 0 ) for ( str += '.'; i--; str += '0' ); - } else { - i += e - len; - if ( i > 0 ) { - if ( e + 1 == len ) str += '.'; - for ( ; i--; str += '0' ); - } - } - } - } - - return n.s < 0 && c0 ? '-' + str : str; - } - - - // Handle BigNumber.max and BigNumber.min. - function maxOrMin( args, method ) { - var m, n, - i = 0; - - if ( isArray( args[0] ) ) args = args[0]; - m = new BigNumber( args[0] ); - - for ( ; ++i < args.length; ) { - n = new BigNumber( args[i] ); - - // If any number is NaN, return NaN. - if ( !n.s ) { - m = n; - break; - } else if ( method.call( m, n ) ) { - m = n; - } - } - - return m; - } - - - /* - * Return true if n is an integer in range, otherwise throw. - * Use for argument validation when ERRORS is true. - */ - function intValidatorWithErrors( n, min, max, caller, name ) { - if ( n < min || n > max || n != truncate(n) ) { - raise( caller, ( name || 'decimal places' ) + - ( n < min || n > max ? ' out of range' : ' not an integer' ), n ); - } - - return true; - } - - - /* - * Strip trailing zeros, calculate base 10 exponent and check against MIN_EXP and MAX_EXP. - * Called by minus, plus and times. - */ - function normalise( n, c, e ) { - var i = 1, - j = c.length; - - // Remove trailing zeros. - for ( ; !c[--j]; c.pop() ); - - // Calculate the base 10 exponent. First get the number of digits of c[0]. - for ( j = c[0]; j >= 10; j /= 10, i++ ); - - // Overflow? - if ( ( e = i + e * LOG_BASE - 1 ) > MAX_EXP ) { - - // Infinity. - n.c = n.e = null; - - // Underflow? - } else if ( e < MIN_EXP ) { - - // Zero. - n.c = [ n.e = 0 ]; - } else { - n.e = e; - n.c = c; - } - - return n; - } - - - // Handle values that fail the validity test in BigNumber. - parseNumeric = (function () { - var basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i, - dotAfter = /^([^.]+)\.$/, - dotBefore = /^\.([^.]+)$/, - isInfinityOrNaN = /^-?(Infinity|NaN)$/, - whitespaceOrPlus = /^\s*\+(?=[\w.])|^\s+|\s+$/g; - - return function ( x, str, num, b ) { - var base, - s = num ? str : str.replace( whitespaceOrPlus, '' ); - - // No exception on ±Infinity or NaN. - if ( isInfinityOrNaN.test(s) ) { - x.s = isNaN(s) ? null : s < 0 ? -1 : 1; - } else { - if ( !num ) { - - // basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i - s = s.replace( basePrefix, function ( m, p1, p2 ) { - base = ( p2 = p2.toLowerCase() ) == 'x' ? 16 : p2 == 'b' ? 2 : 8; - return !b || b == base ? p1 : m; - }); - - if (b) { - base = b; - - // E.g. '1.' to '1', '.1' to '0.1' - s = s.replace( dotAfter, '$1' ).replace( dotBefore, '0.$1' ); - } - - if ( str != s ) return new BigNumber( s, base ); - } - - // 'new BigNumber() not a number: {n}' - // 'new BigNumber() not a base {b} number: {n}' - if (ERRORS) raise( id, 'not a' + ( b ? ' base ' + b : '' ) + ' number', str ); - x.s = null; - } - - x.c = x.e = null; - id = 0; - } - })(); - - - // Throw a BigNumber Error. - function raise( caller, msg, val ) { - var error = new Error( [ - 'new BigNumber', // 0 - 'cmp', // 1 - 'config', // 2 - 'div', // 3 - 'divToInt', // 4 - 'eq', // 5 - 'gt', // 6 - 'gte', // 7 - 'lt', // 8 - 'lte', // 9 - 'minus', // 10 - 'mod', // 11 - 'plus', // 12 - 'precision', // 13 - 'random', // 14 - 'round', // 15 - 'shift', // 16 - 'times', // 17 - 'toDigits', // 18 - 'toExponential', // 19 - 'toFixed', // 20 - 'toFormat', // 21 - 'toFraction', // 22 - 'pow', // 23 - 'toPrecision', // 24 - 'toString', // 25 - 'BigNumber' // 26 - ][caller] + '() ' + msg + ': ' + val ); - - error.name = 'BigNumber Error'; - id = 0; - throw error; - } - - - /* - * Round x to sd significant digits using rounding mode rm. Check for over/under-flow. - * If r is truthy, it is known that there are more digits after the rounding digit. - */ - function round( x, sd, rm, r ) { - var d, i, j, k, n, ni, rd, - xc = x.c, - pows10 = POWS_TEN; - - // if x is not Infinity or NaN... - if (xc) { - - // rd is the rounding digit, i.e. the digit after the digit that may be rounded up. - // n is a base 1e14 number, the value of the element of array x.c containing rd. - // ni is the index of n within x.c. - // d is the number of digits of n. - // i is the index of rd within n including leading zeros. - // j is the actual index of rd within n (if < 0, rd is a leading zero). - out: { - - // Get the number of digits of the first element of xc. - for ( d = 1, k = xc[0]; k >= 10; k /= 10, d++ ); - i = sd - d; - - // If the rounding digit is in the first element of xc... - if ( i < 0 ) { - i += LOG_BASE; - j = sd; - n = xc[ ni = 0 ]; - - // Get the rounding digit at index j of n. - rd = n / pows10[ d - j - 1 ] % 10 | 0; - } else { - ni = mathceil( ( i + 1 ) / LOG_BASE ); - - if ( ni >= xc.length ) { - - if (r) { - - // Needed by sqrt. - for ( ; xc.length <= ni; xc.push(0) ); - n = rd = 0; - d = 1; - i %= LOG_BASE; - j = i - LOG_BASE + 1; - } else { - break out; - } - } else { - n = k = xc[ni]; - - // Get the number of digits of n. - for ( d = 1; k >= 10; k /= 10, d++ ); - - // Get the index of rd within n. - i %= LOG_BASE; - - // Get the index of rd within n, adjusted for leading zeros. - // The number of leading zeros of n is given by LOG_BASE - d. - j = i - LOG_BASE + d; - - // Get the rounding digit at index j of n. - rd = j < 0 ? 0 : n / pows10[ d - j - 1 ] % 10 | 0; - } - } - - r = r || sd < 0 || - - // Are there any non-zero digits after the rounding digit? - // The expression n % pows10[ d - j - 1 ] returns all digits of n to the right - // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714. - xc[ni + 1] != null || ( j < 0 ? n : n % pows10[ d - j - 1 ] ); - - r = rm < 4 - ? ( rd || r ) && ( rm == 0 || rm == ( x.s < 0 ? 3 : 2 ) ) - : rd > 5 || rd == 5 && ( rm == 4 || r || rm == 6 && - - // Check whether the digit to the left of the rounding digit is odd. - ( ( i > 0 ? j > 0 ? n / pows10[ d - j ] : 0 : xc[ni - 1] ) % 10 ) & 1 || - rm == ( x.s < 0 ? 8 : 7 ) ); - - if ( sd < 1 || !xc[0] ) { - xc.length = 0; - - if (r) { - - // Convert sd to decimal places. - sd -= x.e + 1; - - // 1, 0.1, 0.01, 0.001, 0.0001 etc. - xc[0] = pows10[ ( LOG_BASE - sd % LOG_BASE ) % LOG_BASE ]; - x.e = -sd || 0; - } else { - - // Zero. - xc[0] = x.e = 0; - } - - return x; - } - - // Remove excess digits. - if ( i == 0 ) { - xc.length = ni; - k = 1; - ni--; - } else { - xc.length = ni + 1; - k = pows10[ LOG_BASE - i ]; - - // E.g. 56700 becomes 56000 if 7 is the rounding digit. - // j > 0 means i > number of leading zeros of n. - xc[ni] = j > 0 ? mathfloor( n / pows10[ d - j ] % pows10[j] ) * k : 0; - } - - // Round up? - if (r) { - - for ( ; ; ) { - - // If the digit to be rounded up is in the first element of xc... - if ( ni == 0 ) { - - // i will be the length of xc[0] before k is added. - for ( i = 1, j = xc[0]; j >= 10; j /= 10, i++ ); - j = xc[0] += k; - for ( k = 1; j >= 10; j /= 10, k++ ); - - // if i != k the length has increased. - if ( i != k ) { - x.e++; - if ( xc[0] == BASE ) xc[0] = 1; - } - - break; - } else { - xc[ni] += k; - if ( xc[ni] != BASE ) break; - xc[ni--] = 0; - k = 1; - } - } - } - - // Remove trailing zeros. - for ( i = xc.length; xc[--i] === 0; xc.pop() ); - } - - // Overflow? Infinity. - if ( x.e > MAX_EXP ) { - x.c = x.e = null; - - // Underflow? Zero. - } else if ( x.e < MIN_EXP ) { - x.c = [ x.e = 0 ]; - } - } - - return x; - } - - - // PROTOTYPE/INSTANCE METHODS - - - /* - * Return a new BigNumber whose value is the absolute value of this BigNumber. - */ - P.absoluteValue = P.abs = function () { - var x = new BigNumber(this); - if ( x.s < 0 ) x.s = 1; - return x; - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber rounded to a whole - * number in the direction of Infinity. - */ - P.ceil = function () { - return round( new BigNumber(this), this.e + 1, 2 ); - }; - - - /* - * Return - * 1 if the value of this BigNumber is greater than the value of BigNumber(y, b), - * -1 if the value of this BigNumber is less than the value of BigNumber(y, b), - * 0 if they have the same value, - * or null if the value of either is NaN. - */ - P.comparedTo = P.cmp = function ( y, b ) { - id = 1; - return compare( this, new BigNumber( y, b ) ); - }; - - - /* - * Return the number of decimal places of the value of this BigNumber, or null if the value - * of this BigNumber is ±Infinity or NaN. - */ - P.decimalPlaces = P.dp = function () { - var n, v, - c = this.c; - - if ( !c ) return null; - n = ( ( v = c.length - 1 ) - bitFloor( this.e / LOG_BASE ) ) * LOG_BASE; - - // Subtract the number of trailing zeros of the last number. - if ( v = c[v] ) for ( ; v % 10 == 0; v /= 10, n-- ); - if ( n < 0 ) n = 0; - - return n; - }; - - - /* - * n / 0 = I - * n / N = N - * n / I = 0 - * 0 / n = 0 - * 0 / 0 = N - * 0 / N = N - * 0 / I = 0 - * N / n = N - * N / 0 = N - * N / N = N - * N / I = N - * I / n = I - * I / 0 = I - * I / N = N - * I / I = N - * - * Return a new BigNumber whose value is the value of this BigNumber divided by the value of - * BigNumber(y, b), rounded according to DECIMAL_PLACES and ROUNDING_MODE. - */ - P.dividedBy = P.div = function ( y, b ) { - id = 3; - return div( this, new BigNumber( y, b ), DECIMAL_PLACES, ROUNDING_MODE ); - }; - - - /* - * Return a new BigNumber whose value is the integer part of dividing the value of this - * BigNumber by the value of BigNumber(y, b). - */ - P.dividedToIntegerBy = P.divToInt = function ( y, b ) { - id = 4; - return div( this, new BigNumber( y, b ), 0, 1 ); - }; - - - /* - * Return true if the value of this BigNumber is equal to the value of BigNumber(y, b), - * otherwise returns false. - */ - P.equals = P.eq = function ( y, b ) { - id = 5; - return compare( this, new BigNumber( y, b ) ) === 0; - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber rounded to a whole - * number in the direction of -Infinity. - */ - P.floor = function () { - return round( new BigNumber(this), this.e + 1, 3 ); - }; - - - /* - * Return true if the value of this BigNumber is greater than the value of BigNumber(y, b), - * otherwise returns false. - */ - P.greaterThan = P.gt = function ( y, b ) { - id = 6; - return compare( this, new BigNumber( y, b ) ) > 0; - }; - - - /* - * Return true if the value of this BigNumber is greater than or equal to the value of - * BigNumber(y, b), otherwise returns false. - */ - P.greaterThanOrEqualTo = P.gte = function ( y, b ) { - id = 7; - return ( b = compare( this, new BigNumber( y, b ) ) ) === 1 || b === 0; - - }; - - - /* - * Return true if the value of this BigNumber is a finite number, otherwise returns false. - */ - P.isFinite = function () { - return !!this.c; - }; - - - /* - * Return true if the value of this BigNumber is an integer, otherwise return false. - */ - P.isInteger = P.isInt = function () { - return !!this.c && bitFloor( this.e / LOG_BASE ) > this.c.length - 2; - }; - - - /* - * Return true if the value of this BigNumber is NaN, otherwise returns false. - */ - P.isNaN = function () { - return !this.s; - }; - - - /* - * Return true if the value of this BigNumber is negative, otherwise returns false. - */ - P.isNegative = P.isNeg = function () { - return this.s < 0; - }; - - - /* - * Return true if the value of this BigNumber is 0 or -0, otherwise returns false. - */ - P.isZero = function () { - return !!this.c && this.c[0] == 0; - }; - - - /* - * Return true if the value of this BigNumber is less than the value of BigNumber(y, b), - * otherwise returns false. - */ - P.lessThan = P.lt = function ( y, b ) { - id = 8; - return compare( this, new BigNumber( y, b ) ) < 0; - }; - - - /* - * Return true if the value of this BigNumber is less than or equal to the value of - * BigNumber(y, b), otherwise returns false. - */ - P.lessThanOrEqualTo = P.lte = function ( y, b ) { - id = 9; - return ( b = compare( this, new BigNumber( y, b ) ) ) === -1 || b === 0; - }; - - - /* - * n - 0 = n - * n - N = N - * n - I = -I - * 0 - n = -n - * 0 - 0 = 0 - * 0 - N = N - * 0 - I = -I - * N - n = N - * N - 0 = N - * N - N = N - * N - I = N - * I - n = I - * I - 0 = I - * I - N = N - * I - I = N - * - * Return a new BigNumber whose value is the value of this BigNumber minus the value of - * BigNumber(y, b). - */ - P.minus = P.sub = function ( y, b ) { - var i, j, t, xLTy, - x = this, - a = x.s; - - id = 10; - y = new BigNumber( y, b ); - b = y.s; - - // Either NaN? - if ( !a || !b ) return new BigNumber(NaN); - - // Signs differ? - if ( a != b ) { - y.s = -b; - return x.plus(y); - } - - var xe = x.e / LOG_BASE, - ye = y.e / LOG_BASE, - xc = x.c, - yc = y.c; - - if ( !xe || !ye ) { - - // Either Infinity? - if ( !xc || !yc ) return xc ? ( y.s = -b, y ) : new BigNumber( yc ? x : NaN ); - - // Either zero? - if ( !xc[0] || !yc[0] ) { - - // Return y if y is non-zero, x if x is non-zero, or zero if both are zero. - return yc[0] ? ( y.s = -b, y ) : new BigNumber( xc[0] ? x : - - // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity - ROUNDING_MODE == 3 ? -0 : 0 ); - } - } - - xe = bitFloor(xe); - ye = bitFloor(ye); - xc = xc.slice(); - - // Determine which is the bigger number. - if ( a = xe - ye ) { - - if ( xLTy = a < 0 ) { - a = -a; - t = xc; - } else { - ye = xe; - t = yc; - } - - t.reverse(); - - // Prepend zeros to equalise exponents. - for ( b = a; b--; t.push(0) ); - t.reverse(); - } else { - - // Exponents equal. Check digit by digit. - j = ( xLTy = ( a = xc.length ) < ( b = yc.length ) ) ? a : b; - - for ( a = b = 0; b < j; b++ ) { - - if ( xc[b] != yc[b] ) { - xLTy = xc[b] < yc[b]; - break; - } - } - } - - // x < y? Point xc to the array of the bigger number. - if (xLTy) t = xc, xc = yc, yc = t, y.s = -y.s; - - b = ( j = yc.length ) - ( i = xc.length ); - - // Append zeros to xc if shorter. - // No need to add zeros to yc if shorter as subtract only needs to start at yc.length. - if ( b > 0 ) for ( ; b--; xc[i++] = 0 ); - b = BASE - 1; - - // Subtract yc from xc. - for ( ; j > a; ) { - - if ( xc[--j] < yc[j] ) { - for ( i = j; i && !xc[--i]; xc[i] = b ); - --xc[i]; - xc[j] += BASE; - } - - xc[j] -= yc[j]; - } - - // Remove leading zeros and adjust exponent accordingly. - for ( ; xc[0] == 0; xc.splice(0, 1), --ye ); - - // Zero? - if ( !xc[0] ) { - - // Following IEEE 754 (2008) 6.3, - // n - n = +0 but n - n = -0 when rounding towards -Infinity. - y.s = ROUNDING_MODE == 3 ? -1 : 1; - y.c = [ y.e = 0 ]; - return y; - } - - // No need to check for Infinity as +x - +y != Infinity && -x - -y != Infinity - // for finite x and y. - return normalise( y, xc, ye ); - }; - - - /* - * n % 0 = N - * n % N = N - * n % I = n - * 0 % n = 0 - * -0 % n = -0 - * 0 % 0 = N - * 0 % N = N - * 0 % I = 0 - * N % n = N - * N % 0 = N - * N % N = N - * N % I = N - * I % n = N - * I % 0 = N - * I % N = N - * I % I = N - * - * Return a new BigNumber whose value is the value of this BigNumber modulo the value of - * BigNumber(y, b). The result depends on the value of MODULO_MODE. - */ - P.modulo = P.mod = function ( y, b ) { - var q, s, - x = this; - - id = 11; - y = new BigNumber( y, b ); - - // Return NaN if x is Infinity or NaN, or y is NaN or zero. - if ( !x.c || !y.s || y.c && !y.c[0] ) { - return new BigNumber(NaN); - - // Return x if y is Infinity or x is zero. - } else if ( !y.c || x.c && !x.c[0] ) { - return new BigNumber(x); - } - - if ( MODULO_MODE == 9 ) { - - // Euclidian division: q = sign(y) * floor(x / abs(y)) - // r = x - qy where 0 <= r < abs(y) - s = y.s; - y.s = 1; - q = div( x, y, 0, 3 ); - y.s = s; - q.s *= s; - } else { - q = div( x, y, 0, MODULO_MODE ); - } - - return x.minus( q.times(y) ); - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber negated, - * i.e. multiplied by -1. - */ - P.negated = P.neg = function () { - var x = new BigNumber(this); - x.s = -x.s || null; - return x; - }; - - - /* - * n + 0 = n - * n + N = N - * n + I = I - * 0 + n = n - * 0 + 0 = 0 - * 0 + N = N - * 0 + I = I - * N + n = N - * N + 0 = N - * N + N = N - * N + I = N - * I + n = I - * I + 0 = I - * I + N = N - * I + I = I - * - * Return a new BigNumber whose value is the value of this BigNumber plus the value of - * BigNumber(y, b). - */ - P.plus = P.add = function ( y, b ) { - var t, - x = this, - a = x.s; - - id = 12; - y = new BigNumber( y, b ); - b = y.s; - - // Either NaN? - if ( !a || !b ) return new BigNumber(NaN); - - // Signs differ? - if ( a != b ) { - y.s = -b; - return x.minus(y); - } - - var xe = x.e / LOG_BASE, - ye = y.e / LOG_BASE, - xc = x.c, - yc = y.c; - - if ( !xe || !ye ) { - - // Return ±Infinity if either ±Infinity. - if ( !xc || !yc ) return new BigNumber( a / 0 ); - - // Either zero? - // Return y if y is non-zero, x if x is non-zero, or zero if both are zero. - if ( !xc[0] || !yc[0] ) return yc[0] ? y : new BigNumber( xc[0] ? x : a * 0 ); - } - - xe = bitFloor(xe); - ye = bitFloor(ye); - xc = xc.slice(); - - // Prepend zeros to equalise exponents. Faster to use reverse then do unshifts. - if ( a = xe - ye ) { - if ( a > 0 ) { - ye = xe; - t = yc; - } else { - a = -a; - t = xc; - } - - t.reverse(); - for ( ; a--; t.push(0) ); - t.reverse(); - } - - a = xc.length; - b = yc.length; - - // Point xc to the longer array, and b to the shorter length. - if ( a - b < 0 ) t = yc, yc = xc, xc = t, b = a; - - // Only start adding at yc.length - 1 as the further digits of xc can be ignored. - for ( a = 0; b; ) { - a = ( xc[--b] = xc[b] + yc[b] + a ) / BASE | 0; - xc[b] = BASE === xc[b] ? 0 : xc[b] % BASE; - } - - if (a) { - xc = [a].concat(xc); - ++ye; - } - - // No need to check for zero, as +x + +y != 0 && -x + -y != 0 - // ye = MAX_EXP + 1 possible - return normalise( y, xc, ye ); - }; - - - /* - * Return the number of significant digits of the value of this BigNumber. - * - * [z] {boolean|number} Whether to count integer-part trailing zeros: true, false, 1 or 0. - */ - P.precision = P.sd = function (z) { - var n, v, - x = this, - c = x.c; - - // 'precision() argument not a boolean or binary digit: {z}' - if ( z != null && z !== !!z && z !== 1 && z !== 0 ) { - if (ERRORS) raise( 13, 'argument' + notBool, z ); - if ( z != !!z ) z = null; - } - - if ( !c ) return null; - v = c.length - 1; - n = v * LOG_BASE + 1; - - if ( v = c[v] ) { - - // Subtract the number of trailing zeros of the last element. - for ( ; v % 10 == 0; v /= 10, n-- ); - - // Add the number of digits of the first element. - for ( v = c[0]; v >= 10; v /= 10, n++ ); - } - - if ( z && x.e + 1 > n ) n = x.e + 1; - - return n; - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber rounded to a maximum of - * dp decimal places using rounding mode rm, or to 0 and ROUNDING_MODE respectively if - * omitted. - * - * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'round() decimal places out of range: {dp}' - * 'round() decimal places not an integer: {dp}' - * 'round() rounding mode not an integer: {rm}' - * 'round() rounding mode out of range: {rm}' - */ - P.round = function ( dp, rm ) { - var n = new BigNumber(this); - - if ( dp == null || isValidInt( dp, 0, MAX, 15 ) ) { - round( n, ~~dp + this.e + 1, rm == null || - !isValidInt( rm, 0, 8, 15, roundingMode ) ? ROUNDING_MODE : rm | 0 ); - } - - return n; - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber shifted by k places - * (powers of 10). Shift to the right if n > 0, and to the left if n < 0. - * - * k {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive. - * - * If k is out of range and ERRORS is false, the result will be ±0 if k < 0, or ±Infinity - * otherwise. - * - * 'shift() argument not an integer: {k}' - * 'shift() argument out of range: {k}' - */ - P.shift = function (k) { - var n = this; - return isValidInt( k, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER, 16, 'argument' ) - - // k < 1e+21, or truncate(k) will produce exponential notation. - ? n.times( '1e' + truncate(k) ) - : new BigNumber( n.c && n.c[0] && ( k < -MAX_SAFE_INTEGER || k > MAX_SAFE_INTEGER ) - ? n.s * ( k < 0 ? 0 : 1 / 0 ) - : n ); - }; - - - /* - * sqrt(-n) = N - * sqrt( N) = N - * sqrt(-I) = N - * sqrt( I) = I - * sqrt( 0) = 0 - * sqrt(-0) = -0 - * - * Return a new BigNumber whose value is the square root of the value of this BigNumber, - * rounded according to DECIMAL_PLACES and ROUNDING_MODE. - */ - P.squareRoot = P.sqrt = function () { - var m, n, r, rep, t, - x = this, - c = x.c, - s = x.s, - e = x.e, - dp = DECIMAL_PLACES + 4, - half = new BigNumber('0.5'); - - // Negative/NaN/Infinity/zero? - if ( s !== 1 || !c || !c[0] ) { - return new BigNumber( !s || s < 0 && ( !c || c[0] ) ? NaN : c ? x : 1 / 0 ); - } - - // Initial estimate. - s = Math.sqrt( +x ); - - // Math.sqrt underflow/overflow? - // Pass x to Math.sqrt as integer, then adjust the exponent of the result. - if ( s == 0 || s == 1 / 0 ) { - n = coeffToString(c); - if ( ( n.length + e ) % 2 == 0 ) n += '0'; - s = Math.sqrt(n); - e = bitFloor( ( e + 1 ) / 2 ) - ( e < 0 || e % 2 ); - - if ( s == 1 / 0 ) { - n = '1e' + e; - } else { - n = s.toExponential(); - n = n.slice( 0, n.indexOf('e') + 1 ) + e; - } - - r = new BigNumber(n); - } else { - r = new BigNumber( s + '' ); - } - - // Check for zero. - // r could be zero if MIN_EXP is changed after the this value was created. - // This would cause a division by zero (x/t) and hence Infinity below, which would cause - // coeffToString to throw. - if ( r.c[0] ) { - e = r.e; - s = e + dp; - if ( s < 3 ) s = 0; - - // Newton-Raphson iteration. - for ( ; ; ) { - t = r; - r = half.times( t.plus( div( x, t, dp, 1 ) ) ); - - if ( coeffToString( t.c ).slice( 0, s ) === ( n = - coeffToString( r.c ) ).slice( 0, s ) ) { - - // The exponent of r may here be one less than the final result exponent, - // e.g 0.0009999 (e-4) --> 0.001 (e-3), so adjust s so the rounding digits - // are indexed correctly. - if ( r.e < e ) --s; - n = n.slice( s - 3, s + 1 ); - - // The 4th rounding digit may be in error by -1 so if the 4 rounding digits - // are 9999 or 4999 (i.e. approaching a rounding boundary) continue the - // iteration. - if ( n == '9999' || !rep && n == '4999' ) { - - // On the first iteration only, check to see if rounding up gives the - // exact result as the nines may infinitely repeat. - if ( !rep ) { - round( t, t.e + DECIMAL_PLACES + 2, 0 ); - - if ( t.times(t).eq(x) ) { - r = t; - break; - } - } - - dp += 4; - s += 4; - rep = 1; - } else { - - // If rounding digits are null, 0{0,4} or 50{0,3}, check for exact - // result. If not, then there are further digits and m will be truthy. - if ( !+n || !+n.slice(1) && n.charAt(0) == '5' ) { - - // Truncate to the first rounding digit. - round( r, r.e + DECIMAL_PLACES + 2, 1 ); - m = !r.times(r).eq(x); - } - - break; - } - } - } - } - - return round( r, r.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m ); - }; - - - /* - * n * 0 = 0 - * n * N = N - * n * I = I - * 0 * n = 0 - * 0 * 0 = 0 - * 0 * N = N - * 0 * I = N - * N * n = N - * N * 0 = N - * N * N = N - * N * I = N - * I * n = I - * I * 0 = N - * I * N = N - * I * I = I - * - * Return a new BigNumber whose value is the value of this BigNumber times the value of - * BigNumber(y, b). - */ - P.times = P.mul = function ( y, b ) { - var c, e, i, j, k, m, xcL, xlo, xhi, ycL, ylo, yhi, zc, - base, sqrtBase, - x = this, - xc = x.c, - yc = ( id = 17, y = new BigNumber( y, b ) ).c; - - // Either NaN, ±Infinity or ±0? - if ( !xc || !yc || !xc[0] || !yc[0] ) { - - // Return NaN if either is NaN, or one is 0 and the other is Infinity. - if ( !x.s || !y.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc ) { - y.c = y.e = y.s = null; - } else { - y.s *= x.s; - - // Return ±Infinity if either is ±Infinity. - if ( !xc || !yc ) { - y.c = y.e = null; - - // Return ±0 if either is ±0. - } else { - y.c = [0]; - y.e = 0; - } - } - - return y; - } - - e = bitFloor( x.e / LOG_BASE ) + bitFloor( y.e / LOG_BASE ); - y.s *= x.s; - xcL = xc.length; - ycL = yc.length; - - // Ensure xc points to longer array and xcL to its length. - if ( xcL < ycL ) zc = xc, xc = yc, yc = zc, i = xcL, xcL = ycL, ycL = i; - - // Initialise the result array with zeros. - for ( i = xcL + ycL, zc = []; i--; zc.push(0) ); - - base = BASE; - sqrtBase = SQRT_BASE; - - for ( i = ycL; --i >= 0; ) { - c = 0; - ylo = yc[i] % sqrtBase; - yhi = yc[i] / sqrtBase | 0; - - for ( k = xcL, j = i + k; j > i; ) { - xlo = xc[--k] % sqrtBase; - xhi = xc[k] / sqrtBase | 0; - m = yhi * xlo + xhi * ylo; - xlo = ylo * xlo + ( ( m % sqrtBase ) * sqrtBase ) + zc[j] + c; - c = ( xlo / base | 0 ) + ( m / sqrtBase | 0 ) + yhi * xhi; - zc[j--] = xlo % base; - } - - zc[j] = c; - } - - if (c) { - ++e; - } else { - zc.splice(0, 1); - } - - return normalise( y, zc, e ); - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber rounded to a maximum of - * sd significant digits using rounding mode rm, or ROUNDING_MODE if rm is omitted. - * - * [sd] {number} Significant digits. Integer, 1 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'toDigits() precision out of range: {sd}' - * 'toDigits() precision not an integer: {sd}' - * 'toDigits() rounding mode not an integer: {rm}' - * 'toDigits() rounding mode out of range: {rm}' - */ - P.toDigits = function ( sd, rm ) { - var n = new BigNumber(this); - sd = sd == null || !isValidInt( sd, 1, MAX, 18, 'precision' ) ? null : sd | 0; - rm = rm == null || !isValidInt( rm, 0, 8, 18, roundingMode ) ? ROUNDING_MODE : rm | 0; - return sd ? round( n, sd, rm ) : n; - }; - - - /* - * Return a string representing the value of this BigNumber in exponential notation and - * rounded using ROUNDING_MODE to dp fixed decimal places. - * - * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'toExponential() decimal places not an integer: {dp}' - * 'toExponential() decimal places out of range: {dp}' - * 'toExponential() rounding mode not an integer: {rm}' - * 'toExponential() rounding mode out of range: {rm}' - */ - P.toExponential = function ( dp, rm ) { - return format( this, - dp != null && isValidInt( dp, 0, MAX, 19 ) ? ~~dp + 1 : null, rm, 19 ); - }; - - - /* - * Return a string representing the value of this BigNumber in fixed-point notation rounding - * to dp fixed decimal places using rounding mode rm, or ROUNDING_MODE if rm is omitted. - * - * Note: as with JavaScript's number type, (-0).toFixed(0) is '0', - * but e.g. (-0.00001).toFixed(0) is '-0'. - * - * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'toFixed() decimal places not an integer: {dp}' - * 'toFixed() decimal places out of range: {dp}' - * 'toFixed() rounding mode not an integer: {rm}' - * 'toFixed() rounding mode out of range: {rm}' - */ - P.toFixed = function ( dp, rm ) { - return format( this, dp != null && isValidInt( dp, 0, MAX, 20 ) - ? ~~dp + this.e + 1 : null, rm, 20 ); - }; - - - /* - * Return a string representing the value of this BigNumber in fixed-point notation rounded - * using rm or ROUNDING_MODE to dp decimal places, and formatted according to the properties - * of the FORMAT object (see BigNumber.config). - * - * FORMAT = { - * decimalSeparator : '.', - * groupSeparator : ',', - * groupSize : 3, - * secondaryGroupSize : 0, - * fractionGroupSeparator : '\xA0', // non-breaking space - * fractionGroupSize : 0 - * }; - * - * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'toFormat() decimal places not an integer: {dp}' - * 'toFormat() decimal places out of range: {dp}' - * 'toFormat() rounding mode not an integer: {rm}' - * 'toFormat() rounding mode out of range: {rm}' - */ - P.toFormat = function ( dp, rm ) { - var str = format( this, dp != null && isValidInt( dp, 0, MAX, 21 ) - ? ~~dp + this.e + 1 : null, rm, 21 ); - - if ( this.c ) { - var i, - arr = str.split('.'), - g1 = +FORMAT.groupSize, - g2 = +FORMAT.secondaryGroupSize, - groupSeparator = FORMAT.groupSeparator, - intPart = arr[0], - fractionPart = arr[1], - isNeg = this.s < 0, - intDigits = isNeg ? intPart.slice(1) : intPart, - len = intDigits.length; - - if (g2) i = g1, g1 = g2, g2 = i, len -= i; - - if ( g1 > 0 && len > 0 ) { - i = len % g1 || g1; - intPart = intDigits.substr( 0, i ); - - for ( ; i < len; i += g1 ) { - intPart += groupSeparator + intDigits.substr( i, g1 ); - } - - if ( g2 > 0 ) intPart += groupSeparator + intDigits.slice(i); - if (isNeg) intPart = '-' + intPart; - } - - str = fractionPart - ? intPart + FORMAT.decimalSeparator + ( ( g2 = +FORMAT.fractionGroupSize ) - ? fractionPart.replace( new RegExp( '\\d{' + g2 + '}\\B', 'g' ), - '$&' + FORMAT.fractionGroupSeparator ) - : fractionPart ) - : intPart; - } - - return str; - }; - - - /* - * Return a string array representing the value of this BigNumber as a simple fraction with - * an integer numerator and an integer denominator. The denominator will be a positive - * non-zero value less than or equal to the specified maximum denominator. If a maximum - * denominator is not specified, the denominator will be the lowest value necessary to - * represent the number exactly. - * - * [md] {number|string|BigNumber} Integer >= 1 and < Infinity. The maximum denominator. - * - * 'toFraction() max denominator not an integer: {md}' - * 'toFraction() max denominator out of range: {md}' - */ - P.toFraction = function (md) { - var arr, d0, d2, e, exp, n, n0, q, s, - k = ERRORS, - x = this, - xc = x.c, - d = new BigNumber(ONE), - n1 = d0 = new BigNumber(ONE), - d1 = n0 = new BigNumber(ONE); - - if ( md != null ) { - ERRORS = false; - n = new BigNumber(md); - ERRORS = k; - - if ( !( k = n.isInt() ) || n.lt(ONE) ) { - - if (ERRORS) { - raise( 22, - 'max denominator ' + ( k ? 'out of range' : 'not an integer' ), md ); - } - - // ERRORS is false: - // If md is a finite non-integer >= 1, round it to an integer and use it. - md = !k && n.c && round( n, n.e + 1, 1 ).gte(ONE) ? n : null; - } - } - - if ( !xc ) return x.toString(); - s = coeffToString(xc); - - // Determine initial denominator. - // d is a power of 10 and the minimum max denominator that specifies the value exactly. - e = d.e = s.length - x.e - 1; - d.c[0] = POWS_TEN[ ( exp = e % LOG_BASE ) < 0 ? LOG_BASE + exp : exp ]; - md = !md || n.cmp(d) > 0 ? ( e > 0 ? d : n1 ) : n; - - exp = MAX_EXP; - MAX_EXP = 1 / 0; - n = new BigNumber(s); - - // n0 = d1 = 0 - n0.c[0] = 0; - - for ( ; ; ) { - q = div( n, d, 0, 1 ); - d2 = d0.plus( q.times(d1) ); - if ( d2.cmp(md) == 1 ) break; - d0 = d1; - d1 = d2; - n1 = n0.plus( q.times( d2 = n1 ) ); - n0 = d2; - d = n.minus( q.times( d2 = d ) ); - n = d2; - } - - d2 = div( md.minus(d0), d1, 0, 1 ); - n0 = n0.plus( d2.times(n1) ); - d0 = d0.plus( d2.times(d1) ); - n0.s = n1.s = x.s; - e *= 2; - - // Determine which fraction is closer to x, n0/d0 or n1/d1 - arr = div( n1, d1, e, ROUNDING_MODE ).minus(x).abs().cmp( - div( n0, d0, e, ROUNDING_MODE ).minus(x).abs() ) < 1 - ? [ n1.toString(), d1.toString() ] - : [ n0.toString(), d0.toString() ]; - - MAX_EXP = exp; - return arr; - }; - - - /* - * Return the value of this BigNumber converted to a number primitive. - */ - P.toNumber = function () { - return +this; - }; - - - /* - * Return a BigNumber whose value is the value of this BigNumber raised to the power n. - * If m is present, return the result modulo m. - * If n is negative round according to DECIMAL_PLACES and ROUNDING_MODE. - * If POW_PRECISION is non-zero and m is not present, round to POW_PRECISION using - * ROUNDING_MODE. - * - * The modular power operation works efficiently when x, n, and m are positive integers, - * otherwise it is equivalent to calculating x.toPower(n).modulo(m) (with POW_PRECISION 0). - * - * n {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive. - * [m] {number|string|BigNumber} The modulus. - * - * 'pow() exponent not an integer: {n}' - * 'pow() exponent out of range: {n}' - * - * Performs 54 loop iterations for n of 9007199254740991. - */ - P.toPower = P.pow = function ( n, m ) { - var k, y, z, - i = mathfloor( n < 0 ? -n : +n ), - x = this; - - if ( m != null ) { - id = 23; - m = new BigNumber(m); - } - - // Pass ±Infinity to Math.pow if exponent is out of range. - if ( !isValidInt( n, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER, 23, 'exponent' ) && - ( !isFinite(n) || i > MAX_SAFE_INTEGER && ( n /= 0 ) || - parseFloat(n) != n && !( n = NaN ) ) || n == 0 ) { - k = Math.pow( +x, n ); - return new BigNumber( m ? k % m : k ); - } - - if (m) { - if ( n > 1 && x.gt(ONE) && x.isInt() && m.gt(ONE) && m.isInt() ) { - x = x.mod(m); - } else { - z = m; - - // Nullify m so only a single mod operation is performed at the end. - m = null; - } - } else if (POW_PRECISION) { - - // Truncating each coefficient array to a length of k after each multiplication - // equates to truncating significant digits to POW_PRECISION + [28, 41], - // i.e. there will be a minimum of 28 guard digits retained. - // (Using + 1.5 would give [9, 21] guard digits.) - k = mathceil( POW_PRECISION / LOG_BASE + 2 ); - } - - y = new BigNumber(ONE); - - for ( ; ; ) { - if ( i % 2 ) { - y = y.times(x); - if ( !y.c ) break; - if (k) { - if ( y.c.length > k ) y.c.length = k; - } else if (m) { - y = y.mod(m); - } - } - - i = mathfloor( i / 2 ); - if ( !i ) break; - x = x.times(x); - if (k) { - if ( x.c && x.c.length > k ) x.c.length = k; - } else if (m) { - x = x.mod(m); - } - } - - if (m) return y; - if ( n < 0 ) y = ONE.div(y); - - return z ? y.mod(z) : k ? round( y, POW_PRECISION, ROUNDING_MODE ) : y; - }; - - - /* - * Return a string representing the value of this BigNumber rounded to sd significant digits - * using rounding mode rm or ROUNDING_MODE. If sd is less than the number of digits - * necessary to represent the integer part of the value in fixed-point notation, then use - * exponential notation. - * - * [sd] {number} Significant digits. Integer, 1 to MAX inclusive. - * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. - * - * 'toPrecision() precision not an integer: {sd}' - * 'toPrecision() precision out of range: {sd}' - * 'toPrecision() rounding mode not an integer: {rm}' - * 'toPrecision() rounding mode out of range: {rm}' - */ - P.toPrecision = function ( sd, rm ) { - return format( this, sd != null && isValidInt( sd, 1, MAX, 24, 'precision' ) - ? sd | 0 : null, rm, 24 ); - }; - - - /* - * Return a string representing the value of this BigNumber in base b, or base 10 if b is - * omitted. If a base is specified, including base 10, round according to DECIMAL_PLACES and - * ROUNDING_MODE. If a base is not specified, and this BigNumber has a positive exponent - * that is equal to or greater than TO_EXP_POS, or a negative exponent equal to or less than - * TO_EXP_NEG, return exponential notation. - * - * [b] {number} Integer, 2 to 64 inclusive. - * - * 'toString() base not an integer: {b}' - * 'toString() base out of range: {b}' - */ - P.toString = function (b) { - var str, - n = this, - s = n.s, - e = n.e; - - // Infinity or NaN? - if ( e === null ) { - - if (s) { - str = 'Infinity'; - if ( s < 0 ) str = '-' + str; - } else { - str = 'NaN'; - } - } else { - str = coeffToString( n.c ); - - if ( b == null || !isValidInt( b, 2, 64, 25, 'base' ) ) { - str = e <= TO_EXP_NEG || e >= TO_EXP_POS - ? toExponential( str, e ) - : toFixedPoint( str, e ); - } else { - str = convertBase( toFixedPoint( str, e ), b | 0, 10, s ); - } - - if ( s < 0 && n.c[0] ) str = '-' + str; - } - - return str; - }; - - - /* - * Return a new BigNumber whose value is the value of this BigNumber truncated to a whole - * number. - */ - P.truncated = P.trunc = function () { - return round( new BigNumber(this), this.e + 1, 1 ); - }; - - - /* - * Return as toString, but do not accept a base argument, and include the minus sign for - * negative zero. - */ - P.valueOf = P.toJSON = function () { - var str, - n = this, - e = n.e; - - if ( e === null ) return n.toString(); - - str = coeffToString( n.c ); - - str = e <= TO_EXP_NEG || e >= TO_EXP_POS - ? toExponential( str, e ) - : toFixedPoint( str, e ); - - return n.s < 0 ? '-' + str : str; - }; - - - P.isBigNumber = true; - - if ( config != null ) BigNumber.config(config); - - return BigNumber; - } - - - // PRIVATE HELPER FUNCTIONS - - - function bitFloor(n) { - var i = n | 0; - return n > 0 || n === i ? i : i - 1; - } - - - // Return a coefficient array as a string of base 10 digits. - function coeffToString(a) { - var s, z, - i = 1, - j = a.length, - r = a[0] + ''; - - for ( ; i < j; ) { - s = a[i++] + ''; - z = LOG_BASE - s.length; - for ( ; z--; s = '0' + s ); - r += s; - } - - // Determine trailing zeros. - for ( j = r.length; r.charCodeAt(--j) === 48; ); - return r.slice( 0, j + 1 || 1 ); - } - - - // Compare the value of BigNumbers x and y. - function compare( x, y ) { - var a, b, - xc = x.c, - yc = y.c, - i = x.s, - j = y.s, - k = x.e, - l = y.e; - - // Either NaN? - if ( !i || !j ) return null; - - a = xc && !xc[0]; - b = yc && !yc[0]; - - // Either zero? - if ( a || b ) return a ? b ? 0 : -j : i; - - // Signs differ? - if ( i != j ) return i; - - a = i < 0; - b = k == l; - - // Either Infinity? - if ( !xc || !yc ) return b ? 0 : !xc ^ a ? 1 : -1; - - // Compare exponents. - if ( !b ) return k > l ^ a ? 1 : -1; - - j = ( k = xc.length ) < ( l = yc.length ) ? k : l; - - // Compare digit by digit. - for ( i = 0; i < j; i++ ) if ( xc[i] != yc[i] ) return xc[i] > yc[i] ^ a ? 1 : -1; - - // Compare lengths. - return k == l ? 0 : k > l ^ a ? 1 : -1; - } - - - /* - * Return true if n is a valid number in range, otherwise false. - * Use for argument validation when ERRORS is false. - * Note: parseInt('1e+1') == 1 but parseFloat('1e+1') == 10. - */ - function intValidatorNoErrors( n, min, max ) { - return ( n = truncate(n) ) >= min && n <= max; - } - - - function isArray(obj) { - return Object.prototype.toString.call(obj) == '[object Array]'; - } - - - /* - * Convert string of baseIn to an array of numbers of baseOut. - * Eg. convertBase('255', 10, 16) returns [15, 15]. - * Eg. convertBase('ff', 16, 10) returns [2, 5, 5]. - */ - function toBaseOut( str, baseIn, baseOut ) { - var j, - arr = [0], - arrL, - i = 0, - len = str.length; - - for ( ; i < len; ) { - for ( arrL = arr.length; arrL--; arr[arrL] *= baseIn ); - arr[ j = 0 ] += ALPHABET.indexOf( str.charAt( i++ ) ); - - for ( ; j < arr.length; j++ ) { - - if ( arr[j] > baseOut - 1 ) { - if ( arr[j + 1] == null ) arr[j + 1] = 0; - arr[j + 1] += arr[j] / baseOut | 0; - arr[j] %= baseOut; - } - } - } - - return arr.reverse(); - } - - - function toExponential( str, e ) { - return ( str.length > 1 ? str.charAt(0) + '.' + str.slice(1) : str ) + - ( e < 0 ? 'e' : 'e+' ) + e; - } - - - function toFixedPoint( str, e ) { - var len, z; - - // Negative exponent? - if ( e < 0 ) { - - // Prepend zeros. - for ( z = '0.'; ++e; z += '0' ); - str = z + str; - - // Positive exponent - } else { - len = str.length; - - // Append zeros. - if ( ++e > len ) { - for ( z = '0', e -= len; --e; z += '0' ); - str += z; - } else if ( e < len ) { - str = str.slice( 0, e ) + '.' + str.slice(e); - } - } - - return str; - } - - - function truncate(n) { - n = parseFloat(n); - return n < 0 ? mathceil(n) : mathfloor(n); - } - - - // EXPORT - - - BigNumber = constructorFactory(); - BigNumber['default'] = BigNumber.BigNumber = BigNumber; - - - // AMD. - if ( typeof define == 'function' && define.amd ) { - define( function () { return BigNumber; } ); - - // Node.js and other environments that support module.exports. - } else if ( typeof module != 'undefined' && module.exports ) { - module.exports = BigNumber; - - // Browser. - } else { - if ( !globalObj ) globalObj = typeof self != 'undefined' ? self : Function('return this')(); - globalObj.BigNumber = BigNumber; - } -})(this); +/*! bignumber.js v4.1.0 https://github.com/MikeMcl/bignumber.js/LICENCE */ + +;(function (globalObj) { + 'use strict'; + + /* + bignumber.js v4.1.0 + A JavaScript library for arbitrary-precision arithmetic. + https://github.com/MikeMcl/bignumber.js + Copyright (c) 2017 Michael Mclaughlin + MIT Expat Licence + */ + + + var BigNumber, + isNumeric = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, + mathceil = Math.ceil, + mathfloor = Math.floor, + notBool = ' not a boolean or binary digit', + roundingMode = 'rounding mode', + tooManyDigits = 'number type has more than 15 significant digits', + ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_', + BASE = 1e14, + LOG_BASE = 14, + MAX_SAFE_INTEGER = 0x1fffffffffffff, // 2^53 - 1 + // MAX_INT32 = 0x7fffffff, // 2^31 - 1 + POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], + SQRT_BASE = 1e7, + + /* + * The limit on the value of DECIMAL_PLACES, TO_EXP_NEG, TO_EXP_POS, MIN_EXP, MAX_EXP, and + * the arguments to toExponential, toFixed, toFormat, and toPrecision, beyond which an + * exception is thrown (if ERRORS is true). + */ + MAX = 1E9; // 0 to MAX_INT32 + + + /* + * Create and return a BigNumber constructor. + */ + function constructorFactory(config) { + var div, parseNumeric, + + // id tracks the caller function, so its name can be included in error messages. + id = 0, + P = BigNumber.prototype, + ONE = new BigNumber(1), + + + /********************************* EDITABLE DEFAULTS **********************************/ + + + /* + * The default values below must be integers within the inclusive ranges stated. + * The values can also be changed at run-time using BigNumber.config. + */ + + // The maximum number of decimal places for operations involving division. + DECIMAL_PLACES = 20, // 0 to MAX + + /* + * The rounding mode used when rounding to the above decimal places, and when using + * toExponential, toFixed, toFormat and toPrecision, and round (default value). + * UP 0 Away from zero. + * DOWN 1 Towards zero. + * CEIL 2 Towards +Infinity. + * FLOOR 3 Towards -Infinity. + * HALF_UP 4 Towards nearest neighbour. If equidistant, up. + * HALF_DOWN 5 Towards nearest neighbour. If equidistant, down. + * HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour. + * HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity. + * HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity. + */ + ROUNDING_MODE = 4, // 0 to 8 + + // EXPONENTIAL_AT : [TO_EXP_NEG , TO_EXP_POS] + + // The exponent value at and beneath which toString returns exponential notation. + // Number type: -7 + TO_EXP_NEG = -7, // 0 to -MAX + + // The exponent value at and above which toString returns exponential notation. + // Number type: 21 + TO_EXP_POS = 21, // 0 to MAX + + // RANGE : [MIN_EXP, MAX_EXP] + + // The minimum exponent value, beneath which underflow to zero occurs. + // Number type: -324 (5e-324) + MIN_EXP = -1e7, // -1 to -MAX + + // The maximum exponent value, above which overflow to Infinity occurs. + // Number type: 308 (1.7976931348623157e+308) + // For MAX_EXP > 1e7, e.g. new BigNumber('1e100000000').plus(1) may be slow. + MAX_EXP = 1e7, // 1 to MAX + + // Whether BigNumber Errors are ever thrown. + ERRORS = true, // true or false + + // Change to intValidatorNoErrors if ERRORS is false. + isValidInt = intValidatorWithErrors, // intValidatorWithErrors/intValidatorNoErrors + + // Whether to use cryptographically-secure random number generation, if available. + CRYPTO = false, // true or false + + /* + * The modulo mode used when calculating the modulus: a mod n. + * The quotient (q = a / n) is calculated according to the corresponding rounding mode. + * The remainder (r) is calculated as: r = a - n * q. + * + * UP 0 The remainder is positive if the dividend is negative, else is negative. + * DOWN 1 The remainder has the same sign as the dividend. + * This modulo mode is commonly known as 'truncated division' and is + * equivalent to (a % n) in JavaScript. + * FLOOR 3 The remainder has the same sign as the divisor (Python %). + * HALF_EVEN 6 This modulo mode implements the IEEE 754 remainder function. + * EUCLID 9 Euclidian division. q = sign(n) * floor(a / abs(n)). + * The remainder is always positive. + * + * The truncated division, floored division, Euclidian division and IEEE 754 remainder + * modes are commonly used for the modulus operation. + * Although the other rounding modes can also be used, they may not give useful results. + */ + MODULO_MODE = 1, // 0 to 9 + + // The maximum number of significant digits of the result of the toPower operation. + // If POW_PRECISION is 0, there will be unlimited significant digits. + POW_PRECISION = 0, // 0 to MAX + + // The format specification used by the BigNumber.prototype.toFormat method. + FORMAT = { + decimalSeparator: '.', + groupSeparator: ',', + groupSize: 3, + secondaryGroupSize: 0, + fractionGroupSeparator: '\xA0', // non-breaking space + fractionGroupSize: 0 + }; + + + /******************************************************************************************/ + + + // CONSTRUCTOR + + + /* + * The BigNumber constructor and exported function. + * Create and return a new instance of a BigNumber object. + * + * n {number|string|BigNumber} A numeric value. + * [b] {number} The base of n. Integer, 2 to 64 inclusive. + */ + function BigNumber( n, b ) { + var c, e, i, num, len, str, + x = this; + + // Enable constructor usage without new. + if ( !( x instanceof BigNumber ) ) { + + // 'BigNumber() constructor call without new: {n}' + if (ERRORS) raise( 26, 'constructor call without new', n ); + return new BigNumber( n, b ); + } + + // 'new BigNumber() base not an integer: {b}' + // 'new BigNumber() base out of range: {b}' + if ( b == null || !isValidInt( b, 2, 64, id, 'base' ) ) { + + // Duplicate. + if ( n instanceof BigNumber ) { + x.s = n.s; + x.e = n.e; + x.c = ( n = n.c ) ? n.slice() : n; + id = 0; + return; + } + + if ( ( num = typeof n == 'number' ) && n * 0 == 0 ) { + x.s = 1 / n < 0 ? ( n = -n, -1 ) : 1; + + // Fast path for integers. + if ( n === ~~n ) { + for ( e = 0, i = n; i >= 10; i /= 10, e++ ); + x.e = e; + x.c = [n]; + id = 0; + return; + } + + str = n + ''; + } else { + if ( !isNumeric.test( str = n + '' ) ) return parseNumeric( x, str, num ); + x.s = str.charCodeAt(0) === 45 ? ( str = str.slice(1), -1 ) : 1; + } + } else { + b = b | 0; + str = n + ''; + + // Ensure return value is rounded to DECIMAL_PLACES as with other bases. + // Allow exponential notation to be used with base 10 argument. + if ( b == 10 ) { + x = new BigNumber( n instanceof BigNumber ? n : str ); + return round( x, DECIMAL_PLACES + x.e + 1, ROUNDING_MODE ); + } + + // Avoid potential interpretation of Infinity and NaN as base 44+ values. + // Any number in exponential form will fail due to the [Ee][+-]. + if ( ( num = typeof n == 'number' ) && n * 0 != 0 || + !( new RegExp( '^-?' + ( c = '[' + ALPHABET.slice( 0, b ) + ']+' ) + + '(?:\\.' + c + ')?$',b < 37 ? 'i' : '' ) ).test(str) ) { + return parseNumeric( x, str, num, b ); + } + + if (num) { + x.s = 1 / n < 0 ? ( str = str.slice(1), -1 ) : 1; + + if ( ERRORS && str.replace( /^0\.0*|\./, '' ).length > 15 ) { + + // 'new BigNumber() number type has more than 15 significant digits: {n}' + raise( id, tooManyDigits, n ); + } + + // Prevent later check for length on converted number. + num = false; + } else { + x.s = str.charCodeAt(0) === 45 ? ( str = str.slice(1), -1 ) : 1; + } + + str = convertBase( str, 10, b, x.s ); + } + + // Decimal point? + if ( ( e = str.indexOf('.') ) > -1 ) str = str.replace( '.', '' ); + + // Exponential form? + if ( ( i = str.search( /e/i ) ) > 0 ) { + + // Determine exponent. + if ( e < 0 ) e = i; + e += +str.slice( i + 1 ); + str = str.substring( 0, i ); + } else if ( e < 0 ) { + + // Integer. + e = str.length; + } + + // Determine leading zeros. + for ( i = 0; str.charCodeAt(i) === 48; i++ ); + + // Determine trailing zeros. + for ( len = str.length; str.charCodeAt(--len) === 48; ); + str = str.slice( i, len + 1 ); + + if (str) { + len = str.length; + + // Disallow numbers with over 15 significant digits if number type. + // 'new BigNumber() number type has more than 15 significant digits: {n}' + if ( num && ERRORS && len > 15 && ( n > MAX_SAFE_INTEGER || n !== mathfloor(n) ) ) { + raise( id, tooManyDigits, x.s * n ); + } + + e = e - i - 1; + + // Overflow? + if ( e > MAX_EXP ) { + + // Infinity. + x.c = x.e = null; + + // Underflow? + } else if ( e < MIN_EXP ) { + + // Zero. + x.c = [ x.e = 0 ]; + } else { + x.e = e; + x.c = []; + + // Transform base + + // e is the base 10 exponent. + // i is where to slice str to get the first element of the coefficient array. + i = ( e + 1 ) % LOG_BASE; + if ( e < 0 ) i += LOG_BASE; + + if ( i < len ) { + if (i) x.c.push( +str.slice( 0, i ) ); + + for ( len -= LOG_BASE; i < len; ) { + x.c.push( +str.slice( i, i += LOG_BASE ) ); + } + + str = str.slice(i); + i = LOG_BASE - str.length; + } else { + i -= len; + } + + for ( ; i--; str += '0' ); + x.c.push( +str ); + } + } else { + + // Zero. + x.c = [ x.e = 0 ]; + } + + id = 0; + } + + + // CONSTRUCTOR PROPERTIES + + + BigNumber.another = constructorFactory; + + BigNumber.ROUND_UP = 0; + BigNumber.ROUND_DOWN = 1; + BigNumber.ROUND_CEIL = 2; + BigNumber.ROUND_FLOOR = 3; + BigNumber.ROUND_HALF_UP = 4; + BigNumber.ROUND_HALF_DOWN = 5; + BigNumber.ROUND_HALF_EVEN = 6; + BigNumber.ROUND_HALF_CEIL = 7; + BigNumber.ROUND_HALF_FLOOR = 8; + BigNumber.EUCLID = 9; + + + /* + * Configure infrequently-changing library-wide settings. + * + * Accept an object or an argument list, with one or many of the following properties or + * parameters respectively: + * + * DECIMAL_PLACES {number} Integer, 0 to MAX inclusive + * ROUNDING_MODE {number} Integer, 0 to 8 inclusive + * EXPONENTIAL_AT {number|number[]} Integer, -MAX to MAX inclusive or + * [integer -MAX to 0 incl., 0 to MAX incl.] + * RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or + * [integer -MAX to -1 incl., integer 1 to MAX incl.] + * ERRORS {boolean|number} true, false, 1 or 0 + * CRYPTO {boolean|number} true, false, 1 or 0 + * MODULO_MODE {number} 0 to 9 inclusive + * POW_PRECISION {number} 0 to MAX inclusive + * FORMAT {object} See BigNumber.prototype.toFormat + * decimalSeparator {string} + * groupSeparator {string} + * groupSize {number} + * secondaryGroupSize {number} + * fractionGroupSeparator {string} + * fractionGroupSize {number} + * + * (The values assigned to the above FORMAT object properties are not checked for validity.) + * + * E.g. + * BigNumber.config(20, 4) is equivalent to + * BigNumber.config({ DECIMAL_PLACES : 20, ROUNDING_MODE : 4 }) + * + * Ignore properties/parameters set to null or undefined. + * Return an object with the properties current values. + */ + BigNumber.config = BigNumber.set = function () { + var v, p, + i = 0, + r = {}, + a = arguments, + o = a[0], + has = o && typeof o == 'object' + ? function () { if ( o.hasOwnProperty(p) ) return ( v = o[p] ) != null; } + : function () { if ( a.length > i ) return ( v = a[i++] ) != null; }; + + // DECIMAL_PLACES {number} Integer, 0 to MAX inclusive. + // 'config() DECIMAL_PLACES not an integer: {v}' + // 'config() DECIMAL_PLACES out of range: {v}' + if ( has( p = 'DECIMAL_PLACES' ) && isValidInt( v, 0, MAX, 2, p ) ) { + DECIMAL_PLACES = v | 0; + } + r[p] = DECIMAL_PLACES; + + // ROUNDING_MODE {number} Integer, 0 to 8 inclusive. + // 'config() ROUNDING_MODE not an integer: {v}' + // 'config() ROUNDING_MODE out of range: {v}' + if ( has( p = 'ROUNDING_MODE' ) && isValidInt( v, 0, 8, 2, p ) ) { + ROUNDING_MODE = v | 0; + } + r[p] = ROUNDING_MODE; + + // EXPONENTIAL_AT {number|number[]} + // Integer, -MAX to MAX inclusive or [integer -MAX to 0 inclusive, 0 to MAX inclusive]. + // 'config() EXPONENTIAL_AT not an integer: {v}' + // 'config() EXPONENTIAL_AT out of range: {v}' + if ( has( p = 'EXPONENTIAL_AT' ) ) { + + if ( isArray(v) ) { + if ( isValidInt( v[0], -MAX, 0, 2, p ) && isValidInt( v[1], 0, MAX, 2, p ) ) { + TO_EXP_NEG = v[0] | 0; + TO_EXP_POS = v[1] | 0; + } + } else if ( isValidInt( v, -MAX, MAX, 2, p ) ) { + TO_EXP_NEG = -( TO_EXP_POS = ( v < 0 ? -v : v ) | 0 ); + } + } + r[p] = [ TO_EXP_NEG, TO_EXP_POS ]; + + // RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or + // [integer -MAX to -1 inclusive, integer 1 to MAX inclusive]. + // 'config() RANGE not an integer: {v}' + // 'config() RANGE cannot be zero: {v}' + // 'config() RANGE out of range: {v}' + if ( has( p = 'RANGE' ) ) { + + if ( isArray(v) ) { + if ( isValidInt( v[0], -MAX, -1, 2, p ) && isValidInt( v[1], 1, MAX, 2, p ) ) { + MIN_EXP = v[0] | 0; + MAX_EXP = v[1] | 0; + } + } else if ( isValidInt( v, -MAX, MAX, 2, p ) ) { + if ( v | 0 ) MIN_EXP = -( MAX_EXP = ( v < 0 ? -v : v ) | 0 ); + else if (ERRORS) raise( 2, p + ' cannot be zero', v ); + } + } + r[p] = [ MIN_EXP, MAX_EXP ]; + + // ERRORS {boolean|number} true, false, 1 or 0. + // 'config() ERRORS not a boolean or binary digit: {v}' + if ( has( p = 'ERRORS' ) ) { + + if ( v === !!v || v === 1 || v === 0 ) { + id = 0; + isValidInt = ( ERRORS = !!v ) ? intValidatorWithErrors : intValidatorNoErrors; + } else if (ERRORS) { + raise( 2, p + notBool, v ); + } + } + r[p] = ERRORS; + + // CRYPTO {boolean|number} true, false, 1 or 0. + // 'config() CRYPTO not a boolean or binary digit: {v}' + // 'config() crypto unavailable: {crypto}' + if ( has( p = 'CRYPTO' ) ) { + + if ( v === true || v === false || v === 1 || v === 0 ) { + if (v) { + v = typeof crypto == 'undefined'; + if ( !v && crypto && (crypto.getRandomValues || crypto.randomBytes)) { + CRYPTO = true; + } else if (ERRORS) { + raise( 2, 'crypto unavailable', v ? void 0 : crypto ); + } else { + CRYPTO = false; + } + } else { + CRYPTO = false; + } + } else if (ERRORS) { + raise( 2, p + notBool, v ); + } + } + r[p] = CRYPTO; + + // MODULO_MODE {number} Integer, 0 to 9 inclusive. + // 'config() MODULO_MODE not an integer: {v}' + // 'config() MODULO_MODE out of range: {v}' + if ( has( p = 'MODULO_MODE' ) && isValidInt( v, 0, 9, 2, p ) ) { + MODULO_MODE = v | 0; + } + r[p] = MODULO_MODE; + + // POW_PRECISION {number} Integer, 0 to MAX inclusive. + // 'config() POW_PRECISION not an integer: {v}' + // 'config() POW_PRECISION out of range: {v}' + if ( has( p = 'POW_PRECISION' ) && isValidInt( v, 0, MAX, 2, p ) ) { + POW_PRECISION = v | 0; + } + r[p] = POW_PRECISION; + + // FORMAT {object} + // 'config() FORMAT not an object: {v}' + if ( has( p = 'FORMAT' ) ) { + + if ( typeof v == 'object' ) { + FORMAT = v; + } else if (ERRORS) { + raise( 2, p + ' not an object', v ); + } + } + r[p] = FORMAT; + + return r; + }; + + + /* + * Return a new BigNumber whose value is the maximum of the arguments. + * + * arguments {number|string|BigNumber} + */ + BigNumber.max = function () { return maxOrMin( arguments, P.lt ); }; + + + /* + * Return a new BigNumber whose value is the minimum of the arguments. + * + * arguments {number|string|BigNumber} + */ + BigNumber.min = function () { return maxOrMin( arguments, P.gt ); }; + + + /* + * Return a new BigNumber with a random value equal to or greater than 0 and less than 1, + * and with dp, or DECIMAL_PLACES if dp is omitted, decimal places (or less if trailing + * zeros are produced). + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * + * 'random() decimal places not an integer: {dp}' + * 'random() decimal places out of range: {dp}' + * 'random() crypto unavailable: {crypto}' + */ + BigNumber.random = (function () { + var pow2_53 = 0x20000000000000; + + // Return a 53 bit integer n, where 0 <= n < 9007199254740992. + // Check if Math.random() produces more than 32 bits of randomness. + // If it does, assume at least 53 bits are produced, otherwise assume at least 30 bits. + // 0x40000000 is 2^30, 0x800000 is 2^23, 0x1fffff is 2^21 - 1. + var random53bitInt = (Math.random() * pow2_53) & 0x1fffff + ? function () { return mathfloor( Math.random() * pow2_53 ); } + : function () { return ((Math.random() * 0x40000000 | 0) * 0x800000) + + (Math.random() * 0x800000 | 0); }; + + return function (dp) { + var a, b, e, k, v, + i = 0, + c = [], + rand = new BigNumber(ONE); + + dp = dp == null || !isValidInt( dp, 0, MAX, 14 ) ? DECIMAL_PLACES : dp | 0; + k = mathceil( dp / LOG_BASE ); + + if (CRYPTO) { + + // Browsers supporting crypto.getRandomValues. + if (crypto.getRandomValues) { + + a = crypto.getRandomValues( new Uint32Array( k *= 2 ) ); + + for ( ; i < k; ) { + + // 53 bits: + // ((Math.pow(2, 32) - 1) * Math.pow(2, 21)).toString(2) + // 11111 11111111 11111111 11111111 11100000 00000000 00000000 + // ((Math.pow(2, 32) - 1) >>> 11).toString(2) + // 11111 11111111 11111111 + // 0x20000 is 2^21. + v = a[i] * 0x20000 + (a[i + 1] >>> 11); + + // Rejection sampling: + // 0 <= v < 9007199254740992 + // Probability that v >= 9e15, is + // 7199254740992 / 9007199254740992 ~= 0.0008, i.e. 1 in 1251 + if ( v >= 9e15 ) { + b = crypto.getRandomValues( new Uint32Array(2) ); + a[i] = b[0]; + a[i + 1] = b[1]; + } else { + + // 0 <= v <= 8999999999999999 + // 0 <= (v % 1e14) <= 99999999999999 + c.push( v % 1e14 ); + i += 2; + } + } + i = k / 2; + + // Node.js supporting crypto.randomBytes. + } else if (crypto.randomBytes) { + + // buffer + a = crypto.randomBytes( k *= 7 ); + + for ( ; i < k; ) { + + // 0x1000000000000 is 2^48, 0x10000000000 is 2^40 + // 0x100000000 is 2^32, 0x1000000 is 2^24 + // 11111 11111111 11111111 11111111 11111111 11111111 11111111 + // 0 <= v < 9007199254740992 + v = ( ( a[i] & 31 ) * 0x1000000000000 ) + ( a[i + 1] * 0x10000000000 ) + + ( a[i + 2] * 0x100000000 ) + ( a[i + 3] * 0x1000000 ) + + ( a[i + 4] << 16 ) + ( a[i + 5] << 8 ) + a[i + 6]; + + if ( v >= 9e15 ) { + crypto.randomBytes(7).copy( a, i ); + } else { + + // 0 <= (v % 1e14) <= 99999999999999 + c.push( v % 1e14 ); + i += 7; + } + } + i = k / 7; + } else { + CRYPTO = false; + if (ERRORS) raise( 14, 'crypto unavailable', crypto ); + } + } + + // Use Math.random. + if (!CRYPTO) { + + for ( ; i < k; ) { + v = random53bitInt(); + if ( v < 9e15 ) c[i++] = v % 1e14; + } + } + + k = c[--i]; + dp %= LOG_BASE; + + // Convert trailing digits to zeros according to dp. + if ( k && dp ) { + v = POWS_TEN[LOG_BASE - dp]; + c[i] = mathfloor( k / v ) * v; + } + + // Remove trailing elements which are zero. + for ( ; c[i] === 0; c.pop(), i-- ); + + // Zero? + if ( i < 0 ) { + c = [ e = 0 ]; + } else { + + // Remove leading elements which are zero and adjust exponent accordingly. + for ( e = -1 ; c[0] === 0; c.splice(0, 1), e -= LOG_BASE); + + // Count the digits of the first element of c to determine leading zeros, and... + for ( i = 1, v = c[0]; v >= 10; v /= 10, i++); + + // adjust the exponent accordingly. + if ( i < LOG_BASE ) e -= LOG_BASE - i; + } + + rand.e = e; + rand.c = c; + return rand; + }; + })(); + + + // PRIVATE FUNCTIONS + + + // Convert a numeric string of baseIn to a numeric string of baseOut. + function convertBase( str, baseOut, baseIn, sign ) { + var d, e, k, r, x, xc, y, + i = str.indexOf( '.' ), + dp = DECIMAL_PLACES, + rm = ROUNDING_MODE; + + if ( baseIn < 37 ) str = str.toLowerCase(); + + // Non-integer. + if ( i >= 0 ) { + k = POW_PRECISION; + + // Unlimited precision. + POW_PRECISION = 0; + str = str.replace( '.', '' ); + y = new BigNumber(baseIn); + x = y.pow( str.length - i ); + POW_PRECISION = k; + + // Convert str as if an integer, then restore the fraction part by dividing the + // result by its base raised to a power. + y.c = toBaseOut( toFixedPoint( coeffToString( x.c ), x.e ), 10, baseOut ); + y.e = y.c.length; + } + + // Convert the number as integer. + xc = toBaseOut( str, baseIn, baseOut ); + e = k = xc.length; + + // Remove trailing zeros. + for ( ; xc[--k] == 0; xc.pop() ); + if ( !xc[0] ) return '0'; + + if ( i < 0 ) { + --e; + } else { + x.c = xc; + x.e = e; + + // sign is needed for correct rounding. + x.s = sign; + x = div( x, y, dp, rm, baseOut ); + xc = x.c; + r = x.r; + e = x.e; + } + + d = e + dp + 1; + + // The rounding digit, i.e. the digit to the right of the digit that may be rounded up. + i = xc[d]; + k = baseOut / 2; + r = r || d < 0 || xc[d + 1] != null; + + r = rm < 4 ? ( i != null || r ) && ( rm == 0 || rm == ( x.s < 0 ? 3 : 2 ) ) + : i > k || i == k &&( rm == 4 || r || rm == 6 && xc[d - 1] & 1 || + rm == ( x.s < 0 ? 8 : 7 ) ); + + if ( d < 1 || !xc[0] ) { + + // 1^-dp or 0. + str = r ? toFixedPoint( '1', -dp ) : '0'; + } else { + xc.length = d; + + if (r) { + + // Rounding up may mean the previous digit has to be rounded up and so on. + for ( --baseOut; ++xc[--d] > baseOut; ) { + xc[d] = 0; + + if ( !d ) { + ++e; + xc = [1].concat(xc); + } + } + } + + // Determine trailing zeros. + for ( k = xc.length; !xc[--k]; ); + + // E.g. [4, 11, 15] becomes 4bf. + for ( i = 0, str = ''; i <= k; str += ALPHABET.charAt( xc[i++] ) ); + str = toFixedPoint( str, e ); + } + + // The caller will add the sign. + return str; + } + + + // Perform division in the specified base. Called by div and convertBase. + div = (function () { + + // Assume non-zero x and k. + function multiply( x, k, base ) { + var m, temp, xlo, xhi, + carry = 0, + i = x.length, + klo = k % SQRT_BASE, + khi = k / SQRT_BASE | 0; + + for ( x = x.slice(); i--; ) { + xlo = x[i] % SQRT_BASE; + xhi = x[i] / SQRT_BASE | 0; + m = khi * xlo + xhi * klo; + temp = klo * xlo + ( ( m % SQRT_BASE ) * SQRT_BASE ) + carry; + carry = ( temp / base | 0 ) + ( m / SQRT_BASE | 0 ) + khi * xhi; + x[i] = temp % base; + } + + if (carry) x = [carry].concat(x); + + return x; + } + + function compare( a, b, aL, bL ) { + var i, cmp; + + if ( aL != bL ) { + cmp = aL > bL ? 1 : -1; + } else { + + for ( i = cmp = 0; i < aL; i++ ) { + + if ( a[i] != b[i] ) { + cmp = a[i] > b[i] ? 1 : -1; + break; + } + } + } + return cmp; + } + + function subtract( a, b, aL, base ) { + var i = 0; + + // Subtract b from a. + for ( ; aL--; ) { + a[aL] -= i; + i = a[aL] < b[aL] ? 1 : 0; + a[aL] = i * base + a[aL] - b[aL]; + } + + // Remove leading zeros. + for ( ; !a[0] && a.length > 1; a.splice(0, 1) ); + } + + // x: dividend, y: divisor. + return function ( x, y, dp, rm, base ) { + var cmp, e, i, more, n, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0, + yL, yz, + s = x.s == y.s ? 1 : -1, + xc = x.c, + yc = y.c; + + // Either NaN, Infinity or 0? + if ( !xc || !xc[0] || !yc || !yc[0] ) { + + return new BigNumber( + + // Return NaN if either NaN, or both Infinity or 0. + !x.s || !y.s || ( xc ? yc && xc[0] == yc[0] : !yc ) ? NaN : + + // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0. + xc && xc[0] == 0 || !yc ? s * 0 : s / 0 + ); + } + + q = new BigNumber(s); + qc = q.c = []; + e = x.e - y.e; + s = dp + e + 1; + + if ( !base ) { + base = BASE; + e = bitFloor( x.e / LOG_BASE ) - bitFloor( y.e / LOG_BASE ); + s = s / LOG_BASE | 0; + } + + // Result exponent may be one less then the current value of e. + // The coefficients of the BigNumbers from convertBase may have trailing zeros. + for ( i = 0; yc[i] == ( xc[i] || 0 ); i++ ); + if ( yc[i] > ( xc[i] || 0 ) ) e--; + + if ( s < 0 ) { + qc.push(1); + more = true; + } else { + xL = xc.length; + yL = yc.length; + i = 0; + s += 2; + + // Normalise xc and yc so highest order digit of yc is >= base / 2. + + n = mathfloor( base / ( yc[0] + 1 ) ); + + // Not necessary, but to handle odd bases where yc[0] == ( base / 2 ) - 1. + // if ( n > 1 || n++ == 1 && yc[0] < base / 2 ) { + if ( n > 1 ) { + yc = multiply( yc, n, base ); + xc = multiply( xc, n, base ); + yL = yc.length; + xL = xc.length; + } + + xi = yL; + rem = xc.slice( 0, yL ); + remL = rem.length; + + // Add zeros to make remainder as long as divisor. + for ( ; remL < yL; rem[remL++] = 0 ); + yz = yc.slice(); + yz = [0].concat(yz); + yc0 = yc[0]; + if ( yc[1] >= base / 2 ) yc0++; + // Not necessary, but to prevent trial digit n > base, when using base 3. + // else if ( base == 3 && yc0 == 1 ) yc0 = 1 + 1e-15; + + do { + n = 0; + + // Compare divisor and remainder. + cmp = compare( yc, rem, yL, remL ); + + // If divisor < remainder. + if ( cmp < 0 ) { + + // Calculate trial digit, n. + + rem0 = rem[0]; + if ( yL != remL ) rem0 = rem0 * base + ( rem[1] || 0 ); + + // n is how many times the divisor goes into the current remainder. + n = mathfloor( rem0 / yc0 ); + + // Algorithm: + // 1. product = divisor * trial digit (n) + // 2. if product > remainder: product -= divisor, n-- + // 3. remainder -= product + // 4. if product was < remainder at 2: + // 5. compare new remainder and divisor + // 6. If remainder > divisor: remainder -= divisor, n++ + + if ( n > 1 ) { + + // n may be > base only when base is 3. + if (n >= base) n = base - 1; + + // product = divisor * trial digit. + prod = multiply( yc, n, base ); + prodL = prod.length; + remL = rem.length; + + // Compare product and remainder. + // If product > remainder. + // Trial digit n too high. + // n is 1 too high about 5% of the time, and is not known to have + // ever been more than 1 too high. + while ( compare( prod, rem, prodL, remL ) == 1 ) { + n--; + + // Subtract divisor from product. + subtract( prod, yL < prodL ? yz : yc, prodL, base ); + prodL = prod.length; + cmp = 1; + } + } else { + + // n is 0 or 1, cmp is -1. + // If n is 0, there is no need to compare yc and rem again below, + // so change cmp to 1 to avoid it. + // If n is 1, leave cmp as -1, so yc and rem are compared again. + if ( n == 0 ) { + + // divisor < remainder, so n must be at least 1. + cmp = n = 1; + } + + // product = divisor + prod = yc.slice(); + prodL = prod.length; + } + + if ( prodL < remL ) prod = [0].concat(prod); + + // Subtract product from remainder. + subtract( rem, prod, remL, base ); + remL = rem.length; + + // If product was < remainder. + if ( cmp == -1 ) { + + // Compare divisor and new remainder. + // If divisor < new remainder, subtract divisor from remainder. + // Trial digit n too low. + // n is 1 too low about 5% of the time, and very rarely 2 too low. + while ( compare( yc, rem, yL, remL ) < 1 ) { + n++; + + // Subtract divisor from remainder. + subtract( rem, yL < remL ? yz : yc, remL, base ); + remL = rem.length; + } + } + } else if ( cmp === 0 ) { + n++; + rem = [0]; + } // else cmp === 1 and n will be 0 + + // Add the next digit, n, to the result array. + qc[i++] = n; + + // Update the remainder. + if ( rem[0] ) { + rem[remL++] = xc[xi] || 0; + } else { + rem = [ xc[xi] ]; + remL = 1; + } + } while ( ( xi++ < xL || rem[0] != null ) && s-- ); + + more = rem[0] != null; + + // Leading zero? + if ( !qc[0] ) qc.splice(0, 1); + } + + if ( base == BASE ) { + + // To calculate q.e, first get the number of digits of qc[0]. + for ( i = 1, s = qc[0]; s >= 10; s /= 10, i++ ); + round( q, dp + ( q.e = i + e * LOG_BASE - 1 ) + 1, rm, more ); + + // Caller is convertBase. + } else { + q.e = e; + q.r = +more; + } + + return q; + }; + })(); + + + /* + * Return a string representing the value of BigNumber n in fixed-point or exponential + * notation rounded to the specified decimal places or significant digits. + * + * n is a BigNumber. + * i is the index of the last digit required (i.e. the digit that may be rounded up). + * rm is the rounding mode. + * caller is caller id: toExponential 19, toFixed 20, toFormat 21, toPrecision 24. + */ + function format( n, i, rm, caller ) { + var c0, e, ne, len, str; + + rm = rm != null && isValidInt( rm, 0, 8, caller, roundingMode ) + ? rm | 0 : ROUNDING_MODE; + + if ( !n.c ) return n.toString(); + c0 = n.c[0]; + ne = n.e; + + if ( i == null ) { + str = coeffToString( n.c ); + str = caller == 19 || caller == 24 && ne <= TO_EXP_NEG + ? toExponential( str, ne ) + : toFixedPoint( str, ne ); + } else { + n = round( new BigNumber(n), i, rm ); + + // n.e may have changed if the value was rounded up. + e = n.e; + + str = coeffToString( n.c ); + len = str.length; + + // toPrecision returns exponential notation if the number of significant digits + // specified is less than the number of digits necessary to represent the integer + // part of the value in fixed-point notation. + + // Exponential notation. + if ( caller == 19 || caller == 24 && ( i <= e || e <= TO_EXP_NEG ) ) { + + // Append zeros? + for ( ; len < i; str += '0', len++ ); + str = toExponential( str, e ); + + // Fixed-point notation. + } else { + i -= ne; + str = toFixedPoint( str, e ); + + // Append zeros? + if ( e + 1 > len ) { + if ( --i > 0 ) for ( str += '.'; i--; str += '0' ); + } else { + i += e - len; + if ( i > 0 ) { + if ( e + 1 == len ) str += '.'; + for ( ; i--; str += '0' ); + } + } + } + } + + return n.s < 0 && c0 ? '-' + str : str; + } + + + // Handle BigNumber.max and BigNumber.min. + function maxOrMin( args, method ) { + var m, n, + i = 0; + + if ( isArray( args[0] ) ) args = args[0]; + m = new BigNumber( args[0] ); + + for ( ; ++i < args.length; ) { + n = new BigNumber( args[i] ); + + // If any number is NaN, return NaN. + if ( !n.s ) { + m = n; + break; + } else if ( method.call( m, n ) ) { + m = n; + } + } + + return m; + } + + + /* + * Return true if n is an integer in range, otherwise throw. + * Use for argument validation when ERRORS is true. + */ + function intValidatorWithErrors( n, min, max, caller, name ) { + if ( n < min || n > max || n != truncate(n) ) { + raise( caller, ( name || 'decimal places' ) + + ( n < min || n > max ? ' out of range' : ' not an integer' ), n ); + } + + return true; + } + + + /* + * Strip trailing zeros, calculate base 10 exponent and check against MIN_EXP and MAX_EXP. + * Called by minus, plus and times. + */ + function normalise( n, c, e ) { + var i = 1, + j = c.length; + + // Remove trailing zeros. + for ( ; !c[--j]; c.pop() ); + + // Calculate the base 10 exponent. First get the number of digits of c[0]. + for ( j = c[0]; j >= 10; j /= 10, i++ ); + + // Overflow? + if ( ( e = i + e * LOG_BASE - 1 ) > MAX_EXP ) { + + // Infinity. + n.c = n.e = null; + + // Underflow? + } else if ( e < MIN_EXP ) { + + // Zero. + n.c = [ n.e = 0 ]; + } else { + n.e = e; + n.c = c; + } + + return n; + } + + + // Handle values that fail the validity test in BigNumber. + parseNumeric = (function () { + var basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i, + dotAfter = /^([^.]+)\.$/, + dotBefore = /^\.([^.]+)$/, + isInfinityOrNaN = /^-?(Infinity|NaN)$/, + whitespaceOrPlus = /^\s*\+(?=[\w.])|^\s+|\s+$/g; + + return function ( x, str, num, b ) { + var base, + s = num ? str : str.replace( whitespaceOrPlus, '' ); + + // No exception on ±Infinity or NaN. + if ( isInfinityOrNaN.test(s) ) { + x.s = isNaN(s) ? null : s < 0 ? -1 : 1; + } else { + if ( !num ) { + + // basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i + s = s.replace( basePrefix, function ( m, p1, p2 ) { + base = ( p2 = p2.toLowerCase() ) == 'x' ? 16 : p2 == 'b' ? 2 : 8; + return !b || b == base ? p1 : m; + }); + + if (b) { + base = b; + + // E.g. '1.' to '1', '.1' to '0.1' + s = s.replace( dotAfter, '$1' ).replace( dotBefore, '0.$1' ); + } + + if ( str != s ) return new BigNumber( s, base ); + } + + // 'new BigNumber() not a number: {n}' + // 'new BigNumber() not a base {b} number: {n}' + if (ERRORS) raise( id, 'not a' + ( b ? ' base ' + b : '' ) + ' number', str ); + x.s = null; + } + + x.c = x.e = null; + id = 0; + } + })(); + + + // Throw a BigNumber Error. + function raise( caller, msg, val ) { + var error = new Error( [ + 'new BigNumber', // 0 + 'cmp', // 1 + 'config', // 2 + 'div', // 3 + 'divToInt', // 4 + 'eq', // 5 + 'gt', // 6 + 'gte', // 7 + 'lt', // 8 + 'lte', // 9 + 'minus', // 10 + 'mod', // 11 + 'plus', // 12 + 'precision', // 13 + 'random', // 14 + 'round', // 15 + 'shift', // 16 + 'times', // 17 + 'toDigits', // 18 + 'toExponential', // 19 + 'toFixed', // 20 + 'toFormat', // 21 + 'toFraction', // 22 + 'pow', // 23 + 'toPrecision', // 24 + 'toString', // 25 + 'BigNumber' // 26 + ][caller] + '() ' + msg + ': ' + val ); + + error.name = 'BigNumber Error'; + id = 0; + throw error; + } + + + /* + * Round x to sd significant digits using rounding mode rm. Check for over/under-flow. + * If r is truthy, it is known that there are more digits after the rounding digit. + */ + function round( x, sd, rm, r ) { + var d, i, j, k, n, ni, rd, + xc = x.c, + pows10 = POWS_TEN; + + // if x is not Infinity or NaN... + if (xc) { + + // rd is the rounding digit, i.e. the digit after the digit that may be rounded up. + // n is a base 1e14 number, the value of the element of array x.c containing rd. + // ni is the index of n within x.c. + // d is the number of digits of n. + // i is the index of rd within n including leading zeros. + // j is the actual index of rd within n (if < 0, rd is a leading zero). + out: { + + // Get the number of digits of the first element of xc. + for ( d = 1, k = xc[0]; k >= 10; k /= 10, d++ ); + i = sd - d; + + // If the rounding digit is in the first element of xc... + if ( i < 0 ) { + i += LOG_BASE; + j = sd; + n = xc[ ni = 0 ]; + + // Get the rounding digit at index j of n. + rd = n / pows10[ d - j - 1 ] % 10 | 0; + } else { + ni = mathceil( ( i + 1 ) / LOG_BASE ); + + if ( ni >= xc.length ) { + + if (r) { + + // Needed by sqrt. + for ( ; xc.length <= ni; xc.push(0) ); + n = rd = 0; + d = 1; + i %= LOG_BASE; + j = i - LOG_BASE + 1; + } else { + break out; + } + } else { + n = k = xc[ni]; + + // Get the number of digits of n. + for ( d = 1; k >= 10; k /= 10, d++ ); + + // Get the index of rd within n. + i %= LOG_BASE; + + // Get the index of rd within n, adjusted for leading zeros. + // The number of leading zeros of n is given by LOG_BASE - d. + j = i - LOG_BASE + d; + + // Get the rounding digit at index j of n. + rd = j < 0 ? 0 : n / pows10[ d - j - 1 ] % 10 | 0; + } + } + + r = r || sd < 0 || + + // Are there any non-zero digits after the rounding digit? + // The expression n % pows10[ d - j - 1 ] returns all digits of n to the right + // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714. + xc[ni + 1] != null || ( j < 0 ? n : n % pows10[ d - j - 1 ] ); + + r = rm < 4 + ? ( rd || r ) && ( rm == 0 || rm == ( x.s < 0 ? 3 : 2 ) ) + : rd > 5 || rd == 5 && ( rm == 4 || r || rm == 6 && + + // Check whether the digit to the left of the rounding digit is odd. + ( ( i > 0 ? j > 0 ? n / pows10[ d - j ] : 0 : xc[ni - 1] ) % 10 ) & 1 || + rm == ( x.s < 0 ? 8 : 7 ) ); + + if ( sd < 1 || !xc[0] ) { + xc.length = 0; + + if (r) { + + // Convert sd to decimal places. + sd -= x.e + 1; + + // 1, 0.1, 0.01, 0.001, 0.0001 etc. + xc[0] = pows10[ ( LOG_BASE - sd % LOG_BASE ) % LOG_BASE ]; + x.e = -sd || 0; + } else { + + // Zero. + xc[0] = x.e = 0; + } + + return x; + } + + // Remove excess digits. + if ( i == 0 ) { + xc.length = ni; + k = 1; + ni--; + } else { + xc.length = ni + 1; + k = pows10[ LOG_BASE - i ]; + + // E.g. 56700 becomes 56000 if 7 is the rounding digit. + // j > 0 means i > number of leading zeros of n. + xc[ni] = j > 0 ? mathfloor( n / pows10[ d - j ] % pows10[j] ) * k : 0; + } + + // Round up? + if (r) { + + for ( ; ; ) { + + // If the digit to be rounded up is in the first element of xc... + if ( ni == 0 ) { + + // i will be the length of xc[0] before k is added. + for ( i = 1, j = xc[0]; j >= 10; j /= 10, i++ ); + j = xc[0] += k; + for ( k = 1; j >= 10; j /= 10, k++ ); + + // if i != k the length has increased. + if ( i != k ) { + x.e++; + if ( xc[0] == BASE ) xc[0] = 1; + } + + break; + } else { + xc[ni] += k; + if ( xc[ni] != BASE ) break; + xc[ni--] = 0; + k = 1; + } + } + } + + // Remove trailing zeros. + for ( i = xc.length; xc[--i] === 0; xc.pop() ); + } + + // Overflow? Infinity. + if ( x.e > MAX_EXP ) { + x.c = x.e = null; + + // Underflow? Zero. + } else if ( x.e < MIN_EXP ) { + x.c = [ x.e = 0 ]; + } + } + + return x; + } + + + // PROTOTYPE/INSTANCE METHODS + + + /* + * Return a new BigNumber whose value is the absolute value of this BigNumber. + */ + P.absoluteValue = P.abs = function () { + var x = new BigNumber(this); + if ( x.s < 0 ) x.s = 1; + return x; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber rounded to a whole + * number in the direction of Infinity. + */ + P.ceil = function () { + return round( new BigNumber(this), this.e + 1, 2 ); + }; + + + /* + * Return + * 1 if the value of this BigNumber is greater than the value of BigNumber(y, b), + * -1 if the value of this BigNumber is less than the value of BigNumber(y, b), + * 0 if they have the same value, + * or null if the value of either is NaN. + */ + P.comparedTo = P.cmp = function ( y, b ) { + id = 1; + return compare( this, new BigNumber( y, b ) ); + }; + + + /* + * Return the number of decimal places of the value of this BigNumber, or null if the value + * of this BigNumber is ±Infinity or NaN. + */ + P.decimalPlaces = P.dp = function () { + var n, v, + c = this.c; + + if ( !c ) return null; + n = ( ( v = c.length - 1 ) - bitFloor( this.e / LOG_BASE ) ) * LOG_BASE; + + // Subtract the number of trailing zeros of the last number. + if ( v = c[v] ) for ( ; v % 10 == 0; v /= 10, n-- ); + if ( n < 0 ) n = 0; + + return n; + }; + + + /* + * n / 0 = I + * n / N = N + * n / I = 0 + * 0 / n = 0 + * 0 / 0 = N + * 0 / N = N + * 0 / I = 0 + * N / n = N + * N / 0 = N + * N / N = N + * N / I = N + * I / n = I + * I / 0 = I + * I / N = N + * I / I = N + * + * Return a new BigNumber whose value is the value of this BigNumber divided by the value of + * BigNumber(y, b), rounded according to DECIMAL_PLACES and ROUNDING_MODE. + */ + P.dividedBy = P.div = function ( y, b ) { + id = 3; + return div( this, new BigNumber( y, b ), DECIMAL_PLACES, ROUNDING_MODE ); + }; + + + /* + * Return a new BigNumber whose value is the integer part of dividing the value of this + * BigNumber by the value of BigNumber(y, b). + */ + P.dividedToIntegerBy = P.divToInt = function ( y, b ) { + id = 4; + return div( this, new BigNumber( y, b ), 0, 1 ); + }; + + + /* + * Return true if the value of this BigNumber is equal to the value of BigNumber(y, b), + * otherwise returns false. + */ + P.equals = P.eq = function ( y, b ) { + id = 5; + return compare( this, new BigNumber( y, b ) ) === 0; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber rounded to a whole + * number in the direction of -Infinity. + */ + P.floor = function () { + return round( new BigNumber(this), this.e + 1, 3 ); + }; + + + /* + * Return true if the value of this BigNumber is greater than the value of BigNumber(y, b), + * otherwise returns false. + */ + P.greaterThan = P.gt = function ( y, b ) { + id = 6; + return compare( this, new BigNumber( y, b ) ) > 0; + }; + + + /* + * Return true if the value of this BigNumber is greater than or equal to the value of + * BigNumber(y, b), otherwise returns false. + */ + P.greaterThanOrEqualTo = P.gte = function ( y, b ) { + id = 7; + return ( b = compare( this, new BigNumber( y, b ) ) ) === 1 || b === 0; + + }; + + + /* + * Return true if the value of this BigNumber is a finite number, otherwise returns false. + */ + P.isFinite = function () { + return !!this.c; + }; + + + /* + * Return true if the value of this BigNumber is an integer, otherwise return false. + */ + P.isInteger = P.isInt = function () { + return !!this.c && bitFloor( this.e / LOG_BASE ) > this.c.length - 2; + }; + + + /* + * Return true if the value of this BigNumber is NaN, otherwise returns false. + */ + P.isNaN = function () { + return !this.s; + }; + + + /* + * Return true if the value of this BigNumber is negative, otherwise returns false. + */ + P.isNegative = P.isNeg = function () { + return this.s < 0; + }; + + + /* + * Return true if the value of this BigNumber is 0 or -0, otherwise returns false. + */ + P.isZero = function () { + return !!this.c && this.c[0] == 0; + }; + + + /* + * Return true if the value of this BigNumber is less than the value of BigNumber(y, b), + * otherwise returns false. + */ + P.lessThan = P.lt = function ( y, b ) { + id = 8; + return compare( this, new BigNumber( y, b ) ) < 0; + }; + + + /* + * Return true if the value of this BigNumber is less than or equal to the value of + * BigNumber(y, b), otherwise returns false. + */ + P.lessThanOrEqualTo = P.lte = function ( y, b ) { + id = 9; + return ( b = compare( this, new BigNumber( y, b ) ) ) === -1 || b === 0; + }; + + + /* + * n - 0 = n + * n - N = N + * n - I = -I + * 0 - n = -n + * 0 - 0 = 0 + * 0 - N = N + * 0 - I = -I + * N - n = N + * N - 0 = N + * N - N = N + * N - I = N + * I - n = I + * I - 0 = I + * I - N = N + * I - I = N + * + * Return a new BigNumber whose value is the value of this BigNumber minus the value of + * BigNumber(y, b). + */ + P.minus = P.sub = function ( y, b ) { + var i, j, t, xLTy, + x = this, + a = x.s; + + id = 10; + y = new BigNumber( y, b ); + b = y.s; + + // Either NaN? + if ( !a || !b ) return new BigNumber(NaN); + + // Signs differ? + if ( a != b ) { + y.s = -b; + return x.plus(y); + } + + var xe = x.e / LOG_BASE, + ye = y.e / LOG_BASE, + xc = x.c, + yc = y.c; + + if ( !xe || !ye ) { + + // Either Infinity? + if ( !xc || !yc ) return xc ? ( y.s = -b, y ) : new BigNumber( yc ? x : NaN ); + + // Either zero? + if ( !xc[0] || !yc[0] ) { + + // Return y if y is non-zero, x if x is non-zero, or zero if both are zero. + return yc[0] ? ( y.s = -b, y ) : new BigNumber( xc[0] ? x : + + // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity + ROUNDING_MODE == 3 ? -0 : 0 ); + } + } + + xe = bitFloor(xe); + ye = bitFloor(ye); + xc = xc.slice(); + + // Determine which is the bigger number. + if ( a = xe - ye ) { + + if ( xLTy = a < 0 ) { + a = -a; + t = xc; + } else { + ye = xe; + t = yc; + } + + t.reverse(); + + // Prepend zeros to equalise exponents. + for ( b = a; b--; t.push(0) ); + t.reverse(); + } else { + + // Exponents equal. Check digit by digit. + j = ( xLTy = ( a = xc.length ) < ( b = yc.length ) ) ? a : b; + + for ( a = b = 0; b < j; b++ ) { + + if ( xc[b] != yc[b] ) { + xLTy = xc[b] < yc[b]; + break; + } + } + } + + // x < y? Point xc to the array of the bigger number. + if (xLTy) t = xc, xc = yc, yc = t, y.s = -y.s; + + b = ( j = yc.length ) - ( i = xc.length ); + + // Append zeros to xc if shorter. + // No need to add zeros to yc if shorter as subtract only needs to start at yc.length. + if ( b > 0 ) for ( ; b--; xc[i++] = 0 ); + b = BASE - 1; + + // Subtract yc from xc. + for ( ; j > a; ) { + + if ( xc[--j] < yc[j] ) { + for ( i = j; i && !xc[--i]; xc[i] = b ); + --xc[i]; + xc[j] += BASE; + } + + xc[j] -= yc[j]; + } + + // Remove leading zeros and adjust exponent accordingly. + for ( ; xc[0] == 0; xc.splice(0, 1), --ye ); + + // Zero? + if ( !xc[0] ) { + + // Following IEEE 754 (2008) 6.3, + // n - n = +0 but n - n = -0 when rounding towards -Infinity. + y.s = ROUNDING_MODE == 3 ? -1 : 1; + y.c = [ y.e = 0 ]; + return y; + } + + // No need to check for Infinity as +x - +y != Infinity && -x - -y != Infinity + // for finite x and y. + return normalise( y, xc, ye ); + }; + + + /* + * n % 0 = N + * n % N = N + * n % I = n + * 0 % n = 0 + * -0 % n = -0 + * 0 % 0 = N + * 0 % N = N + * 0 % I = 0 + * N % n = N + * N % 0 = N + * N % N = N + * N % I = N + * I % n = N + * I % 0 = N + * I % N = N + * I % I = N + * + * Return a new BigNumber whose value is the value of this BigNumber modulo the value of + * BigNumber(y, b). The result depends on the value of MODULO_MODE. + */ + P.modulo = P.mod = function ( y, b ) { + var q, s, + x = this; + + id = 11; + y = new BigNumber( y, b ); + + // Return NaN if x is Infinity or NaN, or y is NaN or zero. + if ( !x.c || !y.s || y.c && !y.c[0] ) { + return new BigNumber(NaN); + + // Return x if y is Infinity or x is zero. + } else if ( !y.c || x.c && !x.c[0] ) { + return new BigNumber(x); + } + + if ( MODULO_MODE == 9 ) { + + // Euclidian division: q = sign(y) * floor(x / abs(y)) + // r = x - qy where 0 <= r < abs(y) + s = y.s; + y.s = 1; + q = div( x, y, 0, 3 ); + y.s = s; + q.s *= s; + } else { + q = div( x, y, 0, MODULO_MODE ); + } + + return x.minus( q.times(y) ); + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber negated, + * i.e. multiplied by -1. + */ + P.negated = P.neg = function () { + var x = new BigNumber(this); + x.s = -x.s || null; + return x; + }; + + + /* + * n + 0 = n + * n + N = N + * n + I = I + * 0 + n = n + * 0 + 0 = 0 + * 0 + N = N + * 0 + I = I + * N + n = N + * N + 0 = N + * N + N = N + * N + I = N + * I + n = I + * I + 0 = I + * I + N = N + * I + I = I + * + * Return a new BigNumber whose value is the value of this BigNumber plus the value of + * BigNumber(y, b). + */ + P.plus = P.add = function ( y, b ) { + var t, + x = this, + a = x.s; + + id = 12; + y = new BigNumber( y, b ); + b = y.s; + + // Either NaN? + if ( !a || !b ) return new BigNumber(NaN); + + // Signs differ? + if ( a != b ) { + y.s = -b; + return x.minus(y); + } + + var xe = x.e / LOG_BASE, + ye = y.e / LOG_BASE, + xc = x.c, + yc = y.c; + + if ( !xe || !ye ) { + + // Return ±Infinity if either ±Infinity. + if ( !xc || !yc ) return new BigNumber( a / 0 ); + + // Either zero? + // Return y if y is non-zero, x if x is non-zero, or zero if both are zero. + if ( !xc[0] || !yc[0] ) return yc[0] ? y : new BigNumber( xc[0] ? x : a * 0 ); + } + + xe = bitFloor(xe); + ye = bitFloor(ye); + xc = xc.slice(); + + // Prepend zeros to equalise exponents. Faster to use reverse then do unshifts. + if ( a = xe - ye ) { + if ( a > 0 ) { + ye = xe; + t = yc; + } else { + a = -a; + t = xc; + } + + t.reverse(); + for ( ; a--; t.push(0) ); + t.reverse(); + } + + a = xc.length; + b = yc.length; + + // Point xc to the longer array, and b to the shorter length. + if ( a - b < 0 ) t = yc, yc = xc, xc = t, b = a; + + // Only start adding at yc.length - 1 as the further digits of xc can be ignored. + for ( a = 0; b; ) { + a = ( xc[--b] = xc[b] + yc[b] + a ) / BASE | 0; + xc[b] = BASE === xc[b] ? 0 : xc[b] % BASE; + } + + if (a) { + xc = [a].concat(xc); + ++ye; + } + + // No need to check for zero, as +x + +y != 0 && -x + -y != 0 + // ye = MAX_EXP + 1 possible + return normalise( y, xc, ye ); + }; + + + /* + * Return the number of significant digits of the value of this BigNumber. + * + * [z] {boolean|number} Whether to count integer-part trailing zeros: true, false, 1 or 0. + */ + P.precision = P.sd = function (z) { + var n, v, + x = this, + c = x.c; + + // 'precision() argument not a boolean or binary digit: {z}' + if ( z != null && z !== !!z && z !== 1 && z !== 0 ) { + if (ERRORS) raise( 13, 'argument' + notBool, z ); + if ( z != !!z ) z = null; + } + + if ( !c ) return null; + v = c.length - 1; + n = v * LOG_BASE + 1; + + if ( v = c[v] ) { + + // Subtract the number of trailing zeros of the last element. + for ( ; v % 10 == 0; v /= 10, n-- ); + + // Add the number of digits of the first element. + for ( v = c[0]; v >= 10; v /= 10, n++ ); + } + + if ( z && x.e + 1 > n ) n = x.e + 1; + + return n; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber rounded to a maximum of + * dp decimal places using rounding mode rm, or to 0 and ROUNDING_MODE respectively if + * omitted. + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'round() decimal places out of range: {dp}' + * 'round() decimal places not an integer: {dp}' + * 'round() rounding mode not an integer: {rm}' + * 'round() rounding mode out of range: {rm}' + */ + P.round = function ( dp, rm ) { + var n = new BigNumber(this); + + if ( dp == null || isValidInt( dp, 0, MAX, 15 ) ) { + round( n, ~~dp + this.e + 1, rm == null || + !isValidInt( rm, 0, 8, 15, roundingMode ) ? ROUNDING_MODE : rm | 0 ); + } + + return n; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber shifted by k places + * (powers of 10). Shift to the right if n > 0, and to the left if n < 0. + * + * k {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive. + * + * If k is out of range and ERRORS is false, the result will be ±0 if k < 0, or ±Infinity + * otherwise. + * + * 'shift() argument not an integer: {k}' + * 'shift() argument out of range: {k}' + */ + P.shift = function (k) { + var n = this; + return isValidInt( k, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER, 16, 'argument' ) + + // k < 1e+21, or truncate(k) will produce exponential notation. + ? n.times( '1e' + truncate(k) ) + : new BigNumber( n.c && n.c[0] && ( k < -MAX_SAFE_INTEGER || k > MAX_SAFE_INTEGER ) + ? n.s * ( k < 0 ? 0 : 1 / 0 ) + : n ); + }; + + + /* + * sqrt(-n) = N + * sqrt( N) = N + * sqrt(-I) = N + * sqrt( I) = I + * sqrt( 0) = 0 + * sqrt(-0) = -0 + * + * Return a new BigNumber whose value is the square root of the value of this BigNumber, + * rounded according to DECIMAL_PLACES and ROUNDING_MODE. + */ + P.squareRoot = P.sqrt = function () { + var m, n, r, rep, t, + x = this, + c = x.c, + s = x.s, + e = x.e, + dp = DECIMAL_PLACES + 4, + half = new BigNumber('0.5'); + + // Negative/NaN/Infinity/zero? + if ( s !== 1 || !c || !c[0] ) { + return new BigNumber( !s || s < 0 && ( !c || c[0] ) ? NaN : c ? x : 1 / 0 ); + } + + // Initial estimate. + s = Math.sqrt( +x ); + + // Math.sqrt underflow/overflow? + // Pass x to Math.sqrt as integer, then adjust the exponent of the result. + if ( s == 0 || s == 1 / 0 ) { + n = coeffToString(c); + if ( ( n.length + e ) % 2 == 0 ) n += '0'; + s = Math.sqrt(n); + e = bitFloor( ( e + 1 ) / 2 ) - ( e < 0 || e % 2 ); + + if ( s == 1 / 0 ) { + n = '1e' + e; + } else { + n = s.toExponential(); + n = n.slice( 0, n.indexOf('e') + 1 ) + e; + } + + r = new BigNumber(n); + } else { + r = new BigNumber( s + '' ); + } + + // Check for zero. + // r could be zero if MIN_EXP is changed after the this value was created. + // This would cause a division by zero (x/t) and hence Infinity below, which would cause + // coeffToString to throw. + if ( r.c[0] ) { + e = r.e; + s = e + dp; + if ( s < 3 ) s = 0; + + // Newton-Raphson iteration. + for ( ; ; ) { + t = r; + r = half.times( t.plus( div( x, t, dp, 1 ) ) ); + + if ( coeffToString( t.c ).slice( 0, s ) === ( n = + coeffToString( r.c ) ).slice( 0, s ) ) { + + // The exponent of r may here be one less than the final result exponent, + // e.g 0.0009999 (e-4) --> 0.001 (e-3), so adjust s so the rounding digits + // are indexed correctly. + if ( r.e < e ) --s; + n = n.slice( s - 3, s + 1 ); + + // The 4th rounding digit may be in error by -1 so if the 4 rounding digits + // are 9999 or 4999 (i.e. approaching a rounding boundary) continue the + // iteration. + if ( n == '9999' || !rep && n == '4999' ) { + + // On the first iteration only, check to see if rounding up gives the + // exact result as the nines may infinitely repeat. + if ( !rep ) { + round( t, t.e + DECIMAL_PLACES + 2, 0 ); + + if ( t.times(t).eq(x) ) { + r = t; + break; + } + } + + dp += 4; + s += 4; + rep = 1; + } else { + + // If rounding digits are null, 0{0,4} or 50{0,3}, check for exact + // result. If not, then there are further digits and m will be truthy. + if ( !+n || !+n.slice(1) && n.charAt(0) == '5' ) { + + // Truncate to the first rounding digit. + round( r, r.e + DECIMAL_PLACES + 2, 1 ); + m = !r.times(r).eq(x); + } + + break; + } + } + } + } + + return round( r, r.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m ); + }; + + + /* + * n * 0 = 0 + * n * N = N + * n * I = I + * 0 * n = 0 + * 0 * 0 = 0 + * 0 * N = N + * 0 * I = N + * N * n = N + * N * 0 = N + * N * N = N + * N * I = N + * I * n = I + * I * 0 = N + * I * N = N + * I * I = I + * + * Return a new BigNumber whose value is the value of this BigNumber times the value of + * BigNumber(y, b). + */ + P.times = P.mul = function ( y, b ) { + var c, e, i, j, k, m, xcL, xlo, xhi, ycL, ylo, yhi, zc, + base, sqrtBase, + x = this, + xc = x.c, + yc = ( id = 17, y = new BigNumber( y, b ) ).c; + + // Either NaN, ±Infinity or ±0? + if ( !xc || !yc || !xc[0] || !yc[0] ) { + + // Return NaN if either is NaN, or one is 0 and the other is Infinity. + if ( !x.s || !y.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc ) { + y.c = y.e = y.s = null; + } else { + y.s *= x.s; + + // Return ±Infinity if either is ±Infinity. + if ( !xc || !yc ) { + y.c = y.e = null; + + // Return ±0 if either is ±0. + } else { + y.c = [0]; + y.e = 0; + } + } + + return y; + } + + e = bitFloor( x.e / LOG_BASE ) + bitFloor( y.e / LOG_BASE ); + y.s *= x.s; + xcL = xc.length; + ycL = yc.length; + + // Ensure xc points to longer array and xcL to its length. + if ( xcL < ycL ) zc = xc, xc = yc, yc = zc, i = xcL, xcL = ycL, ycL = i; + + // Initialise the result array with zeros. + for ( i = xcL + ycL, zc = []; i--; zc.push(0) ); + + base = BASE; + sqrtBase = SQRT_BASE; + + for ( i = ycL; --i >= 0; ) { + c = 0; + ylo = yc[i] % sqrtBase; + yhi = yc[i] / sqrtBase | 0; + + for ( k = xcL, j = i + k; j > i; ) { + xlo = xc[--k] % sqrtBase; + xhi = xc[k] / sqrtBase | 0; + m = yhi * xlo + xhi * ylo; + xlo = ylo * xlo + ( ( m % sqrtBase ) * sqrtBase ) + zc[j] + c; + c = ( xlo / base | 0 ) + ( m / sqrtBase | 0 ) + yhi * xhi; + zc[j--] = xlo % base; + } + + zc[j] = c; + } + + if (c) { + ++e; + } else { + zc.splice(0, 1); + } + + return normalise( y, zc, e ); + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber rounded to a maximum of + * sd significant digits using rounding mode rm, or ROUNDING_MODE if rm is omitted. + * + * [sd] {number} Significant digits. Integer, 1 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'toDigits() precision out of range: {sd}' + * 'toDigits() precision not an integer: {sd}' + * 'toDigits() rounding mode not an integer: {rm}' + * 'toDigits() rounding mode out of range: {rm}' + */ + P.toDigits = function ( sd, rm ) { + var n = new BigNumber(this); + sd = sd == null || !isValidInt( sd, 1, MAX, 18, 'precision' ) ? null : sd | 0; + rm = rm == null || !isValidInt( rm, 0, 8, 18, roundingMode ) ? ROUNDING_MODE : rm | 0; + return sd ? round( n, sd, rm ) : n; + }; + + + /* + * Return a string representing the value of this BigNumber in exponential notation and + * rounded using ROUNDING_MODE to dp fixed decimal places. + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'toExponential() decimal places not an integer: {dp}' + * 'toExponential() decimal places out of range: {dp}' + * 'toExponential() rounding mode not an integer: {rm}' + * 'toExponential() rounding mode out of range: {rm}' + */ + P.toExponential = function ( dp, rm ) { + return format( this, + dp != null && isValidInt( dp, 0, MAX, 19 ) ? ~~dp + 1 : null, rm, 19 ); + }; + + + /* + * Return a string representing the value of this BigNumber in fixed-point notation rounding + * to dp fixed decimal places using rounding mode rm, or ROUNDING_MODE if rm is omitted. + * + * Note: as with JavaScript's number type, (-0).toFixed(0) is '0', + * but e.g. (-0.00001).toFixed(0) is '-0'. + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'toFixed() decimal places not an integer: {dp}' + * 'toFixed() decimal places out of range: {dp}' + * 'toFixed() rounding mode not an integer: {rm}' + * 'toFixed() rounding mode out of range: {rm}' + */ + P.toFixed = function ( dp, rm ) { + return format( this, dp != null && isValidInt( dp, 0, MAX, 20 ) + ? ~~dp + this.e + 1 : null, rm, 20 ); + }; + + + /* + * Return a string representing the value of this BigNumber in fixed-point notation rounded + * using rm or ROUNDING_MODE to dp decimal places, and formatted according to the properties + * of the FORMAT object (see BigNumber.config). + * + * FORMAT = { + * decimalSeparator : '.', + * groupSeparator : ',', + * groupSize : 3, + * secondaryGroupSize : 0, + * fractionGroupSeparator : '\xA0', // non-breaking space + * fractionGroupSize : 0 + * }; + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'toFormat() decimal places not an integer: {dp}' + * 'toFormat() decimal places out of range: {dp}' + * 'toFormat() rounding mode not an integer: {rm}' + * 'toFormat() rounding mode out of range: {rm}' + */ + P.toFormat = function ( dp, rm ) { + var str = format( this, dp != null && isValidInt( dp, 0, MAX, 21 ) + ? ~~dp + this.e + 1 : null, rm, 21 ); + + if ( this.c ) { + var i, + arr = str.split('.'), + g1 = +FORMAT.groupSize, + g2 = +FORMAT.secondaryGroupSize, + groupSeparator = FORMAT.groupSeparator, + intPart = arr[0], + fractionPart = arr[1], + isNeg = this.s < 0, + intDigits = isNeg ? intPart.slice(1) : intPart, + len = intDigits.length; + + if (g2) i = g1, g1 = g2, g2 = i, len -= i; + + if ( g1 > 0 && len > 0 ) { + i = len % g1 || g1; + intPart = intDigits.substr( 0, i ); + + for ( ; i < len; i += g1 ) { + intPart += groupSeparator + intDigits.substr( i, g1 ); + } + + if ( g2 > 0 ) intPart += groupSeparator + intDigits.slice(i); + if (isNeg) intPart = '-' + intPart; + } + + str = fractionPart + ? intPart + FORMAT.decimalSeparator + ( ( g2 = +FORMAT.fractionGroupSize ) + ? fractionPart.replace( new RegExp( '\\d{' + g2 + '}\\B', 'g' ), + '$&' + FORMAT.fractionGroupSeparator ) + : fractionPart ) + : intPart; + } + + return str; + }; + + + /* + * Return a string array representing the value of this BigNumber as a simple fraction with + * an integer numerator and an integer denominator. The denominator will be a positive + * non-zero value less than or equal to the specified maximum denominator. If a maximum + * denominator is not specified, the denominator will be the lowest value necessary to + * represent the number exactly. + * + * [md] {number|string|BigNumber} Integer >= 1 and < Infinity. The maximum denominator. + * + * 'toFraction() max denominator not an integer: {md}' + * 'toFraction() max denominator out of range: {md}' + */ + P.toFraction = function (md) { + var arr, d0, d2, e, exp, n, n0, q, s, + k = ERRORS, + x = this, + xc = x.c, + d = new BigNumber(ONE), + n1 = d0 = new BigNumber(ONE), + d1 = n0 = new BigNumber(ONE); + + if ( md != null ) { + ERRORS = false; + n = new BigNumber(md); + ERRORS = k; + + if ( !( k = n.isInt() ) || n.lt(ONE) ) { + + if (ERRORS) { + raise( 22, + 'max denominator ' + ( k ? 'out of range' : 'not an integer' ), md ); + } + + // ERRORS is false: + // If md is a finite non-integer >= 1, round it to an integer and use it. + md = !k && n.c && round( n, n.e + 1, 1 ).gte(ONE) ? n : null; + } + } + + if ( !xc ) return x.toString(); + s = coeffToString(xc); + + // Determine initial denominator. + // d is a power of 10 and the minimum max denominator that specifies the value exactly. + e = d.e = s.length - x.e - 1; + d.c[0] = POWS_TEN[ ( exp = e % LOG_BASE ) < 0 ? LOG_BASE + exp : exp ]; + md = !md || n.cmp(d) > 0 ? ( e > 0 ? d : n1 ) : n; + + exp = MAX_EXP; + MAX_EXP = 1 / 0; + n = new BigNumber(s); + + // n0 = d1 = 0 + n0.c[0] = 0; + + for ( ; ; ) { + q = div( n, d, 0, 1 ); + d2 = d0.plus( q.times(d1) ); + if ( d2.cmp(md) == 1 ) break; + d0 = d1; + d1 = d2; + n1 = n0.plus( q.times( d2 = n1 ) ); + n0 = d2; + d = n.minus( q.times( d2 = d ) ); + n = d2; + } + + d2 = div( md.minus(d0), d1, 0, 1 ); + n0 = n0.plus( d2.times(n1) ); + d0 = d0.plus( d2.times(d1) ); + n0.s = n1.s = x.s; + e *= 2; + + // Determine which fraction is closer to x, n0/d0 or n1/d1 + arr = div( n1, d1, e, ROUNDING_MODE ).minus(x).abs().cmp( + div( n0, d0, e, ROUNDING_MODE ).minus(x).abs() ) < 1 + ? [ n1.toString(), d1.toString() ] + : [ n0.toString(), d0.toString() ]; + + MAX_EXP = exp; + return arr; + }; + + + /* + * Return the value of this BigNumber converted to a number primitive. + */ + P.toNumber = function () { + return +this; + }; + + + /* + * Return a BigNumber whose value is the value of this BigNumber raised to the power n. + * If m is present, return the result modulo m. + * If n is negative round according to DECIMAL_PLACES and ROUNDING_MODE. + * If POW_PRECISION is non-zero and m is not present, round to POW_PRECISION using + * ROUNDING_MODE. + * + * The modular power operation works efficiently when x, n, and m are positive integers, + * otherwise it is equivalent to calculating x.toPower(n).modulo(m) (with POW_PRECISION 0). + * + * n {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive. + * [m] {number|string|BigNumber} The modulus. + * + * 'pow() exponent not an integer: {n}' + * 'pow() exponent out of range: {n}' + * + * Performs 54 loop iterations for n of 9007199254740991. + */ + P.toPower = P.pow = function ( n, m ) { + var k, y, z, + i = mathfloor( n < 0 ? -n : +n ), + x = this; + + if ( m != null ) { + id = 23; + m = new BigNumber(m); + } + + // Pass ±Infinity to Math.pow if exponent is out of range. + if ( !isValidInt( n, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER, 23, 'exponent' ) && + ( !isFinite(n) || i > MAX_SAFE_INTEGER && ( n /= 0 ) || + parseFloat(n) != n && !( n = NaN ) ) || n == 0 ) { + k = Math.pow( +x, n ); + return new BigNumber( m ? k % m : k ); + } + + if (m) { + if ( n > 1 && x.gt(ONE) && x.isInt() && m.gt(ONE) && m.isInt() ) { + x = x.mod(m); + } else { + z = m; + + // Nullify m so only a single mod operation is performed at the end. + m = null; + } + } else if (POW_PRECISION) { + + // Truncating each coefficient array to a length of k after each multiplication + // equates to truncating significant digits to POW_PRECISION + [28, 41], + // i.e. there will be a minimum of 28 guard digits retained. + // (Using + 1.5 would give [9, 21] guard digits.) + k = mathceil( POW_PRECISION / LOG_BASE + 2 ); + } + + y = new BigNumber(ONE); + + for ( ; ; ) { + if ( i % 2 ) { + y = y.times(x); + if ( !y.c ) break; + if (k) { + if ( y.c.length > k ) y.c.length = k; + } else if (m) { + y = y.mod(m); + } + } + + i = mathfloor( i / 2 ); + if ( !i ) break; + x = x.times(x); + if (k) { + if ( x.c && x.c.length > k ) x.c.length = k; + } else if (m) { + x = x.mod(m); + } + } + + if (m) return y; + if ( n < 0 ) y = ONE.div(y); + + return z ? y.mod(z) : k ? round( y, POW_PRECISION, ROUNDING_MODE ) : y; + }; + + + /* + * Return a string representing the value of this BigNumber rounded to sd significant digits + * using rounding mode rm or ROUNDING_MODE. If sd is less than the number of digits + * necessary to represent the integer part of the value in fixed-point notation, then use + * exponential notation. + * + * [sd] {number} Significant digits. Integer, 1 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * 'toPrecision() precision not an integer: {sd}' + * 'toPrecision() precision out of range: {sd}' + * 'toPrecision() rounding mode not an integer: {rm}' + * 'toPrecision() rounding mode out of range: {rm}' + */ + P.toPrecision = function ( sd, rm ) { + return format( this, sd != null && isValidInt( sd, 1, MAX, 24, 'precision' ) + ? sd | 0 : null, rm, 24 ); + }; + + + /* + * Return a string representing the value of this BigNumber in base b, or base 10 if b is + * omitted. If a base is specified, including base 10, round according to DECIMAL_PLACES and + * ROUNDING_MODE. If a base is not specified, and this BigNumber has a positive exponent + * that is equal to or greater than TO_EXP_POS, or a negative exponent equal to or less than + * TO_EXP_NEG, return exponential notation. + * + * [b] {number} Integer, 2 to 64 inclusive. + * + * 'toString() base not an integer: {b}' + * 'toString() base out of range: {b}' + */ + P.toString = function (b) { + var str, + n = this, + s = n.s, + e = n.e; + + // Infinity or NaN? + if ( e === null ) { + + if (s) { + str = 'Infinity'; + if ( s < 0 ) str = '-' + str; + } else { + str = 'NaN'; + } + } else { + str = coeffToString( n.c ); + + if ( b == null || !isValidInt( b, 2, 64, 25, 'base' ) ) { + str = e <= TO_EXP_NEG || e >= TO_EXP_POS + ? toExponential( str, e ) + : toFixedPoint( str, e ); + } else { + str = convertBase( toFixedPoint( str, e ), b | 0, 10, s ); + } + + if ( s < 0 && n.c[0] ) str = '-' + str; + } + + return str; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber truncated to a whole + * number. + */ + P.truncated = P.trunc = function () { + return round( new BigNumber(this), this.e + 1, 1 ); + }; + + + /* + * Return as toString, but do not accept a base argument, and include the minus sign for + * negative zero. + */ + P.valueOf = P.toJSON = function () { + var str, + n = this, + e = n.e; + + if ( e === null ) return n.toString(); + + str = coeffToString( n.c ); + + str = e <= TO_EXP_NEG || e >= TO_EXP_POS + ? toExponential( str, e ) + : toFixedPoint( str, e ); + + return n.s < 0 ? '-' + str : str; + }; + + + P.isBigNumber = true; + + if ( config != null ) BigNumber.config(config); + + return BigNumber; + } + + + // PRIVATE HELPER FUNCTIONS + + + function bitFloor(n) { + var i = n | 0; + return n > 0 || n === i ? i : i - 1; + } + + + // Return a coefficient array as a string of base 10 digits. + function coeffToString(a) { + var s, z, + i = 1, + j = a.length, + r = a[0] + ''; + + for ( ; i < j; ) { + s = a[i++] + ''; + z = LOG_BASE - s.length; + for ( ; z--; s = '0' + s ); + r += s; + } + + // Determine trailing zeros. + for ( j = r.length; r.charCodeAt(--j) === 48; ); + return r.slice( 0, j + 1 || 1 ); + } + + + // Compare the value of BigNumbers x and y. + function compare( x, y ) { + var a, b, + xc = x.c, + yc = y.c, + i = x.s, + j = y.s, + k = x.e, + l = y.e; + + // Either NaN? + if ( !i || !j ) return null; + + a = xc && !xc[0]; + b = yc && !yc[0]; + + // Either zero? + if ( a || b ) return a ? b ? 0 : -j : i; + + // Signs differ? + if ( i != j ) return i; + + a = i < 0; + b = k == l; + + // Either Infinity? + if ( !xc || !yc ) return b ? 0 : !xc ^ a ? 1 : -1; + + // Compare exponents. + if ( !b ) return k > l ^ a ? 1 : -1; + + j = ( k = xc.length ) < ( l = yc.length ) ? k : l; + + // Compare digit by digit. + for ( i = 0; i < j; i++ ) if ( xc[i] != yc[i] ) return xc[i] > yc[i] ^ a ? 1 : -1; + + // Compare lengths. + return k == l ? 0 : k > l ^ a ? 1 : -1; + } + + + /* + * Return true if n is a valid number in range, otherwise false. + * Use for argument validation when ERRORS is false. + * Note: parseInt('1e+1') == 1 but parseFloat('1e+1') == 10. + */ + function intValidatorNoErrors( n, min, max ) { + return ( n = truncate(n) ) >= min && n <= max; + } + + + function isArray(obj) { + return Object.prototype.toString.call(obj) == '[object Array]'; + } + + + /* + * Convert string of baseIn to an array of numbers of baseOut. + * Eg. convertBase('255', 10, 16) returns [15, 15]. + * Eg. convertBase('ff', 16, 10) returns [2, 5, 5]. + */ + function toBaseOut( str, baseIn, baseOut ) { + var j, + arr = [0], + arrL, + i = 0, + len = str.length; + + for ( ; i < len; ) { + for ( arrL = arr.length; arrL--; arr[arrL] *= baseIn ); + arr[ j = 0 ] += ALPHABET.indexOf( str.charAt( i++ ) ); + + for ( ; j < arr.length; j++ ) { + + if ( arr[j] > baseOut - 1 ) { + if ( arr[j + 1] == null ) arr[j + 1] = 0; + arr[j + 1] += arr[j] / baseOut | 0; + arr[j] %= baseOut; + } + } + } + + return arr.reverse(); + } + + + function toExponential( str, e ) { + return ( str.length > 1 ? str.charAt(0) + '.' + str.slice(1) : str ) + + ( e < 0 ? 'e' : 'e+' ) + e; + } + + + function toFixedPoint( str, e ) { + var len, z; + + // Negative exponent? + if ( e < 0 ) { + + // Prepend zeros. + for ( z = '0.'; ++e; z += '0' ); + str = z + str; + + // Positive exponent + } else { + len = str.length; + + // Append zeros. + if ( ++e > len ) { + for ( z = '0', e -= len; --e; z += '0' ); + str += z; + } else if ( e < len ) { + str = str.slice( 0, e ) + '.' + str.slice(e); + } + } + + return str; + } + + + function truncate(n) { + n = parseFloat(n); + return n < 0 ? mathceil(n) : mathfloor(n); + } + + + // EXPORT + + + BigNumber = constructorFactory(); + BigNumber['default'] = BigNumber.BigNumber = BigNumber; + + + // AMD. + if ( typeof define == 'function' && define.amd ) { + define( function () { return BigNumber; } ); + + // Node.js and other environments that support module.exports. + } else if ( typeof module != 'undefined' && module.exports ) { + module.exports = BigNumber; + + // Browser. + } else { + if ( !globalObj ) globalObj = typeof self != 'undefined' ? self : Function('return this')(); + globalObj.BigNumber = BigNumber; + } +})(this); },{}],218:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer @@ -139231,41 +139274,46 @@ var isSafari = isBrowser && navigator.userAgent.match(/Safari\//) var isEDGE = isBrowser && navigator.userAgent.match(/Edge\/1[2345]/); var _backend = null; function getBackend() { - if (!_backend) - _backend = new Promise(function (resolve, reject) { - function notSupported() { - resolve({ u2f: null }); - } - if (!isBrowser) - return notSupported(); - if (isSafari) - // Safari doesn't support U2F, and the Safari-FIDO-U2F - // extension lacks full support (Multi-facet apps), so we - // block it until proper support. - return notSupported(); - var hasNativeSupport = (typeof window.u2f !== 'undefined') && - (typeof window.u2f.sign === 'function'); - if (hasNativeSupport) - return resolve({ u2f: window.u2f }); - if (isEDGE) - // We don't want to check for Google's extension hack on EDGE - // as it'll cause trouble (popups, etc) - return notSupported(); - if (location.protocol === 'http:') - // U2F isn't supported over http, only https - return notSupported(); - if (typeof MessageChannel === 'undefined') - // Unsupported browser, the chrome hack would throw - return notSupported(); - // Test for google extension support - chromeApi.isSupported(function (ok) { - if (ok) - resolve({ u2f: chromeApi }); - else - notSupported(); - }); + if (_backend) + return _backend; + var supportChecker = new Promise(function (resolve, reject) { + function notSupported() { + resolve({ u2f: null }); + } + if (!isBrowser) + return notSupported(); + if (isSafari) + // Safari doesn't support U2F, and the Safari-FIDO-U2F + // extension lacks full support (Multi-facet apps), so we + // block it until proper support. + return notSupported(); + var hasNativeSupport = (typeof window.u2f !== 'undefined') && + (typeof window.u2f.sign === 'function'); + if (hasNativeSupport) + return resolve({ u2f: window.u2f }); + if (isEDGE) + // We don't want to check for Google's extension hack on EDGE + // as it'll cause trouble (popups, etc) + return notSupported(); + if (location.protocol === 'http:') + // U2F isn't supported over http, only https + return notSupported(); + if (typeof MessageChannel === 'undefined') + // Unsupported browser, the chrome hack would throw + return notSupported(); + // Test for google extension support + chromeApi.isSupported(function (ok) { + if (ok) + resolve({ u2f: chromeApi }); + else + notSupported(); }); - return _backend; + }) + .then(function (response) { + _backend = response.u2f ? supportChecker : null; + return response; + }); + return supportChecker; } exports.ErrorCodes = { OK: 0, @@ -144927,169 +144975,169 @@ module.exports = function(obj, fn){ }; },{}],882:[function(require,module,exports){ - -/** - * Expose `Emitter`. - */ - -if (typeof module !== 'undefined') { - module.exports = Emitter; -} - -/** - * Initialize a new `Emitter`. - * - * @api public - */ - -function Emitter(obj) { - if (obj) return mixin(obj); -}; - -/** - * Mixin the emitter properties. - * - * @param {Object} obj - * @return {Object} - * @api private - */ - -function mixin(obj) { - for (var key in Emitter.prototype) { - obj[key] = Emitter.prototype[key]; - } - return obj; -} - -/** - * Listen on the given `event` with `fn`. - * - * @param {String} event - * @param {Function} fn - * @return {Emitter} - * @api public - */ - -Emitter.prototype.on = -Emitter.prototype.addEventListener = function(event, fn){ - this._callbacks = this._callbacks || {}; - (this._callbacks['$' + event] = this._callbacks['$' + event] || []) - .push(fn); - return this; -}; - -/** - * Adds an `event` listener that will be invoked a single - * time then automatically removed. - * - * @param {String} event - * @param {Function} fn - * @return {Emitter} - * @api public - */ - -Emitter.prototype.once = function(event, fn){ - function on() { - this.off(event, on); - fn.apply(this, arguments); - } - - on.fn = fn; - this.on(event, on); - return this; -}; - -/** - * Remove the given callback for `event` or all - * registered callbacks. - * - * @param {String} event - * @param {Function} fn - * @return {Emitter} - * @api public - */ - -Emitter.prototype.off = -Emitter.prototype.removeListener = -Emitter.prototype.removeAllListeners = -Emitter.prototype.removeEventListener = function(event, fn){ - this._callbacks = this._callbacks || {}; - - // all - if (0 == arguments.length) { - this._callbacks = {}; - return this; - } - - // specific event - var callbacks = this._callbacks['$' + event]; - if (!callbacks) return this; - - // remove all handlers - if (1 == arguments.length) { - delete this._callbacks['$' + event]; - return this; - } - - // remove specific handler - var cb; - for (var i = 0; i < callbacks.length; i++) { - cb = callbacks[i]; - if (cb === fn || cb.fn === fn) { - callbacks.splice(i, 1); - break; - } - } - return this; -}; - -/** - * Emit `event` with the given args. - * - * @param {String} event - * @param {Mixed} ... - * @return {Emitter} - */ - -Emitter.prototype.emit = function(event){ - this._callbacks = this._callbacks || {}; - var args = [].slice.call(arguments, 1) - , callbacks = this._callbacks['$' + event]; - - if (callbacks) { - callbacks = callbacks.slice(0); - for (var i = 0, len = callbacks.length; i < len; ++i) { - callbacks[i].apply(this, args); - } - } - - return this; -}; - -/** - * Return array of callbacks for `event`. - * - * @param {String} event - * @return {Array} - * @api public - */ - -Emitter.prototype.listeners = function(event){ - this._callbacks = this._callbacks || {}; - return this._callbacks['$' + event] || []; -}; - -/** - * Check if this emitter has `event` handlers. - * - * @param {String} event - * @return {Boolean} - * @api public - */ - -Emitter.prototype.hasListeners = function(event){ - return !! this.listeners(event).length; -}; + +/** + * Expose `Emitter`. + */ + +if (typeof module !== 'undefined') { + module.exports = Emitter; +} + +/** + * Initialize a new `Emitter`. + * + * @api public + */ + +function Emitter(obj) { + if (obj) return mixin(obj); +}; + +/** + * Mixin the emitter properties. + * + * @param {Object} obj + * @return {Object} + * @api private + */ + +function mixin(obj) { + for (var key in Emitter.prototype) { + obj[key] = Emitter.prototype[key]; + } + return obj; +} + +/** + * Listen on the given `event` with `fn`. + * + * @param {String} event + * @param {Function} fn + * @return {Emitter} + * @api public + */ + +Emitter.prototype.on = +Emitter.prototype.addEventListener = function(event, fn){ + this._callbacks = this._callbacks || {}; + (this._callbacks['$' + event] = this._callbacks['$' + event] || []) + .push(fn); + return this; +}; + +/** + * Adds an `event` listener that will be invoked a single + * time then automatically removed. + * + * @param {String} event + * @param {Function} fn + * @return {Emitter} + * @api public + */ + +Emitter.prototype.once = function(event, fn){ + function on() { + this.off(event, on); + fn.apply(this, arguments); + } + + on.fn = fn; + this.on(event, on); + return this; +}; + +/** + * Remove the given callback for `event` or all + * registered callbacks. + * + * @param {String} event + * @param {Function} fn + * @return {Emitter} + * @api public + */ + +Emitter.prototype.off = +Emitter.prototype.removeListener = +Emitter.prototype.removeAllListeners = +Emitter.prototype.removeEventListener = function(event, fn){ + this._callbacks = this._callbacks || {}; + + // all + if (0 == arguments.length) { + this._callbacks = {}; + return this; + } + + // specific event + var callbacks = this._callbacks['$' + event]; + if (!callbacks) return this; + + // remove all handlers + if (1 == arguments.length) { + delete this._callbacks['$' + event]; + return this; + } + + // remove specific handler + var cb; + for (var i = 0; i < callbacks.length; i++) { + cb = callbacks[i]; + if (cb === fn || cb.fn === fn) { + callbacks.splice(i, 1); + break; + } + } + return this; +}; + +/** + * Emit `event` with the given args. + * + * @param {String} event + * @param {Mixed} ... + * @return {Emitter} + */ + +Emitter.prototype.emit = function(event){ + this._callbacks = this._callbacks || {}; + var args = [].slice.call(arguments, 1) + , callbacks = this._callbacks['$' + event]; + + if (callbacks) { + callbacks = callbacks.slice(0); + for (var i = 0, len = callbacks.length; i < len; ++i) { + callbacks[i].apply(this, args); + } + } + + return this; +}; + +/** + * Return array of callbacks for `event`. + * + * @param {String} event + * @return {Array} + * @api public + */ + +Emitter.prototype.listeners = function(event){ + this._callbacks = this._callbacks || {}; + return this._callbacks['$' + event] || []; +}; + +/** + * Check if this emitter has `event` handlers. + * + * @param {String} event + * @return {Boolean} + * @api public + */ + +Emitter.prototype.hasListeners = function(event){ + return !! this.listeners(event).length; +}; },{}],883:[function(require,module,exports){ @@ -150328,84 +150376,84 @@ function plural(ms, n, name) { } },{}],956:[function(require,module,exports){ -/** - * Compiles a querystring - * Returns string representation of the object - * - * @param {Object} - * @api private - */ - -exports.encode = function (obj) { - var str = ''; - - for (var i in obj) { - if (obj.hasOwnProperty(i)) { - if (str.length) str += '&'; - str += encodeURIComponent(i) + '=' + encodeURIComponent(obj[i]); - } - } - - return str; -}; - -/** - * Parses a simple querystring into an object - * - * @param {String} qs - * @api private - */ - -exports.decode = function(qs){ - var qry = {}; - var pairs = qs.split('&'); - for (var i = 0, l = pairs.length; i < l; i++) { - var pair = pairs[i].split('='); - qry[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]); - } - return qry; -}; +/** + * Compiles a querystring + * Returns string representation of the object + * + * @param {Object} + * @api private + */ + +exports.encode = function (obj) { + var str = ''; + + for (var i in obj) { + if (obj.hasOwnProperty(i)) { + if (str.length) str += '&'; + str += encodeURIComponent(i) + '=' + encodeURIComponent(obj[i]); + } + } + + return str; +}; + +/** + * Parses a simple querystring into an object + * + * @param {String} qs + * @api private + */ + +exports.decode = function(qs){ + var qry = {}; + var pairs = qs.split('&'); + for (var i = 0, l = pairs.length; i < l; i++) { + var pair = pairs[i].split('='); + qry[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]); + } + return qry; +}; },{}],957:[function(require,module,exports){ -/** - * Parses an URI - * - * @author Steven Levithan (MIT license) - * @api private - */ - -var re = /^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/; - -var parts = [ - 'source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'anchor' -]; - -module.exports = function parseuri(str) { - var src = str, - b = str.indexOf('['), - e = str.indexOf(']'); - - if (b != -1 && e != -1) { - str = str.substring(0, b) + str.substring(b, e).replace(/:/g, ';') + str.substring(e, str.length); - } - - var m = re.exec(str || ''), - uri = {}, - i = 14; - - while (i--) { - uri[parts[i]] = m[i] || ''; - } - - if (b != -1 && e != -1) { - uri.source = src; - uri.host = uri.host.substring(1, uri.host.length - 1).replace(/;/g, ':'); - uri.authority = uri.authority.replace('[', '').replace(']', '').replace(/;/g, ':'); - uri.ipv6uri = true; - } - - return uri; -}; +/** + * Parses an URI + * + * @author Steven Levithan (MIT license) + * @api private + */ + +var re = /^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/; + +var parts = [ + 'source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'anchor' +]; + +module.exports = function parseuri(str) { + var src = str, + b = str.indexOf('['), + e = str.indexOf(']'); + + if (b != -1 && e != -1) { + str = str.substring(0, b) + str.substring(b, e).replace(/:/g, ';') + str.substring(e, str.length); + } + + var m = re.exec(str || ''), + uri = {}, + i = 14; + + while (i--) { + uri[parts[i]] = m[i] || ''; + } + + if (b != -1 && e != -1) { + uri.source = src; + uri.host = uri.host.substring(1, uri.host.length - 1).replace(/;/g, ':'); + uri.authority = uri.authority.replace('[', '').replace(']', '').replace(/;/g, ':'); + uri.ipv6uri = true; + } + + return uri; +}; },{}],958:[function(require,module,exports){ arguments[4][771][0].apply(exports,arguments) diff --git a/dist/package.json b/dist/package.json index c91b923d81..0cd96813e7 100644 --- a/dist/package.json +++ b/dist/package.json @@ -1,6 +1,6 @@ { "name": "MyEtherWallet", - "version": "3.25.0", + "version": "3.26.0", "description": "An NPM dist of MyEtherWallet. For easier downloading & updating via CLI.", "author": "MyEtherWallet", "license": "ISC", diff --git a/dist/phishing.html b/dist/phishing.html index 59195025dd..0ef3f9ebe8 100644 --- a/dist/phishing.html +++ b/dist/phishing.html @@ -100,13 +100,13 @@ MyEtherWallet -

    3.25.0

    +

    3.26.0

    - + diff --git a/dist/privacy-policy.html b/dist/privacy-policy.html index f6a6871f69..827cef3fc6 100644 --- a/dist/privacy-policy.html +++ b/dist/privacy-policy.html @@ -100,13 +100,13 @@ MyEtherWallet -

    3.25.0

    +

    3.26.0

    - + diff --git a/package-lock.json b/package-lock.json index 08f0834cd0..478c8bd176 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21429,9 +21429,9 @@ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, "u2f-api": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/u2f-api/-/u2f-api-1.0.7.tgz", - "integrity": "sha512-aey5tGk4hfw+EMKveDt0IQbM/5VCcACUBRpKU4iU42J6aD9xnmUH6aXFTVWkgfXsNKotbaNW0Tq4L1FKArI4bQ==" + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/u2f-api/-/u2f-api-1.0.8.tgz", + "integrity": "sha512-AsxuWbwT0Mhisk7q/EiHoP2kQVZYQHa+irmjcWiGfXEGBC6k4D7YbaGbl6tEFYpOkYxZZaKTGLQgpnYo38b+tw==" }, "uglify-js": { "version": "2.8.29", diff --git a/package.json b/package.json index 5d572e5c3c..98f4466996 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "npm": "^6.4.1", "run-sequence": "^1.2.2", "trezor-connect": "^5.0.33", - "u2f-api": "^1.0.7", + "u2f-api": "^1.0.8", "vinyl-buffer": "^1.0.0", "vinyl-source-stream": "^1.1.0", "xss-filters": "^1.2.7"