diff --git a/App.vue b/App.vue index 6907811..889bec0 100644 --- a/App.vue +++ b/App.vue @@ -18,9 +18,6 @@ }, onShow: function() { console.log('App Show') - }, - onHide: function() { - console.log('App Hide') } } diff --git a/pages/menu/wallet/index.vue b/pages/menu/wallet/index.vue index dda93dc..4bfd31c 100644 --- a/pages/menu/wallet/index.vue +++ b/pages/menu/wallet/index.vue @@ -111,8 +111,13 @@ this.isStop = true uni.setStorageSync('isWallet', false); }, +<<<<<<< HEAD async onLoad() { console.log('eth有走这吗') +======= + onLoad() { + +>>>>>>> b5a6c0c02905415727eb685f944bf652207b8af9 let currency = uni.getStorageSync('currency'); if (currency) { this.currency = currency; @@ -120,13 +125,16 @@ // 拿钱包 //console.log(this.$TronUtil.decode("TBk72yKTJWppCsa7XrsU7Qhfo4yNvbm8rE")) - this.userObj = uni.getStorageSync('wallet'); +<<<<<<< HEAD this.userObj = await this.$walletUtil.updateBalance(); console.log('eth有走这吗') +======= + this.updateBalance(); +>>>>>>> b5a6c0c02905415727eb685f944bf652207b8af9 uni.setStorageSync('isWallet', false); // #ifdef APP-PLUS - this.appVersion() + //this.appVersion() // #endif @@ -136,14 +144,18 @@ return this.$t('index') }, }, - async onPullDownRefresh() { - this.userObj = await this.$walletUtil.updateBalance(); + onPullDownRefresh() { + this.updateBalance(); setTimeout(function() { uni.stopPullDownRefresh(); }, 500); }, methods: { + async updateBalance(){ + + this.userObj = await this.$walletUtil.updateBalance(); + }, async appVersion() { let param = { 'appId': uni.getSystemInfoSync().platform diff --git a/unpackage/dist/dev/app-plus/app-service.js b/unpackage/dist/dev/app-plus/app-service.js index 3a11788..2cd2aa4 100644 --- a/unpackage/dist/dev/app-plus/app-service.js +++ b/unpackage/dist/dev/app-plus/app-service.js @@ -89789,10 +89789,9 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _HBu !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!C:/Users/Administrator/Desktop/bitcoo/pages/menu/wallet/index.vue?vue&type=script&lang=js&mpType=page ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { +/***/ (function(module, exports) { -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(__f__) {Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = void 0;var _regenerator = _interopRequireDefault(__webpack_require__(/*! ./node_modules/@babel/runtime/regenerator */ 44));\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar _navigation = _interopRequireDefault(__webpack_require__(/*! @/components/navigation/navigation.vue */ 546));\nvar _TokenUtil = _interopRequireDefault(__webpack_require__(/*! @/utils/TokenUtil */ 38));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);}_next(undefined);});};}var _default =\n{\n data: function data() {\n return {\n eth: '',\n trc: 'Hello',\n currency: 'USD',\n walletInfo: {},\n userObj: {},\n userObj2: {},\n showMoney1: true,\n showMoney2: false,\n btcBalance: 0,\n isStop: false };\n\n },\n onUnload: function onUnload() {\n this.isStop = true;\n uni.setStorageSync('isWallet', false);\n },\n onLoad: function onLoad() {var _this2 = this;return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee() {var currency;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:\n __f__(\"log\", 'eth有走这吗', \" at pages/menu/wallet/index.vue:115\");\n currency = uni.getStorageSync('currency');\n if (currency) {\n _this2.currency = currency;\n }\n\n // 拿钱包\n //console.log(this.$TronUtil.decode(\"TBk72yKTJWppCsa7XrsU7Qhfo4yNvbm8rE\"))\n\n _this2.userObj = uni.getStorageSync('wallet');_context.next = 6;return (\n _this2.$walletUtil.updateBalance());case 6:_this2.userObj = _context.sent;\n __f__(\"log\", 'eth有走这吗', \" at pages/menu/wallet/index.vue:126\");\n uni.setStorageSync('isWallet', false);\n\n _this2.appVersion();case 10:case \"end\":return _context.stop();}}}, _callee);}))();\n\n\n\n },\n computed: {\n i18n: function i18n() {\n return this.$t('index');\n } },\n\n onPullDownRefresh: function onPullDownRefresh() {var _this3 = this;return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee2() {return _regenerator.default.wrap(function _callee2$(_context2) {while (1) {switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (\n _this3.$walletUtil.updateBalance());case 2:_this3.userObj = _context2.sent;\n\n setTimeout(function () {\n uni.stopPullDownRefresh();\n }, 500);case 4:case \"end\":return _context2.stop();}}}, _callee2);}))();\n },\n methods: {\n appVersion: function appVersion() {var _this4 = this;return _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee3() {var param, response;return _regenerator.default.wrap(function _callee3$(_context3) {while (1) {switch (_context3.prev = _context3.next) {case 0:\n param = {\n 'appId': uni.getSystemInfoSync().platform };\n\n __f__(\"log\", 'ss' + JSON.stringify(uni.getSystemInfoSync()), \" at pages/menu/wallet/index.vue:151\");_context3.next = 4;return (\n _this4.$api.versionUpgrade(param));case 4:response = _context3.sent;\n plus.runtime.getProperty(plus.runtime.appid, function (wgtinfo) {\n __f__(\"log\", '当前版本号' + wgtinfo.versionCode, \" at pages/menu/wallet/index.vue:154\");\n\n __f__(\"log\", wgtinfo.versionCode < response.data.versionId, \" at pages/menu/wallet/index.vue:156\");\n if (wgtinfo.versionCode < response.data.versionId) {\n var that = _this4;\n // uni.showModal({\n // \ttitle: that.i18n.updateTitle,\n // \tcontent: that.i18n.updateMsg,\n // \tsuccess: function (res) {\n // \t\tif (res.confirm) {\n // \t\t\tplus.runtime.openURL(response.data.appUrl);\n // \t\t}\n // \t}\n // });\n\n }\n });case 6:case \"end\":return _context3.stop();}}}, _callee3);}))();\n },\n goOther: function goOther() {\n\n uni.navigateTo({\n url: 'otherCoin/index' });\n\n },\n showMoney: function showMoney() {\n this.showMoney1 = false;\n this.showMoney2 = true;\n },\n showMoney22: function showMoney22() {\n this.showMoney1 = true;\n this.showMoney2 = false;\n },\n setStorage: function setStorage() {\n\n },\n goTrans: function goTrans(itemm, index) {\n var coin = this.userObj.coinList[index];\n coin.type = this.userObj.type;\n coin.privateKey = this.userObj.privateKey;\n coin.address = this.userObj.address;\n coin.password = this.userObj.password;\n uni.setStorageSync('coin', coin);\n uni.navigateTo({\n url: '/pages/menu/token/btc/index' });\n\n },\n\n // 唤醒摄像头\n chooseImage: function chooseImage() {\n var _this = this;\n uni.scanCode({\n success: function success(res) {\n uni.setStorageSync('address', res.result);\n uni.navigateTo({\n url: '/pages/menu/sendToken/transfer/index?item=index' });\n\n } });\n\n },\n\n goCwallet: function goCwallet() {\n this.isStop = true;\n uni.navigateTo({\n url: './cwallet/index' });\n\n } } };exports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2V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W5kVG9rZW4vdHJhbnNmZXIvaW5kZXg/aXRlbT1pbmRleCdcblx0XHRcdFx0XHR9KVxuXHRcdFx0XHR9XG5cdFx0XHR9KTtcdFxuXHRcdH0sXG5cblx0XHRnb0N3YWxsZXQoKSB7XG5cdFx0XHR0aGlzLmlzU3RvcCA9IHRydWVcblx0XHRcdHVuaS5uYXZpZ2F0ZVRvKHtcblx0XHRcdFx0dXJsOiAnLi9jd2FsbGV0L2luZGV4J1xuXHRcdFx0fSlcblx0XHR9XG5cdH1cbn07XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///872\n"); +eval("throw new Error(\"Module build failed (from ./node_modules/babel-loader/lib/index.js):\\nSyntaxError: C:\\\\Users\\\\Administrator\\\\Desktop\\\\bitcoo\\\\pages\\\\menu\\\\wallet\\\\index.vue: Unexpected token (114:0)\\n\\n 112 | \\t\\t\\tuni.setStorageSync('isWallet', false);\\n 113 | \\t\\t},\\n> 114 | <<<<<<< HEAD\\n | ^\\n 115 | \\t\\tasync onLoad() {\\n 116 | \\t\\t\\tconsole.log('eth有走这吗')\\n 117 | =======\\n at Object._raise (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:746:17)\\n at Object.raiseWithData (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:739:17)\\n at Object.raise (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:733:17)\\n at Object.unexpected (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:8807:16)\\n at Object.parseIdentifierName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10823:18)\\n at Object.parseIdentifier (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10800:23)\\n at Object.parseMaybePrivateName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10157:19)\\n at Object.parsePropertyName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10624:126)\\n at Object.parseObjectMember (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10525:10)\\n at Object.parseObj (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10448:25)\\n at Object.parseExprAtom (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10055:28)\\n at Object.parseExprAtom (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:4638:20)\\n at Object.parseExprSubscripts (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9656:23)\\n at Object.parseMaybeUnary (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9636:21)\\n at Object.parseExprOps (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9506:23)\\n at Object.parseMaybeConditional (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9479:23)\");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiI4NzIuanMiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///872\n"); /***/ }), /* 873 */ @@ -92371,7 +92370,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _HBu /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("/* WEBPACK VAR INJECTION */(function(__f__) {Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = void 0; //\n//\n//\n//\nvar _default =\n\n\n\n\n\n\n{\n\n onLaunch: function onLaunch(e) {\n\n\n __f__(\"log\", 'App Launch', \" at App.vue:17\");\n },\n onShow: function onShow() {\n __f__(\"log\", 'App Show', \" at App.vue:20\");\n },\n onHide: function onHide() {\n __f__(\"log\", 'App Hide', \" at App.vue:23\");\n } };exports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vQXBwLnZ1ZSJdLCJuYW1lcyI6WyJvbkxhdW5jaCIsImUiLCJvblNob3ciLCJvbkhpZGUiXSwibWFwcGluZ3MiOiJxSUFBQTtBQUNBO0FBQ0E7QUFDQTs7Ozs7Ozs7QUFRZTs7QUFFZEEsVUFBUSxFQUFFLGtCQUFTQyxDQUFULEVBQVk7OztBQUdyQixpQkFBWSxZQUFaO0FBQ0EsR0FOYTtBQU9kQyxRQUFNLEVBQUUsa0JBQVc7QUFDbEIsaUJBQVksVUFBWjtBQUNBLEdBVGE7QUFVZEMsUUFBTSxFQUFFLGtCQUFXO0FBQ2xCLGlCQUFZLFVBQVo7QUFDQSxHQVphLEUiLCJmaWxlIjoiOTUzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy9cbi8vXG4vL1xuLy9cblxuXG5cblxuXG5cblxuZXhwb3J0IGRlZmF1bHQge1xuXG5cdG9uTGF1bmNoOiBmdW5jdGlvbihlKSB7XG5cblxuXHRcdGNvbnNvbGUubG9nKCdBcHAgTGF1bmNoJylcblx0fSxcblx0b25TaG93OiBmdW5jdGlvbigpIHtcblx0XHRjb25zb2xlLmxvZygnQXBwIFNob3cnKVxuXHR9LFxuXHRvbkhpZGU6IGZ1bmN0aW9uKCkge1xuXHRcdGNvbnNvbGUubG9nKCdBcHAgSGlkZScpXG5cdH1cbn1cbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///953\n"); +eval("/* WEBPACK VAR INJECTION */(function(__f__) {Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = void 0; //\n//\n//\n//\nvar _default =\n\n\n\n\n\n\n{\n\n onLaunch: function onLaunch(e) {\n\n\n __f__(\"log\", 'App Launch', \" at App.vue:17\");\n },\n onShow: function onShow() {\n __f__(\"log\", 'App Show', \" at App.vue:20\");\n } };exports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vQXBwLnZ1ZSJdLCJuYW1lcyI6WyJvbkxhdW5jaCIsImUiLCJvblNob3ciXSwibWFwcGluZ3MiOiJxSUFBQTtBQUNBO0FBQ0E7QUFDQTs7Ozs7Ozs7QUFRZTs7QUFFZEEsVUFBUSxFQUFFLGtCQUFTQyxDQUFULEVBQVk7OztBQUdyQixpQkFBWSxZQUFaO0FBQ0EsR0FOYTtBQU9kQyxRQUFNLEVBQUUsa0JBQVc7QUFDbEIsaUJBQVksVUFBWjtBQUNBLEdBVGEsRSIsImZpbGUiOiI5NTMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvL1xuLy9cbi8vXG4vL1xuXG5cblxuXG5cblxuXG5leHBvcnQgZGVmYXVsdCB7XG5cblx0b25MYXVuY2g6IGZ1bmN0aW9uKGUpIHtcblxuXG5cdFx0Y29uc29sZS5sb2coJ0FwcCBMYXVuY2gnKVxuXHR9LFxuXHRvblNob3c6IGZ1bmN0aW9uKCkge1xuXHRcdGNvbnNvbGUubG9nKCdBcHAgU2hvdycpXG5cdH1cbn1cbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///953\n"); /***/ }), /* 954 */ @@ -95003,7 +95002,7 @@ eval("/* WEBPACK VAR INJECTION */(function(__f__) {Object.defineProperty(exports /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = void 0;var isTest = true;\n\nvar constant = isTest ? {\n //服务端连接\n serverUrl: 'http://wallet-api.weirui0755.com',\n coinTickerWs: 'ws://wallet-quartz.weirui0755.com/websocket',\n ethNode: 'http://47.245.25.82:8545' } :\n{\n //服务端连接\n serverUrl: 'http://wallet-api.weirui0755.com',\n coinTickerWs: 'ws://wallet-quartz.weirui0755.com/websocket',\n ethNode: '' };var _default =\n\n\n{\n constant: constant };exports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vd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5cclxuZXhwb3J0IGRlZmF1bHQge1xyXG5cdGNvbnN0YW50XHJcbn1cclxuIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///984\n"); +eval("Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = void 0;var isTest = true;\n\nvar constant = isTest ? {\n //服务端连接\n serverUrl: 'http://wallet-api.weirui0755.com',\n coinTickerWs: 'ws://wallet-quartz.weirui0755.com/websocket',\n ethNode: 'http://47.245.25.82:8545' } :\n{\n //服务端连接\n serverUrl: 'http://wallet-api.weirui0755.com',\n coinTickerWs: 'ws://wallet-quartz.weirui0755.com/websocket',\n ethNode: 'http://47.245.25.82:8545' };var _default =\n\n\n{\n constant: constant };exports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vdXRpbHMvU3lzdGVtQ29uZmlndXJhdGlvbi5qcyJdLCJuYW1lcyI6WyJpc1Rlc3QiLCJjb25zdGFudCIsInNlcnZlclVybCIsImNvaW5UaWNrZXJXcyIsImV0aE5vZGUiXSwibWFwcGluZ3MiOiJ1RkFBQSxJQUFJQSxNQUFNLEdBQUcsSUFBYjs7QUFFQSxJQUFNQyxRQUFRLEdBQUdELE1BQU0sR0FBRztBQUN6QjtBQUNBRSxXQUFTLEVBQUUsa0NBRmM7QUFHekJDLGNBQVksRUFBQyw2Q0FIWTtBQUl6QkMsU0FBTyxFQUFDLDBCQUppQixFQUFIO0FBS25CO0FBQ0g7QUFDQUYsV0FBUyxFQUFFLGtDQUZSO0FBR0hDLGNBQVksRUFBQyw2Q0FIVjtBQUlIQyxTQUFPLEVBQUMsMEJBSkwsRUFMSixDOzs7QUFZZTtBQUNkSCxVQUFRLEVBQVJBLFFBRGMsRSIsImZpbGUiOiI5ODQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJsZXQgaXNUZXN0ID0gdHJ1ZTtcclxuXHJcbmNvbnN0IGNvbnN0YW50ID0gaXNUZXN0ID8ge1xyXG5cdC8v5pyN5Yqh56uv6L+e5o6lXHJcblx0c2VydmVyVXJsOiAnaHR0cDovL3dhbGxldC1hcGkud2VpcnVpMDc1NS5jb20nLFxyXG5cdGNvaW5UaWNrZXJXczond3M6Ly93YWxsZXQtcXVhcnR6LndlaXJ1aTA3NTUuY29tL3dlYnNvY2tldCcsXHJcblx0ZXRoTm9kZTonaHR0cDovLzQ3LjI0NS4yNS44Mjo4NTQ1JyxcclxufSA6IHtcclxuXHQvL+acjeWKoeerr+i/nuaOpVxyXG5cdHNlcnZlclVybDogJ2h0dHA6Ly93YWxsZXQtYXBpLndlaXJ1aTA3NTUuY29tJyxcclxuXHRjb2luVGlja2VyV3M6J3dzOi8vd2FsbGV0LXF1YXJ0ei53ZWlydWkwNzU1LmNvbS93ZWJzb2NrZXQnLFxyXG5cdGV0aE5vZGU6J2h0dHA6Ly80Ny4yNDUuMjUuODI6ODU0NScsXHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuXHRjb25zdGFudFxyXG59XHJcbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///984\n"); /***/ }), /* 985 */ @@ -95044,31862 +95043,241 @@ eval("/* WEBPACK VAR INJECTION */(function(__f__) {Object.defineProperty(exports !*** C:/Users/Administrator/Desktop/bitcoo/utils/EthUtil.js ***! \**************************************************************/ /*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(__f__, Buffer) {Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = void 0;var _regenerator = _interopRequireDefault(__webpack_require__(/*! ./node_modules/@babel/runtime/regenerator */ 44));var _EthAbi = _interopRequireDefault(__webpack_require__(/*! utils/EthAbi.js */ 989));\nvar _SystemConfiguration = _interopRequireDefault(__webpack_require__(/*! utils/SystemConfiguration.js */ 984));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);}_next(undefined);});};}\nvar Web3 = __webpack_require__(/*! web3 */ 990);\nvar Tx = __webpack_require__(/*! ethereumjs-tx */ 539);\nvar web3;\n// let tx;\nif (typeof web3 !== 'undefined') {\n web3 = new Web3(web3.currentProvider);\n} else {\n web3 = new Web3(new Web3.providers.HttpProvider(_SystemConfiguration.default.constant.ethNode));\n}\n\n\nvar eth = {\n // //获取主币eth余额\n getBalance: function () {var _getBalance = _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee(address) {var balance;return _regenerator.default.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:\n web3 = new Web3(new Web3.providers.HttpProvider(_SystemConfiguration.default.constant.ethNode));_context.next = 3;return (\n web3.eth.getBalance(address));case 3:balance = _context.sent;\n __f__(\"log\", \"余额:\", balance, \" at utils/EthUtil.js:19\");return _context.abrupt(\"return\",\n Number(balance) / Math.pow(10, 18));case 6:case \"end\":return _context.stop();}}}, _callee);}));function getBalance(_x) {return _getBalance.apply(this, arguments);}return getBalance;}(),\n\n // //获取eth代币币余额\n // getTokenBalance: async function(address, contract) {\n // \tconsole.log(address, contract)\n // \tvar myContract = new web3.eth.Contract(abi, contract, {\n // \t\tfrom: address\n // \t});\n // \tvar decimals = await myContract.methods.decimals().call();\n // \tvar balance = await myContract.methods.balanceOf(address).call();\n\n // \treturn Number(balance) / Math.pow(10, decimals);\n // },\n getGas: function () {var _getGas = _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee2() {var gasPrice;return _regenerator.default.wrap(function _callee2$(_context2) {while (1) {switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return (\n web3.eth.getGasPrice().then(function (v) {\n return v;\n }));case 2:gasPrice = _context2.sent;\n __f__(\"log\", gasPrice, 'gasPrice', \" at utils/EthUtil.js:37\");return _context2.abrupt(\"return\",\n gasPrice);case 5:case \"end\":return _context2.stop();}}}, _callee2);}));function getGas() {return _getGas.apply(this, arguments);}return getGas;}(),\n\n\n // //获取主币eth余额\n // getBalance: async function(address) {\n // \tweb3 = new Web3();\n // \tconst data = {\n // \t\t'jsonrpc': '2.0',\n // \t\t'id': '1',\n // \t\t'method': 'eth_getBalance',\n // \t\t'params': [address, \"latest\"]\n // \t};\n // \tlet res = await uni.request({\n // \t\turl: systemConfiguration.constant.ethNode, //仅为示例,并非真实接口地址。\n // \t\tmethod: 'POST',\n // \t\tdata: data,\n // \t\tdataType: 'json'\n // \t});\n // \ttry {\n // \t\tlet balance = Number(web3.utils.hexToNumberString(res[1].data.result)) / Math.pow(10, 18)\n // \t\treturn balance\n // \t} catch (e) {\n // \t\treturn 0;\n // \t}\n // },\n addPreZero: function addPreZero(num) {\n var t = (num + '').length,\n s = '';\n for (var i = 0; i < 64 - t; i++) {\n s += '0';\n }\n return s + num;\n },\n // 获取bms,bmdt,usdt/erc余额\n getTokenBalance: function () {var _getTokenBalance = _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee3(address, contract, success) {var data, res, resData, balance;return _regenerator.default.wrap(function _callee3$(_context3) {while (1) {switch (_context3.prev = _context3.next) {case 0:\n web3 = new Web3();\n data = {\n 'jsonrpc': '2.0',\n 'id': '1',\n 'method': 'eth_call',\n 'params': [{\n \"data\": '0x70a08231' + this.addPreZero(address.replace('0x', '')),\n \"to\": contract },\n \"latest\"] };_context3.next = 4;return (\n\n\n\n uni.request({\n url: _SystemConfiguration.default.constant.ethNode, //仅为示例,并非真实接口地址。\n method: 'POST',\n data: data,\n dataType: 'json' }));case 4:res = _context3.sent;\n\n resData = res[res.length - 1];\n __f__(\"log\", resData, 5555555555, \" at utils/EthUtil.js:92\");\n balance = Number(web3.utils.hexToNumberString(resData.data.result)) / Math.pow(10, 18);\n __f__(\"log\", balance, 'balance', \" at utils/EthUtil.js:94\");return _context3.abrupt(\"return\",\n balance);case 10:case \"end\":return _context3.stop();}}}, _callee3, this);}));function getTokenBalance(_x2, _x3, _x4) {return _getTokenBalance.apply(this, arguments);}return getTokenBalance;}(),\n\n\n\n\n sendTransaction: function () {var _sendTransaction = _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee4(fromAddress, toAddress, value, privateKey, success) {var nonce, gas, txData, tx, serializedTx;return _regenerator.default.wrap(function _callee4$(_context4) {while (1) {switch (_context4.prev = _context4.next) {case 0:_context4.next = 2;return (\n\n web3.eth.getTransactionCount(fromAddress));case 2:nonce = _context4.sent;_context4.next = 5;return (\n web3.eth.estimateGas({\n from: fromAddress }));case 5:gas = _context4.sent;\n\n __f__(\"log\", 11111111111, \" at utils/EthUtil.js:106\");\n __f__(\"log\", nonce, \" at utils/EthUtil.js:107\");\n __f__(\"log\", fromAddress, toAddress, value, privateKey, \" at utils/EthUtil.js:108\");\n txData = {\n chainId: web3.utils.toHex(1899),\n // nonce每次++,以免覆盖之前pending中的交易\n nonce: web3.utils.toHex(nonce++),\n // 设置gasLimit和gasPrice\n gas: web3.utils.toHex(gas),\n gasPrice: web3.utils.toHex(web3.eth.getGasPrice()),\n // 要转账的哪个账号 \n to: toAddress,\n // 从哪个账号转\n from: fromAddress,\n // 0.001 以太币\n value: web3.utils.toHex(web3.utils.toWei(value, 'ether')) };\n\n\n\n\n // 引入私钥,并转换为16进制\n\n // 用私钥签署交易\n __f__(\"log\", Buffer.from(privateKey).toString('hex'), \" at utils/EthUtil.js:129\");\n tx = new Tx(txData);\n tx.sign(Buffer.from(privateKey, 'hex'));\n\n // 序列化\n serializedTx = tx.serialize().toString('hex');\n\n web3.eth.sendSignedTransaction('0x' + serializedTx.toString('hex'), function (err,\n hash) {\n __f__(\"log\", 'hash' + hash, \" at utils/EthUtil.js:138\");\n if (!err) {\n success(hash, undefined);\n } else {\n __f__(\"log\", err, 789798, \" at utils/EthUtil.js:142\");\n success(undefined, err);\n }\n });\n // 获取交易数据\n case 15:case \"end\":return _context4.stop();}}}, _callee4);}));function sendTransaction(_x5, _x6, _x7, _x8, _x9) {return _sendTransaction.apply(this, arguments);}return sendTransaction;}(),\n\n\n\n\n sendTokenTransaction: function () {var _sendTokenTransaction = _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee5(fromAddress, toAddress, value, privateKey, contract, success) {var nonce, gas, myContract;return _regenerator.default.wrap(function _callee5$(_context5) {while (1) {switch (_context5.prev = _context5.next) {case 0:_context5.next = 2;return (\n\n web3.eth.getTransactionCount(fromAddress));case 2:nonce = _context5.sent;_context5.next = 5;return (\n web3.eth.estimateGas({\n from: fromAddress }));case 5:gas = _context5.sent;\n\n\n __f__(\"log\", 'nonce' + nonce, \" at utils/EthUtil.js:159\");\n myContract = new web3.eth.Contract(_EthAbi.default, contract);\n myContract.methods.decimals().call().\n then(function (decimals) {\n\n // 获取交易数据\n __f__(\"log\", Number(value) * Math.pow(10, decimals), \" at utils/EthUtil.js:165\");\n var txData = {\n chainId: web3.utils.toHex(128),\n // nonce每次++,以免覆盖之前pending中的交易\n nonce: web3.utils.toHex(nonce++),\n // 设置gasLimit和gasPrice\n gas: web3.utils.toHex(gas),\n gasPrice: web3.utils.toHex(web3.eth.getGasPrice()),\n // 要转账的哪个账号 \n to: contract,\n // 从哪个账号转\n from: fromAddress,\n // 0.001 以太币\n value: \"0x00\",\n data: myContract.methods.transfer(\n toAddress, web3.utils.toWei(value, 'ether')).encodeABI() };\n\n\n\n // 引入私钥,并转换为16进制\n\n // 用私钥签署交易\n\n var tx = new Tx(txData, {\n 'chain': 'ropsten' });\n\n tx.sign(Buffer.from(privateKey, 'hex'));\n __f__(\"log\", Buffer.from(privateKey).toString('hex'), \" at utils/EthUtil.js:192\");\n // 序列化\n var serializedTx = tx.serialize().toString('hex');\n\n web3.eth.sendSignedTransaction('0x' + serializedTx.toString('hex'), function (\n err,\n hash) {\n if (!err) {\n success(hash, undefined);\n } else {\n success(undefined, err);\n }\n });\n\n });case 9:case \"end\":return _context5.stop();}}}, _callee5);}));function sendTokenTransaction(_x10, _x11, _x12, _x13, _x14, _x15) {return _sendTokenTransaction.apply(this, arguments);}return sendTokenTransaction;}(),\n\n\n\n\n\n transaction: function () {var _transaction = _asyncToGenerator( /*#__PURE__*/_regenerator.default.mark(function _callee6(fromAddress, toAddress, value, privateKey, contract, success) {return _regenerator.default.wrap(function _callee6$(_context6) {while (1) {switch (_context6.prev = _context6.next) {case 0:if (!\n contract) {_context6.next = 5;break;}_context6.next = 3;return (\n this.sendTokenTransaction(fromAddress, toAddress, value, privateKey, contract, success));case 3:_context6.next = 7;break;case 5:_context6.next = 7;return (\n\n this.sendTransaction(fromAddress, toAddress, value, privateKey, success));case 7:case \"end\":return _context6.stop();}}}, _callee6, this);}));function transaction(_x16, _x17, _x18, _x19, _x20, _x21) {return _transaction.apply(this, arguments);}return transaction;}() };var _default =\n\n\n\n\neth;exports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)[\"default\"], __webpack_require__(/*! ./../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vdXRpbHMvRXRoVXRpbC5qcyJdLCJuYW1lcyI6WyJXZWIzIiwicmVxdWlyZSIsIlR4Iiwid2ViMyIsImN1cnJlbnRQcm92aWRlciIsInByb3ZpZGVycyIsIkh0dHBQcm92aWRlciIsInN5c3RlbUNvbmZpZ3VyYXRpb24iLCJjb25zdGFudCIsImV0aE5vZG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aXplKCkudG9TdHJpbmcoJ2hleCcpO1xyXG5cclxuXHRcdFx0XHR3ZWIzLmV0aC5zZW5kU2lnbmVkVHJhbnNhY3Rpb24oJzB4JyArIHNlcmlhbGl6ZWRUeC50b1N0cmluZygnaGV4JyksIGZ1bmN0aW9uKFxyXG5cdFx0XHRcdFx0ZXJyLFxyXG5cdFx0XHRcdFx0aGFzaCkge1xyXG5cdFx0XHRcdFx0aWYgKCFlcnIpIHtcclxuXHRcdFx0XHRcdFx0c3VjY2VzcyhoYXNoLCB1bmRlZmluZWQpO1xyXG5cdFx0XHRcdFx0fSBlbHNlIHtcclxuXHRcdFx0XHRcdFx0c3VjY2Vzcyh1bmRlZmluZWQsIGVycik7XHJcblx0XHRcdFx0XHR9XHJcblx0XHRcdFx0fSk7XHJcblxyXG5cdFx0XHR9KTtcclxuXHJcblxyXG5cclxuXHJcblx0fSxcclxuXHR0cmFuc2FjdGlvbjogYXN5bmMgZnVuY3Rpb24oZnJvbUFkZHJlc3MsIHRvQWRkcmVzcywgdmFsdWUsIHByaXZhdGVLZXksIGNvbnRyYWN0LCBzdWNjZXNzKSB7XHJcblx0XHRpZiAoY29udHJhY3QpIHtcclxuXHRcdFx0YXdhaXQgdGhpcy5zZW5kVG9rZW5UcmFuc2FjdGlvbihmcm9tQWRkcmVzcywgdG9BZGRyZXNzLCB2YWx1ZSwgcHJpdmF0ZUtleSwgY29udHJhY3QsIHN1Y2Nlc3MpO1xyXG5cdFx0fSBlbHNlIHtcclxuXHRcdFx0YXdhaXQgdGhpcy5zZW5kVHJhbnNhY3Rpb24oZnJvbUFkZHJlc3MsIHRvQWRkcmVzcywgdmFsdWUsIHByaXZhdGVLZXksIHN1Y2Nlc3MpXHJcblxyXG5cdFx0fVxyXG5cdH1cclxufVxyXG5leHBvcnQgZGVmYXVsdCBldGg7XHJcbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///988\n"); - -/***/ }), -/* 989 */ -/*!*************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/utils/EthAbi.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = void 0;var abi = [{\n \"constant\": true,\n \"inputs\": [],\n\n\n \"name\": \"mintingFinished\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"bool\" }],\n\n \"payable\": false,\n \"stateMutability\": \"view\",\n \"type\": \"function\" },\n\n{\n \"constant\": true,\n \"inputs\": [],\n\n\n \"name\": \"name\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"string\" }],\n\n \"payable\": false,\n \"stateMutability\": \"view\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [{\n \"name\": \"_spender\",\n \"type\": \"address\" },\n\n {\n \"name\": \"_value\",\n \"type\": \"uint256\" }],\n\n\n \"name\": \"approve\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"bool\" }],\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"constant\": true,\n \"inputs\": [],\n\n\n \"name\": \"totalSupply\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"uint256\" }],\n\n \"payable\": false,\n \"stateMutability\": \"view\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [{\n \"name\": \"_from\",\n \"type\": \"address\" },\n\n {\n \"name\": \"_to\",\n \"type\": \"address\" },\n\n {\n \"name\": \"_value\",\n \"type\": \"uint256\" }],\n\n\n \"name\": \"transferFrom\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"bool\" }],\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"constant\": true,\n \"inputs\": [],\n\n\n \"name\": \"decimals\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"uint8\" }],\n\n \"payable\": false,\n \"stateMutability\": \"view\",\n \"type\": \"function\" },\n\n{\n \"constant\": true,\n \"inputs\": [],\n\n\n \"name\": \"cap\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"uint256\" }],\n\n \"payable\": false,\n \"stateMutability\": \"view\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [],\n\n\n \"name\": \"unpause\",\n \"outputs\": [],\n\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [{\n \"name\": \"_to\",\n \"type\": \"address\" },\n\n {\n \"name\": \"_amount\",\n \"type\": \"uint256\" }],\n\n\n \"name\": \"mint\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"bool\" }],\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [{\n \"name\": \"_value\",\n \"type\": \"uint256\" }],\n\n \"name\": \"burn\",\n \"outputs\": [],\n\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"constant\": true,\n \"inputs\": [],\n\n\n \"name\": \"paused\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"bool\" }],\n\n \"payable\": false,\n \"stateMutability\": \"view\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [{\n \"name\": \"_spender\",\n \"type\": \"address\" },\n\n {\n \"name\": \"_subtractedValue\",\n \"type\": \"uint256\" }],\n\n\n \"name\": \"decreaseApproval\",\n \"outputs\": [{\n \"name\": \"success\",\n \"type\": \"bool\" }],\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"constant\": true,\n \"inputs\": [{\n \"name\": \"_owner\",\n \"type\": \"address\" }],\n\n \"name\": \"balanceOf\",\n \"outputs\": [{\n \"name\": \"balance\",\n \"type\": \"uint256\" }],\n\n \"payable\": false,\n \"stateMutability\": \"view\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [],\n\n\n \"name\": \"finishMinting\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"bool\" }],\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [],\n\n\n \"name\": \"pause\",\n \"outputs\": [],\n\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"constant\": true,\n \"inputs\": [],\n\n\n \"name\": \"owner\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"address\" }],\n\n \"payable\": false,\n \"stateMutability\": \"view\",\n \"type\": \"function\" },\n\n{\n \"constant\": true,\n \"inputs\": [],\n\n\n \"name\": \"symbol\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"string\" }],\n\n \"payable\": false,\n \"stateMutability\": \"view\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [{\n \"name\": \"_to\",\n \"type\": \"address\" },\n\n {\n \"name\": \"_value\",\n \"type\": \"uint256\" }],\n\n\n \"name\": \"transfer\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"bool\" }],\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [{\n \"name\": \"_spender\",\n \"type\": \"address\" },\n\n {\n \"name\": \"_addedValue\",\n \"type\": \"uint256\" }],\n\n\n \"name\": \"increaseApproval\",\n \"outputs\": [{\n \"name\": \"success\",\n \"type\": \"bool\" }],\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"constant\": true,\n \"inputs\": [{\n \"name\": \"_owner\",\n \"type\": \"address\" },\n\n {\n \"name\": \"_spender\",\n \"type\": \"address\" }],\n\n\n \"name\": \"allowance\",\n \"outputs\": [{\n \"name\": \"\",\n \"type\": \"uint256\" }],\n\n \"payable\": false,\n \"stateMutability\": \"view\",\n \"type\": \"function\" },\n\n{\n \"constant\": false,\n \"inputs\": [{\n \"name\": \"newOwner\",\n \"type\": \"address\" }],\n\n \"name\": \"transferOwnership\",\n \"outputs\": [],\n\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\" },\n\n{\n \"inputs\": [],\n\n\n \"payable\": false,\n \"stateMutability\": \"nonpayable\",\n \"type\": \"constructor\" },\n\n{\n \"anonymous\": false,\n \"inputs\": [{\n \"indexed\": true,\n \"name\": \"burner\",\n \"type\": \"address\" },\n\n {\n \"indexed\": false,\n \"name\": \"value\",\n \"type\": \"uint256\" }],\n\n\n \"name\": \"Burn\",\n \"type\": \"event\" },\n\n{\n \"anonymous\": false,\n \"inputs\": [],\n\n\n \"name\": \"Pause\",\n \"type\": \"event\" },\n\n{\n \"anonymous\": false,\n \"inputs\": [],\n\n\n \"name\": \"Unpause\",\n \"type\": \"event\" },\n\n{\n \"anonymous\": false,\n \"inputs\": [{\n \"indexed\": true,\n \"name\": \"to\",\n \"type\": \"address\" },\n\n {\n \"indexed\": false,\n \"name\": \"amount\",\n \"type\": \"uint256\" }],\n\n\n \"name\": \"Mint\",\n \"type\": \"event\" },\n\n{\n \"anonymous\": false,\n \"inputs\": [],\n\n\n \"name\": \"MintFinished\",\n \"type\": \"event\" },\n\n{\n \"anonymous\": false,\n \"inputs\": [{\n \"indexed\": true,\n \"name\": \"owner\",\n \"type\": \"address\" },\n\n {\n \"indexed\": true,\n \"name\": \"spender\",\n \"type\": \"address\" },\n\n {\n \"indexed\": false,\n \"name\": \"value\",\n \"type\": \"uint256\" }],\n\n\n \"name\": \"Approval\",\n \"type\": \"event\" },\n\n{\n \"anonymous\": false,\n \"inputs\": [{\n \"indexed\": true,\n \"name\": \"from\",\n \"type\": \"address\" },\n\n {\n \"indexed\": true,\n \"name\": \"to\",\n \"type\": \"address\" },\n\n {\n \"indexed\": false,\n \"name\": \"value\",\n \"type\": \"uint256\" }],\n\n\n \"name\": \"Transfer\",\n \"type\": \"event\" }];var _default =\n\n\n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J9\n//# sourceURL=webpack-internal:///989\n"); - -/***/ }), -/* 990 */ -/*!****************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3/lib/index.js ***! - \****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * @authors: - * Fabian Vogelsteller - * Gav Wood - * Jeffrey Wilcke - * Marek Kotewicz - * Marian Oancea - * @date 2017 - */ - -var version = __webpack_require__(/*! ../package.json */ 991).version; -var core = __webpack_require__(/*! web3-core */ 992); -var Eth = __webpack_require__(/*! web3-eth */ 1044); -var Net = __webpack_require__(/*! web3-net */ 1045); -var Personal = __webpack_require__(/*! web3-eth-personal */ 1084); -var Shh = __webpack_require__(/*! web3-shh */ 1184); -var Bzz = __webpack_require__(/*! web3-bzz */ 1185); -var utils = __webpack_require__(/*! web3-utils */ 998); -var Web3 = function Web3() { - var _this = this; - // sets _requestmanager etc - core.packageInit(this, arguments); - this.version = version; - this.utils = utils; - this.eth = new Eth(this); - this.shh = new Shh(this); - this.bzz = new Bzz(this); - // overwrite package setProvider - var setProvider = this.setProvider; - this.setProvider = function (provider, net) { - /*jshint unused: false */ - setProvider.apply(_this, arguments); - _this.eth.setRequestManager(_this._requestManager); - _this.shh.setRequestManager(_this._requestManager); - _this.bzz.setProvider(provider); - return true; - }; -}; -Web3.version = version; -Web3.utils = utils; -Web3.modules = { - Eth: Eth, - Net: Net, - Personal: Personal, - Shh: Shh, - Bzz: Bzz }; - -core.addProviders(Web3); -module.exports = Web3; - -/***/ }), -/* 991 */ -/*!****************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3/package.json ***! - \****************************************************************************/ -/*! exports provided: _from, _id, _inBundle, _integrity, _location, _phantomChildren, _requested, _requiredBy, _resolved, _shasum, _spec, _where, author, authors, bugs, bundleDependencies, dependencies, deprecated, description, devDependencies, engines, gitHead, homepage, keywords, license, main, name, repository, scripts, types, version, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"_from\":\"web3@1.3.4\",\"_id\":\"web3@1.3.4\",\"_inBundle\":false,\"_integrity\":\"sha1-MeAUhzNgqlhA6xf58XEZDJZ8/7c=\",\"_location\":\"/web3\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"version\",\"registry\":true,\"raw\":\"web3@1.3.4\",\"name\":\"web3\",\"escapedName\":\"web3\",\"rawSpec\":\"1.3.4\",\"saveSpec\":null,\"fetchSpec\":\"1.3.4\"},\"_requiredBy\":[\"#USER\",\"/\"],\"_resolved\":\"https://registry.npmmirror.com/web3/download/web3-1.3.4.tgz\",\"_shasum\":\"31e014873360aa5840eb17f9f171190c967cffb7\",\"_spec\":\"web3@1.3.4\",\"_where\":\"C:\\\\Users\\\\Administrator\\\\Desktop\\\\bitcoo\",\"author\":{\"name\":\"ethereum.org\"},\"authors\":[{\"name\":\"Fabian Vogelsteller\",\"email\":\"fabian@ethereum.org\",\"homepage\":\"http://frozeman.de\"},{\"name\":\"Marek Kotewicz\",\"email\":\"marek@parity.io\",\"url\":\"https://github.com/debris\"},{\"name\":\"Marian Oancea\",\"url\":\"https://github.com/cubedro\"},{\"name\":\"Gav Wood\",\"email\":\"g@parity.io\",\"homepage\":\"http://gavwood.com\"},{\"name\":\"Jeffery Wilcke\",\"email\":\"jeffrey.wilcke@ethereum.org\",\"url\":\"https://github.com/obscuren\"}],\"bugs\":{\"url\":\"https://github.com/ethereum/web3.js/issues\"},\"bundleDependencies\":false,\"dependencies\":{\"web3-bzz\":\"1.3.4\",\"web3-core\":\"1.3.4\",\"web3-eth\":\"1.3.4\",\"web3-eth-personal\":\"1.3.4\",\"web3-net\":\"1.3.4\",\"web3-shh\":\"1.3.4\",\"web3-utils\":\"1.3.4\"},\"deprecated\":false,\"description\":\"Ethereum JavaScript API\",\"devDependencies\":{\"@types/node\":\"^12.12.6\",\"dtslint\":\"^3.4.1\",\"typescript\":\"^3.9.5\"},\"engines\":{\"node\":\">=8.0.0\"},\"gitHead\":\"f6d60bd5ec70a932d8b7bc2cbb6a577a2fd22919\",\"homepage\":\"https://github.com/ethereum/web3.js#readme\",\"keywords\":[\"Ethereum\",\"JavaScript\",\"API\"],\"license\":\"LGPL-3.0\",\"main\":\"lib/index.js\",\"name\":\"web3\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/ethereum/web3.js.git\"},\"scripts\":{\"dtslint\":\"dtslint --localTs ../../node_modules/typescript/lib types\",\"tsc\":\"tsc -b tsconfig.json\"},\"types\":\"types/index.d.ts\",\"version\":\"1.3.4\"}"); - -/***/ }), -/* 992 */ -/*!*********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core/lib/index.js ***! - \*********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * @author Fabian Vogelsteller - * @date 2017 - */ -var requestManager = __webpack_require__(/*! web3-core-requestmanager */ 993); -var extend = __webpack_require__(/*! ./extend */ 1039); -var packageInit = function packageInit(pkg, args) { - args = Array.prototype.slice.call(args); - if (!pkg) { - throw new Error('You need to instantiate using the "new" keyword.'); - } - // make property of pkg._provider, which can properly set providers - Object.defineProperty(pkg, 'currentProvider', { - get: function get() { - return pkg._provider; - }, - set: function set(value) { - return pkg.setProvider(value); - }, - enumerable: true, - configurable: true }); - - // inherit from parent package or create a new RequestManager - if (args[0] && args[0]._requestManager) { - pkg._requestManager = args[0]._requestManager; - } else - { - pkg._requestManager = new requestManager.Manager(args[0], args[1]); - } - // add givenProvider - pkg.givenProvider = requestManager.Manager.givenProvider; - pkg.providers = requestManager.Manager.providers; - pkg._provider = pkg._requestManager.provider; - // add SETPROVIDER function (don't overwrite if already existing) - if (!pkg.setProvider) { - pkg.setProvider = function (provider, net) { - pkg._requestManager.setProvider(provider, net); - pkg._provider = pkg._requestManager.provider; - return true; - }; - } - pkg.setRequestManager = function (manager) { - pkg._requestManager = manager; - pkg._provider = manager.provider; - }; - // attach batch request creation - pkg.BatchRequest = requestManager.BatchManager.bind(null, pkg._requestManager); - // attach extend function - pkg.extend = extend(pkg); -}; -var addProviders = function addProviders(pkg) { - pkg.givenProvider = requestManager.Manager.givenProvider; - pkg.providers = requestManager.Manager.providers; -}; -module.exports = { - packageInit: packageInit, - addProviders: addProviders }; +/***/ (function(module, exports) { -/***/ }), -/* 993 */ -/*!************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-requestmanager/lib/index.js ***! - \************************************************************************************************/ +eval("throw new Error(\"Module build failed (from ./node_modules/babel-loader/lib/index.js):\\nSyntaxError: C:\\\\Users\\\\Administrator\\\\Desktop\\\\bitcoo\\\\utils\\\\EthUtil.js: Unexpected token (15:0)\\n\\n 13 | \\n 14 | let eth = {\\n> 15 | <<<<<<< HEAD\\n | ^\\n 16 | \\t// //获取主币eth余额\\n 17 | \\tgetBalance: async function(address) {\\n 18 | \\t\\t web3 = new Web3(new Web3.providers.HttpProvider(systemConfiguration.constant.ethNode));\\n at Object._raise (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:746:17)\\n at Object.raiseWithData (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:739:17)\\n at Object.raise (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:733:17)\\n at Object.unexpected (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:8807:16)\\n at Object.parseIdentifierName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10823:18)\\n at Object.parseIdentifier (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10800:23)\\n at Object.parseMaybePrivateName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10157:19)\\n at Object.parsePropertyName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10624:126)\\n at Object.parseObjectMember (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10525:10)\\n at Object.parseObj (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10448:25)\\n at Object.parseExprAtom (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10055:28)\\n at Object.parseExprAtom (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:4638:20)\\n at Object.parseExprSubscripts (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9656:23)\\n at Object.parseMaybeUnary (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9636:21)\\n at Object.parseExprOps (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9506:23)\\n at Object.parseMaybeConditional (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9479:23)\");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiI5ODguanMiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///988\n"); + +/***/ }), +/* 989 */, +/* 990 */, +/* 991 */, +/* 992 */, +/* 993 */, +/* 994 */, +/* 995 */, +/* 996 */, +/* 997 */, +/* 998 */, +/* 999 */, +/* 1000 */, +/* 1001 */, +/* 1002 */, +/* 1003 */, +/* 1004 */, +/* 1005 */, +/* 1006 */, +/* 1007 */, +/* 1008 */, +/* 1009 */, +/* 1010 */, +/* 1011 */, +/* 1012 */, +/* 1013 */, +/* 1014 */, +/* 1015 */, +/* 1016 */, +/* 1017 */, +/* 1018 */, +/* 1019 */, +/* 1020 */, +/* 1021 */, +/* 1022 */, +/* 1023 */, +/* 1024 */, +/* 1025 */, +/* 1026 */, +/* 1027 */, +/* 1028 */, +/* 1029 */, +/* 1030 */, +/* 1031 */, +/* 1032 */, +/* 1033 */, +/* 1034 */, +/* 1035 */, +/* 1036 */, +/* 1037 */, +/* 1038 */, +/* 1039 */, +/* 1040 */, +/* 1041 */, +/* 1042 */, +/* 1043 */, +/* 1044 */, +/* 1045 */, +/* 1046 */, +/* 1047 */, +/* 1048 */, +/* 1049 */, +/* 1050 */, +/* 1051 */, +/* 1052 */, +/* 1053 */, +/* 1054 */, +/* 1055 */, +/* 1056 */, +/* 1057 */, +/* 1058 */, +/* 1059 */, +/* 1060 */, +/* 1061 */, +/* 1062 */, +/* 1063 */, +/* 1064 */, +/* 1065 */, +/* 1066 */, +/* 1067 */, +/* 1068 */, +/* 1069 */, +/* 1070 */, +/* 1071 */, +/* 1072 */, +/* 1073 */, +/* 1074 */, +/* 1075 */, +/* 1076 */, +/* 1077 */, +/* 1078 */, +/* 1079 */, +/* 1080 */, +/* 1081 */, +/* 1082 */, +/* 1083 */, +/* 1084 */, +/* 1085 */, +/* 1086 */, +/* 1087 */, +/* 1088 */, +/* 1089 */, +/* 1090 */, +/* 1091 */, +/* 1092 */, +/* 1093 */, +/* 1094 */, +/* 1095 */, +/* 1096 */, +/* 1097 */, +/* 1098 */, +/* 1099 */, +/* 1100 */, +/* 1101 */, +/* 1102 */, +/* 1103 */, +/* 1104 */, +/* 1105 */, +/* 1106 */, +/* 1107 */, +/* 1108 */, +/* 1109 */, +/* 1110 */, +/* 1111 */, +/* 1112 */, +/* 1113 */, +/* 1114 */, +/* 1115 */, +/* 1116 */, +/* 1117 */, +/* 1118 */, +/* 1119 */, +/* 1120 */, +/* 1121 */, +/* 1122 */, +/* 1123 */, +/* 1124 */, +/* 1125 */, +/* 1126 */, +/* 1127 */, +/* 1128 */, +/* 1129 */, +/* 1130 */, +/* 1131 */, +/* 1132 */, +/* 1133 */, +/* 1134 */, +/* 1135 */, +/* 1136 */, +/* 1137 */, +/* 1138 */, +/* 1139 */, +/* 1140 */, +/* 1141 */, +/* 1142 */, +/* 1143 */, +/* 1144 */, +/* 1145 */, +/* 1146 */, +/* 1147 */, +/* 1148 */, +/* 1149 */, +/* 1150 */, +/* 1151 */, +/* 1152 */, +/* 1153 */, +/* 1154 */, +/* 1155 */, +/* 1156 */, +/* 1157 */, +/* 1158 */, +/* 1159 */, +/* 1160 */, +/* 1161 */, +/* 1162 */, +/* 1163 */, +/* 1164 */, +/* 1165 */, +/* 1166 */, +/* 1167 */, +/* 1168 */, +/* 1169 */, +/* 1170 */, +/* 1171 */, +/* 1172 */, +/* 1173 */, +/* 1174 */, +/* 1175 */, +/* 1176 */, +/* 1177 */, +/* 1178 */, +/* 1179 */, +/* 1180 */, +/* 1181 */, +/* 1182 */, +/* 1183 */, +/* 1184 */, +/* 1185 */, +/* 1186 */, +/* 1187 */, +/* 1188 */, +/* 1189 */, +/* 1190 */, +/* 1191 */, +/* 1192 */, +/* 1193 */, +/* 1194 */, +/* 1195 */, +/* 1196 */, +/* 1197 */, +/* 1198 */, +/* 1199 */, +/* 1200 */, +/* 1201 */ +/*!*****************************************************************!*\ + !*** C:/Users/Administrator/Desktop/bitcoo/utils/locales/zh.js ***! + \*****************************************************************/ /*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * @author Fabian Vogelsteller - * @date 2017 - */ -var _require = -__webpack_require__(/*! util */ 451),callbackify = _require.callbackify; -var _ = __webpack_require__(/*! underscore */ 994); -var errors = __webpack_require__(/*! web3-core-helpers */ 995).errors; -var Jsonrpc = __webpack_require__(/*! ./jsonrpc.js */ 1008); -var BatchManager = __webpack_require__(/*! ./batch.js */ 1009); -var givenProvider = __webpack_require__(/*! ./givenProvider.js */ 1010); -/** - * It's responsible for passing messages to providers - * It's also responsible for polling the ethereum node for incoming messages - * Default poll timeout is 1 second - * Singleton - * - * @param {string|Object}provider - * @param {Net.Socket} net - * - * @constructor - */ -var RequestManager = function RequestManager(provider, net) { - this.provider = null; - this.providers = RequestManager.providers; - this.setProvider(provider, net); - this.subscriptions = new Map(); -}; -RequestManager.givenProvider = givenProvider; -RequestManager.providers = { - WebsocketProvider: __webpack_require__(/*! web3-providers-ws */ 1011), - HttpProvider: __webpack_require__(/*! web3-providers-http */ 1020), - IpcProvider: __webpack_require__(/*! web3-providers-ipc */ 1037) }; - -/** - * Should be used to set provider of request manager - * - * @method setProvider - * - * @param {Object} provider - * @param {net.Socket} net - * - * @returns void - */ -RequestManager.prototype.setProvider = function (provider, net) { - var _this = this; - // autodetect provider - if (provider && typeof provider === 'string' && this.providers) { - // HTTP - if (/^http(s)?:\/\//i.test(provider)) { - provider = new this.providers.HttpProvider(provider); - // WS - } else - if (/^ws(s)?:\/\//i.test(provider)) { - provider = new this.providers.WebsocketProvider(provider); - // IPC - } else - if (provider && typeof net === 'object' && typeof net.connect === 'function') { - provider = new this.providers.IpcProvider(provider, net); - } else - if (provider) { - throw new Error('Can\'t autodetect provider for "' + provider + '"'); - } - } - // reset the old one before changing, if still connected - if (this.provider && this.provider.connected) - this.clearSubscriptions(); - this.provider = provider || null; - // listen to incoming notifications - if (this.provider && this.provider.on) { - if (typeof provider.request === 'function') {// EIP-1193 provider - this.provider.on('message', function (payload) { - if (payload && payload.type === 'eth_subscription' && payload.data) { - var data = payload.data; - if (data.subscription && _this.subscriptions.has(data.subscription)) { - _this.subscriptions.get(data.subscription).callback(null, data.result); - } - } - }); - } else - {// legacy provider subscription event - this.provider.on('data', function data(result, deprecatedResult) { - result = result || deprecatedResult; // this is for possible old providers, which may had the error first handler - // if result is a subscription, call callback for that subscription - if (result.method && result.params && result.params.subscription && _this.subscriptions.has(result.params.subscription)) { - _this.subscriptions.get(result.params.subscription).callback(null, result.params.result); - } - }); - } - // resubscribe if the provider has reconnected - this.provider.on('connect', function connect() { - _this.subscriptions.forEach(function (subscription) { - subscription.subscription.resubscribe(); - }); - }); - // notify all subscriptions about the error condition - this.provider.on('error', function error(error) { - _this.subscriptions.forEach(function (subscription) { - subscription.callback(error); - }); - }); - // notify all subscriptions about bad close conditions - var disconnect = function disconnect(event) { - if (!_this._isCleanCloseEvent(event) || _this._isIpcCloseError(event)) { - _this.subscriptions.forEach(function (subscription) { - subscription.callback(errors.ConnectionCloseError(event)); - _this.subscriptions.delete(subscription.subscription.id); - }); - if (_this.provider && _this.provider.emit) { - _this.provider.emit('error', errors.ConnectionCloseError(event)); - } - } - if (_this.provider && _this.provider.emit) { - _this.provider.emit('end', event); - } - }; - // TODO: Remove close once the standard allows it - this.provider.on('close', disconnect); - this.provider.on('disconnect', disconnect); - // TODO add end, timeout?? - } -}; -/** - * Asynchronously send request to provider. - * Prefers to use the `request` method available on the provider as specified in [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193). - * If `request` is not available, falls back to `sendAsync` and `send` respectively. - * @method send - * @param {Object} data - * @param {Function} callback - */ -RequestManager.prototype.send = function (data, callback) { - callback = callback || function () {}; - if (!this.provider) { - return callback(errors.InvalidProvider()); - }var - method = data.method,params = data.params; - var jsonrpcPayload = Jsonrpc.toPayload(method, params); - var jsonrpcResultCallback = this._jsonrpcResultCallback(callback, jsonrpcPayload); - if (this.provider.request) { - var callbackRequest = callbackify(this.provider.request.bind(this.provider)); - var requestArgs = { method: method, params: params }; - callbackRequest(requestArgs, callback); - } else - if (this.provider.sendAsync) { - this.provider.sendAsync(jsonrpcPayload, jsonrpcResultCallback); - } else - if (this.provider.send) { - this.provider.send(jsonrpcPayload, jsonrpcResultCallback); - } else - { - throw new Error('Provider does not have a request or send method to use.'); - } -}; -/** - * Asynchronously send batch request. - * Only works if provider supports batch methods through `sendAsync` or `send`. - * @method sendBatch - * @param {Array} data - array of payload objects - * @param {Function} callback - */ -RequestManager.prototype.sendBatch = function (data, callback) { - if (!this.provider) { - return callback(errors.InvalidProvider()); - } - var payload = Jsonrpc.toBatchPayload(data); - this.provider[this.provider.sendAsync ? 'sendAsync' : 'send'](payload, function (err, results) { - if (err) { - return callback(err); - } - if (!_.isArray(results)) { - return callback(errors.InvalidResponse(results)); - } - callback(null, results); - }); -}; -/** - * Waits for notifications - * - * @method addSubscription - * @param {Subscription} subscription the subscription - * @param {String} type the subscription namespace (eth, personal, etc) - * @param {Function} callback the callback to call for incoming notifications - */ -RequestManager.prototype.addSubscription = function (subscription, callback) { - if (this.provider.on) { - this.subscriptions.set(subscription.id, { - callback: callback, - subscription: subscription }); +/***/ (function(module, exports) { - } else - { - throw new Error('The provider doesn\'t support subscriptions: ' + this.provider.constructor.name); - } -}; -/** - * Waits for notifications - * - * @method removeSubscription - * @param {String} id the subscription id - * @param {Function} callback fired once the subscription is removed - */ -RequestManager.prototype.removeSubscription = function (id, callback) { - if (this.subscriptions.has(id)) { - var type = this.subscriptions.get(id).subscription.options.type; - // remove subscription first to avoid reentry - this.subscriptions.delete(id); - // then, try to actually unsubscribe - this.send({ - method: type + '_unsubscribe', - params: [id] }, - callback); - return; - } - if (typeof callback === 'function') { - // call the callback if the subscription was already removed - callback(null); - } -}; -/** - * Should be called to reset the subscriptions - * - * @method reset - * - * @returns {boolean} - */ -RequestManager.prototype.clearSubscriptions = function (keepIsSyncing) { - try { - var _this = this; - // uninstall all subscriptions - if (this.subscriptions.size > 0) { - this.subscriptions.forEach(function (value, id) { - if (!keepIsSyncing || value.name !== 'syncing') - _this.removeSubscription(id); - }); - } - // reset notification callbacks etc. - if (this.provider.reset) - this.provider.reset(); - return true; - } - catch (e) { - throw new Error("Error while clearing subscriptions: ".concat(e)); - } -}; -/** - * Evaluates WS close event - * - * @method _isCleanClose - * - * @param {CloseEvent | boolean} event WS close event or exception flag - * - * @returns {boolean} - */ -RequestManager.prototype._isCleanCloseEvent = function (event) { - return typeof event === 'object' && ([1000].includes(event.code) || event.wasClean === true); -}; -/** - * Detects Ipc close error. The node.net module emits ('close', isException) - * - * @method _isIpcCloseError - * - * @param {CloseEvent | boolean} event WS close event or exception flag - * - * @returns {boolean} - */ -RequestManager.prototype._isIpcCloseError = function (event) { - return typeof event === 'boolean' && event; -}; -/** - * The jsonrpc result callback for RequestManager.send - * - * @method _jsonrpcResultCallback - * - * @param {Function} callback the callback to use - * @param {Object} payload the jsonrpc payload - * - * @returns {Function} return callback of form (err, result) - * - */ -RequestManager.prototype._jsonrpcResultCallback = function (callback, payload) { - return function (err, result) { - if (result && result.id && payload.id !== result.id) { - return callback(new Error("Wrong response id ".concat(result.id, " (expected: ").concat(payload.id, ") in ").concat(JSON.stringify(payload)))); - } - if (err) { - return callback(err); - } - if (result && result.error) { - return callback(errors.ErrorResponse(result)); - } - if (!Jsonrpc.isValidResponse(result)) { - return callback(errors.InvalidResponse(result)); - } - callback(null, result.result); - }; -}; -module.exports = { - Manager: RequestManager, - BatchManager: BatchManager }; +eval("throw new Error(\"Module build failed (from ./node_modules/babel-loader/lib/index.js):\\nSyntaxError: C:\\\\Users\\\\Administrator\\\\Desktop\\\\bitcoo\\\\utils\\\\locales\\\\zh.js: Unexpected token (141:0)\\n\\n 139 | \\t\\tReceivingaddress: '接收地址',\\n 140 | \\t\\tReceivingaddressError: '接收地址错误',\\n> 141 | <<<<<<< HEAD\\n | ^\\n 142 | \\t\\tScanQR: '扫描二维码转账至资产',\\n 143 | =======\\n 144 | \\t\\tScanQR: '扫描二维码以转移到资产',\\n at Object._raise (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:746:17)\\n at Object.raiseWithData (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:739:17)\\n at Object.raise (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:733:17)\\n at Object.unexpected (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:8807:16)\\n at Object.parseIdentifierName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10823:18)\\n at Object.parseIdentifier (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10800:23)\\n at Object.parseMaybePrivateName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10157:19)\\n at Object.parsePropertyName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10624:126)\\n at Object.parseObjectMember (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10525:10)\\n at Object.parseObj (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10448:25)\\n at Object.parseExprAtom (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10055:28)\\n at Object.parseExprAtom (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:4638:20)\\n at Object.parseExprSubscripts (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9656:23)\\n at Object.parseMaybeUnary (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9636:21)\\n at Object.parseExprOps (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9506:23)\\n at Object.parseMaybeConditional (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9479:23)\");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiIxMjAxLmpzIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///1201\n"); /***/ }), -/* 994 */ -/*!***********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/underscore/underscore.js ***! - \***********************************************************************************/ +/* 1202 */ +/*!*******************************************************************!*\ + !*** C:/Users/Administrator/Desktop/bitcoo/utils/locales/zh-F.js ***! + \*******************************************************************/ /*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(global, module) {var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// Underscore.js 1.9.1 -// http://underscorejs.org -// (c) 2009-2018 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors -// Underscore may be freely distributed under the MIT license. - -(function () { - - // Baseline setup - // -------------- - - // Establish the root object, `window` (`self`) in the browser, `global` - // on the server, or `this` in some virtual machines. We use `self` - // instead of `window` for `WebWorker` support. - var root = typeof self == 'object' && self.self === self && self || - typeof global == 'object' && global.global === global && global || - this || - {}; - - // Save the previous value of the `_` variable. - var previousUnderscore = root._; - - // Save bytes in the minified (but not gzipped) version: - var ArrayProto = Array.prototype,ObjProto = Object.prototype; - var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; - - // Create quick reference variables for speed access to core prototypes. - var push = ArrayProto.push, - slice = ArrayProto.slice, - toString = ObjProto.toString, - hasOwnProperty = ObjProto.hasOwnProperty; - - // All **ECMAScript 5** native function implementations that we hope to use - // are declared here. - var nativeIsArray = Array.isArray, - nativeKeys = Object.keys, - nativeCreate = Object.create; - - // Naked function reference for surrogate-prototype-swapping. - var Ctor = function Ctor() {}; - - // Create a safe reference to the Underscore object for use below. - var _ = function _(obj) { - if (obj instanceof _) return obj; - if (!(this instanceof _)) return new _(obj); - this._wrapped = obj; - }; - - // Export the Underscore object for **Node.js**, with - // backwards-compatibility for their old module API. If we're in - // the browser, add `_` as a global object. - // (`nodeType` is checked to ensure that `module` - // and `exports` are not HTML elements.) - if ( true && !exports.nodeType) { - if ( true && !module.nodeType && module.exports) { - exports = module.exports = _; - } - exports._ = _; - } else { - root._ = _; - } - - // Current version. - _.VERSION = '1.9.1'; - - // Internal function that returns an efficient (for current engines) version - // of the passed-in callback, to be repeatedly applied in other Underscore - // functions. - var optimizeCb = function optimizeCb(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1:return function (value) { - return func.call(context, value); - }; - // The 2-argument case is omitted because we’re not using it. - case 3:return function (value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4:return function (accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - };} - - return function () { - return func.apply(context, arguments); - }; - }; - - var builtinIteratee; - - // An internal function to generate callbacks that can be applied to each - // element in a collection, returning the desired result — either `identity`, - // an arbitrary callback, a property matcher, or a property accessor. - var cb = function cb(value, context, argCount) { - if (_.iteratee !== builtinIteratee) return _.iteratee(value, context); - if (value == null) return _.identity; - if (_.isFunction(value)) return optimizeCb(value, context, argCount); - if (_.isObject(value) && !_.isArray(value)) return _.matcher(value); - return _.property(value); - }; - - // External wrapper for our callback generator. Users may customize - // `_.iteratee` if they want additional predicate/iteratee shorthand styles. - // This abstraction hides the internal-only argCount argument. - _.iteratee = builtinIteratee = function builtinIteratee(value, context) { - return cb(value, context, Infinity); - }; - - // Some functions take a variable number of arguments, or a few expected - // arguments at the beginning and then a variable number of values to operate - // on. This helper accumulates all remaining arguments past the function’s - // argument length (or an explicit `startIndex`), into an array that becomes - // the last argument. Similar to ES6’s "rest parameter". - var restArguments = function restArguments(func, startIndex) { - startIndex = startIndex == null ? func.length - 1 : +startIndex; - return function () { - var length = Math.max(arguments.length - startIndex, 0), - rest = Array(length), - index = 0; - for (; index < length; index++) { - rest[index] = arguments[index + startIndex]; - } - switch (startIndex) { - case 0:return func.call(this, rest); - case 1:return func.call(this, arguments[0], rest); - case 2:return func.call(this, arguments[0], arguments[1], rest);} - - var args = Array(startIndex + 1); - for (index = 0; index < startIndex; index++) { - args[index] = arguments[index]; - } - args[startIndex] = rest; - return func.apply(this, args); - }; - }; - - // An internal function for creating a new object that inherits from another. - var baseCreate = function baseCreate(prototype) { - if (!_.isObject(prototype)) return {}; - if (nativeCreate) return nativeCreate(prototype); - Ctor.prototype = prototype; - var result = new Ctor(); - Ctor.prototype = null; - return result; - }; - - var shallowProperty = function shallowProperty(key) { - return function (obj) { - return obj == null ? void 0 : obj[key]; - }; - }; - - var has = function has(obj, path) { - return obj != null && hasOwnProperty.call(obj, path); - }; - - var deepGet = function deepGet(obj, path) { - var length = path.length; - for (var i = 0; i < length; i++) { - if (obj == null) return void 0; - obj = obj[path[i]]; - } - return length ? obj : void 0; - }; - - // Helper for collection methods to determine whether a collection - // should be iterated as an array or as an object. - // Related: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength - // Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094 - var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; - var getLength = shallowProperty('length'); - var isArrayLike = function isArrayLike(collection) { - var length = getLength(collection); - return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX; - }; - - // Collection Functions - // -------------------- - - // The cornerstone, an `each` implementation, aka `forEach`. - // Handles raw objects in addition to array-likes. Treats all - // sparse array-likes as if they were dense. - _.each = _.forEach = function (obj, iteratee, context) { - iteratee = optimizeCb(iteratee, context); - var i, length; - if (isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var keys = _.keys(obj); - for (i = 0, length = keys.length; i < length; i++) { - iteratee(obj[keys[i]], keys[i], obj); - } - } - return obj; - }; - - // Return the results of applying the iteratee to each element. - _.map = _.collect = function (obj, iteratee, context) { - iteratee = cb(iteratee, context); - var keys = !isArrayLike(obj) && _.keys(obj), - length = (keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = keys ? keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - }; - - // Create a reducing function iterating left or right. - var createReduce = function createReduce(dir) { - // Wrap code that reassigns argument variables in a separate function than - // the one that accesses `arguments.length` to avoid a perf hit. (#1991) - var reducer = function reducer(obj, iteratee, memo, initial) { - var keys = !isArrayLike(obj) && _.keys(obj), - length = (keys || obj).length, - index = dir > 0 ? 0 : length - 1; - if (!initial) { - memo = obj[keys ? keys[index] : index]; - index += dir; - } - for (; index >= 0 && index < length; index += dir) { - var currentKey = keys ? keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - }; - - return function (obj, iteratee, memo, context) { - var initial = arguments.length >= 3; - return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial); - }; - }; - - // **Reduce** builds up a single result from a list of values, aka `inject`, - // or `foldl`. - _.reduce = _.foldl = _.inject = createReduce(1); - - // The right-associative version of reduce, also known as `foldr`. - _.reduceRight = _.foldr = createReduce(-1); - - // Return the first value which passes a truth test. Aliased as `detect`. - _.find = _.detect = function (obj, predicate, context) { - var keyFinder = isArrayLike(obj) ? _.findIndex : _.findKey; - var key = keyFinder(obj, predicate, context); - if (key !== void 0 && key !== -1) return obj[key]; - }; - - // Return all the elements that pass a truth test. - // Aliased as `select`. - _.filter = _.select = function (obj, predicate, context) { - var results = []; - predicate = cb(predicate, context); - _.each(obj, function (value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; - }; - - // Return all the elements for which a truth test fails. - _.reject = function (obj, predicate, context) { - return _.filter(obj, _.negate(cb(predicate)), context); - }; - - // Determine whether all of the elements match a truth test. - // Aliased as `all`. - _.every = _.all = function (obj, predicate, context) { - predicate = cb(predicate, context); - var keys = !isArrayLike(obj) && _.keys(obj), - length = (keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = keys ? keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; - } - return true; - }; +/***/ (function(module, exports) { - // Determine if at least one element in the object matches a truth test. - // Aliased as `any`. - _.some = _.any = function (obj, predicate, context) { - predicate = cb(predicate, context); - var keys = !isArrayLike(obj) && _.keys(obj), - length = (keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = keys ? keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; - }; - - // Determine if the array or object contains a given item (using `===`). - // Aliased as `includes` and `include`. - _.contains = _.includes = _.include = function (obj, item, fromIndex, guard) { - if (!isArrayLike(obj)) obj = _.values(obj); - if (typeof fromIndex != 'number' || guard) fromIndex = 0; - return _.indexOf(obj, item, fromIndex) >= 0; - }; - - // Invoke a method (with arguments) on every item in a collection. - _.invoke = restArguments(function (obj, path, args) { - var contextPath, func; - if (_.isFunction(path)) { - func = path; - } else if (_.isArray(path)) { - contextPath = path.slice(0, -1); - path = path[path.length - 1]; - } - return _.map(obj, function (context) { - var method = func; - if (!method) { - if (contextPath && contextPath.length) { - context = deepGet(context, contextPath); - } - if (context == null) return void 0; - method = context[path]; - } - return method == null ? method : method.apply(context, args); - }); - }); - - // Convenience version of a common use case of `map`: fetching a property. - _.pluck = function (obj, key) { - return _.map(obj, _.property(key)); - }; - - // Convenience version of a common use case of `filter`: selecting only objects - // containing specific `key:value` pairs. - _.where = function (obj, attrs) { - return _.filter(obj, _.matcher(attrs)); - }; - - // Convenience version of a common use case of `find`: getting the first object - // containing specific `key:value` pairs. - _.findWhere = function (obj, attrs) { - return _.find(obj, _.matcher(attrs)); - }; - - // Return the maximum element (or element-based computation). - _.max = function (obj, iteratee, context) { - var result = -Infinity,lastComputed = -Infinity, - value,computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : _.values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value > result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - _.each(obj, function (v, index, list) { - computed = iteratee(v, index, list); - if (computed > lastComputed || computed === -Infinity && result === -Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; - }; - - // Return the minimum element (or element-based computation). - _.min = function (obj, iteratee, context) { - var result = Infinity,lastComputed = Infinity, - value,computed; - if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) { - obj = isArrayLike(obj) ? obj : _.values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value < result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - _.each(obj, function (v, index, list) { - computed = iteratee(v, index, list); - if (computed < lastComputed || computed === Infinity && result === Infinity) { - result = v; - lastComputed = computed; - } - }); - } - return result; - }; - - // Shuffle a collection. - _.shuffle = function (obj) { - return _.sample(obj, Infinity); - }; - - // Sample **n** random values from a collection using the modern version of the - // [Fisher-Yates shuffle](http://en.wikipedia.org/wiki/Fisher–Yates_shuffle). - // If **n** is not specified, returns a single random element. - // The internal `guard` argument allows it to work with `map`. - _.sample = function (obj, n, guard) { - if (n == null || guard) { - if (!isArrayLike(obj)) obj = _.values(obj); - return obj[_.random(obj.length - 1)]; - } - var sample = isArrayLike(obj) ? _.clone(obj) : _.values(obj); - var length = getLength(sample); - n = Math.max(Math.min(n, length), 0); - var last = length - 1; - for (var index = 0; index < n; index++) { - var rand = _.random(index, last); - var temp = sample[index]; - sample[index] = sample[rand]; - sample[rand] = temp; - } - return sample.slice(0, n); - }; - - // Sort the object's values by a criterion produced by an iteratee. - _.sortBy = function (obj, iteratee, context) { - var index = 0; - iteratee = cb(iteratee, context); - return _.pluck(_.map(obj, function (value, key, list) { - return { - value: value, - index: index++, - criteria: iteratee(value, key, list) }; - - }).sort(function (left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); - }; - - // An internal function used for aggregate "group by" operations. - var group = function group(behavior, partition) { - return function (obj, iteratee, context) { - var result = partition ? [[], []] : {}; - iteratee = cb(iteratee, context); - _.each(obj, function (value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; - }; - - // Groups the object's values by a criterion. Pass either a string attribute - // to group by, or a function that returns the criterion. - _.groupBy = group(function (result, value, key) { - if (has(result, key)) result[key].push(value);else result[key] = [value]; - }); - - // Indexes the object's values by a criterion, similar to `groupBy`, but for - // when you know that your index values will be unique. - _.indexBy = group(function (result, value, key) { - result[key] = value; - }); - - // Counts instances of an object that group by a certain criterion. Pass - // either a string attribute to count by, or a function that returns the - // criterion. - _.countBy = group(function (result, value, key) { - if (has(result, key)) result[key]++;else result[key] = 1; - }); - - var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; - // Safely create a real, live array from anything iterable. - _.toArray = function (obj) { - if (!obj) return []; - if (_.isArray(obj)) return slice.call(obj); - if (_.isString(obj)) { - // Keep surrogate pair characters together - return obj.match(reStrSymbol); - } - if (isArrayLike(obj)) return _.map(obj, _.identity); - return _.values(obj); - }; - - // Return the number of elements in an object. - _.size = function (obj) { - if (obj == null) return 0; - return isArrayLike(obj) ? obj.length : _.keys(obj).length; - }; - - // Split a collection into two arrays: one whose elements all satisfy the given - // predicate, and one whose elements all do not satisfy the predicate. - _.partition = group(function (result, value, pass) { - result[pass ? 0 : 1].push(value); - }, true); - - // Array Functions - // --------------- - - // Get the first element of an array. Passing **n** will return the first N - // values in the array. Aliased as `head` and `take`. The **guard** check - // allows it to work with `_.map`. - _.first = _.head = _.take = function (array, n, guard) { - if (array == null || array.length < 1) return n == null ? void 0 : []; - if (n == null || guard) return array[0]; - return _.initial(array, array.length - n); - }; - - // Returns everything but the last entry of the array. Especially useful on - // the arguments object. Passing **n** will return all the values in - // the array, excluding the last N. - _.initial = function (array, n, guard) { - return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); - }; - - // Get the last element of an array. Passing **n** will return the last N - // values in the array. - _.last = function (array, n, guard) { - if (array == null || array.length < 1) return n == null ? void 0 : []; - if (n == null || guard) return array[array.length - 1]; - return _.rest(array, Math.max(0, array.length - n)); - }; - - // Returns everything but the first entry of the array. Aliased as `tail` and `drop`. - // Especially useful on the arguments object. Passing an **n** will return - // the rest N values in the array. - _.rest = _.tail = _.drop = function (array, n, guard) { - return slice.call(array, n == null || guard ? 1 : n); - }; - - // Trim out all falsy values from an array. - _.compact = function (array) { - return _.filter(array, Boolean); - }; - - // Internal implementation of a recursive `flatten` function. - var flatten = function flatten(input, shallow, strict, output) { - output = output || []; - var idx = output.length; - for (var i = 0, length = getLength(input); i < length; i++) { - var value = input[i]; - if (isArrayLike(value) && (_.isArray(value) || _.isArguments(value))) { - // Flatten current level of array or arguments object. - if (shallow) { - var j = 0,len = value.length; - while (j < len) {output[idx++] = value[j++];} - } else { - flatten(value, shallow, strict, output); - idx = output.length; - } - } else if (!strict) { - output[idx++] = value; - } - } - return output; - }; - - // Flatten out an array, either recursively (by default), or just one level. - _.flatten = function (array, shallow) { - return flatten(array, shallow, false); - }; - - // Return a version of the array that does not contain the specified value(s). - _.without = restArguments(function (array, otherArrays) { - return _.difference(array, otherArrays); - }); - - // Produce a duplicate-free version of the array. If the array has already - // been sorted, you have the option of using a faster algorithm. - // The faster algorithm will not work with an iteratee if the iteratee - // is not a one-to-one function, so providing an iteratee will disable - // the faster algorithm. - // Aliased as `unique`. - _.uniq = _.unique = function (array, isSorted, iteratee, context) { - if (!_.isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = getLength(array); i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted && !iteratee) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!_.contains(seen, computed)) { - seen.push(computed); - result.push(value); - } - } else if (!_.contains(result, value)) { - result.push(value); - } - } - return result; - }; - - // Produce an array that contains the union: each distinct element from all of - // the passed-in arrays. - _.union = restArguments(function (arrays) { - return _.uniq(flatten(arrays, true, true)); - }); - - // Produce an array that contains every item shared between all the - // passed-in arrays. - _.intersection = function (array) { - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = getLength(array); i < length; i++) { - var item = array[i]; - if (_.contains(result, item)) continue; - var j; - for (j = 1; j < argsLength; j++) { - if (!_.contains(arguments[j], item)) break; - } - if (j === argsLength) result.push(item); - } - return result; - }; - - // Take the difference between one array and a number of other arrays. - // Only the elements present in just the first array will remain. - _.difference = restArguments(function (array, rest) { - rest = flatten(rest, true, true); - return _.filter(array, function (value) { - return !_.contains(rest, value); - }); - }); - - // Complement of _.zip. Unzip accepts an array of arrays and groups - // each array's elements on shared indices. - _.unzip = function (array) { - var length = array && _.max(array, getLength).length || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = _.pluck(array, index); - } - return result; - }; - - // Zip together multiple lists into a single array -- elements that share - // an index go together. - _.zip = restArguments(_.unzip); - - // Converts lists into objects. Pass either a single array of `[key, value]` - // pairs, or two parallel arrays of the same length -- one of keys, and one of - // the corresponding values. Passing by pairs is the reverse of _.pairs. - _.object = function (list, values) { - var result = {}; - for (var i = 0, length = getLength(list); i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } - } - return result; - }; - - // Generator function to create the findIndex and findLastIndex functions. - var createPredicateIndexFinder = function createPredicateIndexFinder(dir) { - return function (array, predicate, context) { - predicate = cb(predicate, context); - var length = getLength(array); - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; - } - return -1; - }; - }; - - // Returns the first index on an array-like that passes a predicate test. - _.findIndex = createPredicateIndexFinder(1); - _.findLastIndex = createPredicateIndexFinder(-1); - - // Use a comparator function to figure out the smallest index at which - // an object should be inserted so as to maintain order. Uses binary search. - _.sortedIndex = function (array, obj, iteratee, context) { - iteratee = cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0,high = getLength(array); - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1;else high = mid; - } - return low; - }; - - // Generator function to create the indexOf and lastIndexOf functions. - var createIndexFinder = function createIndexFinder(dir, predicateFind, sortedIndex) { - return function (array, item, idx) { - var i = 0,length = getLength(array); - if (typeof idx == 'number') { - if (dir > 0) { - i = idx >= 0 ? idx : Math.max(idx + length, i); - } else { - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; - } - } else if (sortedIndex && idx && length) { - idx = sortedIndex(array, item); - return array[idx] === item ? idx : -1; - } - if (item !== item) { - idx = predicateFind(slice.call(array, i, length), _.isNaN); - return idx >= 0 ? idx + i : -1; - } - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { - if (array[idx] === item) return idx; - } - return -1; - }; - }; - - // Return the position of the first occurrence of an item in an array, - // or -1 if the item is not included in the array. - // If the array is large and already in sort order, pass `true` - // for **isSorted** to use binary search. - _.indexOf = createIndexFinder(1, _.findIndex, _.sortedIndex); - _.lastIndexOf = createIndexFinder(-1, _.findLastIndex); - - // Generate an integer Array containing an arithmetic progression. A port of - // the native Python `range()` function. See - // [the Python documentation](http://docs.python.org/library/functions.html#range). - _.range = function (start, stop, step) { - if (stop == null) { - stop = start || 0; - start = 0; - } - if (!step) { - step = stop < start ? -1 : 1; - } - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; - } - - return range; - }; - - // Chunk a single array into multiple arrays, each containing `count` or fewer - // items. - _.chunk = function (array, count) { - if (count == null || count < 1) return []; - var result = []; - var i = 0,length = array.length; - while (i < length) { - result.push(slice.call(array, i, i += count)); - } - return result; - }; - - // Function (ahem) Functions - // ------------------ - - // Determines whether to execute a function as a constructor - // or a normal function with the provided arguments. - var executeBound = function executeBound(sourceFunc, boundFunc, context, callingContext, args) { - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); - var self = baseCreate(sourceFunc.prototype); - var result = sourceFunc.apply(self, args); - if (_.isObject(result)) return result; - return self; - }; - - // Create a function bound to a given object (assigning `this`, and arguments, - // optionally). Delegates to **ECMAScript 5**'s native `Function.bind` if - // available. - _.bind = restArguments(function (func, context, args) { - if (!_.isFunction(func)) throw new TypeError('Bind must be called on a function'); - var bound = restArguments(function (callArgs) { - return executeBound(func, bound, context, this, args.concat(callArgs)); - }); - return bound; - }); - - // Partially apply a function by creating a version that has had some of its - // arguments pre-filled, without changing its dynamic `this` context. _ acts - // as a placeholder by default, allowing any combination of arguments to be - // pre-filled. Set `_.partial.placeholder` for a custom placeholder argument. - _.partial = restArguments(function (func, boundArgs) { - var placeholder = _.partial.placeholder; - var bound = function bound() { - var position = 0,length = boundArgs.length; - var args = Array(length); - for (var i = 0; i < length; i++) { - args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i]; - } - while (position < arguments.length) {args.push(arguments[position++]);} - return executeBound(func, bound, this, this, args); - }; - return bound; - }); - - _.partial.placeholder = _; - - // Bind a number of an object's methods to that object. Remaining arguments - // are the method names to be bound. Useful for ensuring that all callbacks - // defined on an object belong to it. - _.bindAll = restArguments(function (obj, keys) { - keys = flatten(keys, false, false); - var index = keys.length; - if (index < 1) throw new Error('bindAll must be passed function names'); - while (index--) { - var key = keys[index]; - obj[key] = _.bind(obj[key], obj); - } - }); - - // Memoize an expensive function by storing its results. - _.memoize = function (func, hasher) { - var memoize = function memoize(key) { - var cache = memoize.cache; - var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!has(cache, address)) cache[address] = func.apply(this, arguments); - return cache[address]; - }; - memoize.cache = {}; - return memoize; - }; - - // Delays a function for the given number of milliseconds, and then calls - // it with the arguments supplied. - _.delay = restArguments(function (func, wait, args) { - return setTimeout(function () { - return func.apply(null, args); - }, wait); - }); - - // Defers a function, scheduling it to run after the current call stack has - // cleared. - _.defer = _.partial(_.delay, _, 1); - - // Returns a function, that, when invoked, will only be triggered at most once - // during a given window of time. Normally, the throttled function will run - // as much as it can, without ever going more than once per `wait` duration; - // but if you'd like to disable the execution on the leading edge, pass - // `{leading: false}`. To disable execution on the trailing edge, ditto. - _.throttle = function (func, wait, options) { - var timeout, context, args, result; - var previous = 0; - if (!options) options = {}; - - var later = function later() { - previous = options.leading === false ? 0 : _.now(); - timeout = null; - result = func.apply(context, args); - if (!timeout) context = args = null; - }; - - var throttled = function throttled() { - var now = _.now(); - if (!previous && options.leading === false) previous = now; - var remaining = wait - (now - previous); - context = this; - args = arguments; - if (remaining <= 0 || remaining > wait) { - if (timeout) { - clearTimeout(timeout); - timeout = null; - } - previous = now; - result = func.apply(context, args); - if (!timeout) context = args = null; - } else if (!timeout && options.trailing !== false) { - timeout = setTimeout(later, remaining); - } - return result; - }; - - throttled.cancel = function () { - clearTimeout(timeout); - previous = 0; - timeout = context = args = null; - }; - - return throttled; - }; - - // Returns a function, that, as long as it continues to be invoked, will not - // be triggered. The function will be called after it stops being called for - // N milliseconds. If `immediate` is passed, trigger the function on the - // leading edge, instead of the trailing. - _.debounce = function (func, wait, immediate) { - var timeout, result; - - var later = function later(context, args) { - timeout = null; - if (args) result = func.apply(context, args); - }; - - var debounced = restArguments(function (args) { - if (timeout) clearTimeout(timeout); - if (immediate) { - var callNow = !timeout; - timeout = setTimeout(later, wait); - if (callNow) result = func.apply(this, args); - } else { - timeout = _.delay(later, wait, this, args); - } - - return result; - }); - - debounced.cancel = function () { - clearTimeout(timeout); - timeout = null; - }; - - return debounced; - }; - - // Returns the first function passed as an argument to the second, - // allowing you to adjust arguments, run code before and after, and - // conditionally execute the original function. - _.wrap = function (func, wrapper) { - return _.partial(wrapper, func); - }; - - // Returns a negated version of the passed-in predicate. - _.negate = function (predicate) { - return function () { - return !predicate.apply(this, arguments); - }; - }; - - // Returns a function that is the composition of a list of functions, each - // consuming the return value of the function that follows. - _.compose = function () { - var args = arguments; - var start = args.length - 1; - return function () { - var i = start; - var result = args[start].apply(this, arguments); - while (i--) {result = args[i].call(this, result);} - return result; - }; - }; - - // Returns a function that will only be executed on and after the Nth call. - _.after = function (times, func) { - return function () { - if (--times < 1) { - return func.apply(this, arguments); - } - }; - }; - - // Returns a function that will only be executed up to (but not including) the Nth call. - _.before = function (times, func) { - var memo; - return function () { - if (--times > 0) { - memo = func.apply(this, arguments); - } - if (times <= 1) func = null; - return memo; - }; - }; - - // Returns a function that will be executed at most one time, no matter how - // often you call it. Useful for lazy initialization. - _.once = _.partial(_.before, 2); - - _.restArguments = restArguments; - - // Object Functions - // ---------------- - - // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. - var hasEnumBug = !{ toString: null }.propertyIsEnumerable('toString'); - var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - - var collectNonEnumProps = function collectNonEnumProps(obj, keys) { - var nonEnumIdx = nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = _.isFunction(constructor) && constructor.prototype || ObjProto; - - // Constructor is a special case. - var prop = 'constructor'; - if (has(obj, prop) && !_.contains(keys, prop)) keys.push(prop); - - while (nonEnumIdx--) { - prop = nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !_.contains(keys, prop)) { - keys.push(prop); - } - } - }; - - // Retrieve the names of an object's own properties. - // Delegates to **ECMAScript 5**'s native `Object.keys`. - _.keys = function (obj) { - if (!_.isObject(obj)) return []; - if (nativeKeys) return nativeKeys(obj); - var keys = []; - for (var key in obj) {if (has(obj, key)) keys.push(key);} - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; - }; - - // Retrieve all the property names of an object. - _.allKeys = function (obj) { - if (!_.isObject(obj)) return []; - var keys = []; - for (var key in obj) {keys.push(key);} - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; - }; - - // Retrieve the values of an object's properties. - _.values = function (obj) { - var keys = _.keys(obj); - var length = keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[keys[i]]; - } - return values; - }; - - // Returns the results of applying the iteratee to each element of the object. - // In contrast to _.map it returns an object. - _.mapObject = function (obj, iteratee, context) { - iteratee = cb(iteratee, context); - var keys = _.keys(obj), - length = keys.length, - results = {}; - for (var index = 0; index < length; index++) { - var currentKey = keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - }; - - // Convert an object into a list of `[key, value]` pairs. - // The opposite of _.object. - _.pairs = function (obj) { - var keys = _.keys(obj); - var length = keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [keys[i], obj[keys[i]]]; - } - return pairs; - }; - - // Invert the keys and values of an object. The values must be serializable. - _.invert = function (obj) { - var result = {}; - var keys = _.keys(obj); - for (var i = 0, length = keys.length; i < length; i++) { - result[obj[keys[i]]] = keys[i]; - } - return result; - }; - - // Return a sorted list of the function names available on the object. - // Aliased as `methods`. - _.functions = _.methods = function (obj) { - var names = []; - for (var key in obj) { - if (_.isFunction(obj[key])) names.push(key); - } - return names.sort(); - }; - - // An internal function for creating assigner functions. - var createAssigner = function createAssigner(keysFunc, defaults) { - return function (obj) { - var length = arguments.length; - if (defaults) obj = Object(obj); - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - keys = keysFunc(source), - l = keys.length; - for (var i = 0; i < l; i++) { - var key = keys[i]; - if (!defaults || obj[key] === void 0) obj[key] = source[key]; - } - } - return obj; - }; - }; - - // Extend a given object with all the properties in passed-in object(s). - _.extend = createAssigner(_.allKeys); - - // Assigns a given object with all the own properties in the passed-in object(s). - // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) - _.extendOwn = _.assign = createAssigner(_.keys); - - // Returns the first key on an object that passes a predicate test. - _.findKey = function (obj, predicate, context) { - predicate = cb(predicate, context); - var keys = _.keys(obj),key; - for (var i = 0, length = keys.length; i < length; i++) { - key = keys[i]; - if (predicate(obj[key], key, obj)) return key; - } - }; - - // Internal pick helper function to determine if `obj` has key `key`. - var keyInObj = function keyInObj(value, key, obj) { - return key in obj; - }; - - // Return a copy of the object only containing the whitelisted properties. - _.pick = restArguments(function (obj, keys) { - var result = {},iteratee = keys[0]; - if (obj == null) return result; - if (_.isFunction(iteratee)) { - if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]); - keys = _.allKeys(obj); - } else { - iteratee = keyInObj; - keys = flatten(keys, false, false); - obj = Object(obj); - } - for (var i = 0, length = keys.length; i < length; i++) { - var key = keys[i]; - var value = obj[key]; - if (iteratee(value, key, obj)) result[key] = value; - } - return result; - }); - - // Return a copy of the object without the blacklisted properties. - _.omit = restArguments(function (obj, keys) { - var iteratee = keys[0],context; - if (_.isFunction(iteratee)) { - iteratee = _.negate(iteratee); - if (keys.length > 1) context = keys[1]; - } else { - keys = _.map(flatten(keys, false, false), String); - iteratee = function iteratee(value, key) { - return !_.contains(keys, key); - }; - } - return _.pick(obj, iteratee, context); - }); - - // Fill in a given object with default properties. - _.defaults = createAssigner(_.allKeys, true); - - // Creates an object that inherits from the given prototype object. - // If additional properties are provided then they will be added to the - // created object. - _.create = function (prototype, props) { - var result = baseCreate(prototype); - if (props) _.extendOwn(result, props); - return result; - }; - - // Create a (shallow-cloned) duplicate of an object. - _.clone = function (obj) { - if (!_.isObject(obj)) return obj; - return _.isArray(obj) ? obj.slice() : _.extend({}, obj); - }; - - // Invokes interceptor with the obj, and then returns obj. - // The primary purpose of this method is to "tap into" a method chain, in - // order to perform operations on intermediate results within the chain. - _.tap = function (obj, interceptor) { - interceptor(obj); - return obj; - }; - - // Returns whether an object has a given set of `key:value` pairs. - _.isMatch = function (object, attrs) { - var keys = _.keys(attrs),length = keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; - }; - - - // Internal recursive comparison function for `isEqual`. - var eq, deepEq; - eq = function eq(a, b, aStack, bStack) { - // Identical objects are equal. `0 === -0`, but they aren't identical. - // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal). - if (a === b) return a !== 0 || 1 / a === 1 / b; - // `null` or `undefined` only equal to itself (strict comparison). - if (a == null || b == null) return false; - // `NaN`s are equivalent, but non-reflexive. - if (a !== a) return b !== b; - // Exhaust primitive checks - var type = typeof a; - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; - return deepEq(a, b, aStack, bStack); - }; - - // Internal recursive comparison function for `isEqual`. - deepEq = function deepEq(a, b, aStack, bStack) { - // Unwrap any wrapped objects. - if (a instanceof _) a = a._wrapped; - if (b instanceof _) b = b._wrapped; - // Compare `[[Class]]` names. - var className = toString.call(a); - if (className !== toString.call(b)) return false; - switch (className) { - // Strings, numbers, regular expressions, dates, and booleans are compared by value. - case '[object RegExp]': - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') - case '[object String]': - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is - // equivalent to `new String("5")`. - return '' + a === '' + b; - case '[object Number]': - // `NaN`s are equivalent, but non-reflexive. - // Object(NaN) is equivalent to NaN. - if (+a !== +a) return +b !== +b; - // An `egal` comparison is performed for other numeric values. - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - // Coerce dates and booleans to numeric primitive values. Dates are compared by their - // millisecond representations. Note that invalid dates with millisecond representations - // of `NaN` are not equivalent. - return +a === +b; - case '[object Symbol]': - return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b);} - - - var areArrays = className === '[object Array]'; - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - - // Objects with different constructors are not equivalent, but `Object`s or `Array`s - // from different frames are. - var aCtor = a.constructor,bCtor = b.constructor; - if (aCtor !== bCtor && !(_.isFunction(aCtor) && aCtor instanceof aCtor && - _.isFunction(bCtor) && bCtor instanceof bCtor) && - 'constructor' in a && 'constructor' in b) { - return false; - } - } - // Assume equality for cyclic structures. The algorithm for detecting cyclic - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. - - // Initializing stack of traversed objects. - // It's done here since we only need them for objects and arrays comparison. - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - // Linear search. Performance is inversely proportional to the number of - // unique nested structures. - if (aStack[length] === a) return bStack[length] === b; - } - - // Add the first object to the stack of traversed objects. - aStack.push(a); - bStack.push(b); - - // Recursively compare objects and arrays. - if (areArrays) { - // Compare array lengths to determine if a deep comparison is necessary. - length = a.length; - if (length !== b.length) return false; - // Deep compare the contents, ignoring non-numeric properties. - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - // Deep compare objects. - var keys = _.keys(a),key; - length = keys.length; - // Ensure that both objects contain the same number of properties before comparing deep equality. - if (_.keys(b).length !== length) return false; - while (length--) { - // Deep compare each member - key = keys[length]; - if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - // Remove the first object from the stack of traversed objects. - aStack.pop(); - bStack.pop(); - return true; - }; - - // Perform a deep comparison to check if two objects are equal. - _.isEqual = function (a, b) { - return eq(a, b); - }; - - // Is a given array, string, or object empty? - // An "empty" object has no enumerable own-properties. - _.isEmpty = function (obj) { - if (obj == null) return true; - if (isArrayLike(obj) && (_.isArray(obj) || _.isString(obj) || _.isArguments(obj))) return obj.length === 0; - return _.keys(obj).length === 0; - }; - - // Is a given value a DOM element? - _.isElement = function (obj) { - return !!(obj && obj.nodeType === 1); - }; - - // Is a given value an array? - // Delegates to ECMA5's native Array.isArray - _.isArray = nativeIsArray || function (obj) { - return toString.call(obj) === '[object Array]'; - }; - - // Is a given variable an object? - _.isObject = function (obj) { - var type = typeof obj; - return type === 'function' || type === 'object' && !!obj; - }; - - // Add some isType methods: isArguments, isFunction, isString, isNumber, isDate, isRegExp, isError, isMap, isWeakMap, isSet, isWeakSet. - _.each(['Arguments', 'Function', 'String', 'Number', 'Date', 'RegExp', 'Error', 'Symbol', 'Map', 'WeakMap', 'Set', 'WeakSet'], function (name) { - _['is' + name] = function (obj) { - return toString.call(obj) === '[object ' + name + ']'; - }; - }); - - // Define a fallback version of the method in browsers (ahem, IE < 9), where - // there isn't any inspectable "Arguments" type. - if (!_.isArguments(arguments)) { - _.isArguments = function (obj) { - return has(obj, 'callee'); - }; - } - - // Optimize `isFunction` if appropriate. Work around some typeof bugs in old v8, - // IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236). - var nodelist = root.document && root.document.childNodes; - if ( true && typeof Int8Array != 'object' && typeof nodelist != 'function') { - _.isFunction = function (obj) { - return typeof obj == 'function' || false; - }; - } - - // Is a given object a finite number? - _.isFinite = function (obj) { - return !_.isSymbol(obj) && isFinite(obj) && !isNaN(parseFloat(obj)); - }; - - // Is the given value `NaN`? - _.isNaN = function (obj) { - return _.isNumber(obj) && isNaN(obj); - }; - - // Is a given value a boolean? - _.isBoolean = function (obj) { - return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; - }; - - // Is a given value equal to null? - _.isNull = function (obj) { - return obj === null; - }; - - // Is a given variable undefined? - _.isUndefined = function (obj) { - return obj === void 0; - }; - - // Shortcut function for checking if an object has a given property directly - // on itself (in other words, not on a prototype). - _.has = function (obj, path) { - if (!_.isArray(path)) { - return has(obj, path); - } - var length = path.length; - for (var i = 0; i < length; i++) { - var key = path[i]; - if (obj == null || !hasOwnProperty.call(obj, key)) { - return false; - } - obj = obj[key]; - } - return !!length; - }; - - // Utility Functions - // ----------------- - - // Run Underscore.js in *noConflict* mode, returning the `_` variable to its - // previous owner. Returns a reference to the Underscore object. - _.noConflict = function () { - root._ = previousUnderscore; - return this; - }; - - // Keep the identity function around for default iteratees. - _.identity = function (value) { - return value; - }; - - // Predicate-generating functions. Often useful outside of Underscore. - _.constant = function (value) { - return function () { - return value; - }; - }; - - _.noop = function () {}; - - // Creates a function that, when passed an object, will traverse that object’s - // properties down the given `path`, specified as an array of keys or indexes. - _.property = function (path) { - if (!_.isArray(path)) { - return shallowProperty(path); - } - return function (obj) { - return deepGet(obj, path); - }; - }; - - // Generates a function for a given object that returns a given property. - _.propertyOf = function (obj) { - if (obj == null) { - return function () {}; - } - return function (path) { - return !_.isArray(path) ? obj[path] : deepGet(obj, path); - }; - }; - - // Returns a predicate for checking whether an object has a given set of - // `key:value` pairs. - _.matcher = _.matches = function (attrs) { - attrs = _.extendOwn({}, attrs); - return function (obj) { - return _.isMatch(obj, attrs); - }; - }; - - // Run a function **n** times. - _.times = function (n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) {accum[i] = iteratee(i);} - return accum; - }; - - // Return a random integer between min and max (inclusive). - _.random = function (min, max) { - if (max == null) { - max = min; - min = 0; - } - return min + Math.floor(Math.random() * (max - min + 1)); - }; - - // A (possibly faster) way to get the current timestamp as an integer. - _.now = Date.now || function () { - return new Date().getTime(); - }; - - // List of HTML entities for escaping. - var escapeMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' }; - - var unescapeMap = _.invert(escapeMap); - - // Functions for escaping and unescaping strings to/from HTML interpolation. - var createEscaper = function createEscaper(map) { - var escaper = function escaper(match) { - return map[match]; - }; - // Regexes for identifying a key that needs to be escaped. - var source = '(?:' + _.keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function (string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; - }; - _.escape = createEscaper(escapeMap); - _.unescape = createEscaper(unescapeMap); - - // Traverses the children of `obj` along `path`. If a child is a function, it - // is invoked with its parent as context. Returns the value of the final - // child, or `fallback` if any child is undefined. - _.result = function (obj, path, fallback) { - if (!_.isArray(path)) path = [path]; - var length = path.length; - if (!length) { - return _.isFunction(fallback) ? fallback.call(obj) : fallback; - } - for (var i = 0; i < length; i++) { - var prop = obj == null ? void 0 : obj[path[i]]; - if (prop === void 0) { - prop = fallback; - i = length; // Ensure we don't continue iterating. - } - obj = _.isFunction(prop) ? prop.call(obj) : prop; - } - return obj; - }; - - // Generate a unique integer id (unique within the entire client session). - // Useful for temporary DOM ids. - var idCounter = 0; - _.uniqueId = function (prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; - }; - - // By default, Underscore uses ERB-style template delimiters, change the - // following template settings to use alternative delimiters. - _.templateSettings = { - evaluate: /<%([\s\S]+?)%>/g, - interpolate: /<%=([\s\S]+?)%>/g, - escape: /<%-([\s\S]+?)%>/g }; - - - // When customizing `templateSettings`, if you don't want to define an - // interpolation, evaluation or escaping regex, we need one that is - // guaranteed not to match. - var noMatch = /(.)^/; - - // Certain characters need to be escaped so that they can be put into a - // string literal. - var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - "\u2028": 'u2028', - "\u2029": 'u2029' }; - - - var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; - - var escapeChar = function escapeChar(match) { - return '\\' + escapes[match]; - }; - - // JavaScript micro-templating, similar to John Resig's implementation. - // Underscore templating handles arbitrary delimiters, preserves whitespace, - // and correctly escapes quotes within interpolated code. - // NB: `oldSettings` only exists for backwards compatibility. - _.template = function (text, settings, oldSettings) { - if (!settings && oldSettings) settings = oldSettings; - settings = _.defaults({}, settings, _.templateSettings); - - // Combine delimiters into one regular expression via alternation. - var matcher = RegExp([ - (settings.escape || noMatch).source, - (settings.interpolate || noMatch).source, - (settings.evaluate || noMatch).source]. - join('|') + '|$', 'g'); - - // Compile the template source, escaping string literals appropriately. - var index = 0; - var source = "__p+='"; - text.replace(matcher, function (match, escape, interpolate, evaluate, offset) { - source += text.slice(index, offset).replace(escapeRegExp, escapeChar); - index = offset + match.length; - - if (escape) { - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; - } else if (interpolate) { - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; - } else if (evaluate) { - source += "';\n" + evaluate + "\n__p+='"; - } - - // Adobe VMs need the match returned to produce the correct offset. - return match; - }); - source += "';\n"; - - // If a variable is not specified, place data values in local scope. - if (!settings.variable) source = 'with(obj||{}){\n' + source + '}\n'; - - source = "var __t,__p='',__j=Array.prototype.join," + - "print=function(){__p+=__j.call(arguments,'');};\n" + - source + 'return __p;\n'; - - var render; - try { - render = new Function(settings.variable || 'obj', '_', source); - } catch (e) { - e.source = source; - throw e; - } - - var template = function template(data) { - return render.call(this, data, _); - }; - - // Provide the compiled source as a convenience for precompilation. - var argument = settings.variable || 'obj'; - template.source = 'function(' + argument + '){\n' + source + '}'; - - return template; - }; - - // Add a "chain" function. Start chaining a wrapped Underscore object. - _.chain = function (obj) { - var instance = _(obj); - instance._chain = true; - return instance; - }; - - // OOP - // --------------- - // If Underscore is called as a function, it returns a wrapped object that - // can be used OO-style. This wrapper holds altered versions of all the - // underscore functions. Wrapped objects may be chained. - - // Helper function to continue chaining intermediate results. - var chainResult = function chainResult(instance, obj) { - return instance._chain ? _(obj).chain() : obj; - }; - - // Add your own custom functions to the Underscore object. - _.mixin = function (obj) { - _.each(_.functions(obj), function (name) { - var func = _[name] = obj[name]; - _.prototype[name] = function () { - var args = [this._wrapped]; - push.apply(args, arguments); - return chainResult(this, func.apply(_, args)); - }; - }); - return _; - }; - - // Add all of the Underscore functions to the wrapper object. - _.mixin(_); - - // Add all mutator Array functions to the wrapper. - _.each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function (name) { - var method = ArrayProto[name]; - _.prototype[name] = function () { - var obj = this._wrapped; - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) delete obj[0]; - return chainResult(this, obj); - }; - }); - - // Add all accessor Array functions to the wrapper. - _.each(['concat', 'join', 'slice'], function (name) { - var method = ArrayProto[name]; - _.prototype[name] = function () { - return chainResult(this, method.apply(this._wrapped, arguments)); - }; - }); - - // Extracts the result from a wrapped and chained object. - _.prototype.value = function () { - return this._wrapped; - }; - - // Provide unwrapping proxy for some methods used in engine operations - // such as arithmetic and JSON stringification. - _.prototype.valueOf = _.prototype.toJSON = _.prototype.value; - - _.prototype.toString = function () { - return String(this._wrapped); - }; - - // AMD registration happens at the end for compatibility with AMD loaders - // that may not enforce next-turn semantics on modules. Even though general - // practice for AMD registration is to be anonymous, underscore registers - // as a named module because, like jQuery, it is a base library that is - // popular enough to be bundled in a third party lib, but not be part of - // an AMD load request. Those cases could generate an error when an - // anonymous define() is called outside of a loader request. - if (true) { - !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { - return _; - }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } -})(); -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../HBuilderX/plugins/uniapp-cli/node_modules/webpack/buildin/global.js */ 37), __webpack_require__(/*! ./../../../HBuilderX/plugins/uniapp-cli/node_modules/webpack/buildin/module.js */ 71)(module))) - -/***/ }), -/* 995 */ -/*!*****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-helpers/lib/index.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var errors = __webpack_require__(/*! ./errors */ 996); -var formatters = __webpack_require__(/*! ./formatters */ 997); -module.exports = { - errors: errors, - formatters: formatters }; - -/***/ }), -/* 996 */ -/*!******************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-helpers/lib/errors.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file errors.js - * @author Fabian Vogelsteller - * @author Marek Kotewicz - * @date 2017 - */ - -module.exports = { - ErrorResponse: function ErrorResponse(result) { - var message = !!result && !!result.error && !!result.error.message ? result.error.message : JSON.stringify(result); - var data = !!result.error && !!result.error.data ? result.error.data : null; - var err = new Error('Returned error: ' + message); - err.data = data; - return err; - }, - InvalidNumberOfParams: function InvalidNumberOfParams(got, expected, method) { - return new Error('Invalid number of parameters for "' + method + '". Got ' + got + ' expected ' + expected + '!'); - }, - InvalidConnection: function InvalidConnection(host, event) { - return this.ConnectionError('CONNECTION ERROR: Couldn\'t connect to node ' + host + '.', event); - }, - InvalidProvider: function InvalidProvider() { - return new Error('Provider not set or invalid'); - }, - InvalidResponse: function InvalidResponse(result) { - var message = !!result && !!result.error && !!result.error.message ? result.error.message : 'Invalid JSON RPC response: ' + JSON.stringify(result); - return new Error(message); - }, - ConnectionTimeout: function ConnectionTimeout(ms) { - return new Error('CONNECTION TIMEOUT: timeout of ' + ms + ' ms achived'); - }, - ConnectionNotOpenError: function ConnectionNotOpenError(event) { - return this.ConnectionError('connection not open on send()', event); - }, - ConnectionCloseError: function ConnectionCloseError(event) { - if (typeof event === 'object' && event.code && event.reason) { - return this.ConnectionError('CONNECTION ERROR: The connection got closed with ' + - 'the close code `' + event.code + '` and the following ' + - 'reason string `' + event.reason + '`', event); - } - return new Error('CONNECTION ERROR: The connection closed unexpectedly'); - }, - MaxAttemptsReachedOnReconnectingError: function MaxAttemptsReachedOnReconnectingError() { - return new Error('Maximum number of reconnect attempts reached!'); - }, - PendingRequestsOnReconnectingError: function PendingRequestsOnReconnectingError() { - return new Error('CONNECTION ERROR: Provider started to reconnect before the response got received!'); - }, - ConnectionError: function ConnectionError(msg, event) { - var error = new Error(msg); - if (event) { - error.code = event.code; - error.reason = event.reason; - } - return error; - }, - RevertInstructionError: function RevertInstructionError(reason, signature) { - var error = new Error('Your request got reverted with the following reason string: ' + reason); - error.reason = reason; - error.signature = signature; - return error; - }, - TransactionRevertInstructionError: function TransactionRevertInstructionError(reason, signature, receipt) { - var error = new Error('Transaction has been reverted by the EVM:\n' + JSON.stringify(receipt, null, 2)); - error.reason = reason; - error.signature = signature; - error.receipt = receipt; - return error; - }, - TransactionError: function TransactionError(message, receipt) { - var error = new Error(message); - error.receipt = receipt; - return error; - }, - NoContractAddressFoundError: function NoContractAddressFoundError(receipt) { - return this.TransactionError('The transaction receipt didn\'t contain a contract address.', receipt); - }, - ContractCodeNotStoredError: function ContractCodeNotStoredError(receipt) { - return this.TransactionError('The contract code couldn\'t be stored, please check your gas limit.', receipt); - }, - TransactionRevertedWithoutReasonError: function TransactionRevertedWithoutReasonError(receipt) { - return this.TransactionError('Transaction has been reverted by the EVM:\n' + JSON.stringify(receipt, null, 2), receipt); - }, - TransactionOutOfGasError: function TransactionOutOfGasError(receipt) { - return this.TransactionError('Transaction ran out of gas. Please provide more gas:\n' + JSON.stringify(receipt, null, 2), receipt); - }, - ResolverMethodMissingError: function ResolverMethodMissingError(address, name) { - return new Error('The resolver at ' + address + 'does not implement requested method: "' + name + '".'); - }, - ContractMissingABIError: function ContractMissingABIError() { - return new Error('You must provide the json interface of the contract when instantiating a contract object.'); - }, - ContractOnceRequiresCallbackError: function ContractOnceRequiresCallbackError() { - return new Error('Once requires a callback as the second parameter.'); - }, - ContractEventDoesNotExistError: function ContractEventDoesNotExistError(eventName) { - return new Error('Event "' + eventName + '" doesn\'t exist in this contract.'); - }, - ContractReservedEventError: function ContractReservedEventError(type) { - return new Error('The event "' + type + '" is a reserved event name, you can\'t use it.'); - }, - ContractMissingDeployDataError: function ContractMissingDeployDataError() { - return new Error('No "data" specified in neither the given options, nor the default options.'); - }, - ContractNoAddressDefinedError: function ContractNoAddressDefinedError() { - return new Error('This contract object doesn\'t have address set yet, please set an address first.'); - }, - ContractNoFromAddressDefinedError: function ContractNoFromAddressDefinedError() { - return new Error('No "from" address specified in neither the given options, nor the default options.'); - } }; - -/***/ }), -/* 997 */ -/*!**********************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-helpers/lib/formatters.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file formatters.js - * @author Fabian Vogelsteller - * @author Marek Kotewicz - * @date 2017 - */ -function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;} -var _ = __webpack_require__(/*! underscore */ 994); -var utils = __webpack_require__(/*! web3-utils */ 998); -var Iban = __webpack_require__(/*! web3-eth-iban */ 1007); -/** - * Will format the given storage key array values to hex strings. - * - * @method inputStorageKeysFormatter - * - * @param {Array} keys - * - * @returns {Array} - */ -var inputStorageKeysFormatter = function inputStorageKeysFormatter(keys) { - return keys.map(utils.numberToHex); -}; -/** - * Will format the given proof response from the node. - * - * @method outputProofFormatter - * - * @param {object} proof - * - * @returns {object} - */ -var outputProofFormatter = function outputProofFormatter(proof) { - proof.address = utils.toChecksumAddress(proof.address); - proof.nonce = utils.hexToNumberString(proof.nonce); - proof.balance = utils.hexToNumberString(proof.balance); - return proof; -}; -/** - * Should the format output to a big number - * - * @method outputBigNumberFormatter - * - * @param {String|Number|BigNumber|BN} number - * - * @returns {BN} object - */ -var outputBigNumberFormatter = function outputBigNumberFormatter(number) { - return utils.toBN(number).toString(10); -}; -/** - * Returns true if the given blockNumber is 'latest', 'pending', or 'earliest. - * - * @method isPredefinedBlockNumber - * - * @param {String} blockNumber - * - * @returns {Boolean} - */ -var isPredefinedBlockNumber = function isPredefinedBlockNumber(blockNumber) { - return blockNumber === 'latest' || blockNumber === 'pending' || blockNumber === 'earliest'; -}; -/** - * Returns the given block number as hex string or does return the defaultBlock property of the current module - * - * @method inputDefaultBlockNumberFormatter - * - * @param {String|Number|BN|BigNumber} blockNumber - * - * @returns {String} - */ -var inputDefaultBlockNumberFormatter = function inputDefaultBlockNumberFormatter(blockNumber) { - if (this && (blockNumber === undefined || blockNumber === null)) { - return inputBlockNumberFormatter(this.defaultBlock); - } - return inputBlockNumberFormatter(blockNumber); -}; -/** - * Returns the given block number as hex string or the predefined block number 'latest', 'pending', 'earliest', 'genesis' - * - * @param {String|Number|BN|BigNumber} blockNumber - * - * @returns {String} - */ -var inputBlockNumberFormatter = function inputBlockNumberFormatter(blockNumber) { - if (blockNumber === undefined) { - return undefined; - } - if (isPredefinedBlockNumber(blockNumber)) { - return blockNumber; - } - if (blockNumber === 'genesis') { - return '0x0'; - } - return utils.isHexStrict(blockNumber) ? _.isString(blockNumber) ? blockNumber.toLowerCase() : blockNumber : utils.numberToHex(blockNumber); -}; -/** - * Formats the input of a transaction and converts all values to HEX - * - * @method _txInputFormatter - * @param {Object} transaction options - * @returns object - */ -var _txInputFormatter = function _txInputFormatter(options) { - if (options.to) {// it might be contract creation - options.to = inputAddressFormatter(options.to); - } - if (options.data && options.input) { - throw new Error('You can\'t have "data" and "input" as properties of transactions at the same time, please use either "data" or "input" instead.'); - } - if (!options.data && options.input) { - options.data = options.input; - delete options.input; - } - if (options.data && !options.data.startsWith('0x')) { - options.data = '0x' + options.data; - } - if (options.data && !utils.isHex(options.data)) { - throw new Error('The data field must be HEX encoded data.'); - } - // allow both - if (options.gas || options.gasLimit) { - options.gas = options.gas || options.gasLimit; - } - ['gasPrice', 'gas', 'value', 'nonce'].filter(function (key) { - return options[key] !== undefined; - }).forEach(function (key) { - options[key] = utils.numberToHex(options[key]); - }); - return options; -}; -/** - * Formats the input of a transaction and converts all values to HEX - * - * @method inputCallFormatter - * @param {Object} transaction options - * @returns object - */ -var inputCallFormatter = function inputCallFormatter(options) { - options = _txInputFormatter(options); - var from = options.from || (this ? this.defaultAccount : null); - if (from) { - options.from = inputAddressFormatter(from); - } - return options; -}; -/** - * Formats the input of a transaction and converts all values to HEX - * - * @method inputTransactionFormatter - * @param {Object} options - * @returns object - */ -var inputTransactionFormatter = function inputTransactionFormatter(options) { - options = _txInputFormatter(options); - // check from, only if not number, or object - if (!_.isNumber(options.from) && !_.isObject(options.from)) { - options.from = options.from || (this ? this.defaultAccount : null); - if (!options.from && !_.isNumber(options.from)) { - throw new Error('The send transactions "from" field must be defined!'); - } - options.from = inputAddressFormatter(options.from); - } - return options; -}; -/** - * Hex encodes the data passed to eth_sign and personal_sign - * - * @method inputSignFormatter - * @param {String} data - * @returns {String} - */ -var inputSignFormatter = function inputSignFormatter(data) { - return utils.isHexStrict(data) ? data : utils.utf8ToHex(data); -}; -/** - * Formats the output of a transaction to its proper values - * - * @method outputTransactionFormatter - * @param {Object} tx - * @returns {Object} - */ -var outputTransactionFormatter = function outputTransactionFormatter(tx) { - if (tx.blockNumber !== null) - tx.blockNumber = utils.hexToNumber(tx.blockNumber); - if (tx.transactionIndex !== null) - tx.transactionIndex = utils.hexToNumber(tx.transactionIndex); - tx.nonce = utils.hexToNumber(tx.nonce); - tx.gas = utils.hexToNumber(tx.gas); - tx.gasPrice = outputBigNumberFormatter(tx.gasPrice); - tx.value = outputBigNumberFormatter(tx.value); - if (tx.to && utils.isAddress(tx.to)) {// tx.to could be `0x0` or `null` while contract creation - tx.to = utils.toChecksumAddress(tx.to); - } else - { - tx.to = null; // set to `null` if invalid address - } - if (tx.from) { - tx.from = utils.toChecksumAddress(tx.from); - } - return tx; -}; -/** - * Formats the output of a transaction receipt to its proper values - * - * @method outputTransactionReceiptFormatter - * @param {Object} receipt - * @returns {Object} - */ -var outputTransactionReceiptFormatter = function outputTransactionReceiptFormatter(receipt) { - if (typeof receipt !== 'object') { - throw new Error('Received receipt is invalid: ' + receipt); - } - if (receipt.blockNumber !== null) - receipt.blockNumber = utils.hexToNumber(receipt.blockNumber); - if (receipt.transactionIndex !== null) - receipt.transactionIndex = utils.hexToNumber(receipt.transactionIndex); - receipt.cumulativeGasUsed = utils.hexToNumber(receipt.cumulativeGasUsed); - receipt.gasUsed = utils.hexToNumber(receipt.gasUsed); - if (_.isArray(receipt.logs)) { - receipt.logs = receipt.logs.map(outputLogFormatter); - } - if (receipt.contractAddress) { - receipt.contractAddress = utils.toChecksumAddress(receipt.contractAddress); - } - if (typeof receipt.status !== 'undefined' && receipt.status !== null) { - receipt.status = Boolean(parseInt(receipt.status)); - } - return receipt; -}; -/** - * Formats the output of a block to its proper values - * - * @method outputBlockFormatter - * @param {Object} block - * @returns {Object} - */ -var outputBlockFormatter = function outputBlockFormatter(block) { - // transform to number - block.gasLimit = utils.hexToNumber(block.gasLimit); - block.gasUsed = utils.hexToNumber(block.gasUsed); - block.size = utils.hexToNumber(block.size); - block.timestamp = utils.hexToNumber(block.timestamp); - if (block.number !== null) - block.number = utils.hexToNumber(block.number); - if (block.difficulty) - block.difficulty = outputBigNumberFormatter(block.difficulty); - if (block.totalDifficulty) - block.totalDifficulty = outputBigNumberFormatter(block.totalDifficulty); - if (_.isArray(block.transactions)) { - block.transactions.forEach(function (item) { - if (!_.isString(item)) - return outputTransactionFormatter(item); - }); - } - if (block.miner) - block.miner = utils.toChecksumAddress(block.miner); - return block; -}; -/** - * Formats the input of a log - * - * @method inputLogFormatter - * @param {Object} log object - * @returns {Object} log - */ -var inputLogFormatter = function inputLogFormatter(options) { - var toTopic = function toTopic(value) { - if (value === null || typeof value === 'undefined') - return null; - value = String(value); - if (value.indexOf('0x') === 0) - return value;else - - return utils.fromUtf8(value); - }; - if (options === undefined) - options = {}; - // If options !== undefined, don't blow out existing data - if (options.fromBlock === undefined) - options = _objectSpread(_objectSpread({}, options), {}, { fromBlock: 'latest' }); - if (options.fromBlock || options.fromBlock === 0) - options.fromBlock = inputBlockNumberFormatter(options.fromBlock); - if (options.toBlock || options.toBlock === 0) - options.toBlock = inputBlockNumberFormatter(options.toBlock); - // make sure topics, get converted to hex - options.topics = options.topics || []; - options.topics = options.topics.map(function (topic) { - return _.isArray(topic) ? topic.map(toTopic) : toTopic(topic); - }); - toTopic = null; - if (options.address) { - options.address = _.isArray(options.address) ? options.address.map(function (addr) { - return inputAddressFormatter(addr); - }) : inputAddressFormatter(options.address); - } - return options; -}; -/** - * Formats the output of a log - * - * @method outputLogFormatter - * @param {Object} log object - * @returns {Object} log - */ -var outputLogFormatter = function outputLogFormatter(log) { - // generate a custom log id - if (typeof log.blockHash === 'string' && - typeof log.transactionHash === 'string' && - typeof log.logIndex === 'string') { - var shaId = utils.sha3(log.blockHash.replace('0x', '') + log.transactionHash.replace('0x', '') + log.logIndex.replace('0x', '')); - log.id = 'log_' + shaId.replace('0x', '').substr(0, 8); - } else - if (!log.id) { - log.id = null; - } - if (log.blockNumber !== null) - log.blockNumber = utils.hexToNumber(log.blockNumber); - if (log.transactionIndex !== null) - log.transactionIndex = utils.hexToNumber(log.transactionIndex); - if (log.logIndex !== null) - log.logIndex = utils.hexToNumber(log.logIndex); - if (log.address) { - log.address = utils.toChecksumAddress(log.address); - } - return log; -}; -/** - * Formats the input of a whisper post and converts all values to HEX - * - * @method inputPostFormatter - * @param {Object} transaction object - * @returns {Object} - */ -var inputPostFormatter = function inputPostFormatter(post) { - // post.payload = utils.toHex(post.payload); - if (post.ttl) - post.ttl = utils.numberToHex(post.ttl); - if (post.workToProve) - post.workToProve = utils.numberToHex(post.workToProve); - if (post.priority) - post.priority = utils.numberToHex(post.priority); - // fallback - if (!_.isArray(post.topics)) { - post.topics = post.topics ? [post.topics] : []; - } - // format the following options - post.topics = post.topics.map(function (topic) { - // convert only if not hex - return topic.indexOf('0x') === 0 ? topic : utils.fromUtf8(topic); - }); - return post; -}; -/** - * Formats the output of a received post message - * - * @method outputPostFormatter - * @param {Object} - * @returns {Object} - */ -var outputPostFormatter = function outputPostFormatter(post) { - post.expiry = utils.hexToNumber(post.expiry); - post.sent = utils.hexToNumber(post.sent); - post.ttl = utils.hexToNumber(post.ttl); - post.workProved = utils.hexToNumber(post.workProved); - // post.payloadRaw = post.payload; - // post.payload = utils.hexToAscii(post.payload); - // if (utils.isJson(post.payload)) { - // post.payload = JSON.parse(post.payload); - // } - // format the following options - if (!post.topics) { - post.topics = []; - } - post.topics = post.topics.map(function (topic) { - return utils.toUtf8(topic); - }); - return post; -}; -var inputAddressFormatter = function inputAddressFormatter(address) { - var iban = new Iban(address); - if (iban.isValid() && iban.isDirect()) { - return iban.toAddress().toLowerCase(); - } else - if (utils.isAddress(address)) { - return '0x' + address.toLowerCase().replace('0x', ''); - } - throw new Error("Provided address ".concat(address, " is invalid, the capitalization checksum test failed, or it's an indirect IBAN address which can't be converted.")); -}; -var outputSyncingFormatter = function outputSyncingFormatter(result) { - result.startingBlock = utils.hexToNumber(result.startingBlock); - result.currentBlock = utils.hexToNumber(result.currentBlock); - result.highestBlock = utils.hexToNumber(result.highestBlock); - if (result.knownStates) { - result.knownStates = utils.hexToNumber(result.knownStates); - result.pulledStates = utils.hexToNumber(result.pulledStates); - } - return result; -}; -module.exports = { - inputDefaultBlockNumberFormatter: inputDefaultBlockNumberFormatter, - inputBlockNumberFormatter: inputBlockNumberFormatter, - inputCallFormatter: inputCallFormatter, - inputTransactionFormatter: inputTransactionFormatter, - inputAddressFormatter: inputAddressFormatter, - inputPostFormatter: inputPostFormatter, - inputLogFormatter: inputLogFormatter, - inputSignFormatter: inputSignFormatter, - inputStorageKeysFormatter: inputStorageKeysFormatter, - outputProofFormatter: outputProofFormatter, - outputBigNumberFormatter: outputBigNumberFormatter, - outputTransactionFormatter: outputTransactionFormatter, - outputTransactionReceiptFormatter: outputTransactionReceiptFormatter, - outputBlockFormatter: outputBlockFormatter, - outputLogFormatter: outputLogFormatter, - outputPostFormatter: outputPostFormatter, - outputSyncingFormatter: outputSyncingFormatter }; - -/***/ }), -/* 998 */ -/*!**********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-utils/lib/index.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file utils.js - * @author Marek Kotewicz - * @author Fabian Vogelsteller - * @date 2017 - */ -var _ = __webpack_require__(/*! underscore */ 994); -var ethjsUnit = __webpack_require__(/*! ethjs-unit */ 999); -var utils = __webpack_require__(/*! ./utils.js */ 1001); -var soliditySha3 = __webpack_require__(/*! ./soliditySha3.js */ 1006); -var randombytes = __webpack_require__(/*! randombytes */ 406); -var BN = __webpack_require__(/*! bn.js */ 70); -/** - * Fires an error in an event emitter and callback and returns the eventemitter - * - * @method _fireError - * @param {Object} error a string, a error, or an object with {message, data} - * @param {Object} emitter - * @param {Function} reject - * @param {Function} callback - * @param {any} optionalData - * @return {Object} the emitter - */ -var _fireError = function _fireError(error, emitter, reject, callback, optionalData) { - /*jshint maxcomplexity: 10 */ - // add data if given - if (_.isObject(error) && !(error instanceof Error) && error.data) { - if (_.isObject(error.data) || _.isArray(error.data)) { - error.data = JSON.stringify(error.data, null, 2); - } - error = error.message + "\n" + error.data; - } - if (_.isString(error)) { - error = new Error(error); - } - if (_.isFunction(callback)) { - callback(error, optionalData); - } - if (_.isFunction(reject)) { - // suppress uncatched error if an error listener is present - // OR suppress uncatched error if an callback listener is present - if (emitter && - _.isFunction(emitter.listeners) && - emitter.listeners('error').length || _.isFunction(callback)) { - emitter.catch(function () {}); - } - // reject later, to be able to return emitter - setTimeout(function () { - reject(error); - }, 1); - } - if (emitter && _.isFunction(emitter.emit)) { - // emit later, to be able to return emitter - setTimeout(function () { - emitter.emit('error', error, optionalData); - emitter.removeAllListeners(); - }, 1); - } - return emitter; -}; -/** - * Should be used to create full function/event name from json abi - * - * @method _jsonInterfaceMethodToString - * @param {Object} json - * @return {String} full function/event name - */ -var _jsonInterfaceMethodToString = function _jsonInterfaceMethodToString(json) { - if (_.isObject(json) && json.name && json.name.indexOf('(') !== -1) { - return json.name; - } - return json.name + '(' + _flattenTypes(false, json.inputs).join(',') + ')'; -}; -/** - * Should be used to flatten json abi inputs/outputs into an array of type-representing-strings - * - * @method _flattenTypes - * @param {bool} includeTuple - * @param {Object} puts - * @return {Array} parameters as strings - */ -var _flattenTypes = function _flattenTypes(includeTuple, puts) { - // console.log("entered _flattenTypes. inputs/outputs: " + puts) - var types = []; - puts.forEach(function (param) { - if (typeof param.components === 'object') { - if (param.type.substring(0, 5) !== 'tuple') { - throw new Error('components found but type is not tuple; report on GitHub'); - } - var suffix = ''; - var arrayBracket = param.type.indexOf('['); - if (arrayBracket >= 0) { - suffix = param.type.substring(arrayBracket); - } - var result = _flattenTypes(includeTuple, param.components); - // console.log("result should have things: " + result) - if (_.isArray(result) && includeTuple) { - // console.log("include tuple word, and its an array. joining...: " + result.types) - types.push('tuple(' + result.join(',') + ')' + suffix); - } else - if (!includeTuple) { - // console.log("don't include tuple, but its an array. joining...: " + result) - types.push('(' + result.join(',') + ')' + suffix); - } else - { - // console.log("its a single type within a tuple: " + result.types) - types.push('(' + result + ')'); - } - } else - { - // console.log("its a type and not directly in a tuple: " + param.type) - types.push(param.type); - } - }); - return types; -}; -/** - * Returns a random hex string by the given bytes size - * - * @param {Number} size - * @returns {string} - */ -var randomHex = function randomHex(size) { - return '0x' + randombytes(size).toString('hex'); -}; -/** - * Should be called to get ascii from it's hex representation - * - * @method hexToAscii - * @param {String} hex - * @returns {String} ascii string representation of hex value - */ -var hexToAscii = function hexToAscii(hex) { - if (!utils.isHexStrict(hex)) - throw new Error('The parameter must be a valid HEX string.'); - var str = ""; - var i = 0,l = hex.length; - if (hex.substring(0, 2) === '0x') { - i = 2; - } - for (; i < l; i += 2) { - var code = parseInt(hex.substr(i, 2), 16); - str += String.fromCharCode(code); - } - return str; -}; -/** - * Should be called to get hex representation (prefixed by 0x) of ascii string - * - * @method asciiToHex - * @param {String} str - * @returns {String} hex representation of input string - */ -var asciiToHex = function asciiToHex(str) { - if (!str) - return "0x00"; - var hex = ""; - for (var i = 0; i < str.length; i++) { - var code = str.charCodeAt(i); - var n = code.toString(16); - hex += n.length < 2 ? '0' + n : n; - } - return "0x" + hex; -}; -/** - * Returns value of unit in Wei - * - * @method getUnitValue - * @param {String} unit the unit to convert to, default ether - * @returns {BN} value of the unit (in Wei) - * @throws error if the unit is not correct:w - */ -var getUnitValue = function getUnitValue(unit) { - unit = unit ? unit.toLowerCase() : 'ether'; - if (!ethjsUnit.unitMap[unit]) { - throw new Error('This unit "' + unit + '" doesn\'t exist, please use the one of the following units' + JSON.stringify(ethjsUnit.unitMap, null, 2)); - } - return unit; -}; -/** - * Takes a number of wei and converts it to any other ether unit. - * - * Possible units are: - * SI Short SI Full Effigy Other - * - kwei femtoether babbage - * - mwei picoether lovelace - * - gwei nanoether shannon nano - * - -- microether szabo micro - * - -- milliether finney milli - * - ether -- -- - * - kether -- grand - * - mether - * - gether - * - tether - * - * @method fromWei - * @param {Number|String} number can be a number, number string or a HEX of a decimal - * @param {String} unit the unit to convert to, default ether - * @return {String|Object} When given a BN object it returns one as well, otherwise a number - */ -var fromWei = function fromWei(number, unit) { - unit = getUnitValue(unit); - if (!utils.isBN(number) && !_.isString(number)) { - throw new Error('Please pass numbers as strings or BN objects to avoid precision errors.'); - } - return utils.isBN(number) ? ethjsUnit.fromWei(number, unit) : ethjsUnit.fromWei(number, unit).toString(10); -}; -/** - * Takes a number of a unit and converts it to wei. - * - * Possible units are: - * SI Short SI Full Effigy Other - * - kwei femtoether babbage - * - mwei picoether lovelace - * - gwei nanoether shannon nano - * - -- microether szabo micro - * - -- microether szabo micro - * - -- milliether finney milli - * - ether -- -- - * - kether -- grand - * - mether - * - gether - * - tether - * - * @method toWei - * @param {Number|String|BN} number can be a number, number string or a HEX of a decimal - * @param {String} unit the unit to convert from, default ether - * @return {String|Object} When given a BN object it returns one as well, otherwise a number - */ -var toWei = function toWei(number, unit) { - unit = getUnitValue(unit); - if (!utils.isBN(number) && !_.isString(number)) { - throw new Error('Please pass numbers as strings or BN objects to avoid precision errors.'); - } - return utils.isBN(number) ? ethjsUnit.toWei(number, unit) : ethjsUnit.toWei(number, unit).toString(10); -}; -/** - * Converts to a checksum address - * - * @method toChecksumAddress - * @param {String} address the given HEX address - * @return {String} - */ -var toChecksumAddress = function toChecksumAddress(address) { - if (typeof address === 'undefined') - return ''; - if (!/^(0x)?[0-9a-f]{40}$/i.test(address)) - throw new Error('Given address "' + address + '" is not a valid Ethereum address.'); - address = address.toLowerCase().replace(/^0x/i, ''); - var addressHash = utils.sha3(address).replace(/^0x/i, ''); - var checksumAddress = '0x'; - for (var i = 0; i < address.length; i++) { - // If ith character is 8 to f then make it uppercase - if (parseInt(addressHash[i], 16) > 7) { - checksumAddress += address[i].toUpperCase(); - } else - { - checksumAddress += address[i]; - } - } - return checksumAddress; -}; -/** - * Returns -1 if ab; 0 if a == b. - * For more details on this type of function, see - * developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort - * - * @method compareBlockNumbers - * - * @param {String|Number|BN} a - * - * @param {String|Number|BN} b - * - * @returns {Number} -1, 0, or 1 - */ -var compareBlockNumbers = function compareBlockNumbers(a, b) { - if (a == b) { - return 0; - } else - if (("genesis" == a || "earliest" == a || 0 == a) && ("genesis" == b || "earliest" == b || 0 == b)) { - return 0; - } else - if ("genesis" == a || "earliest" == a) { - // b !== a, thus a < b - return -1; - } else - if ("genesis" == b || "earliest" == b) { - // b !== a, thus a > b - return 1; - } else - if (a == "latest") { - if (b == "pending") { - return -1; - } else - { - // b !== ("pending" OR "latest"), thus a > b - return 1; - } - } else - if (b === "latest") { - if (a == "pending") { - return 1; - } else - { - // b !== ("pending" OR "latest"), thus a > b - return -1; - } - } else - if (a == "pending") { - // b (== OR <) "latest", thus a > b - return 1; - } else - if (b == "pending") { - return -1; - } else - { - var bnA = new BN(a); - var bnB = new BN(b); - if (bnA.lt(bnB)) { - return -1; - } else - if (bnA.eq(bnB)) { - return 0; - } else - { - return 1; - } - } -}; -module.exports = { - _fireError: _fireError, - _jsonInterfaceMethodToString: _jsonInterfaceMethodToString, - _flattenTypes: _flattenTypes, - // extractDisplayName: extractDisplayName, - // extractTypeName: extractTypeName, - randomHex: randomHex, - _: _, - BN: utils.BN, - isBN: utils.isBN, - isBigNumber: utils.isBigNumber, - isHex: utils.isHex, - isHexStrict: utils.isHexStrict, - sha3: utils.sha3, - sha3Raw: utils.sha3Raw, - keccak256: utils.sha3, - soliditySha3: soliditySha3.soliditySha3, - soliditySha3Raw: soliditySha3.soliditySha3Raw, - encodePacked: soliditySha3.encodePacked, - isAddress: utils.isAddress, - checkAddressChecksum: utils.checkAddressChecksum, - toChecksumAddress: toChecksumAddress, - toHex: utils.toHex, - toBN: utils.toBN, - bytesToHex: utils.bytesToHex, - hexToBytes: utils.hexToBytes, - hexToNumberString: utils.hexToNumberString, - hexToNumber: utils.hexToNumber, - toDecimal: utils.hexToNumber, - numberToHex: utils.numberToHex, - fromDecimal: utils.numberToHex, - hexToUtf8: utils.hexToUtf8, - hexToString: utils.hexToUtf8, - toUtf8: utils.hexToUtf8, - stripHexPrefix: utils.stripHexPrefix, - utf8ToHex: utils.utf8ToHex, - stringToHex: utils.utf8ToHex, - fromUtf8: utils.utf8ToHex, - hexToAscii: hexToAscii, - toAscii: hexToAscii, - asciiToHex: asciiToHex, - fromAscii: asciiToHex, - unitMap: ethjsUnit.unitMap, - toWei: toWei, - fromWei: fromWei, - padLeft: utils.leftPad, - leftPad: utils.leftPad, - padRight: utils.rightPad, - rightPad: utils.rightPad, - toTwosComplement: utils.toTwosComplement, - isBloom: utils.isBloom, - isUserEthereumAddressInBloom: utils.isUserEthereumAddressInBloom, - isContractAddressInBloom: utils.isContractAddressInBloom, - isTopic: utils.isTopic, - isTopicInBloom: utils.isTopicInBloom, - isInBloom: utils.isInBloom, - compareBlockNumbers: compareBlockNumbers }; - -/***/ }), -/* 999 */ -/*!**********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethjs-unit/lib/index.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var BN = __webpack_require__(/*! bn.js */ 70); -var numberToBN = __webpack_require__(/*! number-to-bn */ 1000); - -var zero = new BN(0); -var negative1 = new BN(-1); - -// complete ethereum unit map -var unitMap = { - 'noether': '0', // eslint-disable-line - 'wei': '1', // eslint-disable-line - 'kwei': '1000', // eslint-disable-line - 'Kwei': '1000', // eslint-disable-line - 'babbage': '1000', // eslint-disable-line - 'femtoether': '1000', // eslint-disable-line - 'mwei': '1000000', // eslint-disable-line - 'Mwei': '1000000', // eslint-disable-line - 'lovelace': '1000000', // eslint-disable-line - 'picoether': '1000000', // eslint-disable-line - 'gwei': '1000000000', // eslint-disable-line - 'Gwei': '1000000000', // eslint-disable-line - 'shannon': '1000000000', // eslint-disable-line - 'nanoether': '1000000000', // eslint-disable-line - 'nano': '1000000000', // eslint-disable-line - 'szabo': '1000000000000', // eslint-disable-line - 'microether': '1000000000000', // eslint-disable-line - 'micro': '1000000000000', // eslint-disable-line - 'finney': '1000000000000000', // eslint-disable-line - 'milliether': '1000000000000000', // eslint-disable-line - 'milli': '1000000000000000', // eslint-disable-line - 'ether': '1000000000000000000', // eslint-disable-line - 'kether': '1000000000000000000000', // eslint-disable-line - 'grand': '1000000000000000000000', // eslint-disable-line - 'mether': '1000000000000000000000000', // eslint-disable-line - 'gether': '1000000000000000000000000000', // eslint-disable-line - 'tether': '1000000000000000000000000000000' }; - -/** - * Returns value of unit in Wei - * - * @method getValueOfUnit - * @param {String} unit the unit to convert to, default ether - * @returns {BigNumber} value of the unit (in Wei) - * @throws error if the unit is not correct:w - */ -function getValueOfUnit(unitInput) { - var unit = unitInput ? unitInput.toLowerCase() : 'ether'; - var unitValue = unitMap[unit]; // eslint-disable-line - - if (typeof unitValue !== 'string') { - throw new Error('[ethjs-unit] the unit provided ' + unitInput + ' doesn\'t exists, please use the one of the following units ' + JSON.stringify(unitMap, null, 2)); - } - - return new BN(unitValue, 10); -} - -function numberToString(arg) { - if (typeof arg === 'string') { - if (!arg.match(/^-?[0-9.]+$/)) { - throw new Error('while converting number to string, invalid number value \'' + arg + '\', should be a number matching (^-?[0-9.]+).'); - } - return arg; - } else if (typeof arg === 'number') { - return String(arg); - } else if (typeof arg === 'object' && arg.toString && (arg.toTwos || arg.dividedToIntegerBy)) { - if (arg.toPrecision) { - return String(arg.toPrecision()); - } else { - // eslint-disable-line - return arg.toString(10); - } - } - throw new Error('while converting number to string, invalid number value \'' + arg + '\' type ' + typeof arg + '.'); -} - -function fromWei(weiInput, unit, optionsInput) { - var wei = numberToBN(weiInput); // eslint-disable-line - var negative = wei.lt(zero); // eslint-disable-line - var base = getValueOfUnit(unit); - var baseLength = unitMap[unit].length - 1 || 1; - var options = optionsInput || {}; - - if (negative) { - wei = wei.mul(negative1); - } - - var fraction = wei.mod(base).toString(10); // eslint-disable-line - - while (fraction.length < baseLength) { - fraction = '0' + fraction; - } - - if (!options.pad) { - fraction = fraction.match(/^([0-9]*[1-9]|0)(0*)/)[1]; - } - - var whole = wei.div(base).toString(10); // eslint-disable-line - - if (options.commify) { - whole = whole.replace(/\B(?=(\d{3})+(?!\d))/g, ','); - } - - var value = '' + whole + (fraction == '0' ? '' : '.' + fraction); // eslint-disable-line - - if (negative) { - value = '-' + value; - } - - return value; -} - -function toWei(etherInput, unit) { - var ether = numberToString(etherInput); // eslint-disable-line - var base = getValueOfUnit(unit); - var baseLength = unitMap[unit].length - 1 || 1; - - // Is it negative? - var negative = ether.substring(0, 1) === '-'; // eslint-disable-line - if (negative) { - ether = ether.substring(1); - } - - if (ether === '.') { - throw new Error('[ethjs-unit] while converting number ' + etherInput + ' to wei, invalid value'); - } - - // Split it into a whole and fractional part - var comps = ether.split('.'); // eslint-disable-line - if (comps.length > 2) { - throw new Error('[ethjs-unit] while converting number ' + etherInput + ' to wei, too many decimal points'); - } - - var whole = comps[0], - fraction = comps[1]; // eslint-disable-line - - if (!whole) { - whole = '0'; - } - if (!fraction) { - fraction = '0'; - } - if (fraction.length > baseLength) { - throw new Error('[ethjs-unit] while converting number ' + etherInput + ' to wei, too many decimal places'); - } - - while (fraction.length < baseLength) { - fraction += '0'; - } - - whole = new BN(whole); - fraction = new BN(fraction); - var wei = whole.mul(base).add(fraction); // eslint-disable-line - - if (negative) { - wei = wei.mul(negative1); - } - - return new BN(wei.toString(10), 10); -} - -module.exports = { - unitMap: unitMap, - numberToString: numberToString, - getValueOfUnit: getValueOfUnit, - fromWei: fromWei, - toWei: toWei }; - -/***/ }), -/* 1000 */ -/*!************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/number-to-bn/src/index.js ***! - \************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var BN = __webpack_require__(/*! bn.js */ 70); -var stripHexPrefix = __webpack_require__(/*! strip-hex-prefix */ 445); - -/** - * Returns a BN object, converts a number value to a BN - * @param {String|Number|Object} `arg` input a string number, hex string number, number, BigNumber or BN object - * @return {Object} `output` BN object of the number - * @throws if the argument is not an array, object that isn't a bignumber, not a string number or number - */ -module.exports = function numberToBN(arg) { - if (typeof arg === 'string' || typeof arg === 'number') { - var multiplier = new BN(1); // eslint-disable-line - var formattedString = String(arg).toLowerCase().trim(); - var isHexPrefixed = formattedString.substr(0, 2) === '0x' || formattedString.substr(0, 3) === '-0x'; - var stringArg = stripHexPrefix(formattedString); // eslint-disable-line - if (stringArg.substr(0, 1) === '-') { - stringArg = stripHexPrefix(stringArg.slice(1)); - multiplier = new BN(-1, 10); - } - stringArg = stringArg === '' ? '0' : stringArg; - - if (!stringArg.match(/^-?[0-9]+$/) && stringArg.match(/^[0-9A-Fa-f]+$/) || - stringArg.match(/^[a-fA-F]+$/) || - isHexPrefixed === true && stringArg.match(/^[0-9A-Fa-f]+$/)) { - return new BN(stringArg, 16).mul(multiplier); - } - - if ((stringArg.match(/^-?[0-9]+$/) || stringArg === '') && isHexPrefixed === false) { - return new BN(stringArg, 10).mul(multiplier); - } - } else if (typeof arg === 'object' && arg.toString && !arg.pop && !arg.push) { - if (arg.toString(10).match(/^-?[0-9]+$/) && (arg.mul || arg.dividedToIntegerBy)) { - return new BN(arg.toString(10), 10); - } - } - - throw new Error('[number-to-bn] while converting number ' + JSON.stringify(arg) + ' to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported.'); -}; - -/***/ }), -/* 1001 */ -/*!**********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-utils/lib/utils.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer) {/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file utils.js - * @author Fabian Vogelsteller - * @date 2017 - */ -var _ = __webpack_require__(/*! underscore */ 994); -var BN = __webpack_require__(/*! bn.js */ 70); -var numberToBN = __webpack_require__(/*! number-to-bn */ 1000); -var utf8 = __webpack_require__(/*! utf8 */ 1002); -var Hash = __webpack_require__(/*! eth-lib/lib/hash */ 1003); -var ethereumBloomFilters = __webpack_require__(/*! ethereum-bloom-filters */ 1004); -/** - * Returns true if object is BN, otherwise false - * - * @method isBN - * @param {Object} object - * @return {Boolean} - */ -var isBN = function isBN(object) { - return BN.isBN(object); -}; -/** - * Returns true if object is BigNumber, otherwise false - * - * @method isBigNumber - * @param {Object} object - * @return {Boolean} - */ -var isBigNumber = function isBigNumber(object) { - return object && object.constructor && object.constructor.name === 'BigNumber'; -}; -/** - * Takes an input and transforms it into an BN - * - * @method toBN - * @param {Number|String|BN} number, string, HEX string or BN - * @return {BN} BN - */ -var toBN = function toBN(number) { - try { - return numberToBN.apply(null, arguments); - } - catch (e) { - throw new Error(e + ' Given value: "' + number + '"'); - } -}; -/** - * Takes and input transforms it into BN and if it is negative value, into two's complement - * - * @method toTwosComplement - * @param {Number|String|BN} number - * @return {String} - */ -var toTwosComplement = function toTwosComplement(number) { - return '0x' + toBN(number).toTwos(256).toString(16, 64); -}; -/** - * Checks if the given string is an address - * - * @method isAddress - * @param {String} address the given HEX address - * @return {Boolean} - */ -var isAddress = function isAddress(address) { - // check if it has the basic requirements of an address - if (!/^(0x)?[0-9a-f]{40}$/i.test(address)) { - return false; - // If it's ALL lowercase or ALL upppercase - } else - if (/^(0x|0X)?[0-9a-f]{40}$/.test(address) || /^(0x|0X)?[0-9A-F]{40}$/.test(address)) { - return true; - // Otherwise check each case - } else - { - return checkAddressChecksum(address); - } -}; -/** - * Checks if the given string is a checksummed address - * - * @method checkAddressChecksum - * @param {String} address the given HEX address - * @return {Boolean} - */ -var checkAddressChecksum = function checkAddressChecksum(address) { - // Check each case - address = address.replace(/^0x/i, ''); - var addressHash = sha3(address.toLowerCase()).replace(/^0x/i, ''); - for (var i = 0; i < 40; i++) { - // the nth letter should be uppercase if the nth digit of casemap is 1 - if (parseInt(addressHash[i], 16) > 7 && address[i].toUpperCase() !== address[i] || parseInt(addressHash[i], 16) <= 7 && address[i].toLowerCase() !== address[i]) { - return false; - } - } - return true; -}; -/** - * Should be called to pad string to expected length - * - * @method leftPad - * @param {String} string to be padded - * @param {Number} chars that result string should have - * @param {String} sign, by default 0 - * @returns {String} right aligned string - */ -var leftPad = function leftPad(string, chars, sign) { - var hasPrefix = /^0x/i.test(string) || typeof string === 'number'; - string = string.toString(16).replace(/^0x/i, ''); - var padding = chars - string.length + 1 >= 0 ? chars - string.length + 1 : 0; - return (hasPrefix ? '0x' : '') + new Array(padding).join(sign ? sign : "0") + string; -}; -/** - * Should be called to pad string to expected length - * - * @method rightPad - * @param {String} string to be padded - * @param {Number} chars that result string should have - * @param {String} sign, by default 0 - * @returns {String} right aligned string - */ -var rightPad = function rightPad(string, chars, sign) { - var hasPrefix = /^0x/i.test(string) || typeof string === 'number'; - string = string.toString(16).replace(/^0x/i, ''); - var padding = chars - string.length + 1 >= 0 ? chars - string.length + 1 : 0; - return (hasPrefix ? '0x' : '') + string + new Array(padding).join(sign ? sign : "0"); -}; -/** - * Should be called to get hex representation (prefixed by 0x) of utf8 string - * - * @method utf8ToHex - * @param {String} str - * @returns {String} hex representation of input string - */ -var utf8ToHex = function utf8ToHex(str) { - str = utf8.encode(str); - var hex = ""; - // remove \u0000 padding from either side - str = str.replace(/^(?:\u0000)*/, ''); - str = str.split("").reverse().join(""); - str = str.replace(/^(?:\u0000)*/, ''); - str = str.split("").reverse().join(""); - for (var i = 0; i < str.length; i++) { - var code = str.charCodeAt(i); - // if (code !== 0) { - var n = code.toString(16); - hex += n.length < 2 ? '0' + n : n; - // } - } - return "0x" + hex; -}; -/** - * Should be called to get utf8 from it's hex representation - * - * @method hexToUtf8 - * @param {String} hex - * @returns {String} ascii string representation of hex value - */ -var hexToUtf8 = function hexToUtf8(hex) { - if (!isHexStrict(hex)) - throw new Error('The parameter "' + hex + '" must be a valid HEX string.'); - var str = ""; - var code = 0; - hex = hex.replace(/^0x/i, ''); - // remove 00 padding from either side - hex = hex.replace(/^(?:00)*/, ''); - hex = hex.split("").reverse().join(""); - hex = hex.replace(/^(?:00)*/, ''); - hex = hex.split("").reverse().join(""); - var l = hex.length; - for (var i = 0; i < l; i += 2) { - code = parseInt(hex.substr(i, 2), 16); - // if (code !== 0) { - str += String.fromCharCode(code); - // } - } - return utf8.decode(str); -}; -/** - * Converts value to it's number representation - * - * @method hexToNumber - * @param {String|Number|BN} value - * @return {String} - */ -var hexToNumber = function hexToNumber(value) { - if (!value) { - return value; - } - if (_.isString(value) && !isHexStrict(value)) { - throw new Error('Given value "' + value + '" is not a valid hex string.'); - } - return toBN(value).toNumber(); -}; -/** - * Converts value to it's decimal representation in string - * - * @method hexToNumberString - * @param {String|Number|BN} value - * @return {String} - */ -var hexToNumberString = function hexToNumberString(value) { - if (!value) - return value; - if (_.isString(value) && !isHexStrict(value)) { - throw new Error('Given value "' + value + '" is not a valid hex string.'); - } - return toBN(value).toString(10); -}; -/** - * Converts value to it's hex representation - * - * @method numberToHex - * @param {String|Number|BN} value - * @return {String} - */ -var numberToHex = function numberToHex(value) { - if (_.isNull(value) || _.isUndefined(value)) { - return value; - } - if (!isFinite(value) && !isHexStrict(value)) { - throw new Error('Given input "' + value + '" is not a number.'); - } - var number = toBN(value); - var result = number.toString(16); - return number.lt(new BN(0)) ? '-0x' + result.substr(1) : '0x' + result; -}; -/** - * Convert a byte array to a hex string - * - * Note: Implementation from crypto-js - * - * @method bytesToHex - * @param {Array} bytes - * @return {String} the hex string - */ -var bytesToHex = function bytesToHex(bytes) { - for (var hex = [], i = 0; i < bytes.length; i++) { - /* jshint ignore:start */ - hex.push((bytes[i] >>> 4).toString(16)); - hex.push((bytes[i] & 0xF).toString(16)); - /* jshint ignore:end */ - } - return '0x' + hex.join(""); -}; -/** - * Convert a hex string to a byte array - * - * Note: Implementation from crypto-js - * - * @method hexToBytes - * @param {string} hex - * @return {Array} the byte array - */ -var hexToBytes = function hexToBytes(hex) { - hex = hex.toString(16); - if (!isHexStrict(hex)) { - throw new Error('Given value "' + hex + '" is not a valid hex string.'); - } - hex = hex.replace(/^0x/i, ''); - for (var bytes = [], c = 0; c < hex.length; c += 2) { - bytes.push(parseInt(hex.substr(c, 2), 16));} - return bytes; -}; -/** - * Auto converts any given value into it's hex representation. - * - * And even stringifys objects before. - * - * @method toHex - * @param {String|Number|BN|Object|Buffer} value - * @param {Boolean} returnType - * @return {String} - */ -var toHex = function toHex(value, returnType) { - /*jshint maxcomplexity: false */ - if (isAddress(value)) { - return returnType ? 'address' : '0x' + value.toLowerCase().replace(/^0x/i, ''); - } - if (_.isBoolean(value)) { - return returnType ? 'bool' : value ? '0x01' : '0x00'; - } - if (Buffer.isBuffer(value)) { - return '0x' + value.toString('hex'); - } - if (_.isObject(value) && !isBigNumber(value) && !isBN(value)) { - return returnType ? 'string' : utf8ToHex(JSON.stringify(value)); - } - // if its a negative number, pass it through numberToHex - if (_.isString(value)) { - if (value.indexOf('-0x') === 0 || value.indexOf('-0X') === 0) { - return returnType ? 'int256' : numberToHex(value); - } else - if (value.indexOf('0x') === 0 || value.indexOf('0X') === 0) { - return returnType ? 'bytes' : value; - } else - if (!isFinite(value)) { - return returnType ? 'string' : utf8ToHex(value); - } - } - return returnType ? value < 0 ? 'int256' : 'uint256' : numberToHex(value); -}; -/** - * Check if string is HEX, requires a 0x in front - * - * @method isHexStrict - * @param {String} hex to be checked - * @returns {Boolean} - */ -var isHexStrict = function isHexStrict(hex) { - return (_.isString(hex) || _.isNumber(hex)) && /^(-)?0x[0-9a-f]*$/i.test(hex); -}; -/** - * Check if string is HEX - * - * @method isHex - * @param {String} hex to be checked - * @returns {Boolean} - */ -var isHex = function isHex(hex) { - return (_.isString(hex) || _.isNumber(hex)) && /^(-0x|0x)?[0-9a-f]*$/i.test(hex); -}; -/** - * Remove 0x prefix from string - * - * @method stripHexPrefix - * @param {String} str to be checked - * @returns {String} - */ -var stripHexPrefix = function stripHexPrefix(str) { - if (str !== 0 && isHex(str)) - return str.replace(/^(-)?0x/i, '$1'); - return str; -}; -/** - * Returns true if given string is a valid Ethereum block header bloom. - * - * @method isBloom - * @param {String} bloom encoded bloom filter - * @return {Boolean} - */ -var isBloom = function isBloom(bloom) { - return ethereumBloomFilters.isBloom(bloom); -}; -/** - * Returns true if the ethereum users address is part of the given bloom - * note: false positives are possible. - * - * @method isUserEthereumAddressInBloom - * @param {String} ethereumAddress encoded bloom filter - * @param {String} bloom ethereum addresss - * @return {Boolean} - */ -var isUserEthereumAddressInBloom = function isUserEthereumAddressInBloom(bloom, ethereumAddress) { - return ethereumBloomFilters.isUserEthereumAddressInBloom(bloom, ethereumAddress); -}; -/** - * Returns true if the contract address is part of the given bloom - * note: false positives are possible. - * - * @method isUserEthereumAddressInBloom - * @param {String} bloom encoded bloom filter - * @param {String} contractAddress contract addresss - * @return {Boolean} - */ -var isContractAddressInBloom = function isContractAddressInBloom(bloom, contractAddress) { - return ethereumBloomFilters.isContractAddressInBloom(bloom, contractAddress); -}; -/** - * Returns true if given string is a valid log topic. - * - * @method isTopic - * @param {String} topic encoded topic - * @return {Boolean} - */ -var isTopic = function isTopic(topic) { - return ethereumBloomFilters.isTopic(topic); -}; -/** - * Returns true if the topic is part of the given bloom - * note: false positives are possible. - * - * @method isTopicInBloom - * @param {String} bloom encoded bloom filter - * @param {String} topic encoded topic - * @return {Boolean} - */ -var isTopicInBloom = function isTopicInBloom(bloom, topic) { - return ethereumBloomFilters.isTopicInBloom(bloom, topic); -}; -/** - * Returns true if the value is part of the given bloom - * note: false positives are possible. - * - * @method isInBloom - * @param {String} bloom encoded bloom filter - * @param {String | Uint8Array} topic encoded value - * @return {Boolean} - */ -var isInBloom = function isInBloom(bloom, topic) { - return ethereumBloomFilters.isInBloom(bloom, topic); -}; -/** - * Hashes values to a sha3 hash using keccak 256 - * - * To hash a HEX string the hex must have 0x in front. - * - * @method sha3 - * @return {String} the sha3 string - */ -var SHA3_NULL_S = '0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470'; -var sha3 = function sha3(value) { - if (isBN(value)) { - value = value.toString(); - } - if (isHexStrict(value) && /^0x/i.test(value.toString())) { - value = hexToBytes(value); - } - var returnValue = Hash.keccak256(value); // jshint ignore:line - if (returnValue === SHA3_NULL_S) { - return null; - } else - { - return returnValue; - } -}; -// expose the under the hood keccak256 -sha3._Hash = Hash; -/** - * @method sha3Raw - * - * @param value - * - * @returns {string} - */ -var sha3Raw = function sha3Raw(value) { - value = sha3(value); - if (value === null) { - return SHA3_NULL_S; - } - return value; -}; -module.exports = { - BN: BN, - isBN: isBN, - isBigNumber: isBigNumber, - toBN: toBN, - isAddress: isAddress, - isBloom: isBloom, - isUserEthereumAddressInBloom: isUserEthereumAddressInBloom, - isContractAddressInBloom: isContractAddressInBloom, - isTopic: isTopic, - isTopicInBloom: isTopicInBloom, - isInBloom: isInBloom, - checkAddressChecksum: checkAddressChecksum, - utf8ToHex: utf8ToHex, - hexToUtf8: hexToUtf8, - hexToNumber: hexToNumber, - hexToNumberString: hexToNumberString, - numberToHex: numberToHex, - toHex: toHex, - hexToBytes: hexToBytes, - bytesToHex: bytesToHex, - isHex: isHex, - isHexStrict: isHexStrict, - stripHexPrefix: stripHexPrefix, - leftPad: leftPad, - rightPad: rightPad, - toTwosComplement: toTwosComplement, - sha3: sha3, - sha3Raw: sha3Raw }; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1002 */ -/*!***********************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/utf8/utf8.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/*! https://mths.be/utf8js v3.0.0 by @mathias */ -;(function (root) { - - var stringFromCharCode = String.fromCharCode; - - // Taken from https://mths.be/punycode - function ucs2decode(string) { - var output = []; - var counter = 0; - var length = string.length; - var value; - var extra; - while (counter < length) { - value = string.charCodeAt(counter++); - if (value >= 0xD800 && value <= 0xDBFF && counter < length) { - // high surrogate, and there is a next character - extra = string.charCodeAt(counter++); - if ((extra & 0xFC00) == 0xDC00) {// low surrogate - output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); - } else { - // unmatched surrogate; only append this code unit, in case the next - // code unit is the high surrogate of a surrogate pair - output.push(value); - counter--; - } - } else { - output.push(value); - } - } - return output; - } - - // Taken from https://mths.be/punycode - function ucs2encode(array) { - var length = array.length; - var index = -1; - var value; - var output = ''; - while (++index < length) { - value = array[index]; - if (value > 0xFFFF) { - value -= 0x10000; - output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800); - value = 0xDC00 | value & 0x3FF; - } - output += stringFromCharCode(value); - } - return output; - } - - function checkScalarValue(codePoint) { - if (codePoint >= 0xD800 && codePoint <= 0xDFFF) { - throw Error( - 'Lone surrogate U+' + codePoint.toString(16).toUpperCase() + - ' is not a scalar value'); - - } - } - /*--------------------------------------------------------------------------*/ - - function createByte(codePoint, shift) { - return stringFromCharCode(codePoint >> shift & 0x3F | 0x80); - } - - function encodeCodePoint(codePoint) { - if ((codePoint & 0xFFFFFF80) == 0) {// 1-byte sequence - return stringFromCharCode(codePoint); - } - var symbol = ''; - if ((codePoint & 0xFFFFF800) == 0) {// 2-byte sequence - symbol = stringFromCharCode(codePoint >> 6 & 0x1F | 0xC0); - } else - if ((codePoint & 0xFFFF0000) == 0) {// 3-byte sequence - checkScalarValue(codePoint); - symbol = stringFromCharCode(codePoint >> 12 & 0x0F | 0xE0); - symbol += createByte(codePoint, 6); - } else - if ((codePoint & 0xFFE00000) == 0) {// 4-byte sequence - symbol = stringFromCharCode(codePoint >> 18 & 0x07 | 0xF0); - symbol += createByte(codePoint, 12); - symbol += createByte(codePoint, 6); - } - symbol += stringFromCharCode(codePoint & 0x3F | 0x80); - return symbol; - } - - function utf8encode(string) { - var codePoints = ucs2decode(string); - var length = codePoints.length; - var index = -1; - var codePoint; - var byteString = ''; - while (++index < length) { - codePoint = codePoints[index]; - byteString += encodeCodePoint(codePoint); - } - return byteString; - } - - /*--------------------------------------------------------------------------*/ - - function readContinuationByte() { - if (byteIndex >= byteCount) { - throw Error('Invalid byte index'); - } - - var continuationByte = byteArray[byteIndex] & 0xFF; - byteIndex++; - - if ((continuationByte & 0xC0) == 0x80) { - return continuationByte & 0x3F; - } - - // If we end up here, it’s not a continuation byte - throw Error('Invalid continuation byte'); - } - - function decodeSymbol() { - var byte1; - var byte2; - var byte3; - var byte4; - var codePoint; - - if (byteIndex > byteCount) { - throw Error('Invalid byte index'); - } - - if (byteIndex == byteCount) { - return false; - } - - // Read first byte - byte1 = byteArray[byteIndex] & 0xFF; - byteIndex++; - - // 1-byte sequence (no continuation bytes) - if ((byte1 & 0x80) == 0) { - return byte1; - } - - // 2-byte sequence - if ((byte1 & 0xE0) == 0xC0) { - byte2 = readContinuationByte(); - codePoint = (byte1 & 0x1F) << 6 | byte2; - if (codePoint >= 0x80) { - return codePoint; - } else { - throw Error('Invalid continuation byte'); - } - } - - // 3-byte sequence (may include unpaired surrogates) - if ((byte1 & 0xF0) == 0xE0) { - byte2 = readContinuationByte(); - byte3 = readContinuationByte(); - codePoint = (byte1 & 0x0F) << 12 | byte2 << 6 | byte3; - if (codePoint >= 0x0800) { - checkScalarValue(codePoint); - return codePoint; - } else { - throw Error('Invalid continuation byte'); - } - } - - // 4-byte sequence - if ((byte1 & 0xF8) == 0xF0) { - byte2 = readContinuationByte(); - byte3 = readContinuationByte(); - byte4 = readContinuationByte(); - codePoint = (byte1 & 0x07) << 0x12 | byte2 << 0x0C | - byte3 << 0x06 | byte4; - if (codePoint >= 0x010000 && codePoint <= 0x10FFFF) { - return codePoint; - } - } - - throw Error('Invalid UTF-8 detected'); - } - - var byteArray; - var byteCount; - var byteIndex; - function utf8decode(byteString) { - byteArray = ucs2decode(byteString); - byteCount = byteArray.length; - byteIndex = 0; - var codePoints = []; - var tmp; - while ((tmp = decodeSymbol()) !== false) { - codePoints.push(tmp); - } - return ucs2encode(codePoints); - } - - /*--------------------------------------------------------------------------*/ - - root.version = '3.0.0'; - root.encode = utf8encode; - root.decode = utf8decode; - -})( false ? undefined : exports); - -/***/ }), -/* 1003 */ -/*!******************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/eth-lib/lib/hash.js ***! - \******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// This was ported from https://github.com/emn178/js-sha3, with some minor -// modifications and pruning. It is licensed under MIT: -// -// Copyright 2015-2016 Chen, Yi-Cyuan -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -var HEX_CHARS = '0123456789abcdef'.split(''); -var KECCAK_PADDING = [1, 256, 65536, 16777216]; -var SHIFT = [0, 8, 16, 24]; -var RC = [1, 0, 32898, 0, 32906, 2147483648, 2147516416, 2147483648, 32907, 0, 2147483649, 0, 2147516545, 2147483648, 32777, 2147483648, 138, 0, 136, 0, 2147516425, 0, 2147483658, 0, 2147516555, 0, 139, 2147483648, 32905, 2147483648, 32771, 2147483648, 32770, 2147483648, 128, 2147483648, 32778, 0, 2147483658, 2147483648, 2147516545, 2147483648, 32896, 2147483648, 2147483649, 0, 2147516424, 2147483648]; - -var Keccak = function Keccak(bits) { - return { - blocks: [], - reset: true, - block: 0, - start: 0, - blockCount: 1600 - (bits << 1) >> 5, - outputBlocks: bits >> 5, - s: function (s) { - return [].concat(s, s, s, s, s); - }([0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) }; - -}; - -var update = function update(state, message) { - var length = message.length, - blocks = state.blocks, - byteCount = state.blockCount << 2, - blockCount = state.blockCount, - outputBlocks = state.outputBlocks, - s = state.s, - index = 0, - i, - code; - - // update - while (index < length) { - if (state.reset) { - state.reset = false; - blocks[0] = state.block; - for (i = 1; i < blockCount + 1; ++i) { - blocks[i] = 0; - } - } - if (typeof message !== "string") { - for (i = state.start; index < length && i < byteCount; ++index) { - blocks[i >> 2] |= message[index] << SHIFT[i++ & 3]; - } - } else { - for (i = state.start; index < length && i < byteCount; ++index) { - code = message.charCodeAt(index); - if (code < 0x80) { - blocks[i >> 2] |= code << SHIFT[i++ & 3]; - } else if (code < 0x800) { - blocks[i >> 2] |= (0xc0 | code >> 6) << SHIFT[i++ & 3]; - blocks[i >> 2] |= (0x80 | code & 0x3f) << SHIFT[i++ & 3]; - } else if (code < 0xd800 || code >= 0xe000) { - blocks[i >> 2] |= (0xe0 | code >> 12) << SHIFT[i++ & 3]; - blocks[i >> 2] |= (0x80 | code >> 6 & 0x3f) << SHIFT[i++ & 3]; - blocks[i >> 2] |= (0x80 | code & 0x3f) << SHIFT[i++ & 3]; - } else { - code = 0x10000 + ((code & 0x3ff) << 10 | message.charCodeAt(++index) & 0x3ff); - blocks[i >> 2] |= (0xf0 | code >> 18) << SHIFT[i++ & 3]; - blocks[i >> 2] |= (0x80 | code >> 12 & 0x3f) << SHIFT[i++ & 3]; - blocks[i >> 2] |= (0x80 | code >> 6 & 0x3f) << SHIFT[i++ & 3]; - blocks[i >> 2] |= (0x80 | code & 0x3f) << SHIFT[i++ & 3]; - } - } - } - state.lastByteIndex = i; - if (i >= byteCount) { - state.start = i - byteCount; - state.block = blocks[blockCount]; - for (i = 0; i < blockCount; ++i) { - s[i] ^= blocks[i]; - } - f(s); - state.reset = true; - } else { - state.start = i; - } - } - - // finalize - i = state.lastByteIndex; - blocks[i >> 2] |= KECCAK_PADDING[i & 3]; - if (state.lastByteIndex === byteCount) { - blocks[0] = blocks[blockCount]; - for (i = 1; i < blockCount + 1; ++i) { - blocks[i] = 0; - } - } - blocks[blockCount - 1] |= 0x80000000; - for (i = 0; i < blockCount; ++i) { - s[i] ^= blocks[i]; - } - f(s); - - // toString - var hex = '', - i = 0, - j = 0, - block; - while (j < outputBlocks) { - for (i = 0; i < blockCount && j < outputBlocks; ++i, ++j) { - block = s[i]; - hex += HEX_CHARS[block >> 4 & 0x0F] + HEX_CHARS[block & 0x0F] + HEX_CHARS[block >> 12 & 0x0F] + HEX_CHARS[block >> 8 & 0x0F] + HEX_CHARS[block >> 20 & 0x0F] + HEX_CHARS[block >> 16 & 0x0F] + HEX_CHARS[block >> 28 & 0x0F] + HEX_CHARS[block >> 24 & 0x0F]; - } - if (j % blockCount === 0) { - f(s); - i = 0; - } - } - return "0x" + hex; -}; - -var f = function f(s) { - var h, l, n, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32, b33, b34, b35, b36, b37, b38, b39, b40, b41, b42, b43, b44, b45, b46, b47, b48, b49; - - for (n = 0; n < 48; n += 2) { - c0 = s[0] ^ s[10] ^ s[20] ^ s[30] ^ s[40]; - c1 = s[1] ^ s[11] ^ s[21] ^ s[31] ^ s[41]; - c2 = s[2] ^ s[12] ^ s[22] ^ s[32] ^ s[42]; - c3 = s[3] ^ s[13] ^ s[23] ^ s[33] ^ s[43]; - c4 = s[4] ^ s[14] ^ s[24] ^ s[34] ^ s[44]; - c5 = s[5] ^ s[15] ^ s[25] ^ s[35] ^ s[45]; - c6 = s[6] ^ s[16] ^ s[26] ^ s[36] ^ s[46]; - c7 = s[7] ^ s[17] ^ s[27] ^ s[37] ^ s[47]; - c8 = s[8] ^ s[18] ^ s[28] ^ s[38] ^ s[48]; - c9 = s[9] ^ s[19] ^ s[29] ^ s[39] ^ s[49]; - - h = c8 ^ (c2 << 1 | c3 >>> 31); - l = c9 ^ (c3 << 1 | c2 >>> 31); - s[0] ^= h; - s[1] ^= l; - s[10] ^= h; - s[11] ^= l; - s[20] ^= h; - s[21] ^= l; - s[30] ^= h; - s[31] ^= l; - s[40] ^= h; - s[41] ^= l; - h = c0 ^ (c4 << 1 | c5 >>> 31); - l = c1 ^ (c5 << 1 | c4 >>> 31); - s[2] ^= h; - s[3] ^= l; - s[12] ^= h; - s[13] ^= l; - s[22] ^= h; - s[23] ^= l; - s[32] ^= h; - s[33] ^= l; - s[42] ^= h; - s[43] ^= l; - h = c2 ^ (c6 << 1 | c7 >>> 31); - l = c3 ^ (c7 << 1 | c6 >>> 31); - s[4] ^= h; - s[5] ^= l; - s[14] ^= h; - s[15] ^= l; - s[24] ^= h; - s[25] ^= l; - s[34] ^= h; - s[35] ^= l; - s[44] ^= h; - s[45] ^= l; - h = c4 ^ (c8 << 1 | c9 >>> 31); - l = c5 ^ (c9 << 1 | c8 >>> 31); - s[6] ^= h; - s[7] ^= l; - s[16] ^= h; - s[17] ^= l; - s[26] ^= h; - s[27] ^= l; - s[36] ^= h; - s[37] ^= l; - s[46] ^= h; - s[47] ^= l; - h = c6 ^ (c0 << 1 | c1 >>> 31); - l = c7 ^ (c1 << 1 | c0 >>> 31); - s[8] ^= h; - s[9] ^= l; - s[18] ^= h; - s[19] ^= l; - s[28] ^= h; - s[29] ^= l; - s[38] ^= h; - s[39] ^= l; - s[48] ^= h; - s[49] ^= l; - - b0 = s[0]; - b1 = s[1]; - b32 = s[11] << 4 | s[10] >>> 28; - b33 = s[10] << 4 | s[11] >>> 28; - b14 = s[20] << 3 | s[21] >>> 29; - b15 = s[21] << 3 | s[20] >>> 29; - b46 = s[31] << 9 | s[30] >>> 23; - b47 = s[30] << 9 | s[31] >>> 23; - b28 = s[40] << 18 | s[41] >>> 14; - b29 = s[41] << 18 | s[40] >>> 14; - b20 = s[2] << 1 | s[3] >>> 31; - b21 = s[3] << 1 | s[2] >>> 31; - b2 = s[13] << 12 | s[12] >>> 20; - b3 = s[12] << 12 | s[13] >>> 20; - b34 = s[22] << 10 | s[23] >>> 22; - b35 = s[23] << 10 | s[22] >>> 22; - b16 = s[33] << 13 | s[32] >>> 19; - b17 = s[32] << 13 | s[33] >>> 19; - b48 = s[42] << 2 | s[43] >>> 30; - b49 = s[43] << 2 | s[42] >>> 30; - b40 = s[5] << 30 | s[4] >>> 2; - b41 = s[4] << 30 | s[5] >>> 2; - b22 = s[14] << 6 | s[15] >>> 26; - b23 = s[15] << 6 | s[14] >>> 26; - b4 = s[25] << 11 | s[24] >>> 21; - b5 = s[24] << 11 | s[25] >>> 21; - b36 = s[34] << 15 | s[35] >>> 17; - b37 = s[35] << 15 | s[34] >>> 17; - b18 = s[45] << 29 | s[44] >>> 3; - b19 = s[44] << 29 | s[45] >>> 3; - b10 = s[6] << 28 | s[7] >>> 4; - b11 = s[7] << 28 | s[6] >>> 4; - b42 = s[17] << 23 | s[16] >>> 9; - b43 = s[16] << 23 | s[17] >>> 9; - b24 = s[26] << 25 | s[27] >>> 7; - b25 = s[27] << 25 | s[26] >>> 7; - b6 = s[36] << 21 | s[37] >>> 11; - b7 = s[37] << 21 | s[36] >>> 11; - b38 = s[47] << 24 | s[46] >>> 8; - b39 = s[46] << 24 | s[47] >>> 8; - b30 = s[8] << 27 | s[9] >>> 5; - b31 = s[9] << 27 | s[8] >>> 5; - b12 = s[18] << 20 | s[19] >>> 12; - b13 = s[19] << 20 | s[18] >>> 12; - b44 = s[29] << 7 | s[28] >>> 25; - b45 = s[28] << 7 | s[29] >>> 25; - b26 = s[38] << 8 | s[39] >>> 24; - b27 = s[39] << 8 | s[38] >>> 24; - b8 = s[48] << 14 | s[49] >>> 18; - b9 = s[49] << 14 | s[48] >>> 18; - - s[0] = b0 ^ ~b2 & b4; - s[1] = b1 ^ ~b3 & b5; - s[10] = b10 ^ ~b12 & b14; - s[11] = b11 ^ ~b13 & b15; - s[20] = b20 ^ ~b22 & b24; - s[21] = b21 ^ ~b23 & b25; - s[30] = b30 ^ ~b32 & b34; - s[31] = b31 ^ ~b33 & b35; - s[40] = b40 ^ ~b42 & b44; - s[41] = b41 ^ ~b43 & b45; - s[2] = b2 ^ ~b4 & b6; - s[3] = b3 ^ ~b5 & b7; - s[12] = b12 ^ ~b14 & b16; - s[13] = b13 ^ ~b15 & b17; - s[22] = b22 ^ ~b24 & b26; - s[23] = b23 ^ ~b25 & b27; - s[32] = b32 ^ ~b34 & b36; - s[33] = b33 ^ ~b35 & b37; - s[42] = b42 ^ ~b44 & b46; - s[43] = b43 ^ ~b45 & b47; - s[4] = b4 ^ ~b6 & b8; - s[5] = b5 ^ ~b7 & b9; - s[14] = b14 ^ ~b16 & b18; - s[15] = b15 ^ ~b17 & b19; - s[24] = b24 ^ ~b26 & b28; - s[25] = b25 ^ ~b27 & b29; - s[34] = b34 ^ ~b36 & b38; - s[35] = b35 ^ ~b37 & b39; - s[44] = b44 ^ ~b46 & b48; - s[45] = b45 ^ ~b47 & b49; - s[6] = b6 ^ ~b8 & b0; - s[7] = b7 ^ ~b9 & b1; - s[16] = b16 ^ ~b18 & b10; - s[17] = b17 ^ ~b19 & b11; - s[26] = b26 ^ ~b28 & b20; - s[27] = b27 ^ ~b29 & b21; - s[36] = b36 ^ ~b38 & b30; - s[37] = b37 ^ ~b39 & b31; - s[46] = b46 ^ ~b48 & b40; - s[47] = b47 ^ ~b49 & b41; - s[8] = b8 ^ ~b0 & b2; - s[9] = b9 ^ ~b1 & b3; - s[18] = b18 ^ ~b10 & b12; - s[19] = b19 ^ ~b11 & b13; - s[28] = b28 ^ ~b20 & b22; - s[29] = b29 ^ ~b21 & b23; - s[38] = b38 ^ ~b30 & b32; - s[39] = b39 ^ ~b31 & b33; - s[48] = b48 ^ ~b40 & b42; - s[49] = b49 ^ ~b41 & b43; - - s[0] ^= RC[n]; - s[1] ^= RC[n + 1]; - } -}; - -var keccak = function keccak(bits) { - return function (str) { - var msg; - if (str.slice(0, 2) === "0x") { - msg = []; - for (var i = 2, l = str.length; i < l; i += 2) { - msg.push(parseInt(str.slice(i, i + 2), 16)); - } - } else { - msg = str; - } - return update(Keccak(bits, bits), msg); - }; -}; - -module.exports = { - keccak256: keccak(256), - keccak512: keccak(512), - keccak256s: keccak(256), - keccak512s: keccak(512) }; - -/***/ }), -/* 1004 */ -/*!***********************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereum-bloom-filters/dist/index.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -var utils_1 = __webpack_require__(/*! ./utils */ 1005); -/** - * Returns true if the bloom is a valid bloom - * @param bloom The bloom - */ -function isBloom(bloom) { - if (typeof bloom !== 'string') { - return false; - } - if (!/^(0x)?[0-9a-f]{512}$/i.test(bloom)) { - return false; - } - if (/^(0x)?[0-9a-f]{512}$/.test(bloom) || - /^(0x)?[0-9A-F]{512}$/.test(bloom)) { - return true; - } - return false; -} -exports.isBloom = isBloom; -/** - * Returns true if the value is part of the given bloom - * note: false positives are possible. - * @param bloom encoded bloom - * @param value The value - */ -function isInBloom(bloom, value) { - if (typeof value === 'object' && value.constructor === Uint8Array) { - value = utils_1.bytesToHex(value); - } - var hash = utils_1.keccak256(value).replace('0x', ''); - for (var i = 0; i < 12; i += 4) { - // calculate bit position in bloom filter that must be active - var bitpos = (parseInt(hash.substr(i, 2), 16) << 8) + - parseInt(hash.substr(i + 2, 2), 16) & - 2047; - // test if bitpos in bloom is active - var code = codePointToInt(bloom.charCodeAt(bloom.length - 1 - Math.floor(bitpos / 4))); - var offset = 1 << bitpos % 4; - if ((code & offset) !== offset) { - return false; - } - } - return true; -} -exports.isInBloom = isInBloom; -/** - * Code points to int - * @param codePoint The code point - */ -function codePointToInt(codePoint) { - if (codePoint >= 48 && codePoint <= 57) { - /* ['0'..'9'] -> [0..9] */ - return codePoint - 48; - } - if (codePoint >= 65 && codePoint <= 70) { - /* ['A'..'F'] -> [10..15] */ - return codePoint - 55; - } - if (codePoint >= 97 && codePoint <= 102) { - /* ['a'..'f'] -> [10..15] */ - return codePoint - 87; - } - throw new Error('invalid bloom'); -} -/** - * Returns true if the ethereum users address is part of the given bloom. - * note: false positives are possible. - * @param bloom encoded bloom - * @param address the address to test - */ -function isUserEthereumAddressInBloom(bloom, ethereumAddress) { - if (!isBloom(bloom)) { - throw new Error('Invalid bloom given'); - } - if (!isAddress(ethereumAddress)) { - throw new Error("Invalid ethereum address given: \"".concat(ethereumAddress, "\"")); - } - // you have to pad the ethereum address to 32 bytes - // else the bloom filter does not work - // this is only if your matching the USERS - // ethereum address. Contract address do not need this - // hence why we have 2 methods - // (0x is not in the 2nd parameter of padleft so 64 chars is fine) - var address = utils_1.padLeft(ethereumAddress, 64); - return isInBloom(bloom, address); -} -exports.isUserEthereumAddressInBloom = isUserEthereumAddressInBloom; -/** - * Returns true if the contract address is part of the given bloom. - * note: false positives are possible. - * @param bloom encoded bloom - * @param contractAddress the contract address to test - */ -function isContractAddressInBloom(bloom, contractAddress) { - if (!isBloom(bloom)) { - throw new Error('Invalid bloom given'); - } - if (!isAddress(contractAddress)) { - throw new Error("Invalid contract address given: \"".concat(contractAddress, "\"")); - } - return isInBloom(bloom, contractAddress); -} -exports.isContractAddressInBloom = isContractAddressInBloom; -/** - * Returns true if the topic is part of the given bloom. - * note: false positives are possible. - * @param bloom encoded bloom - * @param topic the topic encoded hex - */ -function isTopicInBloom(bloom, topic) { - if (!isBloom(bloom)) { - throw new Error('Invalid bloom given'); - } - if (!isTopic(topic)) { - throw new Error('Invalid topic'); - } - return isInBloom(bloom, topic); -} -exports.isTopicInBloom = isTopicInBloom; -/** - * Checks if its a valid topic - * @param topic encoded hex topic - */ -function isTopic(topic) { - if (typeof topic !== 'string') { - return false; - } - if (!/^(0x)?[0-9a-f]{64}$/i.test(topic)) { - return false; - } else - if (/^(0x)?[0-9a-f]{64}$/.test(topic) || - /^(0x)?[0-9A-F]{64}$/.test(topic)) { - return true; - } - return false; -} -exports.isTopic = isTopic; -/** - * Is valid address - * @param address The address - */ -function isAddress(address) { - if (typeof address !== 'string') { - return false; - } - if (address.match(/^(0x)?[0-9a-fA-F]{40}$/)) { - return true; - } - if (address.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)) { - return true; - } - return false; -} -exports.isAddress = isAddress; - -/***/ }), -/* 1005 */ -/*!***********************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereum-bloom-filters/dist/utils.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -var sha3 = __webpack_require__(/*! js-sha3 */ 87); -/** - * Keccak256 hash - * @param data The data - */ -function keccak256(data) { - return '0x' + sha3.keccak_256(toByteArray(data)); -} -exports.keccak256 = keccak256; -/** - * Adding padding to string on the left - * @param value The value - * @param chars The chars - */ -exports.padLeft = function (value, chars) { - var hasPrefix = /^0x/i.test(value) || typeof value === 'number'; - value = value.toString().replace(/^0x/i, ''); - var padding = chars - value.length + 1 >= 0 ? chars - value.length + 1 : 0; - return (hasPrefix ? '0x' : '') + new Array(padding).join('0') + value; -}; -/** - * Convert bytes to hex - * @param bytes The bytes - */ -function bytesToHex(bytes) { - var hex = []; - for (var i = 0; i < bytes.length; i++) { - hex.push((bytes[i] >>> 4).toString(16)); - hex.push((bytes[i] & 0xf).toString(16)); - } - return "0x".concat(hex.join('').replace(/^0+/, '')); -} -exports.bytesToHex = bytesToHex; -/** - * To byte array - * @param value The value - */ -function toByteArray(value) { - if (value == null) { - throw new Error('cannot convert null value to array'); - } - if (typeof value === 'string') { - var match = value.match(/^(0x)?[0-9a-fA-F]*$/); - if (!match) { - throw new Error('invalid hexidecimal string'); - } - if (match[1] !== '0x') { - throw new Error('hex string must have 0x prefix'); - } - value = value.substring(2); - if (value.length % 2) { - value = '0' + value; - } - var result = []; - for (var i = 0; i < value.length; i += 2) { - result.push(parseInt(value.substr(i, 2), 16)); - } - return addSlice(new Uint8Array(result)); - } - if (isByteArray(value)) { - return addSlice(new Uint8Array(value)); - } - throw new Error('invalid arrayify value'); -} -exports.toByteArray = toByteArray; -/** - * Is byte array - * @param value The value - */ -function isByteArray(value) { - if (!value || - // tslint:disable-next-line: radix - parseInt(String(value.length)) != value.length || - typeof value === 'string') { - return false; - } - for (var i = 0; i < value.length; i++) { - var v = value[i]; - // tslint:disable-next-line: radix - if (v < 0 || v >= 256 || parseInt(String(v)) != v) { - return false; - } - } - return true; -} -/** - * Add slice to array - * @param array The array - */ -function addSlice(array) {var _arguments = arguments; - if (array.slice !== undefined) { - return array; - } - array.slice = function () { - var args = Array.prototype.slice.call(_arguments); - return addSlice(new Uint8Array(Array.prototype.slice.apply(array, args))); - }; - return array; -} - -/***/ }), -/* 1006 */ -/*!*****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-utils/lib/soliditySha3.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file soliditySha3.js - * @author Fabian Vogelsteller - * @date 2017 - */ -var _ = __webpack_require__(/*! underscore */ 994); -var BN = __webpack_require__(/*! bn.js */ 70); -var utils = __webpack_require__(/*! ./utils.js */ 1001); -var _elementaryName = function _elementaryName(name) { - /*jshint maxcomplexity:false */ - if (name.startsWith('int[')) { - return 'int256' + name.slice(3); - } else - if (name === 'int') { - return 'int256'; - } else - if (name.startsWith('uint[')) { - return 'uint256' + name.slice(4); - } else - if (name === 'uint') { - return 'uint256'; - } else - if (name.startsWith('fixed[')) { - return 'fixed128x128' + name.slice(5); - } else - if (name === 'fixed') { - return 'fixed128x128'; - } else - if (name.startsWith('ufixed[')) { - return 'ufixed128x128' + name.slice(6); - } else - if (name === 'ufixed') { - return 'ufixed128x128'; - } - return name; -}; -// Parse N from type -var _parseTypeN = function _parseTypeN(type) { - var typesize = /^\D+(\d+).*$/.exec(type); - return typesize ? parseInt(typesize[1], 10) : null; -}; -// Parse N from type[] -var _parseTypeNArray = function _parseTypeNArray(type) { - var arraySize = /^\D+\d*\[(\d+)\]$/.exec(type); - return arraySize ? parseInt(arraySize[1], 10) : null; -}; -var _parseNumber = function _parseNumber(arg) { - var type = typeof arg; - if (type === 'string') { - if (utils.isHexStrict(arg)) { - return new BN(arg.replace(/0x/i, ''), 16); - } else - { - return new BN(arg, 10); - } - } else - if (type === 'number') { - return new BN(arg); - } else - if (utils.isBigNumber(arg)) { - return new BN(arg.toString(10)); - } else - if (utils.isBN(arg)) { - return arg; - } else - { - throw new Error(arg + ' is not a number'); - } -}; -var _solidityPack = function _solidityPack(type, value, arraySize) { - /*jshint maxcomplexity:false */ - var size, num; - type = _elementaryName(type); - if (type === 'bytes') { - if (value.replace(/^0x/i, '').length % 2 !== 0) { - throw new Error('Invalid bytes characters ' + value.length); - } - return value; - } else - if (type === 'string') { - return utils.utf8ToHex(value); - } else - if (type === 'bool') { - return value ? '01' : '00'; - } else - if (type.startsWith('address')) { - if (arraySize) { - size = 64; - } else - { - size = 40; - } - if (!utils.isAddress(value)) { - throw new Error(value + ' is not a valid address, or the checksum is invalid.'); - } - return utils.leftPad(value.toLowerCase(), size); - } - size = _parseTypeN(type); - if (type.startsWith('bytes')) { - if (!size) { - throw new Error('bytes[] not yet supported in solidity'); - } - // must be 32 byte slices when in an array - if (arraySize) { - size = 32; - } - if (size < 1 || size > 32 || size < value.replace(/^0x/i, '').length / 2) { - throw new Error('Invalid bytes' + size + ' for ' + value); - } - return utils.rightPad(value, size * 2); - } else - if (type.startsWith('uint')) { - if (size % 8 || size < 8 || size > 256) { - throw new Error('Invalid uint' + size + ' size'); - } - num = _parseNumber(value); - if (num.bitLength() > size) { - throw new Error('Supplied uint exceeds width: ' + size + ' vs ' + num.bitLength()); - } - if (num.lt(new BN(0))) { - throw new Error('Supplied uint ' + num.toString() + ' is negative'); - } - return size ? utils.leftPad(num.toString('hex'), size / 8 * 2) : num; - } else - if (type.startsWith('int')) { - if (size % 8 || size < 8 || size > 256) { - throw new Error('Invalid int' + size + ' size'); - } - num = _parseNumber(value); - if (num.bitLength() > size) { - throw new Error('Supplied int exceeds width: ' + size + ' vs ' + num.bitLength()); - } - if (num.lt(new BN(0))) { - return num.toTwos(size).toString('hex'); - } else - { - return size ? utils.leftPad(num.toString('hex'), size / 8 * 2) : num; - } - } else - { - // FIXME: support all other types - throw new Error('Unsupported or invalid type: ' + type); - } -}; -var _processSolidityEncodePackedArgs = function _processSolidityEncodePackedArgs(arg) { - /*jshint maxcomplexity:false */ - if (_.isArray(arg)) { - throw new Error('Autodetection of array types is not supported.'); - } - var type,value = ''; - var hexArg, arraySize; - // if type is given - if (_.isObject(arg) && (arg.hasOwnProperty('v') || arg.hasOwnProperty('t') || arg.hasOwnProperty('value') || arg.hasOwnProperty('type'))) { - type = arg.hasOwnProperty('t') ? arg.t : arg.type; - value = arg.hasOwnProperty('v') ? arg.v : arg.value; - // otherwise try to guess the type - } else - { - type = utils.toHex(arg, true); - value = utils.toHex(arg); - if (!type.startsWith('int') && !type.startsWith('uint')) { - type = 'bytes'; - } - } - if ((type.startsWith('int') || type.startsWith('uint')) && typeof value === 'string' && !/^(-)?0x/i.test(value)) { - value = new BN(value); - } - // get the array size - if (_.isArray(value)) { - arraySize = _parseTypeNArray(type); - if (arraySize && value.length !== arraySize) { - throw new Error(type + ' is not matching the given array ' + JSON.stringify(value)); - } else - { - arraySize = value.length; - } - } - if (_.isArray(value)) { - hexArg = value.map(function (val) { - return _solidityPack(type, val, arraySize).toString('hex').replace('0x', ''); - }); - return hexArg.join(''); - } else - { - hexArg = _solidityPack(type, value, arraySize); - return hexArg.toString('hex').replace('0x', ''); - } -}; -/** - * Hashes solidity values to a sha3 hash using keccak 256 - * - * @method soliditySha3 - * @return {Object} the sha3 - */ -var soliditySha3 = function soliditySha3() { - /*jshint maxcomplexity:false */ - var args = Array.prototype.slice.call(arguments); - var hexArgs = _.map(args, _processSolidityEncodePackedArgs); - // console.log(args, hexArgs); - // console.log('0x'+ hexArgs.join('')); - return utils.sha3('0x' + hexArgs.join('')); -}; -/** - * Hashes solidity values to a sha3 hash using keccak 256 but does return the hash of value `null` instead of `null` - * - * @method soliditySha3Raw - * @return {Object} the sha3 - */ -var soliditySha3Raw = function soliditySha3Raw() { - return utils.sha3Raw('0x' + _.map(Array.prototype.slice.call(arguments), _processSolidityEncodePackedArgs).join('')); -}; -/** - * Encode packed args to hex - * - * @method encodePacked - * @return {String} the hex encoded arguments - */ -var encodePacked = function encodePacked() { - /*jshint maxcomplexity:false */ - var args = Array.prototype.slice.call(arguments); - var hexArgs = _.map(args, _processSolidityEncodePackedArgs); - return '0x' + hexArgs.join('').toLowerCase(); -}; -module.exports = { - soliditySha3: soliditySha3, - soliditySha3Raw: soliditySha3Raw, - encodePacked: encodePacked }; - -/***/ }), -/* 1007 */ -/*!*************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-iban/lib/index.js ***! - \*************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file iban.js - * - * Details: https://github.com/ethereum/wiki/wiki/ICAP:-Inter-exchange-Client-Address-Protocol - * - * @author Marek Kotewicz - * @date 2015 - */ - -var utils = __webpack_require__(/*! web3-utils */ 998); -var BigNumber = __webpack_require__(/*! bn.js */ 70); -var leftPad = function leftPad(string, bytes) { - var result = string; - while (result.length < bytes * 2) { - result = '0' + result; - } - return result; -}; -/** - * Prepare an IBAN for mod 97 computation by moving the first 4 chars to the end and transforming the letters to - * numbers (A = 10, B = 11, ..., Z = 35), as specified in ISO13616. - * - * @method iso13616Prepare - * @param {String} iban the IBAN - * @returns {String} the prepared IBAN - */ -var iso13616Prepare = function iso13616Prepare(iban) { - var A = 'A'.charCodeAt(0); - var Z = 'Z'.charCodeAt(0); - iban = iban.toUpperCase(); - iban = iban.substr(4) + iban.substr(0, 4); - return iban.split('').map(function (n) { - var code = n.charCodeAt(0); - if (code >= A && code <= Z) { - // A = 10, B = 11, ... Z = 35 - return code - A + 10; - } else - { - return n; - } - }).join(''); -}; -/** - * Calculates the MOD 97 10 of the passed IBAN as specified in ISO7064. - * - * @method mod9710 - * @param {String} iban - * @returns {Number} - */ -var mod9710 = function mod9710(iban) { - var remainder = iban,block; - while (remainder.length > 2) { - block = remainder.slice(0, 9); - remainder = parseInt(block, 10) % 97 + remainder.slice(block.length); - } - return parseInt(remainder, 10) % 97; -}; -/** - * This prototype should be used to create iban object from iban correct string - * - * @param {String} iban - */ -var Iban = function Iban(iban) { - this._iban = iban; -}; -/** - * This method should be used to create an ethereum address from a direct iban address - * - * @method toAddress - * @param {String} iban address - * @return {String} the ethereum address - */ -Iban.toAddress = function (ib) { - ib = new Iban(ib); - if (!ib.isDirect()) { - throw new Error('IBAN is indirect and can\'t be converted'); - } - return ib.toAddress(); -}; -/** - * This method should be used to create iban address from an ethereum address - * - * @method toIban - * @param {String} address - * @return {String} the IBAN address - */ -Iban.toIban = function (address) { - return Iban.fromAddress(address).toString(); -}; -/** - * This method should be used to create iban object from an ethereum address - * - * @method fromAddress - * @param {String} address - * @return {Iban} the IBAN object - */ -Iban.fromAddress = function (address) { - if (!utils.isAddress(address)) { - throw new Error('Provided address is not a valid address: ' + address); - } - address = address.replace('0x', '').replace('0X', ''); - var asBn = new BigNumber(address, 16); - var base36 = asBn.toString(36); - var padded = leftPad(base36, 15); - return Iban.fromBban(padded.toUpperCase()); -}; -/** - * Convert the passed BBAN to an IBAN for this country specification. - * Please note that "generation of the IBAN shall be the exclusive responsibility of the bank/branch servicing the account". - * This method implements the preferred algorithm described in http://en.wikipedia.org/wiki/International_Bank_Account_Number#Generating_IBAN_check_digits - * - * @method fromBban - * @param {String} bban the BBAN to convert to IBAN - * @returns {Iban} the IBAN object - */ -Iban.fromBban = function (bban) { - var countryCode = 'XE'; - var remainder = mod9710(iso13616Prepare(countryCode + '00' + bban)); - var checkDigit = ('0' + (98 - remainder)).slice(-2); - return new Iban(countryCode + checkDigit + bban); -}; -/** - * Should be used to create IBAN object for given institution and identifier - * - * @method createIndirect - * @param {Object} options, required options are "institution" and "identifier" - * @return {Iban} the IBAN object - */ -Iban.createIndirect = function (options) { - return Iban.fromBban('ETH' + options.institution + options.identifier); -}; -/** - * This method should be used to check if given string is valid iban object - * - * @method isValid - * @param {String} iban string - * @return {Boolean} true if it is valid IBAN - */ -Iban.isValid = function (iban) { - var i = new Iban(iban); - return i.isValid(); -}; -/** - * Should be called to check if iban is correct - * - * @method isValid - * @returns {Boolean} true if it is, otherwise false - */ -Iban.prototype.isValid = function () { - return /^XE[0-9]{2}(ETH[0-9A-Z]{13}|[0-9A-Z]{30,31})$/.test(this._iban) && - mod9710(iso13616Prepare(this._iban)) === 1; -}; -/** - * Should be called to check if iban number is direct - * - * @method isDirect - * @returns {Boolean} true if it is, otherwise false - */ -Iban.prototype.isDirect = function () { - return this._iban.length === 34 || this._iban.length === 35; -}; -/** - * Should be called to check if iban number if indirect - * - * @method isIndirect - * @returns {Boolean} true if it is, otherwise false - */ -Iban.prototype.isIndirect = function () { - return this._iban.length === 20; -}; -/** - * Should be called to get iban checksum - * Uses the mod-97-10 checksumming protocol (ISO/IEC 7064:2003) - * - * @method checksum - * @returns {String} checksum - */ -Iban.prototype.checksum = function () { - return this._iban.substr(2, 2); -}; -/** - * Should be called to get institution identifier - * eg. XREG - * - * @method institution - * @returns {String} institution identifier - */ -Iban.prototype.institution = function () { - return this.isIndirect() ? this._iban.substr(7, 4) : ''; -}; -/** - * Should be called to get client identifier within institution - * eg. GAVOFYORK - * - * @method client - * @returns {String} client identifier - */ -Iban.prototype.client = function () { - return this.isIndirect() ? this._iban.substr(11) : ''; -}; -/** - * Should be called to get client direct address - * - * @method toAddress - * @returns {String} ethereum address - */ -Iban.prototype.toAddress = function () { - if (this.isDirect()) { - var base36 = this._iban.substr(4); - var asBn = new BigNumber(base36, 36); - return utils.toChecksumAddress(asBn.toString(16, 20)); - } - return ''; -}; -Iban.prototype.toString = function () { - return this._iban; -}; -module.exports = Iban; - -/***/ }), -/* 1008 */ -/*!**************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-requestmanager/lib/jsonrpc.js ***! - \**************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** @file jsonrpc.js - * @authors: - * Fabian Vogelsteller - * Marek Kotewicz - * Aaron Kumavis - * @date 2015 - */ - -// Initialize Jsonrpc as a simple object with utility functions. -var Jsonrpc = { - messageId: 0 }; - -/** - * Should be called to valid json create payload object - * - * @method toPayload - * @param {Function} method of jsonrpc call, required - * @param {Array} params, an array of method params, optional - * @returns {Object} valid jsonrpc payload object - */ -Jsonrpc.toPayload = function (method, params) { - if (!method) { - throw new Error('JSONRPC method should be specified for params: "' + JSON.stringify(params) + '"!'); - } - // advance message ID - Jsonrpc.messageId++; - return { - jsonrpc: '2.0', - id: Jsonrpc.messageId, - method: method, - params: params || [] }; - -}; -/** - * Should be called to check if jsonrpc response is valid - * - * @method isValidResponse - * @param {Object} - * @returns {Boolean} true if response is valid, otherwise false - */ -Jsonrpc.isValidResponse = function (response) { - return Array.isArray(response) ? response.every(validateSingleMessage) : validateSingleMessage(response); - function validateSingleMessage(message) { - return !!message && - !message.error && - message.jsonrpc === '2.0' && ( - typeof message.id === 'number' || typeof message.id === 'string') && - message.result !== undefined; // only undefined is not valid json object - } -}; -/** - * Should be called to create batch payload object - * - * @method toBatchPayload - * @param {Array} messages, an array of objects with method (required) and params (optional) fields - * @returns {Array} batch payload - */ -Jsonrpc.toBatchPayload = function (messages) { - return messages.map(function (message) { - return Jsonrpc.toPayload(message.method, message.params); - }); -}; -module.exports = Jsonrpc; - -/***/ }), -/* 1009 */ -/*!************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-requestmanager/lib/batch.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file batch.js - * @author Marek Kotewicz - * @date 2015 - */ - -var Jsonrpc = __webpack_require__(/*! ./jsonrpc */ 1008); -var errors = __webpack_require__(/*! web3-core-helpers */ 995).errors; -var Batch = function Batch(requestManager) { - this.requestManager = requestManager; - this.requests = []; -}; -/** - * Should be called to add create new request to batch request - * - * @method add - * @param {Object} jsonrpc requet object - */ -Batch.prototype.add = function (request) { - this.requests.push(request); -}; -/** - * Should be called to execute batch request - * - * @method execute - */ -Batch.prototype.execute = function () { - var requests = this.requests; - this.requestManager.sendBatch(requests, function (err, results) { - results = results || []; - requests.map(function (request, index) { - return results[index] || {}; - }).forEach(function (result, index) { - if (requests[index].callback) { - if (result && result.error) { - return requests[index].callback(errors.ErrorResponse(result)); - } - if (!Jsonrpc.isValidResponse(result)) { - return requests[index].callback(errors.InvalidResponse(result)); - } - try { - requests[index].callback(null, requests[index].format ? requests[index].format(result.result) : result.result); - } - catch (err) { - requests[index].callback(err); - } - } - }); - }); -}; -module.exports = Batch; - -/***/ }), -/* 1010 */ -/*!********************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-requestmanager/lib/givenProvider.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file givenProvider.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var givenProvider = null; -// ADD GIVEN PROVIDER -/* jshint ignore:start */ -var global; -try { - global = Function('return this')(); -} -catch (e) { - global = window; -} -// EIP-1193: window.ethereum -if (typeof global.ethereum !== 'undefined') { - givenProvider = global.ethereum; - // Legacy web3.currentProvider -} else -if (typeof global.web3 !== 'undefined' && global.web3.currentProvider) { - if (global.web3.currentProvider.sendAsync) { - global.web3.currentProvider.send = global.web3.currentProvider.sendAsync; - delete global.web3.currentProvider.sendAsync; - } - // if connection is 'ipcProviderWrapper', add subscription support - if (!global.web3.currentProvider.on && - global.web3.currentProvider.connection && - global.web3.currentProvider.connection.constructor.name === 'ipcProviderWrapper') { - global.web3.currentProvider.on = function (type, callback) { - if (typeof callback !== 'function') - throw new Error('The second parameter callback must be a function.'); - switch (type) { - case 'data': - this.connection.on('data', function (data) { - var result = ''; - data = data.toString(); - try { - result = JSON.parse(data); - } - catch (e) { - return callback(new Error('Couldn\'t parse response data' + data)); - } - // notification - if (!result.id && result.method.indexOf('_subscription') !== -1) { - callback(null, result); - } - }); - break; - default: - this.connection.on(type, callback); - break;} - - }; - } - givenProvider = global.web3.currentProvider; -} -/* jshint ignore:end */ -module.exports = givenProvider; - -/***/ }), -/* 1011 */ -/*!*****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-providers-ws/lib/index.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file WebsocketProvider.js - * @authors: Samuel Furter , Fabian Vogelsteller - * @date 2019 - */ - -var EventEmitter = __webpack_require__(/*! eventemitter3 */ 359); -var helpers = __webpack_require__(/*! ./helpers.js */ 1012); -var errors = __webpack_require__(/*! web3-core-helpers */ 995).errors; -var Ws = __webpack_require__(/*! websocket */ 1016).w3cwebsocket; -/** - * @param {string} url - * @param {Object} options - * - * @constructor - */ -var WebsocketProvider = function WebsocketProvider(url, options) { - EventEmitter.call(this); - options = options || {}; - this.url = url; - this._customTimeout = options.timeout || 1000 * 15; - this.headers = options.headers || {}; - this.protocol = options.protocol || undefined; - this.reconnectOptions = Object.assign({ - auto: false, - delay: 5000, - maxAttempts: false, - onTimeout: false }, - options.reconnect); - this.clientConfig = options.clientConfig || undefined; // Allow a custom client configuration - this.requestOptions = options.requestOptions || undefined; // Allow a custom request options (https://github.com/theturtle32/WebSocket-Node/blob/master/docs/WebSocketClient.md#connectrequesturl-requestedprotocols-origin-headers-requestoptions) - this.DATA = 'data'; - this.CLOSE = 'close'; - this.ERROR = 'error'; - this.CONNECT = 'connect'; - this.RECONNECT = 'reconnect'; - this.connection = null; - this.requestQueue = new Map(); - this.responseQueue = new Map(); - this.reconnectAttempts = 0; - this.reconnecting = false; - // The w3cwebsocket implementation does not support Basic Auth - // username/password in the URL. So generate the basic auth header, and - // pass through with any additional headers supplied in constructor - var parsedURL = helpers.parseURL(url); - if (parsedURL.username && parsedURL.password) { - this.headers.authorization = 'Basic ' + helpers.btoa(parsedURL.username + ':' + parsedURL.password); - } - // When all node core implementations that do not have the - // WHATWG compatible URL parser go out of service this line can be removed. - if (parsedURL.auth) { - this.headers.authorization = 'Basic ' + helpers.btoa(parsedURL.auth); - } - // make property `connected` which will return the current connection status - Object.defineProperty(this, 'connected', { - get: function get() { - return this.connection && this.connection.readyState === this.connection.OPEN; - }, - enumerable: true }); - - this.connect(); -}; -// Inherit from EventEmitter -WebsocketProvider.prototype = Object.create(EventEmitter.prototype); -WebsocketProvider.prototype.constructor = WebsocketProvider; -/** - * Connects to the configured node - * - * @method connect - * - * @returns {void} - */ -WebsocketProvider.prototype.connect = function () { - this.connection = new Ws(this.url, this.protocol, undefined, this.headers, this.requestOptions, this.clientConfig); - this._addSocketListeners(); -}; -/** - * Listener for the `data` event of the underlying WebSocket object - * - * @method _onMessage - * - * @returns {void} - */ -WebsocketProvider.prototype._onMessage = function (e) { - var _this = this; - this._parseResponse(typeof e.data === 'string' ? e.data : '').forEach(function (result) { - if (result.method && result.method.indexOf('_subscription') !== -1) { - _this.emit(_this.DATA, result); - return; - } - var id = result.id; - // get the id which matches the returned id - if (Array.isArray(result)) { - id = result[0].id; - } - if (_this.responseQueue.has(id)) { - if (_this.responseQueue.get(id).callback !== undefined) { - _this.responseQueue.get(id).callback(false, result); - } - _this.responseQueue.delete(id); - } - }); -}; -/** - * Listener for the `open` event of the underlying WebSocket object - * - * @method _onConnect - * - * @returns {void} - */ -WebsocketProvider.prototype._onConnect = function () { - this.emit(this.CONNECT); - this.reconnectAttempts = 0; - this.reconnecting = false; - if (this.requestQueue.size > 0) { - var _this = this; - this.requestQueue.forEach(function (request, key) { - _this.send(request.payload, request.callback); - _this.requestQueue.delete(key); - }); - } -}; -/** - * Listener for the `close` event of the underlying WebSocket object - * - * @method _onClose - * - * @returns {void} - */ -WebsocketProvider.prototype._onClose = function (event) { - var _this = this; - if (this.reconnectOptions.auto && (![1000, 1001].includes(event.code) || event.wasClean === false)) { - this.reconnect(); - return; - } - this.emit(this.CLOSE, event); - if (this.requestQueue.size > 0) { - this.requestQueue.forEach(function (request, key) { - request.callback(errors.ConnectionNotOpenError(event)); - _this.requestQueue.delete(key); - }); - } - if (this.responseQueue.size > 0) { - this.responseQueue.forEach(function (request, key) { - request.callback(errors.InvalidConnection('on WS', event)); - _this.responseQueue.delete(key); - }); - } - this._removeSocketListeners(); - this.removeAllListeners(); -}; -/** - * Will add the required socket listeners - * - * @method _addSocketListeners - * - * @returns {void} - */ -WebsocketProvider.prototype._addSocketListeners = function () { - this.connection.addEventListener('message', this._onMessage.bind(this)); - this.connection.addEventListener('open', this._onConnect.bind(this)); - this.connection.addEventListener('close', this._onClose.bind(this)); -}; -/** - * Will remove all socket listeners - * - * @method _removeSocketListeners - * - * @returns {void} - */ -WebsocketProvider.prototype._removeSocketListeners = function () { - this.connection.removeEventListener('message', this._onMessage); - this.connection.removeEventListener('open', this._onConnect); - this.connection.removeEventListener('close', this._onClose); -}; -/** - * Will parse the response and make an array out of it. - * - * @method _parseResponse - * - * @param {String} data - * - * @returns {Array} - */ -WebsocketProvider.prototype._parseResponse = function (data) { - var _this = this,returnValues = []; - // DE-CHUNKER - var dechunkedData = data. - replace(/\}[\n\r]?\{/g, '}|--|{') // }{ - .replace(/\}\][\n\r]?\[\{/g, '}]|--|[{') // }][{ - .replace(/\}[\n\r]?\[\{/g, '}|--|[{') // }[{ - .replace(/\}\][\n\r]?\{/g, '}]|--|{') // }]{ - .split('|--|'); - dechunkedData.forEach(function (data) { - // prepend the last chunk - if (_this.lastChunk) - data = _this.lastChunk + data; - var result = null; - try { - result = JSON.parse(data); - } - catch (e) { - _this.lastChunk = data; - // start timeout to cancel all requests - clearTimeout(_this.lastChunkTimeout); - _this.lastChunkTimeout = setTimeout(function () { - if (_this.reconnectOptions.auto && _this.reconnectOptions.onTimeout) { - _this.reconnect(); - return; - } - _this.emit(_this.ERROR, errors.ConnectionTimeout(_this._customTimeout)); - if (_this.requestQueue.size > 0) { - _this.requestQueue.forEach(function (request, key) { - request.callback(errors.ConnectionTimeout(_this._customTimeout)); - _this.requestQueue.delete(key); - }); - } - }, _this._customTimeout); - return; - } - // cancel timeout and set chunk to null - clearTimeout(_this.lastChunkTimeout); - _this.lastChunk = null; - if (result) - returnValues.push(result); - }); - return returnValues; -}; -/** - * Does check if the provider is connecting and will add it to the queue or will send it directly - * - * @method send - * - * @param {Object} payload - * @param {Function} callback - * - * @returns {void} - */ -WebsocketProvider.prototype.send = function (payload, callback) { - var _this = this; - var id = payload.id; - var request = { payload: payload, callback: callback }; - if (Array.isArray(payload)) { - id = payload[0].id; - } - if (this.connection.readyState === this.connection.CONNECTING || this.reconnecting) { - this.requestQueue.set(id, request); - return; - } - if (this.connection.readyState !== this.connection.OPEN) { - this.requestQueue.delete(id); - this.emit(this.ERROR, errors.ConnectionNotOpenError()); - request.callback(errors.ConnectionNotOpenError()); - return; - } - this.responseQueue.set(id, request); - this.requestQueue.delete(id); - try { - this.connection.send(JSON.stringify(request.payload)); - } - catch (error) { - request.callback(error); - _this.responseQueue.delete(id); - } -}; -/** - * Resets the providers, clears all callbacks - * - * @method reset - * - * @returns {void} - */ -WebsocketProvider.prototype.reset = function () { - this.responseQueue.clear(); - this.requestQueue.clear(); - this.removeAllListeners(); - this._removeSocketListeners(); - this._addSocketListeners(); -}; -/** - * Closes the current connection with the given code and reason arguments - * - * @method disconnect - * - * @param {number} code - * @param {string} reason - * - * @returns {void} - */ -WebsocketProvider.prototype.disconnect = function (code, reason) { - this._removeSocketListeners(); - this.connection.close(code || 1000, reason); -}; -/** - * Returns the desired boolean. - * - * @method supportsSubscriptions - * - * @returns {boolean} - */ -WebsocketProvider.prototype.supportsSubscriptions = function () { - return true; -}; -/** - * Removes the listeners and reconnects to the socket. - * - * @method reconnect - * - * @returns {void} - */ -WebsocketProvider.prototype.reconnect = function () { - var _this = this; - this.reconnecting = true; - if (this.responseQueue.size > 0) { - this.responseQueue.forEach(function (request, key) { - request.callback(errors.PendingRequestsOnReconnectingError()); - _this.responseQueue.delete(key); - }); - } - if (!this.reconnectOptions.maxAttempts || - this.reconnectAttempts < this.reconnectOptions.maxAttempts) { - setTimeout(function () { - _this.reconnectAttempts++; - _this._removeSocketListeners(); - _this.emit(_this.RECONNECT, _this.reconnectAttempts); - _this.connect(); - }, this.reconnectOptions.delay); - return; - } - this.emit(this.ERROR, errors.MaxAttemptsReachedOnReconnectingError()); - this.reconnecting = false; - if (this.requestQueue.size > 0) { - this.requestQueue.forEach(function (request, key) { - request.callback(errors.MaxAttemptsReachedOnReconnectingError()); - _this.requestQueue.delete(key); - }); - } -}; -module.exports = WebsocketProvider; - -/***/ }), -/* 1012 */ -/*!*******************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-providers-ws/lib/helpers.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(process, Buffer) {var isNode = Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]'; -var isRN = typeof navigator !== 'undefined' && navigator.product === 'ReactNative'; -var _btoa = null; -var helpers = null; -if (isNode || isRN) { - _btoa = function _btoa(str) { - return Buffer.from(str).toString('base64'); - }; - var url = __webpack_require__(/*! url */ 1013); - if (url.URL) { - // Use the new Node 6+ API for parsing URLs that supports username/password - var newURL = url.URL; - helpers = function helpers(url) { - return new newURL(url); - }; - } else - { - // Web3 supports Node.js 5, so fall back to the legacy URL API if necessary - helpers = __webpack_require__(/*! url */ 1013).parse; - } -} else -{ - _btoa = btoa.bind(window); - helpers = function helpers(url) { - return new URL(url); - }; -} -module.exports = { - parseURL: helpers, - btoa: _btoa }; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 31), __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1013 */ -/*!*********************************!*\ - !*** ./node_modules/url/url.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// Copyright Joyent, Inc. and other Node contributors. -// -// Permission is hereby granted, free of charge, to any person obtaining a -// copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to permit -// persons to whom the Software is furnished to do so, subject to the -// following conditions: -// -// The above copyright notice and this permission notice shall be included -// in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -// USE OR OTHER DEALINGS IN THE SOFTWARE. - - - -var punycode = __webpack_require__(/*! punycode */ 1014); -var util = __webpack_require__(/*! ./util */ 1015); - -exports.parse = urlParse; -exports.resolve = urlResolve; -exports.resolveObject = urlResolveObject; -exports.format = urlFormat; - -exports.Url = Url; - -function Url() { - this.protocol = null; - this.slashes = null; - this.auth = null; - this.host = null; - this.port = null; - this.hostname = null; - this.hash = null; - this.search = null; - this.query = null; - this.pathname = null; - this.path = null; - this.href = null; -} - -// Reference: RFC 3986, RFC 1808, RFC 2396 - -// define these here so at least they only have to be -// compiled once on the first module load. -var protocolPattern = /^([a-z0-9.+-]+:)/i, - portPattern = /:[0-9]*$/, - - // Special case for a simple path URL - simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, - - // RFC 2396: characters reserved for delimiting URLs. - // We actually just auto-escape these. - delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'], - - // RFC 2396: characters not allowed for various reasons. - unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), - - // Allowed by RFCs, but cause of XSS attacks. Always escape these. - autoEscape = ['\''].concat(unwise), - // Characters that are never ever allowed in a hostname. - // Note that any invalid chars are also handled, but these - // are the ones that are *expected* to be seen, so we fast-path - // them. - nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), - hostEndingChars = ['/', '?', '#'], - hostnameMaxLen = 255, - hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/, - hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, - // protocols that can allow "unsafe" and "unwise" chars. - unsafeProtocol = { - 'javascript': true, - 'javascript:': true - }, - // protocols that never have a hostname. - hostlessProtocol = { - 'javascript': true, - 'javascript:': true - }, - // protocols that always contain a // bit. - slashedProtocol = { - 'http': true, - 'https': true, - 'ftp': true, - 'gopher': true, - 'file': true, - 'http:': true, - 'https:': true, - 'ftp:': true, - 'gopher:': true, - 'file:': true - }, - querystring = __webpack_require__(/*! querystring */ 360); - -function urlParse(url, parseQueryString, slashesDenoteHost) { - if (url && util.isObject(url) && url instanceof Url) return url; - - var u = new Url; - u.parse(url, parseQueryString, slashesDenoteHost); - return u; -} - -Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { - if (!util.isString(url)) { - throw new TypeError("Parameter 'url' must be a string, not " + typeof url); - } - - // Copy chrome, IE, opera backslash-handling behavior. - // Back slashes before the query string get converted to forward slashes - // See: https://code.google.com/p/chromium/issues/detail?id=25916 - var queryIndex = url.indexOf('?'), - splitter = - (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#', - uSplit = url.split(splitter), - slashRegex = /\\/g; - uSplit[0] = uSplit[0].replace(slashRegex, '/'); - url = uSplit.join(splitter); - - var rest = url; - - // trim before proceeding. - // This is to support parse stuff like " http://foo.com \n" - rest = rest.trim(); - - if (!slashesDenoteHost && url.split('#').length === 1) { - // Try fast path regexp - var simplePath = simplePathPattern.exec(rest); - if (simplePath) { - this.path = rest; - this.href = rest; - this.pathname = simplePath[1]; - if (simplePath[2]) { - this.search = simplePath[2]; - if (parseQueryString) { - this.query = querystring.parse(this.search.substr(1)); - } else { - this.query = this.search.substr(1); - } - } else if (parseQueryString) { - this.search = ''; - this.query = {}; - } - return this; - } - } - - var proto = protocolPattern.exec(rest); - if (proto) { - proto = proto[0]; - var lowerProto = proto.toLowerCase(); - this.protocol = lowerProto; - rest = rest.substr(proto.length); - } - - // figure out if it's got a host - // user@server is *always* interpreted as a hostname, and url - // resolution will treat //foo/bar as host=foo,path=bar because that's - // how the browser resolves relative URLs. - if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { - var slashes = rest.substr(0, 2) === '//'; - if (slashes && !(proto && hostlessProtocol[proto])) { - rest = rest.substr(2); - this.slashes = true; - } - } - - if (!hostlessProtocol[proto] && - (slashes || (proto && !slashedProtocol[proto]))) { - - // there's a hostname. - // the first instance of /, ?, ;, or # ends the host. - // - // If there is an @ in the hostname, then non-host chars *are* allowed - // to the left of the last @ sign, unless some host-ending character - // comes *before* the @-sign. - // URLs are obnoxious. - // - // ex: - // http://a@b@c/ => user:a@b host:c - // http://a@b?@c => user:a host:c path:/?@c - - // v0.12 TODO(isaacs): This is not quite how Chrome does things. - // Review our test case against browsers more comprehensively. - - // find the first instance of any hostEndingChars - var hostEnd = -1; - for (var i = 0; i < hostEndingChars.length; i++) { - var hec = rest.indexOf(hostEndingChars[i]); - if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) - hostEnd = hec; - } - - // at this point, either we have an explicit point where the - // auth portion cannot go past, or the last @ char is the decider. - var auth, atSign; - if (hostEnd === -1) { - // atSign can be anywhere. - atSign = rest.lastIndexOf('@'); - } else { - // atSign must be in auth portion. - // http://a@b/c@d => host:b auth:a path:/c@d - atSign = rest.lastIndexOf('@', hostEnd); - } - - // Now we have a portion which is definitely the auth. - // Pull that off. - if (atSign !== -1) { - auth = rest.slice(0, atSign); - rest = rest.slice(atSign + 1); - this.auth = decodeURIComponent(auth); - } - - // the host is the remaining to the left of the first non-host char - hostEnd = -1; - for (var i = 0; i < nonHostChars.length; i++) { - var hec = rest.indexOf(nonHostChars[i]); - if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) - hostEnd = hec; - } - // if we still have not hit it, then the entire thing is a host. - if (hostEnd === -1) - hostEnd = rest.length; - - this.host = rest.slice(0, hostEnd); - rest = rest.slice(hostEnd); - - // pull out port. - this.parseHost(); - - // we've indicated that there is a hostname, - // so even if it's empty, it has to be present. - this.hostname = this.hostname || ''; - - // if hostname begins with [ and ends with ] - // assume that it's an IPv6 address. - var ipv6Hostname = this.hostname[0] === '[' && - this.hostname[this.hostname.length - 1] === ']'; - - // validate a little. - if (!ipv6Hostname) { - var hostparts = this.hostname.split(/\./); - for (var i = 0, l = hostparts.length; i < l; i++) { - var part = hostparts[i]; - if (!part) continue; - if (!part.match(hostnamePartPattern)) { - var newpart = ''; - for (var j = 0, k = part.length; j < k; j++) { - if (part.charCodeAt(j) > 127) { - // we replace non-ASCII char with a temporary placeholder - // we need this to make sure size of hostname is not - // broken by replacing non-ASCII by nothing - newpart += 'x'; - } else { - newpart += part[j]; - } - } - // we test again with ASCII char only - if (!newpart.match(hostnamePartPattern)) { - var validParts = hostparts.slice(0, i); - var notHost = hostparts.slice(i + 1); - var bit = part.match(hostnamePartStart); - if (bit) { - validParts.push(bit[1]); - notHost.unshift(bit[2]); - } - if (notHost.length) { - rest = '/' + notHost.join('.') + rest; - } - this.hostname = validParts.join('.'); - break; - } - } - } - } - - if (this.hostname.length > hostnameMaxLen) { - this.hostname = ''; - } else { - // hostnames are always lower case. - this.hostname = this.hostname.toLowerCase(); - } - - if (!ipv6Hostname) { - // IDNA Support: Returns a punycoded representation of "domain". - // It only converts parts of the domain name that - // have non-ASCII characters, i.e. it doesn't matter if - // you call it with a domain that already is ASCII-only. - this.hostname = punycode.toASCII(this.hostname); - } - - var p = this.port ? ':' + this.port : ''; - var h = this.hostname || ''; - this.host = h + p; - this.href += this.host; - - // strip [ and ] from the hostname - // the host field still retains them, though - if (ipv6Hostname) { - this.hostname = this.hostname.substr(1, this.hostname.length - 2); - if (rest[0] !== '/') { - rest = '/' + rest; - } - } - } - - // now rest is set to the post-host stuff. - // chop off any delim chars. - if (!unsafeProtocol[lowerProto]) { - - // First, make 100% sure that any "autoEscape" chars get - // escaped, even if encodeURIComponent doesn't think they - // need to be. - for (var i = 0, l = autoEscape.length; i < l; i++) { - var ae = autoEscape[i]; - if (rest.indexOf(ae) === -1) - continue; - var esc = encodeURIComponent(ae); - if (esc === ae) { - esc = escape(ae); - } - rest = rest.split(ae).join(esc); - } - } - - - // chop off from the tail first. - var hash = rest.indexOf('#'); - if (hash !== -1) { - // got a fragment string. - this.hash = rest.substr(hash); - rest = rest.slice(0, hash); - } - var qm = rest.indexOf('?'); - if (qm !== -1) { - this.search = rest.substr(qm); - this.query = rest.substr(qm + 1); - if (parseQueryString) { - this.query = querystring.parse(this.query); - } - rest = rest.slice(0, qm); - } else if (parseQueryString) { - // no query string, but parseQueryString still requested - this.search = ''; - this.query = {}; - } - if (rest) this.pathname = rest; - if (slashedProtocol[lowerProto] && - this.hostname && !this.pathname) { - this.pathname = '/'; - } - - //to support http.request - if (this.pathname || this.search) { - var p = this.pathname || ''; - var s = this.search || ''; - this.path = p + s; - } - - // finally, reconstruct the href based on what has been validated. - this.href = this.format(); - return this; -}; - -// format a parsed object into a url string -function urlFormat(obj) { - // ensure it's an object, and not a string url. - // If it's an obj, this is a no-op. - // this way, you can call url_format() on strings - // to clean up potentially wonky urls. - if (util.isString(obj)) obj = urlParse(obj); - if (!(obj instanceof Url)) return Url.prototype.format.call(obj); - return obj.format(); -} - -Url.prototype.format = function() { - var auth = this.auth || ''; - if (auth) { - auth = encodeURIComponent(auth); - auth = auth.replace(/%3A/i, ':'); - auth += '@'; - } - - var protocol = this.protocol || '', - pathname = this.pathname || '', - hash = this.hash || '', - host = false, - query = ''; - - if (this.host) { - host = auth + this.host; - } else if (this.hostname) { - host = auth + (this.hostname.indexOf(':') === -1 ? - this.hostname : - '[' + this.hostname + ']'); - if (this.port) { - host += ':' + this.port; - } - } - - if (this.query && - util.isObject(this.query) && - Object.keys(this.query).length) { - query = querystring.stringify(this.query); - } - - var search = this.search || (query && ('?' + query)) || ''; - - if (protocol && protocol.substr(-1) !== ':') protocol += ':'; - - // only the slashedProtocols get the //. Not mailto:, xmpp:, etc. - // unless they had them to begin with. - if (this.slashes || - (!protocol || slashedProtocol[protocol]) && host !== false) { - host = '//' + (host || ''); - if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; - } else if (!host) { - host = ''; - } - - if (hash && hash.charAt(0) !== '#') hash = '#' + hash; - if (search && search.charAt(0) !== '?') search = '?' + search; - - pathname = pathname.replace(/[?#]/g, function(match) { - return encodeURIComponent(match); - }); - search = search.replace('#', '%23'); - - return protocol + host + pathname + search + hash; -}; - -function urlResolve(source, relative) { - return urlParse(source, false, true).resolve(relative); -} - -Url.prototype.resolve = function(relative) { - return this.resolveObject(urlParse(relative, false, true)).format(); -}; - -function urlResolveObject(source, relative) { - if (!source) return relative; - return urlParse(source, false, true).resolveObject(relative); -} - -Url.prototype.resolveObject = function(relative) { - if (util.isString(relative)) { - var rel = new Url(); - rel.parse(relative, false, true); - relative = rel; - } - - var result = new Url(); - var tkeys = Object.keys(this); - for (var tk = 0; tk < tkeys.length; tk++) { - var tkey = tkeys[tk]; - result[tkey] = this[tkey]; - } - - // hash is always overridden, no matter what. - // even href="" will remove it. - result.hash = relative.hash; - - // if the relative url is empty, then there's nothing left to do here. - if (relative.href === '') { - result.href = result.format(); - return result; - } - - // hrefs like //foo/bar always cut to the protocol. - if (relative.slashes && !relative.protocol) { - // take everything except the protocol from relative - var rkeys = Object.keys(relative); - for (var rk = 0; rk < rkeys.length; rk++) { - var rkey = rkeys[rk]; - if (rkey !== 'protocol') - result[rkey] = relative[rkey]; - } - - //urlParse appends trailing / to urls like http://www.example.com - if (slashedProtocol[result.protocol] && - result.hostname && !result.pathname) { - result.path = result.pathname = '/'; - } - - result.href = result.format(); - return result; - } - - if (relative.protocol && relative.protocol !== result.protocol) { - // if it's a known url protocol, then changing - // the protocol does weird things - // first, if it's not file:, then we MUST have a host, - // and if there was a path - // to begin with, then we MUST have a path. - // if it is file:, then the host is dropped, - // because that's known to be hostless. - // anything else is assumed to be absolute. - if (!slashedProtocol[relative.protocol]) { - var keys = Object.keys(relative); - for (var v = 0; v < keys.length; v++) { - var k = keys[v]; - result[k] = relative[k]; - } - result.href = result.format(); - return result; - } - - result.protocol = relative.protocol; - if (!relative.host && !hostlessProtocol[relative.protocol]) { - var relPath = (relative.pathname || '').split('/'); - while (relPath.length && !(relative.host = relPath.shift())); - if (!relative.host) relative.host = ''; - if (!relative.hostname) relative.hostname = ''; - if (relPath[0] !== '') relPath.unshift(''); - if (relPath.length < 2) relPath.unshift(''); - result.pathname = relPath.join('/'); - } else { - result.pathname = relative.pathname; - } - result.search = relative.search; - result.query = relative.query; - result.host = relative.host || ''; - result.auth = relative.auth; - result.hostname = relative.hostname || relative.host; - result.port = relative.port; - // to support http.request - if (result.pathname || result.search) { - var p = result.pathname || ''; - var s = result.search || ''; - result.path = p + s; - } - result.slashes = result.slashes || relative.slashes; - result.href = result.format(); - return result; - } - - var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'), - isRelAbs = ( - relative.host || - relative.pathname && relative.pathname.charAt(0) === '/' - ), - mustEndAbs = (isRelAbs || isSourceAbs || - (result.host && relative.pathname)), - removeAllDots = mustEndAbs, - srcPath = result.pathname && result.pathname.split('/') || [], - relPath = relative.pathname && relative.pathname.split('/') || [], - psychotic = result.protocol && !slashedProtocol[result.protocol]; - - // if the url is a non-slashed url, then relative - // links like ../.. should be able - // to crawl up to the hostname, as well. This is strange. - // result.protocol has already been set by now. - // Later on, put the first path part into the host field. - if (psychotic) { - result.hostname = ''; - result.port = null; - if (result.host) { - if (srcPath[0] === '') srcPath[0] = result.host; - else srcPath.unshift(result.host); - } - result.host = ''; - if (relative.protocol) { - relative.hostname = null; - relative.port = null; - if (relative.host) { - if (relPath[0] === '') relPath[0] = relative.host; - else relPath.unshift(relative.host); - } - relative.host = null; - } - mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); - } - - if (isRelAbs) { - // it's absolute. - result.host = (relative.host || relative.host === '') ? - relative.host : result.host; - result.hostname = (relative.hostname || relative.hostname === '') ? - relative.hostname : result.hostname; - result.search = relative.search; - result.query = relative.query; - srcPath = relPath; - // fall through to the dot-handling below. - } else if (relPath.length) { - // it's relative - // throw away the existing file, and take the new path instead. - if (!srcPath) srcPath = []; - srcPath.pop(); - srcPath = srcPath.concat(relPath); - result.search = relative.search; - result.query = relative.query; - } else if (!util.isNullOrUndefined(relative.search)) { - // just pull out the search. - // like href='?foo'. - // Put this after the other two cases because it simplifies the booleans - if (psychotic) { - result.hostname = result.host = srcPath.shift(); - //occationaly the auth can get stuck only in host - //this especially happens in cases like - //url.resolveObject('mailto:local1@domain1', 'local2@domain2') - var authInHost = result.host && result.host.indexOf('@') > 0 ? - result.host.split('@') : false; - if (authInHost) { - result.auth = authInHost.shift(); - result.host = result.hostname = authInHost.shift(); - } - } - result.search = relative.search; - result.query = relative.query; - //to support http.request - if (!util.isNull(result.pathname) || !util.isNull(result.search)) { - result.path = (result.pathname ? result.pathname : '') + - (result.search ? result.search : ''); - } - result.href = result.format(); - return result; - } - - if (!srcPath.length) { - // no path at all. easy. - // we've already handled the other stuff above. - result.pathname = null; - //to support http.request - if (result.search) { - result.path = '/' + result.search; - } else { - result.path = null; - } - result.href = result.format(); - return result; - } - - // if a url ENDs in . or .., then it must get a trailing slash. - // however, if it ends in anything else non-slashy, - // then it must NOT get a trailing slash. - var last = srcPath.slice(-1)[0]; - var hasTrailingSlash = ( - (result.host || relative.host || srcPath.length > 1) && - (last === '.' || last === '..') || last === ''); - - // strip single dots, resolve double dots to parent dir - // if the path tries to go above the root, `up` ends up > 0 - var up = 0; - for (var i = srcPath.length; i >= 0; i--) { - last = srcPath[i]; - if (last === '.') { - srcPath.splice(i, 1); - } else if (last === '..') { - srcPath.splice(i, 1); - up++; - } else if (up) { - srcPath.splice(i, 1); - up--; - } - } - - // if the path is allowed to go above the root, restore leading ..s - if (!mustEndAbs && !removeAllDots) { - for (; up--; up) { - srcPath.unshift('..'); - } - } - - if (mustEndAbs && srcPath[0] !== '' && - (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { - srcPath.unshift(''); - } - - if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) { - srcPath.push(''); - } - - var isAbsolute = srcPath[0] === '' || - (srcPath[0] && srcPath[0].charAt(0) === '/'); - - // put the host back - if (psychotic) { - result.hostname = result.host = isAbsolute ? '' : - srcPath.length ? srcPath.shift() : ''; - //occationaly the auth can get stuck only in host - //this especially happens in cases like - //url.resolveObject('mailto:local1@domain1', 'local2@domain2') - var authInHost = result.host && result.host.indexOf('@') > 0 ? - result.host.split('@') : false; - if (authInHost) { - result.auth = authInHost.shift(); - result.host = result.hostname = authInHost.shift(); - } - } - - mustEndAbs = mustEndAbs || (result.host && srcPath.length); - - if (mustEndAbs && !isAbsolute) { - srcPath.unshift(''); - } - - if (!srcPath.length) { - result.pathname = null; - result.path = null; - } else { - result.pathname = srcPath.join('/'); - } - - //to support request.http - if (!util.isNull(result.pathname) || !util.isNull(result.search)) { - result.path = (result.pathname ? result.pathname : '') + - (result.search ? result.search : ''); - } - result.auth = relative.auth || result.auth; - result.slashes = result.slashes || relative.slashes; - result.href = result.format(); - return result; -}; - -Url.prototype.parseHost = function() { - var host = this.host; - var port = portPattern.exec(host); - if (port) { - port = port[0]; - if (port !== ':') { - this.port = port.substr(1); - } - host = host.substr(0, host.length - port.length); - } - if (host) this.hostname = host; -}; - - -/***/ }), -/* 1014 */ -/*!**************************************************************************!*\ - !*** ./node_modules/node-libs-browser/node_modules/punycode/punycode.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */ -;(function(root) { - - /** Detect free variables */ - var freeExports = true && exports && - !exports.nodeType && exports; - var freeModule = true && module && - !module.nodeType && module; - var freeGlobal = typeof global == 'object' && global; - if ( - freeGlobal.global === freeGlobal || - freeGlobal.window === freeGlobal || - freeGlobal.self === freeGlobal - ) { - root = freeGlobal; - } - - /** - * The `punycode` object. - * @name punycode - * @type Object - */ - var punycode, - - /** Highest positive signed 32-bit float value */ - maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1 - - /** Bootstring parameters */ - base = 36, - tMin = 1, - tMax = 26, - skew = 38, - damp = 700, - initialBias = 72, - initialN = 128, // 0x80 - delimiter = '-', // '\x2D' - - /** Regular expressions */ - regexPunycode = /^xn--/, - regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars - regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators - - /** Error messages */ - errors = { - 'overflow': 'Overflow: input needs wider integers to process', - 'not-basic': 'Illegal input >= 0x80 (not a basic code point)', - 'invalid-input': 'Invalid input' - }, - - /** Convenience shortcuts */ - baseMinusTMin = base - tMin, - floor = Math.floor, - stringFromCharCode = String.fromCharCode, - - /** Temporary variable */ - key; - - /*--------------------------------------------------------------------------*/ - - /** - * A generic error utility function. - * @private - * @param {String} type The error type. - * @returns {Error} Throws a `RangeError` with the applicable error message. - */ - function error(type) { - throw new RangeError(errors[type]); - } - - /** - * A generic `Array#map` utility function. - * @private - * @param {Array} array The array to iterate over. - * @param {Function} callback The function that gets called for every array - * item. - * @returns {Array} A new array of values returned by the callback function. - */ - function map(array, fn) { - var length = array.length; - var result = []; - while (length--) { - result[length] = fn(array[length]); - } - return result; - } - - /** - * A simple `Array#map`-like wrapper to work with domain name strings or email - * addresses. - * @private - * @param {String} domain The domain name or email address. - * @param {Function} callback The function that gets called for every - * character. - * @returns {Array} A new string of characters returned by the callback - * function. - */ - function mapDomain(string, fn) { - var parts = string.split('@'); - var result = ''; - if (parts.length > 1) { - // In email addresses, only the domain name should be punycoded. Leave - // the local part (i.e. everything up to `@`) intact. - result = parts[0] + '@'; - string = parts[1]; - } - // Avoid `split(regex)` for IE8 compatibility. See #17. - string = string.replace(regexSeparators, '\x2E'); - var labels = string.split('.'); - var encoded = map(labels, fn).join('.'); - return result + encoded; - } - - /** - * Creates an array containing the numeric code points of each Unicode - * character in the string. While JavaScript uses UCS-2 internally, - * this function will convert a pair of surrogate halves (each of which - * UCS-2 exposes as separate characters) into a single code point, - * matching UTF-16. - * @see `punycode.ucs2.encode` - * @see - * @memberOf punycode.ucs2 - * @name decode - * @param {String} string The Unicode input string (UCS-2). - * @returns {Array} The new array of code points. - */ - function ucs2decode(string) { - var output = [], - counter = 0, - length = string.length, - value, - extra; - while (counter < length) { - value = string.charCodeAt(counter++); - if (value >= 0xD800 && value <= 0xDBFF && counter < length) { - // high surrogate, and there is a next character - extra = string.charCodeAt(counter++); - if ((extra & 0xFC00) == 0xDC00) { // low surrogate - output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); - } else { - // unmatched surrogate; only append this code unit, in case the next - // code unit is the high surrogate of a surrogate pair - output.push(value); - counter--; - } - } else { - output.push(value); - } - } - return output; - } - - /** - * Creates a string based on an array of numeric code points. - * @see `punycode.ucs2.decode` - * @memberOf punycode.ucs2 - * @name encode - * @param {Array} codePoints The array of numeric code points. - * @returns {String} The new Unicode string (UCS-2). - */ - function ucs2encode(array) { - return map(array, function(value) { - var output = ''; - if (value > 0xFFFF) { - value -= 0x10000; - output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800); - value = 0xDC00 | value & 0x3FF; - } - output += stringFromCharCode(value); - return output; - }).join(''); - } - - /** - * Converts a basic code point into a digit/integer. - * @see `digitToBasic()` - * @private - * @param {Number} codePoint The basic numeric code point value. - * @returns {Number} The numeric value of a basic code point (for use in - * representing integers) in the range `0` to `base - 1`, or `base` if - * the code point does not represent a value. - */ - function basicToDigit(codePoint) { - if (codePoint - 48 < 10) { - return codePoint - 22; - } - if (codePoint - 65 < 26) { - return codePoint - 65; - } - if (codePoint - 97 < 26) { - return codePoint - 97; - } - return base; - } - - /** - * Converts a digit/integer into a basic code point. - * @see `basicToDigit()` - * @private - * @param {Number} digit The numeric value of a basic code point. - * @returns {Number} The basic code point whose value (when used for - * representing integers) is `digit`, which needs to be in the range - * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is - * used; else, the lowercase form is used. The behavior is undefined - * if `flag` is non-zero and `digit` has no uppercase form. - */ - function digitToBasic(digit, flag) { - // 0..25 map to ASCII a..z or A..Z - // 26..35 map to ASCII 0..9 - return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5); - } - - /** - * Bias adaptation function as per section 3.4 of RFC 3492. - * https://tools.ietf.org/html/rfc3492#section-3.4 - * @private - */ - function adapt(delta, numPoints, firstTime) { - var k = 0; - delta = firstTime ? floor(delta / damp) : delta >> 1; - delta += floor(delta / numPoints); - for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { - delta = floor(delta / baseMinusTMin); - } - return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); - } - - /** - * Converts a Punycode string of ASCII-only symbols to a string of Unicode - * symbols. - * @memberOf punycode - * @param {String} input The Punycode string of ASCII-only symbols. - * @returns {String} The resulting string of Unicode symbols. - */ - function decode(input) { - // Don't use UCS-2 - var output = [], - inputLength = input.length, - out, - i = 0, - n = initialN, - bias = initialBias, - basic, - j, - index, - oldi, - w, - k, - digit, - t, - /** Cached calculation results */ - baseMinusT; - - // Handle the basic code points: let `basic` be the number of input code - // points before the last delimiter, or `0` if there is none, then copy - // the first basic code points to the output. - - basic = input.lastIndexOf(delimiter); - if (basic < 0) { - basic = 0; - } - - for (j = 0; j < basic; ++j) { - // if it's not a basic code point - if (input.charCodeAt(j) >= 0x80) { - error('not-basic'); - } - output.push(input.charCodeAt(j)); - } - - // Main decoding loop: start just after the last delimiter if any basic code - // points were copied; start at the beginning otherwise. - - for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) { - - // `index` is the index of the next character to be consumed. - // Decode a generalized variable-length integer into `delta`, - // which gets added to `i`. The overflow checking is easier - // if we increase `i` as we go, then subtract off its starting - // value at the end to obtain `delta`. - for (oldi = i, w = 1, k = base; /* no condition */; k += base) { - - if (index >= inputLength) { - error('invalid-input'); - } - - digit = basicToDigit(input.charCodeAt(index++)); - - if (digit >= base || digit > floor((maxInt - i) / w)) { - error('overflow'); - } - - i += digit * w; - t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); - - if (digit < t) { - break; - } - - baseMinusT = base - t; - if (w > floor(maxInt / baseMinusT)) { - error('overflow'); - } - - w *= baseMinusT; - - } - - out = output.length + 1; - bias = adapt(i - oldi, out, oldi == 0); - - // `i` was supposed to wrap around from `out` to `0`, - // incrementing `n` each time, so we'll fix that now: - if (floor(i / out) > maxInt - n) { - error('overflow'); - } - - n += floor(i / out); - i %= out; - - // Insert `n` at position `i` of the output - output.splice(i++, 0, n); - - } - - return ucs2encode(output); - } - - /** - * Converts a string of Unicode symbols (e.g. a domain name label) to a - * Punycode string of ASCII-only symbols. - * @memberOf punycode - * @param {String} input The string of Unicode symbols. - * @returns {String} The resulting Punycode string of ASCII-only symbols. - */ - function encode(input) { - var n, - delta, - handledCPCount, - basicLength, - bias, - j, - m, - q, - k, - t, - currentValue, - output = [], - /** `inputLength` will hold the number of code points in `input`. */ - inputLength, - /** Cached calculation results */ - handledCPCountPlusOne, - baseMinusT, - qMinusT; - - // Convert the input in UCS-2 to Unicode - input = ucs2decode(input); - - // Cache the length - inputLength = input.length; - - // Initialize the state - n = initialN; - delta = 0; - bias = initialBias; - - // Handle the basic code points - for (j = 0; j < inputLength; ++j) { - currentValue = input[j]; - if (currentValue < 0x80) { - output.push(stringFromCharCode(currentValue)); - } - } - - handledCPCount = basicLength = output.length; - - // `handledCPCount` is the number of code points that have been handled; - // `basicLength` is the number of basic code points. - - // Finish the basic string - if it is not empty - with a delimiter - if (basicLength) { - output.push(delimiter); - } - - // Main encoding loop: - while (handledCPCount < inputLength) { - - // All non-basic code points < n have been handled already. Find the next - // larger one: - for (m = maxInt, j = 0; j < inputLength; ++j) { - currentValue = input[j]; - if (currentValue >= n && currentValue < m) { - m = currentValue; - } - } - - // Increase `delta` enough to advance the decoder's state to , - // but guard against overflow - handledCPCountPlusOne = handledCPCount + 1; - if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { - error('overflow'); - } - - delta += (m - n) * handledCPCountPlusOne; - n = m; - - for (j = 0; j < inputLength; ++j) { - currentValue = input[j]; - - if (currentValue < n && ++delta > maxInt) { - error('overflow'); - } - - if (currentValue == n) { - // Represent delta as a generalized variable-length integer - for (q = delta, k = base; /* no condition */; k += base) { - t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); - if (q < t) { - break; - } - qMinusT = q - t; - baseMinusT = base - t; - output.push( - stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)) - ); - q = floor(qMinusT / baseMinusT); - } - - output.push(stringFromCharCode(digitToBasic(q, 0))); - bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); - delta = 0; - ++handledCPCount; - } - } - - ++delta; - ++n; - - } - return output.join(''); - } - - /** - * Converts a Punycode string representing a domain name or an email address - * to Unicode. Only the Punycoded parts of the input will be converted, i.e. - * it doesn't matter if you call it on a string that has already been - * converted to Unicode. - * @memberOf punycode - * @param {String} input The Punycoded domain name or email address to - * convert to Unicode. - * @returns {String} The Unicode representation of the given Punycode - * string. - */ - function toUnicode(input) { - return mapDomain(input, function(string) { - return regexPunycode.test(string) - ? decode(string.slice(4).toLowerCase()) - : string; - }); - } - - /** - * Converts a Unicode string representing a domain name or an email address to - * Punycode. Only the non-ASCII parts of the domain name will be converted, - * i.e. it doesn't matter if you call it with a domain that's already in - * ASCII. - * @memberOf punycode - * @param {String} input The domain name or email address to convert, as a - * Unicode string. - * @returns {String} The Punycode representation of the given domain name or - * email address. - */ - function toASCII(input) { - return mapDomain(input, function(string) { - return regexNonASCII.test(string) - ? 'xn--' + encode(string) - : string; - }); - } - - /*--------------------------------------------------------------------------*/ - - /** Define the public API */ - punycode = { - /** - * A string representing the current Punycode.js version number. - * @memberOf punycode - * @type String - */ - 'version': '1.4.1', - /** - * An object of methods to convert from JavaScript's internal character - * representation (UCS-2) to Unicode code points, and back. - * @see - * @memberOf punycode - * @type Object - */ - 'ucs2': { - 'decode': ucs2decode, - 'encode': ucs2encode - }, - 'decode': decode, - 'encode': encode, - 'toASCII': toASCII, - 'toUnicode': toUnicode - }; - - /** Expose `punycode` */ - // Some AMD build optimizers, like r.js, check for specific condition patterns - // like the following: - if ( - true - ) { - !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() { - return punycode; - }).call(exports, __webpack_require__, exports, module), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } else {} - -}(this)); - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/module.js */ 71)(module), __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 37))) - -/***/ }), -/* 1015 */ -/*!**********************************!*\ - !*** ./node_modules/url/util.js ***! - \**********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -module.exports = { - isString: function(arg) { - return typeof(arg) === 'string'; - }, - isObject: function(arg) { - return typeof(arg) === 'object' && arg !== null; - }, - isNull: function(arg) { - return arg === null; - }, - isNullOrUndefined: function(arg) { - return arg == null; - } -}; - - -/***/ }), -/* 1016 */ -/*!***********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/websocket/lib/browser.js ***! - \***********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var _globalThis; -if (typeof globalThis === 'object') { - _globalThis = globalThis; -} else { - try { - _globalThis = __webpack_require__(/*! es5-ext/global */ 1017); - } catch (error) { - } finally { - if (!_globalThis && typeof window !== 'undefined') {_globalThis = window;} - if (!_globalThis) {throw new Error('Could not determine global this');} - } -} - -var NativeWebSocket = _globalThis.WebSocket || _globalThis.MozWebSocket; -var websocket_version = __webpack_require__(/*! ./version */ 1018); - - -/** - * Expose a W3C WebSocket class with just one or two arguments. - */ -function W3CWebSocket(uri, protocols) { - var native_instance; - - if (protocols) { - native_instance = new NativeWebSocket(uri, protocols); - } else - { - native_instance = new NativeWebSocket(uri); - } - - /** - * 'native_instance' is an instance of nativeWebSocket (the browser's WebSocket - * class). Since it is an Object it will be returned as it is when creating an - * instance of W3CWebSocket via 'new W3CWebSocket()'. - * - * ECMAScript 5: http://bclary.com/2004/11/07/#a-13.2.2 - */ - return native_instance; -} -if (NativeWebSocket) { - ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'].forEach(function (prop) { - Object.defineProperty(W3CWebSocket, prop, { - get: function get() {return NativeWebSocket[prop];} }); - - }); -} - -/** - * Module exports. - */ -module.exports = { - 'w3cwebsocket': NativeWebSocket ? W3CWebSocket : null, - 'version': websocket_version }; - -/***/ }), -/* 1017 */ -/*!****************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/es5-ext/global.js ***! - \****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var naiveFallback = function naiveFallback() { - if (typeof self === "object" && self) return self; - if (typeof window === "object" && window) return window; - throw new Error("Unable to resolve global `this`"); -}; - -module.exports = function () { - if (this) return this; - - // Unexpected strict mode (may happen if e.g. bundled into ESM module) - - // Fallback to standard globalThis if available - if (typeof globalThis === "object" && globalThis) return globalThis; - - // Thanks @mathiasbynens -> https://mathiasbynens.be/notes/globalthis - // In all ES5+ engines global object inherits from Object.prototype - // (if you approached one that doesn't please report) - try { - Object.defineProperty(Object.prototype, "__global__", { - get: function get() {return this;}, - configurable: true }); - - } catch (error) { - // Unfortunate case of updates to Object.prototype being restricted - // via preventExtensions, seal or freeze - return naiveFallback(); - } - try { - // Safari case (window.__global__ works, but __global__ does not) - if (!__global__) return naiveFallback(); - return __global__; - } finally { - delete Object.prototype.__global__; - } -}(); - -/***/ }), -/* 1018 */ -/*!***********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/websocket/lib/version.js ***! - \***********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -module.exports = __webpack_require__(/*! ../package.json */ 1019).version; - -/***/ }), -/* 1019 */ -/*!*********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/websocket/package.json ***! - \*********************************************************************************/ -/*! exports provided: _from, _id, _inBundle, _integrity, _location, _phantomChildren, _requested, _requiredBy, _resolved, _shasum, _spec, _where, author, browser, bugs, bundleDependencies, config, contributors, dependencies, deprecated, description, devDependencies, directories, engines, homepage, keywords, license, main, name, repository, scripts, version, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"_from\":\"websocket@^1.0.32\",\"_id\":\"websocket@1.0.34\",\"_inBundle\":false,\"_integrity\":\"sha1-K9wmAsCL8sgiU7cwZVwO99yrMRE=\",\"_location\":\"/websocket\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"websocket@^1.0.32\",\"name\":\"websocket\",\"escapedName\":\"websocket\",\"rawSpec\":\"^1.0.32\",\"saveSpec\":null,\"fetchSpec\":\"^1.0.32\"},\"_requiredBy\":[\"/web3-providers-ws\"],\"_resolved\":\"https://registry.npm.taobao.org/websocket/download/websocket-1.0.34.tgz\",\"_shasum\":\"2bdc2602c08bf2c82253b730655c0ef7dcab3111\",\"_spec\":\"websocket@^1.0.32\",\"_where\":\"C:\\\\Users\\\\Administrator\\\\Desktop\\\\bitcoo\\\\node_modules\\\\web3-providers-ws\",\"author\":{\"name\":\"Brian McKelvey\",\"email\":\"theturtle32@gmail.com\",\"url\":\"https://github.com/theturtle32\"},\"browser\":\"lib/browser.js\",\"bugs\":{\"url\":\"https://github.com/theturtle32/WebSocket-Node/issues\"},\"bundleDependencies\":false,\"config\":{\"verbose\":false},\"contributors\":[{\"name\":\"Iñaki Baz Castillo\",\"email\":\"ibc@aliax.net\",\"url\":\"http://dev.sipdoc.net\"}],\"dependencies\":{\"bufferutil\":\"^4.0.1\",\"debug\":\"^2.2.0\",\"es5-ext\":\"^0.10.50\",\"typedarray-to-buffer\":\"^3.1.5\",\"utf-8-validate\":\"^5.0.2\",\"yaeti\":\"^0.0.6\"},\"deprecated\":false,\"description\":\"Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.\",\"devDependencies\":{\"buffer-equal\":\"^1.0.0\",\"gulp\":\"^4.0.2\",\"gulp-jshint\":\"^2.0.4\",\"jshint\":\"^2.0.0\",\"jshint-stylish\":\"^2.2.1\",\"tape\":\"^4.9.1\"},\"directories\":{\"lib\":\"./lib\"},\"engines\":{\"node\":\">=4.0.0\"},\"homepage\":\"https://github.com/theturtle32/WebSocket-Node\",\"keywords\":[\"websocket\",\"websockets\",\"socket\",\"networking\",\"comet\",\"push\",\"RFC-6455\",\"realtime\",\"server\",\"client\"],\"license\":\"Apache-2.0\",\"main\":\"index\",\"name\":\"websocket\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/theturtle32/WebSocket-Node.git\"},\"scripts\":{\"gulp\":\"gulp\",\"test\":\"tape test/unit/*.js\"},\"version\":\"1.0.34\"}"); - -/***/ }), -/* 1020 */ -/*!*******************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-providers-http/lib/index.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** @file httpprovider.js - * @authors: - * Marek Kotewicz - * Marian Oancea - * Fabian Vogelsteller - * @date 2015 - */ -var errors = __webpack_require__(/*! web3-core-helpers */ 995).errors; -var XHR2 = __webpack_require__(/*! xhr2-cookies */ 1021).XMLHttpRequest; // jshint ignore: line -var http = __webpack_require__(/*! http */ 1023); -var https = __webpack_require__(/*! https */ 1030); -/** - * HttpProvider should be used to send rpc calls over http - */ -var HttpProvider = function HttpProvider(host, options) { - options = options || {}; - this.withCredentials = options.withCredentials || false; - this.timeout = options.timeout || 0; - this.headers = options.headers; - this.agent = options.agent; - this.connected = false; - // keepAlive is true unless explicitly set to false - var keepAlive = options.keepAlive !== false; - this.host = host || 'http://localhost:8545'; - if (!this.agent) { - if (this.host.substring(0, 5) === "https") { - this.httpsAgent = new https.Agent({ keepAlive: keepAlive }); - } else - { - this.httpAgent = new http.Agent({ keepAlive: keepAlive }); - } - } -}; -HttpProvider.prototype._prepareRequest = function () { - var request; - // the current runtime is a browser - if (typeof XMLHttpRequest !== 'undefined') { - request = new XMLHttpRequest(); - } else - { - request = new XHR2(); - var agents = { httpsAgent: this.httpsAgent, httpAgent: this.httpAgent, baseUrl: this.baseUrl }; - if (this.agent) { - agents.httpsAgent = this.agent.https; - agents.httpAgent = this.agent.http; - agents.baseUrl = this.agent.baseUrl; - } - request.nodejsSet(agents); - } - request.open('POST', this.host, true); - request.setRequestHeader('Content-Type', 'application/json'); - request.timeout = this.timeout; - request.withCredentials = this.withCredentials; - if (this.headers) { - this.headers.forEach(function (header) { - request.setRequestHeader(header.name, header.value); - }); - } - return request; -}; -/** - * Should be used to make async request - * - * @method send - * @param {Object} payload - * @param {Function} callback triggered on end with (err, result) - */ -HttpProvider.prototype.send = function (payload, callback) { - var _this = this; - var request = this._prepareRequest(); - request.onreadystatechange = function () { - if (request.readyState === 4 && request.timeout !== 1) { - var result = request.responseText; - var error = null; - try { - result = JSON.parse(result); - } - catch (e) { - error = errors.InvalidResponse(request.responseText); - } - _this.connected = true; - callback(error, result); - } - }; - request.ontimeout = function () { - _this.connected = false; - callback(errors.ConnectionTimeout(this.timeout)); - }; - try { - request.send(JSON.stringify(payload)); - } - catch (error) { - this.connected = false; - callback(errors.InvalidConnection(this.host)); - } -}; -HttpProvider.prototype.disconnect = function () { - //NO OP -}; -/** - * Returns the desired boolean. - * - * @method supportsSubscriptions - * @returns {boolean} - */ -HttpProvider.prototype.supportsSubscriptions = function () { - return false; -}; -module.exports = HttpProvider; - -/***/ }), -/* 1021 */ -/*!*************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr2-cookies/dist/index.js ***! - \*************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -function __export(m) { - for (var p in m) {if (!exports.hasOwnProperty(p)) exports[p] = m[p];} -} -Object.defineProperty(exports, "__esModule", { value: true }); -__export(__webpack_require__(/*! ./xml-http-request */ 1022)); -var xml_http_request_event_target_1 = __webpack_require__(/*! ./xml-http-request-event-target */ 1034); -exports.XMLHttpRequestEventTarget = xml_http_request_event_target_1.XMLHttpRequestEventTarget; - -/***/ }), -/* 1022 */ -/*!************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr2-cookies/dist/xml-http-request.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(process, __f__, Buffer) { -var __extends = this && this.__extends || function () { - var extendStatics = Object.setPrototypeOf || - { __proto__: [] } instanceof Array && function (d, b) {d.__proto__ = b;} || - function (d, b) {for (var p in b) {if (b.hasOwnProperty(p)) d[p] = b[p];}}; - return function (d, b) { - extendStatics(d, b); - function __() {this.constructor = d;} - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -}(); -var __assign = this && this.__assign || Object.assign || function (t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) {if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p];} - } - return t; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -var http = __webpack_require__(/*! http */ 1023); -var https = __webpack_require__(/*! https */ 1030); -var os = __webpack_require__(/*! os */ 1031); -var url = __webpack_require__(/*! url */ 1013); -var progress_event_1 = __webpack_require__(/*! ./progress-event */ 1032); -var errors_1 = __webpack_require__(/*! ./errors */ 1033); -var xml_http_request_event_target_1 = __webpack_require__(/*! ./xml-http-request-event-target */ 1034); -var xml_http_request_upload_1 = __webpack_require__(/*! ./xml-http-request-upload */ 1035); -var Cookie = __webpack_require__(/*! cookiejar */ 1036); -var XMLHttpRequest = /** @class */function (_super) { - __extends(XMLHttpRequest, _super); - function XMLHttpRequest(options) { - if (options === void 0) {options = {};} - var _this = _super.call(this) || this; - _this.UNSENT = XMLHttpRequest.UNSENT; - _this.OPENED = XMLHttpRequest.OPENED; - _this.HEADERS_RECEIVED = XMLHttpRequest.HEADERS_RECEIVED; - _this.LOADING = XMLHttpRequest.LOADING; - _this.DONE = XMLHttpRequest.DONE; - _this.onreadystatechange = null; - _this.readyState = XMLHttpRequest.UNSENT; - _this.response = null; - _this.responseText = ''; - _this.responseType = ''; - _this.status = 0; // TODO: UNSENT? - _this.statusText = ''; - _this.timeout = 0; - _this.upload = new xml_http_request_upload_1.XMLHttpRequestUpload(); - _this.responseUrl = ''; - _this.withCredentials = false; - _this._method = null; - _this._url = null; - _this._sync = false; - _this._headers = {}; - _this._loweredHeaders = {}; - _this._mimeOverride = null; // TODO: is type right? - _this._request = null; - _this._response = null; - _this._responseParts = null; - _this._responseHeaders = null; - _this._aborting = null; // TODO: type? - _this._error = null; // TODO: type? - _this._loadedBytes = 0; - _this._totalBytes = 0; - _this._lengthComputable = false; - _this._restrictedMethods = { CONNECT: true, TRACE: true, TRACK: true }; - _this._restrictedHeaders = { - 'accept-charset': true, - 'accept-encoding': true, - 'access-control-request-headers': true, - 'access-control-request-method': true, - connection: true, - 'content-length': true, - cookie: true, - cookie2: true, - date: true, - dnt: true, - expect: true, - host: true, - 'keep-alive': true, - origin: true, - referer: true, - te: true, - trailer: true, - 'transfer-encoding': true, - upgrade: true, - 'user-agent': true, - via: true }; - - _this._privateHeaders = { 'set-cookie': true, 'set-cookie2': true }; - _this._userAgent = "Mozilla/5.0 (" + os.type() + " " + os.arch() + ") node.js/" + process.versions.node + " v8/" + process.versions.v8; - _this._anonymous = options.anon || false; - return _this; - } - XMLHttpRequest.prototype.open = function (method, url, async, user, password) { - if (async === void 0) {async = true;} - method = method.toUpperCase(); - if (this._restrictedMethods[method]) { - throw new XMLHttpRequest.SecurityError("HTTP method " + method + " is not allowed in XHR"); - } - ; - var xhrUrl = this._parseUrl(url, user, password); - if (this.readyState === XMLHttpRequest.HEADERS_RECEIVED || this.readyState === XMLHttpRequest.LOADING) { - // TODO(pwnall): terminate abort(), terminate send() - } - this._method = method; - this._url = xhrUrl; - this._sync = !async; - this._headers = {}; - this._loweredHeaders = {}; - this._mimeOverride = null; - this._setReadyState(XMLHttpRequest.OPENED); - this._request = null; - this._response = null; - this.status = 0; - this.statusText = ''; - this._responseParts = []; - this._responseHeaders = null; - this._loadedBytes = 0; - this._totalBytes = 0; - this._lengthComputable = false; - }; - XMLHttpRequest.prototype.setRequestHeader = function (name, value) { - if (this.readyState !== XMLHttpRequest.OPENED) { - throw new XMLHttpRequest.InvalidStateError('XHR readyState must be OPENED'); - } - var loweredName = name.toLowerCase(); - if (this._restrictedHeaders[loweredName] || /^sec-/.test(loweredName) || /^proxy-/.test(loweredName)) { - __f__("warn", "Refused to set unsafe header \"" + name + "\"", " at node_modules/xhr2-cookies/dist/xml-http-request.js:129"); - return; - } - value = value.toString(); - if (this._loweredHeaders[loweredName] != null) { - name = this._loweredHeaders[loweredName]; - this._headers[name] = this._headers[name] + ", " + value; - } else - { - this._loweredHeaders[loweredName] = name; - this._headers[name] = value; - } - }; - XMLHttpRequest.prototype.send = function (data) { - if (this.readyState !== XMLHttpRequest.OPENED) { - throw new XMLHttpRequest.InvalidStateError('XHR readyState must be OPENED'); - } - if (this._request) { - throw new XMLHttpRequest.InvalidStateError('send() already called'); - } - switch (this._url.protocol) { - case 'file:': - return this._sendFile(data); - case 'http:': - case 'https:': - return this._sendHttp(data); - default: - throw new XMLHttpRequest.NetworkError("Unsupported protocol " + this._url.protocol);} - - }; - XMLHttpRequest.prototype.abort = function () { - if (this._request == null) { - return; - } - this._request.abort(); - this._setError(); - this._dispatchProgress('abort'); - this._dispatchProgress('loadend'); - }; - XMLHttpRequest.prototype.getResponseHeader = function (name) { - if (this._responseHeaders == null || name == null) { - return null; - } - var loweredName = name.toLowerCase(); - return this._responseHeaders.hasOwnProperty(loweredName) ? - this._responseHeaders[name.toLowerCase()] : - null; - }; - XMLHttpRequest.prototype.getAllResponseHeaders = function () { - var _this = this; - if (this._responseHeaders == null) { - return ''; - } - return Object.keys(this._responseHeaders).map(function (key) {return key + ": " + _this._responseHeaders[key];}).join('\r\n'); - }; - XMLHttpRequest.prototype.overrideMimeType = function (mimeType) { - if (this.readyState === XMLHttpRequest.LOADING || this.readyState === XMLHttpRequest.DONE) { - throw new XMLHttpRequest.InvalidStateError('overrideMimeType() not allowed in LOADING or DONE'); - } - this._mimeOverride = mimeType.toLowerCase(); - }; - XMLHttpRequest.prototype.nodejsSet = function (options) { - this.nodejsHttpAgent = options.httpAgent || this.nodejsHttpAgent; - this.nodejsHttpsAgent = options.httpsAgent || this.nodejsHttpsAgent; - if (options.hasOwnProperty('baseUrl')) { - if (options.baseUrl != null) { - var parsedUrl = url.parse(options.baseUrl, false, true); - if (!parsedUrl.protocol) { - throw new XMLHttpRequest.SyntaxError("baseUrl must be an absolute URL"); - } - } - this.nodejsBaseUrl = options.baseUrl; - } - }; - XMLHttpRequest.nodejsSet = function (options) { - XMLHttpRequest.prototype.nodejsSet(options); - }; - XMLHttpRequest.prototype._setReadyState = function (readyState) { - this.readyState = readyState; - this.dispatchEvent(new progress_event_1.ProgressEvent('readystatechange')); - }; - XMLHttpRequest.prototype._sendFile = function (data) { - // TODO - throw new Error('Protocol file: not implemented'); - }; - XMLHttpRequest.prototype._sendHttp = function (data) { - if (this._sync) { - throw new Error('Synchronous XHR processing not implemented'); - } - if (data && (this._method === 'GET' || this._method === 'HEAD')) { - __f__("warn", "Discarding entity body for " + this._method + " requests", " at node_modules/xhr2-cookies/dist/xml-http-request.js:219"); - data = null; - } else - { - data = data || ''; - } - this.upload._setData(data); - this._finalizeHeaders(); - this._sendHxxpRequest(); - }; - XMLHttpRequest.prototype._sendHxxpRequest = function () { - var _this = this; - if (this.withCredentials) { - var cookie = XMLHttpRequest.cookieJar. - getCookies(Cookie.CookieAccessInfo(this._url.hostname, this._url.pathname, this._url.protocol === 'https:')).toValueString(); - this._headers.cookie = this._headers.cookie2 = cookie; - } - var _a = this._url.protocol === 'http:' ? [http, this.nodejsHttpAgent] : [https, this.nodejsHttpsAgent],hxxp = _a[0],agent = _a[1]; - var requestMethod = hxxp.request.bind(hxxp); - var request = requestMethod({ - hostname: this._url.hostname, - port: +this._url.port, - path: this._url.path, - auth: this._url.auth, - method: this._method, - headers: this._headers, - agent: agent }); - - this._request = request; - if (this.timeout) { - request.setTimeout(this.timeout, function () {return _this._onHttpTimeout(request);}); - } - request.on('response', function (response) {return _this._onHttpResponse(request, response);}); - request.on('error', function (error) {return _this._onHttpRequestError(request, error);}); - this.upload._startUpload(request); - if (this._request === request) { - this._dispatchProgress('loadstart'); - } - }; - XMLHttpRequest.prototype._finalizeHeaders = function () { - this._headers = __assign({}, this._headers, { Connection: 'keep-alive', Host: this._url.host, 'User-Agent': this._userAgent }, this._anonymous ? { Referer: 'about:blank' } : {}); - this.upload._finalizeHeaders(this._headers, this._loweredHeaders); - }; - XMLHttpRequest.prototype._onHttpResponse = function (request, response) { - var _this = this; - if (this._request !== request) { - return; - } - if (this.withCredentials && (response.headers['set-cookie'] || response.headers['set-cookie2'])) { - XMLHttpRequest.cookieJar. - setCookies(response.headers['set-cookie'] || response.headers['set-cookie2']); - } - if ([301, 302, 303, 307, 308].indexOf(response.statusCode) >= 0) { - this._url = this._parseUrl(response.headers.location); - this._method = 'GET'; - if (this._loweredHeaders['content-type']) { - delete this._headers[this._loweredHeaders['content-type']]; - delete this._loweredHeaders['content-type']; - } - if (this._headers['Content-Type'] != null) { - delete this._headers['Content-Type']; - } - delete this._headers['Content-Length']; - this.upload._reset(); - this._finalizeHeaders(); - this._sendHxxpRequest(); - return; - } - this._response = response; - this._response.on('data', function (data) {return _this._onHttpResponseData(response, data);}); - this._response.on('end', function () {return _this._onHttpResponseEnd(response);}); - this._response.on('close', function () {return _this._onHttpResponseClose(response);}); - this.responseUrl = this._url.href.split('#')[0]; - this.status = response.statusCode; - this.statusText = http.STATUS_CODES[this.status]; - this._parseResponseHeaders(response); - var lengthString = this._responseHeaders['content-length'] || ''; - this._totalBytes = +lengthString; - this._lengthComputable = !!lengthString; - this._setReadyState(XMLHttpRequest.HEADERS_RECEIVED); - }; - XMLHttpRequest.prototype._onHttpResponseData = function (response, data) { - if (this._response !== response) { - return; - } - this._responseParts.push(new Buffer(data)); - this._loadedBytes += data.length; - if (this.readyState !== XMLHttpRequest.LOADING) { - this._setReadyState(XMLHttpRequest.LOADING); - } - this._dispatchProgress('progress'); - }; - XMLHttpRequest.prototype._onHttpResponseEnd = function (response) { - if (this._response !== response) { - return; - } - this._parseResponse(); - this._request = null; - this._response = null; - this._setReadyState(XMLHttpRequest.DONE); - this._dispatchProgress('load'); - this._dispatchProgress('loadend'); - }; - XMLHttpRequest.prototype._onHttpResponseClose = function (response) { - if (this._response !== response) { - return; - } - var request = this._request; - this._setError(); - request.abort(); - this._setReadyState(XMLHttpRequest.DONE); - this._dispatchProgress('error'); - this._dispatchProgress('loadend'); - }; - XMLHttpRequest.prototype._onHttpTimeout = function (request) { - if (this._request !== request) { - return; - } - this._setError(); - request.abort(); - this._setReadyState(XMLHttpRequest.DONE); - this._dispatchProgress('timeout'); - this._dispatchProgress('loadend'); - }; - XMLHttpRequest.prototype._onHttpRequestError = function (request, error) { - if (this._request !== request) { - return; - } - this._setError(); - request.abort(); - this._setReadyState(XMLHttpRequest.DONE); - this._dispatchProgress('error'); - this._dispatchProgress('loadend'); - }; - XMLHttpRequest.prototype._dispatchProgress = function (eventType) { - var event = new XMLHttpRequest.ProgressEvent(eventType); - event.lengthComputable = this._lengthComputable; - event.loaded = this._loadedBytes; - event.total = this._totalBytes; - this.dispatchEvent(event); - }; - XMLHttpRequest.prototype._setError = function () { - this._request = null; - this._response = null; - this._responseHeaders = null; - this._responseParts = null; - }; - XMLHttpRequest.prototype._parseUrl = function (urlString, user, password) { - var absoluteUrl = this.nodejsBaseUrl == null ? urlString : url.resolve(this.nodejsBaseUrl, urlString); - var xhrUrl = url.parse(absoluteUrl, false, true); - xhrUrl.hash = null; - var _a = (xhrUrl.auth || '').split(':'),xhrUser = _a[0],xhrPassword = _a[1]; - if (xhrUser || xhrPassword || user || password) { - xhrUrl.auth = (user || xhrUser || '') + ":" + (password || xhrPassword || ''); - } - return xhrUrl; - }; - XMLHttpRequest.prototype._parseResponseHeaders = function (response) { - this._responseHeaders = {}; - for (var name_1 in response.headers) { - var loweredName = name_1.toLowerCase(); - if (this._privateHeaders[loweredName]) { - continue; - } - this._responseHeaders[loweredName] = response.headers[name_1]; - } - if (this._mimeOverride != null) { - this._responseHeaders['content-type'] = this._mimeOverride; - } - }; - XMLHttpRequest.prototype._parseResponse = function () { - var buffer = Buffer.concat(this._responseParts); - this._responseParts = null; - switch (this.responseType) { - case 'json': - this.responseText = null; - try { - this.response = JSON.parse(buffer.toString('utf-8')); - } - catch (_a) { - this.response = null; - } - return; - case 'buffer': - this.responseText = null; - this.response = buffer; - return; - case 'arraybuffer': - this.responseText = null; - var arrayBuffer = new ArrayBuffer(buffer.length); - var view = new Uint8Array(arrayBuffer); - for (var i = 0; i < buffer.length; i++) { - view[i] = buffer[i]; - } - this.response = arrayBuffer; - return; - case 'text': - default: - try { - this.responseText = buffer.toString(this._parseResponseEncoding()); - } - catch (_b) { - this.responseText = buffer.toString('binary'); - } - this.response = this.responseText;} - - }; - XMLHttpRequest.prototype._parseResponseEncoding = function () { - return /;\s*charset=(.*)$/.exec(this._responseHeaders['content-type'] || '')[1] || 'utf-8'; - }; - XMLHttpRequest.ProgressEvent = progress_event_1.ProgressEvent; - XMLHttpRequest.InvalidStateError = errors_1.InvalidStateError; - XMLHttpRequest.NetworkError = errors_1.NetworkError; - XMLHttpRequest.SecurityError = errors_1.SecurityError; - XMLHttpRequest.SyntaxError = errors_1.SyntaxError; - XMLHttpRequest.XMLHttpRequestUpload = xml_http_request_upload_1.XMLHttpRequestUpload; - XMLHttpRequest.UNSENT = 0; - XMLHttpRequest.OPENED = 1; - XMLHttpRequest.HEADERS_RECEIVED = 2; - XMLHttpRequest.LOADING = 3; - XMLHttpRequest.DONE = 4; - XMLHttpRequest.cookieJar = Cookie.CookieJar(); - return XMLHttpRequest; -}(xml_http_request_event_target_1.XMLHttpRequestEventTarget); -exports.XMLHttpRequest = XMLHttpRequest; -XMLHttpRequest.prototype.nodejsHttpAgent = http.globalAgent; -XMLHttpRequest.prototype.nodejsHttpsAgent = https.globalAgent; -XMLHttpRequest.prototype.nodejsBaseUrl = null; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 31), __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)["default"], __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1023 */ -/*!*******************************************!*\ - !*** ./node_modules/stream-http/index.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(global) {var ClientRequest = __webpack_require__(/*! ./lib/request */ 1024) -var response = __webpack_require__(/*! ./lib/response */ 1026) -var extend = __webpack_require__(/*! xtend */ 1028) -var statusCodes = __webpack_require__(/*! builtin-status-codes */ 1029) -var url = __webpack_require__(/*! url */ 1013) - -var http = exports - -http.request = function (opts, cb) { - if (typeof opts === 'string') - opts = url.parse(opts) - else - opts = extend(opts) - - // Normally, the page is loaded from http or https, so not specifying a protocol - // will result in a (valid) protocol-relative url. However, this won't work if - // the protocol is something else, like 'file:' - var defaultProtocol = global.location.protocol.search(/^https?:$/) === -1 ? 'http:' : '' - - var protocol = opts.protocol || defaultProtocol - var host = opts.hostname || opts.host - var port = opts.port - var path = opts.path || '/' - - // Necessary for IPv6 addresses - if (host && host.indexOf(':') !== -1) - host = '[' + host + ']' - - // This may be a relative url. The browser should always be able to interpret it correctly. - opts.url = (host ? (protocol + '//' + host) : '') + (port ? ':' + port : '') + path - opts.method = (opts.method || 'GET').toUpperCase() - opts.headers = opts.headers || {} - - // Also valid opts.auth, opts.mode - - var req = new ClientRequest(opts) - if (cb) - req.on('response', cb) - return req -} - -http.get = function get (opts, cb) { - var req = http.request(opts, cb) - req.end() - return req -} - -http.ClientRequest = ClientRequest -http.IncomingMessage = response.IncomingMessage - -http.Agent = function () {} -http.Agent.defaultMaxSockets = 4 - -http.globalAgent = new http.Agent() - -http.STATUS_CODES = statusCodes - -http.METHODS = [ - 'CHECKOUT', - 'CONNECT', - 'COPY', - 'DELETE', - 'GET', - 'HEAD', - 'LOCK', - 'M-SEARCH', - 'MERGE', - 'MKACTIVITY', - 'MKCOL', - 'MOVE', - 'NOTIFY', - 'OPTIONS', - 'PATCH', - 'POST', - 'PROPFIND', - 'PROPPATCH', - 'PURGE', - 'PUT', - 'REPORT', - 'SEARCH', - 'SUBSCRIBE', - 'TRACE', - 'UNLOCK', - 'UNSUBSCRIBE' -] -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ 37))) - -/***/ }), -/* 1024 */ -/*!*************************************************!*\ - !*** ./node_modules/stream-http/lib/request.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer, global, process) {var capability = __webpack_require__(/*! ./capability */ 1025) -var inherits = __webpack_require__(/*! inherits */ 127) -var response = __webpack_require__(/*! ./response */ 1026) -var stream = __webpack_require__(/*! readable-stream */ 368) -var toArrayBuffer = __webpack_require__(/*! to-arraybuffer */ 1027) - -var IncomingMessage = response.IncomingMessage -var rStates = response.readyStates - -function decideMode (preferBinary, useFetch) { - if (capability.fetch && useFetch) { - return 'fetch' - } else if (capability.mozchunkedarraybuffer) { - return 'moz-chunked-arraybuffer' - } else if (capability.msstream) { - return 'ms-stream' - } else if (capability.arraybuffer && preferBinary) { - return 'arraybuffer' - } else if (capability.vbArray && preferBinary) { - return 'text:vbarray' - } else { - return 'text' - } -} - -var ClientRequest = module.exports = function (opts) { - var self = this - stream.Writable.call(self) - - self._opts = opts - self._body = [] - self._headers = {} - if (opts.auth) - self.setHeader('Authorization', 'Basic ' + new Buffer(opts.auth).toString('base64')) - Object.keys(opts.headers).forEach(function (name) { - self.setHeader(name, opts.headers[name]) - }) - - var preferBinary - var useFetch = true - if (opts.mode === 'disable-fetch' || ('requestTimeout' in opts && !capability.abortController)) { - // If the use of XHR should be preferred. Not typically needed. - useFetch = false - preferBinary = true - } else if (opts.mode === 'prefer-streaming') { - // If streaming is a high priority but binary compatibility and - // the accuracy of the 'content-type' header aren't - preferBinary = false - } else if (opts.mode === 'allow-wrong-content-type') { - // If streaming is more important than preserving the 'content-type' header - preferBinary = !capability.overrideMimeType - } else if (!opts.mode || opts.mode === 'default' || opts.mode === 'prefer-fast') { - // Use binary if text streaming may corrupt data or the content-type header, or for speed - preferBinary = true - } else { - throw new Error('Invalid value for opts.mode') - } - self._mode = decideMode(preferBinary, useFetch) - self._fetchTimer = null - - self.on('finish', function () { - self._onFinish() - }) -} - -inherits(ClientRequest, stream.Writable) - -ClientRequest.prototype.setHeader = function (name, value) { - var self = this - var lowerName = name.toLowerCase() - // This check is not necessary, but it prevents warnings from browsers about setting unsafe - // headers. To be honest I'm not entirely sure hiding these warnings is a good thing, but - // http-browserify did it, so I will too. - if (unsafeHeaders.indexOf(lowerName) !== -1) - return - - self._headers[lowerName] = { - name: name, - value: value - } -} - -ClientRequest.prototype.getHeader = function (name) { - var header = this._headers[name.toLowerCase()] - if (header) - return header.value - return null -} - -ClientRequest.prototype.removeHeader = function (name) { - var self = this - delete self._headers[name.toLowerCase()] -} - -ClientRequest.prototype._onFinish = function () { - var self = this - - if (self._destroyed) - return - var opts = self._opts - - var headersObj = self._headers - var body = null - if (opts.method !== 'GET' && opts.method !== 'HEAD') { - if (capability.arraybuffer) { - body = toArrayBuffer(Buffer.concat(self._body)) - } else if (capability.blobConstructor) { - body = new global.Blob(self._body.map(function (buffer) { - return toArrayBuffer(buffer) - }), { - type: (headersObj['content-type'] || {}).value || '' - }) - } else { - // get utf8 string - body = Buffer.concat(self._body).toString() - } - } - - // create flattened list of headers - var headersList = [] - Object.keys(headersObj).forEach(function (keyName) { - var name = headersObj[keyName].name - var value = headersObj[keyName].value - if (Array.isArray(value)) { - value.forEach(function (v) { - headersList.push([name, v]) - }) - } else { - headersList.push([name, value]) - } - }) - - if (self._mode === 'fetch') { - var signal = null - var fetchTimer = null - if (capability.abortController) { - var controller = new AbortController() - signal = controller.signal - self._fetchAbortController = controller - - if ('requestTimeout' in opts && opts.requestTimeout !== 0) { - self._fetchTimer = global.setTimeout(function () { - self.emit('requestTimeout') - if (self._fetchAbortController) - self._fetchAbortController.abort() - }, opts.requestTimeout) - } - } - - global.fetch(self._opts.url, { - method: self._opts.method, - headers: headersList, - body: body || undefined, - mode: 'cors', - credentials: opts.withCredentials ? 'include' : 'same-origin', - signal: signal - }).then(function (response) { - self._fetchResponse = response - self._connect() - }, function (reason) { - global.clearTimeout(self._fetchTimer) - if (!self._destroyed) - self.emit('error', reason) - }) - } else { - var xhr = self._xhr = new global.XMLHttpRequest() - try { - xhr.open(self._opts.method, self._opts.url, true) - } catch (err) { - process.nextTick(function () { - self.emit('error', err) - }) - return - } - - // Can't set responseType on really old browsers - if ('responseType' in xhr) - xhr.responseType = self._mode.split(':')[0] - - if ('withCredentials' in xhr) - xhr.withCredentials = !!opts.withCredentials - - if (self._mode === 'text' && 'overrideMimeType' in xhr) - xhr.overrideMimeType('text/plain; charset=x-user-defined') - - if ('requestTimeout' in opts) { - xhr.timeout = opts.requestTimeout - xhr.ontimeout = function () { - self.emit('requestTimeout') - } - } - - headersList.forEach(function (header) { - xhr.setRequestHeader(header[0], header[1]) - }) - - self._response = null - xhr.onreadystatechange = function () { - switch (xhr.readyState) { - case rStates.LOADING: - case rStates.DONE: - self._onXHRProgress() - break - } - } - // Necessary for streaming in Firefox, since xhr.response is ONLY defined - // in onprogress, not in onreadystatechange with xhr.readyState = 3 - if (self._mode === 'moz-chunked-arraybuffer') { - xhr.onprogress = function () { - self._onXHRProgress() - } - } - - xhr.onerror = function () { - if (self._destroyed) - return - self.emit('error', new Error('XHR error')) - } - - try { - xhr.send(body) - } catch (err) { - process.nextTick(function () { - self.emit('error', err) - }) - return - } - } -} - -/** - * Checks if xhr.status is readable and non-zero, indicating no error. - * Even though the spec says it should be available in readyState 3, - * accessing it throws an exception in IE8 - */ -function statusValid (xhr) { - try { - var status = xhr.status - return (status !== null && status !== 0) - } catch (e) { - return false - } -} - -ClientRequest.prototype._onXHRProgress = function () { - var self = this - - if (!statusValid(self._xhr) || self._destroyed) - return - - if (!self._response) - self._connect() - - self._response._onXHRProgress() -} - -ClientRequest.prototype._connect = function () { - var self = this - - if (self._destroyed) - return - - self._response = new IncomingMessage(self._xhr, self._fetchResponse, self._mode, self._fetchTimer) - self._response.on('error', function(err) { - self.emit('error', err) - }) - - self.emit('response', self._response) -} - -ClientRequest.prototype._write = function (chunk, encoding, cb) { - var self = this - - self._body.push(chunk) - cb() -} - -ClientRequest.prototype.abort = ClientRequest.prototype.destroy = function () { - var self = this - self._destroyed = true - global.clearTimeout(self._fetchTimer) - if (self._response) - self._response._destroyed = true - if (self._xhr) - self._xhr.abort() - else if (self._fetchAbortController) - self._fetchAbortController.abort() -} - -ClientRequest.prototype.end = function (data, encoding, cb) { - var self = this - if (typeof data === 'function') { - cb = data - data = undefined - } - - stream.Writable.prototype.end.call(self, data, encoding, cb) -} - -ClientRequest.prototype.flushHeaders = function () {} -ClientRequest.prototype.setTimeout = function () {} -ClientRequest.prototype.setNoDelay = function () {} -ClientRequest.prototype.setSocketKeepAlive = function () {} - -// Taken from http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader%28%29-method -var unsafeHeaders = [ - 'accept-charset', - 'accept-encoding', - 'access-control-request-headers', - 'access-control-request-method', - 'connection', - 'content-length', - 'cookie', - 'cookie2', - 'date', - 'dnt', - 'expect', - 'host', - 'keep-alive', - 'origin', - 'referer', - 'te', - 'trailer', - 'transfer-encoding', - 'upgrade', - 'via' -] - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../buffer/index.js */ 40).Buffer, __webpack_require__(/*! ./../../webpack/buildin/global.js */ 37), __webpack_require__(/*! ./../../node-libs-browser/mock/process.js */ 31))) - -/***/ }), -/* 1025 */ -/*!****************************************************!*\ - !*** ./node_modules/stream-http/lib/capability.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(global) {exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream) - -exports.writableStream = isFunction(global.WritableStream) - -exports.abortController = isFunction(global.AbortController) - -exports.blobConstructor = false -try { - new Blob([new ArrayBuffer(1)]) - exports.blobConstructor = true -} catch (e) {} - -// The xhr request to example.com may violate some restrictive CSP configurations, -// so if we're running in a browser that supports `fetch`, avoid calling getXHR() -// and assume support for certain features below. -var xhr -function getXHR () { - // Cache the xhr value - if (xhr !== undefined) return xhr - - if (global.XMLHttpRequest) { - xhr = new global.XMLHttpRequest() - // If XDomainRequest is available (ie only, where xhr might not work - // cross domain), use the page location. Otherwise use example.com - // Note: this doesn't actually make an http request. - try { - xhr.open('GET', global.XDomainRequest ? '/' : 'https://example.com') - } catch(e) { - xhr = null - } - } else { - // Service workers don't have XHR - xhr = null - } - return xhr -} - -function checkTypeSupport (type) { - var xhr = getXHR() - if (!xhr) return false - try { - xhr.responseType = type - return xhr.responseType === type - } catch (e) {} - return false -} - -// For some strange reason, Safari 7.0 reports typeof global.ArrayBuffer === 'object'. -// Safari 7.1 appears to have fixed this bug. -var haveArrayBuffer = typeof global.ArrayBuffer !== 'undefined' -var haveSlice = haveArrayBuffer && isFunction(global.ArrayBuffer.prototype.slice) - -// If fetch is supported, then arraybuffer will be supported too. Skip calling -// checkTypeSupport(), since that calls getXHR(). -exports.arraybuffer = exports.fetch || (haveArrayBuffer && checkTypeSupport('arraybuffer')) - -// These next two tests unavoidably show warnings in Chrome. Since fetch will always -// be used if it's available, just return false for these to avoid the warnings. -exports.msstream = !exports.fetch && haveSlice && checkTypeSupport('ms-stream') -exports.mozchunkedarraybuffer = !exports.fetch && haveArrayBuffer && - checkTypeSupport('moz-chunked-arraybuffer') - -// If fetch is supported, then overrideMimeType will be supported too. Skip calling -// getXHR(). -exports.overrideMimeType = exports.fetch || (getXHR() ? isFunction(getXHR().overrideMimeType) : false) - -exports.vbArray = isFunction(global.VBArray) - -function isFunction (value) { - return typeof value === 'function' -} - -xhr = null // Help gc - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ 37))) - -/***/ }), -/* 1026 */ -/*!**************************************************!*\ - !*** ./node_modules/stream-http/lib/response.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(process, Buffer, global) {var capability = __webpack_require__(/*! ./capability */ 1025) -var inherits = __webpack_require__(/*! inherits */ 127) -var stream = __webpack_require__(/*! readable-stream */ 368) - -var rStates = exports.readyStates = { - UNSENT: 0, - OPENED: 1, - HEADERS_RECEIVED: 2, - LOADING: 3, - DONE: 4 -} - -var IncomingMessage = exports.IncomingMessage = function (xhr, response, mode, fetchTimer) { - var self = this - stream.Readable.call(self) - - self._mode = mode - self.headers = {} - self.rawHeaders = [] - self.trailers = {} - self.rawTrailers = [] - - // Fake the 'close' event, but only once 'end' fires - self.on('end', function () { - // The nextTick is necessary to prevent the 'request' module from causing an infinite loop - process.nextTick(function () { - self.emit('close') - }) - }) - - if (mode === 'fetch') { - self._fetchResponse = response - - self.url = response.url - self.statusCode = response.status - self.statusMessage = response.statusText - - response.headers.forEach(function (header, key){ - self.headers[key.toLowerCase()] = header - self.rawHeaders.push(key, header) - }) - - if (capability.writableStream) { - var writable = new WritableStream({ - write: function (chunk) { - return new Promise(function (resolve, reject) { - if (self._destroyed) { - reject() - } else if(self.push(new Buffer(chunk))) { - resolve() - } else { - self._resumeFetch = resolve - } - }) - }, - close: function () { - global.clearTimeout(fetchTimer) - if (!self._destroyed) - self.push(null) - }, - abort: function (err) { - if (!self._destroyed) - self.emit('error', err) - } - }) - - try { - response.body.pipeTo(writable).catch(function (err) { - global.clearTimeout(fetchTimer) - if (!self._destroyed) - self.emit('error', err) - }) - return - } catch (e) {} // pipeTo method isn't defined. Can't find a better way to feature test this - } - // fallback for when writableStream or pipeTo aren't available - var reader = response.body.getReader() - function read () { - reader.read().then(function (result) { - if (self._destroyed) - return - if (result.done) { - global.clearTimeout(fetchTimer) - self.push(null) - return - } - self.push(new Buffer(result.value)) - read() - }).catch(function (err) { - global.clearTimeout(fetchTimer) - if (!self._destroyed) - self.emit('error', err) - }) - } - read() - } else { - self._xhr = xhr - self._pos = 0 - - self.url = xhr.responseURL - self.statusCode = xhr.status - self.statusMessage = xhr.statusText - var headers = xhr.getAllResponseHeaders().split(/\r?\n/) - headers.forEach(function (header) { - var matches = header.match(/^([^:]+):\s*(.*)/) - if (matches) { - var key = matches[1].toLowerCase() - if (key === 'set-cookie') { - if (self.headers[key] === undefined) { - self.headers[key] = [] - } - self.headers[key].push(matches[2]) - } else if (self.headers[key] !== undefined) { - self.headers[key] += ', ' + matches[2] - } else { - self.headers[key] = matches[2] - } - self.rawHeaders.push(matches[1], matches[2]) - } - }) - - self._charset = 'x-user-defined' - if (!capability.overrideMimeType) { - var mimeType = self.rawHeaders['mime-type'] - if (mimeType) { - var charsetMatch = mimeType.match(/;\s*charset=([^;])(;|$)/) - if (charsetMatch) { - self._charset = charsetMatch[1].toLowerCase() - } - } - if (!self._charset) - self._charset = 'utf-8' // best guess - } - } -} - -inherits(IncomingMessage, stream.Readable) - -IncomingMessage.prototype._read = function () { - var self = this - - var resolve = self._resumeFetch - if (resolve) { - self._resumeFetch = null - resolve() - } -} - -IncomingMessage.prototype._onXHRProgress = function () { - var self = this - - var xhr = self._xhr - - var response = null - switch (self._mode) { - case 'text:vbarray': // For IE9 - if (xhr.readyState !== rStates.DONE) - break - try { - // This fails in IE8 - response = new global.VBArray(xhr.responseBody).toArray() - } catch (e) {} - if (response !== null) { - self.push(new Buffer(response)) - break - } - // Falls through in IE8 - case 'text': - try { // This will fail when readyState = 3 in IE9. Switch mode and wait for readyState = 4 - response = xhr.responseText - } catch (e) { - self._mode = 'text:vbarray' - break - } - if (response.length > self._pos) { - var newData = response.substr(self._pos) - if (self._charset === 'x-user-defined') { - var buffer = new Buffer(newData.length) - for (var i = 0; i < newData.length; i++) - buffer[i] = newData.charCodeAt(i) & 0xff - - self.push(buffer) - } else { - self.push(newData, self._charset) - } - self._pos = response.length - } - break - case 'arraybuffer': - if (xhr.readyState !== rStates.DONE || !xhr.response) - break - response = xhr.response - self.push(new Buffer(new Uint8Array(response))) - break - case 'moz-chunked-arraybuffer': // take whole - response = xhr.response - if (xhr.readyState !== rStates.LOADING || !response) - break - self.push(new Buffer(new Uint8Array(response))) - break - case 'ms-stream': - response = xhr.response - if (xhr.readyState !== rStates.LOADING) - break - var reader = new global.MSStreamReader() - reader.onprogress = function () { - if (reader.result.byteLength > self._pos) { - self.push(new Buffer(new Uint8Array(reader.result.slice(self._pos)))) - self._pos = reader.result.byteLength - } - } - reader.onload = function () { - self.push(null) - } - // reader.onerror = ??? // TODO: this - reader.readAsArrayBuffer(response) - break - } - - // The ms-stream case handles end separately in reader.onload() - if (self._xhr.readyState === rStates.DONE && self._mode !== 'ms-stream') { - self.push(null) - } -} - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../node-libs-browser/mock/process.js */ 31), __webpack_require__(/*! ./../../buffer/index.js */ 40).Buffer, __webpack_require__(/*! ./../../webpack/buildin/global.js */ 37))) - -/***/ }), -/* 1027 */ -/*!**********************************************!*\ - !*** ./node_modules/to-arraybuffer/index.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var Buffer = __webpack_require__(/*! buffer */ 40).Buffer - -module.exports = function (buf) { - // If the buffer is backed by a Uint8Array, a faster version will work - if (buf instanceof Uint8Array) { - // If the buffer isn't a subarray, return the underlying ArrayBuffer - if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) { - return buf.buffer - } else if (typeof buf.buffer.slice === 'function') { - // Otherwise we need to get a proper copy - return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength) - } - } - - if (Buffer.isBuffer(buf)) { - // This is the slow version that will work with any Buffer - // implementation (even in old browsers) - var arrayCopy = new Uint8Array(buf.length) - var len = buf.length - for (var i = 0; i < len; i++) { - arrayCopy[i] = buf[i] - } - return arrayCopy.buffer - } else { - throw new Error('Argument must be a Buffer') - } -} - - -/***/ }), -/* 1028 */ -/*!*****************************************!*\ - !*** ./node_modules/xtend/immutable.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = extend - -var hasOwnProperty = Object.prototype.hasOwnProperty; - -function extend() { - var target = {} - - for (var i = 0; i < arguments.length; i++) { - var source = arguments[i] - - for (var key in source) { - if (hasOwnProperty.call(source, key)) { - target[key] = source[key] - } - } - } - - return target -} - - -/***/ }), -/* 1029 */ -/*!******************************************************!*\ - !*** ./node_modules/builtin-status-codes/browser.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = { - "100": "Continue", - "101": "Switching Protocols", - "102": "Processing", - "200": "OK", - "201": "Created", - "202": "Accepted", - "203": "Non-Authoritative Information", - "204": "No Content", - "205": "Reset Content", - "206": "Partial Content", - "207": "Multi-Status", - "208": "Already Reported", - "226": "IM Used", - "300": "Multiple Choices", - "301": "Moved Permanently", - "302": "Found", - "303": "See Other", - "304": "Not Modified", - "305": "Use Proxy", - "307": "Temporary Redirect", - "308": "Permanent Redirect", - "400": "Bad Request", - "401": "Unauthorized", - "402": "Payment Required", - "403": "Forbidden", - "404": "Not Found", - "405": "Method Not Allowed", - "406": "Not Acceptable", - "407": "Proxy Authentication Required", - "408": "Request Timeout", - "409": "Conflict", - "410": "Gone", - "411": "Length Required", - "412": "Precondition Failed", - "413": "Payload Too Large", - "414": "URI Too Long", - "415": "Unsupported Media Type", - "416": "Range Not Satisfiable", - "417": "Expectation Failed", - "418": "I'm a teapot", - "421": "Misdirected Request", - "422": "Unprocessable Entity", - "423": "Locked", - "424": "Failed Dependency", - "425": "Unordered Collection", - "426": "Upgrade Required", - "428": "Precondition Required", - "429": "Too Many Requests", - "431": "Request Header Fields Too Large", - "451": "Unavailable For Legal Reasons", - "500": "Internal Server Error", - "501": "Not Implemented", - "502": "Bad Gateway", - "503": "Service Unavailable", - "504": "Gateway Timeout", - "505": "HTTP Version Not Supported", - "506": "Variant Also Negotiates", - "507": "Insufficient Storage", - "508": "Loop Detected", - "509": "Bandwidth Limit Exceeded", - "510": "Not Extended", - "511": "Network Authentication Required" -} - - -/***/ }), -/* 1030 */ -/*!************************************************!*\ - !*** ./node_modules/https-browserify/index.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var http = __webpack_require__(/*! http */ 1023) -var url = __webpack_require__(/*! url */ 1013) - -var https = module.exports - -for (var key in http) { - if (http.hasOwnProperty(key)) https[key] = http[key] -} - -https.request = function (params, cb) { - params = validateParams(params) - return http.request.call(this, params, cb) -} - -https.get = function (params, cb) { - params = validateParams(params) - return http.get.call(this, params, cb) -} - -function validateParams (params) { - if (typeof params === 'string') { - params = url.parse(params) - } - if (!params.protocol) { - params.protocol = 'https:' - } - if (params.protocol !== 'https:') { - throw new Error('Protocol "' + params.protocol + '" not supported. Expected "https:"') - } - return params -} - - -/***/ }), -/* 1031 */ -/*!***********************************************!*\ - !*** ./node_modules/os-browserify/browser.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -exports.endianness = function () { return 'LE' }; - -exports.hostname = function () { - if (typeof location !== 'undefined') { - return location.hostname - } - else return ''; -}; - -exports.loadavg = function () { return [] }; - -exports.uptime = function () { return 0 }; - -exports.freemem = function () { - return Number.MAX_VALUE; -}; - -exports.totalmem = function () { - return Number.MAX_VALUE; -}; - -exports.cpus = function () { return [] }; - -exports.type = function () { return 'Browser' }; - -exports.release = function () { - if (typeof navigator !== 'undefined') { - return navigator.appVersion; - } - return ''; -}; - -exports.networkInterfaces -= exports.getNetworkInterfaces -= function () { return {} }; - -exports.arch = function () { return 'javascript' }; - -exports.platform = function () { return 'browser' }; - -exports.tmpdir = exports.tmpDir = function () { - return '/tmp'; -}; - -exports.EOL = '\n'; - -exports.homedir = function () { - return '/' -}; - - -/***/ }), -/* 1032 */ -/*!**********************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr2-cookies/dist/progress-event.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -var ProgressEvent = /** @class */function () { - function ProgressEvent(type) { - this.type = type; - this.bubbles = false; - this.cancelable = false; - this.loaded = 0; - this.lengthComputable = false; - this.total = 0; - } - return ProgressEvent; -}(); -exports.ProgressEvent = ProgressEvent; - -/***/ }), -/* 1033 */ -/*!**************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr2-cookies/dist/errors.js ***! - \**************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var __extends = this && this.__extends || function () { - var extendStatics = Object.setPrototypeOf || - { __proto__: [] } instanceof Array && function (d, b) {d.__proto__ = b;} || - function (d, b) {for (var p in b) {if (b.hasOwnProperty(p)) d[p] = b[p];}}; - return function (d, b) { - extendStatics(d, b); - function __() {this.constructor = d;} - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -}(); -Object.defineProperty(exports, "__esModule", { value: true }); -var SecurityError = /** @class */function (_super) { - __extends(SecurityError, _super); - function SecurityError() { - return _super !== null && _super.apply(this, arguments) || this; - } - return SecurityError; -}(Error); -exports.SecurityError = SecurityError; -var InvalidStateError = /** @class */function (_super) { - __extends(InvalidStateError, _super); - function InvalidStateError() { - return _super !== null && _super.apply(this, arguments) || this; - } - return InvalidStateError; -}(Error); -exports.InvalidStateError = InvalidStateError; -var NetworkError = /** @class */function (_super) { - __extends(NetworkError, _super); - function NetworkError() { - return _super !== null && _super.apply(this, arguments) || this; - } - return NetworkError; -}(Error); -exports.NetworkError = NetworkError; -var SyntaxError = /** @class */function (_super) { - __extends(SyntaxError, _super); - function SyntaxError() { - return _super !== null && _super.apply(this, arguments) || this; - } - return SyntaxError; -}(Error); -exports.SyntaxError = SyntaxError; - -/***/ }), -/* 1034 */ -/*!*************************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js ***! - \*************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -var XMLHttpRequestEventTarget = /** @class */function () { - function XMLHttpRequestEventTarget() { - this.listeners = {}; - } - XMLHttpRequestEventTarget.prototype.addEventListener = function (eventType, listener) { - eventType = eventType.toLowerCase(); - this.listeners[eventType] = this.listeners[eventType] || []; - this.listeners[eventType].push(listener.handleEvent || listener); - }; - XMLHttpRequestEventTarget.prototype.removeEventListener = function (eventType, listener) { - eventType = eventType.toLowerCase(); - if (!this.listeners[eventType]) { - return; - } - var index = this.listeners[eventType].indexOf(listener.handleEvent || listener); - if (index < 0) { - return; - } - this.listeners[eventType].splice(index, 1); - }; - XMLHttpRequestEventTarget.prototype.dispatchEvent = function (event) { - var eventType = event.type.toLowerCase(); - event.target = this; // TODO: set event.currentTarget? - if (this.listeners[eventType]) { - for (var _i = 0, _a = this.listeners[eventType]; _i < _a.length; _i++) { - var listener_1 = _a[_i]; - listener_1.call(this, event); - } - } - var listener = this["on" + eventType]; - if (listener) { - listener.call(this, event); - } - return true; - }; - return XMLHttpRequestEventTarget; -}(); -exports.XMLHttpRequestEventTarget = XMLHttpRequestEventTarget; - -/***/ }), -/* 1035 */ -/*!*******************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr2-cookies/dist/xml-http-request-upload.js ***! - \*******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(Buffer) { -var __extends = this && this.__extends || function () { - var extendStatics = Object.setPrototypeOf || - { __proto__: [] } instanceof Array && function (d, b) {d.__proto__ = b;} || - function (d, b) {for (var p in b) {if (b.hasOwnProperty(p)) d[p] = b[p];}}; - return function (d, b) { - extendStatics(d, b); - function __() {this.constructor = d;} - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -}(); -Object.defineProperty(exports, "__esModule", { value: true }); -var xml_http_request_event_target_1 = __webpack_require__(/*! ./xml-http-request-event-target */ 1034); -var XMLHttpRequestUpload = /** @class */function (_super) { - __extends(XMLHttpRequestUpload, _super); - function XMLHttpRequestUpload() { - var _this = _super.call(this) || this; - _this._contentType = null; - _this._body = null; - _this._reset(); - return _this; - } - XMLHttpRequestUpload.prototype._reset = function () { - this._contentType = null; - this._body = null; - }; - XMLHttpRequestUpload.prototype._setData = function (data) { - if (data == null) { - return; - } - if (typeof data === 'string') { - if (data.length !== 0) { - this._contentType = 'text/plain;charset=UTF-8'; - } - this._body = new Buffer(data, 'utf-8'); - } else - if (Buffer.isBuffer(data)) { - this._body = data; - } else - if (data instanceof ArrayBuffer) { - var body = new Buffer(data.byteLength); - var view = new Uint8Array(data); - for (var i = 0; i < data.byteLength; i++) { - body[i] = view[i]; - } - this._body = body; - } else - if (data.buffer && data.buffer instanceof ArrayBuffer) { - var body = new Buffer(data.byteLength); - var offset = data.byteOffset; - var view = new Uint8Array(data.buffer); - for (var i = 0; i < data.byteLength; i++) { - body[i] = view[i + offset]; - } - this._body = body; - } else - { - throw new Error("Unsupported send() data " + data); - } - }; - XMLHttpRequestUpload.prototype._finalizeHeaders = function (headers, loweredHeaders) { - if (this._contentType && !loweredHeaders['content-type']) { - headers['Content-Type'] = this._contentType; - } - if (this._body) { - headers['Content-Length'] = this._body.length.toString(); - } - }; - XMLHttpRequestUpload.prototype._startUpload = function (request) { - if (this._body) { - request.write(this._body); - } - request.end(); - }; - return XMLHttpRequestUpload; -}(xml_http_request_event_target_1.XMLHttpRequestEventTarget); -exports.XMLHttpRequestUpload = XMLHttpRequestUpload; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1036 */ -/*!*********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/cookiejar/cookiejar.js ***! - \*********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(__f__) {/* jshint node: true */ -(function () { - "use strict"; - - function CookieAccessInfo(domain, path, secure, script) { - if (this instanceof CookieAccessInfo) { - this.domain = domain || undefined; - this.path = path || "/"; - this.secure = !!secure; - this.script = !!script; - return this; - } - return new CookieAccessInfo(domain, path, secure, script); - } - CookieAccessInfo.All = Object.freeze(Object.create(null)); - exports.CookieAccessInfo = CookieAccessInfo; - - function Cookie(cookiestr, request_domain, request_path) { - if (cookiestr instanceof Cookie) { - return cookiestr; - } - if (this instanceof Cookie) { - this.name = null; - this.value = null; - this.expiration_date = Infinity; - this.path = String(request_path || "/"); - this.explicit_path = false; - this.domain = request_domain || null; - this.explicit_domain = false; - this.secure = false; //how to define default? - this.noscript = false; //httponly - if (cookiestr) { - this.parse(cookiestr, request_domain, request_path); - } - return this; - } - return new Cookie(cookiestr, request_domain, request_path); - } - exports.Cookie = Cookie; - - Cookie.prototype.toString = function toString() { - var str = [this.name + "=" + this.value]; - if (this.expiration_date !== Infinity) { - str.push("expires=" + new Date(this.expiration_date).toGMTString()); - } - if (this.domain) { - str.push("domain=" + this.domain); - } - if (this.path) { - str.push("path=" + this.path); - } - if (this.secure) { - str.push("secure"); - } - if (this.noscript) { - str.push("httponly"); - } - return str.join("; "); - }; - - Cookie.prototype.toValueString = function toValueString() { - return this.name + "=" + this.value; - }; - - var cookie_str_splitter = /[:](?=\s*[a-zA-Z0-9_\-]+\s*[=])/g; - Cookie.prototype.parse = function parse(str, request_domain, request_path) { - if (this instanceof Cookie) { - var parts = str.split(";").filter(function (value) { - return !!value; - }); - var i; - - var pair = parts[0].match(/([^=]+)=([\s\S]*)/); - if (!pair) { - __f__("warn", "Invalid cookie header encountered. Header: '" + str + "'", " at node_modules/cookiejar/cookiejar.js:75"); - return; - } - - var key = pair[1]; - var value = pair[2]; - if (typeof key !== 'string' || key.length === 0 || typeof value !== 'string') { - __f__("warn", "Unable to extract values from cookie header. Cookie: '" + str + "'", " at node_modules/cookiejar/cookiejar.js:82"); - return; - } - - this.name = key; - this.value = value; - - for (i = 1; i < parts.length; i += 1) { - pair = parts[i].match(/([^=]+)(?:=([\s\S]*))?/); - key = pair[1].trim().toLowerCase(); - value = pair[2]; - switch (key) { - case "httponly": - this.noscript = true; - break; - case "expires": - this.expiration_date = value ? - Number(Date.parse(value)) : - Infinity; - break; - case "path": - this.path = value ? - value.trim() : - ""; - this.explicit_path = true; - break; - case "domain": - this.domain = value ? - value.trim() : - ""; - this.explicit_domain = !!this.domain; - break; - case "secure": - this.secure = true; - break;} - - } - - if (!this.explicit_path) { - this.path = request_path || "/"; - } - if (!this.explicit_domain) { - this.domain = request_domain; - } - - return this; - } - return new Cookie().parse(str, request_domain, request_path); - }; - - Cookie.prototype.matches = function matches(access_info) { - if (access_info === CookieAccessInfo.All) { - return true; - } - if (this.noscript && access_info.script || - this.secure && !access_info.secure || - !this.collidesWith(access_info)) { - return false; - } - return true; - }; - - Cookie.prototype.collidesWith = function collidesWith(access_info) { - if (this.path && !access_info.path || this.domain && !access_info.domain) { - return false; - } - if (this.path && access_info.path.indexOf(this.path) !== 0) { - return false; - } - if (this.explicit_path && access_info.path.indexOf(this.path) !== 0) { - return false; - } - var access_domain = access_info.domain && access_info.domain.replace(/^[\.]/, ''); - var cookie_domain = this.domain && this.domain.replace(/^[\.]/, ''); - if (cookie_domain === access_domain) { - return true; - } - if (cookie_domain) { - if (!this.explicit_domain) { - return false; // we already checked if the domains were exactly the same - } - var wildcard = access_domain.indexOf(cookie_domain); - if (wildcard === -1 || wildcard !== access_domain.length - cookie_domain.length) { - return false; - } - return true; - } - return true; - }; - - function CookieJar() { - var cookies, cookies_list, collidable_cookie; - if (this instanceof CookieJar) { - cookies = Object.create(null); //name: [Cookie] - - this.setCookie = function setCookie(cookie, request_domain, request_path) { - var remove, i; - cookie = new Cookie(cookie, request_domain, request_path); - //Delete the cookie if the set is past the current time - remove = cookie.expiration_date <= Date.now(); - if (cookies[cookie.name] !== undefined) { - cookies_list = cookies[cookie.name]; - for (i = 0; i < cookies_list.length; i += 1) { - collidable_cookie = cookies_list[i]; - if (collidable_cookie.collidesWith(cookie)) { - if (remove) { - cookies_list.splice(i, 1); - if (cookies_list.length === 0) { - delete cookies[cookie.name]; - } - return false; - } - cookies_list[i] = cookie; - return cookie; - } - } - if (remove) { - return false; - } - cookies_list.push(cookie); - return cookie; - } - if (remove) { - return false; - } - cookies[cookie.name] = [cookie]; - return cookies[cookie.name]; - }; - //returns a cookie - this.getCookie = function getCookie(cookie_name, access_info) { - var cookie, i; - cookies_list = cookies[cookie_name]; - if (!cookies_list) { - return; - } - for (i = 0; i < cookies_list.length; i += 1) { - cookie = cookies_list[i]; - if (cookie.expiration_date <= Date.now()) { - if (cookies_list.length === 0) { - delete cookies[cookie.name]; - } - continue; - } - - if (cookie.matches(access_info)) { - return cookie; - } - } - }; - //returns a list of cookies - this.getCookies = function getCookies(access_info) { - var matches = [],cookie_name,cookie; - for (cookie_name in cookies) { - cookie = this.getCookie(cookie_name, access_info); - if (cookie) { - matches.push(cookie); - } - } - matches.toString = function toString() { - return matches.join(":"); - }; - matches.toValueString = function toValueString() { - return matches.map(function (c) { - return c.toValueString(); - }).join('; '); - }; - return matches; - }; - - return this; - } - return new CookieJar(); - } - exports.CookieJar = CookieJar; - - //returns list of cookies that were set correctly. Cookies that are expired and removed are not returned. - CookieJar.prototype.setCookies = function setCookies(cookies, request_domain, request_path) { - cookies = Array.isArray(cookies) ? - cookies : - cookies.split(cookie_str_splitter); - var successful = [], - i, - cookie; - cookies = cookies.map(function (item) { - return new Cookie(item, request_domain, request_path); - }); - for (i = 0; i < cookies.length; i += 1) { - cookie = cookies[i]; - if (this.setCookie(cookie, request_domain, request_path)) { - successful.push(cookie); - } - } - return successful; - }; -})(); -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)["default"])) - -/***/ }), -/* 1037 */ -/*!******************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-providers-ipc/lib/index.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** @file index.js - * @authors: - * Fabian Vogelsteller - * @date 2017 - */ - -var _ = __webpack_require__(/*! underscore */ 994); -var errors = __webpack_require__(/*! web3-core-helpers */ 995).errors; -var oboe = __webpack_require__(/*! oboe */ 1038); -var IpcProvider = function IpcProvider(path, net) { - var _this = this; - this.responseCallbacks = {}; - this.notificationCallbacks = []; - this.path = path; - this.connected = false; - this.connection = net.connect({ path: this.path }); - this.addDefaultEvents(); - // LISTEN FOR CONNECTION RESPONSES - var callback = function callback(result) { - /*jshint maxcomplexity: 6 */ - var id = null; - // get the id which matches the returned id - if (_.isArray(result)) { - result.forEach(function (load) { - if (_this.responseCallbacks[load.id]) - id = load.id; - }); - } else - { - id = result.id; - } - // notification - if (!id && result.method.indexOf('_subscription') !== -1) { - _this.notificationCallbacks.forEach(function (callback) { - if (_.isFunction(callback)) - callback(result); - }); - // fire the callback - } else - if (_this.responseCallbacks[id]) { - _this.responseCallbacks[id](null, result); - delete _this.responseCallbacks[id]; - } - }; - // use oboe.js for Sockets - if (net.constructor.name === 'Socket') { - oboe(this.connection). - done(callback); - } else - { - this.connection.on('data', function (data) { - _this._parseResponse(data.toString()).forEach(callback); - }); - } -}; -/** - Will add the error and end event to timeout existing calls - - @method addDefaultEvents - */ -IpcProvider.prototype.addDefaultEvents = function () { - var _this = this; - this.connection.on('connect', function () { - _this.connected = true; - }); - this.connection.on('close', function () { - _this.connected = false; - }); - this.connection.on('error', function () { - _this._timeout(); - }); - this.connection.on('end', function () { - _this._timeout(); - }); - this.connection.on('timeout', function () { - _this._timeout(); - }); -}; -/** - Will parse the response and make an array out of it. - - NOTE, this exists for backwards compatibility reasons. - - @method _parseResponse - @param {String} data - */ -IpcProvider.prototype._parseResponse = function (data) { - var _this = this,returnValues = []; - // DE-CHUNKER - var dechunkedData = data. - replace(/\}[\n\r]?\{/g, '}|--|{') // }{ - .replace(/\}\][\n\r]?\[\{/g, '}]|--|[{') // }][{ - .replace(/\}[\n\r]?\[\{/g, '}|--|[{') // }[{ - .replace(/\}\][\n\r]?\{/g, '}]|--|{') // }]{ - .split('|--|'); - dechunkedData.forEach(function (data) { - // prepend the last chunk - if (_this.lastChunk) - data = _this.lastChunk + data; - var result = null; - try { - result = JSON.parse(data); - } - catch (e) { - _this.lastChunk = data; - // start timeout to cancel all requests - clearTimeout(_this.lastChunkTimeout); - _this.lastChunkTimeout = setTimeout(function () { - _this._timeout(); - throw errors.InvalidResponse(data); - }, 1000 * 15); - return; - } - // cancel timeout and set chunk to null - clearTimeout(_this.lastChunkTimeout); - _this.lastChunk = null; - if (result) - returnValues.push(result); - }); - return returnValues; -}; -/** - Get the adds a callback to the responseCallbacks object, - which will be called if a response matching the response Id will arrive. - - @method _addResponseCallback - */ -IpcProvider.prototype._addResponseCallback = function (payload, callback) { - var id = payload.id || payload[0].id; - var method = payload.method || payload[0].method; - this.responseCallbacks[id] = callback; - this.responseCallbacks[id].method = method; -}; -/** - Timeout all requests when the end/error event is fired - - @method _timeout - */ -IpcProvider.prototype._timeout = function () { - for (var key in this.responseCallbacks) { - if (this.responseCallbacks.hasOwnProperty(key)) { - this.responseCallbacks[key](errors.InvalidConnection('on IPC')); - delete this.responseCallbacks[key]; - } - } -}; -/** - Try to reconnect - - @method reconnect - */ -IpcProvider.prototype.reconnect = function () { - this.connection.connect({ path: this.path }); -}; -IpcProvider.prototype.send = function (payload, callback) { - // try reconnect, when connection is gone - if (!this.connection.writable) - this.connection.connect({ path: this.path }); - this.connection.write(JSON.stringify(payload)); - this._addResponseCallback(payload, callback); -}; -/** - Subscribes to provider events.provider - - @method on - @param {String} type 'notification', 'connect', 'error', 'end' or 'data' - @param {Function} callback the callback to call - */ -IpcProvider.prototype.on = function (type, callback) { - if (typeof callback !== 'function') - throw new Error('The second parameter callback must be a function.'); - switch (type) { - case 'data': - this.notificationCallbacks.push(callback); - break; - // adds error, end, timeout, connect - default: - this.connection.on(type, callback); - break;} - -}; -/** - Subscribes to provider events.provider - - @method on - @param {String} type 'connect', 'error', 'end' or 'data' - @param {Function} callback the callback to call - */ -IpcProvider.prototype.once = function (type, callback) { - if (typeof callback !== 'function') - throw new Error('The second parameter callback must be a function.'); - this.connection.once(type, callback); -}; -/** - Removes event listener - - @method removeListener - @param {String} type 'data', 'connect', 'error', 'end' or 'data' - @param {Function} callback the callback to call - */ -IpcProvider.prototype.removeListener = function (type, callback) { - var _this = this; - switch (type) { - case 'data': - this.notificationCallbacks.forEach(function (cb, index) { - if (cb === callback) - _this.notificationCallbacks.splice(index, 1); - }); - break; - default: - this.connection.removeListener(type, callback); - break;} - -}; -/** - Removes all event listeners - - @method removeAllListeners - @param {String} type 'data', 'connect', 'error', 'end' or 'data' - */ -IpcProvider.prototype.removeAllListeners = function (type) { - switch (type) { - case 'data': - this.notificationCallbacks = []; - break; - default: - this.connection.removeAllListeners(type); - break;} - -}; -/** - Resets the providers, clears all callbacks - - @method reset - */ -IpcProvider.prototype.reset = function () { - this._timeout(); - this.notificationCallbacks = []; - this.connection.removeAllListeners('error'); - this.connection.removeAllListeners('end'); - this.connection.removeAllListeners('timeout'); - this.addDefaultEvents(); -}; -/** - * Returns the desired boolean. - * - * @method supportsSubscriptions - * @returns {boolean} - */ -IpcProvider.prototype.supportsSubscriptions = function () { - return true; -}; -module.exports = IpcProvider; - -/***/ }), -/* 1038 */ -/*!************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/oboe/dist/oboe-browser.js ***! - \************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/*! - * v2.1.4-104-gc868b3a - * - */ -(function webpackUniversalModuleDefinition(root, factory) { - if (true) - module.exports = factory();else - {} -})(typeof self !== 'undefined' ? self : this, function () { - return (/******/function (modules) {// webpackBootstrap - /******/ // The module cache - /******/var installedModules = {}; - /******/ - /******/ // The require function - /******/function __webpack_require__(moduleId) { - /******/ - /******/ // Check if module is in cache - /******/if (installedModules[moduleId]) { - /******/return installedModules[moduleId].exports; - /******/} - /******/ // Create a new module (and put it into the cache) - /******/var module = installedModules[moduleId] = { - /******/i: moduleId, - /******/l: false, - /******/exports: {} - /******/ }; - /******/ - /******/ // Execute the module function - /******/modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - /******/ - /******/ // Flag the module as loaded - /******/module.l = true; - /******/ - /******/ // Return the exports of the module - /******/return module.exports; - /******/} - /******/ - /******/ - /******/ // expose the modules object (__webpack_modules__) - /******/__webpack_require__.m = modules; - /******/ - /******/ // expose the module cache - /******/__webpack_require__.c = installedModules; - /******/ - /******/ // define getter function for harmony exports - /******/__webpack_require__.d = function (exports, name, getter) { - /******/if (!__webpack_require__.o(exports, name)) { - /******/Object.defineProperty(exports, name, { - /******/configurable: false, - /******/enumerable: true, - /******/get: getter - /******/ }); - /******/} - /******/}; - /******/ - /******/ // getDefaultExport function for compatibility with non-harmony modules - /******/__webpack_require__.n = function (module) { - /******/var getter = module && module.__esModule ? - /******/function getDefault() {return module['default'];} : - /******/function getModuleExports() {return module;}; - /******/__webpack_require__.d(getter, 'a', getter); - /******/return getter; - /******/}; - /******/ - /******/ // Object.prototype.hasOwnProperty.call - /******/__webpack_require__.o = function (object, property) {return Object.prototype.hasOwnProperty.call(object, property);}; - /******/ - /******/ // __webpack_public_path__ - /******/__webpack_require__.p = ""; - /******/ - /******/ // Load entry module and return exports - /******/return __webpack_require__(__webpack_require__.s = 7); - /******/}( - /************************************************************************/ - /******/[ - /* 0 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "j", function () {return partialComplete;}); - /* unused harmony export compose */ - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "d", function () {return compose2;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "c", function () {return attr;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "h", function () {return lazyUnion;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "b", function () {return apply;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "k", function () {return varArgs;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "e", function () {return flip;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "g", function () {return lazyIntersection;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "i", function () {return noop;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return always;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "f", function () {return functor;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__lists__ = __webpack_require__(1); - - - /** - * Partially complete a function. - * - * var add3 = partialComplete( function add(a,b){return a+b}, 3 ); - * - * add3(4) // gives 7 - * - * function wrap(left, right, cen){return left + " " + cen + " " + right;} - * - * var pirateGreeting = partialComplete( wrap , "I'm", ", a mighty pirate!" ); - * - * pirateGreeting("Guybrush Threepwood"); - * // gives "I'm Guybrush Threepwood, a mighty pirate!" - */ - var partialComplete = varArgs(function (fn, args) { - // this isn't the shortest way to write this but it does - // avoid creating a new array each time to pass to fn.apply, - // otherwise could just call boundArgs.concat(callArgs) - - var numBoundArgs = args.length; - - return varArgs(function (callArgs) { - for (var i = 0; i < callArgs.length; i++) { - args[numBoundArgs + i] = callArgs[i]; - } - - args.length = numBoundArgs + callArgs.length; - - return fn.apply(this, args); - }); - }); - - /** - * Compose zero or more functions: - * - * compose(f1, f2, f3)(x) = f1(f2(f3(x)))) - * - * The last (inner-most) function may take more than one parameter: - * - * compose(f1, f2, f3)(x,y) = f1(f2(f3(x,y)))) - */ - var compose = varArgs(function (fns) { - var fnsList = Object(__WEBPACK_IMPORTED_MODULE_0__lists__["c" /* arrayAsList */])(fns); - - function next(params, curFn) { - return [apply(params, curFn)]; - } - - return varArgs(function (startParams) { - return Object(__WEBPACK_IMPORTED_MODULE_0__lists__["f" /* foldR */])(next, startParams, fnsList)[0]; - }); - }); - - /** - * A more optimised version of compose that takes exactly two functions - * @param f1 - * @param f2 - */ - function compose2(f1, f2) { - return function () { - return f1.call(this, f2.apply(this, arguments)); - }; - } - - /** - * Generic form for a function to get a property from an object - * - * var o = { - * foo:'bar' - * } - * - * var getFoo = attr('foo') - * - * fetFoo(o) // returns 'bar' - * - * @param {String} key the property name - */ - function attr(key) { - return function (o) {return o[key];}; - } - - /** - * Call a list of functions with the same args until one returns a - * truthy result. Similar to the || operator. - * - * So: - * lazyUnion([f1,f2,f3 ... fn])( p1, p2 ... pn ) - * - * Is equivalent to: - * apply([p1, p2 ... pn], f1) || - * apply([p1, p2 ... pn], f2) || - * apply([p1, p2 ... pn], f3) ... apply(fn, [p1, p2 ... pn]) - * - * @returns the first return value that is given that is truthy. - */ - var lazyUnion = varArgs(function (fns) { - return varArgs(function (params) { - var maybeValue; - - for (var i = 0; i < attr('length')(fns); i++) { - maybeValue = apply(params, fns[i]); - - if (maybeValue) { - return maybeValue; - } - } - }); - }); - - /** - * This file declares various pieces of functional programming. - * - * This isn't a general purpose functional library, to keep things small it - * has just the parts useful for Oboe.js. - */ - - /** - * Call a single function with the given arguments array. - * Basically, a functional-style version of the OO-style Function#apply for - * when we don't care about the context ('this') of the call. - * - * The order of arguments allows partial completion of the arguments array - */ - function apply(args, fn) { - return fn.apply(undefined, args); - } - - /** - * Define variable argument functions but cut out all that tedious messing about - * with the arguments object. Delivers the variable-length part of the arguments - * list as an array. - * - * Eg: - * - * var myFunction = varArgs( - * function( fixedArgument, otherFixedArgument, variableNumberOfArguments ){ - * console.log( variableNumberOfArguments ); - * } - * ) - * - * myFunction('a', 'b', 1, 2, 3); // logs [1,2,3] - * - * var myOtherFunction = varArgs(function( variableNumberOfArguments ){ - * console.log( variableNumberOfArguments ); - * }) - * - * myFunction(1, 2, 3); // logs [1,2,3] - * - */ - function varArgs(fn) { - var numberOfFixedArguments = fn.length - 1; - var slice = Array.prototype.slice; - - if (numberOfFixedArguments === 0) { - // an optimised case for when there are no fixed args: - - return function () { - return fn.call(this, slice.call(arguments)); - }; - } else if (numberOfFixedArguments === 1) { - // an optimised case for when there are is one fixed args: - - return function () { - return fn.call(this, arguments[0], slice.call(arguments, 1)); - }; - } - - // general case - - // we know how many arguments fn will always take. Create a - // fixed-size array to hold that many, to be re-used on - // every call to the returned function - var argsHolder = Array(fn.length); - - return function () { - for (var i = 0; i < numberOfFixedArguments; i++) { - argsHolder[i] = arguments[i]; - } - - argsHolder[numberOfFixedArguments] = - slice.call(arguments, numberOfFixedArguments); - - return fn.apply(this, argsHolder); - }; - } - - /** - * Swap the order of parameters to a binary function - * - * A bit like this flip: http://zvon.org/other/haskell/Outputprelude/flip_f.html - */ - function flip(fn) { - return function (a, b) { - return fn(b, a); - }; - } - - /** - * Create a function which is the intersection of two other functions. - * - * Like the && operator, if the first is truthy, the second is never called, - * otherwise the return value from the second is returned. - */ - function lazyIntersection(fn1, fn2) { - return function (param) { - return fn1(param) && fn2(param); - }; - } - - /** - * A function which does nothing - */ - function noop() {} - - /** - * A function which is always happy - */ - function always() {return true;} - - /** - * Create a function which always returns the same - * value - * - * var return3 = functor(3); - * - * return3() // gives 3 - * return3() // still gives 3 - * return3() // will always give 3 - */ - function functor(val) { - return function () { - return val; - }; - } - - - - - /***/}, - /* 1 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "d", function () {return cons;}); - /* unused harmony export emptyList */ - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "g", function () {return head;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "l", function () {return tail;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "c", function () {return arrayAsList;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "h", function () {return list;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "i", function () {return listAsArray;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "j", function () {return map;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "f", function () {return foldR;}); - /* unused harmony export foldR1 */ - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "m", function () {return without;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return all;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "b", function () {return applyEach;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "k", function () {return reverseList;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "e", function () {return first;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__functional__ = __webpack_require__(0); - - - /** - * Like cons in Lisp - */ - function cons(x, xs) { - /* Internally lists are linked 2-element Javascript arrays. - Ideally the return here would be Object.freeze([x,xs]) - so that bugs related to mutation are found fast. - However, cons is right on the critical path for - performance and this slows oboe-mark down by - ~25%. Under theoretical future JS engines that freeze more - efficiently (possibly even use immutability to - run faster) this should be considered for - restoration. - */ - - - return [x, xs]; - } - - /** - * The empty list - */ - var emptyList = null; - - /** - * Get the head of a list. - * - * Ie, head(cons(a,b)) = a - */ - var head = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["c" /* attr */])(0); - - /** - * Get the tail of a list. - * - * Ie, tail(cons(a,b)) = b - */ - var tail = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["c" /* attr */])(1); - - /** - * Converts an array to a list - * - * asList([a,b,c]) - * - * is equivalent to: - * - * cons(a, cons(b, cons(c, emptyList))) - **/ - function arrayAsList(inputArray) { - return reverseList( - inputArray.reduce( - Object(__WEBPACK_IMPORTED_MODULE_0__functional__["e" /* flip */])(cons), - emptyList)); - - - } - - /** - * A varargs version of arrayAsList. Works a bit like list - * in LISP. - * - * list(a,b,c) - * - * is equivalent to: - * - * cons(a, cons(b, cons(c, emptyList))) - */ - var list = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["k" /* varArgs */])(arrayAsList); - - /** - * Convert a list back to a js native array - */ - function listAsArray(list) { - return foldR(function (arraySoFar, listItem) { - arraySoFar.unshift(listItem); - return arraySoFar; - }, [], list); - } - - /** - * Map a function over a list - */ - function map(fn, list) { - return list ? - cons(fn(head(list)), map(fn, tail(list))) : - emptyList; - } - - /** - * foldR implementation. Reduce a list down to a single value. - * - * @pram {Function} fn (rightEval, curVal) -> result - */ - function foldR(fn, startValue, list) { - return list ? - fn(foldR(fn, startValue, tail(list)), head(list)) : - startValue; - } - - /** - * foldR implementation. Reduce a list down to a single value. - * - * @pram {Function} fn (rightEval, curVal) -> result - */ - function foldR1(fn, list) { - return tail(list) ? - fn(foldR1(fn, tail(list)), head(list)) : - head(list); - } - - /** - * Return a list like the one given but with the first instance equal - * to item removed - */ - function without(list, test, removedFn) { - return withoutInner(list, removedFn || __WEBPACK_IMPORTED_MODULE_0__functional__["i" /* noop */]); - - function withoutInner(subList, removedFn) { - return subList ? - test(head(subList)) ? ( - removedFn(head(subList)), tail(subList)) : - cons(head(subList), withoutInner(tail(subList), removedFn)) : - - emptyList; - } - } - - /** - * Returns true if the given function holds for every item in - * the list, false otherwise - */ - function all(fn, list) { - return !list || - fn(head(list)) && all(fn, tail(list)); - } - - /** - * Call every function in a list of functions with the same arguments - * - * This doesn't make any sense if we're doing pure functional because - * it doesn't return anything. Hence, this is only really useful if the - * functions being called have side-effects. - */ - function applyEach(fnList, args) { - if (fnList) { - head(fnList).apply(null, args); - - applyEach(tail(fnList), args); - } - } - - /** - * Reverse the order of a list - */ - function reverseList(list) { - // js re-implementation of 3rd solution from: - // http://www.haskell.org/haskellwiki/99_questions/Solutions/5 - function reverseInner(list, reversedAlready) { - if (!list) { - return reversedAlready; - } - - return reverseInner(tail(list), cons(head(list), reversedAlready)); - } - - return reverseInner(list, emptyList); - } - - function first(test, list) { - return list && ( - test(head(list)) ? - head(list) : - first(test, tail(list))); - } - - - - - /***/}, - /* 2 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "c", function () {return isOfType;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "e", function () {return len;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "d", function () {return isString;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return defined;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "b", function () {return hasAllProperties;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__lists__ = __webpack_require__(1); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__functional__ = __webpack_require__(0); - - - - /** - * This file defines some loosely associated syntactic sugar for - * Javascript programming - */ - - /** - * Returns true if the given candidate is of type T - */ - function isOfType(T, maybeSomething) { - return maybeSomething && maybeSomething.constructor === T; - } - - var len = Object(__WEBPACK_IMPORTED_MODULE_1__functional__["c" /* attr */])('length'); - var isString = Object(__WEBPACK_IMPORTED_MODULE_1__functional__["j" /* partialComplete */])(isOfType, String); - - /** - * I don't like saying this: - * - * foo !=== undefined - * - * because of the double-negative. I find this: - * - * defined(foo) - * - * easier to read. - */ - function defined(value) { - return value !== undefined; - } - - /** - * Returns true if object o has a key named like every property in - * the properties array. Will give false if any are missing, or if o - * is not an object. - */ - function hasAllProperties(fieldList, o) { - return o instanceof Object && - Object(__WEBPACK_IMPORTED_MODULE_0__lists__["a" /* all */])(function (field) { - return field in o; - }, fieldList); - } - - - - - /***/}, - /* 3 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "f", function () {return NODE_OPENED;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "d", function () {return NODE_CLOSED;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "g", function () {return NODE_SWAP;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "e", function () {return NODE_DROP;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "b", function () {return FAIL_EVENT;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "h", function () {return ROOT_NODE_FOUND;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "i", function () {return ROOT_PATH_FOUND;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "c", function () {return HTTP_START;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "m", function () {return STREAM_DATA;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "n", function () {return STREAM_END;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return ABORTING;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "j", function () {return SAX_KEY;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "l", function () {return SAX_VALUE_OPEN;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "k", function () {return SAX_VALUE_CLOSE;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "o", function () {return errorReport;}); - /** - * This file declares some constants to use as names for event types. - */ - - // the events which are never exported are kept as - // the smallest possible representation, in numbers: - var _S = 1; - - // fired whenever a new node starts in the JSON stream: - var NODE_OPENED = _S++; - - // fired whenever a node closes in the JSON stream: - var NODE_CLOSED = _S++; - - // called if a .node callback returns a value - - var NODE_SWAP = _S++; - var NODE_DROP = _S++; - - var FAIL_EVENT = 'fail'; - - var ROOT_NODE_FOUND = _S++; - var ROOT_PATH_FOUND = _S++; - - var HTTP_START = 'start'; - var STREAM_DATA = 'data'; - var STREAM_END = 'end'; - var ABORTING = _S++; - - // SAX events butchered from Clarinet - var SAX_KEY = _S++; - var SAX_VALUE_OPEN = _S++; - var SAX_VALUE_CLOSE = _S++; - - function errorReport(statusCode, body, error) { - try { - var jsonBody = JSON.parse(body); - } catch (e) {} - - return { - statusCode: statusCode, - body: body, - jsonBody: jsonBody, - thrown: error }; - - } - - - - - /***/}, - /* 4 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "b", function () {return namedNode;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return keyOf;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "c", function () {return nodeOf;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__functional__ = __webpack_require__(0); - - - /** - * Get a new key->node mapping - * - * @param {String|Number} key - * @param {Object|Array|String|Number|null} node a value found in the json - */ - function namedNode(key, node) { - return { key: key, node: node }; - } - - /** get the key of a namedNode */ - var keyOf = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["c" /* attr */])('key'); - - /** get the node from a namedNode */ - var nodeOf = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["c" /* attr */])('node'); - - - - - /***/}, - /* 5 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return oboe;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__lists__ = __webpack_require__(1); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__functional__ = __webpack_require__(0); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(2); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_3__defaults__ = __webpack_require__(8); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_4__wire__ = __webpack_require__(9); - - - - - - - // export public API - function oboe(arg1) { - // We use duck-typing to detect if the parameter given is a stream, with the - // below list of parameters. - // Unpipe and unshift would normally be present on a stream but this breaks - // compatibility with Request streams. - // See https://github.com/jimhigson/oboe.js/issues/65 - - var nodeStreamMethodNames = Object(__WEBPACK_IMPORTED_MODULE_0__lists__["h" /* list */])('resume', 'pause', 'pipe'); - var isStream = Object(__WEBPACK_IMPORTED_MODULE_1__functional__["j" /* partialComplete */])( - __WEBPACK_IMPORTED_MODULE_2__util__["b" /* hasAllProperties */], - nodeStreamMethodNames); - - - if (arg1) { - if (isStream(arg1) || Object(__WEBPACK_IMPORTED_MODULE_2__util__["d" /* isString */])(arg1)) { - // simple version for GETs. Signature is: - // oboe( url ) - // or, under node: - // oboe( readableStream ) - return Object(__WEBPACK_IMPORTED_MODULE_3__defaults__["a" /* applyDefaults */])( - __WEBPACK_IMPORTED_MODULE_4__wire__["a" /* wire */], - arg1 // url - ); - } else { - // method signature is: - // oboe({method:m, url:u, body:b, headers:{...}}) - - return Object(__WEBPACK_IMPORTED_MODULE_3__defaults__["a" /* applyDefaults */])( - __WEBPACK_IMPORTED_MODULE_4__wire__["a" /* wire */], - arg1.url, - arg1.method, - arg1.body, - arg1.headers, - arg1.withCredentials, - arg1.cached); - - } - } else { - // wire up a no-AJAX, no-stream Oboe. Will have to have content - // fed in externally and using .emit. - return Object(__WEBPACK_IMPORTED_MODULE_4__wire__["a" /* wire */])(); - } - } - - /* oboe.drop is a special value. If a node callback returns this value the - parsed node is deleted from the JSON - */ - oboe.drop = function () { - return oboe.drop; - }; - - - - - /***/}, - /* 6 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "b", function () {return incrementalContentBuilder;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return ROOT_PATH;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__events__ = __webpack_require__(3); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__ascent__ = __webpack_require__(4); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(2); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_3__lists__ = __webpack_require__(1); - - - - - - /** - * This file provides various listeners which can be used to build up - * a changing ascent based on the callbacks provided by Clarinet. It listens - * to the low-level events from Clarinet and emits higher-level ones. - * - * The building up is stateless so to track a JSON file - * ascentManager.js is required to store the ascent state - * between calls. - */ - - /** - * A special value to use in the path list to represent the path 'to' a root - * object (which doesn't really have any path). This prevents the need for - * special-casing detection of the root object and allows it to be treated - * like any other object. We might think of this as being similar to the - * 'unnamed root' domain ".", eg if I go to - * http://en.wikipedia.org./wiki/En/Main_page the dot after 'org' deliminates - * the unnamed root of the DNS. - * - * This is kept as an object to take advantage that in Javascript's OO objects - * are guaranteed to be distinct, therefore no other object can possibly clash - * with this one. Strings, numbers etc provide no such guarantee. - **/ - var ROOT_PATH = {}; - - /** - * Create a new set of handlers for clarinet's events, bound to the emit - * function given. - */ - function incrementalContentBuilder(oboeBus) { - var emitNodeOpened = oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["f" /* NODE_OPENED */]).emit; - var emitNodeClosed = oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["d" /* NODE_CLOSED */]).emit; - var emitRootOpened = oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["i" /* ROOT_PATH_FOUND */]).emit; - var emitRootClosed = oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["h" /* ROOT_NODE_FOUND */]).emit; - - function arrayIndicesAreKeys(possiblyInconsistentAscent, newDeepestNode) { - /* for values in arrays we aren't pre-warned of the coming paths - (Clarinet gives no call to onkey like it does for values in objects) - so if we are in an array we need to create this path ourselves. The - key will be len(parentNode) because array keys are always sequential - numbers. */ - - var parentNode = Object(__WEBPACK_IMPORTED_MODULE_1__ascent__["c" /* nodeOf */])(Object(__WEBPACK_IMPORTED_MODULE_3__lists__["g" /* head */])(possiblyInconsistentAscent)); - - return Object(__WEBPACK_IMPORTED_MODULE_2__util__["c" /* isOfType */])(Array, parentNode) ? - keyFound(possiblyInconsistentAscent, - Object(__WEBPACK_IMPORTED_MODULE_2__util__["e" /* len */])(parentNode), - newDeepestNode) - - // nothing needed, return unchanged - : possiblyInconsistentAscent; - } - - function nodeOpened(ascent, newDeepestNode) { - if (!ascent) { - // we discovered the root node, - emitRootOpened(newDeepestNode); - - return keyFound(ascent, ROOT_PATH, newDeepestNode); - } - - // we discovered a non-root node - - var arrayConsistentAscent = arrayIndicesAreKeys(ascent, newDeepestNode); - var ancestorBranches = Object(__WEBPACK_IMPORTED_MODULE_3__lists__["l" /* tail */])(arrayConsistentAscent); - var previouslyUnmappedName = Object(__WEBPACK_IMPORTED_MODULE_1__ascent__["a" /* keyOf */])(Object(__WEBPACK_IMPORTED_MODULE_3__lists__["g" /* head */])(arrayConsistentAscent)); - - appendBuiltContent( - ancestorBranches, - previouslyUnmappedName, - newDeepestNode); - - - return Object(__WEBPACK_IMPORTED_MODULE_3__lists__["d" /* cons */])( - Object(__WEBPACK_IMPORTED_MODULE_1__ascent__["b" /* namedNode */])(previouslyUnmappedName, newDeepestNode), - ancestorBranches); - - } - - /** - * Add a new value to the object we are building up to represent the - * parsed JSON - */ - function appendBuiltContent(ancestorBranches, key, node) { - Object(__WEBPACK_IMPORTED_MODULE_1__ascent__["c" /* nodeOf */])(Object(__WEBPACK_IMPORTED_MODULE_3__lists__["g" /* head */])(ancestorBranches))[key] = node; - } - - /** - * For when we find a new key in the json. - * - * @param {String|Number|Object} newDeepestName the key. If we are in an - * array will be a number, otherwise a string. May take the special - * value ROOT_PATH if the root node has just been found - * - * @param {String|Number|Object|Array|Null|undefined} [maybeNewDeepestNode] - * usually this won't be known so can be undefined. Can't use null - * to represent unknown because null is a valid value in JSON - **/ - function keyFound(ascent, newDeepestName, maybeNewDeepestNode) { - if (ascent) {// if not root - // If we have the key but (unless adding to an array) no known value - // yet. Put that key in the output but against no defined value: - appendBuiltContent(ascent, newDeepestName, maybeNewDeepestNode); - } - - var ascentWithNewPath = Object(__WEBPACK_IMPORTED_MODULE_3__lists__["d" /* cons */])( - Object(__WEBPACK_IMPORTED_MODULE_1__ascent__["b" /* namedNode */])(newDeepestName, - maybeNewDeepestNode), - ascent); - - - emitNodeOpened(ascentWithNewPath); - - return ascentWithNewPath; - } - - /** - * For when the current node ends. - */ - function nodeClosed(ascent) { - emitNodeClosed(ascent); - - return Object(__WEBPACK_IMPORTED_MODULE_3__lists__["l" /* tail */])(ascent) || - // If there are no nodes left in the ascent the root node - // just closed. Emit a special event for this: - emitRootClosed(Object(__WEBPACK_IMPORTED_MODULE_1__ascent__["c" /* nodeOf */])(Object(__WEBPACK_IMPORTED_MODULE_3__lists__["g" /* head */])(ascent))); - } - - var contentBuilderHandlers = {}; - contentBuilderHandlers[__WEBPACK_IMPORTED_MODULE_0__events__["l" /* SAX_VALUE_OPEN */]] = nodeOpened; - contentBuilderHandlers[__WEBPACK_IMPORTED_MODULE_0__events__["k" /* SAX_VALUE_CLOSE */]] = nodeClosed; - contentBuilderHandlers[__WEBPACK_IMPORTED_MODULE_0__events__["j" /* SAX_KEY */]] = keyFound; - return contentBuilderHandlers; - } - - - - - /***/}, - /* 7 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__publicApi__ = __webpack_require__(5); - - - /* harmony default export */__webpack_exports__["default"] = __WEBPACK_IMPORTED_MODULE_0__publicApi__["a" /* oboe */]; - - - /***/}, - /* 8 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return applyDefaults;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__util__ = __webpack_require__(2); - - - function applyDefaults(passthrough, url, httpMethodName, body, headers, withCredentials, cached) { - headers = headers - // Shallow-clone the headers array. This allows it to be - // modified without side effects to the caller. We don't - // want to change objects that the user passes in. - ? JSON.parse(JSON.stringify(headers)) : - {}; - - if (body) { - if (!Object(__WEBPACK_IMPORTED_MODULE_0__util__["d" /* isString */])(body)) { - // If the body is not a string, stringify it. This allows objects to - // be given which will be sent as JSON. - body = JSON.stringify(body); - - // Default Content-Type to JSON unless given otherwise. - headers['Content-Type'] = headers['Content-Type'] || 'application/json'; - } - headers['Content-Length'] = headers['Content-Length'] || body.length; - } else { - body = null; - } - - // support cache busting like jQuery.ajax({cache:false}) - function modifiedUrl(baseUrl, cached) { - if (cached === false) { - if (baseUrl.indexOf('?') === -1) { - baseUrl += '?'; - } else { - baseUrl += '&'; - } - - baseUrl += '_=' + new Date().getTime(); - } - return baseUrl; - } - - return passthrough(httpMethodName || 'GET', modifiedUrl(url, cached), body, headers, withCredentials || false); - } - - - - - /***/}, - /* 9 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return wire;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__pubSub__ = __webpack_require__(10); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__ascentManager__ = __webpack_require__(12); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_2__incrementalContentBuilder__ = __webpack_require__(6); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_3__patternAdapter__ = __webpack_require__(13); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_4__jsonPath__ = __webpack_require__(14); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_5__instanceApi__ = __webpack_require__(16); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_6__libs_clarinet__ = __webpack_require__(17); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_7__streamingHttp_node__ = __webpack_require__(18); - - - - - - - - - - - /** - * This file sits just behind the API which is used to attain a new - * Oboe instance. It creates the new components that are required - * and introduces them to each other. - */ - - function wire(httpMethodName, contentSource, body, headers, withCredentials) { - var oboeBus = Object(__WEBPACK_IMPORTED_MODULE_0__pubSub__["a" /* pubSub */])(); - - // Wire the input stream in if we are given a content source. - // This will usually be the case. If not, the instance created - // will have to be passed content from an external source. - - if (contentSource) { - Object(__WEBPACK_IMPORTED_MODULE_7__streamingHttp_node__["b" /* streamingHttp */])(oboeBus, - Object(__WEBPACK_IMPORTED_MODULE_7__streamingHttp_node__["a" /* httpTransport */])(), - httpMethodName, - contentSource, - body, - headers, - withCredentials); - - } - - Object(__WEBPACK_IMPORTED_MODULE_6__libs_clarinet__["a" /* clarinet */])(oboeBus); - - Object(__WEBPACK_IMPORTED_MODULE_1__ascentManager__["a" /* ascentManager */])(oboeBus, Object(__WEBPACK_IMPORTED_MODULE_2__incrementalContentBuilder__["b" /* incrementalContentBuilder */])(oboeBus)); - - Object(__WEBPACK_IMPORTED_MODULE_3__patternAdapter__["a" /* patternAdapter */])(oboeBus, __WEBPACK_IMPORTED_MODULE_4__jsonPath__["a" /* jsonPathCompiler */]); - - return Object(__WEBPACK_IMPORTED_MODULE_5__instanceApi__["a" /* instanceApi */])(oboeBus, contentSource); - } - - - - - /***/}, - /* 10 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return pubSub;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__singleEventPubSub__ = __webpack_require__(11); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__functional__ = __webpack_require__(0); - - - - /** - * pubSub is a curried interface for listening to and emitting - * events. - * - * If we get a bus: - * - * var bus = pubSub(); - * - * We can listen to event 'foo' like: - * - * bus('foo').on(myCallback) - * - * And emit event foo like: - * - * bus('foo').emit() - * - * or, with a parameter: - * - * bus('foo').emit('bar') - * - * All functions can be cached and don't need to be - * bound. Ie: - * - * var fooEmitter = bus('foo').emit - * fooEmitter('bar'); // emit an event - * fooEmitter('baz'); // emit another - * - * There's also an uncurried[1] shortcut for .emit and .on: - * - * bus.on('foo', callback) - * bus.emit('foo', 'bar') - * - * [1]: http://zvon.org/other/haskell/Outputprelude/uncurry_f.html - */ - function pubSub() { - var singles = {}; - var newListener = newSingle('newListener'); - var removeListener = newSingle('removeListener'); - - function newSingle(eventName) { - singles[eventName] = Object(__WEBPACK_IMPORTED_MODULE_0__singleEventPubSub__["a" /* singleEventPubSub */])( - eventName, - newListener, - removeListener); - - return singles[eventName]; - } - - /** pubSub instances are functions */ - function pubSubInstance(eventName) { - return singles[eventName] || newSingle(eventName); - } - - // add convenience EventEmitter-style uncurried form of 'emit' and 'on' - ['emit', 'on', 'un'].forEach(function (methodName) { - pubSubInstance[methodName] = Object(__WEBPACK_IMPORTED_MODULE_1__functional__["k" /* varArgs */])(function (eventName, parameters) { - Object(__WEBPACK_IMPORTED_MODULE_1__functional__["b" /* apply */])(parameters, pubSubInstance(eventName)[methodName]); - }); - }); - - return pubSubInstance; - } - - - - - /***/}, - /* 11 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return singleEventPubSub;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__lists__ = __webpack_require__(1); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__util__ = __webpack_require__(2); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_2__functional__ = __webpack_require__(0); - - - - - /** - * A pub/sub which is responsible for a single event type. A - * multi-event type event bus is created by pubSub by collecting - * several of these. - * - * @param {String} eventType - * the name of the events managed by this singleEventPubSub - * @param {singleEventPubSub} [newListener] - * place to notify of new listeners - * @param {singleEventPubSub} [removeListener] - * place to notify of when listeners are removed - */ - function singleEventPubSub(eventType, newListener, removeListener) { - /** we are optimised for emitting events over firing them. - * As well as the tuple list which stores event ids and - * listeners there is a list with just the listeners which - * can be iterated more quickly when we are emitting - */ - var listenerTupleList, - listenerList; - - function hasId(id) { - return function (tuple) { - return tuple.id === id; - }; - } - - return { - - /** - * @param {Function} listener - * @param {*} listenerId - * an id that this listener can later by removed by. - * Can be of any type, to be compared to other ids using == - */ - on: function on(listener, listenerId) { - var tuple = { - listener: listener, - id: listenerId || listener // when no id is given use the - // listener function as the id - }; - - if (newListener) { - newListener.emit(eventType, listener, tuple.id); - } - - listenerTupleList = Object(__WEBPACK_IMPORTED_MODULE_0__lists__["d" /* cons */])(tuple, listenerTupleList); - listenerList = Object(__WEBPACK_IMPORTED_MODULE_0__lists__["d" /* cons */])(listener, listenerList); - - return this; // chaining - }, - - emit: function emit() { - Object(__WEBPACK_IMPORTED_MODULE_0__lists__["b" /* applyEach */])(listenerList, arguments); - }, - - un: function un(listenerId) { - var removed; - - listenerTupleList = Object(__WEBPACK_IMPORTED_MODULE_0__lists__["m" /* without */])( - listenerTupleList, - hasId(listenerId), - function (tuple) { - removed = tuple; - }); - - - if (removed) { - listenerList = Object(__WEBPACK_IMPORTED_MODULE_0__lists__["m" /* without */])(listenerList, function (listener) { - return listener === removed.listener; - }); - - if (removeListener) { - removeListener.emit(eventType, removed.listener, removed.id); - } - } - }, - - listeners: function listeners() { - // differs from Node EventEmitter: returns list, not array - return listenerList; - }, - - hasListener: function hasListener(listenerId) { - var test = listenerId ? hasId(listenerId) : __WEBPACK_IMPORTED_MODULE_2__functional__["a" /* always */]; - - return Object(__WEBPACK_IMPORTED_MODULE_1__util__["a" /* defined */])(Object(__WEBPACK_IMPORTED_MODULE_0__lists__["e" /* first */])(test, listenerTupleList)); - } }; - - } - - - - - /***/}, - /* 12 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return ascentManager;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__ascent__ = __webpack_require__(4); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__events__ = __webpack_require__(3); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_2__lists__ = __webpack_require__(1); - - - - /** - * A bridge used to assign stateless functions to listen to clarinet. - * - * As well as the parameter from clarinet, each callback will also be passed - * the result of the last callback. - * - * This may also be used to clear all listeners by assigning zero handlers: - * - * ascentManager( clarinet, {} ) - */ - function ascentManager(oboeBus, handlers) { - 'use strict'; - - var listenerId = {}; - var ascent; - - function stateAfter(handler) { - return function (param) { - ascent = handler(ascent, param); - }; - } - - for (var eventName in handlers) { - oboeBus(eventName).on(stateAfter(handlers[eventName]), listenerId); - } - - oboeBus(__WEBPACK_IMPORTED_MODULE_1__events__["g" /* NODE_SWAP */]).on(function (newNode) { - var oldHead = Object(__WEBPACK_IMPORTED_MODULE_2__lists__["g" /* head */])(ascent); - var key = Object(__WEBPACK_IMPORTED_MODULE_0__ascent__["a" /* keyOf */])(oldHead); - var ancestors = Object(__WEBPACK_IMPORTED_MODULE_2__lists__["l" /* tail */])(ascent); - var parentNode; - - if (ancestors) { - parentNode = Object(__WEBPACK_IMPORTED_MODULE_0__ascent__["c" /* nodeOf */])(Object(__WEBPACK_IMPORTED_MODULE_2__lists__["g" /* head */])(ancestors)); - parentNode[key] = newNode; - } - }); - - oboeBus(__WEBPACK_IMPORTED_MODULE_1__events__["e" /* NODE_DROP */]).on(function () { - var oldHead = Object(__WEBPACK_IMPORTED_MODULE_2__lists__["g" /* head */])(ascent); - var key = Object(__WEBPACK_IMPORTED_MODULE_0__ascent__["a" /* keyOf */])(oldHead); - var ancestors = Object(__WEBPACK_IMPORTED_MODULE_2__lists__["l" /* tail */])(ascent); - var parentNode; - - if (ancestors) { - parentNode = Object(__WEBPACK_IMPORTED_MODULE_0__ascent__["c" /* nodeOf */])(Object(__WEBPACK_IMPORTED_MODULE_2__lists__["g" /* head */])(ancestors)); - - delete parentNode[key]; - } - }); - - oboeBus(__WEBPACK_IMPORTED_MODULE_1__events__["a" /* ABORTING */]).on(function () { - for (var eventName in handlers) { - oboeBus(eventName).un(listenerId); - } - }); - } - - - - - /***/}, - /* 13 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return patternAdapter;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__events__ = __webpack_require__(3); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__lists__ = __webpack_require__(1); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_2__ascent__ = __webpack_require__(4); - - - - - /** - * The pattern adaptor listens for newListener and removeListener - * events. When patterns are added or removed it compiles the JSONPath - * and wires them up. - * - * When nodes and paths are found it emits the fully-qualified match - * events with parameters ready to ship to the outside world - */ - - function patternAdapter(oboeBus, jsonPathCompiler) { - var predicateEventMap = { - node: oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["d" /* NODE_CLOSED */]), - path: oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["f" /* NODE_OPENED */]) }; - - - function emitMatchingNode(emitMatch, node, ascent) { - /* - We're now calling to the outside world where Lisp-style - lists will not be familiar. Convert to standard arrays. - Also, reverse the order because it is more common to - list paths "root to leaf" than "leaf to root" */ - - var descent = Object(__WEBPACK_IMPORTED_MODULE_1__lists__["k" /* reverseList */])(ascent); - - emitMatch( - node, - - // To make a path, strip off the last item which is the special - // ROOT_PATH token for the 'path' to the root node - Object(__WEBPACK_IMPORTED_MODULE_1__lists__["i" /* listAsArray */])(Object(__WEBPACK_IMPORTED_MODULE_1__lists__["l" /* tail */])(Object(__WEBPACK_IMPORTED_MODULE_1__lists__["j" /* map */])(__WEBPACK_IMPORTED_MODULE_2__ascent__["a" /* keyOf */], descent))), // path - Object(__WEBPACK_IMPORTED_MODULE_1__lists__["i" /* listAsArray */])(Object(__WEBPACK_IMPORTED_MODULE_1__lists__["j" /* map */])(__WEBPACK_IMPORTED_MODULE_2__ascent__["c" /* nodeOf */], descent)) // ancestors - ); - } - - /* - * Set up the catching of events such as NODE_CLOSED and NODE_OPENED and, if - * matching the specified pattern, propagate to pattern-match events such as - * oboeBus('node:!') - * - * - * - * @param {Function} predicateEvent - * either oboeBus(NODE_CLOSED) or oboeBus(NODE_OPENED). - * @param {Function} compiledJsonPath - */ - function addUnderlyingListener(fullEventName, predicateEvent, compiledJsonPath) { - var emitMatch = oboeBus(fullEventName).emit; - - predicateEvent.on(function (ascent) { - var maybeMatchingMapping = compiledJsonPath(ascent); - - /* Possible values for maybeMatchingMapping are now: - false: - we did not match - an object/array/string/number/null: - we matched and have the node that matched. - Because nulls are valid json values this can be null. - undefined: - we matched but don't have the matching node yet. - ie, we know there is an upcoming node that matches but we - can't say anything else about it. - */ - - - - if (maybeMatchingMapping !== false) { - emitMatchingNode( - emitMatch, - Object(__WEBPACK_IMPORTED_MODULE_2__ascent__["c" /* nodeOf */])(maybeMatchingMapping), - ascent); - - } - }, fullEventName); - - oboeBus('removeListener').on(function (removedEventName) { - // if the fully qualified match event listener is later removed, clean up - // by removing the underlying listener if it was the last using that pattern: - - if (removedEventName === fullEventName) { - if (!oboeBus(removedEventName).listeners()) { - predicateEvent.un(fullEventName); - } - } - }); - } - - oboeBus('newListener').on(function (fullEventName) { - var match = /(node|path):(.*)/.exec(fullEventName); - - if (match) { - var predicateEvent = predicateEventMap[match[1]]; - - if (!predicateEvent.hasListener(fullEventName)) { - addUnderlyingListener( - fullEventName, - predicateEvent, - jsonPathCompiler(match[2])); - - } - } - }); - } - - - - - /***/}, - /* 14 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return jsonPathCompiler;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__functional__ = __webpack_require__(0); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__lists__ = __webpack_require__(1); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_2__ascent__ = __webpack_require__(4); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_3__util__ = __webpack_require__(2); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_4__incrementalContentBuilder__ = __webpack_require__(6); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_5__jsonPathSyntax__ = __webpack_require__(15); - - - - - - - - /** - * The jsonPath evaluator compiler used for Oboe.js. - * - * One function is exposed. This function takes a String JSONPath spec and - * returns a function to test candidate ascents for matches. - * - * String jsonPath -> (List ascent) -> Boolean|Object - * - * This file is coded in a pure functional style. That is, no function has - * side effects, every function evaluates to the same value for the same - * arguments and no variables are reassigned. - */ - // the call to jsonPathSyntax injects the token syntaxes that are needed - // inside the compiler - var jsonPathCompiler = Object(__WEBPACK_IMPORTED_MODULE_5__jsonPathSyntax__["a" /* jsonPathSyntax */])(function (pathNodeSyntax, - doubleDotSyntax, - dotSyntax, - bangSyntax, - emptySyntax) { - var CAPTURING_INDEX = 1; - var NAME_INDEX = 2; - var FIELD_LIST_INDEX = 3; - - var headKey = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["d" /* compose2 */])(__WEBPACK_IMPORTED_MODULE_2__ascent__["a" /* keyOf */], __WEBPACK_IMPORTED_MODULE_1__lists__["g" /* head */]); - var headNode = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["d" /* compose2 */])(__WEBPACK_IMPORTED_MODULE_2__ascent__["c" /* nodeOf */], __WEBPACK_IMPORTED_MODULE_1__lists__["g" /* head */]); - - /** - * Create an evaluator function for a named path node, expressed in the - * JSONPath like: - * foo - * ["bar"] - * [2] - */ - function nameClause(previousExpr, detection) { - var name = detection[NAME_INDEX]; - - var matchesName = !name || name === '*' ? - __WEBPACK_IMPORTED_MODULE_0__functional__["a" /* always */] : - function (ascent) {return String(headKey(ascent)) === name;}; - - return Object(__WEBPACK_IMPORTED_MODULE_0__functional__["g" /* lazyIntersection */])(matchesName, previousExpr); - } - - /** - * Create an evaluator function for a a duck-typed node, expressed like: - * - * {spin, taste, colour} - * .particle{spin, taste, colour} - * *{spin, taste, colour} - */ - function duckTypeClause(previousExpr, detection) { - var fieldListStr = detection[FIELD_LIST_INDEX]; - - if (!fieldListStr) {return previousExpr;} // don't wrap at all, return given expr as-is - - var hasAllrequiredFields = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["j" /* partialComplete */])( - __WEBPACK_IMPORTED_MODULE_3__util__["b" /* hasAllProperties */], - Object(__WEBPACK_IMPORTED_MODULE_1__lists__["c" /* arrayAsList */])(fieldListStr.split(/\W+/))); - - - var isMatch = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["d" /* compose2 */])( - hasAllrequiredFields, - headNode); - - - return Object(__WEBPACK_IMPORTED_MODULE_0__functional__["g" /* lazyIntersection */])(isMatch, previousExpr); - } - - /** - * Expression for $, returns the evaluator function - */ - function capture(previousExpr, detection) { - // extract meaning from the detection - var capturing = !!detection[CAPTURING_INDEX]; - - if (!capturing) {return previousExpr;} // don't wrap at all, return given expr as-is - - return Object(__WEBPACK_IMPORTED_MODULE_0__functional__["g" /* lazyIntersection */])(previousExpr, __WEBPACK_IMPORTED_MODULE_1__lists__["g" /* head */]); - } - - /** - * Create an evaluator function that moves onto the next item on the - * lists. This function is the place where the logic to move up a - * level in the ascent exists. - * - * Eg, for JSONPath ".foo" we need skip1(nameClause(always, [,'foo'])) - */ - function skip1(previousExpr) { - if (previousExpr === __WEBPACK_IMPORTED_MODULE_0__functional__["a" /* always */]) { - /* If there is no previous expression this consume command - is at the start of the jsonPath. - Since JSONPath specifies what we'd like to find but not - necessarily everything leading down to it, when running - out of JSONPath to check against we default to true */ - return __WEBPACK_IMPORTED_MODULE_0__functional__["a" /* always */]; - } - - /** return true if the ascent we have contains only the JSON root, - * false otherwise - */ - function notAtRoot(ascent) { - return headKey(ascent) !== __WEBPACK_IMPORTED_MODULE_4__incrementalContentBuilder__["a" /* ROOT_PATH */]; - } - - return Object(__WEBPACK_IMPORTED_MODULE_0__functional__["g" /* lazyIntersection */])( - /* If we're already at the root but there are more - expressions to satisfy, can't consume any more. No match. - This check is why none of the other exprs have to be able - to handle empty lists; skip1 is the only evaluator that - moves onto the next token and it refuses to do so once it - reaches the last item in the list. */ - - notAtRoot, - - /* We are not at the root of the ascent yet. - Move to the next level of the ascent by handing only - the tail to the previous expression */ - Object(__WEBPACK_IMPORTED_MODULE_0__functional__["d" /* compose2 */])(previousExpr, __WEBPACK_IMPORTED_MODULE_1__lists__["l" /* tail */])); - - } - - /** - * Create an evaluator function for the .. (double dot) token. Consumes - * zero or more levels of the ascent, the fewest that are required to find - * a match when given to previousExpr. - */ - function skipMany(previousExpr) { - if (previousExpr === __WEBPACK_IMPORTED_MODULE_0__functional__["a" /* always */]) { - /* If there is no previous expression this consume command - is at the start of the jsonPath. - Since JSONPath specifies what we'd like to find but not - necessarily everything leading down to it, when running - out of JSONPath to check against we default to true */ - return __WEBPACK_IMPORTED_MODULE_0__functional__["a" /* always */]; - } - - // In JSONPath .. is equivalent to !.. so if .. reaches the root - // the match has succeeded. Ie, we might write ..foo or !..foo - // and both should match identically. - var terminalCaseWhenArrivingAtRoot = rootExpr(); - var terminalCaseWhenPreviousExpressionIsSatisfied = previousExpr; - var recursiveCase = skip1(function (ascent) { - return cases(ascent); - }); - - var cases = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["h" /* lazyUnion */])( - terminalCaseWhenArrivingAtRoot, - terminalCaseWhenPreviousExpressionIsSatisfied, - recursiveCase); - - - return cases; - } - - /** - * Generate an evaluator for ! - matches only the root element of the json - * and ignores any previous expressions since nothing may precede !. - */ - function rootExpr() { - return function (ascent) { - return headKey(ascent) === __WEBPACK_IMPORTED_MODULE_4__incrementalContentBuilder__["a" /* ROOT_PATH */]; - }; - } - - /** - * Generate a statement wrapper to sit around the outermost - * clause evaluator. - * - * Handles the case where the capturing is implicit because the JSONPath - * did not contain a '$' by returning the last node. - */ - function statementExpr(lastClause) { - return function (ascent) { - // kick off the evaluation by passing through to the last clause - var exprMatch = lastClause(ascent); - - return exprMatch === true ? Object(__WEBPACK_IMPORTED_MODULE_1__lists__["g" /* head */])(ascent) : exprMatch; - }; - } - - /** - * For when a token has been found in the JSONPath input. - * Compiles the parser for that token and returns in combination with the - * parser already generated. - * - * @param {Function} exprs a list of the clause evaluator generators for - * the token that was found - * @param {Function} parserGeneratedSoFar the parser already found - * @param {Array} detection the match given by the regex engine when - * the feature was found - */ - function expressionsReader(exprs, parserGeneratedSoFar, detection) { - // if exprs is zero-length foldR will pass back the - // parserGeneratedSoFar as-is so we don't need to treat - // this as a special case - - return Object(__WEBPACK_IMPORTED_MODULE_1__lists__["f" /* foldR */])( - function (parserGeneratedSoFar, expr) { - return expr(parserGeneratedSoFar, detection); - }, - parserGeneratedSoFar, - exprs); - - } - - /** - * If jsonPath matches the given detector function, creates a function which - * evaluates against every clause in the clauseEvaluatorGenerators. The - * created function is propagated to the onSuccess function, along with - * the remaining unparsed JSONPath substring. - * - * The intended use is to create a clauseMatcher by filling in - * the first two arguments, thus providing a function that knows - * some syntax to match and what kind of generator to create if it - * finds it. The parameter list once completed is: - * - * (jsonPath, parserGeneratedSoFar, onSuccess) - * - * onSuccess may be compileJsonPathToFunction, to recursively continue - * parsing after finding a match or returnFoundParser to stop here. - */ - function generateClauseReaderIfTokenFound( - - tokenDetector, clauseEvaluatorGenerators, - - jsonPath, parserGeneratedSoFar, onSuccess) { - var detected = tokenDetector(jsonPath); - - if (detected) { - var compiledParser = expressionsReader( - clauseEvaluatorGenerators, - parserGeneratedSoFar, - detected); - - - var remainingUnparsedJsonPath = jsonPath.substr(Object(__WEBPACK_IMPORTED_MODULE_3__util__["e" /* len */])(detected[0])); - - return onSuccess(remainingUnparsedJsonPath, compiledParser); - } - } - - /** - * Partially completes generateClauseReaderIfTokenFound above. - */ - function clauseMatcher(tokenDetector, exprs) { - return Object(__WEBPACK_IMPORTED_MODULE_0__functional__["j" /* partialComplete */])( - generateClauseReaderIfTokenFound, - tokenDetector, - exprs); - - } - - /** - * clauseForJsonPath is a function which attempts to match against - * several clause matchers in order until one matches. If non match the - * jsonPath expression is invalid and an error is thrown. - * - * The parameter list is the same as a single clauseMatcher: - * - * (jsonPath, parserGeneratedSoFar, onSuccess) - */ - var clauseForJsonPath = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["h" /* lazyUnion */])( - - clauseMatcher(pathNodeSyntax, Object(__WEBPACK_IMPORTED_MODULE_1__lists__["h" /* list */])(capture, - duckTypeClause, - nameClause, - skip1)), - - clauseMatcher(doubleDotSyntax, Object(__WEBPACK_IMPORTED_MODULE_1__lists__["h" /* list */])(skipMany)) - - // dot is a separator only (like whitespace in other languages) but - // rather than make it a special case, use an empty list of - // expressions when this token is found - , clauseMatcher(dotSyntax, Object(__WEBPACK_IMPORTED_MODULE_1__lists__["h" /* list */])()), - - clauseMatcher(bangSyntax, Object(__WEBPACK_IMPORTED_MODULE_1__lists__["h" /* list */])(capture, - rootExpr)), - - clauseMatcher(emptySyntax, Object(__WEBPACK_IMPORTED_MODULE_1__lists__["h" /* list */])(statementExpr)), - - function (jsonPath) { - throw Error('"' + jsonPath + '" could not be tokenised'); - }); - - - /** - * One of two possible values for the onSuccess argument of - * generateClauseReaderIfTokenFound. - * - * When this function is used, generateClauseReaderIfTokenFound simply - * returns the compiledParser that it made, regardless of if there is - * any remaining jsonPath to be compiled. - */ - function returnFoundParser(_remainingJsonPath, compiledParser) { - return compiledParser; - } - - /** - * Recursively compile a JSONPath expression. - * - * This function serves as one of two possible values for the onSuccess - * argument of generateClauseReaderIfTokenFound, meaning continue to - * recursively compile. Otherwise, returnFoundParser is given and - * compilation terminates. - */ - function compileJsonPathToFunction(uncompiledJsonPath, - parserGeneratedSoFar) { - /** - * On finding a match, if there is remaining text to be compiled - * we want to either continue parsing using a recursive call to - * compileJsonPathToFunction. Otherwise, we want to stop and return - * the parser that we have found so far. - */ - var onFind = uncompiledJsonPath ? - compileJsonPathToFunction : - returnFoundParser; - - return clauseForJsonPath( - uncompiledJsonPath, - parserGeneratedSoFar, - onFind); - - } - - /** - * This is the function that we expose to the rest of the library. - */ - return function (jsonPath) { - try { - // Kick off the recursive parsing of the jsonPath - return compileJsonPathToFunction(jsonPath, __WEBPACK_IMPORTED_MODULE_0__functional__["a" /* always */]); - } catch (e) { - throw Error('Could not compile "' + jsonPath + - '" because ' + e.message); - - } - }; - }); - - - - - /***/}, - /* 15 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return jsonPathSyntax;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__functional__ = __webpack_require__(0); - - - var jsonPathSyntax = function () { - /** - * Export a regular expression as a simple function by exposing just - * the Regex#exec. This allows regex tests to be used under the same - * interface as differently implemented tests, or for a user of the - * tests to not concern themselves with their implementation as regular - * expressions. - * - * This could also be expressed point-free as: - * Function.prototype.bind.bind(RegExp.prototype.exec), - * - * But that's far too confusing! (and not even smaller once minified - * and gzipped) - */ - var regexDescriptor = function regexDescriptor(regex) { - return regex.exec.bind(regex); - }; - - /** - * Join several regular expressions and express as a function. - * This allows the token patterns to reuse component regular expressions - * instead of being expressed in full using huge and confusing regular - * expressions. - */ - var jsonPathClause = Object(__WEBPACK_IMPORTED_MODULE_0__functional__["k" /* varArgs */])(function (componentRegexes) { - // The regular expressions all start with ^ because we - // only want to find matches at the start of the - // JSONPath fragment we are inspecting - componentRegexes.unshift(/^/); - - return regexDescriptor( - RegExp( - componentRegexes.map(Object(__WEBPACK_IMPORTED_MODULE_0__functional__["c" /* attr */])('source')).join(''))); - - - }); - - var possiblyCapturing = /(\$?)/; - var namedNode = /([\w-_]+|\*)/; - var namePlaceholder = /()/; - var nodeInArrayNotation = /\["([^"]+)"\]/; - var numberedNodeInArrayNotation = /\[(\d+|\*)\]/; - var fieldList = /{([\w ]*?)}/; - var optionalFieldList = /(?:{([\w ]*?)})?/; - - // foo or * - var jsonPathNamedNodeInObjectNotation = jsonPathClause( - possiblyCapturing, - namedNode, - optionalFieldList); - - - // ["foo"] - var jsonPathNamedNodeInArrayNotation = jsonPathClause( - possiblyCapturing, - nodeInArrayNotation, - optionalFieldList); - - - // [2] or [*] - var jsonPathNumberedNodeInArrayNotation = jsonPathClause( - possiblyCapturing, - numberedNodeInArrayNotation, - optionalFieldList); - - - // {a b c} - var jsonPathPureDuckTyping = jsonPathClause( - possiblyCapturing, - namePlaceholder, - fieldList); - - - // .. - var jsonPathDoubleDot = jsonPathClause(/\.\./); - - // . - var jsonPathDot = jsonPathClause(/\./); - - // ! - var jsonPathBang = jsonPathClause( - possiblyCapturing, - /!/); - - - // nada! - var emptyString = jsonPathClause(/$/); - - /* We export only a single function. When called, this function injects - into another function the descriptors from above. - */ - return function (fn) { - return fn( - Object(__WEBPACK_IMPORTED_MODULE_0__functional__["h" /* lazyUnion */])( - jsonPathNamedNodeInObjectNotation, - jsonPathNamedNodeInArrayNotation, - jsonPathNumberedNodeInArrayNotation, - jsonPathPureDuckTyping), - - jsonPathDoubleDot, - jsonPathDot, - jsonPathBang, - emptyString); - - }; - }(); - - - - - /***/}, - /* 16 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return instanceApi;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__events__ = __webpack_require__(3); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__functional__ = __webpack_require__(0); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(2); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_3__publicApi__ = __webpack_require__(5); - - - - - - /** - * The instance API is the thing that is returned when oboe() is called. - * it allows: - * - * - listeners for various events to be added and removed - * - the http response header/headers to be read - */ - function instanceApi(oboeBus, contentSource) { - var oboeApi; - var fullyQualifiedNamePattern = /^(node|path):./; - var rootNodeFinishedEvent = oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["h" /* ROOT_NODE_FOUND */]); - var emitNodeDrop = oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["e" /* NODE_DROP */]).emit; - var emitNodeSwap = oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["g" /* NODE_SWAP */]).emit; - - /** - * Add any kind of listener that the instance api exposes - */ - var addListener = Object(__WEBPACK_IMPORTED_MODULE_1__functional__["k" /* varArgs */])(function (eventId, parameters) { - if (oboeApi[eventId]) { - // for events added as .on(event, callback), if there is a - // .event() equivalent with special behaviour , pass through - // to that: - Object(__WEBPACK_IMPORTED_MODULE_1__functional__["b" /* apply */])(parameters, oboeApi[eventId]); - } else { - // we have a standard Node.js EventEmitter 2-argument call. - // The first parameter is the listener. - var event = oboeBus(eventId); - var listener = parameters[0]; - - if (fullyQualifiedNamePattern.test(eventId)) { - // allow fully-qualified node/path listeners - // to be added - addForgettableCallback(event, wrapCallbackToSwapNodeIfSomethingReturned(listener)); - } else { - // the event has no special handling, pass through - // directly onto the event bus: - event.on(listener); - } - } - - return oboeApi; // chaining - }); - - /** - * Remove any kind of listener that the instance api exposes - */ - var removeListener = function removeListener(eventId, p2, p3) { - if (eventId === 'done') { - rootNodeFinishedEvent.un(p2); - } else if (eventId === 'node' || eventId === 'path') { - // allow removal of node and path - oboeBus.un(eventId + ':' + p2, p3); - } else { - // we have a standard Node.js EventEmitter 2-argument call. - // The second parameter is the listener. This may be a call - // to remove a fully-qualified node/path listener but requires - // no special handling - var listener = p2; - - oboeBus(eventId).un(listener); - } - - return oboeApi; // chaining - }; - - /** - * Add a callback, wrapped in a try/catch so as to not break the - * execution of Oboe if an exception is thrown (fail events are - * fired instead) - * - * The callback is used as the listener id so that it can later be - * removed using .un(callback) - */ - function addProtectedCallback(eventName, callback) { - oboeBus(eventName).on(protectedCallback(callback), callback); - return oboeApi; // chaining - } - - /** - * Add a callback where, if .forget() is called during the callback's - * execution, the callback will be de-registered - */ - function addForgettableCallback(event, callback, listenerId) { - // listenerId is optional and if not given, the original - // callback will be used - listenerId = listenerId || callback; - - var safeCallback = protectedCallback(callback); - - event.on(function () { - var discard = false; - - oboeApi.forget = function () { - discard = true; - }; - - Object(__WEBPACK_IMPORTED_MODULE_1__functional__["b" /* apply */])(arguments, safeCallback); - - delete oboeApi.forget; - - if (discard) { - event.un(listenerId); - } - }, listenerId); - - return oboeApi; // chaining - } - - /** - * wrap a callback so that if it throws, Oboe.js doesn't crash but instead - * throw the error in another event loop - */ - function protectedCallback(callback) { - return function () { - try { - return callback.apply(oboeApi, arguments); - } catch (e) { - setTimeout(function () { - throw new Error(e.message); - }); - } - }; - } - - /** - * Return the fully qualified event for when a pattern matches - * either a node or a path - * - * @param type {String} either 'node' or 'path' - */ - function fullyQualifiedPatternMatchEvent(type, pattern) { - return oboeBus(type + ':' + pattern); - } - - function wrapCallbackToSwapNodeIfSomethingReturned(callback) { - return function () { - var returnValueFromCallback = callback.apply(this, arguments); - - if (Object(__WEBPACK_IMPORTED_MODULE_2__util__["a" /* defined */])(returnValueFromCallback)) { - if (returnValueFromCallback === __WEBPACK_IMPORTED_MODULE_3__publicApi__["a" /* oboe */].drop) { - emitNodeDrop(); - } else { - emitNodeSwap(returnValueFromCallback); - } - } - }; - } - - function addSingleNodeOrPathListener(eventId, pattern, callback) { - var effectiveCallback; - - if (eventId === 'node') { - effectiveCallback = wrapCallbackToSwapNodeIfSomethingReturned(callback); - } else { - effectiveCallback = callback; - } - - addForgettableCallback( - fullyQualifiedPatternMatchEvent(eventId, pattern), - effectiveCallback, - callback); - - } - - /** - * Add several listeners at a time, from a map - */ - function addMultipleNodeOrPathListeners(eventId, listenerMap) { - for (var pattern in listenerMap) { - addSingleNodeOrPathListener(eventId, pattern, listenerMap[pattern]); - } - } - - /** - * implementation behind .onPath() and .onNode() - */ - function addNodeOrPathListenerApi(eventId, jsonPathOrListenerMap, callback) { - if (Object(__WEBPACK_IMPORTED_MODULE_2__util__["d" /* isString */])(jsonPathOrListenerMap)) { - addSingleNodeOrPathListener(eventId, jsonPathOrListenerMap, callback); - } else { - addMultipleNodeOrPathListeners(eventId, jsonPathOrListenerMap); - } - - return oboeApi; // chaining - } - - // some interface methods are only filled in after we receive - // values and are noops before that: - oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["i" /* ROOT_PATH_FOUND */]).on(function (rootNode) { - oboeApi.root = Object(__WEBPACK_IMPORTED_MODULE_1__functional__["f" /* functor */])(rootNode); - }); - - /** - * When content starts make the headers readable through the - * instance API - */ - oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["c" /* HTTP_START */]).on(function (_statusCode, headers) { - oboeApi.header = function (name) { - return name ? headers[name] : - headers; - }; - }); - - /** - * Construct and return the public API of the Oboe instance to be - * returned to the calling application - */ - oboeApi = { - on: addListener, - addListener: addListener, - removeListener: removeListener, - emit: oboeBus.emit, - - node: Object(__WEBPACK_IMPORTED_MODULE_1__functional__["j" /* partialComplete */])(addNodeOrPathListenerApi, 'node'), - path: Object(__WEBPACK_IMPORTED_MODULE_1__functional__["j" /* partialComplete */])(addNodeOrPathListenerApi, 'path'), - - done: Object(__WEBPACK_IMPORTED_MODULE_1__functional__["j" /* partialComplete */])(addForgettableCallback, rootNodeFinishedEvent), - start: Object(__WEBPACK_IMPORTED_MODULE_1__functional__["j" /* partialComplete */])(addProtectedCallback, __WEBPACK_IMPORTED_MODULE_0__events__["c" /* HTTP_START */]), - - // fail doesn't use protectedCallback because - // could lead to non-terminating loops - fail: oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["b" /* FAIL_EVENT */]).on, - - // public api calling abort fires the ABORTING event - abort: oboeBus(__WEBPACK_IMPORTED_MODULE_0__events__["a" /* ABORTING */]).emit, - - // initially return nothing for header and root - header: __WEBPACK_IMPORTED_MODULE_1__functional__["i" /* noop */], - root: __WEBPACK_IMPORTED_MODULE_1__functional__["i" /* noop */], - - source: contentSource }; - - - return oboeApi; - } - - - - - /***/}, - /* 17 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return clarinet;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__events__ = __webpack_require__(3); - - - /* - This is a slightly hacked-up browser only version of clarinet - - * some features removed to help keep browser Oboe under - the 5k micro-library limit - * plug directly into event bus - - For the original go here: - https://github.com/dscape/clarinet - - We receive the events: - STREAM_DATA - STREAM_END - - We emit the events: - SAX_KEY - SAX_VALUE_OPEN - SAX_VALUE_CLOSE - FAIL_EVENT - */ - - function clarinet(eventBus) { - 'use strict'; - - // shortcut some events on the bus - var emitSaxKey = eventBus(__WEBPACK_IMPORTED_MODULE_0__events__["j" /* SAX_KEY */]).emit; - var emitValueOpen = eventBus(__WEBPACK_IMPORTED_MODULE_0__events__["l" /* SAX_VALUE_OPEN */]).emit; - var emitValueClose = eventBus(__WEBPACK_IMPORTED_MODULE_0__events__["k" /* SAX_VALUE_CLOSE */]).emit; - var emitFail = eventBus(__WEBPACK_IMPORTED_MODULE_0__events__["b" /* FAIL_EVENT */]).emit; - - var MAX_BUFFER_LENGTH = 64 * 1024; - var stringTokenPattern = /[\\"\n]/g; - var _n = 0; - - // states - var BEGIN = _n++; - var VALUE = _n++; // general stuff - var OPEN_OBJECT = _n++; // { - var CLOSE_OBJECT = _n++; // } - var OPEN_ARRAY = _n++; // [ - var CLOSE_ARRAY = _n++; // ] - var STRING = _n++; // "" - var OPEN_KEY = _n++; // , "a" - var CLOSE_KEY = _n++; // : - var TRUE = _n++; // r - var TRUE2 = _n++; // u - var TRUE3 = _n++; // e - var FALSE = _n++; // a - var FALSE2 = _n++; // l - var FALSE3 = _n++; // s - var FALSE4 = _n++; // e - var NULL = _n++; // u - var NULL2 = _n++; // l - var NULL3 = _n++; // l - var NUMBER_DECIMAL_POINT = _n++; // . - var NUMBER_DIGIT = _n; // [0-9] - - // setup initial parser values - var bufferCheckPosition = MAX_BUFFER_LENGTH; - var latestError; - var c; - var p; - var textNode; - var numberNode = ''; - var slashed = false; - var closed = false; - var state = BEGIN; - var stack = []; - var unicodeS = null; - var unicodeI = 0; - var depth = 0; - var position = 0; - var column = 0; // mostly for error reporting - var line = 1; - - function checkBufferLength() { - var maxActual = 0; - - if (textNode !== undefined && textNode.length > MAX_BUFFER_LENGTH) { - emitError('Max buffer length exceeded: textNode'); - maxActual = Math.max(maxActual, textNode.length); - } - if (numberNode.length > MAX_BUFFER_LENGTH) { - emitError('Max buffer length exceeded: numberNode'); - maxActual = Math.max(maxActual, numberNode.length); - } - - bufferCheckPosition = MAX_BUFFER_LENGTH - maxActual + - position; - } - - eventBus(__WEBPACK_IMPORTED_MODULE_0__events__["m" /* STREAM_DATA */]).on(handleData); - - /* At the end of the http content close the clarinet - This will provide an error if the total content provided was not - valid json, ie if not all arrays, objects and Strings closed properly */ - eventBus(__WEBPACK_IMPORTED_MODULE_0__events__["n" /* STREAM_END */]).on(handleStreamEnd); - - function emitError(errorString) { - if (textNode !== undefined) { - emitValueOpen(textNode); - emitValueClose(); - textNode = undefined; - } - - latestError = Error(errorString + '\nLn: ' + line + - '\nCol: ' + column + - '\nChr: ' + c); - - emitFail(Object(__WEBPACK_IMPORTED_MODULE_0__events__["o" /* errorReport */])(undefined, undefined, latestError)); - } - - function handleStreamEnd() { - if (state === BEGIN) { - // Handle the case where the stream closes without ever receiving - // any input. This isn't an error - response bodies can be blank, - // particularly for 204 http responses - - // Because of how Oboe is currently implemented, we parse a - // completely empty stream as containing an empty object. - // This is because Oboe's done event is only fired when the - // root object of the JSON stream closes. - - // This should be decoupled and attached instead to the input stream - // from the http (or whatever) resource ending. - // If this decoupling could happen the SAX parser could simply emit - // zero events on a completely empty input. - emitValueOpen({}); - emitValueClose(); - - closed = true; - return; - } - - if (state !== VALUE || depth !== 0) {emitError('Unexpected end');} - - if (textNode !== undefined) { - emitValueOpen(textNode); - emitValueClose(); - textNode = undefined; - } - - closed = true; - } - - function whitespace(c) { - return c === '\r' || c === '\n' || c === ' ' || c === '\t'; - } - - function handleData(chunk) { - // this used to throw the error but inside Oboe we will have already - // gotten the error when it was emitted. The important thing is to - // not continue with the parse. - if (latestError) {return;} - - if (closed) { - return emitError('Cannot write after close'); - } - - var i = 0; - c = chunk[0]; - - while (c) { - if (i > 0) { - p = c; - } - c = chunk[i++]; - if (!c) break; - - position++; - if (c === '\n') { - line++; - column = 0; - } else column++; - switch (state) { - case BEGIN: - if (c === '{') state = OPEN_OBJECT;else - if (c === '[') state = OPEN_ARRAY;else - if (!whitespace(c)) {return emitError('Non-whitespace before {[.');} - continue; - - case OPEN_KEY: - case OPEN_OBJECT: - if (whitespace(c)) continue; - if (state === OPEN_KEY) stack.push(CLOSE_KEY);else - { - if (c === '}') { - emitValueOpen({}); - emitValueClose(); - state = stack.pop() || VALUE; - continue; - } else stack.push(CLOSE_OBJECT); - } - if (c === '"') {state = STRING;} else {return emitError('Malformed object key should start with " ');} - continue; - - case CLOSE_KEY: - case CLOSE_OBJECT: - if (whitespace(c)) continue; - - if (c === ':') { - if (state === CLOSE_OBJECT) { - stack.push(CLOSE_OBJECT); - - if (textNode !== undefined) { - // was previously (in upstream Clarinet) one event - // - object open came with the text of the first - emitValueOpen({}); - emitSaxKey(textNode); - textNode = undefined; - } - depth++; - } else { - if (textNode !== undefined) { - emitSaxKey(textNode); - textNode = undefined; - } - } - state = VALUE; - } else if (c === '}') { - if (textNode !== undefined) { - emitValueOpen(textNode); - emitValueClose(); - textNode = undefined; - } - emitValueClose(); - depth--; - state = stack.pop() || VALUE; - } else if (c === ',') { - if (state === CLOSE_OBJECT) {stack.push(CLOSE_OBJECT);} - if (textNode !== undefined) { - emitValueOpen(textNode); - emitValueClose(); - textNode = undefined; - } - state = OPEN_KEY; - } else {return emitError('Bad object');} - continue; - - case OPEN_ARRAY: // after an array there always a value - case VALUE: - if (whitespace(c)) continue; - if (state === OPEN_ARRAY) { - emitValueOpen([]); - depth++; - state = VALUE; - if (c === ']') { - emitValueClose(); - depth--; - state = stack.pop() || VALUE; - continue; - } else { - stack.push(CLOSE_ARRAY); - } - } - if (c === '"') state = STRING;else - if (c === '{') state = OPEN_OBJECT;else - if (c === '[') state = OPEN_ARRAY;else - if (c === 't') state = TRUE;else - if (c === 'f') state = FALSE;else - if (c === 'n') state = NULL;else - if (c === '-') {// keep and continue - numberNode += c; - } else if (c === '0') { - numberNode += c; - state = NUMBER_DIGIT; - } else if ('123456789'.indexOf(c) !== -1) { - numberNode += c; - state = NUMBER_DIGIT; - } else {return emitError('Bad value');} - continue; - - case CLOSE_ARRAY: - if (c === ',') { - stack.push(CLOSE_ARRAY); - if (textNode !== undefined) { - emitValueOpen(textNode); - emitValueClose(); - textNode = undefined; - } - state = VALUE; - } else if (c === ']') { - if (textNode !== undefined) { - emitValueOpen(textNode); - emitValueClose(); - textNode = undefined; - } - emitValueClose(); - depth--; - state = stack.pop() || VALUE; - } else if (whitespace(c)) {continue;} else {return emitError('Bad array');} - continue; - - case STRING: - if (textNode === undefined) { - textNode = ''; - } - - // thanks thejh, this is an about 50% performance improvement. - var starti = i - 1; - - // eslint-disable-next-line no-labels - STRING_BIGLOOP: while (true) { - // zero means "no unicode active". 1-4 mean "parse some more". end after 4. - while (unicodeI > 0) { - unicodeS += c; - c = chunk.charAt(i++); - if (unicodeI === 4) { - // TODO this might be slow? well, probably not used too often anyway - textNode += String.fromCharCode(parseInt(unicodeS, 16)); - unicodeI = 0; - starti = i - 1; - } else { - unicodeI++; - } - // we can just break here: no stuff we skipped that still has to be sliced out or so - // eslint-disable-next-line no-labels - if (!c) break STRING_BIGLOOP; - } - if (c === '"' && !slashed) { - state = stack.pop() || VALUE; - textNode += chunk.substring(starti, i - 1); - break; - } - if (c === '\\' && !slashed) { - slashed = true; - textNode += chunk.substring(starti, i - 1); - c = chunk.charAt(i++); - if (!c) break; - } - if (slashed) { - slashed = false; - if (c === 'n') {textNode += '\n';} else if (c === 'r') {textNode += '\r';} else if (c === 't') {textNode += '\t';} else if (c === 'f') {textNode += '\f';} else if (c === 'b') {textNode += '\b';} else if (c === 'u') { - // \uxxxx. meh! - unicodeI = 1; - unicodeS = ''; - } else { - textNode += c; - } - c = chunk.charAt(i++); - starti = i - 1; - if (!c) break;else - continue; - } - - stringTokenPattern.lastIndex = i; - var reResult = stringTokenPattern.exec(chunk); - if (!reResult) { - i = chunk.length + 1; - textNode += chunk.substring(starti, i - 1); - break; - } - i = reResult.index + 1; - c = chunk.charAt(reResult.index); - if (!c) { - textNode += chunk.substring(starti, i - 1); - break; - } - } - continue; - - case TRUE: - if (!c) continue; // strange buffers - if (c === 'r') state = TRUE2;else - {return emitError('Invalid true started with t' + c);} - continue; - - case TRUE2: - if (!c) continue; - if (c === 'u') state = TRUE3;else - {return emitError('Invalid true started with tr' + c);} - continue; - - case TRUE3: - if (!c) continue; - if (c === 'e') { - emitValueOpen(true); - emitValueClose(); - state = stack.pop() || VALUE; - } else {return emitError('Invalid true started with tru' + c);} - continue; - - case FALSE: - if (!c) continue; - if (c === 'a') state = FALSE2;else - {return emitError('Invalid false started with f' + c);} - continue; - - case FALSE2: - if (!c) continue; - if (c === 'l') state = FALSE3;else - {return emitError('Invalid false started with fa' + c);} - continue; - - case FALSE3: - if (!c) continue; - if (c === 's') state = FALSE4;else - {return emitError('Invalid false started with fal' + c);} - continue; - - case FALSE4: - if (!c) continue; - if (c === 'e') { - emitValueOpen(false); - emitValueClose(); - state = stack.pop() || VALUE; - } else {return emitError('Invalid false started with fals' + c);} - continue; - - case NULL: - if (!c) continue; - if (c === 'u') state = NULL2;else - {return emitError('Invalid null started with n' + c);} - continue; - - case NULL2: - if (!c) continue; - if (c === 'l') state = NULL3;else - {return emitError('Invalid null started with nu' + c);} - continue; - - case NULL3: - if (!c) continue; - if (c === 'l') { - emitValueOpen(null); - emitValueClose(); - state = stack.pop() || VALUE; - } else {return emitError('Invalid null started with nul' + c);} - continue; - - case NUMBER_DECIMAL_POINT: - if (c === '.') { - numberNode += c; - state = NUMBER_DIGIT; - } else {return emitError('Leading zero not followed by .');} - continue; - - case NUMBER_DIGIT: - if ('0123456789'.indexOf(c) !== -1) numberNode += c;else - if (c === '.') { - if (numberNode.indexOf('.') !== -1) {return emitError('Invalid number has two dots');} - numberNode += c; - } else if (c === 'e' || c === 'E') { - if (numberNode.indexOf('e') !== -1 || - numberNode.indexOf('E') !== -1) {return emitError('Invalid number has two exponential');} - numberNode += c; - } else if (c === '+' || c === '-') { - if (!(p === 'e' || p === 'E')) {return emitError('Invalid symbol in number');} - numberNode += c; - } else { - if (numberNode) { - emitValueOpen(parseFloat(numberNode)); - emitValueClose(); - numberNode = ''; - } - i--; // go back one - state = stack.pop() || VALUE; - } - continue; - - default: - return emitError('Unknown state: ' + state);} - - } - if (position >= bufferCheckPosition) {checkBufferLength();} - } - } - - - - - /***/}, - /* 18 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return httpTransport;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "b", function () {return streamingHttp;}); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_0__detectCrossOrigin_browser__ = __webpack_require__(19); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_1__events__ = __webpack_require__(3); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_2__util__ = __webpack_require__(2); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_3__parseResponseHeaders_browser__ = __webpack_require__(20); - /* harmony import */var __WEBPACK_IMPORTED_MODULE_4__functional__ = __webpack_require__(0); - - - - - - - function httpTransport() { - return new XMLHttpRequest(); - } - - /** - * A wrapper around the browser XmlHttpRequest object that raises an - * event whenever a new part of the response is available. - * - * In older browsers progressive reading is impossible so all the - * content is given in a single call. For newer ones several events - * should be raised, allowing progressive interpretation of the response. - * - * @param {Function} oboeBus an event bus local to this Oboe instance - * @param {XMLHttpRequest} xhr the xhr to use as the transport. Under normal - * operation, will have been created using httpTransport() above - * but for tests a stub can be provided instead. - * @param {String} method one of 'GET' 'POST' 'PUT' 'PATCH' 'DELETE' - * @param {String} url the url to make a request to - * @param {String|Null} data some content to be sent with the request. - * Only valid if method is POST or PUT. - * @param {Object} [headers] the http request headers to send - * @param {boolean} withCredentials the XHR withCredentials property will be - * set to this value - */ - function streamingHttp(oboeBus, xhr, method, url, data, headers, withCredentials) { - 'use strict'; - - var emitStreamData = oboeBus(__WEBPACK_IMPORTED_MODULE_1__events__["m" /* STREAM_DATA */]).emit; - var emitFail = oboeBus(__WEBPACK_IMPORTED_MODULE_1__events__["b" /* FAIL_EVENT */]).emit; - var numberOfCharsAlreadyGivenToCallback = 0; - var stillToSendStartEvent = true; - - // When an ABORTING message is put on the event bus abort - // the ajax request - oboeBus(__WEBPACK_IMPORTED_MODULE_1__events__["a" /* ABORTING */]).on(function () { - // if we keep the onreadystatechange while aborting the XHR gives - // a callback like a successful call so first remove this listener - // by assigning null: - xhr.onreadystatechange = null; - - xhr.abort(); - }); - - /** - * Handle input from the underlying xhr: either a state change, - * the progress event or the request being complete. - */ - function handleProgress() { - if (String(xhr.status)[0] === '2') { - var textSoFar = xhr.responseText; - var newText = (' ' + textSoFar.substr(numberOfCharsAlreadyGivenToCallback)).substr(1); - - /* Raise the event for new text. - On older browsers, the new text is the whole response. - On newer/better ones, the fragment part that we got since - last progress. */ - - - if (newText) { - emitStreamData(newText); - } - - numberOfCharsAlreadyGivenToCallback = Object(__WEBPACK_IMPORTED_MODULE_2__util__["e" /* len */])(textSoFar); - } - } - - if ('onprogress' in xhr) {// detect browser support for progressive delivery - xhr.onprogress = handleProgress; - } - - function sendStartIfNotAlready(xhr) { - // Internet Explorer is very unreliable as to when xhr.status etc can - // be read so has to be protected with try/catch and tried again on - // the next readyState if it fails - try { - stillToSendStartEvent && oboeBus(__WEBPACK_IMPORTED_MODULE_1__events__["c" /* HTTP_START */]).emit( - xhr.status, - Object(__WEBPACK_IMPORTED_MODULE_3__parseResponseHeaders_browser__["a" /* parseResponseHeaders */])(xhr.getAllResponseHeaders())); - stillToSendStartEvent = false; - } catch (e) {/* do nothing, will try again on next readyState */} - } - - xhr.onreadystatechange = function () { - switch (xhr.readyState) { - case 2: // HEADERS_RECEIVED - case 3: // LOADING - return sendStartIfNotAlready(xhr); - - case 4: // DONE - sendStartIfNotAlready(xhr); // if xhr.status hasn't been available yet, it must be NOW, huh IE? - - // is this a 2xx http code? - var successful = String(xhr.status)[0] === '2'; - - if (successful) { - // In Chrome 29 (not 28) no onprogress is emitted when a response - // is complete before the onload. We need to always do handleInput - // in case we get the load but have not had a final progress event. - // This looks like a bug and may change in future but let's take - // the safest approach and assume we might not have received a - // progress event for each part of the response - handleProgress(); - - oboeBus(__WEBPACK_IMPORTED_MODULE_1__events__["n" /* STREAM_END */]).emit(); - } else { - emitFail(Object(__WEBPACK_IMPORTED_MODULE_1__events__["o" /* errorReport */])( - xhr.status, - xhr.responseText)); - - }} - - }; - - try { - xhr.open(method, url, true); - - for (var headerName in headers) { - xhr.setRequestHeader(headerName, headers[headerName]); - } - - if (!Object(__WEBPACK_IMPORTED_MODULE_0__detectCrossOrigin_browser__["a" /* isCrossOrigin */])(window.location, Object(__WEBPACK_IMPORTED_MODULE_0__detectCrossOrigin_browser__["b" /* parseUrlOrigin */])(url))) { - xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); - } - - xhr.withCredentials = withCredentials; - - xhr.send(data); - } catch (e) { - // To keep a consistent interface with Node, we can't emit an event here. - // Node's streaming http adaptor receives the error as an asynchronous - // event rather than as an exception. If we emitted now, the Oboe user - // has had no chance to add a .fail listener so there is no way - // the event could be useful. For both these reasons defer the - // firing to the next JS frame. - window.setTimeout( - Object(__WEBPACK_IMPORTED_MODULE_4__functional__["j" /* partialComplete */])(emitFail, Object(__WEBPACK_IMPORTED_MODULE_1__events__["o" /* errorReport */])(undefined, undefined, e)), - 0); - - } - } - - - - - /***/}, - /* 19 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return isCrossOrigin;}); - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "b", function () {return parseUrlOrigin;}); - /** - * Detect if a given URL is cross-origin in the scope of the - * current page. - * - * Browser only (since cross-origin has no meaning in Node.js) - * - * @param {Object} pageLocation - as in window.location - * @param {Object} ajaxHost - an object like window.location describing the - * origin of the url that we want to ajax in - */ - function isCrossOrigin(pageLocation, ajaxHost) { - /* - * NB: defaultPort only knows http and https. - * Returns undefined otherwise. - */ - function defaultPort(protocol) { - return { 'http:': 80, 'https:': 443 }[protocol]; - } - - function portOf(location) { - // pageLocation should always have a protocol. ajaxHost if no port or - // protocol is specified, should use the port of the containing page - - return String(location.port || defaultPort(location.protocol || pageLocation.protocol)); - } - - // if ajaxHost doesn't give a domain, port is the same as pageLocation - // it can't give a protocol but not a domain - // it can't give a port but not a domain - - return !!(ajaxHost.protocol && ajaxHost.protocol !== pageLocation.protocol || - ajaxHost.host && ajaxHost.host !== pageLocation.host || - ajaxHost.host && portOf(ajaxHost) !== portOf(pageLocation)); - - } - - /* turn any url into an object like window.location */ - function parseUrlOrigin(url) { - // url could be domain-relative - // url could give a domain - - // cross origin means: - // same domain - // same port - // some protocol - // so, same everything up to the first (single) slash - // if such is given - // - // can ignore everything after that - - var URL_HOST_PATTERN = /(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/; - - // if no match, use an empty array so that - // subexpressions 1,2,3 are all undefined - // and will ultimately return all empty - // strings as the parse result: - var urlHostMatch = URL_HOST_PATTERN.exec(url) || []; - - return { - protocol: urlHostMatch[1] || '', - host: urlHostMatch[2] || '', - port: urlHostMatch[3] || '' }; - - } - - - - - /***/}, - /* 20 */ - /***/function (module, __webpack_exports__, __webpack_require__) { - - "use strict"; - /* harmony export (binding) */__webpack_require__.d(__webpack_exports__, "a", function () {return parseResponseHeaders;}); - // based on gist https://gist.github.com/monsur/706839 - - /** - * XmlHttpRequest's getAllResponseHeaders() method returns a string of response - * headers according to the format described here: - * http://www.w3.org/TR/XMLHttpRequest/#the-getallresponseheaders-method - * This method parses that string into a user-friendly key/value pair object. - */ - function parseResponseHeaders(headerStr) { - var headers = {}; - - headerStr && headerStr.split("\r\n"). - forEach(function (headerPair) { - // Can't use split() here because it does the wrong thing - // if the header value has the string ": " in it. - var index = headerPair.indexOf(": "); - - headers[headerPair.substring(0, index)] = - headerPair.substring(index + 2); - }); - - return headers; - } - - - - - /***/} - /******/])["default"]); -}); - -/***/ }), -/* 1039 */ -/*!**********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core/lib/extend.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file extend.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var formatters = __webpack_require__(/*! web3-core-helpers */ 995).formatters; -var Method = __webpack_require__(/*! web3-core-method */ 1040); -var utils = __webpack_require__(/*! web3-utils */ 998); -var extend = function extend(pckg) { - /* jshint maxcomplexity:5 */ - var ex = function ex(extension) { - var extendedObject; - if (extension.property) { - if (!pckg[extension.property]) { - pckg[extension.property] = {}; - } - extendedObject = pckg[extension.property]; - } else - { - extendedObject = pckg; - } - if (extension.methods) { - extension.methods.forEach(function (method) { - if (!(method instanceof Method)) { - method = new Method(method); - } - method.attachToObject(extendedObject); - method.setRequestManager(pckg._requestManager); - }); - } - return pckg; - }; - ex.formatters = formatters; - ex.utils = utils; - ex.Method = Method; - return ex; -}; -module.exports = extend; - -/***/ }), -/* 1040 */ -/*!****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-method/lib/index.js ***! - \****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * @author Fabian Vogelsteller - * @author Marek Kotewicz - * @date 2017 - */ -var _regeneratorRuntime = __webpack_require__(/*! ./node_modules/@babel/runtime/regenerator */ 44);function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};} -var _ = __webpack_require__(/*! underscore */ 994); -var errors = __webpack_require__(/*! web3-core-helpers */ 995).errors; -var formatters = __webpack_require__(/*! web3-core-helpers */ 995).formatters; -var utils = __webpack_require__(/*! web3-utils */ 998); -var promiEvent = __webpack_require__(/*! web3-core-promievent */ 1041); -var Subscriptions = __webpack_require__(/*! web3-core-subscriptions */ 1042).subscriptions; -var EthersTransactionUtils = __webpack_require__(/*! @ethersproject/transactions */ 121); -var Method = function Method(options) { - if (!options.call || !options.name) { - throw new Error('When creating a method you need to provide at least the "name" and "call" property.'); - } - this.name = options.name; - this.call = options.call; - this.params = options.params || 0; - this.inputFormatter = options.inputFormatter; - this.outputFormatter = options.outputFormatter; - this.transformPayload = options.transformPayload; - this.extraFormatters = options.extraFormatters; - this.abiCoder = options.abiCoder; // Will be used to encode the revert reason string - this.requestManager = options.requestManager; - // reference to eth.accounts - this.accounts = options.accounts; - this.defaultBlock = options.defaultBlock || 'latest'; - this.defaultAccount = options.defaultAccount || null; - this.transactionBlockTimeout = options.transactionBlockTimeout || 50; - this.transactionConfirmationBlocks = options.transactionConfirmationBlocks || 24; - this.transactionPollingTimeout = options.transactionPollingTimeout || 750; - this.defaultCommon = options.defaultCommon; - this.defaultChain = options.defaultChain; - this.defaultHardfork = options.defaultHardfork; - this.handleRevert = options.handleRevert; -}; -Method.prototype.setRequestManager = function (requestManager, accounts) { - this.requestManager = requestManager; - // reference to eth.accounts - if (accounts) { - this.accounts = accounts; - } -}; -Method.prototype.createFunction = function (requestManager, accounts) { - var func = this.buildCall(); - func.call = this.call; - this.setRequestManager(requestManager || this.requestManager, accounts || this.accounts); - return func; -}; -Method.prototype.attachToObject = function (obj) { - var func = this.buildCall(); - func.call = this.call; - var name = this.name.split('.'); - if (name.length > 1) { - obj[name[0]] = obj[name[0]] || {}; - obj[name[0]][name[1]] = func; - } else - { - obj[name[0]] = func; - } -}; -/** - * Should be used to determine name of the jsonrpc method based on arguments - * - * @method getCall - * @param {Array} arguments - * @return {String} name of jsonrpc method - */ -Method.prototype.getCall = function (args) { - return _.isFunction(this.call) ? this.call(args) : this.call; -}; -/** - * Should be used to extract callback from array of arguments. Modifies input param - * - * @method extractCallback - * @param {Array} arguments - * @return {Function|Null} callback, if exists - */ -Method.prototype.extractCallback = function (args) { - if (_.isFunction(args[args.length - 1])) { - return args.pop(); // modify the args array! - } -}; -/** - * Should be called to check if the number of arguments is correct - * - * @method validateArgs - * @param {Array} arguments - * @throws {Error} if it is not - */ -Method.prototype.validateArgs = function (args) { - if (args.length !== this.params) { - throw errors.InvalidNumberOfParams(args.length, this.params, this.name); - } -}; -/** - * Should be called to format input args of method - * - * @method formatInput - * @param {Array} - * @return {Array} - */ -Method.prototype.formatInput = function (args) { - var _this = this; - if (!this.inputFormatter) { - return args; - } - return this.inputFormatter.map(function (formatter, index) { - // bind this for defaultBlock, and defaultAccount - return formatter ? formatter.call(_this, args[index]) : args[index]; - }); -}; -/** - * Should be called to format output(result) of method - * - * @method formatOutput - * @param {Object} - * @return {Object} - */ -Method.prototype.formatOutput = function (result) { - var _this = this; - if (_.isArray(result)) { - return result.map(function (res) { - return _this.outputFormatter && res ? _this.outputFormatter(res) : res; - }); - } else - { - return this.outputFormatter && result ? this.outputFormatter(result) : result; - } -}; -/** - * Should create payload from given input args - * - * @method toPayload - * @param {Array} args - * @return {Object} - */ -Method.prototype.toPayload = function (args) { - var call = this.getCall(args); - var callback = this.extractCallback(args); - var params = this.formatInput(args); - this.validateArgs(params); - var payload = { - method: call, - params: params, - callback: callback }; - - if (this.transformPayload) { - payload = this.transformPayload(payload); - } - return payload; -}; -Method.prototype._confirmTransaction = function (defer, result, payload) { - var method = this,promiseResolved = false,canUnsubscribe = true,timeoutCount = 0,confirmationCount = 0,intervalId = null,lastBlock = null,receiptJSON = '',gasProvided = _.isObject(payload.params[0]) && payload.params[0].gas ? payload.params[0].gas : null,isContractDeployment = _.isObject(payload.params[0]) && - payload.params[0].data && - payload.params[0].from && - !payload.params[0].to,hasBytecode = isContractDeployment && payload.params[0].data.length > 2; - // add custom send Methods - var _ethereumCalls = [ - new Method({ - name: 'getBlockByNumber', - call: 'eth_getBlockByNumber', - params: 2, - inputFormatter: [formatters.inputBlockNumberFormatter, function (val) { - return !!val; - }], - outputFormatter: formatters.outputBlockFormatter }), - - new Method({ - name: 'getTransactionReceipt', - call: 'eth_getTransactionReceipt', - params: 1, - inputFormatter: [null], - outputFormatter: formatters.outputTransactionReceiptFormatter }), - - new Method({ - name: 'getCode', - call: 'eth_getCode', - params: 2, - inputFormatter: [formatters.inputAddressFormatter, formatters.inputDefaultBlockNumberFormatter] }), - - new Method({ - name: 'getTransactionByHash', - call: 'eth_getTransactionByHash', - params: 1, - inputFormatter: [null], - outputFormatter: formatters.outputTransactionFormatter }), - - new Subscriptions({ - name: 'subscribe', - type: 'eth', - subscriptions: { - 'newBlockHeaders': { - subscriptionName: 'newHeads', - params: 0, - outputFormatter: formatters.outputBlockFormatter } } })]; - - - - - // attach methods to this._ethereumCall - var _ethereumCall = {}; - _.each(_ethereumCalls, function (mthd) { - mthd.attachToObject(_ethereumCall); - mthd.requestManager = method.requestManager; // assign rather than call setRequestManager() - }); - // fire "receipt" and confirmation events and resolve after - var checkConfirmation = function checkConfirmation(existingReceipt, isPolling, err, blockHeader, sub) { - if (!err) { - // create fake unsubscribe - if (!sub) { - sub = { - unsubscribe: function unsubscribe() { - clearInterval(intervalId); - } }; - - } - // if we have a valid receipt we don't need to send a request - return (existingReceipt ? promiEvent.resolve(existingReceipt) : _ethereumCall.getTransactionReceipt(result)). - // catch error from requesting receipt - catch(function (err) { - sub.unsubscribe(); - promiseResolved = true; - utils._fireError({ - message: 'Failed to check for transaction receipt:', - data: err }, - defer.eventEmitter, defer.reject); - }) - // if CONFIRMATION listener exists check for confirmations, by setting canUnsubscribe = false - .then( /*#__PURE__*/function () {var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(receipt) {var block, latestBlock, latestBlockHash;return _regeneratorRuntime.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:if (!( - !receipt || !receipt.blockHash)) {_context.next = 2;break;}throw ( - new Error('Receipt missing or blockHash null'));case 2: - - // apply extra formatters - if (method.extraFormatters && method.extraFormatters.receiptFormatter) { - receipt = method.extraFormatters.receiptFormatter(receipt); - } - // check if confirmation listener exists - if (!(defer.eventEmitter.listeners('confirmation').length > 0)) {_context.next = 28;break;}if (!( - - - - - existingReceipt === undefined || confirmationCount !== 0)) {_context.next = 25;break;}_context.next = 7;return ( - - _ethereumCall.getBlockByNumber('latest'));case 7:latestBlock = _context.sent; - latestBlockHash = latestBlock ? latestBlock.hash : null;if (! - isPolling) {_context.next = 24;break;}if (! - lastBlock) {_context.next = 17;break;}_context.next = 13;return ( - _ethereumCall.getBlockByNumber(lastBlock.number + 1));case 13:block = _context.sent; - if (block) { - lastBlock = block; - defer.eventEmitter.emit('confirmation', confirmationCount, receipt, latestBlockHash); - }_context.next = 22;break;case 17:_context.next = 19;return ( - - - _ethereumCall.getBlockByNumber(receipt.blockNumber));case 19:block = _context.sent; - lastBlock = block; - defer.eventEmitter.emit('confirmation', confirmationCount, receipt, latestBlockHash);case 22:_context.next = 25;break;case 24: - - - - defer.eventEmitter.emit('confirmation', confirmationCount, receipt, latestBlockHash);case 25: - - - if (isPolling && block || !isPolling) { - confirmationCount++; - } - canUnsubscribe = false; - if (confirmationCount === method.transactionConfirmationBlocks + 1) {// add 1 so we account for conf 0 - sub.unsubscribe(); - defer.eventEmitter.removeAllListeners(); - }case 28:return _context.abrupt("return", - - receipt);case 29:case "end":return _context.stop();}}}, _callee);}));return function (_x) {return _ref.apply(this, arguments);};}()) - - // CHECK for CONTRACT DEPLOYMENT - .then( /*#__PURE__*/function () {var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(receipt) {var code, deploymentSuccess;return _regeneratorRuntime.wrap(function _callee2$(_context2) {while (1) {switch (_context2.prev = _context2.next) {case 0:if (!( - isContractDeployment && !promiseResolved)) {_context2.next = 19;break;}if ( - receipt.contractAddress) {_context2.next = 5;break;} - if (canUnsubscribe) { - sub.unsubscribe(); - promiseResolved = true; - } - utils._fireError(errors.NoContractAddressFoundError(receipt), defer.eventEmitter, defer.reject, null, receipt);return _context2.abrupt("return");case 5:_context2.prev = 5;_context2.next = 8;return ( - - - - - _ethereumCall.getCode(receipt.contractAddress));case 8:code = _context2.sent;_context2.next = 13;break;case 11:_context2.prev = 11;_context2.t0 = _context2["catch"](5);case 13:if ( - - - - - code) {_context2.next = 15;break;}return _context2.abrupt("return");case 15: - - - // If deployment is status.true and there was a real - // bytecode string, assume it was successful. - deploymentSuccess = receipt.status === true && hasBytecode; - if (deploymentSuccess || code.length > 2) { - defer.eventEmitter.emit('receipt', receipt); - // if contract, return instance instead of receipt - if (method.extraFormatters && method.extraFormatters.contractDeployFormatter) { - defer.resolve(method.extraFormatters.contractDeployFormatter(receipt)); - } else - { - defer.resolve(receipt); - } - // need to remove listeners, as they aren't removed automatically when succesfull - if (canUnsubscribe) { - defer.eventEmitter.removeAllListeners(); - } - } else - { - utils._fireError(errors.ContractCodeNotStoredError(receipt), defer.eventEmitter, defer.reject, null, receipt); - } - if (canUnsubscribe) { - sub.unsubscribe(); - } - promiseResolved = true;case 19:return _context2.abrupt("return", - - receipt);case 20:case "end":return _context2.stop();}}}, _callee2, null, [[5, 11]]);}));return function (_x2) {return _ref2.apply(this, arguments);};}()) - - // CHECK for normal tx check for receipt only - .then( /*#__PURE__*/function () {var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(receipt) {var revertMessage, txReplayOptions, rawTransactionHex, parsedTx;return _regeneratorRuntime.wrap(function _callee3$(_context3) {while (1) {switch (_context3.prev = _context3.next) {case 0:if (!( - !isContractDeployment && !promiseResolved)) {_context3.next = 35;break;}if (!( - !receipt.outOfGas && ( - !gasProvided || gasProvided !== receipt.gasUsed) && ( - receipt.status === true || receipt.status === '0x1' || typeof receipt.status === 'undefined'))) {_context3.next = 7;break;} - defer.eventEmitter.emit('receipt', receipt); - defer.resolve(receipt); - // need to remove listeners, as they aren't removed automatically when succesfull - if (canUnsubscribe) { - defer.eventEmitter.removeAllListeners(); - }_context3.next = 33;break;case 7: - - - receiptJSON = JSON.stringify(receipt, null, 2);if (!( - receipt.status === false || receipt.status === '0x0')) {_context3.next = 32;break;}_context3.prev = 9; - - revertMessage = null;if (!( - method.handleRevert && ( - method.call === 'eth_sendTransaction' || method.call === 'eth_sendRawTransaction'))) {_context3.next = 24;break;} - txReplayOptions = payload.params[0]; - // If send was raw, fetch the transaction and reconstitute the - // original params so they can be replayed with `eth_call` - if (method.call === 'eth_sendRawTransaction') { - rawTransactionHex = payload.params[0]; - parsedTx = EthersTransactionUtils.parse(rawTransactionHex); - txReplayOptions = formatters.inputTransactionFormatter({ - data: parsedTx.data, - to: parsedTx.to, - from: parsedTx.from, - gas: parsedTx.gasLimit.toHexString(), - gasPrice: parsedTx.gasPrice.toHexString(), - value: parsedTx.value.toHexString() }); - - } - // Get revert reason string with eth_call - _context3.next = 16;return method.getRevertReason(txReplayOptions, receipt.blockNumber);case 16:revertMessage = _context3.sent;if (! - revertMessage) {_context3.next = 21;break;} // Only throw a revert error if a revert reason is existing - utils._fireError(errors.TransactionRevertInstructionError(revertMessage.reason, revertMessage.signature, receipt), defer.eventEmitter, defer.reject, null, receipt);_context3.next = 22;break;case 21:throw ( - - - false);case 22:_context3.next = 25;break;case 24:throw ( - - - - false);case 25:_context3.next = 30;break;case 27:_context3.prev = 27;_context3.t0 = _context3["catch"](9); - - - - // Throw an normal revert error if no revert reason is given or the detection of it is disabled - utils._fireError(errors.TransactionRevertedWithoutReasonError(receipt), defer.eventEmitter, defer.reject, null, receipt);case 30:_context3.next = 33;break;case 32: - - - - // Throw OOG if status is not existing and provided gas and used gas are equal - utils._fireError(errors.TransactionOutOfGasError(receipt), defer.eventEmitter, defer.reject, null, receipt);case 33: - - - if (canUnsubscribe) { - sub.unsubscribe(); - } - promiseResolved = true;case 35:case "end":return _context3.stop();}}}, _callee3, null, [[9, 27]]);}));return function (_x3) {return _ref3.apply(this, arguments);};}()) - - - // time out the transaction if not mined after 50 blocks - .catch(function () { - timeoutCount++; - // check to see if we are http polling - if (!!isPolling) { - // polling timeout is different than transactionBlockTimeout blocks since we are triggering every second - if (timeoutCount - 1 >= method.transactionPollingTimeout) { - sub.unsubscribe(); - promiseResolved = true; - utils._fireError(errors.TransactionError('Transaction was not mined within ' + method.transactionPollingTimeout + ' seconds, please make sure your transaction was properly sent. Be aware that it might still be mined!'), defer.eventEmitter, defer.reject); - } - } else - { - if (timeoutCount - 1 >= method.transactionBlockTimeout) { - sub.unsubscribe(); - promiseResolved = true; - utils._fireError(errors.TransactionError('Transaction was not mined within ' + method.transactionBlockTimeout + ' blocks, please make sure your transaction was properly sent. Be aware that it might still be mined!'), defer.eventEmitter, defer.reject); - } - } - }); - } else - { - sub.unsubscribe(); - promiseResolved = true; - utils._fireError({ - message: 'Failed to subscribe to new newBlockHeaders to confirm the transaction receipts.', - data: err }, - defer.eventEmitter, defer.reject); - } - }; - // start watching for confirmation depending on the support features of the provider - var startWatching = function (existingReceipt) { - var startInterval = function startInterval() { - intervalId = setInterval(checkConfirmation.bind(null, existingReceipt, true), 1000); - }; - if (!this.requestManager.provider.on) { - startInterval(); - } else - { - _ethereumCall.subscribe('newBlockHeaders', function (err, blockHeader, sub) { - if (err || !blockHeader) { - // fall back to polling - startInterval(); - } else - { - checkConfirmation(existingReceipt, false, err, blockHeader, sub); - } - }); - } - }.bind(this); - // first check if we already have a confirmed transaction - _ethereumCall.getTransactionReceipt(result). - then(function (receipt) { - if (receipt && receipt.blockHash) { - if (defer.eventEmitter.listeners('confirmation').length > 0) { - // We must keep on watching for new Blocks, if a confirmation listener is present - startWatching(receipt); - } - checkConfirmation(receipt, false); - } else - if (!promiseResolved) { - startWatching(); - } - }). - catch(function () { - if (!promiseResolved) - startWatching(); - }); -}; -var getWallet = function getWallet(from, accounts) { - var wallet = null; - // is index given - if (_.isNumber(from)) { - wallet = accounts.wallet[from]; - // is account given - } else - if (_.isObject(from) && from.address && from.privateKey) { - wallet = from; - // search in wallet for address - } else - { - wallet = accounts.wallet[from.toLowerCase()]; - } - return wallet; -}; -Method.prototype.buildCall = function () { - var method = this,isSendTx = method.call === 'eth_sendTransaction' || method.call === 'eth_sendRawTransaction', // || method.call === 'personal_sendTransaction' - isCall = method.call === 'eth_call'; - // actual send function - var send = function send() { - var defer = promiEvent(!isSendTx),payload = method.toPayload(Array.prototype.slice.call(arguments)); - // CALLBACK function - var sendTxCallback = function sendTxCallback(err, result) { - if (method.handleRevert && isCall && method.abiCoder) { - var reasonData; - // Ganache / Geth <= 1.9.13 return the reason data as a successful eth_call response - // Geth >= 1.9.15 attaches the reason data to an error object. - // Geth 1.9.14 is missing revert reason (https://github.com/ethereum/web3.js/issues/3520) - if (!err && method.isRevertReasonString(result)) { - reasonData = result.substring(10); - } else - if (err && err.data) { - reasonData = err.data.substring(10); - } - if (reasonData) { - var reason = method.abiCoder.decodeParameter('string', '0x' + reasonData); - var signature = 'Error(String)'; - utils._fireError(errors.RevertInstructionError(reason, signature), defer.eventEmitter, defer.reject, payload.callback, { - reason: reason, - signature: signature }); - - return; - } - } - try { - result = method.formatOutput(result); - } - catch (e) { - err = e; - } - if (result instanceof Error) { - err = result; - } - if (!err) { - if (payload.callback) { - payload.callback(null, result); - } - } else - { - if (err.error) { - err = err.error; - } - return utils._fireError(err, defer.eventEmitter, defer.reject, payload.callback); - } - // return PROMISE - if (!isSendTx) { - if (!err) { - defer.resolve(result); - } - // return PROMIEVENT - } else - { - defer.eventEmitter.emit('transactionHash', result); - method._confirmTransaction(defer, result, payload); - } - }; - // SENDS the SIGNED SIGNATURE - var sendSignedTx = function sendSignedTx(sign) { - var signedPayload = _.extend({}, payload, { - method: 'eth_sendRawTransaction', - params: [sign.rawTransaction] }); - - method.requestManager.send(signedPayload, sendTxCallback); - }; - var sendRequest = function sendRequest(payload, method) { - if (method && method.accounts && method.accounts.wallet && method.accounts.wallet.length) { - var wallet; - // ETH_SENDTRANSACTION - if (payload.method === 'eth_sendTransaction') { - var tx = payload.params[0]; - wallet = getWallet(_.isObject(tx) ? tx.from : null, method.accounts); - // If wallet was found, sign tx, and send using sendRawTransaction - if (wallet && wallet.privateKey) { - var txOptions = _.omit(tx, 'from'); - if (method.defaultChain && !txOptions.chain) { - txOptions.chain = method.defaultChain; - } - if (method.defaultHardfork && !txOptions.hardfork) { - txOptions.hardfork = method.defaultHardfork; - } - if (method.defaultCommon && !txOptions.common) { - txOptions.common = method.defaultCommon; - } - method.accounts.signTransaction(txOptions, wallet.privateKey). - then(sendSignedTx). - catch(function (err) { - if (_.isFunction(defer.eventEmitter.listeners) && defer.eventEmitter.listeners('error').length) { - try { - defer.eventEmitter.emit('error', err); - } - catch (err) { - // Ignore userland error prevent it to bubble up within web3. - } - defer.eventEmitter.removeAllListeners(); - defer.eventEmitter.catch(function () { - }); - } - defer.reject(err); - }); - return; - } - // ETH_SIGN - } else - if (payload.method === 'eth_sign') { - var data = payload.params[1]; - wallet = getWallet(payload.params[0], method.accounts); - // If wallet was found, sign tx, and send using sendRawTransaction - if (wallet && wallet.privateKey) { - var sign = method.accounts.sign(data, wallet.privateKey); - if (payload.callback) { - payload.callback(null, sign.signature); - } - defer.resolve(sign.signature); - return; - } - } - } - return method.requestManager.send(payload, sendTxCallback); - }; - // Send the actual transaction - if (isSendTx && _.isObject(payload.params[0]) && typeof payload.params[0].gasPrice === 'undefined') { - var getGasPrice = new Method({ - name: 'getGasPrice', - call: 'eth_gasPrice', - params: 0 }). - createFunction(method.requestManager); - getGasPrice(function (err, gasPrice) { - if (gasPrice) { - payload.params[0].gasPrice = gasPrice; - } - if (isSendTx) { - setTimeout(function () { - defer.eventEmitter.emit('sending', payload); - }, 0); - } - sendRequest(payload, method); - }); - } else - { - if (isSendTx) { - setTimeout(function () { - defer.eventEmitter.emit('sending', payload); - }, 0); - } - sendRequest(payload, method); - } - if (isSendTx) { - setTimeout(function () { - defer.eventEmitter.emit('sent', payload); - }, 0); - } - return defer.eventEmitter; - }; - // necessary to attach things to the method - send.method = method; - // necessary for batch requests - send.request = this.request.bind(this); - return send; -}; -/** - * Returns the revert reason string if existing or otherwise false. - * - * @method getRevertReason - * - * @param {Object} txOptions - * @param {Number} blockNumber - * - * @returns {Promise} - */ -Method.prototype.getRevertReason = function (txOptions, blockNumber) { - var self = this; - return new Promise(function (resolve, reject) { - new Method({ - name: 'call', - call: 'eth_call', - params: 2, - abiCoder: self.abiCoder, - handleRevert: true }). - - createFunction(self.requestManager)(txOptions, utils.numberToHex(blockNumber)). - then(function () { - resolve(false); - }). - catch(function (error) { - if (error.reason) { - resolve({ - reason: error.reason, - signature: error.signature }); - - } else - { - reject(error); - } - }); - }); -}; -/** - * Checks if the given hex string is a revert message from the EVM - * - * @method isRevertReasonString - * - * @param {String} data - Hex string prefixed with 0x - * - * @returns {Boolean} - */ -Method.prototype.isRevertReasonString = function (data) { - return _.isString(data) && (data.length - 2) / 2 % 32 === 4 && data.substring(0, 10) === '0x08c379a0'; -}; -/** - * Should be called to create the pure JSONRPC request which can be used in a batch request - * - * @method request - * @return {Object} jsonrpc request - */ -Method.prototype.request = function () { - var payload = this.toPayload(Array.prototype.slice.call(arguments)); - payload.format = this.formatOutput.bind(this); - return payload; -}; -module.exports = Method; - -/***/ }), -/* 1041 */ -/*!********************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-promievent/lib/index.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file index.js - * @author Fabian Vogelsteller - * @date 2016 - */ - -var EventEmitter = __webpack_require__(/*! eventemitter3 */ 359); -/** - * This function generates a defer promise and adds eventEmitter functionality to it - * - * @method eventifiedPromise - */ -var PromiEvent = function PromiEvent(justPromise) { - var resolve,reject,eventEmitter = new Promise(function () { - resolve = arguments[0]; - reject = arguments[1]; - }); - if (justPromise) { - return { - resolve: resolve, - reject: reject, - eventEmitter: eventEmitter }; - - } - // get eventEmitter - var emitter = new EventEmitter(); - // add eventEmitter to the promise - eventEmitter._events = emitter._events; - eventEmitter.emit = emitter.emit; - eventEmitter.on = emitter.on; - eventEmitter.once = emitter.once; - eventEmitter.off = emitter.off; - eventEmitter.listeners = emitter.listeners; - eventEmitter.addListener = emitter.addListener; - eventEmitter.removeListener = emitter.removeListener; - eventEmitter.removeAllListeners = emitter.removeAllListeners; - return { - resolve: resolve, - reject: reject, - eventEmitter: eventEmitter }; - -}; -PromiEvent.resolve = function (value) { - var promise = PromiEvent(true); - promise.resolve(value); - return promise.eventEmitter; -}; -module.exports = PromiEvent; - -/***/ }), -/* 1042 */ -/*!***********************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-subscriptions/lib/index.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(__f__) {/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var Subscription = __webpack_require__(/*! ./subscription.js */ 1043); -var Subscriptions = function Subscriptions(options) { - this.name = options.name; - this.type = options.type; - this.subscriptions = options.subscriptions || {}; - this.requestManager = null; -}; -Subscriptions.prototype.setRequestManager = function (rm) { - this.requestManager = rm; -}; -Subscriptions.prototype.attachToObject = function (obj) { - var func = this.buildCall(); - var name = this.name.split('.'); - if (name.length > 1) { - obj[name[0]] = obj[name[0]] || {}; - obj[name[0]][name[1]] = func; - } else - { - obj[name[0]] = func; - } -}; -Subscriptions.prototype.buildCall = function () { - var _this = this; - return function () { - if (!_this.subscriptions[arguments[0]]) { - __f__("warn", 'Subscription ' + JSON.stringify(arguments[0]) + ' doesn\'t exist. Subscribing anyway.', " at node_modules/web3-core-subscriptions/lib/index.js:48"); - } - var subscription = new Subscription({ - subscription: _this.subscriptions[arguments[0]] || {}, - requestManager: _this.requestManager, - type: _this.type }); - - return subscription.subscribe.apply(subscription, arguments); - }; -}; -module.exports = { - subscriptions: Subscriptions, - subscription: Subscription }; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)["default"])) - -/***/ }), -/* 1043 */ -/*!******************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-core-subscriptions/lib/subscription.js ***! - \******************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file subscription.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var _ = __webpack_require__(/*! underscore */ 994); -var errors = __webpack_require__(/*! web3-core-helpers */ 995).errors; -var EventEmitter = __webpack_require__(/*! eventemitter3 */ 359); -var formatters = __webpack_require__(/*! web3-core-helpers */ 995).formatters; -function Subscription(options) { - EventEmitter.call(this); - this.id = null; - this.callback = _.identity; - this.arguments = null; - this.lastBlock = null; // "from" block tracker for backfilling events on reconnection - this.options = { - subscription: options.subscription, - type: options.type, - requestManager: options.requestManager }; - -} -// INHERIT -Subscription.prototype = Object.create(EventEmitter.prototype); -Subscription.prototype.constructor = Subscription; -/** - * Should be used to extract callback from array of arguments. Modifies input param - * - * @method extractCallback - * @param {Array} arguments - * @return {Function|Null} callback, if exists - */ -Subscription.prototype._extractCallback = function (args) { - if (_.isFunction(args[args.length - 1])) { - return args.pop(); // modify the args array! - } -}; -/** - * Should be called to check if the number of arguments is correct - * - * @method validateArgs - * @param {Array} arguments - * @throws {Error} if it is not - */ -Subscription.prototype._validateArgs = function (args) { - var subscription = this.options.subscription; - if (!subscription) - subscription = {}; - if (!subscription.params) - subscription.params = 0; - if (args.length !== subscription.params) { - throw errors.InvalidNumberOfParams(args.length, subscription.params, subscription.subscriptionName); - } -}; -/** - * Should be called to format input args of method - * - * @method formatInput - * @param {Array} - * @return {Array} - */ -Subscription.prototype._formatInput = function (args) { - var subscription = this.options.subscription; - if (!subscription) { - return args; - } - if (!subscription.inputFormatter) { - return args; - } - var formattedArgs = subscription.inputFormatter.map(function (formatter, index) { - return formatter ? formatter(args[index]) : args[index]; - }); - return formattedArgs; -}; -/** - * Should be called to format output(result) of method - * - * @method formatOutput - * @param result {Object} - * @return {Object} - */ -Subscription.prototype._formatOutput = function (result) { - var subscription = this.options.subscription; - return subscription && subscription.outputFormatter && result ? subscription.outputFormatter(result) : result; -}; -/** - * Should create payload from given input args - * - * @method toPayload - * @param {Array} args - * @return {Object} - */ -Subscription.prototype._toPayload = function (args) { - var params = []; - this.callback = this._extractCallback(args) || _.identity; - if (!this.subscriptionMethod) { - this.subscriptionMethod = args.shift(); - // replace subscription with given name - if (this.options.subscription.subscriptionName) { - this.subscriptionMethod = this.options.subscription.subscriptionName; - } - } - if (!this.arguments) { - this.arguments = this._formatInput(args); - this._validateArgs(this.arguments); - args = []; // make empty after validation - } - // re-add subscriptionName - params.push(this.subscriptionMethod); - params = params.concat(this.arguments); - if (args.length) { - throw new Error('Only a callback is allowed as parameter on an already instantiated subscription.'); - } - return { - method: this.options.type + '_subscribe', - params: params }; - -}; -/** - * Unsubscribes and clears callbacks - * - * @method unsubscribe - * @return {Object} - */ -Subscription.prototype.unsubscribe = function (callback) { - this.options.requestManager.removeSubscription(this.id, callback); - this.id = null; - this.lastBlock = null; - this.removeAllListeners(); -}; -/** - * Subscribes and watches for changes - * - * @method subscribe - * @param {String} subscription the subscription - * @param {Object} options the options object with address topics and fromBlock - * @return {Object} - */ -Subscription.prototype.subscribe = function () { - var _this = this; - var args = Array.prototype.slice.call(arguments); - var payload = this._toPayload(args); - if (!payload) { - return this; - } - // throw error, if provider is not set - if (!this.options.requestManager.provider) { - setTimeout(function () { - var err1 = new Error('No provider set.'); - _this.callback(err1, null, _this); - _this.emit('error', err1); - }, 0); - return this; - } - // throw error, if provider doesnt support subscriptions - if (!this.options.requestManager.provider.on) { - setTimeout(function () { - var err2 = new Error('The current provider doesn\'t support subscriptions: ' + - _this.options.requestManager.provider.constructor.name); - _this.callback(err2, null, _this); - _this.emit('error', err2); - }, 0); - return this; - } - // Re-subscription only: continue fetching from the last block we received. - // a dropped connection may have resulted in gaps in the logs... - if (this.lastBlock && _.isObject(this.options.params)) { - payload.params[1] = this.options.params; - payload.params[1].fromBlock = formatters.inputBlockNumberFormatter(this.lastBlock + 1); - } - // if id is there unsubscribe first - if (this.id) { - this.unsubscribe(); - } - // store the params in the options object - this.options.params = payload.params[1]; - // get past logs, if fromBlock is available - if (payload.params[0] === 'logs' && _.isObject(payload.params[1]) && payload.params[1].hasOwnProperty('fromBlock') && isFinite(payload.params[1].fromBlock)) { - // send the subscription request - // copy the params to avoid race-condition with deletion below this block - var blockParams = Object.assign({}, payload.params[1]); - this.options.requestManager.send({ - method: 'eth_getLogs', - params: [blockParams] }, - function (err, logs) { - if (!err) { - logs.forEach(function (log) { - var output = _this._formatOutput(log); - _this.callback(null, output, _this); - _this.emit('data', output); - }); - // TODO subscribe here? after the past logs? - } else - { - setTimeout(function () { - _this.callback(err, null, _this); - _this.emit('error', err); - }, 0); - } - }); - } - // create subscription - // TODO move to separate function? so that past logs can go first? - if (typeof payload.params[1] === 'object') - delete payload.params[1].fromBlock; - this.options.requestManager.send(payload, function (err, result) { - if (!err && result) { - _this.id = result; - _this.method = payload.params[0]; - _this.emit('connected', result); - // call callback on notifications - _this.options.requestManager.addSubscription(_this, function (error, result) { - if (!error) { - if (!_.isArray(result)) { - result = [result]; - } - result.forEach(function (resultItem) { - var output = _this._formatOutput(resultItem); - // Track current block (for gaps introduced by dropped connections) - _this.lastBlock = _.isObject(output) ? output.blockNumber : null; - if (_.isFunction(_this.options.subscription.subscriptionHandler)) { - return _this.options.subscription.subscriptionHandler.call(_this, output); - } else - { - _this.emit('data', output); - } - // call the callback, last so that unsubscribe there won't affect the emit above - _this.callback(null, output, _this); - }); - } else - { - _this.callback(error, false, _this); - _this.emit('error', error); - } - }); - } else - { - setTimeout(function () { - _this.callback(err, false, _this); - _this.emit('error', err); - }, 0); - } - }); - // return an object to cancel the subscription - return this; -}; -/** - * Resubscribe - * - * @method resubscribe - * - * @returns {void} - */ -Subscription.prototype.resubscribe = function () { - this.options.requestManager.removeSubscription(this.id); // unsubscribe - this.id = null; - this.subscribe(this.callback); -}; -module.exports = Subscription; - -/***/ }), -/* 1044 */ -/*!********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth/lib/index.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file index.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var _ = __webpack_require__(/*! underscore */ 994); -var core = __webpack_require__(/*! web3-core */ 992); -var helpers = __webpack_require__(/*! web3-core-helpers */ 995); -var Subscriptions = __webpack_require__(/*! web3-core-subscriptions */ 1042).subscriptions; -var Method = __webpack_require__(/*! web3-core-method */ 1040); -var utils = __webpack_require__(/*! web3-utils */ 998); -var Net = __webpack_require__(/*! web3-net */ 1045); -var ENS = __webpack_require__(/*! web3-eth-ens */ 1046); -var Personal = __webpack_require__(/*! web3-eth-personal */ 1084); -var BaseContract = __webpack_require__(/*! web3-eth-contract */ 1050); -var Iban = __webpack_require__(/*! web3-eth-iban */ 1007); -var Accounts = __webpack_require__(/*! web3-eth-accounts */ 1085); -var abi = __webpack_require__(/*! web3-eth-abi */ 1051); -var getNetworkType = __webpack_require__(/*! ./getNetworkType.js */ 1183); -var formatter = helpers.formatters; -var blockCall = function blockCall(args) { - return _.isString(args[0]) && args[0].indexOf('0x') === 0 ? "eth_getBlockByHash" : "eth_getBlockByNumber"; -}; -var transactionFromBlockCall = function transactionFromBlockCall(args) { - return _.isString(args[0]) && args[0].indexOf('0x') === 0 ? 'eth_getTransactionByBlockHashAndIndex' : 'eth_getTransactionByBlockNumberAndIndex'; -}; -var uncleCall = function uncleCall(args) { - return _.isString(args[0]) && args[0].indexOf('0x') === 0 ? 'eth_getUncleByBlockHashAndIndex' : 'eth_getUncleByBlockNumberAndIndex'; -}; -var getBlockTransactionCountCall = function getBlockTransactionCountCall(args) { - return _.isString(args[0]) && args[0].indexOf('0x') === 0 ? 'eth_getBlockTransactionCountByHash' : 'eth_getBlockTransactionCountByNumber'; -}; -var uncleCountCall = function uncleCountCall(args) { - return _.isString(args[0]) && args[0].indexOf('0x') === 0 ? 'eth_getUncleCountByBlockHash' : 'eth_getUncleCountByBlockNumber'; -}; -var Eth = function Eth() { - var _this = this; - // sets _requestmanager - core.packageInit(this, arguments); - // overwrite package setRequestManager - var setRequestManager = this.setRequestManager; - this.setRequestManager = function (manager) { - setRequestManager(manager); - _this.net.setRequestManager(manager); - _this.personal.setRequestManager(manager); - _this.accounts.setRequestManager(manager); - _this.Contract._requestManager = _this._requestManager; - _this.Contract.currentProvider = _this._provider; - return true; - }; - // overwrite setProvider - var setProvider = this.setProvider; - this.setProvider = function () { - setProvider.apply(_this, arguments); - _this.setRequestManager(_this._requestManager); - // Set detectedAddress/lastSyncCheck back to null because the provider could be connected to a different chain now - _this.ens._detectedAddress = null; - _this.ens._lastSyncCheck = null; - }; - var handleRevert = false; - var defaultAccount = null; - var defaultBlock = 'latest'; - var transactionBlockTimeout = 50; - var transactionConfirmationBlocks = 24; - var transactionPollingTimeout = 750; - var maxListenersWarningThreshold = 100; - var defaultChain, defaultHardfork, defaultCommon; - Object.defineProperty(this, 'handleRevert', { - get: function get() { - return handleRevert; - }, - set: function set(val) { - handleRevert = val; - // also set on the Contract object - _this.Contract.handleRevert = handleRevert; - // update handleRevert - methods.forEach(function (method) { - method.handleRevert = handleRevert; - }); - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultCommon', { - get: function get() { - return defaultCommon; - }, - set: function set(val) { - defaultCommon = val; - // also set on the Contract object - _this.Contract.defaultCommon = defaultCommon; - // update defaultBlock - methods.forEach(function (method) { - method.defaultCommon = defaultCommon; - }); - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultHardfork', { - get: function get() { - return defaultHardfork; - }, - set: function set(val) { - defaultHardfork = val; - // also set on the Contract object - _this.Contract.defaultHardfork = defaultHardfork; - // update defaultBlock - methods.forEach(function (method) { - method.defaultHardfork = defaultHardfork; - }); - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultChain', { - get: function get() { - return defaultChain; - }, - set: function set(val) { - defaultChain = val; - // also set on the Contract object - _this.Contract.defaultChain = defaultChain; - // update defaultBlock - methods.forEach(function (method) { - method.defaultChain = defaultChain; - }); - }, - enumerable: true }); - - Object.defineProperty(this, 'transactionPollingTimeout', { - get: function get() { - return transactionPollingTimeout; - }, - set: function set(val) { - transactionPollingTimeout = val; - // also set on the Contract object - _this.Contract.transactionPollingTimeout = transactionPollingTimeout; - // update defaultBlock - methods.forEach(function (method) { - method.transactionPollingTimeout = transactionPollingTimeout; - }); - }, - enumerable: true }); - - Object.defineProperty(this, 'transactionConfirmationBlocks', { - get: function get() { - return transactionConfirmationBlocks; - }, - set: function set(val) { - transactionConfirmationBlocks = val; - // also set on the Contract object - _this.Contract.transactionConfirmationBlocks = transactionConfirmationBlocks; - // update defaultBlock - methods.forEach(function (method) { - method.transactionConfirmationBlocks = transactionConfirmationBlocks; - }); - }, - enumerable: true }); - - Object.defineProperty(this, 'transactionBlockTimeout', { - get: function get() { - return transactionBlockTimeout; - }, - set: function set(val) { - transactionBlockTimeout = val; - // also set on the Contract object - _this.Contract.transactionBlockTimeout = transactionBlockTimeout; - // update defaultBlock - methods.forEach(function (method) { - method.transactionBlockTimeout = transactionBlockTimeout; - }); - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultAccount', { - get: function get() { - return defaultAccount; - }, - set: function set(val) { - if (val) { - defaultAccount = utils.toChecksumAddress(formatter.inputAddressFormatter(val)); - } - // also set on the Contract object - _this.Contract.defaultAccount = defaultAccount; - _this.personal.defaultAccount = defaultAccount; - // update defaultBlock - methods.forEach(function (method) { - method.defaultAccount = defaultAccount; - }); - return val; - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultBlock', { - get: function get() { - return defaultBlock; - }, - set: function set(val) { - defaultBlock = val; - // also set on the Contract object - _this.Contract.defaultBlock = defaultBlock; - _this.personal.defaultBlock = defaultBlock; - // update defaultBlock - methods.forEach(function (method) { - method.defaultBlock = defaultBlock; - }); - return val; - }, - enumerable: true }); - - Object.defineProperty(this, 'maxListenersWarningThreshold', { - get: function get() { - return maxListenersWarningThreshold; - }, - set: function set(val) { - if (_this.currentProvider && _this.currentProvider.setMaxListeners) { - maxListenersWarningThreshold = val; - _this.currentProvider.setMaxListeners(val); - } - }, - enumerable: true }); - - this.clearSubscriptions = _this._requestManager.clearSubscriptions.bind(_this._requestManager); - // add net - this.net = new Net(this); - // add chain detection - this.net.getNetworkType = getNetworkType.bind(this); - // add accounts - this.accounts = new Accounts(this); - // add personal - this.personal = new Personal(this); - this.personal.defaultAccount = this.defaultAccount; - // set warnings threshold - this.maxListenersWarningThreshold = maxListenersWarningThreshold; - // create a proxy Contract type for this instance, as a Contract's provider - // is stored as a class member rather than an instance variable. If we do - // not create this proxy type, changing the provider in one instance of - // web3-eth would subsequently change the provider for _all_ contract - // instances! - var self = this; - var Contract = function Contract() { - BaseContract.apply(this, arguments); - // when Eth.setProvider is called, call packageInit - // on all contract instances instantiated via this Eth - // instances. This will update the currentProvider for - // the contract instances - var _this = this; - var setProvider = self.setProvider; - self.setProvider = function () { - setProvider.apply(self, arguments); - core.packageInit(_this, [self]); - }; - }; - Contract.setProvider = function () { - BaseContract.setProvider.apply(this, arguments); - }; - // make our proxy Contract inherit from web3-eth-contract so that it has all - // the right functionality and so that instanceof and friends work properly - Contract.prototype = Object.create(BaseContract.prototype); - Contract.prototype.constructor = Contract; - // add contract - this.Contract = Contract; - this.Contract.defaultAccount = this.defaultAccount; - this.Contract.defaultBlock = this.defaultBlock; - this.Contract.transactionBlockTimeout = this.transactionBlockTimeout; - this.Contract.transactionConfirmationBlocks = this.transactionConfirmationBlocks; - this.Contract.transactionPollingTimeout = this.transactionPollingTimeout; - this.Contract.handleRevert = this.handleRevert; - this.Contract._requestManager = this._requestManager; - this.Contract._ethAccounts = this.accounts; - this.Contract.currentProvider = this._requestManager.provider; - // add IBAN - this.Iban = Iban; - // add ABI - this.abi = abi; - // add ENS - this.ens = new ENS(this); - var methods = [ - new Method({ - name: 'getNodeInfo', - call: 'web3_clientVersion' }), - - new Method({ - name: 'getProtocolVersion', - call: 'eth_protocolVersion', - params: 0 }), - - new Method({ - name: 'getCoinbase', - call: 'eth_coinbase', - params: 0 }), - - new Method({ - name: 'isMining', - call: 'eth_mining', - params: 0 }), - - new Method({ - name: 'getHashrate', - call: 'eth_hashrate', - params: 0, - outputFormatter: utils.hexToNumber }), - - new Method({ - name: 'isSyncing', - call: 'eth_syncing', - params: 0, - outputFormatter: formatter.outputSyncingFormatter }), - - new Method({ - name: 'getGasPrice', - call: 'eth_gasPrice', - params: 0, - outputFormatter: formatter.outputBigNumberFormatter }), - - new Method({ - name: 'getAccounts', - call: 'eth_accounts', - params: 0, - outputFormatter: utils.toChecksumAddress }), - - new Method({ - name: 'getBlockNumber', - call: 'eth_blockNumber', - params: 0, - outputFormatter: utils.hexToNumber }), - - new Method({ - name: 'getBalance', - call: 'eth_getBalance', - params: 2, - inputFormatter: [formatter.inputAddressFormatter, formatter.inputDefaultBlockNumberFormatter], - outputFormatter: formatter.outputBigNumberFormatter }), - - new Method({ - name: 'getStorageAt', - call: 'eth_getStorageAt', - params: 3, - inputFormatter: [formatter.inputAddressFormatter, utils.numberToHex, formatter.inputDefaultBlockNumberFormatter] }), - - new Method({ - name: 'getCode', - call: 'eth_getCode', - params: 2, - inputFormatter: [formatter.inputAddressFormatter, formatter.inputDefaultBlockNumberFormatter] }), - - new Method({ - name: 'getBlock', - call: blockCall, - params: 2, - inputFormatter: [formatter.inputBlockNumberFormatter, function (val) {return !!val;}], - outputFormatter: formatter.outputBlockFormatter }), - - new Method({ - name: 'getUncle', - call: uncleCall, - params: 2, - inputFormatter: [formatter.inputBlockNumberFormatter, utils.numberToHex], - outputFormatter: formatter.outputBlockFormatter }), - - new Method({ - name: 'getBlockTransactionCount', - call: getBlockTransactionCountCall, - params: 1, - inputFormatter: [formatter.inputBlockNumberFormatter], - outputFormatter: utils.hexToNumber }), - - new Method({ - name: 'getBlockUncleCount', - call: uncleCountCall, - params: 1, - inputFormatter: [formatter.inputBlockNumberFormatter], - outputFormatter: utils.hexToNumber }), - - new Method({ - name: 'getTransaction', - call: 'eth_getTransactionByHash', - params: 1, - inputFormatter: [null], - outputFormatter: formatter.outputTransactionFormatter }), - - new Method({ - name: 'getTransactionFromBlock', - call: transactionFromBlockCall, - params: 2, - inputFormatter: [formatter.inputBlockNumberFormatter, utils.numberToHex], - outputFormatter: formatter.outputTransactionFormatter }), - - new Method({ - name: 'getTransactionReceipt', - call: 'eth_getTransactionReceipt', - params: 1, - inputFormatter: [null], - outputFormatter: formatter.outputTransactionReceiptFormatter }), - - new Method({ - name: 'getTransactionCount', - call: 'eth_getTransactionCount', - params: 2, - inputFormatter: [formatter.inputAddressFormatter, formatter.inputDefaultBlockNumberFormatter], - outputFormatter: utils.hexToNumber }), - - new Method({ - name: 'sendSignedTransaction', - call: 'eth_sendRawTransaction', - params: 1, - inputFormatter: [null], - abiCoder: abi }), - - new Method({ - name: 'signTransaction', - call: 'eth_signTransaction', - params: 1, - inputFormatter: [formatter.inputTransactionFormatter] }), - - new Method({ - name: 'sendTransaction', - call: 'eth_sendTransaction', - params: 1, - inputFormatter: [formatter.inputTransactionFormatter], - abiCoder: abi }), - - new Method({ - name: 'sign', - call: 'eth_sign', - params: 2, - inputFormatter: [formatter.inputSignFormatter, formatter.inputAddressFormatter], - transformPayload: function transformPayload(payload) { - payload.params.reverse(); - return payload; - } }), - - new Method({ - name: 'call', - call: 'eth_call', - params: 2, - inputFormatter: [formatter.inputCallFormatter, formatter.inputDefaultBlockNumberFormatter], - abiCoder: abi }), - - new Method({ - name: 'estimateGas', - call: 'eth_estimateGas', - params: 1, - inputFormatter: [formatter.inputCallFormatter], - outputFormatter: utils.hexToNumber }), - - new Method({ - name: 'submitWork', - call: 'eth_submitWork', - params: 3 }), - - new Method({ - name: 'getWork', - call: 'eth_getWork', - params: 0 }), - - new Method({ - name: 'getPastLogs', - call: 'eth_getLogs', - params: 1, - inputFormatter: [formatter.inputLogFormatter], - outputFormatter: formatter.outputLogFormatter }), - - new Method({ - name: 'getChainId', - call: 'eth_chainId', - params: 0, - outputFormatter: utils.hexToNumber }), - - new Method({ - name: 'requestAccounts', - call: 'eth_requestAccounts', - params: 0, - outputFormatter: utils.toChecksumAddress }), - - new Method({ - name: 'getProof', - call: 'eth_getProof', - params: 3, - inputFormatter: [formatter.inputAddressFormatter, formatter.inputStorageKeysFormatter, formatter.inputDefaultBlockNumberFormatter], - outputFormatter: formatter.outputProofFormatter }), - - new Method({ - name: 'getPendingTransactions', - call: 'eth_pendingTransactions', - params: 0, - outputFormatter: formatter.outputTransactionFormatter }), - - // subscriptions - new Subscriptions({ - name: 'subscribe', - type: 'eth', - subscriptions: { - 'newBlockHeaders': { - // TODO rename on RPC side? - subscriptionName: 'newHeads', - params: 0, - outputFormatter: formatter.outputBlockFormatter }, - - 'pendingTransactions': { - subscriptionName: 'newPendingTransactions', - params: 0 }, - - 'logs': { - params: 1, - inputFormatter: [formatter.inputLogFormatter], - outputFormatter: formatter.outputLogFormatter, - // DUBLICATE, also in web3-eth-contract - subscriptionHandler: function subscriptionHandler(output) { - if (output.removed) { - this.emit('changed', output); - } else - { - this.emit('data', output); - } - if (_.isFunction(this.callback)) { - this.callback(null, output, this); - } - } }, - - 'syncing': { - params: 0, - outputFormatter: formatter.outputSyncingFormatter, - subscriptionHandler: function subscriptionHandler(output) { - var _this = this; - // fire TRUE at start - if (this._isSyncing !== true) { - this._isSyncing = true; - this.emit('changed', _this._isSyncing); - if (_.isFunction(this.callback)) { - this.callback(null, _this._isSyncing, this); - } - setTimeout(function () { - _this.emit('data', output); - if (_.isFunction(_this.callback)) { - _this.callback(null, output, _this); - } - }, 0); - // fire sync status - } else - { - this.emit('data', output); - if (_.isFunction(_this.callback)) { - this.callback(null, output, this); - } - // wait for some time before fireing the FALSE - clearTimeout(this._isSyncingTimeout); - this._isSyncingTimeout = setTimeout(function () { - if (output.currentBlock > output.highestBlock - 200) { - _this._isSyncing = false; - _this.emit('changed', _this._isSyncing); - if (_.isFunction(_this.callback)) { - _this.callback(null, _this._isSyncing, _this); - } - } - }, 500); - } - } } } })]; - - - - - methods.forEach(function (method) { - method.attachToObject(_this); - method.setRequestManager(_this._requestManager, _this.accounts); // second param is the eth.accounts module (necessary for signing transactions locally) - method.defaultBlock = _this.defaultBlock; - method.defaultAccount = _this.defaultAccount; - method.transactionBlockTimeout = _this.transactionBlockTimeout; - method.transactionConfirmationBlocks = _this.transactionConfirmationBlocks; - method.transactionPollingTimeout = _this.transactionPollingTimeout; - method.handleRevert = _this.handleRevert; - }); -}; -// Adds the static givenProvider and providers property to the Eth module -core.addProviders(Eth); -module.exports = Eth; - -/***/ }), -/* 1045 */ -/*!********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-net/lib/index.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var core = __webpack_require__(/*! web3-core */ 992); -var Method = __webpack_require__(/*! web3-core-method */ 1040); -var utils = __webpack_require__(/*! web3-utils */ 998); -var Net = function Net() { - var _this = this; - // sets _requestmanager - core.packageInit(this, arguments); - [ - new Method({ - name: 'getId', - call: 'net_version', - params: 0, - outputFormatter: parseInt }), - - new Method({ - name: 'isListening', - call: 'net_listening', - params: 0 }), - - new Method({ - name: 'getPeerCount', - call: 'net_peerCount', - params: 0, - outputFormatter: utils.hexToNumber })]. - - forEach(function (method) { - method.attachToObject(_this); - method.setRequestManager(_this._requestManager); - }); -}; -core.addProviders(Net); -module.exports = Net; - -/***/ }), -/* 1046 */ -/*!************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-ens/lib/index.js ***! - \************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * - * @author Samuel Furter - * @date 2018 - */ - -var ENS = __webpack_require__(/*! ./ENS */ 1047); -module.exports = ENS; - -/***/ }), -/* 1047 */ -/*!**********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-ens/lib/ENS.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file ENS.js - * - * @author Samuel Furter - * @date 2018 - */ -var _regeneratorRuntime = __webpack_require__(/*! ./node_modules/@babel/runtime/regenerator */ 44);function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};} -var _ = __webpack_require__(/*! underscore */ 994); -var config = __webpack_require__(/*! ./config */ 1048); -var formatters = __webpack_require__(/*! web3-core-helpers */ 995).formatters; -var utils = __webpack_require__(/*! web3-utils */ 998); -var Registry = __webpack_require__(/*! ./contracts/Registry */ 1049); -var ResolverMethodHandler = __webpack_require__(/*! ./lib/ResolverMethodHandler */ 1057); -var contenthash = __webpack_require__(/*! ./lib/contentHash */ 1058); -/** - * Constructs a new instance of ENS - * - * @param {Eth} eth - * - * @constructor - */ -function ENS(eth) { - this.eth = eth; - var registryAddress = null; - this._detectedAddress = null; - this._lastSyncCheck = null; - Object.defineProperty(this, 'registry', { - get: function get() { - return new Registry(this); - }, - enumerable: true }); - - Object.defineProperty(this, 'resolverMethodHandler', { - get: function get() { - return new ResolverMethodHandler(this.registry); - }, - enumerable: true }); - - Object.defineProperty(this, 'registryAddress', { - get: function get() { - return registryAddress; - }, - set: function set(value) { - if (value === null) { - registryAddress = value; - return; - } - registryAddress = formatters.inputAddressFormatter(value); - }, - enumerable: true }); - -} -/** - * Returns true if the given interfaceId is supported and otherwise false. - * - * @method supportsInterface - * - * @param {string} name - * @param {string} interfaceId - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -ENS.prototype.supportsInterface = function (name, interfaceId, callback) { - return this.getResolver(name).then(function (resolver) { - if (!utils.isHexStrict(interfaceId)) { - interfaceId = utils.sha3(interfaceId).slice(0, 10); - } - return resolver.methods.supportsInterface(interfaceId).call(callback); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - throw error; - }); -}; -/** - * Returns the Resolver by the given address - * - * @deprecated Please use the "getResolver" method instead of "resolver" - * - * @method resolver - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -ENS.prototype.resolver = function (name, callback) { - return this.registry.resolver(name, callback); -}; -/** - * Returns the Resolver by the given address - * - * @method getResolver - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -ENS.prototype.getResolver = function (name, callback) { - return this.registry.getResolver(name, callback); -}; -/** - * Does set the resolver of the given name - * - * @method setResolver - * - * @param {string} name - * @param {string} address - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setResolver = function (name, address, txConfig, callback) { - return this.registry.setResolver(name, address, txConfig, callback); -}; -/** - * Sets the owner, resolver, and TTL for an ENS record in a single operation. - * - * @method setRecord - * - * @param {string} name - * @param {string} owner - * @param {string} resolver - * @param {string | number} ttl - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setRecord = function (name, owner, resolver, ttl, txConfig, callback) { - return this.registry.setRecord(name, owner, resolver, ttl, txConfig, callback); -}; -/** - * Sets the owner, resolver and TTL for a subdomain, creating it if necessary. - * - * @method setSubnodeRecord - * - * @param {string} name - * @param {string} label - * @param {string} owner - * @param {string} resolver - * @param {string | number} ttl - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setSubnodeRecord = function (name, label, owner, resolver, ttl, txConfig, callback) { - return this.registry.setSubnodeRecord(name, label, owner, resolver, ttl, txConfig, callback); -}; -/** - * Sets or clears an approval by the given operator. - * - * @method setApprovalForAll - * - * @param {string} operator - * @param {boolean} approved - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setApprovalForAll = function (operator, approved, txConfig, callback) { - return this.registry.setApprovalForAll(operator, approved, txConfig, callback); -}; -/** - * Returns true if the operator is approved - * - * @method isApprovedForAll - * - * @param {string} owner - * @param {string} operator - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -ENS.prototype.isApprovedForAll = function (owner, operator, callback) { - return this.registry.isApprovedForAll(owner, operator, callback); -}; -/** - * Returns true if the record exists - * - * @method recordExists - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -ENS.prototype.recordExists = function (name, callback) { - return this.registry.recordExists(name, callback); -}; -/** - * Returns the address of the owner of an ENS name. - * - * @method setSubnodeOwner - * - * @param {string} name - * @param {string} label - * @param {string} address - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setSubnodeOwner = function (name, label, address, txConfig, callback) { - return this.registry.setSubnodeOwner(name, label, address, txConfig, callback); -}; -/** - * Returns the address of the owner of an ENS name. - * - * @method getTTL - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.getTTL = function (name, callback) { - return this.registry.getTTL(name, callback); -}; -/** - * Returns the address of the owner of an ENS name. - * - * @method setTTL - * - * @param {string} name - * @param {number} ttl - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setTTL = function (name, ttl, txConfig, callback) { - return this.registry.setTTL(name, ttl, txConfig, callback); -}; -/** - * Returns the owner by the given name and current configured or detected Registry - * - * @method getOwner - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.getOwner = function (name, callback) { - return this.registry.getOwner(name, callback); -}; -/** - * Returns the address of the owner of an ENS name. - * - * @method setOwner - * - * @param {string} name - * @param {string} address - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setOwner = function (name, address, txConfig, callback) { - return this.registry.setOwner(name, address, txConfig, callback); -}; -/** - * Returns the address record associated with a name. - * - * @method getAddress - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.getAddress = function (name, callback) { - return this.resolverMethodHandler.method(name, 'addr', []).call(callback); -}; -/** - * Sets a new address - * - * @method setAddress - * - * @param {string} name - * @param {string} address - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setAddress = function (name, address, txConfig, callback) { - return this.resolverMethodHandler.method(name, 'setAddr', [address]).send(txConfig, callback); -}; -/** - * Returns the public key - * - * @method getPubkey - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.getPubkey = function (name, callback) { - return this.resolverMethodHandler.method(name, 'pubkey', [], null, callback).call(callback); -}; -/** - * Set the new public key - * - * @method setPubkey - * - * @param {string} name - * @param {string} x - * @param {string} y - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setPubkey = function (name, x, y, txConfig, callback) { - return this.resolverMethodHandler.method(name, 'setPubkey', [x, y]).send(txConfig, callback); -}; -/** - * Returns the content - * - * @method getContent - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.getContent = function (name, callback) { - return this.resolverMethodHandler.method(name, 'content', []).call(callback); -}; -/** - * Set the content - * - * @method setContent - * - * @param {string} name - * @param {string} hash - * @param {function} callback - * @param {TransactionConfig} txConfig - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setContent = function (name, hash, txConfig, callback) { - return this.resolverMethodHandler.method(name, 'setContent', [hash]).send(txConfig, callback); -}; -/** - * Returns the contenthash - * - * @method getContenthash - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.getContenthash = function (name, callback) { - return this.resolverMethodHandler.method(name, 'contenthash', [], contenthash.decode).call(callback); -}; -/** - * Set the contenthash - * - * @method setContent - * - * @param {string} name - * @param {string} hash - * @param {function} callback - * @param {TransactionConfig} txConfig - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setContenthash = function (name, hash, txConfig, callback) { - var encoded; - try { - encoded = contenthash.encode(hash); - } - catch (err) { - var error = new Error('Could not encode ' + hash + '. See docs for supported hash protocols.'); - if (_.isFunction(callback)) { - callback(error, null); - return; - } - throw error; - } - return this.resolverMethodHandler.method(name, 'setContenthash', [encoded]).send(txConfig, callback); -}; -/** - * Get the multihash - * - * @method getMultihash - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.getMultihash = function (name, callback) { - return this.resolverMethodHandler.method(name, 'multihash', []).call(callback); -}; -/** - * Set the multihash - * - * @method setMultihash - * - * @param {string} name - * @param {string} hash - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -ENS.prototype.setMultihash = function (name, hash, txConfig, callback) { - return this.resolverMethodHandler.method(name, 'multihash', [hash]).send(txConfig, callback); -}; -/** - * Checks if the current used network is synced and looks for ENS support there. - * Throws an error if not. - * - * @returns {Promise} - */ -ENS.prototype.checkNetwork = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {var now, block, headAge, networkType, addr;return _regeneratorRuntime.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0: - now = new Date() / 1000;if (!( - !this._lastSyncCheck || now - this._lastSyncCheck > 3600)) {_context.next = 9;break;}_context.next = 4;return ( - this.eth.getBlock('latest'));case 4:block = _context.sent; - headAge = now - block.timestamp;if (!( - headAge > 3600)) {_context.next = 8;break;}throw ( - new Error("Network not synced; last block was " + headAge + " seconds ago"));case 8: - - this._lastSyncCheck = now;case 9:if (! - - this.registryAddress) {_context.next = 11;break;}return _context.abrupt("return", - this.registryAddress);case 11:if ( - - this._detectedAddress) {_context.next = 20;break;}_context.next = 14;return ( - this.eth.net.getNetworkType());case 14:networkType = _context.sent; - addr = config.addresses[networkType];if (!( - typeof addr === 'undefined')) {_context.next = 18;break;}throw ( - new Error("ENS is not supported on network " + networkType));case 18: - - this._detectedAddress = addr;return _context.abrupt("return", - this._detectedAddress);case 20:return _context.abrupt("return", - - this._detectedAddress);case 21:case "end":return _context.stop();}}}, _callee, this);})); - -module.exports = ENS; - -/***/ }), -/* 1048 */ -/*!*************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-ens/lib/config.js ***! - \*************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file config.js - * - * @author Samuel Furter - * @date 2017 - */ - -/** - * Source: https://docs.ens.domains/ens-deployments - * - * @type {{addresses: {main: string, rinkeby: string, goerli: string, ropsten: string}}} - */ -var config = { - addresses: { - main: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e", - ropsten: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e", - rinkeby: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e", - goerli: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e" }, - - // These ids obtained at ensdomains docs: - // https://docs.ens.domains/contract-developer-guide/writing-a-resolver - interfaceIds: { - addr: "0x3b3b57de", - setAddr: "0x3b3b57de", - pubkey: "0xc8690233", - setPubkey: "0xc8690233", - contenthash: "0xbc1c58d1", - setContenthash: "0xbc1c58d1", - content: "0xd8389dc5", - setContent: "0xd8389dc5" } }; - - -module.exports = config; - -/***/ }), -/* 1049 */ -/*!*************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-ens/lib/contracts/Registry.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(__f__) {/* - This file is part of web3.js. - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file Registry.js - * - * @author Samuel Furter - * @date 2018 - */ - -var _ = __webpack_require__(/*! underscore */ 994); -var Contract = __webpack_require__(/*! web3-eth-contract */ 1050); -var namehash = __webpack_require__(/*! eth-ens-namehash */ 1052); -var PromiEvent = __webpack_require__(/*! web3-core-promievent */ 1041); -var formatters = __webpack_require__(/*! web3-core-helpers */ 995).formatters; -var utils = __webpack_require__(/*! web3-utils */ 998); -var REGISTRY_ABI = __webpack_require__(/*! ../resources/ABI/Registry */ 1055); -var RESOLVER_ABI = __webpack_require__(/*! ../resources/ABI/Resolver */ 1056); -/** - * A wrapper around the ENS registry contract. - * - * @method Registry - * @param {Ens} ens - * @constructor - */ -function Registry(ens) { - var self = this; - this.ens = ens; - this.contract = ens.checkNetwork().then(function (address) { - var contract = new Contract(REGISTRY_ABI, address); - contract.setProvider(self.ens.eth.currentProvider); - return contract; - }); -} -/** - * Returns the address of the owner of an ENS name. - * - * @deprecated Please use the "getOwner" method instead of "owner" - * - * @method owner - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -Registry.prototype.owner = function (name, callback) { - __f__("warn", 'Deprecated: Please use the "getOwner" method instead of "owner".', " at node_modules/web3-eth-ens/lib/contracts/Registry.js:59"); - return this.getOwner(name, callback); -}; -/** - * Returns the address of the owner of an ENS name. - * - * @method getOwner - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -Registry.prototype.getOwner = function (name, callback) { - var promiEvent = new PromiEvent(true); - this.contract.then(function (contract) { - return contract.methods.owner(namehash.hash(name)).call(); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Returns the address of the owner of an ENS name. - * - * @method setOwner - * - * @param {string} name - * @param {string} address - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -Registry.prototype.setOwner = function (name, address, txConfig, callback) { - var promiEvent = new PromiEvent(true); - this.contract.then(function (contract) { - return contract.methods.setOwner(namehash.hash(name), formatters.inputAddressFormatter(address)).send(txConfig); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Returns the TTL of the given node by his name - * - * @method getTTL - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returnss {Promise} - */ -Registry.prototype.getTTL = function (name, callback) { - var promiEvent = new PromiEvent(true); - this.contract.then(function (contract) { - return contract.methods.ttl(namehash.hash(name)).call(); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Returns the address of the owner of an ENS name. - * - * @method setTTL - * - * @param {string} name - * @param {number} ttl - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -Registry.prototype.setTTL = function (name, ttl, txConfig, callback) { - var promiEvent = new PromiEvent(true); - this.contract.then(function (contract) { - return contract.methods.setTTL(namehash.hash(name), ttl).send(txConfig); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Returns the address of the owner of an ENS name. - * - * @method setSubnodeOwner - * - * @param {string} name - * @param {string} label - * @param {string} address - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -Registry.prototype.setSubnodeOwner = function (name, label, address, txConfig, callback) { - var promiEvent = new PromiEvent(true); - if (!utils.isHexStrict(label)) { - label = utils.sha3(label); - } - this.contract.then(function (contract) { - return contract.methods.setSubnodeOwner(namehash.hash(name), label, formatters.inputAddressFormatter(address)).send(txConfig); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Sets the owner, resolver, and TTL for an ENS record in a single operation. - * - * @method setRecord - * - * @param {string} name - * @param {string} owner - * @param {string} resolver - * @param {string | number} ttl - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -Registry.prototype.setRecord = function (name, owner, resolver, ttl, txConfig, callback) { - var promiEvent = new PromiEvent(true); - this.contract.then(function (contract) { - return contract.methods.setRecord(namehash.hash(name), formatters.inputAddressFormatter(owner), formatters.inputAddressFormatter(resolver), ttl).send(txConfig); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Sets the owner, resolver and TTL for a subdomain, creating it if necessary. - * - * @method setSubnodeRecord - * - * @param {string} name - * @param {string} label - * @param {string} owner - * @param {string} resolver - * @param {string | number} ttl - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -Registry.prototype.setSubnodeRecord = function (name, label, owner, resolver, ttl, txConfig, callback) { - var promiEvent = new PromiEvent(true); - if (!utils.isHexStrict(label)) { - label = utils.sha3(label); - } - this.contract.then(function (contract) { - return contract.methods.setSubnodeRecord(namehash.hash(name), label, formatters.inputAddressFormatter(owner), formatters.inputAddressFormatter(resolver), ttl).send(txConfig); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Sets or clears an approval by the given operator. - * - * @method setApprovalForAll - * - * @param {string} operator - * @param {boolean} approved - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -Registry.prototype.setApprovalForAll = function (operator, approved, txConfig, callback) { - var promiEvent = new PromiEvent(true); - this.contract.then(function (contract) { - return contract.methods.setApprovalForAll(formatters.inputAddressFormatter(operator), approved).send(txConfig); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Returns true if the operator is approved - * - * @method isApprovedForAll - * - * @param {string} owner - * @param {string} operator - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -Registry.prototype.isApprovedForAll = function (owner, operator, callback) { - var promiEvent = new PromiEvent(true); - this.contract.then(function (contract) { - return contract.methods.isApprovedForAll(formatters.inputAddressFormatter(owner), formatters.inputAddressFormatter(operator)).call(); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Returns true if the record exists - * - * @method recordExists - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -Registry.prototype.recordExists = function (name, callback) { - var promiEvent = new PromiEvent(true); - this.contract.then(function (contract) { - return contract.methods.recordExists(namehash.hash(name)).call(); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Returns the resolver contract associated with a name. - * - * @deprecated Please use the "getResolver" method instead of "resolver" - * - * @method resolver - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -Registry.prototype.resolver = function (name, callback) { - __f__("warn", 'Deprecated: Please use the "getResolver" method instead of "resolver".', " at node_modules/web3-eth-ens/lib/contracts/Registry.js:411"); - return this.getResolver(name, callback); -}; -/** - * Returns the resolver contract associated with a name. - * - * @method getResolver - * - * @param {string} name - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {Promise} - */ -Registry.prototype.getResolver = function (name, callback) { - var self = this; - return this.contract.then(function (contract) { - return contract.methods.resolver(namehash.hash(name)).call(); - }).then(function (address) { - var contract = new Contract(RESOLVER_ABI, address); - contract.setProvider(self.ens.eth.currentProvider); - if (_.isFunction(callback)) { - // It's required to pass the contract to the first argument to be backward compatible and to have the required consistency - callback(contract, contract); - return; - } - return contract; - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - throw error; - }); -}; -/** - * Returns the address of the owner of an ENS name. - * - * @method setResolver - * - * @param {string} name - * @param {string} address - * @param {TransactionConfig} txConfig - * @param {function} callback - * - * @callback callback callback(error, result) - * @returns {PromiEvent} - */ -Registry.prototype.setResolver = function (name, address, txConfig, callback) { - var promiEvent = new PromiEvent(true); - this.contract.then(function (contract) { - return contract.methods.setResolver(namehash.hash(name), formatters.inputAddressFormatter(address)).send(txConfig); - }).then(function (receipt) { - if (_.isFunction(callback)) { - // It's required to pass the receipt to the first argument to be backward compatible and to have the required consistency - callback(receipt, receipt); - return; - } - promiEvent.resolve(receipt); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -module.exports = Registry; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)["default"])) - -/***/ }), -/* 1050 */ -/*!*****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-contract/lib/index.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(__f__) {/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file contract.js - * - * To initialize a contract use: - * - * var Contract = require('web3-eth-contract'); - * Contract.setProvider('ws://localhost:8546'); - * var contract = new Contract(abi, address, ...); - * - * @author Fabian Vogelsteller - * @date 2017 - */ - -var _ = __webpack_require__(/*! underscore */ 994); -var core = __webpack_require__(/*! web3-core */ 992); -var Method = __webpack_require__(/*! web3-core-method */ 1040); -var utils = __webpack_require__(/*! web3-utils */ 998); -var Subscription = __webpack_require__(/*! web3-core-subscriptions */ 1042).subscription; -var formatters = __webpack_require__(/*! web3-core-helpers */ 995).formatters; -var errors = __webpack_require__(/*! web3-core-helpers */ 995).errors; -var promiEvent = __webpack_require__(/*! web3-core-promievent */ 1041); -var abi = __webpack_require__(/*! web3-eth-abi */ 1051); -/** - * Should be called to create new contract instance - * - * @method Contract - * @constructor - * @param {Array} jsonInterface - * @param {String} address - * @param {Object} options - */ -var Contract = function Contract(jsonInterface, address, options) { - var _this = this,args = Array.prototype.slice.call(arguments); - if (!(this instanceof Contract)) { - throw new Error('Please use the "new" keyword to instantiate a web3.eth.Contract() object!'); - } - this.setProvider = function () { - core.packageInit(_this, arguments); - _this.clearSubscriptions = _this._requestManager.clearSubscriptions; - }; - // sets _requestmanager - core.packageInit(this, [this.constructor]); - this.clearSubscriptions = this._requestManager.clearSubscriptions; - if (!jsonInterface || !Array.isArray(jsonInterface)) { - throw errors.ContractMissingABIError(); - } - // create the options object - this.options = {}; - var lastArg = args[args.length - 1]; - if (_.isObject(lastArg) && !_.isArray(lastArg)) { - options = lastArg; - this.options = _.extend(this.options, this._getOrSetDefaultOptions(options)); - if (_.isObject(address)) { - address = null; - } - } - // set address - Object.defineProperty(this.options, 'address', { - set: function set(value) { - if (value) { - _this._address = utils.toChecksumAddress(formatters.inputAddressFormatter(value)); - } - }, - get: function get() { - return _this._address; - }, - enumerable: true }); - - // add method and event signatures, when the jsonInterface gets set - Object.defineProperty(this.options, 'jsonInterface', { - set: function set(value) { - _this.methods = {}; - _this.events = {}; - _this._jsonInterface = value.map(function (method) { - var func, funcName; - // make constant and payable backwards compatible - method.constant = method.stateMutability === "view" || method.stateMutability === "pure" || method.constant; - method.payable = method.stateMutability === "payable" || method.payable; - if (method.name) { - funcName = utils._jsonInterfaceMethodToString(method); - } - // function - if (method.type === 'function') { - method.signature = abi.encodeFunctionSignature(funcName); - func = _this._createTxObject.bind({ - method: method, - parent: _this }); - - // add method only if not one already exists - if (!_this.methods[method.name]) { - _this.methods[method.name] = func; - } else - { - var cascadeFunc = _this._createTxObject.bind({ - method: method, - parent: _this, - nextMethod: _this.methods[method.name] }); - - _this.methods[method.name] = cascadeFunc; - } - // definitely add the method based on its signature - _this.methods[method.signature] = func; - // add method by name - _this.methods[funcName] = func; - // event - } else - if (method.type === 'event') { - method.signature = abi.encodeEventSignature(funcName); - var event = _this._on.bind(_this, method.signature); - // add method only if not already exists - if (!_this.events[method.name] || _this.events[method.name].name === 'bound ') - _this.events[method.name] = event; - // definitely add the method based on its signature - _this.events[method.signature] = event; - // add event by name - _this.events[funcName] = event; - } - return method; - }); - // add allEvents - _this.events.allEvents = _this._on.bind(_this, 'allevents'); - return _this._jsonInterface; - }, - get: function get() { - return _this._jsonInterface; - }, - enumerable: true }); - - // get default account from the Class - var defaultAccount = this.constructor.defaultAccount; - var defaultBlock = this.constructor.defaultBlock || 'latest'; - Object.defineProperty(this, 'handleRevert', { - get: function get() { - if (_this.options.handleRevert === false || _this.options.handleRevert === true) { - return _this.options.handleRevert; - } - return this.constructor.handleRevert; - }, - set: function set(val) { - _this.options.handleRevert = val; - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultCommon', { - get: function get() { - return _this.options.common || this.constructor.defaultCommon; - }, - set: function set(val) { - _this.options.common = val; - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultHardfork', { - get: function get() { - return _this.options.hardfork || this.constructor.defaultHardfork; - }, - set: function set(val) { - _this.options.hardfork = val; - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultChain', { - get: function get() { - return _this.options.chain || this.constructor.defaultChain; - }, - set: function set(val) { - _this.options.chain = val; - }, - enumerable: true }); - - Object.defineProperty(this, 'transactionPollingTimeout', { - get: function get() { - if (_this.options.transactionPollingTimeout === 0) { - return _this.options.transactionPollingTimeout; - } - return _this.options.transactionPollingTimeout || this.constructor.transactionPollingTimeout; - }, - set: function set(val) { - _this.options.transactionPollingTimeout = val; - }, - enumerable: true }); - - Object.defineProperty(this, 'transactionConfirmationBlocks', { - get: function get() { - if (_this.options.transactionConfirmationBlocks === 0) { - return _this.options.transactionConfirmationBlocks; - } - return _this.options.transactionConfirmationBlocks || this.constructor.transactionConfirmationBlocks; - }, - set: function set(val) { - _this.options.transactionConfirmationBlocks = val; - }, - enumerable: true }); - - Object.defineProperty(this, 'transactionBlockTimeout', { - get: function get() { - if (_this.options.transactionBlockTimeout === 0) { - return _this.options.transactionBlockTimeout; - } - return _this.options.transactionBlockTimeout || this.constructor.transactionBlockTimeout; - }, - set: function set(val) { - _this.options.transactionBlockTimeout = val; - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultAccount', { - get: function get() { - return defaultAccount; - }, - set: function set(val) { - if (val) { - defaultAccount = utils.toChecksumAddress(formatters.inputAddressFormatter(val)); - } - return val; - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultBlock', { - get: function get() { - return defaultBlock; - }, - set: function set(val) { - defaultBlock = val; - return val; - }, - enumerable: true }); - - // properties - this.methods = {}; - this.events = {}; - this._address = null; - this._jsonInterface = []; - // set getter/setter properties - this.options.address = address; - this.options.jsonInterface = jsonInterface; -}; -/** - * Sets the new provider, creates a new requestManager, registers the "data" listener on the provider and sets the - * accounts module for the Contract class. - * - * @method setProvider - * - * @param {string|provider} provider - * @param {Accounts} accounts - * - * @returns void - */ -Contract.setProvider = function (provider, accounts) { - // Contract.currentProvider = provider; - core.packageInit(this, [provider]); - this._ethAccounts = accounts; -}; -/** - * Get the callback and modify the array if necessary - * - * @method _getCallback - * @param {Array} args - * @return {Function} the callback - */ -Contract.prototype._getCallback = function getCallback(args) { - if (args && _.isFunction(args[args.length - 1])) { - return args.pop(); // modify the args array! - } -}; -/** - * Checks that no listener with name "newListener" or "removeListener" is added. - * - * @method _checkListener - * @param {String} type - * @param {String} event - * @return {Object} the contract instance - */ -Contract.prototype._checkListener = function (type, event) { - if (event === type) { - throw errors.ContractReservedEventError(type); - } -}; -/** - * Use default values, if options are not available - * - * @method _getOrSetDefaultOptions - * @param {Object} options the options gived by the user - * @return {Object} the options with gaps filled by defaults - */ -Contract.prototype._getOrSetDefaultOptions = function getOrSetDefaultOptions(options) { - var gasPrice = options.gasPrice ? String(options.gasPrice) : null; - var from = options.from ? utils.toChecksumAddress(formatters.inputAddressFormatter(options.from)) : null; - options.data = options.data || this.options.data; - options.from = from || this.options.from; - options.gasPrice = gasPrice || this.options.gasPrice; - options.gas = options.gas || options.gasLimit || this.options.gas; - // TODO replace with only gasLimit? - delete options.gasLimit; - return options; -}; -/** - * Should be used to encode indexed params and options to one final object - * - * @method _encodeEventABI - * @param {Object} event - * @param {Object} options - * @return {Object} everything combined together and encoded - */ -Contract.prototype._encodeEventABI = function (event, options) { - options = options || {}; - var filter = options.filter || {},result = {}; - ['fromBlock', 'toBlock'].filter(function (f) { - return options[f] !== undefined; - }).forEach(function (f) { - result[f] = formatters.inputBlockNumberFormatter(options[f]); - }); - // use given topics - if (_.isArray(options.topics)) { - result.topics = options.topics; - // create topics based on filter - } else - { - result.topics = []; - // add event signature - if (event && !event.anonymous && event.name !== 'ALLEVENTS') { - result.topics.push(event.signature); - } - // add event topics (indexed arguments) - if (event.name !== 'ALLEVENTS') { - var indexedTopics = event.inputs.filter(function (i) { - return i.indexed === true; - }).map(function (i) { - var value = filter[i.name]; - if (!value) { - return null; - } - // TODO: https://github.com/ethereum/web3.js/issues/344 - // TODO: deal properly with components - if (_.isArray(value)) { - return value.map(function (v) { - return abi.encodeParameter(i.type, v); - }); - } - return abi.encodeParameter(i.type, value); - }); - result.topics = result.topics.concat(indexedTopics); - } - if (!result.topics.length) - delete result.topics; - } - if (this.options.address) { - result.address = this.options.address.toLowerCase(); - } - return result; -}; -/** - * Should be used to decode indexed params and options - * - * @method _decodeEventABI - * @param {Object} data - * @return {Object} result object with decoded indexed && not indexed params - */ -Contract.prototype._decodeEventABI = function (data) { - var event = this; - data.data = data.data || ''; - data.topics = data.topics || []; - var result = formatters.outputLogFormatter(data); - // if allEvents get the right event - if (event.name === 'ALLEVENTS') { - event = event.jsonInterface.find(function (intf) { - return intf.signature === data.topics[0]; - }) || { anonymous: true }; - } - // create empty inputs if none are present (e.g. anonymous events on allEvents) - event.inputs = event.inputs || []; - // Handle case where an event signature shadows the current ABI with non-identical - // arg indexing. If # of topics doesn't match, event is anon. - if (!event.anonymous) { - var indexedInputs = 0; - event.inputs.forEach(function (input) {return input.indexed ? indexedInputs++ : null;}); - if (indexedInputs > 0 && data.topics.length !== indexedInputs + 1) { - event = { - anonymous: true, - inputs: [] }; - - } - } - var argTopics = event.anonymous ? data.topics : data.topics.slice(1); - result.returnValues = abi.decodeLog(event.inputs, data.data, argTopics); - delete result.returnValues.__length__; - // add name - result.event = event.name; - // add signature - result.signature = event.anonymous || !data.topics[0] ? null : data.topics[0]; - // move the data and topics to "raw" - result.raw = { - data: result.data, - topics: result.topics }; - - delete result.data; - delete result.topics; - return result; -}; -/** - * Encodes an ABI for a method, including signature or the method. - * Or when constructor encodes only the constructor parameters. - * - * @method _encodeMethodABI - * @param {Mixed} args the arguments to encode - * @param {String} the encoded ABI - */ -Contract.prototype._encodeMethodABI = function _encodeMethodABI() { - var methodSignature = this._method.signature,args = this.arguments || []; - var signature = false,paramsABI = this._parent.options.jsonInterface.filter(function (json) { - return methodSignature === 'constructor' && json.type === methodSignature || - (json.signature === methodSignature || json.signature === methodSignature.replace('0x', '') || json.name === methodSignature) && json.type === 'function'; - }).map(function (json) { - var inputLength = _.isArray(json.inputs) ? json.inputs.length : 0; - if (inputLength !== args.length) { - throw new Error('The number of arguments is not matching the methods required number. You need to pass ' + inputLength + ' arguments.'); - } - if (json.type === 'function') { - signature = json.signature; - } - return _.isArray(json.inputs) ? json.inputs : []; - }).map(function (inputs) { - return abi.encodeParameters(inputs, args).replace('0x', ''); - })[0] || ''; - // return constructor - if (methodSignature === 'constructor') { - if (!this._deployData) - throw new Error('The contract has no contract data option set. This is necessary to append the constructor parameters.'); - if (!this._deployData.startsWith('0x')) { - this._deployData = '0x' + this._deployData; - } - return this._deployData + paramsABI; - } - // return method - var returnValue = signature ? signature + paramsABI : paramsABI; - if (!returnValue) { - throw new Error('Couldn\'t find a matching contract method named "' + this._method.name + '".'); - } - return returnValue; -}; -/** - * Decode method return values - * - * @method _decodeMethodReturn - * @param {Array} outputs - * @param {String} returnValues - * @return {Object} decoded output return values - */ -Contract.prototype._decodeMethodReturn = function (outputs, returnValues) { - if (!returnValues) { - return null; - } - returnValues = returnValues.length >= 2 ? returnValues.slice(2) : returnValues; - var result = abi.decodeParameters(outputs, returnValues); - if (result.__length__ === 1) { - return result[0]; - } - delete result.__length__; - return result; -}; -/** - * Deploys a contract and fire events based on its state: transactionHash, receipt - * - * All event listeners will be removed, once the last possible event is fired ("error", or "receipt") - * - * @method deploy - * @param {Object} options - * @param {Function} callback - * @return {Object} EventEmitter possible events are "error", "transactionHash" and "receipt" - */ -Contract.prototype.deploy = function (options, callback) { - options = options || {}; - options.arguments = options.arguments || []; - options = this._getOrSetDefaultOptions(options); - // throw error, if no "data" is specified - if (!options.data) { - if (typeof callback === 'function') { - return callback(errors.ContractMissingDeployDataError()); - } - throw errors.ContractMissingDeployDataError(); - } - var constructor = _.find(this.options.jsonInterface, function (method) { - return method.type === 'constructor'; - }) || {}; - constructor.signature = 'constructor'; - return this._createTxObject.apply({ - method: constructor, - parent: this, - deployData: options.data, - _ethAccounts: this.constructor._ethAccounts }, - options.arguments); -}; -/** - * Gets the event signature and outputFormatters - * - * @method _generateEventOptions - * @param {Object} event - * @param {Object} options - * @param {Function} callback - * @return {Object} the event options object - */ -Contract.prototype._generateEventOptions = function () { - var args = Array.prototype.slice.call(arguments); - // get the callback - var callback = this._getCallback(args); - // get the options - var options = _.isObject(args[args.length - 1]) ? args.pop() : {}; - var eventName = _.isString(args[0]) ? args[0] : 'allevents'; - var event = eventName.toLowerCase() === 'allevents' ? { - name: 'ALLEVENTS', - jsonInterface: this.options.jsonInterface } : - this.options.jsonInterface.find(function (json) { - return json.type === 'event' && (json.name === eventName || json.signature === '0x' + eventName.replace('0x', '')); - }); - if (!event) { - throw errors.ContractEventDoesNotExistError(eventName); - } - if (!utils.isAddress(this.options.address)) { - throw errors.ContractNoAddressDefinedError(); - } - return { - params: this._encodeEventABI(event, options), - event: event, - callback: callback }; - -}; -/** - * Adds event listeners and creates a subscription, and remove it once its fired. - * - * @method clone - * @return {Object} the event subscription - */ -Contract.prototype.clone = function () { - return new this.constructor(this.options.jsonInterface, this.options.address, this.options); -}; -/** - * Adds event listeners and creates a subscription, and remove it once its fired. - * - * @method once - * @param {String} event - * @param {Object} options - * @param {Function} callback - * @return {Object} the event subscription - */ -Contract.prototype.once = function (event, options, callback) { - var args = Array.prototype.slice.call(arguments); - // get the callback - callback = this._getCallback(args); - if (!callback) { - throw errors.ContractOnceRequiresCallbackError(); - } - // don't allow fromBlock - if (options) - delete options.fromBlock; - // don't return as once shouldn't provide "on" - this._on(event, options, function (err, res, sub) { - sub.unsubscribe(); - if (_.isFunction(callback)) { - callback(err, res, sub); - } - }); - return undefined; -}; -/** - * Adds event listeners and creates a subscription. - * - * @method _on - * - * @param {String} event - * @param {Object} options - * @param {Function} callback - * - * @return {Object} the event subscription - */ -Contract.prototype._on = function () { - var subOptions = this._generateEventOptions.apply(this, arguments); - if (subOptions.params && subOptions.params.toBlock) { - delete subOptions.params.toBlock; - __f__("warn", 'Invalid option: toBlock. Use getPastEvents for specific range.', " at node_modules/web3-eth-contract/lib/index.js:595"); - } - // prevent the event "newListener" and "removeListener" from being overwritten - this._checkListener('newListener', subOptions.event.name); - this._checkListener('removeListener', subOptions.event.name); - // TODO check if listener already exists? and reuse subscription if options are the same. - // create new subscription - var subscription = new Subscription({ - subscription: { - params: 1, - inputFormatter: [formatters.inputLogFormatter], - outputFormatter: this._decodeEventABI.bind(subOptions.event), - // DUBLICATE, also in web3-eth - subscriptionHandler: function subscriptionHandler(output) { - if (output.removed) { - this.emit('changed', output); - } else - { - this.emit('data', output); - } - if (_.isFunction(this.callback)) { - this.callback(null, output, this); - } - } }, - - type: 'eth', - requestManager: this._requestManager }); - - subscription.subscribe('logs', subOptions.params, subOptions.callback || function () {}); - return subscription; -}; -/** - * Get past events from contracts - * - * @method getPastEvents - * @param {String} event - * @param {Object} options - * @param {Function} callback - * @return {Object} the promievent - */ -Contract.prototype.getPastEvents = function () { - var subOptions = this._generateEventOptions.apply(this, arguments); - var getPastLogs = new Method({ - name: 'getPastLogs', - call: 'eth_getLogs', - params: 1, - inputFormatter: [formatters.inputLogFormatter], - outputFormatter: this._decodeEventABI.bind(subOptions.event) }); - - getPastLogs.setRequestManager(this._requestManager); - var call = getPastLogs.buildCall(); - getPastLogs = null; - return call(subOptions.params, subOptions.callback); -}; -/** - * returns the an object with call, send, estimate functions - * - * @method _createTxObject - * @returns {Object} an object with functions to call the methods - */ -Contract.prototype._createTxObject = function _createTxObject() { - var args = Array.prototype.slice.call(arguments); - var txObject = {}; - if (this.method.type === 'function') { - txObject.call = this.parent._executeMethod.bind(txObject, 'call'); - txObject.call.request = this.parent._executeMethod.bind(txObject, 'call', true); // to make batch requests - } - txObject.send = this.parent._executeMethod.bind(txObject, 'send'); - txObject.send.request = this.parent._executeMethod.bind(txObject, 'send', true); // to make batch requests - txObject.encodeABI = this.parent._encodeMethodABI.bind(txObject); - txObject.estimateGas = this.parent._executeMethod.bind(txObject, 'estimate'); - if (args && this.method.inputs && args.length !== this.method.inputs.length) { - if (this.nextMethod) { - return this.nextMethod.apply(null, args); - } - throw errors.InvalidNumberOfParams(args.length, this.method.inputs.length, this.method.name); - } - txObject.arguments = args || []; - txObject._method = this.method; - txObject._parent = this.parent; - txObject._ethAccounts = this.parent.constructor._ethAccounts || this._ethAccounts; - if (this.deployData) { - txObject._deployData = this.deployData; - } - return txObject; -}; -/** - * Generates the options for the execute call - * - * @method _processExecuteArguments - * @param {Array} args - * @param {Promise} defer - */ -Contract.prototype._processExecuteArguments = function _processExecuteArguments(args, defer) { - var processedArgs = {}; - processedArgs.type = args.shift(); - // get the callback - processedArgs.callback = this._parent._getCallback(args); - // get block number to use for call - if (processedArgs.type === 'call' && args[args.length - 1] !== true && (_.isString(args[args.length - 1]) || isFinite(args[args.length - 1]))) - processedArgs.defaultBlock = args.pop(); - // get the options - processedArgs.options = _.isObject(args[args.length - 1]) ? args.pop() : {}; - // get the generateRequest argument for batch requests - processedArgs.generateRequest = args[args.length - 1] === true ? args.pop() : false; - processedArgs.options = this._parent._getOrSetDefaultOptions(processedArgs.options); - processedArgs.options.data = this.encodeABI(); - // add contract address - if (!this._deployData && !utils.isAddress(this._parent.options.address)) - throw errors.ContractNoAddressDefinedError(); - if (!this._deployData) - processedArgs.options.to = this._parent.options.address; - // return error, if no "data" is specified - if (!processedArgs.options.data) - return utils._fireError(new Error('Couldn\'t find a matching contract method, or the number of parameters is wrong.'), defer.eventEmitter, defer.reject, processedArgs.callback); - return processedArgs; -}; -/** - * Executes a call, transact or estimateGas on a contract function - * - * @method _executeMethod - * @param {String} type the type this execute function should execute - * @param {Boolean} makeRequest if true, it simply returns the request parameters, rather than executing it - */ -Contract.prototype._executeMethod = function _executeMethod() { - var _this = this,args = this._parent._processExecuteArguments.call(this, Array.prototype.slice.call(arguments), defer),defer = promiEvent(args.type !== 'send'),ethAccounts = _this.constructor._ethAccounts || _this._ethAccounts; - // simple return request for batch requests - if (args.generateRequest) { - var payload = { - params: [formatters.inputCallFormatter.call(this._parent, args.options)], - callback: args.callback }; - - if (args.type === 'call') { - payload.params.push(formatters.inputDefaultBlockNumberFormatter.call(this._parent, args.defaultBlock)); - payload.method = 'eth_call'; - payload.format = this._parent._decodeMethodReturn.bind(null, this._method.outputs); - } else - { - payload.method = 'eth_sendTransaction'; - } - return payload; - } - switch (args.type) { - case 'estimate': - var estimateGas = new Method({ - name: 'estimateGas', - call: 'eth_estimateGas', - params: 1, - inputFormatter: [formatters.inputCallFormatter], - outputFormatter: utils.hexToNumber, - requestManager: _this._parent._requestManager, - accounts: ethAccounts, - defaultAccount: _this._parent.defaultAccount, - defaultBlock: _this._parent.defaultBlock }). - createFunction(); - return estimateGas(args.options, args.callback); - case 'call': - // TODO check errors: missing "from" should give error on deploy and send, call ? - var call = new Method({ - name: 'call', - call: 'eth_call', - params: 2, - inputFormatter: [formatters.inputCallFormatter, formatters.inputDefaultBlockNumberFormatter], - // add output formatter for decoding - outputFormatter: function outputFormatter(result) { - return _this._parent._decodeMethodReturn(_this._method.outputs, result); - }, - requestManager: _this._parent._requestManager, - accounts: ethAccounts, - defaultAccount: _this._parent.defaultAccount, - defaultBlock: _this._parent.defaultBlock, - handleRevert: _this._parent.handleRevert, - abiCoder: abi }). - createFunction(); - return call(args.options, args.defaultBlock, args.callback); - case 'send': - // return error, if no "from" is specified - if (!utils.isAddress(args.options.from)) { - return utils._fireError(errors.ContractNoFromAddressDefinedError(), defer.eventEmitter, defer.reject, args.callback); - } - if (_.isBoolean(this._method.payable) && !this._method.payable && args.options.value && args.options.value > 0) { - return utils._fireError(new Error('Can not send value to non-payable contract method or constructor'), defer.eventEmitter, defer.reject, args.callback); - } - // make sure receipt logs are decoded - var extraFormatters = { - receiptFormatter: function receiptFormatter(receipt) { - if (_.isArray(receipt.logs)) { - // decode logs - var events = _.map(receipt.logs, function (log) { - return _this._parent._decodeEventABI.call({ - name: 'ALLEVENTS', - jsonInterface: _this._parent.options.jsonInterface }, - log); - }); - // make log names keys - receipt.events = {}; - var count = 0; - events.forEach(function (ev) { - if (ev.event) { - // if > 1 of the same event, don't overwrite any existing events - if (receipt.events[ev.event]) { - if (Array.isArray(receipt.events[ev.event])) { - receipt.events[ev.event].push(ev); - } else - { - receipt.events[ev.event] = [receipt.events[ev.event], ev]; - } - } else - { - receipt.events[ev.event] = ev; - } - } else - { - receipt.events[count] = ev; - count++; - } - }); - delete receipt.logs; - } - return receipt; - }, - contractDeployFormatter: function contractDeployFormatter(receipt) { - var newContract = _this._parent.clone(); - newContract.options.address = receipt.contractAddress; - return newContract; - } }; - - var sendTransaction = new Method({ - name: 'sendTransaction', - call: 'eth_sendTransaction', - params: 1, - inputFormatter: [formatters.inputTransactionFormatter], - requestManager: _this._parent._requestManager, - accounts: _this.constructor._ethAccounts || _this._ethAccounts, - defaultAccount: _this._parent.defaultAccount, - defaultBlock: _this._parent.defaultBlock, - transactionBlockTimeout: _this._parent.transactionBlockTimeout, - transactionConfirmationBlocks: _this._parent.transactionConfirmationBlocks, - transactionPollingTimeout: _this._parent.transactionPollingTimeout, - defaultCommon: _this._parent.defaultCommon, - defaultChain: _this._parent.defaultChain, - defaultHardfork: _this._parent.defaultHardfork, - handleRevert: _this._parent.handleRevert, - extraFormatters: extraFormatters, - abiCoder: abi }). - createFunction(); - return sendTransaction(args.options, args.callback); - default: - throw new Error('Method "' + args.type + '" not implemented.');} - -}; -module.exports = Contract; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)["default"])) - -/***/ }), -/* 1051 */ -/*!************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-abi/lib/index.js ***! - \************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file index.js - * @author Marek Kotewicz - * @author Fabian Vogelsteller - * @date 2018 - */ -var Buffer = __webpack_require__(/*! buffer */ 40).Buffer; -var _ = __webpack_require__(/*! underscore */ 994); -var utils = __webpack_require__(/*! web3-utils */ 998); -var EthersAbiCoder = __webpack_require__(/*! @ethersproject/abi */ 66).AbiCoder; -var ParamType = __webpack_require__(/*! @ethersproject/abi */ 66).ParamType; -var ethersAbiCoder = new EthersAbiCoder(function (type, value) { - if (type.match(/^u?int/) && !_.isArray(value) && (!_.isObject(value) || value.constructor.name !== 'BN')) { - return value.toString(); - } - return value; -}); -// result method -function Result() { -} -/** - * ABICoder prototype should be used to encode/decode solidity params of any type - */ -var ABICoder = function ABICoder() { -}; -/** - * Encodes the function name to its ABI representation, which are the first 4 bytes of the sha3 of the function name including types. - * - * @method encodeFunctionSignature - * @param {String|Object} functionName - * @return {String} encoded function name - */ -ABICoder.prototype.encodeFunctionSignature = function (functionName) { - if (_.isObject(functionName)) { - functionName = utils._jsonInterfaceMethodToString(functionName); - } - return utils.sha3(functionName).slice(0, 10); -}; -/** - * Encodes the function name to its ABI representation, which are the first 4 bytes of the sha3 of the function name including types. - * - * @method encodeEventSignature - * @param {String|Object} functionName - * @return {String} encoded function name - */ -ABICoder.prototype.encodeEventSignature = function (functionName) { - if (_.isObject(functionName)) { - functionName = utils._jsonInterfaceMethodToString(functionName); - } - return utils.sha3(functionName); -}; -/** - * Should be used to encode plain param - * - * @method encodeParameter - * - * @param {String|Object} type - * @param {any} param - * - * @return {String} encoded plain param - */ -ABICoder.prototype.encodeParameter = function (type, param) { - return this.encodeParameters([type], [param]); -}; -/** - * Should be used to encode list of params - * - * @method encodeParameters - * - * @param {Array} types - * @param {Array} params - * - * @return {String} encoded list of params - */ -ABICoder.prototype.encodeParameters = function (types, params) { - var self = this; - types = self.mapTypes(types); - params = params.map(function (param, index) { - var type = types[index]; - if (typeof type === 'object' && type.type) { - // We may get a named type of shape {name, type} - type = type.type; - } - param = self.formatParam(type, param); - // Format params for tuples - if (typeof type === 'string' && type.includes('tuple')) { - var _coder = ethersAbiCoder._getCoder(ParamType.from(type)); - var modifyParams = function modifyParams(coder, param) { - if (coder.name === 'array') { - return param.map(function (p) {return modifyParams(ethersAbiCoder._getCoder(ParamType.from(coder.type.replace('[]', ''))), p);}); - } - coder.coders.forEach(function (c, i) { - if (c.name === 'tuple') { - modifyParams(c, param[i]); - } else - { - param[i] = self.formatParam(c.name, param[i]); - } - }); - }; - modifyParams(_coder, param); - } - return param; - }); - return ethersAbiCoder.encode(types, params); -}; -/** - * Map types if simplified format is used - * - * @method mapTypes - * @param {Array} types - * @return {Array} - */ -ABICoder.prototype.mapTypes = function (types) { - var self = this; - var mappedTypes = []; - types.forEach(function (type) { - // Remap `function` type params to bytes24 since Ethers does not - // recognize former type. Solidity docs say `Function` is a bytes24 - // encoding the contract address followed by the function selector hash. - if (typeof type === 'object' && type.type === 'function') { - type = Object.assign({}, type, { type: "bytes24" }); - } - if (self.isSimplifiedStructFormat(type)) { - var structName = Object.keys(type)[0]; - mappedTypes.push(Object.assign(self.mapStructNameAndType(structName), { - components: self.mapStructToCoderFormat(type[structName]) })); - - return; - } - mappedTypes.push(type); - }); - return mappedTypes; -}; -/** - * Check if type is simplified struct format - * - * @method isSimplifiedStructFormat - * @param {string | Object} type - * @returns {boolean} - */ -ABICoder.prototype.isSimplifiedStructFormat = function (type) { - return typeof type === 'object' && typeof type.components === 'undefined' && typeof type.name === 'undefined'; -}; -/** - * Maps the correct tuple type and name when the simplified format in encode/decodeParameter is used - * - * @method mapStructNameAndType - * @param {string} structName - * @return {{type: string, name: *}} - */ -ABICoder.prototype.mapStructNameAndType = function (structName) { - var type = 'tuple'; - if (structName.indexOf('[]') > -1) { - type = 'tuple[]'; - structName = structName.slice(0, -2); - } - return { type: type, name: structName }; -}; -/** - * Maps the simplified format in to the expected format of the ABICoder - * - * @method mapStructToCoderFormat - * @param {Object} struct - * @return {Array} - */ -ABICoder.prototype.mapStructToCoderFormat = function (struct) { - var self = this; - var components = []; - Object.keys(struct).forEach(function (key) { - if (typeof struct[key] === 'object') { - components.push(Object.assign(self.mapStructNameAndType(key), { - components: self.mapStructToCoderFormat(struct[key]) })); - - return; - } - components.push({ - name: key, - type: struct[key] }); - - }); - return components; -}; -/** - * Handle some formatting of params for backwards compatability with Ethers V4 - * - * @method formatParam - * @param {String} - type - * @param {any} - param - * @return {any} - The formatted param - */ -ABICoder.prototype.formatParam = function (type, param) {var _this2 = this; - var paramTypeBytes = new RegExp(/^bytes([0-9]*)$/); - var paramTypeBytesArray = new RegExp(/^bytes([0-9]*)\[\]$/); - var paramTypeNumber = new RegExp(/^(u?int)([0-9]*)$/); - var paramTypeNumberArray = new RegExp(/^(u?int)([0-9]*)\[\]$/); - // Format BN to string - if (utils.isBN(param) || utils.isBigNumber(param)) { - return param.toString(10); - } - if (type.match(paramTypeBytesArray) || type.match(paramTypeNumberArray)) { - return param.map(function (p) {return _this2.formatParam(type.replace('[]', ''), p);}); - } - // Format correct width for u?int[0-9]* - var match = type.match(paramTypeNumber); - if (match) { - var size = parseInt(match[2] || "256"); - if (size / 8 < param.length) { - // pad to correct bit width - param = utils.leftPad(param, size); - } - } - // Format correct length for bytes[0-9]+ - match = type.match(paramTypeBytes); - if (match) { - if (Buffer.isBuffer(param)) { - param = utils.toHex(param); - } - // format to correct length - var _size = parseInt(match[1]); - if (_size) { - var maxSize = _size * 2; - if (param.substring(0, 2) === '0x') { - maxSize += 2; - } - if (param.length < maxSize) { - // pad to correct length - param = utils.rightPad(param, _size * 2); - } - } - // format odd-length bytes to even-length - if (param.length % 2 === 1) { - param = '0x0' + param.substring(2); - } - } - return param; -}; -/** - * Encodes a function call from its json interface and parameters. - * - * @method encodeFunctionCall - * @param {Array} jsonInterface - * @param {Array} params - * @return {String} The encoded ABI for this function call - */ -ABICoder.prototype.encodeFunctionCall = function (jsonInterface, params) { - return this.encodeFunctionSignature(jsonInterface) + this.encodeParameters(jsonInterface.inputs, params).replace('0x', ''); -}; -/** - * Should be used to decode bytes to plain param - * - * @method decodeParameter - * @param {String} type - * @param {String} bytes - * @return {Object} plain param - */ -ABICoder.prototype.decodeParameter = function (type, bytes) { - return this.decodeParameters([type], bytes)[0]; -}; -/** - * Should be used to decode list of params - * - * @method decodeParameter - * @param {Array} outputs - * @param {String} bytes - * @return {Array} array of plain params - */ -ABICoder.prototype.decodeParameters = function (outputs, bytes) { - return this.decodeParametersWith(outputs, bytes, false); -}; -/** - * Should be used to decode list of params - * - * @method decodeParameter - * @param {Array} outputs - * @param {String} bytes - * @param {Boolean} loose - * @return {Array} array of plain params - */ -ABICoder.prototype.decodeParametersWith = function (outputs, bytes, loose) { - if (outputs.length > 0 && (!bytes || bytes === '0x' || bytes === '0X')) { - throw new Error('Returned values aren\'t valid, did it run Out of Gas? ' + - 'You might also see this error if you are not using the ' + - 'correct ABI for the contract you are retrieving data from, ' + - 'requesting data from a block number that does not exist, ' + - 'or querying a node which is not fully synced.'); - } - var res = ethersAbiCoder.decode(this.mapTypes(outputs), '0x' + bytes.replace(/0x/i, ''), loose); - var returnValue = new Result(); - returnValue.__length__ = 0; - outputs.forEach(function (output, i) { - var decodedValue = res[returnValue.__length__]; - decodedValue = decodedValue === '0x' ? null : decodedValue; - returnValue[i] = decodedValue; - if (_.isObject(output) && output.name) { - returnValue[output.name] = decodedValue; - } - returnValue.__length__++; - }); - return returnValue; -}; -/** - * Decodes events non- and indexed parameters. - * - * @method decodeLog - * @param {Object} inputs - * @param {String} data - * @param {Array} topics - * @return {Array} array of plain params - */ -ABICoder.prototype.decodeLog = function (inputs, data, topics) { - var _this = this; - topics = _.isArray(topics) ? topics : [topics]; - data = data || ''; - var notIndexedInputs = []; - var indexedParams = []; - var topicCount = 0; - // TODO check for anonymous logs? - inputs.forEach(function (input, i) { - if (input.indexed) { - indexedParams[i] = ['bool', 'int', 'uint', 'address', 'fixed', 'ufixed'].find(function (staticType) { - return input.type.indexOf(staticType) !== -1; - }) ? _this.decodeParameter(input.type, topics[topicCount]) : topics[topicCount]; - topicCount++; - } else - { - notIndexedInputs[i] = input; - } - }); - var nonIndexedData = data; - var notIndexedParams = nonIndexedData ? this.decodeParametersWith(notIndexedInputs, nonIndexedData, true) : []; - var returnValue = new Result(); - returnValue.__length__ = 0; - inputs.forEach(function (res, i) { - returnValue[i] = res.type === 'string' ? '' : null; - if (typeof notIndexedParams[i] !== 'undefined') { - returnValue[i] = notIndexedParams[i]; - } - if (typeof indexedParams[i] !== 'undefined') { - returnValue[i] = indexedParams[i]; - } - if (res.name) { - returnValue[res.name] = returnValue[i]; - } - returnValue.__length__++; - }); - return returnValue; -}; -var coder = new ABICoder(); -module.exports = coder; - -/***/ }), -/* 1052 */ -/*!************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/eth-ens-namehash/index.js ***! - \************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer) {var sha3 = __webpack_require__(/*! js-sha3 */ 87).keccak_256; -var uts46 = __webpack_require__(/*! idna-uts46-hx */ 1053); - -function namehash(inputName) { - // Reject empty names: - var node = ''; - for (var i = 0; i < 32; i++) { - node += '00'; - } - - name = normalize(inputName); - - if (name) { - var labels = name.split('.'); - - for (var i = labels.length - 1; i >= 0; i--) { - var labelSha = sha3(labels[i]); - node = sha3(new Buffer(node + labelSha, 'hex')); - } - } - - return '0x' + node; -} - -function normalize(name) { - return name ? uts46.toUnicode(name, { useStd3ASCII: true, transitional: false }) : name; -} - -exports.hash = namehash; -exports.normalize = normalize; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1053 */ -/*!*********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/idna-uts46-hx/uts46.js ***! - \*********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (root, factory) { - /* istanbul ignore next */ - if (true) { - !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! punycode */ 1014), __webpack_require__(/*! ./idna-map */ 1054)], __WEBPACK_AMD_DEFINE_RESULT__ = (function (punycode, idna_map) { - return factory(punycode, idna_map); - }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } else - {} -})(this, function (punycode, idna_map) { - - function mapLabel(label, useStd3ASCII, transitional) { - var mapped = []; - var chars = punycode.ucs2.decode(label); - for (var i = 0; i < chars.length; i++) { - var cp = chars[i]; - var ch = punycode.ucs2.encode([chars[i]]); - var composite = idna_map.mapChar(cp); - var flags = composite >> 23; - var kind = composite >> 21 & 3; - var index = composite >> 5 & 0xffff; - var length = composite & 0x1f; - var value = idna_map.mapStr.substr(index, length); - if (kind === 0 || useStd3ASCII && flags & 1) { - throw new Error("Illegal char " + ch); - } else - if (kind === 1) { - mapped.push(value); - } else - if (kind === 2) { - mapped.push(transitional ? value : ch); - } - /* istanbul ignore next */else - if (kind === 3) { - mapped.push(ch); - } - } - - var newLabel = mapped.join("").normalize("NFC"); - return newLabel; - } - - function process(domain, transitional, useStd3ASCII) { - /* istanbul ignore if */ - if (useStd3ASCII === undefined) - useStd3ASCII = false; - var mappedIDNA = mapLabel(domain, useStd3ASCII, transitional); - - // Step 3. Break - var labels = mappedIDNA.split("."); - - // Step 4. Convert/Validate - labels = labels.map(function (label) { - if (label.startsWith("xn--")) { - label = punycode.decode(label.substring(4)); - validateLabel(label, useStd3ASCII, false); - } else - { - validateLabel(label, useStd3ASCII, transitional); - } - return label; - }); - - return labels.join("."); - } - - function validateLabel(label, useStd3ASCII, transitional) { - // 2. The label must not contain a U+002D HYPHEN-MINUS character in both the - // third position and fourth positions. - if (label[2] === '-' && label[3] === '-') - throw new Error("Failed to validate " + label); - - // 3. The label must neither begin nor end with a U+002D HYPHEN-MINUS - // character. - if (label.startsWith('-') || label.endsWith('-')) - throw new Error("Failed to validate " + label); - - // 4. The label must not contain a U+002E ( . ) FULL STOP. - // this should nerver happen as label is chunked internally by this character - /* istanbul ignore if */ - if (label.includes('.')) - throw new Error("Failed to validate " + label); - - if (mapLabel(label, useStd3ASCII, transitional) !== label) - throw new Error("Failed to validate " + label); - - // 5. The label must not begin with a combining mark, that is: - // General_Category=Mark. - var ch = label.codePointAt(0); - if (idna_map.mapChar(ch) & 0x2 << 23) - throw new Error("Label contains illegal character: " + ch); - } - - function toAscii(domain, options) { - if (options === undefined) - options = {}; - var transitional = 'transitional' in options ? options.transitional : true; - var useStd3ASCII = 'useStd3ASCII' in options ? options.useStd3ASCII : false; - var verifyDnsLength = 'verifyDnsLength' in options ? options.verifyDnsLength : false; - var labels = process(domain, transitional, useStd3ASCII).split('.'); - var asciiLabels = labels.map(punycode.toASCII); - var asciiString = asciiLabels.join('.'); - var i; - if (verifyDnsLength) { - if (asciiString.length < 1 || asciiString.length > 253) { - throw new Error("DNS name has wrong length: " + asciiString); - } - for (i = 0; i < asciiLabels.length; i++) {//for .. of replacement - var label = asciiLabels[i]; - if (label.length < 1 || label.length > 63) - throw new Error("DNS label has wrong length: " + label); - } - } - return asciiString; - } - - function toUnicode(domain, options) { - if (options === undefined) - options = {}; - var useStd3ASCII = 'useStd3ASCII' in options ? options.useStd3ASCII : false; - return process(domain, false, useStd3ASCII); - } - - return { - toUnicode: toUnicode, - toAscii: toAscii }; - -}); - -/***/ }), -/* 1054 */ -/*!************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/idna-uts46-hx/idna-map.js ***! - \************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* This file is generated from the Unicode IDNA table, using - the build-unicode-tables.py script. Please edit that - script instead of this file. */ - -/* istanbul ignore next */ -(function (root, factory) { - if (true) { - !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {return factory();}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), - __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); - } else {} -})(this, function () { - var blocks = [ - new Uint32Array([2157250, 2157314, 2157378, 2157442, 2157506, 2157570, 2157634, 0, 2157698, 2157762, 2157826, 2157890, 2157954, 0, 2158018, 0]), - new Uint32Array([2179041, 6291456, 2179073, 6291456, 2179105, 6291456, 2179137, 6291456, 2179169, 6291456, 2179201, 6291456, 2179233, 6291456, 2179265, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 14680064, 14680064, 14680064, 14680064, 14680064]), - new Uint32Array([0, 2113729, 2197345, 2197377, 2113825, 2197409, 2197441, 2113921, 2197473, 2114017, 2197505, 2197537, 2197569, 2197601, 2197633, 2197665]), - new Uint32Array([6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 23068672, 23068672, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 23068672, 23068672, 23068672, 0, 0, 0, 0, 23068672]), - new Uint32Array([14680064, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 14680064, 14680064]), - new Uint32Array([2196001, 2196033, 2196065, 2196097, 2196129, 2196161, 2196193, 2196225, 2196257, 2196289, 2196321, 2196353, 2196385, 2196417, 2196449, 2196481]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 6291456, 0, 0, 0, 0, 0]), - new Uint32Array([2097281, 2105921, 2097729, 2106081, 0, 2097601, 2162337, 2106017, 2133281, 2097505, 2105889, 2097185, 2097697, 2135777, 2097633, 2097441]), - new Uint32Array([2177025, 6291456, 2177057, 6291456, 2177089, 6291456, 2177121, 6291456, 2177153, 6291456, 2177185, 6291456, 2177217, 6291456, 2177249, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 0, 6291456, 6291456, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 6291456]), - new Uint32Array([0, 23068672, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 6291456]), - new Uint32Array([2134435, 2134531, 2134627, 2134723, 2134723, 2134819, 2134819, 2134915, 2134915, 2135011, 2105987, 2135107, 2135203, 2135299, 2131587, 2135395]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 6291456, 2168673, 2169249, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2147906, 2147970, 2148034, 2148098, 2148162, 2148226, 2148290, 2148354, 2147906, 2147970, 2148034, 2148098, 2148162, 2148226, 2148290, 2148354]), - new Uint32Array([2125219, 2125315, 2152834, 2152898, 2125411, 2152962, 2153026, 2125506, 2125507, 2125603, 2153090, 2153154, 2153218, 2153282, 2153346, 2105348]), - new Uint32Array([2203393, 6291456, 2203425, 6291456, 2203457, 6291456, 2203489, 6291456, 6291456, 6291456, 6291456, 2203521, 6291456, 2181281, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 23068672, 6291456, 2145538, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 6291456]), - new Uint32Array([2139426, 2160834, 2160898, 2160962, 2134242, 2161026, 2161090, 2161154, 2161218, 2161282, 2161346, 2161410, 2138658, 2161474, 2161538, 2134722]), - new Uint32Array([2119939, 2124930, 2125026, 2106658, 2125218, 2128962, 2129058, 2129154, 2129250, 2129346, 2129442, 2108866, 2108770, 2150466, 2150530, 2150594]), - new Uint32Array([2201601, 6291456, 2201633, 6291456, 2201665, 6291456, 2201697, 6291456, 2201729, 6291456, 2201761, 6291456, 2201793, 6291456, 2201825, 6291456]), - new Uint32Array([2193537, 2193569, 2193601, 2193633, 2193665, 2193697, 2193729, 2193761, 2193793, 2193825, 2193857, 2193889, 2193921, 2193953, 2193985, 2194017]), - new Uint32Array([6291456, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([0, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2190561, 6291456, 2190593, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2190625, 6291456, 2190657, 6291456, 23068672]), - new Uint32Array([2215905, 2215937, 2215969, 2216001, 2216033, 2216065, 2216097, 2216129, 2216161, 2216193, 2216225, 2216257, 2105441, 2216289, 2216321, 2216353]), - new Uint32Array([23068672, 18884130, 23068672, 23068672, 23068672, 6291456, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672]), - new Uint32Array([23068672, 23068672, 0, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2191233, 2191265, 2191297, 2191329, 2191361, 2191393, 2191425, 2117377, 2191457, 2191489, 2191521, 2191553, 2191585, 2191617, 2191649, 2117953]), - new Uint32Array([2132227, 2132323, 2132419, 2132419, 2132515, 2132515, 2132611, 2132707, 2132707, 2132803, 2132899, 2132899, 2132995, 2132995, 2133091, 2133187]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 6291456, 0, 0]), - new Uint32Array([2112481, 2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 10609889, 10610785, 10609921, 10610817, 2222241]), - new Uint32Array([6291456, 6291456, 6291456, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 0, 0]), - new Uint32Array([2219969, 2157121, 2157441, 2157505, 2157889, 2157953, 2220001, 2158465, 2158529, 10575617, 2156994, 2157058, 2129923, 2130019, 2157122, 2157186]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0]), - new Uint32Array([2185249, 6291456, 2185281, 6291456, 2185313, 6291456, 2185345, 6291456, 2185377, 6291456, 2185409, 6291456, 2185441, 6291456, 2185473, 6291456]), - new Uint32Array([0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 23068672, 23068672, 0, 0, 23068672, 23068672, 23068672, 6291456, 0]), - new Uint32Array([2183361, 6291456, 2183393, 6291456, 2183425, 6291456, 2183457, 6291456, 2183489, 6291456, 2183521, 6291456, 2183553, 6291456, 2183585, 6291456]), - new Uint32Array([2192161, 2192193, 2192225, 2192257, 2192289, 2192321, 2192353, 2192385, 2192417, 2192449, 2192481, 2192513, 2192545, 2192577, 2192609, 2192641]), - new Uint32Array([2212001, 2212033, 2212065, 2212097, 2212129, 2212161, 2212193, 2212225, 2212257, 2212289, 2212321, 2212353, 2212385, 2212417, 2212449, 2207265]), - new Uint32Array([2249825, 2249857, 2249889, 2249921, 2249954, 2250018, 2250082, 2250145, 2250177, 2250209, 2250241, 2250274, 2250337, 2250370, 2250433, 2250465]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2147905, 2147969, 2148033, 2148097, 2148161, 2148225, 2148289, 2148353]), - new Uint32Array([10485857, 6291456, 2197217, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 23068672, 23068672]), - new Uint32Array([0, 23068672, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456]), - new Uint32Array([2180353, 2180385, 2144033, 2180417, 2180449, 2180481, 2180513, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2112481, 2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 10610209, 10610465, 10610241, 10610753, 10609857]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 0, 0]), - new Uint32Array([2223842, 2223906, 2223970, 2224034, 2224098, 2224162, 2224226, 2224290, 2224354, 2224418, 2224482, 2224546, 2224610, 2224674, 2224738, 2224802]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 18923650, 23068672, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 23068672, 18923714, 23068672, 23068672]), - new Uint32Array([2126179, 2125538, 2126275, 2126371, 2126467, 2125634, 2126563, 2105603, 2105604, 2125346, 2126659, 2126755, 2126851, 2098179, 2098181, 2098182]), - new Uint32Array([2227426, 2227490, 2227554, 2227618, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2192353, 2240642, 2240642, 2240705, 2240737, 2240737, 2240769, 2240802, 2240866, 2240929, 2240961, 2240993, 2241025, 2241057, 2241089, 2241121]), - new Uint32Array([6291456, 2170881, 2170913, 2170945, 6291456, 2170977, 6291456, 2171009, 2171041, 6291456, 6291456, 6291456, 2171073, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2132226, 2132514, 2163586, 2132610, 2160386, 2133090, 2133186, 2160450, 2160514, 2160578, 2133570, 2106178, 2160642, 2133858, 2160706, 2160770]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 10532162, 10532226, 10532290, 10532354, 10532418, 10532482, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 23068672]), - new Uint32Array([2098209, 2108353, 2108193, 2108481, 2170241, 2111713, 2105473, 2105569, 2105601, 2112289, 2112481, 2098305, 2108321, 0, 0, 0]), - new Uint32Array([2209121, 2209153, 2209185, 2209217, 2209249, 2209281, 2209313, 2209345, 2209377, 2209409, 2209441, 2209473, 2207265, 2209505, 2209537, 2209569]), - new Uint32Array([2189025, 6291456, 2189057, 6291456, 2189089, 6291456, 2189121, 6291456, 2189153, 6291456, 2189185, 6291456, 2189217, 6291456, 2189249, 6291456]), - new Uint32Array([2173825, 2153473, 2173857, 2173889, 2173921, 2173953, 2173985, 2173761, 2174017, 2174049, 2174081, 2174113, 2174145, 2174177, 2149057, 2233057]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2165764, 2140004]), - new Uint32Array([2215105, 6291456, 2215137, 6291456, 6291456, 2215169, 2215201, 6291456, 6291456, 6291456, 2215233, 2215265, 2215297, 2215329, 2215361, 2215393]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 6291456, 6291456, 6291456, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([10505091, 10505187, 10505283, 10505379, 10505475, 10505571, 10505667, 10505763, 10505859, 10505955, 10506051, 10506147, 10506243, 10506339, 10506435, 10506531]), - new Uint32Array([2229730, 2229794, 2229858, 2229922, 2229986, 2230050, 2230114, 2230178, 2230242, 2230306, 2230370, 2230434, 2230498, 2230562, 2230626, 2230690]), - new Uint32Array([2105505, 2098241, 2108353, 2108417, 2105825, 0, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289, 2108193, 2112481, 2112577, 2098177]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 10502115, 10502178, 10502211, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([0, 23068672, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456]), - new Uint32Array([2190305, 6291456, 2190337, 6291456, 2190369, 6291456, 2190401, 6291456, 2190433, 6291456, 2190465, 6291456, 2190497, 6291456, 2190529, 6291456]), - new Uint32Array([2173793, 2173985, 2174017, 6291456, 2173761, 2173697, 6291456, 2174689, 6291456, 2174017, 2174721, 6291456, 6291456, 2174753, 2174785, 2174817]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2099521, 2099105, 2120705, 2098369, 2120801, 2103361, 2097985, 2098433, 2121377, 2121473, 2099169, 2099873, 2098401, 2099393, 2152609, 2100033]), - new Uint32Array([2132898, 2163842, 2163906, 2133282, 2132034, 2131938, 2137410, 2132802, 2132706, 2164866, 2133282, 2160578, 2165186, 2165186, 6291456, 6291456]), - new Uint32Array([10500003, 10500099, 10500195, 10500291, 10500387, 10500483, 10500579, 10500675, 10500771, 10500867, 10500963, 10501059, 10501155, 10501251, 10501347, 10501443]), - new Uint32Array([2163458, 2130978, 2131074, 2131266, 2131362, 2163522, 2160130, 2132066, 2131010, 2131106, 2106018, 2131618, 2131298, 2132034, 2131938, 2137410]), - new Uint32Array([2212961, 2116993, 2212993, 2213025, 2213057, 2213089, 2213121, 2213153, 2213185, 2213217, 2213249, 2209633, 2213281, 2213313, 2213345, 2213377]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456]), - new Uint32Array([2113729, 2113825, 2113921, 2114017, 2114113, 2114209, 2114305, 2114401, 2114497, 2114593, 2114689, 2114785, 2114881, 2114977, 2115073, 2115169]), - new Uint32Array([2238177, 2238209, 2238241, 2238273, 2238305, 2238337, 2238337, 2217537, 2238369, 2238401, 2238433, 2238465, 2215649, 2238497, 2238529, 2238561]), - new Uint32Array([2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 2098209, 2111137, 2105505, 2098241, 2108353, 2108417, 2105825, 2111713, 2100897, 2111905]), - new Uint32Array([6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 0, 0]), - new Uint32Array([6291456, 0, 6291456, 2145026, 0, 6291456, 2145090, 0, 6291456, 6291456, 0, 0, 23068672, 0, 23068672, 23068672]), - new Uint32Array([2099233, 2122017, 2200673, 2098113, 2121537, 2103201, 2200705, 2104033, 2121857, 2121953, 2122401, 2099649, 2099969, 2123009, 2100129, 2100289]), - new Uint32Array([6291456, 23068672, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 23068672, 23068672, 0, 0, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0]), - new Uint32Array([2187681, 2187713, 2187745, 2187777, 2187809, 2187841, 2187873, 2187905, 2187937, 2187969, 2188001, 2188033, 2188065, 2188097, 2188129, 2188161]), - new Uint32Array([0, 10554498, 10554562, 10554626, 10554690, 10554754, 10554818, 10554882, 10554946, 10555010, 10555074, 6291456, 6291456, 0, 0, 0]), - new Uint32Array([2235170, 2235234, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2181153, 6291456, 2188897, 6291456, 6291456, 2188929, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2111905, 2100865, 2188961, 2188993]), - new Uint32Array([2100833, 2100897, 0, 0, 2101569, 2101697, 2101825, 2101953, 2102081, 2102209, 10575617, 2187041, 10502177, 10489601, 10489697, 2112289]), - new Uint32Array([6291456, 2172833, 6291456, 2172865, 2172897, 2172929, 2172961, 6291456, 2172993, 6291456, 2173025, 6291456, 2173057, 6291456, 2173089, 6291456]), - new Uint32Array([6291456, 0, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 23068672, 6291456, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 2190721]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 23068672, 6291456, 6291456]), - new Uint32Array([2184993, 6291456, 2185025, 6291456, 2185057, 6291456, 2185089, 6291456, 2185121, 6291456, 2185153, 6291456, 2185185, 6291456, 2185217, 6291456]), - new Uint32Array([2115265, 2115361, 2115457, 2115553, 2115649, 2115745, 2115841, 2115937, 2116033, 2116129, 2116225, 2116321, 2150658, 2150722, 2200225, 6291456]), - new Uint32Array([2168321, 6291456, 2168353, 6291456, 2168385, 6291456, 2168417, 6291456, 2168449, 6291456, 2168481, 6291456, 2168513, 6291456, 2168545, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 0, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 6291456, 6291456, 0, 6291456, 0, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 2186625, 0, 0, 6291456, 6291456, 2186657, 2186689, 2186721, 2173505, 0, 10496067, 10496163, 10496259]), - new Uint32Array([2178785, 6291456, 2178817, 6291456, 2178849, 6291456, 2178881, 6291456, 2178913, 6291456, 2178945, 6291456, 2178977, 6291456, 2179009, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0]), - new Uint32Array([2097152, 0, 0, 0, 2097152, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456]), - new Uint32Array([6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([0, 0, 2197857, 2197889, 2197921, 2197953, 2197985, 2198017, 0, 0, 2198049, 2198081, 2198113, 2198145, 2198177, 2198209]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2098209, 2167297, 2111137, 6291456]), - new Uint32Array([2171393, 6291456, 2171425, 6291456, 2171457, 6291456, 2171489, 6291456, 2171521, 6291456, 2171553, 6291456, 2171585, 6291456, 2171617, 6291456]), - new Uint32Array([2206753, 2206785, 2195457, 2206817, 2206849, 2206881, 2206913, 2197153, 2197153, 2206945, 2117857, 2206977, 2207009, 2207041, 2207073, 2207105]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 23068672, 0, 0, 0, 0, 2144834, 2144898, 0, 2144962]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 23068672]), - new Uint32Array([2108193, 2112481, 2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 2098209, 0, 2105505, 2098241]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 2202049, 6291456, 2202081, 6291456, 2202113, 6291456, 2202145, 6291456, 2202177, 6291456, 2202209, 6291456, 2202241, 6291456]), - new Uint32Array([10501155, 10501251, 10501347, 10501443, 10501539, 10501635, 10501731, 10501827, 10501923, 10502019, 2141731, 2105505, 2098177, 2155586, 2166530, 0]), - new Uint32Array([2102081, 2102209, 2100833, 2100737, 2098337, 2101441, 2101569, 2101697, 2101825, 2101953, 2102081, 2102209, 2100833, 2100737, 2098337, 2101441]), - new Uint32Array([2146882, 2146946, 2147010, 2147074, 2147138, 2147202, 2147266, 2147330, 2146882, 2146946, 2147010, 2147074, 2147138, 2147202, 2147266, 2147330]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0]), - new Uint32Array([10502307, 10502403, 10502499, 10502595, 10502691, 10502787, 10502883, 10502979, 10503075, 10503171, 10503267, 10503363, 10503459, 10503555, 10503651, 10503747]), - new Uint32Array([2179937, 2179969, 2180001, 2180033, 2156545, 2180065, 2156577, 2180097, 2180129, 2180161, 2180193, 2180225, 2180257, 2180289, 2156737, 2180321]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 0, 0, 0, 6291456, 0, 0, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0]), - new Uint32Array([2227682, 2227746, 2227810, 2227874, 2227938, 2228002, 2228066, 2228130, 2228194, 2228258, 2228322, 2228386, 2228450, 2228514, 2228578, 2228642]), - new Uint32Array([2105601, 2169121, 2108193, 2170049, 2181025, 2181057, 2112481, 2108321, 2108289, 2181089, 2170497, 2100865, 2181121, 2173601, 2173633, 2173665]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2180641, 6291456, 6291456, 6291456]), - new Uint32Array([0, 6291456, 6291456, 6291456, 0, 6291456, 0, 6291456, 0, 0, 6291456, 6291456, 0, 6291456, 6291456, 6291456]), - new Uint32Array([2178273, 6291456, 2178305, 6291456, 2178337, 6291456, 2178369, 6291456, 2178401, 6291456, 2178433, 6291456, 2178465, 6291456, 2178497, 6291456]), - new Uint32Array([6291456, 6291456, 23068672, 23068672, 23068672, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456]), - new Uint32Array([2237377, 2237409, 2236225, 2237441, 2237473, 2217441, 2215521, 2215553, 2217473, 2237505, 2237537, 2209697, 2237569, 2215585, 2237601, 2237633]), - new Uint32Array([2221985, 2165601, 2165601, 2165665, 2165665, 2222017, 2222017, 2165729, 2165729, 2158913, 2158913, 2158913, 2158913, 2097281, 2097281, 2105921]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 23068672, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2149634, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2176897, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 2176929, 6291456, 2176961, 6291456, 2176993, 6291456]), - new Uint32Array([2172641, 6291456, 2172673, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2172705, 2172737, 6291456, 2172769, 2172801, 6291456]), - new Uint32Array([2099173, 2104196, 2121667, 2099395, 2121763, 2152258, 2152322, 2098946, 2152386, 2121859, 2121955, 2099333, 2122051, 2104324, 2099493, 2122147]), - new Uint32Array([6291456, 6291456, 6291456, 2145794, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 2145858, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 0, 0, 6291456, 0]), - new Uint32Array([0, 2105921, 2097729, 0, 2097377, 0, 0, 2106017, 0, 2097505, 2105889, 2097185, 2097697, 2135777, 2097633, 2097441]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2239074, 2239138, 2239201, 2239233, 2239265, 2239297, 2239329, 2239361, 0, 2239393, 2239425, 2239425, 2239458, 2239521, 2239553, 2209569]), - new Uint32Array([14680064, 2098209, 2111137, 2105505, 2098241, 2108353, 2108417, 2105825, 2111713, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289, 2108193]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 6291456, 23068672]), - new Uint32Array([2108321, 2108289, 2113153, 2098209, 2180897, 2180929, 2180961, 2111137, 2098241, 2108353, 2170241, 2170273, 2180993, 2105825, 6291456, 2105473]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2146114, 6291456, 6291456, 6291456, 0, 0, 0]), - new Uint32Array([2105921, 2105921, 2105921, 2222049, 2222049, 2130977, 2130977, 2130977, 2130977, 2160065, 2160065, 2160065, 2160065, 2097729, 2097729, 2097729]), - new Uint32Array([2218145, 2214785, 2207937, 2218177, 2218209, 2192993, 2210113, 2212769, 2218241, 2218273, 2216129, 2218305, 2216161, 2218337, 2218369, 2218401]), - new Uint32Array([0, 0, 0, 2156546, 2156610, 2156674, 2156738, 2156802, 0, 0, 0, 0, 0, 2156866, 23068672, 2156930]), - new Uint32Array([23068672, 23068672, 23068672, 0, 0, 0, 0, 23068672, 23068672, 0, 0, 23068672, 23068672, 23068672, 0, 0]), - new Uint32Array([2213409, 2213441, 2213473, 2213505, 2213537, 2213569, 2213601, 2213633, 2213665, 2195681, 2213697, 2213729, 2213761, 2213793, 2213825, 2213857]), - new Uint32Array([2100033, 2099233, 2122017, 2200673, 2098113, 2121537, 2103201, 2200705, 2104033, 2121857, 2121953, 2122401, 2099649, 2099969, 2123009, 2100129]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2201857, 6291456, 2201889, 6291456, 2201921, 6291456, 2201953, 6291456, 2201985, 6291456, 2202017, 6291456, 2176193, 2176257, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 23068672, 23068672, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2188193, 2188225, 2188257, 2188289, 2188321, 2188353, 2188385, 2188417, 2188449, 2188481, 2188513, 2188545, 2188577, 2188609, 2188641, 0]), - new Uint32Array([10554529, 2221089, 0, 10502113, 10562017, 10537921, 10538049, 2221121, 2221153, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2213889, 2213921, 2213953, 2213985, 2214017, 2214049, 2214081, 2194177, 2214113, 2214145, 2214177, 2214209, 2214241, 2214273, 2214305, 2214337]), - new Uint32Array([2166978, 2167042, 2099169, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2180545, 6291456, 6291456, 6291456]), - new Uint32Array([10518915, 10519011, 10519107, 10519203, 2162242, 2162306, 2159554, 2162370, 2159362, 2159618, 2105922, 2162434, 2159746, 2162498, 2159810, 2159874]), - new Uint32Array([2161730, 2161794, 2135586, 2161858, 2161922, 2137186, 2131810, 2160290, 2135170, 2161986, 2137954, 2162050, 2162114, 2162178, 10518723, 10518819]), - new Uint32Array([10506627, 10506723, 10506819, 10506915, 10507011, 10507107, 10507203, 10507299, 10507395, 10507491, 10507587, 10507683, 10507779, 10507875, 10507971, 10508067]), - new Uint32Array([6291456, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 0, 0, 0, 0, 0, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0]), - new Uint32Array([2175873, 2175905, 2175937, 2175969, 2176001, 2176033, 2176065, 2176097, 2176129, 2176161, 2176193, 2176225, 2176257, 2176289, 2176321, 2176353]), - new Uint32Array([2140006, 2140198, 2140390, 2140582, 2140774, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672]), - new Uint32Array([2108193, 2112481, 2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 2098209, 2111137, 2105505, 2098241]), - new Uint32Array([0, 23068672, 0, 0, 0, 0, 0, 0, 0, 2145154, 2145218, 2145282, 6291456, 0, 2145346, 0]), - new Uint32Array([0, 0, 0, 0, 10531458, 10495395, 2148545, 2143201, 2173473, 2148865, 2173505, 0, 2173537, 0, 2173569, 2149121]), - new Uint32Array([10537282, 10495683, 2148738, 2148802, 2148866, 0, 6291456, 2148930, 2186593, 2173473, 2148737, 2148865, 2148802, 10495779, 10495875, 10495971]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2215425, 2215457, 2215489, 2215521, 2215553, 2215585, 2215617, 2215649, 2215681, 2215713, 2215745, 2215777, 2192033, 2215809, 2215841, 2215873]), - new Uint32Array([2242049, 2242081, 2242113, 2242145, 2242177, 2242209, 2242241, 2242273, 2215937, 2242305, 2242338, 2242401, 2242433, 2242465, 2242497, 2216001]), - new Uint32Array([10554529, 2221089, 0, 0, 10562017, 10502113, 10538049, 10537921, 2221185, 10489601, 10489697, 10609889, 10609921, 2141729, 2141793, 10610273]), - new Uint32Array([2141923, 2142019, 2142115, 2142211, 2142307, 2142403, 2142499, 2142595, 2142691, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([0, 2221185, 2221217, 10609857, 10609857, 10489601, 10489697, 10609889, 10609921, 2141729, 2141793, 2221345, 2221377, 2221409, 2221441, 2187105]), - new Uint32Array([6291456, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 18923970, 23068672, 23068672, 23068672, 0, 6291456, 6291456]), - new Uint32Array([2183105, 6291456, 2183137, 6291456, 2183169, 6291456, 2183201, 6291456, 2183233, 6291456, 2183265, 6291456, 2183297, 6291456, 2183329, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2134434, 2134818, 2097666, 2097186, 2097474, 2097698, 2105986, 2131586, 2132450, 2131874, 2131778, 2135970, 2135778, 2161602, 2136162, 2161666]), - new Uint32Array([2236865, 2236897, 2236930, 2236993, 2237025, 2235681, 2237058, 2237121, 2237153, 2237185, 2237217, 2217281, 2237250, 2191233, 2237313, 2237345]), - new Uint32Array([2190049, 6291456, 2190081, 6291456, 2190113, 6291456, 2190145, 6291456, 2190177, 6291456, 2190209, 6291456, 2190241, 6291456, 2190273, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2101922, 2102050, 2102178, 2102306, 10498755, 10498851, 10498947, 10499043, 10499139, 10499235, 10499331, 10499427, 10499523, 10489604, 10489732, 10489860]), - new Uint32Array([2166914, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0]), - new Uint32Array([2181601, 2170561, 2181633, 2181665, 2170753, 2181697, 2172897, 2170881, 2181729, 2170913, 2172929, 2113441, 2181761, 2181793, 2171009, 2173761]), - new Uint32Array([0, 2105921, 2097729, 2106081, 0, 2097601, 2162337, 2106017, 2133281, 2097505, 0, 2097185, 2097697, 2135777, 2097633, 2097441]), - new Uint32Array([6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0]), - new Uint32Array([2248001, 2248033, 2248066, 2248130, 2248193, 2248226, 2248289, 2248322, 2248385, 2248417, 2216673, 2248450, 2248514, 2248577, 2248610, 2248673]), - new Uint32Array([6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 0, 0, 0]), - new Uint32Array([2169729, 6291456, 2169761, 6291456, 2169793, 6291456, 2169825, 6291456, 2169857, 2169889, 6291456, 2169921, 6291456, 2143329, 6291456, 2098305]), - new Uint32Array([2162178, 2163202, 2163266, 2135170, 2136226, 2161986, 2137954, 2159426, 2159490, 2163330, 2159554, 2163394, 2159682, 2139522, 2136450, 2159746]), - new Uint32Array([2173953, 2173985, 0, 2174017, 2174049, 2174081, 2174113, 2174145, 2174177, 2149057, 2174209, 2174241, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 4271169, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2174273]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 6291456, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 2190785, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2189793, 6291456, 2189825, 6291456, 2189857, 6291456, 2189889, 6291456, 2189921, 6291456, 2189953, 6291456, 2189985, 6291456, 2190017, 6291456]), - new Uint32Array([2105601, 2112289, 2108193, 2112481, 2112577, 0, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 0, 2098209, 2111137]), - new Uint32Array([2172129, 6291456, 2172161, 6291456, 2172193, 6291456, 2172225, 6291456, 2172257, 6291456, 2172289, 6291456, 2172321, 6291456, 2172353, 6291456]), - new Uint32Array([2214753, 6291456, 2214785, 6291456, 6291456, 2214817, 2214849, 2214881, 2214913, 2214945, 2214977, 2215009, 2215041, 2215073, 2194401, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([0, 0, 0, 0, 6291456, 6291456, 6291456, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([10610305, 10610337, 10575617, 2221761, 10610401, 10610433, 10502177, 0, 10610465, 10610497, 10610529, 10610561, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 23068672, 0, 0, 0, 0, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2187105, 2187137, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2199393, 2199425, 2199457, 2199489, 2199521, 2199553, 2199585, 2199617, 2199649, 2199681, 2199713, 2199745, 2199777, 2199809, 2199841, 0]), - new Uint32Array([2217249, 2217281, 2217313, 2217345, 2217377, 2217409, 2217441, 2217473, 2215617, 2217505, 2217537, 2217569, 2214753, 2217601, 2217633, 2217665]), - new Uint32Array([2170273, 2170305, 6291456, 2170337, 2170369, 6291456, 2170401, 2170433, 2170465, 6291456, 6291456, 6291456, 2170497, 2170529, 6291456, 2170561]), - new Uint32Array([2188673, 6291456, 2188705, 2188737, 2188769, 6291456, 6291456, 2188801, 6291456, 2188833, 6291456, 2188865, 6291456, 2180929, 2181505, 2180897]), - new Uint32Array([10489988, 10490116, 10490244, 10490372, 10490500, 10490628, 10490756, 10490884, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2147393, 2147457, 2147521, 2147585, 2147649, 2147713, 2147777, 2147841]), - new Uint32Array([23068672, 23068672, 0, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0]), - new Uint32Array([2241153, 2241185, 2241217, 2215809, 2241250, 2241313, 2241345, 2241377, 2217921, 2241377, 2241409, 2215873, 2241441, 2241473, 2241505, 2241537]), - new Uint32Array([23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2220417, 2220417, 2220449, 2220449, 2220481, 2220481, 2220513, 2220513, 2220545, 2220545, 2220577, 2220577, 2220609, 2220609, 2220641, 2220641]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2144002, 0, 6291456, 6291456, 0, 0, 6291456, 6291456, 6291456]), - new Uint32Array([2167105, 2167137, 2167169, 2167201, 2167233, 2167265, 2167297, 2167329, 2167361, 2167393, 2167425, 2167457, 2167489, 2167521, 2167553, 2167585]), - new Uint32Array([10575521, 2098209, 2111137, 2105505, 2098241, 2108353, 2108417, 2105825, 2111713, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289, 2108193]), - new Uint32Array([2234146, 2234210, 2234274, 2234338, 2234402, 2234466, 2234530, 2234594, 2234658, 2234722, 2234786, 2234850, 2234914, 2234978, 2235042, 2235106]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 2180577, 0, 0, 0, 0, 0, 2180609, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 6291456, 6291456]), - new Uint32Array([2098209, 2111137, 2105505, 2098241, 2108353, 2108417, 2105825, 2111713, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289, 2108193, 2112481]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2242529, 2242561, 2242593, 2242625, 2242657, 2242689, 2242721, 2242753, 2207937, 2218177, 2242785, 2242817, 2242849, 2242882, 2242945, 2242977]), - new Uint32Array([2118049, 2105345, 2118241, 2105441, 2118433, 2118529, 2118625, 2118721, 2118817, 2200257, 2200289, 2191809, 2200321, 2200353, 2200385, 2200417]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0]), - new Uint32Array([2185505, 6291456, 2185537, 6291456, 2185569, 6291456, 2185601, 6291456, 2185633, 6291456, 2185665, 6291456, 2185697, 6291456, 2185729, 6291456]), - new Uint32Array([2231970, 2232034, 2232098, 2232162, 2232226, 2232290, 2232354, 2232418, 2232482, 2232546, 2232610, 2232674, 2232738, 2232802, 2232866, 2232930]), - new Uint32Array([2218625, 2246402, 2246466, 2246530, 2246594, 2246657, 2246689, 2246689, 2218657, 2219681, 2246721, 2246753, 2246785, 2246818, 2246881, 2208481]), - new Uint32Array([2197025, 2197057, 2197089, 2197121, 2197153, 2197185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2219137, 2216961, 2219169, 2219201, 2219233, 2219265, 2219297, 2217025, 2215041, 2219329, 2217057, 2219361, 2217089, 2219393, 2197153, 2219426]), - new Uint32Array([23068672, 23068672, 23068672, 0, 0, 0, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 23068672, 0, 0]), - new Uint32Array([2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 2098209, 2111137, 2105505, 2098241, 2108353, 2108417, 2105825, 2111713]), - new Uint32Array([2243522, 2243585, 2243617, 2243649, 2243681, 2210113, 2243713, 2243746, 2243810, 2243874, 2243937, 2243970, 2244033, 2244065, 2244097, 2244129]), - new Uint32Array([2178017, 6291456, 2178049, 6291456, 2178081, 6291456, 2178113, 6291456, 2178145, 6291456, 2178177, 6291456, 2178209, 6291456, 2178241, 6291456]), - new Uint32Array([10553858, 2165314, 10518722, 6291456, 10518818, 0, 10518914, 2130690, 10519010, 2130786, 10519106, 2130882, 10519202, 2165378, 10554050, 2165506]), - new Uint32Array([0, 0, 2135491, 2135587, 2135683, 2135779, 2135875, 2135971, 2135971, 2136067, 2136163, 2136259, 2136355, 2136355, 2136451, 2136547]), - new Uint32Array([23068672, 23068672, 23068672, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2220033, 2220033, 2220065, 2220065, 2220065, 2220065, 2220097, 2220097, 2220097, 2220097, 2220129, 2220129, 2220129, 2220129, 2220161, 2220161]), - new Uint32Array([6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 0, 23068672, 0, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2100897, 2100898, 2100899, 2150018, 2100865, 2100866, 2100867, 2100868, 2150082, 2108481, 2109858, 2109859, 2105569, 2105505, 2098241, 2105601]), - new Uint32Array([2097217, 2097505, 2097505, 2097505, 2097505, 2165570, 2165570, 2165634, 2165634, 2165698, 2165698, 2097858, 2097858, 0, 0, 2097152]), - new Uint32Array([23068672, 6291456, 23068672, 23068672, 23068672, 6291456, 6291456, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672]), - new Uint32Array([23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0]), - new Uint32Array([10503843, 10503939, 10504035, 10504131, 10504227, 10504323, 10504419, 10504515, 10504611, 10504707, 10504803, 10504899, 10504995, 10491140, 10491268, 0]), - new Uint32Array([2173697, 2173729, 2148801, 2173761, 2143969, 2173793, 2173825, 2153473, 2173857, 2173889, 2173921, 2173953, 2173985, 2173761, 2174017, 2174049]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2134145, 2097153, 2134241, 2105953, 2132705, 2130977, 2160065, 2131297, 2162049, 2133089, 2160577, 2133857, 2235297, 2220769, 2235329, 2235361]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2222401, 2222433, 2222465, 10531394, 2222497, 2222529, 2222561, 0, 2222593, 2222625, 2222657, 2222689, 2222721, 2222753, 2222785, 0]), - new Uint32Array([2184481, 6291456, 2184513, 6291456, 2184545, 6291456, 2184577, 6291456, 2184609, 6291456, 2184641, 6291456, 2184673, 6291456, 2184705, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2105570, 2156034, 2126947, 2156098, 2153666, 2127043, 2127139, 2156162, 0, 2127235, 2156226, 2156290, 2156354, 2156418, 2127331, 2127427]), - new Uint32Array([2215905, 2207041, 2153185, 2241569, 2241601, 2241633, 2241665, 2241697, 2241730, 2241793, 2241825, 2241857, 2241889, 2241921, 2241954, 2242017]), - new Uint32Array([2203777, 6291456, 2203809, 6291456, 2203841, 6291456, 2203873, 6291456, 2203905, 6291456, 2173121, 2180993, 2181249, 2203937, 2181313, 0]), - new Uint32Array([2168577, 6291456, 2168609, 6291456, 2168641, 6291456, 2168673, 6291456, 2168705, 6291456, 2168737, 6291456, 2168769, 6291456, 2168801, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 23068672, 23068672, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 0, 0]), - new Uint32Array([2210113, 2195521, 2210145, 2210177, 2210209, 2210241, 2210273, 2210305, 2210337, 2210369, 2210401, 2210433, 2210465, 2210497, 2210529, 2210561]), - new Uint32Array([6291456, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0]), - new Uint32Array([2228706, 2228770, 2228834, 2228898, 2228962, 2229026, 2229090, 2229154, 2229218, 2229282, 2229346, 2229410, 2229474, 2229538, 2229602, 2229666]), - new Uint32Array([23068672, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 18874368, 18874368, 18874368, 0, 0]), - new Uint32Array([2133089, 2133281, 2133281, 2133281, 2133281, 2160577, 2160577, 2160577, 2160577, 2097441, 2097441, 2097441, 2097441, 2133857, 2133857, 2133857]), - new Uint32Array([6291456, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2173825, 2153473, 2173857, 2173889, 2173921, 2173953, 2173985, 2174017, 2174017, 2174049, 2174081, 2174113, 2174145, 2174177, 2149057, 2233089]), - new Uint32Array([2178529, 6291456, 2178561, 6291456, 2178593, 6291456, 2178625, 6291456, 2178657, 6291456, 2178689, 6291456, 2178721, 6291456, 2178753, 6291456]), - new Uint32Array([2221025, 2221025, 2221057, 2221057, 2159329, 2159329, 2159329, 2159329, 2097217, 2097217, 2158914, 2158914, 2158978, 2158978, 2159042, 2159042]), - new Uint32Array([2208161, 2208193, 2208225, 2208257, 2194433, 2208289, 2208321, 2208353, 2208385, 2208417, 2208449, 2208481, 2208513, 2208545, 2208577, 2208609]), - new Uint32Array([2169217, 6291456, 2169249, 6291456, 2169281, 6291456, 2169313, 6291456, 2169345, 6291456, 2169377, 6291456, 2169409, 6291456, 2169441, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2133187, 2133283, 2133283, 2133379, 2133475, 2133571, 2133667, 2133667, 2133763, 2133859, 2133955, 2134051, 2134147, 2134147, 2134243, 2134339]), - new Uint32Array([2197697, 2114113, 2114209, 2197729, 2197761, 2114305, 2197793, 2114401, 2114497, 2197825, 2114593, 2114689, 2114785, 2114881, 2114977, 0]), - new Uint32Array([2193089, 2193121, 2193153, 2193185, 2117665, 2117569, 2193217, 2193249, 2193281, 2193313, 2193345, 2193377, 2193409, 2193441, 2193473, 2193505]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2184225, 6291456, 2184257, 6291456, 2184289, 6291456, 2184321, 6291456, 2184353, 6291456, 2184385, 6291456, 2184417, 6291456, 2184449, 6291456]), - new Uint32Array([2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 2100833, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2098657, 2098049, 2200737, 2123489, 2123681, 2200769, 2098625, 2100321, 2098145, 2100449, 2098017, 2098753, 2200801, 2200833, 2200865, 0]), - new Uint32Array([23068672, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0]), - new Uint32Array([2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 2098209, 2111137, 0, 2098241, 2108353, 2108417, 2105825, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2181153, 2105505, 2181185, 2167617, 2180993]), - new Uint32Array([2160002, 2160066, 2160130, 2160194, 2160258, 2132066, 2131010, 2131106, 2106018, 2131618, 2160322, 2131298, 2132034, 2131938, 2137410, 2132226]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6291456]), - new Uint32Array([2183617, 6291456, 2183649, 6291456, 2183681, 6291456, 2183713, 6291456, 2183745, 6291456, 2183777, 6291456, 2183809, 6291456, 2183841, 6291456]), - new Uint32Array([0, 6291456, 6291456, 0, 6291456, 0, 0, 6291456, 6291456, 0, 6291456, 0, 0, 6291456, 0, 0]), - new Uint32Array([2250977, 2251009, 2251041, 2251073, 2195009, 2251106, 2251169, 2251201, 2251233, 2251265, 2251297, 2251330, 2251394, 2251457, 2251489, 2251521]), - new Uint32Array([2205729, 2205761, 2205793, 2205825, 2205857, 2205889, 2205921, 2205953, 2205985, 2206017, 2206049, 2206081, 2206113, 2206145, 2206177, 2206209]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2143170, 2168993, 6291456, 2169025, 6291456, 2169057, 6291456, 2169089, 6291456, 2143234, 2169121, 6291456, 2169153, 6291456, 2169185, 6291456]), - new Uint32Array([23068672, 23068672, 2190689, 6291456, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2248706, 2248769, 2248801, 2248833, 2248865, 2248897, 2248929, 2248962, 2249026, 2249090, 2249154, 2240705, 2249217, 2249249, 2249281, 2249313]), - new Uint32Array([10485857, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 10495394, 6291456, 2098209, 6291456, 6291456, 2097152, 6291456, 10531394]), - new Uint32Array([0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0]), - new Uint32Array([14680064, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2173985, 2173953, 2148481, 2173601, 2173633, 2173665, 2173697, 2173729, 2148801, 2173761, 2143969, 2173793, 2173825, 2153473, 2173857, 2173889]), - new Uint32Array([6291456, 2186977, 6291456, 6291456, 6291456, 6291456, 6291456, 10537858, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2209601, 2209633, 2209665, 2209697, 2209729, 2209761, 2209793, 2209825, 2209857, 2209889, 2209921, 2209953, 2209985, 2210017, 2210049, 2210081]), - new Uint32Array([10501539, 10501635, 10501731, 10501827, 10501923, 10502019, 2098209, 2111137, 2105505, 2098241, 2108353, 2108417, 2105825, 2111713, 2100897, 2111905]), - new Uint32Array([2173697, 2173729, 2148801, 2173761, 2143969, 2173793, 2173825, 2153473, 2173857, 2173889, 2173921, 2173953, 2173985, 2174017, 2174017, 2174049]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 0, 0]), - new Uint32Array([6291456, 6291456, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2194561, 2194593, 2194625, 2119777, 2119873, 2194657, 2194689, 2194721, 2194753, 2194785, 2194817, 2194849, 2194881, 2194913, 2194945, 2194977]), - new Uint32Array([2113153, 2108481, 2113345, 2113441, 2098209, 2111137, 2105505, 2098241, 2108353, 2108417, 2105825, 2111713, 2100897, 2111905, 2105473, 2105569]), - new Uint32Array([2222818, 2222882, 2222946, 2223010, 2223074, 2223138, 2223202, 2223266, 2223330, 2223394, 2223458, 2223522, 2223586, 2223650, 2223714, 2223778]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672]), - new Uint32Array([0, 2179553, 2179585, 2179617, 2179649, 2144001, 2179681, 2179713, 2179745, 2179777, 2179809, 2156705, 2179841, 2156833, 2179873, 2179905]), - new Uint32Array([6291456, 23068672, 6291456, 2145602, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 6291456, 0, 0]), - new Uint32Array([2196513, 2196545, 2196577, 2196609, 2196641, 2196673, 2196705, 2196737, 2196769, 2196801, 2196833, 2196865, 2196897, 2196929, 2196961, 2196993]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2177281, 6291456, 2177313, 6291456, 2177345, 6291456, 2177377, 6291456, 2177409, 6291456, 2177441, 6291456, 2177473, 6291456, 2177505, 6291456]), - new Uint32Array([2187137, 2221473, 2221505, 2221537, 2221569, 6291456, 6291456, 10610209, 10610241, 10537986, 10537986, 10537986, 10537986, 10609857, 10609857, 10609857]), - new Uint32Array([2243009, 2243041, 2216033, 2243074, 2243137, 2243169, 2243201, 2219617, 2243233, 2243265, 2243297, 2243329, 2243362, 2243425, 2243457, 2243489]), - new Uint32Array([10485857, 10485857, 10485857, 10485857, 10485857, 10485857, 10485857, 10485857, 10485857, 10485857, 10485857, 2097152, 4194304, 4194304, 0, 0]), - new Uint32Array([2143042, 6291456, 2143106, 2143106, 2168833, 6291456, 2168865, 6291456, 6291456, 2168897, 6291456, 2168929, 6291456, 2168961, 6291456, 2143170]), - new Uint32Array([6291456, 6291456, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2204193, 2204225, 2204257, 2204289, 2204321, 2204353, 2204385, 2204417, 2204449, 2204481, 2204513, 2204545, 2204577, 2204609, 2204641, 2204673]), - new Uint32Array([2202753, 6291456, 2202785, 6291456, 2202817, 6291456, 2202849, 6291456, 2202881, 6291456, 2202913, 6291456, 2202945, 6291456, 2202977, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2108353, 2108417, 2105825, 2111713, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289, 2108193, 2112481, 2112577, 2098177, 2098305, 2108321]), - new Uint32Array([2147394, 2147458, 2147522, 2147586, 2147650, 2147714, 2147778, 2147842, 2147394, 2147458, 2147522, 2147586, 2147650, 2147714, 2147778, 2147842]), - new Uint32Array([2253313, 2253346, 2253409, 2253441, 2253473, 2253505, 2253537, 2253569, 2253601, 2253634, 2219393, 2253697, 2253729, 2253761, 2253793, 2253825]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456]), - new Uint32Array([2162562, 2162626, 2131362, 2162690, 2159938, 2160002, 2162754, 2162818, 2160130, 2162882, 2160194, 2160258, 2160834, 2160898, 2161026, 2161090]), - new Uint32Array([2175361, 2175393, 2175425, 2175457, 2175489, 2175521, 2175553, 2175585, 2175617, 2175649, 2175681, 2175713, 2175745, 2175777, 2175809, 2175841]), - new Uint32Array([2253858, 2253921, 2253954, 2254018, 2254082, 2196737, 2254145, 2196865, 2254177, 2254209, 2254241, 2254273, 2197025, 2254306, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2202113, 2204129, 2188705, 2204161]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 0, 0]), - new Uint32Array([2173985, 2174017, 2174017, 2174049, 2174081, 2174113, 2174145, 2174177, 2149057, 2233089, 2173697, 2173761, 2173793, 2174113, 2173985, 2173953]), - new Uint32Array([2101569, 2101697, 2101825, 2101953, 2102081, 2102209, 2100833, 2100737, 2098337, 2101441, 2101569, 2101697, 2101825, 2101953, 2102081, 2102209]), - new Uint32Array([2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 2098209, 2111137, 2105505, 2098241, 0, 2108417, 0, 2111713, 2100897, 2111905]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2175425, 2175489, 2175809, 2175905, 2175937, 2175937, 2176193, 2176417, 2180865, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 2143298, 2143298, 2143298, 2143362, 2143362, 2143362, 2143426, 2143426, 2143426, 2171105, 6291456, 2171137]), - new Uint32Array([2120162, 2120258, 2151618, 2151682, 2151746, 2151810, 2151874, 2151938, 2152002, 2120035, 2120131, 2120227, 2152066, 2120323, 2152130, 2120419]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2195361, 2142433, 2236065, 2236097, 2236129, 2236161, 2118241, 2117473, 2236193, 2236225, 2236257, 2236289, 0, 0, 0, 0]), - new Uint32Array([2189281, 6291456, 2189313, 6291456, 2189345, 6291456, 2189377, 6291456, 2189409, 6291456, 2189441, 6291456, 2189473, 6291456, 2189505, 6291456]), - new Uint32Array([6291456, 6291456, 2145922, 6291456, 6291456, 6291456, 6291456, 2145986, 6291456, 6291456, 6291456, 6291456, 2146050, 6291456, 6291456, 6291456]), - new Uint32Array([2100833, 2100737, 2098337, 2101441, 2101569, 2101697, 2101825, 2101953, 2102081, 2102209, 10502113, 10562017, 10610401, 10502177, 10610433, 10538049]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 2186401, 0, 2186433, 0, 2186465, 0, 2186497]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 23068672, 23068672, 23068672]), - new Uint32Array([0, 0, 2198241, 2198273, 2198305, 2198337, 2198369, 2198401, 0, 0, 2198433, 2198465, 2198497, 0, 0, 0]), - new Uint32Array([6291456, 0, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 0, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 23068672, 6291456, 23068672, 23068672]), - new Uint32Array([0, 2105921, 2097729, 0, 2097377, 0, 0, 2106017, 2133281, 2097505, 2105889, 0, 2097697, 2135777, 2097633, 2097441]), - new Uint32Array([2197889, 2197921, 2197953, 2197985, 2198017, 2198049, 2198081, 2198113, 2198145, 2198177, 2198209, 2198241, 2198273, 2198305, 2198337, 2198369]), - new Uint32Array([2132514, 2132610, 2160386, 2133090, 2133186, 2160450, 2160514, 2133282, 2160578, 2133570, 2106178, 2160642, 2133858, 2160706, 2160770, 2134146]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 23068672, 23068672, 6291456, 23068672, 23068672, 6291456, 23068672, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2184737, 6291456, 2184769, 6291456, 2184801, 6291456, 2184833, 6291456, 2184865, 6291456, 2184897, 6291456, 2184929, 6291456, 2184961, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 0, 6291456]), - new Uint32Array([6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 6291456, 23068672, 23068672, 23068672, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 2186753, 6291456, 6291456, 6291456, 6291456, 2186785, 2186817, 2186849, 2173569, 2186881, 10496355, 10495395, 10575521]), - new Uint32Array([0, 0, 2097729, 0, 0, 0, 0, 2106017, 0, 2097505, 0, 2097185, 0, 2135777, 2097633, 2097441]), - new Uint32Array([2189537, 6291456, 2189569, 6291456, 2189601, 6291456, 2189633, 6291456, 2189665, 6291456, 2189697, 6291456, 2189729, 6291456, 2189761, 6291456]), - new Uint32Array([2202497, 6291456, 2202529, 6291456, 2202561, 6291456, 2202593, 6291456, 2202625, 6291456, 2202657, 6291456, 2202689, 6291456, 2202721, 6291456]), - new Uint32Array([2245217, 2218369, 2245249, 2245282, 2245345, 2245377, 2245410, 2245474, 2245537, 2245569, 2245601, 2245633, 2245665, 2245665, 2245697, 2245729]), - new Uint32Array([6291456, 0, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 0, 0, 0, 0, 0, 0, 23068672, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 6291456, 23068672, 6291456, 23068672, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672]), - new Uint32Array([0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2097281, 2105921, 2097729, 2106081, 2097377, 2097601, 2162337, 2106017, 2133281, 2097505, 0, 2097185, 2097697, 2135777, 2097633, 2097441]), - new Uint32Array([2176641, 6291456, 2176673, 6291456, 2176705, 6291456, 2176737, 6291456, 2176769, 6291456, 2176801, 6291456, 2176833, 6291456, 2176865, 6291456]), - new Uint32Array([2174145, 2174177, 2149057, 2233089, 2173697, 2173761, 2173793, 2174113, 2173985, 2173953, 2174369, 2174369, 0, 0, 2100833, 2100737]), - new Uint32Array([2116513, 2190817, 2190849, 2190881, 2190913, 2190945, 2116609, 2190977, 2191009, 2191041, 2191073, 2117185, 2191105, 2191137, 2191169, 2191201]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456]), - new Uint32Array([0, 0, 0, 0, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456]), - new Uint32Array([2167617, 2167649, 2167681, 2167713, 2167745, 2167777, 2167809, 6291456, 2167841, 2167873, 2167905, 2167937, 2167969, 2168001, 2168033, 4240130]), - new Uint32Array([2165122, 2163970, 2164034, 2164098, 2164162, 2164226, 2164290, 2164354, 2164418, 2164482, 2164546, 2133122, 2134562, 2132162, 2132834, 2136866]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 2186209, 2186241, 2186273, 2186305, 2186337, 2186369, 0, 0]), - new Uint32Array([2112481, 2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 14680064, 14680064, 14680064, 14680064, 14680064]), - new Uint32Array([0, 0, 23068672, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 6291456, 6291456]), - new Uint32Array([0, 10537921, 10610689, 10610273, 10610497, 10610529, 10610305, 10610721, 10489601, 10489697, 10610337, 10575617, 10554529, 2221761, 2197217, 10496577]), - new Uint32Array([2105473, 2105569, 2105601, 2112289, 0, 2112481, 2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441]), - new Uint32Array([2100897, 2111905, 2105473, 2105569, 2105601, 2112289, 2108193, 2112481, 2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481]), - new Uint32Array([2125346, 2153410, 2153474, 2127394, 2153538, 2153602, 2153666, 2153730, 2105507, 2105476, 2153794, 2153858, 2153922, 2153986, 2154050, 2105794]), - new Uint32Array([2200449, 2119681, 2200481, 2153313, 2199873, 2199905, 2199937, 2200513, 2200545, 2200577, 2200609, 2119105, 2119201, 2119297, 2119393, 2119489]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2175777, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2222273, 2197217, 2221473, 2221505, 2221089, 2222305, 2200865, 2099681, 2104481, 2222337, 2099905, 2120737, 2222369, 2103713, 2100225, 2098785]), - new Uint32Array([2201377, 6291456, 2201409, 6291456, 2201441, 6291456, 2201473, 6291456, 2201505, 6291456, 2201537, 6291456, 2201569, 6291456, 6291456, 23068672]), - new Uint32Array([2174081, 2174113, 2174145, 2174177, 2149057, 2233057, 2148481, 2173601, 2173633, 2173665, 2173697, 2173729, 2148801, 2173761, 2143969, 2173793]), - new Uint32Array([2200897, 6291456, 2200929, 6291456, 2200961, 6291456, 2200993, 6291456, 2201025, 6291456, 2180865, 6291456, 2201057, 6291456, 2201089, 6291456]), - new Uint32Array([0, 0, 0, 0, 0, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0]), - new Uint32Array([2161154, 2161410, 2138658, 2161474, 2161538, 2097666, 2097186, 2097474, 2162946, 2132450, 2163010, 2163074, 2136162, 2163138, 2161666, 2161730]), - new Uint32Array([2148481, 2173601, 2173633, 2173665, 2173697, 2173729, 2148801, 2173761, 2143969, 2173793, 2173825, 2153473, 2173857, 2173889, 2173921, 2173953]), - new Uint32Array([0, 0, 0, 0, 0, 0, 23068672, 23068672, 0, 0, 0, 0, 2145410, 2145474, 0, 6291456]), - new Uint32Array([2244161, 2216065, 2212769, 2244193, 2244225, 2244257, 2244290, 2244353, 2244385, 2244417, 2244449, 2218273, 2244481, 2244514, 2244577, 2244609]), - new Uint32Array([2125730, 2125699, 2125795, 2125891, 2125987, 2154114, 2154178, 2154242, 2154306, 2154370, 2154434, 2154498, 2126082, 2126178, 2126274, 2126083]), - new Uint32Array([2237665, 2237697, 2237697, 2237697, 2237730, 2237793, 2237825, 2237857, 2237890, 2237953, 2237985, 2238017, 2238049, 2238081, 2238113, 2238145]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2150146, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 23068672, 23068672, 0, 0, 23068672, 23068672, 23068672, 0, 0]), - new Uint32Array([2214369, 2238593, 2238625, 2238657, 2238689, 2238721, 2238753, 2238785, 2238817, 2238850, 2238913, 2238945, 2238977, 2235457, 2239009, 2239041]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0]), - new Uint32Array([2252066, 2252130, 2252193, 2252225, 2252257, 2252290, 2252353, 2252385, 2252417, 2252449, 2252481, 2252513, 2252545, 2252578, 2252641, 2252673]), - new Uint32Array([2197697, 2114113, 2114209, 2197729, 2197761, 2114305, 2197793, 2114401, 2114497, 2197825, 2114593, 2114689, 2114785, 2114881, 2114977, 2197857]), - new Uint32Array([2224866, 2224930, 2224994, 2225058, 2225122, 2225186, 2225250, 2225314, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2219490, 2219554, 2219617, 2219649, 2219681, 2219714, 2219778, 2219842, 2219905, 2219937, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 23068672, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456]), - new Uint32Array([2113345, 2113441, 2098209, 2111137, 2105505, 2098241, 2108353, 2108417, 2105825, 2111713, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289]), - new Uint32Array([2174081, 2174113, 2174145, 2174177, 2149057, 2233089, 2173697, 2173761, 2173793, 2174113, 2173985, 2173953, 2148481, 2173601, 2173633, 2173665]), - new Uint32Array([2220161, 2220161, 2220193, 2220193, 2220193, 2220193, 2220225, 2220225, 2220225, 2220225, 2220257, 2220257, 2220257, 2220257, 2220289, 2220289]), - new Uint32Array([2192673, 2192705, 2192737, 2192769, 2192801, 2192833, 2192865, 2118049, 2192897, 2117473, 2117761, 2192929, 2192961, 2192993, 2193025, 2193057]), - new Uint32Array([2179297, 6291456, 2179329, 6291456, 2179361, 6291456, 2179393, 6291456, 2179425, 6291456, 2179457, 6291456, 2179489, 6291456, 2179521, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 23068672, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2235745, 2235777, 2193633, 2235809, 2235841, 2235873, 2235905, 2235937, 2235969, 2116513, 2116705, 2236001, 2200513, 2199905, 2200545, 2236033]), - new Uint32Array([2113153, 2108481, 2113345, 2113441, 2232993, 2233025, 0, 0, 2148481, 2173601, 2173633, 2173665, 2173697, 2173729, 2148801, 2173761]), - new Uint32Array([2170593, 6291456, 2170625, 6291456, 2170657, 6291456, 2170689, 2170721, 6291456, 2170753, 6291456, 6291456, 2170785, 6291456, 2170817, 2170849]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2166786, 2166850, 0, 0, 0, 0]), - new Uint32Array([23068672, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456]), - new Uint32Array([2100833, 2100737, 2098337, 2101441, 2101569, 2101697, 2101825, 2101953, 2102081, 2102209, 10575617, 2187041, 10502177, 10489601, 10489697, 0]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2134562, 2132162, 2132834, 2136866, 2136482, 2164610, 2164674, 2164738, 2164802, 2132802, 2132706, 2164866, 2132898, 2164930, 2164994, 2165058]), - new Uint32Array([6291456, 6291456, 2098337, 2101441, 10531458, 2153473, 6291456, 6291456, 10531522, 2100737, 2108193, 6291456, 2106499, 2106595, 2106691, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2233122, 2233186, 2233250, 2233314, 2233378, 2233442, 2233506, 2233570, 2233634, 2233698, 2233762, 2233826, 2233890, 2233954, 2234018, 2234082]), - new Uint32Array([23068672, 6291456, 23068672, 23068672, 23068672, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2205217, 2205249, 2205281, 2205313, 2205345, 2205377, 2205409, 2205441, 2205473, 2205505, 2205537, 2205569, 2205601, 2205633, 2205665, 2205697]), - new Uint32Array([6291456, 0, 6291456, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 0, 0, 23068672, 6291456, 23068672, 23068672]), - new Uint32Array([2173601, 2173761, 2174081, 2173569, 2174241, 2174113, 2173953, 6291456, 2174305, 6291456, 2174337, 6291456, 2174369, 6291456, 2174401, 6291456]), - new Uint32Array([6291456, 23068672, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456]), - new Uint32Array([2152450, 2152514, 2099653, 2104452, 2099813, 2122243, 2099973, 2152578, 2122339, 2122435, 2122531, 2122627, 2122723, 2104580, 2122819, 2152642]), - new Uint32Array([2236385, 2236417, 2236449, 2236482, 2236545, 2215425, 2236577, 2236609, 2236641, 2236673, 2215457, 2236705, 2236737, 2236770, 2215489, 2236833]), - new Uint32Array([2163394, 2159746, 2163458, 2131362, 2163522, 2160130, 2163778, 2132226, 2163842, 2132898, 2163906, 2161410, 2138658, 2097666, 2136162, 2163650]), - new Uint32Array([2218721, 2246913, 2246946, 2216385, 2247010, 2247074, 2215009, 2247137, 2247169, 2216481, 2247201, 2247233, 2247266, 2247330, 2247330, 0]), - new Uint32Array([2129730, 2129762, 2129858, 2129731, 2129827, 2156482, 2156482, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 0, 0, 0, 0, 0, 6291456, 0, 0]), - new Uint32Array([2203969, 2204001, 2181377, 2204033, 2204065, 6291456, 2204097, 6291456, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2169473, 6291456, 2169505, 6291456, 2169537, 6291456, 2169569, 6291456, 2169601, 6291456, 2169633, 6291456, 2169665, 6291456, 2169697, 6291456]), - new Uint32Array([2141542, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2220801, 2220801, 2220801, 2220801, 2220833, 2220833, 2220865, 2220865, 2220865, 2220865, 2220897, 2220897, 2220897, 2220897, 2139873, 2139873]), - new Uint32Array([0, 0, 0, 0, 0, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 6291456, 0]), - new Uint32Array([2214849, 2218433, 2218465, 2218497, 2218529, 2218561, 2214881, 2218593, 2218625, 2218657, 2218689, 2218721, 2218753, 2216545, 2218785, 2218817]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6291456]), - new Uint32Array([2136482, 2164610, 2164674, 2164738, 2164802, 2132802, 2132706, 2164866, 2132898, 2164930, 2164994, 2165058, 2165122, 2132802, 2132706, 2164866]), - new Uint32Array([2207649, 2207681, 2207713, 2207745, 2207777, 2207809, 2207841, 2207873, 2207905, 2207937, 2207969, 2208001, 2208033, 2208065, 2208097, 2208129]), - new Uint32Array([2123683, 2105092, 2152706, 2123779, 2105220, 2152770, 2100453, 2098755, 2123906, 2124002, 2124098, 2124194, 2124290, 2124386, 2124482, 2124578]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 0, 0, 0, 6291456, 0, 0, 0, 0, 0, 0, 0, 10485857]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([10508163, 10508259, 10508355, 10508451, 2200129, 2200161, 2192737, 2200193, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2203553, 6291456, 2203585, 6291456, 6291456, 6291456, 2203617, 6291456, 2203649, 6291456, 2203681, 6291456, 2203713, 6291456, 2203745, 6291456]), - new Uint32Array([18884449, 18884065, 23068672, 18884417, 18884034, 18921185, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 18874368]), - new Uint32Array([2247393, 2247426, 2247489, 2247521, 2247553, 2247586, 2247649, 2247681, 2247713, 2247745, 2247777, 2247810, 2247873, 2247905, 2247937, 2247969]), - new Uint32Array([6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 23068672]), - new Uint32Array([2134145, 2097153, 2134241, 0, 2132705, 2130977, 2160065, 2131297, 0, 2133089, 2160577, 2133857, 2235297, 0, 2235329, 0]), - new Uint32Array([2182593, 6291456, 2182625, 6291456, 2182657, 6291456, 2182689, 6291456, 2182721, 6291456, 2182753, 6291456, 2182785, 6291456, 2182817, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2102402, 2102403, 6291456, 2110050]), - new Uint32Array([2149890, 2108323, 2149954, 6291456, 2113441, 6291456, 2149057, 6291456, 2113441, 6291456, 2105473, 2167265, 2111137, 2105505, 6291456, 2108353]), - new Uint32Array([2219105, 2219137, 2195233, 2251554, 2251617, 2251649, 2251681, 2251713, 2251746, 2251810, 2251873, 2251905, 2251937, 2251970, 2252033, 2219169]), - new Uint32Array([2203009, 6291456, 2203041, 6291456, 2203073, 6291456, 2203105, 6291456, 2203137, 6291456, 2203169, 6291456, 2203201, 6291456, 2203233, 6291456]), - new Uint32Array([2128195, 2128291, 2128387, 2128483, 2128579, 2128675, 2128771, 2128867, 2128963, 2129059, 2129155, 2129251, 2129347, 2129443, 2129539, 2129635]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2140964, 2141156, 2140966, 2141158, 2141350]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2225378, 2225442, 2225506, 2225570, 2225634, 2225698, 2225762, 2225826, 2225890, 2225954, 2226018, 2226082, 2226146, 2226210, 2226274, 2226338]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 2098209, 2111137, 2105505, 2098241, 2108353, 2108417]), - new Uint32Array([2108353, 2108417, 0, 2105601, 2108193, 2157121, 2157313, 2157377, 2157441, 2100897, 6291456, 2108419, 2173953, 2173633, 2173633, 2173953]), - new Uint32Array([2111713, 2173121, 2111905, 2098177, 2173153, 2173185, 2173217, 2113153, 2113345, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 2190753]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2197249, 6291456, 2117377, 2197281, 2197313, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 0, 0, 0, 0, 0, 0, 23068672, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456]), - new Uint32Array([2098337, 2101441, 2101569, 2101697, 2101825, 2101953, 2102081, 2102209, 2100833, 2100737, 2098337, 2101441, 2101569, 2101697, 2101825, 2101953]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0]), - new Uint32Array([0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 23068672, 23068672, 23068672]), - new Uint32Array([2173281, 6291456, 2173313, 6291456, 2173345, 6291456, 2173377, 6291456, 0, 0, 10532546, 6291456, 6291456, 6291456, 10562017, 2173441]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 0, 0]), - new Uint32Array([23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2159426, 2159490, 2159554, 2159362, 2159618, 2159682, 2139522, 2136450, 2159746, 2159810, 2159874, 2130978, 2131074, 2131266, 2131362, 2159938]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2203233, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2203265, 6291456, 2203297, 6291456, 2203329, 2203361, 6291456]), - new Uint32Array([6291456, 6291456, 2148418, 2148482, 2148546, 0, 6291456, 2148610, 2186529, 2186561, 2148417, 2148545, 2148482, 10495778, 2143969, 10495778]), - new Uint32Array([2134146, 2139426, 2160962, 2134242, 2161218, 2161282, 2161346, 2161410, 2138658, 2134722, 2134434, 2134818, 2097666, 2097346, 2097698, 2105986]), - new Uint32Array([2198881, 2198913, 2198945, 2198977, 2199009, 2199041, 2199073, 2199105, 2199137, 2199169, 2199201, 2199233, 2199265, 2199297, 2199329, 2199361]), - new Uint32Array([0, 23068672, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456]), - new Uint32Array([10610561, 2098209, 2111137, 2105505, 2098241, 2108353, 2108417, 2105825, 2111713, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289, 2108193]), - new Uint32Array([2183873, 6291456, 2183905, 6291456, 2183937, 6291456, 2183969, 6291456, 2184001, 6291456, 2184033, 6291456, 2184065, 6291456, 2184097, 6291456]), - new Uint32Array([2244642, 2244706, 2244769, 2244801, 2218305, 2244833, 2244865, 2244897, 2244929, 2244961, 2244993, 2245026, 2245089, 2245122, 2245185, 0]), - new Uint32Array([6291456, 6291456, 2116513, 2116609, 2116705, 2116801, 2199873, 2199905, 2199937, 2199969, 2190913, 2200001, 2200033, 2200065, 2200097, 2191009]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 2180673, 2180705, 2180737, 2180769, 2180801, 2180833, 0, 0]), - new Uint32Array([2098081, 2099521, 2099105, 2120705, 2098369, 2120801, 2103361, 2097985, 2098433, 2121377, 2121473, 2099169, 2099873, 2098401, 2099393, 2152609]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2150402]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 2145666, 2145730, 6291456, 6291456]), - new Uint32Array([2173921, 2173953, 2173985, 2173761, 2174017, 2174049, 2174081, 2174113, 2174145, 2174177, 2149057, 2233057, 2148481, 2173601, 2173633, 2173665]), - new Uint32Array([2187073, 6291456, 6291456, 6291456, 6291456, 2098241, 2098241, 2108353, 2100897, 2111905, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2102404, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2100612, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 10485857]), - new Uint32Array([2149057, 2233057, 2148481, 2173601, 2173633, 2173665, 2173697, 2173729, 2148801, 2173761, 2143969, 2173793, 2173825, 2153473, 2173857, 2173889]), - new Uint32Array([2217697, 2217729, 2217761, 2217793, 2217825, 2217857, 2217889, 2217921, 2217953, 2215873, 2217985, 2215905, 2218017, 2218049, 2218081, 2218113]), - new Uint32Array([2211233, 2218849, 2216673, 2218881, 2218913, 2218945, 2218977, 2219009, 2216833, 2219041, 2215137, 2219073, 2216865, 2209505, 2219105, 2216897]), - new Uint32Array([2240097, 2240129, 2240161, 2240193, 2240225, 2240257, 2240289, 2240321, 2240353, 2240386, 2240449, 2240481, 2240513, 2240545, 2207905, 2240578]), - new Uint32Array([6291456, 6291456, 2202273, 6291456, 2202305, 6291456, 2202337, 6291456, 2202369, 6291456, 2202401, 6291456, 2202433, 6291456, 2202465, 6291456]), - new Uint32Array([0, 23068672, 23068672, 18923394, 23068672, 18923458, 18923522, 18884099, 18923586, 18884195, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2201121, 6291456, 2201153, 6291456, 2201185, 6291456, 2201217, 6291456, 2201249, 6291456, 2201281, 6291456, 2201313, 6291456, 2201345, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 6291456, 6291456]), - new Uint32Array([2211041, 2211073, 2211105, 2211137, 2211169, 2211201, 2211233, 2211265, 2211297, 2211329, 2211361, 2211393, 2211425, 2211457, 2211489, 2211521]), - new Uint32Array([2181825, 6291456, 2181857, 6291456, 2181889, 6291456, 2181921, 6291456, 2181953, 6291456, 2181985, 6291456, 2182017, 6291456, 2182049, 6291456]), - new Uint32Array([2162337, 2097633, 2097633, 2097633, 2097633, 2132705, 2132705, 2132705, 2132705, 2097153, 2097153, 2097153, 2097153, 2133089, 2133089, 2133089]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 2148545, 6291456, 2173473, 6291456, 2148865, 6291456, 2173505, 6291456, 2173537, 6291456, 2173569, 6291456, 2149121, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 0, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0]), - new Uint32Array([2148801, 2173761, 2143969, 2173793, 2173825, 2153473, 2173857, 2173889, 2173921, 2173953, 2173985, 2174017, 2174017, 2174049, 2174081, 2174113]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2207137, 2207169, 2207201, 2207233, 2207265, 2207297, 2207329, 2207361, 2207393, 2207425, 2207457, 2207489, 2207521, 2207553, 2207585, 2207617]), - new Uint32Array([6291456, 6291456, 23068672, 23068672, 23068672, 6291456, 6291456, 0, 23068672, 23068672, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2198401, 2198433, 2198465, 2198497, 0, 2198529, 2198561, 2198593, 2198625, 2198657, 2198689, 2198721, 2198753, 2198785, 2198817, 2198849]), - new Uint32Array([2105505, 2098241, 2108353, 2108417, 2105825, 2111713, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289, 2108193, 2112481, 2112577, 2098177]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 0, 0]), - new Uint32Array([2216385, 2118721, 2216417, 2216449, 2216481, 2216513, 2216545, 2211233, 2216577, 2216609, 2216641, 2216673, 2216705, 2216737, 2216737, 2216769]), - new Uint32Array([2216801, 2216833, 2216865, 2216897, 2216929, 2216961, 2216993, 2215169, 2217025, 2217057, 2217089, 2217121, 2217154, 2217217, 0, 0]), - new Uint32Array([2210593, 2191809, 2210625, 2210657, 2210689, 2210721, 2210753, 2210785, 2210817, 2210849, 2191297, 2210881, 2210913, 2210945, 2210977, 2211009]), - new Uint32Array([0, 0, 2105825, 0, 0, 2111905, 2105473, 0, 0, 2112289, 2108193, 2112481, 2112577, 0, 2098305, 2108321]), - new Uint32Array([0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([0, 2097153, 2134241, 0, 2132705, 0, 0, 2131297, 0, 2133089, 0, 2133857, 0, 2220769, 0, 2235361]), - new Uint32Array([14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 6291456, 6291456, 14680064]), - new Uint32Array([23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2171873, 6291456, 2171905, 6291456, 2171937, 6291456, 2171969, 6291456, 2172001, 6291456, 2172033, 6291456, 2172065, 6291456, 2172097, 6291456]), - new Uint32Array([2220929, 2220929, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2133857, 2134145, 2134145, 2134145, 2134145, 2134241, 2134241, 2134241, 2134241, 2105889, 2105889, 2105889, 2105889, 2097185, 2097185, 2097185]), - new Uint32Array([2173697, 2173761, 2173793, 2174113, 2173985, 2173953, 2148481, 2173601, 2173633, 2173665, 2173697, 2173729, 2148801, 2173761, 2143969, 2173793]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10499619, 10499715, 10499811, 10499907]), - new Uint32Array([0, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 0, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 0, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 6291456, 23068672, 23068672]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 2144322, 2144386, 2144450, 2144514, 2144578, 2144642, 2144706, 2144770]), - new Uint32Array([23068672, 23068672, 23068672, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2113153, 2108481, 2113345, 2113441, 2098209, 2111137, 0, 2098241, 2108353, 2108417, 2105825, 0, 0, 2111905, 2105473, 2105569]), - new Uint32Array([2236321, 2236353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2152194, 2121283, 2103684, 2103812, 2097986, 2098533, 2097990, 2098693, 2098595, 2098853, 2099013, 2103940, 2121379, 2121475, 2121571, 2104068]), - new Uint32Array([2206241, 2206273, 2206305, 2206337, 2206369, 2206401, 2206433, 2206465, 2206497, 2206529, 2206561, 2206593, 2206625, 2206657, 2206689, 2206721]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 16777216, 16777216, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 23068672, 23068672, 10538818, 10538882, 6291456, 6291456, 2150338]), - new Uint32Array([6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2214369, 2214401, 2214433, 2214465, 2214497, 2214529, 2214561, 2214593, 2194977, 2214625, 2195073, 2214657, 2214689, 2214721, 6291456, 6291456]), - new Uint32Array([2097152, 2097152, 2097152, 2097152, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2182081, 6291456, 2182113, 6291456, 2182145, 6291456, 2182177, 6291456, 2182209, 6291456, 2182241, 6291456, 2182273, 6291456, 2182305, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2146881, 2146945, 2147009, 2147073, 2147137, 2147201, 2147265, 2147329]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 23068672, 23068672]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2122915, 2123011, 2123107, 2104708, 2123203, 2123299, 2123395, 2100133, 2104836, 2100290, 2100293, 2104962, 2104964, 2098052, 2123491, 2123587]), - new Uint32Array([23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456]), - new Uint32Array([6291456, 2171169, 6291456, 2171201, 6291456, 2171233, 6291456, 2171265, 6291456, 2171297, 6291456, 2171329, 6291456, 6291456, 2171361, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([0, 0, 2148994, 2149058, 2149122, 0, 6291456, 2149186, 2186945, 2173537, 2148993, 2149121, 2149058, 10531458, 10496066, 0]), - new Uint32Array([2195009, 2195041, 2195073, 2195105, 2195137, 2195169, 2195201, 2195233, 2195265, 2195297, 2195329, 2195361, 2195393, 2195425, 2195457, 2195489]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 0, 0, 6291456, 6291456]), - new Uint32Array([2182849, 6291456, 2182881, 6291456, 2182913, 6291456, 2182945, 6291456, 2182977, 6291456, 2183009, 6291456, 2183041, 6291456, 2183073, 6291456]), - new Uint32Array([2211553, 2210081, 2211585, 2211617, 2211649, 2211681, 2211713, 2211745, 2211777, 2211809, 2209569, 2211841, 2211873, 2211905, 2211937, 2211969]), - new Uint32Array([2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 2166594, 2127298, 2166658, 2142978, 2141827, 2166722]), - new Uint32Array([2173985, 2173761, 2174017, 2174049, 2174081, 2174113, 2174145, 2174177, 2149057, 2233057, 2148481, 2173601, 2173633, 2173665, 2173697, 2173729]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 2185761, 2185793, 2185825, 2185857, 2185889, 2185921, 0, 0]), - new Uint32Array([6291456, 2148481, 2173601, 2173633, 2173665, 2173697, 2173729, 2148801, 2173761, 2143969, 2173793, 2173825, 2153473, 2173857, 2173889, 2173921]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 6291456]), - new Uint32Array([0, 0, 0, 2220961, 2220961, 2220961, 2220961, 2144193, 2144193, 2159201, 2159201, 2159265, 2159265, 2144194, 2220993, 2220993]), - new Uint32Array([2192641, 2235393, 2235425, 2152257, 2116609, 2235457, 2235489, 2200065, 2235521, 2235553, 2235585, 2212449, 2235617, 2235649, 2235681, 2235713]), - new Uint32Array([2194049, 2194081, 2194113, 2194145, 2194177, 2194209, 2194241, 2194273, 2194305, 2194337, 2194369, 2194401, 2194433, 2194465, 2194497, 2194529]), - new Uint32Array([2196673, 2208641, 2208673, 2208705, 2208737, 2208769, 2208801, 2208833, 2208865, 2208897, 2208929, 2208961, 2208993, 2209025, 2209057, 2209089]), - new Uint32Array([2191681, 2191713, 2191745, 2191777, 2153281, 2191809, 2191841, 2191873, 2191905, 2191937, 2191969, 2192001, 2192033, 2192065, 2192097, 2192129]), - new Uint32Array([2230946, 2231010, 2231074, 2231138, 2231202, 2231266, 2231330, 2231394, 2231458, 2231522, 2231586, 2231650, 2231714, 2231778, 2231842, 2231906]), - new Uint32Array([14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064, 14680064]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 2185953, 2185985, 2186017, 2186049, 2186081, 2186113, 2186145, 2186177]), - new Uint32Array([2139811, 2139907, 2097284, 2105860, 2105988, 2106116, 2106244, 2097444, 2097604, 2097155, 10485778, 10486344, 2106372, 6291456, 0, 0]), - new Uint32Array([2110051, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2172385, 6291456, 2172417, 6291456, 2172449, 6291456, 2172481, 6291456, 2172513, 6291456, 2172545, 6291456, 2172577, 6291456, 2172609, 6291456]), - new Uint32Array([0, 0, 23068672, 23068672, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2249345, 2249377, 2249409, 2249441, 2249473, 2249505, 2249537, 2249570, 2210209, 2249633, 2249665, 2249697, 2249729, 2249761, 2249793, 2216769]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2187169, 2187201, 2187233, 2187265, 2187297, 2187329, 2187361, 2187393, 2187425, 2187457, 2187489, 2187521, 2187553, 2187585, 2187617, 2187649]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([0, 0, 0, 6291456, 6291456, 0, 0, 0, 6291456, 6291456, 6291456, 0, 0, 0, 6291456, 6291456]), - new Uint32Array([2182337, 6291456, 2182369, 6291456, 2182401, 6291456, 2182433, 6291456, 2182465, 6291456, 2182497, 6291456, 2182529, 6291456, 2182561, 6291456]), - new Uint32Array([2138179, 2138275, 2138371, 2138467, 2134243, 2134435, 2138563, 2138659, 2138755, 2138851, 2138947, 2139043, 2138947, 2138755, 2139139, 2139235]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([0, 0, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2250498, 2250562, 2250625, 2250657, 2208321, 2250689, 2250721, 2250753, 2250785, 2250817, 2250849, 2218945, 2250881, 2250913, 2250945, 0]), - new Uint32Array([2170369, 2105569, 2098305, 2108481, 2173249, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456]), - new Uint32Array([2100897, 2111905, 2105473, 2105569, 2105601, 0, 2108193, 0, 0, 0, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481]), - new Uint32Array([2100897, 2100897, 2105569, 2105569, 6291456, 2112289, 2149826, 6291456, 6291456, 2112481, 2112577, 2098177, 2098177, 2098177, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 2169953, 2169985, 6291456, 2170017, 6291456, 2170049, 2170081, 6291456, 2170113, 2170145, 2170177, 6291456, 6291456, 2170209, 2170241]), - new Uint32Array([6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([0, 0, 0, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2220641, 2220641, 2220673, 2220673, 2220673, 2220673, 2220705, 2220705, 2220705, 2220705, 2220737, 2220737, 2220737, 2220737, 2220769, 2220769]), - new Uint32Array([2127650, 2127746, 2127842, 2127938, 2128034, 2128130, 2128226, 2128322, 2128418, 2127523, 2127619, 2127715, 2127811, 2127907, 2128003, 2128099]), - new Uint32Array([2143969, 2173793, 2173825, 2153473, 2173857, 2173889, 2173921, 2173953, 2173985, 2173761, 2174017, 2174049, 2174081, 2174113, 2174145, 2174177]), - new Uint32Array([0, 0, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([2204705, 2204737, 2204769, 2204801, 2204833, 2204865, 2204897, 2204929, 2204961, 2204993, 2205025, 2205057, 2205089, 2205121, 2205153, 2205185]), - new Uint32Array([2176385, 6291456, 2176417, 6291456, 2176449, 6291456, 2176481, 6291456, 2176513, 6291456, 2176545, 6291456, 2176577, 6291456, 2176609, 6291456]), - new Uint32Array([2195521, 2195553, 2195585, 2195617, 2195649, 2195681, 2117857, 2195713, 2195745, 2195777, 2195809, 2195841, 2195873, 2195905, 2195937, 2195969]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456]), - new Uint32Array([2173921, 2173953, 2173985, 2174017, 2174017, 2174049, 2174081, 2174113, 2174145, 2174177, 2149057, 2233089, 2173697, 2173761, 2173793, 2174113]), - new Uint32Array([2131586, 2132450, 2135970, 2135778, 2161602, 2136162, 2163650, 2161794, 2135586, 2163714, 2137186, 2131810, 2160290, 2135170, 2097506, 2159554]), - new Uint32Array([2134145, 2097153, 2134241, 2105953, 2132705, 2130977, 2160065, 2131297, 2162049, 2133089, 2160577, 2133857, 0, 0, 0, 0]), - new Uint32Array([2116513, 2116609, 2116705, 2116801, 2116897, 2116993, 2117089, 2117185, 2117281, 2117377, 2117473, 2117569, 2117665, 2117761, 2117857, 2117953]), - new Uint32Array([2100737, 2098337, 2101441, 2101569, 2101697, 2101825, 2101953, 2102081, 2102209, 2100802, 2101154, 2101282, 2101410, 2101538, 2101666, 2101794]), - new Uint32Array([2100289, 2098657, 2098049, 2200737, 2123489, 2123681, 2200769, 2098625, 2100321, 2098145, 2100449, 2098017, 2098753, 2098977, 2150241, 2150305]), - new Uint32Array([6291456, 6291456, 6291456, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 2109955, 6291456, 6291456, 0, 0, 0, 0]), - new Uint32Array([18874368, 18874368, 18874368, 18874368, 18874368, 18874368, 18874368, 18874368, 18874368, 18874368, 18874368, 18874368, 18874368, 18874368, 18874368, 18874368]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 6291456, 0, 6291456, 0, 0]), - new Uint32Array([2130979, 2131075, 2131075, 2131171, 2131267, 2131363, 2131459, 2131555, 2131651, 2131651, 2131747, 2131843, 2131939, 2132035, 2132131, 2132227]), - new Uint32Array([0, 2177793, 6291456, 2177825, 6291456, 2177857, 6291456, 2177889, 6291456, 2177921, 6291456, 2177953, 6291456, 2177985, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672]), - new Uint32Array([6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2113345, 0, 2098209, 2111137, 2105505, 2098241, 2108353, 2108417, 2105825, 2111713, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289]), - new Uint32Array([2136643, 2136739, 2136835, 2136931, 2137027, 2137123, 2137219, 2137315, 2137411, 2137507, 2137603, 2137699, 2137795, 2137891, 2137987, 2138083]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0]), - new Uint32Array([2174433, 6291456, 2174465, 6291456, 2174497, 6291456, 2174529, 6291456, 2174561, 6291456, 2174593, 6291456, 2174625, 6291456, 2174657, 6291456]), - new Uint32Array([0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2105473, 2105569, 2105601, 2112289, 2108193, 2112481, 2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441]), - new Uint32Array([10496547, 10496643, 2105505, 2149698, 6291456, 10496739, 10496835, 2170273, 6291456, 2149762, 2105825, 2111713, 2111713, 2111713, 2111713, 2168673]), - new Uint32Array([6291456, 2143490, 2143490, 2143490, 2171649, 6291456, 2171681, 2171713, 2171745, 6291456, 2171777, 6291456, 2171809, 6291456, 2171841, 6291456]), - new Uint32Array([2159106, 2159106, 2159170, 2159170, 2159234, 2159234, 2159298, 2159298, 2159298, 2159362, 2159362, 2159362, 2106401, 2106401, 2106401, 2106401]), - new Uint32Array([2105601, 2112289, 2108193, 2112481, 2112577, 2098177, 2098305, 2108321, 2108289, 2100865, 2113153, 2108481, 2113345, 2113441, 2098209, 2111137]), - new Uint32Array([2108417, 2181217, 2181249, 2181281, 2170433, 2170401, 2181313, 2181345, 2181377, 2181409, 2181441, 2181473, 2181505, 2181537, 2170529, 2181569]), - new Uint32Array([2218433, 2245761, 2245793, 2245825, 2245857, 2245890, 2245953, 2245986, 2209665, 2246050, 2246113, 2246146, 2246210, 2246274, 2246337, 2246369]), - new Uint32Array([2230754, 2230818, 2230882, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([6291456, 0, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 0, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2184129, 6291456, 2184161, 6291456, 2184193, 6291456, 6291456, 6291456, 6291456, 6291456, 2146818, 2183361, 6291456, 6291456, 2142978, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2135170, 2097506, 2130691, 2130787, 2130883, 2163970, 2164034, 2164098, 2164162, 2164226, 2164290, 2164354, 2164418, 2164482, 2164546, 2133122]), - new Uint32Array([2108515, 2108611, 2100740, 2108707, 2108803, 2108899, 2108995, 2109091, 2109187, 2109283, 2109379, 2109475, 2109571, 2109667, 2109763, 2100738]), - new Uint32Array([2102788, 2102916, 2103044, 2120515, 2103172, 2120611, 2120707, 2098373, 2103300, 2120803, 2120899, 2120995, 2103428, 2103556, 2121091, 2121187]), - new Uint32Array([2158082, 2158146, 0, 2158210, 2158274, 0, 2158338, 2158402, 2158466, 2129922, 2158530, 2158594, 2158658, 2158722, 2158786, 2158850]), - new Uint32Array([10499619, 10499715, 10499811, 10499907, 10500003, 10500099, 10500195, 10500291, 10500387, 10500483, 10500579, 10500675, 10500771, 10500867, 10500963, 10501059]), - new Uint32Array([2239585, 2239618, 2239681, 2239713, 0, 2191969, 2239745, 2239777, 2192033, 2239809, 2239841, 2239874, 2239937, 2239970, 2240033, 2240065]), - new Uint32Array([2252705, 2252738, 2252801, 2252833, 2252865, 2252897, 2252930, 2252994, 2253057, 2253089, 2253121, 2253154, 2253217, 2253250, 2219361, 2219361]), - new Uint32Array([2105825, 2111713, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289, 2108193, 2112481, 2112577, 2098177, 2098305, 2108321, 2108289, 2100865]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 10538050, 10538114, 10538178, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([2226402, 2226466, 2226530, 2226594, 2226658, 2226722, 2226786, 2226850, 2226914, 2226978, 2227042, 2227106, 2227170, 2227234, 2227298, 2227362]), - new Uint32Array([23068672, 6291456, 6291456, 6291456, 6291456, 2144066, 2144130, 2144194, 2144258, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 23068672, 23068672, 6291456, 23068672, 23068672]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2124674, 2124770, 2123875, 2123971, 2124067, 2124163, 2124259, 2124355, 2124451, 2124547, 2124643, 2124739, 2124835, 2124931, 2125027, 2125123]), - new Uint32Array([2168065, 6291456, 2168097, 6291456, 2168129, 6291456, 2168161, 6291456, 2168193, 6291456, 2168225, 6291456, 2168257, 6291456, 2168289, 6291456]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0]), - new Uint32Array([23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 2100610, 2100611, 6291456, 2107842, 2107843, 6291456, 6291456, 6291456, 6291456, 10537922, 6291456, 10537986, 6291456]), - new Uint32Array([2174849, 2174881, 2174913, 2174945, 2174977, 2175009, 2175041, 2175073, 2175105, 2175137, 2175169, 2175201, 2175233, 2175265, 2175297, 2175329]), - new Uint32Array([2154562, 2154626, 2154690, 2154754, 2141858, 2154818, 2154882, 2127298, 2154946, 2127298, 2155010, 2155074, 2155138, 2155202, 2155266, 2155202]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 23068672, 0]), - new Uint32Array([2200641, 2150786, 2150850, 2150914, 2150978, 2151042, 2106562, 2151106, 2150562, 2151170, 2151234, 2151298, 2151362, 2151426, 2151490, 2151554]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 0, 0, 0, 0, 0, 0, 0, 0, 6291456, 6291456]), - new Uint32Array([2220289, 2220289, 2220321, 2220321, 2220321, 2220321, 2220353, 2220353, 2220353, 2220353, 2220385, 2220385, 2220385, 2220385, 2220417, 2220417]), - new Uint32Array([2155330, 2155394, 0, 2155458, 2155522, 2155586, 2105732, 0, 2155650, 2155714, 2155778, 2125314, 2155842, 2155906, 2126274, 2155970]), - new Uint32Array([23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456, 23068672, 23068672, 6291456, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2097729, 2106017, 2106017, 2106017, 2106017, 2131297, 2131297, 2131297, 2131297, 2106081, 2106081, 2162049, 2162049, 2105953, 2105953, 2162337]), - new Uint32Array([2097185, 2097697, 2097697, 2097697, 2097697, 2135777, 2135777, 2135777, 2135777, 2097377, 2097377, 2097377, 2097377, 2097601, 2097601, 2097217]), - new Uint32Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23068672]), - new Uint32Array([2139331, 2139427, 2139523, 2139043, 2133571, 2132611, 2139619, 2139715, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2174113, 2174145, 2100897, 2098177, 2108289, 2100865, 2173601, 2173633, 2173985, 2174113, 2174145, 6291456, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([6291456, 6291456, 23068672, 6291456, 6291456, 6291456, 23068672, 6291456, 6291456, 6291456, 6291456, 23068672, 6291456, 6291456, 6291456, 6291456]), - new Uint32Array([23068672, 23068672, 18923778, 23068672, 23068672, 23068672, 23068672, 18923842, 23068672, 23068672, 23068672, 23068672, 18923906, 23068672, 23068672, 23068672]), - new Uint32Array([2134145, 2097153, 2134241, 0, 2132705, 2130977, 2160065, 2131297, 0, 2133089, 0, 2133857, 0, 0, 0, 0]), - new Uint32Array([6291456, 6291456, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2177537, 6291456, 2177569, 6291456, 2177601, 6291456, 2177633, 6291456, 2177665, 6291456, 2177697, 6291456, 2177729, 6291456, 2177761, 6291456]), - new Uint32Array([2212481, 2212513, 2212545, 2212577, 2197121, 2212609, 2212641, 2212673, 2212705, 2212737, 2212769, 2212801, 2212833, 2212865, 2212897, 2212929]), - new Uint32Array([6291456, 6291456, 23068672, 23068672, 23068672, 6291456, 6291456, 0, 0, 0, 0, 0, 0, 0, 0, 0]), - new Uint32Array([2098241, 2108353, 2170209, 2105825, 2111713, 2100897, 2111905, 2105473, 2105569, 2105601, 2112289, 6291456, 2108193, 2172417, 2112481, 2098177]), - new Uint32Array([6291456, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 23068672, 6291456, 6291456])]; - - var blockIdxes = new Uint16Array([616, 616, 565, 147, 161, 411, 330, 2, 131, 131, 328, 454, 241, 408, 86, 86, 696, 113, 285, 350, 325, 301, 473, 214, 639, 232, 447, 64, 369, 598, 124, 672, 567, 223, 621, 154, 107, 86, 86, 86, 86, 86, 86, 505, 86, 68, 634, 86, 218, 218, 218, 218, 486, 218, 218, 513, 188, 608, 216, 86, 217, 463, 668, 85, 700, 360, 184, 86, 86, 86, 647, 402, 153, 10, 346, 718, 662, 260, 145, 298, 117, 1, 443, 342, 138, 54, 563, 86, 240, 572, 218, 70, 387, 86, 118, 460, 641, 602, 86, 86, 306, 218, 86, 692, 86, 86, 86, 86, 86, 162, 707, 86, 458, 26, 86, 218, 638, 86, 86, 86, 86, 86, 65, 449, 86, 86, 306, 183, 86, 58, 391, 667, 86, 157, 131, 131, 131, 131, 86, 433, 131, 406, 31, 218, 247, 86, 86, 693, 218, 581, 351, 86, 438, 295, 69, 462, 45, 126, 173, 650, 14, 295, 69, 97, 168, 187, 641, 78, 523, 390, 69, 108, 287, 664, 173, 219, 83, 295, 69, 108, 431, 426, 173, 694, 412, 115, 628, 52, 257, 398, 641, 118, 501, 121, 69, 579, 151, 423, 173, 620, 464, 121, 69, 382, 151, 476, 173, 27, 53, 121, 86, 594, 578, 226, 173, 86, 632, 130, 86, 96, 228, 268, 641, 622, 563, 86, 86, 21, 148, 650, 131, 131, 321, 43, 144, 343, 381, 531, 131, 131, 178, 20, 86, 399, 156, 375, 164, 541, 30, 60, 715, 198, 92, 118, 131, 131, 86, 86, 306, 407, 86, 280, 457, 196, 488, 358, 131, 131, 244, 86, 86, 143, 86, 86, 86, 86, 86, 667, 563, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 336, 363, 86, 86, 336, 86, 86, 380, 678, 67, 86, 86, 86, 678, 86, 86, 86, 512, 86, 307, 86, 708, 86, 86, 86, 86, 86, 528, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 563, 307, 86, 86, 86, 86, 86, 104, 450, 337, 86, 720, 86, 32, 450, 397, 86, 86, 86, 587, 218, 558, 708, 708, 293, 708, 86, 86, 86, 86, 86, 694, 205, 86, 8, 86, 86, 86, 86, 549, 86, 667, 697, 697, 679, 86, 458, 460, 86, 86, 650, 86, 708, 543, 86, 86, 86, 245, 86, 86, 86, 140, 218, 127, 708, 708, 458, 197, 131, 131, 131, 131, 500, 86, 86, 483, 251, 86, 306, 510, 515, 86, 722, 86, 86, 86, 65, 201, 86, 86, 483, 580, 470, 86, 86, 86, 368, 131, 131, 131, 694, 114, 110, 555, 86, 86, 123, 721, 163, 142, 713, 418, 86, 317, 675, 209, 218, 218, 218, 371, 545, 592, 629, 490, 603, 199, 46, 320, 525, 680, 310, 279, 388, 111, 42, 252, 593, 607, 235, 617, 410, 377, 50, 548, 135, 356, 17, 520, 189, 116, 392, 600, 349, 332, 482, 699, 690, 535, 119, 106, 451, 71, 152, 667, 131, 218, 218, 265, 671, 637, 492, 504, 533, 683, 269, 269, 658, 86, 86, 86, 86, 86, 86, 86, 86, 86, 491, 619, 86, 86, 6, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 229, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 667, 86, 86, 171, 131, 118, 131, 656, 206, 234, 571, 89, 334, 670, 246, 311, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 534, 86, 86, 86, 86, 86, 86, 82, 86, 86, 86, 86, 86, 430, 86, 86, 86, 86, 86, 86, 86, 86, 86, 599, 86, 324, 86, 470, 69, 640, 264, 131, 626, 101, 174, 86, 86, 667, 233, 105, 73, 374, 394, 221, 204, 84, 28, 326, 86, 86, 471, 86, 86, 86, 109, 573, 86, 171, 200, 200, 200, 200, 218, 218, 86, 86, 86, 86, 460, 131, 131, 131, 86, 506, 86, 86, 86, 86, 86, 220, 404, 34, 614, 47, 442, 305, 25, 612, 338, 601, 648, 7, 344, 255, 131, 131, 51, 86, 312, 507, 563, 86, 86, 86, 86, 588, 86, 86, 86, 86, 86, 530, 511, 86, 458, 3, 435, 384, 556, 522, 230, 527, 86, 118, 86, 86, 717, 86, 137, 273, 79, 181, 484, 23, 93, 112, 655, 249, 417, 703, 370, 87, 98, 313, 684, 585, 155, 465, 596, 481, 695, 18, 416, 428, 61, 701, 706, 282, 643, 495, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 549, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 549, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 307, 86, 86, 86, 171, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 650, 131, 422, 542, 420, 263, 24, 172, 86, 86, 86, 86, 86, 566, 86, 86, 132, 540, 395, 353, 494, 519, 19, 485, 284, 472, 131, 131, 131, 16, 714, 86, 211, 708, 86, 86, 86, 694, 698, 86, 86, 483, 704, 708, 218, 272, 86, 86, 120, 86, 159, 478, 86, 307, 247, 86, 86, 663, 597, 459, 627, 667, 86, 86, 277, 455, 39, 302, 86, 250, 86, 86, 86, 271, 99, 452, 306, 281, 329, 400, 200, 86, 86, 362, 549, 352, 646, 461, 323, 586, 86, 86, 4, 708, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 717, 86, 518, 86, 86, 650, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 125, 554, 480, 300, 613, 72, 333, 288, 561, 544, 604, 48, 719, 91, 169, 176, 590, 224, 76, 191, 29, 559, 560, 231, 537, 166, 477, 538, 256, 437, 131, 131, 469, 167, 40, 0, 685, 266, 441, 705, 239, 642, 475, 568, 640, 610, 299, 673, 517, 318, 385, 22, 202, 180, 179, 359, 424, 215, 90, 66, 521, 653, 467, 682, 453, 409, 479, 88, 131, 661, 35, 303, 15, 262, 666, 630, 712, 131, 131, 618, 659, 175, 218, 195, 347, 193, 227, 261, 150, 165, 709, 546, 294, 569, 710, 270, 413, 376, 524, 55, 242, 38, 419, 529, 170, 657, 3, 304, 122, 379, 278, 131, 651, 86, 67, 576, 458, 458, 131, 131, 86, 86, 86, 86, 86, 86, 86, 118, 309, 86, 86, 547, 86, 86, 86, 86, 667, 650, 664, 131, 131, 86, 86, 56, 131, 131, 131, 131, 131, 131, 131, 131, 86, 307, 86, 86, 86, 664, 238, 650, 86, 86, 717, 86, 118, 86, 86, 315, 86, 59, 86, 86, 574, 549, 131, 131, 340, 57, 436, 86, 86, 86, 86, 86, 86, 458, 708, 499, 691, 62, 86, 650, 86, 86, 694, 86, 86, 86, 319, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 171, 86, 549, 694, 131, 131, 131, 131, 131, 131, 131, 131, 131, 77, 86, 86, 139, 86, 502, 86, 86, 86, 667, 595, 131, 131, 131, 86, 12, 86, 13, 86, 609, 131, 131, 131, 131, 86, 86, 86, 625, 86, 669, 86, 86, 182, 129, 86, 5, 694, 104, 86, 86, 86, 86, 131, 131, 86, 86, 386, 171, 86, 86, 86, 345, 86, 324, 86, 589, 86, 213, 36, 131, 131, 131, 131, 131, 86, 86, 86, 86, 104, 131, 131, 131, 141, 290, 80, 677, 86, 86, 86, 267, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 667, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 515, 86, 86, 33, 136, 669, 86, 711, 515, 86, 86, 550, 640, 86, 104, 708, 515, 86, 159, 372, 717, 86, 86, 444, 515, 86, 86, 663, 37, 86, 563, 460, 86, 390, 624, 702, 131, 131, 131, 131, 389, 59, 708, 86, 86, 341, 208, 708, 635, 295, 69, 108, 431, 508, 100, 190, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 649, 516, 660, 131, 131, 86, 86, 86, 218, 631, 708, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 341, 575, 238, 514, 131, 131, 86, 86, 86, 218, 291, 708, 307, 131, 86, 86, 306, 367, 708, 131, 131, 131, 86, 378, 697, 86, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 615, 253, 86, 86, 86, 292, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 104, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 69, 86, 341, 553, 549, 86, 307, 86, 86, 645, 275, 455, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 708, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 667, 460, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 717, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 667, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 171, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 104, 86, 667, 459, 131, 131, 131, 131, 131, 131, 86, 458, 225, 86, 86, 86, 516, 549, 11, 390, 405, 86, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 460, 44, 218, 197, 711, 515, 131, 131, 131, 131, 664, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 307, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 308, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 640, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 118, 307, 104, 286, 591, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 549, 86, 86, 681, 86, 86, 75, 185, 314, 582, 86, 358, 496, 474, 86, 104, 131, 86, 86, 86, 86, 146, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 171, 86, 640, 131, 131, 131, 131, 131, 131, 131, 131, 246, 503, 689, 339, 674, 81, 258, 415, 439, 128, 562, 366, 414, 246, 503, 689, 583, 222, 557, 316, 636, 665, 186, 355, 95, 670, 246, 503, 689, 339, 674, 557, 258, 415, 439, 186, 355, 95, 670, 246, 503, 689, 446, 644, 536, 652, 331, 532, 335, 440, 274, 421, 297, 570, 74, 425, 364, 425, 606, 552, 403, 509, 134, 365, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 218, 218, 218, 498, 218, 218, 577, 627, 551, 497, 572, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 553, 354, 236, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 296, 455, 131, 131, 456, 243, 103, 86, 41, 459, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 9, 276, 158, 716, 393, 564, 383, 489, 401, 654, 210, 654, 131, 131, 131, 640, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 650, 86, 86, 86, 86, 86, 86, 717, 667, 563, 563, 563, 86, 549, 102, 686, 133, 246, 605, 86, 448, 86, 86, 207, 307, 131, 131, 131, 641, 86, 177, 611, 445, 373, 194, 584, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 308, 307, 171, 86, 86, 86, 86, 86, 86, 86, 717, 86, 86, 86, 86, 86, 460, 131, 131, 650, 86, 86, 86, 694, 708, 86, 86, 694, 86, 458, 131, 131, 131, 131, 131, 131, 667, 694, 289, 650, 667, 131, 131, 86, 640, 131, 131, 664, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 171, 131, 131, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 460, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 458, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, 640, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 466, 203, 149, 429, 94, 432, 160, 687, 539, 63, 237, 283, 192, 248, 348, 259, 427, 526, 396, 676, 254, 468, 487, 212, 327, 623, 49, 633, 322, 493, 434, 688, 357, 361, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131, 131]); - var mappingStr = "صلى الله عليه وسلمجل جلالهキロメートルrad∕s2エスクードキログラムキロワットグラムトンクルゼイロサンチームパーセントピアストルファラッドブッシェルヘクタールマンションミリバールレントゲン′′′′1⁄10viii(10)(11)(12)(13)(14)(15)(16)(17)(18)(19)(20)∫∫∫∫(오전)(오후)アパートアルファアンペアイニングエーカーカラットカロリーキュリーギルダークローネサイクルシリングバーレルフィートポイントマイクロミクロンメガトンリットルルーブル株式会社kcalm∕s2c∕kgاكبرمحمدصلعمرسولریال1⁄41⁄23⁄4 ̈́ྲཱྀླཱྀ ̈͂ ̓̀ ̓́ ̓͂ ̔̀ ̔́ ̔͂ ̈̀‵‵‵a/ca/sc/oc/utelfax1⁄71⁄91⁄32⁄31⁄52⁄53⁄54⁄51⁄65⁄61⁄83⁄85⁄87⁄8xii0⁄3∮∮∮(1)(2)(3)(4)(5)(6)(7)(8)(9)(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)(m)(n)(o)(p)(q)(r)(s)(t)(u)(v)(w)(x)(y)(z)::====(ᄀ)(ᄂ)(ᄃ)(ᄅ)(ᄆ)(ᄇ)(ᄉ)(ᄋ)(ᄌ)(ᄎ)(ᄏ)(ᄐ)(ᄑ)(ᄒ)(가)(나)(다)(라)(마)(바)(사)(아)(자)(차)(카)(타)(파)(하)(주)(一)(二)(三)(四)(五)(六)(七)(八)(九)(十)(月)(火)(水)(木)(金)(土)(日)(株)(有)(社)(名)(特)(財)(祝)(労)(代)(呼)(学)(監)(企)(資)(協)(祭)(休)(自)(至)pte10月11月12月ergltdアールインチウォンオンスオームカイリガロンガンマギニーケースコルナコーポセンチダースノットハイツパーツピクルフランペニヒヘルツペンスページベータボルトポンドホールホーンマイルマッハマルクヤードヤールユアンルピー10点11点12点13点14点15点16点17点18点19点20点21点22点23点24点hpabardm2dm3khzmhzghzthzmm2cm2km2mm3cm3km3kpampagpalogmilmolppmv∕ma∕m10日11日12日13日14日15日16日17日18日19日20日21日22日23日24日25日26日27日28日29日30日31日galffifflשּׁשּׂ ٌّ ٍّ َّ ُّ ِّ ّٰـَّـُّـِّتجمتحجتحمتخمتمجتمحتمخجمححميحمىسحجسجحسجىسمحسمجسممصححصممشحمشجيشمخشممضحىضخمطمحطممطميعجمعممعمىغممغميغمىفخمقمحقمملحملحيلحىلججلخملمحمحجمحيمجحمجممخممجخهمجهممنحمنحىنجمنجىنمينمىيممبخيتجيتجىتخيتخىتميتمىجميجحىجمىسخىصحيشحيضحيلجيلمييحييجييميمميقمينحيعميكمينجحمخيلجمكممجحيحجيمجيفميبحيسخينجيصلےقلے𝅘𝅥𝅮𝅘𝅥𝅯𝅘𝅥𝅰𝅘𝅥𝅱𝅘𝅥𝅲𝆹𝅥𝅮𝆺𝅥𝅮𝆹𝅥𝅯𝆺𝅥𝅯〔s〕ppv〔本〕〔三〕〔二〕〔安〕〔点〕〔打〕〔盗〕〔勝〕〔敗〕 ̄ ́ ̧ssi̇ijl·ʼndžljnjdz ̆ ̇ ̊ ̨ ̃ ̋ ιեւاٴوٴۇٴيٴक़ख़ग़ज़ड़ढ़फ़य़ড়ঢ়য়ਲ਼ਸ਼ਖ਼ਗ਼ਜ਼ਫ਼ଡ଼ଢ଼ําໍາຫນຫມགྷཌྷདྷབྷཛྷཀྵཱཱིུྲྀླྀྒྷྜྷྡྷྦྷྫྷྐྵaʾἀιἁιἂιἃιἄιἅιἆιἇιἠιἡιἢιἣιἤιἥιἦιἧιὠιὡιὢιὣιὤιὥιὦιὧιὰιαιάιᾶι ͂ὴιηιήιῆιὼιωιώιῶι ̳!! ̅???!!?rs°c°fnosmtmivix⫝̸ ゙ ゚よりコト333435참고주의363738394042444546474849503月4月5月6月7月8月9月hgevギガデシドルナノピコビルペソホンリラレムdaauovpciu平成昭和大正明治naμakakbmbgbpfnfμfμgmgμlmldlklfmnmμmpsnsμsmsnvμvkvpwnwμwmwkwkωmωbqcccddbgyhainkkktlnlxphprsrsvwbstմնմեմիվնմխיִײַשׁשׂאַאָאּבּגּדּהּוּזּטּיּךּכּלּמּנּסּףּפּצּקּרּתּוֹבֿכֿפֿאלئائەئوئۇئۆئۈئېئىئجئحئمئيبجبمبىبيتىتيثجثمثىثيخحضجضمطحظمغجفجفحفىفيقحقىقيكاكجكحكخكلكىكينخنىنيهجهىهييىذٰرٰىٰئرئزئنبزبنترتزتنثرثزثنمانرنزننيريزئخئهبهتهصخنههٰثهسهشهطىطيعىعيغىغيسىسيشىشيصىصيضىضيشخشرسرصرضراً ًـًـّ ْـْلآلألإ𝅗𝅥0,1,2,3,4,5,6,7,8,9,wzhvsdwcmcmddjほかココàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįĵķĺļľłńņňŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷÿźżɓƃƅɔƈɖɗƌǝəɛƒɠɣɩɨƙɯɲɵơƣƥʀƨʃƭʈưʊʋƴƶʒƹƽǎǐǒǔǖǘǚǜǟǡǣǥǧǩǫǭǯǵƕƿǹǻǽǿȁȃȅȇȉȋȍȏȑȓȕȗșțȝȟƞȣȥȧȩȫȭȯȱȳⱥȼƚⱦɂƀʉʌɇɉɋɍɏɦɹɻʁʕͱͳʹͷ;ϳέίόύβγδεζθκλνξοπρστυφχψϊϋϗϙϛϝϟϡϣϥϧϩϫϭϯϸϻͻͼͽѐёђѓєѕіїјљњћќѝўџабвгдежзийклмнопрстуфхцчшщъыьэюяѡѣѥѧѩѫѭѯѱѳѵѷѹѻѽѿҁҋҍҏґғҕҗҙқҝҟҡңҥҧҩҫҭүұҳҵҷҹһҽҿӂӄӆӈӊӌӎӑӓӕӗәӛӝӟӡӣӥӧөӫӭӯӱӳӵӷӹӻӽӿԁԃԅԇԉԋԍԏԑԓԕԗԙԛԝԟԡԣԥԧԩԫԭԯաբգդզէըթժլծկհձղճյշոչպջռստրցփքօֆ་ⴧⴭნᏰᏱᏲᏳᏴᏵꙋɐɑᴂɜᴖᴗᴝᴥɒɕɟɡɥɪᵻʝɭᶅʟɱɰɳɴɸʂƫᴜʐʑḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹỻỽỿἐἑἒἓἔἕἰἱἲἳἴἵἶἷὀὁὂὃὄὅὑὓὕὗᾰᾱὲΐῐῑὶΰῠῡὺῥ`ὸ‐+−∑〈〉ⰰⰱⰲⰳⰴⰵⰶⰷⰸⰹⰺⰻⰼⰽⰾⰿⱀⱁⱂⱃⱄⱅⱆⱇⱈⱉⱊⱋⱌⱍⱎⱏⱐⱑⱒⱓⱔⱕⱖⱗⱘⱙⱚⱛⱜⱝⱞⱡɫᵽɽⱨⱪⱬⱳⱶȿɀⲁⲃⲅⲇⲉⲋⲍⲏⲑⲓⲕⲗⲙⲛⲝⲟⲡⲣⲥⲧⲩⲫⲭⲯⲱⲳⲵⲷⲹⲻⲽⲿⳁⳃⳅⳇⳉⳋⳍⳏⳑⳓⳕⳗⳙⳛⳝⳟⳡⳣⳬⳮⳳⵡ母龟丨丶丿乙亅亠人儿入冂冖冫几凵刀力勹匕匚匸卜卩厂厶又口囗士夂夊夕女子宀寸小尢尸屮山巛工己巾干幺广廴廾弋弓彐彡彳心戈戶手支攴文斗斤方无曰欠止歹殳毋比毛氏气爪父爻爿片牙牛犬玄玉瓜瓦甘生用田疋疒癶白皮皿目矛矢石示禸禾穴立竹米糸缶网羊羽老而耒耳聿肉臣臼舌舛舟艮色艸虍虫血行衣襾見角言谷豆豕豸貝赤走足身車辛辰辵邑酉釆里長門阜隶隹雨靑非面革韋韭音頁風飛食首香馬骨高髟鬥鬯鬲鬼魚鳥鹵鹿麥麻黃黍黑黹黽鼎鼓鼠鼻齊齒龍龜龠.〒卄卅ᄁᆪᆬᆭᄄᆰᆱᆲᆳᆴᆵᄚᄈᄡᄊ짜ᅢᅣᅤᅥᅦᅧᅨᅩᅪᅫᅬᅭᅮᅯᅰᅱᅲᅳᅴᅵᄔᄕᇇᇈᇌᇎᇓᇗᇙᄜᇝᇟᄝᄞᄠᄢᄣᄧᄩᄫᄬᄭᄮᄯᄲᄶᅀᅇᅌᇱᇲᅗᅘᅙᆄᆅᆈᆑᆒᆔᆞᆡ上中下甲丙丁天地問幼箏우秘男適優印注項写左右医宗夜テヌモヨヰヱヲꙁꙃꙅꙇꙉꙍꙏꙑꙓꙕꙗꙙꙛꙝꙟꙡꙣꙥꙧꙩꙫꙭꚁꚃꚅꚇꚉꚋꚍꚏꚑꚓꚕꚗꚙꚛꜣꜥꜧꜩꜫꜭꜯꜳꜵꜷꜹꜻꜽꜿꝁꝃꝅꝇꝉꝋꝍꝏꝑꝓꝕꝗꝙꝛꝝꝟꝡꝣꝥꝧꝩꝫꝭꝯꝺꝼᵹꝿꞁꞃꞅꞇꞌꞑꞓꞗꞙꞛꞝꞟꞡꞣꞥꞧꞩɬʞʇꭓꞵꞷꬷꭒᎠᎡᎢᎣᎤᎥᎦᎧᎨᎩᎪᎫᎬᎭᎮᎯᎰᎱᎲᎳᎴᎵᎶᎷᎸᎹᎺᎻᎼᎽᎾᎿᏀᏁᏂᏃᏄᏅᏆᏇᏈᏉᏊᏋᏌᏍᏎᏏᏐᏑᏒᏓᏔᏕᏖᏗᏘᏙᏚᏛᏜᏝᏞᏟᏠᏡᏢᏣᏤᏥᏦᏧᏨᏩᏪᏫᏬᏭᏮᏯ豈更賈滑串句契喇奈懶癩羅蘿螺裸邏樂洛烙珞落酪駱亂卵欄爛蘭鸞嵐濫藍襤拉臘蠟廊朗浪狼郎來冷勞擄櫓爐盧蘆虜路露魯鷺碌祿綠菉錄論壟弄籠聾牢磊賂雷壘屢樓淚漏累縷陋勒肋凜凌稜綾菱陵讀拏諾丹寧怒率異北磻便復不泌數索參塞省葉說殺沈拾若掠略亮兩凉梁糧良諒量勵呂廬旅濾礪閭驪麗黎曆歷轢年憐戀撚漣煉璉秊練聯輦蓮連鍊列劣咽烈裂廉念捻殮簾獵令囹嶺怜玲瑩羚聆鈴零靈領例禮醴隸惡了僚寮尿料燎療蓼遼暈阮劉杻柳流溜琉留硫紐類戮陸倫崙淪輪律慄栗隆利吏履易李梨泥理痢罹裏裡離匿溺吝燐璘藺隣鱗麟林淋臨笠粒狀炙識什茶刺切度拓糖宅洞暴輻降廓兀嗀塚晴凞猪益礼神祥福靖精蘒諸逸都飯飼館鶴郞隷侮僧免勉勤卑喝嘆器塀墨層悔慨憎懲敏既暑梅海渚漢煮爫琢碑祉祈祐祖禍禎穀突節縉繁署者臭艹著褐視謁謹賓贈辶難響頻恵𤋮舘並况全侀充冀勇勺啕喙嗢墳奄奔婢嬨廒廙彩徭惘慎愈慠戴揄搜摒敖望杖滛滋瀞瞧爵犯瑱甆画瘝瘟盛直睊着磌窱类絛缾荒華蝹襁覆調請諭變輸遲醙鉶陼韛頋鬒𢡊𢡄𣏕㮝䀘䀹𥉉𥳐𧻓齃龎עםٱٻپڀٺٿٹڤڦڄڃچڇڍڌڎڈژڑکگڳڱںڻۀہھۓڭۋۅۉ、〖〗—–_{}【】《》「」『』[]#&*-<>\\$%@ءؤة\"'^|~⦅⦆・ゥャ¢£¬¦¥₩│←↑→↓■○𐐨𐐩𐐪𐐫𐐬𐐭𐐮𐐯𐐰𐐱𐐲𐐳𐐴𐐵𐐶𐐷𐐸𐐹𐐺𐐻𐐼𐐽𐐾𐐿𐑀𐑁𐑂𐑃𐑄𐑅𐑆𐑇𐑈𐑉𐑊𐑋𐑌𐑍𐑎𐑏𐓘𐓙𐓚𐓛𐓜𐓝𐓞𐓟𐓠𐓡𐓢𐓣𐓤𐓥𐓦𐓧𐓨𐓩𐓪𐓫𐓬𐓭𐓮𐓯𐓰𐓱𐓲𐓳𐓴𐓵𐓶𐓷𐓸𐓹𐓺𐓻𐳀𐳁𐳂𐳃𐳄𐳅𐳆𐳇𐳈𐳉𐳊𐳋𐳌𐳍𐳎𐳏𐳐𐳑𐳒𐳓𐳔𐳕𐳖𐳗𐳘𐳙𐳚𐳛𐳜𐳝𐳞𐳟𐳠𐳡𐳢𐳣𐳤𐳥𐳦𐳧𐳨𐳩𐳪𐳫𐳬𐳭𐳮𐳯𐳰𐳱𐳲𑣀𑣁𑣂𑣃𑣄𑣅𑣆𑣇𑣈𑣉𑣊𑣋𑣌𑣍𑣎𑣏𑣐𑣑𑣒𑣓𑣔𑣕𑣖𑣗𑣘𑣙𑣚𑣛𑣜𑣝𑣞𑣟ıȷ∇∂𞤢𞤣𞤤𞤥𞤦𞤧𞤨𞤩𞤪𞤫𞤬𞤭𞤮𞤯𞤰𞤱𞤲𞤳𞤴𞤵𞤶𞤷𞤸𞤹𞤺𞤻𞤼𞤽𞤾𞤿𞥀𞥁𞥂𞥃ٮڡٯ字双多解交映無前後再新初終販声吹演投捕遊指禁空合満申割営配得可丽丸乁𠄢你侻倂偺備像㒞𠘺兔兤具𠔜㒹內𠕋冗冤仌冬𩇟刃㓟刻剆剷㔕包匆卉博即卽卿𠨬灰及叟𠭣叫叱吆咞吸呈周咢哶唐啓啣善喫喳嗂圖圗噑噴壮城埴堍型堲報墬𡓤売壷夆夢奢𡚨𡛪姬娛娧姘婦㛮嬈嬾𡧈寃寘寳𡬘寿将㞁屠峀岍𡷤嵃𡷦嵮嵫嵼巡巢㠯巽帨帽幩㡢𢆃㡼庰庳庶𪎒𢌱舁弢㣇𣊸𦇚形彫㣣徚忍志忹悁㤺㤜𢛔惇慈慌慺憲憤憯懞戛扝抱拔捐𢬌挽拼捨掃揤𢯱搢揅掩㨮摩摾撝摷㩬敬𣀊旣書晉㬙㬈㫤冒冕最暜肭䏙朡杞杓𣏃㭉柺枅桒𣑭梎栟椔楂榣槪檨𣚣櫛㰘次𣢧歔㱎歲殟殻𣪍𡴋𣫺汎𣲼沿泍汧洖派浩浸涅𣴞洴港湮㴳滇𣻑淹潮𣽞𣾎濆瀹瀛㶖灊災灷炭𠔥煅𤉣熜爨牐𤘈犀犕𤜵𤠔獺王㺬玥㺸瑇瑜璅瓊㼛甤𤰶甾𤲒𢆟瘐𤾡𤾸𥁄㿼䀈𥃳𥃲𥄙𥄳眞真瞋䁆䂖𥐝硎䃣𥘦𥚚𥛅秫䄯穊穏𥥼𥪧䈂𥮫篆築䈧𥲀糒䊠糨糣紀𥾆絣䌁緇縂繅䌴𦈨𦉇䍙𦋙罺𦌾羕翺𦓚𦔣聠𦖨聰𣍟䏕育脃䐋脾媵𦞧𦞵𣎓𣎜舄辞䑫芑芋芝劳花芳芽苦𦬼茝荣莭茣莽菧荓菊菌菜𦰶𦵫𦳕䔫蓱蓳蔖𧏊蕤𦼬䕝䕡𦾱𧃒䕫虐虧虩蚩蚈蜎蛢蜨蝫螆蟡蠁䗹衠𧙧裗裞䘵裺㒻𧢮𧥦䚾䛇誠𧲨貫賁贛起𧼯𠠄跋趼跰𠣞軔𨗒𨗭邔郱鄑𨜮鄛鈸鋗鋘鉼鏹鐕𨯺開䦕閷𨵷䧦雃嶲霣𩅅𩈚䩮䩶韠𩐊䪲𩒖頩𩖶飢䬳餩馧駂駾䯎𩬰鱀鳽䳎䳭鵧𪃎䳸𪄅𪈎𪊑䵖黾鼅鼏鼖𪘀"; - - function mapChar(codePoint) { - if (codePoint >= 0x30000) { - // High planes are special cased. - if (codePoint >= 0xE0100 && codePoint <= 0xE01EF) - return 18874368; - return 0; - } - return blocks[blockIdxes[codePoint >> 4]][codePoint & 15]; - } - - return { - mapStr: mappingStr, - mapChar: mapChar }; - -}); - -/***/ }), -/* 1055 */ -/*!*****************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-ens/lib/resources/ABI/Registry.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var REGISTRY = [ -{ - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" }], - - - "name": "resolver", - "outputs": [ - { - "name": "", - "type": "address" }], - - - "payable": false, - "type": "function" }, - -{ - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" }], - - - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" }], - - - "payable": false, - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "label", - "type": "bytes32" }, - - { - "name": "owner", - "type": "address" }], - - - "name": "setSubnodeOwner", - "outputs": [], - "payable": false, - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "ttl", - "type": "uint64" }], - - - "name": "setTTL", - "outputs": [], - "payable": false, - "type": "function" }, - -{ - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" }], - - - "name": "ttl", - "outputs": [ - { - "name": "", - "type": "uint64" }], - - - "payable": false, - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "resolver", - "type": "address" }], - - - "name": "setResolver", - "outputs": [], - "payable": false, - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "owner", - "type": "address" }], - - - "name": "setOwner", - "outputs": [], - "payable": false, - "type": "function" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" }, - - { - "indexed": false, - "name": "owner", - "type": "address" }], - - - "name": "Transfer", - "type": "event" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" }, - - { - "indexed": true, - "name": "label", - "type": "bytes32" }, - - { - "indexed": false, - "name": "owner", - "type": "address" }], - - - "name": "NewOwner", - "type": "event" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" }, - - { - "indexed": false, - "name": "resolver", - "type": "address" }], - - - "name": "NewResolver", - "type": "event" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" }, - - { - "indexed": false, - "name": "ttl", - "type": "uint64" }], - - - "name": "NewTTL", - "type": "event" }, - -{ - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" }, - - { - "internalType": "address", - "name": "owner", - "type": "address" }, - - { - "internalType": "address", - "name": "resolver", - "type": "address" }, - - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" }], - - - "name": "setRecord", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" }, - - { - "internalType": "bool", - "name": "approved", - "type": "bool" }], - - - "name": "setApprovalForAll", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" }, - - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" }, - - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" }], - - - "name": "ApprovalForAll", - "type": "event" }, - -{ - "constant": true, - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" }, - - { - "internalType": "address", - "name": "operator", - "type": "address" }], - - - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" }], - - - "payable": false, - "stateMutability": "view", - "type": "function" }, - -{ - "constant": true, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" }], - - - "name": "recordExists", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" }], - - - "payable": false, - "stateMutability": "view", - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "internalType": "bytes32", - "name": "node", - "type": "bytes32" }, - - { - "internalType": "bytes32", - "name": "label", - "type": "bytes32" }, - - { - "internalType": "address", - "name": "owner", - "type": "address" }, - - { - "internalType": "address", - "name": "resolver", - "type": "address" }, - - { - "internalType": "uint64", - "name": "ttl", - "type": "uint64" }], - - - "name": "setSubnodeRecord", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" }]; - - -module.exports = REGISTRY; - -/***/ }), -/* 1056 */ -/*!*****************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-ens/lib/resources/ABI/Resolver.js ***! - \*****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var RESOLVER = [ -{ - "constant": true, - "inputs": [ - { - "name": "interfaceID", - "type": "bytes4" }], - - - "name": "supportsInterface", - "outputs": [ - { - "name": "", - "type": "bool" }], - - - "payable": false, - "type": "function" }, - -{ - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "contentTypes", - "type": "uint256" }], - - - "name": "ABI", - "outputs": [ - { - "name": "contentType", - "type": "uint256" }, - - { - "name": "data", - "type": "bytes" }], - - - "payable": false, - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "hash", - "type": "bytes" }], - - - "name": "setMultihash", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" }, - -{ - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" }], - - - "name": "multihash", - "outputs": [ - { - "name": "", - "type": "bytes" }], - - - "payable": false, - "stateMutability": "view", - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "x", - "type": "bytes32" }, - - { - "name": "y", - "type": "bytes32" }], - - - "name": "setPubkey", - "outputs": [], - "payable": false, - "type": "function" }, - -{ - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" }], - - - "name": "content", - "outputs": [ - { - "name": "ret", - "type": "bytes32" }], - - - "payable": false, - "type": "function" }, - -{ - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" }], - - - "name": "addr", - "outputs": [ - { - "name": "ret", - "type": "address" }], - - - "payable": false, - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "contentType", - "type": "uint256" }, - - { - "name": "data", - "type": "bytes" }], - - - "name": "setABI", - "outputs": [], - "payable": false, - "type": "function" }, - -{ - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" }], - - - "name": "name", - "outputs": [ - { - "name": "ret", - "type": "string" }], - - - "payable": false, - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "name", - "type": "string" }], - - - "name": "setName", - "outputs": [], - "payable": false, - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "hash", - "type": "bytes32" }], - - - "name": "setContent", - "outputs": [], - "payable": false, - "type": "function" }, - -{ - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" }], - - - "name": "pubkey", - "outputs": [ - { - "name": "x", - "type": "bytes32" }, - - { - "name": "y", - "type": "bytes32" }], - - - "payable": false, - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "addr", - "type": "address" }], - - - "name": "setAddr", - "outputs": [], - "payable": false, - "type": "function" }, - -{ - "inputs": [ - { - "name": "ensAddr", - "type": "address" }], - - - "payable": false, - "type": "constructor" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" }, - - { - "indexed": false, - "name": "a", - "type": "address" }], - - - "name": "AddrChanged", - "type": "event" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" }, - - { - "indexed": false, - "name": "hash", - "type": "bytes32" }], - - - "name": "ContentChanged", - "type": "event" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" }, - - { - "indexed": false, - "name": "name", - "type": "string" }], - - - "name": "NameChanged", - "type": "event" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" }, - - { - "indexed": true, - "name": "contentType", - "type": "uint256" }], - - - "name": "ABIChanged", - "type": "event" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" }, - - { - "indexed": false, - "name": "x", - "type": "bytes32" }, - - { - "indexed": false, - "name": "y", - "type": "bytes32" }], - - - "name": "PubkeyChanged", - "type": "event" }, - -{ - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "node", - "type": "bytes32" }, - - { - "indexed": false, - "name": "hash", - "type": "bytes" }], - - - "name": "ContenthashChanged", - "type": "event" }, - -{ - "constant": true, - "inputs": [ - { - "name": "node", - "type": "bytes32" }], - - - "name": "contenthash", - "outputs": [ - { - "name": "", - "type": "bytes" }], - - - "payable": false, - "stateMutability": "view", - "type": "function" }, - -{ - "constant": false, - "inputs": [ - { - "name": "node", - "type": "bytes32" }, - - { - "name": "hash", - "type": "bytes" }], - - - "name": "setContenthash", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" }]; - - -module.exports = RESOLVER; - -/***/ }), -/* 1057 */ -/*!********************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-ens/lib/lib/ResolverMethodHandler.js ***! - \********************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(__f__) {/* - This file is part of web3.js. - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file ResolverMethodHandler.js - * - * @author Samuel Furter - * @date 2018 - */ -var _regeneratorRuntime = __webpack_require__(/*! ./node_modules/@babel/runtime/regenerator */ 44);function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};} -var PromiEvent = __webpack_require__(/*! web3-core-promievent */ 1041); -var namehash = __webpack_require__(/*! eth-ens-namehash */ 1052); -var errors = __webpack_require__(/*! web3-core-helpers */ 995).errors; -var _ = __webpack_require__(/*! underscore */ 994); -var interfaceIds = __webpack_require__(/*! ../config */ 1048).interfaceIds; -/** - * @param {Registry} registry - * @constructor - */ -function ResolverMethodHandler(registry) { - this.registry = registry; -} -/** - * Executes an resolver method and returns an eventifiedPromise - * - * @param {string} ensName - * @param {string} methodName - * @param {array} methodArguments - * @param {function} callback - * @returns {Object} - */ -ResolverMethodHandler.prototype.method = function (ensName, methodName, methodArguments, outputFormatter, callback) { - return { - call: this.call.bind({ - ensName: ensName, - methodName: methodName, - methodArguments: methodArguments, - callback: callback, - parent: this, - outputFormatter: outputFormatter }), - - send: this.send.bind({ - ensName: ensName, - methodName: methodName, - methodArguments: methodArguments, - callback: callback, - parent: this }) }; - - -}; -/** - * Executes call - * - * @returns {eventifiedPromise} - */ -ResolverMethodHandler.prototype.call = function (callback) { - var self = this; - var promiEvent = new PromiEvent(); - var preparedArguments = this.parent.prepareArguments(this.ensName, this.methodArguments); - var outputFormatter = this.outputFormatter || null; - this.parent.registry.getResolver(this.ensName).then( /*#__PURE__*/function () {var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(resolver) {return _regeneratorRuntime.wrap(function _callee$(_context) {while (1) {switch (_context.prev = _context.next) {case 0:_context.next = 2;return ( - self.parent.checkInterfaceSupport(resolver, self.methodName));case 2: - self.parent.handleCall(promiEvent, resolver.methods[self.methodName], preparedArguments, outputFormatter, callback);case 3:case "end":return _context.stop();}}}, _callee);}));return function (_x) {return _ref.apply(this, arguments);};}()). - catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Executes send - * - * @param {Object} sendOptions - * @param {function} callback - * @returns {eventifiedPromise} - */ -ResolverMethodHandler.prototype.send = function (sendOptions, callback) { - var self = this; - var promiEvent = new PromiEvent(); - var preparedArguments = this.parent.prepareArguments(this.ensName, this.methodArguments); - this.parent.registry.getResolver(this.ensName).then( /*#__PURE__*/function () {var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(resolver) {return _regeneratorRuntime.wrap(function _callee2$(_context2) {while (1) {switch (_context2.prev = _context2.next) {case 0:_context2.next = 2;return ( - self.parent.checkInterfaceSupport(resolver, self.methodName));case 2: - self.parent.handleSend(promiEvent, resolver.methods[self.methodName], preparedArguments, sendOptions, callback);case 3:case "end":return _context2.stop();}}}, _callee2);}));return function (_x2) {return _ref2.apply(this, arguments);};}()). - catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent.eventEmitter; -}; -/** - * Handles a call method - * - * @param {eventifiedPromise} promiEvent - * @param {function} method - * @param {array} preparedArguments - * @param {function} callback - * @returns {eventifiedPromise} - */ -ResolverMethodHandler.prototype.handleCall = function (promiEvent, method, preparedArguments, outputFormatter, callback) { - method.apply(this, preparedArguments).call(). - then(function (result) { - if (outputFormatter) { - result = outputFormatter(result); - } - if (_.isFunction(callback)) { - // It's required to pass the receipt to the second argument to be backwards compatible and to have the required consistency - callback(result, result); - return; - } - promiEvent.resolve(result); - }).catch(function (error) { - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent; -}; -/** - * Handles a send method - * - * @param {eventifiedPromise} promiEvent - * @param {function} method - * @param {array} preparedArguments - * @param {Object} sendOptions - * @param {function} callback - * @returns {eventifiedPromise} - */ -ResolverMethodHandler.prototype.handleSend = function (promiEvent, method, preparedArguments, sendOptions, callback) { - method.apply(this, preparedArguments).send(sendOptions). - on('sending', function () { - promiEvent.eventEmitter.emit('sending'); - }). - on('sent', function () { - promiEvent.eventEmitter.emit('sent'); - }). - on('transactionHash', function (hash) { - promiEvent.eventEmitter.emit('transactionHash', hash); - }). - on('confirmation', function (confirmationNumber, receipt) { - promiEvent.eventEmitter.emit('confirmation', confirmationNumber, receipt); - }). - on('receipt', function (receipt) { - promiEvent.eventEmitter.emit('receipt', receipt); - promiEvent.resolve(receipt); - if (_.isFunction(callback)) { - // It's required to pass the receipt to the second argument to be backwards compatible and to have the required consistency - callback(receipt, receipt); - } - }). - on('error', function (error) { - promiEvent.eventEmitter.emit('error', error); - if (_.isFunction(callback)) { - callback(error, null); - return; - } - promiEvent.reject(error); - }); - return promiEvent; -}; -/** - * Adds the ENS node to the arguments - * - * @param {string} name - * @param {array} methodArguments - * - * @returns {array} - */ -ResolverMethodHandler.prototype.prepareArguments = function (name, methodArguments) { - var node = namehash.hash(name); - if (methodArguments.length > 0) { - methodArguments.unshift(node); - return methodArguments; - } - return [node]; -}; -/** - * - * - * @param {Contract} resolver - * @param {string} methodName - * - * @returns {Promise} - */ -ResolverMethodHandler.prototype.checkInterfaceSupport = /*#__PURE__*/function () {var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(resolver, methodName) {var supported;return _regeneratorRuntime.wrap(function _callee3$(_context3) {while (1) {switch (_context3.prev = _context3.next) {case 0:if ( - - interfaceIds[methodName]) {_context3.next = 2;break;}return _context3.abrupt("return");case 2: - - supported = false;_context3.prev = 3;_context3.next = 6;return ( - - resolver. - methods. - supportsInterface(interfaceIds[methodName]). - call());case 6:supported = _context3.sent;_context3.next = 12;break;case 9:_context3.prev = 9;_context3.t0 = _context3["catch"](3); - - - __f__("warn", 'Could not verify interface of resolver contract at "' + resolver.options.address + '". ', " at node_modules/web3-eth-ens/lib/lib/ResolverMethodHandler.js:214");case 12:if ( - - supported) {_context3.next = 14;break;}throw ( - errors.ResolverMethodMissingError(resolver.options.address, methodName));case 14:case "end":return _context3.stop();}}}, _callee3, null, [[3, 9]]);}));return function (_x3, _x4) {return _ref3.apply(this, arguments);};}(); - - -module.exports = ResolverMethodHandler; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)["default"])) - -/***/ }), -/* 1058 */ -/*!**********************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-ens/lib/lib/contentHash.js ***! - \**********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* -Adapted from ensdomains/ui -https://github.com/ensdomains/ui/blob/3e62e440b53466eeec9dd1c63d73924eefbd88c1/src/utils/contents.js#L1-L85 - -BSD 2-Clause License - -Copyright (c) 2019, Ethereum Name Service -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ -var contentHash = __webpack_require__(/*! content-hash */ 1059); -function decode(encoded) { - var decoded = null; - var protocolType = null; - var error = null; - if (encoded && encoded.error) { - return { - protocolType: null, - decoded: encoded.error }; - - } - if (encoded) { - try { - decoded = contentHash.decode(encoded); - var codec = contentHash.getCodec(encoded); - if (codec === 'ipfs-ns') { - protocolType = 'ipfs'; - } else - if (codec === 'swarm-ns') { - protocolType = 'bzz'; - } else - if (codec === 'onion') { - protocolType = 'onion'; - } else - if (codec === 'onion3') { - protocolType = 'onion3'; - } else - { - decoded = encoded; - } - } - catch (e) { - error = e.message; - } - } - return { - protocolType: protocolType, - decoded: decoded, - error: error }; - -} -function encode(text) { - var content, contentType; - var encoded = false; - if (!!text) { - var matched = text.match(/^(ipfs|bzz|onion|onion3):\/\/(.*)/) || text.match(/\/(ipfs)\/(.*)/); - if (matched) { - contentType = matched[1]; - content = matched[2]; - } - try { - if (contentType === 'ipfs') { - if (content.length >= 4) { - encoded = '0x' + contentHash.fromIpfs(content); - } - } else - if (contentType === 'bzz') { - if (content.length >= 4) { - encoded = '0x' + contentHash.fromSwarm(content); - } - } else - if (contentType === 'onion') { - if (content.length === 16) { - encoded = '0x' + contentHash.encode('onion', content); - } - } else - if (contentType === 'onion3') { - if (content.length === 56) { - encoded = '0x' + contentHash.encode('onion3', content); - } - } else - { - throw new Error('Could not encode content hash: unsupported content type'); - } - } - catch (err) { - throw err; - } - } - return encoded; -} -module.exports = { - decode: decode, - encode: encode }; - -/***/ }), -/* 1059 */ -/*!************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/content-hash/src/index.js ***! - \************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* - ISC License - - Copyright (c) 2019, Pierre-Louis Despaigne - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -*/ - -var multiC = __webpack_require__(/*! multicodec */ 1060);var _require = - -__webpack_require__(/*! ./profiles */ 1071),hexStringToBuffer = _require.hexStringToBuffer,profiles = _require.profiles;var _require2 = -__webpack_require__(/*! ./helpers */ 1083),cidV0ToV1Base32 = _require2.cidV0ToV1Base32; - -module.exports = { - - //export some helpers functions - helpers: { - cidV0ToV1Base32: cidV0ToV1Base32 }, - - - /** - * Decode a Content Hash. - * @param {string} hash an hex string containing a content hash - * @return {string} the decoded content - */ - decode: function decode(contentHash) { - var buffer = hexStringToBuffer(contentHash); - var codec = multiC.getCodec(buffer); - var value = multiC.rmPrefix(buffer); - var profile = profiles[codec]; - if (!profile) profile = profiles['default']; - return profile.decode(value); - }, - - /** - * Encode an IPFS address into a content hash - * @param {string} ipfsHash string containing an IPFS address - * @return {string} the resulting content hash - */ - fromIpfs: function fromIpfs(ipfsHash) { - return this.encode('ipfs-ns', ipfsHash); - }, - - /** - * Encode a Swarm address into a content hash - * @param {string} swarmHash string containing a Swarm address - * @return {string} the resulting content hash - */ - fromSwarm: function fromSwarm(swarmHash) { - return this.encode('swarm-ns', swarmHash); - }, - - /** - * General purpose encoding function - * @param {string} codec - * @param {string} value - */ - encode: function encode(codec, value) { - var profile = profiles[codec]; - if (!profile) profile = profiles['default']; - var encodedValue = profile.encode(value); - return multiC.addPrefix(codec, encodedValue).toString('hex'); - }, - - /** - * Extract the codec of a content hash - * @param {string} hash hex string containing a content hash - * @return {string} the extracted codec - */ - getCodec: function getCodec(hash) { - var buffer = hexStringToBuffer(hash); - return multiC.getCodec(buffer); - } }; - -/***/ }), -/* 1060 */ -/*!**********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multicodec/src/index.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(Buffer) {/** - * Implementation of the multicodec specification. - * - * @module multicodec - * @example - * const multicodec = require('multicodec') - * - * const prefixedProtobuf = multicodec.addPrefix('protobuf', protobufBuffer) - * // prefixedProtobuf 0x50... - * - */ - - -var varint = __webpack_require__(/*! varint */ 1061); -var intTable = __webpack_require__(/*! ./int-table */ 1065); -var codecNameToCodeVarint = __webpack_require__(/*! ./varint-table */ 1067); -var util = __webpack_require__(/*! ./util */ 1068); - -exports = module.exports; - -/** - * Prefix a buffer with a multicodec-packed. - * - * @param {string|number} multicodecStrOrCode - * @param {Buffer} data - * @returns {Buffer} - */ -exports.addPrefix = function (multicodecStrOrCode, data) { - var prefix; - - if (Buffer.isBuffer(multicodecStrOrCode)) { - prefix = util.varintBufferEncode(multicodecStrOrCode); - } else { - if (codecNameToCodeVarint[multicodecStrOrCode]) { - prefix = codecNameToCodeVarint[multicodecStrOrCode]; - } else { - throw new Error('multicodec not recognized'); - } - } - return Buffer.concat([prefix, data]); -}; - -/** - * Decapsulate the multicodec-packed prefix from the data. - * - * @param {Buffer} data - * @returns {Buffer} - */ -exports.rmPrefix = function (data) { - varint.decode(data); - return data.slice(varint.decode.bytes); -}; - -/** - * Get the codec of the prefixed data. - * @param {Buffer} prefixedData - * @returns {string} - */ -exports.getCodec = function (prefixedData) { - var code = varint.decode(prefixedData); - var codecName = intTable.get(code); - if (codecName === undefined) { - throw new Error("Code ".concat(code, " not found")); - } - return codecName; -}; - -/** - * Get the name of the codec. - * @param {number} codec - * @returns {string} - */ -exports.getName = function (codec) { - return intTable.get(codec); -}; - -/** - * Get the code of the codec - * @param {string} name - * @returns {number} - */ -exports.getNumber = function (name) { - var code = codecNameToCodeVarint[name]; - if (code === undefined) { - throw new Error('Codec `' + name + '` not found'); - } - return util.varintBufferDecode(code)[0]; -}; - -/** - * Get the code of the prefixed data. - * @param {Buffer} prefixedData - * @returns {number} - */ -exports.getCode = function (prefixedData) { - return varint.decode(prefixedData); -}; - -/** - * Get the code as varint of a codec name. - * @param {string} codecName - * @returns {Buffer} - */ -exports.getCodeVarint = function (codecName) { - var code = codecNameToCodeVarint[codecName]; - if (code === undefined) { - throw new Error('Codec `' + codecName + '` not found'); - } - return code; -}; - -/** - * Get the varint of a code. - * @param {Number} code - * @returns {Array.} - */ -exports.getVarint = function (code) { - return varint.encode(code); -}; - -// Make the constants top-level constants -var constants = __webpack_require__(/*! ./constants */ 1069); -Object.assign(exports, constants); - -// Human friendly names for printing, e.g. in error messages -exports.print = __webpack_require__(/*! ./print */ 1070); -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1061 */ -/*!**************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/varint/index.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -module.exports = { - encode: __webpack_require__(/*! ./encode.js */ 1062), - decode: __webpack_require__(/*! ./decode.js */ 1063), - encodingLength: __webpack_require__(/*! ./length.js */ 1064) }; - -/***/ }), -/* 1062 */ -/*!***************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/varint/encode.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = encode; - -var MSB = 0x80, -REST = 0x7F, -MSBALL = ~REST, -INT = Math.pow(2, 31); - -function encode(num, out, offset) { - out = out || []; - offset = offset || 0; - var oldOffset = offset; - - while (num >= INT) { - out[offset++] = num & 0xFF | MSB; - num /= 128; - } - while (num & MSBALL) { - out[offset++] = num & 0xFF | MSB; - num >>>= 7; - } - out[offset] = num | 0; - - encode.bytes = offset - oldOffset + 1; - - return out; -} - -/***/ }), -/* 1063 */ -/*!***************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/varint/decode.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = read; - -var MSB = 0x80, -REST = 0x7F; - -function read(buf, offset) { - var res = 0, - offset = offset || 0, - shift = 0, - counter = offset, - b, - l = buf.length; - - do { - if (counter >= l) { - read.bytes = 0; - throw new RangeError('Could not decode varint'); - } - b = buf[counter++]; - res += shift < 28 ? - (b & REST) << shift : - (b & REST) * Math.pow(2, shift); - shift += 7; - } while (b >= MSB); - - read.bytes = counter - offset; - - return res; -} - -/***/ }), -/* 1064 */ -/*!***************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/varint/length.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - - -var N1 = Math.pow(2, 7); -var N2 = Math.pow(2, 14); -var N3 = Math.pow(2, 21); -var N4 = Math.pow(2, 28); -var N5 = Math.pow(2, 35); -var N6 = Math.pow(2, 42); -var N7 = Math.pow(2, 49); -var N8 = Math.pow(2, 56); -var N9 = Math.pow(2, 63); - -module.exports = function (value) { - return ( - value < N1 ? 1 : - value < N2 ? 2 : - value < N3 ? 3 : - value < N4 ? 4 : - value < N5 ? 5 : - value < N6 ? 6 : - value < N7 ? 7 : - value < N8 ? 8 : - value < N9 ? 9 : - 10); - -}; - -/***/ }), -/* 1065 */ -/*!**************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multicodec/src/int-table.js ***! - \**************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var baseTable = __webpack_require__(/*! ./base-table.json */ 1066); - -// map for hexString -> codecName -var nameTable = new Map(); - -for (var encodingName in baseTable) { - var code = baseTable[encodingName]; - nameTable.set(code, encodingName); -} - -module.exports = Object.freeze(nameTable); - -/***/ }), -/* 1066 */ -/*!*****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multicodec/src/base-table.json ***! - \*****************************************************************************************/ -/*! exports provided: identity, ip4, tcp, sha1, sha2-256, sha2-512, sha3-512, sha3-384, sha3-256, sha3-224, shake-128, shake-256, keccak-224, keccak-256, keccak-384, keccak-512, dccp, murmur3-128, murmur3-32, ip6, ip6zone, path, multicodec, multihash, multiaddr, multibase, dns, dns4, dns6, dnsaddr, protobuf, cbor, raw, dbl-sha2-256, rlp, bencode, dag-pb, dag-cbor, libp2p-key, git-raw, torrent-info, torrent-file, leofcoin-block, leofcoin-tx, leofcoin-pr, sctp, eth-block, eth-block-list, eth-tx-trie, eth-tx, eth-tx-receipt-trie, eth-tx-receipt, eth-state-trie, eth-account-snapshot, eth-storage-trie, bitcoin-block, bitcoin-tx, zcash-block, zcash-tx, stellar-block, stellar-tx, md4, md5, bmt, decred-block, decred-tx, ipld-ns, ipfs-ns, swarm-ns, ipns-ns, zeronet, ed25519-pub, dash-block, dash-tx, swarm-manifest, swarm-feed, udp, p2p-webrtc-star, p2p-webrtc-direct, p2p-stardust, p2p-circuit, dag-json, udt, utp, unix, p2p, ipfs, https, onion, onion3, garlic64, garlic32, tls, quic, ws, wss, p2p-websocket-star, http, json, messagepack, x11, blake2b-8, blake2b-16, blake2b-24, blake2b-32, blake2b-40, blake2b-48, blake2b-56, blake2b-64, blake2b-72, blake2b-80, blake2b-88, blake2b-96, blake2b-104, blake2b-112, blake2b-120, blake2b-128, blake2b-136, blake2b-144, blake2b-152, blake2b-160, blake2b-168, blake2b-176, blake2b-184, blake2b-192, blake2b-200, blake2b-208, blake2b-216, blake2b-224, blake2b-232, blake2b-240, blake2b-248, blake2b-256, blake2b-264, blake2b-272, blake2b-280, blake2b-288, blake2b-296, blake2b-304, blake2b-312, blake2b-320, blake2b-328, blake2b-336, blake2b-344, blake2b-352, blake2b-360, blake2b-368, blake2b-376, blake2b-384, blake2b-392, blake2b-400, blake2b-408, blake2b-416, blake2b-424, blake2b-432, blake2b-440, blake2b-448, blake2b-456, blake2b-464, blake2b-472, blake2b-480, blake2b-488, blake2b-496, blake2b-504, blake2b-512, blake2s-8, blake2s-16, blake2s-24, blake2s-32, blake2s-40, blake2s-48, blake2s-56, blake2s-64, blake2s-72, blake2s-80, blake2s-88, blake2s-96, blake2s-104, blake2s-112, blake2s-120, blake2s-128, blake2s-136, blake2s-144, blake2s-152, blake2s-160, blake2s-168, blake2s-176, blake2s-184, blake2s-192, blake2s-200, blake2s-208, blake2s-216, blake2s-224, blake2s-232, blake2s-240, blake2s-248, blake2s-256, skein256-8, skein256-16, skein256-24, skein256-32, skein256-40, skein256-48, skein256-56, skein256-64, skein256-72, skein256-80, skein256-88, skein256-96, skein256-104, skein256-112, skein256-120, skein256-128, skein256-136, skein256-144, skein256-152, skein256-160, skein256-168, skein256-176, skein256-184, skein256-192, skein256-200, skein256-208, skein256-216, skein256-224, skein256-232, skein256-240, skein256-248, skein256-256, skein512-8, skein512-16, skein512-24, skein512-32, skein512-40, skein512-48, skein512-56, skein512-64, skein512-72, skein512-80, skein512-88, skein512-96, skein512-104, skein512-112, skein512-120, skein512-128, skein512-136, skein512-144, skein512-152, skein512-160, skein512-168, skein512-176, skein512-184, skein512-192, skein512-200, skein512-208, skein512-216, skein512-224, skein512-232, skein512-240, skein512-248, skein512-256, skein512-264, skein512-272, skein512-280, skein512-288, skein512-296, skein512-304, skein512-312, skein512-320, skein512-328, skein512-336, skein512-344, skein512-352, skein512-360, skein512-368, skein512-376, skein512-384, skein512-392, skein512-400, skein512-408, skein512-416, skein512-424, skein512-432, skein512-440, skein512-448, skein512-456, skein512-464, skein512-472, skein512-480, skein512-488, skein512-496, skein512-504, skein512-512, skein1024-8, skein1024-16, skein1024-24, skein1024-32, skein1024-40, skein1024-48, skein1024-56, skein1024-64, skein1024-72, skein1024-80, skein1024-88, skein1024-96, skein1024-104, skein1024-112, skein1024-120, skein1024-128, skein1024-136, skein1024-144, skein1024-152, skein1024-160, skein1024-168, skein1024-176, skein1024-184, skein1024-192, skein1024-200, skein1024-208, skein1024-216, skein1024-224, skein1024-232, skein1024-240, skein1024-248, skein1024-256, skein1024-264, skein1024-272, skein1024-280, skein1024-288, skein1024-296, skein1024-304, skein1024-312, skein1024-320, skein1024-328, skein1024-336, skein1024-344, skein1024-352, skein1024-360, skein1024-368, skein1024-376, skein1024-384, skein1024-392, skein1024-400, skein1024-408, skein1024-416, skein1024-424, skein1024-432, skein1024-440, skein1024-448, skein1024-456, skein1024-464, skein1024-472, skein1024-480, skein1024-488, skein1024-496, skein1024-504, skein1024-512, skein1024-520, skein1024-528, skein1024-536, skein1024-544, skein1024-552, skein1024-560, skein1024-568, skein1024-576, skein1024-584, skein1024-592, skein1024-600, skein1024-608, skein1024-616, skein1024-624, skein1024-632, skein1024-640, skein1024-648, skein1024-656, skein1024-664, skein1024-672, skein1024-680, skein1024-688, skein1024-696, skein1024-704, skein1024-712, skein1024-720, skein1024-728, skein1024-736, skein1024-744, skein1024-752, skein1024-760, skein1024-768, skein1024-776, skein1024-784, skein1024-792, skein1024-800, skein1024-808, skein1024-816, skein1024-824, skein1024-832, skein1024-840, skein1024-848, skein1024-856, skein1024-864, skein1024-872, skein1024-880, skein1024-888, skein1024-896, skein1024-904, skein1024-912, skein1024-920, skein1024-928, skein1024-936, skein1024-944, skein1024-952, skein1024-960, skein1024-968, skein1024-976, skein1024-984, skein1024-992, skein1024-1000, skein1024-1008, skein1024-1016, skein1024-1024, holochain-adr-v0, holochain-adr-v1, holochain-key-v0, holochain-key-v1, holochain-sig-v0, holochain-sig-v1, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"identity\":0,\"ip4\":4,\"tcp\":6,\"sha1\":17,\"sha2-256\":18,\"sha2-512\":19,\"sha3-512\":20,\"sha3-384\":21,\"sha3-256\":22,\"sha3-224\":23,\"shake-128\":24,\"shake-256\":25,\"keccak-224\":26,\"keccak-256\":27,\"keccak-384\":28,\"keccak-512\":29,\"dccp\":33,\"murmur3-128\":34,\"murmur3-32\":35,\"ip6\":41,\"ip6zone\":42,\"path\":47,\"multicodec\":48,\"multihash\":49,\"multiaddr\":50,\"multibase\":51,\"dns\":53,\"dns4\":54,\"dns6\":55,\"dnsaddr\":56,\"protobuf\":80,\"cbor\":81,\"raw\":85,\"dbl-sha2-256\":86,\"rlp\":96,\"bencode\":99,\"dag-pb\":112,\"dag-cbor\":113,\"libp2p-key\":114,\"git-raw\":120,\"torrent-info\":123,\"torrent-file\":124,\"leofcoin-block\":129,\"leofcoin-tx\":130,\"leofcoin-pr\":131,\"sctp\":132,\"eth-block\":144,\"eth-block-list\":145,\"eth-tx-trie\":146,\"eth-tx\":147,\"eth-tx-receipt-trie\":148,\"eth-tx-receipt\":149,\"eth-state-trie\":150,\"eth-account-snapshot\":151,\"eth-storage-trie\":152,\"bitcoin-block\":176,\"bitcoin-tx\":177,\"zcash-block\":192,\"zcash-tx\":193,\"stellar-block\":208,\"stellar-tx\":209,\"md4\":212,\"md5\":213,\"bmt\":214,\"decred-block\":224,\"decred-tx\":225,\"ipld-ns\":226,\"ipfs-ns\":227,\"swarm-ns\":228,\"ipns-ns\":229,\"zeronet\":230,\"ed25519-pub\":237,\"dash-block\":240,\"dash-tx\":241,\"swarm-manifest\":250,\"swarm-feed\":251,\"udp\":273,\"p2p-webrtc-star\":275,\"p2p-webrtc-direct\":276,\"p2p-stardust\":277,\"p2p-circuit\":290,\"dag-json\":297,\"udt\":301,\"utp\":302,\"unix\":400,\"p2p\":421,\"ipfs\":421,\"https\":443,\"onion\":444,\"onion3\":445,\"garlic64\":446,\"garlic32\":447,\"tls\":448,\"quic\":460,\"ws\":477,\"wss\":478,\"p2p-websocket-star\":479,\"http\":480,\"json\":512,\"messagepack\":513,\"x11\":4352,\"blake2b-8\":45569,\"blake2b-16\":45570,\"blake2b-24\":45571,\"blake2b-32\":45572,\"blake2b-40\":45573,\"blake2b-48\":45574,\"blake2b-56\":45575,\"blake2b-64\":45576,\"blake2b-72\":45577,\"blake2b-80\":45578,\"blake2b-88\":45579,\"blake2b-96\":45580,\"blake2b-104\":45581,\"blake2b-112\":45582,\"blake2b-120\":45583,\"blake2b-128\":45584,\"blake2b-136\":45585,\"blake2b-144\":45586,\"blake2b-152\":45587,\"blake2b-160\":45588,\"blake2b-168\":45589,\"blake2b-176\":45590,\"blake2b-184\":45591,\"blake2b-192\":45592,\"blake2b-200\":45593,\"blake2b-208\":45594,\"blake2b-216\":45595,\"blake2b-224\":45596,\"blake2b-232\":45597,\"blake2b-240\":45598,\"blake2b-248\":45599,\"blake2b-256\":45600,\"blake2b-264\":45601,\"blake2b-272\":45602,\"blake2b-280\":45603,\"blake2b-288\":45604,\"blake2b-296\":45605,\"blake2b-304\":45606,\"blake2b-312\":45607,\"blake2b-320\":45608,\"blake2b-328\":45609,\"blake2b-336\":45610,\"blake2b-344\":45611,\"blake2b-352\":45612,\"blake2b-360\":45613,\"blake2b-368\":45614,\"blake2b-376\":45615,\"blake2b-384\":45616,\"blake2b-392\":45617,\"blake2b-400\":45618,\"blake2b-408\":45619,\"blake2b-416\":45620,\"blake2b-424\":45621,\"blake2b-432\":45622,\"blake2b-440\":45623,\"blake2b-448\":45624,\"blake2b-456\":45625,\"blake2b-464\":45626,\"blake2b-472\":45627,\"blake2b-480\":45628,\"blake2b-488\":45629,\"blake2b-496\":45630,\"blake2b-504\":45631,\"blake2b-512\":45632,\"blake2s-8\":45633,\"blake2s-16\":45634,\"blake2s-24\":45635,\"blake2s-32\":45636,\"blake2s-40\":45637,\"blake2s-48\":45638,\"blake2s-56\":45639,\"blake2s-64\":45640,\"blake2s-72\":45641,\"blake2s-80\":45642,\"blake2s-88\":45643,\"blake2s-96\":45644,\"blake2s-104\":45645,\"blake2s-112\":45646,\"blake2s-120\":45647,\"blake2s-128\":45648,\"blake2s-136\":45649,\"blake2s-144\":45650,\"blake2s-152\":45651,\"blake2s-160\":45652,\"blake2s-168\":45653,\"blake2s-176\":45654,\"blake2s-184\":45655,\"blake2s-192\":45656,\"blake2s-200\":45657,\"blake2s-208\":45658,\"blake2s-216\":45659,\"blake2s-224\":45660,\"blake2s-232\":45661,\"blake2s-240\":45662,\"blake2s-248\":45663,\"blake2s-256\":45664,\"skein256-8\":45825,\"skein256-16\":45826,\"skein256-24\":45827,\"skein256-32\":45828,\"skein256-40\":45829,\"skein256-48\":45830,\"skein256-56\":45831,\"skein256-64\":45832,\"skein256-72\":45833,\"skein256-80\":45834,\"skein256-88\":45835,\"skein256-96\":45836,\"skein256-104\":45837,\"skein256-112\":45838,\"skein256-120\":45839,\"skein256-128\":45840,\"skein256-136\":45841,\"skein256-144\":45842,\"skein256-152\":45843,\"skein256-160\":45844,\"skein256-168\":45845,\"skein256-176\":45846,\"skein256-184\":45847,\"skein256-192\":45848,\"skein256-200\":45849,\"skein256-208\":45850,\"skein256-216\":45851,\"skein256-224\":45852,\"skein256-232\":45853,\"skein256-240\":45854,\"skein256-248\":45855,\"skein256-256\":45856,\"skein512-8\":45857,\"skein512-16\":45858,\"skein512-24\":45859,\"skein512-32\":45860,\"skein512-40\":45861,\"skein512-48\":45862,\"skein512-56\":45863,\"skein512-64\":45864,\"skein512-72\":45865,\"skein512-80\":45866,\"skein512-88\":45867,\"skein512-96\":45868,\"skein512-104\":45869,\"skein512-112\":45870,\"skein512-120\":45871,\"skein512-128\":45872,\"skein512-136\":45873,\"skein512-144\":45874,\"skein512-152\":45875,\"skein512-160\":45876,\"skein512-168\":45877,\"skein512-176\":45878,\"skein512-184\":45879,\"skein512-192\":45880,\"skein512-200\":45881,\"skein512-208\":45882,\"skein512-216\":45883,\"skein512-224\":45884,\"skein512-232\":45885,\"skein512-240\":45886,\"skein512-248\":45887,\"skein512-256\":45888,\"skein512-264\":45889,\"skein512-272\":45890,\"skein512-280\":45891,\"skein512-288\":45892,\"skein512-296\":45893,\"skein512-304\":45894,\"skein512-312\":45895,\"skein512-320\":45896,\"skein512-328\":45897,\"skein512-336\":45898,\"skein512-344\":45899,\"skein512-352\":45900,\"skein512-360\":45901,\"skein512-368\":45902,\"skein512-376\":45903,\"skein512-384\":45904,\"skein512-392\":45905,\"skein512-400\":45906,\"skein512-408\":45907,\"skein512-416\":45908,\"skein512-424\":45909,\"skein512-432\":45910,\"skein512-440\":45911,\"skein512-448\":45912,\"skein512-456\":45913,\"skein512-464\":45914,\"skein512-472\":45915,\"skein512-480\":45916,\"skein512-488\":45917,\"skein512-496\":45918,\"skein512-504\":45919,\"skein512-512\":45920,\"skein1024-8\":45921,\"skein1024-16\":45922,\"skein1024-24\":45923,\"skein1024-32\":45924,\"skein1024-40\":45925,\"skein1024-48\":45926,\"skein1024-56\":45927,\"skein1024-64\":45928,\"skein1024-72\":45929,\"skein1024-80\":45930,\"skein1024-88\":45931,\"skein1024-96\":45932,\"skein1024-104\":45933,\"skein1024-112\":45934,\"skein1024-120\":45935,\"skein1024-128\":45936,\"skein1024-136\":45937,\"skein1024-144\":45938,\"skein1024-152\":45939,\"skein1024-160\":45940,\"skein1024-168\":45941,\"skein1024-176\":45942,\"skein1024-184\":45943,\"skein1024-192\":45944,\"skein1024-200\":45945,\"skein1024-208\":45946,\"skein1024-216\":45947,\"skein1024-224\":45948,\"skein1024-232\":45949,\"skein1024-240\":45950,\"skein1024-248\":45951,\"skein1024-256\":45952,\"skein1024-264\":45953,\"skein1024-272\":45954,\"skein1024-280\":45955,\"skein1024-288\":45956,\"skein1024-296\":45957,\"skein1024-304\":45958,\"skein1024-312\":45959,\"skein1024-320\":45960,\"skein1024-328\":45961,\"skein1024-336\":45962,\"skein1024-344\":45963,\"skein1024-352\":45964,\"skein1024-360\":45965,\"skein1024-368\":45966,\"skein1024-376\":45967,\"skein1024-384\":45968,\"skein1024-392\":45969,\"skein1024-400\":45970,\"skein1024-408\":45971,\"skein1024-416\":45972,\"skein1024-424\":45973,\"skein1024-432\":45974,\"skein1024-440\":45975,\"skein1024-448\":45976,\"skein1024-456\":45977,\"skein1024-464\":45978,\"skein1024-472\":45979,\"skein1024-480\":45980,\"skein1024-488\":45981,\"skein1024-496\":45982,\"skein1024-504\":45983,\"skein1024-512\":45984,\"skein1024-520\":45985,\"skein1024-528\":45986,\"skein1024-536\":45987,\"skein1024-544\":45988,\"skein1024-552\":45989,\"skein1024-560\":45990,\"skein1024-568\":45991,\"skein1024-576\":45992,\"skein1024-584\":45993,\"skein1024-592\":45994,\"skein1024-600\":45995,\"skein1024-608\":45996,\"skein1024-616\":45997,\"skein1024-624\":45998,\"skein1024-632\":45999,\"skein1024-640\":46000,\"skein1024-648\":46001,\"skein1024-656\":46002,\"skein1024-664\":46003,\"skein1024-672\":46004,\"skein1024-680\":46005,\"skein1024-688\":46006,\"skein1024-696\":46007,\"skein1024-704\":46008,\"skein1024-712\":46009,\"skein1024-720\":46010,\"skein1024-728\":46011,\"skein1024-736\":46012,\"skein1024-744\":46013,\"skein1024-752\":46014,\"skein1024-760\":46015,\"skein1024-768\":46016,\"skein1024-776\":46017,\"skein1024-784\":46018,\"skein1024-792\":46019,\"skein1024-800\":46020,\"skein1024-808\":46021,\"skein1024-816\":46022,\"skein1024-824\":46023,\"skein1024-832\":46024,\"skein1024-840\":46025,\"skein1024-848\":46026,\"skein1024-856\":46027,\"skein1024-864\":46028,\"skein1024-872\":46029,\"skein1024-880\":46030,\"skein1024-888\":46031,\"skein1024-896\":46032,\"skein1024-904\":46033,\"skein1024-912\":46034,\"skein1024-920\":46035,\"skein1024-928\":46036,\"skein1024-936\":46037,\"skein1024-944\":46038,\"skein1024-952\":46039,\"skein1024-960\":46040,\"skein1024-968\":46041,\"skein1024-976\":46042,\"skein1024-984\":46043,\"skein1024-992\":46044,\"skein1024-1000\":46045,\"skein1024-1008\":46046,\"skein1024-1016\":46047,\"skein1024-1024\":46048,\"holochain-adr-v0\":8417572,\"holochain-adr-v1\":8483108,\"holochain-key-v0\":9728292,\"holochain-key-v1\":9793828,\"holochain-sig-v0\":10645796,\"holochain-sig-v1\":10711332}"); - -/***/ }), -/* 1067 */ -/*!*****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multicodec/src/varint-table.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var baseTable = __webpack_require__(/*! ./base-table.json */ 1066); -var varintEncode = __webpack_require__(/*! ./util */ 1068).varintEncode; - -// map for codecName -> codeVarintBuffer -var varintTable = {}; - -for (var encodingName in baseTable) { - var code = baseTable[encodingName]; - varintTable[encodingName] = varintEncode(code); -} - -module.exports = Object.freeze(varintTable); - -/***/ }), -/* 1068 */ -/*!*********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multicodec/src/util.js ***! - \*********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(Buffer) { -var varint = __webpack_require__(/*! varint */ 1061); - -module.exports = { - numberToBuffer: numberToBuffer, - bufferToNumber: bufferToNumber, - varintBufferEncode: varintBufferEncode, - varintBufferDecode: varintBufferDecode, - varintEncode: varintEncode }; - - -function bufferToNumber(buf) { - return parseInt(buf.toString('hex'), 16); -} - -function numberToBuffer(num) { - var hexString = num.toString(16); - if (hexString.length % 2 === 1) { - hexString = '0' + hexString; - } - return Buffer.from(hexString, 'hex'); -} - -function varintBufferEncode(input) { - return Buffer.from(varint.encode(bufferToNumber(input))); -} - -function varintBufferDecode(input) { - return numberToBuffer(varint.decode(input)); -} - -function varintEncode(num) { - return Buffer.from(varint.encode(num)); -} -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1069 */ -/*!**************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multicodec/src/constants.js ***! - \**************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -function _slicedToArray(arr, i) {return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();}function _nonIterableRest() {throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;}function _iterableToArrayLimit(arr, i) {if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;var _arr = [];var _n = true;var _d = false;var _e = undefined;try {for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {_arr.push(_s.value);if (i && _arr.length === i) break;}} catch (err) {_d = true;_e = err;} finally {try {if (!_n && _i["return"] != null) _i["return"]();} finally {if (_d) throw _e;}}return _arr;}function _arrayWithHoles(arr) {if (Array.isArray(arr)) return arr;} - -var table = __webpack_require__(/*! ./base-table.json */ 1066); - -// map for codecConstant -> code -var constants = {}; - -for (var _i = 0, _Object$entries = Object.entries(table); _i < _Object$entries.length; _i++) {var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),name = _Object$entries$_i[0],code = _Object$entries$_i[1]; - constants[name.toUpperCase().replace(/-/g, '_')] = code; -} - -module.exports = Object.freeze(constants); - -/***/ }), -/* 1070 */ -/*!**********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multicodec/src/print.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -function _slicedToArray(arr, i) {return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();}function _nonIterableRest() {throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;}function _iterableToArrayLimit(arr, i) {if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;var _arr = [];var _n = true;var _d = false;var _e = undefined;try {for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {_arr.push(_s.value);if (i && _arr.length === i) break;}} catch (err) {_d = true;_e = err;} finally {try {if (!_n && _i["return"] != null) _i["return"]();} finally {if (_d) throw _e;}}return _arr;}function _arrayWithHoles(arr) {if (Array.isArray(arr)) return arr;} - -var table = __webpack_require__(/*! ./base-table.json */ 1066); - -// map for code -> print friendly name -var tableByCode = {}; - -for (var _i = 0, _Object$entries = Object.entries(table); _i < _Object$entries.length; _i++) {var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),name = _Object$entries$_i[0],code = _Object$entries$_i[1]; - if (tableByCode[code] === undefined) tableByCode[code] = name; -} - -module.exports = Object.freeze(tableByCode); - -/***/ }), -/* 1071 */ -/*!***************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/content-hash/src/profiles.js ***! - \***************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer) {/* - ISC License - - Copyright (c) 2019, Pierre-Louis Despaigne - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -*/ - -var CID = __webpack_require__(/*! cids */ 1072); -var multiH = __webpack_require__(/*! multihashes */ 1073); - -/** - * Convert an hexadecimal string to a Buffer, the string can start with or without '0x' - * @param {string} hex an hexadecimal value - * @return {Buffer} the resulting Buffer - */ -var hexStringToBuffer = function hexStringToBuffer(hex) { - var prefix = hex.slice(0, 2); - var value = hex.slice(2); - var res = ''; - if (prefix === '0x') res = value;else - res = hex; - return multiH.fromHexString(res); -}; - -/** - * list of known encoding, - * encoding should be a function that takes a `string` input, - * and return a `Buffer` result - */ -var encodes = { - /** - * @param {string} value - * @return {Buffer} - */ - swarm: function swarm(value) { - var multihash = multiH.encode(hexStringToBuffer(value), 'keccak-256'); - return new CID(1, 'swarm-manifest', multihash).buffer; - }, - /** - * @param {string} value - * @return {Buffer} - */ - ipfs: function ipfs(value) { - var multihash = multiH.fromB58String(value); - return new CID(1, 'dag-pb', multihash).buffer; - }, - /** - * @param {string} value - * @return {Buffer} - */ - utf8: function utf8(value) { - return Buffer.from(value, 'utf8'); - } }; - - -/** - * list of known decoding, - * decoding should be a function that takes a `Buffer` input, - * and return a `string` result - */ -var decodes = { - /** - * @param {Buffer} value - */ - hexMultiHash: function hexMultiHash(value) { - var cid = new CID(value); - return multiH.decode(cid.multihash).digest.toString('hex'); - }, - /** - * @param {Buffer} value - */ - b58MultiHash: function b58MultiHash(value) { - var cid = new CID(value); - return multiH.toB58String(cid.multihash); - }, - /** - * @param {Buffer} value - */ - utf8: function utf8(value) { - return value.toString('utf8'); - } }; - - -/** - * list of known encoding/decoding for a given codec, - * `encode` should be chosen among the `encodes` functions - * `decode` should be chosen among the `decodes` functions - */ -var profiles = { - 'swarm-ns': { - encode: encodes.swarm, - decode: decodes.hexMultiHash }, - - 'ipfs-ns': { - encode: encodes.ipfs, - decode: decodes.b58MultiHash }, - - 'ipns-ns': { - encode: encodes.ipfs, - decode: decodes.b58MultiHash }, - - 'default': { - encode: encodes.utf8, - decode: decodes.utf8 } }; - - - -exports.hexStringToBuffer = hexStringToBuffer; -exports.profiles = profiles; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1072 */ -/*!****************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/cids/src/index.js ***! - \****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -function _classCallCheck(instance, Constructor) {if (!(instance instanceof Constructor)) {throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target, props) {for (var i = 0; i < props.length; i++) {var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if ("value" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);}}function _createClass(Constructor, protoProps, staticProps) {if (protoProps) _defineProperties(Constructor.prototype, protoProps);if (staticProps) _defineProperties(Constructor, staticProps);return Constructor;}var _require = - -__webpack_require__(/*! buffer */ 40),Buffer = _require.Buffer; -var mh = __webpack_require__(/*! multihashes */ 1073); -var multibase = __webpack_require__(/*! multibase */ 1074); -var multicodec = __webpack_require__(/*! multicodec */ 1060); -var codecs = __webpack_require__(/*! multicodec/src/base-table.json */ 1066); -var CIDUtil = __webpack_require__(/*! ./cid-util */ 1081); -var withIs = __webpack_require__(/*! class-is */ 1082); - -/** - * @typedef {Object} SerializedCID - * @param {string} codec - * @param {number} version - * @param {Buffer} multihash - */ - -/** - * Test if the given input is a CID. - * @function isCID - * @memberof CID - * @static - * @param {any} other - * @returns {bool} - */ - -/** - * Class representing a CID `` - * , as defined in [ipld/cid](https://github.com/multiformats/cid). - * @class CID - */var -CID = /*#__PURE__*/function () { - /** - * Create a new CID. - * - * The algorithm for argument input is roughly: - * ``` - * if (cid) - * -> create a copy - * else if (str) - * if (1st char is on multibase table) -> CID String - * else -> bs58 encoded multihash - * else if (Buffer) - * if (1st byte is 0 or 1) -> CID - * else -> multihash - * else if (Number) - * -> construct CID by parts - * ``` - * - * @param {string|Buffer|CID} version - * @param {string} [codec] - * @param {Buffer} [multihash] - * @param {string} [multibaseName] - * - * @example - * new CID(, , , ) - * new CID() - * new CID() - * new CID() - * new CID() - * new CID() - */ - function CID(version, codec, multihash, multibaseName) {_classCallCheck(this, CID); - if (_CID.isCID(version)) { - // version is an exising CID instance - var cid = version; - this.version = cid.version; - this.codec = cid.codec; - this.multihash = Buffer.from(cid.multihash); - // Default guard for when a CID < 0.7 is passed with no multibaseName - this.multibaseName = cid.multibaseName || (cid.version === 0 ? 'base58btc' : 'base32'); - return; - } - - if (typeof version === 'string') { - // e.g. 'base32' or false - var baseName = multibase.isEncoded(version); - if (baseName) { - // version is a CID String encoded with multibase, so v1 - var _cid = multibase.decode(version); - this.version = parseInt(_cid.slice(0, 1).toString('hex'), 16); - this.codec = multicodec.getCodec(_cid.slice(1)); - this.multihash = multicodec.rmPrefix(_cid.slice(1)); - this.multibaseName = baseName; - } else { - // version is a base58btc string multihash, so v0 - this.version = 0; - this.codec = 'dag-pb'; - this.multihash = mh.fromB58String(version); - this.multibaseName = 'base58btc'; - } - CID.validateCID(this); - Object.defineProperty(this, 'string', { value: version }); - return; - } - - if (Buffer.isBuffer(version)) { - var firstByte = version.slice(0, 1); - var v = parseInt(firstByte.toString('hex'), 16); - if (v === 1) { - // version is a CID buffer - var _cid2 = version; - this.version = v; - this.codec = multicodec.getCodec(_cid2.slice(1)); - this.multihash = multicodec.rmPrefix(_cid2.slice(1)); - this.multibaseName = 'base32'; - } else { - // version is a raw multihash buffer, so v0 - this.version = 0; - this.codec = 'dag-pb'; - this.multihash = version; - this.multibaseName = 'base58btc'; - } - CID.validateCID(this); - return; - } - - // otherwise, assemble the CID from the parameters - - /** - * @type {number} - */ - this.version = version; - - /** - * @type {string} - */ - this.codec = codec; - - /** - * @type {Buffer} - */ - this.multihash = multihash; - - /** - * @type {string} - */ - this.multibaseName = multibaseName || (version === 0 ? 'base58btc' : 'base32'); - - CID.validateCID(this); - } - - /** - * The CID as a `Buffer` - * - * @return {Buffer} - * @readonly - * - * @memberOf CID - */_createClass(CID, [{ key: "toV0", - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /** - * Convert to a CID of version `0`. - * - * @returns {CID} - */value: function toV0() - { - if (this.codec !== 'dag-pb') { - throw new Error('Cannot convert a non dag-pb CID to CIDv0'); - }var _mh$decode = - - mh.decode(this.multihash),name = _mh$decode.name,length = _mh$decode.length; - - if (name !== 'sha2-256') { - throw new Error('Cannot convert non sha2-256 multihash CID to CIDv0'); - } - - if (length !== 32) { - throw new Error('Cannot convert non 32 byte multihash CID to CIDv0'); - } - - return new _CID(0, this.codec, this.multihash); - } - - /** - * Convert to a CID of version `1`. - * - * @returns {CID} - */ }, { key: "toV1", value: function toV1() - { - return new _CID(1, this.codec, this.multihash); - } - - /** - * Encode the CID into a string. - * - * @param {string} [base=this.multibaseName] - Base encoding to use. - * @returns {string} - */ }, { key: "toBaseEncodedString", value: function toBaseEncodedString() - {var base = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.multibaseName; - if (this.string && base === this.multibaseName) { - return this.string; - } - var str = null; - if (this.version === 0) { - if (base !== 'base58btc') { - throw new Error('not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()'); - } - str = mh.toB58String(this.multihash); - } else if (this.version === 1) { - str = multibase.encode(base, this.buffer).toString(); - } else { - throw new Error('unsupported version'); - } - if (base === this.multibaseName) { - // cache the string value - Object.defineProperty(this, 'string', { value: str }); - } - return str; - } - - /** - * CID(QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n) - * - * @returns {String} - */ }, { key: - Symbol.for('nodejs.util.inspect.custom'), value: function value() { - return 'CID(' + this.toString() + ')'; - } }, { key: "toString", value: function toString( - - base) { - return this.toBaseEncodedString(base); - } - - /** - * Serialize to a plain object. - * - * @returns {SerializedCID} - */ }, { key: "toJSON", value: function toJSON() - { - return { - codec: this.codec, - version: this.version, - hash: this.multihash }; - - } - - /** - * Compare equality with another CID. - * - * @param {CID} other - * @returns {bool} - */ }, { key: "equals", value: function equals( - other) { - return this.codec === other.codec && - this.version === other.version && - this.multihash.equals(other.multihash); - } - - /** - * Test if the given input is a valid CID object. - * Throws if it is not. - * - * @param {any} other - * @returns {void} - */ }, { key: "buffer", get: function get() {var buffer = this._buffer;if (!buffer) {if (this.version === 0) {buffer = this.multihash;} else if (this.version === 1) {buffer = Buffer.concat([Buffer.from('01', 'hex'), multicodec.getCodeVarint(this.codec), this.multihash]);} else {throw new Error('unsupported version');} // Cache this buffer so it doesn't have to be recreated - Object.defineProperty(this, '_buffer', { value: buffer });}return buffer;} /** - * Get the prefix of the CID. - * - * @returns {Buffer} - * @readonly - */ }, { key: "prefix", get: function get() {return Buffer.concat([Buffer.from("0".concat(this.version), 'hex'), multicodec.getCodeVarint(this.codec), mh.prefix(this.multihash)]);} }], [{ key: "validateCID", value: function validateCID(other) {var errorMsg = CIDUtil.checkCIDComponents(other);if (errorMsg) {throw new Error(errorMsg);}} }]);return CID;}(); - - -var _CID = withIs(CID, { - className: 'CID', - symbolName: '@ipld/js-cid/CID' }); - - -_CID.codecs = codecs; - -module.exports = _CID; - -/***/ }), -/* 1073 */ -/*!***********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multihashes/src/index.js ***! - \***********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/** - * Multihash implementation in JavaScript. - * - * @module multihash - */ -var _require = - -__webpack_require__(/*! buffer */ 40),Buffer = _require.Buffer; -var multibase = __webpack_require__(/*! multibase */ 1074); -var varint = __webpack_require__(/*! varint */ 1061); -var cs = __webpack_require__(/*! ./constants */ 1080); - -exports.names = cs.names; -exports.codes = cs.codes; -exports.defaultLengths = cs.defaultLengths; - -/** - * Convert the given multihash to a hex encoded string. - * - * @param {Buffer} hash - * @returns {string} - */ -exports.toHexString = function toHexString(hash) { - if (!Buffer.isBuffer(hash)) { - throw new Error('must be passed a buffer'); - } - - return hash.toString('hex'); -}; - -/** - * Convert the given hex encoded string to a multihash. - * - * @param {string} hash - * @returns {Buffer} - */ -exports.fromHexString = function fromHexString(hash) { - return Buffer.from(hash, 'hex'); -}; - -/** - * Convert the given multihash to a base58 encoded string. - * - * @param {Buffer} hash - * @returns {string} - */ -exports.toB58String = function toB58String(hash) { - if (!Buffer.isBuffer(hash)) { - throw new Error('must be passed a buffer'); - } - - return multibase.encode('base58btc', hash).toString().slice(1); -}; - -/** - * Convert the given base58 encoded string to a multihash. - * - * @param {string|Buffer} hash - * @returns {Buffer} - */ -exports.fromB58String = function fromB58String(hash) { - var encoded = hash; - if (Buffer.isBuffer(hash)) { - encoded = hash.toString(); - } - - return multibase.decode('z' + encoded); -}; - -/** - * Decode a hash from the given multihash. - * - * @param {Buffer} buf - * @returns {{code: number, name: string, length: number, digest: Buffer}} result - */ -exports.decode = function decode(buf) { - if (!Buffer.isBuffer(buf)) { - throw new Error('multihash must be a Buffer'); - } - - if (buf.length < 2) { - throw new Error('multihash too short. must be > 2 bytes.'); - } - - var code = varint.decode(buf); - if (!exports.isValidCode(code)) { - throw new Error("multihash unknown function code: 0x".concat(code.toString(16))); - } - buf = buf.slice(varint.decode.bytes); - - var len = varint.decode(buf); - if (len < 0) { - throw new Error("multihash invalid length: ".concat(len)); - } - buf = buf.slice(varint.decode.bytes); - - if (buf.length !== len) { - throw new Error("multihash length inconsistent: 0x".concat(buf.toString('hex'))); - } - - return { - code: code, - name: cs.codes[code], - length: len, - digest: buf }; - -}; - -/** - * Encode a hash digest along with the specified function code. - * - * > **Note:** the length is derived from the length of the digest itself. - * - * @param {Buffer} digest - * @param {string|number} code - * @param {number} [length] - * @returns {Buffer} - */ -exports.encode = function encode(digest, code, length) { - if (!digest || code === undefined) { - throw new Error('multihash encode requires at least two args: digest, code'); - } - - // ensure it's a hashfunction code. - var hashfn = exports.coerceCode(code); - - if (!Buffer.isBuffer(digest)) { - throw new Error('digest should be a Buffer'); - } - - if (length == null) { - length = digest.length; - } - - if (length && digest.length !== length) { - throw new Error('digest length should be equal to specified length.'); - } - - return Buffer.concat([ - Buffer.from(varint.encode(hashfn)), - Buffer.from(varint.encode(length)), - digest]); - -}; - -/** - * Converts a hash function name into the matching code. - * If passed a number it will return the number if it's a valid code. - * @param {string|number} name - * @returns {number} - */ -exports.coerceCode = function coerceCode(name) { - var code = name; - - if (typeof name === 'string') { - if (cs.names[name] === undefined) { - throw new Error("Unrecognized hash function named: ".concat(name)); - } - code = cs.names[name]; - } - - if (typeof code !== 'number') { - throw new Error("Hash function code should be a number. Got: ".concat(code)); - } - - if (cs.codes[code] === undefined && !exports.isAppCode(code)) { - throw new Error("Unrecognized function code: ".concat(code)); - } - - return code; -}; - -/** - * Checks wether a code is part of the app range - * - * @param {number} code - * @returns {boolean} - */ -exports.isAppCode = function appCode(code) { - return code > 0 && code < 0x10; -}; - -/** - * Checks whether a multihash code is valid. - * - * @param {number} code - * @returns {boolean} - */ -exports.isValidCode = function validCode(code) { - if (exports.isAppCode(code)) { - return true; - } - - if (cs.codes[code]) { - return true; - } - - return false; -}; - -/** - * Check if the given buffer is a valid multihash. Throws an error if it is not valid. - * - * @param {Buffer} multihash - * @returns {undefined} - * @throws {Error} - */ -function validate(multihash) { - exports.decode(multihash); // throws if bad. -} -exports.validate = validate; - -/** - * Returns a prefix from a valid multihash. Throws an error if it is not valid. - * - * @param {Buffer} multihash - * @returns {undefined} - * @throws {Error} - */ -exports.prefix = function prefix(multihash) { - validate(multihash); - - return multihash.slice(0, 2); -}; - -/***/ }), -/* 1074 */ -/*!*********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multibase/src/index.js ***! - \*********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/** - * Implementation of the [multibase](https://github.com/multiformats/multibase) specification. - * @module Multibase - */ -var _require = - -__webpack_require__(/*! buffer */ 40),Buffer = _require.Buffer; -var constants = __webpack_require__(/*! ./constants */ 1075); - -exports = module.exports = multibase; -exports.encode = encode; -exports.decode = decode; -exports.isEncoded = isEncoded; -exports.names = Object.freeze(Object.keys(constants.names)); -exports.codes = Object.freeze(Object.keys(constants.codes)); - -var errNotSupported = new Error('Unsupported encoding'); - -/** - * Create a new buffer with the multibase varint+code. - * - * @param {string|number} nameOrCode - The multibase name or code number. - * @param {Buffer} buf - The data to be prefixed with multibase. - * @memberof Multibase - * @returns {Buffer} - */ -function multibase(nameOrCode, buf) { - if (!buf) { - throw new Error('requires an encoded buffer'); - } - var base = getBase(nameOrCode); - var codeBuf = Buffer.from(base.code); - - var name = base.name; - validEncode(name, buf); - return Buffer.concat([codeBuf, buf]); -} - -/** - * Encode data with the specified base and add the multibase prefix. - * - * @param {string|number} nameOrCode - The multibase name or code number. - * @param {Buffer} buf - The data to be encoded. - * @returns {Buffer} - * @memberof Multibase - */ -function encode(nameOrCode, buf) { - var base = getBase(nameOrCode); - var name = base.name; - - return multibase(name, Buffer.from(base.encode(buf))); -} - -/** - * Takes a buffer or string encoded with multibase header, decodes it and - * returns the decoded buffer - * - * @param {Buffer|string} bufOrString - * @returns {Buffer} - * @memberof Multibase - * - */ -function decode(bufOrString) { - if (Buffer.isBuffer(bufOrString)) { - bufOrString = bufOrString.toString(); - } - - var code = bufOrString.substring(0, 1); - bufOrString = bufOrString.substring(1, bufOrString.length); - - if (typeof bufOrString === 'string') { - bufOrString = Buffer.from(bufOrString); - } - - var base = getBase(code); - return Buffer.from(base.decode(bufOrString.toString())); -} - -/** - * Is the given data multibase encoded? - * - * @param {Buffer|string} bufOrString - * @returns {boolean} - * @memberof Multibase - */ -function isEncoded(bufOrString) { - if (Buffer.isBuffer(bufOrString)) { - bufOrString = bufOrString.toString(); - } - - // Ensure bufOrString is a string - if (Object.prototype.toString.call(bufOrString) !== '[object String]') { - return false; - } - - var code = bufOrString.substring(0, 1); - try { - var base = getBase(code); - return base.name; - } catch (err) { - return false; - } -} - -/** - * @param {string} name - * @param {Buffer} buf - * @private - * @returns {undefined} - */ -function validEncode(name, buf) { - var base = getBase(name); - base.decode(buf.toString()); -} - -function getBase(nameOrCode) { - var base; - - if (constants.names[nameOrCode]) { - base = constants.names[nameOrCode]; - } else if (constants.codes[nameOrCode]) { - base = constants.codes[nameOrCode]; - } else { - throw errNotSupported; - } - - if (!base.isImplemented()) { - throw new Error('Base ' + nameOrCode + ' is not implemented yet'); - } - - return base; -} - -/***/ }), -/* 1075 */ -/*!*************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multibase/src/constants.js ***! - \*************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var Base = __webpack_require__(/*! ./base.js */ 1076); -var baseX = __webpack_require__(/*! base-x */ 426); -var base16 = __webpack_require__(/*! ./base16 */ 1077); -var base32 = __webpack_require__(/*! ./base32 */ 1078); -var base64 = __webpack_require__(/*! ./base64 */ 1079); - -// name, code, implementation, alphabet -var constants = [ -['base1', '1', '', '1'], -['base2', '0', baseX, '01'], -['base8', '7', baseX, '01234567'], -['base10', '9', baseX, '0123456789'], -['base16', 'f', base16, '0123456789abcdef'], -['base32', 'b', base32, 'abcdefghijklmnopqrstuvwxyz234567'], -['base32pad', 'c', base32, 'abcdefghijklmnopqrstuvwxyz234567='], -['base32hex', 'v', base32, '0123456789abcdefghijklmnopqrstuv'], -['base32hexpad', 't', base32, '0123456789abcdefghijklmnopqrstuv='], -['base32z', 'h', base32, 'ybndrfg8ejkmcpqxot1uwisza345h769'], -['base58flickr', 'Z', baseX, '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'], -['base58btc', 'z', baseX, '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'], -['base64', 'm', base64, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'], -['base64pad', 'M', base64, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='], -['base64url', 'u', base64, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_'], -['base64urlpad', 'U', base64, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=']]; - - -var names = constants.reduce(function (prev, tupple) { - prev[tupple[0]] = new Base(tupple[0], tupple[1], tupple[2], tupple[3]); - return prev; -}, {}); - -var codes = constants.reduce(function (prev, tupple) { - prev[tupple[1]] = names[tupple[0]]; - return prev; -}, {}); - -module.exports = { - names: names, - codes: codes }; - -/***/ }), -/* 1076 */ -/*!********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multibase/src/base.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -function _classCallCheck(instance, Constructor) {if (!(instance instanceof Constructor)) {throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target, props) {for (var i = 0; i < props.length; i++) {var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if ("value" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);}}function _createClass(Constructor, protoProps, staticProps) {if (protoProps) _defineProperties(Constructor.prototype, protoProps);if (staticProps) _defineProperties(Constructor, staticProps);return Constructor;}var - -Base = /*#__PURE__*/function () { - function Base(name, code, implementation, alphabet) {_classCallCheck(this, Base); - this.name = name; - this.code = code; - this.alphabet = alphabet; - if (implementation && alphabet) { - this.engine = implementation(alphabet); - } - }_createClass(Base, [{ key: "encode", value: function encode( - - stringOrBuffer) { - return this.engine.encode(stringOrBuffer); - } }, { key: "decode", value: function decode( - - stringOrBuffer) { - return this.engine.decode(stringOrBuffer); - } }, { key: "isImplemented", value: function isImplemented() - - { - return this.engine; - } }]);return Base;}(); - - -module.exports = Base; - -/***/ }), -/* 1077 */ -/*!**********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multibase/src/base16.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -function _createForOfIteratorHelper(o, allowArrayLike) {var it;if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {if (it) o = it;var i = 0;var F = function F() {};return { s: F, n: function n() {if (i >= o.length) return { done: true };return { done: false, value: o[i++] };}, e: function e(_e) {throw _e;}, f: F };}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var normalCompletion = true,didErr = false,err;return { s: function s() {it = o[Symbol.iterator]();}, n: function n() {var step = it.next();normalCompletion = step.done;return step;}, e: function e(_e2) {didErr = true;err = _e2;}, f: function f() {try {if (!normalCompletion && it.return != null) it.return();} finally {if (didErr) throw err;}} };}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;}var _require = -__webpack_require__(/*! buffer */ 40),Buffer = _require.Buffer; - -module.exports = function base16(alphabet) { - return { - encode: function encode(input) { - if (typeof input === 'string') { - return Buffer.from(input).toString('hex'); - } - return input.toString('hex'); - }, - decode: function decode(input) {var _iterator = _createForOfIteratorHelper( - input),_step;try {for (_iterator.s(); !(_step = _iterator.n()).done;) {var char = _step.value; - if (alphabet.indexOf(char) < 0) { - throw new Error('invalid base16 character'); - } - }} catch (err) {_iterator.e(err);} finally {_iterator.f();} - return Buffer.from(input, 'hex'); - } }; - -}; - -/***/ }), -/* 1078 */ -/*!**********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multibase/src/base32.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -function _createForOfIteratorHelper(o, allowArrayLike) {var it;if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {if (it) o = it;var i = 0;var F = function F() {};return { s: F, n: function n() {if (i >= o.length) return { done: true };return { done: false, value: o[i++] };}, e: function e(_e) {throw _e;}, f: F };}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var normalCompletion = true,didErr = false,err;return { s: function s() {it = o[Symbol.iterator]();}, n: function n() {var step = it.next();normalCompletion = step.done;return step;}, e: function e(_e2) {didErr = true;err = _e2;}, f: function f() {try {if (!normalCompletion && it.return != null) it.return();} finally {if (didErr) throw err;}} };}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;} - -function _decode(input, alphabet) { - input = input.replace(new RegExp('=', 'g'), ''); - var length = input.length; - - var bits = 0; - var value = 0; - - var index = 0; - var output = new Uint8Array(length * 5 / 8 | 0); - - for (var i = 0; i < length; i++) { - value = value << 5 | alphabet.indexOf(input[i]); - bits += 5; - - if (bits >= 8) { - output[index++] = value >>> bits - 8 & 255; - bits -= 8; - } - } - - return output.buffer; -} - -function _encode(buffer, alphabet) { - var length = buffer.byteLength; - var view = new Uint8Array(buffer); - var padding = alphabet.indexOf('=') === alphabet.length - 1; - - if (padding) { - alphabet = alphabet.substring(0, alphabet.length - 1); - } - - var bits = 0; - var value = 0; - var output = ''; - - for (var i = 0; i < length; i++) { - value = value << 8 | view[i]; - bits += 8; - - while (bits >= 5) { - output += alphabet[value >>> bits - 5 & 31]; - bits -= 5; - } - } - - if (bits > 0) { - output += alphabet[value << 5 - bits & 31]; - } - - if (padding) { - while (output.length % 8 !== 0) { - output += '='; - } - } - - return output; -} - -module.exports = function base32(alphabet) { - return { - encode: function encode(input) { - if (typeof input === 'string') { - return _encode(Uint8Array.from(input), alphabet); - } - - return _encode(input, alphabet); - }, - decode: function decode(input) {var _iterator = _createForOfIteratorHelper( - input),_step;try {for (_iterator.s(); !(_step = _iterator.n()).done;) {var char = _step.value; - if (alphabet.indexOf(char) < 0) { - throw new Error('invalid base32 character'); - } - }} catch (err) {_iterator.e(err);} finally {_iterator.f();} - - return _decode(input, alphabet); - } }; - -}; - -/***/ }), -/* 1079 */ -/*!**********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multibase/src/base64.js ***! - \**********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -function _createForOfIteratorHelper(o, allowArrayLike) {var it;if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {if (it) o = it;var i = 0;var F = function F() {};return { s: F, n: function n() {if (i >= o.length) return { done: true };return { done: false, value: o[i++] };}, e: function e(_e) {throw _e;}, f: F };}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var normalCompletion = true,didErr = false,err;return { s: function s() {it = o[Symbol.iterator]();}, n: function n() {var step = it.next();normalCompletion = step.done;return step;}, e: function e(_e2) {didErr = true;err = _e2;}, f: function f() {try {if (!normalCompletion && it.return != null) it.return();} finally {if (didErr) throw err;}} };}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;}var _require = -__webpack_require__(/*! buffer */ 40),Buffer = _require.Buffer; - -module.exports = function base64(alphabet) { - // The alphabet is only used to know: - // 1. If padding is enabled (must contain '=') - // 2. If the output must be url-safe (must contain '-' and '_') - // 3. If the input of the output function is valid - // The alphabets from RFC 4648 are always used. - var padding = alphabet.indexOf('=') > -1; - var url = alphabet.indexOf('-') > -1 && alphabet.indexOf('_') > -1; - - return { - encode: function encode(input) { - var output = ''; - - if (typeof input === 'string') { - output = Buffer.from(input).toString('base64'); - } else { - output = input.toString('base64'); - } - - if (url) { - output = output.replace(/\+/g, '-').replace(/\//g, '_'); - } - - var pad = output.indexOf('='); - if (pad > 0 && !padding) { - output = output.substring(0, pad); - } - - return output; - }, - decode: function decode(input) {var _iterator = _createForOfIteratorHelper( - input),_step;try {for (_iterator.s(); !(_step = _iterator.n()).done;) {var char = _step.value; - if (alphabet.indexOf(char) < 0) { - throw new Error('invalid base64 character'); - } - }} catch (err) {_iterator.e(err);} finally {_iterator.f();} - - return Buffer.from(input, 'base64'); - } }; - -}; - -/***/ }), -/* 1080 */ -/*!***************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/multihashes/src/constants.js ***! - \***************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* eslint quote-props: off */ -/* eslint key-spacing: off */ - - -exports.names = Object.freeze({ - 'identity': 0x0, - 'sha1': 0x11, - 'sha2-256': 0x12, - 'sha2-512': 0x13, - 'dbl-sha2-256': 0x56, - 'sha3-224': 0x17, - 'sha3-256': 0x16, - 'sha3-384': 0x15, - 'sha3-512': 0x14, - 'shake-128': 0x18, - 'shake-256': 0x19, - 'keccak-224': 0x1A, - 'keccak-256': 0x1B, - 'keccak-384': 0x1C, - 'keccak-512': 0x1D, - 'murmur3-128': 0x22, - 'murmur3-32': 0x23, - 'md4': 0xd4, - 'md5': 0xd5, - 'blake2b-8': 0xb201, - 'blake2b-16': 0xb202, - 'blake2b-24': 0xb203, - 'blake2b-32': 0xb204, - 'blake2b-40': 0xb205, - 'blake2b-48': 0xb206, - 'blake2b-56': 0xb207, - 'blake2b-64': 0xb208, - 'blake2b-72': 0xb209, - 'blake2b-80': 0xb20a, - 'blake2b-88': 0xb20b, - 'blake2b-96': 0xb20c, - 'blake2b-104': 0xb20d, - 'blake2b-112': 0xb20e, - 'blake2b-120': 0xb20f, - 'blake2b-128': 0xb210, - 'blake2b-136': 0xb211, - 'blake2b-144': 0xb212, - 'blake2b-152': 0xb213, - 'blake2b-160': 0xb214, - 'blake2b-168': 0xb215, - 'blake2b-176': 0xb216, - 'blake2b-184': 0xb217, - 'blake2b-192': 0xb218, - 'blake2b-200': 0xb219, - 'blake2b-208': 0xb21a, - 'blake2b-216': 0xb21b, - 'blake2b-224': 0xb21c, - 'blake2b-232': 0xb21d, - 'blake2b-240': 0xb21e, - 'blake2b-248': 0xb21f, - 'blake2b-256': 0xb220, - 'blake2b-264': 0xb221, - 'blake2b-272': 0xb222, - 'blake2b-280': 0xb223, - 'blake2b-288': 0xb224, - 'blake2b-296': 0xb225, - 'blake2b-304': 0xb226, - 'blake2b-312': 0xb227, - 'blake2b-320': 0xb228, - 'blake2b-328': 0xb229, - 'blake2b-336': 0xb22a, - 'blake2b-344': 0xb22b, - 'blake2b-352': 0xb22c, - 'blake2b-360': 0xb22d, - 'blake2b-368': 0xb22e, - 'blake2b-376': 0xb22f, - 'blake2b-384': 0xb230, - 'blake2b-392': 0xb231, - 'blake2b-400': 0xb232, - 'blake2b-408': 0xb233, - 'blake2b-416': 0xb234, - 'blake2b-424': 0xb235, - 'blake2b-432': 0xb236, - 'blake2b-440': 0xb237, - 'blake2b-448': 0xb238, - 'blake2b-456': 0xb239, - 'blake2b-464': 0xb23a, - 'blake2b-472': 0xb23b, - 'blake2b-480': 0xb23c, - 'blake2b-488': 0xb23d, - 'blake2b-496': 0xb23e, - 'blake2b-504': 0xb23f, - 'blake2b-512': 0xb240, - 'blake2s-8': 0xb241, - 'blake2s-16': 0xb242, - 'blake2s-24': 0xb243, - 'blake2s-32': 0xb244, - 'blake2s-40': 0xb245, - 'blake2s-48': 0xb246, - 'blake2s-56': 0xb247, - 'blake2s-64': 0xb248, - 'blake2s-72': 0xb249, - 'blake2s-80': 0xb24a, - 'blake2s-88': 0xb24b, - 'blake2s-96': 0xb24c, - 'blake2s-104': 0xb24d, - 'blake2s-112': 0xb24e, - 'blake2s-120': 0xb24f, - 'blake2s-128': 0xb250, - 'blake2s-136': 0xb251, - 'blake2s-144': 0xb252, - 'blake2s-152': 0xb253, - 'blake2s-160': 0xb254, - 'blake2s-168': 0xb255, - 'blake2s-176': 0xb256, - 'blake2s-184': 0xb257, - 'blake2s-192': 0xb258, - 'blake2s-200': 0xb259, - 'blake2s-208': 0xb25a, - 'blake2s-216': 0xb25b, - 'blake2s-224': 0xb25c, - 'blake2s-232': 0xb25d, - 'blake2s-240': 0xb25e, - 'blake2s-248': 0xb25f, - 'blake2s-256': 0xb260, - 'Skein256-8': 0xb301, - 'Skein256-16': 0xb302, - 'Skein256-24': 0xb303, - 'Skein256-32': 0xb304, - 'Skein256-40': 0xb305, - 'Skein256-48': 0xb306, - 'Skein256-56': 0xb307, - 'Skein256-64': 0xb308, - 'Skein256-72': 0xb309, - 'Skein256-80': 0xb30a, - 'Skein256-88': 0xb30b, - 'Skein256-96': 0xb30c, - 'Skein256-104': 0xb30d, - 'Skein256-112': 0xb30e, - 'Skein256-120': 0xb30f, - 'Skein256-128': 0xb310, - 'Skein256-136': 0xb311, - 'Skein256-144': 0xb312, - 'Skein256-152': 0xb313, - 'Skein256-160': 0xb314, - 'Skein256-168': 0xb315, - 'Skein256-176': 0xb316, - 'Skein256-184': 0xb317, - 'Skein256-192': 0xb318, - 'Skein256-200': 0xb319, - 'Skein256-208': 0xb31a, - 'Skein256-216': 0xb31b, - 'Skein256-224': 0xb31c, - 'Skein256-232': 0xb31d, - 'Skein256-240': 0xb31e, - 'Skein256-248': 0xb31f, - 'Skein256-256': 0xb320, - 'Skein512-8': 0xb321, - 'Skein512-16': 0xb322, - 'Skein512-24': 0xb323, - 'Skein512-32': 0xb324, - 'Skein512-40': 0xb325, - 'Skein512-48': 0xb326, - 'Skein512-56': 0xb327, - 'Skein512-64': 0xb328, - 'Skein512-72': 0xb329, - 'Skein512-80': 0xb32a, - 'Skein512-88': 0xb32b, - 'Skein512-96': 0xb32c, - 'Skein512-104': 0xb32d, - 'Skein512-112': 0xb32e, - 'Skein512-120': 0xb32f, - 'Skein512-128': 0xb330, - 'Skein512-136': 0xb331, - 'Skein512-144': 0xb332, - 'Skein512-152': 0xb333, - 'Skein512-160': 0xb334, - 'Skein512-168': 0xb335, - 'Skein512-176': 0xb336, - 'Skein512-184': 0xb337, - 'Skein512-192': 0xb338, - 'Skein512-200': 0xb339, - 'Skein512-208': 0xb33a, - 'Skein512-216': 0xb33b, - 'Skein512-224': 0xb33c, - 'Skein512-232': 0xb33d, - 'Skein512-240': 0xb33e, - 'Skein512-248': 0xb33f, - 'Skein512-256': 0xb340, - 'Skein512-264': 0xb341, - 'Skein512-272': 0xb342, - 'Skein512-280': 0xb343, - 'Skein512-288': 0xb344, - 'Skein512-296': 0xb345, - 'Skein512-304': 0xb346, - 'Skein512-312': 0xb347, - 'Skein512-320': 0xb348, - 'Skein512-328': 0xb349, - 'Skein512-336': 0xb34a, - 'Skein512-344': 0xb34b, - 'Skein512-352': 0xb34c, - 'Skein512-360': 0xb34d, - 'Skein512-368': 0xb34e, - 'Skein512-376': 0xb34f, - 'Skein512-384': 0xb350, - 'Skein512-392': 0xb351, - 'Skein512-400': 0xb352, - 'Skein512-408': 0xb353, - 'Skein512-416': 0xb354, - 'Skein512-424': 0xb355, - 'Skein512-432': 0xb356, - 'Skein512-440': 0xb357, - 'Skein512-448': 0xb358, - 'Skein512-456': 0xb359, - 'Skein512-464': 0xb35a, - 'Skein512-472': 0xb35b, - 'Skein512-480': 0xb35c, - 'Skein512-488': 0xb35d, - 'Skein512-496': 0xb35e, - 'Skein512-504': 0xb35f, - 'Skein512-512': 0xb360, - 'Skein1024-8': 0xb361, - 'Skein1024-16': 0xb362, - 'Skein1024-24': 0xb363, - 'Skein1024-32': 0xb364, - 'Skein1024-40': 0xb365, - 'Skein1024-48': 0xb366, - 'Skein1024-56': 0xb367, - 'Skein1024-64': 0xb368, - 'Skein1024-72': 0xb369, - 'Skein1024-80': 0xb36a, - 'Skein1024-88': 0xb36b, - 'Skein1024-96': 0xb36c, - 'Skein1024-104': 0xb36d, - 'Skein1024-112': 0xb36e, - 'Skein1024-120': 0xb36f, - 'Skein1024-128': 0xb370, - 'Skein1024-136': 0xb371, - 'Skein1024-144': 0xb372, - 'Skein1024-152': 0xb373, - 'Skein1024-160': 0xb374, - 'Skein1024-168': 0xb375, - 'Skein1024-176': 0xb376, - 'Skein1024-184': 0xb377, - 'Skein1024-192': 0xb378, - 'Skein1024-200': 0xb379, - 'Skein1024-208': 0xb37a, - 'Skein1024-216': 0xb37b, - 'Skein1024-224': 0xb37c, - 'Skein1024-232': 0xb37d, - 'Skein1024-240': 0xb37e, - 'Skein1024-248': 0xb37f, - 'Skein1024-256': 0xb380, - 'Skein1024-264': 0xb381, - 'Skein1024-272': 0xb382, - 'Skein1024-280': 0xb383, - 'Skein1024-288': 0xb384, - 'Skein1024-296': 0xb385, - 'Skein1024-304': 0xb386, - 'Skein1024-312': 0xb387, - 'Skein1024-320': 0xb388, - 'Skein1024-328': 0xb389, - 'Skein1024-336': 0xb38a, - 'Skein1024-344': 0xb38b, - 'Skein1024-352': 0xb38c, - 'Skein1024-360': 0xb38d, - 'Skein1024-368': 0xb38e, - 'Skein1024-376': 0xb38f, - 'Skein1024-384': 0xb390, - 'Skein1024-392': 0xb391, - 'Skein1024-400': 0xb392, - 'Skein1024-408': 0xb393, - 'Skein1024-416': 0xb394, - 'Skein1024-424': 0xb395, - 'Skein1024-432': 0xb396, - 'Skein1024-440': 0xb397, - 'Skein1024-448': 0xb398, - 'Skein1024-456': 0xb399, - 'Skein1024-464': 0xb39a, - 'Skein1024-472': 0xb39b, - 'Skein1024-480': 0xb39c, - 'Skein1024-488': 0xb39d, - 'Skein1024-496': 0xb39e, - 'Skein1024-504': 0xb39f, - 'Skein1024-512': 0xb3a0, - 'Skein1024-520': 0xb3a1, - 'Skein1024-528': 0xb3a2, - 'Skein1024-536': 0xb3a3, - 'Skein1024-544': 0xb3a4, - 'Skein1024-552': 0xb3a5, - 'Skein1024-560': 0xb3a6, - 'Skein1024-568': 0xb3a7, - 'Skein1024-576': 0xb3a8, - 'Skein1024-584': 0xb3a9, - 'Skein1024-592': 0xb3aa, - 'Skein1024-600': 0xb3ab, - 'Skein1024-608': 0xb3ac, - 'Skein1024-616': 0xb3ad, - 'Skein1024-624': 0xb3ae, - 'Skein1024-632': 0xb3af, - 'Skein1024-640': 0xb3b0, - 'Skein1024-648': 0xb3b1, - 'Skein1024-656': 0xb3b2, - 'Skein1024-664': 0xb3b3, - 'Skein1024-672': 0xb3b4, - 'Skein1024-680': 0xb3b5, - 'Skein1024-688': 0xb3b6, - 'Skein1024-696': 0xb3b7, - 'Skein1024-704': 0xb3b8, - 'Skein1024-712': 0xb3b9, - 'Skein1024-720': 0xb3ba, - 'Skein1024-728': 0xb3bb, - 'Skein1024-736': 0xb3bc, - 'Skein1024-744': 0xb3bd, - 'Skein1024-752': 0xb3be, - 'Skein1024-760': 0xb3bf, - 'Skein1024-768': 0xb3c0, - 'Skein1024-776': 0xb3c1, - 'Skein1024-784': 0xb3c2, - 'Skein1024-792': 0xb3c3, - 'Skein1024-800': 0xb3c4, - 'Skein1024-808': 0xb3c5, - 'Skein1024-816': 0xb3c6, - 'Skein1024-824': 0xb3c7, - 'Skein1024-832': 0xb3c8, - 'Skein1024-840': 0xb3c9, - 'Skein1024-848': 0xb3ca, - 'Skein1024-856': 0xb3cb, - 'Skein1024-864': 0xb3cc, - 'Skein1024-872': 0xb3cd, - 'Skein1024-880': 0xb3ce, - 'Skein1024-888': 0xb3cf, - 'Skein1024-896': 0xb3d0, - 'Skein1024-904': 0xb3d1, - 'Skein1024-912': 0xb3d2, - 'Skein1024-920': 0xb3d3, - 'Skein1024-928': 0xb3d4, - 'Skein1024-936': 0xb3d5, - 'Skein1024-944': 0xb3d6, - 'Skein1024-952': 0xb3d7, - 'Skein1024-960': 0xb3d8, - 'Skein1024-968': 0xb3d9, - 'Skein1024-976': 0xb3da, - 'Skein1024-984': 0xb3db, - 'Skein1024-992': 0xb3dc, - 'Skein1024-1000': 0xb3dd, - 'Skein1024-1008': 0xb3de, - 'Skein1024-1016': 0xb3df, - 'Skein1024-1024': 0xb3e0 }); - - -exports.codes = Object.freeze({ - 0x0: 'identity', - - // sha family - 0x11: 'sha1', - 0x12: 'sha2-256', - 0x13: 'sha2-512', - 0x56: 'dbl-sha2-256', - 0x17: 'sha3-224', - 0x16: 'sha3-256', - 0x15: 'sha3-384', - 0x14: 'sha3-512', - 0x18: 'shake-128', - 0x19: 'shake-256', - 0x1A: 'keccak-224', - 0x1B: 'keccak-256', - 0x1C: 'keccak-384', - 0x1D: 'keccak-512', - - 0x22: 'murmur3-128', - 0x23: 'murmur3-32', - - 0xd4: 'md4', - 0xd5: 'md5', - - // blake2 - 0xb201: 'blake2b-8', - 0xb202: 'blake2b-16', - 0xb203: 'blake2b-24', - 0xb204: 'blake2b-32', - 0xb205: 'blake2b-40', - 0xb206: 'blake2b-48', - 0xb207: 'blake2b-56', - 0xb208: 'blake2b-64', - 0xb209: 'blake2b-72', - 0xb20a: 'blake2b-80', - 0xb20b: 'blake2b-88', - 0xb20c: 'blake2b-96', - 0xb20d: 'blake2b-104', - 0xb20e: 'blake2b-112', - 0xb20f: 'blake2b-120', - 0xb210: 'blake2b-128', - 0xb211: 'blake2b-136', - 0xb212: 'blake2b-144', - 0xb213: 'blake2b-152', - 0xb214: 'blake2b-160', - 0xb215: 'blake2b-168', - 0xb216: 'blake2b-176', - 0xb217: 'blake2b-184', - 0xb218: 'blake2b-192', - 0xb219: 'blake2b-200', - 0xb21a: 'blake2b-208', - 0xb21b: 'blake2b-216', - 0xb21c: 'blake2b-224', - 0xb21d: 'blake2b-232', - 0xb21e: 'blake2b-240', - 0xb21f: 'blake2b-248', - 0xb220: 'blake2b-256', - 0xb221: 'blake2b-264', - 0xb222: 'blake2b-272', - 0xb223: 'blake2b-280', - 0xb224: 'blake2b-288', - 0xb225: 'blake2b-296', - 0xb226: 'blake2b-304', - 0xb227: 'blake2b-312', - 0xb228: 'blake2b-320', - 0xb229: 'blake2b-328', - 0xb22a: 'blake2b-336', - 0xb22b: 'blake2b-344', - 0xb22c: 'blake2b-352', - 0xb22d: 'blake2b-360', - 0xb22e: 'blake2b-368', - 0xb22f: 'blake2b-376', - 0xb230: 'blake2b-384', - 0xb231: 'blake2b-392', - 0xb232: 'blake2b-400', - 0xb233: 'blake2b-408', - 0xb234: 'blake2b-416', - 0xb235: 'blake2b-424', - 0xb236: 'blake2b-432', - 0xb237: 'blake2b-440', - 0xb238: 'blake2b-448', - 0xb239: 'blake2b-456', - 0xb23a: 'blake2b-464', - 0xb23b: 'blake2b-472', - 0xb23c: 'blake2b-480', - 0xb23d: 'blake2b-488', - 0xb23e: 'blake2b-496', - 0xb23f: 'blake2b-504', - 0xb240: 'blake2b-512', - 0xb241: 'blake2s-8', - 0xb242: 'blake2s-16', - 0xb243: 'blake2s-24', - 0xb244: 'blake2s-32', - 0xb245: 'blake2s-40', - 0xb246: 'blake2s-48', - 0xb247: 'blake2s-56', - 0xb248: 'blake2s-64', - 0xb249: 'blake2s-72', - 0xb24a: 'blake2s-80', - 0xb24b: 'blake2s-88', - 0xb24c: 'blake2s-96', - 0xb24d: 'blake2s-104', - 0xb24e: 'blake2s-112', - 0xb24f: 'blake2s-120', - 0xb250: 'blake2s-128', - 0xb251: 'blake2s-136', - 0xb252: 'blake2s-144', - 0xb253: 'blake2s-152', - 0xb254: 'blake2s-160', - 0xb255: 'blake2s-168', - 0xb256: 'blake2s-176', - 0xb257: 'blake2s-184', - 0xb258: 'blake2s-192', - 0xb259: 'blake2s-200', - 0xb25a: 'blake2s-208', - 0xb25b: 'blake2s-216', - 0xb25c: 'blake2s-224', - 0xb25d: 'blake2s-232', - 0xb25e: 'blake2s-240', - 0xb25f: 'blake2s-248', - 0xb260: 'blake2s-256', - - // skein - 0xb301: 'Skein256-8', - 0xb302: 'Skein256-16', - 0xb303: 'Skein256-24', - 0xb304: 'Skein256-32', - 0xb305: 'Skein256-40', - 0xb306: 'Skein256-48', - 0xb307: 'Skein256-56', - 0xb308: 'Skein256-64', - 0xb309: 'Skein256-72', - 0xb30a: 'Skein256-80', - 0xb30b: 'Skein256-88', - 0xb30c: 'Skein256-96', - 0xb30d: 'Skein256-104', - 0xb30e: 'Skein256-112', - 0xb30f: 'Skein256-120', - 0xb310: 'Skein256-128', - 0xb311: 'Skein256-136', - 0xb312: 'Skein256-144', - 0xb313: 'Skein256-152', - 0xb314: 'Skein256-160', - 0xb315: 'Skein256-168', - 0xb316: 'Skein256-176', - 0xb317: 'Skein256-184', - 0xb318: 'Skein256-192', - 0xb319: 'Skein256-200', - 0xb31a: 'Skein256-208', - 0xb31b: 'Skein256-216', - 0xb31c: 'Skein256-224', - 0xb31d: 'Skein256-232', - 0xb31e: 'Skein256-240', - 0xb31f: 'Skein256-248', - 0xb320: 'Skein256-256', - 0xb321: 'Skein512-8', - 0xb322: 'Skein512-16', - 0xb323: 'Skein512-24', - 0xb324: 'Skein512-32', - 0xb325: 'Skein512-40', - 0xb326: 'Skein512-48', - 0xb327: 'Skein512-56', - 0xb328: 'Skein512-64', - 0xb329: 'Skein512-72', - 0xb32a: 'Skein512-80', - 0xb32b: 'Skein512-88', - 0xb32c: 'Skein512-96', - 0xb32d: 'Skein512-104', - 0xb32e: 'Skein512-112', - 0xb32f: 'Skein512-120', - 0xb330: 'Skein512-128', - 0xb331: 'Skein512-136', - 0xb332: 'Skein512-144', - 0xb333: 'Skein512-152', - 0xb334: 'Skein512-160', - 0xb335: 'Skein512-168', - 0xb336: 'Skein512-176', - 0xb337: 'Skein512-184', - 0xb338: 'Skein512-192', - 0xb339: 'Skein512-200', - 0xb33a: 'Skein512-208', - 0xb33b: 'Skein512-216', - 0xb33c: 'Skein512-224', - 0xb33d: 'Skein512-232', - 0xb33e: 'Skein512-240', - 0xb33f: 'Skein512-248', - 0xb340: 'Skein512-256', - 0xb341: 'Skein512-264', - 0xb342: 'Skein512-272', - 0xb343: 'Skein512-280', - 0xb344: 'Skein512-288', - 0xb345: 'Skein512-296', - 0xb346: 'Skein512-304', - 0xb347: 'Skein512-312', - 0xb348: 'Skein512-320', - 0xb349: 'Skein512-328', - 0xb34a: 'Skein512-336', - 0xb34b: 'Skein512-344', - 0xb34c: 'Skein512-352', - 0xb34d: 'Skein512-360', - 0xb34e: 'Skein512-368', - 0xb34f: 'Skein512-376', - 0xb350: 'Skein512-384', - 0xb351: 'Skein512-392', - 0xb352: 'Skein512-400', - 0xb353: 'Skein512-408', - 0xb354: 'Skein512-416', - 0xb355: 'Skein512-424', - 0xb356: 'Skein512-432', - 0xb357: 'Skein512-440', - 0xb358: 'Skein512-448', - 0xb359: 'Skein512-456', - 0xb35a: 'Skein512-464', - 0xb35b: 'Skein512-472', - 0xb35c: 'Skein512-480', - 0xb35d: 'Skein512-488', - 0xb35e: 'Skein512-496', - 0xb35f: 'Skein512-504', - 0xb360: 'Skein512-512', - 0xb361: 'Skein1024-8', - 0xb362: 'Skein1024-16', - 0xb363: 'Skein1024-24', - 0xb364: 'Skein1024-32', - 0xb365: 'Skein1024-40', - 0xb366: 'Skein1024-48', - 0xb367: 'Skein1024-56', - 0xb368: 'Skein1024-64', - 0xb369: 'Skein1024-72', - 0xb36a: 'Skein1024-80', - 0xb36b: 'Skein1024-88', - 0xb36c: 'Skein1024-96', - 0xb36d: 'Skein1024-104', - 0xb36e: 'Skein1024-112', - 0xb36f: 'Skein1024-120', - 0xb370: 'Skein1024-128', - 0xb371: 'Skein1024-136', - 0xb372: 'Skein1024-144', - 0xb373: 'Skein1024-152', - 0xb374: 'Skein1024-160', - 0xb375: 'Skein1024-168', - 0xb376: 'Skein1024-176', - 0xb377: 'Skein1024-184', - 0xb378: 'Skein1024-192', - 0xb379: 'Skein1024-200', - 0xb37a: 'Skein1024-208', - 0xb37b: 'Skein1024-216', - 0xb37c: 'Skein1024-224', - 0xb37d: 'Skein1024-232', - 0xb37e: 'Skein1024-240', - 0xb37f: 'Skein1024-248', - 0xb380: 'Skein1024-256', - 0xb381: 'Skein1024-264', - 0xb382: 'Skein1024-272', - 0xb383: 'Skein1024-280', - 0xb384: 'Skein1024-288', - 0xb385: 'Skein1024-296', - 0xb386: 'Skein1024-304', - 0xb387: 'Skein1024-312', - 0xb388: 'Skein1024-320', - 0xb389: 'Skein1024-328', - 0xb38a: 'Skein1024-336', - 0xb38b: 'Skein1024-344', - 0xb38c: 'Skein1024-352', - 0xb38d: 'Skein1024-360', - 0xb38e: 'Skein1024-368', - 0xb38f: 'Skein1024-376', - 0xb390: 'Skein1024-384', - 0xb391: 'Skein1024-392', - 0xb392: 'Skein1024-400', - 0xb393: 'Skein1024-408', - 0xb394: 'Skein1024-416', - 0xb395: 'Skein1024-424', - 0xb396: 'Skein1024-432', - 0xb397: 'Skein1024-440', - 0xb398: 'Skein1024-448', - 0xb399: 'Skein1024-456', - 0xb39a: 'Skein1024-464', - 0xb39b: 'Skein1024-472', - 0xb39c: 'Skein1024-480', - 0xb39d: 'Skein1024-488', - 0xb39e: 'Skein1024-496', - 0xb39f: 'Skein1024-504', - 0xb3a0: 'Skein1024-512', - 0xb3a1: 'Skein1024-520', - 0xb3a2: 'Skein1024-528', - 0xb3a3: 'Skein1024-536', - 0xb3a4: 'Skein1024-544', - 0xb3a5: 'Skein1024-552', - 0xb3a6: 'Skein1024-560', - 0xb3a7: 'Skein1024-568', - 0xb3a8: 'Skein1024-576', - 0xb3a9: 'Skein1024-584', - 0xb3aa: 'Skein1024-592', - 0xb3ab: 'Skein1024-600', - 0xb3ac: 'Skein1024-608', - 0xb3ad: 'Skein1024-616', - 0xb3ae: 'Skein1024-624', - 0xb3af: 'Skein1024-632', - 0xb3b0: 'Skein1024-640', - 0xb3b1: 'Skein1024-648', - 0xb3b2: 'Skein1024-656', - 0xb3b3: 'Skein1024-664', - 0xb3b4: 'Skein1024-672', - 0xb3b5: 'Skein1024-680', - 0xb3b6: 'Skein1024-688', - 0xb3b7: 'Skein1024-696', - 0xb3b8: 'Skein1024-704', - 0xb3b9: 'Skein1024-712', - 0xb3ba: 'Skein1024-720', - 0xb3bb: 'Skein1024-728', - 0xb3bc: 'Skein1024-736', - 0xb3bd: 'Skein1024-744', - 0xb3be: 'Skein1024-752', - 0xb3bf: 'Skein1024-760', - 0xb3c0: 'Skein1024-768', - 0xb3c1: 'Skein1024-776', - 0xb3c2: 'Skein1024-784', - 0xb3c3: 'Skein1024-792', - 0xb3c4: 'Skein1024-800', - 0xb3c5: 'Skein1024-808', - 0xb3c6: 'Skein1024-816', - 0xb3c7: 'Skein1024-824', - 0xb3c8: 'Skein1024-832', - 0xb3c9: 'Skein1024-840', - 0xb3ca: 'Skein1024-848', - 0xb3cb: 'Skein1024-856', - 0xb3cc: 'Skein1024-864', - 0xb3cd: 'Skein1024-872', - 0xb3ce: 'Skein1024-880', - 0xb3cf: 'Skein1024-888', - 0xb3d0: 'Skein1024-896', - 0xb3d1: 'Skein1024-904', - 0xb3d2: 'Skein1024-912', - 0xb3d3: 'Skein1024-920', - 0xb3d4: 'Skein1024-928', - 0xb3d5: 'Skein1024-936', - 0xb3d6: 'Skein1024-944', - 0xb3d7: 'Skein1024-952', - 0xb3d8: 'Skein1024-960', - 0xb3d9: 'Skein1024-968', - 0xb3da: 'Skein1024-976', - 0xb3db: 'Skein1024-984', - 0xb3dc: 'Skein1024-992', - 0xb3dd: 'Skein1024-1000', - 0xb3de: 'Skein1024-1008', - 0xb3df: 'Skein1024-1016', - 0xb3e0: 'Skein1024-1024' }); - - -exports.defaultLengths = Object.freeze({ - 0x11: 20, - 0x12: 32, - 0x13: 64, - 0x56: 32, - 0x17: 28, - 0x16: 32, - 0x15: 48, - 0x14: 64, - 0x18: 32, - 0x19: 64, - 0x1A: 28, - 0x1B: 32, - 0x1C: 48, - 0x1D: 64, - 0x22: 32, - - 0xb201: 0x01, - 0xb202: 0x02, - 0xb203: 0x03, - 0xb204: 0x04, - 0xb205: 0x05, - 0xb206: 0x06, - 0xb207: 0x07, - 0xb208: 0x08, - 0xb209: 0x09, - 0xb20a: 0x0a, - 0xb20b: 0x0b, - 0xb20c: 0x0c, - 0xb20d: 0x0d, - 0xb20e: 0x0e, - 0xb20f: 0x0f, - 0xb210: 0x10, - 0xb211: 0x11, - 0xb212: 0x12, - 0xb213: 0x13, - 0xb214: 0x14, - 0xb215: 0x15, - 0xb216: 0x16, - 0xb217: 0x17, - 0xb218: 0x18, - 0xb219: 0x19, - 0xb21a: 0x1a, - 0xb21b: 0x1b, - 0xb21c: 0x1c, - 0xb21d: 0x1d, - 0xb21e: 0x1e, - 0xb21f: 0x1f, - 0xb220: 0x20, - 0xb221: 0x21, - 0xb222: 0x22, - 0xb223: 0x23, - 0xb224: 0x24, - 0xb225: 0x25, - 0xb226: 0x26, - 0xb227: 0x27, - 0xb228: 0x28, - 0xb229: 0x29, - 0xb22a: 0x2a, - 0xb22b: 0x2b, - 0xb22c: 0x2c, - 0xb22d: 0x2d, - 0xb22e: 0x2e, - 0xb22f: 0x2f, - 0xb230: 0x30, - 0xb231: 0x31, - 0xb232: 0x32, - 0xb233: 0x33, - 0xb234: 0x34, - 0xb235: 0x35, - 0xb236: 0x36, - 0xb237: 0x37, - 0xb238: 0x38, - 0xb239: 0x39, - 0xb23a: 0x3a, - 0xb23b: 0x3b, - 0xb23c: 0x3c, - 0xb23d: 0x3d, - 0xb23e: 0x3e, - 0xb23f: 0x3f, - 0xb240: 0x40, - 0xb241: 0x01, - 0xb242: 0x02, - 0xb243: 0x03, - 0xb244: 0x04, - 0xb245: 0x05, - 0xb246: 0x06, - 0xb247: 0x07, - 0xb248: 0x08, - 0xb249: 0x09, - 0xb24a: 0x0a, - 0xb24b: 0x0b, - 0xb24c: 0x0c, - 0xb24d: 0x0d, - 0xb24e: 0x0e, - 0xb24f: 0x0f, - 0xb250: 0x10, - 0xb251: 0x11, - 0xb252: 0x12, - 0xb253: 0x13, - 0xb254: 0x14, - 0xb255: 0x15, - 0xb256: 0x16, - 0xb257: 0x17, - 0xb258: 0x18, - 0xb259: 0x19, - 0xb25a: 0x1a, - 0xb25b: 0x1b, - 0xb25c: 0x1c, - 0xb25d: 0x1d, - 0xb25e: 0x1e, - 0xb25f: 0x1f, - 0xb260: 0x20, - 0xb301: 0x01, - 0xb302: 0x02, - 0xb303: 0x03, - 0xb304: 0x04, - 0xb305: 0x05, - 0xb306: 0x06, - 0xb307: 0x07, - 0xb308: 0x08, - 0xb309: 0x09, - 0xb30a: 0x0a, - 0xb30b: 0x0b, - 0xb30c: 0x0c, - 0xb30d: 0x0d, - 0xb30e: 0x0e, - 0xb30f: 0x0f, - 0xb310: 0x10, - 0xb311: 0x11, - 0xb312: 0x12, - 0xb313: 0x13, - 0xb314: 0x14, - 0xb315: 0x15, - 0xb316: 0x16, - 0xb317: 0x17, - 0xb318: 0x18, - 0xb319: 0x19, - 0xb31a: 0x1a, - 0xb31b: 0x1b, - 0xb31c: 0x1c, - 0xb31d: 0x1d, - 0xb31e: 0x1e, - 0xb31f: 0x1f, - 0xb320: 0x20, - 0xb321: 0x01, - 0xb322: 0x02, - 0xb323: 0x03, - 0xb324: 0x04, - 0xb325: 0x05, - 0xb326: 0x06, - 0xb327: 0x07, - 0xb328: 0x08, - 0xb329: 0x09, - 0xb32a: 0x0a, - 0xb32b: 0x0b, - 0xb32c: 0x0c, - 0xb32d: 0x0d, - 0xb32e: 0x0e, - 0xb32f: 0x0f, - 0xb330: 0x10, - 0xb331: 0x11, - 0xb332: 0x12, - 0xb333: 0x13, - 0xb334: 0x14, - 0xb335: 0x15, - 0xb336: 0x16, - 0xb337: 0x17, - 0xb338: 0x18, - 0xb339: 0x19, - 0xb33a: 0x1a, - 0xb33b: 0x1b, - 0xb33c: 0x1c, - 0xb33d: 0x1d, - 0xb33e: 0x1e, - 0xb33f: 0x1f, - 0xb340: 0x20, - 0xb341: 0x21, - 0xb342: 0x22, - 0xb343: 0x23, - 0xb344: 0x24, - 0xb345: 0x25, - 0xb346: 0x26, - 0xb347: 0x27, - 0xb348: 0x28, - 0xb349: 0x29, - 0xb34a: 0x2a, - 0xb34b: 0x2b, - 0xb34c: 0x2c, - 0xb34d: 0x2d, - 0xb34e: 0x2e, - 0xb34f: 0x2f, - 0xb350: 0x30, - 0xb351: 0x31, - 0xb352: 0x32, - 0xb353: 0x33, - 0xb354: 0x34, - 0xb355: 0x35, - 0xb356: 0x36, - 0xb357: 0x37, - 0xb358: 0x38, - 0xb359: 0x39, - 0xb35a: 0x3a, - 0xb35b: 0x3b, - 0xb35c: 0x3c, - 0xb35d: 0x3d, - 0xb35e: 0x3e, - 0xb35f: 0x3f, - 0xb360: 0x40, - 0xb361: 0x01, - 0xb362: 0x02, - 0xb363: 0x03, - 0xb364: 0x04, - 0xb365: 0x05, - 0xb366: 0x06, - 0xb367: 0x07, - 0xb368: 0x08, - 0xb369: 0x09, - 0xb36a: 0x0a, - 0xb36b: 0x0b, - 0xb36c: 0x0c, - 0xb36d: 0x0d, - 0xb36e: 0x0e, - 0xb36f: 0x0f, - 0xb370: 0x10, - 0xb371: 0x11, - 0xb372: 0x12, - 0xb373: 0x13, - 0xb374: 0x14, - 0xb375: 0x15, - 0xb376: 0x16, - 0xb377: 0x17, - 0xb378: 0x18, - 0xb379: 0x19, - 0xb37a: 0x1a, - 0xb37b: 0x1b, - 0xb37c: 0x1c, - 0xb37d: 0x1d, - 0xb37e: 0x1e, - 0xb37f: 0x1f, - 0xb380: 0x20, - 0xb381: 0x21, - 0xb382: 0x22, - 0xb383: 0x23, - 0xb384: 0x24, - 0xb385: 0x25, - 0xb386: 0x26, - 0xb387: 0x27, - 0xb388: 0x28, - 0xb389: 0x29, - 0xb38a: 0x2a, - 0xb38b: 0x2b, - 0xb38c: 0x2c, - 0xb38d: 0x2d, - 0xb38e: 0x2e, - 0xb38f: 0x2f, - 0xb390: 0x30, - 0xb391: 0x31, - 0xb392: 0x32, - 0xb393: 0x33, - 0xb394: 0x34, - 0xb395: 0x35, - 0xb396: 0x36, - 0xb397: 0x37, - 0xb398: 0x38, - 0xb399: 0x39, - 0xb39a: 0x3a, - 0xb39b: 0x3b, - 0xb39c: 0x3c, - 0xb39d: 0x3d, - 0xb39e: 0x3e, - 0xb39f: 0x3f, - 0xb3a0: 0x40, - 0xb3a1: 0x41, - 0xb3a2: 0x42, - 0xb3a3: 0x43, - 0xb3a4: 0x44, - 0xb3a5: 0x45, - 0xb3a6: 0x46, - 0xb3a7: 0x47, - 0xb3a8: 0x48, - 0xb3a9: 0x49, - 0xb3aa: 0x4a, - 0xb3ab: 0x4b, - 0xb3ac: 0x4c, - 0xb3ad: 0x4d, - 0xb3ae: 0x4e, - 0xb3af: 0x4f, - 0xb3b0: 0x50, - 0xb3b1: 0x51, - 0xb3b2: 0x52, - 0xb3b3: 0x53, - 0xb3b4: 0x54, - 0xb3b5: 0x55, - 0xb3b6: 0x56, - 0xb3b7: 0x57, - 0xb3b8: 0x58, - 0xb3b9: 0x59, - 0xb3ba: 0x5a, - 0xb3bb: 0x5b, - 0xb3bc: 0x5c, - 0xb3bd: 0x5d, - 0xb3be: 0x5e, - 0xb3bf: 0x5f, - 0xb3c0: 0x60, - 0xb3c1: 0x61, - 0xb3c2: 0x62, - 0xb3c3: 0x63, - 0xb3c4: 0x64, - 0xb3c5: 0x65, - 0xb3c6: 0x66, - 0xb3c7: 0x67, - 0xb3c8: 0x68, - 0xb3c9: 0x69, - 0xb3ca: 0x6a, - 0xb3cb: 0x6b, - 0xb3cc: 0x6c, - 0xb3cd: 0x6d, - 0xb3ce: 0x6e, - 0xb3cf: 0x6f, - 0xb3d0: 0x70, - 0xb3d1: 0x71, - 0xb3d2: 0x72, - 0xb3d3: 0x73, - 0xb3d4: 0x74, - 0xb3d5: 0x75, - 0xb3d6: 0x76, - 0xb3d7: 0x77, - 0xb3d8: 0x78, - 0xb3d9: 0x79, - 0xb3da: 0x7a, - 0xb3db: 0x7b, - 0xb3dc: 0x7c, - 0xb3dd: 0x7d, - 0xb3de: 0x7e, - 0xb3df: 0x7f, - 0xb3e0: 0x80 }); - -/***/ }), -/* 1081 */ -/*!*******************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/cids/src/cid-util.js ***! - \*******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var mh = __webpack_require__(/*! multihashes */ 1073);var _require = -__webpack_require__(/*! buffer */ 40),Buffer = _require.Buffer; -var CIDUtil = { - /** - * Test if the given input is a valid CID object. - * Returns an error message if it is not. - * Returns undefined if it is a valid CID. - * - * @param {any} other - * @returns {string} - */ - checkCIDComponents: function checkCIDComponents(other) { - if (other == null) { - return 'null values are not valid CIDs'; - } - - if (!(other.version === 0 || other.version === 1)) { - return 'Invalid version, must be a number equal to 1 or 0'; - } - - if (typeof other.codec !== 'string') { - return 'codec must be string'; - } - - if (other.version === 0) { - if (other.codec !== 'dag-pb') { - return "codec must be 'dag-pb' for CIDv0"; - } - if (other.multibaseName !== 'base58btc') { - return "multibaseName must be 'base58btc' for CIDv0"; - } - } - - if (!Buffer.isBuffer(other.multihash)) { - return 'multihash must be a Buffer'; - } - - try { - mh.validate(other.multihash); - } catch (err) { - var errorMsg = err.message; - if (!errorMsg) {// Just in case mh.validate() throws an error with empty error message - errorMsg = 'Multihash validation failed'; - } - return errorMsg; - } - } }; - - -module.exports = CIDUtil; - -/***/ }), -/* 1082 */ -/*!****************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/class-is/index.js ***! - \****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -function _construct(Parent, args, Class) {if (_isNativeReflectConstruct()) {_construct = Reflect.construct;} else {_construct = function _construct(Parent, args, Class) {var a = [null];a.push.apply(a, args);var Constructor = Function.bind.apply(Parent, a);var instance = new Constructor();if (Class) _setPrototypeOf(instance, Class.prototype);return instance;};}return _construct.apply(null, arguments);}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _classCallCheck(instance, Constructor) {if (!(instance instanceof Constructor)) {throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target, props) {for (var i = 0; i < props.length; i++) {var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if ("value" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);}}function _createClass(Constructor, protoProps, staticProps) {if (protoProps) _defineProperties(Constructor.prototype, protoProps);if (staticProps) _defineProperties(Constructor, staticProps);return Constructor;}function _inherits(subClass, superClass) {if (typeof superClass !== "function" && superClass !== null) {throw new TypeError("Super expression must either be null or a function");}subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });if (superClass) _setPrototypeOf(subClass, superClass);}function _setPrototypeOf(o, p) {_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {o.__proto__ = p;return o;};return _setPrototypeOf(o, p);}function _createSuper(Derived) {var hasNativeReflectConstruct = _isNativeReflectConstruct();return function _createSuperInternal() {var Super = _getPrototypeOf(Derived),result;if (hasNativeReflectConstruct) {var NewTarget = _getPrototypeOf(this).constructor;result = Reflect.construct(Super, arguments, NewTarget);} else {result = Super.apply(this, arguments);}return _possibleConstructorReturn(this, result);};}function _possibleConstructorReturn(self, call) {if (call && (typeof call === "object" || typeof call === "function")) {return call;}return _assertThisInitialized(self);}function _assertThisInitialized(self) {if (self === void 0) {throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return self;}function _isNativeReflectConstruct() {if (typeof Reflect === "undefined" || !Reflect.construct) return false;if (Reflect.construct.sham) return false;if (typeof Proxy === "function") return true;try {Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));return true;} catch (e) {return false;}}function _getPrototypeOf(o) {_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {return o.__proto__ || Object.getPrototypeOf(o);};return _getPrototypeOf(o);} - -function withIs(Class, _ref) {var className = _ref.className,symbolName = _ref.symbolName; - var symbol = Symbol.for(symbolName); - - var ClassIsWrapper = _defineProperty({}, - - - - - - - className, /*#__PURE__*/function (_Class) {_inherits(_class, _Class);var _super = _createSuper(_class); - function _class() {var _this2;_classCallCheck(this, _class);for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];} - _this2 = _super.call.apply(_super, [this].concat(args)); - Object.defineProperty(_assertThisInitialized(_this2), symbol, { value: true });return _this2; - }_createClass(_class, [{ key: - - Symbol.toStringTag, get: function get() { - return className; - } }]);return _class;}(Class))[ - - className]; - - ClassIsWrapper["is".concat(className)] = function (obj) {return !!(obj && obj[symbol]);}; - - return ClassIsWrapper; -} - -function withIsProto(Class, _ref2) {var className = _ref2.className,symbolName = _ref2.symbolName,withoutNew = _ref2.withoutNew; - var symbol = Symbol.for(symbolName); - - /* eslint-disable object-shorthand */ - var ClassIsWrapper = _defineProperty({}, - className, function () {for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {args[_key2] = arguments[_key2];} - if (withoutNew && !(this instanceof ClassIsWrapper)) { - return _construct(ClassIsWrapper, args); - } - - var _this = Class.call.apply(Class, [this].concat(args)) || this; - - if (_this && !_this[symbol]) { - Object.defineProperty(_this, symbol, { value: true }); - } - - return _this; - })[ - className]; - /* eslint-enable object-shorthand */ - - ClassIsWrapper.prototype = Object.create(Class.prototype); - ClassIsWrapper.prototype.constructor = ClassIsWrapper; - - Object.defineProperty(ClassIsWrapper.prototype, Symbol.toStringTag, { - get: function get() { - return className; - } }); - - - ClassIsWrapper["is".concat(className)] = function (obj) {return !!(obj && obj[symbol]);}; - - return ClassIsWrapper; -} - -module.exports = withIs; -module.exports.proto = withIsProto; - -/***/ }), -/* 1083 */ -/*!**************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/content-hash/src/helpers.js ***! - \**************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* - ISC License - - Copyright (c) 2019, Pierre-Louis Despaigne - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -*/ - -var CID = __webpack_require__(/*! cids */ 1072); - -/** - * Take any ipfsHash and convert it to a CID v1 encoded in base32. - * @param {string} ipfsHash a regular ipfs hash either a cid v0 or v1 (v1 will remain unchanged) - * @return {string} the resulting ipfs hash as a cid v1 - */ -var cidV0ToV1Base32 = function cidV0ToV1Base32(ipfsHash) { - var cid = new CID(ipfsHash); - if (cid.version === 0) { - cid = cid.toV1(); - } - return cid.toString('base32'); -}; - -exports.cidV0ToV1Base32 = cidV0ToV1Base32; - -/***/ }), -/* 1084 */ -/*!*****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-personal/lib/index.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var core = __webpack_require__(/*! web3-core */ 992); -var Method = __webpack_require__(/*! web3-core-method */ 1040); -var utils = __webpack_require__(/*! web3-utils */ 998); -var Net = __webpack_require__(/*! web3-net */ 1045); -var formatters = __webpack_require__(/*! web3-core-helpers */ 995).formatters; -var Personal = function Personal() { - var _this = this; - // sets _requestmanager - core.packageInit(this, arguments); - this.net = new Net(this); - var defaultAccount = null; - var defaultBlock = 'latest'; - Object.defineProperty(this, 'defaultAccount', { - get: function get() { - return defaultAccount; - }, - set: function set(val) { - if (val) { - defaultAccount = utils.toChecksumAddress(formatters.inputAddressFormatter(val)); - } - // update defaultBlock - methods.forEach(function (method) { - method.defaultAccount = defaultAccount; - }); - return val; - }, - enumerable: true }); - - Object.defineProperty(this, 'defaultBlock', { - get: function get() { - return defaultBlock; - }, - set: function set(val) { - defaultBlock = val; - // update defaultBlock - methods.forEach(function (method) { - method.defaultBlock = defaultBlock; - }); - return val; - }, - enumerable: true }); - - var methods = [ - new Method({ - name: 'getAccounts', - call: 'personal_listAccounts', - params: 0, - outputFormatter: utils.toChecksumAddress }), - - new Method({ - name: 'newAccount', - call: 'personal_newAccount', - params: 1, - inputFormatter: [null], - outputFormatter: utils.toChecksumAddress }), - - new Method({ - name: 'unlockAccount', - call: 'personal_unlockAccount', - params: 3, - inputFormatter: [formatters.inputAddressFormatter, null, null] }), - - new Method({ - name: 'lockAccount', - call: 'personal_lockAccount', - params: 1, - inputFormatter: [formatters.inputAddressFormatter] }), - - new Method({ - name: 'importRawKey', - call: 'personal_importRawKey', - params: 2 }), - - new Method({ - name: 'sendTransaction', - call: 'personal_sendTransaction', - params: 2, - inputFormatter: [formatters.inputTransactionFormatter, null] }), - - new Method({ - name: 'signTransaction', - call: 'personal_signTransaction', - params: 2, - inputFormatter: [formatters.inputTransactionFormatter, null] }), - - new Method({ - name: 'sign', - call: 'personal_sign', - params: 3, - inputFormatter: [formatters.inputSignFormatter, formatters.inputAddressFormatter, null] }), - - new Method({ - name: 'ecRecover', - call: 'personal_ecRecover', - params: 2, - inputFormatter: [formatters.inputSignFormatter, null] })]; - - - methods.forEach(function (method) { - method.attachToObject(_this); - method.setRequestManager(_this._requestManager); - method.defaultBlock = _this.defaultBlock; - method.defaultAccount = _this.defaultAccount; - }); -}; -core.addProviders(Personal); -module.exports = Personal; - -/***/ }), -/* 1085 */ -/*!*****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth-accounts/lib/index.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(global, Buffer) {/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file accounts.js - * @author Fabian Vogelsteller - * @date 2017 - */ -function _toConsumableArray(arr) {return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();}function _nonIterableSpread() {throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _iterableToArray(iter) {if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);}function _arrayWithoutHoles(arr) {if (Array.isArray(arr)) return _arrayLikeToArray(arr);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;} -var _ = __webpack_require__(/*! underscore */ 994); -var core = __webpack_require__(/*! web3-core */ 992); -var Method = __webpack_require__(/*! web3-core-method */ 1040); -var Account = __webpack_require__(/*! eth-lib/lib/account */ 1086); -var Hash = __webpack_require__(/*! eth-lib/lib/hash */ 1003); -var RLP = __webpack_require__(/*! eth-lib/lib/rlp */ 1159); // jshint ignore:line -var Bytes = __webpack_require__(/*! eth-lib/lib/bytes */ 1087); // jshint ignore:line -var cryp = typeof global === 'undefined' ? __webpack_require__(/*! crypto-browserify */ 1089) : __webpack_require__(/*! crypto */ 1089); -var scrypt = __webpack_require__(/*! scrypt-js */ 167); -var uuid = __webpack_require__(/*! uuid */ 1160); -var utils = __webpack_require__(/*! web3-utils */ 998); -var helpers = __webpack_require__(/*! web3-core-helpers */ 995); -var Transaction = __webpack_require__(/*! ethereumjs-tx */ 539).Transaction; -var Common = __webpack_require__(/*! ethereumjs-common */ 1165).default; -var isNot = function isNot(value) { - return _.isUndefined(value) || _.isNull(value); -}; -var Accounts = function Accounts() { - var _this = this; - // sets _requestmanager - core.packageInit(this, arguments); - // remove unecessary core functions - delete this.BatchRequest; - delete this.extend; - var _ethereumCall = [ - new Method({ - name: 'getNetworkId', - call: 'net_version', - params: 0, - outputFormatter: parseInt }), - - new Method({ - name: 'getChainId', - call: 'eth_chainId', - params: 0, - outputFormatter: utils.hexToNumber }), - - new Method({ - name: 'getGasPrice', - call: 'eth_gasPrice', - params: 0 }), - - new Method({ - name: 'getTransactionCount', - call: 'eth_getTransactionCount', - params: 2, - inputFormatter: [function (address) { - if (utils.isAddress(address)) { - return address; - } else - { - throw new Error('Address ' + address + ' is not a valid address to get the "transactionCount".'); - } - }, function () { - return 'latest'; - }] })]; - - - // attach methods to this._ethereumCall - this._ethereumCall = {}; - _.each(_ethereumCall, function (method) { - method.attachToObject(_this._ethereumCall); - method.setRequestManager(_this._requestManager); - }); - this.wallet = new Wallet(this); -}; -Accounts.prototype._addAccountFunctions = function (account) { - var _this = this; - // add sign functions - account.signTransaction = function signTransaction(tx, callback) { - return _this.signTransaction(tx, account.privateKey, callback); - }; - account.sign = function sign(data) { - return _this.sign(data, account.privateKey); - }; - account.encrypt = function encrypt(password, options) { - return _this.encrypt(account.privateKey, password, options); - }; - return account; -}; -Accounts.prototype.create = function create(entropy) { - return this._addAccountFunctions(Account.create(entropy || utils.randomHex(32))); -}; -Accounts.prototype.privateKeyToAccount = function privateKeyToAccount(privateKey, ignoreLength) { - if (!privateKey.startsWith('0x')) { - privateKey = '0x' + privateKey; - } - // 64 hex characters + hex-prefix - if (!ignoreLength && privateKey.length !== 66) { - throw new Error("Private key must be 32 bytes long"); - } - return this._addAccountFunctions(Account.fromPrivate(privateKey)); -}; -Accounts.prototype.signTransaction = function signTransaction(tx, privateKey, callback) { - var _this = this,error = false,transactionOptions = {},hasTxSigningOptions = !!(tx && (tx.chain && tx.hardfork || tx.common)); - callback = callback || function () { - }; - if (!tx) { - error = new Error('No transaction object given!'); - callback(error); - return Promise.reject(error); - } - function signed(tx) { - var error = _validateTransactionForSigning(tx); - if (error) { - callback(error); - return Promise.reject(error); - } - try { - var transaction = helpers.formatters.inputCallFormatter(_.clone(tx)); - transaction.to = transaction.to || '0x'; - transaction.data = transaction.data || '0x'; - transaction.value = transaction.value || '0x'; - transaction.chainId = utils.numberToHex(transaction.chainId); - // Because tx has no ethereumjs-tx signing options we use fetched vals. - if (!hasTxSigningOptions) { - transactionOptions.common = Common.forCustomChain('mainnet', { - name: 'custom-network', - networkId: transaction.networkId, - chainId: transaction.chainId }, - 'petersburg'); - delete transaction.networkId; - } else - { - if (transaction.common) { - transactionOptions.common = Common.forCustomChain(transaction.common.baseChain || 'mainnet', { - name: transaction.common.customChain.name || 'custom-network', - networkId: transaction.common.customChain.networkId, - chainId: transaction.common.customChain.chainId }, - transaction.common.hardfork || 'petersburg'); - delete transaction.common; - } - if (transaction.chain) { - transactionOptions.chain = transaction.chain; - delete transaction.chain; - } - if (transaction.hardfork) { - transactionOptions.hardfork = transaction.hardfork; - delete transaction.hardfork; - } - } - if (privateKey.startsWith('0x')) { - privateKey = privateKey.substring(2); - } - var ethTx = new Transaction(transaction, transactionOptions); - ethTx.sign(Buffer.from(privateKey, 'hex')); - var validationResult = ethTx.validate(true); - if (validationResult !== '') { - throw new Error('Signer Error: ' + validationResult); - } - var rlpEncoded = ethTx.serialize().toString('hex'); - var rawTransaction = '0x' + rlpEncoded; - var transactionHash = utils.keccak256(rawTransaction); - var result = { - messageHash: '0x' + Buffer.from(ethTx.hash(false)).toString('hex'), - v: '0x' + Buffer.from(ethTx.v).toString('hex'), - r: '0x' + Buffer.from(ethTx.r).toString('hex'), - s: '0x' + Buffer.from(ethTx.s).toString('hex'), - rawTransaction: rawTransaction, - transactionHash: transactionHash }; - - callback(null, result); - return result; - } - catch (e) { - callback(e); - return Promise.reject(e); - } - } - // Resolve immediately if nonce, chainId, price and signing options are provided - if (tx.nonce !== undefined && tx.chainId !== undefined && tx.gasPrice !== undefined && hasTxSigningOptions) { - return Promise.resolve(signed(tx)); - } - // Otherwise, get the missing info from the Ethereum Node - return Promise.all([ - isNot(tx.chainId) ? _this._ethereumCall.getChainId() : tx.chainId, - isNot(tx.gasPrice) ? _this._ethereumCall.getGasPrice() : tx.gasPrice, - isNot(tx.nonce) ? _this._ethereumCall.getTransactionCount(_this.privateKeyToAccount(privateKey).address) : tx.nonce, - isNot(hasTxSigningOptions) ? _this._ethereumCall.getNetworkId() : 1]). - then(function (args) { - if (isNot(args[0]) || isNot(args[1]) || isNot(args[2]) || isNot(args[3])) { - throw new Error('One of the values "chainId", "networkId", "gasPrice", or "nonce" couldn\'t be fetched: ' + JSON.stringify(args)); - } - return signed(_.extend(tx, { chainId: args[0], gasPrice: args[1], nonce: args[2], networkId: args[3] })); - }); -}; -function _validateTransactionForSigning(tx) { - if (tx.common && tx.chain && tx.hardfork) { - return new Error('Please provide the ethereumjs-common object or the chain and hardfork property but not all together.'); - } - if (tx.chain && !tx.hardfork || tx.hardfork && !tx.chain) { - return new Error('When specifying chain and hardfork, both values must be defined. ' + - 'Received "chain": ' + tx.chain + ', "hardfork": ' + tx.hardfork); - } - if (!tx.gas && !tx.gasLimit) { - return new Error('"gas" is missing'); - } - if (tx.nonce < 0 || - tx.gas < 0 || - tx.gasPrice < 0 || - tx.chainId < 0) { - return new Error('Gas, gasPrice, nonce or chainId is lower than 0'); - } - return; -} -/* jshint ignore:start */ -Accounts.prototype.recoverTransaction = function recoverTransaction(rawTx) { - var values = RLP.decode(rawTx); - var signature = Account.encodeSignature(values.slice(6, 9)); - var recovery = Bytes.toNumber(values[6]); - var extraData = recovery < 35 ? [] : [Bytes.fromNumber(recovery - 35 >> 1), '0x', '0x']; - var signingData = values.slice(0, 6).concat(extraData); - var signingDataHex = RLP.encode(signingData); - return Account.recover(Hash.keccak256(signingDataHex), signature); -}; -/* jshint ignore:end */ -Accounts.prototype.hashMessage = function hashMessage(data) { - var messageHex = utils.isHexStrict(data) ? data : utils.utf8ToHex(data); - var messageBytes = utils.hexToBytes(messageHex); - var messageBuffer = Buffer.from(messageBytes); - var preamble = '\x19Ethereum Signed Message:\n' + messageBytes.length; - var preambleBuffer = Buffer.from(preamble); - var ethMessage = Buffer.concat([preambleBuffer, messageBuffer]); - return Hash.keccak256s(ethMessage); -}; -Accounts.prototype.sign = function sign(data, privateKey) { - if (!privateKey.startsWith('0x')) { - privateKey = '0x' + privateKey; - } - // 64 hex characters + hex-prefix - if (privateKey.length !== 66) { - throw new Error("Private key must be 32 bytes long"); - } - var hash = this.hashMessage(data); - var signature = Account.sign(hash, privateKey); - var vrs = Account.decodeSignature(signature); - return { - message: data, - messageHash: hash, - v: vrs[0], - r: vrs[1], - s: vrs[2], - signature: signature }; - -}; -Accounts.prototype.recover = function recover(message, signature, preFixed) { - var args = [].slice.apply(arguments); - if (_.isObject(message)) { - return this.recover(message.messageHash, Account.encodeSignature([message.v, message.r, message.s]), true); - } - if (!preFixed) { - message = this.hashMessage(message); - } - if (args.length >= 4) { - preFixed = args.slice(-1)[0]; - preFixed = _.isBoolean(preFixed) ? !!preFixed : false; - return this.recover(message, Account.encodeSignature(args.slice(1, 4)), preFixed); // v, r, s - } - return Account.recover(message, signature); -}; -// Taken from https://github.com/ethereumjs/ethereumjs-wallet -Accounts.prototype.decrypt = function (v3Keystore, password, nonStrict) { - /* jshint maxcomplexity: 10 */ - if (!_.isString(password)) { - throw new Error('No password given.'); - } - var json = _.isObject(v3Keystore) ? v3Keystore : JSON.parse(nonStrict ? v3Keystore.toLowerCase() : v3Keystore); - if (json.version !== 3) { - throw new Error('Not a valid V3 wallet'); - } - var derivedKey; - var kdfparams; - if (json.crypto.kdf === 'scrypt') { - kdfparams = json.crypto.kdfparams; - // FIXME: support progress reporting callback - derivedKey = scrypt.syncScrypt(Buffer.from(password), Buffer.from(kdfparams.salt, 'hex'), kdfparams.n, kdfparams.r, kdfparams.p, kdfparams.dklen); - } else - if (json.crypto.kdf === 'pbkdf2') { - kdfparams = json.crypto.kdfparams; - if (kdfparams.prf !== 'hmac-sha256') { - throw new Error('Unsupported parameters to PBKDF2'); - } - derivedKey = cryp.pbkdf2Sync(Buffer.from(password), Buffer.from(kdfparams.salt, 'hex'), kdfparams.c, kdfparams.dklen, 'sha256'); - } else - { - throw new Error('Unsupported key derivation scheme'); - } - var ciphertext = Buffer.from(json.crypto.ciphertext, 'hex'); - var mac = utils.sha3(Buffer.from([].concat(_toConsumableArray(derivedKey.slice(16, 32)), _toConsumableArray(ciphertext)))).replace('0x', ''); - if (mac !== json.crypto.mac) { - throw new Error('Key derivation failed - possibly wrong password'); - } - var decipher = cryp.createDecipheriv(json.crypto.cipher, derivedKey.slice(0, 16), Buffer.from(json.crypto.cipherparams.iv, 'hex')); - var seed = '0x' + Buffer.from([].concat(_toConsumableArray(decipher.update(ciphertext)), _toConsumableArray(decipher.final()))).toString('hex'); - return this.privateKeyToAccount(seed, true); -}; -Accounts.prototype.encrypt = function (privateKey, password, options) { - /* jshint maxcomplexity: 20 */ - var account = this.privateKeyToAccount(privateKey, true); - options = options || {}; - var salt = options.salt || cryp.randomBytes(32); - var iv = options.iv || cryp.randomBytes(16); - var derivedKey; - var kdf = options.kdf || 'scrypt'; - var kdfparams = { - dklen: options.dklen || 32, - salt: salt.toString('hex') }; - - if (kdf === 'pbkdf2') { - kdfparams.c = options.c || 262144; - kdfparams.prf = 'hmac-sha256'; - derivedKey = cryp.pbkdf2Sync(Buffer.from(password), Buffer.from(kdfparams.salt, 'hex'), kdfparams.c, kdfparams.dklen, 'sha256'); - } else - if (kdf === 'scrypt') { - // FIXME: support progress reporting callback - kdfparams.n = options.n || 8192; // 2048 4096 8192 16384 - kdfparams.r = options.r || 8; - kdfparams.p = options.p || 1; - derivedKey = scrypt.syncScrypt(Buffer.from(password), Buffer.from(kdfparams.salt, 'hex'), kdfparams.n, kdfparams.r, kdfparams.p, kdfparams.dklen); - } else - { - throw new Error('Unsupported kdf'); - } - var cipher = cryp.createCipheriv(options.cipher || 'aes-128-ctr', derivedKey.slice(0, 16), iv); - if (!cipher) { - throw new Error('Unsupported cipher'); - } - var ciphertext = Buffer.from([].concat(_toConsumableArray( - cipher.update(Buffer.from(account.privateKey.replace('0x', ''), 'hex'))), _toConsumableArray( - cipher.final()))); - - var mac = utils.sha3(Buffer.from([].concat(_toConsumableArray(derivedKey.slice(16, 32)), _toConsumableArray(ciphertext)))).replace('0x', ''); - return { - version: 3, - id: uuid.v4({ random: options.uuid || cryp.randomBytes(16) }), - address: account.address.toLowerCase().replace('0x', ''), - crypto: { - ciphertext: ciphertext.toString('hex'), - cipherparams: { - iv: iv.toString('hex') }, - - cipher: options.cipher || 'aes-128-ctr', - kdf: kdf, - kdfparams: kdfparams, - mac: mac.toString('hex') } }; - - -}; -// Note: this is trying to follow closely the specs on -// http://web3js.readthedocs.io/en/1.0/web3-eth-accounts.html -function Wallet(accounts) { - this._accounts = accounts; - this.length = 0; - this.defaultKeyName = 'web3js_wallet'; -} -Wallet.prototype._findSafeIndex = function (pointer) { - pointer = pointer || 0; - if (_.has(this, pointer)) { - return this._findSafeIndex(pointer + 1); - } else - { - return pointer; - } -}; -Wallet.prototype._currentIndexes = function () { - var keys = Object.keys(this); - var indexes = keys. - map(function (key) { - return parseInt(key); - }). - filter(function (n) { - return n < 9e20; - }); - return indexes; -}; -Wallet.prototype.create = function (numberOfAccounts, entropy) { - for (var i = 0; i < numberOfAccounts; ++i) { - this.add(this._accounts.create(entropy).privateKey); - } - return this; -}; -Wallet.prototype.add = function (account) { - if (_.isString(account)) { - account = this._accounts.privateKeyToAccount(account); - } - if (!this[account.address]) { - account = this._accounts.privateKeyToAccount(account.privateKey); - account.index = this._findSafeIndex(); - this[account.index] = account; - this[account.address] = account; - this[account.address.toLowerCase()] = account; - this.length++; - return account; - } else - { - return this[account.address]; - } -}; -Wallet.prototype.remove = function (addressOrIndex) { - var account = this[addressOrIndex]; - if (account && account.address) { - // address - this[account.address].privateKey = null; - delete this[account.address]; - // address lowercase - this[account.address.toLowerCase()].privateKey = null; - delete this[account.address.toLowerCase()]; - // index - this[account.index].privateKey = null; - delete this[account.index]; - this.length--; - return true; - } else - { - return false; - } -}; -Wallet.prototype.clear = function () { - var _this = this; - var indexes = this._currentIndexes(); - indexes.forEach(function (index) { - _this.remove(index); - }); - return this; -}; -Wallet.prototype.encrypt = function (password, options) { - var _this = this; - var indexes = this._currentIndexes(); - var accounts = indexes.map(function (index) { - return _this[index].encrypt(password, options); - }); - return accounts; -}; -Wallet.prototype.decrypt = function (encryptedWallet, password) { - var _this = this; - encryptedWallet.forEach(function (keystore) { - var account = _this._accounts.decrypt(keystore, password); - if (account) { - _this.add(account); - } else - { - throw new Error('Couldn\'t decrypt accounts. Password wrong?'); - } - }); - return this; -}; -Wallet.prototype.save = function (password, keyName) { - localStorage.setItem(keyName || this.defaultKeyName, JSON.stringify(this.encrypt(password))); - return true; -}; -Wallet.prototype.load = function (password, keyName) { - var keystore = localStorage.getItem(keyName || this.defaultKeyName); - if (keystore) { - try { - keystore = JSON.parse(keystore); - } - catch (e) { - } - } - return this.decrypt(keystore || [], password); -}; -if (!storageAvailable('localStorage')) { - delete Wallet.prototype.save; - delete Wallet.prototype.load; -} -/** - * Checks whether a storage type is available or not - * For more info on how this works, please refer to MDN documentation - * https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#Feature-detecting_localStorage - * - * @method storageAvailable - * @param {String} type the type of storage ('localStorage', 'sessionStorage') - * @returns {Boolean} a boolean indicating whether the specified storage is available or not - */ -function storageAvailable(type) { - var storage; - try { - storage = window[type]; - var x = '__storage_test__'; - storage.setItem(x, x); - storage.removeItem(x); - return true; - } - catch (e) { - return e && ( - // everything except Firefox - e.code === 22 || - // Firefox - e.code === 1014 || - // test name field too, because code might not be present - // everything except Firefox - e.name === 'QuotaExceededError' || - // Firefox - e.name === 'NS_ERROR_DOM_QUOTA_REACHED') && - // acknowledge QuotaExceededError only if there's something already stored - storage && storage.length !== 0; - } -} -module.exports = Accounts; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/webpack/buildin/global.js */ 37), __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1086 */ -/*!*********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/eth-lib/lib/account.js ***! - \*********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer) {var _slicedToArray = function () {function sliceIterator(arr, i) {var _arr = [];var _n = true;var _d = false;var _e = undefined;try {for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {_arr.push(_s.value);if (i && _arr.length === i) break;}} catch (err) {_d = true;_e = err;} finally {try {if (!_n && _i["return"]) _i["return"]();} finally {if (_d) throw _e;}}return _arr;}return function (arr, i) {if (Array.isArray(arr)) {return arr;} else if (Symbol.iterator in Object(arr)) {return sliceIterator(arr, i);} else {throw new TypeError("Invalid attempt to destructure non-iterable instance");}};}(); - -var Bytes = __webpack_require__(/*! ./bytes */ 1087); -var Nat = __webpack_require__(/*! ./nat */ 1158); -var elliptic = __webpack_require__(/*! elliptic */ 205); -var rlp = __webpack_require__(/*! ./rlp */ 1159); -var secp256k1 = new elliptic.ec("secp256k1"); // eslint-disable-line - -var _require = __webpack_require__(/*! ./hash */ 1003), -keccak256 = _require.keccak256, -keccak256s = _require.keccak256s; - -var create = function create(entropy) { - var innerHex = keccak256(Bytes.concat(Bytes.random(32), entropy || Bytes.random(32))); - var middleHex = Bytes.concat(Bytes.concat(Bytes.random(32), innerHex), Bytes.random(32)); - var outerHex = keccak256(middleHex); - return fromPrivate(outerHex); -}; - -var toChecksum = function toChecksum(address) { - var addressHash = keccak256s(address.slice(2)); - var checksumAddress = "0x"; - for (var i = 0; i < 40; i++) { - checksumAddress += parseInt(addressHash[i + 2], 16) > 7 ? address[i + 2].toUpperCase() : address[i + 2]; - }return checksumAddress; -}; - -var fromPrivate = function fromPrivate(privateKey) { - var buffer = new Buffer(privateKey.slice(2), "hex"); - var ecKey = secp256k1.keyFromPrivate(buffer); - var publicKey = "0x" + ecKey.getPublic(false, 'hex').slice(2); - var publicHash = keccak256(publicKey); - var address = toChecksum("0x" + publicHash.slice(-40)); - return { - address: address, - privateKey: privateKey }; - -}; - -var encodeSignature = function encodeSignature(_ref) { - var _ref2 = _slicedToArray(_ref, 3), - v = _ref2[0], - r = _ref2[1], - s = _ref2[2]; - - return Bytes.flatten([r, s, v]); -}; - -var decodeSignature = function decodeSignature(hex) { - return [Bytes.slice(64, 65, hex), Bytes.slice(0, 32, hex), Bytes.slice(32, 64, hex)]; -}; - -var makeSign = function makeSign(addToV) { - return function (hash, privateKey) { - var signature = secp256k1.keyFromPrivate(new Buffer(privateKey.slice(2), "hex")).sign(new Buffer(hash.slice(2), "hex"), { canonical: true }); - return encodeSignature([Bytes.pad(1, Bytes.fromNumber(addToV + signature.recoveryParam)), Bytes.pad(32, Bytes.fromNat("0x" + signature.r.toString(16))), Bytes.pad(32, Bytes.fromNat("0x" + signature.s.toString(16)))]); - }; -}; - -var sign = makeSign(27); // v=27|28 instead of 0|1... - -var recover = function recover(hash, signature) { - var vals = decodeSignature(signature); - var vrs = { v: Bytes.toNumber(vals[0]), r: vals[1].slice(2), s: vals[2].slice(2) }; - var ecPublicKey = secp256k1.recoverPubKey(new Buffer(hash.slice(2), "hex"), vrs, vrs.v < 2 ? vrs.v : 1 - vrs.v % 2); // because odd vals mean v=0... sadly that means v=0 means v=1... I hate that - var publicKey = "0x" + ecPublicKey.encode("hex", false).slice(2); - var publicHash = keccak256(publicKey); - var address = toChecksum("0x" + publicHash.slice(-40)); - return address; -}; - -var transactionSigningData = function transactionSigningData(tx) { - return rlp.encode([Bytes.fromNat(tx.nonce), Bytes.fromNat(tx.gasPrice), Bytes.fromNat(tx.gas), tx.to.toLowerCase(), Bytes.fromNat(tx.value), tx.data, Bytes.fromNat(tx.chainId || "0x1"), "0x", "0x"]); -}; - -var signTransaction = function signTransaction(tx, privateKey) { - var signingData = transactionSigningData(tx); - var signature = makeSign(Nat.toNumber(tx.chainId || "0x1") * 2 + 35)(keccak256(signingData), privateKey); - var rawTransaction = rlp.decode(signingData).slice(0, 6).concat(decodeSignature(signature)); - return rlp.encode(rawTransaction); -}; - -var recoverTransaction = function recoverTransaction(rawTransaction) { - var values = rlp.decode(rawTransaction); - var signature = encodeSignature(values.slice(6, 9)); - var recovery = Bytes.toNumber(values[6]); - var extraData = recovery < 35 ? [] : [Bytes.fromNumber(recovery - 35 >> 1), "0x", "0x"]; - var signingData = values.slice(0, 6).concat(extraData); - var signingDataHex = rlp.encode(signingData); - return recover(keccak256(signingDataHex), signature); -}; - -module.exports = { - create: create, - toChecksum: toChecksum, - fromPrivate: fromPrivate, - sign: sign, - recover: recover, - signTransaction: signTransaction, - recoverTransaction: recoverTransaction, - transactionSigningData: transactionSigningData, - encodeSignature: encodeSignature, - decodeSignature: decodeSignature }; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1087 */ -/*!*******************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/eth-lib/lib/bytes.js ***! - \*******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(__webpack_provided_window_dot_crypto) {var A = __webpack_require__(/*! ./array.js */ 1088); - -var at = function at(bytes, index) { - return parseInt(bytes.slice(index * 2 + 2, index * 2 + 4), 16); -}; - -var random = function random(bytes) { - var rnd = void 0; - if (typeof window !== "undefined" && __webpack_provided_window_dot_crypto && __webpack_provided_window_dot_crypto.getRandomValues) rnd = __webpack_provided_window_dot_crypto.getRandomValues(new Uint8Array(bytes));else if (true) rnd = __webpack_require__(/*! crypto */ 1089).randomBytes(bytes);else {} - var hex = "0x"; - for (var i = 0; i < bytes; ++i) { - hex += ("00" + rnd[i].toString(16)).slice(-2); - }return hex; -}; - -var length = function length(a) { - return (a.length - 2) / 2; -}; - -var flatten = function flatten(a) { - return "0x" + a.reduce(function (r, s) { - return r + s.slice(2); - }, ""); -}; - -var slice = function slice(i, j, bs) { - return "0x" + bs.slice(i * 2 + 2, j * 2 + 2); -}; - -var reverse = function reverse(hex) { - var rev = "0x"; - for (var i = 0, l = length(hex); i < l; ++i) { - rev += hex.slice((l - i) * 2, (l - i + 1) * 2); - } - return rev; -}; - -var pad = function pad(l, hex) { - return hex.length === l * 2 + 2 ? hex : pad(l, "0x" + "0" + hex.slice(2)); -}; - -var padRight = function padRight(l, hex) { - return hex.length === l * 2 + 2 ? hex : padRight(l, hex + "0"); -}; - -var toArray = function toArray(hex) { - var arr = []; - for (var i = 2, l = hex.length; i < l; i += 2) { - arr.push(parseInt(hex.slice(i, i + 2), 16)); - }return arr; -}; - -var fromArray = function fromArray(arr) { - var hex = "0x"; - for (var i = 0, l = arr.length; i < l; ++i) { - var b = arr[i]; - hex += (b < 16 ? "0" : "") + b.toString(16); - } - return hex; -}; - -var toUint8Array = function toUint8Array(hex) { - return new Uint8Array(toArray(hex)); -}; - -var fromUint8Array = function fromUint8Array(arr) { - return fromArray([].slice.call(arr, 0)); -}; - -var fromNumber = function fromNumber(num) { - var hex = num.toString(16); - return hex.length % 2 === 0 ? "0x" + hex : "0x0" + hex; -}; - -var toNumber = function toNumber(hex) { - return parseInt(hex.slice(2), 16); -}; - -var concat = function concat(a, b) { - return a.concat(b.slice(2)); -}; - -var fromNat = function fromNat(bn) { - return bn === "0x0" ? "0x" : bn.length % 2 === 0 ? bn : "0x0" + bn.slice(2); -}; - -var toNat = function toNat(bn) { - return bn[2] === "0" ? "0x" + bn.slice(3) : bn; -}; - -var fromAscii = function fromAscii(ascii) { - var hex = "0x"; - for (var i = 0; i < ascii.length; ++i) { - hex += ("00" + ascii.charCodeAt(i).toString(16)).slice(-2); - }return hex; -}; - -var toAscii = function toAscii(hex) { - var ascii = ""; - for (var i = 2; i < hex.length; i += 2) { - ascii += String.fromCharCode(parseInt(hex.slice(i, i + 2), 16)); - }return ascii; -}; - -// From https://gist.github.com/pascaldekloe/62546103a1576803dade9269ccf76330 -var fromString = function fromString(s) { - var makeByte = function makeByte(uint8) { - var b = uint8.toString(16); - return b.length < 2 ? "0" + b : b; - }; - var bytes = "0x"; - for (var ci = 0; ci != s.length; ci++) { - var c = s.charCodeAt(ci); - if (c < 128) { - bytes += makeByte(c); - continue; - } - if (c < 2048) { - bytes += makeByte(c >> 6 | 192); - } else { - if (c > 0xd7ff && c < 0xdc00) { - if (++ci == s.length) return null; - var c2 = s.charCodeAt(ci); - if (c2 < 0xdc00 || c2 > 0xdfff) return null; - c = 0x10000 + ((c & 0x03ff) << 10) + (c2 & 0x03ff); - bytes += makeByte(c >> 18 | 240); - bytes += makeByte(c >> 12 & 63 | 128); - } else { - // c <= 0xffff - bytes += makeByte(c >> 12 | 224); - } - bytes += makeByte(c >> 6 & 63 | 128); - } - bytes += makeByte(c & 63 | 128); - } - return bytes; -}; - -var toString = function toString(bytes) { - var s = ''; - var i = 0; - var l = length(bytes); - while (i < l) { - var c = at(bytes, i++); - if (c > 127) { - if (c > 191 && c < 224) { - if (i >= l) return null; - c = (c & 31) << 6 | at(bytes, i) & 63; - } else if (c > 223 && c < 240) { - if (i + 1 >= l) return null; - c = (c & 15) << 12 | (at(bytes, i) & 63) << 6 | at(bytes, ++i) & 63; - } else if (c > 239 && c < 248) { - if (i + 2 >= l) return null; - c = (c & 7) << 18 | (at(bytes, i) & 63) << 12 | (at(bytes, ++i) & 63) << 6 | at(bytes, ++i) & 63; - } else return null; - ++i; - } - if (c <= 0xffff) s += String.fromCharCode(c);else if (c <= 0x10ffff) { - c -= 0x10000; - s += String.fromCharCode(c >> 10 | 0xd800); - s += String.fromCharCode(c & 0x3FF | 0xdc00); - } else return null; - } - return s; -}; - -module.exports = { - random: random, - length: length, - concat: concat, - flatten: flatten, - slice: slice, - reverse: reverse, - pad: pad, - padRight: padRight, - fromAscii: fromAscii, - toAscii: toAscii, - fromString: fromString, - toString: toString, - fromNumber: fromNumber, - toNumber: toNumber, - fromNat: fromNat, - toNat: toNat, - fromArray: fromArray, - toArray: toArray, - fromUint8Array: fromUint8Array, - toUint8Array: toUint8Array }; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/crypto.js */ 202)["default"])) - -/***/ }), -/* 1088 */ -/*!*******************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/eth-lib/lib/array.js ***! - \*******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var generate = function generate(num, fn) { - var a = []; - for (var i = 0; i < num; ++i) { - a.push(fn(i)); - }return a; -}; - -var replicate = function replicate(num, val) { - return generate(num, function () { - return val; - }); -}; - -var concat = function concat(a, b) { - return a.concat(b); -}; - -var flatten = function flatten(a) { - var r = []; - for (var j = 0, J = a.length; j < J; ++j) { - for (var i = 0, I = a[j].length; i < I; ++i) { - r.push(a[j][i]); - } - }return r; -}; - -var chunksOf = function chunksOf(n, a) { - var b = []; - for (var i = 0, l = a.length; i < l; i += n) { - b.push(a.slice(i, i + n)); - }return b; -}; - -module.exports = { - generate: generate, - replicate: replicate, - concat: concat, - flatten: flatten, - chunksOf: chunksOf }; - -/***/ }), -/* 1089 */ -/*!*************************************************!*\ - !*** ./node_modules/crypto-browserify/index.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -exports.randomBytes = exports.rng = exports.pseudoRandomBytes = exports.prng = __webpack_require__(/*! randombytes */ 406) -exports.createHash = exports.Hash = __webpack_require__(/*! create-hash */ 364) -exports.createHmac = exports.Hmac = __webpack_require__(/*! create-hmac */ 421) - -var algos = __webpack_require__(/*! browserify-sign/algos */ 1090) -var algoKeys = Object.keys(algos) -var hashes = ['sha1', 'sha224', 'sha256', 'sha384', 'sha512', 'md5', 'rmd160'].concat(algoKeys) -exports.getHashes = function () { - return hashes -} - -var p = __webpack_require__(/*! pbkdf2 */ 399) -exports.pbkdf2 = p.pbkdf2 -exports.pbkdf2Sync = p.pbkdf2Sync - -var aes = __webpack_require__(/*! browserify-cipher */ 1092) - -exports.Cipher = aes.Cipher -exports.createCipher = aes.createCipher -exports.Cipheriv = aes.Cipheriv -exports.createCipheriv = aes.createCipheriv -exports.Decipher = aes.Decipher -exports.createDecipher = aes.createDecipher -exports.Decipheriv = aes.Decipheriv -exports.createDecipheriv = aes.createDecipheriv -exports.getCiphers = aes.getCiphers -exports.listCiphers = aes.listCiphers - -var dh = __webpack_require__(/*! diffie-hellman */ 1120) - -exports.DiffieHellmanGroup = dh.DiffieHellmanGroup -exports.createDiffieHellmanGroup = dh.createDiffieHellmanGroup -exports.getDiffieHellman = dh.getDiffieHellman -exports.createDiffieHellman = dh.createDiffieHellman -exports.DiffieHellman = dh.DiffieHellman - -var sign = __webpack_require__(/*! browserify-sign */ 1125) - -exports.createSign = sign.createSign -exports.Sign = sign.Sign -exports.createVerify = sign.createVerify -exports.Verify = sign.Verify - -exports.createECDH = __webpack_require__(/*! create-ecdh */ 1150) - -var publicEncrypt = __webpack_require__(/*! public-encrypt */ 1151) - -exports.publicEncrypt = publicEncrypt.publicEncrypt -exports.privateEncrypt = publicEncrypt.privateEncrypt -exports.publicDecrypt = publicEncrypt.publicDecrypt -exports.privateDecrypt = publicEncrypt.privateDecrypt - -// the least I can do is make error messages for the rest of the node.js/crypto api. -// ;[ -// 'createCredentials' -// ].forEach(function (name) { -// exports[name] = function () { -// throw new Error([ -// 'sorry, ' + name + ' is not implemented yet', -// 'we accept pull requests', -// 'https://github.com/crypto-browserify/crypto-browserify' -// ].join('\n')) -// } -// }) - -var rf = __webpack_require__(/*! randomfill */ 1157) - -exports.randomFill = rf.randomFill -exports.randomFillSync = rf.randomFillSync - -exports.createCredentials = function () { - throw new Error([ - 'sorry, createCredentials is not implemented yet', - 'we accept pull requests', - 'https://github.com/crypto-browserify/crypto-browserify' - ].join('\n')) -} - -exports.constants = { - 'DH_CHECK_P_NOT_SAFE_PRIME': 2, - 'DH_CHECK_P_NOT_PRIME': 1, - 'DH_UNABLE_TO_CHECK_GENERATOR': 4, - 'DH_NOT_SUITABLE_GENERATOR': 8, - 'NPN_ENABLED': 1, - 'ALPN_ENABLED': 1, - 'RSA_PKCS1_PADDING': 1, - 'RSA_SSLV23_PADDING': 2, - 'RSA_NO_PADDING': 3, - 'RSA_PKCS1_OAEP_PADDING': 4, - 'RSA_X931_PADDING': 5, - 'RSA_PKCS1_PSS_PADDING': 6, - 'POINT_CONVERSION_COMPRESSED': 2, - 'POINT_CONVERSION_UNCOMPRESSED': 4, - 'POINT_CONVERSION_HYBRID': 6 -} - - -/***/ }), -/* 1090 */ -/*!***********************************************!*\ - !*** ./node_modules/browserify-sign/algos.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -module.exports = __webpack_require__(/*! ./browser/algorithms.json */ 1091) - - -/***/ }), -/* 1091 */ -/*!**************************************************************!*\ - !*** ./node_modules/browserify-sign/browser/algorithms.json ***! - \**************************************************************/ -/*! exports provided: sha224WithRSAEncryption, RSA-SHA224, sha256WithRSAEncryption, RSA-SHA256, sha384WithRSAEncryption, RSA-SHA384, sha512WithRSAEncryption, RSA-SHA512, RSA-SHA1, ecdsa-with-SHA1, sha256, sha224, sha384, sha512, DSA-SHA, DSA-SHA1, DSA, DSA-WITH-SHA224, DSA-SHA224, DSA-WITH-SHA256, DSA-SHA256, DSA-WITH-SHA384, DSA-SHA384, DSA-WITH-SHA512, DSA-SHA512, DSA-RIPEMD160, ripemd160WithRSA, RSA-RIPEMD160, md5WithRSAEncryption, RSA-MD5, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"sha224WithRSAEncryption\":{\"sign\":\"rsa\",\"hash\":\"sha224\",\"id\":\"302d300d06096086480165030402040500041c\"},\"RSA-SHA224\":{\"sign\":\"ecdsa/rsa\",\"hash\":\"sha224\",\"id\":\"302d300d06096086480165030402040500041c\"},\"sha256WithRSAEncryption\":{\"sign\":\"rsa\",\"hash\":\"sha256\",\"id\":\"3031300d060960864801650304020105000420\"},\"RSA-SHA256\":{\"sign\":\"ecdsa/rsa\",\"hash\":\"sha256\",\"id\":\"3031300d060960864801650304020105000420\"},\"sha384WithRSAEncryption\":{\"sign\":\"rsa\",\"hash\":\"sha384\",\"id\":\"3041300d060960864801650304020205000430\"},\"RSA-SHA384\":{\"sign\":\"ecdsa/rsa\",\"hash\":\"sha384\",\"id\":\"3041300d060960864801650304020205000430\"},\"sha512WithRSAEncryption\":{\"sign\":\"rsa\",\"hash\":\"sha512\",\"id\":\"3051300d060960864801650304020305000440\"},\"RSA-SHA512\":{\"sign\":\"ecdsa/rsa\",\"hash\":\"sha512\",\"id\":\"3051300d060960864801650304020305000440\"},\"RSA-SHA1\":{\"sign\":\"rsa\",\"hash\":\"sha1\",\"id\":\"3021300906052b0e03021a05000414\"},\"ecdsa-with-SHA1\":{\"sign\":\"ecdsa\",\"hash\":\"sha1\",\"id\":\"\"},\"sha256\":{\"sign\":\"ecdsa\",\"hash\":\"sha256\",\"id\":\"\"},\"sha224\":{\"sign\":\"ecdsa\",\"hash\":\"sha224\",\"id\":\"\"},\"sha384\":{\"sign\":\"ecdsa\",\"hash\":\"sha384\",\"id\":\"\"},\"sha512\":{\"sign\":\"ecdsa\",\"hash\":\"sha512\",\"id\":\"\"},\"DSA-SHA\":{\"sign\":\"dsa\",\"hash\":\"sha1\",\"id\":\"\"},\"DSA-SHA1\":{\"sign\":\"dsa\",\"hash\":\"sha1\",\"id\":\"\"},\"DSA\":{\"sign\":\"dsa\",\"hash\":\"sha1\",\"id\":\"\"},\"DSA-WITH-SHA224\":{\"sign\":\"dsa\",\"hash\":\"sha224\",\"id\":\"\"},\"DSA-SHA224\":{\"sign\":\"dsa\",\"hash\":\"sha224\",\"id\":\"\"},\"DSA-WITH-SHA256\":{\"sign\":\"dsa\",\"hash\":\"sha256\",\"id\":\"\"},\"DSA-SHA256\":{\"sign\":\"dsa\",\"hash\":\"sha256\",\"id\":\"\"},\"DSA-WITH-SHA384\":{\"sign\":\"dsa\",\"hash\":\"sha384\",\"id\":\"\"},\"DSA-SHA384\":{\"sign\":\"dsa\",\"hash\":\"sha384\",\"id\":\"\"},\"DSA-WITH-SHA512\":{\"sign\":\"dsa\",\"hash\":\"sha512\",\"id\":\"\"},\"DSA-SHA512\":{\"sign\":\"dsa\",\"hash\":\"sha512\",\"id\":\"\"},\"DSA-RIPEMD160\":{\"sign\":\"dsa\",\"hash\":\"rmd160\",\"id\":\"\"},\"ripemd160WithRSA\":{\"sign\":\"rsa\",\"hash\":\"rmd160\",\"id\":\"3021300906052b2403020105000414\"},\"RSA-RIPEMD160\":{\"sign\":\"rsa\",\"hash\":\"rmd160\",\"id\":\"3021300906052b2403020105000414\"},\"md5WithRSAEncryption\":{\"sign\":\"rsa\",\"hash\":\"md5\",\"id\":\"3020300c06082a864886f70d020505000410\"},\"RSA-MD5\":{\"sign\":\"rsa\",\"hash\":\"md5\",\"id\":\"3020300c06082a864886f70d020505000410\"}}"); - -/***/ }), -/* 1092 */ -/*!***************************************************!*\ - !*** ./node_modules/browserify-cipher/browser.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var DES = __webpack_require__(/*! browserify-des */ 1093) -var aes = __webpack_require__(/*! browserify-aes/browser */ 1100) -var aesModes = __webpack_require__(/*! browserify-aes/modes */ 1102) -var desModes = __webpack_require__(/*! browserify-des/modes */ 1119) -var ebtk = __webpack_require__(/*! evp_bytestokey */ 1117) - -function createCipher (suite, password) { - suite = suite.toLowerCase() - - var keyLen, ivLen - if (aesModes[suite]) { - keyLen = aesModes[suite].key - ivLen = aesModes[suite].iv - } else if (desModes[suite]) { - keyLen = desModes[suite].key * 8 - ivLen = desModes[suite].iv - } else { - throw new TypeError('invalid suite type') - } - - var keys = ebtk(password, false, keyLen, ivLen) - return createCipheriv(suite, keys.key, keys.iv) -} - -function createDecipher (suite, password) { - suite = suite.toLowerCase() - - var keyLen, ivLen - if (aesModes[suite]) { - keyLen = aesModes[suite].key - ivLen = aesModes[suite].iv - } else if (desModes[suite]) { - keyLen = desModes[suite].key * 8 - ivLen = desModes[suite].iv - } else { - throw new TypeError('invalid suite type') - } - - var keys = ebtk(password, false, keyLen, ivLen) - return createDecipheriv(suite, keys.key, keys.iv) -} - -function createCipheriv (suite, key, iv) { - suite = suite.toLowerCase() - if (aesModes[suite]) return aes.createCipheriv(suite, key, iv) - if (desModes[suite]) return new DES({ key: key, iv: iv, mode: suite }) - - throw new TypeError('invalid suite type') -} - -function createDecipheriv (suite, key, iv) { - suite = suite.toLowerCase() - if (aesModes[suite]) return aes.createDecipheriv(suite, key, iv) - if (desModes[suite]) return new DES({ key: key, iv: iv, mode: suite, decrypt: true }) - - throw new TypeError('invalid suite type') -} - -function getCiphers () { - return Object.keys(desModes).concat(aes.getCiphers()) -} - -exports.createCipher = exports.Cipher = createCipher -exports.createCipheriv = exports.Cipheriv = createCipheriv -exports.createDecipher = exports.Decipher = createDecipher -exports.createDecipheriv = exports.Decipheriv = createDecipheriv -exports.listCiphers = exports.getCiphers = getCiphers - - -/***/ }), -/* 1093 */ -/*!**********************************************!*\ - !*** ./node_modules/browserify-des/index.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var CipherBase = __webpack_require__(/*! cipher-base */ 393) -var des = __webpack_require__(/*! des.js */ 1094) -var inherits = __webpack_require__(/*! inherits */ 127) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer - -var modes = { - 'des-ede3-cbc': des.CBC.instantiate(des.EDE), - 'des-ede3': des.EDE, - 'des-ede-cbc': des.CBC.instantiate(des.EDE), - 'des-ede': des.EDE, - 'des-cbc': des.CBC.instantiate(des.DES), - 'des-ecb': des.DES -} -modes.des = modes['des-cbc'] -modes.des3 = modes['des-ede3-cbc'] -module.exports = DES -inherits(DES, CipherBase) -function DES (opts) { - CipherBase.call(this) - var modeName = opts.mode.toLowerCase() - var mode = modes[modeName] - var type - if (opts.decrypt) { - type = 'decrypt' - } else { - type = 'encrypt' - } - var key = opts.key - if (!Buffer.isBuffer(key)) { - key = Buffer.from(key) - } - if (modeName === 'des-ede' || modeName === 'des-ede-cbc') { - key = Buffer.concat([key, key.slice(0, 8)]) - } - var iv = opts.iv - if (!Buffer.isBuffer(iv)) { - iv = Buffer.from(iv) - } - this._des = mode.create({ - key: key, - iv: iv, - type: type - }) -} -DES.prototype._update = function (data) { - return Buffer.from(this._des.update(data)) -} -DES.prototype._final = function () { - return Buffer.from(this._des.final()) -} - - -/***/ }), -/* 1094 */ -/*!****************************************!*\ - !*** ./node_modules/des.js/lib/des.js ***! - \****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -exports.utils = __webpack_require__(/*! ./des/utils */ 1095); -exports.Cipher = __webpack_require__(/*! ./des/cipher */ 1096); -exports.DES = __webpack_require__(/*! ./des/des */ 1097); -exports.CBC = __webpack_require__(/*! ./des/cbc */ 1098); -exports.EDE = __webpack_require__(/*! ./des/ede */ 1099); - - -/***/ }), -/* 1095 */ -/*!**********************************************!*\ - !*** ./node_modules/des.js/lib/des/utils.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -exports.readUInt32BE = function readUInt32BE(bytes, off) { - var res = (bytes[0 + off] << 24) | - (bytes[1 + off] << 16) | - (bytes[2 + off] << 8) | - bytes[3 + off]; - return res >>> 0; -}; - -exports.writeUInt32BE = function writeUInt32BE(bytes, value, off) { - bytes[0 + off] = value >>> 24; - bytes[1 + off] = (value >>> 16) & 0xff; - bytes[2 + off] = (value >>> 8) & 0xff; - bytes[3 + off] = value & 0xff; -}; - -exports.ip = function ip(inL, inR, out, off) { - var outL = 0; - var outR = 0; - - for (var i = 6; i >= 0; i -= 2) { - for (var j = 0; j <= 24; j += 8) { - outL <<= 1; - outL |= (inR >>> (j + i)) & 1; - } - for (var j = 0; j <= 24; j += 8) { - outL <<= 1; - outL |= (inL >>> (j + i)) & 1; - } - } - - for (var i = 6; i >= 0; i -= 2) { - for (var j = 1; j <= 25; j += 8) { - outR <<= 1; - outR |= (inR >>> (j + i)) & 1; - } - for (var j = 1; j <= 25; j += 8) { - outR <<= 1; - outR |= (inL >>> (j + i)) & 1; - } - } - - out[off + 0] = outL >>> 0; - out[off + 1] = outR >>> 0; -}; - -exports.rip = function rip(inL, inR, out, off) { - var outL = 0; - var outR = 0; - - for (var i = 0; i < 4; i++) { - for (var j = 24; j >= 0; j -= 8) { - outL <<= 1; - outL |= (inR >>> (j + i)) & 1; - outL <<= 1; - outL |= (inL >>> (j + i)) & 1; - } - } - for (var i = 4; i < 8; i++) { - for (var j = 24; j >= 0; j -= 8) { - outR <<= 1; - outR |= (inR >>> (j + i)) & 1; - outR <<= 1; - outR |= (inL >>> (j + i)) & 1; - } - } - - out[off + 0] = outL >>> 0; - out[off + 1] = outR >>> 0; -}; - -exports.pc1 = function pc1(inL, inR, out, off) { - var outL = 0; - var outR = 0; - - // 7, 15, 23, 31, 39, 47, 55, 63 - // 6, 14, 22, 30, 39, 47, 55, 63 - // 5, 13, 21, 29, 39, 47, 55, 63 - // 4, 12, 20, 28 - for (var i = 7; i >= 5; i--) { - for (var j = 0; j <= 24; j += 8) { - outL <<= 1; - outL |= (inR >> (j + i)) & 1; - } - for (var j = 0; j <= 24; j += 8) { - outL <<= 1; - outL |= (inL >> (j + i)) & 1; - } - } - for (var j = 0; j <= 24; j += 8) { - outL <<= 1; - outL |= (inR >> (j + i)) & 1; - } - - // 1, 9, 17, 25, 33, 41, 49, 57 - // 2, 10, 18, 26, 34, 42, 50, 58 - // 3, 11, 19, 27, 35, 43, 51, 59 - // 36, 44, 52, 60 - for (var i = 1; i <= 3; i++) { - for (var j = 0; j <= 24; j += 8) { - outR <<= 1; - outR |= (inR >> (j + i)) & 1; - } - for (var j = 0; j <= 24; j += 8) { - outR <<= 1; - outR |= (inL >> (j + i)) & 1; - } - } - for (var j = 0; j <= 24; j += 8) { - outR <<= 1; - outR |= (inL >> (j + i)) & 1; - } - - out[off + 0] = outL >>> 0; - out[off + 1] = outR >>> 0; -}; - -exports.r28shl = function r28shl(num, shift) { - return ((num << shift) & 0xfffffff) | (num >>> (28 - shift)); -}; - -var pc2table = [ - // inL => outL - 14, 11, 17, 4, 27, 23, 25, 0, - 13, 22, 7, 18, 5, 9, 16, 24, - 2, 20, 12, 21, 1, 8, 15, 26, - - // inR => outR - 15, 4, 25, 19, 9, 1, 26, 16, - 5, 11, 23, 8, 12, 7, 17, 0, - 22, 3, 10, 14, 6, 20, 27, 24 -]; - -exports.pc2 = function pc2(inL, inR, out, off) { - var outL = 0; - var outR = 0; - - var len = pc2table.length >>> 1; - for (var i = 0; i < len; i++) { - outL <<= 1; - outL |= (inL >>> pc2table[i]) & 0x1; - } - for (var i = len; i < pc2table.length; i++) { - outR <<= 1; - outR |= (inR >>> pc2table[i]) & 0x1; - } - - out[off + 0] = outL >>> 0; - out[off + 1] = outR >>> 0; -}; - -exports.expand = function expand(r, out, off) { - var outL = 0; - var outR = 0; - - outL = ((r & 1) << 5) | (r >>> 27); - for (var i = 23; i >= 15; i -= 4) { - outL <<= 6; - outL |= (r >>> i) & 0x3f; - } - for (var i = 11; i >= 3; i -= 4) { - outR |= (r >>> i) & 0x3f; - outR <<= 6; - } - outR |= ((r & 0x1f) << 1) | (r >>> 31); - - out[off + 0] = outL >>> 0; - out[off + 1] = outR >>> 0; -}; - -var sTable = [ - 14, 0, 4, 15, 13, 7, 1, 4, 2, 14, 15, 2, 11, 13, 8, 1, - 3, 10, 10, 6, 6, 12, 12, 11, 5, 9, 9, 5, 0, 3, 7, 8, - 4, 15, 1, 12, 14, 8, 8, 2, 13, 4, 6, 9, 2, 1, 11, 7, - 15, 5, 12, 11, 9, 3, 7, 14, 3, 10, 10, 0, 5, 6, 0, 13, - - 15, 3, 1, 13, 8, 4, 14, 7, 6, 15, 11, 2, 3, 8, 4, 14, - 9, 12, 7, 0, 2, 1, 13, 10, 12, 6, 0, 9, 5, 11, 10, 5, - 0, 13, 14, 8, 7, 10, 11, 1, 10, 3, 4, 15, 13, 4, 1, 2, - 5, 11, 8, 6, 12, 7, 6, 12, 9, 0, 3, 5, 2, 14, 15, 9, - - 10, 13, 0, 7, 9, 0, 14, 9, 6, 3, 3, 4, 15, 6, 5, 10, - 1, 2, 13, 8, 12, 5, 7, 14, 11, 12, 4, 11, 2, 15, 8, 1, - 13, 1, 6, 10, 4, 13, 9, 0, 8, 6, 15, 9, 3, 8, 0, 7, - 11, 4, 1, 15, 2, 14, 12, 3, 5, 11, 10, 5, 14, 2, 7, 12, - - 7, 13, 13, 8, 14, 11, 3, 5, 0, 6, 6, 15, 9, 0, 10, 3, - 1, 4, 2, 7, 8, 2, 5, 12, 11, 1, 12, 10, 4, 14, 15, 9, - 10, 3, 6, 15, 9, 0, 0, 6, 12, 10, 11, 1, 7, 13, 13, 8, - 15, 9, 1, 4, 3, 5, 14, 11, 5, 12, 2, 7, 8, 2, 4, 14, - - 2, 14, 12, 11, 4, 2, 1, 12, 7, 4, 10, 7, 11, 13, 6, 1, - 8, 5, 5, 0, 3, 15, 15, 10, 13, 3, 0, 9, 14, 8, 9, 6, - 4, 11, 2, 8, 1, 12, 11, 7, 10, 1, 13, 14, 7, 2, 8, 13, - 15, 6, 9, 15, 12, 0, 5, 9, 6, 10, 3, 4, 0, 5, 14, 3, - - 12, 10, 1, 15, 10, 4, 15, 2, 9, 7, 2, 12, 6, 9, 8, 5, - 0, 6, 13, 1, 3, 13, 4, 14, 14, 0, 7, 11, 5, 3, 11, 8, - 9, 4, 14, 3, 15, 2, 5, 12, 2, 9, 8, 5, 12, 15, 3, 10, - 7, 11, 0, 14, 4, 1, 10, 7, 1, 6, 13, 0, 11, 8, 6, 13, - - 4, 13, 11, 0, 2, 11, 14, 7, 15, 4, 0, 9, 8, 1, 13, 10, - 3, 14, 12, 3, 9, 5, 7, 12, 5, 2, 10, 15, 6, 8, 1, 6, - 1, 6, 4, 11, 11, 13, 13, 8, 12, 1, 3, 4, 7, 10, 14, 7, - 10, 9, 15, 5, 6, 0, 8, 15, 0, 14, 5, 2, 9, 3, 2, 12, - - 13, 1, 2, 15, 8, 13, 4, 8, 6, 10, 15, 3, 11, 7, 1, 4, - 10, 12, 9, 5, 3, 6, 14, 11, 5, 0, 0, 14, 12, 9, 7, 2, - 7, 2, 11, 1, 4, 14, 1, 7, 9, 4, 12, 10, 14, 8, 2, 13, - 0, 15, 6, 12, 10, 9, 13, 0, 15, 3, 3, 5, 5, 6, 8, 11 -]; - -exports.substitute = function substitute(inL, inR) { - var out = 0; - for (var i = 0; i < 4; i++) { - var b = (inL >>> (18 - i * 6)) & 0x3f; - var sb = sTable[i * 0x40 + b]; - - out <<= 4; - out |= sb; - } - for (var i = 0; i < 4; i++) { - var b = (inR >>> (18 - i * 6)) & 0x3f; - var sb = sTable[4 * 0x40 + i * 0x40 + b]; - - out <<= 4; - out |= sb; - } - return out >>> 0; -}; - -var permuteTable = [ - 16, 25, 12, 11, 3, 20, 4, 15, 31, 17, 9, 6, 27, 14, 1, 22, - 30, 24, 8, 18, 0, 5, 29, 23, 13, 19, 2, 26, 10, 21, 28, 7 -]; - -exports.permute = function permute(num) { - var out = 0; - for (var i = 0; i < permuteTable.length; i++) { - out <<= 1; - out |= (num >>> permuteTable[i]) & 0x1; - } - return out >>> 0; -}; - -exports.padSplit = function padSplit(num, size, group) { - var str = num.toString(2); - while (str.length < size) - str = '0' + str; - - var out = []; - for (var i = 0; i < size; i += group) - out.push(str.slice(i, i + group)); - return out.join(' '); -}; - - -/***/ }), -/* 1096 */ -/*!***********************************************!*\ - !*** ./node_modules/des.js/lib/des/cipher.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var assert = __webpack_require__(/*! minimalistic-assert */ 126); - -function Cipher(options) { - this.options = options; - - this.type = this.options.type; - this.blockSize = 8; - this._init(); - - this.buffer = new Array(this.blockSize); - this.bufferOff = 0; -} -module.exports = Cipher; - -Cipher.prototype._init = function _init() { - // Might be overrided -}; - -Cipher.prototype.update = function update(data) { - if (data.length === 0) - return []; - - if (this.type === 'decrypt') - return this._updateDecrypt(data); - else - return this._updateEncrypt(data); -}; - -Cipher.prototype._buffer = function _buffer(data, off) { - // Append data to buffer - var min = Math.min(this.buffer.length - this.bufferOff, data.length - off); - for (var i = 0; i < min; i++) - this.buffer[this.bufferOff + i] = data[off + i]; - this.bufferOff += min; - - // Shift next - return min; -}; - -Cipher.prototype._flushBuffer = function _flushBuffer(out, off) { - this._update(this.buffer, 0, out, off); - this.bufferOff = 0; - return this.blockSize; -}; - -Cipher.prototype._updateEncrypt = function _updateEncrypt(data) { - var inputOff = 0; - var outputOff = 0; - - var count = ((this.bufferOff + data.length) / this.blockSize) | 0; - var out = new Array(count * this.blockSize); - - if (this.bufferOff !== 0) { - inputOff += this._buffer(data, inputOff); - - if (this.bufferOff === this.buffer.length) - outputOff += this._flushBuffer(out, outputOff); - } - - // Write blocks - var max = data.length - ((data.length - inputOff) % this.blockSize); - for (; inputOff < max; inputOff += this.blockSize) { - this._update(data, inputOff, out, outputOff); - outputOff += this.blockSize; - } - - // Queue rest - for (; inputOff < data.length; inputOff++, this.bufferOff++) - this.buffer[this.bufferOff] = data[inputOff]; - - return out; -}; - -Cipher.prototype._updateDecrypt = function _updateDecrypt(data) { - var inputOff = 0; - var outputOff = 0; - - var count = Math.ceil((this.bufferOff + data.length) / this.blockSize) - 1; - var out = new Array(count * this.blockSize); - - // TODO(indutny): optimize it, this is far from optimal - for (; count > 0; count--) { - inputOff += this._buffer(data, inputOff); - outputOff += this._flushBuffer(out, outputOff); - } - - // Buffer rest of the input - inputOff += this._buffer(data, inputOff); - - return out; -}; - -Cipher.prototype.final = function final(buffer) { - var first; - if (buffer) - first = this.update(buffer); - - var last; - if (this.type === 'encrypt') - last = this._finalEncrypt(); - else - last = this._finalDecrypt(); - - if (first) - return first.concat(last); - else - return last; -}; - -Cipher.prototype._pad = function _pad(buffer, off) { - if (off === 0) - return false; - - while (off < buffer.length) - buffer[off++] = 0; - - return true; -}; - -Cipher.prototype._finalEncrypt = function _finalEncrypt() { - if (!this._pad(this.buffer, this.bufferOff)) - return []; - - var out = new Array(this.blockSize); - this._update(this.buffer, 0, out, 0); - return out; -}; - -Cipher.prototype._unpad = function _unpad(buffer) { - return buffer; -}; - -Cipher.prototype._finalDecrypt = function _finalDecrypt() { - assert.equal(this.bufferOff, this.blockSize, 'Not enough data to decrypt'); - var out = new Array(this.blockSize); - this._flushBuffer(out, 0); - - return this._unpad(out); -}; - - -/***/ }), -/* 1097 */ -/*!********************************************!*\ - !*** ./node_modules/des.js/lib/des/des.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var assert = __webpack_require__(/*! minimalistic-assert */ 126); -var inherits = __webpack_require__(/*! inherits */ 127); - -var utils = __webpack_require__(/*! ./utils */ 1095); -var Cipher = __webpack_require__(/*! ./cipher */ 1096); - -function DESState() { - this.tmp = new Array(2); - this.keys = null; -} - -function DES(options) { - Cipher.call(this, options); - - var state = new DESState(); - this._desState = state; - - this.deriveKeys(state, options.key); -} -inherits(DES, Cipher); -module.exports = DES; - -DES.create = function create(options) { - return new DES(options); -}; - -var shiftTable = [ - 1, 1, 2, 2, 2, 2, 2, 2, - 1, 2, 2, 2, 2, 2, 2, 1 -]; - -DES.prototype.deriveKeys = function deriveKeys(state, key) { - state.keys = new Array(16 * 2); - - assert.equal(key.length, this.blockSize, 'Invalid key length'); - - var kL = utils.readUInt32BE(key, 0); - var kR = utils.readUInt32BE(key, 4); - - utils.pc1(kL, kR, state.tmp, 0); - kL = state.tmp[0]; - kR = state.tmp[1]; - for (var i = 0; i < state.keys.length; i += 2) { - var shift = shiftTable[i >>> 1]; - kL = utils.r28shl(kL, shift); - kR = utils.r28shl(kR, shift); - utils.pc2(kL, kR, state.keys, i); - } -}; - -DES.prototype._update = function _update(inp, inOff, out, outOff) { - var state = this._desState; - - var l = utils.readUInt32BE(inp, inOff); - var r = utils.readUInt32BE(inp, inOff + 4); - - // Initial Permutation - utils.ip(l, r, state.tmp, 0); - l = state.tmp[0]; - r = state.tmp[1]; - - if (this.type === 'encrypt') - this._encrypt(state, l, r, state.tmp, 0); - else - this._decrypt(state, l, r, state.tmp, 0); - - l = state.tmp[0]; - r = state.tmp[1]; - - utils.writeUInt32BE(out, l, outOff); - utils.writeUInt32BE(out, r, outOff + 4); -}; - -DES.prototype._pad = function _pad(buffer, off) { - var value = buffer.length - off; - for (var i = off; i < buffer.length; i++) - buffer[i] = value; - - return true; -}; - -DES.prototype._unpad = function _unpad(buffer) { - var pad = buffer[buffer.length - 1]; - for (var i = buffer.length - pad; i < buffer.length; i++) - assert.equal(buffer[i], pad); - - return buffer.slice(0, buffer.length - pad); -}; - -DES.prototype._encrypt = function _encrypt(state, lStart, rStart, out, off) { - var l = lStart; - var r = rStart; - - // Apply f() x16 times - for (var i = 0; i < state.keys.length; i += 2) { - var keyL = state.keys[i]; - var keyR = state.keys[i + 1]; - - // f(r, k) - utils.expand(r, state.tmp, 0); - - keyL ^= state.tmp[0]; - keyR ^= state.tmp[1]; - var s = utils.substitute(keyL, keyR); - var f = utils.permute(s); - - var t = r; - r = (l ^ f) >>> 0; - l = t; - } - - // Reverse Initial Permutation - utils.rip(r, l, out, off); -}; - -DES.prototype._decrypt = function _decrypt(state, lStart, rStart, out, off) { - var l = rStart; - var r = lStart; - - // Apply f() x16 times - for (var i = state.keys.length - 2; i >= 0; i -= 2) { - var keyL = state.keys[i]; - var keyR = state.keys[i + 1]; - - // f(r, k) - utils.expand(l, state.tmp, 0); - - keyL ^= state.tmp[0]; - keyR ^= state.tmp[1]; - var s = utils.substitute(keyL, keyR); - var f = utils.permute(s); - - var t = l; - l = (r ^ f) >>> 0; - r = t; - } - - // Reverse Initial Permutation - utils.rip(l, r, out, off); -}; - - -/***/ }), -/* 1098 */ -/*!********************************************!*\ - !*** ./node_modules/des.js/lib/des/cbc.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var assert = __webpack_require__(/*! minimalistic-assert */ 126); -var inherits = __webpack_require__(/*! inherits */ 127); - -var proto = {}; - -function CBCState(iv) { - assert.equal(iv.length, 8, 'Invalid IV length'); - - this.iv = new Array(8); - for (var i = 0; i < this.iv.length; i++) - this.iv[i] = iv[i]; -} - -function instantiate(Base) { - function CBC(options) { - Base.call(this, options); - this._cbcInit(); - } - inherits(CBC, Base); - - var keys = Object.keys(proto); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - CBC.prototype[key] = proto[key]; - } - - CBC.create = function create(options) { - return new CBC(options); - }; - - return CBC; -} - -exports.instantiate = instantiate; - -proto._cbcInit = function _cbcInit() { - var state = new CBCState(this.options.iv); - this._cbcState = state; -}; - -proto._update = function _update(inp, inOff, out, outOff) { - var state = this._cbcState; - var superProto = this.constructor.super_.prototype; - - var iv = state.iv; - if (this.type === 'encrypt') { - for (var i = 0; i < this.blockSize; i++) - iv[i] ^= inp[inOff + i]; - - superProto._update.call(this, iv, 0, out, outOff); - - for (var i = 0; i < this.blockSize; i++) - iv[i] = out[outOff + i]; - } else { - superProto._update.call(this, inp, inOff, out, outOff); - - for (var i = 0; i < this.blockSize; i++) - out[outOff + i] ^= iv[i]; - - for (var i = 0; i < this.blockSize; i++) - iv[i] = inp[inOff + i]; - } -}; - - -/***/ }), -/* 1099 */ -/*!********************************************!*\ - !*** ./node_modules/des.js/lib/des/ede.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -var assert = __webpack_require__(/*! minimalistic-assert */ 126); -var inherits = __webpack_require__(/*! inherits */ 127); - -var Cipher = __webpack_require__(/*! ./cipher */ 1096); -var DES = __webpack_require__(/*! ./des */ 1097); - -function EDEState(type, key) { - assert.equal(key.length, 24, 'Invalid key length'); - - var k1 = key.slice(0, 8); - var k2 = key.slice(8, 16); - var k3 = key.slice(16, 24); - - if (type === 'encrypt') { - this.ciphers = [ - DES.create({ type: 'encrypt', key: k1 }), - DES.create({ type: 'decrypt', key: k2 }), - DES.create({ type: 'encrypt', key: k3 }) - ]; - } else { - this.ciphers = [ - DES.create({ type: 'decrypt', key: k3 }), - DES.create({ type: 'encrypt', key: k2 }), - DES.create({ type: 'decrypt', key: k1 }) - ]; - } -} - -function EDE(options) { - Cipher.call(this, options); - - var state = new EDEState(this.type, this.options.key); - this._edeState = state; -} -inherits(EDE, Cipher); - -module.exports = EDE; - -EDE.create = function create(options) { - return new EDE(options); -}; - -EDE.prototype._update = function _update(inp, inOff, out, outOff) { - var state = this._edeState; - - state.ciphers[0]._update(inp, inOff, out, outOff); - state.ciphers[1]._update(out, outOff, out, outOff); - state.ciphers[2]._update(out, outOff, out, outOff); -}; - -EDE.prototype._pad = DES.prototype._pad; -EDE.prototype._unpad = DES.prototype._unpad; - - -/***/ }), -/* 1100 */ -/*!************************************************!*\ - !*** ./node_modules/browserify-aes/browser.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var ciphers = __webpack_require__(/*! ./encrypter */ 1101) -var deciphers = __webpack_require__(/*! ./decrypter */ 1118) -var modes = __webpack_require__(/*! ./modes/list.json */ 1112) - -function getCiphers () { - return Object.keys(modes) -} - -exports.createCipher = exports.Cipher = ciphers.createCipher -exports.createCipheriv = exports.Cipheriv = ciphers.createCipheriv -exports.createDecipher = exports.Decipher = deciphers.createDecipher -exports.createDecipheriv = exports.Decipheriv = deciphers.createDecipheriv -exports.listCiphers = exports.getCiphers = getCiphers - - -/***/ }), -/* 1101 */ -/*!**************************************************!*\ - !*** ./node_modules/browserify-aes/encrypter.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var MODES = __webpack_require__(/*! ./modes */ 1102) -var AuthCipher = __webpack_require__(/*! ./authCipher */ 1113) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var StreamCipher = __webpack_require__(/*! ./streamCipher */ 1116) -var Transform = __webpack_require__(/*! cipher-base */ 393) -var aes = __webpack_require__(/*! ./aes */ 1114) -var ebtk = __webpack_require__(/*! evp_bytestokey */ 1117) -var inherits = __webpack_require__(/*! inherits */ 127) - -function Cipher (mode, key, iv) { - Transform.call(this) - - this._cache = new Splitter() - this._cipher = new aes.AES(key) - this._prev = Buffer.from(iv) - this._mode = mode - this._autopadding = true -} - -inherits(Cipher, Transform) - -Cipher.prototype._update = function (data) { - this._cache.add(data) - var chunk - var thing - var out = [] - - while ((chunk = this._cache.get())) { - thing = this._mode.encrypt(this, chunk) - out.push(thing) - } - - return Buffer.concat(out) -} - -var PADDING = Buffer.alloc(16, 0x10) - -Cipher.prototype._final = function () { - var chunk = this._cache.flush() - if (this._autopadding) { - chunk = this._mode.encrypt(this, chunk) - this._cipher.scrub() - return chunk - } - - if (!chunk.equals(PADDING)) { - this._cipher.scrub() - throw new Error('data not multiple of block length') - } -} - -Cipher.prototype.setAutoPadding = function (setTo) { - this._autopadding = !!setTo - return this -} - -function Splitter () { - this.cache = Buffer.allocUnsafe(0) -} - -Splitter.prototype.add = function (data) { - this.cache = Buffer.concat([this.cache, data]) -} - -Splitter.prototype.get = function () { - if (this.cache.length > 15) { - var out = this.cache.slice(0, 16) - this.cache = this.cache.slice(16) - return out - } - return null -} - -Splitter.prototype.flush = function () { - var len = 16 - this.cache.length - var padBuff = Buffer.allocUnsafe(len) - - var i = -1 - while (++i < len) { - padBuff.writeUInt8(len, i) - } - - return Buffer.concat([this.cache, padBuff]) -} - -function createCipheriv (suite, password, iv) { - var config = MODES[suite.toLowerCase()] - if (!config) throw new TypeError('invalid suite type') - - if (typeof password === 'string') password = Buffer.from(password) - if (password.length !== config.key / 8) throw new TypeError('invalid key length ' + password.length) - - if (typeof iv === 'string') iv = Buffer.from(iv) - if (config.mode !== 'GCM' && iv.length !== config.iv) throw new TypeError('invalid iv length ' + iv.length) - - if (config.type === 'stream') { - return new StreamCipher(config.module, password, iv) - } else if (config.type === 'auth') { - return new AuthCipher(config.module, password, iv) - } - - return new Cipher(config.module, password, iv) -} - -function createCipher (suite, password) { - var config = MODES[suite.toLowerCase()] - if (!config) throw new TypeError('invalid suite type') - - var keys = ebtk(password, false, config.key, config.iv) - return createCipheriv(suite, keys.key, keys.iv) -} - -exports.createCipheriv = createCipheriv -exports.createCipher = createCipher - - -/***/ }), -/* 1102 */ -/*!****************************************************!*\ - !*** ./node_modules/browserify-aes/modes/index.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var modeModules = { - ECB: __webpack_require__(/*! ./ecb */ 1103), - CBC: __webpack_require__(/*! ./cbc */ 1104), - CFB: __webpack_require__(/*! ./cfb */ 1106), - CFB8: __webpack_require__(/*! ./cfb8 */ 1107), - CFB1: __webpack_require__(/*! ./cfb1 */ 1108), - OFB: __webpack_require__(/*! ./ofb */ 1109), - CTR: __webpack_require__(/*! ./ctr */ 1110), - GCM: __webpack_require__(/*! ./ctr */ 1110) -} - -var modes = __webpack_require__(/*! ./list.json */ 1112) - -for (var key in modes) { - modes[key].module = modeModules[modes[key].mode] -} - -module.exports = modes - - -/***/ }), -/* 1103 */ -/*!**************************************************!*\ - !*** ./node_modules/browserify-aes/modes/ecb.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -exports.encrypt = function (self, block) { - return self._cipher.encryptBlock(block) -} - -exports.decrypt = function (self, block) { - return self._cipher.decryptBlock(block) -} - - -/***/ }), -/* 1104 */ -/*!**************************************************!*\ - !*** ./node_modules/browserify-aes/modes/cbc.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var xor = __webpack_require__(/*! buffer-xor */ 1105) - -exports.encrypt = function (self, block) { - var data = xor(block, self._prev) - - self._prev = self._cipher.encryptBlock(data) - return self._prev -} - -exports.decrypt = function (self, block) { - var pad = self._prev - - self._prev = block - var out = self._cipher.decryptBlock(block) - - return xor(out, pad) -} - - -/***/ }), -/* 1105 */ -/*!******************************************!*\ - !*** ./node_modules/buffer-xor/index.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer) {module.exports = function xor (a, b) { - var length = Math.min(a.length, b.length) - var buffer = new Buffer(length) - - for (var i = 0; i < length; ++i) { - buffer[i] = a[i] ^ b[i] - } - - return buffer -} - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1106 */ -/*!**************************************************!*\ - !*** ./node_modules/browserify-aes/modes/cfb.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var xor = __webpack_require__(/*! buffer-xor */ 1105) - -function encryptStart (self, data, decrypt) { - var len = data.length - var out = xor(data, self._cache) - self._cache = self._cache.slice(len) - self._prev = Buffer.concat([self._prev, decrypt ? data : out]) - return out -} - -exports.encrypt = function (self, data, decrypt) { - var out = Buffer.allocUnsafe(0) - var len - - while (data.length) { - if (self._cache.length === 0) { - self._cache = self._cipher.encryptBlock(self._prev) - self._prev = Buffer.allocUnsafe(0) - } - - if (self._cache.length <= data.length) { - len = self._cache.length - out = Buffer.concat([out, encryptStart(self, data.slice(0, len), decrypt)]) - data = data.slice(len) - } else { - out = Buffer.concat([out, encryptStart(self, data, decrypt)]) - break - } - } - - return out -} - - -/***/ }), -/* 1107 */ -/*!***************************************************!*\ - !*** ./node_modules/browserify-aes/modes/cfb8.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer - -function encryptByte (self, byteParam, decrypt) { - var pad = self._cipher.encryptBlock(self._prev) - var out = pad[0] ^ byteParam - - self._prev = Buffer.concat([ - self._prev.slice(1), - Buffer.from([decrypt ? byteParam : out]) - ]) - - return out -} - -exports.encrypt = function (self, chunk, decrypt) { - var len = chunk.length - var out = Buffer.allocUnsafe(len) - var i = -1 - - while (++i < len) { - out[i] = encryptByte(self, chunk[i], decrypt) - } - - return out -} - - -/***/ }), -/* 1108 */ -/*!***************************************************!*\ - !*** ./node_modules/browserify-aes/modes/cfb1.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer - -function encryptByte (self, byteParam, decrypt) { - var pad - var i = -1 - var len = 8 - var out = 0 - var bit, value - while (++i < len) { - pad = self._cipher.encryptBlock(self._prev) - bit = (byteParam & (1 << (7 - i))) ? 0x80 : 0 - value = pad[0] ^ bit - out += ((value & 0x80) >> (i % 8)) - self._prev = shiftIn(self._prev, decrypt ? bit : value) - } - return out -} - -function shiftIn (buffer, value) { - var len = buffer.length - var i = -1 - var out = Buffer.allocUnsafe(buffer.length) - buffer = Buffer.concat([buffer, Buffer.from([value])]) - - while (++i < len) { - out[i] = buffer[i] << 1 | buffer[i + 1] >> (7) - } - - return out -} - -exports.encrypt = function (self, chunk, decrypt) { - var len = chunk.length - var out = Buffer.allocUnsafe(len) - var i = -1 - - while (++i < len) { - out[i] = encryptByte(self, chunk[i], decrypt) - } - - return out -} - - -/***/ }), -/* 1109 */ -/*!**************************************************!*\ - !*** ./node_modules/browserify-aes/modes/ofb.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer) {var xor = __webpack_require__(/*! buffer-xor */ 1105) - -function getBlock (self) { - self._prev = self._cipher.encryptBlock(self._prev) - return self._prev -} - -exports.encrypt = function (self, chunk) { - while (self._cache.length < chunk.length) { - self._cache = Buffer.concat([self._cache, getBlock(self)]) - } - - var pad = self._cache.slice(0, chunk.length) - self._cache = self._cache.slice(chunk.length) - return xor(chunk, pad) -} - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1110 */ -/*!**************************************************!*\ - !*** ./node_modules/browserify-aes/modes/ctr.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var xor = __webpack_require__(/*! buffer-xor */ 1105) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var incr32 = __webpack_require__(/*! ../incr32 */ 1111) - -function getBlock (self) { - var out = self._cipher.encryptBlockRaw(self._prev) - incr32(self._prev) - return out -} - -var blockSize = 16 -exports.encrypt = function (self, chunk) { - var chunkNum = Math.ceil(chunk.length / blockSize) - var start = self._cache.length - self._cache = Buffer.concat([ - self._cache, - Buffer.allocUnsafe(chunkNum * blockSize) - ]) - for (var i = 0; i < chunkNum; i++) { - var out = getBlock(self) - var offset = start + i * blockSize - self._cache.writeUInt32BE(out[0], offset + 0) - self._cache.writeUInt32BE(out[1], offset + 4) - self._cache.writeUInt32BE(out[2], offset + 8) - self._cache.writeUInt32BE(out[3], offset + 12) - } - var pad = self._cache.slice(0, chunk.length) - self._cache = self._cache.slice(chunk.length) - return xor(chunk, pad) -} - - -/***/ }), -/* 1111 */ -/*!***********************************************!*\ - !*** ./node_modules/browserify-aes/incr32.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -function incr32 (iv) { - var len = iv.length - var item - while (len--) { - item = iv.readUInt8(len) - if (item === 255) { - iv.writeUInt8(0, len) - } else { - item++ - iv.writeUInt8(item, len) - break - } - } -} -module.exports = incr32 - - -/***/ }), -/* 1112 */ -/*!*****************************************************!*\ - !*** ./node_modules/browserify-aes/modes/list.json ***! - \*****************************************************/ -/*! exports provided: aes-128-ecb, aes-192-ecb, aes-256-ecb, aes-128-cbc, aes-192-cbc, aes-256-cbc, aes128, aes192, aes256, aes-128-cfb, aes-192-cfb, aes-256-cfb, aes-128-cfb8, aes-192-cfb8, aes-256-cfb8, aes-128-cfb1, aes-192-cfb1, aes-256-cfb1, aes-128-ofb, aes-192-ofb, aes-256-ofb, aes-128-ctr, aes-192-ctr, aes-256-ctr, aes-128-gcm, aes-192-gcm, aes-256-gcm, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"aes-128-ecb\":{\"cipher\":\"AES\",\"key\":128,\"iv\":0,\"mode\":\"ECB\",\"type\":\"block\"},\"aes-192-ecb\":{\"cipher\":\"AES\",\"key\":192,\"iv\":0,\"mode\":\"ECB\",\"type\":\"block\"},\"aes-256-ecb\":{\"cipher\":\"AES\",\"key\":256,\"iv\":0,\"mode\":\"ECB\",\"type\":\"block\"},\"aes-128-cbc\":{\"cipher\":\"AES\",\"key\":128,\"iv\":16,\"mode\":\"CBC\",\"type\":\"block\"},\"aes-192-cbc\":{\"cipher\":\"AES\",\"key\":192,\"iv\":16,\"mode\":\"CBC\",\"type\":\"block\"},\"aes-256-cbc\":{\"cipher\":\"AES\",\"key\":256,\"iv\":16,\"mode\":\"CBC\",\"type\":\"block\"},\"aes128\":{\"cipher\":\"AES\",\"key\":128,\"iv\":16,\"mode\":\"CBC\",\"type\":\"block\"},\"aes192\":{\"cipher\":\"AES\",\"key\":192,\"iv\":16,\"mode\":\"CBC\",\"type\":\"block\"},\"aes256\":{\"cipher\":\"AES\",\"key\":256,\"iv\":16,\"mode\":\"CBC\",\"type\":\"block\"},\"aes-128-cfb\":{\"cipher\":\"AES\",\"key\":128,\"iv\":16,\"mode\":\"CFB\",\"type\":\"stream\"},\"aes-192-cfb\":{\"cipher\":\"AES\",\"key\":192,\"iv\":16,\"mode\":\"CFB\",\"type\":\"stream\"},\"aes-256-cfb\":{\"cipher\":\"AES\",\"key\":256,\"iv\":16,\"mode\":\"CFB\",\"type\":\"stream\"},\"aes-128-cfb8\":{\"cipher\":\"AES\",\"key\":128,\"iv\":16,\"mode\":\"CFB8\",\"type\":\"stream\"},\"aes-192-cfb8\":{\"cipher\":\"AES\",\"key\":192,\"iv\":16,\"mode\":\"CFB8\",\"type\":\"stream\"},\"aes-256-cfb8\":{\"cipher\":\"AES\",\"key\":256,\"iv\":16,\"mode\":\"CFB8\",\"type\":\"stream\"},\"aes-128-cfb1\":{\"cipher\":\"AES\",\"key\":128,\"iv\":16,\"mode\":\"CFB1\",\"type\":\"stream\"},\"aes-192-cfb1\":{\"cipher\":\"AES\",\"key\":192,\"iv\":16,\"mode\":\"CFB1\",\"type\":\"stream\"},\"aes-256-cfb1\":{\"cipher\":\"AES\",\"key\":256,\"iv\":16,\"mode\":\"CFB1\",\"type\":\"stream\"},\"aes-128-ofb\":{\"cipher\":\"AES\",\"key\":128,\"iv\":16,\"mode\":\"OFB\",\"type\":\"stream\"},\"aes-192-ofb\":{\"cipher\":\"AES\",\"key\":192,\"iv\":16,\"mode\":\"OFB\",\"type\":\"stream\"},\"aes-256-ofb\":{\"cipher\":\"AES\",\"key\":256,\"iv\":16,\"mode\":\"OFB\",\"type\":\"stream\"},\"aes-128-ctr\":{\"cipher\":\"AES\",\"key\":128,\"iv\":16,\"mode\":\"CTR\",\"type\":\"stream\"},\"aes-192-ctr\":{\"cipher\":\"AES\",\"key\":192,\"iv\":16,\"mode\":\"CTR\",\"type\":\"stream\"},\"aes-256-ctr\":{\"cipher\":\"AES\",\"key\":256,\"iv\":16,\"mode\":\"CTR\",\"type\":\"stream\"},\"aes-128-gcm\":{\"cipher\":\"AES\",\"key\":128,\"iv\":12,\"mode\":\"GCM\",\"type\":\"auth\"},\"aes-192-gcm\":{\"cipher\":\"AES\",\"key\":192,\"iv\":12,\"mode\":\"GCM\",\"type\":\"auth\"},\"aes-256-gcm\":{\"cipher\":\"AES\",\"key\":256,\"iv\":12,\"mode\":\"GCM\",\"type\":\"auth\"}}"); - -/***/ }), -/* 1113 */ -/*!***************************************************!*\ - !*** ./node_modules/browserify-aes/authCipher.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var aes = __webpack_require__(/*! ./aes */ 1114) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var Transform = __webpack_require__(/*! cipher-base */ 393) -var inherits = __webpack_require__(/*! inherits */ 127) -var GHASH = __webpack_require__(/*! ./ghash */ 1115) -var xor = __webpack_require__(/*! buffer-xor */ 1105) -var incr32 = __webpack_require__(/*! ./incr32 */ 1111) - -function xorTest (a, b) { - var out = 0 - if (a.length !== b.length) out++ - - var len = Math.min(a.length, b.length) - for (var i = 0; i < len; ++i) { - out += (a[i] ^ b[i]) - } - - return out -} - -function calcIv (self, iv, ck) { - if (iv.length === 12) { - self._finID = Buffer.concat([iv, Buffer.from([0, 0, 0, 1])]) - return Buffer.concat([iv, Buffer.from([0, 0, 0, 2])]) - } - var ghash = new GHASH(ck) - var len = iv.length - var toPad = len % 16 - ghash.update(iv) - if (toPad) { - toPad = 16 - toPad - ghash.update(Buffer.alloc(toPad, 0)) - } - ghash.update(Buffer.alloc(8, 0)) - var ivBits = len * 8 - var tail = Buffer.alloc(8) - tail.writeUIntBE(ivBits, 0, 8) - ghash.update(tail) - self._finID = ghash.state - var out = Buffer.from(self._finID) - incr32(out) - return out -} -function StreamCipher (mode, key, iv, decrypt) { - Transform.call(this) - - var h = Buffer.alloc(4, 0) - - this._cipher = new aes.AES(key) - var ck = this._cipher.encryptBlock(h) - this._ghash = new GHASH(ck) - iv = calcIv(this, iv, ck) - - this._prev = Buffer.from(iv) - this._cache = Buffer.allocUnsafe(0) - this._secCache = Buffer.allocUnsafe(0) - this._decrypt = decrypt - this._alen = 0 - this._len = 0 - this._mode = mode - - this._authTag = null - this._called = false -} - -inherits(StreamCipher, Transform) - -StreamCipher.prototype._update = function (chunk) { - if (!this._called && this._alen) { - var rump = 16 - (this._alen % 16) - if (rump < 16) { - rump = Buffer.alloc(rump, 0) - this._ghash.update(rump) - } - } - - this._called = true - var out = this._mode.encrypt(this, chunk) - if (this._decrypt) { - this._ghash.update(chunk) - } else { - this._ghash.update(out) - } - this._len += chunk.length - return out -} - -StreamCipher.prototype._final = function () { - if (this._decrypt && !this._authTag) throw new Error('Unsupported state or unable to authenticate data') - - var tag = xor(this._ghash.final(this._alen * 8, this._len * 8), this._cipher.encryptBlock(this._finID)) - if (this._decrypt && xorTest(tag, this._authTag)) throw new Error('Unsupported state or unable to authenticate data') - - this._authTag = tag - this._cipher.scrub() -} - -StreamCipher.prototype.getAuthTag = function getAuthTag () { - if (this._decrypt || !Buffer.isBuffer(this._authTag)) throw new Error('Attempting to get auth tag in unsupported state') - - return this._authTag -} - -StreamCipher.prototype.setAuthTag = function setAuthTag (tag) { - if (!this._decrypt) throw new Error('Attempting to set auth tag in unsupported state') - - this._authTag = tag -} - -StreamCipher.prototype.setAAD = function setAAD (buf) { - if (this._called) throw new Error('Attempting to set AAD in unsupported state') - - this._ghash.update(buf) - this._alen += buf.length -} - -module.exports = StreamCipher - - -/***/ }), -/* 1114 */ -/*!********************************************!*\ - !*** ./node_modules/browserify-aes/aes.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// based on the aes implimentation in triple sec -// https://github.com/keybase/triplesec -// which is in turn based on the one from crypto-js -// https://code.google.com/p/crypto-js/ - -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer - -function asUInt32Array (buf) { - if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf) - - var len = (buf.length / 4) | 0 - var out = new Array(len) - - for (var i = 0; i < len; i++) { - out[i] = buf.readUInt32BE(i * 4) - } - - return out -} - -function scrubVec (v) { - for (var i = 0; i < v.length; v++) { - v[i] = 0 - } -} - -function cryptBlock (M, keySchedule, SUB_MIX, SBOX, nRounds) { - var SUB_MIX0 = SUB_MIX[0] - var SUB_MIX1 = SUB_MIX[1] - var SUB_MIX2 = SUB_MIX[2] - var SUB_MIX3 = SUB_MIX[3] - - var s0 = M[0] ^ keySchedule[0] - var s1 = M[1] ^ keySchedule[1] - var s2 = M[2] ^ keySchedule[2] - var s3 = M[3] ^ keySchedule[3] - var t0, t1, t2, t3 - var ksRow = 4 - - for (var round = 1; round < nRounds; round++) { - t0 = SUB_MIX0[s0 >>> 24] ^ SUB_MIX1[(s1 >>> 16) & 0xff] ^ SUB_MIX2[(s2 >>> 8) & 0xff] ^ SUB_MIX3[s3 & 0xff] ^ keySchedule[ksRow++] - t1 = SUB_MIX0[s1 >>> 24] ^ SUB_MIX1[(s2 >>> 16) & 0xff] ^ SUB_MIX2[(s3 >>> 8) & 0xff] ^ SUB_MIX3[s0 & 0xff] ^ keySchedule[ksRow++] - t2 = SUB_MIX0[s2 >>> 24] ^ SUB_MIX1[(s3 >>> 16) & 0xff] ^ SUB_MIX2[(s0 >>> 8) & 0xff] ^ SUB_MIX3[s1 & 0xff] ^ keySchedule[ksRow++] - t3 = SUB_MIX0[s3 >>> 24] ^ SUB_MIX1[(s0 >>> 16) & 0xff] ^ SUB_MIX2[(s1 >>> 8) & 0xff] ^ SUB_MIX3[s2 & 0xff] ^ keySchedule[ksRow++] - s0 = t0 - s1 = t1 - s2 = t2 - s3 = t3 - } - - t0 = ((SBOX[s0 >>> 24] << 24) | (SBOX[(s1 >>> 16) & 0xff] << 16) | (SBOX[(s2 >>> 8) & 0xff] << 8) | SBOX[s3 & 0xff]) ^ keySchedule[ksRow++] - t1 = ((SBOX[s1 >>> 24] << 24) | (SBOX[(s2 >>> 16) & 0xff] << 16) | (SBOX[(s3 >>> 8) & 0xff] << 8) | SBOX[s0 & 0xff]) ^ keySchedule[ksRow++] - t2 = ((SBOX[s2 >>> 24] << 24) | (SBOX[(s3 >>> 16) & 0xff] << 16) | (SBOX[(s0 >>> 8) & 0xff] << 8) | SBOX[s1 & 0xff]) ^ keySchedule[ksRow++] - t3 = ((SBOX[s3 >>> 24] << 24) | (SBOX[(s0 >>> 16) & 0xff] << 16) | (SBOX[(s1 >>> 8) & 0xff] << 8) | SBOX[s2 & 0xff]) ^ keySchedule[ksRow++] - t0 = t0 >>> 0 - t1 = t1 >>> 0 - t2 = t2 >>> 0 - t3 = t3 >>> 0 - - return [t0, t1, t2, t3] -} - -// AES constants -var RCON = [0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36] -var G = (function () { - // Compute double table - var d = new Array(256) - for (var j = 0; j < 256; j++) { - if (j < 128) { - d[j] = j << 1 - } else { - d[j] = (j << 1) ^ 0x11b - } - } - - var SBOX = [] - var INV_SBOX = [] - var SUB_MIX = [[], [], [], []] - var INV_SUB_MIX = [[], [], [], []] - - // Walk GF(2^8) - var x = 0 - var xi = 0 - for (var i = 0; i < 256; ++i) { - // Compute sbox - var sx = xi ^ (xi << 1) ^ (xi << 2) ^ (xi << 3) ^ (xi << 4) - sx = (sx >>> 8) ^ (sx & 0xff) ^ 0x63 - SBOX[x] = sx - INV_SBOX[sx] = x - - // Compute multiplication - var x2 = d[x] - var x4 = d[x2] - var x8 = d[x4] - - // Compute sub bytes, mix columns tables - var t = (d[sx] * 0x101) ^ (sx * 0x1010100) - SUB_MIX[0][x] = (t << 24) | (t >>> 8) - SUB_MIX[1][x] = (t << 16) | (t >>> 16) - SUB_MIX[2][x] = (t << 8) | (t >>> 24) - SUB_MIX[3][x] = t - - // Compute inv sub bytes, inv mix columns tables - t = (x8 * 0x1010101) ^ (x4 * 0x10001) ^ (x2 * 0x101) ^ (x * 0x1010100) - INV_SUB_MIX[0][sx] = (t << 24) | (t >>> 8) - INV_SUB_MIX[1][sx] = (t << 16) | (t >>> 16) - INV_SUB_MIX[2][sx] = (t << 8) | (t >>> 24) - INV_SUB_MIX[3][sx] = t - - if (x === 0) { - x = xi = 1 - } else { - x = x2 ^ d[d[d[x8 ^ x2]]] - xi ^= d[d[xi]] - } - } - - return { - SBOX: SBOX, - INV_SBOX: INV_SBOX, - SUB_MIX: SUB_MIX, - INV_SUB_MIX: INV_SUB_MIX - } -})() - -function AES (key) { - this._key = asUInt32Array(key) - this._reset() -} - -AES.blockSize = 4 * 4 -AES.keySize = 256 / 8 -AES.prototype.blockSize = AES.blockSize -AES.prototype.keySize = AES.keySize -AES.prototype._reset = function () { - var keyWords = this._key - var keySize = keyWords.length - var nRounds = keySize + 6 - var ksRows = (nRounds + 1) * 4 - - var keySchedule = [] - for (var k = 0; k < keySize; k++) { - keySchedule[k] = keyWords[k] - } - - for (k = keySize; k < ksRows; k++) { - var t = keySchedule[k - 1] - - if (k % keySize === 0) { - t = (t << 8) | (t >>> 24) - t = - (G.SBOX[t >>> 24] << 24) | - (G.SBOX[(t >>> 16) & 0xff] << 16) | - (G.SBOX[(t >>> 8) & 0xff] << 8) | - (G.SBOX[t & 0xff]) - - t ^= RCON[(k / keySize) | 0] << 24 - } else if (keySize > 6 && k % keySize === 4) { - t = - (G.SBOX[t >>> 24] << 24) | - (G.SBOX[(t >>> 16) & 0xff] << 16) | - (G.SBOX[(t >>> 8) & 0xff] << 8) | - (G.SBOX[t & 0xff]) - } - - keySchedule[k] = keySchedule[k - keySize] ^ t - } - - var invKeySchedule = [] - for (var ik = 0; ik < ksRows; ik++) { - var ksR = ksRows - ik - var tt = keySchedule[ksR - (ik % 4 ? 0 : 4)] - - if (ik < 4 || ksR <= 4) { - invKeySchedule[ik] = tt - } else { - invKeySchedule[ik] = - G.INV_SUB_MIX[0][G.SBOX[tt >>> 24]] ^ - G.INV_SUB_MIX[1][G.SBOX[(tt >>> 16) & 0xff]] ^ - G.INV_SUB_MIX[2][G.SBOX[(tt >>> 8) & 0xff]] ^ - G.INV_SUB_MIX[3][G.SBOX[tt & 0xff]] - } - } - - this._nRounds = nRounds - this._keySchedule = keySchedule - this._invKeySchedule = invKeySchedule -} - -AES.prototype.encryptBlockRaw = function (M) { - M = asUInt32Array(M) - return cryptBlock(M, this._keySchedule, G.SUB_MIX, G.SBOX, this._nRounds) -} - -AES.prototype.encryptBlock = function (M) { - var out = this.encryptBlockRaw(M) - var buf = Buffer.allocUnsafe(16) - buf.writeUInt32BE(out[0], 0) - buf.writeUInt32BE(out[1], 4) - buf.writeUInt32BE(out[2], 8) - buf.writeUInt32BE(out[3], 12) - return buf -} - -AES.prototype.decryptBlock = function (M) { - M = asUInt32Array(M) - - // swap - var m1 = M[1] - M[1] = M[3] - M[3] = m1 - - var out = cryptBlock(M, this._invKeySchedule, G.INV_SUB_MIX, G.INV_SBOX, this._nRounds) - var buf = Buffer.allocUnsafe(16) - buf.writeUInt32BE(out[0], 0) - buf.writeUInt32BE(out[3], 4) - buf.writeUInt32BE(out[2], 8) - buf.writeUInt32BE(out[1], 12) - return buf -} - -AES.prototype.scrub = function () { - scrubVec(this._keySchedule) - scrubVec(this._invKeySchedule) - scrubVec(this._key) -} - -module.exports.AES = AES - - -/***/ }), -/* 1115 */ -/*!**********************************************!*\ - !*** ./node_modules/browserify-aes/ghash.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var ZEROES = Buffer.alloc(16, 0) - -function toArray (buf) { - return [ - buf.readUInt32BE(0), - buf.readUInt32BE(4), - buf.readUInt32BE(8), - buf.readUInt32BE(12) - ] -} - -function fromArray (out) { - var buf = Buffer.allocUnsafe(16) - buf.writeUInt32BE(out[0] >>> 0, 0) - buf.writeUInt32BE(out[1] >>> 0, 4) - buf.writeUInt32BE(out[2] >>> 0, 8) - buf.writeUInt32BE(out[3] >>> 0, 12) - return buf -} - -function GHASH (key) { - this.h = key - this.state = Buffer.alloc(16, 0) - this.cache = Buffer.allocUnsafe(0) -} - -// from http://bitwiseshiftleft.github.io/sjcl/doc/symbols/src/core_gcm.js.html -// by Juho Vähä-Herttua -GHASH.prototype.ghash = function (block) { - var i = -1 - while (++i < block.length) { - this.state[i] ^= block[i] - } - this._multiply() -} - -GHASH.prototype._multiply = function () { - var Vi = toArray(this.h) - var Zi = [0, 0, 0, 0] - var j, xi, lsbVi - var i = -1 - while (++i < 128) { - xi = (this.state[~~(i / 8)] & (1 << (7 - (i % 8)))) !== 0 - if (xi) { - // Z_i+1 = Z_i ^ V_i - Zi[0] ^= Vi[0] - Zi[1] ^= Vi[1] - Zi[2] ^= Vi[2] - Zi[3] ^= Vi[3] - } - - // Store the value of LSB(V_i) - lsbVi = (Vi[3] & 1) !== 0 - - // V_i+1 = V_i >> 1 - for (j = 3; j > 0; j--) { - Vi[j] = (Vi[j] >>> 1) | ((Vi[j - 1] & 1) << 31) - } - Vi[0] = Vi[0] >>> 1 - - // If LSB(V_i) is 1, V_i+1 = (V_i >> 1) ^ R - if (lsbVi) { - Vi[0] = Vi[0] ^ (0xe1 << 24) - } - } - this.state = fromArray(Zi) -} - -GHASH.prototype.update = function (buf) { - this.cache = Buffer.concat([this.cache, buf]) - var chunk - while (this.cache.length >= 16) { - chunk = this.cache.slice(0, 16) - this.cache = this.cache.slice(16) - this.ghash(chunk) - } -} - -GHASH.prototype.final = function (abl, bl) { - if (this.cache.length) { - this.ghash(Buffer.concat([this.cache, ZEROES], 16)) - } - - this.ghash(fromArray([0, abl, 0, bl])) - return this.state -} - -module.exports = GHASH - - -/***/ }), -/* 1116 */ -/*!*****************************************************!*\ - !*** ./node_modules/browserify-aes/streamCipher.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var aes = __webpack_require__(/*! ./aes */ 1114) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var Transform = __webpack_require__(/*! cipher-base */ 393) -var inherits = __webpack_require__(/*! inherits */ 127) - -function StreamCipher (mode, key, iv, decrypt) { - Transform.call(this) - - this._cipher = new aes.AES(key) - this._prev = Buffer.from(iv) - this._cache = Buffer.allocUnsafe(0) - this._secCache = Buffer.allocUnsafe(0) - this._decrypt = decrypt - this._mode = mode -} - -inherits(StreamCipher, Transform) - -StreamCipher.prototype._update = function (chunk) { - return this._mode.encrypt(this, chunk, this._decrypt) -} - -StreamCipher.prototype._final = function () { - this._cipher.scrub() -} - -module.exports = StreamCipher - - -/***/ }), -/* 1117 */ -/*!**********************************************!*\ - !*** ./node_modules/evp_bytestokey/index.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var MD5 = __webpack_require__(/*! md5.js */ 365) - -/* eslint-disable camelcase */ -function EVP_BytesToKey (password, salt, keyBits, ivLen) { - if (!Buffer.isBuffer(password)) password = Buffer.from(password, 'binary') - if (salt) { - if (!Buffer.isBuffer(salt)) salt = Buffer.from(salt, 'binary') - if (salt.length !== 8) throw new RangeError('salt should be Buffer with 8 byte length') - } - - var keyLen = keyBits / 8 - var key = Buffer.alloc(keyLen) - var iv = Buffer.alloc(ivLen || 0) - var tmp = Buffer.alloc(0) - - while (keyLen > 0 || ivLen > 0) { - var hash = new MD5() - hash.update(tmp) - hash.update(password) - if (salt) hash.update(salt) - tmp = hash.digest() - - var used = 0 - - if (keyLen > 0) { - var keyStart = key.length - keyLen - used = Math.min(keyLen, tmp.length) - tmp.copy(key, keyStart, 0, used) - keyLen -= used - } - - if (used < tmp.length && ivLen > 0) { - var ivStart = iv.length - ivLen - var length = Math.min(ivLen, tmp.length - used) - tmp.copy(iv, ivStart, used, used + length) - ivLen -= length - } - } - - tmp.fill(0) - return { key: key, iv: iv } -} - -module.exports = EVP_BytesToKey - - -/***/ }), -/* 1118 */ -/*!**************************************************!*\ - !*** ./node_modules/browserify-aes/decrypter.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var AuthCipher = __webpack_require__(/*! ./authCipher */ 1113) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var MODES = __webpack_require__(/*! ./modes */ 1102) -var StreamCipher = __webpack_require__(/*! ./streamCipher */ 1116) -var Transform = __webpack_require__(/*! cipher-base */ 393) -var aes = __webpack_require__(/*! ./aes */ 1114) -var ebtk = __webpack_require__(/*! evp_bytestokey */ 1117) -var inherits = __webpack_require__(/*! inherits */ 127) - -function Decipher (mode, key, iv) { - Transform.call(this) - - this._cache = new Splitter() - this._last = void 0 - this._cipher = new aes.AES(key) - this._prev = Buffer.from(iv) - this._mode = mode - this._autopadding = true -} - -inherits(Decipher, Transform) - -Decipher.prototype._update = function (data) { - this._cache.add(data) - var chunk - var thing - var out = [] - while ((chunk = this._cache.get(this._autopadding))) { - thing = this._mode.decrypt(this, chunk) - out.push(thing) - } - return Buffer.concat(out) -} - -Decipher.prototype._final = function () { - var chunk = this._cache.flush() - if (this._autopadding) { - return unpad(this._mode.decrypt(this, chunk)) - } else if (chunk) { - throw new Error('data not multiple of block length') - } -} - -Decipher.prototype.setAutoPadding = function (setTo) { - this._autopadding = !!setTo - return this -} - -function Splitter () { - this.cache = Buffer.allocUnsafe(0) -} - -Splitter.prototype.add = function (data) { - this.cache = Buffer.concat([this.cache, data]) -} - -Splitter.prototype.get = function (autoPadding) { - var out - if (autoPadding) { - if (this.cache.length > 16) { - out = this.cache.slice(0, 16) - this.cache = this.cache.slice(16) - return out - } - } else { - if (this.cache.length >= 16) { - out = this.cache.slice(0, 16) - this.cache = this.cache.slice(16) - return out - } - } - - return null -} - -Splitter.prototype.flush = function () { - if (this.cache.length) return this.cache -} - -function unpad (last) { - var padded = last[15] - if (padded < 1 || padded > 16) { - throw new Error('unable to decrypt data') - } - var i = -1 - while (++i < padded) { - if (last[(i + (16 - padded))] !== padded) { - throw new Error('unable to decrypt data') - } - } - if (padded === 16) return - - return last.slice(0, 16 - padded) -} - -function createDecipheriv (suite, password, iv) { - var config = MODES[suite.toLowerCase()] - if (!config) throw new TypeError('invalid suite type') - - if (typeof iv === 'string') iv = Buffer.from(iv) - if (config.mode !== 'GCM' && iv.length !== config.iv) throw new TypeError('invalid iv length ' + iv.length) - - if (typeof password === 'string') password = Buffer.from(password) - if (password.length !== config.key / 8) throw new TypeError('invalid key length ' + password.length) - - if (config.type === 'stream') { - return new StreamCipher(config.module, password, iv, true) - } else if (config.type === 'auth') { - return new AuthCipher(config.module, password, iv, true) - } - - return new Decipher(config.module, password, iv) -} - -function createDecipher (suite, password) { - var config = MODES[suite.toLowerCase()] - if (!config) throw new TypeError('invalid suite type') - - var keys = ebtk(password, false, config.key, config.iv) - return createDecipheriv(suite, keys.key, keys.iv) -} - -exports.createDecipher = createDecipher -exports.createDecipheriv = createDecipheriv - - -/***/ }), -/* 1119 */ -/*!**********************************************!*\ - !*** ./node_modules/browserify-des/modes.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -exports['des-ecb'] = { - key: 8, - iv: 0 -} -exports['des-cbc'] = exports.des = { - key: 8, - iv: 8 -} -exports['des-ede3-cbc'] = exports.des3 = { - key: 24, - iv: 8 -} -exports['des-ede3'] = { - key: 24, - iv: 0 -} -exports['des-ede-cbc'] = { - key: 16, - iv: 8 -} -exports['des-ede'] = { - key: 16, - iv: 0 -} - - -/***/ }), -/* 1120 */ -/*!************************************************!*\ - !*** ./node_modules/diffie-hellman/browser.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer) {var generatePrime = __webpack_require__(/*! ./lib/generatePrime */ 1121) -var primes = __webpack_require__(/*! ./lib/primes.json */ 1123) - -var DH = __webpack_require__(/*! ./lib/dh */ 1124) - -function getDiffieHellman (mod) { - var prime = new Buffer(primes[mod].prime, 'hex') - var gen = new Buffer(primes[mod].gen, 'hex') - - return new DH(prime, gen) -} - -var ENCODINGS = { - 'binary': true, 'hex': true, 'base64': true -} - -function createDiffieHellman (prime, enc, generator, genc) { - if (Buffer.isBuffer(enc) || ENCODINGS[enc] === undefined) { - return createDiffieHellman(prime, 'binary', enc, generator) - } - - enc = enc || 'binary' - genc = genc || 'binary' - generator = generator || new Buffer([2]) - - if (!Buffer.isBuffer(generator)) { - generator = new Buffer(generator, genc) - } - - if (typeof prime === 'number') { - return new DH(generatePrime(prime, generator), generator, true) - } - - if (!Buffer.isBuffer(prime)) { - prime = new Buffer(prime, enc) - } - - return new DH(prime, generator, true) -} - -exports.DiffieHellmanGroup = exports.createDiffieHellmanGroup = exports.getDiffieHellman = getDiffieHellman -exports.createDiffieHellman = exports.DiffieHellman = createDiffieHellman - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1121 */ -/*!**********************************************************!*\ - !*** ./node_modules/diffie-hellman/lib/generatePrime.js ***! - \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var randomBytes = __webpack_require__(/*! randombytes */ 406); -module.exports = findPrime; -findPrime.simpleSieve = simpleSieve; -findPrime.fermatTest = fermatTest; -var BN = __webpack_require__(/*! bn.js */ 70); -var TWENTYFOUR = new BN(24); -var MillerRabin = __webpack_require__(/*! miller-rabin */ 1122); -var millerRabin = new MillerRabin(); -var ONE = new BN(1); -var TWO = new BN(2); -var FIVE = new BN(5); -var SIXTEEN = new BN(16); -var EIGHT = new BN(8); -var TEN = new BN(10); -var THREE = new BN(3); -var SEVEN = new BN(7); -var ELEVEN = new BN(11); -var FOUR = new BN(4); -var TWELVE = new BN(12); -var primes = null; - -function _getPrimes() { - if (primes !== null) - return primes; - - var limit = 0x100000; - var res = []; - res[0] = 2; - for (var i = 1, k = 3; k < limit; k += 2) { - var sqrt = Math.ceil(Math.sqrt(k)); - for (var j = 0; j < i && res[j] <= sqrt; j++) - if (k % res[j] === 0) - break; - - if (i !== j && res[j] <= sqrt) - continue; - - res[i++] = k; - } - primes = res; - return res; -} - -function simpleSieve(p) { - var primes = _getPrimes(); - - for (var i = 0; i < primes.length; i++) - if (p.modn(primes[i]) === 0) { - if (p.cmpn(primes[i]) === 0) { - return true; - } else { - return false; - } - } - - return true; -} - -function fermatTest(p) { - var red = BN.mont(p); - return TWO.toRed(red).redPow(p.subn(1)).fromRed().cmpn(1) === 0; -} - -function findPrime(bits, gen) { - if (bits < 16) { - // this is what openssl does - if (gen === 2 || gen === 5) { - return new BN([0x8c, 0x7b]); - } else { - return new BN([0x8c, 0x27]); - } - } - gen = new BN(gen); - - var num, n2; - - while (true) { - num = new BN(randomBytes(Math.ceil(bits / 8))); - while (num.bitLength() > bits) { - num.ishrn(1); - } - if (num.isEven()) { - num.iadd(ONE); - } - if (!num.testn(1)) { - num.iadd(TWO); - } - if (!gen.cmp(TWO)) { - while (num.mod(TWENTYFOUR).cmp(ELEVEN)) { - num.iadd(FOUR); - } - } else if (!gen.cmp(FIVE)) { - while (num.mod(TEN).cmp(THREE)) { - num.iadd(FOUR); - } - } - n2 = num.shrn(1); - if (simpleSieve(n2) && simpleSieve(num) && - fermatTest(n2) && fermatTest(num) && - millerRabin.test(n2) && millerRabin.test(num)) { - return num; - } - } - -} - - -/***/ }), -/* 1122 */ -/*!*********************************************!*\ - !*** ./node_modules/miller-rabin/lib/mr.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var bn = __webpack_require__(/*! bn.js */ 70); -var brorand = __webpack_require__(/*! brorand */ 209); - -function MillerRabin(rand) { - this.rand = rand || new brorand.Rand(); -} -module.exports = MillerRabin; - -MillerRabin.create = function create(rand) { - return new MillerRabin(rand); -}; - -MillerRabin.prototype._randbelow = function _randbelow(n) { - var len = n.bitLength(); - var min_bytes = Math.ceil(len / 8); - - // Generage random bytes until a number less than n is found. - // This ensures that 0..n-1 have an equal probability of being selected. - do - var a = new bn(this.rand.generate(min_bytes)); - while (a.cmp(n) >= 0); - - return a; -}; - -MillerRabin.prototype._randrange = function _randrange(start, stop) { - // Generate a random number greater than or equal to start and less than stop. - var size = stop.sub(start); - return start.add(this._randbelow(size)); -}; - -MillerRabin.prototype.test = function test(n, k, cb) { - var len = n.bitLength(); - var red = bn.mont(n); - var rone = new bn(1).toRed(red); - - if (!k) - k = Math.max(1, (len / 48) | 0); - - // Find d and s, (n - 1) = (2 ^ s) * d; - var n1 = n.subn(1); - for (var s = 0; !n1.testn(s); s++) {} - var d = n.shrn(s); - - var rn1 = n1.toRed(red); - - var prime = true; - for (; k > 0; k--) { - var a = this._randrange(new bn(2), n1); - if (cb) - cb(a); - - var x = a.toRed(red).redPow(d); - if (x.cmp(rone) === 0 || x.cmp(rn1) === 0) - continue; - - for (var i = 1; i < s; i++) { - x = x.redSqr(); - - if (x.cmp(rone) === 0) - return false; - if (x.cmp(rn1) === 0) - break; - } - - if (i === s) - return false; - } - - return prime; -}; - -MillerRabin.prototype.getDivisor = function getDivisor(n, k) { - var len = n.bitLength(); - var red = bn.mont(n); - var rone = new bn(1).toRed(red); - - if (!k) - k = Math.max(1, (len / 48) | 0); - - // Find d and s, (n - 1) = (2 ^ s) * d; - var n1 = n.subn(1); - for (var s = 0; !n1.testn(s); s++) {} - var d = n.shrn(s); - - var rn1 = n1.toRed(red); - - for (; k > 0; k--) { - var a = this._randrange(new bn(2), n1); - - var g = n.gcd(a); - if (g.cmpn(1) !== 0) - return g; - - var x = a.toRed(red).redPow(d); - if (x.cmp(rone) === 0 || x.cmp(rn1) === 0) - continue; - - for (var i = 1; i < s; i++) { - x = x.redSqr(); - - if (x.cmp(rone) === 0) - return x.fromRed().subn(1).gcd(n); - if (x.cmp(rn1) === 0) - break; - } - - if (i === s) { - x = x.redSqr(); - return x.fromRed().subn(1).gcd(n); - } - } - - return false; -}; - - -/***/ }), -/* 1123 */ -/*!*****************************************************!*\ - !*** ./node_modules/diffie-hellman/lib/primes.json ***! - \*****************************************************/ -/*! exports provided: modp1, modp2, modp5, modp14, modp15, modp16, modp17, modp18, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"modp1\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff\"},\"modp2\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff\"},\"modp5\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff\"},\"modp14\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff\"},\"modp15\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff\"},\"modp16\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff\"},\"modp17\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff\"},\"modp18\":{\"gen\":\"02\",\"prime\":\"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff\"}}"); - -/***/ }), -/* 1124 */ -/*!***********************************************!*\ - !*** ./node_modules/diffie-hellman/lib/dh.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer) {var BN = __webpack_require__(/*! bn.js */ 70); -var MillerRabin = __webpack_require__(/*! miller-rabin */ 1122); -var millerRabin = new MillerRabin(); -var TWENTYFOUR = new BN(24); -var ELEVEN = new BN(11); -var TEN = new BN(10); -var THREE = new BN(3); -var SEVEN = new BN(7); -var primes = __webpack_require__(/*! ./generatePrime */ 1121); -var randomBytes = __webpack_require__(/*! randombytes */ 406); -module.exports = DH; - -function setPublicKey(pub, enc) { - enc = enc || 'utf8'; - if (!Buffer.isBuffer(pub)) { - pub = new Buffer(pub, enc); - } - this._pub = new BN(pub); - return this; -} - -function setPrivateKey(priv, enc) { - enc = enc || 'utf8'; - if (!Buffer.isBuffer(priv)) { - priv = new Buffer(priv, enc); - } - this._priv = new BN(priv); - return this; -} - -var primeCache = {}; -function checkPrime(prime, generator) { - var gen = generator.toString('hex'); - var hex = [gen, prime.toString(16)].join('_'); - if (hex in primeCache) { - return primeCache[hex]; - } - var error = 0; - - if (prime.isEven() || - !primes.simpleSieve || - !primes.fermatTest(prime) || - !millerRabin.test(prime)) { - //not a prime so +1 - error += 1; - - if (gen === '02' || gen === '05') { - // we'd be able to check the generator - // it would fail so +8 - error += 8; - } else { - //we wouldn't be able to test the generator - // so +4 - error += 4; - } - primeCache[hex] = error; - return error; - } - if (!millerRabin.test(prime.shrn(1))) { - //not a safe prime - error += 2; - } - var rem; - switch (gen) { - case '02': - if (prime.mod(TWENTYFOUR).cmp(ELEVEN)) { - // unsuidable generator - error += 8; - } - break; - case '05': - rem = prime.mod(TEN); - if (rem.cmp(THREE) && rem.cmp(SEVEN)) { - // prime mod 10 needs to equal 3 or 7 - error += 8; - } - break; - default: - error += 4; - } - primeCache[hex] = error; - return error; -} - -function DH(prime, generator, malleable) { - this.setGenerator(generator); - this.__prime = new BN(prime); - this._prime = BN.mont(this.__prime); - this._primeLen = prime.length; - this._pub = undefined; - this._priv = undefined; - this._primeCode = undefined; - if (malleable) { - this.setPublicKey = setPublicKey; - this.setPrivateKey = setPrivateKey; - } else { - this._primeCode = 8; - } -} -Object.defineProperty(DH.prototype, 'verifyError', { - enumerable: true, - get: function () { - if (typeof this._primeCode !== 'number') { - this._primeCode = checkPrime(this.__prime, this.__gen); - } - return this._primeCode; - } -}); -DH.prototype.generateKeys = function () { - if (!this._priv) { - this._priv = new BN(randomBytes(this._primeLen)); - } - this._pub = this._gen.toRed(this._prime).redPow(this._priv).fromRed(); - return this.getPublicKey(); -}; - -DH.prototype.computeSecret = function (other) { - other = new BN(other); - other = other.toRed(this._prime); - var secret = other.redPow(this._priv).fromRed(); - var out = new Buffer(secret.toArray()); - var prime = this.getPrime(); - if (out.length < prime.length) { - var front = new Buffer(prime.length - out.length); - front.fill(0); - out = Buffer.concat([front, out]); - } - return out; -}; - -DH.prototype.getPublicKey = function getPublicKey(enc) { - return formatReturnValue(this._pub, enc); -}; - -DH.prototype.getPrivateKey = function getPrivateKey(enc) { - return formatReturnValue(this._priv, enc); -}; - -DH.prototype.getPrime = function (enc) { - return formatReturnValue(this.__prime, enc); -}; - -DH.prototype.getGenerator = function (enc) { - return formatReturnValue(this._gen, enc); -}; - -DH.prototype.setGenerator = function (gen, enc) { - enc = enc || 'utf8'; - if (!Buffer.isBuffer(gen)) { - gen = new Buffer(gen, enc); - } - this.__gen = gen; - this._gen = new BN(gen); - return this; -}; - -function formatReturnValue(bn, enc) { - var buf = new Buffer(bn.toArray()); - if (!enc) { - return buf; - } else { - return buf.toString(enc); - } -} - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1125 */ -/*!*******************************************************!*\ - !*** ./node_modules/browserify-sign/browser/index.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var createHash = __webpack_require__(/*! create-hash */ 364) -var stream = __webpack_require__(/*! readable-stream */ 368) -var inherits = __webpack_require__(/*! inherits */ 127) -var sign = __webpack_require__(/*! ./sign */ 1126) -var verify = __webpack_require__(/*! ./verify */ 1149) - -var algorithms = __webpack_require__(/*! ./algorithms.json */ 1091) -Object.keys(algorithms).forEach(function (key) { - algorithms[key].id = Buffer.from(algorithms[key].id, 'hex') - algorithms[key.toLowerCase()] = algorithms[key] -}) - -function Sign (algorithm) { - stream.Writable.call(this) - - var data = algorithms[algorithm] - if (!data) throw new Error('Unknown message digest') - - this._hashType = data.hash - this._hash = createHash(data.hash) - this._tag = data.id - this._signType = data.sign -} -inherits(Sign, stream.Writable) - -Sign.prototype._write = function _write (data, _, done) { - this._hash.update(data) - done() -} - -Sign.prototype.update = function update (data, enc) { - if (typeof data === 'string') data = Buffer.from(data, enc) - - this._hash.update(data) - return this -} - -Sign.prototype.sign = function signMethod (key, enc) { - this.end() - var hash = this._hash.digest() - var sig = sign(hash, key, this._hashType, this._signType, this._tag) - - return enc ? sig.toString(enc) : sig -} - -function Verify (algorithm) { - stream.Writable.call(this) - - var data = algorithms[algorithm] - if (!data) throw new Error('Unknown message digest') - - this._hash = createHash(data.hash) - this._tag = data.id - this._signType = data.sign -} -inherits(Verify, stream.Writable) - -Verify.prototype._write = function _write (data, _, done) { - this._hash.update(data) - done() -} - -Verify.prototype.update = function update (data, enc) { - if (typeof data === 'string') data = Buffer.from(data, enc) - - this._hash.update(data) - return this -} - -Verify.prototype.verify = function verifyMethod (key, sig, enc) { - if (typeof sig === 'string') sig = Buffer.from(sig, enc) - - this.end() - var hash = this._hash.digest() - return verify(sig, hash, key, this._signType, this._tag) -} - -function createSign (algorithm) { - return new Sign(algorithm) -} - -function createVerify (algorithm) { - return new Verify(algorithm) -} - -module.exports = { - Sign: createSign, - Verify: createVerify, - createSign: createSign, - createVerify: createVerify -} - - -/***/ }), -/* 1126 */ -/*!******************************************************!*\ - !*** ./node_modules/browserify-sign/browser/sign.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var createHmac = __webpack_require__(/*! create-hmac */ 421) -var crt = __webpack_require__(/*! browserify-rsa */ 1127) -var EC = __webpack_require__(/*! elliptic */ 205).ec -var BN = __webpack_require__(/*! bn.js */ 70) -var parseKeys = __webpack_require__(/*! parse-asn1 */ 1128) -var curves = __webpack_require__(/*! ./curves.json */ 1148) - -function sign (hash, key, hashType, signType, tag) { - var priv = parseKeys(key) - if (priv.curve) { - // rsa keys can be interpreted as ecdsa ones in openssl - if (signType !== 'ecdsa' && signType !== 'ecdsa/rsa') throw new Error('wrong private key type') - return ecSign(hash, priv) - } else if (priv.type === 'dsa') { - if (signType !== 'dsa') throw new Error('wrong private key type') - return dsaSign(hash, priv, hashType) - } else { - if (signType !== 'rsa' && signType !== 'ecdsa/rsa') throw new Error('wrong private key type') - } - hash = Buffer.concat([tag, hash]) - var len = priv.modulus.byteLength() - var pad = [0, 1] - while (hash.length + pad.length + 1 < len) pad.push(0xff) - pad.push(0x00) - var i = -1 - while (++i < hash.length) pad.push(hash[i]) - - var out = crt(pad, priv) - return out -} - -function ecSign (hash, priv) { - var curveId = curves[priv.curve.join('.')] - if (!curveId) throw new Error('unknown curve ' + priv.curve.join('.')) - - var curve = new EC(curveId) - var key = curve.keyFromPrivate(priv.privateKey) - var out = key.sign(hash) - - return Buffer.from(out.toDER()) -} - -function dsaSign (hash, priv, algo) { - var x = priv.params.priv_key - var p = priv.params.p - var q = priv.params.q - var g = priv.params.g - var r = new BN(0) - var k - var H = bits2int(hash, q).mod(q) - var s = false - var kv = getKey(x, q, hash, algo) - while (s === false) { - k = makeKey(q, kv, algo) - r = makeR(g, k, p, q) - s = k.invm(q).imul(H.add(x.mul(r))).mod(q) - if (s.cmpn(0) === 0) { - s = false - r = new BN(0) - } - } - return toDER(r, s) -} - -function toDER (r, s) { - r = r.toArray() - s = s.toArray() - - // Pad values - if (r[0] & 0x80) r = [0].concat(r) - if (s[0] & 0x80) s = [0].concat(s) - - var total = r.length + s.length + 4 - var res = [0x30, total, 0x02, r.length] - res = res.concat(r, [0x02, s.length], s) - return Buffer.from(res) -} - -function getKey (x, q, hash, algo) { - x = Buffer.from(x.toArray()) - if (x.length < q.byteLength()) { - var zeros = Buffer.alloc(q.byteLength() - x.length) - x = Buffer.concat([zeros, x]) - } - var hlen = hash.length - var hbits = bits2octets(hash, q) - var v = Buffer.alloc(hlen) - v.fill(1) - var k = Buffer.alloc(hlen) - k = createHmac(algo, k).update(v).update(Buffer.from([0])).update(x).update(hbits).digest() - v = createHmac(algo, k).update(v).digest() - k = createHmac(algo, k).update(v).update(Buffer.from([1])).update(x).update(hbits).digest() - v = createHmac(algo, k).update(v).digest() - return { k: k, v: v } -} - -function bits2int (obits, q) { - var bits = new BN(obits) - var shift = (obits.length << 3) - q.bitLength() - if (shift > 0) bits.ishrn(shift) - return bits -} - -function bits2octets (bits, q) { - bits = bits2int(bits, q) - bits = bits.mod(q) - var out = Buffer.from(bits.toArray()) - if (out.length < q.byteLength()) { - var zeros = Buffer.alloc(q.byteLength() - out.length) - out = Buffer.concat([zeros, out]) - } - return out -} - -function makeKey (q, kv, algo) { - var t - var k - - do { - t = Buffer.alloc(0) - - while (t.length * 8 < q.bitLength()) { - kv.v = createHmac(algo, kv.k).update(kv.v).digest() - t = Buffer.concat([t, kv.v]) - } - - k = bits2int(t, q) - kv.k = createHmac(algo, kv.k).update(kv.v).update(Buffer.from([0])).digest() - kv.v = createHmac(algo, kv.k).update(kv.v).digest() - } while (k.cmp(q) !== -1) - - return k -} - -function makeR (g, k, p, q) { - return g.toRed(BN.mont(p)).redPow(k).fromRed().mod(q) -} - -module.exports = sign -module.exports.getKey = getKey -module.exports.makeKey = makeKey - - -/***/ }), -/* 1127 */ -/*!**********************************************!*\ - !*** ./node_modules/browserify-rsa/index.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer) {var bn = __webpack_require__(/*! bn.js */ 70); -var randomBytes = __webpack_require__(/*! randombytes */ 406); -module.exports = crt; -function blind(priv) { - var r = getr(priv); - var blinder = r.toRed(bn.mont(priv.modulus)) - .redPow(new bn(priv.publicExponent)).fromRed(); - return { - blinder: blinder, - unblinder:r.invm(priv.modulus) - }; -} -function crt(msg, priv) { - var blinds = blind(priv); - var len = priv.modulus.byteLength(); - var mod = bn.mont(priv.modulus); - var blinded = new bn(msg).mul(blinds.blinder).umod(priv.modulus); - var c1 = blinded.toRed(bn.mont(priv.prime1)); - var c2 = blinded.toRed(bn.mont(priv.prime2)); - var qinv = priv.coefficient; - var p = priv.prime1; - var q = priv.prime2; - var m1 = c1.redPow(priv.exponent1); - var m2 = c2.redPow(priv.exponent2); - m1 = m1.fromRed(); - m2 = m2.fromRed(); - var h = m1.isub(m2).imul(qinv).umod(p); - h.imul(q); - m2.iadd(h); - return new Buffer(m2.imul(blinds.unblinder).umod(priv.modulus).toArray(false, len)); -} -crt.getr = getr; -function getr(priv) { - var len = priv.modulus.byteLength(); - var r = new bn(randomBytes(len)); - while (r.cmp(priv.modulus) >= 0 || !r.umod(priv.prime1) || !r.umod(priv.prime2)) { - r = new bn(randomBytes(len)); - } - return r; -} - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1128 */ -/*!******************************************!*\ - !*** ./node_modules/parse-asn1/index.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var asn1 = __webpack_require__(/*! ./asn1 */ 1129) -var aesid = __webpack_require__(/*! ./aesid.json */ 1146) -var fixProc = __webpack_require__(/*! ./fixProc */ 1147) -var ciphers = __webpack_require__(/*! browserify-aes */ 1100) -var compat = __webpack_require__(/*! pbkdf2 */ 399) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -module.exports = parseKeys - -function parseKeys (buffer) { - var password - if (typeof buffer === 'object' && !Buffer.isBuffer(buffer)) { - password = buffer.passphrase - buffer = buffer.key - } - if (typeof buffer === 'string') { - buffer = Buffer.from(buffer) - } - - var stripped = fixProc(buffer, password) - - var type = stripped.tag - var data = stripped.data - var subtype, ndata - switch (type) { - case 'CERTIFICATE': - ndata = asn1.certificate.decode(data, 'der').tbsCertificate.subjectPublicKeyInfo - // falls through - case 'PUBLIC KEY': - if (!ndata) { - ndata = asn1.PublicKey.decode(data, 'der') - } - subtype = ndata.algorithm.algorithm.join('.') - switch (subtype) { - case '1.2.840.113549.1.1.1': - return asn1.RSAPublicKey.decode(ndata.subjectPublicKey.data, 'der') - case '1.2.840.10045.2.1': - ndata.subjectPrivateKey = ndata.subjectPublicKey - return { - type: 'ec', - data: ndata - } - case '1.2.840.10040.4.1': - ndata.algorithm.params.pub_key = asn1.DSAparam.decode(ndata.subjectPublicKey.data, 'der') - return { - type: 'dsa', - data: ndata.algorithm.params - } - default: throw new Error('unknown key id ' + subtype) - } - throw new Error('unknown key type ' + type) - case 'ENCRYPTED PRIVATE KEY': - data = asn1.EncryptedPrivateKey.decode(data, 'der') - data = decrypt(data, password) - // falls through - case 'PRIVATE KEY': - ndata = asn1.PrivateKey.decode(data, 'der') - subtype = ndata.algorithm.algorithm.join('.') - switch (subtype) { - case '1.2.840.113549.1.1.1': - return asn1.RSAPrivateKey.decode(ndata.subjectPrivateKey, 'der') - case '1.2.840.10045.2.1': - return { - curve: ndata.algorithm.curve, - privateKey: asn1.ECPrivateKey.decode(ndata.subjectPrivateKey, 'der').privateKey - } - case '1.2.840.10040.4.1': - ndata.algorithm.params.priv_key = asn1.DSAparam.decode(ndata.subjectPrivateKey, 'der') - return { - type: 'dsa', - params: ndata.algorithm.params - } - default: throw new Error('unknown key id ' + subtype) - } - throw new Error('unknown key type ' + type) - case 'RSA PUBLIC KEY': - return asn1.RSAPublicKey.decode(data, 'der') - case 'RSA PRIVATE KEY': - return asn1.RSAPrivateKey.decode(data, 'der') - case 'DSA PRIVATE KEY': - return { - type: 'dsa', - params: asn1.DSAPrivateKey.decode(data, 'der') - } - case 'EC PRIVATE KEY': - data = asn1.ECPrivateKey.decode(data, 'der') - return { - curve: data.parameters.value, - privateKey: data.privateKey - } - default: throw new Error('unknown key type ' + type) - } -} -parseKeys.signature = asn1.signature -function decrypt (data, password) { - var salt = data.algorithm.decrypt.kde.kdeparams.salt - var iters = parseInt(data.algorithm.decrypt.kde.kdeparams.iters.toString(), 10) - var algo = aesid[data.algorithm.decrypt.cipher.algo.join('.')] - var iv = data.algorithm.decrypt.cipher.iv - var cipherText = data.subjectPrivateKey - var keylen = parseInt(algo.split('-')[1], 10) / 8 - var key = compat.pbkdf2Sync(password, salt, iters, keylen, 'sha1') - var cipher = ciphers.createDecipheriv(algo, key, iv) - var out = [] - out.push(cipher.update(cipherText)) - out.push(cipher.final()) - return Buffer.concat(out) -} - - -/***/ }), -/* 1129 */ -/*!*****************************************!*\ - !*** ./node_modules/parse-asn1/asn1.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// from https://github.com/indutny/self-signed/blob/gh-pages/lib/asn1.js -// Fedor, you are amazing. - - -var asn1 = __webpack_require__(/*! asn1.js */ 1130) - -exports.certificate = __webpack_require__(/*! ./certificate */ 1145) - -var RSAPrivateKey = asn1.define('RSAPrivateKey', function () { - this.seq().obj( - this.key('version').int(), - this.key('modulus').int(), - this.key('publicExponent').int(), - this.key('privateExponent').int(), - this.key('prime1').int(), - this.key('prime2').int(), - this.key('exponent1').int(), - this.key('exponent2').int(), - this.key('coefficient').int() - ) -}) -exports.RSAPrivateKey = RSAPrivateKey - -var RSAPublicKey = asn1.define('RSAPublicKey', function () { - this.seq().obj( - this.key('modulus').int(), - this.key('publicExponent').int() - ) -}) -exports.RSAPublicKey = RSAPublicKey - -var PublicKey = asn1.define('SubjectPublicKeyInfo', function () { - this.seq().obj( - this.key('algorithm').use(AlgorithmIdentifier), - this.key('subjectPublicKey').bitstr() - ) -}) -exports.PublicKey = PublicKey - -var AlgorithmIdentifier = asn1.define('AlgorithmIdentifier', function () { - this.seq().obj( - this.key('algorithm').objid(), - this.key('none').null_().optional(), - this.key('curve').objid().optional(), - this.key('params').seq().obj( - this.key('p').int(), - this.key('q').int(), - this.key('g').int() - ).optional() - ) -}) - -var PrivateKeyInfo = asn1.define('PrivateKeyInfo', function () { - this.seq().obj( - this.key('version').int(), - this.key('algorithm').use(AlgorithmIdentifier), - this.key('subjectPrivateKey').octstr() - ) -}) -exports.PrivateKey = PrivateKeyInfo -var EncryptedPrivateKeyInfo = asn1.define('EncryptedPrivateKeyInfo', function () { - this.seq().obj( - this.key('algorithm').seq().obj( - this.key('id').objid(), - this.key('decrypt').seq().obj( - this.key('kde').seq().obj( - this.key('id').objid(), - this.key('kdeparams').seq().obj( - this.key('salt').octstr(), - this.key('iters').int() - ) - ), - this.key('cipher').seq().obj( - this.key('algo').objid(), - this.key('iv').octstr() - ) - ) - ), - this.key('subjectPrivateKey').octstr() - ) -}) - -exports.EncryptedPrivateKey = EncryptedPrivateKeyInfo - -var DSAPrivateKey = asn1.define('DSAPrivateKey', function () { - this.seq().obj( - this.key('version').int(), - this.key('p').int(), - this.key('q').int(), - this.key('g').int(), - this.key('pub_key').int(), - this.key('priv_key').int() - ) -}) -exports.DSAPrivateKey = DSAPrivateKey - -exports.DSAparam = asn1.define('DSAparam', function () { - this.int() -}) - -var ECPrivateKey = asn1.define('ECPrivateKey', function () { - this.seq().obj( - this.key('version').int(), - this.key('privateKey').octstr(), - this.key('parameters').optional().explicit(0).use(ECParameters), - this.key('publicKey').optional().explicit(1).bitstr() - ) -}) -exports.ECPrivateKey = ECPrivateKey - -var ECParameters = asn1.define('ECParameters', function () { - this.choice({ - namedCurve: this.objid() - }) -}) - -exports.signature = asn1.define('signature', function () { - this.seq().obj( - this.key('r').int(), - this.key('s').int() - ) -}) - - -/***/ }), -/* 1130 */ -/*!******************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var asn1 = exports; - -asn1.bignum = __webpack_require__(/*! bn.js */ 70); - -asn1.define = __webpack_require__(/*! ./asn1/api */ 1131).define; -asn1.base = __webpack_require__(/*! ./asn1/base */ 1133); -asn1.constants = __webpack_require__(/*! ./asn1/constants */ 1137); -asn1.decoders = __webpack_require__(/*! ./asn1/decoders */ 1139); -asn1.encoders = __webpack_require__(/*! ./asn1/encoders */ 1142); - - -/***/ }), -/* 1131 */ -/*!**********************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/api.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var asn1 = __webpack_require__(/*! ../asn1 */ 1130); -var inherits = __webpack_require__(/*! inherits */ 127); - -var api = exports; - -api.define = function define(name, body) { - return new Entity(name, body); -}; - -function Entity(name, body) { - this.name = name; - this.body = body; - - this.decoders = {}; - this.encoders = {}; -}; - -Entity.prototype._createNamed = function createNamed(base) { - var named; - try { - named = __webpack_require__(/*! vm */ 1132).runInThisContext( - '(function ' + this.name + '(entity) {\n' + - ' this._initNamed(entity);\n' + - '})' - ); - } catch (e) { - named = function (entity) { - this._initNamed(entity); - }; - } - inherits(named, base); - named.prototype._initNamed = function initnamed(entity) { - base.call(this, entity); - }; - - return new named(this); -}; - -Entity.prototype._getDecoder = function _getDecoder(enc) { - enc = enc || 'der'; - // Lazily create decoder - if (!this.decoders.hasOwnProperty(enc)) - this.decoders[enc] = this._createNamed(asn1.decoders[enc]); - return this.decoders[enc]; -}; - -Entity.prototype.decode = function decode(data, enc, options) { - return this._getDecoder(enc).decode(data, options); -}; - -Entity.prototype._getEncoder = function _getEncoder(enc) { - enc = enc || 'der'; - // Lazily create encoder - if (!this.encoders.hasOwnProperty(enc)) - this.encoders[enc] = this._createNamed(asn1.encoders[enc]); - return this.encoders[enc]; -}; - -Entity.prototype.encode = function encode(data, enc, /* internal */ reporter) { - return this._getEncoder(enc).encode(data, reporter); -}; - - -/***/ }), -/* 1132 */ -/*!*********************************************!*\ - !*** ./node_modules/vm-browserify/index.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var indexOf = function (xs, item) { - if (xs.indexOf) return xs.indexOf(item); - else for (var i = 0; i < xs.length; i++) { - if (xs[i] === item) return i; - } - return -1; -}; -var Object_keys = function (obj) { - if (Object.keys) return Object.keys(obj) - else { - var res = []; - for (var key in obj) res.push(key) - return res; - } -}; - -var forEach = function (xs, fn) { - if (xs.forEach) return xs.forEach(fn) - else for (var i = 0; i < xs.length; i++) { - fn(xs[i], i, xs); - } -}; - -var defineProp = (function() { - try { - Object.defineProperty({}, '_', {}); - return function(obj, name, value) { - Object.defineProperty(obj, name, { - writable: true, - enumerable: false, - configurable: true, - value: value - }) - }; - } catch(e) { - return function(obj, name, value) { - obj[name] = value; - }; - } -}()); - -var globals = ['Array', 'Boolean', 'Date', 'Error', 'EvalError', 'Function', -'Infinity', 'JSON', 'Math', 'NaN', 'Number', 'Object', 'RangeError', -'ReferenceError', 'RegExp', 'String', 'SyntaxError', 'TypeError', 'URIError', -'decodeURI', 'decodeURIComponent', 'encodeURI', 'encodeURIComponent', 'escape', -'eval', 'isFinite', 'isNaN', 'parseFloat', 'parseInt', 'undefined', 'unescape']; - -function Context() {} -Context.prototype = {}; - -var Script = exports.Script = function NodeScript (code) { - if (!(this instanceof Script)) return new Script(code); - this.code = code; -}; - -Script.prototype.runInContext = function (context) { - if (!(context instanceof Context)) { - throw new TypeError("needs a 'context' argument."); - } - - var iframe = document.createElement('iframe'); - if (!iframe.style) iframe.style = {}; - iframe.style.display = 'none'; - - document.body.appendChild(iframe); - - var win = iframe.contentWindow; - var wEval = win.eval, wExecScript = win.execScript; - - if (!wEval && wExecScript) { - // win.eval() magically appears when this is called in IE: - wExecScript.call(win, 'null'); - wEval = win.eval; - } - - forEach(Object_keys(context), function (key) { - win[key] = context[key]; - }); - forEach(globals, function (key) { - if (context[key]) { - win[key] = context[key]; - } - }); - - var winKeys = Object_keys(win); - - var res = wEval.call(win, this.code); - - forEach(Object_keys(win), function (key) { - // Avoid copying circular objects like `top` and `window` by only - // updating existing context properties or new properties in the `win` - // that was only introduced after the eval. - if (key in context || indexOf(winKeys, key) === -1) { - context[key] = win[key]; - } - }); - - forEach(globals, function (key) { - if (!(key in context)) { - defineProp(context, key, win[key]); - } - }); - - document.body.removeChild(iframe); - - return res; -}; - -Script.prototype.runInThisContext = function () { - return eval(this.code); // maybe... -}; - -Script.prototype.runInNewContext = function (context) { - var ctx = Script.createContext(context); - var res = this.runInContext(ctx); - - if (context) { - forEach(Object_keys(ctx), function (key) { - context[key] = ctx[key]; - }); - } - - return res; -}; - -forEach(Object_keys(Script.prototype), function (name) { - exports[name] = Script[name] = function (code) { - var s = Script(code); - return s[name].apply(s, [].slice.call(arguments, 1)); - }; -}); - -exports.isContext = function (context) { - return context instanceof Context; -}; - -exports.createScript = function (code) { - return exports.Script(code); -}; - -exports.createContext = Script.createContext = function (context) { - var copy = new Context(); - if(typeof context === 'object') { - forEach(Object_keys(context), function (key) { - copy[key] = context[key]; - }); - } - return copy; -}; - - -/***/ }), -/* 1133 */ -/*!*****************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/base/index.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var base = exports; - -base.Reporter = __webpack_require__(/*! ./reporter */ 1134).Reporter; -base.DecoderBuffer = __webpack_require__(/*! ./buffer */ 1135).DecoderBuffer; -base.EncoderBuffer = __webpack_require__(/*! ./buffer */ 1135).EncoderBuffer; -base.Node = __webpack_require__(/*! ./node */ 1136); - - -/***/ }), -/* 1134 */ -/*!********************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/base/reporter.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var inherits = __webpack_require__(/*! inherits */ 127); - -function Reporter(options) { - this._reporterState = { - obj: null, - path: [], - options: options || {}, - errors: [] - }; -} -exports.Reporter = Reporter; - -Reporter.prototype.isError = function isError(obj) { - return obj instanceof ReporterError; -}; - -Reporter.prototype.save = function save() { - var state = this._reporterState; - - return { obj: state.obj, pathLen: state.path.length }; -}; - -Reporter.prototype.restore = function restore(data) { - var state = this._reporterState; - - state.obj = data.obj; - state.path = state.path.slice(0, data.pathLen); -}; - -Reporter.prototype.enterKey = function enterKey(key) { - return this._reporterState.path.push(key); -}; - -Reporter.prototype.exitKey = function exitKey(index) { - var state = this._reporterState; - - state.path = state.path.slice(0, index - 1); -}; - -Reporter.prototype.leaveKey = function leaveKey(index, key, value) { - var state = this._reporterState; - - this.exitKey(index); - if (state.obj !== null) - state.obj[key] = value; -}; - -Reporter.prototype.path = function path() { - return this._reporterState.path.join('/'); -}; - -Reporter.prototype.enterObject = function enterObject() { - var state = this._reporterState; - - var prev = state.obj; - state.obj = {}; - return prev; -}; - -Reporter.prototype.leaveObject = function leaveObject(prev) { - var state = this._reporterState; - - var now = state.obj; - state.obj = prev; - return now; -}; - -Reporter.prototype.error = function error(msg) { - var err; - var state = this._reporterState; - - var inherited = msg instanceof ReporterError; - if (inherited) { - err = msg; - } else { - err = new ReporterError(state.path.map(function(elem) { - return '[' + JSON.stringify(elem) + ']'; - }).join(''), msg.message || msg, msg.stack); - } - - if (!state.options.partial) - throw err; - - if (!inherited) - state.errors.push(err); - - return err; -}; - -Reporter.prototype.wrapResult = function wrapResult(result) { - var state = this._reporterState; - if (!state.options.partial) - return result; - - return { - result: this.isError(result) ? null : result, - errors: state.errors - }; -}; - -function ReporterError(path, msg) { - this.path = path; - this.rethrow(msg); -}; -inherits(ReporterError, Error); - -ReporterError.prototype.rethrow = function rethrow(msg) { - this.message = msg + ' at: ' + (this.path || '(shallow)'); - if (Error.captureStackTrace) - Error.captureStackTrace(this, ReporterError); - - if (!this.stack) { - try { - // IE only adds stack when thrown - throw new Error(this.message); - } catch (e) { - this.stack = e.stack; - } - } - return this; -}; - - -/***/ }), -/* 1135 */ -/*!******************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/base/buffer.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var inherits = __webpack_require__(/*! inherits */ 127); -var Reporter = __webpack_require__(/*! ../base */ 1133).Reporter; -var Buffer = __webpack_require__(/*! buffer */ 40).Buffer; - -function DecoderBuffer(base, options) { - Reporter.call(this, options); - if (!Buffer.isBuffer(base)) { - this.error('Input not Buffer'); - return; - } - - this.base = base; - this.offset = 0; - this.length = base.length; -} -inherits(DecoderBuffer, Reporter); -exports.DecoderBuffer = DecoderBuffer; - -DecoderBuffer.prototype.save = function save() { - return { offset: this.offset, reporter: Reporter.prototype.save.call(this) }; -}; - -DecoderBuffer.prototype.restore = function restore(save) { - // Return skipped data - var res = new DecoderBuffer(this.base); - res.offset = save.offset; - res.length = this.offset; - - this.offset = save.offset; - Reporter.prototype.restore.call(this, save.reporter); - - return res; -}; - -DecoderBuffer.prototype.isEmpty = function isEmpty() { - return this.offset === this.length; -}; - -DecoderBuffer.prototype.readUInt8 = function readUInt8(fail) { - if (this.offset + 1 <= this.length) - return this.base.readUInt8(this.offset++, true); - else - return this.error(fail || 'DecoderBuffer overrun'); -} - -DecoderBuffer.prototype.skip = function skip(bytes, fail) { - if (!(this.offset + bytes <= this.length)) - return this.error(fail || 'DecoderBuffer overrun'); - - var res = new DecoderBuffer(this.base); - - // Share reporter state - res._reporterState = this._reporterState; - - res.offset = this.offset; - res.length = this.offset + bytes; - this.offset += bytes; - return res; -} - -DecoderBuffer.prototype.raw = function raw(save) { - return this.base.slice(save ? save.offset : this.offset, this.length); -} - -function EncoderBuffer(value, reporter) { - if (Array.isArray(value)) { - this.length = 0; - this.value = value.map(function(item) { - if (!(item instanceof EncoderBuffer)) - item = new EncoderBuffer(item, reporter); - this.length += item.length; - return item; - }, this); - } else if (typeof value === 'number') { - if (!(0 <= value && value <= 0xff)) - return reporter.error('non-byte EncoderBuffer value'); - this.value = value; - this.length = 1; - } else if (typeof value === 'string') { - this.value = value; - this.length = Buffer.byteLength(value); - } else if (Buffer.isBuffer(value)) { - this.value = value; - this.length = value.length; - } else { - return reporter.error('Unsupported type: ' + typeof value); - } -} -exports.EncoderBuffer = EncoderBuffer; - -EncoderBuffer.prototype.join = function join(out, offset) { - if (!out) - out = new Buffer(this.length); - if (!offset) - offset = 0; - - if (this.length === 0) - return out; - - if (Array.isArray(this.value)) { - this.value.forEach(function(item) { - item.join(out, offset); - offset += item.length; - }); - } else { - if (typeof this.value === 'number') - out[offset] = this.value; - else if (typeof this.value === 'string') - out.write(this.value, offset); - else if (Buffer.isBuffer(this.value)) - this.value.copy(out, offset); - offset += this.length; - } - - return out; -}; - - -/***/ }), -/* 1136 */ -/*!****************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/base/node.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var Reporter = __webpack_require__(/*! ../base */ 1133).Reporter; -var EncoderBuffer = __webpack_require__(/*! ../base */ 1133).EncoderBuffer; -var DecoderBuffer = __webpack_require__(/*! ../base */ 1133).DecoderBuffer; -var assert = __webpack_require__(/*! minimalistic-assert */ 126); - -// Supported tags -var tags = [ - 'seq', 'seqof', 'set', 'setof', 'objid', 'bool', - 'gentime', 'utctime', 'null_', 'enum', 'int', 'objDesc', - 'bitstr', 'bmpstr', 'charstr', 'genstr', 'graphstr', 'ia5str', 'iso646str', - 'numstr', 'octstr', 'printstr', 't61str', 'unistr', 'utf8str', 'videostr' -]; - -// Public methods list -var methods = [ - 'key', 'obj', 'use', 'optional', 'explicit', 'implicit', 'def', 'choice', - 'any', 'contains' -].concat(tags); - -// Overrided methods list -var overrided = [ - '_peekTag', '_decodeTag', '_use', - '_decodeStr', '_decodeObjid', '_decodeTime', - '_decodeNull', '_decodeInt', '_decodeBool', '_decodeList', - - '_encodeComposite', '_encodeStr', '_encodeObjid', '_encodeTime', - '_encodeNull', '_encodeInt', '_encodeBool' -]; - -function Node(enc, parent) { - var state = {}; - this._baseState = state; - - state.enc = enc; - - state.parent = parent || null; - state.children = null; - - // State - state.tag = null; - state.args = null; - state.reverseArgs = null; - state.choice = null; - state.optional = false; - state.any = false; - state.obj = false; - state.use = null; - state.useDecoder = null; - state.key = null; - state['default'] = null; - state.explicit = null; - state.implicit = null; - state.contains = null; - - // Should create new instance on each method - if (!state.parent) { - state.children = []; - this._wrap(); - } -} -module.exports = Node; - -var stateProps = [ - 'enc', 'parent', 'children', 'tag', 'args', 'reverseArgs', 'choice', - 'optional', 'any', 'obj', 'use', 'alteredUse', 'key', 'default', 'explicit', - 'implicit', 'contains' -]; - -Node.prototype.clone = function clone() { - var state = this._baseState; - var cstate = {}; - stateProps.forEach(function(prop) { - cstate[prop] = state[prop]; - }); - var res = new this.constructor(cstate.parent); - res._baseState = cstate; - return res; -}; - -Node.prototype._wrap = function wrap() { - var state = this._baseState; - methods.forEach(function(method) { - this[method] = function _wrappedMethod() { - var clone = new this.constructor(this); - state.children.push(clone); - return clone[method].apply(clone, arguments); - }; - }, this); -}; - -Node.prototype._init = function init(body) { - var state = this._baseState; - - assert(state.parent === null); - body.call(this); - - // Filter children - state.children = state.children.filter(function(child) { - return child._baseState.parent === this; - }, this); - assert.equal(state.children.length, 1, 'Root node can have only one child'); -}; - -Node.prototype._useArgs = function useArgs(args) { - var state = this._baseState; - - // Filter children and args - var children = args.filter(function(arg) { - return arg instanceof this.constructor; - }, this); - args = args.filter(function(arg) { - return !(arg instanceof this.constructor); - }, this); - - if (children.length !== 0) { - assert(state.children === null); - state.children = children; - - // Replace parent to maintain backward link - children.forEach(function(child) { - child._baseState.parent = this; - }, this); - } - if (args.length !== 0) { - assert(state.args === null); - state.args = args; - state.reverseArgs = args.map(function(arg) { - if (typeof arg !== 'object' || arg.constructor !== Object) - return arg; - - var res = {}; - Object.keys(arg).forEach(function(key) { - if (key == (key | 0)) - key |= 0; - var value = arg[key]; - res[value] = key; - }); - return res; - }); - } -}; - -// -// Overrided methods -// - -overrided.forEach(function(method) { - Node.prototype[method] = function _overrided() { - var state = this._baseState; - throw new Error(method + ' not implemented for encoding: ' + state.enc); - }; -}); - -// -// Public methods -// - -tags.forEach(function(tag) { - Node.prototype[tag] = function _tagMethod() { - var state = this._baseState; - var args = Array.prototype.slice.call(arguments); - - assert(state.tag === null); - state.tag = tag; - - this._useArgs(args); - - return this; - }; -}); - -Node.prototype.use = function use(item) { - assert(item); - var state = this._baseState; - - assert(state.use === null); - state.use = item; - - return this; -}; - -Node.prototype.optional = function optional() { - var state = this._baseState; - - state.optional = true; - - return this; -}; - -Node.prototype.def = function def(val) { - var state = this._baseState; - - assert(state['default'] === null); - state['default'] = val; - state.optional = true; - - return this; -}; - -Node.prototype.explicit = function explicit(num) { - var state = this._baseState; - - assert(state.explicit === null && state.implicit === null); - state.explicit = num; - - return this; -}; - -Node.prototype.implicit = function implicit(num) { - var state = this._baseState; - - assert(state.explicit === null && state.implicit === null); - state.implicit = num; - - return this; -}; - -Node.prototype.obj = function obj() { - var state = this._baseState; - var args = Array.prototype.slice.call(arguments); - - state.obj = true; - - if (args.length !== 0) - this._useArgs(args); - - return this; -}; - -Node.prototype.key = function key(newKey) { - var state = this._baseState; - - assert(state.key === null); - state.key = newKey; - - return this; -}; - -Node.prototype.any = function any() { - var state = this._baseState; - - state.any = true; - - return this; -}; - -Node.prototype.choice = function choice(obj) { - var state = this._baseState; - - assert(state.choice === null); - state.choice = obj; - this._useArgs(Object.keys(obj).map(function(key) { - return obj[key]; - })); - - return this; -}; - -Node.prototype.contains = function contains(item) { - var state = this._baseState; - - assert(state.use === null); - state.contains = item; - - return this; -}; - -// -// Decoding -// - -Node.prototype._decode = function decode(input, options) { - var state = this._baseState; - - // Decode root node - if (state.parent === null) - return input.wrapResult(state.children[0]._decode(input, options)); - - var result = state['default']; - var present = true; - - var prevKey = null; - if (state.key !== null) - prevKey = input.enterKey(state.key); - - // Check if tag is there - if (state.optional) { - var tag = null; - if (state.explicit !== null) - tag = state.explicit; - else if (state.implicit !== null) - tag = state.implicit; - else if (state.tag !== null) - tag = state.tag; - - if (tag === null && !state.any) { - // Trial and Error - var save = input.save(); - try { - if (state.choice === null) - this._decodeGeneric(state.tag, input, options); - else - this._decodeChoice(input, options); - present = true; - } catch (e) { - present = false; - } - input.restore(save); - } else { - present = this._peekTag(input, tag, state.any); - - if (input.isError(present)) - return present; - } - } - - // Push object on stack - var prevObj; - if (state.obj && present) - prevObj = input.enterObject(); - - if (present) { - // Unwrap explicit values - if (state.explicit !== null) { - var explicit = this._decodeTag(input, state.explicit); - if (input.isError(explicit)) - return explicit; - input = explicit; - } - - var start = input.offset; - - // Unwrap implicit and normal values - if (state.use === null && state.choice === null) { - if (state.any) - var save = input.save(); - var body = this._decodeTag( - input, - state.implicit !== null ? state.implicit : state.tag, - state.any - ); - if (input.isError(body)) - return body; - - if (state.any) - result = input.raw(save); - else - input = body; - } - - if (options && options.track && state.tag !== null) - options.track(input.path(), start, input.length, 'tagged'); - - if (options && options.track && state.tag !== null) - options.track(input.path(), input.offset, input.length, 'content'); - - // Select proper method for tag - if (state.any) - result = result; - else if (state.choice === null) - result = this._decodeGeneric(state.tag, input, options); - else - result = this._decodeChoice(input, options); - - if (input.isError(result)) - return result; - - // Decode children - if (!state.any && state.choice === null && state.children !== null) { - state.children.forEach(function decodeChildren(child) { - // NOTE: We are ignoring errors here, to let parser continue with other - // parts of encoded data - child._decode(input, options); - }); - } - - // Decode contained/encoded by schema, only in bit or octet strings - if (state.contains && (state.tag === 'octstr' || state.tag === 'bitstr')) { - var data = new DecoderBuffer(result); - result = this._getUse(state.contains, input._reporterState.obj) - ._decode(data, options); - } - } - - // Pop object - if (state.obj && present) - result = input.leaveObject(prevObj); - - // Set key - if (state.key !== null && (result !== null || present === true)) - input.leaveKey(prevKey, state.key, result); - else if (prevKey !== null) - input.exitKey(prevKey); - - return result; -}; - -Node.prototype._decodeGeneric = function decodeGeneric(tag, input, options) { - var state = this._baseState; - - if (tag === 'seq' || tag === 'set') - return null; - if (tag === 'seqof' || tag === 'setof') - return this._decodeList(input, tag, state.args[0], options); - else if (/str$/.test(tag)) - return this._decodeStr(input, tag, options); - else if (tag === 'objid' && state.args) - return this._decodeObjid(input, state.args[0], state.args[1], options); - else if (tag === 'objid') - return this._decodeObjid(input, null, null, options); - else if (tag === 'gentime' || tag === 'utctime') - return this._decodeTime(input, tag, options); - else if (tag === 'null_') - return this._decodeNull(input, options); - else if (tag === 'bool') - return this._decodeBool(input, options); - else if (tag === 'objDesc') - return this._decodeStr(input, tag, options); - else if (tag === 'int' || tag === 'enum') - return this._decodeInt(input, state.args && state.args[0], options); - - if (state.use !== null) { - return this._getUse(state.use, input._reporterState.obj) - ._decode(input, options); - } else { - return input.error('unknown tag: ' + tag); - } -}; - -Node.prototype._getUse = function _getUse(entity, obj) { - - var state = this._baseState; - // Create altered use decoder if implicit is set - state.useDecoder = this._use(entity, obj); - assert(state.useDecoder._baseState.parent === null); - state.useDecoder = state.useDecoder._baseState.children[0]; - if (state.implicit !== state.useDecoder._baseState.implicit) { - state.useDecoder = state.useDecoder.clone(); - state.useDecoder._baseState.implicit = state.implicit; - } - return state.useDecoder; -}; - -Node.prototype._decodeChoice = function decodeChoice(input, options) { - var state = this._baseState; - var result = null; - var match = false; - - Object.keys(state.choice).some(function(key) { - var save = input.save(); - var node = state.choice[key]; - try { - var value = node._decode(input, options); - if (input.isError(value)) - return false; - - result = { type: key, value: value }; - match = true; - } catch (e) { - input.restore(save); - return false; - } - return true; - }, this); - - if (!match) - return input.error('Choice not matched'); - - return result; -}; - -// -// Encoding -// - -Node.prototype._createEncoderBuffer = function createEncoderBuffer(data) { - return new EncoderBuffer(data, this.reporter); -}; - -Node.prototype._encode = function encode(data, reporter, parent) { - var state = this._baseState; - if (state['default'] !== null && state['default'] === data) - return; - - var result = this._encodeValue(data, reporter, parent); - if (result === undefined) - return; - - if (this._skipDefault(result, reporter, parent)) - return; - - return result; -}; - -Node.prototype._encodeValue = function encode(data, reporter, parent) { - var state = this._baseState; - - // Decode root node - if (state.parent === null) - return state.children[0]._encode(data, reporter || new Reporter()); - - var result = null; - - // Set reporter to share it with a child class - this.reporter = reporter; - - // Check if data is there - if (state.optional && data === undefined) { - if (state['default'] !== null) - data = state['default'] - else - return; - } - - // Encode children first - var content = null; - var primitive = false; - if (state.any) { - // Anything that was given is translated to buffer - result = this._createEncoderBuffer(data); - } else if (state.choice) { - result = this._encodeChoice(data, reporter); - } else if (state.contains) { - content = this._getUse(state.contains, parent)._encode(data, reporter); - primitive = true; - } else if (state.children) { - content = state.children.map(function(child) { - if (child._baseState.tag === 'null_') - return child._encode(null, reporter, data); - - if (child._baseState.key === null) - return reporter.error('Child should have a key'); - var prevKey = reporter.enterKey(child._baseState.key); - - if (typeof data !== 'object') - return reporter.error('Child expected, but input is not object'); - - var res = child._encode(data[child._baseState.key], reporter, data); - reporter.leaveKey(prevKey); - - return res; - }, this).filter(function(child) { - return child; - }); - content = this._createEncoderBuffer(content); - } else { - if (state.tag === 'seqof' || state.tag === 'setof') { - // TODO(indutny): this should be thrown on DSL level - if (!(state.args && state.args.length === 1)) - return reporter.error('Too many args for : ' + state.tag); - - if (!Array.isArray(data)) - return reporter.error('seqof/setof, but data is not Array'); - - var child = this.clone(); - child._baseState.implicit = null; - content = this._createEncoderBuffer(data.map(function(item) { - var state = this._baseState; - - return this._getUse(state.args[0], data)._encode(item, reporter); - }, child)); - } else if (state.use !== null) { - result = this._getUse(state.use, parent)._encode(data, reporter); - } else { - content = this._encodePrimitive(state.tag, data); - primitive = true; - } - } - - // Encode data itself - var result; - if (!state.any && state.choice === null) { - var tag = state.implicit !== null ? state.implicit : state.tag; - var cls = state.implicit === null ? 'universal' : 'context'; - - if (tag === null) { - if (state.use === null) - reporter.error('Tag could be omitted only for .use()'); - } else { - if (state.use === null) - result = this._encodeComposite(tag, primitive, cls, content); - } - } - - // Wrap in explicit - if (state.explicit !== null) - result = this._encodeComposite(state.explicit, false, 'context', result); - - return result; -}; - -Node.prototype._encodeChoice = function encodeChoice(data, reporter) { - var state = this._baseState; - - var node = state.choice[data.type]; - if (!node) { - assert( - false, - data.type + ' not found in ' + - JSON.stringify(Object.keys(state.choice))); - } - return node._encode(data.value, reporter); -}; - -Node.prototype._encodePrimitive = function encodePrimitive(tag, data) { - var state = this._baseState; - - if (/str$/.test(tag)) - return this._encodeStr(data, tag); - else if (tag === 'objid' && state.args) - return this._encodeObjid(data, state.reverseArgs[0], state.args[1]); - else if (tag === 'objid') - return this._encodeObjid(data, null, null); - else if (tag === 'gentime' || tag === 'utctime') - return this._encodeTime(data, tag); - else if (tag === 'null_') - return this._encodeNull(); - else if (tag === 'int' || tag === 'enum') - return this._encodeInt(data, state.args && state.reverseArgs[0]); - else if (tag === 'bool') - return this._encodeBool(data); - else if (tag === 'objDesc') - return this._encodeStr(data, tag); - else - throw new Error('Unsupported tag: ' + tag); -}; - -Node.prototype._isNumstr = function isNumstr(str) { - return /^[0-9 ]*$/.test(str); -}; - -Node.prototype._isPrintstr = function isPrintstr(str) { - return /^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(str); -}; - - -/***/ }), -/* 1137 */ -/*!**********************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/constants/index.js ***! - \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var constants = exports; - -// Helper -constants._reverse = function reverse(map) { - var res = {}; - - Object.keys(map).forEach(function(key) { - // Convert key to integer if it is stringified - if ((key | 0) == key) - key = key | 0; - - var value = map[key]; - res[value] = key; - }); - - return res; -}; - -constants.der = __webpack_require__(/*! ./der */ 1138); - - -/***/ }), -/* 1138 */ -/*!********************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/constants/der.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var constants = __webpack_require__(/*! ../constants */ 1137); - -exports.tagClass = { - 0: 'universal', - 1: 'application', - 2: 'context', - 3: 'private' -}; -exports.tagClassByName = constants._reverse(exports.tagClass); - -exports.tag = { - 0x00: 'end', - 0x01: 'bool', - 0x02: 'int', - 0x03: 'bitstr', - 0x04: 'octstr', - 0x05: 'null_', - 0x06: 'objid', - 0x07: 'objDesc', - 0x08: 'external', - 0x09: 'real', - 0x0a: 'enum', - 0x0b: 'embed', - 0x0c: 'utf8str', - 0x0d: 'relativeOid', - 0x10: 'seq', - 0x11: 'set', - 0x12: 'numstr', - 0x13: 'printstr', - 0x14: 't61str', - 0x15: 'videostr', - 0x16: 'ia5str', - 0x17: 'utctime', - 0x18: 'gentime', - 0x19: 'graphstr', - 0x1a: 'iso646str', - 0x1b: 'genstr', - 0x1c: 'unistr', - 0x1d: 'charstr', - 0x1e: 'bmpstr' -}; -exports.tagByName = constants._reverse(exports.tag); - - -/***/ }), -/* 1139 */ -/*!*********************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/decoders/index.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var decoders = exports; - -decoders.der = __webpack_require__(/*! ./der */ 1140); -decoders.pem = __webpack_require__(/*! ./pem */ 1141); - - -/***/ }), -/* 1140 */ -/*!*******************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/decoders/der.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var inherits = __webpack_require__(/*! inherits */ 127); - -var asn1 = __webpack_require__(/*! ../../asn1 */ 1130); -var base = asn1.base; -var bignum = asn1.bignum; - -// Import DER constants -var der = asn1.constants.der; - -function DERDecoder(entity) { - this.enc = 'der'; - this.name = entity.name; - this.entity = entity; - - // Construct base tree - this.tree = new DERNode(); - this.tree._init(entity.body); -}; -module.exports = DERDecoder; - -DERDecoder.prototype.decode = function decode(data, options) { - if (!(data instanceof base.DecoderBuffer)) - data = new base.DecoderBuffer(data, options); - - return this.tree._decode(data, options); -}; - -// Tree methods - -function DERNode(parent) { - base.Node.call(this, 'der', parent); -} -inherits(DERNode, base.Node); - -DERNode.prototype._peekTag = function peekTag(buffer, tag, any) { - if (buffer.isEmpty()) - return false; - - var state = buffer.save(); - var decodedTag = derDecodeTag(buffer, 'Failed to peek tag: "' + tag + '"'); - if (buffer.isError(decodedTag)) - return decodedTag; - - buffer.restore(state); - - return decodedTag.tag === tag || decodedTag.tagStr === tag || - (decodedTag.tagStr + 'of') === tag || any; -}; - -DERNode.prototype._decodeTag = function decodeTag(buffer, tag, any) { - var decodedTag = derDecodeTag(buffer, - 'Failed to decode tag of "' + tag + '"'); - if (buffer.isError(decodedTag)) - return decodedTag; - - var len = derDecodeLen(buffer, - decodedTag.primitive, - 'Failed to get length of "' + tag + '"'); - - // Failure - if (buffer.isError(len)) - return len; - - if (!any && - decodedTag.tag !== tag && - decodedTag.tagStr !== tag && - decodedTag.tagStr + 'of' !== tag) { - return buffer.error('Failed to match tag: "' + tag + '"'); - } - - if (decodedTag.primitive || len !== null) - return buffer.skip(len, 'Failed to match body of: "' + tag + '"'); - - // Indefinite length... find END tag - var state = buffer.save(); - var res = this._skipUntilEnd( - buffer, - 'Failed to skip indefinite length body: "' + this.tag + '"'); - if (buffer.isError(res)) - return res; - - len = buffer.offset - state.offset; - buffer.restore(state); - return buffer.skip(len, 'Failed to match body of: "' + tag + '"'); -}; - -DERNode.prototype._skipUntilEnd = function skipUntilEnd(buffer, fail) { - while (true) { - var tag = derDecodeTag(buffer, fail); - if (buffer.isError(tag)) - return tag; - var len = derDecodeLen(buffer, tag.primitive, fail); - if (buffer.isError(len)) - return len; - - var res; - if (tag.primitive || len !== null) - res = buffer.skip(len) - else - res = this._skipUntilEnd(buffer, fail); - - // Failure - if (buffer.isError(res)) - return res; - - if (tag.tagStr === 'end') - break; - } -}; - -DERNode.prototype._decodeList = function decodeList(buffer, tag, decoder, - options) { - var result = []; - while (!buffer.isEmpty()) { - var possibleEnd = this._peekTag(buffer, 'end'); - if (buffer.isError(possibleEnd)) - return possibleEnd; - - var res = decoder.decode(buffer, 'der', options); - if (buffer.isError(res) && possibleEnd) - break; - result.push(res); - } - return result; -}; - -DERNode.prototype._decodeStr = function decodeStr(buffer, tag) { - if (tag === 'bitstr') { - var unused = buffer.readUInt8(); - if (buffer.isError(unused)) - return unused; - return { unused: unused, data: buffer.raw() }; - } else if (tag === 'bmpstr') { - var raw = buffer.raw(); - if (raw.length % 2 === 1) - return buffer.error('Decoding of string type: bmpstr length mismatch'); - - var str = ''; - for (var i = 0; i < raw.length / 2; i++) { - str += String.fromCharCode(raw.readUInt16BE(i * 2)); - } - return str; - } else if (tag === 'numstr') { - var numstr = buffer.raw().toString('ascii'); - if (!this._isNumstr(numstr)) { - return buffer.error('Decoding of string type: ' + - 'numstr unsupported characters'); - } - return numstr; - } else if (tag === 'octstr') { - return buffer.raw(); - } else if (tag === 'objDesc') { - return buffer.raw(); - } else if (tag === 'printstr') { - var printstr = buffer.raw().toString('ascii'); - if (!this._isPrintstr(printstr)) { - return buffer.error('Decoding of string type: ' + - 'printstr unsupported characters'); - } - return printstr; - } else if (/str$/.test(tag)) { - return buffer.raw().toString(); - } else { - return buffer.error('Decoding of string type: ' + tag + ' unsupported'); - } -}; - -DERNode.prototype._decodeObjid = function decodeObjid(buffer, values, relative) { - var result; - var identifiers = []; - var ident = 0; - while (!buffer.isEmpty()) { - var subident = buffer.readUInt8(); - ident <<= 7; - ident |= subident & 0x7f; - if ((subident & 0x80) === 0) { - identifiers.push(ident); - ident = 0; - } - } - if (subident & 0x80) - identifiers.push(ident); - - var first = (identifiers[0] / 40) | 0; - var second = identifiers[0] % 40; - - if (relative) - result = identifiers; - else - result = [first, second].concat(identifiers.slice(1)); - - if (values) { - var tmp = values[result.join(' ')]; - if (tmp === undefined) - tmp = values[result.join('.')]; - if (tmp !== undefined) - result = tmp; - } - - return result; -}; - -DERNode.prototype._decodeTime = function decodeTime(buffer, tag) { - var str = buffer.raw().toString(); - if (tag === 'gentime') { - var year = str.slice(0, 4) | 0; - var mon = str.slice(4, 6) | 0; - var day = str.slice(6, 8) | 0; - var hour = str.slice(8, 10) | 0; - var min = str.slice(10, 12) | 0; - var sec = str.slice(12, 14) | 0; - } else if (tag === 'utctime') { - var year = str.slice(0, 2) | 0; - var mon = str.slice(2, 4) | 0; - var day = str.slice(4, 6) | 0; - var hour = str.slice(6, 8) | 0; - var min = str.slice(8, 10) | 0; - var sec = str.slice(10, 12) | 0; - if (year < 70) - year = 2000 + year; - else - year = 1900 + year; - } else { - return buffer.error('Decoding ' + tag + ' time is not supported yet'); - } - - return Date.UTC(year, mon - 1, day, hour, min, sec, 0); -}; - -DERNode.prototype._decodeNull = function decodeNull(buffer) { - return null; -}; - -DERNode.prototype._decodeBool = function decodeBool(buffer) { - var res = buffer.readUInt8(); - if (buffer.isError(res)) - return res; - else - return res !== 0; -}; - -DERNode.prototype._decodeInt = function decodeInt(buffer, values) { - // Bigint, return as it is (assume big endian) - var raw = buffer.raw(); - var res = new bignum(raw); - - if (values) - res = values[res.toString(10)] || res; - - return res; -}; - -DERNode.prototype._use = function use(entity, obj) { - if (typeof entity === 'function') - entity = entity(obj); - return entity._getDecoder('der').tree; -}; - -// Utility methods - -function derDecodeTag(buf, fail) { - var tag = buf.readUInt8(fail); - if (buf.isError(tag)) - return tag; - - var cls = der.tagClass[tag >> 6]; - var primitive = (tag & 0x20) === 0; - - // Multi-octet tag - load - if ((tag & 0x1f) === 0x1f) { - var oct = tag; - tag = 0; - while ((oct & 0x80) === 0x80) { - oct = buf.readUInt8(fail); - if (buf.isError(oct)) - return oct; - - tag <<= 7; - tag |= oct & 0x7f; - } - } else { - tag &= 0x1f; - } - var tagStr = der.tag[tag]; - - return { - cls: cls, - primitive: primitive, - tag: tag, - tagStr: tagStr - }; -} - -function derDecodeLen(buf, primitive, fail) { - var len = buf.readUInt8(fail); - if (buf.isError(len)) - return len; - - // Indefinite form - if (!primitive && len === 0x80) - return null; - - // Definite form - if ((len & 0x80) === 0) { - // Short form - return len; - } - - // Long form - var num = len & 0x7f; - if (num > 4) - return buf.error('length octect is too long'); - - len = 0; - for (var i = 0; i < num; i++) { - len <<= 8; - var j = buf.readUInt8(fail); - if (buf.isError(j)) - return j; - len |= j; - } - - return len; -} - - -/***/ }), -/* 1141 */ -/*!*******************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/decoders/pem.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var inherits = __webpack_require__(/*! inherits */ 127); -var Buffer = __webpack_require__(/*! buffer */ 40).Buffer; - -var DERDecoder = __webpack_require__(/*! ./der */ 1140); - -function PEMDecoder(entity) { - DERDecoder.call(this, entity); - this.enc = 'pem'; -}; -inherits(PEMDecoder, DERDecoder); -module.exports = PEMDecoder; - -PEMDecoder.prototype.decode = function decode(data, options) { - var lines = data.toString().split(/[\r\n]+/g); - - var label = options.label.toUpperCase(); - - var re = /^-----(BEGIN|END) ([^-]+)-----$/; - var start = -1; - var end = -1; - for (var i = 0; i < lines.length; i++) { - var match = lines[i].match(re); - if (match === null) - continue; - - if (match[2] !== label) - continue; - - if (start === -1) { - if (match[1] !== 'BEGIN') - break; - start = i; - } else { - if (match[1] !== 'END') - break; - end = i; - break; - } - } - if (start === -1 || end === -1) - throw new Error('PEM section not found for: ' + label); - - var base64 = lines.slice(start + 1, end).join(''); - // Remove excessive symbols - base64.replace(/[^a-z0-9\+\/=]+/gi, ''); - - var input = new Buffer(base64, 'base64'); - return DERDecoder.prototype.decode.call(this, input, options); -}; - - -/***/ }), -/* 1142 */ -/*!*********************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/encoders/index.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var encoders = exports; - -encoders.der = __webpack_require__(/*! ./der */ 1143); -encoders.pem = __webpack_require__(/*! ./pem */ 1144); - - -/***/ }), -/* 1143 */ -/*!*******************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/encoders/der.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var inherits = __webpack_require__(/*! inherits */ 127); -var Buffer = __webpack_require__(/*! buffer */ 40).Buffer; - -var asn1 = __webpack_require__(/*! ../../asn1 */ 1130); -var base = asn1.base; - -// Import DER constants -var der = asn1.constants.der; - -function DEREncoder(entity) { - this.enc = 'der'; - this.name = entity.name; - this.entity = entity; - - // Construct base tree - this.tree = new DERNode(); - this.tree._init(entity.body); -}; -module.exports = DEREncoder; - -DEREncoder.prototype.encode = function encode(data, reporter) { - return this.tree._encode(data, reporter).join(); -}; - -// Tree methods - -function DERNode(parent) { - base.Node.call(this, 'der', parent); -} -inherits(DERNode, base.Node); - -DERNode.prototype._encodeComposite = function encodeComposite(tag, - primitive, - cls, - content) { - var encodedTag = encodeTag(tag, primitive, cls, this.reporter); - - // Short form - if (content.length < 0x80) { - var header = new Buffer(2); - header[0] = encodedTag; - header[1] = content.length; - return this._createEncoderBuffer([ header, content ]); - } - - // Long form - // Count octets required to store length - var lenOctets = 1; - for (var i = content.length; i >= 0x100; i >>= 8) - lenOctets++; - - var header = new Buffer(1 + 1 + lenOctets); - header[0] = encodedTag; - header[1] = 0x80 | lenOctets; - - for (var i = 1 + lenOctets, j = content.length; j > 0; i--, j >>= 8) - header[i] = j & 0xff; - - return this._createEncoderBuffer([ header, content ]); -}; - -DERNode.prototype._encodeStr = function encodeStr(str, tag) { - if (tag === 'bitstr') { - return this._createEncoderBuffer([ str.unused | 0, str.data ]); - } else if (tag === 'bmpstr') { - var buf = new Buffer(str.length * 2); - for (var i = 0; i < str.length; i++) { - buf.writeUInt16BE(str.charCodeAt(i), i * 2); - } - return this._createEncoderBuffer(buf); - } else if (tag === 'numstr') { - if (!this._isNumstr(str)) { - return this.reporter.error('Encoding of string type: numstr supports ' + - 'only digits and space'); - } - return this._createEncoderBuffer(str); - } else if (tag === 'printstr') { - if (!this._isPrintstr(str)) { - return this.reporter.error('Encoding of string type: printstr supports ' + - 'only latin upper and lower case letters, ' + - 'digits, space, apostrophe, left and rigth ' + - 'parenthesis, plus sign, comma, hyphen, ' + - 'dot, slash, colon, equal sign, ' + - 'question mark'); - } - return this._createEncoderBuffer(str); - } else if (/str$/.test(tag)) { - return this._createEncoderBuffer(str); - } else if (tag === 'objDesc') { - return this._createEncoderBuffer(str); - } else { - return this.reporter.error('Encoding of string type: ' + tag + - ' unsupported'); - } -}; - -DERNode.prototype._encodeObjid = function encodeObjid(id, values, relative) { - if (typeof id === 'string') { - if (!values) - return this.reporter.error('string objid given, but no values map found'); - if (!values.hasOwnProperty(id)) - return this.reporter.error('objid not found in values map'); - id = values[id].split(/[\s\.]+/g); - for (var i = 0; i < id.length; i++) - id[i] |= 0; - } else if (Array.isArray(id)) { - id = id.slice(); - for (var i = 0; i < id.length; i++) - id[i] |= 0; - } - - if (!Array.isArray(id)) { - return this.reporter.error('objid() should be either array or string, ' + - 'got: ' + JSON.stringify(id)); - } - - if (!relative) { - if (id[1] >= 40) - return this.reporter.error('Second objid identifier OOB'); - id.splice(0, 2, id[0] * 40 + id[1]); - } - - // Count number of octets - var size = 0; - for (var i = 0; i < id.length; i++) { - var ident = id[i]; - for (size++; ident >= 0x80; ident >>= 7) - size++; - } - - var objid = new Buffer(size); - var offset = objid.length - 1; - for (var i = id.length - 1; i >= 0; i--) { - var ident = id[i]; - objid[offset--] = ident & 0x7f; - while ((ident >>= 7) > 0) - objid[offset--] = 0x80 | (ident & 0x7f); - } - - return this._createEncoderBuffer(objid); -}; - -function two(num) { - if (num < 10) - return '0' + num; - else - return num; -} - -DERNode.prototype._encodeTime = function encodeTime(time, tag) { - var str; - var date = new Date(time); - - if (tag === 'gentime') { - str = [ - two(date.getFullYear()), - two(date.getUTCMonth() + 1), - two(date.getUTCDate()), - two(date.getUTCHours()), - two(date.getUTCMinutes()), - two(date.getUTCSeconds()), - 'Z' - ].join(''); - } else if (tag === 'utctime') { - str = [ - two(date.getFullYear() % 100), - two(date.getUTCMonth() + 1), - two(date.getUTCDate()), - two(date.getUTCHours()), - two(date.getUTCMinutes()), - two(date.getUTCSeconds()), - 'Z' - ].join(''); - } else { - this.reporter.error('Encoding ' + tag + ' time is not supported yet'); - } - - return this._encodeStr(str, 'octstr'); -}; - -DERNode.prototype._encodeNull = function encodeNull() { - return this._createEncoderBuffer(''); -}; - -DERNode.prototype._encodeInt = function encodeInt(num, values) { - if (typeof num === 'string') { - if (!values) - return this.reporter.error('String int or enum given, but no values map'); - if (!values.hasOwnProperty(num)) { - return this.reporter.error('Values map doesn\'t contain: ' + - JSON.stringify(num)); - } - num = values[num]; - } - - // Bignum, assume big endian - if (typeof num !== 'number' && !Buffer.isBuffer(num)) { - var numArray = num.toArray(); - if (!num.sign && numArray[0] & 0x80) { - numArray.unshift(0); - } - num = new Buffer(numArray); - } - - if (Buffer.isBuffer(num)) { - var size = num.length; - if (num.length === 0) - size++; - - var out = new Buffer(size); - num.copy(out); - if (num.length === 0) - out[0] = 0 - return this._createEncoderBuffer(out); - } - - if (num < 0x80) - return this._createEncoderBuffer(num); - - if (num < 0x100) - return this._createEncoderBuffer([0, num]); - - var size = 1; - for (var i = num; i >= 0x100; i >>= 8) - size++; - - var out = new Array(size); - for (var i = out.length - 1; i >= 0; i--) { - out[i] = num & 0xff; - num >>= 8; - } - if(out[0] & 0x80) { - out.unshift(0); - } - - return this._createEncoderBuffer(new Buffer(out)); -}; - -DERNode.prototype._encodeBool = function encodeBool(value) { - return this._createEncoderBuffer(value ? 0xff : 0); -}; - -DERNode.prototype._use = function use(entity, obj) { - if (typeof entity === 'function') - entity = entity(obj); - return entity._getEncoder('der').tree; -}; - -DERNode.prototype._skipDefault = function skipDefault(dataBuffer, reporter, parent) { - var state = this._baseState; - var i; - if (state['default'] === null) - return false; - - var data = dataBuffer.join(); - if (state.defaultBuffer === undefined) - state.defaultBuffer = this._encodeValue(state['default'], reporter, parent).join(); - - if (data.length !== state.defaultBuffer.length) - return false; - - for (i=0; i < data.length; i++) - if (data[i] !== state.defaultBuffer[i]) - return false; - - return true; -}; - -// Utility methods - -function encodeTag(tag, primitive, cls, reporter) { - var res; - - if (tag === 'seqof') - tag = 'seq'; - else if (tag === 'setof') - tag = 'set'; - - if (der.tagByName.hasOwnProperty(tag)) - res = der.tagByName[tag]; - else if (typeof tag === 'number' && (tag | 0) === tag) - res = tag; - else - return reporter.error('Unknown tag: ' + tag); - - if (res >= 0x1f) - return reporter.error('Multi-octet tag encoding unsupported'); - - if (!primitive) - res |= 0x20; - - res |= (der.tagClassByName[cls || 'universal'] << 6); - - return res; -} - - -/***/ }), -/* 1144 */ -/*!*******************************************************!*\ - !*** ./node_modules/asn1.js/lib/asn1/encoders/pem.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var inherits = __webpack_require__(/*! inherits */ 127); - -var DEREncoder = __webpack_require__(/*! ./der */ 1143); - -function PEMEncoder(entity) { - DEREncoder.call(this, entity); - this.enc = 'pem'; -}; -inherits(PEMEncoder, DEREncoder); -module.exports = PEMEncoder; - -PEMEncoder.prototype.encode = function encode(data, options) { - var buf = DEREncoder.prototype.encode.call(this, data); - - var p = buf.toString('base64'); - var out = [ '-----BEGIN ' + options.label + '-----' ]; - for (var i = 0; i < p.length; i += 64) - out.push(p.slice(i, i + 64)); - out.push('-----END ' + options.label + '-----'); - return out.join('\n'); -}; - - -/***/ }), -/* 1145 */ -/*!************************************************!*\ - !*** ./node_modules/parse-asn1/certificate.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -// from https://github.com/Rantanen/node-dtls/blob/25a7dc861bda38cfeac93a723500eea4f0ac2e86/Certificate.js -// thanks to @Rantanen - - - -var asn = __webpack_require__(/*! asn1.js */ 1130) - -var Time = asn.define('Time', function () { - this.choice({ - utcTime: this.utctime(), - generalTime: this.gentime() - }) -}) - -var AttributeTypeValue = asn.define('AttributeTypeValue', function () { - this.seq().obj( - this.key('type').objid(), - this.key('value').any() - ) -}) - -var AlgorithmIdentifier = asn.define('AlgorithmIdentifier', function () { - this.seq().obj( - this.key('algorithm').objid(), - this.key('parameters').optional(), - this.key('curve').objid().optional() - ) -}) - -var SubjectPublicKeyInfo = asn.define('SubjectPublicKeyInfo', function () { - this.seq().obj( - this.key('algorithm').use(AlgorithmIdentifier), - this.key('subjectPublicKey').bitstr() - ) -}) - -var RelativeDistinguishedName = asn.define('RelativeDistinguishedName', function () { - this.setof(AttributeTypeValue) -}) - -var RDNSequence = asn.define('RDNSequence', function () { - this.seqof(RelativeDistinguishedName) -}) - -var Name = asn.define('Name', function () { - this.choice({ - rdnSequence: this.use(RDNSequence) - }) -}) - -var Validity = asn.define('Validity', function () { - this.seq().obj( - this.key('notBefore').use(Time), - this.key('notAfter').use(Time) - ) -}) - -var Extension = asn.define('Extension', function () { - this.seq().obj( - this.key('extnID').objid(), - this.key('critical').bool().def(false), - this.key('extnValue').octstr() - ) -}) - -var TBSCertificate = asn.define('TBSCertificate', function () { - this.seq().obj( - this.key('version').explicit(0).int().optional(), - this.key('serialNumber').int(), - this.key('signature').use(AlgorithmIdentifier), - this.key('issuer').use(Name), - this.key('validity').use(Validity), - this.key('subject').use(Name), - this.key('subjectPublicKeyInfo').use(SubjectPublicKeyInfo), - this.key('issuerUniqueID').implicit(1).bitstr().optional(), - this.key('subjectUniqueID').implicit(2).bitstr().optional(), - this.key('extensions').explicit(3).seqof(Extension).optional() - ) -}) - -var X509Certificate = asn.define('X509Certificate', function () { - this.seq().obj( - this.key('tbsCertificate').use(TBSCertificate), - this.key('signatureAlgorithm').use(AlgorithmIdentifier), - this.key('signatureValue').bitstr() - ) -}) - -module.exports = X509Certificate - - -/***/ }), -/* 1146 */ -/*!********************************************!*\ - !*** ./node_modules/parse-asn1/aesid.json ***! - \********************************************/ -/*! exports provided: 2.16.840.1.101.3.4.1.1, 2.16.840.1.101.3.4.1.2, 2.16.840.1.101.3.4.1.3, 2.16.840.1.101.3.4.1.4, 2.16.840.1.101.3.4.1.21, 2.16.840.1.101.3.4.1.22, 2.16.840.1.101.3.4.1.23, 2.16.840.1.101.3.4.1.24, 2.16.840.1.101.3.4.1.41, 2.16.840.1.101.3.4.1.42, 2.16.840.1.101.3.4.1.43, 2.16.840.1.101.3.4.1.44, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"2.16.840.1.101.3.4.1.1\":\"aes-128-ecb\",\"2.16.840.1.101.3.4.1.2\":\"aes-128-cbc\",\"2.16.840.1.101.3.4.1.3\":\"aes-128-ofb\",\"2.16.840.1.101.3.4.1.4\":\"aes-128-cfb\",\"2.16.840.1.101.3.4.1.21\":\"aes-192-ecb\",\"2.16.840.1.101.3.4.1.22\":\"aes-192-cbc\",\"2.16.840.1.101.3.4.1.23\":\"aes-192-ofb\",\"2.16.840.1.101.3.4.1.24\":\"aes-192-cfb\",\"2.16.840.1.101.3.4.1.41\":\"aes-256-ecb\",\"2.16.840.1.101.3.4.1.42\":\"aes-256-cbc\",\"2.16.840.1.101.3.4.1.43\":\"aes-256-ofb\",\"2.16.840.1.101.3.4.1.44\":\"aes-256-cfb\"}"); - -/***/ }), -/* 1147 */ -/*!********************************************!*\ - !*** ./node_modules/parse-asn1/fixProc.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// adapted from https://github.com/apatil/pemstrip -var findProc = /Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m -var startRegex = /^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m -var fullRegex = /^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m -var evp = __webpack_require__(/*! evp_bytestokey */ 1117) -var ciphers = __webpack_require__(/*! browserify-aes */ 1100) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -module.exports = function (okey, password) { - var key = okey.toString() - var match = key.match(findProc) - var decrypted - if (!match) { - var match2 = key.match(fullRegex) - decrypted = new Buffer(match2[2].replace(/[\r\n]/g, ''), 'base64') - } else { - var suite = 'aes' + match[1] - var iv = Buffer.from(match[2], 'hex') - var cipherText = Buffer.from(match[3].replace(/[\r\n]/g, ''), 'base64') - var cipherKey = evp(password, iv.slice(0, 8), parseInt(match[1], 10)).key - var out = [] - var cipher = ciphers.createDecipheriv(suite, cipherKey, iv) - out.push(cipher.update(cipherText)) - out.push(cipher.final()) - decrypted = Buffer.concat(out) - } - var tag = key.match(startRegex)[1] - return { - tag: tag, - data: decrypted - } -} - - -/***/ }), -/* 1148 */ -/*!**********************************************************!*\ - !*** ./node_modules/browserify-sign/browser/curves.json ***! - \**********************************************************/ -/*! exports provided: 1.3.132.0.10, 1.3.132.0.33, 1.2.840.10045.3.1.1, 1.2.840.10045.3.1.7, 1.3.132.0.34, 1.3.132.0.35, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"1.3.132.0.10\":\"secp256k1\",\"1.3.132.0.33\":\"p224\",\"1.2.840.10045.3.1.1\":\"p192\",\"1.2.840.10045.3.1.7\":\"p256\",\"1.3.132.0.34\":\"p384\",\"1.3.132.0.35\":\"p521\"}"); - -/***/ }), -/* 1149 */ -/*!********************************************************!*\ - !*** ./node_modules/browserify-sign/browser/verify.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer -var BN = __webpack_require__(/*! bn.js */ 70) -var EC = __webpack_require__(/*! elliptic */ 205).ec -var parseKeys = __webpack_require__(/*! parse-asn1 */ 1128) -var curves = __webpack_require__(/*! ./curves.json */ 1148) - -function verify (sig, hash, key, signType, tag) { - var pub = parseKeys(key) - if (pub.type === 'ec') { - // rsa keys can be interpreted as ecdsa ones in openssl - if (signType !== 'ecdsa' && signType !== 'ecdsa/rsa') throw new Error('wrong public key type') - return ecVerify(sig, hash, pub) - } else if (pub.type === 'dsa') { - if (signType !== 'dsa') throw new Error('wrong public key type') - return dsaVerify(sig, hash, pub) - } else { - if (signType !== 'rsa' && signType !== 'ecdsa/rsa') throw new Error('wrong public key type') - } - hash = Buffer.concat([tag, hash]) - var len = pub.modulus.byteLength() - var pad = [1] - var padNum = 0 - while (hash.length + pad.length + 2 < len) { - pad.push(0xff) - padNum++ - } - pad.push(0x00) - var i = -1 - while (++i < hash.length) { - pad.push(hash[i]) - } - pad = Buffer.from(pad) - var red = BN.mont(pub.modulus) - sig = new BN(sig).toRed(red) - - sig = sig.redPow(new BN(pub.publicExponent)) - sig = Buffer.from(sig.fromRed().toArray()) - var out = padNum < 8 ? 1 : 0 - len = Math.min(sig.length, pad.length) - if (sig.length !== pad.length) out = 1 - - i = -1 - while (++i < len) out |= sig[i] ^ pad[i] - return out === 0 -} - -function ecVerify (sig, hash, pub) { - var curveId = curves[pub.data.algorithm.curve.join('.')] - if (!curveId) throw new Error('unknown curve ' + pub.data.algorithm.curve.join('.')) - - var curve = new EC(curveId) - var pubkey = pub.data.subjectPrivateKey.data - - return curve.verify(hash, sig, pubkey) -} - -function dsaVerify (sig, hash, pub) { - var p = pub.data.p - var q = pub.data.q - var g = pub.data.g - var y = pub.data.pub_key - var unpacked = parseKeys.signature.decode(sig, 'der') - var s = unpacked.s - var r = unpacked.r - checkValue(s, q) - checkValue(r, q) - var montp = BN.mont(p) - var w = s.invm(q) - var v = g.toRed(montp) - .redPow(new BN(hash).mul(w).mod(q)) - .fromRed() - .mul(y.toRed(montp).redPow(r.mul(w).mod(q)).fromRed()) - .mod(p) - .mod(q) - return v.cmp(r) === 0 -} - -function checkValue (b, q) { - if (b.cmpn(0) <= 0) throw new Error('invalid sig') - if (b.cmp(q) >= q) throw new Error('invalid sig') -} - -module.exports = verify - - -/***/ }), -/* 1150 */ -/*!*********************************************!*\ - !*** ./node_modules/create-ecdh/browser.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(Buffer) {var elliptic = __webpack_require__(/*! elliptic */ 205) -var BN = __webpack_require__(/*! bn.js */ 70) - -module.exports = function createECDH (curve) { - return new ECDH(curve) -} - -var aliases = { - secp256k1: { - name: 'secp256k1', - byteLength: 32 - }, - secp224r1: { - name: 'p224', - byteLength: 28 - }, - prime256v1: { - name: 'p256', - byteLength: 32 - }, - prime192v1: { - name: 'p192', - byteLength: 24 - }, - ed25519: { - name: 'ed25519', - byteLength: 32 - }, - secp384r1: { - name: 'p384', - byteLength: 48 - }, - secp521r1: { - name: 'p521', - byteLength: 66 - } -} - -aliases.p224 = aliases.secp224r1 -aliases.p256 = aliases.secp256r1 = aliases.prime256v1 -aliases.p192 = aliases.secp192r1 = aliases.prime192v1 -aliases.p384 = aliases.secp384r1 -aliases.p521 = aliases.secp521r1 - -function ECDH (curve) { - this.curveType = aliases[curve] - if (!this.curveType) { - this.curveType = { - name: curve - } - } - this.curve = new elliptic.ec(this.curveType.name) // eslint-disable-line new-cap - this.keys = void 0 -} - -ECDH.prototype.generateKeys = function (enc, format) { - this.keys = this.curve.genKeyPair() - return this.getPublicKey(enc, format) -} - -ECDH.prototype.computeSecret = function (other, inenc, enc) { - inenc = inenc || 'utf8' - if (!Buffer.isBuffer(other)) { - other = new Buffer(other, inenc) - } - var otherPub = this.curve.keyFromPublic(other).getPublic() - var out = otherPub.mul(this.keys.getPrivate()).getX() - return formatReturnValue(out, enc, this.curveType.byteLength) -} - -ECDH.prototype.getPublicKey = function (enc, format) { - var key = this.keys.getPublic(format === 'compressed', true) - if (format === 'hybrid') { - if (key[key.length - 1] % 2) { - key[0] = 7 - } else { - key[0] = 6 - } - } - return formatReturnValue(key, enc) -} - -ECDH.prototype.getPrivateKey = function (enc) { - return formatReturnValue(this.keys.getPrivate(), enc) -} - -ECDH.prototype.setPublicKey = function (pub, enc) { - enc = enc || 'utf8' - if (!Buffer.isBuffer(pub)) { - pub = new Buffer(pub, enc) - } - this.keys._importPublic(pub) - return this -} - -ECDH.prototype.setPrivateKey = function (priv, enc) { - enc = enc || 'utf8' - if (!Buffer.isBuffer(priv)) { - priv = new Buffer(priv, enc) - } - - var _priv = new BN(priv) - _priv = _priv.toString(16) - this.keys = this.curve.genKeyPair() - this.keys._importPrivate(_priv) - return this -} - -function formatReturnValue (bn, enc, len) { - if (!Array.isArray(bn)) { - bn = bn.toArray() - } - var buf = new Buffer(bn) - if (len && buf.length < len) { - var zeros = new Buffer(len - buf.length) - zeros.fill(0) - buf = Buffer.concat([zeros, buf]) - } - if (!enc) { - return buf - } else { - return buf.toString(enc) - } -} - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../buffer/index.js */ 40).Buffer)) - -/***/ }), -/* 1151 */ -/*!************************************************!*\ - !*** ./node_modules/public-encrypt/browser.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -exports.publicEncrypt = __webpack_require__(/*! ./publicEncrypt */ 1152) -exports.privateDecrypt = __webpack_require__(/*! ./privateDecrypt */ 1156) - -exports.privateEncrypt = function privateEncrypt (key, buf) { - return exports.publicEncrypt(key, buf, true) -} - -exports.publicDecrypt = function publicDecrypt (key, buf) { - return exports.privateDecrypt(key, buf, true) -} - - -/***/ }), -/* 1152 */ -/*!******************************************************!*\ - !*** ./node_modules/public-encrypt/publicEncrypt.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var parseKeys = __webpack_require__(/*! parse-asn1 */ 1128) -var randomBytes = __webpack_require__(/*! randombytes */ 406) -var createHash = __webpack_require__(/*! create-hash */ 364) -var mgf = __webpack_require__(/*! ./mgf */ 1153) -var xor = __webpack_require__(/*! ./xor */ 1154) -var BN = __webpack_require__(/*! bn.js */ 70) -var withPublic = __webpack_require__(/*! ./withPublic */ 1155) -var crt = __webpack_require__(/*! browserify-rsa */ 1127) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer - -module.exports = function publicEncrypt (publicKey, msg, reverse) { - var padding - if (publicKey.padding) { - padding = publicKey.padding - } else if (reverse) { - padding = 1 - } else { - padding = 4 - } - var key = parseKeys(publicKey) - var paddedMsg - if (padding === 4) { - paddedMsg = oaep(key, msg) - } else if (padding === 1) { - paddedMsg = pkcs1(key, msg, reverse) - } else if (padding === 3) { - paddedMsg = new BN(msg) - if (paddedMsg.cmp(key.modulus) >= 0) { - throw new Error('data too long for modulus') - } - } else { - throw new Error('unknown padding') - } - if (reverse) { - return crt(paddedMsg, key) - } else { - return withPublic(paddedMsg, key) - } -} - -function oaep (key, msg) { - var k = key.modulus.byteLength() - var mLen = msg.length - var iHash = createHash('sha1').update(Buffer.alloc(0)).digest() - var hLen = iHash.length - var hLen2 = 2 * hLen - if (mLen > k - hLen2 - 2) { - throw new Error('message too long') - } - var ps = Buffer.alloc(k - mLen - hLen2 - 2) - var dblen = k - hLen - 1 - var seed = randomBytes(hLen) - var maskedDb = xor(Buffer.concat([iHash, ps, Buffer.alloc(1, 1), msg], dblen), mgf(seed, dblen)) - var maskedSeed = xor(seed, mgf(maskedDb, hLen)) - return new BN(Buffer.concat([Buffer.alloc(1), maskedSeed, maskedDb], k)) -} -function pkcs1 (key, msg, reverse) { - var mLen = msg.length - var k = key.modulus.byteLength() - if (mLen > k - 11) { - throw new Error('message too long') - } - var ps - if (reverse) { - ps = Buffer.alloc(k - mLen - 3, 0xff) - } else { - ps = nonZero(k - mLen - 3) - } - return new BN(Buffer.concat([Buffer.from([0, reverse ? 1 : 2]), ps, Buffer.alloc(1), msg], k)) -} -function nonZero (len) { - var out = Buffer.allocUnsafe(len) - var i = 0 - var cache = randomBytes(len * 2) - var cur = 0 - var num - while (i < len) { - if (cur === cache.length) { - cache = randomBytes(len * 2) - cur = 0 - } - num = cache[cur++] - if (num) { - out[i++] = num - } - } - return out -} - - -/***/ }), -/* 1153 */ -/*!********************************************!*\ - !*** ./node_modules/public-encrypt/mgf.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var createHash = __webpack_require__(/*! create-hash */ 364) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer - -module.exports = function (seed, len) { - var t = Buffer.alloc(0) - var i = 0 - var c - while (t.length < len) { - c = i2ops(i++) - t = Buffer.concat([t, createHash('sha1').update(seed).update(c).digest()]) - } - return t.slice(0, len) -} - -function i2ops (c) { - var out = Buffer.allocUnsafe(4) - out.writeUInt32BE(c, 0) - return out -} - - -/***/ }), -/* 1154 */ -/*!********************************************!*\ - !*** ./node_modules/public-encrypt/xor.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = function xor (a, b) { - var len = a.length - var i = -1 - while (++i < len) { - a[i] ^= b[i] - } - return a -} - - -/***/ }), -/* 1155 */ -/*!***************************************************!*\ - !*** ./node_modules/public-encrypt/withPublic.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var BN = __webpack_require__(/*! bn.js */ 70) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer - -function withPublic (paddedMsg, key) { - return Buffer.from(paddedMsg - .toRed(BN.mont(key.modulus)) - .redPow(new BN(key.publicExponent)) - .fromRed() - .toArray()) -} - -module.exports = withPublic - - -/***/ }), -/* 1156 */ -/*!*******************************************************!*\ - !*** ./node_modules/public-encrypt/privateDecrypt.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var parseKeys = __webpack_require__(/*! parse-asn1 */ 1128) -var mgf = __webpack_require__(/*! ./mgf */ 1153) -var xor = __webpack_require__(/*! ./xor */ 1154) -var BN = __webpack_require__(/*! bn.js */ 70) -var crt = __webpack_require__(/*! browserify-rsa */ 1127) -var createHash = __webpack_require__(/*! create-hash */ 364) -var withPublic = __webpack_require__(/*! ./withPublic */ 1155) -var Buffer = __webpack_require__(/*! safe-buffer */ 367).Buffer - -module.exports = function privateDecrypt (privateKey, enc, reverse) { - var padding - if (privateKey.padding) { - padding = privateKey.padding - } else if (reverse) { - padding = 1 - } else { - padding = 4 - } - - var key = parseKeys(privateKey) - var k = key.modulus.byteLength() - if (enc.length > k || new BN(enc).cmp(key.modulus) >= 0) { - throw new Error('decryption error') - } - var msg - if (reverse) { - msg = withPublic(new BN(enc), key) - } else { - msg = crt(enc, key) - } - var zBuffer = Buffer.alloc(k - msg.length) - msg = Buffer.concat([zBuffer, msg], k) - if (padding === 4) { - return oaep(key, msg) - } else if (padding === 1) { - return pkcs1(key, msg, reverse) - } else if (padding === 3) { - return msg - } else { - throw new Error('unknown padding') - } -} - -function oaep (key, msg) { - var k = key.modulus.byteLength() - var iHash = createHash('sha1').update(Buffer.alloc(0)).digest() - var hLen = iHash.length - if (msg[0] !== 0) { - throw new Error('decryption error') - } - var maskedSeed = msg.slice(1, hLen + 1) - var maskedDb = msg.slice(hLen + 1) - var seed = xor(maskedSeed, mgf(maskedDb, hLen)) - var db = xor(maskedDb, mgf(seed, k - hLen - 1)) - if (compare(iHash, db.slice(0, hLen))) { - throw new Error('decryption error') - } - var i = hLen - while (db[i] === 0) { - i++ - } - if (db[i++] !== 1) { - throw new Error('decryption error') - } - return db.slice(i) -} - -function pkcs1 (key, msg, reverse) { - var p1 = msg.slice(0, 2) - var i = 2 - var status = 0 - while (msg[i++] !== 0) { - if (i >= msg.length) { - status++ - break - } - } - var ps = msg.slice(2, i - 1) - - if ((p1.toString('hex') !== '0002' && !reverse) || (p1.toString('hex') !== '0001' && reverse)) { - status++ - } - if (ps.length < 8) { - status++ - } - if (status) { - throw new Error('decryption error') - } - return msg.slice(i) -} -function compare (a, b) { - a = Buffer.from(a) - b = Buffer.from(b) - var dif = 0 - var len = a.length - if (a.length !== b.length) { - dif++ - len = Math.min(a.length, b.length) - } - var i = -1 - while (++i < len) { - dif += (a[i] ^ b[i]) - } - return dif -} - - -/***/ }), -/* 1157 */ -/*!********************************************!*\ - !*** ./node_modules/randomfill/browser.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(__webpack_provided_global_dot_crypto, global, process) { - -function oldBrowser () { - throw new Error('secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11') -} -var safeBuffer = __webpack_require__(/*! safe-buffer */ 367) -var randombytes = __webpack_require__(/*! randombytes */ 406) -var Buffer = safeBuffer.Buffer -var kBufferMaxLength = safeBuffer.kMaxLength -var crypto = __webpack_provided_global_dot_crypto || global.msCrypto -var kMaxUint32 = Math.pow(2, 32) - 1 -function assertOffset (offset, length) { - if (typeof offset !== 'number' || offset !== offset) { // eslint-disable-line no-self-compare - throw new TypeError('offset must be a number') - } - - if (offset > kMaxUint32 || offset < 0) { - throw new TypeError('offset must be a uint32') - } - - if (offset > kBufferMaxLength || offset > length) { - throw new RangeError('offset out of range') - } -} - -function assertSize (size, offset, length) { - if (typeof size !== 'number' || size !== size) { // eslint-disable-line no-self-compare - throw new TypeError('size must be a number') - } - - if (size > kMaxUint32 || size < 0) { - throw new TypeError('size must be a uint32') - } - - if (size + offset > length || size > kBufferMaxLength) { - throw new RangeError('buffer too small') - } -} -if ((crypto && crypto.getRandomValues) || !process.browser) { - exports.randomFill = randomFill - exports.randomFillSync = randomFillSync -} else { - exports.randomFill = oldBrowser - exports.randomFillSync = oldBrowser -} -function randomFill (buf, offset, size, cb) { - if (!Buffer.isBuffer(buf) && !(buf instanceof global.Uint8Array)) { - throw new TypeError('"buf" argument must be a Buffer or Uint8Array') - } - - if (typeof offset === 'function') { - cb = offset - offset = 0 - size = buf.length - } else if (typeof size === 'function') { - cb = size - size = buf.length - offset - } else if (typeof cb !== 'function') { - throw new TypeError('"cb" argument must be a function') - } - assertOffset(offset, buf.length) - assertSize(size, offset, buf.length) - return actualFill(buf, offset, size, cb) -} - -function actualFill (buf, offset, size, cb) { - if (process.browser) { - var ourBuf = buf.buffer - var uint = new Uint8Array(ourBuf, offset, size) - crypto.getRandomValues(uint) - if (cb) { - process.nextTick(function () { - cb(null, buf) - }) - return - } - return buf - } - if (cb) { - randombytes(size, function (err, bytes) { - if (err) { - return cb(err) - } - bytes.copy(buf, offset) - cb(null, buf) - }) - return - } - var bytes = randombytes(size) - bytes.copy(buf, offset) - return buf -} -function randomFillSync (buf, offset, size) { - if (typeof offset === 'undefined') { - offset = 0 - } - if (!Buffer.isBuffer(buf) && !(buf instanceof global.Uint8Array)) { - throw new TypeError('"buf" argument must be a Buffer or Uint8Array') - } - - assertOffset(offset, buf.length) - - if (size === undefined) size = buf.length - offset - - assertSize(size, offset, buf.length) - - return actualFill(buf, offset, size) -} - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/crypto.js */ 202)["default"], __webpack_require__(/*! ./../webpack/buildin/global.js */ 37), __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 31))) - -/***/ }), -/* 1158 */ -/*!*****************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/eth-lib/lib/nat.js ***! - \*****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var BN = __webpack_require__(/*! bn.js */ 70); -var Bytes = __webpack_require__(/*! ./bytes */ 1087); - -var fromBN = function fromBN(bn) { - return "0x" + bn.toString("hex"); -}; - -var toBN = function toBN(str) { - return new BN(str.slice(2), 16); -}; - -var fromString = function fromString(str) { - var bn = "0x" + (str.slice(0, 2) === "0x" ? new BN(str.slice(2), 16) : new BN(str, 10)).toString("hex"); - return bn === "0x0" ? "0x" : bn; -}; - -var toEther = function toEther(wei) { - return toNumber(div(wei, fromString("10000000000"))) / 100000000; -}; - -var fromEther = function fromEther(eth) { - return mul(fromNumber(Math.floor(eth * 100000000)), fromString("10000000000")); -}; - -var toString = function toString(a) { - return toBN(a).toString(10); -}; - -var fromNumber = function fromNumber(a) { - return typeof a === "string" ? /^0x/.test(a) ? a : "0x" + a : "0x" + new BN(a).toString("hex"); -}; - -var toNumber = function toNumber(a) { - return toBN(a).toNumber(); -}; - -var toUint256 = function toUint256(a) { - return Bytes.pad(32, a); -}; - -var bin = function bin(method) { - return function (a, b) { - return fromBN(toBN(a)[method](toBN(b))); - }; -}; - -var add = bin("add"); -var mul = bin("mul"); -var div = bin("div"); -var sub = bin("sub"); - -module.exports = { - toString: toString, - fromString: fromString, - toNumber: toNumber, - fromNumber: fromNumber, - toEther: toEther, - fromEther: fromEther, - toUint256: toUint256, - add: add, - mul: mul, - div: div, - sub: sub }; - -/***/ }), -/* 1159 */ -/*!*****************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/eth-lib/lib/rlp.js ***! - \*****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// The RLP format -// Serialization and deserialization for the BytesTree type, under the following grammar: -// | First byte | Meaning | -// | ---------- | -------------------------------------------------------------------------- | -// | 0 to 127 | HEX(leaf) | -// | 128 to 183 | HEX(length_of_leaf + 128) + HEX(leaf) | -// | 184 to 191 | HEX(length_of_length_of_leaf + 128 + 55) + HEX(length_of_leaf) + HEX(leaf) | -// | 192 to 247 | HEX(length_of_node + 192) + HEX(node) | -// | 248 to 255 | HEX(length_of_length_of_node + 128 + 55) + HEX(length_of_node) + HEX(node) | - -var encode = function encode(tree) { - var padEven = function padEven(str) { - return str.length % 2 === 0 ? str : "0" + str; - }; - - var uint = function uint(num) { - return padEven(num.toString(16)); - }; - - var length = function length(len, add) { - return len < 56 ? uint(add + len) : uint(add + uint(len).length / 2 + 55) + uint(len); - }; - - var dataTree = function dataTree(tree) { - if (typeof tree === "string") { - var hex = tree.slice(2); - var pre = hex.length != 2 || hex >= "80" ? length(hex.length / 2, 128) : ""; - return pre + hex; - } else { - var _hex = tree.map(dataTree).join(""); - var _pre = length(_hex.length / 2, 192); - return _pre + _hex; - } - }; - - return "0x" + dataTree(tree); -}; - -var decode = function decode(hex) { - var i = 2; - - var parseTree = function parseTree() { - if (i >= hex.length) throw ""; - var head = hex.slice(i, i + 2); - return head < "80" ? (i += 2, "0x" + head) : head < "c0" ? parseHex() : parseList(); - }; - - var parseLength = function parseLength() { - var len = parseInt(hex.slice(i, i += 2), 16) % 64; - return len < 56 ? len : parseInt(hex.slice(i, i += (len - 55) * 2), 16); - }; - - var parseHex = function parseHex() { - var len = parseLength(); - return "0x" + hex.slice(i, i += len * 2); - }; - - var parseList = function parseList() { - var lim = parseLength() * 2 + i; - var list = []; - while (i < lim) { - list.push(parseTree()); - }return list; - }; - - try { - return parseTree(); - } catch (e) { - return []; - } -}; - -module.exports = { encode: encode, decode: decode }; - -/***/ }), -/* 1160 */ -/*!************************************!*\ - !*** ./node_modules/uuid/index.js ***! - \************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var v1 = __webpack_require__(/*! ./v1 */ 1161); -var v4 = __webpack_require__(/*! ./v4 */ 1164); - -var uuid = v4; -uuid.v1 = v1; -uuid.v4 = v4; - -module.exports = uuid; - - -/***/ }), -/* 1161 */ -/*!*********************************!*\ - !*** ./node_modules/uuid/v1.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var rng = __webpack_require__(/*! ./lib/rng */ 1162); -var bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ 1163); - -// **`v1()` - Generate time-based UUID** -// -// Inspired by https://github.com/LiosK/UUID.js -// and http://docs.python.org/library/uuid.html - -var _nodeId; -var _clockseq; - -// Previous uuid creation time -var _lastMSecs = 0; -var _lastNSecs = 0; - -// See https://github.com/uuidjs/uuid for API details -function v1(options, buf, offset) { - var i = buf && offset || 0; - var b = buf || []; - - options = options || {}; - var node = options.node || _nodeId; - var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; - - // node and clockseq need to be initialized to random values if they're not - // specified. We do this lazily to minimize issues related to insufficient - // system entropy. See #189 - if (node == null || clockseq == null) { - var seedBytes = rng(); - if (node == null) { - // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) - node = _nodeId = [ - seedBytes[0] | 0x01, - seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5] - ]; - } - if (clockseq == null) { - // Per 4.2.2, randomize (14 bit) clockseq - clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff; - } - } - - // UUID timestamps are 100 nano-second units since the Gregorian epoch, - // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so - // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' - // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. - var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); - - // Per 4.2.1.2, use count of uuid's generated during the current clock - // cycle to simulate higher resolution clock - var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; - - // Time since last uuid creation (in msecs) - var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000; - - // Per 4.2.1.2, Bump clockseq on clock regression - if (dt < 0 && options.clockseq === undefined) { - clockseq = clockseq + 1 & 0x3fff; - } - - // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new - // time interval - if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { - nsecs = 0; - } - - // Per 4.2.1.2 Throw error if too many uuids are requested - if (nsecs >= 10000) { - throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec'); - } - - _lastMSecs = msecs; - _lastNSecs = nsecs; - _clockseq = clockseq; - - // Per 4.1.4 - Convert from unix epoch to Gregorian epoch - msecs += 12219292800000; - - // `time_low` - var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; - b[i++] = tl >>> 24 & 0xff; - b[i++] = tl >>> 16 & 0xff; - b[i++] = tl >>> 8 & 0xff; - b[i++] = tl & 0xff; - - // `time_mid` - var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff; - b[i++] = tmh >>> 8 & 0xff; - b[i++] = tmh & 0xff; - - // `time_high_and_version` - b[i++] = tmh >>> 24 & 0xf | 0x10; // include version - b[i++] = tmh >>> 16 & 0xff; - - // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) - b[i++] = clockseq >>> 8 | 0x80; - - // `clock_seq_low` - b[i++] = clockseq & 0xff; - - // `node` - for (var n = 0; n < 6; ++n) { - b[i + n] = node[n]; - } - - return buf ? buf : bytesToUuid(b); -} - -module.exports = v1; - - -/***/ }), -/* 1162 */ -/*!**********************************************!*\ - !*** ./node_modules/uuid/lib/rng-browser.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(crypto) {// Unique ID creation requires a high quality random # generator. In the -// browser this is a little complicated due to unknown quality of Math.random() -// and inconsistent support for the `crypto` API. We do the best we can via -// feature-detection - -// getRandomValues needs to be invoked in a context where "this" is a Crypto -// implementation. Also, find the complete implementation of crypto on IE11. -var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) || - (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto)); - -if (getRandomValues) { - // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto - var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef - - module.exports = function whatwgRNG() { - getRandomValues(rnds8); - return rnds8; - }; -} else { - // Math.random()-based (RNG) - // - // If all else fails, use Math.random(). It's fast, but is of unspecified - // quality. - var rnds = new Array(16); - - module.exports = function mathRNG() { - for (var i = 0, r; i < 16; i++) { - if ((i & 0x03) === 0) r = Math.random() * 0x100000000; - rnds[i] = r >>> ((i & 0x03) << 3) & 0xff; - } - - return rnds; - }; -} - -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/crypto.js */ 202)["default"])) - -/***/ }), -/* 1163 */ -/*!**********************************************!*\ - !*** ./node_modules/uuid/lib/bytesToUuid.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -/** - * Convert array of 16 byte values to UUID string format of the form: - * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX - */ -var byteToHex = []; -for (var i = 0; i < 256; ++i) { - byteToHex[i] = (i + 0x100).toString(16).substr(1); -} - -function bytesToUuid(buf, offset) { - var i = offset || 0; - var bth = byteToHex; - // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 - return ([ - bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], '-', - bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]], - bth[buf[i++]], bth[buf[i++]] - ]).join(''); -} - -module.exports = bytesToUuid; - - -/***/ }), -/* 1164 */ -/*!*********************************!*\ - !*** ./node_modules/uuid/v4.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var rng = __webpack_require__(/*! ./lib/rng */ 1162); -var bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ 1163); - -function v4(options, buf, offset) { - var i = buf && offset || 0; - - if (typeof(options) == 'string') { - buf = options === 'binary' ? new Array(16) : null; - options = null; - } - options = options || {}; - - var rnds = options.random || (options.rng || rng)(); - - // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` - rnds[6] = (rnds[6] & 0x0f) | 0x40; - rnds[8] = (rnds[8] & 0x3f) | 0x80; - - // Copy bytes to buffer, if provided - if (buf) { - for (var ii = 0; ii < 16; ++ii) { - buf[i + ii] = rnds[ii]; - } - } - - return buf || bytesToUuid(rnds); -} - -module.exports = v4; - - -/***/ }), -/* 1165 */ -/*!******************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/index.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var __assign = this && this.__assign || function () { - __assign = Object.assign || function (t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) {if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p];} - } - return t; - }; - return __assign.apply(this, arguments); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -var chains_1 = __webpack_require__(/*! ./chains */ 1166); -var hardforks_1 = __webpack_require__(/*! ./hardforks */ 1172); -/** - * Common class to access chain and hardfork parameters - */ -var Common = /** @class */function () { - /** - * @constructor - * @param chain String ('mainnet') or Number (1) chain - * @param hardfork String identifier ('byzantium') for hardfork (optional) - * @param supportedHardforks Limit parameter returns to the given hardforks (optional) - */ - function Common(chain, hardfork, supportedHardforks) { - this._chainParams = this.setChain(chain); - this._hardfork = null; - this._supportedHardforks = supportedHardforks === undefined ? [] : supportedHardforks; - if (hardfork) { - this.setHardfork(hardfork); - } - } - /** - * Creates a Common object for a custom chain, based on a standard one. It uses all the [[Chain]] - * params from [[baseChain]] except the ones overridden in [[customChainParams]]. - * - * @param baseChain The name (`mainnet`) or id (`1`) of a standard chain used to base the custom - * chain params on. - * @param customChainParams The custom parameters of the chain. - * @param hardfork String identifier ('byzantium') for hardfork (optional) - * @param supportedHardforks Limit parameter returns to the given hardforks (optional) - */ - Common.forCustomChain = function (baseChain, customChainParams, hardfork, supportedHardforks) { - var standardChainParams = Common._getChainParams(baseChain); - return new Common(__assign(__assign({}, standardChainParams), customChainParams), hardfork, supportedHardforks); - }; - Common._getChainParams = function (chain) { - if (typeof chain === 'number') { - if (chains_1.chains['names'][chain]) { - return chains_1.chains[chains_1.chains['names'][chain]]; - } - throw new Error("Chain with ID " + chain + " not supported"); - } - if (chains_1.chains[chain]) { - return chains_1.chains[chain]; - } - throw new Error("Chain with name " + chain + " not supported"); - }; - /** - * Sets the chain - * @param chain String ('mainnet') or Number (1) chain - * representation. Or, a Dictionary of chain parameters for a private network. - * @returns The dictionary with parameters set as chain - */ - Common.prototype.setChain = function (chain) { - if (typeof chain === 'number' || typeof chain === 'string') { - this._chainParams = Common._getChainParams(chain); - } else - if (typeof chain === 'object') { - var required = ['networkId', 'genesis', 'hardforks', 'bootstrapNodes']; - for (var _i = 0, required_1 = required; _i < required_1.length; _i++) { - var param = required_1[_i]; - if (chain[param] === undefined) { - throw new Error("Missing required chain parameter: " + param); - } - } - this._chainParams = chain; - } else - { - throw new Error('Wrong input format'); - } - return this._chainParams; - }; - /** - * Sets the hardfork to get params for - * @param hardfork String identifier ('byzantium') - */ - Common.prototype.setHardfork = function (hardfork) { - if (!this._isSupportedHardfork(hardfork)) { - throw new Error("Hardfork " + hardfork + " not set as supported in supportedHardforks"); - } - var changed = false; - for (var _i = 0, hardforkChanges_1 = hardforks_1.hardforks; _i < hardforkChanges_1.length; _i++) { - var hfChanges = hardforkChanges_1[_i]; - if (hfChanges[0] === hardfork) { - this._hardfork = hardfork; - changed = true; - } - } - if (!changed) { - throw new Error("Hardfork with name " + hardfork + " not supported"); - } - }; - /** - * Internal helper function to choose between hardfork set and hardfork provided as param - * @param hardfork Hardfork given to function as a parameter - * @returns Hardfork chosen to be used - */ - Common.prototype._chooseHardfork = function (hardfork, onlySupported) { - onlySupported = onlySupported === undefined ? true : onlySupported; - if (!hardfork) { - if (!this._hardfork) { - throw new Error('Method called with neither a hardfork set nor provided by param'); - } else - { - hardfork = this._hardfork; - } - } else - if (onlySupported && !this._isSupportedHardfork(hardfork)) { - throw new Error("Hardfork " + hardfork + " not set as supported in supportedHardforks"); - } - return hardfork; - }; - /** - * Internal helper function, returns the params for the given hardfork for the chain set - * @param hardfork Hardfork name - * @returns Dictionary with hardfork params - */ - Common.prototype._getHardfork = function (hardfork) { - var hfs = this.hardforks(); - for (var _i = 0, hfs_1 = hfs; _i < hfs_1.length; _i++) { - var hf = hfs_1[_i]; - if (hf['name'] === hardfork) - return hf; - } - throw new Error("Hardfork " + hardfork + " not defined for chain " + this.chainName()); - }; - /** - * Internal helper function to check if a hardfork is set to be supported by the library - * @param hardfork Hardfork name - * @returns True if hardfork is supported - */ - Common.prototype._isSupportedHardfork = function (hardfork) { - if (this._supportedHardforks.length > 0) { - for (var _i = 0, _a = this._supportedHardforks; _i < _a.length; _i++) { - var supportedHf = _a[_i]; - if (hardfork === supportedHf) - return true; - } - } else - { - return true; - } - return false; - }; - /** - * Returns the parameter corresponding to a hardfork - * @param topic Parameter topic ('gasConfig', 'gasPrices', 'vm', 'pow', 'casper', 'sharding') - * @param name Parameter name (e.g. 'minGasLimit' for 'gasConfig' topic) - * @param hardfork Hardfork name, optional if hardfork set - */ - Common.prototype.param = function (topic, name, hardfork) { - hardfork = this._chooseHardfork(hardfork); - var value; - for (var _i = 0, hardforkChanges_2 = hardforks_1.hardforks; _i < hardforkChanges_2.length; _i++) { - var hfChanges = hardforkChanges_2[_i]; - if (!hfChanges[1][topic]) { - throw new Error("Topic " + topic + " not defined"); - } - if (hfChanges[1][topic][name] !== undefined) { - value = hfChanges[1][topic][name].v; - } - if (hfChanges[0] === hardfork) - break; - } - if (value === undefined) { - throw new Error(topic + " value for " + name + " not found"); - } - return value; - }; - /** - * Returns a parameter for the hardfork active on block number - * @param topic Parameter topic - * @param name Parameter name - * @param blockNumber Block number - */ - Common.prototype.paramByBlock = function (topic, name, blockNumber) { - var activeHfs = this.activeHardforks(blockNumber); - var hardfork = activeHfs[activeHfs.length - 1]['name']; - return this.param(topic, name, hardfork); - }; - /** - * Checks if set or provided hardfork is active on block number - * @param hardfork Hardfork name or null (for HF set) - * @param blockNumber - * @param opts Hardfork options (onlyActive unused) - * @returns True if HF is active on block number - */ - Common.prototype.hardforkIsActiveOnBlock = function (hardfork, blockNumber, opts) { - opts = opts !== undefined ? opts : {}; - var onlySupported = opts.onlySupported === undefined ? false : opts.onlySupported; - hardfork = this._chooseHardfork(hardfork, onlySupported); - var hfBlock = this.hardforkBlock(hardfork); - if (hfBlock !== null && blockNumber >= hfBlock) - return true; - return false; - }; - /** - * Alias to hardforkIsActiveOnBlock when hardfork is set - * @param blockNumber - * @param opts Hardfork options (onlyActive unused) - * @returns True if HF is active on block number - */ - Common.prototype.activeOnBlock = function (blockNumber, opts) { - return this.hardforkIsActiveOnBlock(null, blockNumber, opts); - }; - /** - * Sequence based check if given or set HF1 is greater than or equal HF2 - * @param hardfork1 Hardfork name or null (if set) - * @param hardfork2 Hardfork name - * @param opts Hardfork options - * @returns True if HF1 gte HF2 - */ - Common.prototype.hardforkGteHardfork = function (hardfork1, hardfork2, opts) { - opts = opts !== undefined ? opts : {}; - var onlyActive = opts.onlyActive === undefined ? false : opts.onlyActive; - hardfork1 = this._chooseHardfork(hardfork1, opts.onlySupported); - var hardforks; - if (onlyActive) { - hardforks = this.activeHardforks(null, opts); - } else - { - hardforks = this.hardforks(); - } - var posHf1 = -1,posHf2 = -1; - var index = 0; - for (var _i = 0, hardforks_2 = hardforks; _i < hardforks_2.length; _i++) { - var hf = hardforks_2[_i]; - if (hf['name'] === hardfork1) - posHf1 = index; - if (hf['name'] === hardfork2) - posHf2 = index; - index += 1; - } - return posHf1 >= posHf2; - }; - /** - * Alias to hardforkGteHardfork when hardfork is set - * @param hardfork Hardfork name - * @param opts Hardfork options - * @returns True if hardfork set is greater than hardfork provided - */ - Common.prototype.gteHardfork = function (hardfork, opts) { - return this.hardforkGteHardfork(null, hardfork, opts); - }; - /** - * Checks if given or set hardfork is active on the chain - * @param hardfork Hardfork name, optional if HF set - * @param opts Hardfork options (onlyActive unused) - * @returns True if hardfork is active on the chain - */ - Common.prototype.hardforkIsActiveOnChain = function (hardfork, opts) { - opts = opts !== undefined ? opts : {}; - var onlySupported = opts.onlySupported === undefined ? false : opts.onlySupported; - hardfork = this._chooseHardfork(hardfork, onlySupported); - for (var _i = 0, _a = this.hardforks(); _i < _a.length; _i++) { - var hf = _a[_i]; - if (hf['name'] === hardfork && hf['block'] !== null) - return true; - } - return false; - }; - /** - * Returns the active hardfork switches for the current chain - * @param blockNumber up to block if provided, otherwise for the whole chain - * @param opts Hardfork options (onlyActive unused) - * @return Array with hardfork arrays - */ - Common.prototype.activeHardforks = function (blockNumber, opts) { - opts = opts !== undefined ? opts : {}; - var activeHardforks = []; - var hfs = this.hardforks(); - for (var _i = 0, hfs_2 = hfs; _i < hfs_2.length; _i++) { - var hf = hfs_2[_i]; - if (hf['block'] === null) - continue; - if (blockNumber !== undefined && blockNumber !== null && blockNumber < hf['block']) - break; - if (opts.onlySupported && !this._isSupportedHardfork(hf['name'])) - continue; - activeHardforks.push(hf); - } - return activeHardforks; - }; - /** - * Returns the latest active hardfork name for chain or block or throws if unavailable - * @param blockNumber up to block if provided, otherwise for the whole chain - * @param opts Hardfork options (onlyActive unused) - * @return Hardfork name - */ - Common.prototype.activeHardfork = function (blockNumber, opts) { - opts = opts !== undefined ? opts : {}; - var activeHardforks = this.activeHardforks(blockNumber, opts); - if (activeHardforks.length > 0) { - return activeHardforks[activeHardforks.length - 1]['name']; - } else - { - throw new Error("No (supported) active hardfork found"); - } - }; - /** - * Returns the hardfork change block for hardfork provided or set - * @param hardfork Hardfork name, optional if HF set - * @returns Block number - */ - Common.prototype.hardforkBlock = function (hardfork) { - hardfork = this._chooseHardfork(hardfork, false); - return this._getHardfork(hardfork)['block']; - }; - /** - * True if block number provided is the hardfork (given or set) change block of the current chain - * @param blockNumber Number of the block to check - * @param hardfork Hardfork name, optional if HF set - * @returns True if blockNumber is HF block - */ - Common.prototype.isHardforkBlock = function (blockNumber, hardfork) { - hardfork = this._chooseHardfork(hardfork, false); - if (this.hardforkBlock(hardfork) === blockNumber) { - return true; - } else - { - return false; - } - }; - /** - * Provide the consensus type for the hardfork set or provided as param - * @param hardfork Hardfork name, optional if hardfork set - * @returns Consensus type (e.g. 'pow', 'poa') - */ - Common.prototype.consensus = function (hardfork) { - hardfork = this._chooseHardfork(hardfork); - return this._getHardfork(hardfork)['consensus']; - }; - /** - * Provide the finality type for the hardfork set or provided as param - * @param {String} hardfork Hardfork name, optional if hardfork set - * @returns {String} Finality type (e.g. 'pos', null of no finality) - */ - Common.prototype.finality = function (hardfork) { - hardfork = this._chooseHardfork(hardfork); - return this._getHardfork(hardfork)['finality']; - }; - /** - * Returns the Genesis parameters of current chain - * @returns Genesis dictionary - */ - Common.prototype.genesis = function () { - return this._chainParams['genesis']; - }; - /** - * Returns the hardforks for current chain - * @returns {Array} Array with arrays of hardforks - */ - Common.prototype.hardforks = function () { - return this._chainParams['hardforks']; - }; - /** - * Returns bootstrap nodes for the current chain - * @returns {Dictionary} Dict with bootstrap nodes - */ - Common.prototype.bootstrapNodes = function () { - return this._chainParams['bootstrapNodes']; - }; - /** - * Returns the hardfork set - * @returns Hardfork name - */ - Common.prototype.hardfork = function () { - return this._hardfork; - }; - /** - * Returns the Id of current chain - * @returns chain Id - */ - Common.prototype.chainId = function () { - return this._chainParams['chainId']; - }; - /** - * Returns the name of current chain - * @returns chain name (lower case) - */ - Common.prototype.chainName = function () { - return chains_1.chains['names'][this.chainId()] || this._chainParams['name']; - }; - /** - * Returns the Id of current network - * @returns network Id - */ - Common.prototype.networkId = function () { - return this._chainParams['networkId']; - }; - return Common; -}(); -exports.default = Common; - -/***/ }), -/* 1166 */ -/*!*************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/chains/index.js ***! - \*************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.chains = void 0; -exports.chains = { - names: { - '1': 'mainnet', - '3': 'ropsten', - '4': 'rinkeby', - '42': 'kovan', - '5': 'goerli' }, - - mainnet: __webpack_require__(/*! ./mainnet.json */ 1167), - ropsten: __webpack_require__(/*! ./ropsten.json */ 1168), - rinkeby: __webpack_require__(/*! ./rinkeby.json */ 1169), - kovan: __webpack_require__(/*! ./kovan.json */ 1170), - goerli: __webpack_require__(/*! ./goerli.json */ 1171) }; - -/***/ }), -/* 1167 */ -/*!*****************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/chains/mainnet.json ***! - \*****************************************************************************************************/ -/*! exports provided: name, chainId, networkId, comment, url, genesis, hardforks, bootstrapNodes, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"mainnet\",\"chainId\":1,\"networkId\":1,\"comment\":\"The Ethereum main chain\",\"url\":\"https://ethstats.net/\",\"genesis\":{\"hash\":\"0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3\",\"timestamp\":null,\"gasLimit\":5000,\"difficulty\":17179869184,\"nonce\":\"0x0000000000000042\",\"extraData\":\"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa\",\"stateRoot\":\"0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544\"},\"hardforks\":[{\"name\":\"chainstart\",\"block\":0,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"homestead\",\"block\":1150000,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"dao\",\"block\":1920000,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"tangerineWhistle\",\"block\":2463000,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"spuriousDragon\",\"block\":2675000,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"byzantium\",\"block\":4370000,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"constantinople\",\"block\":7280000,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"petersburg\",\"block\":7280000,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"istanbul\",\"block\":9069000,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"muirGlacier\",\"block\":9200000,\"consensus\":\"pow\",\"finality\":null}],\"bootstrapNodes\":[{\"ip\":\"18.138.108.67\",\"port\":30303,\"id\":\"d860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666\",\"location\":\"ap-southeast-1-001\",\"comment\":\"bootnode-aws-ap-southeast-1-001\"},{\"ip\":\"3.209.45.79\",\"port\":30303,\"id\":\"22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de\",\"location\":\"us-east-1-001\",\"comment\":\"bootnode-aws-us-east-1-001\"},{\"ip\":\"34.255.23.113\",\"port\":30303,\"id\":\"ca6de62fce278f96aea6ec5a2daadb877e51651247cb96ee310a318def462913b653963c155a0ef6c7d50048bba6e6cea881130857413d9f50a621546b590758\",\"location\":\"eu-west-1-001\",\"comment\":\"bootnode-aws-eu-west-1-001\"},{\"ip\":\"35.158.244.151\",\"port\":30303,\"id\":\"279944d8dcd428dffaa7436f25ca0ca43ae19e7bcf94a8fb7d1641651f92d121e972ac2e8f381414b80cc8e5555811c2ec6e1a99bb009b3f53c4c69923e11bd8\",\"location\":\"eu-central-1-001\",\"comment\":\"bootnode-aws-eu-central-1-001\"},{\"ip\":\"52.187.207.27\",\"port\":30303,\"id\":\"8499da03c47d637b20eee24eec3c356c9a2e6148d6fe25ca195c7949ab8ec2c03e3556126b0d7ed644675e78c4318b08691b7b57de10e5f0d40d05b09238fa0a\",\"location\":\"australiaeast-001\",\"comment\":\"bootnode-azure-australiaeast-001\"},{\"ip\":\"191.234.162.198\",\"port\":30303,\"id\":\"103858bdb88756c71f15e9b5e09b56dc1be52f0a5021d46301dbbfb7e130029cc9d0d6f73f693bc29b665770fff7da4d34f3c6379fe12721b5d7a0bcb5ca1fc1\",\"location\":\"brazilsouth-001\",\"comment\":\"bootnode-azure-brazilsouth-001\"},{\"ip\":\"52.231.165.108\",\"port\":30303,\"id\":\"715171f50508aba88aecd1250af392a45a330af91d7b90701c436b618c86aaa1589c9184561907bebbb56439b8f8787bc01f49a7c77276c58c1b09822d75e8e8\",\"location\":\"koreasouth-001\",\"comment\":\"bootnode-azure-koreasouth-001\"},{\"ip\":\"104.42.217.25\",\"port\":30303,\"id\":\"5d6d7cd20d6da4bb83a1d28cadb5d409b64edf314c0335df658c1a54e32c7c4a7ab7823d57c39b6a757556e68ff1df17c748b698544a55cb488b52479a92b60f\",\"location\":\"westus-001\",\"comment\":\"bootnode-azure-westus-001\"}]}"); - -/***/ }), -/* 1168 */ -/*!*****************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/chains/ropsten.json ***! - \*****************************************************************************************************/ -/*! exports provided: name, chainId, networkId, comment, url, genesis, hardforks, bootstrapNodes, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"ropsten\",\"chainId\":3,\"networkId\":3,\"comment\":\"PoW test network\",\"url\":\"https://github.com/ethereum/ropsten\",\"genesis\":{\"hash\":\"0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d\",\"timestamp\":null,\"gasLimit\":16777216,\"difficulty\":1048576,\"nonce\":\"0x0000000000000042\",\"extraData\":\"0x3535353535353535353535353535353535353535353535353535353535353535\",\"stateRoot\":\"0x217b0bbcfb72e2d57e28f33cb361b9983513177755dc3f33ce3e7022ed62b77b\"},\"hardforks\":[{\"name\":\"chainstart\",\"block\":0,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"homestead\",\"block\":0,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"dao\",\"block\":null,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"tangerineWhistle\",\"block\":0,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"spuriousDragon\",\"block\":10,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"byzantium\",\"block\":1700000,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"constantinople\",\"block\":4230000,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"petersburg\",\"block\":4939394,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"istanbul\",\"block\":6485846,\"consensus\":\"pow\",\"finality\":null},{\"name\":\"muirGlacier\",\"block\":7117117,\"consensus\":\"pow\",\"finality\":null}],\"bootstrapNodes\":[{\"ip\":\"52.176.7.10\",\"port\":30303,\"id\":\"30b7ab30a01c124a6cceca36863ece12c4f5fa68e3ba9b0b51407ccc002eeed3b3102d20a88f1c1d3c3154e2449317b8ef95090e77b312d5cc39354f86d5d606\",\"location\":\"\",\"comment\":\"US-Azure geth\"},{\"ip\":\"52.176.100.77\",\"port\":30303,\"id\":\"865a63255b3bb68023b6bffd5095118fcc13e79dcf014fe4e47e065c350c7cc72af2e53eff895f11ba1bbb6a2b33271c1116ee870f266618eadfc2e78aa7349c\",\"location\":\"\",\"comment\":\"US-Azure parity\"},{\"ip\":\"52.232.243.152\",\"port\":30303,\"id\":\"6332792c4a00e3e4ee0926ed89e0d27ef985424d97b6a45bf0f23e51f0dcb5e66b875777506458aea7af6f9e4ffb69f43f3778ee73c81ed9d34c51c4b16b0b0f\",\"location\":\"\",\"comment\":\"Parity\"},{\"ip\":\"192.81.208.223\",\"port\":30303,\"id\":\"94c15d1b9e2fe7ce56e458b9a3b672ef11894ddedd0c6f247e0f1d3487f52b66208fb4aeb8179fce6e3a749ea93ed147c37976d67af557508d199d9594c35f09\",\"location\":\"\",\"comment\":\"@gpip\"}]}"); - -/***/ }), -/* 1169 */ -/*!*****************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/chains/rinkeby.json ***! - \*****************************************************************************************************/ -/*! exports provided: name, chainId, networkId, comment, url, genesis, hardforks, bootstrapNodes, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"rinkeby\",\"chainId\":4,\"networkId\":4,\"comment\":\"PoA test network\",\"url\":\"https://www.rinkeby.io\",\"genesis\":{\"hash\":\"0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177\",\"timestamp\":\"0x58ee40ba\",\"gasLimit\":4700000,\"difficulty\":1,\"nonce\":\"0x0000000000000000\",\"extraData\":\"0x52657370656374206d7920617574686f7269746168207e452e436172746d616e42eb768f2244c8811c63729a21a3569731535f067ffc57839b00206d1ad20c69a1981b489f772031b279182d99e65703f0076e4812653aab85fca0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\"stateRoot\":\"0x53580584816f617295ea26c0e17641e0120cab2f0a8ffb53a866fd53aa8e8c2d\"},\"hardforks\":[{\"name\":\"chainstart\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"homestead\",\"block\":1,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"dao\",\"block\":null,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"tangerineWhistle\",\"block\":2,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"spuriousDragon\",\"block\":3,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"byzantium\",\"block\":1035301,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"constantinople\",\"block\":3660663,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"petersburg\",\"block\":4321234,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"istanbul\",\"block\":5435345,\"consensus\":\"poa\",\"finality\":null}],\"bootstrapNodes\":[{\"ip\":\"52.169.42.101\",\"port\":30303,\"id\":\"a24ac7c5484ef4ed0c5eb2d36620ba4e4aa13b8c84684e1b4aab0cebea2ae45cb4d375b77eab56516d34bfbd3c1a833fc51296ff084b770b94fb9028c4d25ccf\",\"location\":\"\",\"comment\":\"IE\"},{\"ip\":\"52.3.158.184\",\"port\":30303,\"id\":\"343149e4feefa15d882d9fe4ac7d88f885bd05ebb735e547f12e12080a9fa07c8014ca6fd7f373123488102fe5e34111f8509cf0b7de3f5b44339c9f25e87cb8\",\"location\":\"\",\"comment\":\"INFURA\"},{\"ip\":\"159.89.28.211\",\"port\":30303,\"id\":\"b6b28890b006743680c52e64e0d16db57f28124885595fa03a562be1d2bf0f3a1da297d56b13da25fb992888fd556d4c1a27b1f39d531bde7de1921c90061cc6\",\"location\":\"\",\"comment\":\"AKASHA\"}]}"); - -/***/ }), -/* 1170 */ -/*!***************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/chains/kovan.json ***! - \***************************************************************************************************/ -/*! exports provided: name, chainId, networkId, comment, url, genesis, hardforks, bootstrapNodes, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"kovan\",\"chainId\":42,\"networkId\":42,\"comment\":\"Parity PoA test network\",\"url\":\"https://kovan-testnet.github.io/website/\",\"genesis\":{\"hash\":\"0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9\",\"timestamp\":null,\"gasLimit\":6000000,\"difficulty\":131072,\"nonce\":\"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\"extraData\":\"0x\",\"stateRoot\":\"0x2480155b48a1cea17d67dbfdfaafe821c1d19cdd478c5358e8ec56dec24502b2\"},\"hardforks\":[{\"name\":\"chainstart\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"homestead\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"dao\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"tangerineWhistle\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"spuriousDragon\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"byzantium\",\"block\":5067000,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"constantinople\",\"block\":9200000,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"petersburg\",\"block\":10255201,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"istanbul\",\"block\":14111141,\"consensus\":\"poa\",\"finality\":null}],\"bootstrapNodes\":[{\"ip\":\"116.203.116.241\",\"port\":30303,\"id\":\"16898006ba2cd4fa8bf9a3dfe32684c178fa861df144bfc21fe800dc4838a03e342056951fa9fd533dcb0be1219e306106442ff2cf1f7e9f8faa5f2fc1a3aa45\",\"location\":\"\",\"comment\":\"1\"},{\"ip\":\"3.217.96.11\",\"port\":30303,\"id\":\"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0\",\"location\":\"\",\"comment\":\"2\"},{\"ip\":\"108.61.170.124\",\"port\":30303,\"id\":\"740e1c8ea64e71762c71a463a04e2046070a0c9394fcab5891d41301dc473c0cff00ebab5a9bc87fbcb610ab98ac18225ff897bc8b7b38def5975d5ceb0a7d7c\",\"location\":\"\",\"comment\":\"3\"},{\"ip\":\"157.230.31.163\",\"port\":30303,\"id\":\"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0\",\"location\":\"\",\"comment\":\"4\"}]}"); - -/***/ }), -/* 1171 */ -/*!****************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/chains/goerli.json ***! - \****************************************************************************************************/ -/*! exports provided: name, chainId, networkId, comment, url, genesis, hardforks, bootstrapNodes, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"goerli\",\"chainId\":5,\"networkId\":5,\"comment\":\"Cross-client PoA test network\",\"url\":\"https://github.com/goerli/testnet\",\"genesis\":{\"hash\":\"0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a\",\"timestamp\":\"0x5c51a607\",\"gasLimit\":10485760,\"difficulty\":1,\"nonce\":\"0x0000000000000000\",\"extraData\":\"0x22466c6578692069732061207468696e6722202d204166726900000000000000e0a2bd4258d2768837baa26a28fe71dc079f84c70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\"stateRoot\":\"0x5d6cded585e73c4e322c30c2f782a336316f17dd85a4863b9d838d2d4b8b3008\"},\"hardforks\":[{\"name\":\"chainstart\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"homestead\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"dao\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"tangerineWhistle\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"spuriousDragon\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"byzantium\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"constantinople\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"petersburg\",\"block\":0,\"consensus\":\"poa\",\"finality\":null},{\"name\":\"istanbul\",\"block\":1561651,\"consensus\":\"poa\",\"finality\":null}],\"bootstrapNodes\":[{\"ip\":\"51.141.78.53\",\"port\":30303,\"id\":\"011f758e6552d105183b1761c5e2dea0111bc20fd5f6422bc7f91e0fabbec9a6595caf6239b37feb773dddd3f87240d99d859431891e4a642cf2a0a9e6cbb98a\",\"location\":\"\",\"comment\":\"Upstream bootnode 1\"},{\"ip\":\"13.93.54.137\",\"port\":30303,\"id\":\"176b9417f511d05b6b2cf3e34b756cf0a7096b3094572a8f6ef4cdcb9d1f9d00683bf0f83347eebdf3b81c3521c2332086d9592802230bf528eaf606a1d9677b\",\"location\":\"\",\"comment\":\"Upstream bootnode 2\"},{\"ip\":\"94.237.54.114\",\"port\":30313,\"id\":\"46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291\",\"location\":\"\",\"comment\":\"Upstream bootnode 3\"},{\"ip\":\"52.64.155.147\",\"port\":30303,\"id\":\"c1f8b7c2ac4453271fa07d8e9ecf9a2e8285aa0bd0c07df0131f47153306b0736fd3db8924e7a9bf0bed6b1d8d4f87362a71b033dc7c64547728d953e43e59b2\",\"location\":\"\",\"comment\":\"Upstream bootnode 4\"},{\"ip\":\"213.186.16.82\",\"port\":30303,\"id\":\"f4a9c6ee28586009fb5a96c8af13a58ed6d8315a9eee4772212c1d4d9cebe5a8b8a78ea4434f318726317d04a3f531a1ef0420cf9752605a562cfe858c46e263\",\"location\":\"\",\"comment\":\"Upstream bootnode 5\"},{\"ip\":\"3.11.147.67\",\"port\":30303,\"id\":\"a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91\",\"location\":\"\",\"comment\":\"Ethereum Foundation bootnode\"}]}"); - -/***/ }), -/* 1172 */ -/*!****************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/index.js ***! - \****************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -exports.hardforks = void 0; -exports.hardforks = [ -['chainstart', __webpack_require__(/*! ./chainstart.json */ 1173)], -['homestead', __webpack_require__(/*! ./homestead.json */ 1174)], -['dao', __webpack_require__(/*! ./dao.json */ 1175)], -['tangerineWhistle', __webpack_require__(/*! ./tangerineWhistle.json */ 1176)], -['spuriousDragon', __webpack_require__(/*! ./spuriousDragon.json */ 1177)], -['byzantium', __webpack_require__(/*! ./byzantium.json */ 1178)], -['constantinople', __webpack_require__(/*! ./constantinople.json */ 1179)], -['petersburg', __webpack_require__(/*! ./petersburg.json */ 1180)], -['istanbul', __webpack_require__(/*! ./istanbul.json */ 1181)], -['muirGlacier', __webpack_require__(/*! ./muirGlacier.json */ 1182)]]; - -/***/ }), -/* 1173 */ -/*!***********************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/chainstart.json ***! - \***********************************************************************************************************/ -/*! exports provided: name, comment, eip, status, gasConfig, gasPrices, vm, pow, casper, sharding, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"chainstart\",\"comment\":\"Start of the Ethereum main chain\",\"eip\":{\"url\":\"\",\"status\":\"\"},\"status\":\"\",\"gasConfig\":{\"minGasLimit\":{\"v\":5000,\"d\":\"Minimum the gas limit may ever be\"},\"gasLimitBoundDivisor\":{\"v\":1024,\"d\":\"The bound divisor of the gas limit, used in update calculations\"}},\"gasPrices\":{\"base\":{\"v\":2,\"d\":\"Gas base cost, used e.g. for ChainID opcode (Istanbul)\"},\"tierStep\":{\"v\":[0,2,3,5,8,10,20],\"d\":\"Once per operation, for a selection of them\"},\"exp\":{\"v\":10,\"d\":\"Once per EXP instuction\"},\"expByte\":{\"v\":10,\"d\":\"Times ceil(log256(exponent)) for the EXP instruction\"},\"sha3\":{\"v\":30,\"d\":\"Once per SHA3 operation\"},\"sha3Word\":{\"v\":6,\"d\":\"Once per word of the SHA3 operation's data\"},\"sload\":{\"v\":50,\"d\":\"Once per SLOAD operation\"},\"sstoreSet\":{\"v\":20000,\"d\":\"Once per SSTORE operation if the zeroness changes from zero\"},\"sstoreReset\":{\"v\":5000,\"d\":\"Once per SSTORE operation if the zeroness does not change from zero\"},\"sstoreRefund\":{\"v\":15000,\"d\":\"Once per SSTORE operation if the zeroness changes to zero\"},\"jumpdest\":{\"v\":1,\"d\":\"Refunded gas, once per SSTORE operation if the zeroness changes to zero\"},\"log\":{\"v\":375,\"d\":\"Per LOG* operation\"},\"logData\":{\"v\":8,\"d\":\"Per byte in a LOG* operation's data\"},\"logTopic\":{\"v\":375,\"d\":\"Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas\"},\"create\":{\"v\":32000,\"d\":\"Once per CREATE operation & contract-creation transaction\"},\"call\":{\"v\":40,\"d\":\"Once per CALL operation & message call transaction\"},\"callStipend\":{\"v\":2300,\"d\":\"Free gas given at beginning of call\"},\"callValueTransfer\":{\"v\":9000,\"d\":\"Paid for CALL when the value transfor is non-zero\"},\"callNewAccount\":{\"v\":25000,\"d\":\"Paid for CALL when the destination address didn't exist prior\"},\"selfdestructRefund\":{\"v\":24000,\"d\":\"Refunded following a selfdestruct operation\"},\"memory\":{\"v\":3,\"d\":\"Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL\"},\"quadCoeffDiv\":{\"v\":512,\"d\":\"Divisor for the quadratic particle of the memory cost equation\"},\"createData\":{\"v\":200,\"d\":\"\"},\"tx\":{\"v\":21000,\"d\":\"Per transaction. NOTE: Not payable on data of calls between transactions\"},\"txCreation\":{\"v\":32000,\"d\":\"The cost of creating a contract via tx\"},\"txDataZero\":{\"v\":4,\"d\":\"Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions\"},\"txDataNonZero\":{\"v\":68,\"d\":\"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions\"},\"copy\":{\"v\":3,\"d\":\"Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added\"},\"ecRecover\":{\"v\":3000,\"d\":\"\"},\"sha256\":{\"v\":60,\"d\":\"\"},\"sha256Word\":{\"v\":12,\"d\":\"\"},\"ripemd160\":{\"v\":600,\"d\":\"\"},\"ripemd160Word\":{\"v\":120,\"d\":\"\"},\"identity\":{\"v\":15,\"d\":\"\"},\"identityWord\":{\"v\":3,\"d\":\"\"}},\"vm\":{\"stackLimit\":{\"v\":1024,\"d\":\"Maximum size of VM stack allowed\"},\"callCreateDepth\":{\"v\":1024,\"d\":\"Maximum depth of call/create stack\"},\"maxExtraDataSize\":{\"v\":32,\"d\":\"Maximum size extra data may be after Genesis\"}},\"pow\":{\"minimumDifficulty\":{\"v\":131072,\"d\":\"The minimum that the difficulty may ever be\"},\"difficultyBoundDivisor\":{\"v\":2048,\"d\":\"The bound divisor of the difficulty, used in the update calculations\"},\"durationLimit\":{\"v\":13,\"d\":\"The decision boundary on the blocktime duration used to determine whether difficulty should go up or not\"},\"epochDuration\":{\"v\":30000,\"d\":\"Duration between proof-of-work epochs\"},\"timebombPeriod\":{\"v\":100000,\"d\":\"Exponential difficulty timebomb period\"},\"minerReward\":{\"v\":\"5000000000000000000\",\"d\":\"the amount a miner get rewarded for mining a block\"}},\"casper\":{},\"sharding\":{}}"); - -/***/ }), -/* 1174 */ -/*!**********************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/homestead.json ***! - \**********************************************************************************************************/ -/*! exports provided: name, comment, eip, gasConfig, gasPrices, vm, pow, casper, sharding, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"homestead\",\"comment\":\"Homestead hardfork with protocol and network changes\",\"eip\":{\"url\":\"https://eips.ethereum.org/EIPS/eip-606\",\"status\":\"Final\"},\"gasConfig\":{},\"gasPrices\":{},\"vm\":{},\"pow\":{},\"casper\":{},\"sharding\":{}}"); - -/***/ }), -/* 1175 */ -/*!****************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/dao.json ***! - \****************************************************************************************************/ -/*! exports provided: name, comment, eip, gasConfig, gasPrices, vm, pow, casper, sharding, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"dao\",\"comment\":\"DAO rescue hardfork\",\"eip\":{\"url\":\"https://eips.ethereum.org/EIPS/eip-779\",\"status\":\"Final\"},\"gasConfig\":{},\"gasPrices\":{},\"vm\":{},\"pow\":{},\"casper\":{},\"sharding\":{}}"); - -/***/ }), -/* 1176 */ -/*!*****************************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/tangerineWhistle.json ***! - \*****************************************************************************************************************/ -/*! exports provided: name, comment, eip, gasConfig, gasPrices, vm, pow, casper, sharding, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"tangerineWhistle\",\"comment\":\"Hardfork with gas cost changes for IO-heavy operations\",\"eip\":{\"url\":\"https://eips.ethereum.org/EIPS/eip-608\",\"status\":\"Final\"},\"gasConfig\":{},\"gasPrices\":{\"sload\":{\"v\":200,\"d\":\"Once per SLOAD operation\"},\"call\":{\"v\":700,\"d\":\"Once per CALL operation & message call transaction\"}},\"vm\":{},\"pow\":{},\"casper\":{},\"sharding\":{}}"); - -/***/ }), -/* 1177 */ -/*!***************************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/spuriousDragon.json ***! - \***************************************************************************************************************/ -/*! exports provided: name, comment, eip, gasConfig, gasPrices, vm, pow, casper, sharding, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"spuriousDragon\",\"comment\":\"HF with EIPs for simple replay attack protection, EXP cost increase, state trie clearing, contract code size limit\",\"eip\":{\"url\":\"https://eips.ethereum.org/EIPS/eip-607\",\"status\":\"Final\"},\"gasConfig\":{},\"gasPrices\":{\"expByte\":{\"v\":50,\"d\":\"Times ceil(log256(exponent)) for the EXP instruction\"}},\"vm\":{\"maxCodeSize\":{\"v\":24576,\"d\":\"Maximum length of contract code\"}},\"pow\":{},\"casper\":{},\"sharding\":{}}"); - -/***/ }), -/* 1178 */ -/*!**********************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/byzantium.json ***! - \**********************************************************************************************************/ -/*! exports provided: name, comment, eip, gasConfig, gasPrices, vm, pow, casper, sharding, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"byzantium\",\"comment\":\"Hardfork with new precompiles, instructions and other protocol changes\",\"eip\":{\"url\":\"https://eips.ethereum.org/EIPS/eip-609\",\"status\":\"Final\"},\"gasConfig\":{},\"gasPrices\":{\"modexpGquaddivisor\":{\"v\":20,\"d\":\"Gquaddivisor from modexp precompile for gas calculation\"},\"ecAdd\":{\"v\":500,\"d\":\"Gas costs for curve addition precompile\"},\"ecMul\":{\"v\":40000,\"d\":\"Gas costs for curve multiplication precompile\"},\"ecPairing\":{\"v\":100000,\"d\":\"Base gas costs for curve pairing precompile\"},\"ecPairingWord\":{\"v\":80000,\"d\":\"Gas costs regarding curve pairing precompile input length\"}},\"vm\":{},\"pow\":{\"minerReward\":{\"v\":\"3000000000000000000\",\"d\":\"the amount a miner get rewarded for mining a block\"}},\"casper\":{},\"sharding\":{}}"); - -/***/ }), -/* 1179 */ -/*!***************************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/constantinople.json ***! - \***************************************************************************************************************/ -/*! exports provided: name, comment, eip, gasConfig, gasPrices, vm, pow, casper, sharding, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"constantinople\",\"comment\":\"Postponed hardfork including EIP-1283 (SSTORE gas metering changes)\",\"eip\":{\"url\":\"https://eips.ethereum.org/EIPS/eip-1013\",\"status\":\"Final\"},\"gasConfig\":{},\"gasPrices\":{\"netSstoreNoopGas\":{\"v\":200,\"d\":\"Once per SSTORE operation if the value doesn't change\"},\"netSstoreInitGas\":{\"v\":20000,\"d\":\"Once per SSTORE operation from clean zero\"},\"netSstoreCleanGas\":{\"v\":5000,\"d\":\"Once per SSTORE operation from clean non-zero\"},\"netSstoreDirtyGas\":{\"v\":200,\"d\":\"Once per SSTORE operation from dirty\"},\"netSstoreClearRefund\":{\"v\":15000,\"d\":\"Once per SSTORE operation for clearing an originally existing storage slot\"},\"netSstoreResetRefund\":{\"v\":4800,\"d\":\"Once per SSTORE operation for resetting to the original non-zero value\"},\"netSstoreResetClearRefund\":{\"v\":19800,\"d\":\"Once per SSTORE operation for resetting to the original zero value\"}},\"vm\":{},\"pow\":{\"minerReward\":{\"v\":\"2000000000000000000\",\"d\":\"The amount a miner gets rewarded for mining a block\"}},\"casper\":{},\"sharding\":{}}"); - -/***/ }), -/* 1180 */ -/*!***********************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/petersburg.json ***! - \***********************************************************************************************************/ -/*! exports provided: name, comment, eip, gasConfig, gasPrices, vm, pow, casper, sharding, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"petersburg\",\"comment\":\"Aka constantinopleFix, removes EIP-1283, activate together with or after constantinople\",\"eip\":{\"url\":\"https://eips.ethereum.org/EIPS/eip-1716\",\"status\":\"Draft\"},\"gasConfig\":{},\"gasPrices\":{\"netSstoreNoopGas\":{\"v\":null,\"d\":\"Removed along EIP-1283\"},\"netSstoreInitGas\":{\"v\":null,\"d\":\"Removed along EIP-1283\"},\"netSstoreCleanGas\":{\"v\":null,\"d\":\"Removed along EIP-1283\"},\"netSstoreDirtyGas\":{\"v\":null,\"d\":\"Removed along EIP-1283\"},\"netSstoreClearRefund\":{\"v\":null,\"d\":\"Removed along EIP-1283\"},\"netSstoreResetRefund\":{\"v\":null,\"d\":\"Removed along EIP-1283\"},\"netSstoreResetClearRefund\":{\"v\":null,\"d\":\"Removed along EIP-1283\"}},\"vm\":{},\"pow\":{},\"casper\":{},\"sharding\":{}}"); - -/***/ }), -/* 1181 */ -/*!*********************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/istanbul.json ***! - \*********************************************************************************************************/ -/*! exports provided: name, comment, eip, gasConfig, gasPrices, vm, pow, casper, sharding, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"istanbul\",\"comment\":\"HF targeted for December 2019 following the Constantinople/Petersburg HF\",\"eip\":{\"url\":\"https://eips.ethereum.org/EIPS/eip-1679\",\"status\":\"Draft\"},\"gasConfig\":{},\"gasPrices\":{\"blake2Round\":{\"v\":1,\"d\":\"Gas cost per round for the Blake2 F precompile\"},\"ecAdd\":{\"v\":150,\"d\":\"Gas costs for curve addition precompile\"},\"ecMul\":{\"v\":6000,\"d\":\"Gas costs for curve multiplication precompile\"},\"ecPairing\":{\"v\":45000,\"d\":\"Base gas costs for curve pairing precompile\"},\"ecPairingWord\":{\"v\":34000,\"d\":\"Gas costs regarding curve pairing precompile input length\"},\"txDataNonZero\":{\"v\":16,\"d\":\"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions\"},\"sstoreSentryGasEIP2200\":{\"v\":2300,\"d\":\"Minimum gas required to be present for an SSTORE call, not consumed\"},\"sstoreNoopGasEIP2200\":{\"v\":800,\"d\":\"Once per SSTORE operation if the value doesn't change\"},\"sstoreDirtyGasEIP2200\":{\"v\":800,\"d\":\"Once per SSTORE operation if a dirty value is changed\"},\"sstoreInitGasEIP2200\":{\"v\":20000,\"d\":\"Once per SSTORE operation from clean zero to non-zero\"},\"sstoreInitRefundEIP2200\":{\"v\":19200,\"d\":\"Once per SSTORE operation for resetting to the original zero value\"},\"sstoreCleanGasEIP2200\":{\"v\":5000,\"d\":\"Once per SSTORE operation from clean non-zero to something else\"},\"sstoreCleanRefundEIP2200\":{\"v\":4200,\"d\":\"Once per SSTORE operation for resetting to the original non-zero value\"},\"sstoreClearRefundEIP2200\":{\"v\":15000,\"d\":\"Once per SSTORE operation for clearing an originally existing storage slot\"}},\"vm\":{},\"pow\":{},\"casper\":{},\"sharding\":{}}"); - -/***/ }), -/* 1182 */ -/*!************************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/ethereumjs-common/dist/hardforks/muirGlacier.json ***! - \************************************************************************************************************/ -/*! exports provided: name, comment, eip, gasConfig, gasPrices, vm, pow, casper, sharding, default */ -/***/ (function(module) { - -module.exports = JSON.parse("{\"name\":\"muirGlacier\",\"comment\":\"HF to delay the difficulty bomb\",\"eip\":{\"url\":\"https://eips.ethereum.org/EIPS/eip-2384\",\"status\":\"Last Call\"},\"gasConfig\":{},\"gasPrices\":{},\"vm\":{},\"pow\":{},\"casper\":{},\"sharding\":{}}"); - -/***/ }), -/* 1183 */ -/*!*****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-eth/lib/getNetworkType.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . - */ -/** - * @file getNetworkType.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var _ = __webpack_require__(/*! underscore */ 994); -var getNetworkType = function getNetworkType(callback) { - var _this = this,id; - return this.net.getId(). - then(function (givenId) { - id = givenId; - return _this.getBlock(0); - }). - then(function (genesis) { - var returnValue = 'private'; - if (genesis.hash === '0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3' && - id === 1) { - returnValue = 'main'; - } - if (genesis.hash === '0cd786a2425d16f152c658316c423e6ce1181e15c3295826d7c9904cba9ce303' && - id === 2) { - returnValue = 'morden'; - } - if (genesis.hash === '0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d' && - id === 3) { - returnValue = 'ropsten'; - } - if (genesis.hash === '0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177' && - id === 4) { - returnValue = 'rinkeby'; - } - if (genesis.hash === '0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a' && - id === 5) { - returnValue = 'goerli'; - } - if (genesis.hash === '0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9' && - id === 42) { - returnValue = 'kovan'; - } - if (_.isFunction(callback)) { - callback(null, returnValue); - } - return returnValue; - }). - catch(function (err) { - if (_.isFunction(callback)) { - callback(err); - } else - { - throw err; - } - }); -}; -module.exports = getNetworkType; - -/***/ }), -/* 1184 */ -/*!********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-shh/lib/index.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(__f__) {/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var core = __webpack_require__(/*! web3-core */ 992); -var Subscriptions = __webpack_require__(/*! web3-core-subscriptions */ 1042).subscriptions; -var Method = __webpack_require__(/*! web3-core-method */ 1040); -// var formatters = require('web3-core-helpers').formatters; -var Net = __webpack_require__(/*! web3-net */ 1045); -var Shh = function Shh() { - __f__("warn", 'web3-shh package will be deprecated in version 1.3.5 and will no longer be supported.', " at node_modules/web3-shh/lib/index.js:29"); - var _this = this; - // sets _requestmanager - core.packageInit(this, arguments); - // overwrite package setRequestManager - var setRequestManager = this.setRequestManager; - this.setRequestManager = function (manager) { - setRequestManager(manager); - _this.net.setRequestManager(manager); - return true; - }; - // overwrite setProvider - var setProvider = this.setProvider; - this.setProvider = function () { - setProvider.apply(_this, arguments); - _this.setRequestManager(_this._requestManager); - }; - this.net = new Net(this); - [ - new Subscriptions({ - name: 'subscribe', - type: 'shh', - subscriptions: { - 'messages': { - params: 1 - // inputFormatter: [formatters.inputPostFormatter], - // outputFormatter: formatters.outputPostFormatter - } } }), - - - new Method({ - name: 'getVersion', - call: 'shh_version', - params: 0 }), - - new Method({ - name: 'getInfo', - call: 'shh_info', - params: 0 }), - - new Method({ - name: 'setMaxMessageSize', - call: 'shh_setMaxMessageSize', - params: 1 }), - - new Method({ - name: 'setMinPoW', - call: 'shh_setMinPoW', - params: 1 }), - - new Method({ - name: 'markTrustedPeer', - call: 'shh_markTrustedPeer', - params: 1 }), - - new Method({ - name: 'newKeyPair', - call: 'shh_newKeyPair', - params: 0 }), - - new Method({ - name: 'addPrivateKey', - call: 'shh_addPrivateKey', - params: 1 }), - - new Method({ - name: 'deleteKeyPair', - call: 'shh_deleteKeyPair', - params: 1 }), - - new Method({ - name: 'hasKeyPair', - call: 'shh_hasKeyPair', - params: 1 }), - - new Method({ - name: 'getPublicKey', - call: 'shh_getPublicKey', - params: 1 }), - - new Method({ - name: 'getPrivateKey', - call: 'shh_getPrivateKey', - params: 1 }), - - new Method({ - name: 'newSymKey', - call: 'shh_newSymKey', - params: 0 }), - - new Method({ - name: 'addSymKey', - call: 'shh_addSymKey', - params: 1 }), - - new Method({ - name: 'generateSymKeyFromPassword', - call: 'shh_generateSymKeyFromPassword', - params: 1 }), - - new Method({ - name: 'hasSymKey', - call: 'shh_hasSymKey', - params: 1 }), - - new Method({ - name: 'getSymKey', - call: 'shh_getSymKey', - params: 1 }), - - new Method({ - name: 'deleteSymKey', - call: 'shh_deleteSymKey', - params: 1 }), - - new Method({ - name: 'newMessageFilter', - call: 'shh_newMessageFilter', - params: 1 }), - - new Method({ - name: 'getFilterMessages', - call: 'shh_getFilterMessages', - params: 1 }), - - new Method({ - name: 'deleteMessageFilter', - call: 'shh_deleteMessageFilter', - params: 1 }), - - new Method({ - name: 'post', - call: 'shh_post', - params: 1, - inputFormatter: [null] }), - - new Method({ - name: 'unsubscribe', - call: 'shh_unsubscribe', - params: 1 })]. - - forEach(function (method) { - method.attachToObject(_this); - method.setRequestManager(_this._requestManager); - }); -}; -Shh.prototype.clearSubscriptions = function () { - this._requestManager.clearSubscriptions(); -}; -core.addProviders(Shh); -module.exports = Shh; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)["default"])) - -/***/ }), -/* 1185 */ -/*!********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/web3-bzz/lib/index.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(__f__) {/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file index.js - * @author Fabian Vogelsteller - * @date 2017 - */ - -var _ = __webpack_require__(/*! underscore */ 994); -var swarm = __webpack_require__(/*! swarm-js */ 1186); -var Bzz = function Bzz(provider) { - __f__("warn", 'web3-bzz package will be deprecated in version 1.3.5 and will no longer be supported.', " at node_modules/web3-bzz/lib/index.js:26"); - this.givenProvider = Bzz.givenProvider; - if (provider && provider._requestManager) { - provider = provider.currentProvider; - } - // only allow file picker when in browser - if (typeof document !== 'undefined') { - this.pick = swarm.pick; - } - this.setProvider(provider); -}; -// set default ethereum provider -/* jshint ignore:start */ -Bzz.givenProvider = null; -if (typeof ethereum !== 'undefined' && ethereum.bzz) { - Bzz.givenProvider = ethereum.bzz; -} -/* jshint ignore:end */ -Bzz.prototype.setProvider = function (provider) { - // is ethereum provider - if (_.isObject(provider) && _.isString(provider.bzz)) { - provider = provider.bzz; - // is no string, set default - } - // else if(!_.isString(provider)) { - // provider = 'http://swarm-gateways.net'; // default to gateway - // } - if (_.isString(provider)) { - this.currentProvider = provider; - } else - { - this.currentProvider = null; - var noProviderError = new Error('No provider set, please set one using bzz.setProvider().'); - this.download = this.upload = this.isAvailable = function () { - throw noProviderError; - }; - return false; - } - // add functions - this.download = swarm.at(provider).download; - this.upload = swarm.at(provider).upload; - this.isAvailable = swarm.at(provider).isAvailable; - return true; -}; -module.exports = Bzz; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 28)["default"])) - -/***/ }), -/* 1186 */ -/*!**************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/swarm-js/lib/api-browser.js ***! - \**************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var unavailable = function unavailable() { - throw "This swarm.js function isn't available on the browser."; -}; - -var fs = { - readFile: unavailable }; - -var files = { - download: unavailable, - safeDownloadArchived: unavailable, - directoryTree: unavailable }; - -var os = { - platform: unavailable, - arch: unavailable }; - -var path = { - join: unavailable, - slice: unavailable }; - -var child_process = { - spawn: unavailable }; - -var mimetype = { - lookup: unavailable }; - -var defaultArchives = {}; -var downloadUrl = null; - -var request = __webpack_require__(/*! xhr-request */ 1187); - -var bytes = __webpack_require__(/*! eth-lib/lib/bytes */ 1087); - -var hash = __webpack_require__(/*! ./swarm-hash.js */ 1198); - -var pick = __webpack_require__(/*! ./pick.js */ 1199); - -var swarm = __webpack_require__(/*! ./swarm */ 1200); - -module.exports = swarm({ - fs: fs, - files: files, - os: os, - path: path, - child_process: child_process, - defaultArchives: defaultArchives, - mimetype: mimetype, - request: request, - downloadUrl: downloadUrl, - bytes: bytes, - hash: hash, - pick: pick }); - -/***/ }), -/* 1187 */ -/*!*******************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr-request/index.js ***! - \*******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var queryString = __webpack_require__(/*! query-string */ 1188); -var setQuery = __webpack_require__(/*! url-set-query */ 1190); -var assign = __webpack_require__(/*! object-assign */ 450); -var ensureHeader = __webpack_require__(/*! ./lib/ensure-header.js */ 1191); - -// this is replaced in the browser -var request = __webpack_require__(/*! ./lib/request.js */ 1192); - -var mimeTypeJson = 'application/json'; -var noop = function noop() {}; - -module.exports = xhrRequest; -function xhrRequest(url, opt, cb) { - if (!url || typeof url !== 'string') { - throw new TypeError('must specify a URL'); - } - if (typeof opt === 'function') { - cb = opt; - opt = {}; - } - if (cb && typeof cb !== 'function') { - throw new TypeError('expected cb to be undefined or a function'); - } - - cb = cb || noop; - opt = opt || {}; - - var defaultResponse = opt.json ? 'json' : 'text'; - opt = assign({ responseType: defaultResponse }, opt); - - var headers = opt.headers || {}; - var method = (opt.method || 'GET').toUpperCase(); - var query = opt.query; - if (query) { - if (typeof query !== 'string') { - query = queryString.stringify(query); - } - url = setQuery(url, query); - } - - // allow json response - if (opt.responseType === 'json') { - ensureHeader(headers, 'Accept', mimeTypeJson); - } - - // if body content is json - if (opt.json && method !== 'GET' && method !== 'HEAD') { - ensureHeader(headers, 'Content-Type', mimeTypeJson); - opt.body = JSON.stringify(opt.body); - } - - opt.method = method; - opt.url = url; - opt.headers = headers; - delete opt.query; - delete opt.json; - - return request(opt, cb); -} - -/***/ }), -/* 1188 */ -/*!********************************************!*\ - !*** ./node_modules/query-string/index.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var strictUriEncode = __webpack_require__(/*! strict-uri-encode */ 1189); -var objectAssign = __webpack_require__(/*! object-assign */ 450); - -function encoderForArrayFormat(opts) { - switch (opts.arrayFormat) { - case 'index': - return function (key, value, index) { - return value === null ? [ - encode(key, opts), - '[', - index, - ']' - ].join('') : [ - encode(key, opts), - '[', - encode(index, opts), - ']=', - encode(value, opts) - ].join(''); - }; - - case 'bracket': - return function (key, value) { - return value === null ? encode(key, opts) : [ - encode(key, opts), - '[]=', - encode(value, opts) - ].join(''); - }; - - default: - return function (key, value) { - return value === null ? encode(key, opts) : [ - encode(key, opts), - '=', - encode(value, opts) - ].join(''); - }; - } -} - -function parserForArrayFormat(opts) { - var result; - - switch (opts.arrayFormat) { - case 'index': - return function (key, value, accumulator) { - result = /\[(\d*)\]$/.exec(key); - - key = key.replace(/\[\d*\]$/, ''); - - if (!result) { - accumulator[key] = value; - return; - } - - if (accumulator[key] === undefined) { - accumulator[key] = {}; - } - - accumulator[key][result[1]] = value; - }; - - case 'bracket': - return function (key, value, accumulator) { - result = /(\[\])$/.exec(key); - key = key.replace(/\[\]$/, ''); - - if (!result) { - accumulator[key] = value; - return; - } else if (accumulator[key] === undefined) { - accumulator[key] = [value]; - return; - } - - accumulator[key] = [].concat(accumulator[key], value); - }; - - default: - return function (key, value, accumulator) { - if (accumulator[key] === undefined) { - accumulator[key] = value; - return; - } - - accumulator[key] = [].concat(accumulator[key], value); - }; - } -} - -function encode(value, opts) { - if (opts.encode) { - return opts.strict ? strictUriEncode(value) : encodeURIComponent(value); - } - - return value; -} - -function keysSorter(input) { - if (Array.isArray(input)) { - return input.sort(); - } else if (typeof input === 'object') { - return keysSorter(Object.keys(input)).sort(function (a, b) { - return Number(a) - Number(b); - }).map(function (key) { - return input[key]; - }); - } - - return input; -} - -exports.extract = function (str) { - return str.split('?')[1] || ''; -}; - -exports.parse = function (str, opts) { - opts = objectAssign({arrayFormat: 'none'}, opts); - - var formatter = parserForArrayFormat(opts); - - // Create an object with no prototype - // https://github.com/sindresorhus/query-string/issues/47 - var ret = Object.create(null); - - if (typeof str !== 'string') { - return ret; - } - - str = str.trim().replace(/^(\?|#|&)/, ''); - - if (!str) { - return ret; - } - - str.split('&').forEach(function (param) { - var parts = param.replace(/\+/g, ' ').split('='); - // Firefox (pre 40) decodes `%3D` to `=` - // https://github.com/sindresorhus/query-string/pull/37 - var key = parts.shift(); - var val = parts.length > 0 ? parts.join('=') : undefined; - - // missing `=` should be `null`: - // http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters - val = val === undefined ? null : decodeURIComponent(val); - - formatter(decodeURIComponent(key), val, ret); - }); - - return Object.keys(ret).sort().reduce(function (result, key) { - var val = ret[key]; - if (Boolean(val) && typeof val === 'object' && !Array.isArray(val)) { - // Sort object keys, not values - result[key] = keysSorter(val); - } else { - result[key] = val; - } - - return result; - }, Object.create(null)); -}; - -exports.stringify = function (obj, opts) { - var defaults = { - encode: true, - strict: true, - arrayFormat: 'none' - }; - - opts = objectAssign(defaults, opts); - - var formatter = encoderForArrayFormat(opts); - - return obj ? Object.keys(obj).sort().map(function (key) { - var val = obj[key]; - - if (val === undefined) { - return ''; - } - - if (val === null) { - return encode(key, opts); - } - - if (Array.isArray(val)) { - var result = []; - - val.slice().forEach(function (val2) { - if (val2 === undefined) { - return; - } - - result.push(formatter(key, val2, result.length)); - }); - - return result.join('&'); - } - - return encode(key, opts) + '=' + encode(val, opts); - }).filter(function (x) { - return x.length > 0; - }).join('&') : ''; -}; - - -/***/ }), -/* 1189 */ -/*!*************************************************!*\ - !*** ./node_modules/strict-uri-encode/index.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -module.exports = function (str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { - return '%' + c.charCodeAt(0).toString(16).toUpperCase(); - }); -}; - - -/***/ }), -/* 1190 */ -/*!*********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/url-set-query/index.js ***! - \*********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = urlSetQuery; -function urlSetQuery(url, query) { - if (query) { - // remove optional leading symbols - query = query.trim().replace(/^(\?|#|&)/, ''); - - // don't append empty query - query = query ? '?' + query : query; - - var parts = url.split(/[\?\#]/); - var start = parts[0]; - if (query && /\:\/\/[^\/]*$/.test(start)) { - // e.g. http://foo.com -> http://foo.com/ - start = start + '/'; - } - var match = url.match(/(\#.*)$/); - url = start + query; - if (match) {// add hash back in - url = url + match[0]; - } - } - return url; -} - -/***/ }), -/* 1191 */ -/*!*******************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr-request/lib/ensure-header.js ***! - \*******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = ensureHeader; -function ensureHeader(headers, key, value) { - var lower = key.toLowerCase(); - if (!headers[key] && !headers[lower]) { - headers[key] = value; - } -} - -/***/ }), -/* 1192 */ -/*!*********************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr-request/lib/request-browser.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -var xhr = __webpack_require__(/*! xhr */ 1193); -var normalize = __webpack_require__(/*! ./normalize-response */ 1197); -var noop = function noop() {}; - -module.exports = xhrRequest; -function xhrRequest(opt, cb) { - delete opt.uri; - - // for better JSON.parse error handling than xhr module - var useJson = false; - if (opt.responseType === 'json') { - opt.responseType = 'text'; - useJson = true; - } - - var req = xhr(opt, function xhrRequestResult(err, resp, body) { - if (useJson && !err) { - try { - var text = resp.rawRequest.responseText; - body = JSON.parse(text); - } catch (e) { - err = e; - } - } - - resp = normalize(opt, resp); - if (err) cb(err, null, resp);else - cb(err, body, resp); - cb = noop; - }); - - // Patch abort() so that it also calls the callback, but with an error - var onabort = req.onabort; - req.onabort = function () { - var ret = onabort.apply(req, Array.prototype.slice.call(arguments)); - cb(new Error('XHR Aborted')); - cb = noop; - return ret; - }; - - return req; -} - -/***/ }), -/* 1193 */ -/*!***********************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr/index.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - -var window = __webpack_require__(/*! global/window */ 1194); -var isFunction = __webpack_require__(/*! is-function */ 1195); -var parseHeaders = __webpack_require__(/*! parse-headers */ 1196); -var xtend = __webpack_require__(/*! xtend */ 1028); - -module.exports = createXHR; -// Allow use of default import syntax in TypeScript -module.exports.default = createXHR; -createXHR.XMLHttpRequest = window.XMLHttpRequest || noop; -createXHR.XDomainRequest = "withCredentials" in new createXHR.XMLHttpRequest() ? createXHR.XMLHttpRequest : window.XDomainRequest; - -forEachArray(["get", "put", "post", "patch", "head", "delete"], function (method) { - createXHR[method === "delete" ? "del" : method] = function (uri, options, callback) { - options = initParams(uri, options, callback); - options.method = method.toUpperCase(); - return _createXHR(options); - }; -}); - -function forEachArray(array, iterator) { - for (var i = 0; i < array.length; i++) { - iterator(array[i]); - } -} - -function isEmpty(obj) { - for (var i in obj) { - if (obj.hasOwnProperty(i)) return false; - } - return true; -} - -function initParams(uri, options, callback) { - var params = uri; - - if (isFunction(options)) { - callback = options; - if (typeof uri === "string") { - params = { uri: uri }; - } - } else { - params = xtend(options, { uri: uri }); - } - - params.callback = callback; - return params; -} - -function createXHR(uri, options, callback) { - options = initParams(uri, options, callback); - return _createXHR(options); -} - -function _createXHR(options) { - if (typeof options.callback === "undefined") { - throw new Error("callback argument missing"); - } - - var called = false; - var callback = function cbOnce(err, response, body) { - if (!called) { - called = true; - options.callback(err, response, body); - } - }; - - function readystatechange() { - if (xhr.readyState === 4) { - setTimeout(loadFunc, 0); - } - } - - function getBody() { - // Chrome with requestType=blob throws errors arround when even testing access to responseText - var body = undefined; - - if (xhr.response) { - body = xhr.response; - } else { - body = xhr.responseText || getXml(xhr); - } - - if (isJson) { - try { - body = JSON.parse(body); - } catch (e) {} - } - - return body; - } - - function errorFunc(evt) { - clearTimeout(timeoutTimer); - if (!(evt instanceof Error)) { - evt = new Error("" + (evt || "Unknown XMLHttpRequest Error")); - } - evt.statusCode = 0; - return callback(evt, failureResponse); - } - - // will load the data & process the response in a special response object - function loadFunc() { - if (aborted) return; - var status; - clearTimeout(timeoutTimer); - if (options.useXDR && xhr.status === undefined) { - //IE8 CORS GET successful response doesn't have a status field, but body is fine - status = 200; - } else { - status = xhr.status === 1223 ? 204 : xhr.status; - } - var response = failureResponse; - var err = null; - - if (status !== 0) { - response = { - body: getBody(), - statusCode: status, - method: method, - headers: {}, - url: uri, - rawRequest: xhr }; - - if (xhr.getAllResponseHeaders) {//remember xhr can in fact be XDR for CORS in IE - response.headers = parseHeaders(xhr.getAllResponseHeaders()); - } - } else { - err = new Error("Internal XMLHttpRequest Error"); - } - return callback(err, response, response.body); - } - - var xhr = options.xhr || null; - - if (!xhr) { - if (options.cors || options.useXDR) { - xhr = new createXHR.XDomainRequest(); - } else { - xhr = new createXHR.XMLHttpRequest(); - } - } - - var key; - var aborted; - var uri = xhr.url = options.uri || options.url; - var method = xhr.method = options.method || "GET"; - var body = options.body || options.data; - var headers = xhr.headers = options.headers || {}; - var sync = !!options.sync; - var isJson = false; - var timeoutTimer; - var failureResponse = { - body: undefined, - headers: {}, - statusCode: 0, - method: method, - url: uri, - rawRequest: xhr }; - - - if ("json" in options && options.json !== false) { - isJson = true; - headers["accept"] || headers["Accept"] || (headers["Accept"] = "application/json"); //Don't override existing accept header declared by user - if (method !== "GET" && method !== "HEAD") { - headers["content-type"] || headers["Content-Type"] || (headers["Content-Type"] = "application/json"); //Don't override existing accept header declared by user - body = JSON.stringify(options.json === true ? body : options.json); - } - } - - xhr.onreadystatechange = readystatechange; - xhr.onload = loadFunc; - xhr.onerror = errorFunc; - // IE9 must have onprogress be set to a unique function. - xhr.onprogress = function () { - // IE must die - }; - xhr.onabort = function () { - aborted = true; - }; - xhr.ontimeout = errorFunc; - xhr.open(method, uri, !sync, options.username, options.password); - //has to be after open - if (!sync) { - xhr.withCredentials = !!options.withCredentials; - } - // Cannot set timeout with sync request - // not setting timeout on the xhr object, because of old webkits etc. not handling that correctly - // both npm's request and jquery 1.x use this kind of timeout, so this is being consistent - if (!sync && options.timeout > 0) { - timeoutTimer = setTimeout(function () { - if (aborted) return; - aborted = true; //IE9 may still call readystatechange - xhr.abort("timeout"); - var e = new Error("XMLHttpRequest timeout"); - e.code = "ETIMEDOUT"; - errorFunc(e); - }, options.timeout); - } - - if (xhr.setRequestHeader) { - for (key in headers) { - if (headers.hasOwnProperty(key)) { - xhr.setRequestHeader(key, headers[key]); - } - } - } else if (options.headers && !isEmpty(options.headers)) { - throw new Error("Headers cannot be set on an XDomainRequest object"); - } - - if ("responseType" in options) { - xhr.responseType = options.responseType; - } - - if ("beforeSend" in options && - typeof options.beforeSend === "function") - { - options.beforeSend(xhr); - } - - // Microsoft Edge browser sends "undefined" when send is called with undefined value. - // XMLHttpRequest spec says to pass null as body to indicate no body - // See https://github.com/naugtur/xhr/issues/100. - xhr.send(body || null); - - return xhr; - - -} - -function getXml(xhr) { - // xhr.responseXML will throw Exception "InvalidStateError" or "DOMException" - // See https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseXML. - try { - if (xhr.responseType === "document") { - return xhr.responseXML; - } - var firefoxBugTakenEffect = xhr.responseXML && xhr.responseXML.documentElement.nodeName === "parsererror"; - if (xhr.responseType === "" && !firefoxBugTakenEffect) { - return xhr.responseXML; - } - } catch (e) {} - - return null; -} - -function noop() {} - -/***/ }), -/* 1194 */ -/*!***************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/global/window.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -/* WEBPACK VAR INJECTION */(function(global) {var win; - -if (typeof window !== "undefined") { - win = window; -} else if (typeof global !== "undefined") { - win = global; -} else if (typeof self !== "undefined") { - win = self; -} else { - win = {}; -} - -module.exports = win; -/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../HBuilderX/plugins/uniapp-cli/node_modules/webpack/buildin/global.js */ 37))) - -/***/ }), -/* 1195 */ -/*!*******************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/is-function/index.js ***! - \*******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = isFunction; - -var toString = Object.prototype.toString; - -function isFunction(fn) { - if (!fn) { - return false; - } - var string = toString.call(fn); - return string === '[object Function]' || - typeof fn === 'function' && string !== '[object RegExp]' || - typeof window !== 'undefined' && ( - // IE8 and below - fn === window.setTimeout || - fn === window.alert || - fn === window.confirm || - fn === window.prompt); -}; - -/***/ }), -/* 1196 */ -/*!*****************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/parse-headers/parse-headers.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var trim = function trim(string) { - return string.replace(/^\s+|\s+$/g, ''); -}, -isArray = function isArray(arg) { - return Object.prototype.toString.call(arg) === '[object Array]'; -}; - -module.exports = function (headers) { - if (!headers) - return {}; - - var result = {}; - - var headersArr = trim(headers).split('\n'); - - for (var i = 0; i < headersArr.length; i++) { - var row = headersArr[i]; - var index = row.indexOf(':'), - key = trim(row.slice(0, index)).toLowerCase(), - value = trim(row.slice(index + 1)); - - if (typeof result[key] === 'undefined') { - result[key] = value; - } else if (isArray(result[key])) { - result[key].push(value); - } else { - result[key] = [result[key], value]; - } - } - - return result; -}; - -/***/ }), -/* 1197 */ -/*!************************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/xhr-request/lib/normalize-response.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -module.exports = getResponse; -function getResponse(opt, resp) { - if (!resp) return null; - return { - statusCode: resp.statusCode, - headers: resp.headers, - method: opt.method, - url: opt.url, - // the XHR object in browser, http response in Node - rawRequest: resp.rawRequest ? resp.rawRequest : resp }; - -} - -/***/ }), -/* 1198 */ -/*!*************************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/swarm-js/lib/swarm-hash.js ***! - \*************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -// Thanks https://github.com/axic/swarmhash -var keccak = __webpack_require__(/*! eth-lib/lib/hash */ 1003).keccak256; - -var Bytes = __webpack_require__(/*! eth-lib/lib/bytes */ 1087); - -var swarmHashBlock = function swarmHashBlock(length, data) { - var lengthEncoded = Bytes.reverse(Bytes.pad(6, Bytes.fromNumber(length))); - var bytes = Bytes.flatten([lengthEncoded, "0x0000", data]); - return keccak(bytes).slice(2); -}; // (Bytes | Uint8Array | String) -> String - - -var swarmHash = function swarmHash(data) { - if (typeof data === "string" && data.slice(0, 2) !== "0x") { - data = Bytes.fromString(data); - } else if (typeof data !== "string" && data.length !== undefined) { - data = Bytes.fromUint8Array(data); - } - - var length = Bytes.length(data); - - if (length <= 4096) { - return swarmHashBlock(length, data); - } - - var maxSize = 4096; - - while (maxSize * (4096 / 32) < length) { - maxSize *= 4096 / 32; - } - - var innerNodes = []; - - for (var i = 0; i < length; i += maxSize) { - var size = maxSize < length - i ? maxSize : length - i; - innerNodes.push(swarmHash(Bytes.slice(data, i, i + size))); - } - - return swarmHashBlock(length, Bytes.flatten(innerNodes)); -}; - -module.exports = swarmHash; - -/***/ }), -/* 1199 */ -/*!*******************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/swarm-js/lib/pick.js ***! - \*******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -var picker = function picker(type) { - return function () { - return new Promise(function (resolve, reject) { - var fileLoader = function fileLoader(e) { - var directory = {}; - var totalFiles = e.target.files.length; - var loadedFiles = 0; - [].map.call(e.target.files, function (file) { - var reader = new FileReader(); - - reader.onload = function (e) { - var data = new Uint8Array(e.target.result); - - if (type === "directory") { - var path = file.webkitRelativePath; - directory[path.slice(path.indexOf("/") + 1)] = { - type: "text/plain", - data: data }; - - if (++loadedFiles === totalFiles) resolve(directory); - } else if (type === "file") { - var _path = file.webkitRelativePath; - resolve({ - "type": mimetype.lookup(_path), - "data": data }); - - } else { - resolve(data); - } - }; - - reader.readAsArrayBuffer(file); - }); - }; - - var fileInput; - - if (type === "directory") { - fileInput = document.createElement("input"); - fileInput.addEventListener("change", fileLoader); - fileInput.type = "file"; - fileInput.webkitdirectory = true; - fileInput.mozdirectory = true; - fileInput.msdirectory = true; - fileInput.odirectory = true; - fileInput.directory = true; - } else { - fileInput = document.createElement("input"); - fileInput.addEventListener("change", fileLoader); - fileInput.type = "file"; - } - - ; - var mouseEvent = document.createEvent("MouseEvents"); - mouseEvent.initEvent("click", true, false); - fileInput.dispatchEvent(mouseEvent); - }); - }; -}; - -module.exports = { - data: picker("data"), - file: picker("file"), - directory: picker("directory") }; - -/***/ }), -/* 1200 */ -/*!********************************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/node_modules/swarm-js/lib/swarm.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -// TODO: this is a temporary fix to hide those libraries from the browser. A -// slightly better long-term solution would be to split this file into two, -// separating the functions that are used on Node.js from the functions that -// are used only on the browser. -module.exports = function (_ref) { - var fs = _ref.fs, - files = _ref.files, - os = _ref.os, - path = _ref.path, - child_process = _ref.child_process, - mimetype = _ref.mimetype, - defaultArchives = _ref.defaultArchives, - request = _ref.request, - downloadUrl = _ref.downloadUrl, - bytes = _ref.bytes, - hash = _ref.hash, - pick = _ref.pick; - - // ∀ a . String -> JSON -> Map String a -o Map String a - // Inserts a key/val pair in an object impurely. - var impureInsert = function impureInsert(key) { - return function (val) { - return function (map) { - return map[key] = val, map; - }; - }; - }; // String -> JSON -> Map String JSON - // Merges an array of keys and an array of vals into an object. - - - var toMap = function toMap(keys) { - return function (vals) { - var map = {}; - - for (var i = 0, l = keys.length; i < l; ++i) { - map[keys[i]] = vals[i]; - } - - return map; - }; - }; // ∀ a . Map String a -> Map String a -> Map String a - // Merges two maps into one. - - - var merge = function merge(a) { - return function (b) { - var map = {}; - - for (var key in a) { - map[key] = a[key]; - } - - for (var _key in b) { - map[_key] = b[_key]; - } - - return map; - }; - }; // ∀ a . [a] -> [a] -> Bool - - - var equals = function equals(a) { - return function (b) { - if (a.length !== b.length) { - return false; - } else { - for (var i = 0, l = a.length; i < l; ++i) { - if (a[i] !== b[i]) return false; - } - } - - return true; - }; - }; // String -> String -> String - - - var rawUrl = function rawUrl(swarmUrl) { - return function (hash) { - return "".concat(swarmUrl, "/bzz-raw:/").concat(hash); - }; - }; // String -> String -> Promise Uint8Array - // Gets the raw contents of a Swarm hash address. - - - var downloadData = function downloadData(swarmUrl) { - return function (hash) { - return new Promise(function (resolve, reject) { - request(rawUrl(swarmUrl)(hash), { - responseType: "arraybuffer" }, - function (err, arrayBuffer, response) { - if (err) { - return reject(err); - } - - if (response.statusCode >= 400) { - return reject(new Error("Error ".concat(response.statusCode, "."))); - } - - return resolve(new Uint8Array(arrayBuffer)); - }); - }); - }; - }; // type Entry = {"type": String, "hash": String} - // type File = {"type": String, "data": Uint8Array} - // String -> String -> Promise (Map String Entry) - // Solves the manifest of a Swarm address recursively. - // Returns a map from full paths to entries. - - - var downloadEntries = function downloadEntries(swarmUrl) { - return function (hash) { - var search = function search(hash) { - return function (path) { - return function (routes) { - // Formats an entry to the Swarm.js type. - var format = function format(entry) { - return { - type: entry.contentType, - hash: entry.hash }; - - }; // To download a single entry: - // if type is bzz-manifest, go deeper - // if not, add it to the routing table - - - var downloadEntry = function downloadEntry(entry) { - if (entry.path === undefined) { - return Promise.resolve(); - } else { - return entry.contentType === "application/bzz-manifest+json" ? search(entry.hash)(path + entry.path)(routes) : Promise.resolve(impureInsert(path + entry.path)(format(entry))(routes)); - } - }; // Downloads the initial manifest and then each entry. - - - return downloadData(swarmUrl)(hash).then(function (text) { - return JSON.parse(toString(text)).entries; - }).then(function (entries) { - return Promise.all(entries.map(downloadEntry)); - }).then(function () { - return routes; - }); - }; - }; - }; - - return search(hash)("")({}); - }; - }; // String -> String -> Promise (Map String String) - // Same as `downloadEntries`, but returns only hashes (no types). - - - var downloadRoutes = function downloadRoutes(swarmUrl) { - return function (hash) { - return downloadEntries(swarmUrl)(hash).then(function (entries) { - return toMap(Object.keys(entries))(Object.keys(entries).map(function (route) { - return entries[route].hash; - })); - }); - }; - }; // String -> String -> Promise (Map String File) - // Gets the entire directory tree in a Swarm address. - // Returns a promise mapping paths to file contents. - - - var downloadDirectory = function downloadDirectory(swarmUrl) { - return function (hash) { - return downloadEntries(swarmUrl)(hash).then(function (entries) { - var paths = Object.keys(entries); - var hashs = paths.map(function (path) { - return entries[path].hash; - }); - var types = paths.map(function (path) { - return entries[path].type; - }); - var datas = hashs.map(downloadData(swarmUrl)); - - var files = function files(datas) { - return datas.map(function (data, i) { - return { - type: types[i], - data: data }; - - }); - }; - - return Promise.all(datas).then(function (datas) { - return toMap(paths)(files(datas)); - }); - }); - }; - }; // String -> String -> String -> Promise String - // Gets the raw contents of a Swarm hash address. - // Returns a promise with the downloaded file path. - - - var downloadDataToDisk = function downloadDataToDisk(swarmUrl) { - return function (hash) { - return function (filePath) { - return files.download(rawUrl(swarmUrl)(hash))(filePath); - }; - }; - }; // String -> String -> String -> Promise (Map String String) - // Gets the entire directory tree in a Swarm address. - // Returns a promise mapping paths to file contents. - - - var downloadDirectoryToDisk = function downloadDirectoryToDisk(swarmUrl) { - return function (hash) { - return function (dirPath) { - return downloadRoutes(swarmUrl)(hash).then(function (routingTable) { - var downloads = []; - - for (var route in routingTable) { - if (route.length > 0) { - var filePath = path.join(dirPath, route); - downloads.push(downloadDataToDisk(swarmUrl)(routingTable[route])(filePath)); - } - - ; - } - - ; - return Promise.all(downloads).then(function () { - return dirPath; - }); - }); - }; - }; - }; // String -> Uint8Array -> Promise String - // Uploads raw data to Swarm. - // Returns a promise with the uploaded hash. - - - var uploadData = function uploadData(swarmUrl) { - return function (data) { - return new Promise(function (resolve, reject) { - var params = { - body: typeof data === "string" ? fromString(data) : data, - method: "POST" }; - - request("".concat(swarmUrl, "/bzz-raw:/"), params, function (err, data) { - if (err) { - return reject(err); - } - - return resolve(data); - }); - }); - }; - }; // String -> String -> String -> File -> Promise String - // Uploads a file to the Swarm manifest at a given hash, under a specific - // route. Returns a promise containing the uploaded hash. - // FIXME: for some reasons Swarm-Gateways is sometimes returning - // error 404 (bad request), so we retry up to 3 times. Why? - - - var uploadToManifest = function uploadToManifest(swarmUrl) { - return function (hash) { - return function (route) { - return function (file) { - var attempt = function attempt(n) { - var slashRoute = route[0] === "/" ? route : "/" + route; - var url = "".concat(swarmUrl, "/bzz:/").concat(hash).concat(slashRoute); - var opt = { - method: "PUT", - headers: { - "Content-Type": file.type }, - - body: file.data }; - - return new Promise(function (resolve, reject) { - request(url, opt, function (err, data) { - if (err) { - return reject(err); - } - - if (data.indexOf("error") !== -1) { - return reject(data); - } - - return resolve(data); - }); - })["catch"](function (e) { - return n > 0 && attempt(n - 1); - }); - }; - - return attempt(3); - }; - }; - }; - }; // String -> {type: String, data: Uint8Array} -> Promise String - - - var uploadFile = function uploadFile(swarmUrl) { - return function (file) { - return uploadDirectory(swarmUrl)({ - "": file }); - - }; - }; // String -> String -> Promise String - - - var uploadFileFromDisk = function uploadFileFromDisk(swarmUrl) { - return function (filePath) { - return fs.readFile(filePath).then(function (data) { - return uploadFile(swarmUrl)({ - type: mimetype.lookup(filePath), - data: data }); - - }); - }; - }; // String -> Map String File -> Promise String - // Uploads a directory to Swarm. The directory is - // represented as a map of routes and files. - // A default path is encoded by having a "" route. - - - var uploadDirectory = function uploadDirectory(swarmUrl) { - return function (directory) { - return uploadData(swarmUrl)("{}").then(function (hash) { - var uploadRoute = function uploadRoute(route) { - return function (hash) { - return uploadToManifest(swarmUrl)(hash)(route)(directory[route]); - }; - }; - - var uploadToHash = function uploadToHash(hash, route) { - return hash.then(uploadRoute(route)); - }; - - return Object.keys(directory).reduce(uploadToHash, Promise.resolve(hash)); - }); - }; - }; // String -> Promise String - - - var uploadDataFromDisk = function uploadDataFromDisk(swarmUrl) { - return function (filePath) { - return fs.readFile(filePath).then(uploadData(swarmUrl)); - }; - }; // String -> Nullable String -> String -> Promise String - - - var uploadDirectoryFromDisk = function uploadDirectoryFromDisk(swarmUrl) { - return function (defaultPath) { - return function (dirPath) { - return files.directoryTree(dirPath).then(function (fullPaths) { - return Promise.all(fullPaths.map(function (path) { - return fs.readFile(path); - })).then(function (datas) { - var paths = fullPaths.map(function (path) { - return path.slice(dirPath.length); - }); - var types = fullPaths.map(function (path) { - return mimetype.lookup(path) || "text/plain"; - }); - return toMap(paths)(datas.map(function (data, i) { - return { - type: types[i], - data: data }; - - })); - }); - }).then(function (directory) { - return merge(defaultPath ? { - "": directory[defaultPath] } : - {})(directory); - }).then(uploadDirectory(swarmUrl)); - }; - }; - }; // String -> UploadInfo -> Promise String - // Simplified multi-type upload which calls the correct - // one based on the type of the argument given. - - - var _upload = function upload(swarmUrl) { - return function (arg) { - // Upload raw data from browser - if (arg.pick === "data") { - return pick.data().then(uploadData(swarmUrl)); // Upload a file from browser - } else if (arg.pick === "file") { - return pick.file().then(uploadFile(swarmUrl)); // Upload a directory from browser - } else if (arg.pick === "directory") { - return pick.directory().then(uploadDirectory(swarmUrl)); // Upload directory/file from disk - } else if (arg.path) { - switch (arg.kind) { - case "data": - return uploadDataFromDisk(swarmUrl)(arg.path); - - case "file": - return uploadFileFromDisk(swarmUrl)(arg.path); - - case "directory": - return uploadDirectoryFromDisk(swarmUrl)(arg.defaultFile)(arg.path);} - - - ; // Upload UTF-8 string or raw data (buffer) - } else if (arg.length || typeof arg === "string") { - return uploadData(swarmUrl)(arg); // Upload directory with JSON - } else if (arg instanceof Object) { - return uploadDirectory(swarmUrl)(arg); - } - - return Promise.reject(new Error("Bad arguments")); - }; - }; // String -> String -> Nullable String -> Promise (String | Uint8Array | Map String Uint8Array) - // Simplified multi-type download which calls the correct function based on - // the type of the argument given, and on whether the Swwarm address has a - // directory or a file. - - - var _download = function download(swarmUrl) { - return function (hash) { - return function (path) { - return isDirectory(swarmUrl)(hash).then(function (isDir) { - if (isDir) { - return path ? downloadDirectoryToDisk(swarmUrl)(hash)(path) : downloadDirectory(swarmUrl)(hash); - } else { - return path ? downloadDataToDisk(swarmUrl)(hash)(path) : downloadData(swarmUrl)(hash); - } - }); - }; - }; - }; // String -> Promise String - // Downloads the Swarm binaries into a path. Returns a promise that only - // resolves when the exact Swarm file is there, and verified to be correct. - // If it was already there to begin with, skips the download. - - - var downloadBinary = function downloadBinary(path, archives) { - var system = os.platform().replace("win32", "windows") + "-" + (os.arch() === "x64" ? "amd64" : "386"); - var archive = (archives || defaultArchives)[system]; - var archiveUrl = downloadUrl + archive.archive + ".tar.gz"; - var archiveMD5 = archive.archiveMD5; - var binaryMD5 = archive.binaryMD5; - return files.safeDownloadArchived(archiveUrl)(archiveMD5)(binaryMD5)(path); - }; // type SwarmSetup = { - // account : String, - // password : String, - // dataDir : String, - // binPath : String, - // ensApi : String, - // onDownloadProgress : Number ~> (), - // archives : [{ - // archive: String, - // binaryMD5: String, - // archiveMD5: String - // }] - // } - // SwarmSetup ~> Promise Process - // Starts the Swarm process. - - - var startProcess = function startProcess(swarmSetup) { - return new Promise(function (resolve, reject) { - var spawn = child_process.spawn; - - var hasString = function hasString(str) { - return function (buffer) { - return ('' + buffer).indexOf(str) !== -1; - }; - }; - - var account = swarmSetup.account, - password = swarmSetup.password, - dataDir = swarmSetup.dataDir, - ensApi = swarmSetup.ensApi, - privateKey = swarmSetup.privateKey; - var STARTUP_TIMEOUT_SECS = 3; - var WAITING_PASSWORD = 0; - var STARTING = 1; - var LISTENING = 2; - var PASSWORD_PROMPT_HOOK = "Passphrase"; - var LISTENING_HOOK = "Swarm http proxy started"; - var state = WAITING_PASSWORD; - var swarmProcess = spawn(swarmSetup.binPath, ['--bzzaccount', account || privateKey, '--datadir', dataDir, '--ens-api', ensApi]); - - var handleProcessOutput = function handleProcessOutput(data) { - if (state === WAITING_PASSWORD && hasString(PASSWORD_PROMPT_HOOK)(data)) { - setTimeout(function () { - state = STARTING; - swarmProcess.stdin.write(password + '\n'); - }, 500); - } else if (hasString(LISTENING_HOOK)(data)) { - state = LISTENING; - clearTimeout(timeout); - resolve(swarmProcess); - } - }; - - swarmProcess.stdout.on('data', handleProcessOutput); - swarmProcess.stderr.on('data', handleProcessOutput); //swarmProcess.on('close', () => setTimeout(restart, 2000)); - - var restart = function restart() { - return startProcess(swarmSetup).then(resolve)["catch"](reject); - }; - - var error = function error() { - return reject(new Error("Couldn't start swarm process.")); - }; - - var timeout = setTimeout(error, 20000); - }); - }; // Process ~> Promise () - // Stops the Swarm process. - - - var stopProcess = function stopProcess(process) { - return new Promise(function (resolve, reject) { - process.stderr.removeAllListeners('data'); - process.stdout.removeAllListeners('data'); - process.stdin.removeAllListeners('error'); - process.removeAllListeners('error'); - process.removeAllListeners('exit'); - process.kill('SIGINT'); - var killTimeout = setTimeout(function () { - return process.kill('SIGKILL'); - }, 8000); - process.once('close', function () { - clearTimeout(killTimeout); - resolve(); - }); - }); - }; // SwarmSetup -> (SwarmAPI -> Promise ()) -> Promise () - // Receives a Swarm configuration object and a callback function. It then - // checks if a local Swarm node is running. If no local Swarm is found, it - // downloads the Swarm binaries to the dataDir (if not there), checksums, - // starts the Swarm process and calls the callback function with an API - // object using the local node. That callback must return a promise which - // will resolve when it is done using the API, so that this function can - // close the Swarm process properly. Returns a promise that resolves when the - // user is done with the API and the Swarm process is closed. - // TODO: check if Swarm process is already running (improve `isAvailable`) - - - var local = function local(swarmSetup) { - return function (useAPI) { - return _isAvailable("http://localhost:8500").then(function (isAvailable) { - return isAvailable ? useAPI(at("http://localhost:8500")).then(function () {}) : downloadBinary(swarmSetup.binPath, swarmSetup.archives).onData(function (data) { - return (swarmSetup.onProgress || function () {})(data.length); - }).then(function () { - return startProcess(swarmSetup); - }).then(function (process) { - return useAPI(at("http://localhost:8500")).then(function () { - return process; - }); - }).then(stopProcess); - }); - }; - }; // String ~> Promise Bool - // Returns true if Swarm is available on `url`. - // Perfoms a test upload to determine that. - // TODO: improve this? - - - var _isAvailable = function isAvailable(swarmUrl) { - var testFile = "test"; - var testHash = "c9a99c7d326dcc6316f32fe2625b311f6dc49a175e6877681ded93137d3569e7"; - return uploadData(swarmUrl)(testFile).then(function (hash) { - return hash === testHash; - })["catch"](function () { - return false; - }); - }; // String -> String ~> Promise Bool - // Returns a Promise which is true if that Swarm address is a directory. - // Determines that by checking that it (i) is a JSON, (ii) has a .entries. - // TODO: improve this? - - - var isDirectory = function isDirectory(swarmUrl) { - return function (hash) { - return downloadData(swarmUrl)(hash).then(function (data) { - try { - return !!JSON.parse(toString(data)).entries; - } catch (e) { - return false; - } - }); - }; - }; // Uncurries a function; used to allow the f(x,y,z) style on exports. - - - var uncurry = function uncurry(f) { - return function (a, b, c, d, e) { - var p; // Hardcoded because efficiency (`arguments` is very slow). - - if (typeof a !== "undefined") p = f(a); - if (typeof b !== "undefined") p = f(b); - if (typeof c !== "undefined") p = f(c); - if (typeof d !== "undefined") p = f(d); - if (typeof e !== "undefined") p = f(e); - return p; - }; - }; // () -> Promise Bool - // Not sure how to mock Swarm to test it properly. Ideas? - - - var test = function test() { - return Promise.resolve(true); - }; // Uint8Array -> String - - - var toString = function toString(uint8Array) { - return bytes.toString(bytes.fromUint8Array(uint8Array)); - }; // String -> Uint8Array - - - var fromString = function fromString(string) { - return bytes.toUint8Array(bytes.fromString(string)); - }; // String -> SwarmAPI - // Fixes the `swarmUrl`, returning an API where you don't have to pass it. - - - var at = function at(swarmUrl) { - return { - download: function download(hash, path) { - return _download(swarmUrl)(hash)(path); - }, - downloadData: uncurry(downloadData(swarmUrl)), - downloadDataToDisk: uncurry(downloadDataToDisk(swarmUrl)), - downloadDirectory: uncurry(downloadDirectory(swarmUrl)), - downloadDirectoryToDisk: uncurry(downloadDirectoryToDisk(swarmUrl)), - downloadEntries: uncurry(downloadEntries(swarmUrl)), - downloadRoutes: uncurry(downloadRoutes(swarmUrl)), - isAvailable: function isAvailable() { - return _isAvailable(swarmUrl); - }, - upload: function upload(arg) { - return _upload(swarmUrl)(arg); - }, - uploadData: uncurry(uploadData(swarmUrl)), - uploadFile: uncurry(uploadFile(swarmUrl)), - uploadFileFromDisk: uncurry(uploadFile(swarmUrl)), - uploadDataFromDisk: uncurry(uploadDataFromDisk(swarmUrl)), - uploadDirectory: uncurry(uploadDirectory(swarmUrl)), - uploadDirectoryFromDisk: uncurry(uploadDirectoryFromDisk(swarmUrl)), - uploadToManifest: uncurry(uploadToManifest(swarmUrl)), - pick: pick, - hash: hash, - fromString: fromString, - toString: toString }; - - }; - - return { - at: at, - local: local, - download: _download, - downloadBinary: downloadBinary, - downloadData: downloadData, - downloadDataToDisk: downloadDataToDisk, - downloadDirectory: downloadDirectory, - downloadDirectoryToDisk: downloadDirectoryToDisk, - downloadEntries: downloadEntries, - downloadRoutes: downloadRoutes, - isAvailable: _isAvailable, - startProcess: startProcess, - stopProcess: stopProcess, - upload: _upload, - uploadData: uploadData, - uploadDataFromDisk: uploadDataFromDisk, - uploadFile: uploadFile, - uploadFileFromDisk: uploadFileFromDisk, - uploadDirectory: uploadDirectory, - uploadDirectoryFromDisk: uploadDirectoryFromDisk, - uploadToManifest: uploadToManifest, - pick: pick, - hash: hash, - fromString: fromString, - toString: toString }; - -}; - -/***/ }), -/* 1201 */ -/*!*****************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/utils/locales/zh.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = void 0;var _index;function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;} // zh.js\nvar _default = {\n index: (_index = {\n walletname: '请输入钱包名称',\n Namecannot: '输入名称不能为空',\n // 底部导航栏\n Wallet: '钱包',\n NFT: 'NFT',\n Market: '市场',\n Discover: '发现',\n Profile: '我的',\n // tongyong\n Confirm: '确认',\n Successful: '成功',\n Cancel: '取消',\n Setsuccessfully: '创建成功',\n Creationfailed: '创建失败',\n correct: '正确',\n // lang\n langSelect: '选择',\n // setting\n fingerPass: '指纹密码',\n lans: '语言设置',\n curr: '货币',\n nodes: '节点设置',\n // profile\n protit: '我的',\n apps: '应用设置',\n magew: '管理钱包',\n addBook: '地址本',\n Settings: '设置',\n helpcen: '帮助中心',\n aboutus: '关于我们',\n Hardware: '硬件',\n math: '配套硬件' }, _defineProperty(_index, \"Wallet\",\n\n '钱包'), _defineProperty(_index, \"assets\",\n '资产'), _defineProperty(_index, \"cwallet\",\n '选择钱包'), _defineProperty(_index, \"manage\",\n '管理'), _defineProperty(_index, \"mwallet\",\n '管理钱包'), _defineProperty(_index, \"addwallet\",\n '添加'), _defineProperty(_index, \"crewalllet\",\n\n '创建钱包'), _defineProperty(_index, \"mneimport\",\n '助记词导入'), _defineProperty(_index, \"privakeyimport\",\n '私钥导入'), _defineProperty(_index, \"backupMneTit\",\n\n '备份助记词'), _defineProperty(_index, \"BackupTips\",\n '备份提示'), _defineProperty(_index, \"Axioms\",\n '公理是控制资产的唯一途径。'), _defineProperty(_index, \"retrieve\",\n '您无法检索丢失的助记词,因此请务必对其进行备份!'), _defineProperty(_index, \"disclose\",\n '不要向任何人透露你的助记词。'), _defineProperty(_index, \"startBack\",\n '开始备份'), _defineProperty(_index, \"pcopy\",\n\n '请按正确的顺序复制'), _defineProperty(_index, \"pcopy2\",\n '助记词'), _defineProperty(_index, \"booster\",\n '助记词将用于钱包资产追回,请按正确顺序复制助记词并妥善保管,请勿泄露给他人'), _defineProperty(_index, \"copied\",\n '我已经复制了'), _defineProperty(_index, \"conMne\",\n\n '确认你的钱包助记词'), _defineProperty(_index, \"boosterword\",\n '请点击助记词文字,以确保您的备用助记词正确无误'), _defineProperty(_index, \"backCom\",\n '备份助记词已完成!'), _defineProperty(_index, \"seed\",\n '无效助记词'), _defineProperty(_index, \"wrongWord\",\n '你输入了错误的单词,'), _defineProperty(_index, \"wrongWord2\",\n '请重试。'), _defineProperty(_index, \"transPaw\",\n\n '交易密码'), _defineProperty(_index, \"settransPaw\",\n '设置交易密码'), _defineProperty(_index, \"transPawAgain\",\n '请再次输入密码'), _defineProperty(_index, \"Securetransaction\",\n '保障交易密码,'), _defineProperty(_index, \"Securetransaction2\",\n '请勿泄露'), _defineProperty(_index, \"Passworddiscrepansies\",\n '两次密码输入不一致'), _defineProperty(_index, \"Versionupdate\",\n\n\n '版本更新'), _defineProperty(_index, \"Officialwebsite\",\n '官方网站'), _defineProperty(_index, \"TermsofService\",\n '服务条款'), _defineProperty(_index, \"PrivacyPolicy\",\n '隐私政策'), _defineProperty(_index, \"Etiamnisilorem1\",\n\n 'Etiam nisi lorem简体'), _defineProperty(_index, \"Etiamnisilorem2\",\n ''), _defineProperty(_index, \"Etiamnisilorem3\",\n ''), _defineProperty(_index, \"Address\",\n\n\n '地址'), _defineProperty(_index, \"Manage\",\n '管理'), _defineProperty(_index, \"Name\",\n '名字'), _defineProperty(_index, \"Setname\",\n '设置钱包名称'), _defineProperty(_index, \"Backupprivatekey\",\n '备份私钥'), _defineProperty(_index, \"Newwalletname\",\n '新的钱包名称'), _defineProperty(_index, \"keepyourmnemonics\",\n\n '请保留你的助记词。任何获得你的助记词的人都可以控制你的账户,包括转移所有资金'), _defineProperty(_index, \"Incorrectpassword\",\n '密码不正确'), _defineProperty(_index, \"keepyourprivatekey\",\n\n '请保留您的私钥。任何获得您私钥的人都可以控制您的帐户,包括转移所有资金'), _defineProperty(_index, \"Showprivatekey\",\n\n '显示私钥'), _defineProperty(_index, \"Showprivatekeytext\",\n '文本'), _defineProperty(_index, \"ShowQRCode\",\n '二维码'), _defineProperty(_index, \"ShowCopy\",\n '复制'), _defineProperty(_index, \"ScantheQR\",\n '扫描二维码至....'), _defineProperty(_index, \"CopyprivatekeySuccessful\",\n '复制私钥成功'), _defineProperty(_index, \"Onemomentplease\",\n '请稍等'), _defineProperty(_index, \"TrandingPairs\",\n\n '币种'), _defineProperty(_index, \"PriceVol\",\n '价格'), _defineProperty(_index, \"Chang\",\n '24小时涨跌幅'), _defineProperty(_index, \"DAPPwebsite\",\n\n '搜索或进入DAPP网站'), _defineProperty(_index, \"Beefy\",\n 'Beefy finance(BSC)'), _defineProperty(_index, \"revenue\",\n '基于币安智能链的收益聚合器'), _defineProperty(_index, \"Bunicorn\",\n 'Bunicorn'), _defineProperty(_index, \"throughmobility\",\n '一个性能卓越的AMM DEX,通过流动性..'), _defineProperty(_index, \"ForTube\",\n 'ForTube(BSC)'), _defineProperty(_index, \"platform\",\n '全球领先的DeFi借贷平台(BSC)'), _defineProperty(_index, \"Popular\",\n '热门'), _defineProperty(_index, \"Lending\",\n '借出'), _defineProperty(_index, \"Trade\",\n '贸易'), _defineProperty(_index, \"Yield\",\n '产量'), _defineProperty(_index, \"Stake\",\n '股份'), _defineProperty(_index, \"redirected\",\n '您将被重定向到第三方 dApp 页面,您对第三方 dApp 的使用将受该第三方 dApp 是用户协议和隐私政策的约束,第三方 dApp 直接且全权对您负责。'), _defineProperty(_index, \"Disclaimers\",\n '免责声明'), _defineProperty(_index, \"NFTcollection\",\n\n 'NFT收藏品'), _defineProperty(_index, \"Contractaddress\",\n '合约地址'), _defineProperty(_index, \"TokenID\",\n '令牌ID'), _defineProperty(_index, \"entercontractaddress\",\n '请输入合约地址'), _defineProperty(_index, \"entertokenID\",\n '请输入令牌ID'), _defineProperty(_index, \"Contracts\",\n '合约'), _defineProperty(_index, \"ID\",\n 'ID'), _defineProperty(_index, \"Collectiondetails\",\n '收藏品详情'), _defineProperty(_index, \"Existingbalance\",\n\n '现有余额'), _defineProperty(_index, \"Freezebalance\",\n '冻结余额'), _defineProperty(_index, \"All\",\n '所有'), _defineProperty(_index, \"Send\",\n '发送'), _defineProperty(_index, \"Receive\",\n '接收'), _defineProperty(_index, \"Receivingaddress\",\n\n '接收地址'), _defineProperty(_index, \"ReceivingaddressError\",\n '接收地址错误'), _defineProperty(_index, \"ScanQR\",\n '扫描二维码转账至资产'), _defineProperty(_index, \"Copyaddress\",\n '复制地址'), _defineProperty(_index, \"CopySuccessful\",\n '复制地址成功!'), _defineProperty(_index, \"Transfer\",\n\n '转账'), _defineProperty(_index, \"AddressBook\",\n '地址本'), _defineProperty(_index, \"Transferamount\",\n '转账金额'), _defineProperty(_index, \"Balance\",\n '余额'), _defineProperty(_index, \"ALL\",\n \"所有\"), _defineProperty(_index, \"Remark\",\n '备注'), _defineProperty(_index, \"Transactionfee\",\n '矿工费'), _defineProperty(_index, \"Transferconfirmation\",\n '转账确认'), _defineProperty(_index, \"Amount\",\n '金额'), _defineProperty(_index, \"Sendaddress\",\n '发送地址'), _defineProperty(_index, \"Fingerprintpassword\",\n '指纹密码'), _defineProperty(_index, \"fingerprintsensor\",\n '触摸指纹传感器'), _defineProperty(_index, \"UsePassword\",\n '使用密码'), _defineProperty(_index, \"Fingerprintrecognized\",\n '指纹无法识别。'), _defineProperty(_index, \"Tryagain\",\n '请再次尝试'), _defineProperty(_index, \"Fingerprintrecognized\",\n '指纹识别成功。'), _defineProperty(_index, \"enterthetransferamount\",\n '请输入转账金额'), _defineProperty(_index, \"enterthereceivingaddress\",\n '请输入接收地址'), _defineProperty(_index, \"lessthan\",\n '输入的金额不能小于0'), _defineProperty(_index, \"runninglow\",\n '余额不足'), _defineProperty(_index, \"fingerprintidentification\",\n '此设备不支持指纹识别'), _defineProperty(_index, \"notequipped\",\n '此设备未配备密码锁定屏幕,无法使用指纹识别'), _defineProperty(_index, \"oninthesetting\",\n '此设备中没有输入指纹。请在设置中打开它'), _defineProperty(_index, \"AddToken\",\n\n '添加代币'), _defineProperty(_index, \"Hotassets\",\n '热门资产'), _defineProperty(_index, \"Addedsuccessfully\",\n '添加成功'), _defineProperty(_index, \"Importviaprivatekey\",\n\n '通过私钥导入'), _defineProperty(_index, \"Privatekeyimportverification\",\n '私钥导入验证'), _defineProperty(_index, \"privatekeyanddo\",\n '请输入您的私钥,不要泄露给他人,外部地址无法通过助记词恢复。 请妥善保管'), _defineProperty(_index, \"enteryourprivatekey\",\n '请输入您的私钥'), _defineProperty(_index, \"beempty\",\n '不能为空'), _defineProperty(_index, \"beenimported\",\n '钱包已经被导入'), _defineProperty(_index, \"MnemonicsError\",\n '助记词错误'), _defineProperty(_index, \"Importmnemonics\",\n\n '导入助记词'), _defineProperty(_index, \"Mnemonicsimportverification\",\n '助记词输入验证'), _defineProperty(_index, \"Language\",\n '语言'), _defineProperty(_index, \"langfan\",\n '繁体中文'), _defineProperty(_index, \"langjian\",\n '简体中文'), _defineProperty(_index, \"eng\",\n '英文'), _defineProperty(_index, \"edit\",\n '修改'), _defineProperty(_index, \"Delete\",\n '删除'), _defineProperty(_index, \"DELETE\",\n '删除'), _defineProperty(_index, \"Addaddress\",\n '添加地址'), _defineProperty(_index, \"Save\",\n '保存'), _defineProperty(_index, \"selectcurrency\",\n '请选择币种'), _defineProperty(_index, \"Pleaserecipientaddress\",\n '请输入地址'), _defineProperty(_index, \"enterthename\",\n '请输入名称'), _defineProperty(_index, \"Addressorname\",\n '地址或名称不能为空'), _defineProperty(_index, \"loading\",\n '加载中'), _defineProperty(_index, \"closevalidation\",\n '确认关闭验证?'), _defineProperty(_index, \"Login\",\n '验证'), _defineProperty(_index, \"Transactiondetails\",\n '交易详情'), _defineProperty(_index, \"Confirmed\",\n '成功'), _defineProperty(_index, \"Time\",\n '时间'), _defineProperty(_index, \"TxFee\",\n '矿工费'), _defineProperty(_index, \"TransactionID\",\n '交易ID'), _defineProperty(_index, \"others\",\n '其他'), _defineProperty(_index, \"me\",\n '我'), _defineProperty(_index, \"moreinformation\",\n '有关详细信息,请转到浏览器'), _defineProperty(_index, \"CopySuccessful\",\n '复制成功!'), _defineProperty(_index, \"Nocontent\",\n '无内容'), _defineProperty(_index, \"Recognitioncancelled\",\n '已取消识别'), _defineProperty(_index, \"Fingerprintidentificationfailed\",\n '指纹识别失败,请重试'), _defineProperty(_index, \"Fingerprintmatchingfailed\",\n '指纹匹配失败,请重新输入'), _defineProperty(_index, \"Thenumberoffingerprint\",\n '指纹识别失败的次数超过限制。请使用其他方法进行身份验证'), _defineProperty(_index, \"separatedbyspaces\",\n '输入以空格分隔的助记单词'), _defineProperty(_index, \"Notyetopen\",\n '暂未开放'), _defineProperty(_index, \"Transfersucceeded\",\n '转账成功'), _defineProperty(_index, \"Transferfailedconfirm\",\n '转账失败,请确认信息是否正确'), _defineProperty(_index, \"yourcredit\",\n '余额不足'), _defineProperty(_index, \"addresserror\",\n '地址错误'), _defineProperty(_index, \"offchain\",\n '请输入注释(链外)'), _defineProperty(_index, \"TermsofServiceTxt\",\n '本《服务协议》(“协议”或“服务协议”)包含管理您访问和使用我们提供的网站和服务(定义如下)的条款和条件,并且是我们与您或您所代表的实体之间的协议。在使用本网站或服务之前,请仔细阅读本《服务协议》。通过使用本网站,或单击按钮或复选框以接收或同意本《服务协议》的服务条款(如有该选项),或者填写服务订单,或者,如果更早,使用或以其他方式访问服务(“生效日期”),您(1)接收并同意本《服务协议》以及我们不时发布的任何附加条款、规则和参与条件,以及(2)同意如我们的《隐私政策》中所述的收集、使用、披露和其他处理信息的活动。如果您不同意本《服务协议》,则您不得访问或使用服务。'), _defineProperty(_index, \"updateTitle\",\n '版本升级提示'), _defineProperty(_index, \"updateMsg\",\n '发现新版本,是否更新?'), _defineProperty(_index, \"AgreementConfirmation\",\n '我已经阅读并且同意'), _defineProperty(_index, \"curr2\",\n '货币单位'), _index) };exports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vdXRpbHMvbG9jYWxlcy96aC5qcyJdLCJuYW1lcyI6WyJpbmRleCIsIndhbGxldG5hbWUiLCJOYW1lY2Fubm90IiwiV2FsbGV0IiwiTkZUIiwiTWFya2V0IiwiRGlzY292ZXIiLCJQcm9maWxlIiwiQ29uZmlybSIsIlN1Y2Nlc3NmdWwiLCJDYW5jZWwiLCJTZXR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6ZqQ56eB5pS/562W44CL5Lit5omA6L+w55qE5pS26ZuG44CB5L2/55So44CB5oqr6Zyy5ZKM5YW25LuW5aSE55CG5L+h5oGv55qE5rS75Yqo44CC5aaC5p6c5oKo5LiN5ZCM5oSP5pys44CK5pyN5Yqh5Y2P6K6u44CL77yM5YiZ5oKo5LiN5b6X6K6/6Zeu5oiW5L2/55So5pyN5Yqh44CCJyxcclxuXHRcdHVwZGF0ZVRpdGxlOifniYjmnKzljYfnuqfmj5DnpLonLFxyXG5cdFx0dXBkYXRlTXNnOiflj5HnjrDmlrDniYjmnKzvvIzmmK/lkKbmm7TmlrDvvJ8nLFxyXG5cdFx0QWdyZWVtZW50Q29uZmlybWF0aW9uOifmiJHlt7Lnu4/pmIXor7vlubbkuJTlkIzmhI8nLFxyXG5cdFx0Y3VycjI6ICfotKfluIHljZXkvY0nLFxyXG5cdH1cclxufVxyXG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///1201\n"); - -/***/ }), -/* 1202 */ -/*!*******************************************************************!*\ - !*** C:/Users/Administrator/Desktop/bitcoo/utils/locales/zh-F.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("Object.defineProperty(exports, \"__esModule\", { value: true });exports.default = void 0;var _index;function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;} // zhf.js\nvar _default = {\n index: (_index = {\n walletname: '請輸入錢包名稱',\n Namecannot: '輸入名稱不能為空',\n // 底部导航栏\n Wallet: '錢包',\n NFT: 'NFT',\n Market: '市場',\n Discover: '發現',\n Profile: '我的',\n // tongyong\n Confirm: '確認',\n Successful: '成功',\n Cancel: '取消',\n Setsuccessfully: '創建成功',\n Creationfailed: '創建失敗',\n correct: '正確',\n\n langSelect: '選擇',\n // setting\n fingerPass: '指紋密碼',\n lans: '語言設定',\n curr: '貨币',\n nodes: '節點設定',\n // profile\n protit: '我的',\n apps: '應用設置',\n magew: '管理錢包',\n addBook: '地址本',\n Settings: '設置',\n helpcen: '幫助中心',\n aboutus: '關於我們',\n Hardware: '硬件',\n math: '配套硬件' }, _defineProperty(_index, \"Wallet\",\n\n '錢包'), _defineProperty(_index, \"assets\",\n '資產'), _defineProperty(_index, \"cwallet\",\n '選擇錢包'), _defineProperty(_index, \"manage\",\n '管理'), _defineProperty(_index, \"mwallet\",\n '管理錢包'), _defineProperty(_index, \"addwallet\",\n '添加'), _defineProperty(_index, \"crewalllet\",\n\n '創建錢包'), _defineProperty(_index, \"mneimport\",\n '助記詞導入'), _defineProperty(_index, \"privakeyimport\",\n '私鑰導入'), _defineProperty(_index, \"backupMneTit\",\n\n '備份助記詞'), _defineProperty(_index, \"BackupTips\",\n '備份提示'), _defineProperty(_index, \"Axioms\",\n '公理是控制資產的唯一途徑。'), _defineProperty(_index, \"retrieve\",\n '您无法检索丢失的助記詞,因此请务必对其进行备份!'), _defineProperty(_index, \"disclose\",\n '不要向任何人透露你的助記詞。'), _defineProperty(_index, \"startBack\",\n '開始備份'), _defineProperty(_index, \"pcopy\",\n\n '請按正確的順序複製'), _defineProperty(_index, \"pcopy2\",\n '助記詞'), _defineProperty(_index, \"booster\",\n '助記詞將用於錢包資產追回,請按正確順序複製助記詞並妥善保管,請勿洩露給他人'), _defineProperty(_index, \"copied\",\n '我已经复制了'), _defineProperty(_index, \"conMne\",\n\n '確認你的錢包助記詞'), _defineProperty(_index, \"boosterword\",\n '請點擊助記詞文字,以確保您的備用助推器正確無誤'), _defineProperty(_index, \"backCom\",\n '備份助記詞已完成!'), _defineProperty(_index, \"seed\",\n '無效助記詞'), _defineProperty(_index, \"wrongWord\",\n '你輸入了錯誤的單詞,'), _defineProperty(_index, \"wrongWord2\",\n '請重試。'), _defineProperty(_index, \"transPaw\",\n\n '交易密碼'), _defineProperty(_index, \"settransPaw\",\n '設定交易密碼'), _defineProperty(_index, \"transPawAgain\",\n '請再次輸入密碼'), _defineProperty(_index, \"Securetransaction\",\n '保障交易密碼,'), _defineProperty(_index, \"Securetransaction2\",\n '請勿洩露'), _defineProperty(_index, \"Passworddiscrepansies\",\n '兩次密碼輸入不一致'), _defineProperty(_index, \"Versionupdate\",\n\n\n '版本更新'), _defineProperty(_index, \"Officialwebsite\",\n '官方網站'), _defineProperty(_index, \"TermsofService\",\n '服務條款'), _defineProperty(_index, \"PrivacyPolicy\",\n '隱私政策'), _defineProperty(_index, \"Etiamnisilorem1\",\n\n\n 'Etiam nisi lorem繁体'), _defineProperty(_index, \"Etiamnisilorem2\",\n ''), _defineProperty(_index, \"Etiamnisilorem3\",\n ''), _defineProperty(_index, \"Address\",\n\n\n '地址'), _defineProperty(_index, \"Manage\",\n '管理'), _defineProperty(_index, \"Name\",\n '名字'), _defineProperty(_index, \"Setname\",\n '設定錢包名稱'), _defineProperty(_index, \"Backupprivatekey\",\n '備份私鑰'), _defineProperty(_index, \"Newwalletname\",\n '新的錢包名稱'), _defineProperty(_index, \"keepyourmnemonics\",\n\n '請保留你的助記詞。 任何獲得你的助記詞的人都可以控制你的帳戶,包括轉移所有資金'), _defineProperty(_index, \"Incorrectpassword\",\n '密碼不正確'), _defineProperty(_index, \"keepyourprivatekey\",\n\n\n '請保留您的私鑰。任何獲得您私鑰的人都可以控制您的帳戶,包括轉移所有資金'), _defineProperty(_index, \"Showprivatekey\",\n\n '顯示私鑰'), _defineProperty(_index, \"Showprivatekeytext\",\n '文本'), _defineProperty(_index, \"ShowQRCode\",\n '二維碼'), _defineProperty(_index, \"ShowCopy\",\n '複製'), _defineProperty(_index, \"ScantheQR\",\n '掃描二維碼至....'), _defineProperty(_index, \"CopyprivatekeySuccessful\",\n '複製私鑰成功'), _defineProperty(_index, \"Onemomentplease\",\n '請稍等'), _defineProperty(_index, \"TrandingPairs\",\n\n '幣種'), _defineProperty(_index, \"PriceVol\",\n '價格'), _defineProperty(_index, \"Chang\",\n '24小時漲跌幅'), _defineProperty(_index, \"DAPPwebsite\",\n\n '蒐索或進入DAPP網站'), _defineProperty(_index, \"Beefy\",\n 'Beefy finance(BSC)'), _defineProperty(_index, \"revenue\",\n '基於幣安智慧鏈的收益聚合器'), _defineProperty(_index, \"Bunicorn\",\n 'Bunicorn'), _defineProperty(_index, \"throughmobility\",\n '一個性能卓越的AMM DEX,通過流動性..'), _defineProperty(_index, \"ForTube\",\n 'ForTube(BSC)'), _defineProperty(_index, \"platform\",\n '全球領先的DeFi借貸平臺(BSC)'), _defineProperty(_index, \"Popular\",\n '熱門'), _defineProperty(_index, \"Lending\",\n '借出'), _defineProperty(_index, \"Trade\",\n '貿易'), _defineProperty(_index, \"Yield\",\n '產量'), _defineProperty(_index, \"Stake\",\n '股份'), _defineProperty(_index, \"redirected\",\n '您將被重定向到第三方 dApp 頁面,您對第三方 dApp 的使用將受該第三方 dApp 是用戶協議和隱私政策的約束,第三方 dApp 直接且全權對您負責。'), _defineProperty(_index, \"Disclaimers\",\n '免責聲明'), _defineProperty(_index, \"NFTcollection\",\n\n 'NFT收藏品'), _defineProperty(_index, \"Contractaddress\",\n '合約地址'), _defineProperty(_index, \"TokenID\",\n '令牌ID'), _defineProperty(_index, \"entercontractaddress\",\n '請輸入合約地址'), _defineProperty(_index, \"entertokenID\",\n '請輸入令牌ID'), _defineProperty(_index, \"Contracts\",\n '合約'), _defineProperty(_index, \"ID\",\n 'ID'), _defineProperty(_index, \"Collectiondetails\",\n '收藏品詳情'), _defineProperty(_index, \"Existingbalance\",\n\n '現有餘額'), _defineProperty(_index, \"Freezebalance\",\n '凍結餘額'), _defineProperty(_index, \"All\",\n '所有'), _defineProperty(_index, \"Send\",\n '發送'), _defineProperty(_index, \"Receive\",\n '接收'), _defineProperty(_index, \"Receivingaddress\",\n\n '接收地址'), _defineProperty(_index, \"ReceivingaddressError\",\n '接收地址錯誤'), _defineProperty(_index, \"ScanQR\",\n '掃描二維碼轉賬至資產'), _defineProperty(_index, \"Copyaddress\",\n '複製地址'), _defineProperty(_index, \"CopySuccessful\",\n '複製地址成功!'), _defineProperty(_index, \"Transfer\",\n\n '轉帳'), _defineProperty(_index, \"AddressBook\",\n '地址本'), _defineProperty(_index, \"Transferamount\",\n '轉帳金額'), _defineProperty(_index, \"Balance\",\n '餘額'), _defineProperty(_index, \"ALL\",\n \"所有\"), _defineProperty(_index, \"Remark\",\n '備註'), _defineProperty(_index, \"Transactionfee\",\n '礦工費'), _defineProperty(_index, \"Transferconfirmation\",\n '轉帳確認'), _defineProperty(_index, \"Amount\",\n '金額'), _defineProperty(_index, \"Sendaddress\",\n '發送地址'), _defineProperty(_index, \"Fingerprintpassword\",\n '指紋密碼'), _defineProperty(_index, \"fingerprintsensor\",\n '觸摸指紋感測器'), _defineProperty(_index, \"UsePassword\",\n '使用密碼'), _defineProperty(_index, \"Fingerprintrecognized\",\n '指紋無法識別。'), _defineProperty(_index, \"Tryagain\",\n '請再次嘗試'), _defineProperty(_index, \"Fingerprintrecognized\",\n '指紋識別成功。'), _defineProperty(_index, \"enterthetransferamount\",\n '請輸入轉帳金額'), _defineProperty(_index, \"enterthereceivingaddress\",\n '請輸入接收地址'), _defineProperty(_index, \"lessthan\",\n '輸入的金額不能小於0'), _defineProperty(_index, \"runninglow\",\n '餘額不足'), _defineProperty(_index, \"fingerprintidentification\",\n '此設備不支持指紋識別'), _defineProperty(_index, \"notequipped\",\n '此設備未配備密碼鎖定荧幕,無法使用指紋識別'), _defineProperty(_index, \"oninthesetting\",\n '此設備中沒有輸入指紋。 請在設定中打開它'), _defineProperty(_index, \"AddToken\",\n\n '添加代幣'), _defineProperty(_index, \"Hotassets\",\n '熱門資產'), _defineProperty(_index, \"Addedsuccessfully\",\n '添加成功'), _defineProperty(_index, \"Importviaprivatekey\",\n\n '通過私鑰導入'), _defineProperty(_index, \"Privatekeyimportverification\",\n '私鑰導入驗證'), _defineProperty(_index, \"privatekeyanddo\",\n '請輸入您的私鑰,不要洩露給他人,外部地址無法通過助記詞恢復。請妥善保管'), _defineProperty(_index, \"enteryourprivatekey\",\n '請輸入您的私鑰'), _defineProperty(_index, \"beempty\",\n '不能為空'), _defineProperty(_index, \"beenimported\",\n '錢包已經被導入'), _defineProperty(_index, \"MnemonicsError\",\n '助記詞錯誤'), _defineProperty(_index, \"Importmnemonics\",\n\n '導入助記詞'), _defineProperty(_index, \"Mnemonicsimportverification\",\n '助記詞輸入驗證'), _defineProperty(_index, \"Language\",\n '語言'), _defineProperty(_index, \"langfan\",\n '繁體中文'), _defineProperty(_index, \"langjian\",\n '簡體中文'), _defineProperty(_index, \"eng\",\n '英文'), _defineProperty(_index, \"edit\",\n '修改'), _defineProperty(_index, \"Delete\",\n '删除'), _defineProperty(_index, \"DELETE\",\n '删除'), _defineProperty(_index, \"Addaddress\",\n '添加地址'), _defineProperty(_index, \"Save\",\n '保存'), _defineProperty(_index, \"selectcurrency\",\n '請選擇幣種'), _defineProperty(_index, \"Pleaserecipientaddress\",\n '地址'), _defineProperty(_index, \"enterthename\",\n '請輸入名稱'), _defineProperty(_index, \"Addressorname\",\n '地址或名稱不能為空'), _defineProperty(_index, \"loading\",\n '加載中'), _defineProperty(_index, \"closevalidation\",\n '確認關閉驗證?'), _defineProperty(_index, \"Login\",\n '驗證'), _defineProperty(_index, \"Transactiondetails\",\n '交易詳情'), _defineProperty(_index, \"Confirmed\",\n '成功'), _defineProperty(_index, \"Time\",\n '時間'), _defineProperty(_index, \"TxFee\",\n '礦工費'), _defineProperty(_index, \"TransactionID\",\n '交易ID'), _defineProperty(_index, \"others\",\n '其他'), _defineProperty(_index, \"me\",\n '我'), _defineProperty(_index, \"moreinformation\",\n '有關詳細資訊,請轉到瀏覽器'), _defineProperty(_index, \"CopySuccessful\",\n '複製成功!'), _defineProperty(_index, \"Nocontent\",\n '無內容'), _defineProperty(_index, \"Recognitioncancelled\",\n '已取消識別'), _defineProperty(_index, \"Fingerprintidentificationfailed\",\n '指紋識別失敗,請重試'), _defineProperty(_index, \"Fingerprintmatchingfailed\",\n '指紋匹配失敗,請重新輸入'), _defineProperty(_index, \"Thenumberoffingerprint\",\n '指紋識別失敗的次數超過限制。 請使用其他方法進行身份驗證'), _defineProperty(_index, \"separatedbyspaces\",\n '輸入以空格分隔的助記單詞'), _defineProperty(_index, \"Notyetopen\",\n '暫未開放'), _defineProperty(_index, \"Transfersucceeded\",\n '餘額不足'), _defineProperty(_index, \"Transferfailedconfirm\",\n '轉賬失敗,請確認信息是否正確'), _defineProperty(_index, \"yourcredit\",\n '餘額不足'), _defineProperty(_index, \"addresserror\",\n '地址錯誤'), _defineProperty(_index, \"offchain\",\n '請輸入注釋(鏈外)'), _defineProperty(_index, \"TermsofServiceTxt\",\n '本《服務協議》(“協議”或“服務協議”)包含管理您訪問和使用我們提供的網站和服務(定義如下)的條款和條件,並且是我們與您或您所代表的實體之間的協議。在使用本網站或服務之前,請仔細閱讀本《服務協議》。通過使用本網站,或單擊按鈕或複選框以接收或同意本《服務協議》的服務條款(如有該選項),或者填寫服務訂單,或者,如果更早,使用或以其他方式訪問服務(“生效日期”),您(1)接收並同意本《服務協議》以及我們不時發布的任何附加條款、規則和參與條件,以及(2)同意如我們的《隱私政策》中所述的收集、使用、披露和其他處理信息的活動。如果您不同意本《服務協議》,則您不得訪問或使用服務。'), _defineProperty(_index, \"updateTitle\",\n '版本升級提示'), _defineProperty(_index, \"updateMsg\",\n '發現新版本,是否更新?'), _defineProperty(_index, \"AgreementConfirmation\",\n '我已經閱讀並且同意'), _defineProperty(_index, \"curr2\",\n '貨幣單位'), _index) };exports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vdXRpbHMvbG9jYWxlcy96aC1GLmpzIl0sIm5hbWVzIjpbImluZGV4Iiwid2FsbGV0bmFtZSIsIk5hbWVjYW5ub3QiLCJXYWxsZXQiLCJORlQiLCJNYXJrZXQiLCJEaXNjb3ZlciIsIlByb2ZpbGUiLCJDb25maXJtIiwiU3Vj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5aaC5oiR5YCR55qE44CK6Zqx56eB5pS/562W44CL5Lit5omA6L+w55qE5pS26ZuG44CB5L2/55So44CB5oqr6Zyy5ZKM5YW25LuW6JmV55CG5L+h5oGv55qE5rS75YuV44CC5aaC5p6c5oKo5LiN5ZCM5oSP5pys44CK5pyN5YuZ5Y2U6K2w44CL77yM5YmH5oKo5LiN5b6X6Kiq5ZWP5oiW5L2/55So5pyN5YuZ44CCJyxcclxuXHRcdHVwZGF0ZVRpdGxlOifniYjmnKzljYfntJrmj5DnpLonLFxyXG5cdFx0dXBkYXRlTXNnOifnmbznj77mlrDniYjmnKzvvIzmmK/lkKbmm7TmlrDvvJ8nLFxyXG5cdFx0QWdyZWVtZW50Q29uZmlybWF0aW9uOifmiJHlt7LntpPplrHoroDkuKbkuJTlkIzmhI8nLFxyXG5cdFx0Y3VycjI6ICfosqjluaPllq7kvY0nLFxyXG5cdH1cclxufVxyXG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///1202\n"); +eval("throw new Error(\"Module build failed (from ./node_modules/babel-loader/lib/index.js):\\nSyntaxError: C:\\\\Users\\\\Administrator\\\\Desktop\\\\bitcoo\\\\utils\\\\locales\\\\zh-F.js: Unexpected token (143:0)\\n\\n 141 | \\t\\tReceivingaddress: '接收地址',\\n 142 | \\t\\tReceivingaddressError: '接收地址錯誤',\\n> 143 | <<<<<<< HEAD\\n | ^\\n 144 | \\t\\tScanQR: '掃描二維碼轉賬至資產',\\n 145 | =======\\n 146 | \\t\\tScanQR: '掃描二維碼以轉移到資產',\\n at Object._raise (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:746:17)\\n at Object.raiseWithData (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:739:17)\\n at Object.raise (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:733:17)\\n at Object.unexpected (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:8807:16)\\n at Object.parseIdentifierName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10823:18)\\n at Object.parseIdentifier (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10800:23)\\n at Object.parseMaybePrivateName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10157:19)\\n at Object.parsePropertyName (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10624:126)\\n at Object.parseObjectMember (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10525:10)\\n at Object.parseObj (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10448:25)\\n at Object.parseExprAtom (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:10055:28)\\n at Object.parseExprAtom (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:4638:20)\\n at Object.parseExprSubscripts (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9656:23)\\n at Object.parseMaybeUnary (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9636:21)\\n at Object.parseExprOps (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9506:23)\\n at Object.parseMaybeConditional (C:\\\\Users\\\\Administrator\\\\Desktop\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@babel\\\\parser\\\\lib\\\\index.js:9479:23)\");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiIxMjAyLmpzIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///1202\n"); /***/ }), /* 1203 */ diff --git a/unpackage/dist/dev/app-plus/app-view.js b/unpackage/dist/dev/app-plus/app-view.js index 87cfdb7..d224843 100644 --- a/unpackage/dist/dev/app-plus/app-view.js +++ b/unpackage/dist/dev/app-plus/app-view.js @@ -22261,19 +22261,9 @@ __webpack_require__.r(__webpack_exports__); !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/style.js!C:/Users/Administrator/Desktop/bitcoo/pages/menu/wallet/index.vue?vue&type=script&lang=js&mpType=page ***! \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default = - -{ - - data: function data() { - return { - wxsProps: {} }; +/***/ (function(module, exports) { - }, - components: {} };exports.default = _default; +throw new Error("Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/view/script.js):\nSyntaxError: Unexpected token (114:0)\n at Object._raise (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:746:17)\n at Object.raiseWithData (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:739:17)\n at Object.raise (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:733:17)\n at Object.unexpected (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:8807:16)\n at Object.parseIdentifierName (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:10823:18)\n at Object.parseIdentifier (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:10800:23)\n at Object.parseMaybePrivateName (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:10157:19)\n at Object.parsePropertyName (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:10624:126)\n at Object.parseObjectMember (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:10525:10)\n at Object.parseObj (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:10448:25)\n at Object.parseExprAtom (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:10055:28)\n at Object.parseExprSubscripts (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:9656:23)\n at Object.parseMaybeUnary (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:9636:21)\n at Object.parseMaybeUnary (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:6877:20)\n at Object.parseExprOps (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:9506:23)\n at Object.parseMaybeConditional (C:\\Users\\Administrator\\Desktop\\HBuilderX\\plugins\\uniapp-cli\\node_modules\\@babel\\parser\\lib\\index.js:9479:23)"); /***/ }), /* 544 */ diff --git a/unpackage/dist/dev/app-plus/static/img/copy_24px_outlined.8dca7e38.svg b/unpackage/dist/dev/app-plus/static/img/copy_24px_outlined.e8932d3c.svg similarity index 100% rename from unpackage/dist/dev/app-plus/static/img/copy_24px_outlined.8dca7e38.svg rename to unpackage/dist/dev/app-plus/static/img/copy_24px_outlined.e8932d3c.svg diff --git a/unpackage/dist/dev/app-plus/static/img/more_vert_24px_outlined.266aaa48.svg b/unpackage/dist/dev/app-plus/static/img/more_vert_24px_outlined.427f4df0.svg similarity index 100% rename from unpackage/dist/dev/app-plus/static/img/more_vert_24px_outlined.266aaa48.svg rename to unpackage/dist/dev/app-plus/static/img/more_vert_24px_outlined.427f4df0.svg diff --git a/unpackage/dist/dev/app-plus/view.css b/unpackage/dist/dev/app-plus/view.css index 14225a9..74b1b84 100644 --- a/unpackage/dist/dev/app-plus/view.css +++ b/unpackage/dist/dev/app-plus/view.css @@ -1 +1 @@ -*{margin:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}input[type=search]::-webkit-search-cancel-button{display:none}@font-face{font-weight:400;font-style:normal;font-family:uni;src:url("data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx+AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5ZvCRR/EAAASUAAAKtGhlYWQLKIN9AAAA4AAAADZoaGVhCCwD+gAAALwAAAAkaG10eEJo//8AAAHUAAAASGxvY2EYqhW6AAAEbAAAACZtYXhwASEAVQAAARgAAAAgbmFtZeNcHtgAAA9IAAAB5nBvc3T6bLhLAAARMAAAAOYAAQAAA+gAAABaA+j/////A+kAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAACkCj3dfDzz1AAsD6AAAAADUER9XAAAAANQRH1f//wAAA+kD6gAAAAgAAgAAAAAAAAABAAAAEgBJAAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6gHqEQPoAAAAWgPqAAAAAAABAAAAAAAAAAAAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+j//wPoAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAXQAAQAAAAAAbgADAAEAAAAsAAMACgAAAXQABABCAAAABAAEAAEAAOoR//8AAOoB//8AA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YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA") format("truetype")}@font-face{font-weight:400;font-style:normal;font-family:unibtn;src:url("data:application/octet-stream;base64,AAEAAAALAIAAAwAwT1MvMg8SAzoAAAC8AAAAYGNtYXAAILNAAAABHAAAAGRnYXNwAAAAEAAAAYAAAAAIZ2x5ZnVT/G4AAAGIAAAEHGhlYWQOAdVuAAAFpAAAADZoaGVhB3wDzAAABdwAAAAkaG10eCIABqYAAAYAAAAALGxvY2EDqgTMAAAGLAAAABhtYXhwAA8ATQAABkQAAAAgbmFtZXBR8sQAAAZkAAAB2nBvc3QAAwAAAAAIQAAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADmUAPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQASAAAAA4ACAACAAYAAQAg5gLmBuZQ//3//wAAAAAAIOYA5gTmUP/9//8AAf/jGgQaAxm6AAMAAQAAAAAAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQFgAHkCwQLqABYAAAEmNDc2MhcBHgEVFAYHAQYiJyY0NwkBAWAICAcWBwE1BAQEBP7LBxYHCAgBIv7eAsUHFwcICP7cBAsFBgsE/twICAcXCAETARMAAAEBWAB5ArkC6gAXAAAJAhYUBwYiJwEuATU0NjcBNjIXFhQHMQK5/t4BIggICBUI/swFAwMFATQIFQgICALF/u3+7QgXBwgIASQECwYFCwQBJAgIBxcHAAACANAAaQO6Aw0AHAA2AAAlFAYjISImNRE0NjsBNSMiBhURFBYzITI2PQEjFRMnBxcHDgMPATM1PgE3PgE/AgcXNyc3A1IHBP3CBAYGBLDAERgYEQJfERcuaK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AAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWAEAAFYBAAA0AQAAJcEAAC/BAAA3AQAAOwAAAAAAAoAFAAeAEoAdgDGAToBmgHSAg4AAQAAAAsASwADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAA4AAAABAAAAAAACAAcAnwABAAAAAAADAA4ASwABAAAAAAAEAA4AtAABAAAAAAAFAAsAKgABAAAAAAAGAA4AdQABAAAAAAAKABoA3gADAAEECQABABwADgADAAEECQACAA4ApgADAAEECQADABwAWQADAAEECQAEABwAwgADAAEECQAFABYANQADAAEECQAGABwAgwADAAEECQAKADQA+HN0cmVhbWljb25mb250AHMAdAByAGUAYQBtAGkAYwBvAG4AZgBvAG4AdFZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMHN0cmVhbWljb25mb250AHMAdAByAGUAYQBtAGkAYwBvAG4AZgBvAG4AdHN0cmVhbWljb25mb250AHMAdAByAGUAYQBtAGkAYwBvAG4AZgBvAG4AdFJlZ3VsYXIAUgBlAGcAdQBsAGEAcnN0cmVhbWljb25mb250AHMAdAByAGUAYQBtAGkAYwBvAG4AZgBvAG4AdEZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}body,html{-webkit-user-select:none;user-select:none;width:100%}html{height:100%;height:100vh;width:100%;width:100vw}body{overflow-x:hidden;background-color:#fff}[class*=" uni-icon-"],[class^=uni-icon-]{display:inline-block;vertical-align:middle;font:normal normal normal 14px/1 uni;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}[class*=" uni-btn-icon"],[class^=uni-btn-icon]{display:inline-block;font:normal normal normal 14px/1 unibtn;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}[class*=" uni-btn-icon"]:before,[class^=uni-btn-icon]:before{margin:0;box-sizing:border-box}.uni-icon-success-no-circle:before{content:"\EA08"}.uni-icon-error:before{content:"\EA0B"}.uni-loading,uni-button[loading]:before{background:rgba(0,0,0,0) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBo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-loading 1s steps(12) infinite;animation:uni-loading 1s steps(12) infinite;background-size:100%}@-webkit-keyframes uni-loading{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes uni-loading{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}[nvue] uni-scroll-view,[nvue] uni-swiper-item,[nvue] uni-view{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0;-webkit-flex-basis:auto;flex-basis:auto;-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;-webkit-align-content:flex-start;align-content:flex-start}[nvue] uni-button{margin:0}[nvue-dir-row] uni-label,[nvue-dir-row] uni-swiper-item,[nvue-dir-row] uni-view{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}[nvue-dir-column] uni-label,[nvue-dir-column] uni-swiper-item,[nvue-dir-column] uni-view{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}[nvue-dir-row-reverse] uni-label,[nvue-dir-row-reverse] uni-swiper-item,[nvue-dir-row-reverse] uni-view{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}[nvue-dir-column-reverse] uni-label,[nvue-dir-column-reverse] uni-swiper-item,[nvue-dir-column-reverse] uni-view{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}[nvue] uni-image,[nvue] uni-input,[nvue] uni-scroll-view,[nvue] uni-swiper,[nvue] uni-swiper-item,[nvue] uni-text,[nvue] uni-textarea,[nvue] uni-video,[nvue] uni-view{position:relative;border:0 solid #000;box-sizing:border-box}[nvue] uni-swiper-item{position:absolute}uni-audio{display:none}uni-audio[controls]{display:inline-block}uni-audio[hidden]{display:none}.uni-audio-default{max-width:100%;min-width:302px;height:65px;background:#fcfcfc;border:1px solid #e0e0e0;border-radius:2.5px;display:inline-block;overflow:hidden}.uni-audio-left{width:65px;height:65px;float:left;background-color:#e6e6e6;background-size:100% 100%;background-position:50% 50%}.uni-audio-button{width:24px;height:24px;margin:20.5px;background-size:cover}.uni-audio-button.play{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAB4dJREFUaAXNWg1MlVUYvpcfIRCJ+MnCaOBl8dOcOCEQZ9kmI5cQG5Yb6MifKbMaGVobOtlibTWHDpgpxBUwF07826iFsMkYJhg559JdGiQSkUzSBA0QkZ7n4/u+nXsvwf3jwru99/y/3/N+3znvec97rlbjABofH38GYtaAV4MjwDqwH9gHTBoE3wd3gA3gi+B6rVY7hHR2CKD9wFngs+BHYGuJYziWMqiscwgP8wLvBQ+AHUWURZle1mqhtXQAhLui7xZwPvgFsBENDg7+Drp069at2z09Pf03b978u6mpqZ+dVq1aFRAVFeW/aNGigNDQ0JfDwsISfXx8wowETBT+QpIPLsf0GpuomvrXIgUAPhhizoGXi+II+tq1az/o9fpLFRUVd8S26fJZWVkLN2/enBgTE/PW/PnzF5v0b0P5HSjxp0m9WXFaBQD+NYw6C1bf+vDwcF9DQ4N+/fr19ciPm0m1osLT01N76tSpNaD3PTw8FgpD+TXSoESrUGeWnVIBgM/EiDKwJ0eiPNrS0nJsw4YNNd3d3aOscxSFhIS4V1dXpyckJGRB5jxZ7jDSbVDiW7lslriY1cgVMvjjKErgR0dH/zl06NCuFStWfOdo8HwkZVL2wYMHP3ny5AlNLonPPi5jkSpMfyb9AhjAadMIlsBjrndmZ2fnnThxos9UwEyUMzIynj9y5EgB1gb3ExK/xBuTTSczBQCeC/ZnsDTnCR6f9YMbN25QiNMoOjras7W1tcjb2ztcfijXRKzpwjaaQgBPU0lrI4HntOGbdzZ4AuYzt2/fvm9sbOweyyBiOidjlCr4Y6Q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glbHKdevWqV+FHaYjOGofw811hcfZOV1fW9pxzE1wcXGJlscSq6SA+qZhJfai8nN2wNHtDhb0pt7eXoe9Qcq1lRg3hRvNkLtyytuHfAHlKVOI+UIwQxYaRolramrSmZ8LhLefJIAnRmKVSFUAHbiq8yeqNRpGiWE5XlXKs5WWlZUthu3/SHh+voxVqlKnEEuYRvTPee5czjKjxDCr2bMVnYNF9IO7fRRQAokHxIuPeCig3t4YKcAeUCIYiRrcffjwYUd8fPyHzo6PwuJ4XL9+/QAWrjILOHWmDu5SAWjHa500sBSNZoibUWKGvNnuDOKbNwFPLLytITYjUteAWIuOvNbZptQxxF1ZWXnYGWuCc57TRnjzhMFbGmIyI7MpJPbAdMpEuQzsKdc/hi+jT0tLO+NoE0tTSWsjL9h58vP45qe8YppSAQqBEmaXfAy0MlbJcJ+tXqUMUMMdlpsUIuE78JYVO89mznn7LvmUh8gL+xzKknVS6hmrZLiPETNrr1npmNG3oXsg7LCKaFobx1yzKhKhBE3sFnA+mCFuI4IyBuyWzYjb/MHQh+lFN09SPIxgirxIlxhepeIWiHL41vPBFl90i4MtykOROfVXA4tAT9YJisyJP3tMu4gnA29aB2UY4V4DXg1m/FMH9gMrMSd6jwwe8PxtAPMU6JC/2/wHuyI2cMsNBRIAAAAASUVORK5CYII=)}.uni-audio-button.pause{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABatJREFUaAXVWl1IpFUYnllZGUf3wlz6MXER1ES7s83VUDJw6KpdaSTDwMnYFSK6KNirooHullKQCNzQRjZ/wom1u9ALQ0mT1ktFdEBWXLdibaH1jwmx5zme83W+z2Hm+7bZmc8X3jl/73vO837n/z3j9aSBjo6O8lBNC7gZXAUuBxeCz4FJj8APwTHwCngaPOX1evcRZocAuhAcAt8G74KdEnWoyzpobGYIjfnBn4D/BqeLWBfr9Du1wmtXAZXnQPY9cBj8HNhEe3t7sbW1tfn19fW7m5ubD5aXl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mh0dPRLJ4AoOzIy8oWTNihLbNpxmpin1H2AnrcrFJqdnf0KM901tzFiUoQ94M3GxsYPZHoC94FW9gBJnEYZoa8SBy1hGNNuIWIiNg2PwKwbIPYDdhF9lZqgK6LEpA0fYv3PAHQF94IbCikdrcXFxWdVOtsh/abEpOG4ITGbvBI9EBA3f3qJo9FoUFPIapROX81zTYzEKkgNIQ8s4qwOH2d7PPQS9/T0vKjS2QqJQXqsFYSwxCrSpsmK6yVdi7zx0APmoVuvs7Pz/Wx55+jkHRoa+jonJ+cp4gHdAV+CAcbrjckASsCI0+vcpQGw7h6CVrDwRvMCTS8xvwbLM0Fsy+KZJha+1hCbiYw5oOdCkM86V1UejWBXZmJOsA22pXkeCIOvNAmfmk4MIQWaIYZTwiemYDAY3dracsUTU1IDpBGn95FP9Yac2KfzmVUzgkssHxfCYOGGR2gQvXp0jNG3lOyh+wKosrLykmWMq3q4SYXBth+6laLtEL3hqr8a2AZuFYQhrvizR8pJbAWeKA1j6OFuATeDq8D09hWClc+Jp0ceGHn/5hWWt8C0/N3mX15C4bDnCIuAAAAAAElFTkSuQmCC)}.uni-audio-right{box-sizing:border-box;height:65px;margin-left:65px;padding:11px 16.5px 13.5px 15px;overflow:hidden}.uni-audio-time{margin-top:3.5px;height:16.5px;font-size:12px;color:#888;float:right}.uni-audio-info{margin-right:70px;overflow:hidden}.uni-audio-name{height:22.5px;line-height:22.5px;margin-bottom:3.5px;font-size:14px;color:#353535}.uni-audio-author,.uni-audio-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-audio-author{height:14.5px;line-height:14.5px;font-size:12px;color:#888}uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:0 0;transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:hsla(0,0%,100%,.6);cursor:not-allowed}uni-button[disabled]:not([type]),uni-button[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:rgba(0,0,0,0)}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:rgba(0,0,0,0)}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:rgba(0,0,0,0)}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:rgba(0,0,0,0)}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;-webkit-animation:uni-loading 1s steps(12) infinite;animation:uni-loading 1s steps(12) infinite;background-size:100%}uni-button[loading][type=primary]{color:hsla(0,0%,100%,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:rgba(0,0,0,0)}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:rgba(0,0,0,0)}uni-button[loading][type=warn]{color:hsla(0,0%,100%,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:rgba(0,0,0,0)}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:rgba(0,0,0,0)}.button-hover[type=primary]{color:hsla(0,0%,100%,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(26,173,25,.6);border-color:rgba(26,173,25,.6);background-color:rgba(0,0,0,0)}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:rgba(0,0,0,0)}.button-hover[type=warn]{color:hsla(0,0%,100%,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:rgba(0,0,0,0)}uni-canvas{width:300px;height:150px;display:block;position:relative}uni-canvas>canvas{position:absolute;top:0;left:0;width:100%;height:100%}uni-checkbox-group[hidden]{display:none}uni-checkbox{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-checkbox[hidden]{display:none}uni-checkbox[disabled]{cursor:not-allowed}uni-checkbox .uni-checkbox-wrapper{display:-webkit-inline-flex;display:-webkit-inline-box;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center;vertical-align:middle}uni-checkbox .uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative}uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked{color:#007aff}uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before{font:normal normal normal 14px/1 uni;content:"\EA08";font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73);-webkit-transform:translate(-50%,-48%) scale(.73)}uni-checkbox .uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}uni-checkbox .uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}uni-checkbox-group{display:block}.ql-container{display:block;position:relative;box-sizing:border-box;-webkit-user-select:text;user-select:text;outline:none;overflow:hidden;width:100%;height:200px;min-height:200px}.ql-container[hidden]{display:none}.ql-container .ql-editor{position:relative;font-size:inherit;line-height:inherit;font-family:inherit;min-height:inherit;width:100%;height:100%;padding:0;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-overflow-scrolling:touch}.ql-container .ql-editor::-webkit-scrollbar{width:0!important}.ql-container .ql-editor.scroll-disabled{overflow:hidden}.ql-container .ql-image-overlay{display:-webkit-box;display:-webkit-flex;display:flex;position:absolute;box-sizing:border-box;border:1px dashed #ccc;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-user-select:none;user-select:none}.ql-container .ql-image-overlay .ql-image-size{position:absolute;padding:4px 8px;text-align:center;background-color:#fff;color:#888;border:1px solid #ccc;box-sizing:border-box;opacity:.8;right:4px;top:4px;font-size:12px;display:inline-block;width:auto}.ql-container .ql-image-overlay .ql-image-toolbar{position:relative;text-align:center;box-sizing:border-box;background:#000;border-radius:5px;color:#fff;font-size:0;min-height:24px;z-index:100}.ql-container .ql-image-overlay .ql-image-toolbar span{display:inline-block;cursor:pointer;padding:5px;font-size:12px;border-right:1px solid #fff}.ql-container .ql-image-overlay .ql-image-toolbar span:last-child{border-right:0}.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up{padding:0;position:absolute;top:-12px;left:50%;-webkit-transform:translatex(-50%);transform:translatex(-50%);width:0;height:0;border-width:6px;border-style:solid;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #000 rgba(0,0,0,0)}.ql-container .ql-image-overlay .ql-image-handle{position:absolute;height:12px;width:12px;border-radius:50%;border:1px solid #ccc;box-sizing:border-box;background:#fff}.ql-container img{display:inline-block;max-width:100%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;outline:none;overflow-y:auto;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:2em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl),.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:2em}.ql-editor .ql-indent-2:not(.ql-direction-rtl),.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:4em}.ql-editor .ql-indent-3:not(.ql-direction-rtl),.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor .ql-indent-4:not(.ql-direction-rtl),.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:8em}.ql-editor .ql-indent-5:not(.ql-direction-rtl),.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:10em}.ql-editor .ql-indent-6:not(.ql-direction-rtl),.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor .ql-indent-7:not(.ql-direction-rtl),.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:14em}.ql-editor .ql-indent-8:not(.ql-direction-rtl),.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:16em}.ql-editor .ql-indent-9:not(.ql-direction-rtl),.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;pointer-events:none;position:absolute}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}uni-icon{display:inline-block;font-size:0;box-sizing:border-box}uni-icon[hidden]{display:none}uni-icon>i{font:normal normal normal 14px/1 weui}uni-icon>i:before{margin:0;box-sizing:border-box}@font-face{font-weight:400;font-style:normal;font-family:weui;src:url("data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcAAASUAAAIvGhlYWQUqc7xAAAA4AAAADZoaGVhB/YD+wAAALwAAAAkaG10eEJoAAAAAAHUAAAASGxvY2EUxhJeAAAEbAAAACZtYXhwASEAQwAAARgAAAAgbmFtZeNcHtgAAA1QAAAB5nBvc3T6OoZLAAAPOAAAAOYAAQAAA+gAAABaA+gAAAAAA7MAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAAMCU2KdfDzz1AAsD6AAAAADY7EUUAAAAANjsRRQAAAAAA7MD5AAAAAgAAgAAAAAAAAABAAAAEgA3AAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQ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3VsYXJ3ZXVpd2V1aVZlcnNpb24gMS4wd2V1aUdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAHcAZQB1AGkAUgBlAGcAdQBsAGEAcgB3AGUAdQBpAHcAZQB1AGkAVgBlAHIAcwBpAG8AbgAgADEALgAwAHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlLXN1Y2Nlc3MJc2FmZS13YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA") format("truetype")}.uni-icon-success:before{content:"\EA06"}.uni-icon-success_circle:before{content:"\EA07"}.uni-icon-success_no_circle:before{content:"\EA08"}.uni-icon-safe_success:before{content:"\EA04"}.uni-icon-safe_warn:before{content:"\EA05"}.uni-icon-info:before{content:"\EA03"}.uni-icon-info_circle:before{content:"\EA0C"}.uni-icon-warn:before{content:"\EA0B"}.uni-icon-waiting:before{content:"\EA09"}.uni-icon-waiting_circle:before{content:"\EA0A"}.uni-icon-circle:before{content:"\EA01"}.uni-icon-cancel:before{content:"\EA0D"}.uni-icon-download:before{content:"\EA02"}.uni-icon-search:before{content:"\EA0E"}.uni-icon-clear:before{content:"\EA0F"}.uni-icon-safe_success,.uni-icon-success,.uni-icon-success_circle,.uni-icon-success_no_circle{color:#007aff}.uni-icon-safe_warn{color:#ffbe00}.uni-icon-info{color:#10aeff}.uni-icon-info_circle{color:#007aff}.uni-icon-warn{color:#f76260}.uni-icon-waiting,.uni-icon-waiting_circle{color:#10aeff}.uni-icon-circle{color:#c9c9c9}.uni-icon-cancel{color:#f43530}.uni-icon-download{color:#007aff}.uni-icon-clear,.uni-icon-search{color:#b2b2b2}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div,uni-image>img{width:100%;height:100%}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;display:block;position:absolute;top:0;left:0;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-form,.uni-input-input,.uni-input-placeholder,.uni-input-wrapper{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-form,.uni-input-wrapper{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;width:100%;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-input-input,.uni-input-placeholder{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:grey;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-inner-spin-button,.uni-input-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0;left:0;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-navigator{height:auto;width:auto;display:block;cursor:pointer}uni-navigator[hidden]{display:none}.navigator-hover{background-color:rgba(0,0,0,.1);opacity:.7}uni-picker-view-column{-webkit-flex:1;-webkit-box-flex:1;flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0);-webkit-transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background:-webkit-linear-gradient(top,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),-webkit-linear-gradient(bottom,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat}.uni-picker-view-indicator{height:34px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:34px;overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}uni-picker-view{display:block}uni-picker-view .uni-picker-view-wrapper{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}uni-progress{display:-webkit-flex;display:-webkit-box;display:flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center}uni-progress[hidden]{display:none}.uni-progress-bar{-webkit-flex:1;-webkit-box-flex:1;flex:1}.uni-progress-inner-bar{width:0;height:100%}.uni-progress-info{margin-top:0;margin-bottom:0;min-width:2em;margin-left:15px;font-size:16px}uni-radio-group[hidden]{display:none}uni-radio{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-radio[hidden]{display:none}uni-radio[disabled]{cursor:not-allowed}uni-radio .uni-radio-wrapper{display:-webkit-inline-flex;display:-webkit-inline-box;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center;vertical-align:middle}uni-radio .uni-radio-input{-webkit-appearance:none;appearance:none;margin-right:5px;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:50%;width:22px;height:22px;position:relative}uni-radio:not([disabled]) .uni-radio-input:hover{border-color:#007aff}uni-radio .uni-radio-input.uni-radio-input-checked:before{font:normal normal normal 14px/1 uni;content:"\EA08";color:#fff;font-size:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73);-webkit-transform:translate(-50%,-48%) scale(.73)}uni-radio .uni-radio-input.uni-radio-input-disabled{background-color:#e1e1e1;border-color:#d1d1d1}uni-radio .uni-radio-input.uni-radio-input-disabled:before{color:#adadad}uni-radio-group{display:block}@-webkit-keyframes once-show{0%{top:0}}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;-webkit-animation:once-show 1ms;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;max-height:inherit}.uni-scroll-view,.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.uni-scroll-view-refresh,.uni-scroll-view-refresh-inner{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.uni-scroll-view-refresh-inner{line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.117647),0 1px 4px rgba(0,0,0,.117647)}.uni-scroll-view-refresh__spinner{-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation:uni-scroll-view-refresh-rotate 2s linear infinite;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;-webkit-animation:uni-scroll-view-refresh-dash 2s linear infinite;animation:uni-scroll-view-refresh-dash 2s linear infinite}@-webkit-keyframes uni-scroll-view-refresh-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes uni-scroll-view-refresh-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-slider{margin:10px 18px;padding:0;display:block}uni-slider[hidden]{display:none}uni-slider .uni-slider-wrapper{display:-webkit-flex;display:-webkit-box;display:flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center;min-height:16px}uni-slider .uni-slider-tap-area{-webkit-flex:1;-webkit-box-flex:1;flex:1;padding:8px 0}uni-slider .uni-slider-handle-wrapper{position:relative;height:2px;border-radius:5px;background-color:#e9e9e9;cursor:pointer;-webkit-tap-highlight-color:transparent}uni-slider .uni-slider-handle-wrapper,uni-slider .uni-slider-track{-webkit-transition:background-color .3s ease;transition:background-color .3s ease}uni-slider .uni-slider-track{height:100%;border-radius:6px;background-color:#007aff}uni-slider .uni-slider-handle,uni-slider .uni-slider-thumb{position:absolute;left:50%;top:50%;cursor:pointer;border-radius:50%;-webkit-transition:border-color .3s ease;transition:border-color .3s ease}uni-slider .uni-slider-handle{width:28px;height:28px;margin-top:-14px;margin-left:-14px;background-color:rgba(0,0,0,0);z-index:3;cursor:grab}uni-slider .uni-slider-thumb{z-index:2;box-shadow:0 0 4px rgba(0,0,0,.2)}uni-slider .uni-slider-step{position:absolute;width:100%;height:2px;background:rgba(0,0,0,0);z-index:1}uni-slider .uni-slider-value{width:3ch;color:#888;font-size:14px;margin-left:1em}uni-slider .uni-slider-disabled .uni-slider-track{background-color:#ccc}uni-slider .uni-slider-disabled .uni-slider-thumb{background-color:#fff;border-color:#ccc}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}uni-swiper .uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}uni-swiper .uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}uni-swiper .uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}uni-swiper .uni-swiper-dots{position:absolute;font-size:0}uni-swiper .uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;-webkit-transform:translate(-50%);transform:translate(-50%)}uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}uni-swiper .uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;-webkit-transform:translateY(-50%);transform:translateY(-50%)}uni-swiper .uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}uni-swiper .uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}uni-swiper .uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;-webkit-transition-property:background-color;transition-property:background-color;-webkit-transition-timing-function:ease;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}uni-swiper .uni-swiper-dot-active{background-color:#000}uni-switch{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-switch[hidden]{display:none}uni-switch[disabled]{cursor:not-allowed}uni-switch .uni-switch-wrapper{display:-webkit-inline-flex;display:-webkit-inline-box;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center;vertical-align:middle}uni-switch .uni-switch-input{-webkit-appearance:none;appearance:none;position:relative;width:52px;height:32px;margin-right:5px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s}uni-switch[disabled] .uni-switch-input{opacity:.7}uni-switch .uni-switch-input:before{width:50px;background-color:#fdfdfd}uni-switch .uni-switch-input:after,uni-switch .uni-switch-input:before{content:" ";position:absolute;top:0;left:0;height:30px;border-radius:15px;transition:-webkit-transform .3s;-webkit-transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}uni-switch .uni-switch-input:after{width:30px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}uni-switch .uni-switch-input.uni-switch-input-checked{border-color:#007aff;background-color:#007aff}uni-switch .uni-switch-input.uni-switch-input-checked:before{-webkit-transform:scale(0);transform:scale(0)}uni-switch .uni-switch-input.uni-switch-input-checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}uni-switch .uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative;color:#007aff}uni-switch:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-switch .uni-checkbox-input.uni-checkbox-input-checked:before{font:normal normal normal 14px/1 uni;content:"\EA08";color:inherit;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73);-webkit-transform:translate(-50%,-48%) scale(.73)}uni-switch .uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}uni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}uni-text[selectable]{cursor:auto;user-select:text;-webkit-user-select:text}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all}uni-textarea[hidden]{display:none}.uni-textarea-compute,.uni-textarea-line,.uni-textarea-placeholder,.uni-textarea-textarea,.uni-textarea-wrapper{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit}.uni-textarea-compute,.uni-textarea-line,.uni-textarea-placeholder,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:grey;overflow:hidden}.uni-textarea-compute,.uni-textarea-line{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-textarea{resize:none;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}uni-view{display:block}uni-view[hidden]{display:none}uni-ad{display:block;overflow:hidden}uni-ad[hidden]{display:none}uni-ad .uni-ad-container{width:100%;min-height:1px}uni-cover-image{display:block;line-height:1.2;overflow:hidden;height:100%;width:100%;pointer-events:auto}uni-cover-image[hidden]{display:none}uni-cover-image .uni-cover-image{width:100%;height:100%}uni-cover-view{display:block;line-height:1.2;overflow:hidden;white-space:nowrap;pointer-events:auto}uni-cover-view[hidden]{display:none}uni-cover-view .uni-cover-view{width:100%;height:100%;visibility:hidden}uni-map{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-map[hidden]{display:none}.uni-map-container{left:0;background-color:#000}.uni-map-container,.uni-map-slot{width:100%;height:100%;position:absolute;top:0;overflow:hidden}.uni-map-slot{pointer-events:none}uni-picker{display:block}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{left:0;background-color:#000}.uni-video-container,.uni-video-slot{width:100%;height:100%;position:absolute;top:0;overflow:hidden}.uni-video-slot{pointer-events:none}uni-web-view{position:absolute;left:0;right:0;top:0;bottom:0} \ No newline at end of file +*{margin:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}input[type=search]::-webkit-search-cancel-button{display:none}@font-face{font-weight:400;font-style:normal;font-family:uni;src:url("data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx+AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5ZvCRR/EAAASUAAAKtGhlYWQLKIN9AAAA4AAAADZoaGVhCCwD+gAAALwAAAAkaG10eEJo//8AAAHUAAAASGxvY2EYqhW6AAAEbAAAACZtYXhwASEAVQAAARgAAAAgbmFtZeNcHtgAAA9IAAAB5nBvc3T6bLhLAAARMAAAAOYAAQAAA+gAAABaA+j/////A+kAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAACkCj3dfDzz1AAsD6AAAAADUER9XAAAAANQRH1f//wA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HcAZQB1AGkAVgBlAHIAcwBpAG8AbgAgADEALgAwAHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlX3N1Y2Nlc3MJc2FmZV93YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA") format("truetype")}@font-face{font-weight:400;font-style:normal;font-family:unibtn;src:url("data:application/octet-stream;base64,AAEAAAALAIAAAwAwT1MvMg8SAzoAAAC8AAAAYGNtYXAAILNAAAABHAAAAGRnYXNwAAAAEAAAAYAAAAAIZ2x5ZnVT/G4AAAGIAAAEHGhlYWQOAdVuAAAFpAAAADZoaGVhB3wDzAAABdwAAAAkaG10eCIABqYAAAYAAAAALGxvY2EDqgTMAAAGLAAAABhtYXhwAA8ATQAABkQAAAAgbmFtZXBR8sQAAAZkAAAB2nBvc3QAAwAAAAAIQAAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADmUAPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQASAAAAA4ACAACAAYAAQAg5gLmBuZQ//3//wAAAAAAIOYA5gTmUP/9//8AAf/jGgQaAxm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dAByAGUAYQBtAGkAYwBvAG4AZgBvAG4AdEZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}body,html{-webkit-user-select:none;user-select:none;width:100%}html{height:100%;height:100vh;width:100%;width:100vw}body{overflow-x:hidden;background-color:#fff}[class*=" uni-icon-"],[class^=uni-icon-]{display:inline-block;vertical-align:middle;font:normal normal normal 14px/1 uni;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}[class*=" uni-btn-icon"],[class^=uni-btn-icon]{display:inline-block;font:normal normal normal 14px/1 unibtn;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased}[class*=" uni-btn-icon"]:before,[class^=uni-btn-icon]:before{margin:0;box-sizing:border-box}.uni-icon-success-no-circle:before{content:"\EA08"}.uni-icon-error:before{content:"\EA0B"}.uni-loading,uni-button[loading]:before{background:rgba(0,0,0,0) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+P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eD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=") no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:uni-loading 1s steps(12) infinite;animation:uni-loading 1s steps(12) infinite;background-size:100%}@-webkit-keyframes uni-loading{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes uni-loading{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}[nvue] uni-scroll-view,[nvue] uni-swiper-item,[nvue] uni-view{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-shrink:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;flex-grow:0;-webkit-flex-basis:auto;flex-basis:auto;-webkit-box-align:stretch;-webkit-align-items:stretch;align-items:stretch;-webkit-align-content:flex-start;align-content:flex-start}[nvue] uni-button{margin:0}[nvue-dir-row] uni-label,[nvue-dir-row] uni-swiper-item,[nvue-dir-row] uni-view{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}[nvue-dir-column] uni-label,[nvue-dir-column] uni-swiper-item,[nvue-dir-column] uni-view{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}[nvue-dir-row-reverse] uni-label,[nvue-dir-row-reverse] uni-swiper-item,[nvue-dir-row-reverse] uni-view{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}[nvue-dir-column-reverse] uni-label,[nvue-dir-column-reverse] uni-swiper-item,[nvue-dir-column-reverse] uni-view{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}[nvue] uni-image,[nvue] uni-input,[nvue] uni-scroll-view,[nvue] uni-swiper,[nvue] uni-swiper-item,[nvue] uni-text,[nvue] uni-textarea,[nvue] uni-video,[nvue] uni-view{position:relative;border:0 solid #000;box-sizing:border-box}[nvue] uni-swiper-item{position:absolute}uni-audio{display:none}uni-audio[controls]{display:inline-block}uni-audio[hidden]{display:none}.uni-audio-default{max-width:100%;min-width:302px;height:65px;background:#fcfcfc;border:1px solid #e0e0e0;border-radius:2.5px;display:inline-block;overflow:hidden}.uni-audio-left{width:65px;height:65px;float:left;background-color:#e6e6e6;background-size:100% 100%;background-position:50% 50%}.uni-audio-button{width:24px;height:24px;margin:20.5px;background-size:cover}.uni-audio-button.play{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAB4dJREFUaAXNWg1MlVUYvpcfIRCJ+MnCaOBl8dOcOCEQZ9kmI5cQG5Yb6MifKbMaGVobOtlibTWHDpgpxBUwF07826iFsMkYJhg559JdGiQSkUzSBA0QkZ7n4/u+nXsvwf3jwru99/y/3/N+3znvec97rlbjABofH38GYtaAV4MjwDqwH9gHTBoE3wd3gA3gi+B6rVY7hHR2CKD9wFngs+BHYGuJYziWMqiscwgP8wLvBQ+AHUWURZle1mqhtXQAhLui7xZwPvgFsBENDg7+Drp069at2z09Pf03b978u6mpqZ+dVq1aFRAVFeW/aNGigNDQ0JfDwsISfXx8wowETBT+QpIPLsf0Gpuom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box-sizing:border-box;height:65px;margin-left:65px;padding:11px 16.5px 13.5px 15px;overflow:hidden}.uni-audio-time{margin-top:3.5px;height:16.5px;font-size:12px;color:#888;float:right}.uni-audio-info{margin-right:70px;overflow:hidden}.uni-audio-name{height:22.5px;line-height:22.5px;margin-bottom:3.5px;font-size:14px;color:#353535}.uni-audio-author,.uni-audio-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-audio-author{height:14.5px;line-height:14.5px;font-size:12px;color:#888}uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:0 0;transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:hsla(0,0%,100%,.6);cursor:not-allowed}uni-button[disabled]:not([type]),uni-button[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:rgba(0,0,0,0)}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:rgba(0,0,0,0)}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:rgba(0,0,0,0)}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:rgba(0,0,0,0)}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;-webkit-animation:uni-loading 1s steps(12) infinite;animation:uni-loading 1s steps(12) infinite;background-size:100%}uni-button[loading][type=primary]{color:hsla(0,0%,100%,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:rgba(0,0,0,0)}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:rgba(0,0,0,0)}uni-button[loading][type=warn]{color:hsla(0,0%,100%,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:rgba(0,0,0,0)}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:rgba(0,0,0,0)}.button-hover[type=primary]{color:hsla(0,0%,100%,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(26,173,25,.6);border-color:rgba(26,173,25,.6);background-color:rgba(0,0,0,0)}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:rgba(0,0,0,0)}.button-hover[type=warn]{color:hsla(0,0%,100%,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:rgba(0,0,0,0)}uni-canvas{width:300px;height:150px;display:block;position:relative}uni-canvas>canvas{position:absolute;top:0;left:0;width:100%;height:100%}uni-checkbox-group[hidden]{display:none}uni-checkbox{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-checkbox[hidden]{display:none}uni-checkbox[disabled]{cursor:not-allowed}uni-checkbox .uni-checkbox-wrapper{display:-webkit-inline-flex;display:-webkit-inline-box;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center;vertical-align:middle}uni-checkbox .uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative}uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked{color:#007aff}uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before{font:normal normal normal 14px/1 uni;content:"\EA08";font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73);-webkit-transform:translate(-50%,-48%) scale(.73)}uni-checkbox .uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}uni-checkbox .uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}uni-checkbox-group{display:block}.ql-container{display:block;position:relative;box-sizing:border-box;-webkit-user-select:text;user-select:text;outline:none;overflow:hidden;width:100%;height:200px;min-height:200px}.ql-container[hidden]{display:none}.ql-container .ql-editor{position:relative;font-size:inherit;line-height:inherit;font-family:inherit;min-height:inherit;width:100%;height:100%;padding:0;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-overflow-scrolling:touch}.ql-container .ql-editor::-webkit-scrollbar{width:0!important}.ql-container .ql-editor.scroll-disabled{overflow:hidden}.ql-container .ql-image-overlay{display:-webkit-box;display:-webkit-flex;display:flex;position:absolute;box-sizing:border-box;border:1px dashed #ccc;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-user-select:none;user-select:none}.ql-container .ql-image-overlay .ql-image-size{position:absolute;padding:4px 8px;text-align:center;background-color:#fff;color:#888;border:1px solid #ccc;box-sizing:border-box;opacity:.8;right:4px;top:4px;font-size:12px;display:inline-block;width:auto}.ql-container .ql-image-overlay .ql-image-toolbar{position:relative;text-align:center;box-sizing:border-box;background:#000;border-radius:5px;color:#fff;font-size:0;min-height:24px;z-index:100}.ql-container .ql-image-overlay .ql-image-toolbar span{display:inline-block;cursor:pointer;padding:5px;font-size:12px;border-right:1px solid #fff}.ql-container .ql-image-overlay .ql-image-toolbar span:last-child{border-right:0}.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up{padding:0;position:absolute;top:-12px;left:50%;-webkit-transform:translatex(-50%);transform:translatex(-50%);width:0;height:0;border-width:6px;border-style:solid;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #000 rgba(0,0,0,0)}.ql-container .ql-image-overlay .ql-image-handle{position:absolute;height:12px;width:12px;border-radius:50%;border:1px solid #ccc;box-sizing:border-box;background:#fff}.ql-container img{display:inline-block;max-width:100%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;outline:none;overflow-y:auto;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:2em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl),.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:2em}.ql-editor .ql-indent-2:not(.ql-direction-rtl),.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:4em}.ql-editor .ql-indent-3:not(.ql-direction-rtl),.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor .ql-indent-4:not(.ql-direction-rtl),.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:8em}.ql-editor .ql-indent-5:not(.ql-direction-rtl),.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:10em}.ql-editor .ql-indent-6:not(.ql-direction-rtl),.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor .ql-indent-7:not(.ql-direction-rtl),.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:14em}.ql-editor .ql-indent-8:not(.ql-direction-rtl),.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:16em}.ql-editor .ql-indent-9:not(.ql-direction-rtl),.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;pointer-events:none;position:absolute}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}uni-icon{display:inline-block;font-size:0;box-sizing:border-box}uni-icon[hidden]{display:none}uni-icon>i{font:normal normal normal 14px/1 weui}uni-icon>i:before{margin:0;box-sizing:border-box}@font-face{font-weight:400;font-style:normal;font-family:weui;src:url("data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcA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5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA") format("truetype")}.uni-icon-success:before{content:"\EA06"}.uni-icon-success_circle:before{content:"\EA07"}.uni-icon-success_no_circle:before{content:"\EA08"}.uni-icon-safe_success:before{content:"\EA04"}.uni-icon-safe_warn:before{content:"\EA05"}.uni-icon-info:before{content:"\EA03"}.uni-icon-info_circle:before{content:"\EA0C"}.uni-icon-warn:before{content:"\EA0B"}.uni-icon-waiting:before{content:"\EA09"}.uni-icon-waiting_circle:before{content:"\EA0A"}.uni-icon-circle:before{content:"\EA01"}.uni-icon-cancel:before{content:"\EA0D"}.uni-icon-download:before{content:"\EA02"}.uni-icon-search:before{content:"\EA0E"}.uni-icon-clear:before{content:"\EA0F"}.uni-icon-safe_success,.uni-icon-success,.uni-icon-success_circle,.uni-icon-success_no_circle{color:#007aff}.uni-icon-safe_warn{color:#ffbe00}.uni-icon-info{color:#10aeff}.uni-icon-info_circle{color:#007aff}.uni-icon-warn{color:#f76260}.uni-icon-waiting,.uni-icon-waiting_circle{color:#10aeff}.uni-icon-circle{color:#c9c9c9}.uni-icon-cancel{color:#f43530}.uni-icon-download{color:#007aff}.uni-icon-clear,.uni-icon-search{color:#b2b2b2}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div,uni-image>img{width:100%;height:100%}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;display:block;position:absolute;top:0;left:0;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-form,.uni-input-input,.uni-input-placeholder,.uni-input-wrapper{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-form,.uni-input-wrapper{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;width:100%;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-input-input,.uni-input-placeholder{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:grey;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-inner-spin-button,.uni-input-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0;left:0;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-navigator{height:auto;width:auto;display:block;cursor:pointer}uni-navigator[hidden]{display:none}.navigator-hover{background-color:rgba(0,0,0,.1);opacity:.7}uni-picker-view-column{-webkit-flex:1;-webkit-box-flex:1;flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0);-webkit-transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background:-webkit-linear-gradient(top,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),-webkit-linear-gradient(bottom,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background:linear-gradient(180deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6)),linear-gradient(0deg,hsla(0,0%,100%,.95),hsla(0,0%,100%,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat}.uni-picker-view-indicator{height:34px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:34px;overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}uni-picker-view{display:block}uni-picker-view .uni-picker-view-wrapper{display:-webkit-box;display:-webkit-flex;display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}uni-progress{display:-webkit-flex;display:-webkit-box;display:flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center}uni-progress[hidden]{display:none}.uni-progress-bar{-webkit-flex:1;-webkit-box-flex:1;flex:1}.uni-progress-inner-bar{width:0;height:100%}.uni-progress-info{margin-top:0;margin-bottom:0;min-width:2em;margin-left:15px;font-size:16px}uni-radio-group[hidden]{display:none}uni-radio{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-radio[hidden]{display:none}uni-radio[disabled]{cursor:not-allowed}uni-radio .uni-radio-wrapper{display:-webkit-inline-flex;display:-webkit-inline-box;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center;vertical-align:middle}uni-radio .uni-radio-input{-webkit-appearance:none;appearance:none;margin-right:5px;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:50%;width:22px;height:22px;position:relative}uni-radio:not([disabled]) .uni-radio-input:hover{border-color:#007aff}uni-radio .uni-radio-input.uni-radio-input-checked:before{font:normal normal normal 14px/1 uni;content:"\EA08";color:#fff;font-size:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73);-webkit-transform:translate(-50%,-48%) scale(.73)}uni-radio .uni-radio-input.uni-radio-input-disabled{background-color:#e1e1e1;border-color:#d1d1d1}uni-radio .uni-radio-input.uni-radio-input-disabled:before{color:#adadad}uni-radio-group{display:block}@-webkit-keyframes once-show{0%{top:0}}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;-webkit-animation:once-show 1ms;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;max-height:inherit}.uni-scroll-view,.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row}.uni-scroll-view-refresh,.uni-scroll-view-refresh-inner{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.uni-scroll-view-refresh-inner{line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.117647),0 1px 4px rgba(0,0,0,.117647)}.uni-scroll-view-refresh__spinner{-webkit-transform-origin:center center;transform-origin:center center;-webkit-animation:uni-scroll-view-refresh-rotate 2s linear infinite;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;-webkit-animation:uni-scroll-view-refresh-dash 2s linear infinite;animation:uni-scroll-view-refresh-dash 2s linear infinite}@-webkit-keyframes uni-scroll-view-refresh-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes uni-scroll-view-refresh-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-slider{margin:10px 18px;padding:0;display:block}uni-slider[hidden]{display:none}uni-slider .uni-slider-wrapper{display:-webkit-flex;display:-webkit-box;display:flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center;min-height:16px}uni-slider .uni-slider-tap-area{-webkit-flex:1;-webkit-box-flex:1;flex:1;padding:8px 0}uni-slider .uni-slider-handle-wrapper{position:relative;height:2px;border-radius:5px;background-color:#e9e9e9;cursor:pointer;-webkit-tap-highlight-color:transparent}uni-slider .uni-slider-handle-wrapper,uni-slider .uni-slider-track{-webkit-transition:background-color .3s ease;transition:background-color .3s ease}uni-slider .uni-slider-track{height:100%;border-radius:6px;background-color:#007aff}uni-slider .uni-slider-handle,uni-slider .uni-slider-thumb{position:absolute;left:50%;top:50%;cursor:pointer;border-radius:50%;-webkit-transition:border-color .3s ease;transition:border-color .3s ease}uni-slider .uni-slider-handle{width:28px;height:28px;margin-top:-14px;margin-left:-14px;background-color:rgba(0,0,0,0);z-index:3;cursor:grab}uni-slider .uni-slider-thumb{z-index:2;box-shadow:0 0 4px rgba(0,0,0,.2)}uni-slider .uni-slider-step{position:absolute;width:100%;height:2px;background:rgba(0,0,0,0);z-index:1}uni-slider .uni-slider-value{width:3ch;color:#888;font-size:14px;margin-left:1em}uni-slider .uni-slider-disabled .uni-slider-track{background-color:#ccc}uni-slider .uni-slider-disabled .uni-slider-thumb{background-color:#fff;border-color:#ccc}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}uni-swiper .uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}uni-swiper .uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}uni-swiper .uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}uni-swiper .uni-swiper-dots{position:absolute;font-size:0}uni-swiper .uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;-webkit-transform:translate(-50%);transform:translate(-50%)}uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}uni-swiper .uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}uni-swiper .uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;-webkit-transform:translateY(-50%);transform:translateY(-50%)}uni-swiper .uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}uni-swiper .uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}uni-swiper .uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;-webkit-transition-property:background-color;transition-property:background-color;-webkit-transition-timing-function:ease;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}uni-swiper .uni-swiper-dot-active{background-color:#000}uni-switch{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-switch[hidden]{display:none}uni-switch[disabled]{cursor:not-allowed}uni-switch .uni-switch-wrapper{display:-webkit-inline-flex;display:-webkit-inline-box;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;align-items:center;vertical-align:middle}uni-switch .uni-switch-input{-webkit-appearance:none;appearance:none;position:relative;width:52px;height:32px;margin-right:5px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;-webkit-transition:background-color .1s,border .1s;transition:background-color .1s,border .1s}uni-switch[disabled] .uni-switch-input{opacity:.7}uni-switch .uni-switch-input:before{width:50px;background-color:#fdfdfd}uni-switch .uni-switch-input:after,uni-switch .uni-switch-input:before{content:" ";position:absolute;top:0;left:0;height:30px;border-radius:15px;transition:-webkit-transform .3s;-webkit-transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}uni-switch .uni-switch-input:after{width:30px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}uni-switch .uni-switch-input.uni-switch-input-checked{border-color:#007aff;background-color:#007aff}uni-switch .uni-switch-input.uni-switch-input-checked:before{-webkit-transform:scale(0);transform:scale(0)}uni-switch .uni-switch-input.uni-switch-input-checked:after{-webkit-transform:translateX(20px);transform:translateX(20px)}uni-switch .uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative;color:#007aff}uni-switch:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-switch .uni-checkbox-input.uni-checkbox-input-checked:before{font:normal normal normal 14px/1 uni;content:"\EA08";color:inherit;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73);-webkit-transform:translate(-50%,-48%) scale(.73)}uni-switch .uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}uni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}uni-text[selectable]{cursor:auto;user-select:text;-webkit-user-select:text}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all}uni-textarea[hidden]{display:none}.uni-textarea-compute,.uni-textarea-line,.uni-textarea-placeholder,.uni-textarea-textarea,.uni-textarea-wrapper{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit}.uni-textarea-compute,.uni-textarea-line,.uni-textarea-placeholder,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:grey;overflow:hidden}.uni-textarea-compute,.uni-textarea-line{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-textarea{resize:none;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}uni-view{display:block}uni-view[hidden]{display:none}uni-ad{display:block;overflow:hidden}uni-ad[hidden]{display:none}uni-ad .uni-ad-container{width:100%;min-height:1px}uni-cover-image{display:block;line-height:1.2;overflow:hidden;height:100%;width:100%;pointer-events:auto}uni-cover-image[hidden]{display:none}uni-cover-image .uni-cover-image{width:100%;height:100%}uni-cover-view{display:block;line-height:1.2;overflow:hidden;white-space:nowrap;pointer-events:auto}uni-cover-view[hidden]{display:none}uni-cover-view .uni-cover-view{width:100%;height:100%}uni-map{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-map[hidden]{display:none}.uni-map-container{left:0;background-color:#000}.uni-map-container,.uni-map-slot{width:100%;height:100%;position:absolute;top:0;overflow:hidden}.uni-map-slot{pointer-events:none}uni-picker{display:block}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{left:0;background-color:#000}.uni-video-container,.uni-video-slot{width:100%;height:100%;position:absolute;top:0;overflow:hidden}.uni-video-slot{pointer-events:none}uni-web-view{position:absolute;left:0;right:0;top:0;bottom:0} \ No newline at end of file diff --git a/unpackage/dist/dev/app-plus/view.umd.min.js b/unpackage/dist/dev/app-plus/view.umd.min.js index 0d873b5..a2b930a 100644 --- a/unpackage/dist/dev/app-plus/view.umd.min.js +++ b/unpackage/dist/dev/app-plus/view.umd.min.js @@ -1,4 +1,4 @@ -(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["uni"]=e():t["uni"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"00b2":function(t,e,n){},"01ab":function(t,e,n){},"02b5":function(t,e,n){"use strict";var i=n("8e72"),r=n.n(i);r.a},"02ed":function(t){t.exports=JSON.parse('{"uni.app.quit":"再按一次退出應用","uni.async.error":"連接服務器超時,點擊屏幕重試","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"請注意 showToast 與 hideToast 必須配對使用","uni.showLoading.unpaired":"請注意 showLoading 與 hideLoading 必須配對使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"確定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"從相冊選擇","uni.chooseImage.sourceType.camera":"拍攝","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"從相冊選擇","uni.chooseVideo.sourceType.camera":"拍攝","uni.chooseFile.notUserActivation":"文件選擇器對話框只能在用戶激活時顯示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存圖像","uni.previewImage.save.success":"保存圖像到相冊成功","uni.previewImage.save.fail":"保存圖像到相冊失敗","uni.setClipboardData.success":"內容已復制","uni.scanCode.title":"掃碼","uni.scanCode.album":"相冊","uni.scanCode.fail":"識別失敗","uni.scanCode.flash.on":"輕觸照亮","uni.scanCode.flash.off":"輕觸關閉","uni.startSoterAuthentication.authContent":"指紋識別中...","uni.picker.done":"完成","uni.picker.cancel":"取消","uni.video.danmu":"彈幕","uni.video.volume":"音量","uni.button.feedback.title":"問題反饋","uni.button.feedback.send":"發送","uni.chooseLocation.search":"搜索地點","uni.chooseLocation.cancel":"取消"}')},"03df":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-web-view",t._g({},t.$listeners))},r=[],a=n("ed56"),o=a["a"],s=(n("2df3"),n("2877")),c=Object(s["a"])(o,i,r,!1,null,null,null);e["default"]=c.exports},"0516":function(t,e,n){"use strict";(function(t,i){n.d(e,"a",(function(){return f}));var r=n("f2b3"),a=n("a6b0"),o=n("33ed"),s=n("2522"),c=n("a20d"),u=!!r["k"]&&{passive:!1};function l(e){var n=e.statusbarHeight,i=e.windowTop,r=e.windowBottom;if(t.__WINDOW_TOP=i,t.__WINDOW_BOTTOM=r,uni.canIUse("css.var")){var a=document.documentElement.style;a.setProperty("--window-left","0px"),a.setProperty("--window-right","0px"),a.setProperty("--window-top",i+"px"),a.setProperty("--window-bottom",r+"px"),a.setProperty("--status-bar-height",n+"px")}}function h(t,e){var n=t.locale,i=t.statusbarHeight,r=t.windowTop,s=t.windowBottom,c=t.disableScroll,h=t.onPageScroll,d=t.onPageReachBottom,f=t.onReachBottomDistance;Object(a["c"])(n),l({statusbarHeight:i,windowTop:r,windowBottom:s}),c?document.addEventListener("touchmove",o["b"],u):(h||d)&&requestAnimationFrame((function(){document.addEventListener("scroll",Object(o["a"])(e,{enablePageScroll:h,enablePageReachBottom:d,onReachBottomDistance:f}))}))}function d(){i.publishHandler("webviewReady")}function f(t){t(c["m"],d),t(s["a"],h),t(c["f"],a["c"])}}).call(this,n("c8ba"),n("501c"))},"0741":function(t,e,n){"use strict";var i=n("3c79"),r=n.n(i);r.a},"07f4":function(t,e,n){"use strict";var i=n("be7f"),r=4,a=0,o=1,s=2;function c(t){var e=t.length;while(--e>=0)t[e]=0}var u=0,l=1,h=2,d=3,f=258,p=29,v=256,m=v+1+p,g=30,_=19,b=2*m+1,y=15,w=16,k=7,x=256,S=16,C=17,T=18,$=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],O=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],E=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],A=512,M=new Array(2*(m+2));c(M);var L=new Array(2*g);c(L);var j=new Array(A);c(j);var N=new Array(f-d+1);c(N);var P=new Array(p);c(P);var D,R,B,F=new Array(g);function z(t,e,n,i,r){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=t&&t.length}function V(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function H(t){return t<256?j[t]:j[256+(t>>>7)]}function Y(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function U(t,e,n){t.bi_valid>w-n?(t.bi_buf|=e<>w-t.bi_valid,t.bi_valid+=n-w):(t.bi_buf|=e<>>=1,n<<=1}while(--e>0);return n>>>1}function q(t){16===t.bi_valid?(Y(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}function Z(t,e){var n,i,r,a,o,s,c=e.dyn_tree,u=e.max_code,l=e.stat_desc.static_tree,h=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,p=e.stat_desc.max_length,v=0;for(a=0;a<=y;a++)t.bl_count[a]=0;for(c[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;np&&(a=p,v++),c[2*i+1]=a,i>u||(t.bl_count[a]++,o=0,i>=f&&(o=d[i-f]),s=c[2*i],t.opt_len+=s*(a+o),h&&(t.static_len+=s*(l[2*i+1]+o)));if(0!==v){do{a=p-1;while(0===t.bl_count[a])a--;t.bl_count[a]--,t.bl_count[a+1]+=2,t.bl_count[p]--,v-=2}while(v>0);for(a=p;0!==a;a--){i=t.bl_count[a];while(0!==i)r=t.heap[--n],r>u||(c[2*r+1]!==a&&(t.opt_len+=(a-c[2*r+1])*c[2*r],c[2*r+1]=a),i--)}}}function G(t,e,n){var i,r,a=new Array(y+1),o=0;for(i=1;i<=y;i++)a[i]=o=o+n[i-1]<<1;for(r=0;r<=e;r++){var s=t[2*r+1];0!==s&&(t[2*r]=X(a[s]++,s))}}function K(){var t,e,n,i,r,a=new Array(y+1);for(n=0,i=0;i>=7;i8?Y(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function tt(t,e,n,r){Q(t),r&&(Y(t,n),Y(t,~n)),i.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}function et(t,e,n,i){var r=2*e,a=2*n;return t[r]>1;n>=1;n--)nt(t,a,n);r=c;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],nt(t,a,1),i=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=i,a[2*r]=a[2*n]+a[2*i],t.depth[r]=(t.depth[n]>=t.depth[i]?t.depth[n]:t.depth[i])+1,a[2*n+1]=a[2*i+1]=r,t.heap[1]=r++,nt(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],Z(t,e),G(a,u,t.bl_count)}function at(t,e,n){var i,r,a=-1,o=e[1],s=0,c=7,u=4;for(0===o&&(c=138,u=3),e[2*(n+1)+1]=65535,i=0;i<=n;i++)r=o,o=e[2*(i+1)+1],++s=3;e--)if(0!==t.bl_tree[2*I[e]+1])break;return t.opt_len+=3*(e+1)+5+5+4,e}function ct(t,e,n,i){var r;for(U(t,e-257,5),U(t,n-1,5),U(t,i-4,4),r=0;r>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return a;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return o;for(e=32;e0?(t.strm.data_type===s&&(t.strm.data_type=ut(t)),rt(t,t.l_desc),rt(t,t.d_desc),c=st(t),a=t.opt_len+3+7>>>3,o=t.static_len+3+7>>>3,o<=a&&(a=o)):a=o=n+5,n+4<=a&&-1!==e?dt(t,e,n,i):t.strategy===r||o===a?(U(t,(l<<1)+(i?1:0),3),it(t,M,L)):(U(t,(h<<1)+(i?1:0),3),ct(t,t.l_desc.max_code+1,t.d_desc.max_code+1,c+1),it(t,t.dyn_ltree,t.dyn_dtree)),J(t),i&&Q(t)}function vt(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(N[n]+v+1)]++,t.dyn_dtree[2*H(e)]++),t.last_lit===t.lit_bufsize-1}e._tr_init=ht,e._tr_stored_block=dt,e._tr_flush_block=pt,e._tr_tally=vt,e._tr_align=ft},"0998":function(t,e,n){"use strict";var i=n("927d"),r=n.n(i);r.a},"0aa0":function(t,e,n){"use strict";var i=n("a53f");function r(t){var e;while(t){var n=getComputedStyle(t),i=n.transform||n.webkitTransform;e=(!i||"none"===i)&&e,e="fixed"===n.position||e,t=t.parentElement}return e}e["a"]={name:"Native",data:function(){return{position:{top:"0px",left:"0px",width:"0px",height:"0px",position:"static"},hidden:!1}},provide:function(){return{parentOnDraw:this._onDraw}},inject:{parentOnDraw:{default:null}},created:function(){this.isNative=!0,this.onCanInsertCallbacks=[],this.onDrawCallbacks=[]},mounted:function(){this._updatePosition(),this.onCanInsertCallbacks.forEach((function(t){return t()})),this.onCanInsertCallbacks=null,this.$on("uni-view-update",this._requestPositionUpdate)},methods:{_updatePosition:function(){var t=(this.$refs.container||this.$el).getBoundingClientRect();if(this.hidden=0===t.width||0===t.height,!this.hidden){var e=this.position;e.position=r(this.$el)?"absolute":"static";var n=["top","left","width","height"];n.forEach((function(n){var r=t[n];r="top"===n?r+("static"===e.position?document.documentElement.scrollTop||document.body.scrollTop||0:Object(i["a"])()):r,e[n]=r+"px"}))}},_requestPositionUpdate:function(){var t=this;this._positionUpdateRequest&&cancelAnimationFrame(this._positionUpdateRequest),this._positionUpdateRequest=requestAnimationFrame((function(){delete t._positionUpdateRequest,t._updatePosition()}))},_onParentReady:function(t){var e=this,n=function(n){t(n),e.onDrawCallbacks.forEach((function(t){return t(e.position)})),e.onDrawCallbacks=null};this._onSelfReady((function(){e.parentOnDraw?e.parentOnDraw(n):n({top:"0px",left:"0px",width:Number.MAX_SAFE_INTEGER+"px",height:Number.MAX_SAFE_INTEGER+"px",position:"static"})}))},_onSelfReady:function(t){this.onCanInsertCallbacks?this.onCanInsertCallbacks.push(t):t()},_onDraw:function(t){this.onDrawCallbacks?this.onDrawCallbacks.push(t):t(this.position)}}}},"0b86":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("f2b3");function r(t,e,n){if(!t.$parent)return"-1";var r=t.$vnode,a=r.context,o=r.data.attrs._i;return n&&Object(i["e"])(r.data,"key")&&(o=o+";"+r.data.key),a&&a!==e&&a._$id?a._$id+";"+e._$id+","+o:e._$id+","+o}},"0f55":function(t,e,n){"use strict";var i=n("2190"),r=n.n(i);r.a},1082:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-image",t._g({},t.$listeners),[n("div",{ref:"content",style:t.style}),t.contentPath?n("img",{attrs:{src:t.contentPath,draggable:t.draggable}}):t._e(),"widthFix"===t.mode||"heightFix"===t.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(e){return t._fixSize()}}}):t._e()],1)},r=[];function a(t){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function o(t){return("undefined"===typeof navigator||a(navigator))&&"Google Inc."===navigator.vendor&&t>10&&(t=2*Math.round(t/2)),t}var s={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!0}},data:function(){return{originalWidth:0,originalHeight:0,originalStyle:{width:"",height:""},contentPath:""}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},style:function(){var t="auto",e="",n="no-repeat";switch(this.mode){case"aspectFit":t="contain",e="center center";break;case"aspectFill":t="cover",e="center center";break;case"widthFix":case"heightFix":t="100% 100%";break;case"top":e="center top";break;case"bottom":e="center bottom";break;case"center":e="center center";break;case"left":e="left center";break;case"right":e="right center";break;case"top left":e="left top";break;case"top right":e="right top";break;case"bottom left":e="left bottom";break;case"bottom right":e="right bottom";break;default:t="100% 100%",e="0% 0%";break}return{"background-image":this.contentPath?'url("'.concat(this.contentPath,'")'):"none","background-position":e,"background-size":t,"background-repeat":n}}},watch:{src:function(t,e){this._loadImage()},mode:function(t,e){"widthFix"!==e&&"heightFix"!==e||this._resetSize(),"widthFix"!==t&&"heightFix"!==t||this._fixSize()}},mounted:function(){this.originalStyle.width=this.$el.style.width||"",this.originalStyle.height=this.$el.style.height||"",this._loadImage()},beforeDestroy:function(){this._clearImage()},methods:{_fixSize:function(){if(this.ratio){var t=this.$el;if("widthFix"===this.mode){var e=t.offsetWidth;e&&(t.style.height=o(e/this.ratio)+"px")}else if("heightFix"===this.mode){var n=t.offsetHeight;n&&(t.style.width=o(n*this.ratio)+"px")}}window.dispatchEvent(new CustomEvent("updateview"))},_resetSize:function(){this.$el.style.width=this.originalStyle.width,this.$el.style.height=this.originalStyle.height},_resetData:function(){this.originalWidth=0,this.originalHeight=0,this.contentPath=""},_loadImage:function(){var t=this,e=this.$getRealPath(this.src);if(e){var n=this._img=this._img||new Image;n.onload=function(i){t._img=null,t.originalWidth=n.width,t.originalHeight=n.height,t._fixSize(),t.contentPath=e,t.$trigger("load",i,{width:n.width,height:n.height})},n.onerror=function(e){t._img=null,t._resetData(),t.$trigger("error",e,{errMsg:"GET ".concat(t.src," 404 (Not Found)")})},n.src=e}else this._clearImage(),this._resetData()},_clearImage:function(){var t=this._img;t&&(t.onload=null,t.onerror=null,this._img=null)}}},c=s,u=(n("db18"),n("2877")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},1307:function(t,e,n){},1364:function(t,e,n){"use strict";(function(t){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}},c=s,u=(n("f7fd"),n("2877")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},"18fd":function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var i=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,r=/^<\/([-A-Za-z0-9_]+)[^>]*>/,a=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,o=f("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=f("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),c=f("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),u=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=f("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),h=f("script,style");function d(t,e){var n,d,f,p=[],v=t;p.last=function(){return this[this.length-1]};while(t){if(d=!0,p.last()&&h[p.last()])t=t.replace(new RegExp("([\\s\\S]*?)]*>"),(function(t,n){return n=n.replace(/|/g,"$1$2"),e.chars&&e.chars(n),""})),_("",p.last());else if(0==t.indexOf("\x3c!--")?(n=t.indexOf("--\x3e"),n>=0&&(e.comment&&e.comment(t.substring(4,n)),t=t.substring(n+3),d=!1)):0==t.indexOf("=0;i--)if(p[i]==n)break}else var i=0;if(i>=0){for(var r=p.length-1;r>=i;r--)e.end&&e.end(p[r]);p.length=i}}_()}function f(t){for(var e={},n=t.split(","),i=0;i*{height: ").concat(t,"px;overflow: hidden;}"),document.head.appendChild(e)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t),Object(s["a"])({disable:!0});break;case"move":this._handleTouchMove(t),t.stopPropagation();break;case"end":case"cancel":this._handleTouchEnd(t),Object(s["a"])({disable:!1})}},_handleTap:function(t){var e=t.clientY;if(!this._scroller.isScrolling()){var n=this.$el.getBoundingClientRect(),i=e-n.top-this.height/2,r=this.indicatorHeight/2;if(!(Math.abs(i)<=r)){var a=Math.ceil((Math.abs(i)-r)/this.indicatorHeight),o=i<0?-a:a,s=Math.min(this.current+o,this.length-1);this.current=s=Math.max(s,0),this._scroller.scrollTo(s*this.indicatorHeight)}}},_handleWheel:function(t){var e=this.deltaY+t.deltaY;if(Math.abs(e)>10){this.deltaY=0;var n=Math.min(this.current+(e<0?-1:1),this.length-1);this.current=n=Math.max(n,0),this._scroller.scrollTo(n*this.indicatorHeight)}else this.deltaY=e;t.preventDefault()},setCurrent:function(t){t!==this.current&&(this.current=t,this.inited&&this.update())},init:function(){var t=this;this.initScroller(this.$refs.content,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:this.indicatorHeight,friction:new a["a"](1e-4),spring:new o["a"](2,90,20),onSnap:function(e){isNaN(e)||e===t.current||(t.current=e)}}),this.inited=!0},update:function(){var t=this;this.$nextTick((function(){var e=Math.min(t.current,t.length-1);e=Math.max(e,0),t._scroller.update(e*t.indicatorHeight,void 0,t.indicatorHeight)}))},_resize:function(t){var e=t.height;this.indicatorHeight=e}},render:function(t){return this.length=this.$slots.default&&this.$slots.default.length||0,t("uni-picker-view-column",{on:{on:this.$listeners}},[t("div",{ref:"main",staticClass:"uni-picker-view-group",on:{wheel:this._handleWheel,click:this._handleTap}},[t("div",{ref:"mask",staticClass:"uni-picker-view-mask",class:this.maskClass,style:"background-size: 100% ".concat(this.maskSize,"px;").concat(this.maskStyle)}),t("div",{ref:"indicator",staticClass:"uni-picker-view-indicator",class:this.indicatorClass,style:this.indicatorStyle},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}})]),t("div",{ref:"content",staticClass:"uni-picker-view-content",class:this.scope,style:"padding: ".concat(this.maskSize,"px 0;")},[this.$slots.default])])])}},d=h,f=(n("edfa"),n("2877")),p=Object(f["a"])(d,u,l,!1,null,null,null);e["default"]=p.exports},"1b6f":function(t,e,n){"use strict";(function(t){var i=n("f2b3");e["a"]={mounted:function(){var t=this;this._toggleListeners("subscribe",this.id),this.$watch("id",(function(e,n){t._toggleListeners("unsubscribe",n,!0),t._toggleListeners("subscribe",e,!0)}))},beforeDestroy:function(){this._toggleListeners("unsubscribe",this.id),this._contextId&&this._toggleListeners("unsubscribe",this._contextId)},methods:{_toggleListeners:function(e,n,r){r&&!n||Object(i["f"])(this._handleSubscribe)&&t[e](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+n,this._handleSubscribe)},_getContextInfo:function(){var t="context-".concat(this._uid);return this._contextId||(this._toggleListeners("subscribe",t),this._contextId=t),{name:this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase(),id:t,page:this.$page.id}}}}}).call(this,n("501c"))},"1c64":function(t,e,n){"use strict";var i=n("60ee"),r=n.n(i);r.a},"1c73":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return c}));var i={},r={};function a(t){for(var e=[],n=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"],i=0,r=n;i=0&&e.push("(".concat(o(a),": ").concat(Number(t[a]),"px)")),"orientation"===a&&t[a]&&e.push("(".concat(o(a),": ").concat(t[a],")"))}return e=e.join(" and "),e}function o(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function s(e){var n=e.reqId,o=e.options,s=i[n]=window.matchMedia(a(o)),c=r[n]=function(e){t.publishHandler("onRequestMediaQueryObserver",{reqId:n,res:e.matches})};c(s),s.addListener(c)}function c(e){var n=e.reqId,a=r[n],o=i[n];o&&(o.removeListener(a),delete i[n],t.publishHandler("onRequestMediaQueryObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},"1e88":function(t,e,n){"use strict";function i(){return{top:0,bottom:0,left:0,right:0}}n.d(e,"a",(function(){return i}))},"1efd":function(t,e,n){"use strict";n.r(e);var i=n("e571"),r=n("a34f"),a=n("d4b6"),o={methods:{$getRealPath:function(t){return t?Object(r["a"])(t):t},$trigger:function(t,e,n){this.$emit(t,a["b"].call(this,t,e,n,this.$el,this.$el))}}};function s(t){return h(t)||l(t)||u(t)||c()}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t,e){if(t){if("string"===typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}function l(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function h(t){if(Array.isArray(t))return d(t)}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0&&(o.length=1),l.push("".concat(a,"(").concat(o.join(","),")"));else if(i.concat(r).includes(o[0])){a=o[0];var c=o[1];u[a]=r.includes(a)?f(c):c}})),u.transform=u.webkitTransform=l.join(" "),u.transition=u.webkitTransition=Object.keys(u).map((function(t){return"".concat(p(t)," ").concat(c.duration,"ms ").concat(c.timingFunction," ").concat(c.delay,"ms")})).join(","),u.transformOrigin=u.webkitTransformOrigin=o.transformOrigin,u}function m(t){var e=t.animation;if(e&&e.actions&&e.actions.length){var n=0,i=e.actions,r=e.actions.length;setTimeout((function(){a()}),0)}function a(){var e=i[n],o=e.option.transition,s=v(e);Object.keys(s).forEach((function(e){t.$el.style[e]=s[e]})),n+=1,n-1:t.valueSync},on:{change:[function(e){var n=t.valueSync,i=e.target,r=!!i.checked;if(Array.isArray(n)){var a=null,o=t._i(n,a);i.checked?o<0&&(t.valueSync=n.concat([a])):o>-1&&(t.valueSync=n.slice(0,o).concat(n.slice(o+1)))}else t.valueSync=r},function(t){t.stopPropagation()}],focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}),t.disabled&&t.fixColor?n("input",{ref:"input",staticClass:"uni-input-input",attrs:{tabindex:"-1",readonly:t.disabled,type:t.inputType,maxlength:t.maxlength,step:t.step},domProps:{value:t.valueSync},on:{focus:function(t){return t.target.blur()}}}):t._e()])])},r=[],a=n("8af1"),o=n("f2b3"),s=["text","number","idcard","digit","password","tel"],c=["number","digit"],u=["off","one-time-code"],l={name:"Input",mixins:[a["b"]],props:{name:{type:String,default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:"input-placeholder"},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},textContentType:{type:String,default:""}},data:function(){return{wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var t="";switch(this.type){case"text":"search"===this.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~s.indexOf(this.type)?this.type:"text";break}return this.password?"password":t},step:function(){return~c.indexOf(this.type)?"0.000000000000000001":""},autocomplete:function(){var t=u.indexOf(this.textContentType),e=u.indexOf(Object(o["i"])(this.textContentType)),n=-1!==t?t:-1!==e?e:0;return u[n]}},watch:{maxlength:function(t){var e=this.valueSync.slice(0,parseInt(t,10));e!==this.valueSync&&(this.valueSync=e)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var t=document.createElement("form");t.action="",t.onsubmit=function(){return!1},t.className="uni-input-form",t.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(t)}var e=this;while(e){var n=e.$options._scopeId;n&&this.$refs.placeholder.setAttribute(n,""),e=e.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(t){this.$trigger("confirm",t,{value:t.target.value})},_onInput:function(t,e){var n=this,i=!1;if(!this.composing){if("number"===this.inputType){var r=parseInt(this.maxlength,10);if(r>0&&t.target.value.length>r&&(this.cachedValue.length===r?(this.valueSync=this.cachedValue,i=!0):(t.target.value=t.target.value.slice(0,r),this.valueSync=t.target.value)),this.__clearCachedValue&&t.target.removeEventListener("blur",this.__clearCachedValue),t.target.validity&&!t.target.validity.valid){if(!this.cachedValue&&"-"===t.data||"-"===this.cachedValue[0]&&"deleteContentBackward"===t.inputType){this.cachedValue="-";var a=this.__clearCachedValue=function(){n.cachedValue=""};return void t.target.addEventListener("blur",a)}return void(this.cachedValue=this.valueSync=t.target.value="-"===this.cachedValue?"":this.cachedValue)}this.cachedValue=this.valueSync}i||this.$triggerInput(t,{value:this.valueSync},e)}},_onComposition:function(t){"compositionstart"===t.type?this.composing=!0:this.composing&&(this.composing=!1,this._onInput(t))},_resetFormData:function(){this.valueSync=""},_getFormData:function(){return this.name?{value:this.valueSync,key:this.name}:{}}}},h=l,d=(n("0f55"),n("2877")),f=Object(d["a"])(h,i,r,!1,null,null,null);e["default"]=f.exports},2522:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i="onPageCreate"},"25ce":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox-group",t._g({},t.$listeners),[t._t("default")],2)},r=[],a=n("8af1"),o={name:"CheckboxGroup",mixins:[a["a"],a["e"]],props:{name:{type:String,default:""}},data:function(){return{checkboxList:[]}},listeners:{"@checkbox-change":"_changeHandler","@checkbox-group-update":"_checkboxGroupUpdateHandler"},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_changeHandler:function(t){var e=[];this.checkboxList.forEach((function(t){t.checkboxChecked&&e.push(t.value)})),this.$trigger("change",t,{value:e})},_checkboxGroupUpdateHandler:function(t){if("add"===t.type)this.checkboxList.push(t.vm);else{var e=this.checkboxList.indexOf(t.vm);this.checkboxList.splice(e,1)}},_getFormData:function(){var t={};if(""!==this.name){var e=[];this.checkboxList.forEach((function(t){t.checkboxChecked&&e.push(t.value)})),t.value=e,t.key=this.name}return t}}},s=o,c=(n("0998"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"27ab":function(t,e,n){"use strict";n.r(e);var i=n("f2b3");function r(t){return c(t)||s(t)||o(t)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(t,e){if(t){if("string"===typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function s(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function c(t){if(Array.isArray(t))return u(t)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0)&&(this.valueSync.length=t.length,t.forEach((function(t,e){t!==n.valueSync[e]&&n.$set(n.valueSync,e,t)})))},valueSync:{deep:!0,handler:function(t,e){if(""===this.changeSource)this._valueChanged(t);else{this.changeSource="";var n=t.map((function(t){return t}));this.$emit("update:value",n),this.$trigger("change",{},{value:n})}}}},methods:{getItemIndex:function(t){return this.items.indexOf(t)},getItemValue:function(t){return this.valueSync[this.getItemIndex(t.$vnode)]||0},setItemValue:function(t,e){var n=this.getItemIndex(t.$vnode),i=this.valueSync[n];i!==e&&(this.changeSource="touch",this.$set(this.valueSync,n,e))},_valueChanged:function(t){this.items.forEach((function(e,n){e.componentInstance.setCurrent(t[n]||0)}))},_resize:function(t){var e=t.height;this.height=e}},render:function(t){var e=[];return this.$slots.default&&Object(i["d"])(this.$slots.default,t).forEach((function(t){t.componentOptions&&"v-uni-picker-view-column"===t.componentOptions.tag&&e.push(t)})),this.items=e,t("uni-picker-view",{on:this.$listeners},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}}),t("div",{ref:"wrapper",class:"uni-picker-view-wrapper"},e)])}},f=d,p=(n("6062"),n("2877")),v=Object(p["a"])(f,l,h,!1,null,null,null);e["default"]=v.exports},"27c2":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-editor",t._g({staticClass:"ql-container",attrs:{id:t.id}},t.$listeners))},r=[],a=n("3e4d"),o=a["a"],s=(n("e298"),n("2877")),c=Object(s["a"])(o,i,r,!1,null,null,null);e["default"]=c.exports},"27ef":function(t,e,n){"use strict";var i=n("a250"),r=n.n(i);r.a},"286b":function(t,e,n){"use strict";(function(t){var i=n("8af1"),r=n("0aa0"),a=["getCenterLocation","moveToLocation","getRegion","getScale","$getAppMap"],o=["latitude","longitude","scale","markers","polyline","circles","controls","show-location"],s=function(t,e,n){n({coord:{latitude:e,longitude:t}})};function c(t){if(0!==t.indexOf("#"))return{color:t,opacity:1};var e=t.substr(7,2);return{color:t.substr(0,7),opacity:e?Number("0x"+e)/255:1}}e["a"]={name:"Map",mixins:[i["f"],r["a"]],props:{id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:16},markers:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}}},data:function(){return{style:{top:"0px",left:"0px",width:"0px",height:"0px",position:"static"},hidden:!1}},computed:{attrs:function(){var t=this,e={};return o.forEach((function(n){var i=t.$props[n];i="src"===n?t.$getRealPath(i):i,e[n.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))]=i})),e},mapControls:function(){var t=this,e=this.controls.map((function(e){var n={position:"absolute"};return["top","left","width","height"].forEach((function(t){e.position[t]&&(n[t]=e.position[t]+"px")})),{id:e.id,iconPath:t.$getRealPath(e.iconPath),position:n}}));return e}},watch:{hidden:function(t){this.map&&this.map[t?"hide":"show"]()},scale:function(t){this.map&&this.map.setZoom(parseInt(t))},latitude:function(t){this.map&&this.map.setStyles({center:new plus.maps.Point(this.longitude,this.latitude)})},longitude:function(t){this.map&&this.map.setStyles({center:new plus.maps.Point(this.longitude,this.latitude)})},markers:function(t){this.map&&this._addMarkers(t,!0)},polyline:function(t){this.map&&this._addMapLines(t)},circles:function(t){this.map&&this._addMapCircles(t)}},mounted:function(){var t=this;this._onParentReady((function(){var e=Object.assign({},t.attrs,t.position);t.latitude&&t.longitude&&(e.center=new plus.maps.Point(t.longitude,t.latitude));var n=t.map=plus.maps.create(t.$page.id+"-map-"+(t.id||Date.now()),e);n.__markers__=[],n.__markers_map__={},n.__lines__=[],n.__circles__=[],n.setZoom(parseInt(t.scale)),plus.webview.currentWebview().append(n),t.hidden&&n.hide(),t.$watch("position",(function(){t.map&&t.map.setStyles(t.position)}),{deep:!0}),n.onclick=function(e){t.$trigger("click",{},e)},n.onstatuschanged=function(e){t.$trigger("regionchange",{},{})},t._addMarkers(t.markers),t._addMapLines(t.polyline),t._addMapCircles(t.circles)}))},beforeDestroy:function(){this.map&&this.map.close(),delete this.map},methods:{_handleSubscribe:function(t){var e=t.type,n=t.data,i=void 0===n?{}:n;a.includes(e)&&this.map&&this[e](i)},moveToLocation:function(t){var e=t.callbackId,n=t.longitude,i=t.latitude;this.map.setCenter(new plus.maps.Point(n||this.longitude,i||this.latitude)),this._publishHandler(e,{errMsg:"moveToLocation:ok"})},getCenterLocation:function(t){var e=this,n=t.callbackId;this.map.getCurrentCenter((function(t,i){e._publishHandler(n,{longitude:i.longitude,latitude:i.latitude,errMsg:"getCenterLocation:ok"})}))},getRegion:function(t){var e=t.callbackId,n=this.map.getBounds();this._publishHandler(e,{southwest:n.southwest,northeast:n.northeast||n.northease,errMsg:"getRegion:ok"})},getScale:function(t){var e=t.callbackId;this._publishHandler(e,{scale:this.map.getZoom(),errMsg:"getScale:ok"})},controlclick:function(t){this.$trigger("controltap",{},{controlId:t.id})},_publishHandler:function(e,n){t.publishHandler("onMapMethodCallback",{callbackId:e,data:n},this.$page.id)},_addMarker:function(t,e){var n=this,i=e.id,r=e.latitude,a=e.longitude,o=e.iconPath,c=e.callout,u=e.label;s(a,r,(function(e){var r=e.coord,a=r.latitude,s=r.longitude,l=new plus.maps.Marker(new plus.maps.Point(s,a));o&&l.setIcon(n.$getRealPath(o)),u&&u.content&&l.setLabel(u.content);var h=!1;c&&c.content&&(h=new plus.maps.Bubble(c.content)),h&&l.setBubble(h),(i||0===i)&&(l.onclick=function(t){n.$trigger("markertap",{},{markerId:i})},h&&(h.onclick=function(){n.$trigger("callouttap",{},{markerId:i})})),t.addOverlay(l),t.__markers__.push(l),t.__markers_map__[i+""]=l}))},_clearMarkers:function(){var t=this.map,e=t.__markers__;e.forEach((function(e){t.removeOverlay(e)})),t.__markers__=[],t.__markers_map__={}},_addMarkers:function(t,e){var n=this;e&&this._clearMarkers(),t.forEach((function(t){n._addMarker(n.map,t)}))},_translateMapMarker:function(t){t.autoRotate,t.callbackId;var e=t.destination,n=(t.duration,t.markerId),i=this.map.__markers_map__[n+""];i&&i.setPoint(new plus.maps.Point(e.longitude,e.latitude))},_addMapLines:function(t){var e=this.map;e.__lines__.length>0&&(e.__lines__.forEach((function(t){e.removeOverlay(t)})),e.__lines__=[]),t.forEach((function(t){var n=t.color,i=t.width,r=t.points.map((function(t){return new plus.maps.Point(t.longitude,t.latitude)})),a=new plus.maps.Polyline(r);if(n){var o=c(n);a.setStrokeColor(o.color),a.setStrokeOpacity(o.opacity)}i&&a.setLineWidth(i),e.addOverlay(a),e.__lines__.push(a)}))},_addMapCircles:function(t){var e=this.map;e.__circles__.length>0&&(e.__circles__.forEach((function(t){e.removeOverlay(t)})),e.__circles__=[]),t.forEach((function(t){var n=t.latitude,i=t.longitude,r=t.color,a=t.fillColor,o=t.radius,s=t.strokeWidth,u=new plus.maps.Circle(new plus.maps.Point(i,n),o);if(r){var l=c(r);u.setStrokeColor(l.color),u.setStrokeOpacity(l.opacity)}if(a){var h=c(a);u.setFillColor(h.color),u.setFillOpacity(h.opacity)}s&&u.setLineWidth(s),e.addOverlay(u),e.__circles__.push(u)}))}}}}).call(this,n("501c"))},2877:function(t,e,n){"use strict";function i(t,e,n,i,r,a,o,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},"28e4":function(t,e,n){"use strict";function i(t){return new Promise((function(e,n){function i(){var i=new plus.nativeObj.Bitmap("bitmap_".concat(Date.now(),"_").concat(Math.random(),"}"));i.load(t,(function(){e(i.toBase64Data()),i.clear()}),(function(t){i.clear(),n(t)}))}plus.io.resolveLocalFileSystemURL(t,(function(t){t.file((function(t){var n=new plus.io.FileReader;n.onload=function(t){e(t.target.result)},n.onerror=i,n.readAsDataURL(t)}),i)}),i)}))}function r(t){return new Promise((function(e,n){0===t.indexOf("http://")||0===t.indexOf("https://")?plus.downloader.createDownload(t,{filename:"_doc/uniapp_temp/download/"},(function(t,i){200===i?e(t.filename):n(new Error("network fail"))})).start():e(t)}))}function a(t){return r(t).then((function(t){return window.webkit&&window.webkit.messageHandlers?i(t):plus.io.convertLocalFileSystemURL(t)}))}n.d(e,"a",(function(){return a}))},2937:function(t,e,n){},"2a0a":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var i,r,a=n("f2b3");function o(){Object(a["j"])((function(){i||(i=plus.webview.currentWebview()),r||(r=(i.getStyle()||{}).pullToRefresh||{})}))}function s(t){var e=t.disable;r&&r.support&&i.setPullToRefresh(Object.assign({},r,{support:!e}))}},"2bbe":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hoverClass&&"none"!==t.hoverClass?n("uni-view",t._g({class:[t.hovering?t.hoverClass:""],on:{touchstart:t._hoverTouchStart,touchend:t._hoverTouchEnd,touchcancel:t._hoverTouchCancel}},t.$listeners),[t._t("default")],2):n("uni-view",t._g({},t.$listeners),[t._t("default")],2)},r=[],a=n("83a6"),o={name:"View",mixins:[a["a"]],listeners:{"label-click":"clickHandler"}},s=o,c=(n("e865"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"2c45":function(t,e,n){},"2ceb":function(t,e,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},"2df3":function(t,e,n){"use strict";var i=n("b1a3"),r=n.n(i);r.a},"33b4":function(t,e,n){},"33ed":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return c}));var i,r=n("5bb5");function a(t){t.preventDefault()}function o(t){var e=t.scrollTop,n=t.duration,i=document.documentElement,r=i.clientHeight,a=i.scrollHeight;function o(t){if(t<=0)window.scrollTo(0,e);else{var n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),o(t-10)}))}}e=Math.min(e,a-r),0!==n?window.scrollY!==e&&o(n):i.scrollTop=document.body.scrollTop=e}var s=0;function c(e,n){var a=n.enablePageScroll,o=n.enablePageReachBottom,c=n.onReachBottomDistance,u=n.enableTransparentTitleNView,l=!1,h=!1,d=!0;function f(){var t=document.documentElement.scrollHeight,e=window.innerHeight,n=window.scrollY,i=n>0&&t>e&&n+e+c>=t,r=Math.abs(t-s)>c;return!i||h&&!r?(!i&&h&&(h=!1),!1):(s=t,h=!0,!0)}function p(){var n=getCurrentPages();if(n.length&&n[n.length-1].$page.id===e){var s=window.pageYOffset;a&&Object(r["a"])("onPageScroll",{scrollTop:s},e),u&&t.emit("onPageScroll",{scrollTop:s}),o&&d&&(c()||(i=setTimeout(c,300))),l=!1}function c(){if(f())return Object(r["a"])("onReachBottom",{},e),d=!1,setTimeout((function(){d=!0}),350),!0}}return function(){clearTimeout(i),l||requestAnimationFrame(p),l=!0}}}).call(this,n("501c"))},3878:function(t,e){var n,i;0===String(navigator.vendor).indexOf("Apple")&&document.documentElement.addEventListener("click",(function(t){var e=450,r=44;clearTimeout(i),n&&Math.abs(t.pageX-n.pageX)<=r&&Math.abs(t.pageY-n.pageY)<=r&&t.timeStamp-n.timeStamp<=e&&t.preventDefault(),n=t,i=setTimeout((function(){n=null}),e)}))},"39aa":function(t){t.exports=JSON.parse('{"uni.app.quit":"Press back button again to exit","uni.async.error":"The connection timed out, click the screen to try again.","uni.showActionSheet.cancel":"Cancel","uni.showToast.unpaired":"Please note showToast must be paired with hideToast","uni.showLoading.unpaired":"Please note showLoading must be paired with hideLoading","uni.showModal.cancel":"Cancel","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancel","uni.chooseImage.sourceType.album":"Album","uni.chooseImage.sourceType.camera":"Camera","uni.chooseVideo.cancel":"Cancel","uni.chooseVideo.sourceType.album":"Album","uni.chooseVideo.sourceType.camera":"Camera","uni.chooseFile.notUserActivation":"File chooser dialog can only be shown with a user activation","uni.previewImage.button.save":"Save Image","uni.previewImage.save.success":"Saved successfully","uni.previewImage.save.fail":"Save failed","uni.setClipboardData.success":"Content copied","uni.scanCode.title":"Scan code","uni.scanCode.album":"Album","uni.scanCode.fail":"Recognition failure","uni.scanCode.flash.on":"Tap to turn light on","uni.scanCode.flash.off":"Tap to turn light off","uni.startSoterAuthentication.authContent":"Fingerprint recognition","uni.picker.done":"Done","uni.picker.cancel":"Cancel","uni.video.danmu":"Danmu","uni.video.volume":"Volume","uni.button.feedback.title":"feedback","uni.button.feedback.send":"send","uni.chooseLocation.search":"Find Place","uni.chooseLocation.cancel":"Cancel"}')},"39ba":function(t,e,n){"use strict";n.r(e);var i,r,a=n("0aa0"),o=n("5077"),s={name:"CoverView",mixins:[a["a"],o["a"]],props:{},data:function(){return{coverType:"text",coverContent:""}},render:function(t){var e="",n=this.$slots.default||[],i=n.filter((function(t){return t.tag}));return i.length?e=i:(n.forEach((function(t){t.tag||(e+=t.text||"")})),this.coverContent=e),t("uni-cover-view",{on:{on:this.$listeners}},[t("div",{ref:"container",staticClass:"uni-cover-view"},[].concat(e))])}},c=s,u=(n("4ba9"),n("2877")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},"3c47":function(t,e,n){"use strict";(function(t){var i=n("8af1");e["a"]={name:"Label",mixins:[i["a"]],props:{for:{type:String,default:""}},computed:{pointer:function(){return this.for||this.$slots.default&&this.$slots.default.length}},methods:{_onClick:function(e){var n=/^uni-(checkbox|radio|switch)-/.test(e.target.className);n||(n=/^uni-(checkbox|radio|switch|button)$/i.test(e.target.tagName)),n||(this.for?t.emit("uni-label-click-"+this.$page.id+"-"+this.for,e,!0):this.$broadcast(["Checkbox","Radio","Switch","Button"],"uni-label-click",e,!0))}}}}).call(this,n("501c"))},"3c79":function(t,e,n){},"3e4d":function(t,e,n){"use strict";(function(t){var i=n("8af1"),r=n("18fd"),a=n("b253"),o=n("93ab");function s(t){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function c(){return"ios"===plus.os.name.toLowerCase()}var u=!1;e["a"]={name:"Editor",mixins:[i["f"],i["a"],i["d"]],props:{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}},data:function(){return{quillReady:!1}},computed:{},watch:{readOnly:function(t){if(this.quillReady){var e=this.quill;e.enable(!t),t||e.blur()}},placeholder:function(t){this.quillReady&&this.setPlaceHolder(t)}},mounted:function(){var t=this,e=[];this.showImgSize&&e.push("DisplaySize"),this.showImgToolbar&&e.push("Toolbar"),this.showImgResize&&e.push("Resize");var n="./__uniappquill.js";Object(o["a"])(window.Quill,n,(function(){if(e.length){var n="./__uniappquillimageresize.js";Object(o["a"])(window.ImageResize,n,(function(){t.initQuill(e)}))}else t.initQuill(e)}))},methods:{_handleSubscribe:function(e){var n,i,r,a=e.type,o=e.data,c=o.options,l=o.callbackId,h=this.quill,d=window.Quill;if(this.quillReady){switch(a){case"format":var f=c.name,p=void 0===f?"":f,v=c.value,m=void 0!==v&&v;i=h.getSelection(!0);var g=h.getFormat(i)[p]||!1;if(["bold","italic","underline","strike","ins"].includes(p))m=!g;else if("direction"===p){m=("rtl"!==m||!g)&&m;var _=h.getFormat(i).align;"rtl"!==m||_?m||"right"!==_||h.format("align",!1,d.sources.USER):h.format("align","right",d.sources.USER)}else if("indent"===p){var b="rtl"===h.getFormat(i).direction;m="+1"===m,b&&(m=!m),m=m?"+1":"-1"}else"list"===p&&(m="check"===m?"unchecked":m,g="checked"===g?"unchecked":g),m=g&&g!==(m||!1)||!g&&m?m:!g;h.format(p,m,d.sources.USER);break;case"insertDivider":i=h.getSelection(!0),h.insertText(i.index,"\n",d.sources.USER),h.insertEmbed(i.index+1,"divider",!0,d.sources.USER),h.setSelection(i.index+2,d.sources.SILENT);break;case"insertImage":i=h.getSelection(!0);var y=c.src,w=void 0===y?"":y,k=c.alt,x=void 0===k?"":k,S=c.width,C=void 0===S?"":S,T=c.height,$=void 0===T?"":T,O=c.extClass,E=void 0===O?"":O,I=c.data,A=void 0===I?{}:I,M=this.$getRealPath(w);h.insertEmbed(i.index,"image",M,d.sources.USER);var L=!!/^(file|blob):/.test(M)&&M;u=!0,h.formatText(i.index,1,"data-local",L),h.formatText(i.index,1,"alt",x),h.formatText(i.index,1,"width",C),h.formatText(i.index,1,"height",$),h.formatText(i.index,1,"class",E),u=!1,h.formatText(i.index,1,"data-custom",Object.keys(A).map((function(t){return"".concat(t,"=").concat(A[t])})).join("&")),h.setSelection(i.index+1,d.sources.SILENT);break;case"insertText":i=h.getSelection(!0);var j=c.text,N=void 0===j?"":j;h.insertText(i.index,N,d.sources.USER),h.setSelection(i.index+N.length,0,d.sources.SILENT);break;case"setContents":var P=c.delta,D=c.html;"object"===s(P)?h.setContents(P,d.sources.SILENT):"string"===typeof D?h.setContents(this.html2delta(D),d.sources.SILENT):r="contents is missing";break;case"getContents":n=this.getContents();break;case"clear":h.setContents([]);break;case"removeFormat":i=h.getSelection(!0);var R=d.import("parchment");i.length?h.removeFormat(i,d.sources.USER):Object.keys(h.getFormat(i)).forEach((function(t){R.query(t,R.Scope.INLINE)&&h.format(t,!1)}));break;case"undo":h.history.undo();break;case"redo":h.history.redo();break;case"blur":h.blur();break;case"getSelectionText":i=h.selection.savedRange,n={text:""},i&&0!==i.length&&(n.text=h.getText(i.index,i.length));break;case"scrollIntoView":h.scrollIntoView();break;default:break}this.updateStatus(i)}else r="not ready";l&&t.publishHandler("onEditorMethodCallback",{callbackId:l,data:Object.assign({},n,{errMsg:"".concat(a,":").concat(r?"fail "+r:"ok")})},this.$page.id)},setPlaceHolder:function(t){var e="data-placeholder",n=this.quill.root;n.getAttribute(e)!==t&&n.setAttribute(e,t)},initQuill:function(t){var e=this,n=window.Quill;a["a"](n);var i={toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{}};t.length&&(n.register("modules/ImageResize",window.ImageResize.default),i.modules.ImageResize={modules:t});var r=this.quill=new n(this.$el,i),o=r.root,s=["focus","blur","input"];s.forEach((function(t){o.addEventListener(t,(function(n){var i=e.getContents();if("input"===t){if(c()){var r=(i.html.match(/([\s\S]*)<\/span>/)||[])[1],a=r&&r.replace(/\s/g,"")?"":e.placeholder;e.setPlaceHolder(a)}n.stopPropagation()}else e.$trigger(t,n,i)}))})),r.on(n.events.TEXT_CHANGE,(function(){u||e.$trigger("input",{},e.getContents())})),r.on(n.events.SELECTION_CHANGE,this.updateStatus.bind(this)),r.on(n.events.SCROLL_OPTIMIZE,(function(){var t=r.selection.getRange()[0];e.updateStatus(t)})),r.clipboard.addMatcher(Node.ELEMENT_NODE,(function(t,n){return e.skipMatcher||(n.ops=n.ops.filter((function(t){var e=t.insert;return"string"===typeof e})).map((function(t){var e=t.insert;return{insert:e}}))),n})),this.initKeyboard(o),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var t=this.quill,e=t.root["inner"+"HTML"],n=t.getText(),i=t.getContents();return{html:e,text:n,delta:i}},html2delta:function(t){var e,n=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"],i="";Object(r["a"])(t,{start:function(t,r,a){if(n.includes(t)){e=!1;var o=r.map((function(t){var e=t.name,n=t.value;return"".concat(e,'="').concat(n,'"')})).join(" "),s="<".concat(t," ").concat(o," ").concat(a?"/":"",">");i+=s}else e=!a},end:function(t){e||(i+=""))},chars:function(t){e||(i+=t)}}),this.skipMatcher=!0;var a=this.quill.clipboard.convert(i);return this.skipMatcher=!1,a},updateStatus:function(t){var e=this,n=t?this.quill.getFormat(t):{},i=Object.keys(n);(i.length!==Object.keys(this.__status||{}).length||i.find((function(t){return n[t]!==e.__status[t]})))&&(this.__status=n,this.$trigger("statuschange",{},n))}}}}).call(this,n("501c"))},"3e5d":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return T}));var i,r,a,o=n("e571"),s=n("a20d"),c=n("2522"),u=n("9d20"),l=n("9856"),h=n("2376");function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t,e){return _(t)||g(t,e)||v(t,e)||p()}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(t,e){if(t){if("string"===typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(t,e):void 0}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n3?i-3:0),a=3;a0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=i.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==h)throw new Error(o[n]);if(e.header&&i.deflateSetHeader(this.strm,e.header),e.dictionary){var u;if(u="string"===typeof e.dictionary?a.string2buf(e.dictionary):"[object ArrayBuffer]"===c.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,n=i.deflateSetDictionary(this.strm,u),n!==h)throw new Error(o[n]);this._dict_set=!0}}function _(t,e){var n=new g(e);if(n.push(t,!0),n.err)throw n.msg||o[n.err];return n.result}function b(t,e){return e=e||{},e.raw=!0,_(t,e)}function y(t,e){return e=e||{},e.gzip=!0,_(t,e)}g.prototype.push=function(t,e){var n,o,s=this.strm,p=this.options.chunkSize;if(this.ended)return!1;o=e===~~e?e:!0===e?l:u,"string"===typeof t?s.input=a.string2buf(t):"[object ArrayBuffer]"===c.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new r.Buf8(p),s.next_out=0,s.avail_out=p),n=i.deflate(s,o),n!==d&&n!==h)return this.onEnd(n),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||o!==l&&o!==f)||("string"===this.options.to?this.onData(a.buf2binstring(r.shrinkBuf(s.output,s.next_out))):this.onData(r.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&n!==d);return o===l?(n=i.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===h):o!==f||(this.onEnd(h),s.avail_out=0,!0)},g.prototype.onData=function(t){this.chunks.push(t)},g.prototype.onEnd=function(t){t===h&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=g,e.deflate=_,e.deflateRaw=b,e.gzip=y},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,i="/";e.cwd=function(){return i},e.chdir=function(e){t||(t=n("df7c")),i=t.resolve(e,i)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},4617:function(t,e,n){"use strict";(function(t){function i(t,e){return c(t)||s(t,e)||a(t,e)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){if(t){if("string"===typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n2&&void 0!==arguments[2]?arguments[2]:v;if(!e)return[t];var i=this._caches[t];return i||(i=b(t,n),this._caches[t]=i),y(i,e)}}]),t}(),g=/^(?:\d)+/,_=/^(?:\w)+/;function b(t,e){var n=i(e,2),r=n[0],a=n[1],o=[],s=0,c="";while(s-1?w:t.indexOf("-hant")>-1||E(t,["-tw","-hk","-mo","-cht"])?k:w;var n=I(t,[x,S,C]);return n||void 0}}var M=function(){function t(e){var n=e.locale,i=e.fallbackLocale,r=e.messages,a=e.watcher,o=e.formater;u(this,t),this.locale=x,this.fallbackLocale=x,this.message={},this.messages={},this.watchers=[],i&&(this.fallbackLocale=i),this.formater=o||O,this.messages=r||{},this.setLocale(n||x),a&&this.watchLocale(a)}return h(t,[{key:"setLocale",value:function(t){var e=this,n=this.locale;this.locale=A(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach((function(t){t(e.locale,n)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(t){var e=this,n=this.watchers.push(t)-1;return function(){e.watchers.splice(n,1)}}},{key:"add",value:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.messages[t];i?n?Object.assign(i,e):Object.keys(e).forEach((function(t){$(i,t)||(i[t]=e[t])})):this.messages[t]=e}},{key:"f",value:function(t,e,n){return this.formater.interpolate(t,e,n).join("")}},{key:"t",value:function(t,e,n){var i=this.message;return"string"===typeof e?(e=A(e,this.messages),e&&(i=this.messages[e])):n=e,$(i,t)?this.formater.interpolate(i[t],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}]),t}();function L(t,e){t.$watchLocale?t.$watchLocale((function(t){e.setLocale(t)})):t.$watch((function(){return t.$locale}),(function(t){e.setLocale(t)}))}function j(){return"undefined"!==typeof uni&&uni.getLocale?uni.getLocale():"undefined"!==typeof t&&t.getLocale?t.getLocale():x}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if("string"!==typeof t){var r=[e,t];t=r[0],e=r[1]}"string"!==typeof t&&(t=j()),"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||x);var a=new M({locale:t,fallbackLocale:n,messages:e,watcher:i}),o=function(t,e){if("function"!==typeof getApp)o=function(t,e){return a.t(t,e)};else{var n=!1;o=function(t,e){var i=getApp().$vm;return i&&(i.$locale,n||(n=!0,L(i,a))),a.t(t,e)}}return o(t,e)};return{i18n:a,f:function(t,e,n){return a.f(t,e,n)},t:function(t,e){return o(t,e)},add:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return a.add(t,e,n)},watch:function(t){return a.watchLocale(t)},getLocale:function(){return a.getLocale()},setLocale:function(t){return a.setLocale(t)}}}function P(t,e){return t.indexOf(e[0])>-1}}).call(this,n("c8ba"))},"4ba9":function(t,e,n){"use strict";var i=n("8779"),r=n.n(i);r.a},"4da7":function(t,e,n){"use strict";n.r(e);var i,r,a={ensp:" ",emsp:" ",nbsp:" "},o={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(t){return this.space&&a[this.space]&&(t=t.replace(/ /g,a[this.space])),this.decode&&(t=t.replace(/ /g,a.nbsp).replace(/ /g,a.ensp).replace(/ /g,a.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),t}},render:function(t){var e=this,n=[];return this.$slots.default&&this.$slots.default.forEach((function(i){if(i.text){var r=i.text.replace(/\\n/g,"\n"),a=r.split("\n");a.forEach((function(i,r){n.push(e._decodeHtml(i)),r!==a.length-1&&n.push(t("br"))}))}else i.componentOptions&&"v-uni-text"!==i.componentOptions.tag&&console.warn("Do not nest other components in the text component, as there may be display differences on different platforms."),n.push(i)})),t("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[t("span",{},n)])}},s=o,c=(n("c8ed"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"4dc6":function(t,e,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},"4e0b":function(t,e,n){},"4f1c":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-switch",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-switch-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"switch"===t.type,expression:"type === 'switch'"}],staticClass:"uni-switch-input",class:[t.switchChecked?"uni-switch-input-checked":""],style:{backgroundColor:t.switchChecked?t.color:"#DFDFDF",borderColor:t.switchChecked?t.color:"#DFDFDF"}}),n("div",{directives:[{name:"show",rawName:"v-show",value:"checkbox"===t.type,expression:"type === 'checkbox'"}],staticClass:"uni-checkbox-input",class:[t.switchChecked?"uni-checkbox-input-checked":""],style:{color:t.color}})])])},r=[],a=n("8af1"),o={name:"Switch",mixins:[a["a"],a["e"]],props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},data:function(){return{switchChecked:this.checked}},watch:{checked:function(t){this.switchChecked=t}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},listeners:{"label-click":"_onClick","@label-click":"_onClick"},methods:{_onClick:function(t){this.disabled||(this.switchChecked=!this.switchChecked,this.$trigger("change",t,{value:this.switchChecked}))},_resetFormData:function(){this.switchChecked=!1},_getFormData:function(){var t={};return""!==this.name&&(t.value=this.switchChecked,t.key=this.name),t}}},s=o,c=(n("a5ec"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"501c":function(t,e,n){"use strict";n.r(e),n.d(e,"on",(function(){return v})),n.d(e,"off",(function(){return m})),n.d(e,"once",(function(){return g})),n.d(e,"emit",(function(){return _})),n.d(e,"subscribe",(function(){return b})),n.d(e,"unsubscribe",(function(){return y})),n.d(e,"subscribeHandler",(function(){return w})),n.d(e,"publishHandler",(function(){return f["a"]}));var i=n("e571");function r(t){var e=t.pageStyle,n=t.rootFontSize,i=document.querySelector("uni-page-body")||document.body;i.setAttribute("style",e),n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}var a=n("6bdf"),o=n("5dc1"),s=n("1c73"),c={setPageMeta:r,requestComponentInfo:a["a"],requestComponentObserver:o["b"],destroyComponentObserver:o["a"],requestMediaQueryObserver:s["b"],destroyMediaQueryObserver:s["a"]},u=n("33ed"),l=n("7107"),h=n("0516");function d(t){Object.keys(c).forEach((function(e){t(e,c[e])})),t("pageScrollTo",u["c"]),t("loadFontFace",l["a"]),Object(h["a"])(t)}var f=n("5bb5"),p=new i["a"],v=p.$on.bind(p),m=p.$off.bind(p),g=p.$once.bind(p),_=p.$emit.bind(p);function b(t,e){return v("service."+t,e)}function y(t,e){return m("service."+t,e)}function w(t,e,n){_("service."+t,e,n)}d(b)},5077:function(t,e,n){"use strict";var i=["borderRadius","borderColor","borderWidth","backgroundColor"],r=["paddingTop","paddingRight","paddingBottom","paddingLeft","color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],a=[],o={start:"left",end:"right"},s=0;e["a"]={name:"Cover",data:function(){return{style:{},parentPosition:{}}},computed:{viewPosition:function(){var t={};for(var e in this.position){var n=this.position[e],i=parseFloat(n),r=parseFloat(this.parentPosition[e]);if("top"===e||"left"===e)n=Math.max(i,r)+"px";else if("width"===e||"height"===e){var a="width"===e?"left":"top",o=parseFloat(this.parentPosition[a]),s=parseFloat(this.position[a]),c=Math.max(o-s,0),u=Math.max(s+i-(o+r),0);n=Math.max(i-c-u,0)+"px"}t[e]=n}return t},tags:function(){var t=this._getTagPosition(),e=this.style,n=[{tag:"rect",position:t,rectStyles:{color:e.backgroundColor,radius:e.borderRadius,borderColor:e.borderColor,borderWidth:e.borderWidth}}];if("image"===this.coverType)n.push({tag:"img",position:t,src:this.coverContent});else{var i=parseFloat(e.lineHeight)-parseFloat(e.fontSize),r=parseFloat(t.width)-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight);r=r<0?0:r;var a=parseFloat(t.height)-parseFloat(e.paddingTop)-i/2-parseFloat(e.paddingBottom);a=a<0?0:a,n.push({tag:"font",position:{top:"".concat(parseFloat(t.top)+parseFloat(e.paddingTop)+i/2,"px"),left:"".concat(parseFloat(t.left)+parseFloat(e.paddingLeft),"px"),width:"".concat(r,"px"),height:"".concat(a,"px")},textStyles:{align:o[e.textAlign]||e.textAlign,color:e.color,decoration:"none",lineSpacing:"".concat(i,"px"),margin:"0px",overflow:e.textOverflow,size:e.fontSize,verticalAlign:"top",weight:e.fontWeight,whiteSpace:e.whiteSpace},text:this.coverContent})}return n}},created:function(){var t=this.$parent;while(!t.isNative&&t!==this.$root)t=t.$parent;this._nativeParent=t},mounted:function(){var t=this;this._onParentReady((function(e){t.parentPosition=t._nativeParent.position||e,t._updateStyle(),t._onCanInsert(),t.$watch("hidden",(function(e){t.cover&&t.cover[e?"hide":"show"]()})),t.$watch("viewPosition",(function(e){t.cover&&t.cover.setStyle(e)}),{deep:!0}),t.$watch("tags",(function(){var e=t.cover;e&&(e.reset(),e.draw(t.tags))}),{deep:!0}),t.$on("uni-view-update",t._requestStyleUpdate)}))},beforeDestroy:function(){this._nativeParent.isNative&&(this.cover&&this.cover.close(),delete this.cover)},methods:{_onCanInsert:function(){var t=this,e=this.cover=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(s++),this.viewPosition,this.tags);plus.webview.currentWebview().append(e),this.hidden&&e.hide(),e.addEventListener("click",(function(){t.$trigger("click",{},{})}))},_getTagPosition:function(){var t={};for(var e in this.position){var n=this.position[e];"top"!==e&&"left"!==e||(n=Math.min(parseFloat(n)-parseFloat(this.parentPosition[e]),0)+"px"),t[e]=n}return t},_updateStyle:function(){var t=this,e=getComputedStyle(this.$el);i.concat(r,a).forEach((function(n){t.$set(t.style,n,e[n])}))},_requestStyleUpdate:function(){var t=this;this._styleUpdateRequest&&cancelAnimationFrame(this._styleUpdateRequest),this._styleUpdateRequest=requestAnimationFrame((function(){delete t._styleUpdateRequest,t._updateStyle()}))}}}},5129:function(t,e){t.exports=["uni-app","uni-layout","uni-content","uni-main","uni-top-window","uni-left-window","uni-right-window","uni-tabbar","uni-page","uni-page-head","uni-page-wrapper","uni-page-body","uni-page-refresh","uni-actionsheet","uni-modal","uni-toast","uni-resize-sensor","uni-shadow-root","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","uni-editor","uni-form","uni-functional-page-navigator","uni-icon","uni-image","uni-input","uni-label","uni-live-player","uni-live-pusher","uni-map","uni-movable-area","uni-movable-view","uni-navigator","uni-official-account","uni-open-data","uni-picker","uni-picker-view","uni-picker-view-column","uni-progress","uni-radio","uni-radio-group","uni-rich-text","uni-scroll-view","uni-slider","uni-swiper","uni-swiper-item","uni-switch","uni-text","uni-textarea","uni-video","uni-view","uni-web-view"]},"515d":function(t,e,n){},5363:function(t,e,n){"use strict";function i(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}n.d(e,"a",(function(){return i})),i.prototype.set=function(t,e){this._x=t,this._v=e,this._startTime=(new Date).getTime()},i.prototype.setVelocityByEnd=function(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},i.prototype.x=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._x+this._v*e/this._dragLog-this._v/this._dragLog},i.prototype.dx=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._v*e},i.prototype.done=function(){return Math.abs(this.dx())<3},i.prototype.reconfigure=function(t){var e=this.x(),n=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(e,n)},i.prototype.configuration=function(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(e){t.reconfigure(e)},min:.001,max:.1,step:.001}]}},5408:function(t,e,n){var i={"./audio/index.vue":"6150","./button/index.vue":"d3bd","./canvas/index.vue":"bacd","./checkbox-group/index.vue":"25ce","./checkbox/index.vue":"7bb3","./editor/index.vue":"27c2","./form/index.vue":"b34d","./icon/index.vue":"9a8b","./image/index.vue":"1082","./input/index.vue":"250d","./label/index.vue":"70f4","./movable-area/index.vue":"c61c","./movable-view/index.vue":"8842","./navigator/index.vue":"17fd","./picker-view-column/index.vue":"1955","./picker-view/index.vue":"27ab","./progress/index.vue":"9b1f","./radio-group/index.vue":"d5ec","./radio/index.vue":"6491","./resize-sensor/index.vue":"3e8c","./rich-text/index.vue":"b705","./scroll-view/index.vue":"f1ef","./slider/index.vue":"9f96","./swiper-item/index.vue":"9213","./swiper/index.vue":"5513","./switch/index.vue":"4f1c","./text/index.vue":"4da7","./textarea/index.vue":"5768","./view/index.vue":"2bbe"};function r(t){var e=a(t);return n(e)}function a(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=a,t.exports=r,r.id="5408"},"54bc":function(t,e,n){},5513:function(t,e,n){"use strict";n.r(e);var i,r,a=n("ba15"),o=n("f2b3"),s={name:"Swiper",mixins:[a["a"]],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}},data:function(){return{currentSync:Math.round(this.current)||0,currentItemIdSync:this.currentItemId||"",userTracking:!1,currentChangeSource:"",items:[]}},computed:{intervalNumber:function(){var t=Number(this.interval);return isNaN(t)?5e3:t},durationNumber:function(){var t=Number(this.duration);return isNaN(t)?500:t},displayMultipleItemsNumber:function(){var t=Math.round(this.displayMultipleItems);return isNaN(t)?1:t},slidesStyle:function(){var t={};return(this.nextMargin||this.previousMargin)&&(t=this.vertical?{left:0,right:0,top:this._upx2px(this.previousMargin),bottom:this._upx2px(this.nextMargin)}:{top:0,bottom:0,left:this._upx2px(this.previousMargin),right:this._upx2px(this.nextMargin)}),t},slideFrameStyle:function(){var t=Math.abs(100/this.displayMultipleItemsNumber)+"%";return{width:this.vertical?"100%":t,height:this.vertical?t:"100%"}},circularEnabled:function(){return this.circular&&this.items.length>this.displayMultipleItemsNumber}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(t){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(t){this._currentCheck()},currentSync:function(t,e){this._currentChanged(t,e),this.$emit("update:current",t)},currentItemId:function(t){this._currentCheck()},currentItemIdSync:function(t){this.$emit("update:currentItemId",t)},displayMultipleItemsNumber:function(){this._resetLayout()}},created:function(){this._invalid=!0,this._viewportPosition=0,this._viewportMoveRatio=1,this._animating=null,this._requestedAnimation=!1,this._userDirectionChecked=!1,this._contentTrackViewport=0,this._contentTrackSpeed=0,this._contentTrackT=0},mounted:function(){var t=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch((function(){return t.autoplay&&!t.userTracking}),this._inintAutoplay),this._inintAutoplay(this.autoplay&&!this.userTracking),this.$watch("items.length",this._resetLayout)},beforeDestroy:function(){this._cancelSchedule(),cancelAnimationFrame(this._animationFrame)},methods:{_inintAutoplay:function(t){t?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var t=-1;if(this.currentItemId)for(var e=0,n=this.items;er/2?1:0)}var a=this.items[t];a&&this._itemReady(a,(function(){var t=n.currentItemIdSync=a.componentInstance.itemId||"";n.$trigger("change",{},{current:n.currentSync,currentItemId:t,source:i})}))},_scheduleAutoplay:function(){var t=this;function e(){t._timer=null,t.currentChangeSource="autoplay",t.circularEnabled?t.currentSync=t._normalizeCurrentValue(t.currentSync+1):t.currentSync=t.currentSync+t.displayMultipleItemsNumbere-this.displayMultipleItemsNumber)return e-this.displayMultipleItemsNumber;return n},_upx2px:function(t){return/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,(function(t){return"".concat(uni.upx2px(parseFloat(t)),"px")})),t||""},_resetLayout:function(){if(this._isMounted){this._cancelSchedule(),this._endViewportAnimation();for(var t=this.items,e=0;e0&&this._viewportMoveRatio<1||(this._viewportMoveRatio=1)}var r=this._viewportPosition;this._viewportPosition=-2;var a=this.currentSync;a>=0?(this._invalid=!1,this.userTracking?(this._updateViewport(r+a-this._contentTrackViewport),this._contentTrackViewport=a):(this._updateViewport(a),this.autoplay&&this._scheduleAutoplay())):(this._invalid=!0,this._updateViewport(-this.displayMultipleItemsNumber-1))}},_checkCircularLayout:function(t){if(!this._invalid)for(var e=this.items,n=e.length,i=t+this.displayMultipleItemsNumber,r=0;r=this.items.length&&(t-=this.items.length),t=this._transitionStart%1>.5||this._transitionStart<0?t-1:t,this.$trigger("transition",{},{dx:this.vertical?0:t*r.offsetWidth,dy:this.vertical?t*r.offsetHeight:0})},_animateFrameFuncProto:function(){var t=this;if(this._animating){var e=this._animating,n=e.toPos,i=e.acc,r=e.endTime,a=e.source,o=r-Date.now();if(o<=0){this._updateViewport(n),this._animating=null,this._requestedAnimation=!1,this._transitionStart=null;var s=this.items[this.currentSync];s&&this._itemReady(s,(function(){var e=s.componentInstance.itemId||"";t.$trigger("animationfinish",{},{current:t.currentSync,currentItemId:e,source:a})}))}else{var c=i*o*o/2,u=n+c;this._updateViewport(u),this._animationFrame=requestAnimationFrame(this._animateFrameFuncProto.bind(this))}}else this._requestedAnimation=!1},_animateViewport:function(t,e,n){this._cancelViewportAnimation();var i=this.durationNumber,r=this.items.length,a=this._viewportPosition;if(this.circularEnabled)if(n<0){for(;at;)a-=r}else if(n>0){for(;a>t;)a-=r;for(;a+rt;)a-=r;a+r-tr)&&(i<0?i=-o(-i):i>r&&(i=r+o(i-r)),e._contentTrackSpeed=0),e._updateViewport(i)}},_handleTrackEnd:function(t){if(this.items.length){this.userTracking=!1;var e=this._contentTrackSpeed/Math.abs(this._contentTrackSpeed),n=0;!t&&Math.abs(this._contentTrackSpeed)>.2&&(n=.5*e);var i=this._normalizeCurrentValue(this._viewportPosition+n);t?this._updateViewport(this._contentTrackViewport):(this.currentChangeSource="touch",this.currentSync=i,this._animateViewport(i,"touch",0!==n?n:0===i&&this.circularEnabled&&this._viewportPosition>=1?1:0))}},_handleContentTrack:function(t){if(!this.disableTouch&&!this._invalid){if("start"===t.detail.state)return this.userTracking=!0,this._userDirectionChecked=!1,this._handleTrackStart();if("end"===t.detail.state)return this._handleTrackEnd(!1);if("cancel"===t.detail.state)return this._handleTrackEnd(!0);if(this.userTracking){if(!this._userDirectionChecked){this._userDirectionChecked=!0;var e=Math.abs(t.detail.dx),n=Math.abs(t.detail.dy);if((e>=n&&this.vertical||e<=n&&!this.vertical)&&(this.userTracking=!1),!this.userTracking)return void(this.autoplay&&this._scheduleAutoplay())}return this._handleTrackMove(t.detail),!1}}}},render:function(t){var e=this,n=[],i=[];this.$slots.default&&Object(o["d"])(this.$slots.default,t).forEach((function(t){t.componentOptions&&"v-uni-swiper-item"===t.componentOptions.tag&&i.push(t)}));for(var r=function(i,r){var a=e.currentSync;n.push(t("div",{on:{click:function(){e._animateViewport(e.currentSync=i,e.currentChangeSource="click",e.circularEnabled?1:0)}},class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":i=a||i0;function S(){var t,e,n,i=window.screen,r=window.devicePixelRatio,a=/^Apple/.test(navigator.vendor)&&"number"===typeof window.orientation,o=a&&90===Math.abs(window.orientation),s=a?Math[o?"max":"min"](i.width,i.height):i.width,c=a?Math[o?"min":"max"](i.height,i.width):i.height,u=Math.min(window.innerWidth,document.documentElement.clientWidth,s)||s,l=window.innerHeight,h=navigator.language,d=m.a.top;if(b){t="iOS";var v=g.match(/OS\s([\w_]+)\slike/);v&&(e=v[1].replace(/_/g,"."));var S=g.match(/\(([a-zA-Z]+);/);S&&(n=S[1])}else if(_){t="Android";var C=g.match(/Android[\s/]([\w\.]+)[;\s]/);C&&(e=C[1]);for(var T=g.match(/\((.+?)\)/),$=T?T[1].split(";"):g.split(" "),O=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i],E=0;E<$.length;E++){var I=$[E];if(I.indexOf("Build")>0){n=I.split("Build")[0].trim();break}for(var A=void 0,M=0;M=13)&&document.activeElement.blur()};t.addEventListener("focus",(function(){e=!0,clearTimeout(i),document.addEventListener("click",h,!1),s=l,o&&n.$trigger("keyboardheightchange",{},{height:o,duration:0}),f(n),d(n)})),r&&t.addEventListener("click",(function(){!n.disabled&&e&&0===o&&d(n)})),r||(parseInt(a)<12&&t.addEventListener("touchstart",(function(){n.disabled||e||d(n)})),parseFloat(a)>=14.6&&!c&&Object(u["j"])((function(){var t=plus.webview.currentWebview();c=t.getStyle()||{}})));var v=function(){document.removeEventListener("click",h,!1),s=null,o&&n.$trigger("keyboardheightchange",{},{height:0,duration:0}),p(n),r&&(i=setTimeout((function(){d(n,!0)}),300)),0===String(navigator.vendor).indexOf("Apple")&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)};t.addEventListener("blur",(function(){t.blur(),e=!1,v()}))}}}},"5ab3":function(t,e,n){"use strict";var i=n("b2bb"),r=n.n(i);r.a},"5abe":function(t,e){(function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},i.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},i.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(window,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():l();this._observationTargets.forEach((function(i){var a=i.element,o=u(a),s=this._rootContainsTarget(a),c=i.entry,l=t&&s&&this._computeTargetAndRootIntersection(a,e),h=i.entry=new n({time:r(),target:a,boundingClientRect:o,rootBounds:e,intersectionRect:l});c?t&&s?this._hasCrossedThreshold(c,h)&&this._queuedEntries.push(h):c&&c.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){var i=u(e),r=i,a=d(e),o=!1;while(!o){var s=null,l=1==a.nodeType?window.getComputedStyle(a):{};if("none"==l.display)return;if(a==this.root||a==t?(o=!0,s=n):a!=t.body&&a!=t.documentElement&&"visible"!=l.overflow&&(s=u(a)),s&&(r=c(s,r),!r))break;a=d(a)}return r}},i.prototype._getRootRect=function(){var e;if(this.root)e=u(this.root);else{var n=t.documentElement,i=t.body;e={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},i.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,i=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==i)for(var r=0;r=0&&s>=0&&{top:n,bottom:i,left:r,right:a,width:o,height:s}}function u(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):l()}function l(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(t,e){var n=e;while(n){if(n==t)return!0;n=d(n)}return!1}function d(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}})()},"5bb5":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("a20d"),r=n("f2b3");function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(r["j"])((function(){var n=plus.webview.currentWebview().id;plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:t,data:e,pageId:n}},i["a"])}))}},"5cf8":function(t,e,n){"use strict";function i(t,e){for(var n=this.$children,r=n.length,a=arguments.length,o=new Array(a>2?a-2:0),s=2;s2?r-2:0),o=2;o2?n-2:0),a=2;a=1;M--)if(0!==z[M])break;if(L>M&&(L=M),0===M)return v[m++]=20971520,v[m++]=20971520,_.bits=1,0;for(A=1;A0&&(t===s||1!==M))return-1;for(V[1]=0,E=1;Ea||t===u&&D>o)return 1;for(;;){C=E-N,g[I]S?(T=H[Y+g[I]],$=B[F+g[I]]):(T=96,$=0),b=1<>N)+y]=C<<24|T<<16|$|0}while(0!==y);b=1<>=1;if(0!==b?(R&=b-1,R+=b):R=0,I++,0===--z[E]){if(E===M)break;E=e[n+g[I]]}if(E>L&&(R&k)!==w){0===N&&(N=L),x+=A,j=E-N,P=1<a||t===u&&D>o)return 1;w=R&k,v[w]=L<<24|j<<16|x-m|0}}return 0!==R&&(v[x+R]=E-N<<24|64<<16|0),_.bits=L,0}},"68f3":function(t,e,n){"use strict";(function(t){var i=n("8af1"),r=n("0aa0"),a=["adpid","data"];e["a"]={name:"Ad",mixins:[i["f"],r["a"]],props:{adpid:{type:[Number,String],default:""},data:{type:Object,default:null},dataCount:{type:Number,default:5},channel:{type:String,default:""}},data:function(){return{hidden:!1}},computed:{attrs:function(){var t=this,e={};return a.forEach((function(n){var i=t.$props[n];i="src"===n?t.$getRealPath(i):i,e[n.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))]=i})),e}},watch:{hidden:function(t){this.adView&&this.adView[t?"hide":"show"]()},adpid:function(t){t&&this._loadData(t)},data:function(t){t&&this._fillData(t)}},mounted:function(){var e=this;this._onParentReady((function(){e._adId="AdView-"+e._newGUID();var n=Object.assign({id:e._adId},e.position),i=e.adView=plus.ad.createAdView(n);i.interceptTouchEvent(!1),plus.webview.currentWebview().append(i),e.hidden&&i.hide(),e.$watch("attrs",(function(){e._request()}),{deep:!0}),e.$watch("position",(function(){e.adView&&e.adView.setStyle(e.position)}),{deep:!0}),i.setDislikeListener&&i.setDislikeListener((function(t){e.adView&&e.adView.close(),e.$refs.container.style.height="0px",e._updateView(),e.$trigger("close",{},t)})),i.setRenderingListener&&i.setRenderingListener((function(t){0===t.result?(e.$refs.container.style.height=t.height+"px",e._updateView()):e.$trigger("error",{},{errCode:t.result})})),i.setAdClickedListener((function(t){e.$trigger("adclicked",{},t)})),e._callbackId=e.$page.id+e._adId,t.subscribe(e._callbackId,e._handleAdData.bind(e)),e._request()}))},beforeDestroy:function(){this.adView&&this.adView.close(),delete this.adView},methods:{_handleAdData:function(t){var e=t.type,n=t.data,i=void 0===n?{}:n;switch(e){case"success":this._fillData(i);break;case"fail":this.$trigger("error",{},i);break}},_request:function(){this.adView&&(this.data?this._fillData(this.data):this.adpid&&this._loadData())},_loadData:function(e){var n={adpid:e||this.adpid,width:this.position.width,count:this.dataCount,ext:{channel:this.channel}};t.publishHandler("onAdMethodCallback",{callbackId:this._callbackId,data:n},this.$page.id)},_fillData:function(t){this.adView.renderingBind(t),this.$trigger("load",{},{})},_updateView:function(){window.dispatchEvent(new CustomEvent("updateview"))},_newGUID:function(){for(var t="",e="xxxxxxxx-xxxx",n=0;n=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0===(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=i.inflateInit2(this.strm,e.windowBits);if(n!==o.Z_OK)throw new Error(s[n]);if(this.header=new u,i.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"===typeof e.dictionary?e.dictionary=a.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(n=i.inflateSetDictionary(this.strm,e.dictionary),n!==o.Z_OK)))throw new Error(s[n])}function d(t,e){var n=new h(e);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}function f(t,e){return e=e||{},e.raw=!0,d(t,e)}h.prototype.push=function(t,e){var n,s,c,u,h,d=this.strm,f=this.options.chunkSize,p=this.options.dictionary,v=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?o.Z_FINISH:o.Z_NO_FLUSH,"string"===typeof t?d.input=a.binstring2buf(t):"[object ArrayBuffer]"===l.call(t)?d.input=new Uint8Array(t):d.input=t,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new r.Buf8(f),d.next_out=0,d.avail_out=f),n=i.inflate(d,o.Z_NO_FLUSH),n===o.Z_NEED_DICT&&p&&(n=i.inflateSetDictionary(this.strm,p)),n===o.Z_BUF_ERROR&&!0===v&&(n=o.Z_OK,v=!1),n!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&n!==o.Z_STREAM_END&&(0!==d.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(c=a.utf8border(d.output,d.next_out),u=d.next_out-c,h=a.buf2string(d.output,c),d.next_out=u,d.avail_out=f-u,u&&r.arraySet(d.output,d.output,c,u,0),this.onData(h)):this.onData(r.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(v=!0)}while((d.avail_in>0||0===d.avail_out)&&n!==o.Z_STREAM_END);return n===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(n=i.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),d.avail_out=0,!0)},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Inflate=h,e.inflate=d,e.inflateRaw=f,e.ungzip=d},"72ad":function(t,e,n){},"72b3":function(t,e,n){"use strict";function i(t,e,n){return t>e-n&&t0){var u=(-n-Math.sqrt(a))/(2*i),l=(-n+Math.sqrt(a))/(2*i),h=(e-u*t)/(l-u),d=t-h;return{x:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),d*e+h*n},dx:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),d*u*e+h*l*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,v=t,m=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(f*t)+m*Math.sin(f*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(f*t),i=Math.sin(f*t);return e*(m*f*n-v*f*i)+p*e*(m*i+v*n)}}},a.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},a.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},a.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!r(e,.4)){e=e||0;var i=this._endPosition;this._solution&&(r(e,.4)&&(e=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),r(e,.4)&&(e=0),r(i,.4)&&(i=0),i+=this._endPosition),this._solution&&r(i-t,.4)&&r(e,.4)||(this._endPosition=t,this._solution=this._solve(i-this._endPosition,e),this._startTime=n)}},a.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},a.prototype.done=function(t){return t||(t=(new Date).getTime()),i(this.x(),this._endPosition,.4)&&r(this.dx(),.4)},a.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},a.prototype.springConstant=function(){return this._k},a.prototype.damping=function(){return this._c},a.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]}},7466:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-map",t._g({},t.$listeners),[n("div",{ref:"container",staticClass:"uni-map-container"}),t._l(t.mapControls,(function(e,i){return n("v-uni-cover-image",{key:i,style:e.position,attrs:{src:e.iconPath,"auto-size":""},on:{click:function(n){return t.controlclick(e)}}})})),n("div",{staticClass:"uni-map-slot"},[t._t("default")],2)],2)},r=[],a=n("286b"),o=a["a"],s=(n("a252"),n("2877")),c=Object(s["a"])(o,i,r,!1,null,null,null);e["default"]=c.exports},7522:function(t,e,n){},"76a8":function(t,e,n){"use strict";var i=n("3fe7"),r=n.n(i);r.a},"7b27":function(t,e,n){"use strict";var i=n("be7f"),r=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(u){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(u){a=!1}for(var o=new i.Buf8(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function c(t,e){if(e<65534&&(t.subarray&&a||!t.subarray&&r))return String.fromCharCode.apply(null,i.shrinkBuf(t,e));for(var n="",o=0;o>>6,e[o++]=128|63&n):n<65536?(e[o++]=224|n>>>12,e[o++]=128|n>>>6&63,e[o++]=128|63&n):(e[o++]=240|n>>>18,e[o++]=128|n>>>12&63,e[o++]=128|n>>>6&63,e[o++]=128|63&n);return e},e.buf2binstring=function(t){return c(t,t.length)},e.binstring2buf=function(t){for(var e=new i.Buf8(t.length),n=0,r=e.length;n4)u[i++]=65533,n+=a-1;else{r&=2===a?31:3===a?15:7;while(a>1&&n1?u[i++]=65533:r<65536?u[i++]=r:(r-=65536,u[i++]=55296|r>>10&1023,u[i++]=56320|1023&r)}return c(u,i)},e.utf8border=function(t,e){var n;e=e||t.length,e>t.length&&(e=t.length),n=e-1;while(n>=0&&128===(192&t[n]))n--;return n<0||0===n?e:n+o[t[n]]>e?n:e}},"7bb3":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-checkbox-wrapper"},[n("div",{staticClass:"uni-checkbox-input",class:{"uni-checkbox-input-checked":t.checkboxChecked,"uni-checkbox-input-disabled":t.disabled},style:{color:t.color}}),t._t("default")],2)])},r=[],a=n("8af1"),o={name:"Checkbox",mixins:[a["a"],a["e"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},data:function(){return{checkboxChecked:this.checked,checkboxValue:this.value}},watch:{checked:function(t){this.checkboxChecked=t},value:function(t){this.checkboxValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||(this.checkboxChecked=!this.checkboxChecked,this.$dispatch("CheckboxGroup","uni-checkbox-change",t))},_resetFormData:function(){this.checkboxChecked=!1}}},s=o,c=(n("f53a"),n("2877")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"7c2b":function(t,e,n){"use strict";var i=n("2c45"),r=n.n(i);r.a},"7d0f":function(t,e,n){"use strict";var i=n("5129"),r=n.n(i),a=n("85b6"),o=n("f2b3");function s(t){t.config.errorHandler=function(e,n,i){var r=Object(o["m"])(e);t.util.warn("Error in ".concat(i,': "').concat("Error"===r?e.toString():e,'"'),n);var s="function"===typeof getApp&&getApp();s&&Object(a["b"])(s.$options,"onError")?s.__call_hook("onError",e):console.error(e)};var e=t.config.isReservedTag;t.config.isReservedTag=function(t){return-1!==r.a.indexOf(t)||e(t)},t.config.ignoredElements=r.a;var n=t.config.getTagNamespace,i=["switch","image","text","view"];t.config.getTagNamespace=function(t){return!~i.indexOf(t)&&n(t)}}var c=n("8c15"),u=n("a34f"),l=n("3e5d");function h(t){Object.defineProperty(t.prototype,"$page",{get:function(){return getCurrentPages()[0].$page}}),t.prototype.$handleVModelEvent=function(t,e){l["b"].sendUIEvent(this._$id,t,{type:"input",target:{value:e}})},t.prototype.$handleViewEvent=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stop&&t.stopPropagation(),e.prevent&&t.preventDefault();var n=this.$handleEvent(t),i=this._$id,r=t.$origCurrentTarget||t.currentTarget,a=(r===this.$el&&"page"!==this.$options.mpType?"r-":"")+n.options.nid;if("undefined"===typeof a)return console.error("[".concat(i,"] nid not found"));delete n._processed,delete n.mp,delete n.preventDefault,delete n.stopPropagation,delete n.options,delete n.$origCurrentTarget,l["b"].sendUIEvent(i,a,n)}}n("3878"),e["a"]={install:function(t,e){t.prototype._$getRealPath=u["a"],s(t),c["a"].install(t,e),Object(l["a"])(t),h(t)}}},"7df2":function(t,e,n){},"7e6a":function(t,e,n){"use strict";var i=n("515d"),r=n.n(i);r.a},"7eb1":function(t,e,n){"use strict";var i=30,r=12;t.exports=function(t,e){var n,a,o,s,c,u,l,h,d,f,p,v,m,g,_,b,y,w,k,x,S,C,T,$,O;n=t.state,a=t.next_in,$=t.input,o=a+(t.avail_in-5),s=t.next_out,O=t.output,c=s-(e-t.avail_out),u=s+(t.avail_out-257),l=n.dmax,h=n.wsize,d=n.whave,f=n.wnext,p=n.window,v=n.hold,m=n.bits,g=n.lencode,_=n.distcode,b=(1<>>24,v>>>=k,m-=k,k=w>>>16&255,0===k)O[s++]=65535&w;else{if(!(16&k)){if(0===(64&k)){w=g[(65535&w)+(v&(1<>>=k,m-=k),m<15&&(v+=$[a++]<>>24,v>>>=k,m-=k,k=w>>>16&255,!(16&k)){if(0===(64&k)){w=_[(65535&w)+(v&(1<l){t.msg="invalid distance too far back",n.mode=i;break t}if(v>>>=k,m-=k,k=s-c,S>k){if(k=S-k,k>d&&n.sane){t.msg="invalid distance too far back",n.mode=i;break t}if(C=0,T=p,0===f){if(C+=h-k,k2)O[s++]=T[C++],O[s++]=T[C++],O[s++]=T[C++],x-=3;x&&(O[s++]=T[C++],x>1&&(O[s++]=T[C++]))}else{C=s-S;do{O[s++]=O[C++],O[s++]=O[C++],O[s++]=O[C++],x-=3}while(x>2);x&&(O[s++]=O[C++],x>1&&(O[s++]=O[C++]))}break}}break}}while(a>3,a-=x,m-=x<<3,v&=(1<1||(this.hoverStopPropagation&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){e.hovering=!0,e._hoverTouch||e._hoverReset()}),this.hoverStartTime)))},_hoverTouchEnd:function(t){this._hoverTouch=!1,this.hovering&&this._hoverReset()},_hoverReset:function(){var t=this;requestAnimationFrame((function(){clearTimeout(t._hoverStayTimer),t._hoverStayTimer=setTimeout((function(){t.hovering=!1}),t.hoverStayTime)}))},_hoverTouchCancel:function(t){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"85b6":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o}));var i=n("f2b3");function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return Array.isArray(t[e])&&t[e].length}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t));return e}function o(t){var e={},n=t.__vue__;function r(t,n){var r=t.$attrs;for(var a in r)if(a.startsWith("data-")){var o=Object(i["b"])(a.substr(5).toLowerCase()),s=r[a];e[o]=n?s:e[o]||s}}if(n){var o=n;while(o&&o.$el===t)r(o),o=o.$children[0];var s=n.$parent;while(s&&s.$el===t)r(s,!0),s=s.$parent}else e=t.dataset||{};return a(e)}},8779:function(t,e,n){},8842:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-movable-view",t._g({},t.$listeners),[n("v-uni-resize-sensor",{on:{resize:t.setParent}}),t._t("default")],2)},r=[],a=n("ba15");function o(t,e,n){return t>e-n&&tthis._t&&(t=this._t,this._lastDt=t);var e=this._x_v*t+.5*this._x_a*Math.pow(t,2)+this._x_s,n=this._y_v*t+.5*this._y_a*Math.pow(t,2)+this._y_s;return(this._x_a>0&&ethis._endPositionX)&&(e=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:e,y:n}},u.prototype.ds=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),t>this._t&&(t=this._t),{dx:this._x_v+this._x_a*t,dy:this._y_v+this._y_a*t}},u.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},u.prototype.dt=function(){return-this._x_v/this._x_a},u.prototype.done=function(){var t=o(this.s().x,this._endPositionX)||o(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},u.prototype.setEnd=function(t,e){this._endPositionX=t,this._endPositionY=e},u.prototype.reconfigure=function(t,e){this._m=t,this._f=1e3*e},l.prototype._solve=function(t,e){var n=this._c,i=this._m,r=this._k,a=n*n-4*i*r;if(0===a){var o=-n/(2*i),s=t,c=e/(o*t);return{x:function(t){return(s+c*t)*Math.pow(Math.E,o*t)},dx:function(t){var e=Math.pow(Math.E,o*t);return o*(s+c*t)*e+c*e}}}if(a>0){var u=(-n-Math.sqrt(a))/(2*i),l=(-n+Math.sqrt(a))/(2*i),h=(e-u*t)/(l-u),d=t-h;return{x:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),d*e+h*n},dx:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),d*u*e+h*l*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,v=t,m=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(f*t)+m*Math.sin(f*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(f*t),i=Math.sin(f*t);return e*(m*f*n-v*f*i)+p*e*(m*i+v*n)}}},l.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},l.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},l.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!s(e,.1)){e=e||0;var i=this._endPosition;this._solution&&(s(e,.1)&&(e=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),s(e,.1)&&(e=0),s(i,.1)&&(i=0),i+=this._endPosition),this._solution&&s(i-t,.1)&&s(e,.1)||(this._endPosition=t,this._solution=this._solve(i-this._endPosition,e),this._startTime=n)}},l.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},l.prototype.done=function(t){return t||(t=(new Date).getTime()),o(this.x(),this._endPosition,.1)&&s(this.dx(),.1)},l.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},l.prototype.springConstant=function(){return this._k},l.prototype.damping=function(){return this._c},l.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]},h.prototype.setEnd=function(t,e,n,i){var r=(new Date).getTime();this._springX.setEnd(t,i,r),this._springY.setEnd(e,i,r),this._springScale.setEnd(n,i,r),this._startTime=r},h.prototype.x=function(){var t=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(t),y:this._springY.x(t),scale:this._springScale.x(t)}},h.prototype.done=function(){var t=(new Date).getTime();return this._springX.done(t)&&this._springY.done(t)&&this._springScale.done(t)},h.prototype.reconfigure=function(t,e,n){this._springX.reconfigure(t,e,n),this._springY.reconfigure(t,e,n),this._springScale.reconfigure(t,e,n)};var d=n("2a0a"),f=!1;function p(t){f||(f=!0,requestAnimationFrame((function(){t(),f=!1})))}function v(t,e){if(t===e)return 0;var n=t.offsetLeft;return t.offsetParent?n+=v(t.offsetParent,e):0}function m(t,e){if(t===e)return 0;var n=t.offsetTop;return t.offsetParent?n+=m(t.offsetParent,e):0}function g(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function _(t,e,n){var i=function(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)},r={id:0,cancelled:!1};function a(e,n,i,r){if(!e||!e.cancelled){i(n);var o=t.done();o||e.cancelled||(e.id=requestAnimationFrame(a.bind(null,e,n,i,r))),o&&r&&r(n)}}return a(r,t,e,n),{cancel:i.bind(null,r),model:t}}var b={name:"MovableView",mixins:[a["a"]],props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},data:function(){return{xSync:this._getPx(this.x),ySync:this._getPx(this.y),scaleValueSync:Number(this.scaleValue)||1,width:0,height:0,minX:0,minY:0,maxX:0,maxY:0}},computed:{dampingNumber:function(){var t=Number(this.damping);return isNaN(t)?20:t},frictionNumber:function(){var t=Number(this.friction);return isNaN(t)||t<=0?2:t},scaleMinNumber:function(){var t=Number(this.scaleMin);return isNaN(t)?.5:t},scaleMaxNumber:function(){var t=Number(this.scaleMax);return isNaN(t)?10:t},xMove:function(){return"all"===this.direction||"horizontal"===this.direction},yMove:function(){return"all"===this.direction||"vertical"===this.direction}},watch:{x:function(t){this.xSync=this._getPx(t)},xSync:function(t){this._setX(t)},y:function(t){this.ySync=this._getPx(t)},ySync:function(t){this._setY(t)},scaleValue:function(t){this.scaleValueSync=Number(t)||0},scaleValueSync:function(t){this._setScaleValue(t)},scaleMinNumber:function(){this._setScaleMinOrMax()},scaleMaxNumber:function(){this._setScaleMinOrMax()}},created:function(){this._offset={x:0,y:0},this._scaleOffset={x:0,y:0},this._translateX=0,this._translateY=0,this._scale=1,this._oldScale=1,this._STD=new h(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new u(1,this.frictionNumber),this._declineX=new c,this._declineY=new c,this.__touchInfo={historyX:[0,0],historyY:[0,0],historyT:[0,0]}},mounted:function(){this.touchtrack(this.$el,"_onTrack"),this.setParent(),this._friction.reconfigure(1,this.frictionNumber),this._STD.reconfigure(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this.$el.style.transformOrigin="center",Object(d["b"])()},methods:{_getPx:function(t){return/\d+[ur]px$/i.test(t)?uni.upx2px(parseFloat(t)):Number(t)||0},_setX:function(t){if(this.xMove){if(t+this._scaleOffset.x===this._translateX)return this._translateX;this._SFA&&this._SFA.cancel(),this._animationTo(t+this._scaleOffset.x,this.ySync+this._scaleOffset.y,this._scale)}return t},_setY:function(t){if(this.yMove){if(t+this._scaleOffset.y===this._translateY)return this._translateY;this._SFA&&this._SFA.cancel(),this._animationTo(this.xSync+this._scaleOffset.x,t+this._scaleOffset.y,this._scale)}return t},_setScaleMinOrMax:function(){if(!this.scale)return!1;this._updateScale(this._scale,!0),this._updateOldScale(this._scale)},_setScaleValue:function(t){return!!this.scale&&(t=this._adjustScale(t),this._updateScale(t,!0),this._updateOldScale(t),t)},__handleTouchStart:function(){this._isScaling||this.disabled||(Object(d["a"])({disable:!0}),this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.__touchInfo.historyX=[0,0],this.__touchInfo.historyY=[0,0],this.__touchInfo.historyT=[0,0],this.xMove&&(this.__baseX=this._translateX),this.yMove&&(this.__baseY=this._translateY),this.$el.style.willChange="transform",this._checkCanMove=null,this._firstMoveDirection=null,this._isTouching=!0)},__handleTouchMove:function(t){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching){var n=this._translateX,i=this._translateY;if(null===this._firstMoveDirection&&(this._firstMoveDirection=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),this.xMove&&(n=t.detail.dx+this.__baseX,this.__touchInfo.historyX.shift(),this.__touchInfo.historyX.push(n),this.yMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(t.detail.dx/t.detail.dy)<1)),this.yMove&&(i=t.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(i),this.xMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(t.detail.dy/t.detail.dx)<1)),this.__touchInfo.historyT.shift(),this.__touchInfo.historyT.push(t.detail.timeStamp),!this._checkCanMove){t.preventDefault();var r="touch";nthis.maxX&&(this.outOfBounds?(r="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),ithis.maxY&&(this.outOfBounds?(r="touch-out-of-bounds",i=this.maxY+this._declineY.x(i-this.maxY)):i=this.maxY),p((function(){e._setTransform(n,i,e._scale,r)}))}}},__handleTouchEnd:function(){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(d["a"])({disable:!1}),this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var e=1e3*(this.__touchInfo.historyX[1]-this.__touchInfo.historyX[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]),n=1e3*(this.__touchInfo.historyY[1]-this.__touchInfo.historyY[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]);this._friction.setV(e,n),this._friction.setS(this._translateX,this._translateY);var i=this._friction.delta().x,r=this._friction.delta().y,a=i+this._translateX,o=r+this._translateY;athis.maxX&&(a=this.maxX,o=this._translateY+(this.maxX-this._translateX)*r/i),othis.maxY&&(o=this.maxY,a=this._translateX+(this.maxY-this._translateY)*i/r),this._friction.setEnd(a,o),this._FA=_(this._friction,(function(){var e=t._friction.s(),n=e.x,i=e.y;t._setTransform(n,i,t._scale,"friction")}),(function(){t._FA.cancel()}))}},_onTrack:function(t){switch(t.detail.state){case"start":this.__handleTouchStart();break;case"move":this.__handleTouchMove(t);break;case"end":this.__handleTouchEnd()}},_getLimitXY:function(t,e){var n=!1;return t>this.maxX?(t=this.maxX,n=!0):tthis.maxY?(e=this.maxY,n=!0):e3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;null!==t&&"NaN"!==t.toString()&&"number"===typeof t||(t=this._translateX||0),null!==e&&"NaN"!==e.toString()&&"number"===typeof e||(e=this._translateY||0),t=Number(t.toFixed(1)),e=Number(e.toFixed(1)),n=Number(n.toFixed(1)),this._translateX===t&&this._translateY===e||r||this.$trigger("change",{},{x:g(t,this._scaleOffset.x),y:g(e,this._scaleOffset.y),source:i}),this.scale||(n=this._scale),n=this._adjustScale(n),n=+n.toFixed(3),a&&n!==this._scale&&this.$trigger("scale",{},{x:t,y:e,scale:n});var o="translateX("+t+"px) translateY("+e+"px) translateZ(0px) scale("+n+")";this.$el.style.transform=o,this.$el.style.webkitTransform=o,this._translateX=t,this._translateY=e,this._scale=n}}},y=b,w=(n("7c2b"),n("2877")),k=Object(w["a"])(y,i,r,!1,null,null,null);e["default"]=k.exports},8875:function(t,e,n){var i,r,a;(function(n,o){r=[],i=o,a="function"===typeof i?i.apply(e,r):i,void 0===a||(t.exports=a)})("undefined"!==typeof self&&self,(function(){function t(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(h){var t,e,n,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,r=/@([^@]*):(\d+):(\d+)\s*$/gi,a=i.exec(h.stack)||r.exec(h.stack),o=a&&a[1]||!1,s=a&&a[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");o===c&&(t=document.documentElement.outerHTML,e=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*