diff --git a/.gitignore b/.gitignore
index c4d159d2..9ada4fd9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,8 @@ CMakeCache.txt
CMakeFiles
Makefile
compile_commands.json
+moc_*
+*.moc
libraries/utilities/git_revision.cpp
diff --git a/README.md b/README.md
index 53f74942..fa374b92 100644
--- a/README.md
+++ b/README.md
@@ -83,7 +83,7 @@ Witness node
The role of the witness node is to broadcast transactions, download blocks, and optionally sign them.
```
-./witness_node --rpc-endpoint "127.0.0.1:8090" --enable-stale-production -w \""1.6.0"\" \""1.6.1"\" \""1.6.2"\" \""1.6.3"\" \""1.6.4"\"
+./witness_node --rpc-endpoint 127.0.0.1:8090 --enable-stale-production -w '"1.6.0"' '"1.6.1"' '"1.6.2"' '"1.6.3"' '"1.6.4"' '"1.6.5"' '"1.6.6"' '"1.6.7"' '"1.6.8"' '"1.6.9"' '"1.6.10"' '"1.6.11"' '"1.6.12"' '"1.6.13"' '"1.6.14"' '"1.6.15"' '"1.6.16"' '"1.6.17"' '"1.6.18"' '"1.6.19"' '"1.6.20"' '"1.6.21"' '"1.6.22"' '"1.6.23"' '"1.6.24"' '"1.6.25"' '"1.6.26"' '"1.6.27"' '"1.6.28"' '"1.6.29"' '"1.6.30"' '"1.6.31"' '"1.6.32"' '"1.6.33"' '"1.6.34"' '"1.6.35"' '"1.6.36"' '"1.6.37"' '"1.6.38"' '"1.6.39"' '"1.6.40"' '"1.6.41"' '"1.6.42"' '"1.6.43"' '"1.6.44"' '"1.6.45"' '"1.6.46"' '"1.6.47"' '"1.6.48"' '"1.6.49"' '"1.6.50"' '"1.6.51"' '"1.6.52"' '"1.6.53"' '"1.6.54"' '"1.6.55"' '"1.6.56"' '"1.6.57"' '"1.6.58"' '"1.6.59"' '"1.6.60"' '"1.6.61"' '"1.6.62"' '"1.6.63"' '"1.6.64"' '"1.6.65"' '"1.6.66"' '"1.6.67"' '"1.6.68"' '"1.6.69"' '"1.6.70"' '"1.6.71"' '"1.6.72"' '"1.6.73"' '"1.6.74"' '"1.6.75"' '"1.6.76"' '"1.6.77"' '"1.6.78"' '"1.6.79"' '"1.6.80"' '"1.6.81"' '"1.6.82"' '"1.6.83"' '"1.6.84"' '"1.6.85"' '"1.6.86"' '"1.6.87"' '"1.6.88"' '"1.6.89"' '"1.6.90"' '"1.6.91"' '"1.6.92"' '"1.6.93"' '"1.6.94"' '"1.6.95"' '"1.6.96"' '"1.6.97"' '"1.6.98"' '"1.6.99"' '"1.6.100"'
```
Running specific tests
@@ -99,20 +99,17 @@ When running `witness_node`, initially two API's are available:
API 0 provides read-only access to the database, while API 1 is
used to login and gain access to additional, restricted API's.
-TODO: the following examples use the old authority definition and thus do not work. They need to be updated.
-
Here is an example using `wscat` package from `npm` for websockets:
$ npm install -g wscat
$ wscat -c ws://127.0.0.1:8090
> {"id":1, "method":"call", "params":[0,"get_accounts",[["1.2.0"]]]}
- < {"id":1,"result":[{"id":"1.2.0","annotations":[],"registrar":"1.2.0","referrer":"1.2.0","referrer_percent":0,"name":"genesis","owner":{"weight_threshold":1,"key_auths":[["PUBLIC_KEY",1]]},"active":{"weight_threshold":1,"key_auths":[["PUBLIC_KEY",1]]},"memo_key":"PUBLIC_KEY","voting_account":"1.2.0","num_witness":0,"num_committee":0,"votes":[],"statistics":"2.7.0","whitelisting_accounts":[],"blacklisting_accounts":[]}]}
- $
+ < {"id":1,"result":[{"id":"1.2.0","annotations":[],"membership_expiration_date":"1969-12-31T23:59:59","registrar":"1.2.0","referrer":"1.2.0","lifetime_referrer":"1.2.0","network_fee_percentage":2000,"lifetime_referrer_fee_percentage":8000,"referrer_rewards_percentage":0,"name":"committee-account","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[],"address_auths":[]},"active":{"weight_threshold":6,"account_auths":[["1.2.5",1],["1.2.6",1],["1.2.7",1],["1.2.8",1],["1.2.9",1],["1.2.10",1],["1.2.11",1],["1.2.12",1],["1.2.13",1],["1.2.14",1]],"key_auths":[],"address_auths":[]},"options":{"memo_key":"GPH1111111111111111111111111111111114T1Anm","voting_account":"1.2.0","num_witness":0,"num_committee":0,"votes":[],"extensions":[]},"statistics":"2.7.0","whitelisting_accounts":[],"blacklisting_accounts":[]}]}
We can do the same thing using an HTTP client such as `curl` for API's which do not require login or other session state:
$ curl --data '{"jsonrpc": "2.0", "method": "call", "params": [0, "get_accounts", [["1.2.0"]]], "id": 1}' http://127.0.0.1:8090/rpc
- {"id":1,"result":[{"id":"1.2.0","annotations":[],"registrar":"1.2.0","referrer":"1.2.0","referrer_percent":0,"name":"genesis","owner":{"weight_threshold":1,"key_auths":[["PUBLIC_KEY",1]]},"active":{"weight_threshold":1,"key_auths":[["PUBLIC_KEY",1]]},"memo_key":"PUBLIC_KEY","voting_account":"1.2.0","num_witness":0,"num_committee":0,"votes":[],"statistics":"2.7.0","whitelisting_accounts":[],"blacklisting_accounts":[]}]}
+ {"id":1,"result":[{"id":"1.2.0","annotations":[],"membership_expiration_date":"1969-12-31T23:59:59","registrar":"1.2.0","referrer":"1.2.0","lifetime_referrer":"1.2.0","network_fee_percentage":2000,"lifetime_referrer_fee_percentage":8000,"referrer_rewards_percentage":0,"name":"committee-account","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[],"address_auths":[]},"active":{"weight_threshold":6,"account_auths":[["1.2.5",1],["1.2.6",1],["1.2.7",1],["1.2.8",1],["1.2.9",1],["1.2.10",1],["1.2.11",1],["1.2.12",1],["1.2.13",1],["1.2.14",1]],"key_auths":[],"address_auths":[]},"options":{"memo_key":"GPH1111111111111111111111111111111114T1Anm","voting_account":"1.2.0","num_witness":0,"num_committee":0,"votes":[],"extensions":[]},"statistics":"2.7.0","whitelisting_accounts":[],"blacklisting_accounts":[]}]}
API 0 is accessible using regular JSON-RPC:
@@ -122,7 +119,8 @@ Accessing restricted API's
--------------------------
You can restrict API's to particular users by specifying an `apiaccess` file in `config.ini`. Here is an example `apiaccess` file which allows
-user `bytemaster` with password `supersecret` to access four different API's:
+user `bytemaster` with password `supersecret` to access four different API's, while allowing any other user to access the three public API's
+necessary to use the wallet:
{
"permission_map" :
@@ -134,6 +132,14 @@ user `bytemaster` with password `supersecret` to access four different API's:
"password_salt_b64" : "INDdM6iCi/8=",
"allowed_apis" : ["database_api", "network_broadcast_api", "history_api", "network_node_api"]
}
+ ],
+ [
+ "*",
+ {
+ "password_hash_b64" : "*",
+ "password_salt_b64" : "*",
+ "allowed_apis" : ["database_api", "network_broadcast_api", "history_api"]
+ }
]
]
}
@@ -159,29 +165,7 @@ it is fairly simple to write API methods to expose database methods.
Running private testnet
-----------------------
-Normally `witness_node` assumes it won't be producing blocks from
-genesis, or against very old chain state. We need to get `witness_node`
-to discard this assumption if we actually want to start a new chain,
-so we will need to specify in `config.ini`:
-
- enable-stale-production = true
-
-We also need to specify which witnesses will produce blocks locally;
-`witness_node` does not assume that it should produce blocks for a given
-witness just because it has the correct private key to do so. There are
-ten witnesses at genesis of the testnet, block production can be
-enabled for all of them by specifying multiple times in `config.ini`:
-
- witness-id = "1.6.0"
- witness-id = "1.6.1"
- witness-id = "1.6.2"
- witness-id = "1.6.3"
- witness-id = "1.6.4"
- witness-id = "1.6.5"
- witness-id = "1.6.6"
- witness-id = "1.6.7"
- witness-id = "1.6.8"
- witness-id = "1.6.9"
+See the [documentation](https://github.com/cryptonomex/graphene/wiki/private-testnet) if you want to run a private testnet.
Questions
---------
@@ -223,7 +207,7 @@ Questions
The second number specifies the *type*. The type of the object determines what fields it has. For a
complete list of type ID's, see `enum object_type` and `enum impl_object_type` in
- [types.hpp](https://github.com/cryptonomex/graphene/blob/master/libraries/chain/include/graphene/chain/types.hpp).
+ [types.hpp](https://github.com/cryptonomex/graphene/blob/master/libraries/chain/include/graphene/chain/protocol/types.hpp).
The third number specifies the *instance*. The instance of the object is different for each individual
object.
@@ -240,3 +224,16 @@ Questions
The first and second number together identify the kind of thing you're talking about (`1.2` for accounts,
`1.3` for assets). The third number identifies the particular thing.
+
+- How do I get the `network_add_nodes` command to work? Why is it so complicated?
+
+ You need to follow the instructions in the "Accessing restricted API's" section to
+ allow a username/password access to the `network_node` API. Then you need
+ to pass the username/password to the `cli_wallet` on the command line or in a config file.
+
+ It's set up this way so that the default configuration is secure even if the RPC port is
+ publicly accessible. It's fine if your `witness_node` allows the general public to query
+ the database or broadcast transactions (in fact, this is how the hosted web UI works). It's
+ less fine if your `witness_node` allows the general public to control which p2p nodes it's
+ connecting to. Therefore the API to add p2p connections needs to be set up with proper access
+ controls.
diff --git a/Vagrantfile b/Vagrantfile
new file mode 100644
index 00000000..a47c45c0
--- /dev/null
+++ b/Vagrantfile
@@ -0,0 +1,112 @@
+# Configures Ubuntu 14.04 VM to be used with BitShares 2.0 (Graphene)
+# Downloads and builds all necessary software to run witness node and web GUI
+# Use with Vagrant (http://docs.vagrantup.com/v2/getting-started/index.html)
+# or just execute the shell script below.
+# Vagrant setup supports the following providers: Virtual Box, Digital Ocean, Amazon EC2
+
+$script = <l;l++)s[l]="String"==r?this.charAt(n+l):this[n+l];return s}}),h(h.P+h.F*(O!=Object),"Array",{join:function(){return P.apply(O(this),arguments)}}),h(h.S,"Array",{isArray:function(e){return"Array"==m(e)}}),h(h.P,"Array",{forEach:l.each=l.each||function(e){return N(this,e,arguments[1])},map:function(e){return M(this,e,arguments[1])},filter:function(e){return I(this,e,arguments[1])},some:function(e){return R(this,e,arguments[1])},every:function(e){return L(this,e,arguments[1])},reduce:i(!1),reduceRight:i(!0),indexOf:function(e){return D(this,e,arguments[1])},lastIndexOf:function(e,t){var a=k(this),r=j(a.length),n=r-1;for(arguments.length>1&&(n=Math.min(n,E(t))),0>n&&(n=j(r+n));n>=0;n--)if(n in a&&a[n]===e)return n;return-1}}),h(h.P,"String",{trim:function(){return U(this)}}),h(h.S,"Date",{now:function(){return+new Date}});var Y=new Date(-5e13-1),J=!(Y.toISOString&&"0385-07-25T07:06:39.999Z"==Y.toISOString()&&a(40)(function(){new Date(NaN).toISOString()}));h(h.P+h.F*J,"Date",{toISOString:function(){if(!isFinite(this))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),a=e.getUTCMilliseconds(),r=0>t?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+s(e.getUTCMonth()+1)+"-"+s(e.getUTCDate())+"T"+s(e.getUTCHours())+":"+s(e.getUTCMinutes())+":"+s(e.getUTCSeconds())+"."+(a>99?a:"0"+s(a))+"Z"}})},function(e,t){var a=Object;e.exports={create:a.create,getProto:a.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:a.getOwnPropertyDescriptor,setDesc:a.defineProperty,setDescs:a.defineProperties,getKeys:a.keys,getNames:a.getOwnPropertyNames,getSymbols:a.getOwnPropertySymbols,each:[].forEach}},function(e,t){e.exports=!!function(){try{return 2==Object.defineProperty({},"a",{get:function(){return 2}}).a}catch(e){}}()},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,a){e.exports=a(17).document&&document.documentElement},function(e,t){var a="undefined"!=typeof self&&self.Math==Math?self:Function("return this")();e.exports=a,"number"==typeof __g&&(__g=a)},function(e,t,a){var r=a(19),n=a(17).document,o=r(n)&&r(n.createElement);e.exports=function(e){return o?n.createElement(e):{}}},function(e,t){e.exports=function(e){return null!==e&&("object"==typeof e||"function"==typeof e)}},function(e,t){var a={}.hasOwnProperty;e.exports=function(e,t){return a.call(e,t)}},function(e,t){var a={}.toString;e.exports=function(e){return a.call(e).slice(8,-1)}},function(e,t,a){function r(e,t){return function(){return e.apply(t,arguments)}}function n(e,t,a){var c,d,f,p,m=e&n.G,h=e&n.P,y=m?o:e&n.S?o[t]||(o[t]={}):(o[t]||{})[u],g=m?i:i[t]||(i[t]={});m&&(a=t);for(c in a)d=!(e&n.F)&&y&&c in y,f=(d?y:a)[c],p=e&n.B&&d?r(f,o):h&&"function"==typeof f?r(Function.call,f):f,y&&!d&&l(y,c,f),g[c]!=f&&s(g,c,p),h&&((g[u]||(g[u]={}))[c]=f)}var o=a(17),i=a(23),s=a(24),l=a(25),u="prototype";o.core=i,n.F=1,n.G=2,n.S=4,n.P=8,n.B=16,n.W=32,e.exports=n},function(e,t){var a=e.exports={};"number"==typeof __e&&(__e=a)},function(e,t,a){var r=a(13),n=a(15);e.exports=a(14)?function(e,t,a){return r.setDesc(e,t,n(1,a))}:function(e,t,a){return e[t]=a,e}},function(e,t,a){function r(e,t,a,r){if("function"==typeof a){var o=e[t];i(a,l,o?String(o):s.replace(/hasOwnProperty/,String(t))),"name"in a||(a.name=t)}e===n?e[t]=a:(r||delete e[t],i(e,t,a))}var n=a(17),o=a(20),i=a(24),s=String({}.hasOwnProperty),l=a(26)("src"),u=Function.toString;r(Function.prototype,"toString",function(){return o(this,l)?this[l]:u.call(this)}),a(23).inspectSource=function(e){return u.call(e)},e.exports=r},function(e,t){var a=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++a+r).toString(36))}},function(e,t){e.exports=function(e,t,a){var r=void 0===a;switch(t.length){case 0:return r?e():e.call(a);case 1:return r?e(t[0]):e.call(a,t[0]);case 2:return r?e(t[0],t[1]):e.call(a,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(a,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(a,t[0],t[1],t[2],t[3]);case 5:return r?e(t[0],t[1],t[2],t[3],t[4]):e.call(a,t[0],t[1],t[2],t[3],t[4])}return e.apply(a,t)}},function(e,t,a){var r=a(29),n=a(30),o=a(32),i=a(34);e.exports=function(e){var t=1==e,a=2==e,s=3==e,l=4==e,u=6==e,c=5==e||u;return function(d,f,p){for(var m,h,y=r(d,!0),g=n(y),b=o(f,p,3),v=i(g.length),w=0,_=t?Array(v):a?[]:void 0;v>w;w++)if((c||w in g)&&(m=g[w],h=b(m,w,y),e))if(t)_[w]=h;else if(h)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:_.push(m)}else if(l)return!1;return u?-1:s||l?l:_}}},function(e,t,a){var r=a(30),n=a(31);e.exports=function(e,t){return(t?Object:r)(n(e))}},function(e,t,a){var r=a(21),n=Object;e.exports=0 in n("z")?n:function(e){return"String"==r(e)?e.split(""):n(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,a){var r=a(33);e.exports=function(e,t,a){if(r(e),~a&&void 0===t)return e;switch(a){case 1:return function(a){return e.call(t,a)};case 2:return function(a,r){return e.call(t,a,r)};case 3:return function(a,r,n){return e.call(t,a,r,n)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,a){var r=a(35),n=Math.min;e.exports=function(e){return e>0?n(r(e),9007199254740991):0}},function(e,t){var a=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:a)(e)}},function(e,t,a){var r=a(19);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,a){var r=a(35),n=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),0>e?n(e+t,0):o(e,t)}},function(e,t,a){var r=a(29),n=a(34),o=a(37);e.exports=function(e){return function(t,a,i){var s,l=r(t),u=n(l.length),c=o(i,u);if(e&&a!=a){for(;u>c;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===a)return e||c;return!e&&-1}}},function(e,t){e.exports=function(e,t){var a=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,a)}}},function(e,t){e.exports=function(e){try{return e(),!1}catch(t){return!0}}},function(e,t,a){"use strict";function r(e){var t=N[e]=A(C.prototype);return t._k=e,m&&B&&R(I,e,{configurable:!0,set:function(t){p(this,T)&&p(this[T],e)&&(this[T][e]=!1),R(this,e,O(1,t))}}),t}function n(e,t,a){return a&&p(N,t)?(a.enumerable?(p(e,T)&&e[T][t]&&(e[T][t]=!1),a=A(a,{enumerable:O(0,!1)})):(p(e,T)||S(e,T,O(1,{})),e[T][t]=!0),R(e,t,a)):S(e,t,a)}function o(e,t){x(e);for(var a,r=E(t=j(t)),o=0,i=r.length;i>o;)n(e,a=r[o++],t[a]);return e}function i(e,t){return void 0===t?A(e):o(A(e),t)}function s(e){var t=q.call(this,e);return t||!p(this,e)||!p(N,e)||p(this,T)&&this[T][e]?t:!0}function l(e,t){var a=z(e=j(e),t);return!a||!p(N,t)||p(e,T)&&e[T][t]||(a.enumerable=!0),a}function u(e){for(var t,a=P(j(e)),r=[],n=0;a.length>n;)p(N,t=a[n++])||t==T||r.push(t);return r}function c(e){for(var t,a=P(j(e)),r=[],n=0;a.length>n;)p(N,t=a[n++])&&r.push(N[t]);return r}var d=a(13),f=a(17),p=a(20),m=a(14),h=a(22),y=a(25),g=a(42),b=a(43),v=a(26),w=a(44),_=a(45),k=a(46),E=a(47),x=a(36),j=a(29),O=a(15),z=d.getDesc,S=d.setDesc,A=d.create,P=k.get,C=f.Symbol,B=!1,T=w("_hidden"),q=d.isEnum,D=g("symbol-registry"),N=g("symbols"),M="function"==typeof C,I=Object.prototype,R=m?function(){try{return A(S({},T,{get:function(){return S(this,T,{value:!1})[T]}}))[T]||S}catch(e){return function(e,t,a){var r=z(I,t);r&&delete I[t],S(e,t,a),r&&e!==I&&S(I,t,r)}}}():S;M||(C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor");return r(v(arguments[0]))},y(C.prototype,"toString",function(){return this._k}),d.create=i,d.isEnum=s,d.getDesc=l,d.setDesc=n,d.setDescs=o,d.getNames=k.get=u,d.getSymbols=c,m&&!a(48)&&y(I,"propertyIsEnumerable",s,!0));var L={"for":function(e){return p(D,e+="")?D[e]:D[e]=C(e)},keyFor:function(e){return _(D,e)},useSetter:function(){B=!0},useSimple:function(){B=!1}};d.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(e){var t=w(e);L[e]=M?t:r(t)}),B=!0,h(h.G+h.W,{Symbol:C}),h(h.S,"Symbol",L),h(h.S+h.F*!M,"Object",{create:i,defineProperty:n,defineProperties:o,getOwnPropertyDescriptor:l,getOwnPropertyNames:u,getOwnPropertySymbols:c}),b(C,"Symbol"),b(Math,"Math",!0),b(f.JSON,"JSON",!0)},function(e,t,a){var r=a(17),n="__core-js_shared__",o=r[n]||(r[n]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,a){var r=a(20),n=a(24),o=a(44)("toStringTag");e.exports=function(e,t,a){e&&!r(e=a?e:e.prototype,o)&&n(e,o,t)}},function(e,t,a){var r=a(42)("wks"),n=a(17).Symbol;e.exports=function(e){return r[e]||(r[e]=n&&n[e]||(n||a(26))("Symbol."+e))}},function(e,t,a){var r=a(13),n=a(29);e.exports=function(e,t){for(var a,o=n(e),i=r.getKeys(o),s=i.length,l=0;s>l;)if(o[a=i[l++]]===t)return a}},function(e,t,a){function r(e){try{return i(e)}catch(t){return s.slice()}}var n={}.toString,o=a(29),i=a(13).getNames,s="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.get=function(e){return s&&"[object Window]"==n.call(e)?r(e):i(o(e))}},function(e,t,a){var r=a(13);e.exports=function(e){var t=r.getKeys(e),a=r.isEnum,n=r.getSymbols;if(n)for(var o,i=n(e),s=0;i.length>s;)a.call(e,o=i[s++])&&t.push(o);return t}},function(e,t){e.exports=!1},function(e,t,a){var r=a(22);r(r.S,"Object",{assign:a(50)})},function(e,t,a){var r=a(29),n=a(30),o=a(47);e.exports=Object.assign||function(e,t){for(var a=r(e,!0),i=arguments.length,s=1;i>s;)for(var l,u=n(arguments[s++]),c=o(u),d=c.length,f=0;d>f;)a[l=c[f++]]=u[l];return a}},function(e,t,a){var r=a(22);r(r.S,"Object",{is:a(52)})},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},function(e,t,a){var r=a(22);r(r.S,"Object",{setPrototypeOf:a(54).set})},function(e,t,a){function r(e,t){if(i(e),!o(t)&&null!==t)throw TypeError(t+": can't set as prototype!")}var n=a(13).getDesc,o=a(19),i=a(36);e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t){try{t=a(32)(Function.call,n(Object.prototype,"__proto__").set,2),t({},[])}catch(o){e=!0}return function(a,n){return r(a,n),e?a.__proto__=n:t(a,n),a}}():void 0),check:r}},function(e,t,a){"use strict";var r=a(56),n={};n[a(44)("toStringTag")]="z",n+""!="[object z]"&&a(25)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,a){var r=a(21),n=a(44)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,a,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(a=(t=Object(e))[n])?a:o?r(t):"Object"==(i=r(t))&&"function"==typeof t.callee?"Arguments":i}},function(e,t,a){var r=a(13),n=a(23),o=a(22),i=a(29),s=a(19);r.each.call("freeze,seal,preventExtensions,isFrozen,isSealed,isExtensible,getOwnPropertyDescriptor,getPrototypeOf,keys,getOwnPropertyNames".split(","),function(e,t){var r=(n.Object||{})[e]||Object[e],l=0,u={};u[e]=0==t?function(e){return s(e)?r(e):e}:1==t?function(e){return s(e)?r(e):e}:2==t?function(e){return s(e)?r(e):e}:3==t?function(e){return s(e)?r(e):!0}:4==t?function(e){return s(e)?r(e):!0}:5==t?function(e){return s(e)?r(e):!1}:6==t?function(e,t){return r(i(e),t)}:7==t?function(e){return r(i(e,!0))}:8==t?function(e){return r(i(e))}:a(46).get;try{r("z")}catch(c){l=1}o(o.S+o.F*l,"Object",u)})},function(e,t,a){"use strict";var r=a(13),n=a(20),o=a(15),i=r.setDesc,s=Function.prototype,l="name";l in s||a(14)&&i(s,l,{configurable:!0,get:function(){var e=String(this).match(/^\s*function ([^ (]*)/),t=e?e[1]:"";return n(this,l)||i(this,l,o(5,t)),t},set:function(e){n(this,l)||i(this,l,o(0,e))}})},function(e,t,a){var r=a(13),n=a(19),o=a(44)("hasInstance"),i=Function.prototype;o in i||r.setDesc(i,o,{value:function(e){if("function"!=typeof this||!n(e))return!1;if(!n(this.prototype))return e instanceof this;for(;e=r.getProto(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,a){"use strict";function r(e){var t,a;if("function"==typeof(t=e.valueOf)&&!u(a=t.call(e)))return a;if("function"==typeof(t=e.toString)&&!u(a=t.call(e)))return a;throw TypeError("Can't convert object to number")}function n(e){if(u(e)&&(e=r(e)),"string"==typeof e&&e.length>2&&48==e.charCodeAt(0)){var t=!1;switch(e.charCodeAt(1)){case 66:case 98:t=!0;case 79:case 111:return parseInt(e.slice(2),t?2:8)}}return+e}var o=a(13),i=a(17),s=a(20),l=a(21),u=a(19),c="Number",d=i[c],f=d,p=d.prototype,m=l(o.create(p))==c?function(e){try{return p.valueOf.call(e),!1}catch(t){return!0}}:function(e){return l(e)!=c};d("0o1")&&d("0b1")||(d=function(e){return this instanceof d&&m(this)?new f(n(e)):n(e)},o.each.call(a(14)?o.getNames(f):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),function(e){s(f,e)&&!s(d,e)&&o.setDesc(d,e,o.getDesc(f,e))}),d.prototype=p,p.constructor=d,a(25)(i,c,d))},function(e,t,a){var r=a(22);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,a){var r=a(22),n=a(17).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&n(e)}})},function(e,t,a){var r=a(22);r(r.S,"Number",{isInteger:a(64)})},function(e,t,a){var r=a(19),n=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&n(e)===e}},function(e,t,a){var r=a(22);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,a){var r=a(22),n=a(64),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return n(e)&&o(e)<=9007199254740991}})},function(e,t,a){var r=a(22);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,a){var r=a(22);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,a){var r=a(22);r(r.S,"Number",{parseFloat:parseFloat})},function(e,t,a){var r=a(22);r(r.S,"Number",{parseInt:parseInt})},function(e,t,a){var r=a(22),n=Math.E,o=Math.sqrt;r(r.S,"Math",{acosh:function(e){return(e=+e)<1?NaN:isFinite(e)?Math.log(e/n+o(e+1)*o(e-1)/n)+1:e}})},function(e,t,a){function r(e){return isFinite(e=+e)&&0!=e?0>e?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var n=a(22);n(n.S,"Math",{asinh:r})},function(e,t,a){var r=a(22);r(r.S,"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,a){var r=a(22),n=a(75);r(r.S,"Math",{cbrt:function(e){return n(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:0>e?-1:1}},function(e,t,a){var r=a(22);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,a){var r=a(22),n=Math.exp;r(r.S,"Math",{cosh:function(e){return(n(e=+e)+n(-e))/2}})},function(e,t,a){var r=a(22);r(r.S,"Math",{expm1:a(79)})},function(e,t){e.exports=Math.expm1||function(e){return 0==(e=+e)?e:e>-1e-6&&1e-6>e?e+e*e/2:Math.exp(e)-1}},function(e,t,a){function r(e){return e+1/s-1/s}var n=a(22),o=a(75),i=Math.pow,s=i(2,-52),l=i(2,-23),u=i(2,127)*(2-l),c=i(2,-126);n(n.S,"Math",{fround:function(e){var t,a,n=Math.abs(e),i=o(e);return c>n?i*r(n/c/l)*c*l:(t=(1+l/s)*n,a=t-(t-n),a>u||a!=a?i*(1/0):i*a)}})},function(e,t,a){var r=a(22),n=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var a,r,o=0,i=0,s=arguments.length,l=0;s>i;)a=n(arguments[i++]),a>l?(r=l/a,o=o*r*r+1,l=a):a>0?(r=a/l,o+=r*r):o+=a;return l===1/0?1/0:l*Math.sqrt(o)}})},function(e,t,a){var r=a(22);r(r.S,"Math",{imul:function(e,t){var a=65535,r=+e,n=+t,o=a&r,i=a&n;return 0|o*i+((a&r>>>16)*i+o*(a&n>>>16)<<16>>>0)}})},function(e,t,a){var r=a(22);r(r.S,"Math",{log10:function(e){return Math.log(e)/Math.LN10}})},function(e,t,a){var r=a(22);r(r.S,"Math",{log1p:function(e){return(e=+e)>-1e-8&&1e-8>e?e-e*e/2:Math.log(1+e)}})},function(e,t,a){var r=a(22);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,a){var r=a(22);r(r.S,"Math",{sign:a(75)})},function(e,t,a){var r=a(22),n=a(79),o=Math.exp;r(r.S,"Math",{sinh:function(e){return Math.abs(e=+e)<1?(n(e)-n(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,a){var r=a(22),n=a(79),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=n(e=+e),a=n(-e);return t==1/0?1:a==1/0?-1:(t-a)/(o(e)+o(-e))}})},function(e,t,a){var r=a(22);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,a){var r=a(22),n=a(37),o=String.fromCharCode,i=String.fromCodePoint;r(r.S+r.F*(!!i&&1!=i.length),"String",{fromCodePoint:function(e){for(var t,a=[],r=arguments.length,i=0;r>i;){if(t=+arguments[i++],n(t,1114111)!==t)throw RangeError(t+" is not a valid code point");a.push(65536>t?o(t):o(((t-=65536)>>10)+55296,t%1024+56320))}return a.join("")}})},function(e,t,a){var r=a(22),n=a(29),o=a(34);r(r.S,"String",{raw:function(e){for(var t=n(e.raw),a=o(t.length),r=arguments.length,i=[],s=0;a>s;)i.push(String(t[s++])),r>s&&i.push(String(arguments[s]));return i.join("")}})},function(e,t,a){var r=a(93)(!0);a(94)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,a=this._i;return a>=t.length?{value:void 0,done:!0}:(e=r(t,a),this._i+=e.length,{value:e,done:!1})})},function(e,t,a){var r=a(35),n=a(31);e.exports=function(e){return function(t,a){var o,i,s=String(n(t)),l=r(a),u=s.length;return 0>l||l>=u?e?"":void 0:(o=s.charCodeAt(l),55296>o||o>56319||l+1===u||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):o:e?s.slice(l,l+2):(o-55296<<10)+(i-56320)+65536)}}},function(e,t,a){"use strict";function r(){return this}var n=a(48),o=a(22),i=a(25),s=a(24),l=a(20),u=a(44)("iterator"),c=a(95),d="@@iterator",f="keys",p="values";e.exports=function(e,t,m,h,y,g,b){function v(e){switch(e){case f:return function(){return new m(this,e)};case p:return function(){return new m(this,e)}}return function(){return new m(this,e)}}a(96)(m,t,h);var w,_,k=t+" Iterator",E=e.prototype,x=E[u]||E[d]||y&&E[y],j=x||v(y);if(x){var O=a(13).getProto(j.call(new e));a(43)(O,k,!0),!n&&l(E,d)&&s(O,u,r)}if((!n||b)&&s(E,u,j),c[t]=j,c[k]=r,y)if(w={keys:g?j:v(f),values:y==p?j:v(p),entries:y!=p?j:v("entries")},b)for(_ in w)_ in E||i(E,_,w[_]);else o(o.P+o.F*a(97),t,w)}},function(e,t){e.exports={}},function(e,t,a){"use strict";var r=a(13),n={};a(24)(n,a(44)("iterator"),function(){return this}),e.exports=function(e,t,o){e.prototype=r.create(n,{next:a(15)(1,o)}),a(43)(e,t+" Iterator")}},function(e,t){e.exports="keys"in[]&&!("next"in[].keys())},function(e,t,a){"use strict";var r=a(22),n=a(93)(!1);r(r.P,"String",{codePointAt:function(e){return n(this,e)}})},function(e,t,a){"use strict";var r=a(22),n=a(34),o=a(100);r(r.P+r.F*!a(40)(function(){"q".endsWith(/./)}),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),a=arguments[1],r=n(t.length),i=void 0===a?r:Math.min(n(a),r),s=String(e);return t.slice(i-s.length,i)===s}})},function(e,t,a){var r=a(31),n=a(21);e.exports=function(e,t,a){if("RegExp"==n(t))throw TypeError("String#"+a+" doesn't accept regex!");return String(r(e))}},function(e,t,a){"use strict";var r=a(22),n=a(100);r(r.P,"String",{includes:function(e){return!!~n(this,e,"includes").indexOf(e,arguments[1])}})},function(e,t,a){var r=a(22);r(r.P,"String",{repeat:a(103)})},function(e,t,a){"use strict";var r=a(35),n=a(31);e.exports=function(e){var t=String(n(this)),a="",o=r(e);if(0>o||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(a+=t);return a}},function(e,t,a){"use strict";var r=a(22),n=a(34),o=a(100);r(r.P+r.F*!a(40)(function(){"q".startsWith(/./)}),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),a=n(Math.min(arguments[1],t.length)),r=String(e);return t.slice(a,a+r.length)===r}})},function(e,t,a){var r=a(32),n=a(22),o=a(29),i=a(106),s=a(107),l=a(34),u=a(108);n(n.S+n.F*!a(109)(function(e){Array.from(e)}),"Array",{from:function(e){var t,a,n,c,d=o(e,!0),f="function"==typeof this?this:Array,p=arguments[1],m=void 0!==p,h=0,y=u(d);if(m&&(p=r(p,arguments[2],2)),void 0==y||f==Array&&s(y))for(a=new f(t=l(d.length));t>h;h++)a[h]=m?p(d[h],h):d[h];else for(c=y.call(d),a=new f;!(n=c.next()).done;h++)a[h]=m?i(c,p,[n.value,h],!0):n.value;return a.length=h,a}})},function(e,t,a){function r(e){var t=e["return"];void 0!==t&&n(t.call(e))}var n=a(36);e.exports=function(e,t,a,o){try{return o?t(n(a)[0],a[1]):t(a)}catch(i){throw r(e),i}}},function(e,t,a){var r=a(95),n=a(44)("iterator");e.exports=function(e){return("Array"in r?r.Array:Array.prototype[n])===e}},function(e,t,a){var r=a(17),n=a(56),o=a(44)("iterator"),i=a(95);e.exports=a(23).getIteratorMethod=function(e){var t=r.Symbol;return void 0!=e?e[t&&t.iterator||"@@iterator"]||e[o]||i[n(e)]:void 0}},function(e,t,a){var r=a(44)("iterator"),n=!1;try{var o=[7][r]();o["return"]=function(){n=!0},Array.from(o,function(){throw 2})}catch(i){}e.exports=function(e){if(!n)return!1;var t=!1;try{var a=[7],o=a[r]();o.next=function(){t=!0},a[r]=function(){return o},e(a)}catch(i){}return t}},function(e,t,a){var r=a(22);r(r.S,"Array",{of:function(){for(var e=0,t=arguments.length,a=new("function"==typeof this?this:Array)(t);t>e;)a[e]=arguments[e++];return a.length=t,a}})},function(e,t,a){var r=a(112),n=a(113),o=a(95),i=a(29);a(94)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,a=this._i++;return!e||a>=e.length?(this._t=void 0,n(1)):"keys"==t?n(0,a):"values"==t?n(0,e[a]):n(0,[a,e[a]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,a){var r=a(44)("unscopables");r in[]||a(24)(Array.prototype,r,{}),e.exports=function(e){[][r][e]=!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,a){a(115)(Array)},function(e,t,a){var r=a(13),n=a(44)("species");e.exports=function(e){!a(14)||n in e||r.setDesc(e,n,{configurable:!0,get:function(){return this}})}},function(e,t,a){"use strict";var r=a(22),n=a(29),o=a(37),i=a(34);r(r.P,"Array",{copyWithin:function(e,t){var a=n(this,!0),r=i(a.length),s=o(e,r),l=o(t,r),u=arguments[2],c=void 0===u?r:o(u,r),d=Math.min(c-l,r-s),f=1;for(s>l&&l+d>s&&(f=-1,l=l+d-1,s=s+d-1);d-->0;)l in a?a[s]=a[l]:delete a[s],s+=f,l+=f;return a}}),a(112)("copyWithin")},function(e,t,a){"use strict";var r=a(22),n=a(29),o=a(37),i=a(34);r(r.P,"Array",{fill:function(e){for(var t=n(this,!0),a=i(t.length),r=o(arguments[1],a),s=arguments[2],l=void 0===s?a:o(s,a);l>r;)t[r++]=e;return t}}),a(112)("fill")},function(e,t,a){"use strict";var r="find",n=a(22),o=!0,i=a(28)(5);r in[]&&Array(1)[r](function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(e){return i(this,e,arguments[1])}}),a(112)(r)},function(e,t,a){"use strict";var r="findIndex",n=a(22),o=!0,i=a(28)(6);r in[]&&Array(1)[r](function(){o=!1}),n(n.P+n.F*o,"Array",{findIndex:function(e){return i(this,e,arguments[1])}}),a(112)(r)},function(e,t,a){var r=a(13),n=a(17),o=a(21),i=a(121),s=n.RegExp,l=s,u=s.prototype,c=/a/g,d=new s(c)!==c,f=function(){try{return"/a/i"==s(c,"i")}catch(e){}}();a(14)&&(d&&f||(s=function(e,t){var a="RegExp"==o(e),r=void 0===t;return this instanceof s||!a||!r?d?new l(a&&!r?e.source:e,t):new l(a?e.source:e,a&&r?i.call(e):t):e},r.each.call(r.getNames(l),function(e){e in s||r.setDesc(s,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})}),u.constructor=s,s.prototype=u,a(25)(n,"RegExp",s))),a(115)(s)},function(e,t,a){var r=a(36);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,a){var r=a(13);a(14)&&"g"!=/./g.flags&&r.setDesc(RegExp.prototype,"flags",{configurable:!0,get:a(121)})},function(e,t,a){a(124)("match",1,function(e){return function(t){"use strict";var a=String(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,a):new RegExp(t)[e](a)}})},function(e,t,a){"use strict";e.exports=function(e,t,r){var n=a(44)(e),o=""[e];(function(){try{var t={};return t[n]=function(){return 7},7!=""[e](t)}catch(a){return!0}})()&&(a(25)(String.prototype,e,r(n,o)),a(24)(RegExp.prototype,n,2==t?function(e,t){return o.call(e,this,t)}:function(e){return o.call(e,this)}))}},function(e,t,a){a(124)("replace",2,function(e,t){return function(a,r){"use strict";var n=String(this),o=void 0==a?void 0:a[e];return void 0!==o?o.call(a,n,r):t.call(n,a,r)}})},function(e,t,a){a(124)("search",1,function(e){return function(t){"use strict";var a=String(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,a):new RegExp(t)[e](a)}})},function(e,t,a){a(124)("split",2,function(e,t){return function(a,r){"use strict";var n=String(this),o=void 0==a?void 0:a[e];return void 0!==o?o.call(a,n,r):t.call(n,a,r)}})},function(e,t,a){"use strict";function r(e){var t=new T(function(){});return e&&(t.constructor=Object),T.resolve(t)===t}function n(e){return v(e)&&(q?"Promise"==g(e):S in e)}function o(e,t){return m&&e===T&&t===f?!0:j(e,t)}function i(e){var t=w(e)[z];return void 0!=t?t:e}function s(e){var t;return v(e)&&"function"==typeof(t=e.then)?t:!1}function l(e,t){if(!e.n){e.n=!0;var a=e.c;B.call(h,function(){function r(t){var a,r,i=o?t.ok:t.fail;try{i?(o||(e.h=!0),a=i===!0?n:i(n),a===t.P?t.rej(TypeError("Promise-chain cycle")):(r=s(a))?r.call(a,t.res,t.rej):t.res(a)):t.rej(n)}catch(l){t.rej(l)}}for(var n=e.v,o=1==e.s,i=0;a.length>i;)r(a[i++]);a.length=0,e.n=!1,t&&setTimeout(function(){B.call(h,function(){u(e.p)&&(C?P.emit("unhandledRejection",n,e.p):h.console&&console.error&&console.error("Unhandled promise rejection",n)),e.a=void 0})},1)})}}function u(e){var t,a=e[S],r=a.a||a.c,n=0;if(a.h)return!1;for(;r.length>n;)if(t=r[n++],t.fail||!u(t.P))return!1;return!0}function c(e){var t=this;t.d||(t.d=!0,t=t.r||t,t.v=e,t.s=2,t.a=t.c.slice(),l(t,!0))}function d(e){var t,a=this;if(!a.d){a.d=!0,a=a.r||a;try{(t=s(e))?B.call(h,function(){var r={r:a,d:!1};try{t.call(e,y(d,r,1),y(c,r,1))}catch(n){c.call(r,n)}}):(a.v=e,a.s=1,l(a,!1))}catch(r){c.call({r:a,d:!1},r)}}}var f,p=a(13),m=a(48),h=a(17),y=a(32),g=a(56),b=a(22),v=a(19),w=a(36),_=a(33),k=a(129),E=a(130),x=a(54).set,j=a(52),O=a(115),z=a(44)("species"),S=a(26)("record"),A="Promise",P=h.process,C="process"==g(P),B=P&&P.nextTick||a(131).set,T=h[A],q=function(){function e(t){var a=new T(t);return x(a,e.prototype),a}var t=!1;try{if(t=T&&T.resolve&&r(),x(e,T),e.prototype=p.create(T.prototype,{constructor:{value:e}}),e.resolve(5).then(function(){})instanceof e||(t=!1),t&&a(14)){var n=!1;T.resolve(p.setDesc({},"then",{get:function(){n=!0}})),t=n}}catch(o){t=!1}return t}();q||(T=function(e){_(e);var t={p:k(this,T,A),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};this[S]=t;try{e(y(d,t,1),y(c,t,1))}catch(a){c.call(t,a)}},a(132)(T.prototype,{then:function(e,t){var a=w(w(this).constructor)[z],r={ok:"function"==typeof e?e:!0,fail:"function"==typeof t?t:!1},n=r.P=new(void 0!=a?a:T)(function(e,t){r.res=_(e),r.rej=_(t)}),o=this[S];return o.c.push(r),o.a&&o.a.push(r),o.s&&l(o,!1),n},"catch":function(e){return this.then(void 0,e)}})),b(b.G+b.W+b.F*!q,{Promise:T}),a(43)(T,A),O(T),O(f=a(23)[A]),b(b.S+b.F*!q,A,{reject:function(e){return new this(function(t,a){
+a(e)})}}),b(b.S+b.F*(!q||r(!0)),A,{resolve:function(e){return n(e)&&o(e.constructor,this)?e:new this(function(t){t(e)})}}),b(b.S+b.F*!(q&&a(109)(function(e){T.all(e)["catch"](function(){})})),A,{all:function(e){var t=i(this),a=[];return new t(function(r,n){E(e,!1,a.push,a);var o=a.length,i=Array(o);o?p.each.call(a,function(e,a){t.resolve(e).then(function(e){i[a]=e,--o||r(i)},n)}):r(i)})},race:function(e){var t=i(this);return new t(function(a,r){E(e,!1,function(e){t.resolve(e).then(a,r)})})}})},function(e,t){e.exports=function(e,t,a){if(!(e instanceof t))throw TypeError(a+": use the 'new' operator!");return e}},function(e,t,a){var r=a(32),n=a(106),o=a(107),i=a(36),s=a(34),l=a(108);e.exports=function(e,t,a,u){var c,d,f,p=l(e),m=r(a,u,t?2:1),h=0;if("function"!=typeof p)throw TypeError(e+" is not iterable!");if(o(p))for(c=s(e.length);c>h;h++)t?m(i(d=e[h])[0],d[1]):m(e[h]);else for(f=p.call(e);!(d=f.next()).done;)n(f,m,d.value,t)}},function(e,t,a){"use strict";function r(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}}function n(e){r.call(e.data)}var o,i,s,l=a(32),u=a(27),c=a(16),d=a(18),f=a(17),p=f.process,m=f.setImmediate,h=f.clearImmediate,y=f.MessageChannel,g=0,b={},v="onreadystatechange";m&&h||(m=function(e){for(var t=[],a=1;arguments.length>a;)t.push(arguments[a++]);return b[++g]=function(){u("function"==typeof e?e:Function(e),t)},o(g),g},h=function(e){delete b[e]},"process"==a(21)(p)?o=function(e){p.nextTick(l(r,e,1))}:f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(o=function(e){f.postMessage(e,"*")},f.addEventListener("message",n,!1)):y?(i=new y,s=i.port2,i.port1.onmessage=n,o=l(s.postMessage,s,1)):o=v in d("script")?function(e){c.appendChild(d("script"))[v]=function(){c.removeChild(this),r.call(e)}}:function(e){setTimeout(l(r,e,1),0)}),e.exports={set:m,clear:h}},function(e,t,a){var r=a(25);e.exports=function(e,t){for(var a in t)r(e,a,t[a]);return e}},function(e,t,a){"use strict";var r=a(134);a(135)("Map",function(e){return function(){return e(this,arguments[0])}},{get:function(e){var t=r.getEntry(this,e);return t&&t.v},set:function(e,t){return r.def(this,0===e?0:e,t)}},r,!0)},function(e,t,a){"use strict";function r(e,t){if(!h(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!m(e,p)){if(!y(e))return"F";if(!t)return"E";i(e,p,++v)}return"O"+e[p]}function n(e,t){var a,n=r(t);if("F"!==n)return e._i[n];for(a=e._f;a;a=a.n)if(a.k==t)return a}var o=a(13),i=a(24),s=a(32),l=a(115),u=a(129),c=a(31),d=a(130),f=a(113),p=a(26)("id"),m=a(20),h=a(19),y=Object.isExtensible||h,g=a(14),b=g?"_s":"size",v=0;e.exports={getConstructor:function(e,t,r,i){var l=e(function(e,a){u(e,l,t),e._i=o.create(null),e._f=void 0,e._l=void 0,e[b]=0,void 0!=a&&d(a,r,e[i],e)});return a(132)(l.prototype,{clear:function(){for(var e=this,t=e._i,a=e._f;a;a=a.n)a.r=!0,a.p&&(a.p=a.p.n=void 0),delete t[a.i];e._f=e._l=void 0,e[b]=0},"delete":function(e){var t=this,a=n(t,e);if(a){var r=a.n,o=a.p;delete t._i[a.i],a.r=!0,o&&(o.n=r),r&&(r.p=o),t._f==a&&(t._f=r),t._l==a&&(t._l=o),t[b]--}return!!a},forEach:function(e){for(var t,a=s(e,arguments[1],3);t=t?t.n:this._f;)for(a(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!n(this,e)}}),g&&o.setDesc(l.prototype,"size",{get:function(){return c(this[b])}}),l},def:function(e,t,a){var o,i,s=n(e,t);return s?s.v=a:(e._l=s={i:i=r(t,!0),k:t,v:a,p:o=e._l,n:void 0,r:!1},e._f||(e._f=s),o&&(o.n=s),e[b]++,"F"!==i&&(e._i[i]=s)),e},getEntry:n,setStrong:function(e,t,r){a(94)(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var e=this,t=e._k,a=e._l;a&&a.r;)a=a.p;return e._t&&(e._l=a=a?a.n:e._t._f)?"keys"==t?f(0,a.k):"values"==t?f(0,a.v):f(0,[a.k,a.v]):(e._t=void 0,f(1))},r?"entries":"values",!r,!0),l(e),l(a(23)[t])}}},function(e,t,a){"use strict";var r=a(17),n=a(22),o=a(97),i=a(130),s=a(129);e.exports=function(e,t,l,u,c,d){function f(e){var t=y[e];a(25)(y,e,"delete"==e?function(e){return t.call(this,0===e?0:e)}:"has"==e?function(e){return t.call(this,0===e?0:e)}:"get"==e?function(e){return t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,a){return t.call(this,0===e?0:e,a),this})}var p=r[e],m=p,h=c?"set":"add",y=m&&m.prototype,g={};if("function"==typeof m&&(d||!o&&y.forEach&&y.entries)){var b,v=new m,w=v[h](d?{}:-0,1);a(109)(function(e){new m(e)})||(m=t(function(t,a){s(t,m,e);var r=new p;return void 0!=a&&i(a,c,r[h],r),r}),m.prototype=y,y.constructor=m),d||v.forEach(function(e,t){b=1/t===-(1/0)}),b&&(f("delete"),f("has"),c&&f("get")),(b||w!==v)&&f(h),d&&y.clear&&delete y.clear}else m=u.getConstructor(t,e,c,h),a(132)(m.prototype,l);return a(43)(m,e),g[e]=m,n(n.G+n.W+n.F*(m!=p),g),d||u.setStrong(m,e,c),m}},function(e,t,a){"use strict";var r=a(134);a(135)("Set",function(e){return function(){return e(this,arguments[0])}},{add:function(e){return r.def(this,e=0===e?0:e,e)}},r)},function(e,t,a){"use strict";var r=a(13),n=a(138),o=a(19),i=a(20),s=n.frozenStore,l=n.WEAK,u=Object.isExtensible||o,c={},d=a(135)("WeakMap",function(e){return function(){return e(this,arguments[0])}},{get:function(e){if(o(e)){if(!u(e))return s(this).get(e);if(i(e,l))return e[l][this._i]}},set:function(e,t){return n.def(this,e,t)}},n,!0,!0);7!=(new d).set((Object.freeze||Object)(c),7).get(c)&&r.each.call(["delete","has","get","set"],function(e){var t=d.prototype,r=t[e];a(25)(t,e,function(t,a){if(o(t)&&!u(t)){var n=s(this)[e](t,a);return"set"==e?this:n}return r.call(this,t,a)})})},function(e,t,a){"use strict";function r(e){return e._l||(e._l=new n)}function n(){this.a=[]}function o(e,t){return h(e.a,function(e){return e[0]===t})}var i=a(24),s=a(36),l=a(129),u=a(130),c=a(28),d=a(26)("weak"),f=a(19),p=a(20),m=Object.isExtensible||f,h=c(5),y=c(6),g=0;n.prototype={get:function(e){var t=o(this,e);return t?t[1]:void 0},has:function(e){return!!o(this,e)},set:function(e,t){var a=o(this,e);a?a[1]=t:this.a.push([e,t])},"delete":function(e){var t=y(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var i=e(function(e,a){l(e,i,t),e._i=g++,e._l=void 0,void 0!=a&&u(a,n,e[o],e)});return a(132)(i.prototype,{"delete":function(e){return f(e)?m(e)?p(e,d)&&p(e[d],this._i)&&delete e[d][this._i]:r(this)["delete"](e):!1},has:function(e){return f(e)?m(e)?p(e,d)&&p(e[d],this._i):r(this).has(e):!1}}),i},def:function(e,t,a){return m(s(t))?(p(t,d)||i(t,d,{}),t[d][e._i]=a):r(e).set(t,a),e},frozenStore:r,WEAK:d}},function(e,t,a){"use strict";var r=a(138);a(135)("WeakSet",function(e){return function(){return e(this,arguments[0])}},{add:function(e){return r.def(this,e,!0)}},r,!1,!0)},function(e,t,a){var r=a(22),n=Function.apply;r(r.S,"Reflect",{apply:function(e,t,a){return n.call(e,t,a)}})},function(e,t,a){var r=a(13),n=a(22),o=a(33),i=a(19),s=Function.apply,l=Function.bind||a(23).Function.prototype.bind;n(n.S,"Reflect",{construct:function(e,t){if(arguments.length<3)return new(l.apply(e,[null].concat(t)));var a=o(arguments[2]).prototype,n=r.create(i(a)?a:Object.prototype),u=s.call(e,n,t);return i(u)?u:n}})},function(e,t,a){var r=a(13),n=a(22),o=a(36);n(n.S+n.F*a(40)(function(){Reflect.defineProperty(r.setDesc({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,a){o(e);try{return r.setDesc(e,t,a),!0}catch(n){return!1}}})},function(e,t,a){var r=a(22),n=a(13).getDesc,o=a(36);r(r.S,"Reflect",{deleteProperty:function(e,t){var a=n(o(e),t);return a&&!a.configurable?!1:delete e[t]}})},function(e,t,a){function r(e){this._t=o(e),this._k=void 0,this._i=0}var n=a(22),o=a(36);a(96)(r,"Object",function(){var e,t=this,a=t._k;if(void 0==a){t._k=a=[];for(e in t._t)a.push(e)}do if(t._i>=a.length)return{value:void 0,done:!0};while(!((e=a[t._i++])in t._t));return{value:e,done:!1}}),n(n.S,"Reflect",{enumerate:function(e){return new r(e)}})},function(e,t,a){function r(e,t){var a,i,u=arguments.length<3?e:arguments[2];return l(e)===u?e[t]:(a=n.getDesc(e,t))?o(a,"value")?a.value:void 0!==a.get?a.get.call(u):void 0:s(i=n.getProto(e))?r(i,t,u):void 0}var n=a(13),o=a(20),i=a(22),s=a(19),l=a(36);i(i.S,"Reflect",{get:r})},function(e,t,a){var r=a(13),n=a(22),o=a(36);n(n.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.getDesc(o(e),t)}})},function(e,t,a){var r=a(22),n=a(13).getProto,o=a(36);r(r.S,"Reflect",{getPrototypeOf:function(e){return n(o(e))}})},function(e,t,a){var r=a(22);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,a){var r=a(22),n=a(36),o=Object.isExtensible||a(19);r(r.S,"Reflect",{isExtensible:function(e){return o(n(e))}})},function(e,t,a){var r=a(22);r(r.S,"Reflect",{ownKeys:a(151)})},function(e,t,a){var r=a(13),n=a(36);e.exports=function(e){var t=r.getNames(n(e)),a=r.getSymbols;return a?t.concat(a(e)):t}},function(e,t,a){var r=a(22),n=a(36),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){n(e);try{return o&&o(e),!0}catch(t){return!1}}})},function(e,t,a){function r(e,t,a){var i,c,d=arguments.length<4?e:arguments[3],f=n.getDesc(l(e),t);if(!f){if(u(c=n.getProto(e)))return r(c,t,a,d);f=s(0)}return o(f,"value")?f.writable!==!1&&u(d)?(i=n.getDesc(d,t)||s(0),i.value=a,n.setDesc(d,t,i),!0):!1:void 0===f.set?!1:(f.set.call(d,a),!0)}var n=a(13),o=a(20),i=a(22),s=a(15),l=a(36),u=a(19);i(i.S,"Reflect",{set:r})},function(e,t,a){var r=a(22),n=a(54);n&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){n.check(e,t);try{return n.set(e,t),!0}catch(a){return!1}}})},function(e,t,a){"use strict";var r=a(22),n=a(38)(!0);r(r.P,"Array",{includes:function(e){return n(this,e,arguments[1])}}),a(112)("includes")},function(e,t,a){"use strict";var r=a(22),n=a(93)(!0);r(r.P,"String",{at:function(e){return n(this,e)}})},function(e,t,a){"use strict";var r=a(22),n=a(158);r(r.P,"String",{lpad:function(e){return n(this,e,arguments[1],!0)}})},function(e,t,a){var r=a(35),n=a(103),o=a(31);e.exports=function(e,t,a,i){var s=String(o(e));if(void 0===t)return s;var l=r(t),u=l-s.length;if(0>u||u===1/0)throw new RangeError("Cannot satisfy string length "+t+" for string: "+s);var c=void 0===a?" ":String(a),d=n.call(c,Math.ceil(u/c.length));return d.length>u&&(d=i?d.slice(d.length-u):d.slice(0,u)),i?d.concat(s):s.concat(d)}},function(e,t,a){"use strict";var r=a(22),n=a(158);r(r.P,"String",{rpad:function(e){return n(this,e,arguments[1],!1)}})},function(e,t,a){var r=a(22),n=a(39)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return n(e)}})},function(e,t,a){var r=a(13),n=a(22),o=a(151),i=a(29),s=a(15);n(n.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,a,n=i(e),l=r.setDesc,u=r.getDesc,c=o(n),d={},f=0;c.length>f;)a=u(n,t=c[f++]),t in d?l(d,t,s(0,a)):d[t]=a;return d}})},function(e,t,a){var r=a(22),n=a(163)(!1);r(r.S,"Object",{values:function(e){return n(e)}})},function(e,t,a){var r=a(13),n=a(29);e.exports=function(e){return function(t){var a,o=n(t),i=r.getKeys(o),s=i.length,l=0,u=Array(s);if(e)for(;s>l;)u[l]=[a=i[l++],o[a]];else for(;s>l;)u[l]=o[i[l++]];return u}}},function(e,t,a){var r=a(22),n=a(163)(!0);r(r.S,"Object",{entries:function(e){return n(e)}})},function(e,t,a){var r=a(22);r(r.P,"Map",{toJSON:a(166)("Map")})},function(e,t,a){var r=a(130),n=a(56);e.exports=function(e){return function(){if(n(this)!=e)throw TypeError(e+"#toJSON isn't generic");var t=[];return r(this,!1,t.push,t),t}}},function(e,t,a){var r=a(22);r(r.P,"Set",{toJSON:a(166)("Set")})},function(e,t,a){function r(e,t){n.each.call(e.split(","),function(e){void 0==t&&e in i?s[e]=i[e]:e in[]&&(s[e]=a(32)(Function.call,[][e],t))})}var n=a(13),o=a(22),i=a(23).Array||Array,s={};r("pop,reverse,shift,keys,values,entries",1),r("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),r("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",s)},function(e,t,a){function r(e){return u?function(t,a){return e(i(s,[].slice.call(arguments,2),"function"==typeof t?t:Function(t)),a)}:e}var n=a(17),o=a(22),i=a(27),s=a(170),l=n.navigator,u=!!l&&/MSIE .\./.test(l.userAgent);o(o.G+o.B+o.F*u,{setTimeout:r(n.setTimeout),setInterval:r(n.setInterval)})},function(e,t,a){"use strict";var r=a(171),n=a(27),o=a(33);e.exports=function(){for(var e=o(this),t=arguments.length,a=Array(t),i=0,s=r._,l=!1;t>i;)(a[i]=arguments[i++])===s&&(l=!0);return function(){var r,o=this,i=arguments.length,u=0,c=0;if(!l&&!i)return n(e,a,o);if(r=a.slice(),l)for(;t>u;u++)r[u]===s&&(r[u]=arguments[c++]);for(;i>c;)r.push(arguments[c++]);return n(e,r,o)}}},function(e,t,a){e.exports=a(17)},function(e,t,a){var r=a(22),n=a(131);r(r.G+r.B,{setImmediate:n.set,clearImmediate:n.clear})},function(e,t,a){a(111);var r=a(17),n=a(24),o=a(95),i=a(44)("iterator"),s=r.NodeList,l=r.HTMLCollection,u=s&&s.prototype,c=l&&l.prototype,d=o.NodeList=o.HTMLCollection=o.Array;!s||i in u||n(u,i,d),!l||i in c||n(c,i,d)},function(e,t,a){(function(t,a){!function(t){"use strict";function r(e,t,a,r){var n=Object.create((t||o).prototype);return n._invoke=d(e,a||null,new m(r||[])),n}function n(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(r){return{type:"throw",arg:r}}}function o(){}function i(){}function s(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(e){this.arg=e}function c(e){function t(t,a){var r=e[t](a),n=r.value;return n instanceof u?Promise.resolve(n.arg).then(o,i):Promise.resolve(n).then(function(e){return r.value=e,r})}function r(e,a){var r=n?n.then(function(){return t(e,a)}):new Promise(function(r){r(t(e,a))});return n=r["catch"](function(e){}),r}"object"==typeof a&&a.domain&&(t=a.domain.bind(t));var n,o=t.bind(e,"next"),i=t.bind(e,"throw");t.bind(e,"return");this._invoke=r}function d(e,t,a){var r=k;return function(o,i){if(r===x)throw new Error("Generator is already running");if(r===j){if("throw"===o)throw i;return y()}for(;;){var s=a.delegate;if(s){if("return"===o||"throw"===o&&s.iterator[o]===g){a.delegate=null;var l=s.iterator["return"];if(l){var u=n(l,s.iterator,i);if("throw"===u.type){o="throw",i=u.arg;continue}}if("return"===o)continue}var u=n(s.iterator[o],s.iterator,i);if("throw"===u.type){a.delegate=null,o="throw",i=u.arg;continue}o="next",i=g;var c=u.arg;if(!c.done)return r=E,c;a[s.resultName]=c.value,a.next=s.nextLoc,a.delegate=null}if("next"===o)r===E?a.sent=i:a.sent=g;else if("throw"===o){if(r===k)throw r=j,i;a.dispatchException(i)&&(o="next",i=g)}else"return"===o&&a.abrupt("return",i);r=x;var u=n(e,t,a);if("normal"===u.type){r=a.done?j:E;var c={value:u.arg,done:a.done};if(u.arg!==O)return c;a.delegate&&"next"===o&&(i=g)}else"throw"===u.type&&(r=j,o="throw",i=u.arg)}}}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function m(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[v];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,r=function n(){for(;++a=0;--r){var n=this.tryEntries[r],o=n.completion;if("root"===n.tryLoc)return t("end");if(n.tryLoc<=this.prev){var i=b.call(n,"catchLoc"),s=b.call(n,"finallyLoc");if(i&&s){if(this.prev=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),p(a),O}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var r=a.completion;if("throw"===r.type){var n=r.arg;p(a)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,a){return this.delegate={iterator:h(e),resultName:t,nextLoc:a},O}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(t,function(){return this}(),a(175))},,,function(module,exports){var idbModules={util:{cleanInterface:!1}};!function(){"use strict";var e={test:!0};if(Object.defineProperty)try{Object.defineProperty(e,"test",{enumerable:!1}),e.test&&(idbModules.util.cleanInterface=!0)}catch(t){}}(),function(e){"use strict";function t(e,t,a){a.target=t,"function"==typeof t[e]&&t[e].apply(t,[a])}var a=function(){this.length=0,this._items=[],e.util.cleanInterface&&Object.defineProperty(this,"_items",{enumerable:!1})};if(a.prototype={contains:function(e){return-1!==this._items.indexOf(e)},item:function(e){return this._items[e]},indexOf:function(e){return this._items.indexOf(e)},push:function(e){this._items.push(e),this.length+=1;for(var t=0;t889)throw e.util.createDOMException("DataError","The encoded key is "+t.length+" characters long, but IE only allows 889 characters. Consider replacing numeric keys with strings to reduce the encoded length.")}var d="__$$compoundKey",f=/\$\$/g,p="$$$$",m="$_$";e.polyfill=t}(idbModules),function(idbModules){"use strict";var Sca=function(){return{decycle:function(object,callback){function checkForCompletion(){0===queuedObjects.length&&returnCallback(derezObj)}function readBlobAsDataURL(e,t){var a=new FileReader;a.onloadend=function(a){var r=a.target.result,n="Blob";e instanceof File,updateEncodedBlob(r,t,n)},a.readAsDataURL(e)}function updateEncodedBlob(dataURL,path,blobtype){var encoded=queuedObjects.indexOf(path);path=path.replace("$","derezObj"),eval(path+'.$enc="'+dataURL+'"'),eval(path+'.$type="'+blobtype+'"'),queuedObjects.splice(encoded,1),checkForCompletion()}function derez(e,t){var a,r,n;if(!("object"!=typeof e||null===e||e instanceof Boolean||e instanceof Date||e instanceof Number||e instanceof RegExp||e instanceof Blob||e instanceof String)){for(a=0;as;++s)i[s]=r.charCodeAt(s);return new Blob([i.buffer],{type:t})}function rez(value){var i,item,name,path;if(value&&"object"==typeof value)if("[object Array]"===Object.prototype.toString.apply(value))for(i=0;it?roundToPrecision(parseInt(e,32)*Math.pow(32,t-10)):11>t?(a=e.slice(0,t),a=parseInt(a,32),r=e.slice(t),r=parseInt(r,32)*Math.pow(32,t-11),roundToPrecision(a+r)):(n=e+zeros(t-11),parseInt(n,32))}function roundToPrecision(e,t){return t=t||16,parseFloat(e.toPrecision(t))}function zeros(e){for(var t="";e--;)t+="0";return t}function negate(e){return"-"+e}function getType(e){return e instanceof Date?"date":e instanceof Array?"array":typeof e}function validate(e){var t=getType(e);if("array"===t)for(var a=0;a1:t===e}function isKeyInRange(e,t){var a=void 0===t.lower,r=void 0===t.upper,n=idbModules.Key.encode(e,!0);return void 0!==t.lower&&(t.lowerOpen&&n>t.__lower&&(a=!0),!t.lowerOpen&&n>=t.__lower&&(a=!0)),void 0!==t.upper&&(t.upperOpen&&n0&&a.push(n);continue}n=n[0]}isKeyInRange(n,t)&&a.push(n)}else isKeyInRange(e,t)&&a.push(e);return a}var collations=["undefined","number","date","string","array"],signValues=["negativeInfinity","bigNegative","smallNegative","smallPositive","bigPositive","positiveInfinity"],types={undefined:{encode:function(e){return collations.indexOf("undefined")+"-"},decode:function(e){return void 0}},date:{encode:function(e){return collations.indexOf("date")+"-"+e.toJSON()},decode:function(e){return new Date(e.substring(2))}},number:{encode:function(e){var t=Math.abs(e).toString(32),a=t.indexOf(".");t=-1!==a?t.replace(".",""):t;var r=t.search(/[^0]/);t=t.slice(r);var n,o=zeros(2),i=zeros(11);return isFinite(e)?0>e?e>-1?(n=signValues.indexOf("smallNegative"),o=padBase32Exponent(r),i=flipBase32(padBase32Mantissa(t))):(n=signValues.indexOf("bigNegative"),o=flipBase32(padBase32Exponent(-1!==a?a:t.length)),i=flipBase32(padBase32Mantissa(t))):1>e?(n=signValues.indexOf("smallPositive"),o=flipBase32(padBase32Exponent(r)),i=padBase32Mantissa(t)):(n=signValues.indexOf("bigPositive"),o=padBase32Exponent(-1!==a?a:t.length),i=padBase32Mantissa(t)):n=signValues.indexOf(e>0?"positiveInfinity":"negativeInfinity"),collations.indexOf("number")+"-"+n+o+i},decode:function(e){var t=+e.substr(2,1),a=e.substr(3,2),r=e.substr(5,11);switch(signValues[t]){case"negativeInfinity":return-(1/0);case"positiveInfinity":return 1/0;case"bigPositive":return pow32(r,a);case"smallPositive":return a=negate(flipBase32(a)),pow32(r,a);case"smallNegative":return a=negate(a),r=flipBase32(r),-pow32(r,a);case"bigNegative":return a=flipBase32(a),r=flipBase32(r),-pow32(r,a);default:throw new Error("Invalid number.")}}},string:{encode:function(e,t){return t&&(e=e.replace(/(.)/g,"-$1")+" "),collations.indexOf("string")+"-"+e},decode:function(e,t){return e=e.substring(2),t&&(e=e.substr(0,e.length-1).replace(/-(.)/g,"$1")),e}},array:{encode:function(e){for(var t=[],a=0;a":">=","?"),c.push(s.__range.__lower)),s.__range.lower!==t&&s.__range.upper!==t&&u.push("AND"),s.__range.upper!==t&&(u.push(l,s.__range.upperOpen?"<":"<=","?"),c.push(s.__range.__upper))),"undefined"!=typeof a&&(s.__lastKeyContinued=a,s.__offset=0),s.__lastKeyContinued!==t&&(u.push("AND",l,">= ?"),e.Key.validate(s.__lastKeyContinued),c.push(e.Key.encode(s.__lastKeyContinued)));var d="prev"===s.direction||"prevunique"===s.direction?"DESC":"ASC";u.push("ORDER BY",l,d),u.push("LIMIT",i,"OFFSET",s.__offset),u=u.join(" "),e.DEBUG&&console.log(u,c),s.__prefetchedData=null,s.__prefetchedIndex=0,r.executeSql(u,c,function(a,r){r.rows.length>1?(s.__prefetchedData=r.rows,s.__prefetchedIndex=0,e.DEBUG&&console.log("Preloaded "+s.__prefetchedData.length+" records for cursor"),s.__decode(r.rows.item(0),n)):1===r.rows.length?s.__decode(r.rows.item(0),n):(e.DEBUG&&console.log("Reached end of cursors"),n(t,t,t))},function(t,a){e.DEBUG&&console.log("Could not execute Cursor.continue",u,c),o(a)})},a.prototype.__findMultiEntry=function(a,r,n,o){var i=this;if(i.__prefetchedData&&i.__prefetchedData.length===i.__prefetchedIndex)return e.DEBUG&&console.log("Reached end of multiEntry cursor"),void n(t,t,t);var s=e.util.quote(i.__keyColumnName),l=["SELECT * FROM",e.util.quote(i.__store.name)],u=[];l.push("WHERE",s,"NOT NULL"),i.__range&&i.__range.lower!==t&&i.__range.upper!==t&&0===i.__range.upper.indexOf(i.__range.lower)&&(l.push("AND",s,"LIKE ?"),u.push("%"+i.__range.__lower.slice(0,-1)+"%")),"undefined"!=typeof a&&(i.__lastKeyContinued=a,i.__offset=0),i.__lastKeyContinued!==t&&(l.push("AND",s,">= ?"),e.Key.validate(i.__lastKeyContinued),u.push(e.Key.encode(i.__lastKeyContinued)));var c="prev"===i.direction||"prevunique"===i.direction?"DESC":"ASC";l.push("ORDER BY key",c),l=l.join(" "),e.DEBUG&&console.log(l,u),i.__prefetchedData=null,i.__prefetchedIndex=0,r.executeSql(l,u,function(a,r){if(i.__multiEntryOffset=r.rows.length,r.rows.length>0){for(var o=[],s=0;st.matchingKey.replace("[","z")?m?-1:1:e.keyt.key?"prev"===i.direction?-1:1:0}),i.__prefetchedData={data:o,length:o.length,item:function(e){return this.data[e]}},i.__prefetchedIndex=0,o.length>1?(e.DEBUG&&console.log("Preloaded "+i.__prefetchedData.length+" records for multiEntry cursor"),i.__decode(o[0],n)):1===o.length?(e.DEBUG&&console.log("Reached end of multiEntry cursor"),i.__decode(o[0],n)):(e.DEBUG&&console.log("Reached end of multiEntry cursor"),n(t,t,t))}else e.DEBUG&&console.log("Reached end of multiEntry cursor"),n(t,t,t)},function(t,a){e.DEBUG&&console.log("Could not execute Cursor.continue",l,u),o(a)})},a.prototype.__onsuccess=function(e){var a=this;return function(r,n,o){a.key=r===t?null:r,a.value=n===t?null:n,a.primaryKey=o===t?null:o;var i=r===t?null:a;e(i,a.__req)}},a.prototype.__decode=function(a,r){if(this.__multiEntryIndex&&this.__unique){if(this.__matchedKeys||(this.__matchedKeys={}),this.__matchedKeys[a.matchingKey])return void r(t,t,t);this.__matchedKeys[a.matchingKey]=!0}var n=e.Key.decode(this.__multiEntryIndex?a.matchingKey:a[this.__keyColumnName],this.__multiEntryIndex),o=this.__valueDecoder.decode(a[this.__valueColumnName]),i=e.Key.decode(a.key);r(n,o,i)},a.prototype["continue"]=function(t){var a=e.cursorPreloadPackSize||100,r=this;this.__store.transaction.__pushToQueue(r.__req,function(e,n,o,i){return r.__offset++,r.__prefetchedData&&(r.__prefetchedIndex++,r.__prefetchedIndex=a)throw e.util.createDOMException("Type Error","Count is invalid - 0 or negative",a);var r=this;this.__store.transaction.__pushToQueue(r.__req,function(e,n,o,i){r.__offset+=a,r.__find(t,e,r.__onsuccess(o),i)})},a.prototype.update=function(a){var r=this;return r.__store.transaction.__assertWritable(),r.__store.transaction.__addToTransactionQueue(function(n,o,i,s){e.Sca.encode(a,function(o){r.__find(t,n,function(t,l,u){var c=r.__store,d=[o],f=["UPDATE",e.util.quote(c.name),"SET value = ?"];e.Key.validate(u);for(var p=0;p0&&t.executeSql("DROP TABLE "+e.util.quote(a.name),[],function(){t.executeSql("DELETE FROM __sys__ WHERE name = ?",[a.name],function(){n()},i)},i)})})},t.prototype.__validateKey=function(t,a){if(this.keyPath){if("undefined"!=typeof a)throw e.util.createDOMException("DataError","The object store uses in-line keys and the key parameter was provided",this);if(!t||"object"!=typeof t)throw e.util.createDOMException("DataError","KeyPath was specified, but value was not an object");if(a=e.Key.getValue(t,this.keyPath),void 0===a){if(this.autoIncrement)return;throw e.util.createDOMException("DataError","Could not eval key from keyPath")}}else if("undefined"==typeof a){if(this.autoIncrement)return;throw e.util.createDOMException("DataError","The object store uses out-of-line keys and has no key generator and the key parameter was not provided. ",this)}e.Key.validate(a)},t.prototype.__deriveKey=function(t,a,r,n,o){function i(a){t.executeSql("SELECT * FROM sqlite_sequence where name like ?",[s.name],function(e,t){a(1!==t.rows.length?1:t.rows.item(0).seq+1)},function(t,a){o(e.util.createDOMException("DataError","Could not get the auto increment value for key",a))})}var s=this;if(s.keyPath){var l=e.Key.getValue(a,s.keyPath);void 0===l&&s.autoIncrement?i(function(t){try{e.Key.setValue(a,s.keyPath,t),n(t)}catch(r){o(e.util.createDOMException("DataError","Could not assign a generated value to the keyPath",r))}}):n(l)}else"undefined"==typeof r&&s.autoIncrement?i(n):n(r)},t.prototype.__insertData=function(t,a,r,n,o,i){try{var s={};"undefined"!=typeof n&&(e.Key.validate(n),s.key=e.Key.encode(n));for(var l=0;l0&&(r=!0,e.Key.validate(t)),a.transaction.__addToTransactionQueue(function(n,o,i,s){var l="SELECT * FROM "+e.util.quote(a.name)+(r?" WHERE key = ?":""),u=[];r&&u.push(e.Key.encode(t)),n.executeSql(l,u,function(e,t){i(t.rows.length)},function(e,t){s(t)})})},t.prototype.openCursor=function(t,a){return new e.IDBCursor(t,a,this,this,"key","value").__req},t.prototype.index=function(t){if(0===arguments.length)throw new TypeError("No index name was specified");var a=this.__indexes[t];if(!a)throw e.util.createDOMException("NotFoundError",'Index "'+t+'" does not exist on '+this.name);return e.IDBIndex.__clone(a,this)},t.prototype.createIndex=function(t,a,r){if(0===arguments.length)throw new TypeError("No index name was specified");if(1===arguments.length)throw new TypeError("No key path was specified");if(a instanceof Array&&r&&r.multiEntry)throw e.util.createDOMException("InvalidAccessError","The keyPath argument was an array and the multiEntry option is true.");if(this.__indexes[t]&&!this.__indexes[t].__deleted)throw e.util.createDOMException("ConstraintError",'Index "'+t+'" already exists on '+this.name);this.transaction.__assertVersionChange(),r=r||{};var n={columnName:t,keyPath:a,optionalParams:{unique:!!r.unique,multiEntry:!!r.multiEntry}},o=new e.IDBIndex(this,n);return e.IDBIndex.__createIndex(this,o),o},t.prototype.deleteIndex=function(t){if(0===arguments.length)throw new TypeError("No index name was specified");var a=this.__indexes[t];if(!a)throw e.util.createDOMException("NotFoundError",'Index "'+t+'" does not exist on '+this.name);this.transaction.__assertVersionChange(),e.IDBIndex.__deleteIndex(this,a)},e.IDBObjectStore=t}(idbModules),function(e){"use strict";function t(e,t,r){this.__id=++a,this.__active=!0,this.__running=!1,this.__requests=[],this.__storeNames=t,this.mode=r,this.db=e,this.error=null,this.onabort=this.onerror=this.oncomplete=null;var n=this;setTimeout(function(){n.__executeRequests()},0)}var a=0;t.prototype.__executeRequests=function(){function t(t){if(!r.__active)throw t;try{e.util.logError("Error","An error occurred in a transaction",t),r.error=t;var a=e.util.createEvent("error");e.util.callback("onerror",r,a)}finally{r.abort()}}function a(){e.DEBUG&&console.log("Transaction completed");var t=e.util.createEvent("complete");e.util.callback("oncomplete",r,t),e.util.callback("__oncomplete",r,t)}if(this.__running)return void(e.DEBUG&&console.log("Looks like the request set is already running",this.mode));this.__running=!0;var r=this;r.db.__db.transaction(function(n){function o(t,a){a&&(l.req=a),l.req.readyState="done",l.req.result=t,delete l.req.error;var r=e.util.createEvent("success");e.util.callback("onsuccess",l.req,r),u++,s()}function i(a,r){r=e.util.findError(arguments);try{l.req.readyState="done",l.req.error=r||"DOMError",l.req.result=void 0;var n=e.util.createEvent("error",r);e.util.callback("onerror",l.req,n)}finally{t(r)}}function s(){if(u>=r.__requests.length)r.__requests=[],r.__active&&(r.__active=!1,a());else try{l=r.__requests[u],l.op(n,l.args,o,i)}catch(e){i(e)}}r.__tx=n;var l=null,u=0;s()},t)},t.prototype.__createRequest=function(){var t=new e.IDBRequest;return t.source=this.db,t.transaction=this,t},t.prototype.__addToTransactionQueue=function(e,t){var a=this.__createRequest();return this.__pushToQueue(a,e,t),a},t.prototype.__pushToQueue=function(e,t,a){this.__assertActive(),this.__requests.push({op:t,args:a,req:e})},t.prototype.__assertActive=function(){if(!this.__active)throw e.util.createDOMException("TransactionInactiveError","A request was placed against a transaction which is currently not active, or which is finished")},t.prototype.__assertWritable=function(){if(this.mode===t.READ_ONLY)throw e.util.createDOMException("ReadOnlyError","The transaction is read only")},t.prototype.__assertVersionChange=function(){t.__assertVersionChange(this)},t.__assertVersionChange=function(a){if(!a||a.mode!==t.VERSION_CHANGE)throw e.util.createDOMException("InvalidStateError","Not a version transaction")},t.prototype.objectStore=function(a){if(0===arguments.length)throw new TypeError("No object store name was specified");if(!this.__active)throw e.util.createDOMException("InvalidStateError","A request was placed against a transaction which is currently not active, or which is finished");if(-1===this.__storeNames.indexOf(a)&&this.mode!==t.VERSION_CHANGE)throw e.util.createDOMException("NotFoundError",a+" is not participating in this transaction");var r=this.db.__objectStores[a];if(!r)throw e.util.createDOMException("NotFoundError",a+" does not exist in "+this.db.name);return e.IDBObjectStore.__clone(r,this)},t.prototype.abort=function(){var t=this;e.DEBUG&&console.log("The transaction was aborted",t),t.__active=!1;var a=e.util.createEvent("abort");setTimeout(function(){e.util.callback("onabort",t,a)},0)},t.READ_ONLY="readonly",t.READ_WRITE="readwrite",t.VERSION_CHANGE="versionchange",e.IDBTransaction=t}(idbModules),function(e){"use strict";function t(t,a,r,n){this.__db=t,this.__closed=!1,this.version=r,this.name=a,this.onabort=this.onerror=this.onversionchange=null,this.__objectStores={},this.objectStoreNames=new e.util.StringList;for(var o=0;o=o||t>o){var u=e.util.createDOMError("VersionError","An attempt was made to open a database using a lower version than the existing version.",o);return void i(u)}s.transaction(function(n){n.executeSql("CREATE TABLE IF NOT EXISTS __sys__ (name VARCHAR(255), keyPath VARCHAR(255), autoInc BOOLEAN, indexList BLOB)",[],function(){n.executeSql("SELECT * FROM __sys__",[],function(n,u){var c=e.util.createEvent("success");l.source=l.result=new e.IDBDatabase(s,a,o,u),o>t?r.transaction(function(r){r.executeSql("UPDATE dbVersions set version = ? where name = ?",[o,a],function(){var a=e.util.createEvent("upgradeneeded");a.oldVersion=t,a.newVersion=o,l.transaction=l.result.__versionTransaction=new e.IDBTransaction(l.source,[],e.IDBTransaction.VERSION_CHANGE),l.transaction.__addToTransactionQueue(function(t,r,n){e.util.callback("onupgradeneeded",l,a),n()}),l.transaction.__oncomplete=function(){l.transaction=null;var t=e.util.createEvent("success");e.util.callback("onsuccess",l,t)}},i)},i):e.util.callback("onsuccess",l,c)},i)},i)},i)}var l=new e.IDBOpenDBRequest,u=!1;if(0===arguments.length)throw new TypeError("Database name is required");if(2===arguments.length&&(o=parseFloat(o),isNaN(o)||!isFinite(o)||0>=o))throw new TypeError("Invalid database version: "+o);return a+="",t(function(){r.transaction(function(e){e.executeSql("SELECT * FROM dbVersions where name = ?",[a],function(e,t){0===t.rows.length?e.executeSql("INSERT INTO dbVersions VALUES (?,?)",[a,o||1],function(){s(0)},i):s(t.rows.item(0).version)},i)},i)},i),l},a.prototype.deleteDatabase=function(a){function o(t,a){if(!l){a=e.util.findError(arguments),s.readyState="done",s.error=a||"DOMError";var r=e.util.createEvent("error");r.debug=arguments,e.util.callback("onerror",s,r),l=!0}}function i(){r.transaction(function(t){t.executeSql("DELETE FROM dbVersions where name = ? ",[a],function(){s.result=void 0;var t=e.util.createEvent("success");t.newVersion=null,t.oldVersion=u,e.util.callback("onsuccess",s,t)},o)},o)}var s=new e.IDBOpenDBRequest,l=!1,u=null;if(0===arguments.length)throw new TypeError("Database name is required");return a+="",t(function(){r.transaction(function(t){t.executeSql("SELECT * FROM dbVersions where name = ?",[a],function(t,r){if(0===r.rows.length){s.result=void 0;var l=e.util.createEvent("success");return l.newVersion=null,l.oldVersion=u,void e.util.callback("onsuccess",s,l)}u=r.rows.item(0).version;var c=window.openDatabase(a,1,a,n);c.transaction(function(t){t.executeSql("SELECT * FROM __sys__",[],function(t,a){var r=a.rows;!function n(a){a>=r.length?t.executeSql("DROP TABLE IF EXISTS __sys__",[],function(){i()},o):t.executeSql("DROP TABLE "+e.util.quote(r.item(a).name),[],function(){n(a+1)},function(){n(a+1)})}(0)},function(e){i()})})},o)},o)},o),s},a.prototype.cmp=function(t,a){if(arguments.length<2)throw new TypeError("You must provide two keys to be compared");e.Key.validate(t),e.Key.validate(a);var r=e.Key.encode(t),n=e.Key.encode(a),o=r>n?1:r===n?0:-1;if(e.DEBUG){var i=e.Key.decode(r),s=e.Key.decode(n);"object"==typeof t&&(t=JSON.stringify(t),i=JSON.stringify(i)),"object"==typeof a&&(a=JSON.stringify(a),s=JSON.stringify(s)),i!==t&&console.warn(t+" was incorrectly encoded as "+i),s!==a&&console.warn(a+" was incorrectly encoded as "+s)}return o},e.shimIndexedDB=new a,e.IDBFactory=a}(idbModules),function(e,t){"use strict";function a(t,a){try{e[t]=a}catch(r){}if(e[t]!==a&&Object.defineProperty){try{Object.defineProperty(e,t,{value:a})}catch(r){}e[t]!==a&&e.console&&console.warn&&console.warn("Unable to shim "+t)}}a("shimIndexedDB",t.shimIndexedDB),e.shimIndexedDB&&(e.shimIndexedDB.__useShim=function(){"undefined"!=typeof e.openDatabase?(a("indexedDB",t.shimIndexedDB),a("IDBFactory",t.IDBFactory),a("IDBDatabase",t.IDBDatabase),a("IDBObjectStore",t.IDBObjectStore),a("IDBIndex",t.IDBIndex),a("IDBTransaction",t.IDBTransaction),a("IDBCursor",t.IDBCursor),a("IDBKeyRange",t.IDBKeyRange),a("IDBRequest",t.IDBRequest),a("IDBOpenDBRequest",t.IDBOpenDBRequest),a("IDBVersionChangeEvent",t.IDBVersionChangeEvent)):"object"==typeof e.indexedDB&&t.polyfill()},e.shimIndexedDB.__debug=function(e){t.DEBUG=e}),"indexedDB"in e||(e.indexedDB=e.indexedDB||e.webkitIndexedDB||e.mozIndexedDB||e.oIndexedDB||e.msIndexedDB);var r=!1;if((navigator.userAgent.match(/Android 2/)||navigator.userAgent.match(/Android 3/)||navigator.userAgent.match(/Android 4\.[0-3]/))&&(navigator.userAgent.match(/Chrome/)||(r=!0)),"undefined"!=typeof e.indexedDB&&e.indexedDB&&!r||"undefined"==typeof e.openDatabase){
+e.IDBDatabase=e.IDBDatabase||e.webkitIDBDatabase,e.IDBTransaction=e.IDBTransaction||e.webkitIDBTransaction,e.IDBCursor=e.IDBCursor||e.webkitIDBCursor,e.IDBKeyRange=e.IDBKeyRange||e.webkitIDBKeyRange,e.IDBTransaction||(e.IDBTransaction={});try{e.IDBTransaction.READ_ONLY=e.IDBTransaction.READ_ONLY||"readonly",e.IDBTransaction.READ_WRITE=e.IDBTransaction.READ_WRITE||"readwrite"}catch(n){}}else e.shimIndexedDB.__useShim()}(window,idbModules)},function(e,t,a){function r(e){return a(n(e))}function n(e){return o[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var o={"./Roboto-Bold.eot":179,"./Roboto-Bold.svg":180,"./Roboto-Bold.ttf":181,"./Roboto-Bold.woff":182,"./Roboto-Light.eot":183,"./Roboto-Light.svg":184,"./Roboto-Light.ttf":185,"./Roboto-Light.woff":186,"./Roboto-Regular.eot":187,"./Roboto-Regular.svg":188,"./Roboto-Regular.ttf":189,"./Roboto-Regular.woff":190,"./RobotoCondensed-Regular.eot":191,"./RobotoCondensed-Regular.svg":192,"./RobotoCondensed-Regular.ttf":193,"./RobotoCondensed-Regular.woff":194};r.keys=function(){return Object.keys(o)},r.resolve=n,e.exports=r,r.id=178},function(e,t,a){e.exports=a.p+"fonts/Roboto-Bold.eot?f2560085ffa6e6ef89f689dcd7e76de5"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Bold.svg?5691d36c5c2e0f39d60882cec833d526"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Bold.ttf?98e7cf4c382f271d821aed5b72c8a01f"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Bold.woff?5c761f3bdd9e9d80466973275663785c"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Light.eot?1801e86a898eab25899daa4cdccbe9dc"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Light.svg?5691d36c5c2e0f39d60882cec833d526"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Light.ttf?6190cbf23a93f3c145de3ee7b55460fa"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Light.woff?405782143d67122bc25413bf23966d62"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Regular.eot?01f3aa219c5b8e487d083790e4e123ab"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Regular.svg?5691d36c5c2e0f39d60882cec833d526"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Regular.ttf?dab605765566d58fc063a486ac820b05"},function(e,t,a){e.exports=a.p+"fonts/Roboto-Regular.woff?e9415d2d7178ec455c06bad7f0853ed7"},function(e,t,a){e.exports=a.p+"fonts/RobotoCondensed-Regular.eot?198e8ae47771146b02d44052dbed8fed"},function(e,t,a){e.exports=a.p+"fonts/RobotoCondensed-Regular.svg?5691d36c5c2e0f39d60882cec833d526"},function(e,t,a){e.exports=a.p+"fonts/RobotoCondensed-Regular.ttf?0949b22f1374bf6c927ea08a4067e1b7"},function(e,t,a){e.exports=a.p+"fonts/RobotoCondensed-Regular.woff?38bed6d05764bc1161f71eda65144af7"},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var a=0;a",t,t.stack),e.setState({loading:!1})})}},{key:"_onNotificationChange",value:function(){var e=Ve["default"].getState().notification;void 0===e.autoDismiss&&(e.autoDismiss=10),this.refs.notificationSystem.addNotification(e)}},{key:"render",value:function(){var e=u["default"].createElement("div",{className:"grid-frame vertical"},u["default"].createElement(L["default"],{isUnlocked:this.state.isUnlocked}),u["default"].createElement(qe["default"],{isUnlocked:this.state.isUnlocked,id:"mobile-menu"}),u["default"].createElement(Ue["default"],null),u["default"].createElement("div",{className:"grid-block vertical"},u["default"].createElement(yt,null)),u["default"].createElement(U["default"],null),u["default"].createElement(ft["default"],{type:"dark",effect:"solid"}));return this.state.loading&&(e=u["default"].createElement(Ne["default"],null)),u["default"].createElement("div",null,e,u["default"].createElement(We["default"],{ref:"notificationSystem",allowHTML:!0}),u["default"].createElement(Ie["default"],null),u["default"].createElement(Le["default"],null))}}]),t}(u["default"].Component);bt.willTransitionTo=function(e,t,a,r){Je["default"].init_instance(window.openDatabase?shimIndexedDB||indexedDB:indexedDB).init_promise.then(function(){it["default"].loadDbData().then(function(){it["default"].getWallet()||"/create-account"===e.path||e.redirect("/create-account"),r()})["catch"](function(e){console.error("[App.jsx:172] ----- WalletDb.loadDbData error ----->",e)})})};var vt=u["default"].createElement(ht,{handler:bt},u["default"].createElement(ht,{name:"dashboard",path:"/dashboard",handler:y["default"]}),u["default"].createElement(ht,{name:"explorer",path:"/explorer",handler:b["default"]}),u["default"].createElement(ht,{name:"blocks",path:"/explorer/blocks",handler:w["default"]}),u["default"].createElement(ht,{name:"assets",path:"/explorer/assets",handler:k["default"]}),u["default"].createElement(ht,{name:"accounts2",path:"/explorer/accounts2",handler:x["default"]}),u["default"].createElement(ht,{name:"accounts",path:"/explorer/accounts",handler:O["default"]}),u["default"].createElement(ht,{name:"witnesses",path:"/explorer/witnesses",handler:S["default"]},u["default"].createElement(gt,{handler:P["default"]}),u["default"].createElement(ht,{name:"witness",path:":name",handler:B["default"]})),u["default"].createElement(ht,{name:"delegates",path:"/explorer/delegates",handler:q["default"]},u["default"].createElement(gt,{handler:N["default"]}),u["default"].createElement(ht,{name:"delegate",path:":name",handler:I["default"]})),u["default"].createElement(ht,{name:"wallet",path:"wallet",handler:et["default"]}),u["default"].createElement(ht,{name:"create-wallet",path:"create-wallet",handler:at["default"]}),u["default"].createElement(ht,{name:"console",path:"console",handler:ct["default"]}),u["default"].createElement(ht,{name:"transfer",path:"transfer",handler:fe["default"]}),u["default"].createElement(ht,{name:"invoice",path:"invoice/:data",handler:mt["default"]}),u["default"].createElement(ht,{name:"markets",path:"markets",handler:ce["default"]}),u["default"].createElement(ht,{name:"exchange",path:"exchange/trade/:marketID",handler:le["default"]}),u["default"].createElement(ht,{name:"settings",path:"settings",handler:me["default"]}),u["default"].createElement(ht,{name:"block",path:"block/:height",handler:ye["default"]}),u["default"].createElement(ht,{name:"asset",path:"asset/:symbol",handler:be["default"]}),u["default"].createElement(ht,{name:"tx",path:"tx",handler:we["default"]}),u["default"].createElement(ht,{name:"create-account",path:"create-account",handler:ke["default"]}),u["default"].createElement(ht,{name:"existing-account",path:"existing-account",handler:Qe["default"]}),u["default"].createElement(ht,{name:"import-keys",path:"import-keys",handler:nt["default"]}),u["default"].createElement(ht,{name:"account",path:"/account/:account_name",handler:W["default"]},u["default"].createElement(ht,{name:"account-overview",path:"overview",handler:V["default"]}),u["default"].createElement(ht,{name:"account-assets",path:"user-assets",handler:$["default"]}),u["default"].createElement(ht,{name:"account-member-stats",path:"member-stats",handler:J["default"]}),u["default"].createElement(ht,{name:"account-history",path:"history",handler:Q["default"]}),u["default"].createElement(ht,{name:"account-payees",path:"payees",handler:ee["default"]}),u["default"].createElement(ht,{name:"account-permissions",path:"permissions",handler:ae["default"]}),u["default"].createElement(ht,{name:"account-voting",path:"voting",handler:ne["default"]}),u["default"].createElement(ht,{name:"account-orders",path:"orders",handler:ie["default"]}),u["default"].createElement(gt,{handler:V["default"]})),u["default"].createElement(gt,{handler:y["default"]}));d["default"].run(vt,function(e){u["default"].render(u["default"].createElement(e,null),document.getElementById("content"))})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(){function e(e,t){for(var a=0;an;n++)r[n]=arguments[n];r.forEach(function(a){if(!e[a])throw new Error("BaseStore._export: method '"+a+"' not found in "+e.__proto__._storeName);e[a]=e[a].bind(e),t[a]=e[a]}),this.exportPublicMethods(t)}}]),e}();t["default"]=n,e.exports=t["default"]},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var n=a(407),o=r(n);t["default"]=o["default"],e.exports=t["default"]},,,,,,,,,,,,,,,function(e,t){"use strict";e.exports={languages:{en:"English",cn:"简体中文",fr:"Français",ko:"한국어",de:"Deutsch"},header:{title:"Graphene UI",dashboard:"Dashboard",explorer:"Explorer",exchange:"Exchange",payments:"Transfer",logout:"Logout",settings:"Settings",current:"Current Account"},account:{asset:"Asset",market_value:"Market Value",hour_24:"24hr Change",recent:"Recent activity",name:"Account name",more:"see more",member:{stats:"Member stats",join:"Joined on",reg:"Registered by",ref:"Referred by",ref_percentage:"Referrer fee percentage",network_percentage:"Network fee percentage",fees_paid:"Lifetime fees paid",fees_pending:"Pending fees",fees_vested:"Pending vested fees",in_orders:"Total %(core_asset)s in orders",referrals:"Referrals",rewards:"Cashback Rewards",cashback:"Cashback",vested:"Vested"},user_issued_assets:{symbol:"Symbol",name:"Asset Name",description:"Description",max_supply:"Maximum supply",precision:"Precision",to:"Issue to account"},connections:{known:"Known by",black:"Blacklisted by"},perm:{active:"Active Permissions",owner:"Owner Permissions",publish:"Publish Changes",reset:"Reset Changes",add:"Add Permission",type:"Type",key:"Key/Name",weight:"Weight",threshold:"Threshold",confirm_add:"Add",cancel:"Cancel"},votes:{proxy:"Proxy Voting Account",no_proxy:"No Proxy",name:"Name",info:"Info",votes:"Votes",url:"Webpage",support:"Support",workers:"Budget Items",publish:"Publish Changes",add_witness:"Add",remove_witness:"Remove",remove_committee:"Remove",add_committee:"Add",add_committee_label:"Committee Member",add_witness_label:"Witness"},options:{num_witnesses:"Desired Witnesses",num_committee:"Desired Committee Members",memo_key:"Memo Key"},upgrade:"Upgrade account",unlink:"Unlink",link:"Link",pay:"Pay",overview:"Overview",history:"History",payees:"Payees",permissions:"Permissions",voting:"Voting",orders:"Orders",select_placeholder:"Select Account...",errors:{not_found:"The account %(name)s does not exist, are you sure you spelled it correctly?"}},pagination:{newer:"Newer",older:"Older"},transfer:{from:"From",amount:"Amount",to:"To",memo:"Memo",fee:"Fee",send:"Send","final":"Final balance",balances:"Balances",available:"Available: ",errors:{req:"Required field",pos:"Amount must be positive",valid:"Please enter a valid, positive number",balance:"The final balance must be larger than 0"},back:"BACK",confirm:"CONFIRM",broadcasting:"Broadcasting...",broadcast:"Your transfer has been broadcast to the network",again:"MAKE ANOTHER TRANSFER",see:"SEE MY TRANSFERS"},transaction:{confirm:"Please confirm the transaction",broadcast_success:"Transaction has been broadcast",broadcast_fail:"Failed to broadcast the transaction: %(message)s",sent:"Sent",to:"to",received:"Received",from:"from",amount_sell:"Amount to sell",expiration:"Expiration",fill_or:"Fill or kill",min_receive:"Minimum amount to receive",seller:"Seller",collateral:"Collateral",coll_ratio:"Initial collateral ratio",coll_maint:"Collateral maintenance ratio",create_key:"Created a public key",reg_account:"Registered the account",was_reg_account:"registered by",create_asset:"Created the asset",limit_order_sell:"Placed limit order to sell %(sell_amount)s at %(sell_price)s",limit_order_buy:"Placed limit order to buy %(buy_amount)s at %(buy_price)s",limit_order_cancel:"Cancelled limit order with id",short_order:"Placed short order to sell",short_order_cancel:"Cancelled short with id",at:"at",coll_of:"with collateral of",call_order_update:"Updated call order",upgrade_account:"Upgraded the account to lifetime member",update_account:"Updated account",whitelist_account:"Whitelisted the account",whitelisted_by:"Was whitelisted by the account",transfer_account:"Transferred the account",update_asset:"Updated the asset",update_feed_producers:"Updated the feed producers of asset",feed_producer:"Became a feed producer for the asset",asset_issue:"Issued",was_issued:"Was issued",by:"by",burn_asset:"Burnt",fund_pool:"Funded asset fee pool with",asset_settle:"Requested settlement of",asset_global_settle:"Requested global settlement of",publish_feed:"Published new feed for asset",delegate_create:"Created the delegate",witness_create:"Created the witness",witness_pay:"Withdrew witness pay to account",witness_receive:"Received witness from witness",proposal_create:"Created a proposal",proposal_update:"Updated a proposal",proposal_delete:"Deleted a proposal",withdraw_permission_create:"Gave withdrawal permission for account",withdraw_permission_update:"Updated withdrawal permission for account",withdraw_permission_claim:"Claimed withdrawal permission for account",withdraw_permission_delete:"Deleted withdrawal permissions for account",paid:"Paid",obtain:"to obtain",global_parameters_update:"Updated global parameters",file_write:"Wrote a file",vesting_balance_create:"created vesting balance of","for":"for",vesting_balance_withdraw:"Withdrew vesting balance of",bond_create_offer:"Created bond offer",bond_cancel_offer:"Cancelled bond offer",bond_accept_offer:"Accepted bond offer of",bond_claim_collateral:"Claimed collateral of",bond_pay_collateral:"Paid collateral of",create_worker:"Created a budget item with a pay of",custom:"Created a custom operation",order_id:"Order ID",balance_claim:"Claimed a balance of %(balance_amount)s from balance ID #%(balance_id)s",balance_owner:"Balance owner key",balance_id:"Balance ID",deposit_to:"Deposited to account",claimed:"Total claimed",trxTypes:{transfer:"Transfer",limit_order_create:"Limit order",limit_order_cancel:"Cancel limit order",call_order_update:"Update call order",account_create:"Create account",account_update:"Account update",account_whitelist:"Account whitelist",account_upgrade:"Account upgrade",account_transfer:"Account transfer",asset_create:"Create asset",asset_update:"Update asset",asset_update_bitasset:"Update SmartCoin",asset_update_feed_producers:"Update asset feed producers",asset_issue:"Issue asset",asset_reserve:"Burn asset",asset_fund_fee_pool:"Fund asset fee pool",asset_settle:"Asset settlement",asset_global_settle:"Global asset settlement",asset_publish_feed:"Publish asset feed",delegate_create:"Create delegate",witness_create:"Create witness",witness_withdraw_pay:"Witness pay withdrawal",proposal_create:"Create proposal",proposal_update:"Update proposal",proposal_delete:"Delete proposal",withdraw_permission_create:"Create withdrawal permission",withdraw_permission_update:"Update withdrawal permission",withdraw_permission_claim:"Claim withdrawal permission",withdraw_permission_delete:"Delete withdrawal permission",fill_order:"Fill order",delegate_update_global_parameters:"Global parameters update",vesting_balance_create:"Create vesting balance",vesting_balance_withdraw:"Withdraw vesting balance",worker_create:"Create budget item",custom:"Custom",assert:"Assert operation",balance_claim:"Claim balance",override_transfer:"Override transfer"}},explorer:{accounts:{title:"Accounts"},blocks:{title:"Blockchain",globals:"Global parameters",recent:"Recent blocks"},block:{title:"Block",id:"Block ID",witness:"Witness",count:"Transaction count",date:"Date",previous:"Previous",previous_secret:"Previous secret",next_secret:"Next secret hash",op:"Operation",trx:"Transaction",op_type:"Operation type",fee_payer:"Fee paying account",key:"Public key",transactions:"Transaction count",account_upgrade:"Account to upgrade",lifetime:"Upgrade to lifetime member",authorizing_account:"Authorizing account",listed_account:"Listed account",new_listing:"New listing",asset_update:"Asset to update",common_options:"Common options",new_options:"New options",new_producers:"New feed producers",asset_issue:"Amount to issue",max_margin_period_sec:"Max margin period (s)",call_limit:"Call limit",short_limit:"Short limit",settlement_price:"Settlement price"},assets:{title:"Assets",market:"SmartCoins",user:"User Issued Assets",symbol:"Symbol",id:"ID",issuer:"Issuer",precision:"Precision"},asset:{title:"Asset",not_found:"The asset %(name)s does not exist"},witnesses:{title:"Witnesses"},delegates:{title:"Delegates"},delegate:{title:"Delegate"},workers:{title:"Budget Items"},proposals:{title:"Proposals"},account:{title:"Account"}},settings:{inverseMarket:"Market orientation preference",unit:"Preferred unit of account",confirmMarketOrder:"Ask for confirmation of market orders",locale:"Switch language",confirm_yes:"Always",confirm_no:"Never",always_confirm:"Always ask for confirmation"},footer:{title:"Graphene",block:"Head block",loading:"Loading..."},exchange:{price_history:"Price History",order_depth:"Order Depth",market_history:"Market History",balance:"Balance",total:"Total",value:"Value",price:"Price",latest:"Latest Price",call:"Call Price",volume:"Volume",spread:"Spread",quantity:"Quantity",buy:"Buy",sell:"Sell",confirm_buy:"Confirm order: Buy %(buy_amount)s %(buy_symbol)s at a price of %(price_amount)s %(price_symbol)s",confirm_sell:"Confirm order: Sell %(sell_amount)s %(sell_symbol)s at a price of %(price_amount)s %(price_symbol)s"},markets:{choose_base:"Choose base asset",filter:"Filter",core_rate:"Core rate",supply:"Supply",search:"Search"}}},function(e,t,a){function r(e){return a(n(e))}function n(e){return o[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var o={"./locale-cn":423,"./locale-cn.js":423,"./locale-de":424,"./locale-de.js":424,"./locale-en":421,"./locale-en.js":421,"./locale-fr":425,"./locale-fr.js":425,"./locale-ko":426,"./locale-ko.js":426};r.keys=function(){return Object.keys(o)},r.resolve=n,e.exports=r,r.id=422},function(e,t){"use strict";e.exports={languages:{en:"English",cn:"简体中文",fr:"Français",ko:"한국어",de:"Deutsch"},header:{title:"比特股 2.0",dashboard:"概览",explorer:"浏览",exchange:"交易",payments:"支付",logout:"注销",settings:"设置",current:"当前账户"},account:{assets:"资产",value:"价值",hour_24:"24小时",recent:"近期活动",name:"账户名",member:{stats:"会员统计",join:"加入于",reg:"注册人",ref:"推荐人",referrals:"被推荐人",rewards:"返现奖励",cashback:"返现",vested:"既得"},connections:{known:"Known by",black:"被屏蔽"}},transfer:{from:"来自",amount:"金额",to:"发往",memo:"备注消息",fee:"手续费",send:"发送","final":"转账后余额",balances:"余额",errors:{req:"必填信息",pos:"数量必须大于0",valid:"请输入一个合法的大于0的半角数字"},back:"返回",confirm:"确认发送",broadcast:"你的转账已经向网络广播",again:"发起新的转账",see:"查看我的转账记录"},transaction:{sent:"已发送",to:"发往",received:"已接收",from:"来自",amount_sell:"出售数量",expiration:"过期时间",fill_or:"成交或取消",min_receive:"接收的最小数量",seller:"卖家",collateral:"抵押",coll_ratio:"初始抵押率",coll_maint:"Collateral maintenance ratio",create_key:"创建一个公钥",reg_account:"注册账户",was_reg_account:"注册人",create_asset:"Created the asset",limit_order:"限价出售单",limit_order_buy:"限价买入单",limit_order_cancel:"已取消的限价单",short_order:"空单",short_order_cancel:"已取消的空单Cancelled short with id",at:"at",coll_of:"抵押为",call_order_update:"Updated call order",upgrade_account:"升级到终身会员账户",update_account:"Updated account",whitelist_account:"Whitelisted the account",whitelisted_by:"Was whitelisted by the account",transfer_account:"Transferred the account",update_asset:"Updated the asset",update_feed_producers:"Updated the feed producers of asset",feed_producer:"Became a feed producer for the asset",asset_issue:"Issued",was_issued:"Was issued",by:"by",burn_asset:"Burnt",fund_pool:"Funded asset fee pool with",asset_settle:"Requested settlement of",asset_global_settle:"Requested global settlement of",publish_feed:"Published new feed for asset",delegate_create:"Created the delegate",witness_create:"Created the witness",witness_pay:"Withdrew witness pay to account",witness_receive:"Received witness from witness",proposal_create:"Created a proposal",proposal_update:"Updated a proposal",proposal_delete:"Deleted a proposal",withdraw_permission_create:"Gave withdrawal permission for account",withdraw_permission_update:"Updated withdrawal permission for account",withdraw_permission_claim:"Claimed withdrawal permission for account",withdraw_permission_delete:"Deleted withdrawal permissions for account",paid:"Paid",obtain:"to obtain",global_parameters_update:"Updated global parameters",file_write:"Wrote a file",vesting_balance_create:"created vesting balance of","for":"for",vesting_balance_withdraw:"Withdrew vesting balance of",bond_create_offer:"Created bond offer",bond_cancel_offer:"Cancelled bond offer",bond_accept_offer:"Accepted bond offer of",bond_claim_collateral:"Claimed collateral of",bond_pay_collateral:"Paid collateral of",create_worker:"Created a worker with a pay of",custom:"Created a custom operation",order_id:"Order ID",trxTypes:{transfer:"转账",limit_order_create:"限价单",limit_order_cancel:"取消限价单",call_order_update:"Update call order",account_create:"创建账户",account_update:"更新账户",account_whitelist:"Account whitelist",account_upgrade:"升级账户",account_transfer:"账户转移",asset_create:"创建资产",asset_update:"更新资产",asset_update_bitasset:"更新智能币",asset_update_feed_producers:"更新资产喂价者",asset_issue:"发行资产",asset_reserve:"销毁资产",asset_fund_fee_pool:"积存资产费用池",asset_settle:"资产结算",asset_global_settle:"Global asset settlement",asset_publish_feed:"发布资产喂价",delegate_create:"创建受托人",witness_create:"创建见证人",witness_withdraw_pay:"见证人取回报酬",proposal_create:"创建提案",proposal_update:"更新提案",proposal_delete:"删除提案",withdraw_permission_create:"创建取回权限",withdraw_permission_update:"更新取回权限",withdraw_permission_claim:"Claim withdrawal permission",withdraw_permission_delete:"删除取回权限",fill_order:"撮合订单",delegate_update_global_parameters:"全局参数更新",vesting_balance_create:"创建冻结账目余额",vesting_balance_withdraw:"取回解冻账户余额",worker_create:"创建雇员",custom:"自定义",assert:"Assert operation",balance_claim:"Claim balance",override_transfer:"Override transfer"}},explorer:{accounts:{title:"账户"},blocks:{title:"区块链",globals:"全局参数",recent:"最近区块"},block:{title:"区块",id:"区块 ID",witness:"见证人",count:"交易数",date:"日期",previous:"上一个",previous_secret:"上一个密文",next_secret:"下一个密文哈希值",op:"操作",trx:"交易",op_type:"操作类型",fee_payer:"手续费支付账户",key:"公钥",transactions:"交易数量",account_upgrade:"可升级账户",lifetime:"升级到终身会员账户",authorizing_account:"授权账户",listed_account:"Listed account",new_listing:"New listing",asset_update:"可更新资产",common_options:"Common options",new_options:"New options",new_producers:"New feed producers",asset_issue:"发行数量",max_margin_period_sec:"Max margin period (s)",call_limit:"Call limit",short_limit:"Short limit",settlement_price:"结算价格"},assets:{title:"资产",market:"智能币",user:"用户发行资产",symbol:"代码",id:"ID",issuer:"发行人",precision:"精度"},asset:{title:"资产"},witnesses:{title:"见证人"},delegates:{title:"受托人"},delegate:{title:"受托人"},workers:{title:"雇员"},proposals:{title:"提案"},account:{title:"账户"}},settings:{inverseMarket:"市场交易对视角",unit:"显示记账单位",confirmMarketOrder:"Ask for confirmation of market orders",locale:"语言选择",confirm_yes:"Always",confirm_no:"Never",always_confirm:"Always ask for confirmation"}}},function(e,t){"use strict";e.exports={languages:{en:"English",cn:"简体中文",fr:"Français",ko:"한국어",de:"Deutsch"},header:{title:"Graphene UI",dashboard:"Hauptseite",explorer:"Explorer",exchange:"Börse",payments:"Transaktionen",logout:"Abmeldung",settings:"Einstellungen",current:"Aktives Konto"},account:{asset:"Asset",market_value:"Marktwert",hour_24:"24hr Wechsel",recent:"Letzte Aktivität",name:"Konto Name",more:"mehr",member:{stats:"Mitgliederstatistiken",join:"Beitritt am",reg:"Registriert von",ref:"Empfohlen von",ref_percentage:"Prozent für Werbenden",network_percentage:"Prozent für Netzwerk",fees_paid:"Ingesamt bezahlte Gebühren",fees_pending:"Anstehende Gebühren",fees_vested:"Anstehnde Gebühren in Sperrfristguthaben",in_orders:"Insgesamt %(core_asset)s in Anweisungen",referrals:"Empfehlungen",rewards:"Belohnungen",cashback:"Skonto",vested:"Zugesichert"},user_issued_assets:{symbol:"Symbol",name:"Asset Name",description:"Beschreibung",max_supply:"Maximale Verfügbarkeit",precision:"Genauigkeit",to:"An Konto emittieren"},connections:{known:"Bekannt von",black:"Schwarzgelistet von"},perm:{active:"Aktive Berechitigungen",owner:"Eigentümer Berechtigungen",publish:"Änderungen veröffentlichen",reset:"Zurücksetzen",add:"Berechtigung hinzufügen",type:"Typ",key:"Schlüssel/Name",weight:"Gewicht",threshold:"Schwellwert",confirm_add:"Hinzufügen",cancel:"Abbrechen"},votes:{proxy:"Abstimmkonto vermitteln",name:"Name",info:"Info",support:"Support",workers:"Budgetpunkte"},upgrade:"Konto erweitern",unlink:"Trennen",link:"Verdinden",pay:"Bezahlen",overview:"Übersicht",history:"Historie",payees:"Empfänger",permissions:"Berechitigungen",voting:"Abstimmung",orders:"Anweisungen",select_placeholder:"Konto auswählen...",errors:{not_found:"Das Konto %(name)s existiert nicht. Bitte prüfgen Sie die Schreibweise!"}},pagination:{newer:"Jüngere",older:"Ältere"},transfer:{from:"Von",amount:"Betrag",to:"Zu",memo:"Memo",fee:"Gebühr",send:"Senden","final":"Abschließendes Guthaben",balances:"Guthaben",errors:{req:"Plfichtfeld",pos:"Betrag darf nicht negativ sein",valid:"Bitte geben Sie einen positiven Betrag ein",balance:"Ihr abschließendes Guthaben kann nicht negativ sein!"},back:"ZURÜCK",confirm:"BESTÄTIGEN",broadcast:"Deine Überweisung wurde gesendet",again:"WEITERE ÜBERWEISUNG",see:"ÜBERWEISUNGSÜBERSICHT"},transaction:{confirm:"Bitte bestätigen Sie die Transaktion",broadcast_success:"Transaktion wurde übermittelt",broadcast_fail:"Bei der Übermittlung der Transaction ist ein Fehler aufgetreten: %(message)s",sent:"Gesendet",to:"an",received:"Empfangen",from:"von",amount_sell:"Betrag",expiration:"Frist",fill_or:"sofortige Ausführung oder Annullierung",min_receive:"Mindestbetrag",
+seller:"Verkäufer",collateral:"Sicherheit/Pfand",coll_ratio:"Anfängliche Sicherheit (Verhältnis)",coll_maint:"Unterhalt der Sicherheit (Verhältnis)",create_key:"Ein öffentlicher Schlüssel wurde erzeugt",reg_account:"Ein Konto wurde angelegt",was_reg_account:"registriert von",create_asset:"Neuen Asset erstellen",limit_order:"Limit-Order für den Verkauf platziert",limit_order_buy:"Limit-Order für den Ankauf platziert",limit_order_cancel:"Limit-Order abgebrochen. ID:",short_order:"Short-Order für Verkauf platziert",short_order_cancel:"Short-Order abgebrochen. ID:",at:"für",coll_of:"mit einer Sicherheit bestehend aus",call_order_update:"Call-Order aktualisiert",upgrade_account:"Kontostatus auf Lifetime Member aktualisiert.",update_account:"Konto aktualisiert",whitelist_account:"Konto zur Positivliste hinzugefügt",whitelisted_by:"Wurde zur Postitivliste hinzugefügt von Konto",transfer_account:"Das Konto wurde übertragen",update_asset:"Das Asset wurde aktualisiert",update_feed_producers:"Die Liste der Feed-Erzeuger wurde aktualisiert",feed_producer:"Werde Feed-Erzeuger für ein Asset",asset_issue:"Emittiert",was_issued:"Wurde emittiert",by:"von",burn_asset:"Vernichtet",fund_pool:"Asset-Gebührenpool finanziert mit",asset_settle:"Settlement erbeten für",asset_global_settle:"Globales Settlement erbeten für",publish_feed:"Neuer Feed wurde publiziert für Asset",delegate_create:"Neuer Delegate wurde angelegt",witness_create:"Neuer Witness wurde angelegt",witness_pay:"Witnesslohn ausgezahlt an Konto",witness_receive:"Received witness from witness",proposal_create:"Ein Vorschlag wurde erzeugt",proposal_update:"Ein Vorschlag wurde aktualisiert",proposal_delete:"Ein Vorschlag wurde gelöscht",withdraw_permission_create:"Einzugsermächtigung wurde verliegen an Konto",withdraw_permission_update:"Einzugsermächtigung wurde aktualisiert für Konto",withdraw_permission_claim:"Einzugsermächtigung wurde eingefordert für Konto",withdraw_permission_delete:"Einzugsermächtigung wurde aufgehoben für Konto",paid:"Bezahlt",obtain:"zu erhalten",global_parameters_update:"Globale Parameter aktualisiert",file_write:"Eine Datei wurde geschrieben",vesting_balance_create:"Ein Sperrfristguthaben wurde erzeugt","for":"für",vesting_balance_withdraw:"Sperrfristguthaben wurde abgehoben",bond_create_offer:"Ein Bondangebot wurde erstellt",bond_cancel_offer:"Ein Bondangebot wurde abgebrochen",bond_accept_offer:"Ein Bondangebot wurde akzeptiert",bond_claim_collateral:"Eine Sicherheit wurde eingefordert",bond_pay_collateral:"Eine Sicherheit wurde bezahlt",create_worker:"Ein Budgetpunkt wurde erzeugt. Bezahlung",custom:"Eine benutzerdefinierte Operation wurde definiert",order_id:"Anweisungskennung (ID)",balance_claim:"Guthaben von %(balance_amount)s der Guthabenskennung (ID) #%(balance_id)s wurde beansprucht",balance_owner:"Schlüssel des Guthabeneigentümers",balance_id:"Guthabenskennung (ID)",deposit_to:"Dem Konto gutgeschrieben",claimed:"Ingesamt beantsprucht",trxTypes:{transfer:"Überweisung",limit_order_create:"Limit-Order",limit_order_cancel:"Limit-Order abbrechen",call_order_update:"Call-Order aktualisieren",account_create:"Konto erstellen",account_update:"Kontoaktualisierung",account_whitelist:"Konto Positivliste",account_upgrade:"Konto Upgrade",account_transfer:"Konto Überweisung",asset_create:"Asset erstellen",asset_update:"Asset aktualisieren",asset_update_bitasset:"SmartCoin aktualisieren",asset_update_feed_producers:"Asset Feederzeuger aktualisieren",asset_issue:"Asset emittieren",asset_reserve:"Assetanteile vernichten",asset_fund_fee_pool:"Asset Gebührenpool finanzieren",asset_settle:"Asset Settlement",asset_global_settle:"Globales Asset Settlement",asset_publish_feed:"Asset Feed publiszieren",delegate_create:"Delegate erstellen",witness_create:"Witness erstellen",witness_withdraw_pay:"Witnesslohn ausbezahlen",proposal_create:"Proposal erstellen",proposal_update:"Proposal aktualisieren",proposal_delete:"Proposal löschen",withdraw_permission_create:"Einzugsermächtigung erstellen",withdraw_permission_update:"Einzugsermächtigung aktualisiert",withdraw_permission_claim:"Einzugsermächtigung eingefordert",withdraw_permission_delete:"Einzugsermächtigung aufgehoben",fill_order:"Order ausgeführt",delegate_update_global_parameters:"Globale Parameters aktualisiert",vesting_balance_create:"Sperrfristguthaben erstellt",vesting_balance_withdraw:"Sperrfristguthaben eingefordert",worker_create:"Budgetpunkt erstellt",custom:"benutzerdefiniert",assert:"Assert Pperation",balance_claim:"Guthaben eingefordert",override_transfer:"Transaktion überschreiben"}},explorer:{accounts:{title:"Konten"},blocks:{title:"Blockchain",globals:"Globale Einstellungen",recent:"Letzte Blöcke"},block:{title:"Block",id:"Block ID",witness:"Witness",count:"Transaktionszähler",date:"Datum",previous:"Vorherige",previous_secret:"Vorheriges Geheimnis",next_secret:"Hash des nächsten Geheimnisses",op:"Aktion",trx:"Transaktion",op_type:"Aktionstyp",fee_payer:"Gebührenkonto",key:"Öffentlicher Schlüssel",transactions:"Anzahl der Transaktionen",account_upgrade:"Kontoerweiterung",lifetime:"Lebenslanges Mitglied werden",authorizing_account:"Kontovollmacht",listed_account:"Kontenübersicht",new_listing:"Neuer Eintrag",asset_update:"zu aktualisierender Asset",common_options:"Common Optionen",new_options:"New Option",new_producers:"Neue Feederzeuger",asset_issue:"Zu emittierender Betrag",max_margin_period_sec:"Max Margin Periode (s)",call_limit:"Call-Limit",short_limit:"Short-Limit",settlement_price:"Settlement-Preis"},assets:{title:"Assets",market:"SmartCoins",user:"User Issued Assets",symbol:"Symbol",id:"ID",issuer:"Herausgeber",precision:"Genauigkeit"},asset:{title:"Asset",not_found:"Das Asset %(name)s existiert nicht"},witnesses:{title:"Witnesses"},delegates:{title:"Delegates"},delegate:{title:"Delegate"},workers:{title:"Budgetpunkte"},proposals:{title:"Vorschlag"},account:{title:"Konto"}},settings:{inverseMarket:"Bevorzugte Marktorientierung",unit:"Bevorzugte Rechnungseinheit",confirmMarketOrder:"Nach Bestätigung für Marktanweisungen fragen",locale:"Sprache wechseln",confirm_yes:"Immer",confirm_no:"Nie",always_confirm:"Für jede Transaction nach Bestätigung fragen"},footer:{title:"Graphene",block:"Spitzenblock"},exchange:{price_history:"Preisverlauf",order_depth:"Ordertiefe",market_history:"Marktverlauf",balance:"Guthaben",total:"Ingesammt",value:"Wert",price:"Preis",latest:"Letzer Preis",call:"Call Preis",volume:"Volumen",spread:"Spread",quantity:"Quantität",buy:"Kaufen",sell:"Verkaufen",confirm_buy:"Bestätigen Sie die Anweisung: Kauf von %(buy_amount)s %(buy_symbol)s zum Preis von %(price_amount)s %(price_symbol)s",confirm_sell:"Bestätigen Sie die Anweisung: Verkauf von %(sell_amount)s %(sell_symbol)s zum Preis von %(price_amount)s %(price_symbol)s"},markets:{choose_base:"Wählen Sie Ihre Grundwährung (base)",filter:"Filter",core_rate:"Kernrate:",supply:"Verfügbarkeit"}}},function(e,t){"use strict";e.exports={languages:{en:"English",cn:"简体中文",fr:"Français",ko:"한국어",de:"Deutsch"},header:{title:"Graphene",dashboard:"Accueil",explorer:"Explorer",exchange:"Échange",payments:"Paiments",logout:"Déconnexion",settings:"Options",current:"Mon Compte"},account:{asset:"Actif",market_value:"Valeur",hour_24:"24hrs",recent:"Activité recent",name:"Nom du compte",more:"voir plus",member:{stats:"Stats membre",join:"Inscription",reg:"Enregistré par",ref:"Recruté par",ref_percentage:"Pourcentage de frais pour le recruteur",network_percentage:"Pourcentage de frais pour le reseau",fees_paid:"Frais payé",fees_pending:"Frais en attente",fees_vested:"Frais en attente bloqué",in_orders:"Total de %(core_asset)s en ordres",referrals:"Recrutements",rewards:"Gains totaux",cashback:"Gagné",vested:"Bloqué"},connections:{known:"Connu par",black:"Blacklisté par"},perm:{active:"Permissions actifs",owner:"Permissions de proprietaire",publish:"Publier les changements",reset:"Annuler les changements",add:"Rajouter une permission",type:"Type",key:"Cléf/Nom",weight:"Poids",threshold:"Limite",confirm_add:"Rajouter",cancel:"Annuler"},votes:{proxy:"Proxy Voting Account",name:"Nom",info:"Info",support:"Support",workers:"Ouvriers"},upgrade:"Mettre à niveau",unlink:"Délier",link:"Lier",pay:"Payer",overview:"Sommaire",history:"Historique",payees:"Payees",permissions:"Permissions",voting:"Votes",orders:"Ordres",select_placeholder:"Selectionnez un compte..",errors:{not_found:"Le compte %(name)s n'existe pas, veuillez vérifier le nom"}},transfer:{from:"De",amount:"Montant",to:"À",memo:"Message",fee:"Frais",send:"Envoyer","final":"Soldes finaux",balances:"Soldes",errors:{req:"Champ obligatoire",pos:"Le montant doit étre positif",valid:"Veuillez rentrer un chiffre positif",balance:"Le solde final doit être superieur à 0"},back:"REVENIR",confirm:"CONFIRMER",broadcast:"Votre transfert a bien été soumis au reseau",again:"FAIRE UN AUTRE TRANSFERT",see:"VOIRE MES TRANSFERTS"},transaction:{sent:"A envoyé",to:"à",received:"A reçu",from:"de",amount_sell:"Montant à vendre",expiration:"Expiration",fill_or:"Fill or kill",min_receive:"Montant minimum à recevoir",seller:"Vendeur",collateral:"Collateral",coll_ratio:"Ratio de collateral initiale",coll_maint:"Ratio de Collateral de maintenance",create_key:"A créé une cléf public",reg_account:"A créé le compte",was_reg_account:" a été créé par",create_asset:"A créé l'actif",limit_order:"A placé un ordre à limite pour vendre",limit_order_buy:"A placé un ordre à limite pour acheter",limit_order_cancel:"Annulation de l'ordre à limite avec id",short_order:"A placé un ordre à découvert pour vendre",at:"à",coll_of:"avec collateral de",call_order_update:"A mis à jour un ordre à découvert",upgrade_account:"A mis à niveau le compte",update_account:"A mis à jour le compte",whitelist_account:"A whitelisté le compte",whitelisted_by:"A été whitelisté par le compte",transfer_account:"A transferé le compte",update_asset:"A mis à jour l'actif",update_feed_producers:"A mis à jour les fornisseurs de flux de l'actif",feed_producer:"Est devenu un fornisseur de flux pour l'actif",asset_issue:"A assigné",was_issued:"A été assigné",by:"par",burn_asset:"A détruit",fund_pool:"A financé un pot de frais avec",asset_settle:"Requested settlement of",asset_global_settle:"Requested global settlement of",publish_feed:"A publié un nouveau flux pour l'actif",delegate_create:"A créé le délégué",witness_create:"A créé le témoin",witness_pay:"A retiré",proposal_create:"A créé une proposition",proposal_update:"A mis à jour une proposition",proposal_delete:"A supprimé une proposition",withdraw_permission_create:"A donné une permission de retrait du compte",withdraw_permission_update:"A mis à jour les permissions de retrait du compte",withdraw_permission_claim:"A pris les permissions de retrait du compte",withdraw_permission_delete:"A supprimé les permissions de retrait du compte",paid:"A payé",obtain:"pour obtenir",global_parameters_update:"A mis à jour les parametres globaux",file_write:"A écrit un fichier",vesting_balance_create:"a créé un solde bloqué pour","for":"pour",vesting_balance_withdraw:"A retiré du solde bloqué",bond_create_offer:"A créé une offre d'obligation",bond_cancel_offer:"A annulé l'offre d'obligation",bond_accept_offer:"A accepté l'offre d'obligation pour",bond_claim_collateral:"A récuperé un collateral de",bond_pay_collateral:"A payé un collateral de",create_worker:"A créé un ouvrier avec un salaire de",custom:"A créé une operation spéciale",order_id:"ID de l'ordre",balance_claim:"A recuperé un solde de %(balance_amount)s du solde ID #%(balance_id)s",balance_owner:"Clèf du solde",balance_id:"ID du solde",deposit_to:"Versé sur le compte",claimed:"Total recuperé",trxTypes:{transfer:"Transfert",limit_order_create:"Ordre à limite",limit_order_cancel:"Annulation d'ordre à limite",call_order_update:"Mise à jour d'ordre à découvert",account_create:"Création de compte",account_update:"Mise à jour de compte",account_whitelist:"Whiteliste de compte",account_upgrade:"Mise à niveau de compte",account_transfer:"Transfert de compte",asset_create:"Creation d'actif",asset_update:"Mise à jour d'actif",asset_update_bitasset:"Mise à jour d'actif de marché",asset_update_feed_producers:"Mise à jour des flux",asset_issue:"Assigner d'un actif",asset_reserve:"Destruction d'actif",asset_fund_fee_pool:"Financement de pot de frais",asset_settle:"Couvrement d'actif",asset_global_settle:"Couvrement global d'actif",asset_publish_feed:"Publication de flux",delegate_create:"Création de délégué",witness_create:"Création de témoin",witness_withdraw_pay:"Retrait de salaire de témoin",proposal_create:"Création d'une proposition",proposal_update:"Mise à jour d'une proposition",proposal_delete:"Suppresion d'une proposition",withdraw_permission_create:"Accord de permission de retrait",withdraw_permission_update:"Mise à jour de permission de retrait",withdraw_permission_claim:"Prise de permissions de retrait",withdraw_permission_delete:"Suppresion des permissions de retrait",fill_order:"Remplissage d'ordre",delegate_update_global_parameters:"Mise à jour des parametres globaux",vesting_balance_create:"Création de solde bloqué",vesting_balance_withdraw:"Retrait de solde bloqué",worker_create:"Création d'ouvrier",custom:"Spécial",assert:"Assert operation",balance_claim:"Récuperation de solde",override_transfer:"Forcing de transfert"}},explorer:{accounts:{title:"Comptes"},blocks:{title:"Blockchain",globals:"Parametres globaux",recent:"Blocs recent"},block:{title:"Bloc",id:"ID du bloc",witness:"Témoin",count:"Nombre de transactions",date:"Date",previous:"Précédent",previous_secret:"Précédent secret",next_secret:"Prochain hash secret",op:"Operation",trx:"Transaction",op_type:"Type d'operation",fee_payer:"Compte payant le frai",key:"Cléf public",transactions:"Nombre de transactions",account_upgrade:"Compte à mettre à niveau",lifetime:"Devenir membre à vie",authorizing_account:"Compte donnant l'autorisation",listed_account:"Compte etant autorisé",new_listing:"Nouvel autorisation",asset_update:"Actif à mettre à jour",common_options:"Options",new_options:"Nouvelles options",new_producers:"Nouveaux fornisseurs de flux",asset_issue:"Montant à créer",max_margin_period_sec:"Periode max de marge (s)",call_limit:"Limite de couverture",short_limit:"Limite de short",settlement_price:"Prix de règlement"},assets:{title:"Actifs",market:"SmartCoins",user:"Actifs des utilisateurs",symbol:"Symbol",id:"ID",issuer:"Créateur",precision:"Précision"},asset:{title:"Actif",not_found:"L'actif %(name)s n'existe pas"},witnesses:{title:"Témoins"},delegates:{title:"Délégués"},delegate:{title:"Delegate"},workers:{title:"Ouvriers"},proposals:{title:"Propositions"},account:{title:"Compte"}},settings:{inverseMarket:"Orientation préféré pour les marchés",unit:"Unité de valeur préféré",confirmMarketOrder:"Demander une confirmation pour des ordres du marché",locale:"Changer de langue",confirm_yes:"Toujours",confirm_no:"Jamais",always_confirm:"Toujours demander une confirmation"},footer:{title:"Graphene",block:"Bloc courant"},exchange:{price_history:"Historique du prix",order_depth:"Carnet d'ordres",market_history:"Historique du marché",balance:"Solde",total:"Total",value:"Valeur",price:"Prix",latest:"Dernier Prix",call:"Prix de flux",volume:"Volume",spread:"Spread",quantity:"Quantité",buy:"Acheter",sell:"Vendre",confirm_buy:"Confirmation d'ordre: Acheter %(buy_amount)s %(buy_symbol)s au prix de %(price_amount)s %(price_symbol)s",confirm_sell:"Confirmation d'ordre: Vendre %(sell_amount)s %(sell_symbol)s au prix de %(price_amount)s %(price_symbol)s"},markets:{choose_base:"Selectionner l'actif de base",filter:"Filtrer",core_rate:"Taux de base",supply:"Réserve",search:"Chercher"}}},function(e,t){"use strict";e.exports={languages:{en:"English",cn:"简体中文",fr:"Français",ko:"한국어",de:"Deutsch"},header:{title:"그래핀 UI",dashboard:"대시보드",explorer:"탐색기",exchange:"거래소",payments:"전송",logout:"로그아웃",settings:"설정",current:"현재 계정"},account:{asset:"자산",market_value:"시장가치",hour_24:"24시간 변동액",recent:"최근 활동",name:"계정명",member:{stats:"회원 정보",join:"가입일",reg:"Registered by",ref:"Referred by",referrals:"Referrals",rewards:"Cashback Rewards",cashback:"캐쉬백",vested:"Vested"},connections:{known:"Known by",black:"Blacklisted by"}},transfer:{from:"보내는 사람",amount:"금액",to:"받는 사람",memo:"메모",fee:"수수료",send:"전송","final":"전송 후 잔고",balances:"잔고",errors:{req:"필수 입력",pos:"금액은 양수를 입력해주세요",valid:"유효한 값을 입력해주세요"},back:"뒤로가기",confirm:"확인",broadcast:"전송요청이 네트워크에 전파되었습니다",again:"전송요청 추가",see:"전송내역 보기"},transaction:{sent:"전송됨",to:"받는 사람",received:"수신됨",from:"보낸 사람",amount_sell:"판매 금액",expiration:"만기",fill_or:"Fill or kill",min_receive:"Minimum amount to receive",seller:"판매자",collateral:"담보",coll_ratio:"초기 담보 비율",coll_maint:"담보 유지 비율",create_key:"공개키 생성",reg_account:"계정 등록",was_reg_account:"registered by",create_asset:"자산 생성",limit_order:"매도주문 요청",limit_order_buy:"매수주문 요청",limit_order_cancel:"주문 취소",short_order:"공매도주문 요청",short_order_cancel:"공매도 취소",at:"at",coll_of:"with collateral of",call_order_update:"콜 주문 업데이트",upgrade_account:"평생회원으로 업그레이드",update_account:"계정 업데이트",whitelist_account:"계정을 화이트리스트에 추가",whitelisted_by:"화이트리스트에 추가됨",transfer_account:"계정 이전",update_asset:"자산 업데이트",update_feed_producers:"Updated the feed producers of asset",feed_producer:"자산에 대한 가격정보 제공자로 추가됨",asset_issue:"발행",was_issued:"발행됨",by:"by",burn_asset:"소각",fund_pool:"자산 수수료 기금을 충전",asset_settle:"다음 자산에 대한 강제청산을 요청",asset_global_settle:"전체 자산 강제청산을 요청",publish_feed:"자산에 대한 가격정보를 발행",delegate_create:"대표자 생성",witness_create:"증인 생성",witness_pay:"증인 봉급을 다음 계정으로 인출",witness_receive:"Received witness from witness",proposal_create:"제안서를 생성",proposal_update:"제안서를 업데이트",proposal_delete:"제안서를 삭제",withdraw_permission_create:"다음 계정에 출금 권한을 부여",withdraw_permission_update:"다음 계정의 출금 권한을 업데이트",withdraw_permission_claim:"다음 계정에 출금 권한을 요청",withdraw_permission_delete:"다음 계정에 출금 권한을 삭제",paid:"지불됨",obtain:"to obtain",global_parameters_update:"전체 매개변수를 업데이트",file_write:"파일 쓰기",vesting_balance_create:"created vesting balance of","for":"for",vesting_balance_withdraw:"Withdrew vesting balance of",bond_create_offer:"Created bond offer",bond_cancel_offer:"Cancelled bond offer",bond_accept_offer:"Accepted bond offer of",bond_claim_collateral:"Claimed collateral of",bond_pay_collateral:"Paid collateral of",create_worker:"Created a worker with a pay of",custom:"Created a custom operation",order_id:"주문 ID",trxTypes:{transfer:"전송",limit_order_create:"주문",limit_order_cancel:"주문 취소",call_order_update:"Update call order",account_create:"계정 생성",account_update:"계정 업데이트",account_whitelist:"계정 화이트리스트",account_upgrade:"계정 업그레이드",account_transfer:"계정 거래",asset_create:"자산 생성",asset_update:"자산 업데이트",asset_update_bitasset:"스마트코인 업데이트",asset_update_feed_producers:"자산 피드 생성자 업데이트",asset_issue:"자산 발행",asset_reserve:"자산 소각",asset_fund_fee_pool:"자산 수수료 기금 충전",asset_settle:"자산 강제청산",asset_global_settle:"자산 전체 강제청산",asset_publish_feed:"자산 가격정보 발행",delegate_create:"대표자 생성",witness_create:"증인 생성",witness_withdraw_pay:"증인 봉급 인출",proposal_create:"제안서 생성",proposal_update:"제안서 업데이트",proposal_delete:"제안서 삭제",withdraw_permission_create:"출금권한 생성",withdraw_permission_update:"출금권한 업데이트",withdraw_permission_claim:"출금권한 요청",withdraw_permission_delete:"출금권한 삭제",fill_order:"매매 체결",delegate_update_global_parameters:"전체 매개변수 업데이트",vesting_balance_create:"Create vesting balance",vesting_balance_withdraw:"Withdraw vesting balance",worker_create:"직원 생성",custom:"사용자 정의",assert:"Assert operation",balance_claim:"Claim balance",override_transfer:"Override transfer"}},explorer:{accounts:{title:"계정"},blocks:{title:"블록체인",globals:"Global parameters",recent:"최근 블록"},block:{title:"블록",id:"블록 ID",witness:"증인",count:"거래 수",date:"일시",previous:"이전",previous_secret:"이전 비밀해쉬",next_secret:"다음 비밀해쉬",op:"Operation",trx:"거래",op_type:"Operation type",fee_payer:"수수료 지불 계정",key:"공개키",transactions:"거래 수",account_upgrade:"업그레이드할 계정",lifetime:"평생회원으로 업그레이드",authorizing_account:"계정 인증",listed_account:"Listed account",new_listing:"New listing",asset_update:"업데이트할 자산",common_options:"Common options",new_options:"New options",new_producers:"새로운 가격정보 발행자",asset_issue:"발행량",max_margin_period_sec:"Max margin period (s)",call_limit:"콜 한도",short_limit:"공매도 한도",settlement_price:"강제청산 가격"},assets:{title:"자산",market:"스마트코인",user:"사용자 자산",symbol:"기호",id:"ID",issuer:"발행자",precision:"소수 자리수"},asset:{title:"자산"},witnesses:{title:"증인"},delegates:{title:"대표자"},delegate:{title:"대표자"},workers:{title:"직원"},proposals:{title:"제안서"},account:{title:"계정"}},settings:{inverseMarket:"선호 거래단위",unit:"선호 화폐단위",confirmMarketOrder:"Ask for confirmation of market orders",locale:"언어 전환",confirm_yes:"Always",confirm_no:"Never",always_confirm:"Always ask for confirmation"}}},function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n,o=function(){function e(e,t){for(var a=0;a"),e.ws_rpc.login("","").then(function(){e._db_api.init(),e._network_api.init(),e._history_api.init()})},Promise.all([t,e._network_api.init(),e._history_api.init()])}))}},{key:"close",value:function(){this.ws_rpc.close(),this.ws_rpc=null}},{key:"db_api",value:function(){return this._db_api}},{key:"network_api",value:function(){return this._network_api}},{key:"history_api",value:function(){return this._history_api}}]),e}();e.exports={instance:function(){return n||(n=new l),n.connect(),n}}},function(e,t,a){(function(t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n=function(){function e(e,t){for(var a=0;a id:",this.current_callback_id+1,e),this.current_callback_id+=1;var t=this;if(("subscribe_to_objects"===e[1]||"subscribe_to_market"===e[1]||"broadcast_transaction_with_callback"===e[1])&&(t.subscriptions[t.current_callback_id]={callback:e[2][0],params:o.fromJS(e[2][1])},e[2][0]=this.current_callback_id),"get_full_accounts"===e[1]){var a=e[2][1][0],r=!1;for(var n in t.subscriptions)if(t.subscriptions[n].account&&t.subscriptions[n].account===a){r=!0,e[2][0]=n;break}r||(t.subscriptions[t.current_callback_id]={callback:e[2][0].bind(a),account:a,params:o.fromJS(e[2][1])},e[2][0]=t.current_callback_id)}if("unsubscribe_from_objects"===e[1]||"unsubscribe_from_market"===e[1]||"unsubscribe_from_accounts"===e[1]){var s=o.fromJS(e[2][0]);for(var l in t.subscriptions)if(o.is(t.subscriptions[l].params,s)){t.unsub[this.current_callback_id]=l;break}}var u={method:"call",params:e};return u.id=this.current_callback_id,new Promise(function(e,a){t.callbacks[t.current_callback_id]={time:new Date,resolve:e,reject:a},t.web_socket.onerror=function(e){console.log("!!! WebSocket Error ",e),a(e)},t.web_socket.send(JSON.stringify(u))})}},{key:"listener",value:function(e){i&&console.log("[websocketrpc] <--- reply ----",e);var t=!1,a=null;"notice"===e.method&&(t=!0,e.id=e.params[0]),a=t?this.subscriptions[e.id].callback:this.callbacks[e.id],a&&!t?(e.error?a.reject(e.error):a.resolve(e.result),delete this.callbacks[e.id],this.unsub[e.id]&&(delete this.subscriptions[this.unsub[e.id]],delete this.unsub[e.id])):a&&t?a(e.params[1]):console.log("Warning: unknown websocket response: ",e)}},{key:"login",value:function(e,t){var a=this;return this.connect_promise.then(function(){return a.call([1,"login",[e,t]])})}},{key:"close",value:function(){this.web_socket.close()}}]),e}();e.exports=s}).call(t,a(175))},586,function(e,t,a){var r,n,o;!function(a,i){n=[],r=i,o="function"==typeof r?r.apply(t,n):r,!(void 0!==o&&(e.exports=o))}(this,function(){function e(t,a,r){function n(e,t){var a=document.createEvent("CustomEvent");return a.initCustomEvent(e,!1,!1,t),a}var o={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null,binaryType:"blob"};r||(r={});for(var i in o)"undefined"!=typeof r[i]?this[i]=r[i]:this[i]=o[i];this.url=t,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var s,l=this,u=!1,c=!1,d=document.createElement("div");d.addEventListener("open",function(e){l.onopen(e)}),d.addEventListener("close",function(e){l.onclose(e)}),d.addEventListener("connecting",function(e){l.onconnecting(e)}),d.addEventListener("message",function(e){l.onmessage(e)}),d.addEventListener("error",function(e){l.onerror(e)}),this.addEventListener=d.addEventListener.bind(d),this.removeEventListener=d.removeEventListener.bind(d),this.dispatchEvent=d.dispatchEvent.bind(d),this.open=function(t){if(s=new WebSocket(l.url,a||[]),s.binaryType=this.binaryType,t){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else d.dispatchEvent(n("connecting")),this.reconnectAttempts=0;(l.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",l.url);var r=s,o=setTimeout(function(){(l.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",l.url),c=!0,r.close(),c=!1},l.timeoutInterval);s.onopen=function(a){clearTimeout(o),(l.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onopen",l.url),l.protocol=s.protocol,l.readyState=WebSocket.OPEN,l.reconnectAttempts=0;var r=n("open");r.isReconnect=t,t=!1,d.dispatchEvent(r)},s.onclose=function(a){if(clearTimeout(o),s=null,u)l.readyState=WebSocket.CLOSED,d.dispatchEvent(n("close"));else{l.readyState=WebSocket.CONNECTING;var r=n("connecting");r.code=a.code,r.reason=a.reason,r.wasClean=a.wasClean,d.dispatchEvent(r),t||c||((l.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",l.url),d.dispatchEvent(n("close")));var o=l.reconnectInterval*Math.pow(l.reconnectDecay,l.reconnectAttempts);setTimeout(function(){l.reconnectAttempts++,l.open(!0)},o>l.maxReconnectInterval?l.maxReconnectInterval:o)}},s.onmessage=function(t){(l.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",l.url,t.data);var a=n("message");a.data=t.data,d.dispatchEvent(a)},s.onerror=function(t){(l.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",l.url,t),d.dispatchEvent(n("error"))}},1==this.automaticOpen&&this.open(!1),this.send=function(t){if(s)return(l.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","send",l.url,t),s.send(t);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(e,t){"undefined"==typeof e&&(e=1e3),u=!0,s&&s.close(e,t)},this.refresh=function(){s&&s.close()}}if("WebSocket"in window)return e.prototype.onopen=function(e){},e.prototype.onclose=function(e){},e.prototype.onconnecting=function(e){},e.prototype.onmessage=function(e){},e.prototype.onerror=function(e){},e.debugAll=!1,e.CONNECTING=WebSocket.CONNECTING,e.OPEN=WebSocket.OPEN,e.CLOSING=WebSocket.CLOSING,e.CLOSED=WebSocket.CLOSED,e})},function(e,t,a){function r(e,t){var a;return a=t?new o(e,t):new o(e)}var n=function(){return this}(),o=n.WebSocket||n.MozWebSocket;e.exports={w3cwebsocket:o?r:null,version:a(432)}},function(e,t,a){e.exports=a(433).version},function(e,t){e.exports={name:"websocket",description:"Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.",keywords:["websocket","websockets","socket","networking","comet","push","RFC-6455","realtime","server","client"],author:{name:"Brian McKelvey",email:"brian@worlize.com",url:"https://www.worlize.com/"},contributors:[{name:"Iñaki Baz Castillo",email:"ibc@aliax.net",url:"http://dev.sipdoc.net"}],version:"1.0.21",repository:{type:"git",url:"git+https://github.com/theturtle32/WebSocket-Node.git"},homepage:"https://github.com/theturtle32/WebSocket-Node",engines:{node:">=0.8.0"},dependencies:{debug:"~2.2.0",nan:"~1.8.x","typedarray-to-buffer":"~3.0.3",yaeti:"~0.0.4"},devDependencies:{"buffer-equal":"^0.0.1",faucet:"^0.0.1",gulp:"git+https://github.com/gulpjs/gulp.git#4.0","gulp-jshint":"^1.11.2","jshint-stylish":"^1.0.2",tape:"^4.0.1"},config:{verbose:!1},scripts:{install:"(node-gyp rebuild 2> builderror.log) || (exit 0)",test:"faucet test/unit",gulp:"gulp"},main:"index",directories:{lib:"./lib"},browser:"lib/browser.js",license:"Apache-2.0",gitHead:"8f5d5f3ef3d946324fe016d525893546ff6500e1",bugs:{url:"https://github.com/theturtle32/WebSocket-Node/issues"},_id:"websocket@1.0.21",_shasum:"f51f0a96ed19629af39922470ab591907f1c5bd9",_from:"websocket@>=1.0.18 <2.0.0",_npmVersion:"2.12.1",_nodeVersion:"2.3.4",_npmUser:{name:"theturtle32",email:"brian@worlize.com"},maintainers:[{name:"theturtle32",email:"brian@worlize.com"}],dist:{shasum:"f51f0a96ed19629af39922470ab591907f1c5bd9",tarball:"http://registry.npmjs.org/websocket/-/websocket-1.0.21.tgz"},_resolved:"https://registry.npmjs.org/websocket/-/websocket-1.0.21.tgz"}},function(e,t){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,t){for(var a=0;a0?e.forEach(function(e){t.push({amount:parseInt(e.balance,10),asset_id:e.asset_type})}):t=[{amount:0,asset_id:"1.3.0"}],t}if(null===e.fullAccount)return this.cachedAccounts=this.cachedAccounts.set(e.name,{notFound:!0}),!0;var a=e.fullAccount,r=a.account,n=a.vesting_balances,o=a.statistics,i=a.call_orders,s=a.limit_orders,l=a.referrer_name,u=a.registrar_name,c=a.lifetime_referrer_name;if(e.sub){if(e.history_updates){var d=this.accountHistories.get(e.account_name),f=!0,p=!1,m=void 0;try{for(var h,g=e.history_updates[Symbol.iterator]();!(f=(h=g.next()).done);f=!0){var b=h.value;d.unshift(b)}}catch(v){p=!0,m=v}finally{try{!f&&g["return"]&&g["return"]()}finally{if(p)throw m}}this.accountHistories=this.accountHistories.set(e.account_name,d)}if(e.balance_updates){for(var w=this.balances.get(e.account_name),_=t(e.balance_updates),k=0;k<_.length;k++)for(var E=0;E0)this.setCurrentAccount(this.linkedAccounts.first());else{var e=this.cachedAccounts.first();e&&"nathan"===e.name&&"GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV"===e.owner.key_auths[0][0]&&this.setCurrentAccount("nathan")}}},{key:"setCurrentAccount",value:function(e){e?this.currentAccount={name:e,id:this.account_name_to_id[e]}:this.currentAccount=null}},{key:"onSetCurrentAccount",value:function(e){this.setCurrentAccount(e)}},{key:"onTransfer",value:function(e){}},{key:"onAddAccount",value:function(e){this.onCreateAccount(e)}},{key:"onCreateAccount",value:function(e){var t=this,a=e;if("string"==typeof a&&(a={name:a}),a.toJS&&(a=a.toJS()),!k["default"].is_account_name(a.name))throw new Error("Invalid account name: "+a.name);b["default"].add_to_store("linked_accounts",a).then(function(){console.log("[AccountStore.js] ----- Added account to store: ----->",name),t.linkedAccounts=t.linkedAccounts.add(a.name),1===t.linkedAccounts.size&&t.setCurrentAccount(a.name)})}},{key:"onUpgradeAccount",value:function(e){console.log("[AccountStore.js] ----- onUpgradeAccount ----->",e)}},{key:"onLinkAccount",value:function(e){b["default"].add_to_store("linked_accounts",{name:e}),this.linkedAccounts=this.linkedAccounts.add(e),1===this.linkedAccounts.size&&this.setCurrentAccount(e)}},{key:"onUnlinkAccount",value:function(e){b["default"].remove_from_store("linked_accounts",e),this.linkedAccounts=this.linkedAccounts.remove(e),0===this.linkedAccounts.size&&this.setCurrentAccount(null)}},{key:"onTransactUpdateAccount",value:function(e){console.log("[AccountStore.js:154] ----- onTransactUpdateAccount ----->",e)}},{key:"onChange",value:function(){}}]),t}(u["default"]);e.exports=p["default"].createStore(E,"AccountStore")},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var a=0;a",c),new Promise(function(e,t){t(c)})}return u}},{key:"addAccount",value:function(e){this.dispatch(e)}},{key:"createAccount",value:function(e,t,a){var r=this,n=arguments.length<=3||void 0===arguments[3]?100:arguments[3];return g["default"].createBrainKeyAccount(e,t,a,n).then(function(){return r.dispatch(e),e})}},{key:"upgradeAccount",value:function(e){var t=_.new_transaction();return t.add_type_operation("account_upgrade",{fee:{amount:0,asset_id:0},account_to_upgrade:e,upgrade_to_lifetime_member:!0}),h["default"].process_transaction(t,null,!0)}},{key:"linkAccount",value:function(e){this.dispatch(e)}},{key:"unlinkAccount",value:function(e){this.dispatch(e)}},{key:"change",value:function(){this.dispatch()}}]),e}();e.exports=s["default"].createActions(E)},function(e,t,a){"use strict";var r=a(439),n=a(440),o=/\b\d+\.\d+\.(\d+)\b/,i={get_object_id:function(e){var t=o.exec(e);return t?Number.parseInt(t[1]):0},is_object_id:function(e){if("string"!=typeof e)return!1;var t=o.exec(e);return null!==t&&3===e.split(".").length},get_asset_precision:function(e){return Math.pow(10,e)},get_asset_amount:function(e,t){return e/this.get_asset_precision(t.precision)},get_asset_price:function(e,t,a,r){return this.get_asset_amount(e,t)/this.get_asset_amount(a,r)},format_number:function(e,t){for(var a=".",r=0;t>r;r++)a+="0";return n(e).format("0,0"+a)},format_asset:function(e,t,a){var r=this.get_asset_precision(t.precision);return""+this.format_number(e/r,t.precision)+(a?"":" "+t.symbol)},format_price:function(e,t,a,r,n,o){var i=this.get_asset_precision(t.precision),s=this.get_asset_precision(r.precision);return o?parseInt(t.id.split(".")[2],10)parseInt(r.id.split(".")[2],10)?""+this.format_number(e/i/(a/s),Math.max(5,t.precision))+(n?"":" "+t.symbol+"/"+r.symbol):""+this.format_number(a/s/(e/i),Math.max(5,r.precision))+(n?"":" "+r.symbol+"/"+t.symbol)},get_op_type:function(e){var t=parseInt(e.split(".")[1],10);for(var a in r.object_type)if(r.object_type[a]===t)return a}};e.exports=i},function(e,t){var a;e.exports=a={},a.reserved_spaces={relative_protocol_ids:0,protocol_ids:1,implementation_ids:2},a.object_type={"null":0,base:1,account:2,asset:3,force_settlement:4,committee_member:5,witness:6,limit_order:7,call_order:8,custom:9,proposal:10,operation_history:11,withdraw_permission:12,vesting_balance:13,worker:14,balance:15},a.vote_type={committee:0,witness:1,worker:2},a.operations={transfer:0,limit_order_create:1,limit_order_cancel:2,call_order_update:3,fill_order:4,account_create:5,account_update:6,account_whitelist:7,account_upgrade:8,account_transfer:9,asset_create:10,asset_update:11,asset_update_bitasset:12,asset_update_feed_producers:13,asset_issue:14,asset_reserve:15,asset_fund_fee_pool:16,asset_settle:17,asset_global_settle:18,asset_publish_feed:19,witness_create:20,proposal_create:21,proposal_update:22,proposal_delete:23,withdraw_permission_create:24,withdraw_permission_update:25,withdraw_permission_claim:26,withdraw_permission_delete:27,committee_member_create:28,committee_member_update_global_parameters:29,vesting_balance_create:30,vesting_balance_withdraw:31,worker_create:32,custom:33,assert:34,balance_claim:35,override_transfer:36,transfer_to_blind:37,blind_transfer:38,transfer_from_blind:39}},function(e,t,a){var r,n;/*!
+ * numeral.js
+ * version : 1.5.3
+ * author : Adam Draper
+ * license : MIT
+ * http://adamwdraper.github.com/Numeral-js/
+ */
+(function(){function a(e){this._value=e}function o(e,t,a,r){var n,o,i=Math.pow(10,t);return o=(a(e*i)/i).toFixed(t),r&&(n=new RegExp("0{1,"+r+"}$"),o=o.replace(n,"")),o}function i(e,t,a){var r;return r=t.indexOf("$")>-1?l(e,t,a):t.indexOf("%")>-1?u(e,t,a):t.indexOf(":")>-1?c(e,t):f(e._value,t,a)}function s(e,t){var a,r,n,o,i,s=t,l=["KB","MB","GB","TB","PB","EB","ZB","YB"],u=!1;if(t.indexOf(":")>-1)e._value=d(t);else if(t===w)e._value=0;else{for("."!==b[v].delimiters.decimal&&(t=t.replace(/\./g,"").replace(b[v].delimiters.decimal,".")),a=new RegExp("[^a-zA-Z]"+b[v].abbreviations.thousand+"(?:\\)|(\\"+b[v].currency.symbol+")?(?:\\))?)?$"),r=new RegExp("[^a-zA-Z]"+b[v].abbreviations.million+"(?:\\)|(\\"+b[v].currency.symbol+")?(?:\\))?)?$"),n=new RegExp("[^a-zA-Z]"+b[v].abbreviations.billion+"(?:\\)|(\\"+b[v].currency.symbol+")?(?:\\))?)?$"),o=new RegExp("[^a-zA-Z]"+b[v].abbreviations.trillion+"(?:\\)|(\\"+b[v].currency.symbol+")?(?:\\))?)?$"),i=0;i<=l.length&&!(u=t.indexOf(l[i])>-1?Math.pow(1024,i+1):!1);i++);e._value=(u?u:1)*(s.match(a)?Math.pow(10,3):1)*(s.match(r)?Math.pow(10,6):1)*(s.match(n)?Math.pow(10,9):1)*(s.match(o)?Math.pow(10,12):1)*(t.indexOf("%")>-1?.01:1)*((t.split("-").length+Math.min(t.split("(").length-1,t.split(")").length-1))%2?1:-1)*Number(t.replace(/[^0-9\.]+/g,"")),e._value=u?Math.ceil(e._value):e._value}return e._value}function l(e,t,a){var r,n,o=t.indexOf("$"),i=t.indexOf("("),s=t.indexOf("-"),l="";return t.indexOf(" $")>-1?(l=" ",t=t.replace(" $","")):t.indexOf("$ ")>-1?(l=" ",t=t.replace("$ ","")):t=t.replace("$",""),n=f(e._value,t,a),1>=o?n.indexOf("(")>-1||n.indexOf("-")>-1?(n=n.split(""),r=1,(i>o||s>o)&&(r=0),n.splice(r,0,b[v].currency.symbol+l),n=n.join("")):n=b[v].currency.symbol+l+n:n.indexOf(")")>-1?(n=n.split(""),n.splice(-1,0,l+b[v].currency.symbol),n=n.join("")):n=n+l+b[v].currency.symbol,n}function u(e,t,a){var r,n="",o=100*e._value;return t.indexOf(" %")>-1?(n=" ",t=t.replace(" %","")):t=t.replace("%",""),r=f(o,t,a),r.indexOf(")")>-1?(r=r.split(""),r.splice(-1,0,n+"%"),r=r.join("")):r=r+n+"%",r}function c(e){var t=Math.floor(e._value/60/60),a=Math.floor((e._value-60*t*60)/60),r=Math.round(e._value-60*t*60-60*a);return t+":"+(10>a?"0"+a:a)+":"+(10>r?"0"+r:r)}function d(e){var t=e.split(":"),a=0;return 3===t.length?(a+=60*Number(t[0])*60,a+=60*Number(t[1]),a+=Number(t[2])):2===t.length&&(a+=60*Number(t[0]),a+=Number(t[1])),Number(a)}function f(e,t,a){var r,n,i,s,l,u,c=!1,d=!1,f=!1,p="",m=!1,h=!1,y=!1,g=!1,_=!1,k="",E="",x=Math.abs(e),j=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],O="",z=!1;if(0===e&&null!==w)return w;if(t.indexOf("(")>-1?(c=!0,t=t.slice(1,-1)):t.indexOf("+")>-1&&(d=!0,t=t.replace(/\+/g,"")),t.indexOf("a")>-1&&(m=t.indexOf("aK")>=0,h=t.indexOf("aM")>=0,y=t.indexOf("aB")>=0,g=t.indexOf("aT")>=0,_=m||h||y||g,t.indexOf(" a")>-1?(p=" ",t=t.replace(" a","")):t=t.replace("a",""),x>=Math.pow(10,12)&&!_||g?(p+=b[v].abbreviations.trillion,e/=Math.pow(10,12)):x=Math.pow(10,9)&&!_||y?(p+=b[v].abbreviations.billion,e/=Math.pow(10,9)):x=Math.pow(10,6)&&!_||h?(p+=b[v].abbreviations.million,e/=Math.pow(10,6)):(x=Math.pow(10,3)&&!_||m)&&(p+=b[v].abbreviations.thousand,e/=Math.pow(10,3))),t.indexOf("b")>-1)for(t.indexOf(" b")>-1?(k=" ",t=t.replace(" b","")):t=t.replace("b",""),i=0;i<=j.length;i++)if(r=Math.pow(1024,i),n=Math.pow(1024,i+1),e>=r&&n>e){k+=j[i],r>0&&(e/=r);break}return t.indexOf("o")>-1&&(t.indexOf(" o")>-1?(E=" ",t=t.replace(" o","")):t=t.replace("o",""),E+=b[v].ordinal(e)),t.indexOf("[.]")>-1&&(f=!0,t=t.replace("[.]",".")),s=e.toString().split(".")[0],l=t.split(".")[1],u=t.indexOf(","),l?(l.indexOf("[")>-1?(l=l.replace("]",""),l=l.split("["),O=o(e,l[0].length+l[1].length,a,l[1].length)):O=o(e,l.length,a),s=O.split(".")[0],O=O.split(".")[1].length?b[v].delimiters.decimal+O.split(".")[1]:"",f&&0===Number(O.slice(1))&&(O="")):s=o(e,null,a),s.indexOf("-")>-1&&(s=s.slice(1),z=!0),u>-1&&(s=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+b[v].delimiters.thousands)),0===t.indexOf(".")&&(s=""),(c&&z?"(":"")+(!c&&z?"-":"")+(!z&&d?"+":"")+s+O+(E?E:"")+(p?p:"")+(k?k:"")+(c&&z?")":"")}function p(e,t){b[e]=t}function m(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)}function h(){var e=Array.prototype.slice.call(arguments);return e.reduce(function(e,t){var a=m(e),r=m(t);return a>r?a:r},-(1/0))}var y,g="1.5.3",b={},v="en",w=null,_="0,0",k="undefined"!=typeof e&&e.exports;y=function(e){return y.isNumeral(e)?e=e.value():0===e||"undefined"==typeof e?e=0:Number(e)||(e=y.fn.unformat(e)),new a(Number(e))},y.version=g,y.isNumeral=function(e){return e instanceof a},y.language=function(e,t){if(!e)return v;if(e&&!t){if(!b[e])throw new Error("Unknown language : "+e);v=e}return(t||!b[e])&&p(e,t),y},y.languageData=function(e){if(!e)return b[v];if(!b[e])throw new Error("Unknown language : "+e);return b[e]},y.language("en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),y.zeroFormat=function(e){w="string"==typeof e?e:null},y.defaultFormat=function(e){_="string"==typeof e?e:"0.0"},"function"!=typeof Array.prototype.reduce&&(Array.prototype.reduce=function(e,t){"use strict";if(null===this||"undefined"==typeof this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof e)throw new TypeError(e+" is not a function");var a,r,n=this.length>>>0,o=!1;for(1a;++a)this.hasOwnProperty(a)&&(o?r=e(r,this[a],a,this):(r=this[a],o=!0));if(!o)throw new TypeError("Reduce of empty array with no initial value");return r}),y.fn=a.prototype={clone:function(){return y(this)},format:function(e,t){return i(this,e?e:_,void 0!==t?t:Math.round)},unformat:function(e){return"[object Number]"===Object.prototype.toString.call(e)?e:s(this,e?e:_)},value:function(){return this._value},valueOf:function(){return this._value},set:function(e){return this._value=Number(e),this},add:function(e){function t(e,t,r,n){return e+a*t}var a=h.call(null,this._value,e);return this._value=[this._value,e].reduce(t,0)/a,this},subtract:function(e){function t(e,t,r,n){return e-a*t}var a=h.call(null,this._value,e);return this._value=[e].reduce(t,this._value*a)/a,this},multiply:function(e){function t(e,t,a,r){var n=h(e,t);return e*n*(t*n)/(n*n)}return this._value=[this._value,e].reduce(t,1),this},divide:function(e){function t(e,t,a,r){var n=h(e,t);return e*n/(t*n)}return this._value=[this._value,e].reduce(t),this},difference:function(e){return Math.abs(y(this._value).subtract(e).value())}},k&&(e.exports=y),"undefined"==typeof ender&&(this.numeral=y),r=[],n=function(){return y}.apply(t,r),!(void 0!==n&&(e.exports=n))}).call(this)},function(e,t,a){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var a=0;ar;a=r+=1)s+="0";e=t.concat([new t(s),e])}return e},e.prototype.get_shared_secret=function(e){var t,a,r,i,s,l,u;return t=e.toUncompressed().toBuffer(),a=o.fromAffine(f,l=n.fromBuffer(t.slice(1,33)),u=n.fromBuffer(t.slice(33,65))),s=this.toBuffer(),r=a.multiply(n.fromBuffer(s)),i=r.affineX.toBuffer({size:32}),d.sha512(i)},e.prototype.toByteBuffer=function(){var e;return e=new ByteBuffer(ByteBuffer.DEFAULT_CAPACITY,ByteBuffer.LITTLE_ENDIAN),this.appendByteBuffer(e),e.copy(0,e.offset)},e.fromHex=function(a){return e.fromBuffer(new t(a,"hex"))},e.prototype.toHex=function(){return this.toBuffer().toString("hex")},e}(),e.exports=i}).call(t,a(443).Buffer)},function(e,t,a){(function(e){function r(){return e.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function e(t){return this instanceof e?(this.length=0,this.parent=void 0,"number"==typeof t?n(this,t):"string"==typeof t?o(this,t,arguments.length>1?arguments[1]:"utf8"):i(this,t)):arguments.length>1?new e(t,arguments[1]):new e(t)}function n(t,a){if(t=p(t,0>a?0:0|m(a)),!e.TYPED_ARRAY_SUPPORT)for(var r=0;a>r;r++)t[r]=0;return t}function o(e,t,a){("string"!=typeof a||""===a)&&(a="utf8");var r=0|y(t,a);return e=p(e,r),e.write(t,a),e}function i(t,a){if(e.isBuffer(a))return s(t,a);if($(a))return l(t,a);if(null==a)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(a.buffer instanceof ArrayBuffer)return u(t,a);if(a instanceof ArrayBuffer)return c(t,a)}return a.length?d(t,a):f(t,a)}function s(e,t){var a=0|m(t.length);return e=p(e,a),t.copy(e,0,0,a),e}function l(e,t){var a=0|m(t.length);e=p(e,a);for(var r=0;a>r;r+=1)e[r]=255&t[r];return e}function u(e,t){var a=0|m(t.length);e=p(e,a);for(var r=0;a>r;r+=1)e[r]=255&t[r];return e}function c(t,a){return e.TYPED_ARRAY_SUPPORT?(a.byteLength,t=e._augment(new Uint8Array(a))):t=u(t,new Uint8Array(a)),t}function d(e,t){var a=0|m(t.length);e=p(e,a);for(var r=0;a>r;r+=1)e[r]=255&t[r];return e}function f(e,t){var a,r=0;"Buffer"===t.type&&$(t.data)&&(a=t.data,r=0|m(a.length)),e=p(e,r);for(var n=0;r>n;n+=1)e[n]=255&a[n];return e}function p(t,a){e.TYPED_ARRAY_SUPPORT?t=e._augment(new Uint8Array(a)):(t.length=a,t._isBuffer=!0);var r=0!==a&&a<=e.poolSize>>>1;return r&&(t.parent=Y),t}function m(e){if(e>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function h(t,a){if(!(this instanceof h))return new h(t,a);var r=new e(t,a);return delete r.parent,r}function y(e,t){"string"!=typeof e&&(e=""+e);var a=e.length;if(0===a)return 0;for(var r=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return a;case"utf8":case"utf-8":return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*a;case"hex":return a>>>1;case"base64":return H(e).length;default:if(r)return L(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,a){var r=!1;if(t=0|t,a=void 0===a||a===1/0?this.length:0|a,e||(e="utf8"),0>t&&(t=0),a>this.length&&(a=this.length),t>=a)return"";for(;;)switch(e){case"hex":return S(this,t,a);case"utf8":case"utf-8":return j(this,t,a);case"ascii":return O(this,t,a);case"binary":return z(this,t,a);case"base64":return x(this,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,a);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,a,r){a=Number(a)||0;var n=e.length-a;r?(r=Number(r),r>n&&(r=n)):r=n;var o=t.length;if(o%2!==0)throw new Error("Invalid hex string");r>o/2&&(r=o/2);for(var i=0;r>i;i++){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))throw new Error("Invalid hex string");e[a+i]=s}return i}function v(e,t,a,r){return W(L(t,e.length-a),e,a,r)}function w(e,t,a,r){return W(F(t),e,a,r)}function _(e,t,a,r){return w(e,t,a,r)}function k(e,t,a,r){return W(H(t),e,a,r)}function E(e,t,a,r){return W(U(t,e.length-a),e,a,r)}function x(e,t,a){return 0===t&&a===e.length?V.fromByteArray(e):V.fromByteArray(e.slice(t,a))}function j(e,t,a){var r="",n="";a=Math.min(e.length,a);for(var o=t;a>o;o++)e[o]<=127?(r+=K(n)+String.fromCharCode(e[o]),n=""):n+="%"+e[o].toString(16);return r+K(n)}function O(e,t,a){var r="";a=Math.min(e.length,a);for(var n=t;a>n;n++)r+=String.fromCharCode(127&e[n]);return r}function z(e,t,a){var r="";a=Math.min(e.length,a);for(var n=t;a>n;n++)r+=String.fromCharCode(e[n]);return r}function S(e,t,a){var r=e.length;(!t||0>t)&&(t=0),(!a||0>a||a>r)&&(a=r);for(var n="",o=t;a>o;o++)n+=R(e[o]);return n}function A(e,t,a){for(var r=e.slice(t,a),n="",o=0;oe)throw new RangeError("offset is not uint");if(e+t>a)throw new RangeError("Trying to access beyond buffer length")}function C(t,a,r,n,o,i){if(!e.isBuffer(t))throw new TypeError("buffer must be a Buffer instance");if(a>o||i>a)throw new RangeError("value is out of bounds");if(r+n>t.length)throw new RangeError("index out of range")}function B(e,t,a,r){0>t&&(t=65535+t+1);for(var n=0,o=Math.min(e.length-a,2);o>n;n++)e[a+n]=(t&255<<8*(r?n:1-n))>>>8*(r?n:1-n)}function T(e,t,a,r){0>t&&(t=4294967295+t+1);for(var n=0,o=Math.min(e.length-a,4);o>n;n++)e[a+n]=t>>>8*(r?n:3-n)&255}function q(e,t,a,r,n,o){if(t>n||o>t)throw new RangeError("value is out of bounds");if(a+r>e.length)throw new RangeError("index out of range");if(0>a)throw new RangeError("index out of range")}function D(e,t,a,r,n){return n||q(e,t,a,4,3.4028234663852886e38,-3.4028234663852886e38),G.write(e,t,a,r,23,4),a+4}function N(e,t,a,r,n){return n||q(e,t,a,8,1.7976931348623157e308,-1.7976931348623157e308),G.write(e,t,a,r,52,8),a+8}function M(e){if(e=I(e).replace(Z,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function I(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function R(e){return 16>e?"0"+e.toString(16):e.toString(16)}function L(e,t){t=t||1/0;for(var a,r=e.length,n=null,o=[],i=0;r>i;i++){if(a=e.charCodeAt(i),a>55295&&57344>a){if(!n){if(a>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&o.push(239,191,189);continue}n=a;continue}if(56320>a){(t-=3)>-1&&o.push(239,191,189),n=a;continue}a=n-55296<<10|a-56320|65536,n=null}else n&&((t-=3)>-1&&o.push(239,191,189),n=null);if(128>a){if((t-=1)<0)break;o.push(a)}else if(2048>a){if((t-=2)<0)break;o.push(a>>6|192,63&a|128)}else if(65536>a){if((t-=3)<0)break;o.push(a>>12|224,a>>6&63|128,63&a|128)}else{if(!(2097152>a))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(a>>18|240,a>>12&63|128,a>>6&63|128,63&a|128)}}return o}function F(e){for(var t=[],a=0;a>8,n=a%256,o.push(n),o.push(r);return o}function H(e){return V.toByteArray(M(e))}function W(e,t,a,r){for(var n=0;r>n&&!(n+a>=t.length||n>=e.length);n++)t[n+a]=e[n];return n}function K(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}/*!
+ * The buffer module from node.js, for the browser.
+ *
+ * @author Feross Aboukhadijeh
+ * @license MIT
+ */
+var V=a(444),G=a(445),$=a(446);t.Buffer=e,t.SlowBuffer=h,t.INSPECT_MAX_BYTES=50,e.poolSize=8192;var Y={};e.TYPED_ARRAY_SUPPORT=function(){function e(){}try{var t=new Uint8Array(1);return t.foo=function(){return 42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(a){return!1}}(),e.isBuffer=function(e){return!(null==e||!e._isBuffer)},e.compare=function(t,a){if(!e.isBuffer(t)||!e.isBuffer(a))throw new TypeError("Arguments must be Buffers");if(t===a)return 0;for(var r=t.length,n=a.length,o=0,i=Math.min(r,n);i>o&&t[o]===a[o];)++o;return o!==i&&(r=t[o],n=a[o]),n>r?-1:r>n?1:0},e.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,a){if(!$(t))throw new TypeError("list argument must be an Array of Buffers.");if(0===t.length)return new e(0);var r;if(void 0===a)for(a=0,r=0;r0&&(e=this.toString("hex",0,a).match(/.{2}/g).join(" "),this.length>a&&(e+=" ... ")),""},e.prototype.compare=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?0:e.compare(this,t)},e.prototype.indexOf=function(t,a){function r(e,t,a){for(var r=-1,n=0;a+n2147483647?a=2147483647:-2147483648>a&&(a=-2147483648),a>>=0,0===this.length)return-1;if(a>=this.length)return-1;if(0>a&&(a=Math.max(this.length+a,0)),"string"==typeof t)return 0===t.length?-1:String.prototype.indexOf.call(this,t,a);if(e.isBuffer(t))return r(this,t,a);if("number"==typeof t)return e.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,t,a):r(this,[t],a);throw new TypeError("val must be string, number or Buffer")},e.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},e.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},e.prototype.write=function(e,t,a,r){if(void 0===t)r="utf8",a=this.length,t=0;else if(void 0===a&&"string"==typeof t)r=t,a=this.length,t=0;else if(isFinite(t))t=0|t,isFinite(a)?(a=0|a,void 0===r&&(r="utf8")):(r=a,a=void 0);else{var n=r;r=t,t=0|a,a=n}var o=this.length-t;if((void 0===a||a>o)&&(a=o),e.length>0&&(0>a||0>t)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return b(this,e,t,a);case"utf8":case"utf-8":return v(this,e,t,a);case"ascii":return w(this,e,t,a);case"binary":return _(this,e,t,a);case"base64":return k(this,e,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,a);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},e.prototype.slice=function(t,a){var r=this.length;t=~~t,a=void 0===a?r:~~a,0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),0>a?(a+=r,0>a&&(a=0)):a>r&&(a=r),t>a&&(a=t);var n;if(e.TYPED_ARRAY_SUPPORT)n=e._augment(this.subarray(t,a));else{var o=a-t;n=new e(o,void 0);for(var i=0;o>i;i++)n[i]=this[i+t]}return n.length&&(n.parent=this.parent||this),n},e.prototype.readUIntLE=function(e,t,a){e=0|e,t=0|t,a||P(e,t,this.length);for(var r=this[e],n=1,o=0;++o0&&(n*=256);)r+=this[e+--t]*n;return r},e.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},e.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},e.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},e.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},e.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},e.prototype.readIntLE=function(e,t,a){e=0|e,t=0|t,a||P(e,t,this.length);for(var r=this[e],n=1,o=0;++o=n&&(r-=Math.pow(2,8*t)),r},e.prototype.readIntBE=function(e,t,a){e=0|e,t=0|t,a||P(e,t,this.length);for(var r=t,n=1,o=this[e+--r];r>0&&(n*=256);)o+=this[e+--r]*n;return n*=128,o>=n&&(o-=Math.pow(2,8*t)),o},e.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},e.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var a=this[e]|this[e+1]<<8;return 32768&a?4294901760|a:a},e.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var a=this[e+1]|this[e]<<8;return 32768&a?4294901760|a:a},e.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},e.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},e.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),G.read(this,e,!0,23,4)},e.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),G.read(this,e,!1,23,4)},e.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),G.read(this,e,!0,52,8)},e.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),G.read(this,e,!1,52,8)},e.prototype.writeUIntLE=function(e,t,a,r){e=+e,t=0|t,a=0|a,r||C(this,e,t,a,Math.pow(2,8*a),0);var n=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+n]=e/o&255;return t+a},e.prototype.writeUInt8=function(t,a,r){return t=+t,a=0|a,r||C(this,t,a,1,255,0),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[a]=t,a+1},e.prototype.writeUInt16LE=function(t,a,r){return t=+t,a=0|a,r||C(this,t,a,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[a]=t,this[a+1]=t>>>8):B(this,t,a,!0),a+2},e.prototype.writeUInt16BE=function(t,a,r){return t=+t,a=0|a,r||C(this,t,a,2,65535,0),e.TYPED_ARRAY_SUPPORT?(this[a]=t>>>8,this[a+1]=t):B(this,t,a,!1),a+2},e.prototype.writeUInt32LE=function(t,a,r){return t=+t,a=0|a,r||C(this,t,a,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[a+3]=t>>>24,this[a+2]=t>>>16,this[a+1]=t>>>8,this[a]=t):T(this,t,a,!0),a+4},e.prototype.writeUInt32BE=function(t,a,r){return t=+t,a=0|a,r||C(this,t,a,4,4294967295,0),e.TYPED_ARRAY_SUPPORT?(this[a]=t>>>24,this[a+1]=t>>>16,this[a+2]=t>>>8,this[a+3]=t):T(this,t,a,!1),a+4},e.prototype.writeIntLE=function(e,t,a,r){if(e=+e,t=0|t,!r){var n=Math.pow(2,8*a-1);C(this,e,t,a,n-1,-n)}var o=0,i=1,s=0>e?1:0;for(this[t]=255&e;++o>0)-s&255;return t+a},e.prototype.writeIntBE=function(e,t,a,r){if(e=+e,t=0|t,!r){var n=Math.pow(2,8*a-1);C(this,e,t,a,n-1,-n)}var o=a-1,i=1,s=0>e?1:0;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=(e/i>>0)-s&255;return t+a},e.prototype.writeInt8=function(t,a,r){return t=+t,a=0|a,r||C(this,t,a,1,127,-128),e.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[a]=t,a+1},e.prototype.writeInt16LE=function(t,a,r){return t=+t,a=0|a,r||C(this,t,a,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[a]=t,this[a+1]=t>>>8):B(this,t,a,!0),a+2},e.prototype.writeInt16BE=function(t,a,r){return t=+t,a=0|a,r||C(this,t,a,2,32767,-32768),e.TYPED_ARRAY_SUPPORT?(this[a]=t>>>8,this[a+1]=t):B(this,t,a,!1),a+2},e.prototype.writeInt32LE=function(t,a,r){return t=+t,a=0|a,r||C(this,t,a,4,2147483647,-2147483648),e.TYPED_ARRAY_SUPPORT?(this[a]=t,this[a+1]=t>>>8,this[a+2]=t>>>16,this[a+3]=t>>>24):T(this,t,a,!0),a+4},e.prototype.writeInt32BE=function(t,a,r){return t=+t,a=0|a,r||C(this,t,a,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),e.TYPED_ARRAY_SUPPORT?(this[a]=t>>>24,this[a+1]=t>>>16,this[a+2]=t>>>8,this[a+3]=t):T(this,t,a,!1),a+4},e.prototype.writeFloatLE=function(e,t,a){return D(this,e,t,!0,a)},e.prototype.writeFloatBE=function(e,t,a){return D(this,e,t,!1,a)},e.prototype.writeDoubleLE=function(e,t,a){return N(this,e,t,!0,a)},e.prototype.writeDoubleBE=function(e,t,a){return N(this,e,t,!1,a)},e.prototype.copy=function(t,a,r,n){if(r||(r=0),n||0===n||(n=this.length),a>=t.length&&(a=t.length),a||(a=0),n>0&&r>n&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(0>a)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>n)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-ar&&n>a)for(o=i-1;o>=0;o--)t[o+a]=this[o+r];else if(1e3>i||!e.TYPED_ARRAY_SUPPORT)for(o=0;i>o;o++)t[o+a]=this[o+r];else t._set(this.subarray(r,r+i),a);return i},e.prototype.fill=function(e,t,a){if(e||(e=0),t||(t=0),a||(a=this.length),t>a)throw new RangeError("end < start");if(a!==t&&0!==this.length){if(0>t||t>=this.length)throw new RangeError("start out of bounds");if(0>a||a>this.length)throw new RangeError("end out of bounds");var r;if("number"==typeof e)for(r=t;a>r;r++)this[r]=e;else{var n=L(e.toString()),o=n.length;for(r=t;a>r;r++)this[r]=n[r%o]}return this}},e.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(e.TYPED_ARRAY_SUPPORT)return new e(this).buffer;for(var t=new Uint8Array(this.length),a=0,r=t.length;r>a;a+=1)t[a]=this[a];return t.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var J=e.prototype;e._augment=function(t){return t.constructor=e,t._isBuffer=!0,t._set=t.set,t.get=J.get,t.set=J.set,t.write=J.write,t.toString=J.toString,t.toLocaleString=J.toString,t.toJSON=J.toJSON,t.equals=J.equals,t.compare=J.compare,t.indexOf=J.indexOf,t.copy=J.copy,t.slice=J.slice,t.readUIntLE=J.readUIntLE,t.readUIntBE=J.readUIntBE,t.readUInt8=J.readUInt8,t.readUInt16LE=J.readUInt16LE,t.readUInt16BE=J.readUInt16BE,t.readUInt32LE=J.readUInt32LE,t.readUInt32BE=J.readUInt32BE,t.readIntLE=J.readIntLE,t.readIntBE=J.readIntBE,t.readInt8=J.readInt8,t.readInt16LE=J.readInt16LE,t.readInt16BE=J.readInt16BE,t.readInt32LE=J.readInt32LE,t.readInt32BE=J.readInt32BE,t.readFloatLE=J.readFloatLE,t.readFloatBE=J.readFloatBE,t.readDoubleLE=J.readDoubleLE,t.readDoubleBE=J.readDoubleBE,t.writeUInt8=J.writeUInt8,t.writeUIntLE=J.writeUIntLE,t.writeUIntBE=J.writeUIntBE,t.writeUInt16LE=J.writeUInt16LE,t.writeUInt16BE=J.writeUInt16BE,t.writeUInt32LE=J.writeUInt32LE,t.writeUInt32BE=J.writeUInt32BE,t.writeIntLE=J.writeIntLE,t.writeIntBE=J.writeIntBE,t.writeInt8=J.writeInt8,t.writeInt16LE=J.writeInt16LE,t.writeInt16BE=J.writeInt16BE,t.writeInt32LE=J.writeInt32LE,t.writeInt32BE=J.writeInt32BE,t.writeFloatLE=J.writeFloatLE,t.writeFloatBE=J.writeFloatBE,t.writeDoubleLE=J.writeDoubleLE,t.writeDoubleBE=J.writeDoubleBE,t.fill=J.fill,t.inspect=J.inspect,t.toArrayBuffer=J.toArrayBuffer,t};var Z=/[^+\/0-9A-Za-z-_]/g}).call(t,a(443).Buffer)},function(e,t,a){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===i||t===d?62:t===s||t===f?63:l>t?-1:l+10>t?t-l+26+26:c+26>t?t-c:u+26>t?t-u+26:void 0}function a(e){function a(e){u[d++]=e}var r,n,i,s,l,u;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=e.length;l="="===e.charAt(c-2)?2:"="===e.charAt(c-1)?1:0,u=new o(3*e.length/4-l),i=l>0?e.length-4:e.length;var d=0;for(r=0,n=0;i>r;r+=4,n+=3)s=t(e.charAt(r))<<18|t(e.charAt(r+1))<<12|t(e.charAt(r+2))<<6|t(e.charAt(r+3)),a((16711680&s)>>16),a((65280&s)>>8),a(255&s);return 2===l?(s=t(e.charAt(r))<<2|t(e.charAt(r+1))>>4,a(255&s)):1===l&&(s=t(e.charAt(r))<<10|t(e.charAt(r+1))<<4|t(e.charAt(r+2))>>2,a(s>>8&255),a(255&s)),u}function n(e){function t(e){return r.charAt(e)}function a(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var n,o,i,s=e.length%3,l="";for(n=0,i=e.length-s;i>n;n+=3)o=(e[n]<<16)+(e[n+1]<<8)+e[n+2],l+=a(o);switch(s){case 1:o=e[e.length-1],l+=t(o>>2),l+=t(o<<4&63),l+="==";break;case 2:o=(e[e.length-2]<<8)+e[e.length-1],l+=t(o>>10),l+=t(o>>4&63),l+=t(o<<2&63),l+="="}return l}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="+".charCodeAt(0),s="/".charCodeAt(0),l="0".charCodeAt(0),u="a".charCodeAt(0),c="A".charCodeAt(0),d="-".charCodeAt(0),f="_".charCodeAt(0);e.toByteArray=a,e.fromByteArray=n}(t)},function(e,t){t.read=function(e,t,a,r,n){var o,i,s=8*n-r-1,l=(1<>1,c=-7,d=a?n-1:0,f=a?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(i=o&(1<<-c)-1,o>>=-c,c+=r;c>0;i=256*i+e[t+d],d+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return i?NaN:(p?-1:1)*(1/0);i+=Math.pow(2,r),o-=u}return(p?-1:1)*i*Math.pow(2,o-r)},t.write=function(e,t,a,r,n,o){var i,s,l,u=8*o-n-1,c=(1<>1,f=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,m=r?1:-1,h=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),t+=i+d>=1?f/l:f*Math.pow(2,1-d),t*l>=2&&(i++,l/=2),i+d>=c?(s=0,i=c):i+d>=1?(s=(t*l-1)*Math.pow(2,n),i+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,n),i=0));n>=8;e[a+p]=255&s,p+=m,s/=256,n-=8);for(i=i<0;e[a+p]=255&i,p+=m,i/=256,u-=8);e[a+p-m]|=128*h}},function(e,t){var a=Array.isArray,r=Object.prototype.toString;e.exports=a||function(e){return!!e&&"[object Array]"==r.call(e)}},function(e,t,a){var r=a(448),n=a(453),o=a(454);e.exports={Curve:n,Point:r,getCurveByName:o}},function(e,t,a){(function(t){function r(e,t,a,r){n.notStrictEqual(r,void 0,"Missing Z coordinate"),this.curve=e,this.x=t,this.y=a,this.z=r,this._zInv=null,this.compressed=!0}var n=a(449),o=a(450),i=o.valueOf(3);Object.defineProperty(r.prototype,"zInv",{get:function(){return null===this._zInv&&(this._zInv=this.z.modInverse(this.curve.p)),this._zInv}}),Object.defineProperty(r.prototype,"affineX",{get:function(){return this.x.multiply(this.zInv).mod(this.curve.p)}}),Object.defineProperty(r.prototype,"affineY",{get:function(){return this.y.multiply(this.zInv).mod(this.curve.p)}}),r.fromAffine=function(e,t,a){return new r(e,t,a,o.ONE)},r.prototype.equals=function(e){if(e===this)return!0;if(this.curve.isInfinity(this))return this.curve.isInfinity(e);if(this.curve.isInfinity(e))return this.curve.isInfinity(this);var t=e.y.multiply(this.z).subtract(this.y.multiply(e.z)).mod(this.curve.p);if(0!==t.signum())return!1;var a=e.x.multiply(this.z).subtract(this.x.multiply(e.z)).mod(this.curve.p);return 0===a.signum()},r.prototype.negate=function(){var e=this.curve.p.subtract(this.y);return new r(this.curve,this.x,e,this.z)},r.prototype.add=function(e){if(this.curve.isInfinity(this))return e;if(this.curve.isInfinity(e))return this;var t=this.x,a=this.y,n=e.x,o=e.y,s=o.multiply(this.z).subtract(a.multiply(e.z)).mod(this.curve.p),l=n.multiply(this.z).subtract(t.multiply(e.z)).mod(this.curve.p);if(0===l.signum())return 0===s.signum()?this.twice():this.curve.infinity;var u=l.square(),c=u.multiply(l),d=t.multiply(u),f=s.square().multiply(this.z),p=f.subtract(d.shiftLeft(1)).multiply(e.z).subtract(c).multiply(l).mod(this.curve.p),m=d.multiply(i).multiply(s).subtract(a.multiply(c)).subtract(f.multiply(s)).multiply(e.z).add(s.multiply(c)).mod(this.curve.p),h=c.multiply(this.z).multiply(e.z).mod(this.curve.p);return new r(this.curve,p,m,h)},r.prototype.twice=function(){if(this.curve.isInfinity(this))return this;if(0===this.y.signum())return this.curve.infinity;var e=this.x,t=this.y,a=t.multiply(this.z),n=a.multiply(t).mod(this.curve.p),o=this.curve.a,s=e.square().multiply(i);0!==o.signum()&&(s=s.add(this.z.square().multiply(o))),s=s.mod(this.curve.p);var l=s.square().subtract(e.shiftLeft(3).multiply(n)).shiftLeft(1).multiply(a).mod(this.curve.p),u=s.multiply(i).multiply(e).subtract(n.shiftLeft(1)).shiftLeft(2).multiply(n).subtract(s.pow(3)).mod(this.curve.p),c=a.pow(3).shiftLeft(3).mod(this.curve.p);return new r(this.curve,l,u,c)},r.prototype.multiply=function(e){if(this.curve.isInfinity(this))return this;if(0===e.signum())return this.curve.infinity;for(var t=e,a=t.multiply(i),r=this.negate(),n=this,o=a.bitLength()-2;o>0;--o){n=n.twice();var s=a.testBit(o),l=t.testBit(o);s!=l&&(n=n.add(s?this:r))}return n},r.prototype.multiplyTwo=function(e,t,a){var r;r=e.bitLength()>a.bitLength()?e.bitLength()-1:a.bitLength()-1;for(var n=this.curve.infinity,o=this.add(t);r>=0;){n=n.twice();var i=e.testBit(r),s=a.testBit(r);i?n=s?n.add(o):n.add(this):s&&(n=n.add(t)),--r}return n},r.prototype.getEncoded=function(e){if(void 0==e&&(e=this.compressed),this.curve.isInfinity(this))return new t("00","hex");var a,r=this.affineX,n=this.affineY,o=Math.floor((this.curve.p.bitLength()+7)/8);return e?(a=new t(1+o),a.writeUInt8(n.isEven()?2:3,0)):(a=new t(1+o+o),a.writeUInt8(4,0),n.toBuffer(o).copy(a,1+o)),r.toBuffer(o).copy(a,1),a},r.decodeFrom=function(e,t){var a,i=t.readUInt8(0),s=4!==i,l=o.fromBuffer(t.slice(1,33)),u=Math.floor((e.p.bitLength()+7)/8);if(s){n.equal(t.length,u+1,"Invalid sequence length"),n(2===i||3===i,"Invalid sequence tag");var c=3===i;a=e.pointFromX(c,l)}else{n.equal(t.length,1+u+u,"Invalid sequence length");var d=o.fromBuffer(t.slice(1+u));a=r.fromAffine(e,l,d)}return a.compressed=s,a},r.prototype.toString=function(){return this.curve.isInfinity(this)?"(INFINITY)":"("+this.affineX.toString()+","+this.affineY.toString()+")"},e.exports=r}).call(t,a(443).Buffer)},function(e,t,a){function r(e,t){return p.isUndefined(t)?""+t:p.isNumber(t)&&!isFinite(t)?t.toString():p.isFunction(t)||p.isRegExp(t)?t.toString():t}function n(e,t){return p.isString(e)?e.length=0;o--)if(i[o]!=s[o])return!1;for(o=i.length-1;o>=0;o--)if(n=i[o],!l(e[n],t[n]))return!1;return!0}function d(e,t){return e&&t?"[object RegExp]"==Object.prototype.toString.call(t)?t.test(e):e instanceof t?!0:t.call({},e)===!0?!0:!1:!1}function f(e,t,a,r){var n;p.isString(a)&&(r=a,a=null);try{t()}catch(o){n=o}if(r=(a&&a.name?" ("+a.name+").":".")+(r?" "+r:"."),e&&!n&&i(n,a,"Missing expected exception"+r),!e&&d(n,a)&&i(n,a,"Got unwanted exception"+r),e&&n&&a&&!d(n,a)||!e&&n)throw n}var p=a(409),m=Array.prototype.slice,h=Object.prototype.hasOwnProperty,y=e.exports=s;y.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=o(this),this.generatedMessage=!0);var t=e.stackStartFunction||i;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var a=new Error;if(a.stack){var r=a.stack,n=t.name,s=r.indexOf("\n"+n);if(s>=0){var l=r.indexOf("\n",s+1);r=r.substring(l+1)}this.stack=r}}},p.inherits(y.AssertionError,Error),y.fail=i,y.ok=s,y.equal=function(e,t,a){e!=t&&i(e,t,a,"==",y.equal)},y.notEqual=function(e,t,a){e==t&&i(e,t,a,"!=",y.notEqual)},y.deepEqual=function(e,t,a){l(e,t)||i(e,t,a,"deepEqual",y.deepEqual)},y.notDeepEqual=function(e,t,a){l(e,t)&&i(e,t,a,"notDeepEqual",y.notDeepEqual)},y.strictEqual=function(e,t,a){e!==t&&i(e,t,a,"===",y.strictEqual)},y.notStrictEqual=function(e,t,a){e===t&&i(e,t,a,"!==",y.notStrictEqual)},y["throws"]=function(e,t,a){f.apply(this,[!0].concat(m.call(arguments)))},y.doesNotThrow=function(e,t){f.apply(this,[!1].concat(m.call(arguments)))},y.ifError=function(e){if(e)throw e};var g=Object.keys||function(e){var t=[];for(var a in e)h.call(e,a)&&t.push(a);return t}},function(e,t,a){var r=a(451);a(452),e.exports=r},function(e,t,a){function r(e,t,a){return this instanceof r?void(null!=e&&("number"==typeof e?this.fromNumber(e,t,a):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))):new r(e,t,a)}function n(){return new r(null)}function o(e,t,a,r,n,o){for(;--o>=0;){var i=t*this[e++]+a[r]+n;n=Math.floor(i/67108864),a[r++]=67108863&i}return n}function i(e){return rt.charAt(e)}function s(e,t){var a=nt[e.charCodeAt(t)];return null==a?-1:a}function l(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function u(e){this.t=1,this.s=0>e?-1:0,e>0?this[0]=e:-1>e?this[0]=e+Xe:this.t=0}function c(e){var t=n();return t.fromInt(e),t}function d(e,t){var a,n=this;if(16==t)a=4;else if(8==t)a=3;else if(256==t)a=8;else if(2==t)a=1;else if(32==t)a=5;else{if(4!=t)return void n.fromRadix(e,t);a=2}n.t=0,n.s=0;for(var o=e.length,i=!1,l=0;--o>=0;){var u=8==a?255&e[o]:s(e,o);0>u?"-"==e.charAt(o)&&(i=!0):(i=!1,0==l?n[n.t++]=u:l+a>n.DB?(n[n.t-1]|=(u&(1<>n.DB-l):n[n.t-1]|=u<=n.DB&&(l-=n.DB))}8==a&&0!=(128&e[0])&&(n.s=-1,l>0&&(n[n.t-1]|=(1<0&&this[this.t-1]==e;)--this.t}function p(e){var t=this;if(t.s<0)return"-"+t.negate().toString(e);var a;if(16==e)a=4;else if(8==e)a=3;else if(2==e)a=1;else if(32==e)a=5;else{if(4!=e)return t.toRadix(e);a=2}var r,n=(1<0)for(u>u)>0&&(o=!0,s=i(r));l>=0;)a>u?(r=(t[l]&(1<>(u+=t.DB-a)):(r=t[l]>>(u-=a)&n,0>=u&&(u+=t.DB,--l)),r>0&&(o=!0),o&&(s+=i(r));return o?s:"0"}function m(){var e=n();return r.ZERO.subTo(this,e),e}function h(){return this.s<0?this.negate():this}function y(e){var t=this.s-e.s;if(0!=t)return t;var a=this.t;if(t=a-e.t,0!=t)return this.s<0?-t:t;for(;--a>=0;)if(0!=(t=this[a]-e[a]))return t;return 0}function g(e){var t,a=1;return 0!=(t=e>>>16)&&(e=t,a+=16),0!=(t=e>>8)&&(e=t,a+=8),0!=(t=e>>4)&&(e=t,a+=4),0!=(t=e>>2)&&(e=t,a+=2),0!=(t=e>>1)&&(e=t,a+=1),a}function b(){return this.t<=0?0:this.DB*(this.t-1)+g(this[this.t-1]^this.s&this.DM)}function v(e,t){var a;for(a=this.t-1;a>=0;--a)t[a+e]=this[a];for(a=e-1;a>=0;--a)t[a]=0;t.t=this.t+e,t.s=this.s}function w(e,t){for(var a=e;a=0;--a)t[a+s+1]=r[a]>>o|l,l=(r[a]&i)<=0;--a)t[a]=0;t[s]=l,t.t=r.t+s+1,t.s=r.s,t.clamp()}function k(e,t){var a=this;t.s=a.s;var r=Math.floor(e/a.DB);if(r>=a.t)return void(t.t=0);var n=e%a.DB,o=a.DB-n,i=(1<>n;for(var s=r+1;s>n;n>0&&(t[a.t-r-1]|=(a.s&i)<r;)n+=a[r]-e[r],t[r++]=n&a.DM,n>>=a.DB;if(e.t>=a.DB;n+=a.s}else{for(n+=a.s;r>=a.DB;n-=e.s}t.s=0>n?-1:0,-1>n?t[r++]=a.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()}function x(e,t){var a=this.abs(),n=e.abs(),o=a.t;for(t.t=o+n.t;--o>=0;)t[o]=0;for(o=0;o=0;)e[a]=0;for(a=0;a=t.DV&&(e[a+t.t]-=t.DV,e[a+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(a,t[a],e,2*a,0,1)),e.s=0,e.clamp()}function O(e,t,a){var o=this,i=e.abs();if(!(i.t<=0)){var s=o.abs();if(s.t0?(i.lShiftTo(d,l),s.lShiftTo(d,a)):(i.copyTo(l),s.copyTo(a));var f=l.t,p=l[f-1];if(0!=p){var m=p*(1<1?l[f-2]>>o.F2:0),h=o.FV/m,y=(1<=0&&(a[a.t++]=1,a.subTo(_,a)),r.ONE.dlShiftTo(f,_),_.subTo(l,l);l.t=0;){var k=a[--v]==p?o.DM:Math.floor(a[v]*h+(a[v-1]+b)*y);if((a[v]+=l.am(0,k,a,w,0,f))0&&a.rShiftTo(d,a),0>u&&r.ZERO.subTo(a,a)}}}function z(e){var t=n();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(r.ZERO)>0&&e.subTo(t,t),t}function S(e){this.m=e}function A(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e}function P(e){return e}function C(e){e.divRemTo(this.m,null,e)}function B(e,t,a){e.multiplyTo(t,a),this.reduce(a)}function T(e,t){e.squareTo(t),this.reduce(t)}function q(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function D(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(t,t),t}function M(e){var t=n();return e.copyTo(t),this.reduce(t),t}function I(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;for(a=t+this.m.t,e[a]+=this.m.am(0,r,e,t,0,this.m.t);e[a]>=e.DV;)e[a]-=e.DV,e[++a]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function R(e,t){e.squareTo(t),this.reduce(t)}function L(e,t,a){e.multiplyTo(t,a),this.reduce(a)}function F(){return 0==(this.t>0?1&this[0]:this.s)}function U(e,t){if(e>4294967295||1>e)return r.ONE;var a=n(),o=n(),i=t.convert(this),s=g(e)-1;for(i.copyTo(a);--s>=0;)if(t.sqrTo(a,o),(e&1<0)t.mulTo(o,i,a);else{var l=a;a=o,o=l}return t.revert(a)}function H(e,t){var a;return a=256>e||t.isEven()?new S(t):new D(t),this.exp(e,a)}function n(){return new r(null)}function W(){var e=n();return this.copyTo(e),e}function K(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<>24}function G(){return 0==this.t?this.s:this[0]<<16>>16}function $(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function Y(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function J(e){if(null==e&&(e=10),0==this.signum()||2>e||e>36)return"0";var t=this.chunkSize(e),a=Math.pow(e,t),r=c(a),o=n(),i=n(),s="";for(this.divRemTo(r,o,i);o.signum()>0;)s=(a+i.intValue()).toString(e).substr(1)+s,o.divRemTo(r,o,i);return i.intValue().toString(e)+s}function Z(e,t){var a=this;a.fromInt(0),null==t&&(t=10);for(var n=a.chunkSize(t),o=Math.pow(t,n),i=!1,l=0,u=0,c=0;cd?"-"==e.charAt(c)&&0==a.signum()&&(i=!0):(u=t*u+d,++l>=n&&(a.dMultiply(o),a.dAddOffset(u,0),l=0,u=0))}l>0&&(a.dMultiply(Math.pow(t,l)),a.dAddOffset(u,0)),i&&r.ZERO.subTo(a,a)}function Q(e,t,a){var n=this;if("number"==typeof t)if(2>e)n.fromInt(1);else for(n.fromNumber(e,a),n.testBit(e-1)||n.bitwiseTo(r.ONE.shiftLeft(e-1),ie,n),n.isEven()&&n.dAddOffset(1,0);!n.isProbablePrime(t);)n.dAddOffset(2,0),n.bitLength()>e&&n.subTo(r.ONE.shiftLeft(e-1),n);else{var o=new Array,i=7&e;o.length=(e>>3)+1,t.nextBytes(o),i>0?o[0]&=(1<0)for(n>n)!=(e.s&e.DM)>>n&&(a[o++]=r|e.s<=0;)8>n?(r=(e[t]&(1<>(n+=e.DB-8)):(r=e[t]>>(n-=8)&255,0>=n&&(n+=e.DB,--t)),0!=(128&r)&&(r|=-256),0===o&&(128&e.s)!=(128&r)&&++o,(o>0||r!=e.s)&&(a[o++]=r);return a}function ee(e){return 0==this.compareTo(e)}function te(e){return this.compareTo(e)<0?this:e}function ae(e){return this.compareTo(e)>0?this:e}function re(e,t,a){var r,n,o=this,i=Math.min(e.t,o.t);for(r=0;i>r;++r)a[r]=t(o[r],e[r]);if(e.te?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}function me(e){var t=n();return 0>e?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}function he(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function ye(){for(var e=0;e=this.t?0!=this.s:0!=(this[t]&1<r;)n+=a[r]+e[r],t[r++]=n&a.DM,n>>=a.DB;if(e.t>=a.DB;n+=a.s}else{for(n+=a.s;r>=a.DB;n+=e.s}t.s=0>n?-1:0,n>0?t[r++]=n:-1>n&&(t[r++]=a.DV+n),t.t=r,t.clamp()}function je(e){var t=n();return this.addTo(e,t),t}function Oe(e){var t=n();return this.subTo(e,t),t}function ze(e){var t=n();return this.multiplyTo(e,t),t}function Se(){var e=n();return this.squareTo(e),e}function Ae(e){var t=n();return this.divRemTo(e,t,null),t}function Pe(e){var t=n();return this.divRemTo(e,null,t),t}function Ce(e){var t=n(),a=n();return this.divRemTo(e,t,a),new Array(t,a)}function Be(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}function Te(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}}function qe(){}function De(e){return e}function Ne(e,t,a){e.multiplyTo(t,a)}function Me(e,t){e.squareTo(t)}function Ie(e){return this.exp(e,new qe)}function Re(e,t,a){var r=Math.min(this.t+e.t,t);for(a.s=0,a.t=r;r>0;)a[--r]=0;var n;for(n=a.t-this.t;n>r;++r)a[r+this.t]=this.am(0,e[r],a,r,0,this.t);for(n=Math.min(e.t,t);n>r;++r)this.am(0,e[r],a,r,0,t-r);a.clamp()}function Le(e,t,a){--t;var r=a.t=this.t+e.t-t;for(a.s=0;--r>=0;)a[r]=0;for(r=Math.max(t-this.t,0);r2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=n();return e.copyTo(t),this.reduce(t),t}function He(e){return e}function We(e){var t=this;for(e.drShiftTo(t.m.t-1,t.r2),e.t>t.m.t+1&&(e.t=t.m.t+1,e.clamp()),t.mu.multiplyUpperTo(t.r2,t.m.t+1,t.q3),t.m.multiplyLowerTo(t.q3,t.m.t+1,t.r2);e.compareTo(t.r2)<0;)e.dAddOffset(1,t.m.t+1);for(e.subTo(t.r2,e);e.compareTo(t.m)>=0;)e.subTo(t.m,e)}function Ke(e,t){e.squareTo(t),this.reduce(t)}function Ve(e,t,a){e.multiplyTo(t,a),this.reduce(a)}function Ge(e,t){var a,r,o=e.bitLength(),i=c(1);if(0>=o)return i;a=18>o?1:48>o?3:144>o?4:768>o?5:6,r=8>o?new S(t):t.isEven()?new Fe(t):new D(t);var s=new Array,l=3,u=a-1,d=(1<1){var f=n();for(r.sqrTo(s[1],f);d>=l;)s[l]=n(),r.mulTo(f,s[l-2],s[l]),l+=2}var p,m,h=e.t-1,y=!0,b=n();for(o=g(e[h])-1;h>=0;){for(o>=u?p=e[h]>>o-u&d:(p=(e[h]&(1<0&&(p|=e[h-1]>>this.DB+o-u)),l=a;0==(1&p);)p>>=1,--l;if((o-=l)<0&&(o+=this.DB,--h),y)s[p].copyTo(i),y=!1;else{for(;l>1;)r.sqrTo(i,b),r.sqrTo(b,i),l-=2;l>0?r.sqrTo(i,b):(m=i,i=b,b=m),r.mulTo(b,s[p],i)}for(;h>=0&&0==(e[h]&1<o)return t;for(o>n&&(o=n),o>0&&(t.rShiftTo(o,t),a.rShiftTo(o,a));t.signum()>0;)(n=t.getLowestSetBit())>0&&t.rShiftTo(n,t),(n=a.getLowestSetBit())>0&&a.rShiftTo(n,a),t.compareTo(a)>=0?(t.subTo(a,t),t.rShiftTo(1,t)):(a.subTo(t,a),a.rShiftTo(1,a));return o>0&&a.lShiftTo(o,a),a}function Ye(e){if(0>=e)return 0;var t=this.DV%e,a=this.s<0?e-1:0;if(this.t>0)if(0==t)a=this[0]%e;else for(var r=this.t-1;r>=0;--r)a=(t*a+this[r])%e;return a}function Je(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return r.ZERO;for(var a=e.clone(),n=this.clone(),o=c(1),i=c(0),s=c(0),l=c(1);0!=a.signum();){for(;a.isEven();)a.rShiftTo(1,a),t?(o.isEven()&&i.isEven()||(o.addTo(this,o),i.subTo(e,i)),o.rShiftTo(1,o)):i.isEven()||i.subTo(e,i),i.rShiftTo(1,i);for(;n.isEven();)n.rShiftTo(1,n),t?(s.isEven()&&l.isEven()||(s.addTo(this,s),l.subTo(e,l)),s.rShiftTo(1,s)):l.isEven()||l.subTo(e,l),l.rShiftTo(1,l);a.compareTo(n)>=0?(a.subTo(n,a),t&&o.subTo(s,o),i.subTo(l,i)):(n.subTo(a,n),t&&s.subTo(o,s),l.subTo(i,l))}return 0!=n.compareTo(r.ONE)?r.ZERO:l.compareTo(e)>=0?l.subtract(e):l.signum()<0?(l.addTo(e,l),l.signum()<0?l.add(e):l):l}a(449);e.exports=r;var Ze,Qe=r.prototype;r.prototype.am=o,Ze=26,r.prototype.DB=Ze,r.prototype.DM=(1<=at;++at)nt[tt++]=at;for(tt="a".charCodeAt(0),at=10;36>at;++at)nt[tt++]=at;for(tt="A".charCodeAt(0),at=10;36>at;++at)nt[tt++]=at;S.prototype.convert=A,S.prototype.revert=P,S.prototype.reduce=C,S.prototype.mulTo=B,S.prototype.sqrTo=T,D.prototype.convert=N,D.prototype.revert=M,D.prototype.reduce=I,D.prototype.mulTo=L,D.prototype.sqrTo=R,Qe.copyTo=l,Qe.fromInt=u,Qe.fromString=d,Qe.clamp=f,Qe.dlShiftTo=v,Qe.drShiftTo=w,Qe.lShiftTo=_,Qe.rShiftTo=k,Qe.subTo=E,Qe.multiplyTo=x,Qe.squareTo=j,Qe.divRemTo=O,Qe.invDigit=q,Qe.isEven=F,Qe.exp=U,Qe.toString=p,Qe.negate=m,Qe.abs=h,Qe.compareTo=y,Qe.bitLength=b,Qe.mod=z,Qe.modPowInt=H,qe.prototype.convert=De,qe.prototype.revert=De,qe.prototype.mulTo=Ne,qe.prototype.sqrTo=Me,Fe.prototype.convert=Ue,Fe.prototype.revert=He,Fe.prototype.reduce=We,Fe.prototype.mulTo=Ve,Fe.prototype.sqrTo=Ke,Qe.chunkSize=$,Qe.toRadix=J,Qe.fromRadix=Z,Qe.fromNumber=Q,Qe.bitwiseTo=re,Qe.changeBit=we,Qe.addTo=xe,Qe.dMultiply=Be,Qe.dAddOffset=Te,Qe.multiplyLowerTo=Re,Qe.multiplyUpperTo=Le,Qe.modInt=Ye,Qe.clone=W,Qe.intValue=K,Qe.byteValue=V,Qe.shortValue=G,Qe.signum=Y,Qe.toByteArray=X,Qe.equals=ee,Qe.min=te,Qe.max=ae,Qe.and=oe,Qe.or=se,Qe.xor=ue,Qe.andNot=de,Qe.not=fe,Qe.shiftLeft=pe,Qe.shiftRight=me,Qe.getLowestSetBit=ye,Qe.bitCount=be,Qe.testBit=ve,Qe.setBit=_e,Qe.clearBit=ke,Qe.flipBit=Ee,Qe.add=je,Qe.subtract=Oe,Qe.multiply=ze,Qe.divide=Ae,Qe.remainder=Pe,Qe.divideAndRemainder=Ce,Qe.modPow=Ge,Qe.modInverse=Je,Qe.pow=Ie,Qe.gcd=$e,Qe.square=Se,r.ZERO=c(0),r.ONE=c(1),r.valueOf=c},function(e,t,a){(function(e){var t=a(449),r=a(451);r.fromByteArrayUnsigned=function(e){return new r(128&e[0]?[0].concat(e):e)},r.prototype.toByteArrayUnsigned=function(){var e=this.toByteArray();return 0===e[0]?e.slice(1):e},r.fromDERInteger=function(e){return new r(e)},r.prototype.toDERInteger=r.prototype.toByteArray,r.fromBuffer=function(e){if(128&e[0]){var t=Array.prototype.slice.call(e);return new r([0].concat(t))}return new r(e)},r.fromHex=function(e){return""===e?r.ZERO:(t.equal(e,e.match(/^[A-Fa-f0-9]+/),"Invalid hex string"),t.equal(e.length%2,0,"Incomplete hex"),new r(e,16))},r.prototype.toBuffer=function(t){for(var a=this.toByteArrayUnsigned(),r=[],n=t-a.length;r.length=0)return!1;if(a.signum()<0||a.compareTo(o)>=0)return!1;var i=a.square().mod(o),s=t.pow(3).add(r.multiply(t)).add(n).mod(o);return i.equals(s)},r.prototype.validate=function(e){n(!this.isInfinity(e),"Point is at infinity"),n(this.isOnCurve(e),"Point is not on the curve");var t=e.multiply(this.n);return n(this.isInfinity(t),"Point is not a scalar multiple of G"),!0},e.exports=r},function(e,t,a){function r(e){var t=o[e];if(!t)return null;var a=new n(t.p,16),r=new n(t.a,16),s=new n(t.b,16),l=new n(t.n,16),u=new n(t.h,16),c=new n(t.Gx,16),d=new n(t.Gy,16);return new i(a,r,s,c,d,l,u)}var n=a(450),o=a(455),i=a(453);e.exports=r},function(e,t){e.exports={secp128r1:{p:"fffffffdffffffffffffffffffffffff",a:"fffffffdfffffffffffffffffffffffc",b:"e87579c11079f43dd824993c2cee5ed3",n:"fffffffe0000000075a30d1b9038a115",h:"01",Gx:"161ff7528b899b2d0c28607ca52c5b86",Gy:"cf5ac8395bafeb13c02da292dded7a83"},secp160k1:{p:"fffffffffffffffffffffffffffffffeffffac73",a:"00",b:"07",n:"0100000000000000000001b8fa16dfab9aca16b6b3",h:"01",Gx:"3b4c382ce37aa192a4019e763036f4f5dd4d7ebb",Gy:"938cf935318fdced6bc28286531733c3f03c4fee"},secp160r1:{p:"ffffffffffffffffffffffffffffffff7fffffff",a:"ffffffffffffffffffffffffffffffff7ffffffc",b:"1c97befc54bd7a8b65acf89f81d4d4adc565fa45",n:"0100000000000000000001f4c8f927aed3ca752257",h:"01",Gx:"4a96b5688ef573284664698968c38bb913cbfc82",Gy:"23a628553168947d59dcc912042351377ac5fb32"},secp192k1:{p:"fffffffffffffffffffffffffffffffffffffffeffffee37",a:"00",b:"03",n:"fffffffffffffffffffffffe26f2fc170f69466a74defd8d",h:"01",Gx:"db4ff10ec057e9ae26b07d0280b7f4341da5d1b1eae06c7d",Gy:"9b2f2f6d9c5628a7844163d015be86344082aa88d95e2f9d"},secp192r1:{p:"fffffffffffffffffffffffffffffffeffffffffffffffff",a:"fffffffffffffffffffffffffffffffefffffffffffffffc",b:"64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1",n:"ffffffffffffffffffffffff99def836146bc9b1b4d22831",h:"01",Gx:"188da80eb03090f67cbf20eb43a18800f4ff0afd82ff1012",Gy:"07192b95ffc8da78631011ed6b24cdd573f977a11e794811"},secp256k1:{p:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f",a:"00",b:"07",n:"fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",h:"01",Gx:"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",Gy:"483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"},secp256r1:{p:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff",a:"ffffffff00000001000000000000000000000000fffffffffffffffffffffffc",b:"5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b",n:"ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551",h:"01",Gx:"6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296",Gy:"4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"}}},function(e,t){function a(e){if(0===e.length)return"";var t,a,r=[0];for(t=0;t>8,r[a]&=255;for(;i;)r.push(255&i),i>>=8}for(t=0;"1"===e[t]&&tn;){for(var s=Math.min(t.length,o+this._blockSize-n%this._blockSize),l=s-o,u=0;l>u;u++)i[n%this._blockSize+u]=t[u+o];n+=l,o+=l,n%this._blockSize===0&&this._update(i)}return this._s=n,this},t.prototype.digest=function(e){var t=8*this._len;this._block[this._len%this._blockSize]=128,this._block.fill(0,this._len%this._blockSize+1),t%(8*this._blockSize)>=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(t,this._blockSize-4);var a=this._update(this._block)||this._hash();return e?a.toString(e):a},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t}},function(e,t,a){var r=a(409).inherits;e.exports=function(e,t){function a(){return m.length?m.pop().init():this instanceof a?(this._w=p,t.call(this,64,56),this._h=null,void this.init()):new a}function n(e,t,a,r){return 20>e?t&a|~t&r:40>e?t^a^r:60>e?t&a|t&r|a&r:t^a^r}function o(e){return 20>e?1518500249:40>e?1859775393:60>e?-1894007588:-899497514}function i(e,t){return e+t|0}function s(e,t){return e<>>32-t}var l=0,u=4,c=8,d=12,f=16,p=new("undefined"==typeof Int32Array?Array:Int32Array)(80),m=[];return r(a,t),a.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,t.prototype.init.call(this),this},a.prototype._POOL=m,a.prototype._update=function(e){var t,a,r,l,u,c,d,f,p,m;t=c=this._a,a=d=this._b,r=f=this._c,l=p=this._d,u=m=this._e;for(var h=this._w,y=0;80>y;y++){var g=h[y]=16>y?e.readInt32BE(4*y):s(h[y-3]^h[y-8]^h[y-14]^h[y-16],1),b=i(i(s(t,5),n(y,a,r,l)),i(i(u,g),o(y)));u=l,l=r,r=s(a,30),a=t,t=b}this._a=i(t,c),this._b=i(a,d),this._c=i(r,f),this._d=i(l,p),this._e=i(u,m)},a.prototype._hash=function(){m.length<100&&m.push(this);var t=new e(20);return t.writeInt32BE(0|this._a,l),t.writeInt32BE(0|this._b,u),t.writeInt32BE(0|this._c,c),t.writeInt32BE(0|this._d,d),t.writeInt32BE(0|this._e,f),t},a}},function(e,t,a){var r=a(409).inherits;e.exports=function(e,t){function a(){this.init(),this._w=p,t.call(this,64,56)}function n(e,t){return e>>>t|e<<32-t}function o(e,t){return e>>>t}function i(e,t,a){return e&t^~e&a}function s(e,t,a){return e&t^e&a^t&a}function l(e){return n(e,2)^n(e,13)^n(e,22)}function u(e){return n(e,6)^n(e,11)^n(e,25)}function c(e){return n(e,7)^n(e,18)^o(e,3)}function d(e){return n(e,17)^n(e,19)^o(e,10)}var f=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],p=new Array(64);return r(a,t),a.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._len=this._s=0,this},a.prototype._update=function(e){var t,a,r,n,o,p,m,h,y,g,b=this._w;t=0|this._a,a=0|this._b,r=0|this._c,n=0|this._d,o=0|this._e,p=0|this._f,m=0|this._g,h=0|this._h;for(var v=0;64>v;v++){var w=b[v]=16>v?e.readInt32BE(4*v):d(b[v-2])+b[v-7]+c(b[v-15])+b[v-16];y=h+u(o)+i(o,p,m)+f[v]+w,g=l(t)+s(t,a,r),h=m,m=p,p=o,o=n+y,n=r,r=a,a=t,t=y+g}this._a=t+this._a|0,this._b=a+this._b|0,this._c=r+this._c|0,this._d=n+this._d|0,this._e=o+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=h+this._h|0},a.prototype._hash=function(){var t=new e(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},a}},function(e,t,a){var r=a(409).inherits;e.exports=function(e,t){function a(){this.init(),this._w=l,t.call(this,128,112)}function n(e,t,a){return e>>>a|t<<32-a}function o(e,t,a){return e&t^~e&a}function i(e,t,a){return e&t^e&a^t&a}var s=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=new Array(160);return r(a,t),a.prototype.init=function(){return this._a=1779033703,this._b=-1150833019,this._c=1013904242,this._d=-1521486534,this._e=1359893119,this._f=-1694144372,this._g=528734635,this._h=1541459225,this._al=-205731576,this._bl=-2067093701,this._cl=-23791573,this._dl=1595750129,this._el=-1377402159,this._fl=725511199,this._gl=-79577749,this._hl=327033209,this._len=this._s=0,this},a.prototype._update=function(e){var t,a,r,l,u,c,d,f,p,m,h,y,g,b,v,w,_=this._w;t=0|this._a,a=0|this._b,r=0|this._c,l=0|this._d,u=0|this._e,c=0|this._f,d=0|this._g,f=0|this._h,p=0|this._al,m=0|this._bl,h=0|this._cl,y=0|this._dl,g=0|this._el,b=0|this._fl,v=0|this._gl,w=0|this._hl;for(var k=0;80>k;k++){var E,x,j=2*k;if(16>k)E=_[j]=e.readInt32BE(4*j),x=_[j+1]=e.readInt32BE(4*j+4);else{var O=_[j-30],z=_[j-30+1],S=n(O,z,1)^n(O,z,8)^O>>>7,A=n(z,O,1)^n(z,O,8)^n(z,O,7);O=_[j-4],z=_[j-4+1];var P=n(O,z,19)^n(z,O,29)^O>>>6,C=n(z,O,19)^n(O,z,29)^n(z,O,6),B=_[j-14],T=_[j-14+1],q=_[j-32],D=_[j-32+1];x=A+T,E=S+B+(A>>>0>x>>>0?1:0),x+=C,E=E+P+(C>>>0>x>>>0?1:0),x+=D,E=E+q+(D>>>0>x>>>0?1:0),_[j]=E,_[j+1]=x}var N=i(t,a,r),M=i(p,m,h),I=n(t,p,28)^n(p,t,2)^n(p,t,7),R=n(p,t,28)^n(t,p,2)^n(t,p,7),L=n(u,g,14)^n(u,g,18)^n(g,u,9),F=n(g,u,14)^n(g,u,18)^n(u,g,9),U=s[j],H=s[j+1],W=o(u,c,d),K=o(g,b,v),V=w+F,G=f+L+(w>>>0>V>>>0?1:0);V+=K,G=G+W+(K>>>0>V>>>0?1:0),V+=H,G=G+U+(H>>>0>V>>>0?1:0),V+=x,G=G+E+(x>>>0>V>>>0?1:0);var $=R+M,Y=I+N+(R>>>0>$>>>0?1:0);f=d,w=v,d=c,v=b,c=u,b=g,g=y+V|0,u=l+G+(y>>>0>g>>>0?1:0)|0,l=r,y=h,r=a,h=m,a=t,m=p,p=V+$|0,t=G+Y+(V>>>0>p>>>0?1:0)|0}this._al=this._al+p|0,this._bl=this._bl+m|0,this._cl=this._cl+h|0,this._dl=this._dl+y|0,this._el=this._el+g|0,this._fl=this._fl+b|0,this._gl=this._gl+v|0,this._hl=this._hl+w|0,this._a=this._a+t+(this._al>>>0