/*! For license information please see 2.7f706534.chunk.js.LICENSE.txt */ (this["webpackJsonptaquito-boilerplate-react"]=this["webpackJsonptaquito-boilerplate-react"]||[]).push([[2],[function(t,e,r){t.exports=r(199)},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t,e){for(var r=0;r=240?(c=4,s=!0):h>=224?(c=3,s=!0):h>=192?(c=2,s=!0):h<128&&(c=1,s=!0)}while(!s);for(var f=c-(a.length-u),l=0;l>8&-39)<<8|87+(e=t[o]>>>4)+(e-10>>8&-39),i+=String.fromCharCode(255&n)+String.fromCharCode(n>>>8);return i}var s={ORIGINAL:1,ORIGINAL_NO_PADDING:3,URLSAFE:5,URLSAFE_NO_PADDING:7};function u(t){if(null==t)return s.URLSAFE_NO_PADDING;if(t!==s.ORIGINAL&&t!==s.ORIGINAL_NO_PADDING&&t!==s.URLSAFE&&t!=s.URLSAFE_NO_PADDING)throw new Error("unsupported base64 variant");return t}function c(t,e){e=u(e),t=b(i,t,"input");var n,i=[],a=0|Math.floor(t.length/3),s=t.length-3*a,c=4*a+(0!==s?0==(2&e)?4:2+(s>>>1):0),h=new A(c+1),f=p(t);return i.push(f),i.push(h.address),0===r._sodium_bin2base64(h.address,h.length,f,t.length,e)&&y(i,"conversion failed"),h.length=c,n=o(h.to_Uint8Array()),g(i),n}function h(t,e){var r=e||"uint8array";if(!f(r))throw new Error(r+" output format is not available");if(t instanceof A){if("uint8array"===r)return t.to_Uint8Array();if("text"===r)return o(t.to_Uint8Array());if("hex"===r)return a(t.to_Uint8Array());if("base64"===r)return c(t.to_Uint8Array(),s.URLSAFE_NO_PADDING);throw new Error('What is output format "'+r+'"?')}if("object"==typeof t){for(var n=Object.keys(t),i={},u=0;u>>24>>>8,u,f);var I=h(y,a);return g(s),I}function Nt(t){var e=[];l(t);var n=new A(0|r._crypto_kdf_keybytes()),i=n.address;e.push(i),r._crypto_kdf_keygen(i);var o=h(n,t);return g(e),o}function Pt(t,e,n,i){var o=[];l(i),t=b(o,t,"clientPublicKey");var a,s=0|r._crypto_kx_publickeybytes();t.length!==s&&m(o,"invalid clientPublicKey length"),a=p(t),o.push(a),e=b(o,e,"clientSecretKey");var u,c=0|r._crypto_kx_secretkeybytes();e.length!==c&&m(o,"invalid clientSecretKey length"),u=p(e),o.push(u),n=b(o,n,"serverPublicKey");var f,d=0|r._crypto_kx_publickeybytes();n.length!==d&&m(o,"invalid serverPublicKey length"),f=p(n),o.push(f);var v=new A(0|r._crypto_kx_sessionkeybytes()),w=v.address;o.push(w);var I=new A(0|r._crypto_kx_sessionkeybytes()),E=I.address;if(o.push(E),0==(0|r._crypto_kx_client_session_keys(w,E,a,u,f))){var _=h({sharedRx:v,sharedTx:I},i);return g(o),_}y(o,"invalid usage")}function Tt(t){var e=[];l(t);var n=new A(0|r._crypto_kx_publickeybytes()),i=n.address;e.push(i);var o=new A(0|r._crypto_kx_secretkeybytes()),a=o.address;if(e.push(a),0==(0|r._crypto_kx_keypair(i,a))){var s={publicKey:h(n,t),privateKey:h(o,t),keyType:"x25519"};return g(e),s}y(e,"internal error")}function Ot(t,e){var n=[];l(e),t=b(n,t,"seed");var i,o=0|r._crypto_kx_seedbytes();t.length!==o&&m(n,"invalid seed length"),i=p(t),n.push(i);var a=new A(0|r._crypto_kx_publickeybytes()),s=a.address;n.push(s);var u=new A(0|r._crypto_kx_secretkeybytes()),c=u.address;if(n.push(c),0==(0|r._crypto_kx_seed_keypair(s,c,i))){var f={publicKey:h(a,e),privateKey:h(u,e),keyType:"x25519"};return g(n),f}y(n,"internal error")}function Ft(t,e,n,i){var o=[];l(i),t=b(o,t,"serverPublicKey");var a,s=0|r._crypto_kx_publickeybytes();t.length!==s&&m(o,"invalid serverPublicKey length"),a=p(t),o.push(a),e=b(o,e,"serverSecretKey");var u,c=0|r._crypto_kx_secretkeybytes();e.length!==c&&m(o,"invalid serverSecretKey length"),u=p(e),o.push(u),n=b(o,n,"clientPublicKey");var f,d=0|r._crypto_kx_publickeybytes();n.length!==d&&m(o,"invalid clientPublicKey length"),f=p(n),o.push(f);var v=new A(0|r._crypto_kx_sessionkeybytes()),w=v.address;o.push(w);var I=new A(0|r._crypto_kx_sessionkeybytes()),E=I.address;if(o.push(E),0==(0|r._crypto_kx_server_session_keys(w,E,a,u,f))){var _=h({sharedRx:v,sharedTx:I},i);return g(o),_}y(o,"invalid usage")}function Ut(t,e,n){var i=[];l(n);var o=p(t=b(i,t,"message")),a=t.length;i.push(o),e=b(i,e,"key");var s,u=0|r._crypto_onetimeauth_keybytes();e.length!==u&&m(i,"invalid key length"),s=p(e),i.push(s);var c=new A(0|r._crypto_onetimeauth_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_onetimeauth(f,o,a,0,s))){var d=h(c,n);return g(i),d}y(i,"invalid usage")}function Lt(t,e){var n=[];l(e),v(n,t,"state_address");var i=new A(0|r._crypto_onetimeauth_bytes()),o=i.address;if(n.push(o),0==(0|r._crypto_onetimeauth_final(t,o))){var a=(r._free(t),h(i,e));return g(n),a}y(n,"invalid usage")}function Gt(t,e){var n=[];l(e);var i=null;null!=t&&(i=p(t=b(n,t,"key")),t.length,n.push(i));var o=new A(144).address;if(0==(0|r._crypto_onetimeauth_init(o,i))){var a=o;return g(n),a}y(n,"invalid usage")}function Ht(t){var e=[];l(t);var n=new A(0|r._crypto_onetimeauth_keybytes()),i=n.address;e.push(i),r._crypto_onetimeauth_keygen(i);var o=h(n,t);return g(e),o}function jt(t,e,n){var i=[];l(n),v(i,t,"state_address");var o=p(e=b(i,e,"message_chunk")),a=e.length;i.push(o),0!=(0|r._crypto_onetimeauth_update(t,o,a))&&y(i,"invalid usage"),g(i)}function Yt(t,e,n){var i=[];t=b(i,t,"hash");var o,a=0|r._crypto_onetimeauth_bytes();t.length!==a&&m(i,"invalid hash length"),o=p(t),i.push(o);var s=p(e=b(i,e,"message")),u=e.length;i.push(s),n=b(i,n,"key");var c,h=0|r._crypto_onetimeauth_keybytes();n.length!==h&&m(i,"invalid key length"),c=p(n),i.push(c);var f=0==(0|r._crypto_onetimeauth_verify(o,s,u,0,c));return g(i),f}function Kt(t,e,n,i,o,a,s){var u=[];l(s),v(u,t,"keyLength"),("number"!=typeof t||(0|t)!==t||t<0)&&m(u,"keyLength must be an unsigned integer");var c=p(e=b(u,e,"password")),f=e.length;u.push(c),n=b(u,n,"salt");var d,w=0|r._crypto_pwhash_saltbytes();n.length!==w&&m(u,"invalid salt length"),d=p(n),u.push(d),v(u,i,"opsLimit"),("number"!=typeof i||(0|i)!==i||i<0)&&m(u,"opsLimit must be an unsigned integer"),v(u,o,"memLimit"),("number"!=typeof o||(0|o)!==o||o<0)&&m(u,"memLimit must be an unsigned integer"),v(u,a,"algorithm"),("number"!=typeof a||(0|a)!==a||a<0)&&m(u,"algorithm must be an unsigned integer");var I=new A(0|t),E=I.address;if(u.push(E),0==(0|r._crypto_pwhash(E,t,0,c,f,0,d,i,0,o,a))){var _=h(I,s);return g(u),_}y(u,"invalid usage")}function qt(t,e,n,i,o,a){var s=[];l(a),v(s,t,"keyLength"),("number"!=typeof t||(0|t)!==t||t<0)&&m(s,"keyLength must be an unsigned integer");var u=p(e=b(s,e,"password")),c=e.length;s.push(u),n=b(s,n,"salt");var f,d=0|r._crypto_pwhash_scryptsalsa208sha256_saltbytes();n.length!==d&&m(s,"invalid salt length"),f=p(n),s.push(f),v(s,i,"opsLimit"),("number"!=typeof i||(0|i)!==i||i<0)&&m(s,"opsLimit must be an unsigned integer"),v(s,o,"memLimit"),("number"!=typeof o||(0|o)!==o||o<0)&&m(s,"memLimit must be an unsigned integer");var w=new A(0|t),I=w.address;if(s.push(I),0==(0|r._crypto_pwhash_scryptsalsa208sha256(I,t,0,u,c,0,f,i,0,o))){var E=h(w,a);return g(s),E}y(s,"invalid usage")}function Jt(t,e,n,i,o,a,s){var u=[];l(s);var c=p(t=b(u,t,"password")),f=t.length;u.push(c);var d=p(e=b(u,e,"salt")),w=e.length;u.push(d),v(u,n,"opsLimit"),("number"!=typeof n||(0|n)!==n||n<0)&&m(u,"opsLimit must be an unsigned integer"),v(u,i,"r"),("number"!=typeof i||(0|i)!==i||i<0)&&m(u,"r must be an unsigned integer"),v(u,o,"p"),("number"!=typeof o||(0|o)!==o||o<0)&&m(u,"p must be an unsigned integer"),v(u,a,"keyLength"),("number"!=typeof a||(0|a)!==a||a<0)&&m(u,"keyLength must be an unsigned integer");var I=new A(0|a),E=I.address;if(u.push(E),0==(0|r._crypto_pwhash_scryptsalsa208sha256_ll(c,f,d,w,n,0,i,o,E,a))){var _=h(I,s);return g(u),_}y(u,"invalid usage")}function Vt(t,e,n,i){var o=[];l(i);var a=p(t=b(o,t,"password")),s=t.length;o.push(a),v(o,e,"opsLimit"),("number"!=typeof e||(0|e)!==e||e<0)&&m(o,"opsLimit must be an unsigned integer"),v(o,n,"memLimit"),("number"!=typeof n||(0|n)!==n||n<0)&&m(o,"memLimit must be an unsigned integer");var u=new A(0|r._crypto_pwhash_scryptsalsa208sha256_strbytes()).address;if(o.push(u),0==(0|r._crypto_pwhash_scryptsalsa208sha256_str(u,a,s,0,e,0,n))){var c=r.UTF8ToString(u);return g(o),c}y(o,"invalid usage")}function zt(t,e,n){var o=[];l(n),"string"!=typeof t&&m(o,"hashed_password must be a string"),t=i(t+"\0"),null!=s&&t.length-1!==s&&m(o,"invalid hashed_password length");var a=p(t),s=t.length-1;o.push(a);var u=p(e=b(o,e,"password")),c=e.length;o.push(u);var h=0==(0|r._crypto_pwhash_scryptsalsa208sha256_str_verify(a,u,c,0));return g(o),h}function Xt(t,e,n,i){var o=[];l(i);var a=p(t=b(o,t,"password")),s=t.length;o.push(a),v(o,e,"opsLimit"),("number"!=typeof e||(0|e)!==e||e<0)&&m(o,"opsLimit must be an unsigned integer"),v(o,n,"memLimit"),("number"!=typeof n||(0|n)!==n||n<0)&&m(o,"memLimit must be an unsigned integer");var u=new A(0|r._crypto_pwhash_strbytes()).address;if(o.push(u),0==(0|r._crypto_pwhash_str(u,a,s,0,e,0,n))){var c=r.UTF8ToString(u);return g(o),c}y(o,"invalid usage")}function Wt(t,e,n,o){var a=[];l(o),"string"!=typeof t&&m(a,"hashed_password must be a string"),t=i(t+"\0"),null!=u&&t.length-1!==u&&m(a,"invalid hashed_password length");var s=p(t),u=t.length-1;a.push(s),v(a,e,"opsLimit"),("number"!=typeof e||(0|e)!==e||e<0)&&m(a,"opsLimit must be an unsigned integer"),v(a,n,"memLimit"),("number"!=typeof n||(0|n)!==n||n<0)&&m(a,"memLimit must be an unsigned integer");var c=0!=(0|r._crypto_pwhash_str_needs_rehash(s,e,0,n));return g(a),c}function Zt(t,e,n){var o=[];l(n),"string"!=typeof t&&m(o,"hashed_password must be a string"),t=i(t+"\0"),null!=s&&t.length-1!==s&&m(o,"invalid hashed_password length");var a=p(t),s=t.length-1;o.push(a);var u=p(e=b(o,e,"password")),c=e.length;o.push(u);var h=0==(0|r._crypto_pwhash_str_verify(a,u,c,0));return g(o),h}function $t(t,e,n){var i=[];l(n),t=b(i,t,"privateKey");var o,a=0|r._crypto_scalarmult_scalarbytes();t.length!==a&&m(i,"invalid privateKey length"),o=p(t),i.push(o),e=b(i,e,"publicKey");var s,u=0|r._crypto_scalarmult_scalarbytes();e.length!==u&&m(i,"invalid publicKey length"),s=p(e),i.push(s);var c=new A(0|r._crypto_scalarmult_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_scalarmult(f,o,s))){var d=h(c,n);return g(i),d}y(i,"weak public key")}function te(t,e){var n=[];l(e),t=b(n,t,"privateKey");var i,o=0|r._crypto_scalarmult_scalarbytes();t.length!==o&&m(n,"invalid privateKey length"),i=p(t),n.push(i);var a=new A(0|r._crypto_scalarmult_scalarbytes()),s=a.address;if(n.push(s),0==(0|r._crypto_scalarmult_base(s,i))){var u=h(a,e);return g(n),u}y(n,"insecure scalar")}function ee(t,e,n){var i=[];l(n),t=b(i,t,"scalar");var o,a=0|r._crypto_scalarmult_ristretto255_scalarbytes();t.length!==a&&m(i,"invalid scalar length"),o=p(t),i.push(o),e=b(i,e,"privateKey");var s,u=0|r._crypto_scalarmult_ristretto255_bytes();e.length!==u&&m(i,"invalid privateKey length"),s=p(e),i.push(s);var c=new A(0|r._crypto_scalarmult_ristretto255_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_scalarmult_ristretto255(f,o,s))){var d=h(c,n);return g(i),d}y(i,"input is zero element")}function re(t,e){var n=[];l(e);var i=p(t=b(n,t,"scalar"));t.length,n.push(i);var o=new A(0|r._crypto_core_ristretto255_bytes()),a=o.address;if(n.push(a),0==(0|r._crypto_scalarmult_ristretto255_base(a,i))){var s=h(o,e);return g(n),s}y(n,"scalar is 0")}function ne(t,e,n,i){var o=[];l(i);var a=p(t=b(o,t,"message")),s=t.length;o.push(a),e=b(o,e,"nonce");var u,c=0|r._crypto_secretbox_noncebytes();e.length!==c&&m(o,"invalid nonce length"),u=p(e),o.push(u),n=b(o,n,"key");var f,d=0|r._crypto_secretbox_keybytes();n.length!==d&&m(o,"invalid key length"),f=p(n),o.push(f);var v=new A(0|s),w=v.address;o.push(w);var I=new A(0|r._crypto_secretbox_macbytes()),E=I.address;if(o.push(E),0==(0|r._crypto_secretbox_detached(w,E,a,s,0,u,f))){var _=h({mac:I,cipher:v},i);return g(o),_}y(o,"invalid usage")}function ie(t,e,n,i){var o=[];l(i);var a=p(t=b(o,t,"message")),s=t.length;o.push(a),e=b(o,e,"nonce");var u,c=0|r._crypto_secretbox_noncebytes();e.length!==c&&m(o,"invalid nonce length"),u=p(e),o.push(u),n=b(o,n,"key");var f,d=0|r._crypto_secretbox_keybytes();n.length!==d&&m(o,"invalid key length"),f=p(n),o.push(f);var v=new A(s+r._crypto_secretbox_macbytes()|0),w=v.address;if(o.push(w),0==(0|r._crypto_secretbox_easy(w,a,s,0,u,f))){var I=h(v,i);return g(o),I}y(o,"invalid usage")}function oe(t){var e=[];l(t);var n=new A(0|r._crypto_secretbox_keybytes()),i=n.address;e.push(i),r._crypto_secretbox_keygen(i);var o=h(n,t);return g(e),o}function ae(t,e,n,i,o){var a=[];l(o);var s=p(t=b(a,t,"ciphertext")),u=t.length;a.push(s),e=b(a,e,"mac");var c,f=0|r._crypto_secretbox_macbytes();e.length!==f&&m(a,"invalid mac length"),c=p(e),a.push(c),n=b(a,n,"nonce");var d,v=0|r._crypto_secretbox_noncebytes();n.length!==v&&m(a,"invalid nonce length"),d=p(n),a.push(d),i=b(a,i,"key");var w,I=0|r._crypto_secretbox_keybytes();i.length!==I&&m(a,"invalid key length"),w=p(i),a.push(w);var E=new A(0|u),_=E.address;if(a.push(_),0==(0|r._crypto_secretbox_open_detached(_,s,c,u,0,d,w))){var B=h(E,o);return g(a),B}y(a,"wrong secret key for the given ciphertext")}function se(t,e,n,i){var o=[];l(i),t=b(o,t,"ciphertext");var a,s=r._crypto_secretbox_macbytes(),u=t.length;u>>0;return g([]),e}function Ke(t,e){var n=[];l(e);for(var i=r._malloc(24),o=0;o<6;o++)r.setValue(i+4*o,r.Runtime.addFunction(t[["implementation_name","random","stir","uniform","buf","close"][o]]),"i32");0!=(0|r._randombytes_set_implementation(i))&&y(n,"unsupported implementation"),g(n)}function qe(t){l(t),r._randombytes_stir()}function Je(t,e){var n=[];l(e),v(n,t,"upper_bound"),("number"!=typeof t||(0|t)!==t||t<0)&&m(n,"upper_bound must be an unsigned integer");var i=r._randombytes_uniform(t)>>>0;return g(n),i}function Ve(){var t=r._sodium_version_string(),e=r.UTF8ToString(t);return g([]),e}return A.prototype.to_Uint8Array=function(){var t=new Uint8Array(this.length);return t.set(r.HEAPU8.subarray(this.address,this.address+this.length)),t},t.add=function(t,e){if(!(t instanceof Uint8Array&&e instanceof Uint8Array))throw new TypeError("Only Uint8Array instances can added");var r=t.length,n=0,i=0;if(e.length!=t.length)throw new TypeError("Arguments must have the same length");for(i=0;i>=8,n+=t[i]+e[i],t[i]=255&n},t.base64_variants=s,t.compare=function(t,e){if(!(t instanceof Uint8Array&&e instanceof Uint8Array))throw new TypeError("Only Uint8Array instances can be compared");if(t.length!==e.length)throw new TypeError("Only instances of identical length can be compared");for(var r=0,n=1,i=t.length;i-- >0;)r|=e[i]-t[i]>>8&n,n&=(e[i]^t[i])-1>>8;return r+r+n-1},t.from_base64=function(t,e){e=u(e);var n,i=[],o=new A(3*(t=b(i,t,"input")).length/4),a=p(t),s=d(4),c=d(4);return i.push(a),i.push(o.address),i.push(o.result_bin_len_p),i.push(o.b64_end_p),0!==r._sodium_base642bin(o.address,o.length,a,t.length,0,s,c,e)&&y(i,"invalid input"),r.getValue(c,"i32")-a!==t.length&&y(i,"incomplete input"),o.length=r.getValue(s,"i32"),n=o.to_Uint8Array(),g(i),n},t.from_hex=function(t){var e,n=[],i=new A((t=b(n,t,"input")).length/2),o=p(t),a=d(4);return n.push(o),n.push(i.address),n.push(i.hex_end_p),0!==r._sodium_hex2bin(i.address,i.length,o,t.length,0,0,a)&&y(n,"invalid input"),r.getValue(a,"i32")-o!==t.length&&y(n,"incomplete input"),e=i.to_Uint8Array(),g(n),e},t.from_string=i,t.increment=function(t){if(!(t instanceof Uint8Array))throw new TypeError("Only Uint8Array instances can be incremented");for(var e=256,r=0,n=t.length;r>=8,e+=t[r],t[r]=255&e},t.is_zero=function(t){if(!(t instanceof Uint8Array))throw new TypeError("Only Uint8Array instances can be checked");for(var e=0,r=0,n=t.length;r 0");var n,i=[],o=d(4),a=1,s=0,u=0|t.length,c=new A(u+e);i.push(o),i.push(c.address);for(var h=c.address,f=c.address+u+e;h>>48|u>>>32|u>>>16|u))-1>>16);return 0!==r._sodium_pad(o,c.address,t.length,e,c.length)&&y(i,"internal error"),c.length=r.getValue(o,"i32"),n=c.to_Uint8Array(),g(i),n},t.unpad=function(t,e){if(!(t instanceof Uint8Array))throw new TypeError("buffer must be a Uint8Array");if((e|=0)<=0)throw new Error("block size must be > 0");var n=[],i=p(t),o=d(4);return n.push(i),n.push(o),0!==r._sodium_unpad(o,i,t.length,e)&&y(n,"unsupported/invalid padding"),t=(t=new Uint8Array(t)).subarray(0,r.getValue(o,"i32")),g(n),t},t.ready=n,t.symbols=function(){return Object.keys(t).sort()},t.to_base64=c,t.to_hex=a,t.to_string=o,t})?n.apply(e,i):n)&&(t.exports=o),s&&a.sodium.ready.then((function(){s(a.sodium)}))}(this)},function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return f})),r.d(e,"c",(function(){return C})),r.d(e,"d",(function(){return Q})),r.d(e,"e",(function(){return R})),r.d(e,"f",(function(){return B})),r.d(e,"g",(function(){return k})),r.d(e,"h",(function(){return S})),r.d(e,"i",(function(){return M})),r.d(e,"j",(function(){return s})),r.d(e,"k",(function(){return m})),r.d(e,"l",(function(){return v})),r.d(e,"m",(function(){return b})),r.d(e,"n",(function(){return I})),r.d(e,"o",(function(){return w}));var n,i,o,a=r(11);!function(t){t.TZ1="tz1",t.TZ2="tz2",t.TZ3="tz3",t.KT="KT",t.KT1="KT1",t.EDSK2="edsk2",t.SPSK="spsk",t.P2SK="p2sk",t.EDPK="edpk",t.SPPK="sppk",t.P2PK="p2pk",t.EDESK="edesk",t.SPESK="spesk",t.P2ESK="p2esk",t.EDSK="edsk",t.EDSIG="edsig",t.SPSIG="spsig",t.P2SIG="p2sig",t.SIG="sig",t.NET="Net",t.NCE="nce",t.B="b",t.O="o",t.LO="Lo",t.LLO="LLo",t.P="P",t.CO="Co",t.ID="id",t.EXPR="expr",t.TZ="TZ"}(o||(o={}));var s=((n={})[o.TZ1]=new Uint8Array([6,161,159]),n[o.TZ2]=new Uint8Array([6,161,161]),n[o.TZ3]=new Uint8Array([6,161,164]),n[o.KT]=new Uint8Array([2,90,121]),n[o.KT1]=new Uint8Array([2,90,121]),n[o.EDSK]=new Uint8Array([43,246,78,7]),n[o.EDSK2]=new Uint8Array([13,15,58,7]),n[o.SPSK]=new Uint8Array([17,162,224,201]),n[o.P2SK]=new Uint8Array([16,81,238,189]),n[o.EDPK]=new Uint8Array([13,15,37,217]),n[o.SPPK]=new Uint8Array([3,254,226,86]),n[o.P2PK]=new Uint8Array([3,178,139,127]),n[o.EDESK]=new Uint8Array([7,90,60,179,41]),n[o.SPESK]=new Uint8Array([9,237,241,174,150]),n[o.P2ESK]=new Uint8Array([9,48,57,115,171]),n[o.EDSIG]=new Uint8Array([9,245,205,134,18]),n[o.SPSIG]=new Uint8Array([13,115,101,19,63]),n[o.P2SIG]=new Uint8Array([54,240,44,52]),n[o.SIG]=new Uint8Array([4,130,43]),n[o.NET]=new Uint8Array([87,82,0]),n[o.NCE]=new Uint8Array([69,220,169]),n[o.B]=new Uint8Array([1,52]),n[o.O]=new Uint8Array([5,116]),n[o.LO]=new Uint8Array([133,233]),n[o.LLO]=new Uint8Array([29,159,109]),n[o.P]=new Uint8Array([2,170]),n[o.CO]=new Uint8Array([79,179]),n[o.ID]=new Uint8Array([153,103]),n[o.EXPR]=new Uint8Array([13,44,64,27]),n[o.TZ]=new Uint8Array([2,90,121]),n),u=((i={})[o.TZ1]=20,i[o.TZ2]=20,i[o.TZ3]=20,i[o.KT]=20,i[o.KT1]=20,i[o.EDPK]=32,i[o.SPPK]=33,i[o.P2PK]=33,i[o.EDSIG]=64,i[o.SPSIG]=64,i[o.P2SIG]=64,i[o.SIG]=64,i[o.NET]=4,i[o.B]=32,i[o.P]=32,i[o.O]=32,i);function c(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function h(t,e){for(var r=0,n=e.length,i=t.length;r\n {{body}}\n\n',css:":host {\n --animation-duration: 300ms;\n all: initial;\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n.animated {\n animation-duration: var(--animation-duration);\n animation-fill-mode: both;\n}\n\n.fadeIn {\n animation-name: fadeIn;\n}\n\n.fadeOut {\n animation-name: fadeOut;\n}\n\n.beacon-modal__wrapper {\n position: relative;\n top: 0;\n display: inline-block;\n z-index: 2147483000;\n max-width: 500px;\n width: 80%;\n padding: 24px;\n}\n\n@media (min-height: 700px) {\n .beacon-modal__wrapper {\n top: 50%;\n transform: translateY(-50%);\n }\n}\n\n.theme__light .beacon-modal__base,\n.theme__light .beacon-modal__close__wrapper {\n background: #fff;\n}\n\n.theme__dark .beacon-modal__base,\n.theme__dark .beacon-modal__close__wrapper {\n background: #27334c;\n}\n\n.beacon-modal__base,\n.beacon-modal__close__wrapper {\n box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.1);\n}\n\n.beacon-modal__base {\n margin: 0 auto;\n border-radius: 32px;\n overflow: hidden;\n}\n\n.beacon-modal__header {\n padding: 16px 0;\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n}\n\n.beacon-modal__headerLogo {\n width: 100%;\n max-width: 320px;\n margin: 20px auto;\n height: 100%;\n}\n\na,\nbutton {\n cursor: pointer;\n}\n\n.beacon-modal__close__wrapper {\n position: absolute;\n top: 44px;\n right: 24px;\n z-index: 10000;\n cursor: pointer;\n border-radius: 100%;\n}\n\n.beacon-modal__close__icon {\n width: 16px;\n height: 16px;\n position: relative;\n top: 0;\n right: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n transform: rotate(45deg);\n margin: 8px;\n}\n\n.beacon-modal__close__line1 {\n position: absolute;\n width: 90%;\n}\n\n.beacon-modal__close__line2 {\n position: absolute;\n width: 90%;\n transform: rotate(90deg);\n}\n\n.theme__light .beacon-modal__close__line2,\n.theme__light .beacon-modal__close__line1 {\n border: 1px solid #000;\n}\n\n.theme__dark .beacon-modal__close__line2,\n.theme__dark .beacon-modal__close__line1 {\n border: 1px solid #fff;\n}\n\n.beacon-alert__base {\n position: fixed;\n overflow-y: scroll;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 2147482999;\n background-color: rgb(17 17 17 / 0.84);\n text-align: center;\n -ms-overflow-style: none;\n scrollbar-width: none;\n font-family: Roboto, Helvetica, sans-serif;\n}\n\n.beacon-alert__base::-webkit-scrollbar {\n display: none;\n}\n\n.beacon-alert__title {\n text-align: center;\n}\n\n.beacon-alert__text,\n.beacon-alert__title {\n margin: 0 auto;\n padding: 0 0 24px;\n}\n\n.margin__bottom {\n margin-bottom: 16px;\n}\n\n.beacon-alert__title {\n font-size: 18px;\n}\n\n.theme__light .beacon-alert__title {\n color: #3b3d40;\n}\n\n.theme__dark .beacon-alert__title,\n.theme__dark .beacon-alert__text {\n color: #7c99d6;\n}\n\n.beacon-alert__text {\n color: #000;\n font-size: 14px;\n}\n\n.beacon-modal__button,\n.beacon-modal__button--outline {\n height: 36px;\n font-size: 14px;\n letter-spacing: 0.84px;\n margin-bottom: 4px;\n margin-inline-end: 2px;\n margin-inline-start: 2px;\n margin-left: 2px;\n margin-right: 2px;\n margin-top: 4px;\n padding-inline-end: 15.4px;\n padding-inline-start: 15.4px;\n padding-left: 15.4px;\n padding-right: 15.4px;\n overflow-wrap: break-word;\n pointer-events: auto;\n text-align: center;\n border-radius: 4px;\n border: 2px solid #3880ff;\n}\n\n.beacon-modal__button {\n background: #3880ff;\n color: #fff;\n}\n\n.beacon-modal__button--outline {\n background: #fff;\n color: #444444;\n border: 1px solid #444444;\n}\n\n.beacon-alert__image {\n width: 200px;\n height: 200px;\n box-sizing: border-box;\n box-shadow: 0 10px 20px 0 rgba(17, 17, 17, 0.12);\n border: 1px solid rgba(17, 17, 17, 0.04);\n border-radius: 16px;\n}\n.connect__btn {\n margin: 24px 0;\n width: 100%;\n}\n\n#beacon-modal__content {\n padding: 24px;\n}\n\n#beacon-switch {\n margin-top: 24px;\n}\n\n#beacon-title {\n margin: 0 0 24px;\n}\n\na {\n text-decoration: none;\n}\n\npre {\n white-space: pre-wrap; /* css-3 */\n white-space: -moz-pre-wrap; /* Mozilla, since 1999 */\n white-space: -pre-wrap; /* Opera 4-6 */\n white-space: -o-pre-wrap; /* Opera 7 */\n word-wrap: break-word; /* Internet Explorer 5.5+ */\n padding: 16px;\n background: #ececec;\n line-height: 1.25rem;\n}\n"},x={html:'\n\n
\n

\n Scan QR code with a Beacon-compatible wallet.\n Learn more\n

\n {{body}}\n
\n\n
\n \n
\n\n
\n',css:"#beacon-main-text {\n display: initial;\n}\n.beacon-selection__container {\n padding: 16px 16px 0;\n}\n.beacon-selection__list {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n text-decoration: none;\n padding-bottom: 12px;\n align-items: center;\n}\n.beacon-list__title {\n text-align: left;\n font-size: 12px;\n}\n.beacon-list__wrapper:nth-child(-n + 3) {\n padding: 0 0 1rem;\n}\n.theme__light .beacon-list__title {\n color: #7c828b;\n}\n.theme__dark .beacon-list__title,\n.theme__dark #beacon--disclaimer {\n color: #7c99d6;\n}\n\n.beacon-selection__name {\n font-size: 1rem;\n font-weight: 600;\n text-align: left;\n}\n.theme__light .beacon-selection__name,\n.theme__light .beacon--selection__name__lg {\n color: #3b3d40;\n}\n.theme__dark .beacon-selection__name,\n.theme__dark .beacon--selection__name__lg {\n color: #6183ff;\n}\n.beacon-selection__img {\n width: 48px;\n height: 48px;\n box-shadow: 0 4px 12px 0 rgba(17, 17, 17, 0.24);\n border-radius: 16px;\n background-color: #fff;\n}\n.beacon--selection__name__lg {\n font-size: 1.5rem;\n font-weight: 600;\n text-align: center;\n padding: 1rem 0;\n}\n.beacon--selected__container {\n padding: 2rem 0 0;\n}\n#beacon--qr__copy__container {\n height: 0;\n}\n#beacon--qr__copy {\n display: none;\n position: relative;\n top: -190px;\n left: 138px;\n margin: 0;\n}\n#beacon--qr__container {\n margin-left: auto;\n margin-right: auto;\n}\n#beacon--qr__container:hover #beacon--qr__copy {\n display: block;\n}\n.disabled {\n cursor: initial;\n}\n.disabled span,\n.disabled img {\n opacity: 0.48;\n}\n.disabled p {\n text-align: left;\n margin: 0;\n font-size: 10px;\n font-weight: 300;\n}\n.disabled img {\n -webkit-filter: grayscale(100%);\n -moz-filter: grayscale(100%);\n -ms-filter: grayscale(100%);\n -o-filter: grayscale(100%);\n filter: grayscale(100%);\n filter: gray;\n}\n\n#beacon--disclaimer {\n text-align: left;\n padding-top: 24px;\n font-size: 0.875rem;\n}\n.progress-line,\n.progress-line:before {\n height: 3px;\n width: -webkit-fill-available;\n margin-left: -24px;\n margin-right: -24px;\n}\n.progress-line {\n background-color: #a7c4f7;\n display: -webkit-flex;\n display: flex;\n}\n.progress-line:before {\n background-color: #3880ff;\n content: '';\n -webkit-animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n}\n@-webkit-keyframes running-progress {\n 0% {\n margin-left: 0px;\n margin-right: 100%;\n }\n 50% {\n margin-left: 25%;\n margin-right: 0%;\n }\n 100% {\n margin-left: 100%;\n margin-right: 0;\n }\n}\n@keyframes running-progress {\n 0% {\n margin-left: 0px;\n margin-right: 100%;\n }\n 50% {\n margin-left: 25%;\n margin-right: 0%;\n }\n 100% {\n margin-left: 100%;\n margin-right: 0;\n }\n}\n"},D=r(55),R=r(14),N=function(t,e){return e.test(t.navigator.userAgent)},P=function(t){return function(t,e){return t.matchMedia(e).matches}(t,"(any-pointer:coarse)")},T=function(t){return N(t,/iPhone|iPod/i)||function(t){return!!N(t,/iPad/i)||!(!N(t,/Macintosh/i)||!P(t))}(t)},O=function(t){return N(t,/android|sink/i)},F=r(19),U=function(t,e){return"".concat(t,"?type=tzip10&data=").concat(e)},L=[{key:"spire_chrome",id:"gpfndedineagiepkpinficbcbbgjoenn",name:"Spire",shortName:"Spire",color:"",logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAA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ee4oYXlWHNnXat6P/9e7e+ChuQZeKmfj17t7YdeTZh38ydOzgnQimxnmzFq/52pqPHrgTn8UsZQO4qYhhvzq1acC+Hf1Hunvjw3g35qnIcI00+puvPPvIDFMnXNjX/1uzFq3pQaZsJ24qYhjQgEyDihgG0IPtxji299/mmGKv7nl8jmqPoaeIYUCDMk0oYjiEm/BZjDgljQw6tvffTbVjP/62NDLoZ4axGeuKGA5rQqZJRQwnsQk3YNcbL/+Pk6/sMdVOvrLHyVf2OGUnbsBdRQwnNSmYBHlMM/d/69Mb9//rZzaNDh3vNIWy9hlHu3s+uXnx9X/4hSKGE1oUTKKLb/ri/ENP/d2GwVf33zF84qVFJlH7jK4XOjq7vyylLccPPXPYJAmmwII1H+x44+Xn140Onbj9jRd33zj8xpEuTWibcd6R6Z0XfaN9ZteDM+Yu23boqb8dNMmCKfSWd/yx0eGT04ZeO3j56wefytPwyV8ZOv7israO2RekkcFFieCUQAptHQdHBl/7ybRz5j0X2qf/cNai1cW02Qv/M2ufMbT/W582VYJfgEXXfCQMHXshS2nET4XQZtqchaMHn/hCctZZZ/08/R8wPGmSSU1PIgAAAABJRU5ErkJggg==",link:"https://spirewallet.com/"},{key:"temple_chrome",id:"ookjlbkiijinhpmnjffcofjonbfbgaoc",name:"Temple Wallet",shortName:"Temple",color:"",logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAGbElEQVR4Ae3B32/ddR3H8efr/f1+z2m7dT1n3Vp+De22EsxmxARvCNDGhBvDj3/AaxdMJEpIUAOJxl8IXJnFGyNX3i3BiEG9ELIqZNSLmRBYYD+7CS3tuv5Y23N6es7n87Zd2uULxAXDt2cmnseDjo6Ojo6Ojo6Ojo7/S6Jgje/sGdTdu1+2ewZvwwQSMsAEJjCBBCYwwAQSMoEJDDCBBCYwgQmJN3XLH79JwUSBGt/dO4jzmqrlQ/bQEJhAQgaYwAQmkMAEBphAQiYwgQEmkMAEJjAhsYxU1eArLQpkFKT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/AQ8VbE51dhpUmeHajgy018psamfuAw28C4GVpxjOAQIgTHJ5fI04EqkvDzC+SMsg1SbgL1ZL32tVtAYoN2d5OnPd2oUsbPL8B9t7NpBPgVBTParPG9vU95rfmMbutFBypouAr93XyMQPsrxAsL5Iz49KNGwYw2ajw1+BSpvUBm+EyNG9GBCiw38cs1rhH9wGEKZrTJ2vdv/bIye0FZgjLDZ2vciPZXQODnF7hOjFIwo11SO02W1MkMsgTmV7kR9XejvjJ+YZGcEQpmtEnppx82yOwEpQQyw+stWAvciPZXiBOL4GwZ8cuPGQVKaadSMob4OhJEJ/z+DHSlKDPoLZE8cAd0p2zRUAXeuQyzNRjsYV0/cBh4m4IYbaTMjitLkMBPzRLfu4KfmiVOLEK9hV+pk6ehPpCIE4vkjFIgo51SGwfq8Z/T+GKDa7pTbKgP3PGZGnnq70Z9ZfzCIteJEQqU0EY/+fNceOb2cNpn66+T6FUSe9UO7XkQKBMc1gI2XAUJJJDwj1bwS4sk990BEkgDP3r67hd//Pz7TgFS2qz80uIxctbu4RFC/Abu+HyAWgt2ZmzRUB/x1Cx+pY729rCuH3QYeJsCGDdbM4zRjNCM0Az41DJ5+kIfSPjEIjmjFCTlZmvG47iDA9EJf72ITk5DapAIMoNEhPEpfLoGBkg9FCTlZmvFkx79Ku67fHIZ5huQGaSGMoMdGSTCP1omzNbAdBT4JQUxbrLSc1MtmuENv7QEM3U+pRGgGdl0FHiifPSKU5CU/wE+ufI8l2t/JzH+I2eW6L8t/3rO6ejo6Ojo6Ojo6Ojo+Jz+DTK0Yr9D+W0JAAAAAElFTkSuQmCC",link:"https://templewallet.com/"}],G=[{key:"galleon_desktop",name:"Galleon",shortName:"Galleon",color:"",logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAN6ElEQVR4Ad3BC3SW9X3A8e/v/7yX3IAQCLdwhyCKGlARRBRorbdZaWu1lx27Xlydp+txW1vtXLs2nh0723o6e13VdhU7dahzFdGCchOE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uZFX92xd//19Q1NDgNRZea0ycydPZ3uZJI3Svbheh59TRw3lsWXXULJ3gMcb2zhfVLneYEnWqIj/jWyIHmC554jHYR0Gnkr4yc0TM4MmDska9StjsoSgaAIzJs7m4IJ+QhCeVUtpeVVIEJf2VkZLF+ykKamVnbtP0RKXbdNvOIkEi90BXI2NB98zSPNhGGSPXEiubnTRnzuMx9bNH3yxCtWPbN2XkNL50zEFACjQTMBA7jhcCiy8sblDR0dsepX168/4pnAft/rLIn62aXthzcr/1/kXng15OQzadZCcifPkbyCQpORP5fr77qLd8rKgHmcb/8N3VaULP16cD8AAAAASUVORK5CYII=",deepLink:"galleon://"},{key:"umami_desktop",name:"Umami",shortName:"Umami",color:"",logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAANSklEQVR4Ae3BC1RVZaLA8f+39z4HgQXiJBmgLWpEHRXFQhHMiJGsMTR5zJjL8Iosb2KOaRpZ4gulScXedWOIAequtGmC1mAjjSmWYyRpoGiTiEp6xgxWJ5QAOY/9XbhLW3DcoFQ+6/fjF7/4eRN0k5TSExgLhAD9AA+urCbgOFAB7BBCNNINgoskpQwBFgFxgDtXp2agAMgUQlRwEQQXIKXsCawHkgClsrKSwsJCSktLqampobGxESklV4IQAk9PTwIDAwkPDyc2Npbg4GBa6UAusFAIcYouCLogpRwIFAFBu3fvJjU1lZKSEtooioKfnx9eXl4IIbgSpJQ0NDTw1Vdfoes6baKioli7di2hoaG0OgRMFEIcpBOCTkgpBwIfSin7rFq1ivT0dHRdJyYmhuTkZKKiovD29uZqcPr0aUpKSsjJyWHTpk0oisKyZctYunQpQoivgTuFEFUYEBiQUvYEPpVSBs2aNYucnByCgoLIy8sjIiKCq9nHH3/MjBkzOHToEMnJyWRnZyOEOASMFEKcwoWCsfVA0KpVq8jJyWHMmDGUlZURERHB1S4iIoKysjLGjBlDTk4Oq1atolUQsB4DCi6klCFA0u7du0lPTycoKIhNmzbh4+PDtcLHx4dNmzYRF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nNOYGAgZ1loR6OjClqFh4dTXFzMpbBmzRree+89Zs2axYgRI3B3d6crw4cPx+FwcODAAVxJKWlubsZisVBeXs6WLVvYu3cvRsLDwzmrgnY0OtoBNMfGxrovX76cS2X//v088sgjXIwTJ05gtVoZOXIkP0ZsbCytmoEdtKPQjhCiESgIDg4mKiqK60VkZCTDhg2j1btCiO9oR+F8mYC+du1aVFXlWqeqKmvXrqWVBDJxoeBCCFEB5IaGhrJs2TKudWlpaYwaNYpW+UKIz3ChYGwhcGjp0qUkJydzrUpKSmLZsmW0OgwswICCASHEKWCiEOLr7OxsVq5ciaqqXCtUVWX58uW89tprKIpSC8QIIeoxoNKJlStXfrNixYoiIcQ9kZGRN0yYMIHq6mpqamq4nBYuXEhzczOvvPIKFyMyMpKNGzcybdo0hBCHgfFCiC/ohOACpJQ9gfVAEqBUVlZSWFhIaWkpR48epampCSkll8qePXuor69n3LhxuBJC4OHhQWBgIOHh4cTGxjJs2DBaSSAfWCCEqKcLgoskpRwBLAJiAXeuTs3Au0CmEOIzLoKgm6SUnsCdwHCgH+DBldUEWIAKYIcQ4jt+8YtfXKz/A/OhBgM5KLZoAAAAAElFTkSuQmCC",deepLink:"umami://"}],H=[{key:"kukai_web",name:"Kukai Wallet",shortName:"Kukai",color:"",logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAF0klEQVR4AeXBb0yU9wHA8e/z44FD/gY5j91xWAODRYdJVcIwJSyx1ZkUfaFThqBN6l620VogLKuwCoettuKStTRFX1hN1jUp2jVReWNMrCAJWztKAqVEbMqBOO+AeHCcPPc8qy9MjOF5gIe7SfN8PpL2EyxMYHECixNYnMDiBBYnsDiBxQksTmBxAosTWJzA4gQWJ7A4gcXJGMjPX4eqqszl1VcPUlVVjZ7e3l7Ky8sIh8Po2bBhI+fPX0AIwbMiY0DTNDRNYy6apqFHURSOHv0ziqKgJz4+Ho+nCSEEz5IgCs6ePUN/fz9G3njjCGvWrOFZE0TY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6yvnzn2CWIEL27z/A1q3bMDI1NcWhQ68TDAZ5Wm7uLzHS0vIhp069z8TEOI+EQiHa269SUVHO5OQkZslEkMfTRF9fH8PDP6JncHCQ+vo6Tpw4yZOcTheZmW683mHmomkara0fc/bsGVJSUgkEHqAoCksliKDk5GSam08TFxeHkS+//Ceffvp3nrZ9+3bmo6oqExPjKIpCJAgiLD8/n+rqGuZz/HgTvb29PKmiohKbzcZi2e2rMEsQBZWV+9m27XcYefjwIYcPH2JycpLHnE4nr732Oou1b98+zBJESWOjh6ysLIx4vcPU1tagaRqPHTz4R/buLWOhysv38fLLpZglMKBpmJacnExz81+Ji4vDyPXr12lt/ZjHJEni7beP0dR0nIyMDPSkp9tpaGikrq6epZC0n6Dj3r176ElISCApKYn5jI+PMzs7ixEhJOz2VTxNURRu3brF11//m7GxMVQ1TEpKKps2baKk5LfYbDYeCYfD+Hw+9DgcDvTIGHA4HCxVWloaZsmyTHFxMcXFxRiJiYnB4XBghsDiBBYnsDiBxQksTmBxAosTWJzA4gQWJ7A4gcUJLO5/vUsAKT+5wpMAAAAASUVORK5CYII=",links:{mainnet:"https://wallet.kukai.app",delphinet:"https://testnet.kukai.app",edonet:"https://edonet.kukai.app",florencenet:"https://florencenet.kukai.app",granadanet:"https://granadanet.kukai.app"}}],j=[{key:"airgap_ios",name:"AirGap Wallet",shortName:"AirGap",color:"rgb(4, 235, 204)",logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAALT0lEQVR4AeXBCXiU9Z3A8e/vfd+5kskBARYIkAsCSIRyRe5AKbhQ8CqWemGpVnF1qVKPrdoSrSiW6qq0lhZXu7UrskVQSq0VpAIGwxGgHAE5RBMIgUAyk8xkMjOZ+e/zZh9cauXNTMjx7MPnI0qpRkC4PCkDEEDj8hTVuMxpXOY02om3xsfix1/jlumP4qmu48saAiHumv1TFj/2Kp7qOtqLQRsLhxp549U/8x8vvY2vth7TkUNljBwziAsdO3KCnUWl7Cwq5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ceIKoX9VC2d395L8p4Kwj2SCaan8l1nGpm6g69SUnyQpx55haVPr6CivAoRQdc1bvn+NJb8ZgGZOT1pRcqglTlddn7w6M1cf9Mknn/y92x6vwQRIXH75+Rs+4zAlT2xLVsAmUlc6PSpczx89wvsLTmCiCAiKKUYN3koC35yK1l902kLBm2kT1YPXnjtIXZvP8TSZ95k9/ZDiAiu/adwVHghsxcXqjx5jn27jiIiKKUYPDyX+/5tNiPHDKItGbSxofkDeHVNIds+2s+rS9/G6/HRf1AmX9ZvQG/652XidruYe9+1jJk4hPZg0E6uGpfHVePyuJgEt4sV7z1De9O4zGlc5gxAAVEuT+p/ABopEAN9AKm/AAAAAElFTkSuQmCC",universalLink:"https://wallet.airgap.it",deepLink:"airgap-wallet://"}],Y=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},K=new D.a,q=["ookjlbkiijinhpmnjffcofjonbfbgaoc","gpfndedineagiepkpinficbcbbgjoenn"];!function(t){t[t.DESKTOP=0]="DESKTOP",t[t.IOS=1]="IOS",t[t.ANDROID=2]="ANDROID"}(I||(I={})),function(t){t.IOS="ios",t.ANDROID="android",t.EXTENSION="extension",t.DESKTOP="desktop",t.WEB="web"}(E||(E={}));var J,V,z=function(){function t(){Object(l.a)(this,t)}return Object(A.a)(t,null,[{key:"getPlatfrom",value:function(){return Y(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",O(window)?I.ANDROID:T(window)?I.IOS:I.DESKTOP);case 1:case"end":return t.stop()}}),t)})))}},{key:"getPairingInfo",value:function(e,r,n,i){return Y(this,void 0,void 0,f.a.mark((function o(){var a,s,u,c;return f.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(null===i||void 0===i){o.next=4;break}o.t0=i,o.next=7;break;case 4:return o.next=6,t.getPlatfrom();case 6:o.t0=o.sent;case 7:a=o.t0,s=e.p2pSyncCode,u=e.postmessageSyncCode,c=e.preferredNetwork,o.t1=a,o.next=o.t1===I.DESKTOP?14:o.t1===I.IOS?15:o.t1===I.ANDROID?16:17;break;case 14:return o.abrupt("return",t.getDesktopPairingAlert(s,r,u,n,c));case 15:return o.abrupt("return",t.getIOSPairingAlert(s,r,c));case 16:return o.abrupt("return",t.getAndroidPairingAlert(s,r,c));case 17:throw new Error("platform unknown");case 18:case"end":return o.stop()}}),o)})))}},{key:"getDesktopPairingAlert",value:function(e,r,n,i,o){return Y(this,void 0,void 0,f.a.mark((function a(){var s;return f.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,We.availableExtensions;case 2:return(s=a.sent).forEach((function(t){var e=q.indexOf(t.id);e>=0&&q.splice(e,1)})),a.t0={title:"Browser Extensions",type:E.EXTENSION,wallets:[].concat(Object(w.a)(s.map((function(t){var e,i,o,a,s,c=L.find((function(e){return e.id===t.id}));return{key:null!==(e=null===c||void 0===c?void 0:c.key)&&void 0!==e?e:t.id,name:null!==(i=t.name)&&void 0!==i?i:null===c||void 0===c?void 0:c.name,logo:null!==(o=t.iconUrl)&&void 0!==o?o:null===c||void 0===c?void 0:c.logo,shortName:null!==(a=t.shortName)&&void 0!==a?a:null===c||void 0===c?void 0:c.shortName,color:null!==(s=t.color)&&void 0!==s?s:null===c||void 0===c?void 0:c.color,enabled:!0,clickHandler:function(){return Y(this,void 0,void 0,f.a.mark((function e(){var i,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=10;break}return e.t0=K,e.next=4,n();case 4:return e.t1=e.sent,e.next=7,e.t0.serialize.call(e.t0,e.t1);case 7:i=e.sent,o={target:u.EXTENSION,payload:i,targetId:t.id},F.a.postMessage(o,F.a.location.origin);case 10:r(E.EXTENSION,this);case 11:case"end":return e.stop()}}),e,this)})))}}}))),Object(w.a)(L.filter((function(t){return q.some((function(e){return e===t.id}))})).map((function(t){return{key:t.key,name:t.name,shortName:t.shortName,color:t.color,logo:t.logo,enabled:!1,clickHandler:function(){}}})))).sort((function(t,e){return t.key.localeCompare(e.key)}))},a.t1=E.DESKTOP,a.t2=[],a.t3=Object(w.a)(G.map((function(t){return{key:t.key,name:t.name,shortName:t.shortName,color:t.color,logo:t.logo,enabled:!0,clickHandler:function(){return Y(this,void 0,void 0,f.a.mark((function n(){var i,o;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.t0=K,n.next=3,e();case 3:return n.t1=n.sent,n.next=6,n.t0.serialize.call(n.t0,n.t1);case 6:i=n.sent,o=U(t.deepLink,i),window.open(o,"_blank"),r(E.DESKTOP,this,!0);case 10:case"end":return n.stop()}}),n,this)})))}}}))),a.t4=w.a,a.next=11,t.getWebList(e,r,o);case 11:return a.t5=a.sent,a.t6=(0,a.t4)(a.t5),a.t7=a.t2.concat.call(a.t2,a.t3,a.t6).sort((function(t,e){return t.key.localeCompare(e.key)})),a.t8={title:"Desktop & Web Wallets",type:a.t1,wallets:a.t7},a.t9={title:"Mobile Wallets",type:E.IOS,wallets:Object(w.a)(j.map((function(t){return{key:t.key,name:t.name,shortName:t.shortName,color:t.color,logo:t.logo,enabled:!0,clickHandler:function(){return Y(this,void 0,void 0,f.a.mark((function t(){var n;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=K,t.next=3,e();case 3:return t.t1=t.sent,t.next=6,t.t0.serialize.call(t.t0,t.t1);case 6:n=t.sent,i(n),r(E.IOS,this,!0);case 9:case"end":return t.stop()}}),t,this)})))}}}))).sort((function(t,e){return t.key.localeCompare(e.key)}))},a.t10=[a.t0,a.t8,a.t9],a.t11=[],a.abrupt("return",{walletLists:a.t10,buttons:a.t11});case 19:case"end":return a.stop()}}),a)})))}},{key:"getIOSPairingAlert",value:function(e,r,n){return Y(this,void 0,void 0,f.a.mark((function i(){return f.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.t0={title:"Mobile Wallets",type:E.IOS,wallets:j.map((function(t){return{key:t.key,name:t.name,shortName:t.shortName,color:t.color,logo:t.logo,enabled:!0,clickHandler:function(){var n;return Y(this,void 0,void 0,f.a.mark((function i(){var o,a,s;return f.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.t0=K,i.next=3,e();case 3:return i.t1=i.sent,i.next=6,i.t0.serialize.call(i.t0,i.t1);case 6:o=i.sent,a=U(null!==(n=t.deepLink)&&void 0!==n?n:t.universalLink,o),(s=document.createElement("a")).setAttribute("href",a),s.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0})),r(E.IOS,this,!0);case 12:case"end":return i.stop()}}),i,this)})))}}})).sort((function(t,e){return t.key.localeCompare(e.key)}))},i.t1=E.WEB,i.t2=w.a,i.next=5,t.getWebList(e,r,n);case 5:return i.t3=i.sent,i.t4=(0,i.t2)(i.t3).sort((function(t,e){return t.key.localeCompare(e.key)})),i.t5={title:"Web Wallets",type:i.t1,wallets:i.t4},i.t6=[i.t0,i.t5],i.t7=[],i.abrupt("return",{walletLists:i.t6,buttons:i.t7});case 11:case"end":return i.stop()}}),i)})))}},{key:"getAndroidPairingAlert",value:function(e,r,n){return Y(this,void 0,void 0,f.a.mark((function i(){var o=this;return f.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.t0=E.WEB,i.t1=w.a,i.next=4,t.getWebList(e,r,n);case 4:return i.t2=i.sent,i.t3=(0,i.t1)(i.t2).sort((function(t,e){return t.key.localeCompare(e.key)})),i.t4={title:"Web Wallets",type:i.t0,wallets:i.t3},i.t5=[i.t4],i.t6=[{title:"Mobile Wallets",text:"Connect Wallet",clickHandler:function(){return Y(o,void 0,void 0,f.a.mark((function t(){var n,i;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=K,t.next=3,e();case 3:return t.t1=t.sent,t.next=6,t.t0.serialize.call(t.t0,t.t1);case 6:n=t.sent,i=U("tezos://",n),window.open(i,"_blank"),r(E.ANDROID);case 10:case"end":return t.stop()}}),t)})))}}],i.abrupt("return",{walletLists:i.t5,buttons:i.t6});case 10:case"end":return i.stop()}}),i)})))}},{key:"getWebList",value:function(t,e,r){return Y(this,void 0,void 0,f.a.mark((function n(){return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",H.map((function(n){return{key:n.key,name:n.name,shortName:n.shortName,color:n.color,logo:n.logo,enabled:!0,clickHandler:function(){var i;return Y(this,void 0,void 0,f.a.mark((function a(){var s,u;return f.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.t0=K,a.next=3,t();case 3:return a.t1=a.sent,a.next=6,a.t0.serialize.call(a.t0,a.t1);case 6:s=a.sent,u=U(null!==(i=n.links[r])&&void 0!==i?i:n.links[o.MAINNET],s),window.open(u,"_blank"),e(E.WEB,this,!0);case 10:case"end":return a.stop()}}),a,this)})))}}})).sort((function(t,e){return t.key.localeCompare(e.key)})));case 1:case"end":return n.stop()}}),n)})))}}]),t}(),X=r(78),W=new R.a("QR"),Z=function(t,e){var r=X(0,"L");t.length>500&&W.warn("getQrData",'The size of the payload in the QR code is quite long and some devices might not be able to scan it anymore. To reduce the QR size, try using a shorter "name", "appUrl" and "iconUrl"');try{if(r.addData(t),r.make(),"svg"===e)return r.createSvgTag();if("ascii"===e){var n=r.getModuleCount(),i="\x1b[40m \x1b[0m",o="\x1b[47m \x1b[0m",a=new Array(n+3).join(o),s=new Array(n+3).join(i),u="";u+="".concat(s,"\n"),u+="".concat(a,"\n");for(var c=0;c'.concat(e.title,'\n\t\t\n\t\t "),(a=document.createElement("a")).id="button_".concat(n),a.innerHTML=i,o.appendChild(a),(s=t.getElementById(a.id))&&s.addEventListener("click",(function(){return $(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.clickHandler();case 1:case"end":return t.stop()}}),t)})))}));case 10:case"end":return r.stop()}}),r)})))})),n.walletLists.forEach((function(e){var r=document.createElement("div");r.classList.add("beacon-list__wrapper"),i.appendChild(r);var n=document.createElement("div");n.classList.add("beacon-list__title"),n.innerHTML=e.title,r.appendChild(n);var o=document.createElement("span");r.appendChild(o),e.wallets.forEach((function(r){return $(void 0,void 0,void 0,f.a.mark((function n(){var i,a,s,u,c,h;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:i="Open in ".concat(r.name),a=r.key,s='\n\t\t\t\n\t\t\t
').concat(r.name,"\n\t\t\t ").concat(r.enabled?"":"

Not installed

","\n\t\t\t
\n\t\t\t ").concat(r.logo?'
\n\t\t\t \n\t\t\t
'):'',"\n\t\t\t
\n\t\t\t "),(u=document.createElement("span")).innerHTML=s,o.appendChild(u),c=t.getElementById("wallet_".concat(a)),h=function(n){return $(void 0,void 0,void 0,f.a.mark((function i(){var o;return f.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(!n||"Enter"===n.key){i.next=2;break}return i.abrupt("return");case 2:r.clickHandler(),(o=t.getElementById("beacon-modal__content"))&&e.type!==E.EXTENSION&&e.type!==E.IOS&&(o.innerHTML="".concat(r.logo?'

Establishing Connection..

\n
\n
\n \n
').concat(r.name,"
\n
"):"","\n "));case 5:case"end":return i.stop()}}),i)})))},c&&(c.addEventListener("click",(function(){return h()})),c.addEventListener("keydown",h));case 9:case"end":return n.stop()}}),n)})))}))})),a=t.getElementById("beacon--qr__container"),s=t.getElementById("beacon--qr__copy"),u=t.getElementById("beacon-title"),c=O(window)?"android":T(window)?"ios":"desktop",h=t.getElementById("beacon-main-text"),l=t.getElementById("pairing-container"),A=t.getElementById("beacon--switch__container"),p=function(){return $(void 0,void 0,void 0,f.a.mark((function t(){var r;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=10;break}return t.t1=et,t.next=4,e.p2pSyncCode();case 4:return t.t2=t.sent,t.next=7,t.t1.serialize.call(t.t1,t.t2);case 7:t.t0=t.sent,t.next=11;break;case 10:t.t0="";case 11:r=t.t0,navigator.clipboard.writeText(r).then((function(){s&&(s.innerText="Copied"),tt.log("Copying to clipboard was successful!")}),(function(t){tt.error("Could not copy text to clipboard: ",t)}));case 13:case"end":return t.stop()}}),t)})))},d=!1,g=function(r){return $(void 0,void 0,void 0,f.a.mark((function n(){var i,o,c,g,y;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if((i=t.getElementById("beacon-switch"))&&(i.innerHTML="none"===r?"Pair wallet on same device":"Pair wallet on another device"),!(h&&l&&A&&s&&a&&u)){n.next=35;break}h.style.display="none",u.style.textAlign="center",l.style.display="none",A.style.display="initial",n.t0=r,n.next="ios"===n.t0?10:"android"===n.t0?12:"desktop"===n.t0?14:19;break;case 10:case 12:return l.style.display="initial",n.abrupt("break",35);case 14:return l.style.display="initial",u.style.textAlign="left",h.style.display="none",A.style.display="initial",n.abrupt("break",35);case 19:if(d){n.next=34;break}return n.t1=et,n.next=23,e.p2pSyncCode();case 23:return n.t2=n.sent,n.next=26,n.t1.serialize.call(n.t1,n.t2);case 26:o=n.sent,c=U("tezos://",o),g=Z(c,"svg"),y=g.replace("').concat(e.text,"")})),s=S.css;i&&(s+=x.css);var u=k;if(u=M(u,"main",i?x.html:S.html),u=M(u,"callToAction",o),u=M(u,"buttons",a.join(" ")),u=M(u,"body",e),(u=M(u,"id",t)).indexOf("{{")>=0){var c=u.indexOf("{{"),h=u.indexOf("}}");throw console.error("Not all placeholders replaced!",u.substr(c,h-c)),new Error("Not all placeholders replaced!")}return{style:s,html:u}},st=function(t){return new Promise((function(e){var r,n=V.getElementById("beacon-alert-wrapper-".concat(t));if(!n)return e();var i=null===(r=n.shadowRoot)||void 0===r?void 0:r.getElementById("beacon-alert-modal-".concat(t));if(i){var o=ot[t];o&&(clearTimeout(o),ot[t]=void 0),i.className=i.className.replace("fadeIn","fadeOut"),window.setTimeout((function(){var t=n.parentNode;t&&t.removeChild(n),J&&J.focus(),e()}),300)}else e()}))},ut=function(){return nt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t){return nt(void 0,void 0,void 0,f.a.mark((function e(){var r,n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!((r=V.querySelectorAll('[id^="beacon-alert-wrapper-"]')).length>0)){e.next=9;break}return n=[],r.forEach((function(t){return nt(void 0,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n.push(t.id.split("-")[3]);case 1:case"end":return e.stop()}}),e)})))})),e.next=6,Promise.all(n.map(st));case 6:t(),e.next=10;break;case 9:t();case 10:case"end":return e.stop()}}),e)})))})));case 1:case"end":return t.stop()}}),t)})))},ct=function(t){return nt(void 0,void 0,void 0,f.a.mark((function e(){var r,n,i,o,a,s,u,c,h,l,A,p,d,g,y,m,v,b,I,E,_,B,M,k;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.body,o=t.title,a=t.timer,s=t.pairingPayload,u=t.disclaimerText,c=t.closeButtonCallback,e.next=8,ut();case 8:return e.next=10,Object(Q.a)();case 10:if(h=e.sent.split("-").join(""),(l=V.createElement("div")).setAttribute("id","beacon-alert-wrapper-".concat(h)),A=l.attachShadow({mode:"open"}),(p=V.createElement("div")).setAttribute("tabindex","0"),A.appendChild(p),d=Object(w.a)(null!==(n=null===(r=t.buttons)||void 0===r?void 0:r.map((function(t){var e,r;return{text:t.text,actionCallback:null!==(e=t.actionCallback)&&void 0!==e?e:function(){return Promise.resolve()},style:null!==(r=t.style)&&void 0!==r?r:"outline"}})))&&void 0!==n?n:[]),g=s?"string"===typeof(S=i)?'
'.concat(S):"":null!==i&&void 0!==i?i:"",y=at(h,g,o,d,!!(null===s||void 0===s?void 0:s.p2pSyncCode)),m=y.style,v=y.html,p.innerHTML=v,(b=V.createElement("style")).textContent=m,A.appendChild(b),a&&(ot[h]=window.setTimeout((function(){return nt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,st(h);case 2:case"end":return t.stop()}}),t)})))}),a)),V.body.prepend(l),I=A.getElementById("beacon-alert-".concat(h,"-close")),E=function(){return nt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c&&c(),t.next=3,st(h);case 3:case"end":return t.stop()}}),t)})))},u&&(_=A.getElementById("beacon--disclaimer"))&&(_.innerHTML=u),B=C(),(M=A.getElementById("beacon-alert-modal-".concat(h)))&&(M.classList.add("theme__".concat(B)),M.addEventListener("click",E)),(k=A.querySelectorAll(".beacon-modal__wrapper")).length>0&&k[0].addEventListener("click",(function(t){t.stopPropagation()})),J=V.activeElement,p.focus(),d.forEach((function(t,e){var r=A.getElementById("beacon-alert-".concat(h,"-").concat(e));r&&r.addEventListener("click",(function(){return nt(void 0,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,st(h);case 2:if(!t.actionCallback){e.next=5;break}return e.next=5,t.actionCallback();case 5:case"end":return e.stop()}}),e)})))}))})),I&&I.addEventListener("click",(function(){return nt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,E();case 2:case"end":return t.stop()}}),t)})))})),window.addEventListener("keydown",(function(t){return nt(void 0,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Escape"!==t.key){e.next=3;break}return e.next=3,E();case 3:case"end":return e.stop()}}),e)})))})),!s){e.next=42;break}return e.next=42,rt(A,s);case 42:return e.abrupt("return",h);case 43:case"end":return e.stop()}var S}),e)})))},ht={html:'
\n
\n

\n {{text}}\n Open\n \n

\n\n
\n
\n
\n
\n
\n',css:":host {\n --animation-duration: 300ms;\n all: initial;\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n.animated {\n animation-duration: var(--animation-duration);\n animation-fill-mode: both;\n}\n\n.fadeIn {\n animation-name: fadeIn;\n}\n\n.fadeOut {\n animation-name: fadeOut;\n}\n\n.beacon-toast__base {\n position: fixed;\n top: 16px;\n right: 16px;\n z-index: 2147483000;\n margin: 0 auto;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.1);\n flex-direction: column;\n}\n@media (max-width: 576px) {\n .beacon-toast__base {\n top: 8px;\n right: 8px;\n left: 8px;\n }\n .beacon-toast__wallet__outer {\n flex-wrap: wrap;\n }\n .beacon-toast__wallet__link {\n flex: 0 0 100%;\n margin-left: 0 !important;\n }\n}\n\n.theme__light.beacon-toast__base {\n background: #fff;\n}\n\n.theme__dark.beacon-toast__base {\n background: #27334c;\n}\n\n.theme__dark p {\n color: #6183ff;\n}\n\na {\n text-decoration: none;\n color: #3880ff;\n}\n\na svg {\n width: 12px;\n margin-left: 2px;\n}\n\na:visited {\n color: #3880ff;\n}\n\nhr {\n height: 1px;\n color: rgba(0, 0, 0, 0.12);\n background-color: rgba(0, 0, 0, 0.12);\n border: none;\n width: 100%;\n margin: 0;\n display: none;\n}\n\n.show {\n display: block !important;\n}\n\n.hide {\n display: none !important;\n}\n\n#beacon-toast-list {\n display: none;\n}\n\n.beacon-toast__upside_down {\n transform: rotate(180deg);\n}\n\n.beacon-toast__content {\n justify-content: space-between;\n min-height: 56px;\n height: 0;\n}\n\n.beacon-toast__action__item,\n.beacon-toast__powered a,\n.beacon-toast__wallet__container,\n#beacon-text,\n.beacon-toast__action__item p,\n.beacon-toast__wallet__outer {\n align-items: center;\n}\n\n.beacon-toast__content,\n.beacon-toast__base,\n.beacon-toast__action__item,\n.beacon-toast__powered a,\n#beacon-text,\n.beacon-toast__wallet__container,\n.beacon-toast__wallet__outer {\n display: flex;\n}\n\n.beacon-toast__content,\n.beacon-toast__action__item,\n.beacon-toast__powered a {\n padding: 0 16px;\n font-family: Roboto, Helvetica, sans-serif;\n}\n\n#beacon-text strong {\n display: contents;\n}\n.beacon-toast__wallet__link {\n margin-left: 12px;\n}\n.beacon-toast__wallet__link svg {\n margin-left: 4px;\n}\n.beacon-toast__powered a {\n margin: 4px 0 12px;\n font-size: 12px;\n opacity: 0.64;\n}\n\n.beacon-toast__powered svg {\n width: 20px;\n height: 20px;\n margin: 0 2px 0 4px;\n}\n\n.beacon-toast__action__item {\n font-size: 14px;\n max-width: 40ch;\n}\n\n.beacon-toast__action__item p {\n margin-right: 8px;\n}\n\n.beacon-toast__action__item__subtitle,\n.beacon-toast__powered a {\n min-width: 88px;\n color: rgba(0, 0, 0, 0.54);\n}\n\n.theme__dark .beacon-toast__powered a {\n color: #7c99d6;\n}\n\n.beacon-toast__content__img {\n width: 24px;\n height: 24px;\n margin-right: 4px;\n image-rendering: -moz-crisp-edges; /* Firefox */\n image-rendering: -o-crisp-edges; /* Opera */\n image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */\n image-rendering: crisp-edges;\n -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */\n}\n\n.beacon-toast__more {\n width: 14px;\n transition: transform 0.5s;\n}\n\na,\n.beacon-toast__more {\n cursor: pointer;\n}\n\na:hover {\n opacity: 0.64;\n}\n\n.theme__dark .beacon-toast__more {\n color: #7c99d6;\n}\n\n.beacon-toast__more--action {\n margin: 8px 0;\n}\n\n#beacon-text {\n padding-right: 24px;\n}\n\n.progress-line,\n.progress-line:before {\n height: 3px;\n width: 100%;\n margin: 0;\n}\n.progress-line {\n background-color: #a7c4f7;\n display: -webkit-flex;\n display: flex;\n}\n.progress-line:before {\n background-color: #3880ff;\n content: '';\n -webkit-animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n}\n@-webkit-keyframes running-progress {\n 0% {\n margin-left: 0px;\n margin-right: 100%;\n }\n 50% {\n margin-left: 25%;\n margin-right: 0%;\n }\n 100% {\n margin-left: 100%;\n margin-right: 0;\n }\n}\n@keyframes running-progress {\n 0% {\n margin-left: 0px;\n margin-right: 100%;\n }\n 50% {\n margin-left: 25%;\n margin-right: 0%;\n }\n 100% {\n margin-left: 100%;\n margin-right: 0;\n }\n}\n",poweredByBeacon:'\n powered by\n \n beacon_logo\n \n \n \n \n Beacon\n\n'},ft=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))};"undefined"!==typeof window&&"undefined"!==typeof window.document&&(it=window.document);var lt,At,pt,dt,gt,yt=function(t){return ft(void 0,void 0,void 0,f.a.mark((function e(){var r,n,i,o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.text,n=t.actionText,i=t.actionCallback,e.next=3,Object(Q.a)();case 3:return o=e.sent,(a=it.createElement("div")).classList.add("beacon-toast__action__item"),i?(a.innerHTML=r.length>0?"

".concat(r,"

"):"",a.innerHTML+='

').concat(n,"

")):n?(a.innerHTML=r.length>0?'

'.concat(r,"

"):"",a.innerHTML+="

".concat(n,"

")):a.innerHTML="

".concat(r,"

"),i&&a.addEventListener("click",i),e.abrupt("return",a);case 9:case"end":return e.stop()}}),e)})))},mt=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},vt=function(t){var e,r,n=null===(e=null===pt||void 0===pt?void 0:pt.walletInfo)||void 0===e?void 0:e.icon,i=null===(r=null===pt||void 0===pt?void 0:pt.walletInfo)||void 0===r?void 0:r.name,o="";return n&&(o+='')),o+=i?"".concat(i,""):"Wallet",M(t,"wallet",o)},bt=function(t){var e=t.body,r=M(ht.html,"text",e);return r=vt(r),{style:ht.css,html:r}},wt=function(){return new Promise((function(t){var e;pt=void 0;var r=it.getElementById("beacon-toast-wrapper");if(!r)return t();var n=null===(e=r.shadowRoot)||void 0===e?void 0:e.getElementById("beacon-toast");if(n){lt&&(clearTimeout(lt),lt=void 0),n.className=n.className.replace("fadeIn","fadeOut"),window.setTimeout((function(){var e=r.parentNode;e&&e.removeChild(r),t()}),300)}else t()}))},It=function(t,e,r){var n=t.getElementById(e);return n&&n.addEventListener("click",(function(){return ft(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r(n);case 2:case"end":return t.stop()}}),t)})))})),n},Et=function(t,e){var r=t.getElementById(e);r&&(r.classList.remove("hide"),r.classList.add("show"))},_t=function(t,e){var r=t.getElementById(e);r&&(r.classList.add("hide"),r.classList.remove("show"))},Bt=function(t){_t(t,"beacon-toast-loader"),Et(t,"beacon-toast-loader-placeholder")},Ct=function(t){Et(t,"beacon-toast-button-close"),_t(t,"beacon-toast-button-expand")},Qt=function(t){var e=t.getElementById("beacon-toast-button-expand"),r=t.getElementById("beacon-toast-list");e&&r&&(e.classList.remove("beacon-toast__upside_down"),r.classList.add("hide"),r.classList.remove("show"))},Mt=function(t){var e=t.getElementById("beacon-toast-button-expand"),r=t.getElementById("beacon-toast-list");e&&r&&(e.classList.add("beacon-toast__upside_down"),r.classList.remove("hide"),r.classList.add("show"))},kt=function(t){var e=t.getElementById("beacon-toast-button-expand"),r=t.getElementById("beacon-toast-list");e&&r&&(e.classList.contains("beacon-toast__upside_down")?Qt(t):Mt(t))},St=function(t,e,r){return ft(void 0,void 0,void 0,f.a.mark((function n(){var i,o,a;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!((i=e.actions)&&i.length>0)){n.next=13;break}return o=i.map((function(t){return ft(void 0,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",yt(t));case 1:case"end":return e.stop()}}),e)})))})),n.next=5,Promise.all(o);case 5:n.sent.forEach((function(t){return r.appendChild(t)})),(a=it.createElement("small")).classList.add("beacon-toast__powered"),a.innerHTML=ht.poweredByBeacon,r.appendChild(a),n.next=15;break;case 13:Ct(t),Qt(t);case 15:case"end":return n.stop()}}),n)})))},xt=function(t){return ft(void 0,void 0,void 0,f.a.mark((function e(){var r,n,i,o,a,s,u,c,h,l,A,p,d;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(pt=t,r=t.timer,(n=it.createElement("div")).setAttribute("id","beacon-toast-wrapper"),i=n.attachShadow({mode:"open"}),o=it.createElement("div"),a=bt(t),s=a.style,u=a.html,o.innerHTML=u,(c=it.createElement("style")).textContent=s,i.appendChild(o),i.appendChild(c),r&&(lt=window.setTimeout((function(){return ft(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,wt();case 2:case"end":return t.stop()}}),t)})))}),r)),it.body.prepend(n),h=C(),(l=i.getElementById("beacon-toast"))&&l.classList.add("theme__".concat(h)),!(A=i.getElementById("beacon-toast-list"))){e.next=21;break}return e.next=21,St(i,t,A);case 21:(p=i.getElementById("beacon-open-wallet"))&&(t.openWalletAction?p.addEventListener("click",(function(){t.openWalletAction&&t.openWalletAction()})):p.classList.add("hide")),"loading"===pt.state&&(At=window.setTimeout((function(){return ft(void 0,void 0,void 0,f.a.mark((function t(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(e=i.getElementById("beacon-toast-button-expand"))&&!e.classList.contains("beacon-toast__upside_down")&&kt(i);case 2:case"end":return t.stop()}}),t)})))}),5e3)),It(i,"beacon-toast-button-done",(function(){return ft(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,wt();case 2:case"end":return t.stop()}}),t)})))})),(d=It(i,"beacon-toast-button-close",(function(){return ft(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,wt();case 2:case"end":return t.stop()}}),t)})))})))&&"loading"===pt.state&&d.classList.add("hide"),It(i,"beacon-toast-button-expand",(function(){return ft(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:kt(i);case 1:case"end":return t.stop()}}),t)})))}));case 28:case"end":return e.stop()}}),e)})))},Dt=function(t){return ft(void 0,void 0,void 0,f.a.mark((function e(){var r,n,i,o,a,s;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(pt=Object.assign(Object.assign({},pt),t),r=t.timer,n=it.getElementById("beacon-toast-wrapper")){e.next=5;break}return e.abrupt("return");case 5:if(i=n.shadowRoot){e.next=8;break}return e.abrupt("return");case 8:if(!(o=i.getElementById("beacon-toast-list"))){e.next=13;break}return mt(o),e.next=13,St(i,t,o);case 13:(a=i.getElementById("beacon-text"))&&(a.innerHTML=vt(t.body)),r&&(lt=window.setTimeout((function(){return ft(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,wt();case 2:case"end":return t.stop()}}),t)})))}),r)),(s=i.getElementById("beacon-toast-button-done"))&&s.addEventListener("click",(function(){return ft(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,wt();case 2:case"end":return t.stop()}}),t)})))}));case 18:case"end":return e.stop()}}),e)})))},Rt=function(t){return ft(void 0,void 0,void 0,f.a.mark((function e(){var r,n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(At&&clearTimeout(At),!it.getElementById("beacon-toast-wrapper")){e.next=14;break}if(!t.forceNew){e.next=10;break}return e.next=6,wt();case 6:return e.next=8,xt(t);case 8:e.next=12;break;case 10:return e.next=12,Dt(t);case 12:e.next=16;break;case 14:return e.next=16,xt(t);case 16:return pt&&"finished"===pt.state&&(n=null===(r=it.getElementById("beacon-toast-wrapper"))||void 0===r?void 0:r.shadowRoot)&&(Bt(n),Ct(n),Mt(n)),e.abrupt("return");case 18:case"end":return e.stop()}}),e)})))},Nt=function(t){return t.length>=12?"".concat(t.substr(0,5),"...").concat(t.substr(-5)):t};!function(t){t.BROADCAST_ERROR="BROADCAST_ERROR",t.NETWORK_NOT_SUPPORTED="NETWORK_NOT_SUPPORTED",t.NO_ADDRESS_ERROR="NO_ADDRESS_ERROR",t.NO_PRIVATE_KEY_FOUND_ERROR="NO_PRIVATE_KEY_FOUND_ERROR",t.NOT_GRANTED_ERROR="NOT_GRANTED_ERROR",t.PARAMETERS_INVALID_ERROR="PARAMETERS_INVALID_ERROR",t.TOO_MANY_OPERATIONS="TOO_MANY_OPERATIONS",t.TRANSACTION_INVALID_ERROR="TRANSACTION_INVALID_ERROR",t.SIGNATURE_TYPE_NOT_SUPPORTED="SIGNATURE_TYPE_NOT_SUPPORTED",t.ABORTED_ERROR="ABORTED_ERROR",t.UNKNOWN_ERROR="UNKNOWN_ERROR"}(dt||(dt={}));var Pt,Tt=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},Ot=new R.a("BeaconEvents"),Ft=5e3,Ut='';!function(t){t.PERMISSION_REQUEST_SENT="PERMISSION_REQUEST_SENT",t.PERMISSION_REQUEST_SUCCESS="PERMISSION_REQUEST_SUCCESS",t.PERMISSION_REQUEST_ERROR="PERMISSION_REQUEST_ERROR",t.OPERATION_REQUEST_SENT="OPERATION_REQUEST_SENT",t.OPERATION_REQUEST_SUCCESS="OPERATION_REQUEST_SUCCESS",t.OPERATION_REQUEST_ERROR="OPERATION_REQUEST_ERROR",t.SIGN_REQUEST_SENT="SIGN_REQUEST_SENT",t.SIGN_REQUEST_SUCCESS="SIGN_REQUEST_SUCCESS",t.SIGN_REQUEST_ERROR="SIGN_REQUEST_ERROR",t.BROADCAST_REQUEST_SENT="BROADCAST_REQUEST_SENT",t.BROADCAST_REQUEST_SUCCESS="BROADCAST_REQUEST_SUCCESS",t.BROADCAST_REQUEST_ERROR="BROADCAST_REQUEST_ERROR",t.ACKNOWLEDGE_RECEIVED="ACKNOWLEDGE_RECEIVED",t.LOCAL_RATE_LIMIT_REACHED="LOCAL_RATE_LIMIT_REACHED",t.NO_PERMISSIONS="NO_PERMISSIONS",t.ACTIVE_ACCOUNT_SET="ACTIVE_ACCOUNT_SET",t.ACTIVE_TRANSPORT_SET="ACTIVE_TRANSPORT_SET",t.SHOW_PREPARE="SHOW_PREPARE",t.HIDE_UI="HIDE_UI",t.PAIR_INIT="PAIR_INIT",t.PAIR_SUCCESS="PAIR_SUCCESS",t.CHANNEL_CLOSED="CHANNEL_CLOSED",t.INTERNAL_ERROR="INTERNAL_ERROR",t.UNKNOWN="UNKNOWN"}(Pt||(Pt={}));var Lt=function(t){return Tt(void 0,void 0,void 0,f.a.mark((function e(){var r,n,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=[],t.walletInfo.deeplink&&("web"===t.walletInfo.type||"mobile"===t.walletInfo.type&&P(window)||"desktop"===t.walletInfo.type&&!P(window))&&(i=t.walletInfo.deeplink,r=function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(e=document.createElement("a")).setAttribute("href",i),e.setAttribute("target","_blank"),e.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}));case 4:case"end":return t.stop()}}),t)})))}),n.push({text:"No answer from your wallet received yet. Please make sure the wallet is open."}),n.push({text:"Did you make a mistake?",actionText:"Cancel Request",actionCallback:function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,wt();case 2:case"end":return t.stop()}}),t)})))}}),n.push({text:"Wallet not receiving request?",actionText:"Reset Connection",actionCallback:function(){return Tt(void 0,void 0,void 0,f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,wt();case 2:if(!(r=t.extraInfo.resetCallback)){e.next=7;break}return Ot.log("showSentToast","resetCallback invoked"),e.next=7,r();case 7:case"end":return e.stop()}}),e)})))}}),Rt({body:'Request sent to {{wallet}}',walletInfo:t.walletInfo,state:"loading",actions:n,openWalletAction:r}).catch((function(t){return console.error(t)}));case 6:case"end":return e.stop()}}),e)})))},Gt=function(t,e){return Tt(void 0,void 0,void 0,f.a.mark((function r(){var n,i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=t.errorResponse.errorType?be.getError(t.errorResponse.errorType,t.errorResponse.errorData):new ke,i=[{text:"".concat(n.title,"")},{text:n.description}],t.errorResponse.errorType===dt.TRANSACTION_INVALID_ERROR&&t.errorResponse.errorData&&i.push({text:"",actionText:"Show Details",actionCallback:function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,wt();case 2:return t.next=4,ct({title:n.title,body:n.fullDescription,buttons:e});case 4:case"end":return t.stop()}}),t)})))}}),r.next=5,Rt({body:"{{wallet}} has returned an error",timer:t.errorResponse.errorType===dt.ABORTED_ERROR?Ft:void 0,state:"finished",walletInfo:t.walletInfo,actions:i});case 5:case"end":return r.stop()}}),r)})))},Ht=function(){return function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))}},jt=(gt={},Object(b.a)(gt,Pt.PERMISSION_REQUEST_SENT,Lt),Object(b.a)(gt,Pt.PERMISSION_REQUEST_SUCCESS,(function(t){return Tt(void 0,void 0,void 0,f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.output,e.next=3,Rt({body:"{{wallet}} has granted permission",timer:Ft,walletInfo:t.walletInfo,state:"finished",actions:[{text:"Address",actionText:"".concat(Nt(r.address),"")},{text:"Network",actionText:"".concat(r.network.type)},{text:"Permissions",actionText:r.scopes.join(", ")}]});case 3:case"end":return e.stop()}}),e)})))})),Object(b.a)(gt,Pt.PERMISSION_REQUEST_ERROR,Gt),Object(b.a)(gt,Pt.OPERATION_REQUEST_SENT,Lt),Object(b.a)(gt,Pt.OPERATION_REQUEST_SUCCESS,(function(t){return Tt(void 0,void 0,void 0,f.a.mark((function e(){var r,n,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.account,n=t.output,i=t.blockExplorer,e.next=3,Rt({body:"{{wallet}} successfully submitted operation",timer:Ft,state:"finished",walletInfo:t.walletInfo,actions:[{text:"".concat(Nt(n.transactionHash),""),actionText:"Open Blockexplorer ".concat(Ut),actionCallback:function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.getTransactionLink(n.transactionHash,r.network);case 2:return e=t.sent,window.open(e,"_blank"),t.next=6,wt();case 6:case"end":return t.stop()}}),t)})))}}]});case 3:case"end":return e.stop()}}),e)})))})),Object(b.a)(gt,Pt.OPERATION_REQUEST_ERROR,Gt),Object(b.a)(gt,Pt.SIGN_REQUEST_SENT,Lt),Object(b.a)(gt,Pt.SIGN_REQUEST_SUCCESS,(function(t){return Tt(void 0,void 0,void 0,f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.output,e.next=3,Rt({body:"{{wallet}} successfully signed payload",timer:Ft,state:"finished",walletInfo:t.walletInfo,actions:[{text:"Signature: ".concat(Nt(r.signature),""),actionText:"Copy to clipboard",actionCallback:function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return navigator.clipboard.writeText(r.signature).then((function(){Ot.log("showSignSuccessAlert","Copying to clipboard was successful!")}),(function(t){Ot.error("showSignSuccessAlert","Could not copy text to clipboard: ",t)})),t.next=3,wt();case 3:case"end":return t.stop()}}),t)})))}}]});case 3:case"end":return e.stop()}}),e)})))})),Object(b.a)(gt,Pt.SIGN_REQUEST_ERROR,Gt),Object(b.a)(gt,Pt.BROADCAST_REQUEST_SENT,Lt),Object(b.a)(gt,Pt.BROADCAST_REQUEST_SUCCESS,(function(t){return Tt(void 0,void 0,void 0,f.a.mark((function e(){var r,n,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.network,n=t.output,i=t.blockExplorer,e.next=3,Rt({body:"{{wallet}} successfully injected operation",timer:Ft,state:"finished",walletInfo:t.walletInfo,actions:[{text:"".concat(Nt(n.transactionHash),""),actionText:"Open Blockexplorer ".concat(Ut),actionCallback:function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.getTransactionLink(n.transactionHash,r);case 2:return e=t.sent,window.open(e,"_blank"),t.next=6,wt();case 6:case"end":return t.stop()}}),t)})))}}]});case 3:case"end":return e.stop()}}),e)})))})),Object(b.a)(gt,Pt.BROADCAST_REQUEST_ERROR,Gt),Object(b.a)(gt,Pt.ACKNOWLEDGE_RECEIVED,(function(t){return Tt(void 0,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Rt({body:'Awaiting confirmation in {{wallet}}',state:"acknowledge",walletInfo:t.walletInfo}).catch((function(t){return console.error(t)}));case 1:case"end":return e.stop()}}),e)})))})),Object(b.a)(gt,Pt.LOCAL_RATE_LIMIT_REACHED,(function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:ct({title:"Error",body:"Rate limit reached. Please slow down",buttons:[{text:"Done",style:"outline"}],timer:3e3}).catch((function(t){return console.error(t)}));case 1:case"end":return t.stop()}}),t)})))})),Object(b.a)(gt,Pt.NO_PERMISSIONS,(function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ct({title:"No Permission",body:"Please allow the wallet to handle this type of request."});case 2:case"end":return t.stop()}}),t)})))})),Object(b.a)(gt,Pt.ACTIVE_ACCOUNT_SET,Ht()),Object(b.a)(gt,Pt.ACTIVE_TRANSPORT_SET,Ht()),Object(b.a)(gt,Pt.SHOW_PREPARE,(function(t){return Tt(void 0,void 0,void 0,f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.walletInfo?"Preparing Request for {{wallet}}...":"Preparing Request...",Rt({body:''.concat(r,""),state:"prepare",walletInfo:t.walletInfo}).catch((function(t){return console.error(t)}));case 2:case"end":return e.stop()}}),e)})))})),Object(b.a)(gt,Pt.HIDE_UI,(function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:wt(),ut();case 2:case"end":return t.stop()}}),t)})))})),Object(b.a)(gt,Pt.PAIR_INIT,(function(t){return Tt(void 0,void 0,void 0,f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={title:"Choose your preferred wallet",body:"

",pairingPayload:{p2pSyncCode:t.p2pPeerInfo,postmessageSyncCode:t.postmessagePeerInfo,preferredNetwork:t.preferredNetwork},closeButtonCallback:t.abortedHandler,disclaimerText:t.disclaimerText},e.next=3,ct(r);case 3:case"end":return e.stop()}}),e)})))})),Object(b.a)(gt,Pt.PAIR_SUCCESS,(function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ut();case 2:case"end":return t.stop()}}),t)})))})),Object(b.a)(gt,Pt.CHANNEL_CLOSED,(function(){return Tt(void 0,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ct({title:"Channel closed",body:"Your peer has closed the connection.",buttons:[{text:"Done",style:"outline"}],timer:1500});case 2:case"end":return t.stop()}}),t)})))})),Object(b.a)(gt,Pt.INTERNAL_ERROR,(function(t){return Tt(void 0,void 0,void 0,f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={title:"Internal Error",body:"".concat(t),buttons:[{text:"Done",style:"outline"}]},e.next=3,ct(r);case 3:case"end":return e.stop()}}),e)})))})),Object(b.a)(gt,Pt.UNKNOWN,Ht()),gt),Yt=function(){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;Object(l.a)(this,t),this.callbackMap=(e={},Object(b.a)(e,Pt.PERMISSION_REQUEST_SENT,[jt.PERMISSION_REQUEST_SENT]),Object(b.a)(e,Pt.PERMISSION_REQUEST_SUCCESS,[jt.PERMISSION_REQUEST_SUCCESS]),Object(b.a)(e,Pt.PERMISSION_REQUEST_ERROR,[jt.PERMISSION_REQUEST_ERROR]),Object(b.a)(e,Pt.OPERATION_REQUEST_SENT,[jt.OPERATION_REQUEST_SENT]),Object(b.a)(e,Pt.OPERATION_REQUEST_SUCCESS,[jt.OPERATION_REQUEST_SUCCESS]),Object(b.a)(e,Pt.OPERATION_REQUEST_ERROR,[jt.OPERATION_REQUEST_ERROR]),Object(b.a)(e,Pt.SIGN_REQUEST_SENT,[jt.SIGN_REQUEST_SENT]),Object(b.a)(e,Pt.SIGN_REQUEST_SUCCESS,[jt.SIGN_REQUEST_SUCCESS]),Object(b.a)(e,Pt.SIGN_REQUEST_ERROR,[jt.SIGN_REQUEST_ERROR]),Object(b.a)(e,Pt.BROADCAST_REQUEST_SENT,[jt.BROADCAST_REQUEST_SENT]),Object(b.a)(e,Pt.BROADCAST_REQUEST_SUCCESS,[jt.BROADCAST_REQUEST_SUCCESS]),Object(b.a)(e,Pt.BROADCAST_REQUEST_ERROR,[jt.BROADCAST_REQUEST_ERROR]),Object(b.a)(e,Pt.ACKNOWLEDGE_RECEIVED,[jt.ACKNOWLEDGE_RECEIVED]),Object(b.a)(e,Pt.LOCAL_RATE_LIMIT_REACHED,[jt.LOCAL_RATE_LIMIT_REACHED]),Object(b.a)(e,Pt.NO_PERMISSIONS,[jt.NO_PERMISSIONS]),Object(b.a)(e,Pt.ACTIVE_ACCOUNT_SET,[jt.ACTIVE_ACCOUNT_SET]),Object(b.a)(e,Pt.ACTIVE_TRANSPORT_SET,[jt.ACTIVE_TRANSPORT_SET]),Object(b.a)(e,Pt.SHOW_PREPARE,[jt.SHOW_PREPARE]),Object(b.a)(e,Pt.HIDE_UI,[jt.HIDE_UI]),Object(b.a)(e,Pt.PAIR_INIT,[jt.PAIR_INIT]),Object(b.a)(e,Pt.PAIR_SUCCESS,[jt.PAIR_SUCCESS]),Object(b.a)(e,Pt.CHANNEL_CLOSED,[jt.CHANNEL_CLOSED]),Object(b.a)(e,Pt.INTERNAL_ERROR,[jt.INTERNAL_ERROR]),Object(b.a)(e,Pt.UNKNOWN,[jt.UNKNOWN]),e),n&&this.setAllHandlers(),this.overrideDefaults(r)}return Object(A.a)(t,[{key:"on",value:function(t,e){return Tt(this,void 0,void 0,f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:(n=this.callbackMap[t]||[]).push(e),this.callbackMap[t]=n;case 3:case"end":return r.stop()}}),r,this)})))}},{key:"emit",value:function(t,e,r){return Tt(this,void 0,void 0,f.a.mark((function n(){var i,o=this;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:(i=this.callbackMap[t])&&i.length>0&&i.forEach((function(n){return Tt(o,void 0,void 0,f.a.mark((function i(){return f.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,n(e,r);case 3:i.next=8;break;case 5:i.prev=5,i.t0=i.catch(0),Ot.error("error handling event ".concat(t),i.t0);case 8:case"end":return i.stop()}}),i,null,[[0,5]])})))}));case 2:case"end":return n.stop()}}),n,this)})))}},{key:"overrideDefaults",value:function(t){var e=this;Object.keys(t).forEach((function(r){var n=r,i=t[n];i&&(e.callbackMap[n]=[i.handler])}))}},{key:"setAllHandlers",value:function(t){var e=this;Object.keys(this.callbackMap).forEach((function(r){var n=r;e.callbackMap[n]=[],t?e.callbackMap[n].push(t):e.callbackMap[n].push((function(){for(var t=arguments.length,e=new Array(t),n=0;n2&&void 0!==arguments[2])||arguments[2];return zt(this,void 0,void 0,f.a.mark((function n(){var i,o;return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.storage.get(this.storageKey);case 2:if((i=n.sent).some(e)){if(r)for(o=0;oe})),this.requestCounter.push(e),t.abrupt("return",this.requestCounter.length>this.rateLimit);case 4:case"end":return t.stop()}}),t,this)})))}},{key:"init",value:function(t){return ne(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._transport.status!==v.b.RESOLVED){e.next=4;break}return e.next=3,this.transport;case 3:return e.abrupt("return",e.sent.type);case 4:return e.next=6,this.setTransport(t);case 6:return e.abrupt("return",t.type);case 7:case"end":return e.stop()}}),e,this)})))}},{key:"getOwnAppMetadata",value:function(){return ne(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=re.a,t.next=3,this.beaconId;case 3:return t.t1=t.sent,t.next=6,(0,t.t0)(t.t1);case 6:return t.t2=t.sent,t.t3=this.name,t.t4=this.iconUrl,t.abrupt("return",{senderId:t.t2,name:t.t3,icon:t.t4});case 10:case"end":return t.stop()}}),t,this)})))}},{key:"getPeers",value:function(){return ne(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.transport;case 2:return t.abrupt("return",t.sent.getPeers());case 3:case"end":return t.stop()}}),t,this)})))}},{key:"addPeer",value:function(t){return ne(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.transport;case 2:return e.abrupt("return",e.sent.addPeer(t));case 3:case"end":return e.stop()}}),e,this)})))}},{key:"destroy",value:function(){var t=this,e=Object.create(null,{destroy:{get:function(){return d(Object(p.a)(r.prototype),"destroy",t)}}});return ne(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._transport.status!==v.b.RESOLVED){t.next=5;break}return t.next=3,this.transport;case 3:return t.next=5,t.sent.disconnect();case 5:return t.next=7,e.destroy.call(this);case 7:case"end":return t.stop()}}),t,this)})))}},{key:"setTransport",value:function(t){return ne(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t?this._transport.isSettled()?this._transport=v.a.resolve(t):this._transport.resolve(t):this._transport.isSettled()&&(this._transport=new v.a),e.next=3,this.events.emit(Pt.ACTIVE_TRANSPORT_SET,t);case 3:case"end":return e.stop()}}),e,this)})))}},{key:"addListener",value:function(t){return ne(this,void 0,void 0,f.a.mark((function e(){var r=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.addListener((function(t,e){return ne(r,void 0,void 0,f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("string"!==typeof t){r.next=5;break}return r.next=3,(new D.a).deserialize(t);case 3:n=r.sent,this.handleResponse(n,e);case 5:case"end":return r.stop()}}),r,this)})))})).catch((function(t){return ie.error("addListener",t)}));case 1:case"end":return e.stop()}}),e)})))}},{key:"sendDisconnectToPeer",value:function(t,e){return ne(this,void 0,void 0,f.a.mark((function r(){var i,o,a;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object(Q.a)();case 2:return r.t0=r.sent,r.t1=qt.a,r.t2=re.a,r.next=7,this.beaconId;case 7:return r.t3=r.sent,r.next=10,(0,r.t2)(r.t3);case 10:return r.t4=r.sent,r.t5=n.Disconnect,i={id:r.t0,version:r.t1,senderId:r.t4,type:r.t5},r.next=15,(new D.a).serialize(i);case 15:if(o=r.sent,null===e||void 0===e){r.next=20;break}r.t6=e,r.next=23;break;case 20:return r.next=22,this.transport;case 22:r.t6=r.sent;case 23:return a=r.t6,r.next=26,a.send(o,t);case 26:case"end":return r.stop()}}),r,this)})))}}]),r}(Vt),ae=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},se=function(){function t(e){Object(l.a)(this,t),this.storageManager=new Xt(e,xe.APP_METADATA_LIST)}return Object(A.a)(t,[{key:"getAppMetadataList",value:function(){return ae(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.storageManager.getAll());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"getAppMetadata",value:function(t){return ae(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.storageManager.getOne((function(e){return e.senderId===t})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"addAppMetadata",value:function(t){return ae(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.storageManager.addOne(t,(function(e){return e.senderId===t.senderId})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removeAppMetadata",value:function(t){return ae(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.storageManager.remove((function(e){return e.senderId===t})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removeAppMetadatas",value:function(t){return ae(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.storageManager.remove((function(e){return t.includes(e.senderId)})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removeAllAppMetadata",value:function(){return ae(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.storageManager.removeAll());case 1:case"end":return t.stop()}}),t,this)})))}}]),t}();new R.a("IncomingRequestInterceptor"),new R.a("OutgoingResponseInterceptor"),new R.a("WalletClient");var ue,ce,he=r(37),fe=(ue={},Object(b.a)(ue,n.PermissionRequest,{sent:Pt.PERMISSION_REQUEST_SENT,success:Pt.PERMISSION_REQUEST_SUCCESS,error:Pt.PERMISSION_REQUEST_ERROR}),Object(b.a)(ue,n.PermissionResponse,{sent:Pt.UNKNOWN,success:Pt.UNKNOWN,error:Pt.UNKNOWN}),Object(b.a)(ue,n.OperationRequest,{sent:Pt.OPERATION_REQUEST_SENT,success:Pt.OPERATION_REQUEST_SUCCESS,error:Pt.OPERATION_REQUEST_ERROR}),Object(b.a)(ue,n.OperationResponse,{sent:Pt.UNKNOWN,success:Pt.UNKNOWN,error:Pt.UNKNOWN}),Object(b.a)(ue,n.SignPayloadRequest,{sent:Pt.SIGN_REQUEST_SENT,success:Pt.SIGN_REQUEST_SUCCESS,error:Pt.SIGN_REQUEST_ERROR}),Object(b.a)(ue,n.SignPayloadResponse,{sent:Pt.UNKNOWN,success:Pt.UNKNOWN,error:Pt.UNKNOWN}),Object(b.a)(ue,n.BroadcastRequest,{sent:Pt.BROADCAST_REQUEST_SENT,success:Pt.BROADCAST_REQUEST_SUCCESS,error:Pt.BROADCAST_REQUEST_ERROR}),Object(b.a)(ue,n.BroadcastResponse,{sent:Pt.UNKNOWN,success:Pt.UNKNOWN,error:Pt.UNKNOWN}),Object(b.a)(ue,n.Acknowledge,{sent:Pt.UNKNOWN,success:Pt.UNKNOWN,error:Pt.UNKNOWN}),Object(b.a)(ue,n.Disconnect,{sent:Pt.UNKNOWN,success:Pt.UNKNOWN,error:Pt.UNKNOWN}),Object(b.a)(ue,n.Error,{sent:Pt.UNKNOWN,success:Pt.UNKNOWN,error:Pt.UNKNOWN}),ue),le=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},Ae=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},pe=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(t={},Object(b.a)(t,o.MAINNET,"https://tezblock.io"),Object(b.a)(t,o.DELPHINET,"https://delphinet.tezblock.io"),Object(b.a)(t,o.EDONET,"https://edonet.tezblock.io"),Object(b.a)(t,o.FLORENCENET,"https://florencenet.tezblock.io"),Object(b.a)(t,o.GRANADANET,"https://granadanet.tezblock.io"),Object(b.a)(t,o.CUSTOM,"https://granadanet.tezblock.io"),t);return Object(l.a)(this,r),(n=e.call(this,i)).rpcUrls=i,n}return Object(A.a)(r,[{key:"getAddressLink",value:function(t,e){return Ae(this,void 0,void 0,f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.getLinkForNetwork(e);case 2:return n=r.sent,r.abrupt("return","".concat(n,"/account/").concat(t));case 4:case"end":return r.stop()}}),r,this)})))}},{key:"getTransactionLink",value:function(t,e){return Ae(this,void 0,void 0,f.a.mark((function r(){var n;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.getLinkForNetwork(e);case 2:return n=r.sent,r.abrupt("return","".concat(n,"/transaction/").concat(t));case 4:case"end":return r.stop()}}),r,this)})))}}]),r}(function(){function t(e){Object(l.a)(this,t),this.rpcUrls=e}return Object(A.a)(t,[{key:"getLinkForNetwork",value:function(t){return le(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.rpcUrls[t.type]);case 1:case"end":return e.stop()}}),e,this)})))}}]),t}());!function(t){t.RAW="raw",t.OPERATION="operation",t.MICHELINE="micheline"}(ce||(ce={}));var de,ge,ye=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},me=new R.a("DAppClient"),ve=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(t){var i,a,u,c;return Object(l.a)(this,r),(i=e.call(this,Object.assign({storage:t&&t.storage?t.storage:new ze},t))).openRequests=new Map,i._activeAccount=new v.a,i._activePeer=new v.a,i.blockExplorer=null!==(a=t.blockExplorer)&&void 0!==a?a:new pe,i.preferredNetwork=null!==(u=t.preferredNetwork)&&void 0!==u?u:o.MAINNET,B(null!==(c=t.colorMode)&&void 0!==c?c:g.LIGHT),i.disclaimerText=t.disclaimerText,i.appMetadataManager=new se(i.storage),i.activeAccountLoaded=i.storage.get(xe.ACTIVE_ACCOUNT).then((function(t){return ye(Object(he.a)(i),void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=9;break}return e.t0=this,e.next=4,this.accountManager.getAccount(t);case 4:return e.t1=e.sent,e.next=7,e.t0.setActiveAccount.call(e.t0,e.t1);case 7:e.next=11;break;case 9:return e.next=11,this.setActiveAccount(void 0);case 11:case"end":return e.stop()}}),e,this)})))})).catch((function(t){return ye(Object(he.a)(i),void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setActiveAccount(void 0);case 2:console.error(t);case 3:case"end":return e.stop()}}),e,this)})))})),i.handleResponse=function(t,e){return ye(Object(he.a)(i),void 0,void 0,f.a.mark((function r(){var i,o,a,u,c;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=this.openRequests.get(t.id),me.log("handleResponse","Received message",t,e),!o||t.type!==n.Acknowledge){r.next=16;break}return me.log("acknowledge message received for ".concat(t.id)),console.timeLog(t.id,"acknowledge"),r.t0=this.events,r.t1=Pt.ACKNOWLEDGE_RECEIVED,r.t2=t,r.t3={},r.next=11,this.getWalletInfo();case 11:r.t4=r.sent,r.t5={message:r.t2,extraInfo:r.t3,walletInfo:r.t4},r.t0.emit.call(r.t0,r.t1,r.t5).catch(console.error),r.next=58;break;case 16:if(!o){r.next=26;break}if(t.type!==n.PermissionResponse||!t.appMetadata){r.next=20;break}return r.next=20,this.appMetadataManager.addAppMetadata(t.appMetadata);case 20:console.timeLog(t.id,"response"),console.timeEnd(t.id),t.type===n.Error||t.errorType?o.reject(t):o.resolve({message:t,connectionInfo:e}),this.openRequests.delete(t.id),r.next=58;break;case 26:if(t.type!==n.Disconnect){r.next=57;break}if(e.origin!==s.P2P){r.next=31;break}r.t6=this.p2pTransport,r.next=39;break;case 31:if(null===(i=this.postMessageTransport)||void 0===i){r.next=35;break}r.t7=i,r.next=38;break;case 35:return r.next=37,this.transport;case 37:r.t7=r.sent;case 38:r.t6=r.t7;case 39:if(!(a=r.t6)){r.next=55;break}return r.next=43,a.getPeers();case 43:if(u=r.sent,!(c=u.find((function(e){return e.senderId===t.senderId})))){r.next=54;break}return r.next=48,a.removePeer(c);case 48:return r.next=50,this.removeAccountsForPeers([c]);case 50:return r.next=52,this.events.emit(Pt.CHANNEL_CLOSED);case 52:r.next=55;break;case 54:me.error("handleDisconnect","cannot find peer for sender ID",t.senderId);case 55:r.next=58;break;case 57:me.error("handleResponse","no request found for id ",t.id);case 58:case"end":return r.stop()}}),r,this)})))},i}return Object(A.a)(r,[{key:"initInternalTransports",value:function(){return ye(this,void 0,void 0,f.a.mark((function t(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.keyPair;case 2:if(e=t.sent,!this.postMessageTransport&&!this.p2pTransport){t.next=5;break}return t.abrupt("return");case 5:return this.postMessageTransport=new nr(this.name,e,this.storage),t.next=8,this.addListener(this.postMessageTransport);case 8:return this.p2pTransport=new tr(this.name,e,this.storage,this.matrixNodes,this.iconUrl,this.appUrl),t.next=11,this.addListener(this.p2pTransport);case 11:case"end":return t.stop()}}),t,this)})))}},{key:"init",value:function(t){var e=this,n=Object.create(null,{init:{get:function(){return d(Object(p.a)(r.prototype),"init",e)}}});return ye(this,void 0,void 0,f.a.mark((function e(){var r=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._initPromise){e.next=2;break}return e.abrupt("return",this._initPromise);case 2:return e.prev=2,e.next=5,this.activeAccountLoaded;case 5:e.next=9;break;case 7:e.prev=7,e.t0=e.catch(2);case 9:return this._initPromise=new Promise((function(e){return ye(r,void 0,void 0,f.a.mark((function r(){var i,o,a,u,c,h=this;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!t){r.next=10;break}return r.next=3,this.addListener(t);case 3:return r.t0=e,r.next=6,n.init.call(this,t);case 6:r.t1=r.sent,(0,r.t0)(r.t1),r.next=59;break;case 10:if(!this._transport.isSettled()){r.next=27;break}return r.next=13,this.transport;case 13:return r.next=15,r.sent.connect();case 15:return r.t2=e,r.t3=n.init,r.t4=this,r.next=20,this.transport;case 20:return r.t5=r.sent,r.next=23,r.t3.call.call(r.t3,r.t4,r.t5);case 23:r.t6=r.sent,(0,r.t2)(r.t6),r.next=59;break;case 27:return r.next=29,this.getActiveAccount();case 29:return i=r.sent,o=function(){h.postMessageTransport&&h.postMessageTransport.stopListeningForNewPeers().catch(console.error),h.p2pTransport&&h.p2pTransport.stopListeningForNewPeers().catch(console.error)},r.next=33,this.initInternalTransports();case 33:if(this.postMessageTransport&&this.p2pTransport){r.next=35;break}return r.abrupt("return");case 35:if(this.postMessageTransport.connect().then().catch(console.error),!i||!i.origin){r.next=54;break}if((a=i.origin.type)!==s.EXTENSION){r.next=46;break}return r.t7=e,r.next=42,n.init.call(this,this.postMessageTransport);case 42:r.t8=r.sent,(0,r.t7)(r.t8),r.next=52;break;case 46:if(a!==s.P2P){r.next=52;break}return r.t9=e,r.next=50,n.init.call(this,this.p2pTransport);case 50:r.t10=r.sent,(0,r.t9)(r.t10);case 52:r.next=59;break;case 54:u=this.p2pTransport,(c=this.postMessageTransport).listenForNewPeer((function(t){me.log("init","postmessage transport peer connected",t),h.events.emit(Pt.PAIR_SUCCESS,t).catch((function(t){return console.warn(t)})),h.setActivePeer(t).catch(console.error),h.setTransport(h.postMessageTransport).catch(console.error),o(),e(ge.POST_MESSAGE)})).catch(console.error),u.listenForNewPeer((function(t){me.log("init","p2p transport peer connected",t),h.events.emit(Pt.PAIR_SUCCESS,t).catch((function(t){return console.warn(t)})),h.setActivePeer(t).catch(console.error),h.setTransport(h.p2pTransport).catch(console.error),o(),e(ge.P2P)})).catch(console.error),Ge.getAvailableExtensions().then((function(){return ye(h,void 0,void 0,f.a.mark((function t(){var e=this;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.events.emit(Pt.PAIR_INIT,{p2pPeerInfo:function(){return u.connect().then().catch(console.error),u.getPairingRequestInfo()},postmessagePeerInfo:function(){return c.getPairingRequestInfo()},preferredNetwork:this.preferredNetwork,abortedHandler:function(){e._initPromise=void 0},disclaimerText:this.disclaimerText}).catch((function(t){return console.warn(t)}));case 1:case"end":return t.stop()}}),t,this)})))})).catch((function(t){h._initPromise=void 0,console.error(t)}));case 59:case"end":return r.stop()}}),r,this)})))})),e.abrupt("return",this._initPromise);case 11:case"end":return e.stop()}}),e,this,[[2,7]])})))}},{key:"getActiveAccount",value:function(){return ye(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this._activeAccount.promise);case 1:case"end":return t.stop()}}),t,this)})))}},{key:"setActiveAccount",value:function(t){return ye(this,void 0,void 0,f.a.mark((function e(){var r,n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._activeAccount.isSettled()?this._activeAccount=v.a.resolve(t):this._activeAccount.resolve(t),!t){e.next=20;break}return r=t.origin.type,e.next=5,this.initInternalTransports();case 5:if(r!==s.EXTENSION){e.next=10;break}return e.next=8,this.setTransport(this.postMessageTransport);case 8:e.next=13;break;case 10:if(r!==s.P2P){e.next=13;break}return e.next=13,this.setTransport(this.p2pTransport);case 13:return e.next=15,this.getPeer(t);case 15:return n=e.sent,e.next=18,this.setActivePeer(n);case 18:e.next=24;break;case 20:return e.next=22,this.setActivePeer(void 0);case 22:return e.next=24,this.setTransport(void 0);case 24:return e.next=26,this.storage.set(xe.ACTIVE_ACCOUNT,t?t.accountIdentifier:void 0);case 26:return e.next=28,this.events.emit(Pt.ACTIVE_ACCOUNT_SET,t);case 28:return e.abrupt("return");case 29:case"end":return e.stop()}}),e,this)})))}},{key:"clearActiveAccount",value:function(){return this.setActiveAccount()}},{key:"setColorMode",value:function(t){return ye(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",B(t));case 1:case"end":return e.stop()}}),e)})))}},{key:"getColorMode",value:function(){return ye(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",C());case 1:case"end":return t.stop()}}),t)})))}},{key:"getAppMetadata",value:function(){return ye(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getOwnAppMetadata());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"showPrepare",value:function(){return ye(this,void 0,void 0,f.a.mark((function t(){var e,r=this;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ye(r,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.getWalletInfo();case 3:return t.abrupt("return",t.sent);case 6:return t.prev=6,t.t0=t.catch(0),t.abrupt("return",void 0);case 9:case"end":return t.stop()}}),t,this,[[0,6]])})));case 2:return e=t.sent,t.next=5,this.events.emit(Pt.SHOW_PREPARE,{walletInfo:e});case 5:case"end":return t.stop()}}),t,this)})))}},{key:"hideUI",value:function(){return ye(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.events.emit(Pt.HIDE_UI);case 2:case"end":return t.stop()}}),t,this)})))}},{key:"removeAccount",value:function(t){var e=this,n=Object.create(null,{removeAccount:{get:function(){return d(Object(p.a)(r.prototype),"removeAccount",e)}}});return ye(this,void 0,void 0,f.a.mark((function e(){var r,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.removeAccount.call(this,t),e.next=3,this.getActiveAccount();case 3:if(!(i=e.sent)||i.accountIdentifier!==t){e.next=7;break}return e.next=7,this.setActiveAccount(void 0);case 7:return e.abrupt("return",r);case 8:case"end":return e.stop()}}),e,this)})))}},{key:"removeAllAccounts",value:function(){var t=this,e=Object.create(null,{removeAllAccounts:{get:function(){return d(Object(p.a)(r.prototype),"removeAllAccounts",t)}}});return ye(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.removeAllAccounts.call(this);case 2:return t.next=4,this.setActiveAccount(void 0);case 4:case"end":return t.stop()}}),t,this)})))}},{key:"removePeer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return ye(this,void 0,void 0,f.a.mark((function r(){var n,i;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.transport;case 2:return n=r.sent,i=n.removePeer(t),r.next=6,this.removeAccountsForPeers([t]);case 6:if(!e){r.next=9;break}return r.next=9,this.sendDisconnectToPeer(t,n);case 9:return r.abrupt("return",i);case 10:case"end":return r.stop()}}),r,this)})))}},{key:"removeAllPeers",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return ye(this,void 0,void 0,f.a.mark((function e(){var r,n,i,o,a=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.transport;case 2:return r=e.sent,e.next=5,r.getPeers();case 5:return n=e.sent,i=r.removeAllPeers(),e.next=9,this.removeAccountsForPeers(n);case 9:if(!t){e.next=13;break}return o=n.map((function(t){return a.sendDisconnectToPeer(t,r)})),e.next=13,Promise.all(o);case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e,this)})))}},{key:"subscribeToEvent",value:function(t,e){return ye(this,void 0,void 0,f.a.mark((function r(){return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.events.on(t,e);case 2:case"end":return r.stop()}}),r,this)})))}},{key:"checkPermissions",value:function(t){return ye(this,void 0,void 0,f.a.mark((function e(){var r,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t!==n.PermissionRequest){e.next=2;break}return e.abrupt("return",!0);case 2:return e.next=4,this.getActiveAccount();case 4:if(r=e.sent){e.next=9;break}return e.next=8,this.sendInternalError("No active account set!");case 8:throw e.sent;case 9:o=r.scopes,e.t0=t,e.next=e.t0===n.OperationRequest?13:e.t0===n.SignPayloadRequest?14:e.t0===n.BroadcastRequest?15:16;break;case 13:return e.abrupt("return",o.includes(i.OPERATION_REQUEST));case 14:return e.abrupt("return",o.includes(i.SIGN));case 15:return e.abrupt("return",!0);case 16:return e.abrupt("return",!1);case 17:case"end":return e.stop()}}),e,this)})))}},{key:"requestPermissions",value:function(t){return ye(this,void 0,void 0,f.a.mark((function e(){var r,a,s,u,c,h,l,A,p=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getOwnAppMetadata();case 2:return e.t0=e.sent,e.t1=n.PermissionRequest,e.t2=t&&t.network?t.network:{type:o.MAINNET},e.t3=t&&t.scopes?t.scopes:[i.OPERATION_REQUEST,i.SIGN],r={appMetadata:e.t0,type:e.t1,network:e.t2,scopes:e.t3},e.next=9,this.makeRequest(r).catch((function(t){return ye(p,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.handleRequestError(r,t);case 2:throw e.sent;case 3:case"end":return e.stop()}}),e,this)})))}));case 9:return a=e.sent,s=a.message,u=a.connectionInfo,c=s.publicKey||s.pubkey||s.pubKey,e.next=15,Object(Kt.c)(c);case 15:return h=e.sent,e.next=18,Object(Wt.a)(h,s.network);case 18:return e.t4=e.sent,e.t5=s.senderId,e.t6={type:u.origin,id:u.id},e.t7=h,e.t8=c,e.t9=s.network,e.t10=s.scopes,e.t11=s.threshold,e.t12=(new Date).getTime(),l={accountIdentifier:e.t4,senderId:e.t5,origin:e.t6,address:e.t7,publicKey:e.t8,network:e.t9,scopes:e.t10,threshold:e.t11,connectedAt:e.t12},e.next=30,this.accountManager.addAccount(l);case 30:return e.next=32,this.setActiveAccount(l);case 32:return A=Object.assign(Object.assign({},s),{address:h,accountInfo:l}),e.t13=this,e.t14=r,e.t15=l,e.t16=A,e.t17=this.blockExplorer,e.t18=u,e.next=41,this.getWalletInfo();case 41:return e.t19=e.sent,e.t20={account:e.t15,output:e.t16,blockExplorer:e.t17,connectionContext:e.t18,walletInfo:e.t19},e.next=45,e.t13.notifySuccess.call(e.t13,e.t14,e.t20);case 45:return e.abrupt("return",A);case 46:case"end":return e.stop()}}),e,this)})))}},{key:"requestSignPayload",value:function(t){return ye(this,void 0,void 0,f.a.mark((function e(){var r,i,o,a,s,u,c,h=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.payload){e.next=4;break}return e.next=3,this.sendInternalError("Payload must be provided");case 3:throw e.sent;case 4:return e.next=6,this.getActiveAccount();case 6:if(r=e.sent){e.next=11;break}return e.next=10,this.sendInternalError("No active account!");case 10:throw e.sent;case 11:if("string"===typeof(i=t.payload)){e.next=14;break}throw new Error("Payload must be a string");case 14:return o=function(){switch(t.signingType){case ce.OPERATION:if(!i.startsWith("03"))throw new Error('When using signing type "OPERATION", the payload must start with prefix "03"');return ce.OPERATION;case ce.MICHELINE:if(!i.startsWith("05"))throw new Error('When using signing type "MICHELINE", the payload must start with prefix "05"');return ce.MICHELINE;case ce.RAW:default:return ce.RAW}}(),a={type:n.SignPayloadRequest,signingType:o,payload:i,sourceAddress:t.sourceAddress||r.address},e.next=18,this.makeRequest(a).catch((function(t){return ye(h,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.handleRequestError(a,t);case 2:throw e.sent;case 3:case"end":return e.stop()}}),e,this)})))}));case 18:return s=e.sent,u=s.message,c=s.connectionInfo,e.t0=this,e.t1=a,e.t2=r,e.t3=u,e.t4=c,e.next=28,this.getWalletInfo();case 28:return e.t5=e.sent,e.t6={account:e.t2,output:e.t3,connectionContext:e.t4,walletInfo:e.t5},e.next=32,e.t0.notifySuccess.call(e.t0,e.t1,e.t6);case 32:return e.abrupt("return",u);case 33:case"end":return e.stop()}}),e,this)})))}},{key:"requestOperation",value:function(t){return ye(this,void 0,void 0,f.a.mark((function e(){var r,i,a,s,u,c=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.operationDetails){e.next=4;break}return e.next=3,this.sendInternalError("Operation details must be provided");case 3:throw e.sent;case 4:return e.next=6,this.getActiveAccount();case 6:if(r=e.sent){e.next=11;break}return e.next=10,this.sendInternalError("No active account!");case 10:throw e.sent;case 11:return i={type:n.OperationRequest,network:r.network||{type:o.MAINNET},operationDetails:t.operationDetails,sourceAddress:r.address||""},e.next=14,this.makeRequest(i).catch((function(t){return ye(c,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.handleRequestError(i,t);case 2:throw e.sent;case 3:case"end":return e.stop()}}),e,this)})))}));case 14:return a=e.sent,s=a.message,u=a.connectionInfo,e.t0=this,e.t1=i,e.t2=r,e.t3=s,e.t4=this.blockExplorer,e.t5=u,e.next=25,this.getWalletInfo();case 25:return e.t6=e.sent,e.t7={account:e.t2,output:e.t3,blockExplorer:e.t4,connectionContext:e.t5,walletInfo:e.t6},e.next=29,e.t0.notifySuccess.call(e.t0,e.t1,e.t7);case 29:return e.abrupt("return",s);case 30:case"end":return e.stop()}}),e,this)})))}},{key:"requestBroadcast",value:function(t){return ye(this,void 0,void 0,f.a.mark((function e(){var r,i,a,s,u,c=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.signedTransaction){e.next=4;break}return e.next=3,this.sendInternalError("Signed transaction must be provided");case 3:throw e.sent;case 4:return r=t.network||{type:o.MAINNET},i={type:n.BroadcastRequest,network:r,signedTransaction:t.signedTransaction},e.next=8,this.makeRequest(i).catch((function(t){return ye(c,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.handleRequestError(i,t);case 2:throw e.sent;case 3:case"end":return e.stop()}}),e,this)})))}));case 8:return a=e.sent,s=a.message,u=a.connectionInfo,e.t0=this,e.t1=i,e.t2=r,e.t3=s,e.t4=this.blockExplorer,e.t5=u,e.next=19,this.getWalletInfo();case 19:return e.t6=e.sent,e.t7={network:e.t2,output:e.t3,blockExplorer:e.t4,connectionContext:e.t5,walletInfo:e.t6},e.next=23,e.t0.notifySuccess.call(e.t0,e.t1,e.t7);case 23:return e.abrupt("return",s);case 24:case"end":return e.stop()}}),e,this)})))}},{key:"setActivePeer",value:function(t){return ye(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._activePeer.isSettled()?this._activePeer=v.a.resolve(t):this._activePeer.resolve(t),!t){e.next=12;break}return e.next=4,this.initInternalTransports();case 4:if("postmessage-pairing-response"!==t.type){e.next=9;break}return e.next=7,this.setTransport(this.postMessageTransport);case 7:e.next=12;break;case 9:if("p2p-pairing-response"!==t.type){e.next=12;break}return e.next=12,this.setTransport(this.p2pTransport);case 12:return e.abrupt("return");case 13:case"end":return e.stop()}}),e,this)})))}},{key:"setTransport",value:function(t){var e=this,n=Object.create(null,{setTransport:{get:function(){return d(Object(p.a)(r.prototype),"setTransport",e)}}});return ye(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t||(this._initPromise=void 0),e.abrupt("return",n.setTransport.call(this,t));case 2:case"end":return e.stop()}}),e,this)})))}},{key:"sendInternalError",value:function(t){return ye(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.events.emit(Pt.INTERNAL_ERROR,t);case 2:throw new Error(t);case 3:case"end":return e.stop()}}),e,this)})))}},{key:"removeAccountsForPeers",value:function(t){return ye(this,void 0,void 0,f.a.mark((function e(){var r,n,i,o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.accountManager.getAccounts();case 2:return r=e.sent,n=t.map((function(t){return t.senderId})),i=r.filter((function(t){return n.includes(t.senderId)})),o=i.map((function(t){return t.accountIdentifier})),e.next=8,this.accountManager.removeAccounts(o);case 8:return e.next=10,this.getActiveAccount();case 10:if(!(a=e.sent)){e.next=15;break}if(!o.includes(a.accountIdentifier)){e.next=15;break}return e.next=15,this.setActiveAccount(void 0);case 15:case"end":return e.stop()}}),e,this)})))}},{key:"handleRequestError",value:function(t,e){return ye(this,void 0,void 0,f.a.mark((function r(){var i,o,a,s,u=this;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(me.error("handleRequestError","error response",e),!e.errorType){r.next=35;break}return i=[],e.errorType===dt.NO_PRIVATE_KEY_FOUND_ERROR&&(o=function(){return ye(u,void 0,void 0,f.a.mark((function e(){var r,n,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=t).sourceAddress||!r.network){e.next=11;break}return e.next=4,Object(Wt.a)(r.sourceAddress,r.network);case 4:return i=e.sent,e.next=7,this.getAccount(i);case 7:if(!(n=e.sent)){e.next=11;break}return e.next=11,this.removeAccount(n.accountIdentifier);case 11:case"end":return e.stop()}}),e,this)})))},i.push({text:"Remove account",actionCallback:o})),r.next=6,this.getPeer();case 6:return a=r.sent,r.next=9,this.getActiveAccount();case 9:if(s=r.sent,r.t0=t.type===n.PermissionRequest,!r.t0){r.next=17;break}return r.next=14,this.getActiveAccount();case 14:r.t1=r.sent,r.t2=void 0,r.t0=r.t1===r.t2;case 17:if(!r.t0){r.next=25;break}return this._initPromise=void 0,this.postMessageTransport=void 0,this.p2pTransport=void 0,r.next=23,this.setTransport();case 23:return r.next=25,this.setActivePeer();case 25:return r.t3=this.events,r.t4=fe[t.type].error,r.t5=e,r.next=30,this.getWalletInfo(a,s);case 30:throw r.t6=r.sent,r.t7={errorResponse:r.t5,walletInfo:r.t6},r.t8=i,r.t3.emit.call(r.t3,r.t4,r.t7,r.t8).catch((function(t){return me.error("handleRequestError",t)})),be.getError(e.errorType,e.errorData);case 35:throw e;case 36:case"end":return r.stop()}}),r,this)})))}},{key:"notifySuccess",value:function(t,e){return ye(this,void 0,void 0,f.a.mark((function r(){return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:this.events.emit(fe[t.type].success,e).catch((function(t){return console.warn(t)}));case 1:case"end":return r.stop()}}),r,this)})))}},{key:"getWalletInfo",value:function(t,e){var r,n;return ye(this,void 0,void 0,f.a.mark((function i(){var o,a,s,u,c,h,l,A;return f.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(!e){i.next=4;break}i.t0=e,i.next=7;break;case 4:return i.next=6,this.getActiveAccount();case 6:i.t0=i.sent;case 7:if(o=i.t0,!t){i.next=12;break}i.t1=t,i.next=15;break;case 12:return i.next=14,this.getPeer(o);case 14:i.t1=i.sent;case 15:if(a=i.t1,!o){i.next=20;break}return i.next=19,this.appMetadataManager.getAppMetadata(o.senderId);case 19:s=i.sent;case 20:if(u=a,s||(s={name:u.name,icon:u.icon}),c=function(t,e){return!(!t||!e)&&t.toLowerCase()===e.toLowerCase()},j.find((function(t){return c(t.name,null===s||void 0===s?void 0:s.name)}))?(h=j.find((function(t){return c(t.name,null===s||void 0===s?void 0:s.name)})),l="mobile"):H.find((function(t){return c(t.name,null===s||void 0===s?void 0:s.name)}))?(h=H.find((function(t){return c(t.name,null===s||void 0===s?void 0:s.name)})),l="web"):G.find((function(t){return c(t.name,null===s||void 0===s?void 0:s.name)}))?(h=G.find((function(t){return c(t.name,null===s||void 0===s?void 0:s.name)})),l="desktop"):L.find((function(t){return c(t.name,null===s||void 0===s?void 0:s.name)}))&&(h=L.find((function(t){return c(t.name,null===s||void 0===s?void 0:s.name)})),l="extension"),!h){i.next=27;break}return h.hasOwnProperty("links")?A=h.links[null!==(r=null===o||void 0===o?void 0:o.network.type)&&void 0!==r?r:this.preferredNetwork]:h.hasOwnProperty("deepLink")&&(A=h.deepLink),i.abrupt("return",{name:s.name,icon:null!==(n=s.icon)&&void 0!==n?n:h.logo,deeplink:A,type:l});case 27:return i.abrupt("return",s);case 28:case"end":return i.stop()}}),i,this)})))}},{key:"getPeer",value:function(t){var e,r,n,i;return ye(this,void 0,void 0,f.a.mark((function o(){var a,s,u,c;return f.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t){o.next=32;break}return me.log("getPeer","We have an account",t),o.next=4,null===(e=this.postMessageTransport)||void 0===e?void 0:e.getPeers();case 4:if(o.t1=r=o.sent,o.t0=null!==o.t1,!o.t0){o.next=8;break}o.t0=void 0!==r;case 8:if(!o.t0){o.next=12;break}o.t2=r,o.next=13;break;case 12:o.t2=[];case 13:return s=o.t2,o.next=16,null===(n=this.p2pTransport)||void 0===n?void 0:n.getPeers();case 16:if(o.t4=i=o.sent,o.t3=null!==o.t4,!o.t3){o.next=20;break}o.t3=void 0!==i;case 20:if(!o.t3){o.next=24;break}o.t5=i,o.next=25;break;case 24:o.t5=[];case 25:u=o.t5,c=[].concat(Object(w.a)(s),Object(w.a)(u)),me.log("getPeer","Found peers",c,t),(a=c.find((function(e){return e.senderId===t.senderId})))||(a=c.find((function(e){return e.extensionId===t.origin.id}))),o.next=36;break;case 32:return o.next=34,this._activePeer.promise;case 34:a=o.sent,me.log("getPeer","Active peer",a);case 36:if(a){o.next=38;break}throw new Error("No matching peer found.");case 38:return o.abrupt("return",a);case 39:case"end":return o.stop()}}),o,this)})))}},{key:"makeRequest",value:function(t){var e;return ye(this,void 0,void 0,f.a.mark((function r(){var n,i,o,a,s,u,c,h=this;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object(Q.a)();case 2:return n=r.sent,console.time(n),me.log("makeRequest","starting"),r.next=7,this.init();case 7:return console.timeLog(n,"init done"),me.log("makeRequest","after init"),r.next=11,this.addRequestAndCheckIfRateLimited();case 11:if(!r.sent){r.next=14;break}throw this.events.emit(Pt.LOCAL_RATE_LIMIT_REACHED).catch((function(t){return console.warn(t)})),new Error("rate limit reached");case 14:return r.next=16,this.checkPermissions(t.type);case 16:if(r.sent){r.next=19;break}throw this.events.emit(Pt.NO_PERMISSIONS).catch((function(t){return console.warn(t)})),new Error("No permissions to send this request to wallet!");case 19:if(this.beaconId){r.next=23;break}return r.next=22,this.sendInternalError("BeaconID not defined");case 22:throw r.sent;case 23:return r.t0=Object,r.t1=n,r.t2=qt.a,r.t3=re.a,r.next=29,this.beaconId;case 29:return r.t4=r.sent,r.next=32,(0,r.t3)(r.t4);case 32:return r.t5=r.sent,r.t6={id:r.t1,version:r.t2,senderId:r.t5},r.t7=t,i=r.t0.assign.call(r.t0,r.t6,r.t7),o=new v.a,this.addOpenRequest(i.id,o),r.next=40,(new D.a).serialize(i);case 40:return a=r.sent,r.next=43,this.getActiveAccount();case 43:return s=r.sent,r.next=46,this.getPeer(s);case 46:return u=r.sent,r.next=49,this.getWalletInfo(u,s);case 49:return c=r.sent,me.log("makeRequest","sending message",i),console.timeLog(n,"sending"),r.next=54,this.transport;case 54:return r.next=56,r.sent.send(a,u);case 56:return console.timeLog(n,"sent"),this.events.emit(fe[t.type].sent,{walletInfo:Object.assign(Object.assign({},c),{name:null!==(e=c.name)&&void 0!==e?e:"Wallet"}),extraInfo:{resetCallback:function(){return ye(h,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.disconnect();case 1:case"end":return t.stop()}}),t,this)})))}}}).catch((function(t){return console.warn(t)})),r.abrupt("return",o.promise);case 59:case"end":return r.stop()}}),r,this)})))}},{key:"disconnect",value:function(){return ye(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.postMessageTransport=void 0,this.p2pTransport=void 0,t.t0=Promise,t.t1=this.clearActiveAccount(),t.next=6,this.transport;case 6:return t.t2=t.sent.disconnect(),t.t3=[t.t1,t.t2],t.next=10,t.t0.all.call(t.t0,t.t3);case 10:case"end":return t.stop()}}),t,this)})))}},{key:"addOpenRequest",value:function(t,e){me.log("addOpenRequest",this.name,"adding request ".concat(t," and waiting for answer")),this.openRequests.set(t,e)}}]),r}(oe),be=function(){function t(e,r){Object(l.a)(this,t),this.name="BeaconError",this.title="Error",this.message="[".concat(e,"]:").concat(r),this.description=r}return Object(A.a)(t,[{key:"fullDescription",get:function(){return this.description}}],[{key:"getError",value:function(t,e){switch(t){case dt.BROADCAST_ERROR:return new we;case dt.NETWORK_NOT_SUPPORTED:return new Ie;case dt.NO_ADDRESS_ERROR:return new Ee;case dt.NO_PRIVATE_KEY_FOUND_ERROR:return new _e;case dt.NOT_GRANTED_ERROR:return new Be;case dt.PARAMETERS_INVALID_ERROR:return new Ce;case dt.TOO_MANY_OPERATIONS:return new Qe;case dt.TRANSACTION_INVALID_ERROR:return new Me(e);case dt.SIGNATURE_TYPE_NOT_SUPPORTED:return new ar;case dt.ABORTED_ERROR:return new Xe;case dt.UNKNOWN_ERROR:return new ke}}}]),t}(),we=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t;return Object(l.a)(this,r),(t=e.call(this,dt.BROADCAST_ERROR,"The transaction could not be broadcast to the network. Please try again.")).name="BroadcastBeaconError",t.title="Broadcast Error",t}return r}(be),Ie=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t;return Object(l.a)(this,r),(t=e.call(this,dt.NETWORK_NOT_SUPPORTED,"The wallet does not support this network. Please select another one.")).name="NetworkNotSupportedBeaconError",t.title="Network Error",t}return r}(be),Ee=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t;return Object(l.a)(this,r),(t=e.call(this,dt.NO_ADDRESS_ERROR,"The wallet does not have an account set up. Please make sure to set up your wallet and try again.")).name="NoAddressBeaconError",t.title="No Address",t}return r}(be),_e=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t;return Object(l.a)(this,r),(t=e.call(this,dt.NO_PRIVATE_KEY_FOUND_ERROR,"The account you are trying to interact with is not available. Please make sure to add the account to your wallet and try again.")).name="NoPrivateKeyBeaconError",t.title="Account Not Found",t}return r}(be),Be=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t;return Object(l.a)(this,r),(t=e.call(this,dt.NOT_GRANTED_ERROR,"You do not have the necessary permissions to perform this action. Please initiate another permission request and give the necessary permissions.")).name="NotGrantedBeaconError",t.title="Permission Not Granted",t}return r}(be),Ce=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t;return Object(l.a)(this,r),(t=e.call(this,dt.PARAMETERS_INVALID_ERROR,"Some of the parameters you provided are invalid and the request could not be completed. Please check your inputs and try again.")).name="ParametersInvalidBeaconError",t.title="Parameters Invalid",t}return r}(be),Qe=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t;return Object(l.a)(this,r),(t=e.call(this,dt.TOO_MANY_OPERATIONS,"The request contains too many transactions. Please include fewer operations and try again.")).name="TooManyOperationsBeaconError",t.title="Too Many Operations",t}return r}(be),Me=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(t){var n;return Object(l.a)(this,r),(n=e.call(this,dt.TRANSACTION_INVALID_ERROR,"The transaction is invalid and the node did not accept it.")).data=t,n.name="TransactionInvalidBeaconError",n.title="Transaction Invalid",n.data=t,n}return Object(A.a)(r,[{key:"fullDescription",get:function(){return"".concat(this.description,'
').concat(JSON.stringify(this.data,void 0,2),"
")}}]),r}(be),ke=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t;return Object(l.a)(this,r),(t=e.call(this,dt.UNKNOWN_ERROR,"An unknown error occured. Please try again or report it to a developer.")).name="UnknownBeaconError",t.title="Error",t}return r}(be);!function(t){t.NOT_CONNECTED="NOT_CONNECTED",t.CONNECTING="CONNECTING",t.CONNECTED="CONNECTED"}(de||(de={})),function(t){t.CHROME_MESSAGE="chrome_message",t.POST_MESSAGE="post_message",t.LEDGER="ledger",t.P2P="p2p"}(ge||(ge={}));var Se,xe,De,Re=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},Ne=function(){function t(e,r){Object(l.a)(this,t),this.storageManager=new Xt(e,r)}return Object(A.a)(t,[{key:"hasPeer",value:function(t){return Re(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getPeer(t);case 2:if(!e.sent){e.next=6;break}e.t0=!0,e.next=7;break;case 6:e.t0=!1;case 7:return e.abrupt("return",e.t0);case 8:case"end":return e.stop()}}),e,this)})))}},{key:"getPeers",value:function(){return Re(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.storageManager.getAll());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"getPeer",value:function(t){return Re(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.storageManager.getOne((function(e){return e.publicKey===t})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"addPeer",value:function(t){return Re(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.storageManager.addOne(t,(function(e){return e.publicKey===t.publicKey})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removePeer",value:function(t){return Re(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.storageManager.remove((function(e){return e.publicKey===t})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removePeers",value:function(t){return Re(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.storageManager.remove((function(e){return t.includes(e.publicKey)})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removeAllPeers",value:function(){return Re(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.storageManager.removeAll());case 1:case"end":return t.stop()}}),t,this)})))}}]),t}(),Pe=r(188),Te=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},Oe=new R.a("Transport"),Fe=function(){function t(e,r,n){Object(l.a)(this,t),this.type=ge.POST_MESSAGE,this._isConnected=de.NOT_CONNECTED,this.listeners=[],this.name=e,this.client=r,this.peerManager=n}return Object(A.a)(t,[{key:"connectionStatus",get:function(){return this._isConnected}},{key:"connect",value:function(){return Te(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Oe.log("connect"),this._isConnected=de.CONNECTED,t.abrupt("return");case 3:case"end":return t.stop()}}),t,this)})))}},{key:"disconnect",value:function(){return Te(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Oe.log("disconnect"),this._isConnected=de.NOT_CONNECTED,t.abrupt("return");case 3:case"end":return t.stop()}}),t,this)})))}},{key:"send",value:function(t,e){return Te(this,void 0,void 0,f.a.mark((function r(){var n,i,o=this;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!e){r.next=4;break}return r.abrupt("return",this.client.sendMessage(t,e));case 4:return r.next=6,this.getPeers();case 6:return n=r.sent,i=n.map((function(e){return o.client.sendMessage(t,e)})),r.next=10,Promise.all(i);case 10:return r.abrupt("return",r.sent[0]);case 11:case"end":return r.stop()}}),r,this)})))}},{key:"addListener",value:function(t){return Te(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Oe.debug("addListener",t),this.listeners.push(t),e.abrupt("return");case 3:case"end":return e.stop()}}),e,this)})))}},{key:"removeListener",value:function(t){return Te(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Oe.log("removeListener"),this.listeners=this.listeners.filter((function(e){return e!==t})),e.abrupt("return");case 3:case"end":return e.stop()}}),e,this)})))}},{key:"getPeers",value:function(){return Te(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.peerManager.getPeers());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"addPeer",value:function(t){return Te(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Oe.log("addPeer","adding peer",t),e.next=3,this.peerManager.addPeer(t);case 3:return e.next=5,this.listen(t.publicKey);case 5:case"end":return e.stop()}}),e,this)})))}},{key:"removePeer",value:function(t){return Te(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Oe.log("removePeer","removing peer",t),e.next=3,this.peerManager.removePeer(t.publicKey);case 3:if(!this.client){e.next=6;break}return e.next=6,this.client.unsubscribeFromEncryptedMessage(t.publicKey);case 6:case"end":return e.stop()}}),e,this)})))}},{key:"removeAllPeers",value:function(){return Te(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return Oe.log("removeAllPeers"),t.next=3,this.peerManager.removeAllPeers();case 3:if(!this.client){t.next=6;break}return t.next=6,this.client.unsubscribeFromEncryptedMessages();case 6:case"end":return t.stop()}}),t,this)})))}},{key:"notifyListeners",value:function(t,e){return Te(this,void 0,void 0,f.a.mark((function r(){return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return 0===this.listeners.length?Oe.warn("notifyListeners","0 listeners notified!",this):Oe.log("notifyListeners","Notifying ".concat(this.listeners.length," listeners"),this),this.listeners.forEach((function(r){r(t,e)})),r.abrupt("return");case 3:case"end":return r.stop()}}),r,this)})))}}],[{key:"isAvailable",value:function(){return Te(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve(!1));case 1:case"end":return t.stop()}}),t)})))}}]),t}(),Ue=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},Le=new R.a("PostMessageTransport"),Ge=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(t,n,i,o){var a;return Object(l.a)(this,r),(a=e.call(this,t,new Pe.a(t,n),new Ne(i,o))).type=ge.POST_MESSAGE,a}return Object(A.a)(r,[{key:"connect",value:function(){var t=this,e=Object.create(null,{connect:{get:function(){return d(Object(p.a)(r.prototype),"connect",t)}}});return Ue(this,void 0,void 0,f.a.mark((function t(){var r,n,i=this;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Le.log("connect"),this._isConnected===de.NOT_CONNECTED){t.next=3;break}return t.abrupt("return");case 3:return this._isConnected=de.CONNECTING,t.next=6,this.getPeers();case 6:return(r=t.sent).length>0&&(Le.log("connect","connecting to ".concat(r.length," peers")),n=r.map((function(t){return Ue(i,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.listen(t.publicKey));case 1:case"end":return e.stop()}}),e,this)})))})),Promise.all(n).catch((function(t){return Le.error("connect",t)}))),t.next=10,this.startOpenChannelListener();case 10:return t.next=12,e.connect.call(this);case 12:case"end":return t.stop()}}),t,this)})))}},{key:"startOpenChannelListener",value:function(){return Ue(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))}},{key:"getPairingRequestInfo",value:function(){return Ue(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.client.getPairingRequestInfo());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"listen",value:function(t){return Ue(this,void 0,void 0,f.a.mark((function e(){var r=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Le.log("listen",t),e.next=3,this.client.listenForEncryptedMessage(t,(function(t,e){var n={origin:s.EXTENSION,id:e.id};r.notifyListeners(t,n).catch((function(t){throw t}))})).catch((function(t){throw t}));case 3:case"end":return e.stop()}}),e,this)})))}}],[{key:"isAvailable",value:function(){return Ue(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t){F.a.addEventListener("message",(function e(r){var n=r.data;n&&"pong"===n.payload&&(t(!0),F.a.removeEventListener("message",e))}));var e={target:u.EXTENSION,payload:"ping"};F.a.postMessage(e,F.a.location.origin)})));case 1:case"end":return t.stop()}}),t)})))}},{key:"getAvailableExtensions",value:function(){return Ue(this,void 0,void 0,f.a.mark((function t(){var e;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Se){t.next=2;break}return t.abrupt("return",Se.promise);case 2:return Se=new v.a,e=[],t.abrupt("return",new Promise((function(t){var r=function(t){var r=t.data,n=r.sender;r&&"pong"===r.payload&&n&&(Le.log("getAvailableExtensions",'extension "'.concat(n.name,'" is available'),n),e.some((function(t){return t.id===n.id}))||e.push(n))};F.a.addEventListener("message",r),setTimeout((function(){F.a.removeEventListener("message",r),Se&&Se.resolve(e),t(e)}),1e3);var n={target:u.EXTENSION,payload:"ping"};F.a.postMessage(n,F.a.location.origin)})));case 5:case"end":return t.stop()}}),t)})))}}]),r}(Fe),He=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},je=new R.a("P2PTransport"),Ye=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(t,n,i,o,a,s,u){var h;return Object(l.a)(this,r),(h=e.call(this,t,new c.a(t,n,1,i,o,s,u),new Ne(i,a))).type=ge.P2P,h}return Object(A.a)(r,[{key:"connect",value:function(){var t=this,e=Object.create(null,{connect:{get:function(){return d(Object(p.a)(r.prototype),"connect",t)}}});return He(this,void 0,void 0,f.a.mark((function t(){var r,n,i=this;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._isConnected===de.NOT_CONNECTED){t.next=2;break}return t.abrupt("return");case 2:return je.log("connect"),this._isConnected=de.CONNECTING,t.next=6,this.client.start();case 6:return t.next=8,this.getPeers();case 8:return(r=t.sent).length>0&&(je.log("connect","connecting to ".concat(r.length," peers")),n=r.map((function(t){return He(i,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.listen(t.publicKey));case 1:case"end":return e.stop()}}),e,this)})))})),Promise.all(n).catch((function(t){return je.error("connect",t)}))),t.next=12,this.startOpenChannelListener();case 12:return t.abrupt("return",e.connect.call(this));case 13:case"end":return t.stop()}}),t,this)})))}},{key:"disconnect",value:function(){var t=this,e=Object.create(null,{disconnect:{get:function(){return d(Object(p.a)(r.prototype),"disconnect",t)}}});return He(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.client.stop();case 2:return t.abrupt("return",e.disconnect.call(this));case 3:case"end":return t.stop()}}),t,this)})))}},{key:"startOpenChannelListener",value:function(){return He(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))}},{key:"getPairingRequestInfo",value:function(){return He(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.client.getPairingRequestInfo());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"listen",value:function(t){return He(this,void 0,void 0,f.a.mark((function e(){var r=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.client.listenForEncryptedMessage(t,(function(e){var n={origin:s.P2P,id:t};r.notifyListeners(e,n).catch((function(t){throw t}))})).catch((function(t){throw t}));case 2:case"end":return e.stop()}}),e,this)})))}}],[{key:"isAvailable",value:function(){return He(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve(!0));case 1:case"end":return t.stop()}}),t)})))}}]),r}(Fe);!function(t){t.TRANSPORT_P2P_PEERS_DAPP="beacon:communication-peers-dapp",t.TRANSPORT_P2P_PEERS_WALLET="beacon:communication-peers-wallet",t.TRANSPORT_POSTMESSAGE_PEERS_DAPP="beacon:postmessage-peers-dapp",t.TRANSPORT_POSTMESSAGE_PEERS_WALLET="beacon:postmessage-peers-wallet",t.ACCOUNTS="beacon:accounts",t.ACTIVE_ACCOUNT="beacon:active-account",t.BEACON_SDK_SECRET_SEED="beacon:sdk-secret-seed",t.APP_METADATA_LIST="beacon:app-metadata-list",t.PERMISSION_LIST="beacon:permissions",t.BEACON_SDK_VERSION="beacon:sdk_version",t.MATRIX_PRESERVED_STATE="beacon:sdk-matrix-preserved-state",t.MATRIX_PEER_ROOM_IDS="beacon:matrix-peer-rooms",t.MATRIX_SELECTED_NODE="beacon:matrix-selected-node",t.MULTI_NODE_SETUP_DONE="beacon:multi-node-setup"}(xe||(xe={}));var Ke=(De={},Object(b.a)(De,xe.TRANSPORT_P2P_PEERS_DAPP,[]),Object(b.a)(De,xe.TRANSPORT_P2P_PEERS_WALLET,[]),Object(b.a)(De,xe.TRANSPORT_POSTMESSAGE_PEERS_DAPP,[]),Object(b.a)(De,xe.TRANSPORT_POSTMESSAGE_PEERS_WALLET,[]),Object(b.a)(De,xe.ACCOUNTS,[]),Object(b.a)(De,xe.ACTIVE_ACCOUNT,void 0),Object(b.a)(De,xe.BEACON_SDK_SECRET_SEED,void 0),Object(b.a)(De,xe.APP_METADATA_LIST,[]),Object(b.a)(De,xe.PERMISSION_LIST,[]),Object(b.a)(De,xe.BEACON_SDK_VERSION,void 0),Object(b.a)(De,xe.MATRIX_PRESERVED_STATE,{}),Object(b.a)(De,xe.MATRIX_PEER_ROOM_IDS,{}),Object(b.a)(De,xe.MATRIX_SELECTED_NODE,void 0),Object(b.a)(De,xe.MULTI_NODE_SETUP_DONE,void 0),De),qe=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},Je=function(){function t(){Object(l.a)(this,t)}return Object(A.a)(t,[{key:"get",value:function(t){return qe(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){chrome.storage.local.get(null,(function(r){r[t]?e(r[t]):e("object"===typeof Ke[t]?JSON.parse(JSON.stringify(Ke[t])):Ke[t])}))})));case 1:case"end":return e.stop()}}),e)})))}},{key:"set",value:function(t,e){return qe(this,void 0,void 0,f.a.mark((function r(){return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",new Promise((function(r){chrome.storage.local.set(Object(b.a)({},t,e),(function(){r()}))})));case 1:case"end":return r.stop()}}),r)})))}},{key:"delete",value:function(t){return qe(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){chrome.storage.local.set(Object(b.a)({},t,void 0),(function(){e()}))})));case 1:case"end":return e.stop()}}),e)})))}}],[{key:"isSupported",value:function(){return qe(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return","undefined"!==typeof window&&"undefined"!==typeof chrome&&Boolean(chrome)&&Boolean(chrome.runtime)&&Boolean(chrome.runtime.id));case 1:case"end":return t.stop()}}),t)})))}}]),t}(),Ve=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},ze=function(){function t(e){Object(l.a)(this,t),this.prefix=e}return Object(A.a)(t,[{key:"get",value:function(t){return Ve(this,void 0,void 0,f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=localStorage.getItem(this.getPrefixedKey(t))){e.next=9;break}if("object"!==typeof Ke[t]){e.next=6;break}return e.abrupt("return",JSON.parse(JSON.stringify(Ke[t])));case 6:return e.abrupt("return",Ke[t]);case 7:e.next=16;break;case 9:return e.prev=9,e.abrupt("return",JSON.parse(r));case 13:return e.prev=13,e.t0=e.catch(9),e.abrupt("return",r);case 16:case"end":return e.stop()}}),e,this,[[9,13]])})))}},{key:"set",value:function(t,e){return Ve(this,void 0,void 0,f.a.mark((function r(){return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("string"!==typeof e){r.next=4;break}return r.abrupt("return",localStorage.setItem(this.getPrefixedKey(t),e));case 4:return r.abrupt("return",localStorage.setItem(this.getPrefixedKey(t),JSON.stringify(e)));case 5:case"end":return r.stop()}}),r,this)})))}},{key:"delete",value:function(t){return Ve(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve(localStorage.removeItem(this.getPrefixedKey(t))));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"getPrefixedKey",value:function(t){return this.prefix?"".concat(this.prefix,"-").concat(t):t}}],[{key:"isSupported",value:function(){return Ve(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve(Boolean("undefined"!==typeof window)&&Boolean(window.localStorage)));case 1:case"end":return t.stop()}}),t)})))}}]),t}(),Xe=(new R.a("STORAGE"),function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t;return Object(l.a)(this,r),(t=e.call(this,dt.ABORTED_ERROR,"The action was aborted by the user.")).name="UnknownBeaconError",t.title="Aborted",t}return r}(be)),We={extension:Ge.isAvailable(),availableExtensions:Ge.getAvailableExtensions()},Ze=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},$e=new R.a("DappP2PTransport"),tr=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(t,n,i,o,a,s){return Object(l.a)(this,r),e.call(this,t,n,i,o,xe.TRANSPORT_P2P_PEERS_DAPP,a,s)}return Object(A.a)(r,[{key:"startOpenChannelListener",value:function(){return Ze(this,void 0,void 0,f.a.mark((function t(){var e=this;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.client.listenForChannelOpening((function(t){return Ze(e,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return $e.log("listenForNewPeer","new publicKey",t.publicKey),e.next=3,this.addPeer(t);case 3:this._isConnected=de.CONNECTED,this.newPeerListener&&(this.newPeerListener(t),this.newPeerListener=void 0);case 5:case"end":return e.stop()}}),e,this)})))})));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"listenForNewPeer",value:function(t){return Ze(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:$e.log("listenForNewPeer"),this.newPeerListener=t;case 2:case"end":return e.stop()}}),e,this)})))}},{key:"stopListeningForNewPeers",value:function(){return Ze(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:$e.log("stopListeningForNewPeers"),this.newPeerListener=void 0;case 2:case"end":return t.stop()}}),t,this)})))}}]),r}(Ye),er=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},rr=new R.a("DappPostMessageTransport"),nr=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(t,n,i){return Object(l.a)(this,r),e.call(this,t,n,i,xe.TRANSPORT_POSTMESSAGE_PEERS_DAPP)}return Object(A.a)(r,[{key:"startOpenChannelListener",value:function(){return er(this,void 0,void 0,f.a.mark((function t(){var e=this;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.client.listenForChannelOpening((function(t){return er(e,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return rr.log("connect","received PostMessagePairingResponse",t),e.next=3,this.addPeer(t);case 3:this._isConnected=de.CONNECTED,this.newPeerListener&&(this.newPeerListener(t),this.newPeerListener=void 0);case 5:case"end":return e.stop()}}),e,this)})))})));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"listenForNewPeer",value:function(t){return er(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:rr.log("listenForNewPeer"),this.newPeerListener=t;case 2:case"end":return e.stop()}}),e,this)})))}},{key:"stopListeningForNewPeers",value:function(){return er(this,void 0,void 0,f.a.mark((function t(){return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:rr.log("stopListeningForNewPeers"),this.newPeerListener=void 0;case 2:case"end":return t.stop()}}),t,this)})))}}]),r}(Ge),ir=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},or=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(t,n,i,o,a,s){return Object(l.a)(this,r),e.call(this,t,n,i,o,xe.TRANSPORT_P2P_PEERS_WALLET,a,s)}return Object(A.a)(r,[{key:"addPeer",value:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=Object.create(null,{addPeer:{get:function(){return d(Object(p.a)(r.prototype),"addPeer",e)}}});return ir(this,void 0,void 0,f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.addPeer.call(this,t);case 2:if(!n){e.next=5;break}return e.next=5,this.client.sendPairingResponse(t);case 5:case"end":return e.stop()}}),e,this)})))}}]),r}(Ye),ar=(r(75),r(63),function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(){var t;return Object(l.a)(this,r),(t=e.call(this,dt.SIGNATURE_TYPE_NOT_SUPPORTED,"The wallet is not able to sign payloads of this type.")).name="SignatureTypeNotSupportedBeaconError",t.title="Signature Type Not Supported",t}return r}(be))},function(t,e,r){var n=r(11),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";(function(t){var n=r(200),i=r(201),o=r(80);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(t).length;default:if(n)return G(t).length;e=(""+e).toLowerCase(),n=!0}}function d(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return S(this,e,r);case"utf8":case"utf-8":return C(this,e,r);case"ascii":return M(this,e,r);case"latin1":case"binary":return k(this,e,r);case"base64":return B(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,i);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function m(t,e,r,n,i){var o,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var h=-1;for(o=r;os&&(r=s-u),o=r;o>=0;o--){for(var f=!0,l=0;li&&(n=i):n=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function B(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function C(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(h=c);break;case 2:128===(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(h=u);break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(h=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(h=u)}null===h?(h=65533,f=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),i+=f}return function(t){var e=t.length;if(e<=Q)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},u.prototype.compare=function(t,e,r,n,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(o,a),c=this.slice(n,i),h=t.slice(e,r),f=0;fi)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return v(this,t,e,r);case"utf8":case"utf-8":return b(this,t,e,r);case"ascii":return w(this,t,e,r);case"latin1":case"binary":return I(this,t,e,r);case"base64":return E(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;function M(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;in)&&(r=n);for(var i="",o=e;or)throw new RangeError("Trying to access beyond buffer length")}function R(t,e,r,n,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function N(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function P(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function T(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function O(t,e,r,n,o){return o||T(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function F(t,e,r,n,o){return o||T(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUInt8=function(t,e){return e||D(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||D(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||D(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||D(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||D(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||D(t,e,this.length);for(var n=this[t],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||D(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||D(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||D(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){e||D(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return e||D(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||D(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||D(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||D(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||D(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||D(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||R(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);R(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);R(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||R(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,r){return O(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return O(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return F(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return F(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function H(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(U,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function j(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(22))},function(t,e,r){"use strict";t.exports=r(381)},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(64);var i=r(56);function o(t){return function(t){if(Array.isArray(t))return Object(n.a)(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Object(i.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(13),i=r(1),o=r(3),a=r(63),s=function(){function t(e){Object(i.a)(this,t),this.name=e}return Object(o.a)(t,[{key:"debug",value:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n1?e-1:0),n=1;n1?e-1:0),n=1;n1?e-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:[];if(Object(a.a)()){var c="[BEACON] ".concat((new Date).toISOString()," [").concat(this.name,"](").concat(e,")"),h=u;switch(u[0]&&"string"===typeof u[0]&&(c+=" ".concat(u[0]),h=u.slice(1)),t){case"error":console.group(c),(r=console).error.apply(r,Object(n.a)(h));break;case"warn":console.group(c),(i=console).warn.apply(i,Object(n.a)(h));break;case"debug":console.groupCollapsed(c),(o=console).debug.apply(o,Object(n.a)(h));break;default:console.group(c),(s=console).log.apply(s,Object(n.a)(h))}console.groupEnd()}}}]),t}()},function(t,e,r){"use strict";(function(t){r.d(e,"i",(function(){return c})),r.d(e,"d",(function(){return h})),r.d(e,"e",(function(){return f})),r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return A})),r.d(e,"h",(function(){return p})),r.d(e,"f",(function(){return d})),r.d(e,"c",(function(){return g})),r.d(e,"g",(function(){return y}));var n=r(16),i=r(0),o=r.n(i),a=r(34),s=r(4),u=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))};function c(e){return t.from(e).toString("hex")}function h(t){return u(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.ready;case 2:return e.abrupt("return",c(s.crypto_generichash(32,t)));case 3:case"end":return e.stop()}}),e)})))}function f(t){return u(this,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.ready;case 2:return e.abrupt("return",s.crypto_sign_seed_keypair(s.crypto_generichash(32,s.from_string(t))));case 3:case"end":return e.stop()}}),e)})))}function l(e,r){return u(this,void 0,void 0,o.a.mark((function n(){var i,a;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,s.ready;case 2:return i=t.from(s.randombytes_buf(s.crypto_secretbox_NONCEBYTES)),a=t.concat([i,t.from(s.crypto_secretbox_easy(t.from(e,"utf8"),i,r))]),n.abrupt("return",c(a));case 5:case"end":return n.stop()}}),n)})))}function A(e,r){return u(this,void 0,void 0,o.a.mark((function n(){var i,a;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,s.ready;case 2:return i=e.slice(0,s.crypto_secretbox_NONCEBYTES),a=e.slice(s.crypto_secretbox_NONCEBYTES),n.abrupt("return",t.from(s.crypto_secretbox_open_easy(a,i,r)).toString("utf8"));case 5:case"end":return n.stop()}}),n)})))}function p(e,r){return u(this,void 0,void 0,o.a.mark((function n(){var i,a;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,s.ready;case 2:return i=s.crypto_sign_ed25519_pk_to_curve25519(t.from(r)),a=s.crypto_box_seal(e,i),n.abrupt("return",c(a));case 5:case"end":return n.stop()}}),n)})))}function d(e,r,n){return u(this,void 0,void 0,o.a.mark((function i(){var a,u,c;return o.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,s.ready;case 2:return a=s.crypto_sign_ed25519_sk_to_curve25519(t.from(n)),u=s.crypto_sign_ed25519_pk_to_curve25519(t.from(r)),c=s.crypto_box_seal_open(e,u,a),i.abrupt("return",t.from(c).toString());case 6:case"end":return i.stop()}}),i)})))}function g(e){return u(this,void 0,void 0,o.a.mark((function r(){var i,u,c,h,f,l,A,p,d,g;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,s.ready;case 2:if(i={edpk:{length:54,prefix:t.from(new Uint8Array([6,161,159]))},sppk:{length:55,prefix:t.from(new Uint8Array([6,161,161]))},p2pk:{length:55,prefix:t.from(new Uint8Array([6,161,164]))}},64!==e.length){r.next=8;break}u=i.edpk.prefix,c=e,r.next=20;break;case 8:h=Object.entries(i),f=0;case 10:if(!(f1)for(var r=1;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function d(t,e){for(var r=0,n=e.length,i=t.length;r0?this.val.annots[0]:String(this.idx)).replace(/(%|\:)(_Liq_entry_)?/,"")},t.prototype.hasAnnotations=function(){return Array.isArray(this.val.annots)&&this.val.annots.length},t.prototype.ExtractSignature=function(){return[[this.ExtractSchema()]]},t}(),w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.prototype.compare=function(t,e){return t===e?0:t2?[t.args[0],{prim:e,args:t.args.slice(1)}]:[t.args[0],t.args[1]]}var C,Q=function(t){function e(r,n,i){return t.call(this,Array.isArray(r)?{prim:e.prim,args:r}:r,n,i)||this}return c(e,t),e.prototype.args=function(){return B(this.val)},e.prototype.tokens=function(){var t=this,r=0;return this.args().map((function(n){var i=t.createToken(n,t.idx+r);return i instanceof e?r+=Object.keys(i.ExtractSchema()).length:r++,i}))},e.prototype.Encode=function(t){return{prim:"Pair",args:this.tokens().map((function(e){return e.Encode(t)}))}},e.prototype.ExtractSignature=function(){var t,e,r,n,i=this.args(),o=this.createToken(i[0],this.idx),a=1;o instanceof _&&(a=Object.keys(o.ExtractSchema()).length);var s=this.createToken(i[1],this.idx+a),u=[];try{for(var c=A(o.ExtractSignature()),h=c.next();!h.done;h=c.next()){var f=h.value;try{for(var l=(r=void 0,A(s.ExtractSignature())),g=l.next();!g.done;g=l.next()){var y=g.value;u.push(d(d([],p(f)),p(y)))}}catch(m){r={error:m}}finally{try{g&&!g.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}}catch(v){t={error:v}}finally{try{h&&!h.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}return u},e.prototype.ToBigMapKey=function(t){return{key:this.EncodeObject(t),type:this.typeWithoutAnnotations()}},e.prototype.ToKey=function(t){return this.Execute(t)},e.prototype.EncodeObject=function(t){var r,n,i=p(this.tokens(),2),o=i[0],a=i[1];return r=o instanceof e&&!o.hasAnnotations()?t:t[o.annot()],n=a instanceof e&&!a.hasAnnotations()?t:t[a.annot()],{prim:"Pair",args:[o.EncodeObject(r),a.EncodeObject(n)]}},e.prototype.traversal=function(t,r){var n,i,o,a=this.args(),s=this.createToken(a[0],this.idx),u=1;s instanceof e&&!s.hasAnnotations()?(o=t(s),u=Object.keys(s.ExtractSchema()).length):((n={})[s.annot()]=t(s),o=n);var c,h=this.createToken(a[1],this.idx+u);return h instanceof e&&!h.hasAnnotations()?c=r(h):((i={})[h.annot()]=r(h),c=i),f(f({},o),c)},e.prototype.Execute=function(t,e){var r=B(t,"Pair");return this.traversal((function(t){return t.Execute(r[0],e)}),(function(t){return t.Execute(r[1],e)}))},e.prototype.ExtractSchema=function(){return this.traversal((function(t){return t.ExtractSchema()}),(function(t){return t.ExtractSchema()}))},e.prototype.compare=function(t,r){var n=p(this.tokens(),2),i=n[0],o=n[1],a=function(t,r){return t instanceof e&&!t.hasAnnotations()?r:r[t.annot()]};if(i instanceof w&&o instanceof w){var s=i.compare(a(i,t),a(i,r));return 0===s?o.compare(a(o,t),a(o,r)):s}throw new Error("Not a comparable pair")},e.prim="pair",e}(w),M=function(t){function e(e,r,n){var i=t.call(this,e,r,n)||this;return i.value=e,i.token=r,i.name="NatValidationError",i}return c(e,t),e}(v),k=function(t){function e(e,r,n){var i=t.call(this,e,r,n)||this;return i.val=e,i.idx=r,i.fac=n,i}return c(e,t),e.prototype.Execute=function(t){return new a.a(t[Object.keys(t)[0]])},e.prototype.Encode=function(t){var e=t.pop(),r=this.isValid(e);if(r)throw r;return{int:new a.a(e).toFixed()}},e.prototype.isValid=function(t){var e=new a.a(t);return e.isNaN()?new M(t,this,"Value is not a number: "+t):e.isNegative()?new M(t,this,"Value cannot be negative: "+t):null},e.prototype.EncodeObject=function(t){var e=this.isValid(t);if(e)throw e;return{int:new a.a(t).toFixed()}},e.prototype.ExtractSchema=function(){return e.prim},e.prototype.ToBigMapKey=function(t){return{key:{int:String(t)},type:{prim:e.prim}}},e.prototype.ToKey=function(t){return t.int},e.prototype.compare=function(t,e){var r=Number(t),n=Number(e);return r===n?0:r2?f(f({},t),{args:[t.args[0],{prim:e,args:null===(n=t.args)||void 0===n?void 0:n.slice(1)}]}):t}function Mt(t,e){var r=Qt(t),n=Qt(e);return r.prim===n.prim&&(void 0===r.args&&void 0===n.args||void 0!==r.args&&void 0!==n.args&&r.args.length===n.args.length&&r.args.every((function(t,e){var r;return Mt(t,null===(r=n.args)||void 0===r?void 0:r[e])})))&&(void 0===r.annots&&void 0===n.annots||void 0!==r.annots&&void 0!==n.annots&&r.annots.length===n.annots.length&&r.annots.every((function(t,e){var r;return t===(null===(r=n.annots)||void 0===r?void 0:r[e])})))}var kt=function(){function t(t){if(this[C]=!0,this.root=Bt(t,0),this.root instanceof E)this.bigMap=this.root;else if(this.isExpressionExtended(t)&&"pair"===t.prim){var e=t.args[0];this.isExpressionExtended(e)&&"big_map"===e.prim&&(this.bigMap=new E(e,0,Bt))}}return t.isSchema=function(t){return t&&!0===t[Ct]},t.fromRPCResponse=function(e){var r=e&&e.script&&Array.isArray(e.script.code)&&e.script.code.find((function(t){return"storage"===t.prim}));if(!r||!Array.isArray(r.args))throw new Error("Invalid rpc response passed as arguments");return new t(r.args[0])},t.prototype.isExpressionExtended=function(t){return"prim"in t&&Array.isArray(t.args)},t.prototype.removeTopLevelAnnotation=function(t){return(this.root instanceof Q||this.root instanceof _)&&this.root.hasAnnotations()&&"object"===typeof t&&1===Object.keys(t).length?t[Object.keys(t)[0]]:t},t.prototype.Execute=function(t,e){var r=this.root.Execute(t,e);return this.removeTopLevelAnnotation(r)},t.prototype.Typecheck=function(t){if(this.root instanceof E&&Number.isInteger(Number(t)))return!0;try{return this.root.EncodeObject(t),!0}catch(e){return!1}},t.prototype.ExecuteOnBigMapDiff=function(t,e){if(!this.bigMap)throw new Error("No big map schema");if(!Array.isArray(t))throw new Error("Invalid big map diff. It must be an array");var r=t.map((function(t){return{args:[t.key,t.value]}}));return this.bigMap.Execute(r,e)},t.prototype.ExecuteOnBigMapValue=function(t,e){if(!this.bigMap)throw new Error("No big map schema");return this.bigMap.ValueSchema.Execute(t,e)},t.prototype.EncodeBigMapKey=function(t){if(!this.bigMap)throw new Error("No big map schema");try{return this.bigMap.KeySchema.ToBigMapKey(t)}catch(e){throw new Error("Unable to encode big map key: "+e)}},t.prototype.Encode=function(t){try{return this.root.EncodeObject(t)}catch(e){if(e instanceof v)throw e;throw new Error("Unable to encode storage object. "+e)}},t.prototype.ExtractSchema=function(){return this.removeTopLevelAnnotation(this.root.ExtractSchema())},t.prototype.ComputeState=function(t,e){var r,n=this;if(!this.bigMap)throw new Error("No big map schema");var i=t.reduce((function(t,e){return f(f({},t),n.ExecuteOnBigMapDiff(e.contents[0].metadata.operation_result.big_map_diff))}),{});return f(f({},this.Execute(e)),((r={})[this.bigMap.annot()]=i,r))},t.prototype.FindFirstInTopLevelPair=function(t,e){return this.findValue(this.root.val,t,e)},t.prototype.findValue=function(t,e,r){if(Mt(r,t))return e;if(Array.isArray(t)||"pair"===t.prim){var n=Qt(t),i=Qt(e,"Pair");if(void 0===n.args||void 0===i.args)throw new Error("Tokens have no arguments");return this.findValue(n.args[0],i.args[0],r)||this.findValue(n.args[1],i.args[1],r)}},t}();C=Ct;var St=function(){function t(t){this.root=Bt(t,0)}return t.fromRPCResponse=function(e){var r=e&&e.script&&Array.isArray(e.script.code)&&e.script.code.find((function(t){return"parameter"===t.prim}));if(!r||!Array.isArray(r.args))throw new Error("Invalid rpc response passed as arguments");return new t(r.args[0])},Object.defineProperty(t.prototype,"isMultipleEntryPoint",{get:function(){return this.root instanceof _||this.root instanceof Y&&this.root.subToken()instanceof _},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasAnnotation",{get:function(){return!this.isMultipleEntryPoint||"0"!==Object.keys(this.ExtractSchema())[0]},enumerable:!1,configurable:!0}),t.prototype.Execute=function(t,e){return this.root.Execute(t,e)},t.prototype.Encode=function(){for(var t=[],e=0;e0||t===e?e:e-1}function m(t){for(var e,r,n=1,i=t.length,o=t[0]+"";nc^r?1:-1;for(s=(u=i.length)<(c=o.length)?u:c,a=0;ao[a]^r?1:-1;return u==c?0:u>c^r?1:-1}function b(t,e,r,n){if(tr||t!==u(t))throw Error(c+(n||"Argument")+("number"==typeof t?tr?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function w(t){var e=t.c.length-1;return y(t.e/l)==e&&t.c[e]%2!=0}function I(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function E(t,e,r){var n,i;if(e<0){for(i=r+".";++e;i+=r);t=i+t}else if(++e>(n=t.length)){for(i=r,e-=n;--e;i+=r);t+=i}else eS?y.c=y.e=null:t.e=10;f/=10,c++);return void(c>S?y.c=y.e=null:(y.e=c,y.c=[t]))}g=String(t)}else{if(!a.test(g=String(t)))return i(y,g,p);y.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(c=g.indexOf("."))>-1&&(g=g.replace(".","")),(f=g.search(/e/i))>0?(c<0&&(c=f),c+=+g.slice(f+1),g=g.substring(0,f)):c<0&&(c=g.length)}else{if(b(e,2,P.length,"Base"),10==e)return L(y=new T(t),B+y.e+1,C);if(g=String(t),p="number"==typeof t){if(0*t!=0)return i(y,g,p,e);if(y.s=1/t<0?(g=g.slice(1),-1):1,T.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(h+t)}else y.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(r=P.slice(0,e),c=f=0,d=g.length;fc){c=d;continue}}else if(!s&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){s=!0,f=-1,c=0;continue}return i(y,String(t),p,e)}p=!1,(c=(g=n(g,e,10,y.s)).indexOf("."))>-1?g=g.replace(".",""):c=g.length}for(f=0;48===g.charCodeAt(f);f++);for(d=g.length;48===g.charCodeAt(--d););if(g=g.slice(f,++d)){if(d-=f,p&&T.DEBUG&&d>15&&(t>A||t!==u(t)))throw Error(h+y.s*t);if((c=c-f-1)>S)y.c=y.e=null;else if(c=M)?I(u,a):E(u,a,"0");else if(o=(t=L(new T(t),e,r)).e,s=(u=m(t.c)).length,1==n||2==n&&(e<=o||o<=Q)){for(;ss){if(--e>0)for(u+=".";e--;u+="0");}else if((e+=o-s)>0)for(o+1==s&&(u+=".");e--;u+="0");return t.s<0&&i?"-"+u:u}function F(t,e){for(var r,n=1,i=new T(t[0]);n=10;i/=10,n++);return(r=n+r*l-1)>S?t.c=t.e=null:r=10;c/=10,i++);if((o=e-i)<0)o+=l,a=e,d=(h=g[A=0])/y[i-a-1]%10|0;else if((A=s((o+1)/l))>=g.length){if(!n)break t;for(;g.length<=A;g.push(0));h=d=0,i=1,a=(o%=l)-l+1}else{for(h=c=g[A],i=1;c>=10;c/=10,i++);d=(a=(o%=l)-l+i)<0?0:h/y[i-a-1]%10|0}if(n=n||e<0||null!=g[A+1]||(a<0?h:h%y[i-a-1]),n=r<4?(d||n)&&(0==r||r==(t.s<0?3:2)):d>5||5==d&&(4==r||n||6==r&&(o>0?a>0?h/y[i-a]:0:g[A-1])%10&1||r==(t.s<0?8:7)),e<1||!g[0])return g.length=0,n?(e-=t.e+1,g[0]=y[(l-e%l)%l],t.e=-e||0):g[0]=t.e=0,t;if(0==o?(g.length=A,c=1,A--):(g.length=A+1,c=y[l-o],g[A]=a>0?u(h/y[i-a]%y[a])*c:0),n)for(;;){if(0==A){for(o=1,a=g[0];a>=10;a/=10,o++);for(a=g[0]+=c,c=1;a>=10;a/=10,c++);o!=c&&(t.e++,g[0]==f&&(g[0]=1));break}if(g[A]+=c,g[A]!=f)break;g[A--]=0,c=1}for(o=g.length;0===g[--o];g.pop());}t.e>S?t.c=t.e=null:t.e=M?I(e,r):E(e,r,"0"),t.s<0?"-"+e:e)}return T.clone=t,T.ROUND_UP=0,T.ROUND_DOWN=1,T.ROUND_CEIL=2,T.ROUND_FLOOR=3,T.ROUND_HALF_UP=4,T.ROUND_HALF_DOWN=5,T.ROUND_HALF_EVEN=6,T.ROUND_HALF_CEIL=7,T.ROUND_HALF_FLOOR=8,T.EUCLID=9,T.config=T.set=function(t){var e,r;if(null!=t){if("object"!=typeof t)throw Error(c+"Object expected: "+t);if(t.hasOwnProperty(e="DECIMAL_PLACES")&&(b(r=t[e],0,g,e),B=r),t.hasOwnProperty(e="ROUNDING_MODE")&&(b(r=t[e],0,8,e),C=r),t.hasOwnProperty(e="EXPONENTIAL_AT")&&((r=t[e])&&r.pop?(b(r[0],-g,0,e),b(r[1],0,g,e),Q=r[0],M=r[1]):(b(r,-g,g,e),Q=-(M=r<0?-r:r))),t.hasOwnProperty(e="RANGE"))if((r=t[e])&&r.pop)b(r[0],-g,-1,e),b(r[1],1,g,e),k=r[0],S=r[1];else{if(b(r,-g,g,e),!r)throw Error(c+e+" cannot be zero: "+r);k=-(S=r<0?-r:r)}if(t.hasOwnProperty(e="CRYPTO")){if((r=t[e])!==!!r)throw Error(c+e+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw x=!r,Error(c+"crypto unavailable");x=r}else x=r}if(t.hasOwnProperty(e="MODULO_MODE")&&(b(r=t[e],0,9,e),D=r),t.hasOwnProperty(e="POW_PRECISION")&&(b(r=t[e],0,g,e),R=r),t.hasOwnProperty(e="FORMAT")){if("object"!=typeof(r=t[e]))throw Error(c+e+" not an object: "+r);N=r}if(t.hasOwnProperty(e="ALPHABET")){if("string"!=typeof(r=t[e])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(c+e+" invalid: "+r);P=r}}return{DECIMAL_PLACES:B,ROUNDING_MODE:C,EXPONENTIAL_AT:[Q,M],RANGE:[k,S],CRYPTO:x,MODULO_MODE:D,POW_PRECISION:R,FORMAT:N,ALPHABET:P}},T.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!T.DEBUG)return!0;var e,r,n=t.c,i=t.e,o=t.s;t:if("[object Array]"=={}.toString.call(n)){if((1===o||-1===o)&&i>=-g&&i<=g&&i===u(i)){if(0===n[0]){if(0===i&&1===n.length)return!0;break t}if((e=(i+1)%l)<1&&(e+=l),String(n[0]).length==e){for(e=0;e=f||r!==u(r))break t;if(0!==r)return!0}}}else if(null===n&&null===i&&(null===o||1===o||-1===o))return!0;throw Error(c+"Invalid BigNumber: "+t)},T.maximum=T.max=function(){return F(arguments,o.lt)},T.minimum=T.min=function(){return F(arguments,o.gt)},T.random=function(){var t=9007199254740992,e=Math.random()*t&2097151?function(){return u(Math.random()*t)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(t){var r,n,i,o,a,h=0,f=[],A=new T(_);if(null==t?t=B:b(t,0,g),o=s(t/l),x)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(o*=2));h>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[h]=n[0],r[h+1]=n[1]):(f.push(a%1e14),h+=2);h=o/2}else{if(!crypto.randomBytes)throw x=!1,Error(c+"crypto unavailable");for(r=crypto.randomBytes(o*=7);h=9e15?crypto.randomBytes(7).copy(r,h):(f.push(a%1e14),h+=7);h=o/7}if(!x)for(;h=10;a/=10,h++);hr-1&&(null==a[i+1]&&(a[i+1]=0),a[i+1]+=a[i]/r|0,a[i]%=r)}return a.reverse()}return function(n,i,o,a,s){var u,c,h,f,l,A,p,d,g=n.indexOf("."),y=B,v=C;for(g>=0&&(f=R,R=0,n=n.replace(".",""),A=(d=new T(i)).pow(n.length-g),R=f,d.c=e(E(m(A.c),A.e,"0"),10,o,t),d.e=d.c.length),h=f=(p=e(n,i,o,s?(u=P,t):(u=t,P))).length;0==p[--f];p.pop());if(!p[0])return u.charAt(0);if(g<0?--h:(A.c=p,A.e=h,A.s=a,p=(A=r(A,d,y,v,o)).c,l=A.r,h=A.e),g=p[c=h+y+1],f=o/2,l=l||c<0||null!=p[c+1],l=v<4?(null!=g||l)&&(0==v||v==(A.s<0?3:2)):g>f||g==f&&(4==v||l||6==v&&1&p[c-1]||v==(A.s<0?8:7)),c<1||!p[0])n=l?E(u.charAt(1),-y,u.charAt(0)):u.charAt(0);else{if(p.length=c,l)for(--o;++p[--c]>o;)p[c]=0,c||(++h,p=[1].concat(p));for(f=p.length;!p[--f];);for(g=0,n="";g<=f;n+=u.charAt(p[g++]));n=E(n,h,u.charAt(0))}return n}}(),r=function(){function t(t,e,r){var n,i,o,a,s=0,u=t.length,c=e%d,h=e/d|0;for(t=t.slice();u--;)s=((i=c*(o=t[u]%d)+(n=h*o+(a=t[u]/d|0)*c)%d*d+s)/r|0)+(n/d|0)+h*a,t[u]=i%r;return s&&(t=[s].concat(t)),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;ie[i]?1:-1;break}return o}function r(t,e,r,n){for(var i=0;r--;)t[r]-=i,i=t[r]1;t.splice(0,1));}return function(n,i,o,a,s){var c,h,A,p,d,g,m,v,b,w,I,E,_,B,C,Q,M,k=n.s==i.s?1:-1,S=n.c,x=i.c;if(!S||!S[0]||!x||!x[0])return new T(n.s&&i.s&&(S?!x||S[0]!=x[0]:x)?S&&0==S[0]||!x?0*k:k/0:NaN);for(b=(v=new T(k)).c=[],k=o+(h=n.e-i.e)+1,s||(s=f,h=y(n.e/l)-y(i.e/l),k=k/l|0),A=0;x[A]==(S[A]||0);A++);if(x[A]>(S[A]||0)&&h--,k<0)b.push(1),p=!0;else{for(B=S.length,Q=x.length,A=0,k+=2,(d=u(s/(x[0]+1)))>1&&(x=t(x,d,s),S=t(S,d,s),Q=x.length,B=S.length),_=Q,I=(w=S.slice(0,Q)).length;I=s/2&&C++;do{if(d=0,(c=e(x,w,Q,I))<0){if(E=w[0],Q!=I&&(E=E*s+(w[1]||0)),(d=u(E/C))>1)for(d>=s&&(d=s-1),m=(g=t(x,d,s)).length,I=w.length;1==e(g,w,m,I);)d--,r(g,Q=10;k/=10,A++);L(v,o+(v.e=A+h*l-1)+1,a,p)}else v.e=h,v.r=+p;return v}}(),i=function(){var t=/^(-?)0([xbo])(?=\w[\w.]*$)/i,e=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(o,a,s,u){var h,f=s?a:a.replace(i,"");if(n.test(f))o.s=isNaN(f)?null:f<0?-1:1;else{if(!s&&(f=f.replace(t,(function(t,e,r){return h="x"==(r=r.toLowerCase())?16:"b"==r?2:8,u&&u!=h?t:e})),u&&(h=u,f=f.replace(e,"$1").replace(r,"0.$1")),a!=f))return new T(f,h);if(T.DEBUG)throw Error(c+"Not a"+(u?" base "+u:"")+" number: "+a);o.s=null}o.c=o.e=null}}(),o.absoluteValue=o.abs=function(){var t=new T(this);return t.s<0&&(t.s=1),t},o.comparedTo=function(t,e){return v(this,new T(t,e))},o.decimalPlaces=o.dp=function(t,e){var r,n,i,o=this;if(null!=t)return b(t,0,g),null==e?e=C:b(e,0,8),L(new T(o),t+o.e+1,e);if(!(r=o.c))return null;if(n=((i=r.length-1)-y(this.e/l))*l,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},o.dividedBy=o.div=function(t,e){return r(this,new T(t,e),B,C)},o.dividedToIntegerBy=o.idiv=function(t,e){return r(this,new T(t,e),0,1)},o.exponentiatedBy=o.pow=function(t,e){var r,n,i,o,a,h,f,A,p=this;if((t=new T(t)).c&&!t.isInteger())throw Error(c+"Exponent not an integer: "+G(t));if(null!=e&&(e=new T(e)),a=t.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!t.c||!t.c[0])return A=new T(Math.pow(+G(p),a?2-w(t):+G(t))),e?A.mod(e):A;if(h=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new T(NaN);(n=!h&&p.isInteger()&&e.isInteger())&&(p=p.mod(e))}else{if(t.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||a&&p.c[1]>=24e7:p.c[0]<8e13||a&&p.c[0]<=9999975e7)))return o=p.s<0&&w(t)?-0:0,p.e>-1&&(o=1/o),new T(h?1/o:o);R&&(o=s(R/l+2))}for(a?(r=new T(.5),h&&(t.s=1),f=w(t)):f=(i=Math.abs(+G(t)))%2,A=new T(_);;){if(f){if(!(A=A.times(p)).c)break;o?A.c.length>o&&(A.c.length=o):n&&(A=A.mod(e))}if(i){if(0===(i=u(i/2)))break;f=i%2}else if(L(t=t.times(r),t.e+1,1),t.e>14)f=w(t);else{if(0===(i=+G(t)))break;f=i%2}p=p.times(p),o?p.c&&p.c.length>o&&(p.c.length=o):n&&(p=p.mod(e))}return n?A:(h&&(A=_.div(A)),e?A.mod(e):o?L(A,R,C,undefined):A)},o.integerValue=function(t){var e=new T(this);return null==t?t=C:b(t,0,8),L(e,e.e+1,t)},o.isEqualTo=o.eq=function(t,e){return 0===v(this,new T(t,e))},o.isFinite=function(){return!!this.c},o.isGreaterThan=o.gt=function(t,e){return v(this,new T(t,e))>0},o.isGreaterThanOrEqualTo=o.gte=function(t,e){return 1===(e=v(this,new T(t,e)))||0===e},o.isInteger=function(){return!!this.c&&y(this.e/l)>this.c.length-2},o.isLessThan=o.lt=function(t,e){return v(this,new T(t,e))<0},o.isLessThanOrEqualTo=o.lte=function(t,e){return-1===(e=v(this,new T(t,e)))||0===e},o.isNaN=function(){return!this.s},o.isNegative=function(){return this.s<0},o.isPositive=function(){return this.s>0},o.isZero=function(){return!!this.c&&0==this.c[0]},o.minus=function(t,e){var r,n,i,o,a=this,s=a.s;if(e=(t=new T(t,e)).s,!s||!e)return new T(NaN);if(s!=e)return t.s=-e,a.plus(t);var u=a.e/l,c=t.e/l,h=a.c,A=t.c;if(!u||!c){if(!h||!A)return h?(t.s=-e,t):new T(A?a:NaN);if(!h[0]||!A[0])return A[0]?(t.s=-e,t):new T(h[0]?a:3==C?-0:0)}if(u=y(u),c=y(c),h=h.slice(),s=u-c){for((o=s<0)?(s=-s,i=h):(c=u,i=A),i.reverse(),e=s;e--;i.push(0));i.reverse()}else for(n=(o=(s=h.length)<(e=A.length))?s:e,s=e=0;e0)for(;e--;h[r++]=0);for(e=f-1;n>s;){if(h[--n]=0;){for(r=0,p=E[i]%b,g=E[i]/b|0,o=i+(a=u);o>i;)r=((c=p*(c=I[--a]%b)+(s=g*c+(h=I[a]/b|0)*p)%b*b+m[o]+r)/v|0)+(s/b|0)+g*h,m[o--]=c%v;m[o]=r}return r?++n:m.splice(0,1),U(t,m,n)},o.negated=function(){var t=new T(this);return t.s=-t.s||null,t},o.plus=function(t,e){var r,n=this,i=n.s;if(e=(t=new T(t,e)).s,!i||!e)return new T(NaN);if(i!=e)return t.s=-e,n.minus(t);var o=n.e/l,a=t.e/l,s=n.c,u=t.c;if(!o||!a){if(!s||!u)return new T(i/0);if(!s[0]||!u[0])return u[0]?t:new T(s[0]?n:0*i)}if(o=y(o),a=y(a),s=s.slice(),i=o-a){for(i>0?(a=o,r=u):(i=-i,r=s),r.reverse();i--;r.push(0));r.reverse()}for((i=s.length)-(e=u.length)<0&&(r=u,u=s,s=r,e=i),i=0;e;)i=(s[--e]=s[e]+u[e]+i)/f|0,s[e]=f===s[e]?0:s[e]%f;return i&&(s=[i].concat(s),++a),U(t,s,a)},o.precision=o.sd=function(t,e){var r,n,i,o=this;if(null!=t&&t!==!!t)return b(t,1,g),null==e?e=C:b(e,0,8),L(new T(o),t,e);if(!(r=o.c))return null;if(n=(i=r.length-1)*l+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return t&&o.e+1>n&&(n=o.e+1),n},o.shiftedBy=function(t){return b(t,-9007199254740991,A),this.times("1e"+t)},o.squareRoot=o.sqrt=function(){var t,e,n,i,o,a=this,s=a.c,u=a.s,c=a.e,h=B+4,f=new T("0.5");if(1!==u||!s||!s[0])return new T(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(u=Math.sqrt(+G(a)))||u==1/0?(((e=m(s)).length+c)%2==0&&(e+="0"),u=Math.sqrt(+e),c=y((c+1)/2)-(c<0||c%2),n=new T(e=u==1/0?"5e"+c:(e=u.toExponential()).slice(0,e.indexOf("e")+1)+c)):n=new T(u+""),n.c[0])for((u=(c=n.e)+h)<3&&(u=0);;)if(o=n,n=f.times(o.plus(r(a,o,h,1))),m(o.c).slice(0,u)===(e=m(n.c)).slice(0,u)){if(n.e0&&d>0){for(o=d%s||s,f=p.substr(0,o);o0&&(f+=h+p.slice(o)),A&&(f="-"+f)}n=l?f+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?l.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):l):f}return(r.prefix||"")+n+(r.suffix||"")},o.toFraction=function(t){var e,n,i,o,a,s,u,h,f,A,d,g,y=this,v=y.c;if(null!=t&&(!(u=new T(t)).isInteger()&&(u.c||1!==u.s)||u.lt(_)))throw Error(c+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+G(u));if(!v)return new T(y);for(e=new T(_),f=n=new T(_),i=h=new T(_),g=m(v),a=e.e=g.length-y.e-1,e.c[0]=p[(s=a%l)<0?l+s:s],t=!t||u.comparedTo(e)>0?a>0?e:f:u,s=S,S=1/0,u=new T(g),h.c[0]=0;A=r(u,e,0,1),1!=(o=n.plus(A.times(i))).comparedTo(t);)n=i,i=o,f=h.plus(A.times(o=f)),h=o,e=u.minus(A.times(o=e)),u=o;return o=r(t.minus(n),i,0,1),h=h.plus(o.times(f)),n=n.plus(o.times(i)),h.s=f.s=y.s,d=r(f,i,a*=2,C).minus(y).abs().comparedTo(r(h,n,a,C).minus(y).abs())<1?[f,i]:[h,n],S=s,d},o.toNumber=function(){return+G(this)},o.toPrecision=function(t,e){return null!=t&&b(t,1,g),O(this,t,e,2)},o.toString=function(t){var e,r=this,i=r.s,o=r.e;return null===o?i?(e="Infinity",i<0&&(e="-"+e)):e="NaN":(null==t?e=o<=Q||o>=M?I(m(r.c),o):E(m(r.c),o,"0"):10===t?e=E(m((r=L(new T(r),B+o+1,C)).c),r.e,"0"):(b(t,2,P.length,"Base"),e=n(E(m(r.c),o,"0"),10,t,i,!0)),i<0&&r.c[0]&&(e="-"+e)),e},o.valueOf=o.toJSON=function(){return G(this)},o._isBigNumber=!0,null!=e&&T.set(e),T}()).default=o.BigNumber=o,void 0===(n=function(){return o}.call(e,r,e,t))||(t.exports=n)}()},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return u}));var n=r(0),i=r.n(n),o=r(4),a=r(34),s=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},u=function(e){return s(void 0,void 0,void 0,i.a.mark((function r(){var n;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,o.ready;case 2:return n=t.from(o.crypto_generichash(5,t.from(e,"hex"))),r.abrupt("return",a.encode(n));case 4:case"end":return r.stop()}}),r)})))}}).call(this,r(11).Buffer)},function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return u})),r.d(e,"c",(function(){return s})),r.d(e,"d",(function(){return h}));var n={},i={},o=function(t,e){i[t]=e},a=function(t){var e=function(e,r){Object.assign(this,r),this.name=t,this.message=e||t,this.stack=(new Error).stack};return e.prototype=new Error,n[t]=e,e};a("AccountNameRequired"),a("AccountNotSupported"),a("AmountRequired"),a("BluetoothRequired"),a("BtcUnmatchedApp"),a("CantOpenDevice"),a("CashAddrNotSupported"),a("CurrencyNotSupported"),a("DeviceAppVerifyNotSupported"),a("DeviceGenuineSocketEarlyClose"),a("DeviceNotGenuine"),a("DeviceOnDashboardExpected"),a("DeviceOnDashboardUnexpected"),a("DeviceInOSUExpected"),a("DeviceHalted"),a("DeviceNameInvalid"),a("DeviceSocketFail"),a("DeviceSocketNoBulkStatus"),a("DisconnectedDevice"),a("DisconnectedDeviceDuringOperation"),a("EnpointConfig"),a("EthAppPleaseEnableContractData"),a("FeeEstimationFailed"),a("FirmwareNotRecognized"),a("HardResetFail"),a("InvalidXRPTag"),a("InvalidAddress"),a("InvalidAddressBecauseDestinationIsAlsoSource"),a("LatestMCUInstalledError"),a("UnknownMCU"),a("LedgerAPIError"),a("LedgerAPIErrorWithMessage"),a("LedgerAPINotAvailable"),a("ManagerAppAlreadyInstalled"),a("ManagerAppRelyOnBTC"),a("ManagerAppDepInstallRequired"),a("ManagerAppDepUninstallRequired"),a("ManagerDeviceLocked"),a("ManagerFirmwareNotEnoughSpace"),a("ManagerNotEnoughSpace"),a("ManagerUninstallBTCDep"),a("NetworkDown"),a("NoAddressesFound"),a("NotEnoughBalance"),a("NotEnoughBalanceToDelegate"),a("NotEnoughBalanceInParentAccount"),a("NotEnoughSpendableBalance"),a("NotEnoughBalanceBecauseDestinationNotCreated"),a("NoAccessToCamera"),a("NotEnoughGas"),a("NotSupportedLegacyAddress"),a("GasLessThanEstimate"),a("PasswordsDontMatch"),a("PasswordIncorrect"),a("RecommendSubAccountsToEmpty"),a("RecommendUndelegation"),a("TimeoutTagged"),a("UnexpectedBootloader"),a("MCUNotGenuineToDashboard"),a("RecipientRequired"),a("UnavailableTezosOriginatedAccountReceive"),a("UnavailableTezosOriginatedAccountSend"),a("UpdateFetchFileFail"),a("UpdateIncorrectHash"),a("UpdateIncorrectSig"),a("UpdateYourApp"),a("UserRefusedDeviceNameChange"),a("UserRefusedAddress"),a("UserRefusedFirmwareUpdate"),a("UserRefusedAllowManager"),a("UserRefusedOnDevice"),a("TransportOpenUserCancelled"),a("TransportInterfaceNotAvailable");var s=a("TransportRaceCondition");a("TransportWebUSBGestureRequired"),a("DeviceShouldStayInApp"),a("WebsocketConnectionError"),a("WebsocketConnectionFailed"),a("WrongDeviceForAccount"),a("WrongAppForCurrency"),a("ETHAddressNonEIP"),a("CantScanQRCode"),a("FeeNotLoaded"),a("FeeRequired"),a("FeeTooHigh"),a("SyncError"),a("PairingFailed"),a("GenuineCheckFailed"),a("LedgerAPI4xx"),a("LedgerAPI5xx"),a("FirmwareOrAppUpdateRequired"),a("NoDBPathGiven"),a("DBWrongPassword"),a("DBNotReset");function u(t,e){this.name="TransportError",this.message=t,this.stack=(new Error).stack,this.id=e}u.prototype=new Error,o("TransportError",(function(t){return new u(t.message,t.id)}));var c={PIN_REMAINING_ATTEMPTS:25536,INCORRECT_LENGTH:26368,MISSING_CRITICAL_PARAMETER:26624,COMMAND_INCOMPATIBLE_FILE_STRUCTURE:27009,SECURITY_STATUS_NOT_SATISFIED:27010,CONDITIONS_OF_USE_NOT_SATISFIED:27013,INCORRECT_DATA:27264,NOT_ENOUGH_MEMORY_SPACE:27268,REFERENCED_DATA_NOT_FOUND:27272,FILE_ALREADY_EXISTS:27273,INCORRECT_P1_P2:27392,INS_NOT_SUPPORTED:27904,CLA_NOT_SUPPORTED:28160,TECHNICAL_PROBLEM:28416,OK:36864,MEMORY_PROBLEM:37440,NO_EF_SELECTED:37888,INVALID_OFFSET:37890,FILE_NOT_FOUND:37892,INCONSISTENT_FILE:37896,ALGORITHM_NOT_SUPPORTED:38020,INVALID_KCV:38021,CODE_NOT_INITIALIZED:38914,ACCESS_CONDITION_NOT_FULFILLED:38916,CONTRADICTION_SECRET_CODE_STATUS:38920,CONTRADICTION_INVALIDATION:38928,CODE_BLOCKED:38976,MAX_VALUE_REACHED:38992,GP_AUTH_FAILED:25344,LICENSING:28482,HALTED:28586};function h(t){this.name="TransportStatusError";var e=Object.keys(c).find((function(e){return c[e]===t}))||"UNKNOWN_ERROR",r=function(t){switch(t){case 26368:return"Incorrect length";case 26624:return"Missing critical parameter";case 27010:return"Security not satisfied (dongle locked or have invalid access rights)";case 27013:return"Condition of use not satisfied (denied by the user?)";case 27264:return"Invalid data received";case 27392:return"Invalid parameter received"}if(28416<=t&&t<=28671)return"Internal error, please report"}(t)||e,n=t.toString(16);this.message="Ledger device: "+r+" (0x"+n+")",this.stack=(new Error).stack,this.statusCode=t,this.statusText=e}h.prototype=new Error,o("TransportStatusError",(function(t){return new h(t.statusCode)}))},function(t,e,r){"use strict";var n=r(165),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&"object"===typeof t}function u(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===i.call(t)}function h(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),o(t))for(var r=0,n=t.length;r(i>>1)-1?(i>>1)-u:u,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,s,u=t.andln(3)+i&3,c=e.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),a=0===(1&u)?0:3!==(n=t.andln(7)+i&7)&&5!==n||2!==c?u:-u,r[0].push(a),s=0===(1&c)?0:3!==(n=e.andln(7)+o&7)&&5!==n||2!==u?c:-c,r[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"===typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new i(t,"hex","le")}},function(t,e,r){"use strict";var n=r(50),i=r(307);t.exports=i((function(t){var e=n("sha256").update(t).digest();return n("sha256").update(e).digest()}))},function(t,e,r){var n;!function(i){"use strict";var o,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,u=Math.floor,c="[BigNumber Error] ",h=c+"Number primitive has more than 15 significant digits: ",f=1e14,l=14,A=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],d=1e7,g=1e9;function y(t){var e=0|t;return t>0||t===e?e:e-1}function m(t){for(var e,r,n=1,i=t.length,o=t[0]+"";nc^r?1:-1;for(s=(u=i.length)<(c=o.length)?u:c,a=0;ao[a]^r?1:-1;return u==c?0:u>c^r?1:-1}function b(t,e,r,n){if(tr||t!==u(t))throw Error(c+(n||"Argument")+("number"==typeof t?tr?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function w(t){var e=t.c.length-1;return y(t.e/l)==e&&t.c[e]%2!=0}function I(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function E(t,e,r){var n,i;if(e<0){for(i=r+".";++e;i+=r);t=i+t}else if(++e>(n=t.length)){for(i=r,e-=n;--e;i+=r);t+=i}else eS?y.c=y.e=null:t.e=10;f/=10,c++);return void(c>S?y.c=y.e=null:(y.e=c,y.c=[t]))}g=String(t)}else{if(!a.test(g=String(t)))return i(y,g,p);y.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(c=g.indexOf("."))>-1&&(g=g.replace(".","")),(f=g.search(/e/i))>0?(c<0&&(c=f),c+=+g.slice(f+1),g=g.substring(0,f)):c<0&&(c=g.length)}else{if(b(e,2,P.length,"Base"),10==e)return L(y=new T(t),B+y.e+1,C);if(g=String(t),p="number"==typeof t){if(0*t!=0)return i(y,g,p,e);if(y.s=1/t<0?(g=g.slice(1),-1):1,T.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(h+t)}else y.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(r=P.slice(0,e),c=f=0,d=g.length;fc){c=d;continue}}else if(!s&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){s=!0,f=-1,c=0;continue}return i(y,String(t),p,e)}p=!1,(c=(g=n(g,e,10,y.s)).indexOf("."))>-1?g=g.replace(".",""):c=g.length}for(f=0;48===g.charCodeAt(f);f++);for(d=g.length;48===g.charCodeAt(--d););if(g=g.slice(f,++d)){if(d-=f,p&&T.DEBUG&&d>15&&(t>A||t!==u(t)))throw Error(h+y.s*t);if((c=c-f-1)>S)y.c=y.e=null;else if(c=M)?I(u,a):E(u,a,"0");else if(o=(t=L(new T(t),e,r)).e,s=(u=m(t.c)).length,1==n||2==n&&(e<=o||o<=Q)){for(;ss){if(--e>0)for(u+=".";e--;u+="0");}else if((e+=o-s)>0)for(o+1==s&&(u+=".");e--;u+="0");return t.s<0&&i?"-"+u:u}function F(t,e){for(var r,n=1,i=new T(t[0]);n=10;i/=10,n++);return(r=n+r*l-1)>S?t.c=t.e=null:r=10;c/=10,i++);if((o=e-i)<0)o+=l,a=e,d=(h=g[A=0])/y[i-a-1]%10|0;else if((A=s((o+1)/l))>=g.length){if(!n)break t;for(;g.length<=A;g.push(0));h=d=0,i=1,a=(o%=l)-l+1}else{for(h=c=g[A],i=1;c>=10;c/=10,i++);d=(a=(o%=l)-l+i)<0?0:h/y[i-a-1]%10|0}if(n=n||e<0||null!=g[A+1]||(a<0?h:h%y[i-a-1]),n=r<4?(d||n)&&(0==r||r==(t.s<0?3:2)):d>5||5==d&&(4==r||n||6==r&&(o>0?a>0?h/y[i-a]:0:g[A-1])%10&1||r==(t.s<0?8:7)),e<1||!g[0])return g.length=0,n?(e-=t.e+1,g[0]=y[(l-e%l)%l],t.e=-e||0):g[0]=t.e=0,t;if(0==o?(g.length=A,c=1,A--):(g.length=A+1,c=y[l-o],g[A]=a>0?u(h/y[i-a]%y[a])*c:0),n)for(;;){if(0==A){for(o=1,a=g[0];a>=10;a/=10,o++);for(a=g[0]+=c,c=1;a>=10;a/=10,c++);o!=c&&(t.e++,g[0]==f&&(g[0]=1));break}if(g[A]+=c,g[A]!=f)break;g[A--]=0,c=1}for(o=g.length;0===g[--o];g.pop());}t.e>S?t.c=t.e=null:t.e=M?I(e,r):E(e,r,"0"),t.s<0?"-"+e:e)}return T.clone=t,T.ROUND_UP=0,T.ROUND_DOWN=1,T.ROUND_CEIL=2,T.ROUND_FLOOR=3,T.ROUND_HALF_UP=4,T.ROUND_HALF_DOWN=5,T.ROUND_HALF_EVEN=6,T.ROUND_HALF_CEIL=7,T.ROUND_HALF_FLOOR=8,T.EUCLID=9,T.config=T.set=function(t){var e,r;if(null!=t){if("object"!=typeof t)throw Error(c+"Object expected: "+t);if(t.hasOwnProperty(e="DECIMAL_PLACES")&&(b(r=t[e],0,g,e),B=r),t.hasOwnProperty(e="ROUNDING_MODE")&&(b(r=t[e],0,8,e),C=r),t.hasOwnProperty(e="EXPONENTIAL_AT")&&((r=t[e])&&r.pop?(b(r[0],-g,0,e),b(r[1],0,g,e),Q=r[0],M=r[1]):(b(r,-g,g,e),Q=-(M=r<0?-r:r))),t.hasOwnProperty(e="RANGE"))if((r=t[e])&&r.pop)b(r[0],-g,-1,e),b(r[1],1,g,e),k=r[0],S=r[1];else{if(b(r,-g,g,e),!r)throw Error(c+e+" cannot be zero: "+r);k=-(S=r<0?-r:r)}if(t.hasOwnProperty(e="CRYPTO")){if((r=t[e])!==!!r)throw Error(c+e+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw x=!r,Error(c+"crypto unavailable");x=r}else x=r}if(t.hasOwnProperty(e="MODULO_MODE")&&(b(r=t[e],0,9,e),D=r),t.hasOwnProperty(e="POW_PRECISION")&&(b(r=t[e],0,g,e),R=r),t.hasOwnProperty(e="FORMAT")){if("object"!=typeof(r=t[e]))throw Error(c+e+" not an object: "+r);N=r}if(t.hasOwnProperty(e="ALPHABET")){if("string"!=typeof(r=t[e])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(c+e+" invalid: "+r);P=r}}return{DECIMAL_PLACES:B,ROUNDING_MODE:C,EXPONENTIAL_AT:[Q,M],RANGE:[k,S],CRYPTO:x,MODULO_MODE:D,POW_PRECISION:R,FORMAT:N,ALPHABET:P}},T.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!T.DEBUG)return!0;var e,r,n=t.c,i=t.e,o=t.s;t:if("[object Array]"=={}.toString.call(n)){if((1===o||-1===o)&&i>=-g&&i<=g&&i===u(i)){if(0===n[0]){if(0===i&&1===n.length)return!0;break t}if((e=(i+1)%l)<1&&(e+=l),String(n[0]).length==e){for(e=0;e=f||r!==u(r))break t;if(0!==r)return!0}}}else if(null===n&&null===i&&(null===o||1===o||-1===o))return!0;throw Error(c+"Invalid BigNumber: "+t)},T.maximum=T.max=function(){return F(arguments,o.lt)},T.minimum=T.min=function(){return F(arguments,o.gt)},T.random=function(){var t=9007199254740992,e=Math.random()*t&2097151?function(){return u(Math.random()*t)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(t){var r,n,i,o,a,h=0,f=[],A=new T(_);if(null==t?t=B:b(t,0,g),o=s(t/l),x)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(o*=2));h>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[h]=n[0],r[h+1]=n[1]):(f.push(a%1e14),h+=2);h=o/2}else{if(!crypto.randomBytes)throw x=!1,Error(c+"crypto unavailable");for(r=crypto.randomBytes(o*=7);h=9e15?crypto.randomBytes(7).copy(r,h):(f.push(a%1e14),h+=7);h=o/7}if(!x)for(;h=10;a/=10,h++);hr-1&&(null==a[i+1]&&(a[i+1]=0),a[i+1]+=a[i]/r|0,a[i]%=r)}return a.reverse()}return function(n,i,o,a,s){var u,c,h,f,l,A,p,d,g=n.indexOf("."),y=B,v=C;for(g>=0&&(f=R,R=0,n=n.replace(".",""),A=(d=new T(i)).pow(n.length-g),R=f,d.c=e(E(m(A.c),A.e,"0"),10,o,t),d.e=d.c.length),h=f=(p=e(n,i,o,s?(u=P,t):(u=t,P))).length;0==p[--f];p.pop());if(!p[0])return u.charAt(0);if(g<0?--h:(A.c=p,A.e=h,A.s=a,p=(A=r(A,d,y,v,o)).c,l=A.r,h=A.e),g=p[c=h+y+1],f=o/2,l=l||c<0||null!=p[c+1],l=v<4?(null!=g||l)&&(0==v||v==(A.s<0?3:2)):g>f||g==f&&(4==v||l||6==v&&1&p[c-1]||v==(A.s<0?8:7)),c<1||!p[0])n=l?E(u.charAt(1),-y,u.charAt(0)):u.charAt(0);else{if(p.length=c,l)for(--o;++p[--c]>o;)p[c]=0,c||(++h,p=[1].concat(p));for(f=p.length;!p[--f];);for(g=0,n="";g<=f;n+=u.charAt(p[g++]));n=E(n,h,u.charAt(0))}return n}}(),r=function(){function t(t,e,r){var n,i,o,a,s=0,u=t.length,c=e%d,h=e/d|0;for(t=t.slice();u--;)s=((i=c*(o=t[u]%d)+(n=h*o+(a=t[u]/d|0)*c)%d*d+s)/r|0)+(n/d|0)+h*a,t[u]=i%r;return s&&(t=[s].concat(t)),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;ie[i]?1:-1;break}return o}function r(t,e,r,n){for(var i=0;r--;)t[r]-=i,i=t[r]1;t.splice(0,1));}return function(n,i,o,a,s){var c,h,A,p,d,g,m,v,b,w,I,E,_,B,C,Q,M,k=n.s==i.s?1:-1,S=n.c,x=i.c;if(!S||!S[0]||!x||!x[0])return new T(n.s&&i.s&&(S?!x||S[0]!=x[0]:x)?S&&0==S[0]||!x?0*k:k/0:NaN);for(b=(v=new T(k)).c=[],k=o+(h=n.e-i.e)+1,s||(s=f,h=y(n.e/l)-y(i.e/l),k=k/l|0),A=0;x[A]==(S[A]||0);A++);if(x[A]>(S[A]||0)&&h--,k<0)b.push(1),p=!0;else{for(B=S.length,Q=x.length,A=0,k+=2,(d=u(s/(x[0]+1)))>1&&(x=t(x,d,s),S=t(S,d,s),Q=x.length,B=S.length),_=Q,I=(w=S.slice(0,Q)).length;I=s/2&&C++;do{if(d=0,(c=e(x,w,Q,I))<0){if(E=w[0],Q!=I&&(E=E*s+(w[1]||0)),(d=u(E/C))>1)for(d>=s&&(d=s-1),m=(g=t(x,d,s)).length,I=w.length;1==e(g,w,m,I);)d--,r(g,Q=10;k/=10,A++);L(v,o+(v.e=A+h*l-1)+1,a,p)}else v.e=h,v.r=+p;return v}}(),i=function(){var t=/^(-?)0([xbo])(?=\w[\w.]*$)/i,e=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(o,a,s,u){var h,f=s?a:a.replace(i,"");if(n.test(f))o.s=isNaN(f)?null:f<0?-1:1;else{if(!s&&(f=f.replace(t,(function(t,e,r){return h="x"==(r=r.toLowerCase())?16:"b"==r?2:8,u&&u!=h?t:e})),u&&(h=u,f=f.replace(e,"$1").replace(r,"0.$1")),a!=f))return new T(f,h);if(T.DEBUG)throw Error(c+"Not a"+(u?" base "+u:"")+" number: "+a);o.s=null}o.c=o.e=null}}(),o.absoluteValue=o.abs=function(){var t=new T(this);return t.s<0&&(t.s=1),t},o.comparedTo=function(t,e){return v(this,new T(t,e))},o.decimalPlaces=o.dp=function(t,e){var r,n,i,o=this;if(null!=t)return b(t,0,g),null==e?e=C:b(e,0,8),L(new T(o),t+o.e+1,e);if(!(r=o.c))return null;if(n=((i=r.length-1)-y(this.e/l))*l,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},o.dividedBy=o.div=function(t,e){return r(this,new T(t,e),B,C)},o.dividedToIntegerBy=o.idiv=function(t,e){return r(this,new T(t,e),0,1)},o.exponentiatedBy=o.pow=function(t,e){var r,n,i,o,a,h,f,A,p=this;if((t=new T(t)).c&&!t.isInteger())throw Error(c+"Exponent not an integer: "+G(t));if(null!=e&&(e=new T(e)),a=t.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!t.c||!t.c[0])return A=new T(Math.pow(+G(p),a?2-w(t):+G(t))),e?A.mod(e):A;if(h=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new T(NaN);(n=!h&&p.isInteger()&&e.isInteger())&&(p=p.mod(e))}else{if(t.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||a&&p.c[1]>=24e7:p.c[0]<8e13||a&&p.c[0]<=9999975e7)))return o=p.s<0&&w(t)?-0:0,p.e>-1&&(o=1/o),new T(h?1/o:o);R&&(o=s(R/l+2))}for(a?(r=new T(.5),h&&(t.s=1),f=w(t)):f=(i=Math.abs(+G(t)))%2,A=new T(_);;){if(f){if(!(A=A.times(p)).c)break;o?A.c.length>o&&(A.c.length=o):n&&(A=A.mod(e))}if(i){if(0===(i=u(i/2)))break;f=i%2}else if(L(t=t.times(r),t.e+1,1),t.e>14)f=w(t);else{if(0===(i=+G(t)))break;f=i%2}p=p.times(p),o?p.c&&p.c.length>o&&(p.c.length=o):n&&(p=p.mod(e))}return n?A:(h&&(A=_.div(A)),e?A.mod(e):o?L(A,R,C,undefined):A)},o.integerValue=function(t){var e=new T(this);return null==t?t=C:b(t,0,8),L(e,e.e+1,t)},o.isEqualTo=o.eq=function(t,e){return 0===v(this,new T(t,e))},o.isFinite=function(){return!!this.c},o.isGreaterThan=o.gt=function(t,e){return v(this,new T(t,e))>0},o.isGreaterThanOrEqualTo=o.gte=function(t,e){return 1===(e=v(this,new T(t,e)))||0===e},o.isInteger=function(){return!!this.c&&y(this.e/l)>this.c.length-2},o.isLessThan=o.lt=function(t,e){return v(this,new T(t,e))<0},o.isLessThanOrEqualTo=o.lte=function(t,e){return-1===(e=v(this,new T(t,e)))||0===e},o.isNaN=function(){return!this.s},o.isNegative=function(){return this.s<0},o.isPositive=function(){return this.s>0},o.isZero=function(){return!!this.c&&0==this.c[0]},o.minus=function(t,e){var r,n,i,o,a=this,s=a.s;if(e=(t=new T(t,e)).s,!s||!e)return new T(NaN);if(s!=e)return t.s=-e,a.plus(t);var u=a.e/l,c=t.e/l,h=a.c,A=t.c;if(!u||!c){if(!h||!A)return h?(t.s=-e,t):new T(A?a:NaN);if(!h[0]||!A[0])return A[0]?(t.s=-e,t):new T(h[0]?a:3==C?-0:0)}if(u=y(u),c=y(c),h=h.slice(),s=u-c){for((o=s<0)?(s=-s,i=h):(c=u,i=A),i.reverse(),e=s;e--;i.push(0));i.reverse()}else for(n=(o=(s=h.length)<(e=A.length))?s:e,s=e=0;e0)for(;e--;h[r++]=0);for(e=f-1;n>s;){if(h[--n]=0;){for(r=0,p=E[i]%b,g=E[i]/b|0,o=i+(a=u);o>i;)r=((c=p*(c=I[--a]%b)+(s=g*c+(h=I[a]/b|0)*p)%b*b+m[o]+r)/v|0)+(s/b|0)+g*h,m[o--]=c%v;m[o]=r}return r?++n:m.splice(0,1),U(t,m,n)},o.negated=function(){var t=new T(this);return t.s=-t.s||null,t},o.plus=function(t,e){var r,n=this,i=n.s;if(e=(t=new T(t,e)).s,!i||!e)return new T(NaN);if(i!=e)return t.s=-e,n.minus(t);var o=n.e/l,a=t.e/l,s=n.c,u=t.c;if(!o||!a){if(!s||!u)return new T(i/0);if(!s[0]||!u[0])return u[0]?t:new T(s[0]?n:0*i)}if(o=y(o),a=y(a),s=s.slice(),i=o-a){for(i>0?(a=o,r=u):(i=-i,r=s),r.reverse();i--;r.push(0));r.reverse()}for((i=s.length)-(e=u.length)<0&&(r=u,u=s,s=r,e=i),i=0;e;)i=(s[--e]=s[e]+u[e]+i)/f|0,s[e]=f===s[e]?0:s[e]%f;return i&&(s=[i].concat(s),++a),U(t,s,a)},o.precision=o.sd=function(t,e){var r,n,i,o=this;if(null!=t&&t!==!!t)return b(t,1,g),null==e?e=C:b(e,0,8),L(new T(o),t,e);if(!(r=o.c))return null;if(n=(i=r.length-1)*l+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return t&&o.e+1>n&&(n=o.e+1),n},o.shiftedBy=function(t){return b(t,-9007199254740991,A),this.times("1e"+t)},o.squareRoot=o.sqrt=function(){var t,e,n,i,o,a=this,s=a.c,u=a.s,c=a.e,h=B+4,f=new T("0.5");if(1!==u||!s||!s[0])return new T(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(u=Math.sqrt(+G(a)))||u==1/0?(((e=m(s)).length+c)%2==0&&(e+="0"),u=Math.sqrt(+e),c=y((c+1)/2)-(c<0||c%2),n=new T(e=u==1/0?"5e"+c:(e=u.toExponential()).slice(0,e.indexOf("e")+1)+c)):n=new T(u+""),n.c[0])for((u=(c=n.e)+h)<3&&(u=0);;)if(o=n,n=f.times(o.plus(r(a,o,h,1))),m(o.c).slice(0,u)===(e=m(n.c)).slice(0,u)){if(n.e0&&d>0){for(o=d%s||s,f=p.substr(0,o);o0&&(f+=h+p.slice(o)),A&&(f="-"+f)}n=l?f+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?l.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):l):f}return(r.prefix||"")+n+(r.suffix||"")},o.toFraction=function(t){var e,n,i,o,a,s,u,h,f,A,d,g,y=this,v=y.c;if(null!=t&&(!(u=new T(t)).isInteger()&&(u.c||1!==u.s)||u.lt(_)))throw Error(c+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+G(u));if(!v)return new T(y);for(e=new T(_),f=n=new T(_),i=h=new T(_),g=m(v),a=e.e=g.length-y.e-1,e.c[0]=p[(s=a%l)<0?l+s:s],t=!t||u.comparedTo(e)>0?a>0?e:f:u,s=S,S=1/0,u=new T(g),h.c[0]=0;A=r(u,e,0,1),1!=(o=n.plus(A.times(i))).comparedTo(t);)n=i,i=o,f=h.plus(A.times(o=f)),h=o,e=u.minus(A.times(o=e)),u=o;return o=r(t.minus(n),i,0,1),h=h.plus(o.times(f)),n=n.plus(o.times(i)),h.s=f.s=y.s,d=r(f,i,a*=2,C).minus(y).abs().comparedTo(r(h,n,a,C).minus(y).abs())<1?[f,i]:[h,n],S=s,d},o.toNumber=function(){return+G(this)},o.toPrecision=function(t,e){return null!=t&&b(t,1,g),O(this,t,e,2)},o.toString=function(t){var e,r=this,i=r.s,o=r.e;return null===o?i?(e="Infinity",i<0&&(e="-"+e)):e="NaN":(null==t?e=o<=Q||o>=M?I(m(r.c),o):E(m(r.c),o,"0"):10===t?e=E(m((r=L(new T(r),B+o+1,C)).c),r.e,"0"):(b(t,2,P.length,"Base"),e=n(E(m(r.c),o,"0"),10,t,i,!0)),i<0&&r.c[0]&&(e="-"+e)),e},o.valueOf=o.toJSON=function(){return G(this)},o._isBigNumber=!0,null!=e&&T.set(e),T}()).default=o.BigNumber=o,void 0===(n=function(){return o}.call(e,r,e,t))||(t.exports=n)}()},function(t,e,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!==t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise((function(r,n){function i(r){t.removeListener(e,o),n(r)}function o(){"function"===typeof t.removeListener&&t.removeListener("error",i),r([].slice.call(arguments))}y(t,e,o,{once:!0}),"error"!==e&&function(t,e,r){"function"===typeof t.on&&y(t,"error",e,r)}(t,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function h(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function f(t,e,r,n){var i,o,a,s;if(c(r),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),a=o[e]),void 0===a)a=o[e]=r,++t._eventsCount;else if("function"===typeof a?a=o[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=h(t))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return t}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function A(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=l.bind(n);return i.listener=r,n.wrapFn=i,i}function p(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[t];if(void 0===u)return!1;if("function"===typeof u)o(u,this,e);else{var c=u.length,h=g(u,c);for(r=0;r=0;o--)if(r[o]===e||r[o].listener===e){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):d.call(t,e)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,"a",(function(){return n}))},function(t,e,r){var n;!function(i){"use strict";var o,a=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,u=Math.floor,c="[BigNumber Error] ",h=c+"Number primitive has more than 15 significant digits: ",f=1e14,l=14,A=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],d=1e7,g=1e9;function y(t){var e=0|t;return t>0||t===e?e:e-1}function m(t){for(var e,r,n=1,i=t.length,o=t[0]+"";nc^r?1:-1;for(s=(u=i.length)<(c=o.length)?u:c,a=0;ao[a]^r?1:-1;return u==c?0:u>c^r?1:-1}function b(t,e,r,n){if(tr||t!==u(t))throw Error(c+(n||"Argument")+("number"==typeof t?tr?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function w(t){var e=t.c.length-1;return y(t.e/l)==e&&t.c[e]%2!=0}function I(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function E(t,e,r){var n,i;if(e<0){for(i=r+".";++e;i+=r);t=i+t}else if(++e>(n=t.length)){for(i=r,e-=n;--e;i+=r);t+=i}else eS?y.c=y.e=null:t.e=10;f/=10,c++);return void(c>S?y.c=y.e=null:(y.e=c,y.c=[t]))}g=String(t)}else{if(!a.test(g=String(t)))return i(y,g,p);y.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(c=g.indexOf("."))>-1&&(g=g.replace(".","")),(f=g.search(/e/i))>0?(c<0&&(c=f),c+=+g.slice(f+1),g=g.substring(0,f)):c<0&&(c=g.length)}else{if(b(e,2,P.length,"Base"),10==e)return L(y=new T(t),B+y.e+1,C);if(g=String(t),p="number"==typeof t){if(0*t!=0)return i(y,g,p,e);if(y.s=1/t<0?(g=g.slice(1),-1):1,T.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(h+t)}else y.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(r=P.slice(0,e),c=f=0,d=g.length;fc){c=d;continue}}else if(!s&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){s=!0,f=-1,c=0;continue}return i(y,String(t),p,e)}p=!1,(c=(g=n(g,e,10,y.s)).indexOf("."))>-1?g=g.replace(".",""):c=g.length}for(f=0;48===g.charCodeAt(f);f++);for(d=g.length;48===g.charCodeAt(--d););if(g=g.slice(f,++d)){if(d-=f,p&&T.DEBUG&&d>15&&(t>A||t!==u(t)))throw Error(h+y.s*t);if((c=c-f-1)>S)y.c=y.e=null;else if(c=M)?I(u,a):E(u,a,"0");else if(o=(t=L(new T(t),e,r)).e,s=(u=m(t.c)).length,1==n||2==n&&(e<=o||o<=Q)){for(;ss){if(--e>0)for(u+=".";e--;u+="0");}else if((e+=o-s)>0)for(o+1==s&&(u+=".");e--;u+="0");return t.s<0&&i?"-"+u:u}function F(t,e){for(var r,n=1,i=new T(t[0]);n=10;i/=10,n++);return(r=n+r*l-1)>S?t.c=t.e=null:r=10;c/=10,i++);if((o=e-i)<0)o+=l,a=e,d=(h=g[A=0])/y[i-a-1]%10|0;else if((A=s((o+1)/l))>=g.length){if(!n)break t;for(;g.length<=A;g.push(0));h=d=0,i=1,a=(o%=l)-l+1}else{for(h=c=g[A],i=1;c>=10;c/=10,i++);d=(a=(o%=l)-l+i)<0?0:h/y[i-a-1]%10|0}if(n=n||e<0||null!=g[A+1]||(a<0?h:h%y[i-a-1]),n=r<4?(d||n)&&(0==r||r==(t.s<0?3:2)):d>5||5==d&&(4==r||n||6==r&&(o>0?a>0?h/y[i-a]:0:g[A-1])%10&1||r==(t.s<0?8:7)),e<1||!g[0])return g.length=0,n?(e-=t.e+1,g[0]=y[(l-e%l)%l],t.e=-e||0):g[0]=t.e=0,t;if(0==o?(g.length=A,c=1,A--):(g.length=A+1,c=y[l-o],g[A]=a>0?u(h/y[i-a]%y[a])*c:0),n)for(;;){if(0==A){for(o=1,a=g[0];a>=10;a/=10,o++);for(a=g[0]+=c,c=1;a>=10;a/=10,c++);o!=c&&(t.e++,g[0]==f&&(g[0]=1));break}if(g[A]+=c,g[A]!=f)break;g[A--]=0,c=1}for(o=g.length;0===g[--o];g.pop());}t.e>S?t.c=t.e=null:t.e=M?I(e,r):E(e,r,"0"),t.s<0?"-"+e:e)}return T.clone=t,T.ROUND_UP=0,T.ROUND_DOWN=1,T.ROUND_CEIL=2,T.ROUND_FLOOR=3,T.ROUND_HALF_UP=4,T.ROUND_HALF_DOWN=5,T.ROUND_HALF_EVEN=6,T.ROUND_HALF_CEIL=7,T.ROUND_HALF_FLOOR=8,T.EUCLID=9,T.config=T.set=function(t){var e,r;if(null!=t){if("object"!=typeof t)throw Error(c+"Object expected: "+t);if(t.hasOwnProperty(e="DECIMAL_PLACES")&&(b(r=t[e],0,g,e),B=r),t.hasOwnProperty(e="ROUNDING_MODE")&&(b(r=t[e],0,8,e),C=r),t.hasOwnProperty(e="EXPONENTIAL_AT")&&((r=t[e])&&r.pop?(b(r[0],-g,0,e),b(r[1],0,g,e),Q=r[0],M=r[1]):(b(r,-g,g,e),Q=-(M=r<0?-r:r))),t.hasOwnProperty(e="RANGE"))if((r=t[e])&&r.pop)b(r[0],-g,-1,e),b(r[1],1,g,e),k=r[0],S=r[1];else{if(b(r,-g,g,e),!r)throw Error(c+e+" cannot be zero: "+r);k=-(S=r<0?-r:r)}if(t.hasOwnProperty(e="CRYPTO")){if((r=t[e])!==!!r)throw Error(c+e+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw x=!r,Error(c+"crypto unavailable");x=r}else x=r}if(t.hasOwnProperty(e="MODULO_MODE")&&(b(r=t[e],0,9,e),D=r),t.hasOwnProperty(e="POW_PRECISION")&&(b(r=t[e],0,g,e),R=r),t.hasOwnProperty(e="FORMAT")){if("object"!=typeof(r=t[e]))throw Error(c+e+" not an object: "+r);N=r}if(t.hasOwnProperty(e="ALPHABET")){if("string"!=typeof(r=t[e])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(c+e+" invalid: "+r);P=r}}return{DECIMAL_PLACES:B,ROUNDING_MODE:C,EXPONENTIAL_AT:[Q,M],RANGE:[k,S],CRYPTO:x,MODULO_MODE:D,POW_PRECISION:R,FORMAT:N,ALPHABET:P}},T.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!T.DEBUG)return!0;var e,r,n=t.c,i=t.e,o=t.s;t:if("[object Array]"=={}.toString.call(n)){if((1===o||-1===o)&&i>=-g&&i<=g&&i===u(i)){if(0===n[0]){if(0===i&&1===n.length)return!0;break t}if((e=(i+1)%l)<1&&(e+=l),String(n[0]).length==e){for(e=0;e=f||r!==u(r))break t;if(0!==r)return!0}}}else if(null===n&&null===i&&(null===o||1===o||-1===o))return!0;throw Error(c+"Invalid BigNumber: "+t)},T.maximum=T.max=function(){return F(arguments,o.lt)},T.minimum=T.min=function(){return F(arguments,o.gt)},T.random=function(){var t=9007199254740992,e=Math.random()*t&2097151?function(){return u(Math.random()*t)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)};return function(t){var r,n,i,o,a,h=0,f=[],A=new T(_);if(null==t?t=B:b(t,0,g),o=s(t/l),x)if(crypto.getRandomValues){for(r=crypto.getRandomValues(new Uint32Array(o*=2));h>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),r[h]=n[0],r[h+1]=n[1]):(f.push(a%1e14),h+=2);h=o/2}else{if(!crypto.randomBytes)throw x=!1,Error(c+"crypto unavailable");for(r=crypto.randomBytes(o*=7);h=9e15?crypto.randomBytes(7).copy(r,h):(f.push(a%1e14),h+=7);h=o/7}if(!x)for(;h=10;a/=10,h++);hr-1&&(null==a[i+1]&&(a[i+1]=0),a[i+1]+=a[i]/r|0,a[i]%=r)}return a.reverse()}return function(n,i,o,a,s){var u,c,h,f,l,A,p,d,g=n.indexOf("."),y=B,v=C;for(g>=0&&(f=R,R=0,n=n.replace(".",""),A=(d=new T(i)).pow(n.length-g),R=f,d.c=e(E(m(A.c),A.e,"0"),10,o,t),d.e=d.c.length),h=f=(p=e(n,i,o,s?(u=P,t):(u=t,P))).length;0==p[--f];p.pop());if(!p[0])return u.charAt(0);if(g<0?--h:(A.c=p,A.e=h,A.s=a,p=(A=r(A,d,y,v,o)).c,l=A.r,h=A.e),g=p[c=h+y+1],f=o/2,l=l||c<0||null!=p[c+1],l=v<4?(null!=g||l)&&(0==v||v==(A.s<0?3:2)):g>f||g==f&&(4==v||l||6==v&&1&p[c-1]||v==(A.s<0?8:7)),c<1||!p[0])n=l?E(u.charAt(1),-y,u.charAt(0)):u.charAt(0);else{if(p.length=c,l)for(--o;++p[--c]>o;)p[c]=0,c||(++h,p=[1].concat(p));for(f=p.length;!p[--f];);for(g=0,n="";g<=f;n+=u.charAt(p[g++]));n=E(n,h,u.charAt(0))}return n}}(),r=function(){function t(t,e,r){var n,i,o,a,s=0,u=t.length,c=e%d,h=e/d|0;for(t=t.slice();u--;)s=((i=c*(o=t[u]%d)+(n=h*o+(a=t[u]/d|0)*c)%d*d+s)/r|0)+(n/d|0)+h*a,t[u]=i%r;return s&&(t=[s].concat(t)),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;ie[i]?1:-1;break}return o}function r(t,e,r,n){for(var i=0;r--;)t[r]-=i,i=t[r]1;t.splice(0,1));}return function(n,i,o,a,s){var c,h,A,p,d,g,m,v,b,w,I,E,_,B,C,Q,M,k=n.s==i.s?1:-1,S=n.c,x=i.c;if(!S||!S[0]||!x||!x[0])return new T(n.s&&i.s&&(S?!x||S[0]!=x[0]:x)?S&&0==S[0]||!x?0*k:k/0:NaN);for(b=(v=new T(k)).c=[],k=o+(h=n.e-i.e)+1,s||(s=f,h=y(n.e/l)-y(i.e/l),k=k/l|0),A=0;x[A]==(S[A]||0);A++);if(x[A]>(S[A]||0)&&h--,k<0)b.push(1),p=!0;else{for(B=S.length,Q=x.length,A=0,k+=2,(d=u(s/(x[0]+1)))>1&&(x=t(x,d,s),S=t(S,d,s),Q=x.length,B=S.length),_=Q,I=(w=S.slice(0,Q)).length;I=s/2&&C++;do{if(d=0,(c=e(x,w,Q,I))<0){if(E=w[0],Q!=I&&(E=E*s+(w[1]||0)),(d=u(E/C))>1)for(d>=s&&(d=s-1),m=(g=t(x,d,s)).length,I=w.length;1==e(g,w,m,I);)d--,r(g,Q=10;k/=10,A++);L(v,o+(v.e=A+h*l-1)+1,a,p)}else v.e=h,v.r=+p;return v}}(),i=function(){var t=/^(-?)0([xbo])(?=\w[\w.]*$)/i,e=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(o,a,s,u){var h,f=s?a:a.replace(i,"");if(n.test(f))o.s=isNaN(f)?null:f<0?-1:1;else{if(!s&&(f=f.replace(t,(function(t,e,r){return h="x"==(r=r.toLowerCase())?16:"b"==r?2:8,u&&u!=h?t:e})),u&&(h=u,f=f.replace(e,"$1").replace(r,"0.$1")),a!=f))return new T(f,h);if(T.DEBUG)throw Error(c+"Not a"+(u?" base "+u:"")+" number: "+a);o.s=null}o.c=o.e=null}}(),o.absoluteValue=o.abs=function(){var t=new T(this);return t.s<0&&(t.s=1),t},o.comparedTo=function(t,e){return v(this,new T(t,e))},o.decimalPlaces=o.dp=function(t,e){var r,n,i,o=this;if(null!=t)return b(t,0,g),null==e?e=C:b(e,0,8),L(new T(o),t+o.e+1,e);if(!(r=o.c))return null;if(n=((i=r.length-1)-y(this.e/l))*l,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},o.dividedBy=o.div=function(t,e){return r(this,new T(t,e),B,C)},o.dividedToIntegerBy=o.idiv=function(t,e){return r(this,new T(t,e),0,1)},o.exponentiatedBy=o.pow=function(t,e){var r,n,i,o,a,h,f,A,p=this;if((t=new T(t)).c&&!t.isInteger())throw Error(c+"Exponent not an integer: "+G(t));if(null!=e&&(e=new T(e)),a=t.e>14,!p.c||!p.c[0]||1==p.c[0]&&!p.e&&1==p.c.length||!t.c||!t.c[0])return A=new T(Math.pow(+G(p),a?2-w(t):+G(t))),e?A.mod(e):A;if(h=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new T(NaN);(n=!h&&p.isInteger()&&e.isInteger())&&(p=p.mod(e))}else{if(t.e>9&&(p.e>0||p.e<-1||(0==p.e?p.c[0]>1||a&&p.c[1]>=24e7:p.c[0]<8e13||a&&p.c[0]<=9999975e7)))return o=p.s<0&&w(t)?-0:0,p.e>-1&&(o=1/o),new T(h?1/o:o);R&&(o=s(R/l+2))}for(a?(r=new T(.5),h&&(t.s=1),f=w(t)):f=(i=Math.abs(+G(t)))%2,A=new T(_);;){if(f){if(!(A=A.times(p)).c)break;o?A.c.length>o&&(A.c.length=o):n&&(A=A.mod(e))}if(i){if(0===(i=u(i/2)))break;f=i%2}else if(L(t=t.times(r),t.e+1,1),t.e>14)f=w(t);else{if(0===(i=+G(t)))break;f=i%2}p=p.times(p),o?p.c&&p.c.length>o&&(p.c.length=o):n&&(p=p.mod(e))}return n?A:(h&&(A=_.div(A)),e?A.mod(e):o?L(A,R,C,undefined):A)},o.integerValue=function(t){var e=new T(this);return null==t?t=C:b(t,0,8),L(e,e.e+1,t)},o.isEqualTo=o.eq=function(t,e){return 0===v(this,new T(t,e))},o.isFinite=function(){return!!this.c},o.isGreaterThan=o.gt=function(t,e){return v(this,new T(t,e))>0},o.isGreaterThanOrEqualTo=o.gte=function(t,e){return 1===(e=v(this,new T(t,e)))||0===e},o.isInteger=function(){return!!this.c&&y(this.e/l)>this.c.length-2},o.isLessThan=o.lt=function(t,e){return v(this,new T(t,e))<0},o.isLessThanOrEqualTo=o.lte=function(t,e){return-1===(e=v(this,new T(t,e)))||0===e},o.isNaN=function(){return!this.s},o.isNegative=function(){return this.s<0},o.isPositive=function(){return this.s>0},o.isZero=function(){return!!this.c&&0==this.c[0]},o.minus=function(t,e){var r,n,i,o,a=this,s=a.s;if(e=(t=new T(t,e)).s,!s||!e)return new T(NaN);if(s!=e)return t.s=-e,a.plus(t);var u=a.e/l,c=t.e/l,h=a.c,A=t.c;if(!u||!c){if(!h||!A)return h?(t.s=-e,t):new T(A?a:NaN);if(!h[0]||!A[0])return A[0]?(t.s=-e,t):new T(h[0]?a:3==C?-0:0)}if(u=y(u),c=y(c),h=h.slice(),s=u-c){for((o=s<0)?(s=-s,i=h):(c=u,i=A),i.reverse(),e=s;e--;i.push(0));i.reverse()}else for(n=(o=(s=h.length)<(e=A.length))?s:e,s=e=0;e0)for(;e--;h[r++]=0);for(e=f-1;n>s;){if(h[--n]=0;){for(r=0,p=E[i]%b,g=E[i]/b|0,o=i+(a=u);o>i;)r=((c=p*(c=I[--a]%b)+(s=g*c+(h=I[a]/b|0)*p)%b*b+m[o]+r)/v|0)+(s/b|0)+g*h,m[o--]=c%v;m[o]=r}return r?++n:m.splice(0,1),U(t,m,n)},o.negated=function(){var t=new T(this);return t.s=-t.s||null,t},o.plus=function(t,e){var r,n=this,i=n.s;if(e=(t=new T(t,e)).s,!i||!e)return new T(NaN);if(i!=e)return t.s=-e,n.minus(t);var o=n.e/l,a=t.e/l,s=n.c,u=t.c;if(!o||!a){if(!s||!u)return new T(i/0);if(!s[0]||!u[0])return u[0]?t:new T(s[0]?n:0*i)}if(o=y(o),a=y(a),s=s.slice(),i=o-a){for(i>0?(a=o,r=u):(i=-i,r=s),r.reverse();i--;r.push(0));r.reverse()}for((i=s.length)-(e=u.length)<0&&(r=u,u=s,s=r,e=i),i=0;e;)i=(s[--e]=s[e]+u[e]+i)/f|0,s[e]=f===s[e]?0:s[e]%f;return i&&(s=[i].concat(s),++a),U(t,s,a)},o.precision=o.sd=function(t,e){var r,n,i,o=this;if(null!=t&&t!==!!t)return b(t,1,g),null==e?e=C:b(e,0,8),L(new T(o),t,e);if(!(r=o.c))return null;if(n=(i=r.length-1)*l+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return t&&o.e+1>n&&(n=o.e+1),n},o.shiftedBy=function(t){return b(t,-9007199254740991,A),this.times("1e"+t)},o.squareRoot=o.sqrt=function(){var t,e,n,i,o,a=this,s=a.c,u=a.s,c=a.e,h=B+4,f=new T("0.5");if(1!==u||!s||!s[0])return new T(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(u=Math.sqrt(+G(a)))||u==1/0?(((e=m(s)).length+c)%2==0&&(e+="0"),u=Math.sqrt(+e),c=y((c+1)/2)-(c<0||c%2),n=new T(e=u==1/0?"5e"+c:(e=u.toExponential()).slice(0,e.indexOf("e")+1)+c)):n=new T(u+""),n.c[0])for((u=(c=n.e)+h)<3&&(u=0);;)if(o=n,n=f.times(o.plus(r(a,o,h,1))),m(o.c).slice(0,u)===(e=m(n.c)).slice(0,u)){if(n.e0&&d>0){for(o=d%s||s,f=p.substr(0,o);o0&&(f+=h+p.slice(o)),A&&(f="-"+f)}n=l?f+(r.decimalSeparator||"")+((u=+r.fractionGroupSize)?l.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):l):f}return(r.prefix||"")+n+(r.suffix||"")},o.toFraction=function(t){var e,n,i,o,a,s,u,h,f,A,d,g,y=this,v=y.c;if(null!=t&&(!(u=new T(t)).isInteger()&&(u.c||1!==u.s)||u.lt(_)))throw Error(c+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+G(u));if(!v)return new T(y);for(e=new T(_),f=n=new T(_),i=h=new T(_),g=m(v),a=e.e=g.length-y.e-1,e.c[0]=p[(s=a%l)<0?l+s:s],t=!t||u.comparedTo(e)>0?a>0?e:f:u,s=S,S=1/0,u=new T(g),h.c[0]=0;A=r(u,e,0,1),1!=(o=n.plus(A.times(i))).comparedTo(t);)n=i,i=o,f=h.plus(A.times(o=f)),h=o,e=u.minus(A.times(o=e)),u=o;return o=r(t.minus(n),i,0,1),h=h.plus(o.times(f)),n=n.plus(o.times(i)),h.s=f.s=y.s,d=r(f,i,a*=2,C).minus(y).abs().comparedTo(r(h,n,a,C).minus(y).abs())<1?[f,i]:[h,n],S=s,d},o.toNumber=function(){return+G(this)},o.toPrecision=function(t,e){return null!=t&&b(t,1,g),O(this,t,e,2)},o.toString=function(t){var e,r=this,i=r.s,o=r.e;return null===o?i?(e="Infinity",i<0&&(e="-"+e)):e="NaN":(null==t?e=o<=Q||o>=M?I(m(r.c),o):E(m(r.c),o,"0"):10===t?e=E(m((r=L(new T(r),B+o+1,C)).c),r.e,"0"):(b(t,2,P.length,"Base"),e=n(E(m(r.c),o,"0"),10,t,i,!0)),i<0&&r.c[0]&&(e="-"+e)),e},o.valueOf=o.toJSON=function(){return G(this)},o._isBigNumber=!0,null!=e&&T.set(e),T}()).default=o.BigNumber=o,void 0===(n=function(){return o}.call(e,r,e,t))||(t.exports=n)}()},function(t,e,r){(function(t){function r(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===r(t)},e.isBoolean=function(t){return"boolean"===typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"===typeof t},e.isString=function(t){return"string"===typeof t},e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===r(t)},e.isObject=function(t){return"object"===typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===r(t)},e.isError=function(t){return"[object Error]"===r(t)||t instanceof Error},e.isFunction=function(t){return"function"===typeof t},e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=t.isBuffer}).call(this,r(11).Buffer)},function(t,e,r){"use strict";var n=r(32),i=r(8);function o(t,e){return 55296===(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320===(64512&t.charCodeAt(e+1)))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function u(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"===typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t),i=0;i>6|192,r[n++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i>>0}return a},e.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,r){return t+e+r>>>0},e.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},e.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},e.sum64=function(t,e,r,n){var i=t[e],o=n+t[e+1]>>>0,a=(o>>0,t[e+1]=o},e.sum64_hi=function(t,e,r,n){return(e+n>>>0>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,i,o,a,s){var u=0,c=e;return u+=(c=c+n>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,r,n,i,o,a,s){return e+n+o+s>>>0},e.sum64_5_hi=function(t,e,r,n,i,o,a,s,u,c){var h=0,f=e;return h+=(f=f+n>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,r,n,i,o,a,s,u,c){return e+n+o+s+c>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=r(253).Buffer}catch(_){}function s(t,e,r){for(var n=0,i=Math.min(t.length,r),o=e;o=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,h=r;h1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function l(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c>>26,f=67108863&u,l=Math.min(c,e.length-1),A=Math.max(0,c-t.length+1);A<=l;A++){var p=c-A|0;h+=(a=(i=0|t.words[p])*(o=0|e.words[A])+f)/67108864|0,f=67108863&a}r.words[c]=0|f,u=0|h}return 0!==u?r.words[c]=0|u:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var l=h[t],A=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var d=p.modn(A).toString(t);r=(p=p.idivn(A)).isZero()?d+r:c[l-d.length]+d+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===e,c=new t(o),h=this.clone();if(u){for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[s]=a;for(;s=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,A=0|a[1],p=8191&A,d=A>>>13,g=0|a[2],y=8191&g,m=g>>>13,v=0|a[3],b=8191&v,w=v>>>13,I=0|a[4],E=8191&I,_=I>>>13,B=0|a[5],C=8191&B,Q=B>>>13,M=0|a[6],k=8191&M,S=M>>>13,x=0|a[7],D=8191&x,R=x>>>13,N=0|a[8],P=8191&N,T=N>>>13,O=0|a[9],F=8191&O,U=O>>>13,L=0|s[0],G=8191&L,H=L>>>13,j=0|s[1],Y=8191&j,K=j>>>13,q=0|s[2],J=8191&q,V=q>>>13,z=0|s[3],X=8191&z,W=z>>>13,Z=0|s[4],$=8191&Z,tt=Z>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,ht=0|s[8],ft=8191&ht,lt=ht>>>13,At=0|s[9],pt=8191&At,dt=At>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(c+(n=Math.imul(f,G))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(l,G)|0))<<13)|0;c=((o=Math.imul(l,H))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,G),i=(i=Math.imul(p,H))+Math.imul(d,G)|0,o=Math.imul(d,H);var yt=(c+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,K)|0)+Math.imul(l,Y)|0))<<13)|0;c=((o=o+Math.imul(l,K)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,G),i=(i=Math.imul(y,H))+Math.imul(m,G)|0,o=Math.imul(m,H),n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(d,Y)|0,o=o+Math.imul(d,K)|0;var mt=(c+(n=n+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(l,J)|0))<<13)|0;c=((o=o+Math.imul(l,V)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(b,G),i=(i=Math.imul(b,H))+Math.imul(w,G)|0,o=Math.imul(w,H),n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,K)|0,n=n+Math.imul(p,J)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(d,J)|0,o=o+Math.imul(d,V)|0;var vt=(c+(n=n+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(l,X)|0))<<13)|0;c=((o=o+Math.imul(l,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(E,G),i=(i=Math.imul(E,H))+Math.imul(_,G)|0,o=Math.imul(_,H),n=n+Math.imul(b,Y)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,K)|0,n=n+Math.imul(y,J)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,V)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(d,X)|0,o=o+Math.imul(d,W)|0;var bt=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(l,$)|0))<<13)|0;c=((o=o+Math.imul(l,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(C,G),i=(i=Math.imul(C,H))+Math.imul(Q,G)|0,o=Math.imul(Q,H),n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,K)|0,n=n+Math.imul(b,J)|0,i=(i=i+Math.imul(b,V)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,V)|0,n=n+Math.imul(y,X)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,W)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(d,$)|0,o=o+Math.imul(d,tt)|0;var wt=(c+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(l,rt)|0))<<13)|0;c=((o=o+Math.imul(l,nt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,G),i=(i=Math.imul(k,H))+Math.imul(S,G)|0,o=Math.imul(S,H),n=n+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(Q,Y)|0,o=o+Math.imul(Q,K)|0,n=n+Math.imul(E,J)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(_,J)|0,o=o+Math.imul(_,V)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(d,rt)|0,o=o+Math.imul(d,nt)|0;var It=(c+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(l,ot)|0))<<13)|0;c=((o=o+Math.imul(l,at)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,H))+Math.imul(R,G)|0,o=Math.imul(R,H),n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,K)|0,n=n+Math.imul(C,J)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(Q,J)|0,o=o+Math.imul(Q,V)|0,n=n+Math.imul(E,X)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(d,ot)|0,o=o+Math.imul(d,at)|0;var Et=(c+(n=n+Math.imul(f,ut)|0)|0)+((8191&(i=(i=i+Math.imul(f,ct)|0)+Math.imul(l,ut)|0))<<13)|0;c=((o=o+Math.imul(l,ct)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),i=(i=Math.imul(P,H))+Math.imul(T,G)|0,o=Math.imul(T,H),n=n+Math.imul(D,Y)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(Q,X)|0,o=o+Math.imul(Q,W)|0,n=n+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(b,rt)|0,i=(i=i+Math.imul(b,nt)|0)+Math.imul(w,rt)|0,o=o+Math.imul(w,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(d,ut)|0,o=o+Math.imul(d,ct)|0;var _t=(c+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,lt)|0)+Math.imul(l,ft)|0))<<13)|0;c=((o=o+Math.imul(l,lt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(F,G),i=(i=Math.imul(F,H))+Math.imul(U,G)|0,o=Math.imul(U,H),n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(T,Y)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,V)|0)+Math.imul(R,J)|0,o=o+Math.imul(R,V)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(Q,$)|0,o=o+Math.imul(Q,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(d,ft)|0,o=o+Math.imul(d,lt)|0;var Bt=(c+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,dt)|0)+Math.imul(l,pt)|0))<<13)|0;c=((o=o+Math.imul(l,dt)|0)+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,K))+Math.imul(U,Y)|0,o=Math.imul(U,K),n=n+Math.imul(P,J)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,V)|0,n=n+Math.imul(D,X)|0,i=(i=i+Math.imul(D,W)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(S,$)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(C,rt)|0,i=(i=i+Math.imul(C,nt)|0)+Math.imul(Q,rt)|0,o=o+Math.imul(Q,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,at)|0,n=n+Math.imul(b,ut)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(w,ut)|0,o=o+Math.imul(w,ct)|0,n=n+Math.imul(y,ft)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,lt)|0;var Ct=(c+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,dt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,J),i=(i=Math.imul(F,V))+Math.imul(U,J)|0,o=Math.imul(U,V),n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(D,$)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(Q,ot)|0,o=o+Math.imul(Q,at)|0,n=n+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,ct)|0,n=n+Math.imul(b,ft)|0,i=(i=i+Math.imul(b,lt)|0)+Math.imul(w,ft)|0,o=o+Math.imul(w,lt)|0;var Qt=(c+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,dt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,dt)|0)+(i>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,n=Math.imul(F,X),i=(i=Math.imul(F,W))+Math.imul(U,X)|0,o=Math.imul(U,W),n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,n=n+Math.imul(D,rt)|0,i=(i=i+Math.imul(D,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(Q,ut)|0,o=o+Math.imul(Q,ct)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,lt)|0)+Math.imul(_,ft)|0,o=o+Math.imul(_,lt)|0;var Mt=(c+(n=n+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,dt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,dt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,$),i=(i=Math.imul(F,tt))+Math.imul(U,$)|0,o=Math.imul(U,tt),n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(T,rt)|0,o=o+Math.imul(T,nt)|0,n=n+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,at)|0,n=n+Math.imul(k,ut)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(S,ut)|0,o=o+Math.imul(S,ct)|0,n=n+Math.imul(C,ft)|0,i=(i=i+Math.imul(C,lt)|0)+Math.imul(Q,ft)|0,o=o+Math.imul(Q,lt)|0;var kt=(c+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,dt)|0)+Math.imul(_,pt)|0))<<13)|0;c=((o=o+Math.imul(_,dt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(U,rt)|0,o=Math.imul(U,nt),n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,n=n+Math.imul(D,ut)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,ct)|0,n=n+Math.imul(k,ft)|0,i=(i=i+Math.imul(k,lt)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,lt)|0;var St=(c+(n=n+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,dt)|0)+Math.imul(Q,pt)|0))<<13)|0;c=((o=o+Math.imul(Q,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),n=n+Math.imul(P,ut)|0,i=(i=i+Math.imul(P,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,n=n+Math.imul(D,ft)|0,i=(i=i+Math.imul(D,lt)|0)+Math.imul(R,ft)|0,o=o+Math.imul(R,lt)|0;var xt=(c+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,dt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(F,ut),i=(i=Math.imul(F,ct))+Math.imul(U,ut)|0,o=Math.imul(U,ct),n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,lt)|0)+Math.imul(T,ft)|0,o=o+Math.imul(T,lt)|0;var Dt=(c+(n=n+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,dt)|0)+Math.imul(R,pt)|0))<<13)|0;c=((o=o+Math.imul(R,dt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,lt))+Math.imul(U,ft)|0,o=Math.imul(U,lt);var Rt=(c+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,dt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,dt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var Nt=(c+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,dt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,dt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,u[0]=gt,u[1]=yt,u[2]=mt,u[3]=vt,u[4]=bt,u[5]=wt,u[6]=It,u[7]=Et,u[8]=_t,u[9]=Bt,u[10]=Ct,u[11]=Qt,u[12]=Mt,u[13]=kt,u[14]=St,u[15]=xt,u[16]=Dt,u[17]=Rt,u[18]=Nt,0!==c&&(u[19]=c,r.length++),r};function p(t,e,r){return(new d).mulp(t,e,r)}function d(t,e){this.x=t,this.y=e}Math.imul||(A=l),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?A(this,t,e):r<63?l(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):p(this,t,e)},d.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==h||c>=i);c--){var f=0|this.words[c];this.words[c]=h<<26-o|f>>>o,h=f&s}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==e){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var l=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(l=Math.min(l/a|0,67108863),n._ishlnsubmul(i,l,f);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=l)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var h=r.clone(),f=e.clone();!e.isZero();){for(var l=0,A=1;0===(e.words[0]&A)&&l<26;++l,A<<=1);if(l>0)for(e.iushrn(l);l-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(h),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,d=1;0===(r.words[0]&d)&&p<26;++p,d<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(h),u.isub(f)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(u)):(r.isub(e),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,h=1;0===(e.words[0]&h)&&c<26;++c,h<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,l=1;0===(r.words[0]&l)&&f<26;++f,l<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new I(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var g={k256:null,p224:null,p192:null,p25519:null};function y(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function m(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function I(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function E(t){I.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(t,e){t.iushrn(this.n,0,e)},y.prototype.imulK=function(t){return t.imul(this.k)},i(m,y),m.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},m.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(g[t])return g[t];var e;if("k256"===t)e=new m;else if("p224"===t)e=new v;else if("p192"===t)e=new b;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return g[t]=e,e},I.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},I.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},I.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},I.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},I.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},I.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},I.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},I.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},I.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},I.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},I.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},I.prototype.isqr=function(t){return this.imul(t,t.clone())},I.prototype.sqr=function(t){return this.mul(t,t)},I.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,c).cmp(u);)h.redIAdd(u);for(var f=this.pow(h,i),l=this.pow(t,i.addn(1).iushrn(1)),A=this.pow(t,i),p=a;0!==A.cmp(s);){for(var d=A,g=0;0!==d.cmp(s);g++)d=d.redSqr();n(g=0;n--){for(var c=e.words[n],h=u-1;h>=0;h--){var f=c>>h&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===h)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},I.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},I.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new E(t)},i(E,I),E.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},E.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},E.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(46)(t))},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return u}));var n=r(0),i=r.n(n),o=r(4),a=r(34),s=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},u=function(e,r){return s(void 0,void 0,void 0,i.a.mark((function n(){var s,u;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return s=[e,r.type],r.name&&s.push("name:".concat(r.name)),r.rpcUrl&&s.push("rpc:".concat(r.rpcUrl)),n.next=5,o.ready;case 5:return u=t.from(o.crypto_generichash(10,s.join("-"))),n.abrupt("return",a.encode(u));case 7:case"end":return n.stop()}}),n)})))}}).call(this,r(11).Buffer)},function(t,e,r){"use strict";(function(t){var n;r.d(e,"a",(function(){return s})),r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return n})),function(t){t[t.CONTINUE=100]="CONTINUE",t[t.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",t[t.PROCESSING=102]="PROCESSING",t[t.OK=200]="OK",t[t.CREATED=201]="CREATED",t[t.ACCEPTED=202]="ACCEPTED",t[t.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",t[t.NO_CONTENT=204]="NO_CONTENT",t[t.RESET_CONTENT=205]="RESET_CONTENT",t[t.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",t[t.MULTI_STATUS=207]="MULTI_STATUS",t[t.ALREADY_REPORTED=208]="ALREADY_REPORTED",t[t.IM_USED=226]="IM_USED",t[t.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",t[t.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",t[t.FOUND=302]="FOUND",t[t.SEE_OTHER=303]="SEE_OTHER",t[t.NOT_MODIFIED=304]="NOT_MODIFIED",t[t.USE_PROXY=305]="USE_PROXY",t[t.SWITCH_PROXY=306]="SWITCH_PROXY",t[t.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",t[t.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",t[t.BAD_REQUEST=400]="BAD_REQUEST",t[t.UNAUTHORIZED=401]="UNAUTHORIZED",t[t.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",t[t.FORBIDDEN=403]="FORBIDDEN",t[t.NOT_FOUND=404]="NOT_FOUND",t[t.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",t[t.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",t[t.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",t[t.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",t[t.CONFLICT=409]="CONFLICT",t[t.GONE=410]="GONE",t[t.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",t[t.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",t[t.PAYLOAD_TOO_LARGE=413]="PAYLOAD_TOO_LARGE",t[t.URI_TOO_LONG=414]="URI_TOO_LONG",t[t.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",t[t.RANGE_NOT_SATISFIABLE=416]="RANGE_NOT_SATISFIABLE",t[t.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",t[t.I_AM_A_TEAPOT=418]="I_AM_A_TEAPOT",t[t.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",t[t.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",t[t.LOCKED=423]="LOCKED",t[t.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",t[t.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",t[t.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",t[t.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",t[t.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",t[t.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",t[t.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",t[t.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",t[t.BAD_GATEWAY=502]="BAD_GATEWAY",t[t.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",t[t.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",t[t.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",t[t.VARIANT_ALSO_NEGOTIATES=506]="VARIANT_ALSO_NEGOTIATES",t[t.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",t[t.LOOP_DETECTED=508]="LOOP_DETECTED",t[t.NOT_EXTENDED=510]="NOT_EXTENDED",t[t.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"}(n||(n={}));var i="undefined"!==typeof t&&null!=t.versions&&null!=t.versions.node?r(310).XMLHttpRequest:XMLHttpRequest,o=function(t,e,r,n,i){this.message=t,this.status=e,this.statusText=r,this.body=n,this.url=i,this.name="HttpResponse"},a=function(t,e){this.url=t,this.innerEvent=e,this.name="HttpRequestFailed",this.message="Request to "+t+" failed"},s=function(){function t(){}return t.prototype.serialize=function(t){if(!t)return"";var e=[],r=function(r){if(t.hasOwnProperty(r)&&"undefined"!==typeof t[r]){var n="function"===typeof t[r].toJSON?t[r].toJSON():t[r];if(null===n)return e.push(encodeURIComponent(r)),"continue";if(Array.isArray(n))return n.forEach((function(t){e.push(encodeURIComponent(r)+"="+encodeURIComponent(t))})),"continue";e.push(encodeURIComponent(r)+"="+encodeURIComponent(n))}};for(var n in t)r(n);var i=e.join("&");return i?"?"+i:""},t.prototype.createXHR=function(){return new i},t.prototype.createRequest=function(t,e){var r=this,n=t.url,i=t.method,s=t.timeout,u=t.query,c=t.headers,h=void 0===c?{}:c,f=t.json,l=void 0===f||f,A=t.mimeType,p=void 0===A?void 0:A;return new Promise((function(t,c){var f=r.createXHR();for(var A in f.open(i||"GET",""+n+r.serialize(u)),h["Content-Type"]||f.setRequestHeader("Content-Type","application/json"),p&&f.overrideMimeType(""+p),h)f.setRequestHeader(A,h[A]);if(f.timeout=s||3e4,f.onload=function(){if(this.status>=200&&this.status<300)if(l)try{t(JSON.parse(f.response))}catch(e){c(new Error("Unable to parse response: "+f.response))}else t(f.response);else c(new o("Http error response: ("+this.status+") "+f.response,this.status,f.statusText,f.response,n))},f.ontimeout=function(){c(new Error("Request timed out after: "+f.timeout+"ms"))},f.onerror=function(t){c(new a(n,t))},e){var d=JSON.stringify(e);f.send(d)}else f.send()}))},t}()}).call(this,r(20))},function(t,e,r){var n=r(10).Buffer,i=r(214).Transform,o=r(47).StringDecoder;function a(t){i.call(this),this.hashMode="string"===typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(8)(a,i),a.prototype.update=function(t,e,r){"string"===typeof t&&(t=n.from(t,e));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,r){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(i){n=i}finally{r(n)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(r){e=r}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},t.exports=a},function(t,e,r){"use strict";(function(e){"undefined"===typeof e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,r,n,i){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,r)}));case 3:return e.nextTick((function(){t.call(null,r,n)}));case 4:return e.nextTick((function(){t.call(null,r,n,i)}));default:for(o=new Array(s-1),a=0;a>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!==(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function h(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function l(t){return t.toString(this.encoding)}function A(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return i>0&&(t.lastNeed=i-1),i;if(--n=0)return i>0&&(t.lastNeed=i-2),i;if(--n=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){"use strict";var n=r(45),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=f;var o=Object.create(r(39));o.inherits=r(8);var a=r(127),s=r(88);o.inherits(f,a);for(var u=i(s.prototype),c=0;co)throw new RangeError("requested too many random bytes");var r=a.allocUnsafe(t);if(t>0)if(t>i)for(var u=0;u2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}i("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(t,e,r){var n,i,a,s;if("string"===typeof e&&(i="not ",e.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",e=e.replace(/^not /,"")):n="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))s="The ".concat(t," ").concat(n," ").concat(o(e,"type"));else{var u=function(t,e,r){return"number"!==typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(u," ").concat(n," ").concat(o(e,"type"))}return s+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},function(t,e,r){"use strict";(function(e){var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=c;var i=r(119),o=r(123);r(8)(c,i);for(var a=n(o.prototype),s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},function(t,e,r){"use strict";var n=r(45),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=f;var o=Object.create(r(39));o.inherits=r(8);var a=r(177),s=r(180);o.inherits(f,a);for(var u=i(s.prototype),c=0;c0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0?t.prototype.schedule.call(this,e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,r){return r>0||this.closed?t.prototype.execute.call(this,e,r):this._execute(e,r)},e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?t.prototype.requestAsyncId.call(this,e,r,n):e.flush(this)},e}(G),j=function(){function t(e,r){void 0===r&&(r=t.now),this.SchedulerAction=e,this.now=r}return t.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(r,e)},t.now=function(){return Date.now()},t}(),Y=function(t){function e(r,n){void 0===n&&(n=j.now);var i=t.call(this,r,(function(){return e.delegate&&e.delegate!==i?e.delegate.now():n()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return y(e,t),e.prototype.schedule=function(r,n,i){return void 0===n&&(n=0),e.delegate&&e.delegate!==this?e.delegate.schedule(r,n,i):t.prototype.schedule.call(this,r,n,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var r;this.active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}},e}(j),K=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e}(Y))(H),q=new N((function(t){return t.complete()}));function J(t){return t?function(t){return new N((function(e){return t.schedule((function(){return e.complete()}))}))}(t):q}function V(t){return t&&"function"===typeof t.schedule}var z,X=function(t){return function(e){for(var r=0,n=t.length;rthis._bufferSize&&r.shift()}t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this.isStopped||(this._events.push(new at(this._getNow(),e)),this._trimBufferThenGetEvents()),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=n.length;if(this.closed)throw new T;if(this.isStopped||this.hasError?e=C.EMPTY:(this.observers.push(t),e=new O(this,t)),i&&t.add(t=new nt(t,i)),r)for(var a=0;ae&&(o=Math.max(o,i-e)),o>0&&n.splice(0,o),n},e}(U),at=function(){return function(t,e){this.time=t,this.value=e}}(),st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.prototype.notifyNext=function(t,e,r,n,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(k),ut=function(t){function e(e,r,n){var i=t.call(this)||this;return i.parent=e,i.outerValue=r,i.outerIndex=n,i.index=0,i}return y(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(k);function ct(){return"function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var ht=ct(),ft=function(t){return t&&"number"===typeof t.length&&"function"!==typeof t};function lt(t){return!!t&&"function"!==typeof t.subscribe&&"function"===typeof t.then}var At=function(t){if(t&&"function"===typeof t[x])return n=t,function(t){var e=n[x]();if("function"!==typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(ft(t))return X(t);if(lt(t))return r=t,function(t){return r.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,w),t};if(t&&"function"===typeof t[ht])return e=t,function(t){for(var r=e[ht]();;){var n=void 0;try{n=r.next()}catch(i){return t.error(i),t}if(n.done){t.complete();break}if(t.next(n.value),t.closed)break}return"function"===typeof r.return&&t.add((function(){r.return&&r.return()})),t};var e,r,n,i=_(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function pt(t,e,r,n,i){if(void 0===i&&(i=new ut(t,r,n)),!i.closed)return e instanceof N?e.subscribe(i):At(e)(i)}var dt={};function gt(){for(var t=[],e=0;e=0}function _t(t,e,r){void 0===t&&(t=0);var n=-1;return Et(e)?n=Number(e)<1?1:Number(e):V(e)&&(r=e),V(r)||(r=It),new N((function(e){var i=Et(t)?t:+t-r.now();return r.schedule(Bt,i,{index:0,period:n,subscriber:e})}))}function Bt(t){var e=t.index,r=t.period,n=t.subscriber;if(n.next(e),!n.closed){if(-1===r)return n.complete();t.index=e+1,this.schedule(t,r)}}function Ct(t){var e=t.start,r=t.index,n=t.count,i=t.subscriber;r>=n?i.complete():(i.next(e),i.closed||(t.index=r+1,t.start=e+1,this.schedule(t)))}function Qt(t,e){return function(r){if("function"!==typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new Mt(t,e))}}var Mt=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new kt(t,this.project,this.thisArg))},t}(),kt=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.project=r,i.count=0,i.thisArg=n||i,i}return y(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(e)},e}(k),St=function(t){function e(e){var r=t.call(this)||this;return r.parent=e,r}return y(e,t),e.prototype._next=function(t){this.parent.notifyNext(t)},e.prototype._error=function(t){this.parent.notifyError(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(k),xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.destination.complete()},e}(k);function Dt(t,e){if(!e.closed)return t instanceof N?t.subscribe(e):At(t)(e)}function Rt(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"===typeof e?function(n){return n.pipe(Rt((function(r,n){return bt(t(r,n)).pipe(Qt((function(t,i){return e(r,t,n,i)})))}),r))}:("number"===typeof e&&(r=e),function(e){return e.lift(new Nt(t,r))})}var Nt=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new Pt(t,this.project,this.concurrent))},t}(),Pt=function(t){function e(e,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=r,i.concurrent=n,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return y(e,t),e.prototype._next=function(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(xt);function Tt(){return void 0===(t=1)&&(t=Number.POSITIVE_INFINITY),Rt(D,t);var t}function Ot(){for(var t=[],e=0;e=2;return function(n){return n.pipe(t?Yt((function(e,r){return t(e,r,n)})):D,zt(1),r?Zt(e):ee((function(){return new Jt})))}}function ae(t,e){return function(r){return r.lift(new se(t,e))}}var se=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new ue(t,this.compare,this.keySelector))},t}(),ue=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.keySelector=n,i.hasKey=!1,"function"===typeof r&&(i.compare=r),i}return y(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var r=this.keySelector;e=r?r(t):t}catch(i){return this.destination.error(i)}var n=!1;if(this.hasKey)try{n=(0,this.compare)(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))},e}(k);var ce=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new he(t,this.predicate,this.inclusive))},t}(),he=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.predicate=r,i.inclusive=n,i.index=0,i}return y(e,t),e.prototype._next=function(t){var e,r=this.destination;try{e=this.predicate(t,this.index++)}catch(n){return void r.error(n)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var r=this.destination;Boolean(e)?r.next(t):(this.inclusive&&r.next(t),r.complete())},e}(k);function fe(t,e){return"function"===typeof e?function(r){return r.pipe(fe((function(r,n){return bt(t(r,n)).pipe(Qt((function(t,i){return e(r,t,n,i)})))})))}:function(e){return e.lift(new le(t))}}var le=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Ae(t,this.project))},t}(),Ae=function(t){function e(e,r){var n=t.call(this,e)||this;return n.project=r,n.index=0,n}return y(e,t),e.prototype._next=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(n){return void this.destination.error(n)}this._innerSub(e)},e.prototype._innerSub=function(t){var e=this.innerSubscription;e&&e.unsubscribe();var r=new St(this),n=this.destination;n.add(r),this.innerSubscription=Dt(t,r),this.innerSubscription!==r&&n.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=void 0},e.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t){this.destination.next(t)},e}(xt);function pe(t,e){return ae((function(r,n){return e?e(r[t],n[t]):r[t]===n[t]}))}function de(t,e,r){return void 0===r&&(r=It),function(n){var i,o=(i=t)instanceof Date&&!isNaN(+i),a=o?+t-r.now():Math.abs(t);return n.lift(new ge(a,o,e,r))}}var ge=function(){function t(t,e,r,n){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=r,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new ye(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),ye=function(t){function e(e,r,n,i,o){var a=t.call(this,e)||this;return a.absoluteTimeout=r,a.waitFor=n,a.withObservable=i,a.scheduler=o,a.scheduleTimeout(),a}return y(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(Dt(e,new St(t)))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=void 0,this.scheduler=null,this.withObservable=null},e}(xt);function me(t,e){return Rt(t,e,1)}var ve=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new be(t,this.value))},t}(),be=function(t){function e(e,r){var n=t.call(this,e)||this;return n.value=r,n}return y(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(k);function we(t){return void 0===t&&(t=-1),function(e){return e.lift(new Ie(t,e))}}var Ie=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Ee(t,this.count,this.source))},t}(),Ee=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.count=r,i.source=n,i}return y(e,t),e.prototype.error=function(e){if(!this.isStopped){var r=this.source,n=this.count;if(0===n)return t.prototype.error.call(this,e);n>-1&&(this.count=n-1),r.subscribe(this._unsubscribeAndRecycle())}},e}(k);var _e=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var r=new Be(t),n=Dt(this.notifier,new St(r));return n&&!r.seenValue?(r.add(n),e.subscribe(r)):r},t}(),Be=function(t){function e(e){var r=t.call(this,e)||this;return r.seenValue=!1,r}return y(e,t),e.prototype.notifyNext=function(){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(xt);var Ce=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Qe(t,this.selector,this.caught))},t}(),Qe=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.selector=r,i.caught=n,i}return y(e,t),e.prototype.error=function(e){if(!this.isStopped){var r=void 0;try{r=this.selector(e,this.caught)}catch(o){return void t.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var n=new St(this);this.add(n);var i=Dt(r,n);i!==n&&this.add(i)}},e}(xt);function Me(){return function(t){return t.lift(new ke(t))}}var ke=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new Se(t,r),i=e.subscribe(n);return n.closed||(n.connection=r.connect()),i},t}(),Se=function(t){function e(e,r){var n=t.call(this,e)||this;return n.connectable=r,n}return y(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},e}(k),xe=function(t){function e(e,r){var n=t.call(this)||this;return n.source=e,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return y(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new C).add(this.source.subscribe(new Re(this.getSubject(),this))),t.closed&&(this._connection=null,t=C.EMPTY)),t},e.prototype.refCount=function(){return Me()(this)},e}(N),De=function(){var t=xe.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),Re=function(t){function e(e,r){var n=t.call(this,e)||this;return n.connectable=r,n}return y(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(F);var Ne=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var r=this.selector,n=this.subjectFactory(),i=r(n).subscribe(t);return i.add(e.subscribe(n)),i},t}();function Pe(t,e,r,n){r&&"function"!==typeof r&&(n=r);var i="function"===typeof r?r:void 0,o=new ot(t,e,n);return function(t){return function(t,e){return function(r){var n;if(n="function"===typeof t?t:function(){return t},"function"===typeof e)return r.lift(new Ne(n,e));var i=Object.create(r,De);return i.source=r,i.subjectFactory=n,i}}((function(){return o}),i)(t)}}function Te(t,e){return function(r){for(var n=r,i=0;i0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Je(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function Ve(t,e){for(var r=0,n=e.length,i=t.length;r1&&"0x"===t.substr(r,2)))return[3,5];for(r+=2;r1&&"/*"===t.substr(r,2)))return[3,15];for(r+=2;r1&&"*/"===t.substr(r,2));)r++;if(r===t.length)throw new Xe(t,r,"Unterminated C style comment");return r+=2,e?[4,{t:ze.Comment,v:t.slice(i,r),first:i,last:r}]:[3,14];case 13:s.sent(),s.label=14;case 14:return[3,18];case 15:return"("!==n&&")"!==n&&"{"!==n&&"}"!==n&&";"!==n?[3,17]:(r++,[4,{t:n,v:n,first:i,last:r}]);case 16:return s.sent(),[3,18];case 17:throw new Xe(t,r,"Invalid character at offset "+r+": `"+n+"'");case 18:return[3,1];case 19:return[2]}}))}var nr,ir=Symbol("ref_contract");!function(t){t.Pt24m4xi="Pt24m4xiPbLDhVgVfABUjirbmda3yohdN82Sp9FeuAXJ4eV9otd",t.PsBABY5H="PsBABY5HQTSkA4297zNHfsZNKtxULfL18y95qb3m53QJiXGmrbU",t.PsBabyM1="PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS",t.PsCARTHA="PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb",t.PsDELPH1="PsDELPH1Kxsxt8f9eWbxQeRxkjfbxoqM52jvs5Y5fBxWWh4ifpo",t.PtEdo2Zk="PtEdo2ZkT9oKpimTah6x2embF25oss54njMuPzkJTEi5RqfdZFA",t.PsFLorena="PsFLorenaUUuikDWvMDr6fGBRG8kt3e3D3fHoXK1j1BFRxeSH4i",t.PtGRANADs="PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"}(nr||(nr={}));var or=nr.PsDELPH1,ar=function(t){function e(r,n){var i=t.call(this,n)||this;return i.prim=r,Object.setPrototypeOf(i,e.prototype),i}return je(e,t),e}(Error);function sr(t,e){var r,n;if(0===e&&void 0===t.args||(null===(r=t.args)||void 0===r?void 0:r.length)===e)return!0;throw new ar(t,"macro "+t.prim+" expects "+e+" arguments, was given "+(null===(n=t.args)||void 0===n?void 0:n.length))}function ur(t){if(void 0===t.annots)return!0;throw new ar(t,"unexpected annotation on macro "+t.prim+": "+t.annots)}function cr(t,e){if("int"in e)return!0;throw new ar(t,"macro "+t.prim+" expects int argument")}function hr(t,e,r,n){var i,o=0,a=0,s=[null,null];if(o===e.length)throw new ar(t,"unexpected end: "+t.prim);var u,c=e[o++];switch(c){case"P":var h=hr(t,e.slice(o),r.slice(a),n);i=l=h.r,o+=A=h.n,a+=p=h.an;break;case"A":a!==r.length&&(s[0]=r[a++]);break;default:throw new ar(t,t.prim+": unexpected character: "+c)}if(o===e.length)throw new ar(t,"unexpected end: "+t.prim);switch(c=e[o++]){case"P":var f=hr(t,e.slice(o),r.slice(a),n),l=f.r,A=f.n,p=f.an;u=l.map((function(t){var e=Je(t,2);return[e[0]+1,e[1]]})),o+=A,a+=p;break;case"I":a!==r.length&&(s[1]=r[a++]);break;default:throw new ar(t,t.prim+": unexpected character: "+c)}return{r:n(i,u,[0,s]),n:o,an:a}}function fr(t,e,r,n){var i=e[0];switch(i){case"A":return e.length>1?[{prim:"DUP"},{prim:"DIP",args:[[{prim:"CAR",annots:["@%%"]},fr(t,e.slice(1),[],n)]]},{prim:"CDR",annots:["@%%"]},{prim:"SWAP"},{prim:"PAIR",annots:Ve(["%@","%@"],Je(r))}]:n.a;case"D":return e.length>1?[{prim:"DUP"},{prim:"DIP",args:[[{prim:"CDR",annots:["@%%"]},fr(t,e.slice(1),[],n)]]},{prim:"CAR",annots:["@%%"]},{prim:"PAIR",annots:Ve(["%@","%@"],Je(r))}]:n.d;default:throw new ar(t,t.prim+": unexpected character: "+i)}}function lr(t){var e,r,n=[],i=[];if(void 0!==t)try{for(var o=qe(t),a=o.next();!a.done;a=o.next()){var s=a.value;(0!==s.length&&"%"===s[0]?n:i).push(s)}}catch(u){e={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return{fields:n,rest:i}}function Ar(t){var e=t.prim,r=t.annots,n=t.args;return Ye(Ye({prim:e},r&&{annots:r}),n&&{args:n})}var pr=/^P[PAI]{3,}R$/,dr=/^UNP[PAI]{2,}R$/,gr=/^C[AD]{2,}R$/,yr=/^SET_C[AD]+R$/,mr=/^MAP_C[AD]+R$/,vr=/^DI{2,}P$/,br=/^DU+P$/;var wr=function(t){function e(r,n){var i=t.call(this,n)||this;return i.token=r,Object.setPrototypeOf(i,e.prototype),i}return je(e,t),e}(Error),Ir=function(t){function e(r,n){var i=t.call(this,n)||this;return i.node=r,Object.setPrototypeOf(i,e.prototype),i}return je(e,t),e}(Error),Er=new wr(null,"Unexpected EOF");function _r(t){return t.t===ze.Ident&&("@"===t.v[0]||"%"===t.v[0]||":"===t.v[0])}var Br=new RegExp("^-?[0-9]+$"),Cr=new RegExp("^([0-9a-fA-F]{2})*$"),Qr=function(){function t(t){this.opt=t}return t.prototype.expand=function(t){var e,r;if(void 0===(null===(e=this.opt)||void 0===e?void 0:e.expandMacros)||(null===(r=this.opt)||void 0===r?void 0:r.expandMacros)){var n=function(t,e){var r=(null===e||void 0===e?void 0:e.protocol)||or;function n(t){return void 0!==t?[{prim:"RENAME",annots:t}]:[]}switch(t.prim){case"CMPEQ":case"CMPNEQ":case"CMPLT":case"CMPGT":case"CMPLE":case"CMPGE":if(sr(t,0))return[{prim:"COMPARE"},Ar({prim:t.prim.slice(3),annots:t.annots})];break;case"IFEQ":case"IFNEQ":case"IFLT":case"IFGT":case"IFLE":case"IFGE":if(sr(t,2))return[{prim:t.prim.slice(2)},Ar({prim:"IF",annots:t.annots,args:t.args})];break;case"IFCMPEQ":case"IFCMPNEQ":case"IFCMPLT":case"IFCMPGT":case"IFCMPLE":case"IFCMPGE":if(sr(t,2))return[{prim:"COMPARE"},{prim:t.prim.slice(5)},Ar({prim:"IF",annots:t.annots,args:t.args})];break;case"FAIL":if(sr(t,0)&&ur(t))return[{prim:"UNIT"},{prim:"FAILWITH"}];break;case"ASSERT":if(sr(t,0)&&ur(t))return[{prim:"IF",args:[[],[[{prim:"UNIT"},{prim:"FAILWITH"}]]]}];break;case"ASSERT_EQ":case"ASSERT_NEQ":case"ASSERT_LT":case"ASSERT_GT":case"ASSERT_LE":case"ASSERT_GE":if(sr(t,0)&&ur(t))return[{prim:t.prim.slice(7)},{prim:"IF",args:[[],[[{prim:"UNIT"},{prim:"FAILWITH"}]]]}];break;case"ASSERT_CMPEQ":case"ASSERT_CMPNEQ":case"ASSERT_CMPLT":case"ASSERT_CMPGT":case"ASSERT_CMPLE":case"ASSERT_CMPGE":if(sr(t,0)&&ur(t))return[[{prim:"COMPARE"},{prim:t.prim.slice(10)}],{prim:"IF",args:[[],[[{prim:"UNIT"},{prim:"FAILWITH"}]]]}];break;case"ASSERT_NONE":if(sr(t,0)&&ur(t))return[{prim:"IF_NONE",args:[[],[[{prim:"UNIT"},{prim:"FAILWITH"}]]]}];break;case"ASSERT_SOME":if(sr(t,0))return[{prim:"IF_NONE",args:[[[{prim:"UNIT"},{prim:"FAILWITH"}]],n(t.annots)]}];break;case"ASSERT_LEFT":if(sr(t,0))return[{prim:"IF_LEFT",args:[n(t.annots),[[{prim:"UNIT"},{prim:"FAILWITH"}]]]}];break;case"ASSERT_RIGHT":if(sr(t,0))return[{prim:"IF_LEFT",args:[[[{prim:"UNIT"},{prim:"FAILWITH"}]],n(t.annots)]}];break;case"IF_SOME":if(sr(t,2))return[Ar({prim:"IF_NONE",annots:t.annots,args:[t.args[1],t.args[0]]})];break;case"IF_RIGHT":if(sr(t,2))return[Ar({prim:"IF_LEFT",annots:t.annots,args:[t.args[1],t.args[0]]})];break;case"CAR":case"CDR":if(void 0===t.args)return t;if(sr(t,1)&&cr(t,t.args[0])){var i=parseInt(t.args[0].int,10);return Ar({prim:"GET",args:[{int:"CAR"===t.prim?String(2*i+1):String(2*i)}],annots:t.annots})}}if(pr.test(t.prim)&&sr(t,0)){var o=lr(t.annots),a=o.fields,s=o.rest,u=hr(t,t.prim.slice(1),a,(function(t,e,r){return Ve(Ve(Ve([],Je(t||[])),Je(e||[])),[r])})).r;return u.map((function(t,e){var r=Je(t,2),n=r[0],i=Ve(Ve([],Je(function(t,e){for(var r=t.length;r>0&&t[r-1]===e;)r--;return t.slice(0,r)}(r[1],null).map((function(t){return null===t?"%":t})))),Je(0===n&&e===u.length-1?s:[])),o=Ar({prim:"PAIR",annots:0!==i.length?i:void 0});return 0===n?o:{prim:"DIP",args:1===n?[[o]]:[{int:String(n)},[o]]}}))}if(dr.test(t.prim))if(r===nr.PtEdo2Zk||r===nr.PsFLorena||r===nr.PtGRANADs){if("UNPAIR"===t.prim)return t;if(sr(t,0))return hr(t,t.prim.slice(3),[],(function(t,e,r){return Ve(Ve([r],Je(e||[])),Je(t||[]))})).r.map((function(t){var e=Je(t,1)[0],r=Ar({prim:"UNPAIR"});return 0===e?r:{prim:"DIP",args:1===e?[[r]]:[{int:String(e)},[r]]}}))}else if(sr(t,0))return hr(t,t.prim.slice(3),t.annots||[],(function(t,e,r){return Ve(Ve([r],Je(e||[])),Je(t||[]))})).r.map((function(t){var e=Je(t,2),r=e[0],n=e[1],i=[{prim:"DUP"},Ar({prim:"CAR",annots:null!==n[0]?[n[0]]:void 0}),{prim:"DIP",args:[[Ar({prim:"CDR",annots:null!==n[1]?[n[1]]:void 0})]]}];return 0===r?i:{prim:"DIP",args:1===r?[[i]]:[{int:String(r)},[i]]}}));if(gr.test(t.prim)&&sr(t,0)){var c=Ve([],Je(t.prim.slice(1,t.prim.length-1)));return c.map((function(e,r){var n=r===c.length-1?t.annots:void 0;switch(e){case"A":return Ar({prim:"CAR",annots:n});case"D":return Ar({prim:"CDR",annots:n});default:throw new ar(t,"unexpected character: "+e)}}))}if(yr.test(t.prim)&&sr(t,0)){var h=lr(t.annots),f=(a=h.fields,h.rest);if(a.length>1)throw new ar(t,"unexpected annotation on macro "+t.prim+": "+a);var l=0!==a.length?{a:[{prim:"DUP"},{prim:"CAR",annots:a},{prim:"DROP"},{prim:"CDR",annots:["@%%"]},{prim:"SWAP"},{prim:"PAIR",annots:[a[0],"%@"]}],d:[{prim:"DUP"},{prim:"CDR",annots:a},{prim:"DROP"},{prim:"CAR",annots:["@%%"]},{prim:"PAIR",annots:["%@",a[0]]}]}:{a:[{prim:"CDR",annots:["@%%"]},{prim:"SWAP"},{prim:"PAIR",annots:["%","%@"]}],d:[{prim:"CAR",annots:["@%%"]},{prim:"PAIR",annots:["%@","%"]}]};return fr(t,t.prim.slice(5,t.prim.length-1),f,l)}if(mr.test(t.prim)&&sr(t,1)){if((a=lr(t.annots).fields).length>1)throw new ar(t,"unexpected annotation on macro "+t.prim+": "+a);return l={a:[{prim:"DUP"},{prim:"CDR",annots:["@%%"]},{prim:"DIP",args:[[Ar({prim:"CAR",annots:0!==a.length?["@"+a[0].slice(1)]:void 0}),t.args[0]]]},{prim:"SWAP"},{prim:"PAIR",annots:[0!==a.length?a[0]:"%","%@"]}],d:[{prim:"DUP"},Ar({prim:"CDR",annots:0!==a.length?["@"+a[0].slice(1)]:void 0}),t.args[0],{prim:"SWAP"},{prim:"CAR",annots:["@%%"]},{prim:"PAIR",annots:["%@",0!==a.length?a[0]:"%"]}]},fr(t,t.prim.slice(5,t.prim.length-1),[],l)}if(vr.test(t.prim)&&sr(t,1)){for(i=0;"I"===t.prim[1+i];)i++;return Ar({prim:"DIP",args:[{int:String(i)},t.args[0]]})}if(br.test(t.prim)){for(i=0;"U"===t.prim[1+i];)i++;if(r!==nr.PtEdo2Zk&&r!==nr.PsFLorena&&r!==nr.PtGRANADs){if(1===i){if(void 0===t.args)return t;sr(t,1)&&cr(t,t.args[0])&&(i=parseInt(t.args[0].int,10))}else sr(t,0);return 1===i?[Ar({prim:"DUP",annots:t.annots})]:2===i?[{prim:"DIP",args:[[Ar({prim:"DUP",annots:t.annots})]]},{prim:"SWAP"}]:[{prim:"DIP",args:[{int:String(i-1)},[Ar({prim:"DUP",annots:t.annots})]]},{prim:"DIG",args:[{int:String(i)}]}]}if(1===i)return t;if(sr(t,0))return Ar({prim:"DUP",args:[{int:String(i)}],annots:t.annots})}return t}(t,this.opt);return n!==t&&(n[Ge]=Ye(Ye({},t[Ge]||{first:0,last:0}),{macro:t})),n}return t},t.prototype.parseListExpr=function(t,e){var r,n,i,o={first:e.first,last:e.last},a="("===e.t;if(a){if((i=t.next()).done)throw Er;o.last=i.value.last}else i={value:e};if(i.value.t!==ze.Ident)throw new wr(i.value,"not an identifier: "+i.value.v);for(var s=((r={prim:i.value.v})[Ge]=o,r);;){var u=t.next();if(u.done){if(a)throw Er;break}if(")"===u.value.t){if(!a)throw new wr(u.value,"unexpected closing bracket");o.last=u.value.last;break}if(_r(u.value))s.annots=s.annots||[],s.annots.push(u.value.v),o.last=u.value.last;else{s.args=s.args||[];var c=this.parseExpr(t,u.value);o.last=(null===(n=c[Ge])||void 0===n?void 0:n.last)||o.last,s.args.push(c)}}return this.expand(s)},t.prototype.parseArgs=function(t,e){for(var r,n,i={first:e.first,last:e.last},o=((r={prim:e.v})[Ge]=i,r);;){var a=t.next();if(a.done||"}"===a.value.t||";"===a.value.t)return[o,a];if(_r(a.value))i.last=a.value.last,o.annots=o.annots||[],o.annots.push(a.value.v);else{var s=this.parseExpr(t,a.value);i.last=(null===(n=s[Ge])||void 0===n?void 0:n.last)||i.last,o.args=o.args||[],o.args.push(s)}}},t.prototype.parseSequenceExpr=function(t,e){var r,n,i={first:e.first,last:e.last},o=[];o[Ge]=i;for(var a="{"===e.t,s="{"===e.t?null:{value:e};;){if(null===s&&((s=t.next()).done||(i.last=s.value.last)),s.done){if(a)throw Er;return o}if("}"===s.value.t){if(a)return o;throw new wr(s.value,"unexpected closing bracket")}if(s.value.t===ze.Ident){var u=Je(this.parseArgs(t,s.value),2),c=u[0],h=u[1];i.last=(null===(r=c[Ge])||void 0===r?void 0:r.last)||i.last,o.push(this.expand(c)),s=h}else{var f=this.parseExpr(t,s.value);i.last=(null===(n=f[Ge])||void 0===n?void 0:n.last)||i.last,o.push(f),s=null}null===s&&((s=t.next()).done||(i.last=s.value.last)),s.done||";"!==s.value.t||(s=null)}},t.prototype.parseExpr=function(t,e){var r,n,i,o;switch(e.t){case ze.Ident:return this.expand(((r={prim:e.v})[Ge]={first:e.first,last:e.last},r));case ze.Number:return(n={int:e.v})[Ge]={first:e.first,last:e.last},n;case ze.String:return(i={string:JSON.parse(e.v)})[Ge]={first:e.first,last:e.last},i;case ze.Bytes:return(o={bytes:e.v.slice(2)})[Ge]={first:e.first,last:e.last},o;case"{":return this.parseSequenceExpr(t,e);default:return this.parseListExpr(t,e)}},t.prototype.parseSequence=function(t){if("string"!==typeof t)throw new TypeError("string type was expected, got "+typeof t+" instead");var e=rr(t),r=e.next();return r.done?null:this.parseSequenceExpr(e,r.value)},t.prototype.parseList=function(t){if("string"!==typeof t)throw new TypeError("string type was expected, got "+typeof t+" instead");var e=rr(t),r=e.next();return r.done?null:this.parseListExpr(e,r.value)},t.prototype.parseMichelineExpression=function(t){if("string"!==typeof t)throw new TypeError("string type was expected, got "+typeof t+" instead");var e=rr(t),r=e.next();return r.done?null:this.parseExpr(e,r.value)},t.prototype.parseScript=function(t){return this.parseSequence(t)},t.prototype.parseData=function(t){return this.parseList(t)},t.prototype.parseJSON=function(t){var e,r,n,i,o,a;if("object"!==typeof t)throw new TypeError("object type was expected, got "+typeof t+" instead");if(Array.isArray(t)){var s=[];try{for(var u=qe(t),c=u.next();!c.done;c=u.next()){var h=c.value;if(null===h||"object"!==typeof h)throw new Ir(h,"unexpected sequence element: "+h);s.push(this.parseJSON(h))}}catch(y){e={error:y}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return s}if("prim"in t){var f=t;if("string"===typeof f.prim&&(void 0===f.annots||Array.isArray(f.annots))&&(void 0===f.args||Array.isArray(f.args))){s={prim:f.prim};if(void 0!==f.annots){try{for(var l=qe(f.annots),A=l.next();!A.done;A=l.next()){if("string"!==typeof(g=A.value))throw new Ir(g,"string expected: "+g)}}catch(m){n={error:m}}finally{try{A&&!A.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}s.annots=f.annots}if(void 0!==f.args){s.args=[];try{for(var p=qe(f.args),d=p.next();!d.done;d=p.next()){var g;if(null===(g=d.value)||"object"!==typeof g)throw new Ir(g,"unexpected argument: "+g);s.args.push(this.parseJSON(g))}}catch(v){o={error:v}}finally{try{d&&!d.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}}return this.expand(s)}throw new Ir(t,"malformed prim expression: "+t)}if("string"in t){if("string"===typeof t.string)return{string:t.string};throw new Ir(t,"malformed string literal: "+t)}if("int"in t){if("string"===typeof t.int&&Br.test(t.int))return{int:t.int};throw new Ir(t,"malformed int literal: "+t)}if("bytes"in t){if("string"===typeof t.bytes&&Cr.test(t.bytes))return{bytes:t.bytes};throw new Ir(t,"malformed bytes literal: "+t)}throw new Ir(t,"unexpected object: "+t)},t}();!function(){function t(t,e){void 0===e&&(e=0),this.opt=t,this.lev=e}t.prototype.indent=function(t){var e;void 0===t&&(t=0);var r="";if(void 0!==(null===(e=this.opt)||void 0===e?void 0:e.indent))for(var n=this.lev+t;n>0;n--)r+=this.opt.indent;return r},Object.defineProperty(t.prototype,"lf",{get:function(){var t;return(null===(t=this.opt)||void 0===t?void 0:t.newline)||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lfsp",{get:function(){var t;return(null===(t=this.opt)||void 0===t?void 0:t.newline)||" "},enumerable:!1,configurable:!0}),t.prototype.down=function(e){return new t(this.opt,this.lev+e)}}();var Mr=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],kr=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998];function Sr(t){var e,r,n=(t.length+9)%64,i=0===n?0:64-n;if(t.length>268435455)throw new Error("sha256: message length is too big: "+t.length);var o=t.length<<3,a=Ve(Ve(Ve(Ve([],Je(t)),[128]),Je(new Array(i).fill(0))),[0,0,0,0,o>>24&255,o>>16&255,o>>8&255,255&o]);function s(t,e){return t>>>e|t<<32-e}for(var u=Ve([],Je(Mr)),c=new Array(64),h=new Array(8),f=0;f>>3,d=s(c[A-2],17)^s(c[A-2],19)^c[A-2]>>>10;c[A]=(0|d)+c[A-7]+p+c[A-16]|0,A++}for(var g=0;g<8;g++)h[g]=u[g];for(var y=0;y<64;y++){var m=s(h[0],2)^s(h[0],13)^s(h[0],22),v=s(h[4],6)^s(h[4],11)^s(h[4],25),b=h[7]+v+(h[4]&h[5]^~h[4]&h[6])+kr[y]+c[y]|0,w=m+(h[0]&h[1]^h[0]&h[2]^h[1]&h[2])|0;h[7]=h[6],h[6]=h[5],h[5]=h[4],h[4]=h[3]+b|0,h[3]=h[2],h[2]=h[1],h[1]=h[0],h[0]=b+w|0}for(var I=0;I<8;I++)u[I]=u[I]+h[I]|0}var E=[];try{for(var _=qe(u),B=_.next();!B.done;B=_.next()){var C=B.value;E.push(C>>24&255),E.push(C>>16&255),E.push(C>>8&255),E.push(255&C)}}catch(Q){e={error:Q}}finally{try{B&&!B.done&&(r=_.return)&&r.call(_)}finally{if(e)throw e.error}}return E}var xr=[0,1,2,3,4,5,6,7,8,-1,-1,-1,-1,-1,-1,-1,9,10,11,12,13,14,15,16,-1,17,18,19,20,21,-1,22,23,24,25,26,27,28,29,30,31,32,-1,-1,-1,-1,-1,-1,33,34,35,36,37,38,39,40,41,42,43,-1,44,45,46,47,48,49,50,51,52,53,54,55,56,57];function Dr(t,e){var r=t.charCodeAt(e)-49;if(r>=xr.length||-1===xr[r])throw new Error("Base58 decoding error: unexpected character at position "+e+": "+t[e]);return xr[r]}function Rr(t){var e=function(t){for(var e=[],r=0;r0;)e.push(0);return e.reverse()}(t);if(e.length<4)throw new Error("Base58Check decoding error: data is too short "+e.length);var r=e.slice(0,e.length-4),n=e.slice(e.length-4),i=Sr(Sr(r));if(n[0]!==i[0]||n[1]!==i[1]||n[2]!==i[2]||n[3]!==i[3])throw new Error("Base58Check decoding error: invalid checksum");return r}var Nr=function(t){function e(r,n){var i=t.call(this,n)||this;return i.val=r,Object.setPrototypeOf(i,e.prototype),i}return je(e,t),e}(Error);var Pr=function(t){function e(r,n,i){var o=t.call(this,r,i)||this;return void 0!==n&&(o.data=n),Object.setPrototypeOf(o,e.prototype),o}return je(e,t),e}(Nr),Tr=function(){function t(t){if(this.neg=!1,this.buf=[],void 0!==t)if("string"===typeof t)for(var e=0;e57)throw new Error("unexpected character in integer constant: "+t[e]);this.append(r-48)}}else t<0?(this.neg=!0,this.append(-t)):this.append(t)}return t.prototype.append=function(t){for(var e=0;0!==t||e=0&&this.buf[r]===t.buf[r];)r--;e=r<0?0:this.buf[r]=0}catch(e){return!1}}var Gr=/^(@%|@%%|%@|[@:%]([_0-9a-zA-Z][_0-9a-zA-Z\.%@]*)?)$/;function Hr(t,e){var r,n,i,o,a;if(Array.isArray(t))return{};if(void 0!==t.annots)try{for(var s=qe(t.annots),u=s.next();!u.done;u=s.next()){var c=u.value;if(0!==c.length){if(!Gr.test(c)||!(null===e||void 0===e?void 0:e.specialVar)&&("@%"===c||"@%%"===c)||!(null===e||void 0===e?void 0:e.specialFields)&&"%@"===c)throw new Nr(t,t.prim+": unexpected annotation: "+c);switch(c[0]){case"%":((null===e||void 0===e?void 0:e.emptyFields)||c.length>1)&&(i=i||[]).push(c);break;case":":c.length>1&&(o=o||[]).push(c);break;case"@":((null===e||void 0===e?void 0:e.emptyVar)||c.length>1)&&(a=a||[]).push(c)}}}}catch(h){r={error:h}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return{f:i,t:o,v:a}}var jr={BlockHash:[32,[1,52]],OperationHash:[32,[5,116]],OperationListHash:[32,[133,233]],OperationListListHash:[32,[29,159,109]],ProtocolHash:[32,[2,170]],ContextHash:[32,[79,199]],ED25519PublicKeyHash:[20,[6,161,159]],SECP256K1PublicKeyHash:[20,[6,161,161]],P256PublicKeyHash:[20,[6,161,164]],ContractHash:[20,[2,90,121]],CryptoboxPublicKeyHash:[16,[153,103]],ED25519Seed:[32,[13,15,58,7]],ED25519PublicKey:[32,[13,15,37,217]],SECP256K1SecretKey:[32,[17,162,224,201]],P256SecretKey:[32,[16,81,238,189]],ED25519EncryptedSeed:[56,[7,90,60,179,41]],SECP256K1EncryptedSecretKey:[56,[9,237,241,174,150]],P256EncryptedSecretKey:[56,[9,48,57,115,171]],SECP256K1PublicKey:[33,[3,254,226,86]],P256PublicKey:[33,[3,178,139,127]],SECP256K1Scalar:[33,[38,248,136]],SECP256K1Element:[33,[5,92,0]],ED25519SecretKey:[64,[43,246,78,7]],ED25519Signature:[64,[9,245,205,134,18]],SECP256K1Signature:[64,[13,115,101,19,63]],P256Signature:[64,[54,240,44,52]],GenericSignature:[64,[4,130,43]],ChainID:[4,[87,82,0]]};function Yr(t){for(var e,r,n=[],i=1;i>4&15).toString(16)+(15&t).toString(16)})).join("")}var Wr={ABS:!0,ADD:!0,ADDRESS:!0,AMOUNT:!0,AND:!0,APPLY:!0,BALANCE:!0,BLAKE2B:!0,CAR:!0,CDR:!0,CHAIN_ID:!0,CHECK_SIGNATURE:!0,COMPARE:!0,CONCAT:!0,CONS:!0,EDIV:!0,EQ:!0,EXEC:!0,FAILWITH:!0,GE:!0,GET_AND_UPDATE:!0,GT:!0,HASH_KEY:!0,IMPLICIT_ACCOUNT:!0,INT:!0,ISNAT:!0,JOIN_TICKETS:!0,KECCAK:!0,LE:!0,LEVEL:!0,LSL:!0,LSR:!0,LT:!0,MEM:!0,MUL:!0,NEG:!0,NEQ:!0,NEVER:!0,NOT:!0,NOW:!0,OR:!0,PACK:!0,PAIRING_CHECK:!0,READ_TICKET:!0,SAPLING_VERIFY_UPDATE:!0,SELF:!0,SELF_ADDRESS:!0,SENDER:!0,SET_DELEGATE:!0,SHA256:!0,SHA3:!0,SHA512:!0,SIZE:!0,SLICE:!0,SOME:!0,SOURCE:!0,SPLIT_TICKET:!0,SUB:!0,SWAP:!0,TICKET:!0,TOTAL_VOTING_POWER:!0,TRANSFER_TOKENS:!0,UNIT:!0,VOTING_POWER:!0,XOR:!0,RENAME:!0},Zr=Object.assign({},Wr,{CONTRACT:!0,CREATE_CONTRACT:!0,DIG:!0,DIP:!0,DROP:!0,DUG:!0,DUP:!0,EMPTY_BIG_MAP:!0,EMPTY_MAP:!0,EMPTY_SET:!0,GET:!0,IF:!0,IF_CONS:!0,IF_LEFT:!0,IF_NONE:!0,ITER:!0,LAMBDA:!0,LEFT:!0,LOOP:!0,LOOP_LEFT:!0,MAP:!0,NIL:!0,NONE:!0,PAIR:!0,PUSH:!0,RIGHT:!0,SAPLING_EMPTY_STATE:!0,UNPACK:!0,UNPAIR:!0,UPDATE:!0,CAST:!0}),$r={unit:!0,never:!0,bool:!0,int:!0,nat:!0,string:!0,chain_id:!0,bytes:!0,mutez:!0,key_hash:!0,key:!0,signature:!0,timestamp:!0,address:!0},tn=Object.assign({},$r,{or:!0,pair:!0,set:!0,big_map:!0,contract:!0,lambda:!0,list:!0,map:!0,operation:!0,option:!0,bls12_381_g1:!0,bls12_381_g2:!0,bls12_381_fr:!0,sapling_transaction:!0,sapling_state:!0,ticket:!0}),en=function(t){function e(r,n){var i=t.call(this,r,n)||this;return i.val=r,Object.setPrototypeOf(i,e.prototype),i}return je(e,t),e}(Nr);function rn(t){return"prim"in t}function nn(t){if(rn(t))return!0;throw new en(t,"prim expression expected")}function on(t){if(Array.isArray(t))return!0;throw new en(t,"sequence expression expected")}function an(t){if(function(t){return Array.isArray(t)||"prim"in t}(t))return!0;throw new en(t,"prim or sequence expression expected")}function sn(t){if("-"===t.int[0])throw new en(t,"natural number expected")}function un(t){if("int"in t)return!0;throw new en(t,"int literal expected")}function cn(t,e){var r;if(0===e&&void 0===t.args||(null===(r=t.args)||void 0===r?void 0:r.length)===e)return!0;throw new en(t,e+" arguments expected")}function hn(t){var e,r,n,i;if(Array.isArray(t)){try{for(var o=qe(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(!Array.isArray(s)&&!rn(s))throw new en(t,"sequence or prim expected");hn(s)}}catch(u){e={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return!0}if(nn(t)){if(Object.prototype.hasOwnProperty.call(Wr,t.prim))return cn(t,0),!0;switch(t.prim){case"DROP":case"PAIR":case"UNPAIR":case"DUP":case"UPDATE":case"GET":void 0!==t.args&&cn(t,1)&&un(t.args[0])&&sn(t.args[0]);break;case"DIG":case"DUG":case"SAPLING_EMPTY_STATE":cn(t,1)&&un(t.args[0])&&sn(t.args[0]);break;case"NONE":case"LEFT":case"RIGHT":case"NIL":case"CAST":cn(t,1)&&yn(t.args[0]);break;case"UNPACK":cn(t,1)&&ln(t.args[0]);break;case"CONTRACT":cn(t,1)&&dn(t.args[0]);break;case"IF_NONE":case"IF_LEFT":case"IF_CONS":case"IF":cn(t,2)&&(on(t.args[0])&&hn(t.args[0]),on(t.args[1])&&hn(t.args[1]));break;case"MAP":case"ITER":case"LOOP":case"LOOP_LEFT":cn(t,1)&&hn(t.args[0]);break;case"CREATE_CONTRACT":cn(t,1)&&bn(t.args[0]);break;case"DIP":if(2===(null===(n=t.args)||void 0===n?void 0:n.length))un(t.args[0])&&sn(t.args[0]),on(t.args[1])&&hn(t.args[1]);else{if(1!==(null===(i=t.args)||void 0===i?void 0:i.length))throw new en(t,"1 or 2 arguments expected");on(t.args[0])&&hn(t.args[0])}break;case"PUSH":cn(t,2)&&(An(t.args[0]),vn(t.args[1]));break;case"EMPTY_SET":cn(t,1)&&fn(t.args[0]);break;case"EMPTY_MAP":cn(t,2)&&(fn(t.args[0]),yn(t.args[1]));break;case"EMPTY_BIG_MAP":cn(t,2)&&(fn(t.args[0]),gn(t.args[1]));break;case"LAMBDA":cn(t,3)&&(yn(t.args[0]),yn(t.args[1]),on(t.args[2])&&hn(t.args[2]));break;default:throw new en(t,"instruction expected")}}return!0}function fn(t){if(an(t))if(Array.isArray(t)||"pair"===t.prim||"or"===t.prim||"option"===t.prim)mn(t,(function(t){return fn(t)}));else if(!Object.prototype.hasOwnProperty.call($r,t.prim))throw new en(t,t.prim+": type is not comparable");return!0}function ln(t){if(an(t)&&rn(t)){if(!Object.prototype.hasOwnProperty.call(tn,t.prim)||"big_map"===t.prim||"operation"===t.prim||"sapling_state"===t.prim||"ticket"===t.prim)throw new en(t,t.prim+": type can't be used inside PACK/UNPACK instructions");mn(t,(function(t){return ln(t)}))}return!0}function An(t){if(an(t)&&rn(t)){if(!Object.prototype.hasOwnProperty.call(tn,t.prim)||"big_map"===t.prim||"operation"===t.prim||"sapling_state"===t.prim||"ticket"===t.prim||"contract"===t.prim)throw new en(t,t.prim+": type can't be pushed");mn(t,(function(t){return An(t)}))}return!0}function pn(t){if(an(t)&&rn(t)){if(!Object.prototype.hasOwnProperty.call(tn,t.prim)||"operation"===t.prim||"contract"===t.prim)throw new en(t,t.prim+": type can't be used as part of a storage");mn(t,(function(t){return pn(t)}))}return!0}function dn(t){if(an(t)&&rn(t)){if(!Object.prototype.hasOwnProperty.call(tn,t.prim)||"operation"===t.prim)throw new en(t,t.prim+": type can't be used as part of a parameter");mn(t,(function(t){return dn(t)}))}return!0}function gn(t){if(an(t)&&rn(t)){if(!Object.prototype.hasOwnProperty.call(tn,t.prim)||"big_map"===t.prim||"operation"===t.prim||"sapling_state"===t.prim)throw new en(t,t.prim+": type can't be used inside a big_map");mn(t,(function(t){return gn(t)}))}return!0}function yn(t){if(an(t)&&rn(t)){if(!Object.prototype.hasOwnProperty.call(tn,t.prim))throw new en(t,"type expected");mn(t,(function(t){return yn(t)}))}return!0}function mn(t,e){if(Array.isArray(t)||"pair"===t.prim){var r=Array.isArray(t)?t:t.args;if(void 0===r||r.length<2)throw new en(t,"at least 2 arguments expected");return r.forEach((function(t){an(t)&&e(t)})),!0}switch(t.prim){case"option":case"list":cn(t,1)&&an(t.args[0])&&e(t.args[0]);break;case"contract":cn(t,1)&&dn(t.args[0]);break;case"or":cn(t,2)&&an(t.args[0])&&an(t.args[1])&&(e(t.args[0]),e(t.args[1]));break;case"lambda":cn(t,2)&&(yn(t.args[0]),yn(t.args[1]));break;case"set":cn(t,1)&&fn(t.args[0]);break;case"map":cn(t,2)&&an(t.args[0])&&an(t.args[1])&&(fn(t.args[0]),e(t.args[1]));break;case"big_map":cn(t,2)&&an(t.args[0])&&an(t.args[1])&&(fn(t.args[0]),gn(t.args[1]),e(t.args[1]));break;case"ticket":cn(t,1)&&an(t.args[0])&&fn(t.args[0]);break;case"sapling_state":case"sapling_transaction":cn(t,1)&&un(t.args[0]);break;default:cn(t,0)}return!0}function vn(t){var e,r,n,i;if("int"in t||"string"in t||"bytes"in t)return!0;if(Array.isArray(t)){var o=0;try{for(var a=qe(t),s=a.next();!s.done;s=a.next()){var u=s.value;rn(u)&&"Elt"===u.prim?(cn(u,2)&&(vn(u.args[0]),vn(u.args[1])),o++):vn(u)}}catch(f){e={error:f}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}if(0!==o&&o!==t.length)throw new en(t,"data entries and map elements can't be intermixed");return!0}if(!rn(t))throw new en(t,"data entry expected");switch(t.prim){case"Unit":case"True":case"False":case"None":cn(t,0);break;case"Pair":if(void 0===t.args||t.args.length<2)throw new en(t,"at least 2 arguments expected");try{for(var c=qe(t.args),h=c.next();!h.done;h=c.next()){vn(h.value)}}catch(l){n={error:l}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}break;case"Left":case"Right":case"Some":cn(t,1)&&vn(t.args[0]);break;default:if(!Object.prototype.hasOwnProperty.call(Zr,t.prim))throw new en(t,"data entry or instruction expected");hn(t)}return!0}function bn(t){var e,r;if(on(t)){var n={};try{for(var i=qe(t),o=i.next();!o.done;o=i.next()){var a=o.value;if(nn(a)){if("code"!==a.prim&&"parameter"!==a.prim&&"storage"!==a.prim)throw new en(t,"unexpected contract section: "+a.prim);if(a.prim in n)throw new en(t,"duplicate contract section: "+a.prim);if(n[a.prim]=!0,cn(a,1))switch(a.prim){case"code":on(a.args[0])&&hn(a.args[0]);break;case"parameter":dn(a.args[0]);break;case"storage":pn(a.args[0])}}}}catch(s){e={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}}return!0}function wn(t){return Object.prototype.hasOwnProperty.call(Zr,t.prim)}function In(t){var e,r;if(!Array.isArray(t))return!1;try{for(var n=qe(t),i=n.next();!i.done;i=n.next()){var o=i.value;if("prim"in o){if(wn(o))throw new Nr(t,"Instruction outside of a lambda: "+JSON.stringify(t));if("Elt"===o.prim)throw new Nr(t,"Elt item outside of a map literal: "+JSON.stringify(t))}}}catch(a){e={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!0}var En,_n=["parameter","storage","code","False","Elt","Left","None","Pair","Right","Some","True","Unit","PACK","UNPACK","BLAKE2B","SHA256","SHA512","ABS","ADD","AMOUNT","AND","BALANCE","CAR","CDR","CHECK_SIGNATURE","COMPARE","CONCAT","CONS","CREATE_ACCOUNT","CREATE_CONTRACT","IMPLICIT_ACCOUNT","DIP","DROP","DUP","EDIV","EMPTY_MAP","EMPTY_SET","EQ","EXEC","FAILWITH","GE","GET","GT","HASH_KEY","IF","IF_CONS","IF_LEFT","IF_NONE","INT","LAMBDA","LE","LEFT","LOOP","LSL","LSR","LT","MAP","MEM","MUL","NEG","NEQ","NIL","NONE","NOT","NOW","OR","PAIR","PUSH","RIGHT","SIZE","SOME","SOURCE","SENDER","SELF","STEPS_TO_QUOTA","SUB","SWAP","TRANSFER_TOKENS","SET_DELEGATE","UNIT","UPDATE","XOR","ITER","LOOP_LEFT","ADDRESS","CONTRACT","ISNAT","CAST","RENAME","bool","contract","int","key","key_hash","lambda","list","map","big_map","nat","option","or","pair","set","signature","string","bytes","mutez","timestamp","unit","operation","address","SLICE","DIG","DUG","EMPTY_BIG_MAP","APPLY","chain_id","CHAIN_ID","LEVEL","SELF_ADDRESS","never","NEVER","UNPAIR","VOTING_POWER","TOTAL_VOTING_POWER","KECCAK","SHA3","PAIRING_CHECK","bls12_381_g1","bls12_381_g2","bls12_381_fr","sapling_state","sapling_transaction","SAPLING_EMPTY_STATE","SAPLING_VERIFY_UPDATE","ticket","TICKET","READ_TICKET","SPLIT_TICKET","JOIN_TICKETS","GET_AND_UPDATE"],Bn=Object.assign.apply(Object,Ve([{}],Je(_n.map((function(t,e){var r;return(r={})[t]=e,r})))));!function(t){t[t.Int=0]="Int",t[t.String=1]="String",t[t.Sequence=2]="Sequence",t[t.Prim0=3]="Prim0",t[t.Prim0Annot=4]="Prim0Annot",t[t.Prim1=5]="Prim1",t[t.Prim1Annot=6]="Prim1Annot",t[t.Prim2=7]="Prim2",t[t.Prim2Annot=8]="Prim2Annot",t[t.Prim=9]="Prim",t[t.Bytes=10]="Bytes"}(En||(En={}));var Cn,Qn,Mn,kn=function(){function t(){this.buffer=[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this.buffer.length},enumerable:!1,configurable:!0}),t.prototype.writeBytes=function(t){var e;(e=this.buffer).push.apply(e,Ve([],Je(t.map((function(t){return 255&t})))))},t.prototype.writeUint8=function(t){var e=0|t;this.buffer.push(255&e)},t.prototype.writeUint16=function(t){var e=0|t;this.buffer.push(e>>8&255),this.buffer.push(255&e)},t.prototype.writeUint32=function(t){var e=0|t;this.buffer.push(e>>24&255),this.buffer.push(e>>16&255),this.buffer.push(e>>8&255),this.buffer.push(255&e)},t.prototype.writeInt8=function(t){this.writeUint8(t)},t.prototype.writeInt16=function(t){this.writeUint16(t)},t.prototype.writeInt32=function(t){this.writeUint32(t)},t}(),Sn=new Error("bounds out of range"),xn=function(){function t(t,e,r){void 0===e&&(e=0),void 0===r&&(r=t.length),this.buffer=t,this.idx=e,this.cap=r}return Object.defineProperty(t.prototype,"length",{get:function(){return this.cap-this.idx},enumerable:!1,configurable:!0}),t.prototype.readBytes=function(t){if(this.cap-this.idx>>0},t.prototype.readUint16=function(){if(this.cap-this.idx<2)throw Sn;return(this.buffer[this.idx++]<<8|this.buffer[this.idx++])>>>0},t.prototype.readUint32=function(){if(this.cap-this.idx<4)throw Sn;return(this.buffer[this.idx++]<<24|this.buffer[this.idx++]<<16|this.buffer[this.idx++]<<8|this.buffer[this.idx++])>>>0},t.prototype.readInt8=function(){if(this.cap-this.idx<1)throw Sn;return this.buffer[this.idx++]<<24>>24},t.prototype.readInt16=function(){if(this.cap-this.idx<2)throw Sn;return(this.buffer[this.idx++]<<8|this.buffer[this.idx++])<<16>>16},t.prototype.readInt32=function(){if(this.cap-this.idx<4)throw Sn;return this.buffer[this.idx++]<<24|this.buffer[this.idx++]<<16|this.buffer[this.idx++]<<8|this.buffer[this.idx++]},t}();function Dn(t){var e,r=t.readUint8();switch(r){case Qn.ED25519:e="ED25519PublicKeyHash";break;case Qn.SECP256K1:e="SECP256K1PublicKeyHash";break;case Qn.P256:e="P256PublicKeyHash";break;default:throw new Error("unknown public key hash tag: "+r)}return{type:e,hash:t.readBytes(20)}}function Rn(t){var e,r=t.readUint8();switch(r){case Cn.Implicit:e=Dn(t);break;case Cn.Originated:e={type:"ContractHash",hash:t.readBytes(20)},t.readBytes(1);break;default:throw new Error("unknown address tag: "+r)}if(0!==t.length){var n=new TextDecoder;e.entryPoint=n.decode(new Uint8Array(t.readBytes(t.length)))}return e}function Nn(t,e){var r;switch(t.type){case"ED25519PublicKeyHash":r=Qn.ED25519;break;case"SECP256K1PublicKeyHash":r=Qn.SECP256K1;break;case"P256PublicKeyHash":r=Qn.P256;break;default:throw new Error("unexpected address type: "+t.type)}e.writeUint8(r),e.writeBytes(Array.from(t.hash))}function Pn(t){var e,r,n=t.readUint8();switch(n){case Mn.ED25519:r="ED25519PublicKey",e=32;break;case Mn.SECP256K1:r="SECP256K1PublicKey",e=33;break;case Mn.P256:r="P256PublicKey",e=33;break;default:throw new Error("unknown public key tag: "+n)}return{type:r,publicKey:t.readBytes(e)}}function Tn(t,e,r){var n,i,o,a,s,u,c,h,f=Je(r(t),2),l=f[0],A=f[1];if(Array.isArray(l)){var p=new kn;try{for(var d=qe(l),g=d.next();!g.done;g=d.next()){var y=g.value;if((S=A.next()).done)throw new Error("REPORT ME: iterator is done");Tn(y,p,S.value)}}catch(x){n={error:x}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}return e.writeUint8(En.Sequence),e.writeUint32(p.length),void e.writeBytes(p.buffer)}if("string"in l){var m=(new TextEncoder).encode(l.string);return e.writeUint8(En.String),e.writeUint32(m.length),void e.writeBytes(Array.from(m))}if("int"in l){e.writeUint8(En.Int);var v=BigInt(l.int),b=v<0;b&&(v=-v);var w=0;do{var I=0===w?BigInt(6):BigInt(7),E=v&(BigInt(1)<>=I)&&(E|=BigInt(128)),0===w&&b&&(E|=BigInt(64)),e.writeUint8(Number(E)),w++}while(v)}else{if("bytes"in l){m=function(t){for(var e=[],r=0;r=3&&e.writeUint32(0)}}!function(t){t[t.Implicit=0]="Implicit",t[t.Originated=1]="Originated"}(Cn||(Cn={})),function(t){t[t.ED25519=0]="ED25519",t[t.SECP256K1=1]="SECP256K1",t[t.P256=2]="P256"}(Qn||(Qn={})),function(t){t[t.ED25519=0]="ED25519",t[t.SECP256K1=1]="SECP256K1",t[t.P256=2]="P256"}(Mn||(Mn={}));var On=function(t){return"prim"in t&&("Left"===t.prim||"Right"===t.prim)},Fn=function(t){return"prim"in t&&("Some"===t.prim||"None"===t.prim)},Un=function t(e){if(qr(e))return function(r){if(!Jr(r))throw new Pr(e,r,"pair expected: "+JSON.stringify(r));In(r);var n=Kr("pair",e);return[Kr("Pair",r),function(){var e,r,i,o,a,s;return Ke(this,(function(u){switch(u.label){case 0:u.trys.push([0,5,6,7]),e=qe(n.args),r=e.next(),u.label=1;case 1:return r.done?[3,4]:(i=r.value,[4,t(i)]);case 2:u.sent(),u.label=3;case 3:return r=e.next(),[3,1];case 4:return[3,7];case 5:return o=u.sent(),a={error:o},[3,7];case 6:try{r&&!r.done&&(s=e.return)&&s.call(e)}finally{if(a)throw a.error}return[7];case 7:return[2]}}))}()]};switch(e.prim){case"or":return function(r){if(!On(r))throw new Pr(e,r,"or expected: "+JSON.stringify(r));return[r,function(){return Ke(this,(function(n){switch(n.label){case 0:return[4,t(e.args["Left"===r.prim?0:1])];case 1:return n.sent(),[2]}}))}()]};case"option":return function(r){if(!Fn(r))throw new Pr(e,r,"option expected: "+JSON.stringify(r));return[r,function(){return Ke(this,(function(n){switch(n.label){case 0:return"Some"!==r.prim?[3,2]:[4,t(e.args[0])];case 1:n.sent(),n.label=2;case 2:return[2]}}))}()]};case"list":case"set":return function(r){if(!Array.isArray(r))throw new Pr(e,r,e.prim+" expected: "+JSON.stringify(r));return[r,function(){var n,i,o,a,s;return Ke(this,(function(u){switch(u.label){case 0:u.trys.push([0,5,6,7]),n=qe(r),i=n.next(),u.label=1;case 1:return i.done?[3,4]:[4,t(e.args[0])];case 2:u.sent(),u.label=3;case 3:return i=n.next(),[3,1];case 4:return[3,7];case 5:return o=u.sent(),a={error:o},[3,7];case 6:try{i&&!i.done&&(s=n.return)&&s.call(n)}finally{if(a)throw a.error}return[7];case 7:return[2]}}))}()]};case"map":return function(r){if(!Array.isArray(r))throw new Pr(e,r,"map expected: "+JSON.stringify(r));return[r,function(){var n,i,o,a,s;return Ke(this,(function(u){switch(u.label){case 0:u.trys.push([0,5,6,7]),n=qe(r),i=n.next(),u.label=1;case 1:return i.done?[3,4]:[4,function(r){if(!("prim"in r)||"Elt"!==r.prim)throw new Pr(e,r,"map element expected: "+JSON.stringify(r));return[r,function(){var r,n,i,o,a,s;return Ke(this,(function(u){switch(u.label){case 0:u.trys.push([0,5,6,7]),r=qe(e.args),n=r.next(),u.label=1;case 1:return n.done?[3,4]:(i=n.value,[4,t(i)]);case 2:u.sent(),u.label=3;case 3:return n=r.next(),[3,1];case 4:return[3,7];case 5:return o=u.sent(),a={error:o},[3,7];case 6:try{n&&!n.done&&(s=r.return)&&s.call(r)}finally{if(a)throw a.error}return[7];case 7:return[2]}}))}()]}];case 2:u.sent(),u.label=3;case 3:return i=n.next(),[3,1];case 4:return[3,7];case 5:return o=u.sent(),a={error:o},[3,7];case 6:try{i&&!i.done&&(s=n.return)&&s.call(n)}finally{if(a)throw a.error}return[7];case 7:return[2]}}))}()]};case"chain_id":return function(t){if(!("bytes"in t)&&!("string"in t))throw new Pr(e,t,"chain id expected: "+JSON.stringify(t));var r;if("string"in t){var n=Yr(t.string,"ChainID");if(null===n)throw new Pr(e,t,"chain id base58 expected: "+t.string);r={bytes:Xr(n[1])}}else r=t;return[r,[][Symbol.iterator]()]};case"signature":return function(t){if(!("bytes"in t)&&!("string"in t))throw new Pr(e,t,"signature expected: "+JSON.stringify(t));var r;if("string"in t){var n=Yr(t.string,"ED25519Signature","SECP256K1Signature","P256Signature","GenericSignature");if(null===n)throw new Pr(e,t,"signature base58 expected: "+t.string);r={bytes:Xr(n[1])}}else r=t;return[r,[][Symbol.iterator]()]};case"key_hash":return function(t){if(!("bytes"in t)&&!("string"in t))throw new Pr(e,t,"key hash expected: "+JSON.stringify(t));var r;if("string"in t){var n=Yr(t.string,"ED25519PublicKeyHash","SECP256K1PublicKeyHash","P256PublicKeyHash");if(null===n)throw new Pr(e,t,"key hash base58 expected: "+t.string);var i=new kn;Nn({type:n[0],hash:n[1]},i),r={bytes:Xr(i.buffer)}}else r=t;return[r,[][Symbol.iterator]()]};case"key":return function(t){if(!("bytes"in t)&&!("string"in t))throw new Pr(e,t,"public key expected: "+JSON.stringify(t));var r;if("string"in t){var n=Yr(t.string,"ED25519PublicKey","SECP256K1PublicKey","P256PublicKey");if(null===n)throw new Pr(e,t,"public key base58 expected: "+t.string);var i=new kn;!function(t,e){var r;switch(t.type){case"ED25519PublicKey":r=Mn.ED25519;break;case"SECP256K1PublicKey":r=Mn.SECP256K1;break;case"P256PublicKey":r=Mn.P256;break;default:throw new Error("unexpected public key type: "+t.type)}e.writeUint8(r),e.writeBytes(Array.from(t.publicKey))}({type:n[0],publicKey:n[1]},i),r={bytes:Xr(i.buffer)}}else r=t;return[r,[][Symbol.iterator]()]};case"address":return function(t){if(!("bytes"in t)&&!("string"in t))throw new Pr(e,t,"address expected: "+JSON.stringify(t));var r;if("string"in t){var n=t.string.split("%"),i=Yr(n[0],"ED25519PublicKeyHash","SECP256K1PublicKeyHash","P256PublicKeyHash","ContractHash");if(null===i)throw new Pr(e,t,"address base58 expected: "+t.string);var o=new kn;!function(t,e){if("ContractHash"===t.type?(e.writeUint8(Cn.Originated),e.writeBytes(Array.from(t.hash)),e.writeUint8(0)):(e.writeUint8(Cn.Implicit),Nn(t,e)),void 0!==t.entryPoint&&""!==t.entryPoint&&"default"!==t.entryPoint){var r=(new TextEncoder).encode(t.entryPoint);e.writeBytes(Array.from(r))}}({type:i[0],hash:i[1],entryPoint:n.length>1?n[1]:void 0},o),r={bytes:Xr(o.buffer)}}else r=t;return[r,[][Symbol.iterator]()]};case"timestamp":return function(t){if(!("string"in t)&&!("int"in t))throw new Pr(e,t,"timestamp expected: "+JSON.stringify(t));var r;if("string"in t){var n=zr(t);if(null===n)throw new Pr(e,t,"can't parse date: "+t.string);r={int:String(Math.floor(n.getTime()/1e3))}}else r=t;return[r,[][Symbol.iterator]()]};default:return Gn}},Ln=function(t){return"prim"in t&&"PUSH"===t.prim},Gn=function t(e){return Ln(e)?(hn(e),[e,function(){return Ke(this,(function(r){switch(r.label){case 0:return[4,t];case 1:return r.sent(),[4,Un(e.args[0])];case 2:return r.sent(),[2]}}))}()]):[e,function(){return Ke(this,(function(e){switch(e.label){case 0:return[4,t];case 1:return e.sent(),[3,0];case 2:return[2]}}))}()]};function Hn(t,e){var r=new kn;return r.writeUint8(5),Tn(t,r,void 0!==e?Un(e):Gn),r.buffer}var jn=function(t){function e(r,n,i){var o=t.call(this,r,i)||this;return o.stackState=n,Object.setPrototypeOf(o,e.prototype),o}return je(e,t),e}(Nr);function Yn(t){return Array.isArray(t)?"pair":t.prim}function Kn(t){return"prim"in t?t.args:t}function qn(t,e,r){if(void 0===r&&(r=!1),Yn(t)!==Yn(e))throw new Pr(t,void 0,"types mismatch: "+Yn(t)+" != "+Yn(e));var n=[Hr(t),Hr(e)];if(n[0].t&&n[1].t&&n[0].t[0]!==n[1].t[0])throw new Pr(t,void 0,Yn(t)+": type names mismatch: "+n[0].t[0]+" != "+n[1].t[0]);if(r&&n[0].f&&n[1].f&&n[0].f[0]!==n[1].f[0])throw new Pr(t,void 0,Yn(t)+": field names mismatch: "+n[0].f[0]+" != "+n[1].f);if(qr(t)){var i=Kr("pair",t),o=Kr("pair",e);return qn(i.args[0],o.args[0],!0),void qn(i.args[1],o.args[1],!0)}switch(t.prim){case"option":case"list":case"contract":case"set":case"ticket":qn(t.args[0],e.args[0]);break;case"or":qn(t.args[0],e.args[0],!0),qn(t.args[1],e.args[1],!0);break;case"lambda":case"map":case"big_map":qn(t.args[0],e.args[0]),qn(t.args[1],e.args[1]);break;case"sapling_state":case"sapling_transaction":if(parseInt(t.args[0].int,10)!==parseInt(e.args[0].int,10))throw new Pr(t,void 0,Yn(t)+": type argument mismatch: "+t.args[0].int+" != "+e.args[0].int)}}function Jn(t,e){if(t.length!==e.length)throw new Pr(t,void 0,"stack length mismatch: "+t.length+" != "+e.length);for(var r=0;r1)throw new Pr(t,void 0,t.prim+": at most one type annotation allowed: "+t.annots);if(e){if(((null===(s=c.f)||void 0===s?void 0:s.length)||0)>1)throw new Pr(t,void 0,t.prim+": at most one field annotation allowed: "+t.annots)}else if(((null===(u=c.f)||void 0===u?void 0:u.length)||0)>0)throw new Pr(t,void 0,t.prim+": field annotations aren't allowed: "+t.annots)}if(qr(t)){var h=Kn(t);try{for(var f=qe(h),l=f.next();!l.done;l=f.next()){Vn(l.value,!0)}}catch(d){r={error:d}}finally{try{l&&!l.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}}else switch(t.prim){case"option":case"list":case"contract":case"set":Vn(t.args[0]);break;case"or":try{for(var A=qe(t.args),p=A.next();!p.done;p=A.next()){Vn(p.value,!0)}}catch(g){i={error:g}}finally{try{p&&!p.done&&(o=A.return)&&o.call(A)}finally{if(i)throw i.error}}break;case"lambda":case"map":case"big_map":Vn(t.args[0]),Vn(t.args[1])}}function zn(t,e,r){if(qr(t)){if(Jr(e)&&Jr(r)){In(e),In(r);var n=Kr("pair",t),i=Kr("Pair",e),o=Kr("Pair",r);return 0!==(u=zn(n.args[0],i.args[0],o.args[0]))?u:zn(n.args[0],i.args[1],o.args[1])}}else switch(t.prim){case"int":case"nat":case"mutez":if("int"in e&&"int"in r)return new Tr(e.int).cmp(new Tr(r.int));break;case"string":if("string"in e&&"string"in r)return(u=e.string.localeCompare(r.string))<0?-1:u>0?1:0;break;case"bytes":if("bytes"in e&&"bytes"in r){var a=Or(e.bytes),s=Or(r.bytes);if(null!==a&&null!==s)return Fr(a,s)}break;case"bool":if("prim"in e&&"prim"in r&&("True"===e.prim||"False"===e.prim)&&("True"===r.prim||"False"===r.prim))return e.prim===r.prim?0:"False"===e.prim?-1:1;break;case"key":case"key_hash":case"address":case"signature":case"chain_id":if(("string"in e||"bytes"in e)&&("string"in r||"bytes"in r))return Fr("string"in e?Rr(e.string):Or(e.bytes)||[],"string"in r?Rr(r.string):Or(r.bytes)||[]);break;case"timestamp":if(("string"in e||"int"in e)&&("string"in r||"int"in r)){var u;a=zr(e),s=zr(r);if(null!==a&&null!==s)return(u=a.valueOf()-s.valueOf())<0?-1:u>0?1:0}break;case"unit":if("prim"in e&&"prim"in r&&"Unit"===e.prim&&"Unit"===r.prim)return 0}throw new Pr(t,void 0,Yn(t)+": not comparable values: "+JSON.stringify(e)+", "+JSON.stringify(r))}function Xn(t){var e,r;if(!Array.isArray(t))return!1;try{for(var n=qe(t),i=n.next();!i.done;i=n.next()){var o=i.value;if(!(Array.isArray(o)&&Xn(o)||"prim"in o&&wn(o)))return!1}}catch(a){e={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!0}function Wn(t,e,r){var n,i,o,a;if(qr(e)){if(Jr(t)){In(t);var s=Kr("Pair",t),u=Kr("pair",e);return Wn(s.args[0],u.args[0],r),void Wn(s.args[1],u.args[1],r)}throw new Pr(e,t,"pair expected: "+JSON.stringify(t))}switch(e.prim){case"int":if("int"in t&&Ur(t.int))return;throw new Pr(e,t,"integer value expected: "+JSON.stringify(t));case"nat":case"mutez":if("int"in t&&Lr(t.int))return;throw new Pr(e,t,"natural value expected: "+JSON.stringify(t));case"string":if("string"in t)return;throw new Pr(e,t,"string value expected: "+JSON.stringify(t));case"bytes":case"bls12_381_g1":case"bls12_381_g2":if("bytes"in t&&null!==Or(t.bytes))return;throw new Pr(e,t,"bytes value expected: "+JSON.stringify(t));case"bool":if("prim"in t&&("True"===t.prim||"False"===t.prim))return;throw new Pr(e,t,"boolean value expected: "+JSON.stringify(t));case"key_hash":if("string"in t&&null!==Yr(t.string,"ED25519PublicKeyHash","SECP256K1PublicKeyHash","P256PublicKeyHash"))return;if("bytes"in t)try{return void function(t){var e=Or(t.bytes);if(null===e)throw new Error("can't parse bytes: \""+t.bytes+'"');Dn(new xn(new Uint8Array(e)))}(t)}catch(m){}throw new Pr(e,t,"key hash expected: "+JSON.stringify(t));case"timestamp":if(("string"in t||"int"in t)&&null!==zr(t))return;throw new Pr(e,t,"timestamp expected: "+JSON.stringify(t));case"address":if("string"in t){var c=t.string,h=t.string.indexOf("%");if(h>=0&&(c=t.string.slice(0,h)),null!==Yr(c,"ED25519PublicKeyHash","SECP256K1PublicKeyHash","P256PublicKeyHash","ContractHash"))return}else if("bytes"in t)try{return void function(t){var e=Or(t.bytes);if(null===e)throw new Error("can't parse bytes: \""+t.bytes+'"');Rn(new xn(new Uint8Array(e)))}(t)}catch(m){}throw new Pr(e,t,"address expected: "+JSON.stringify(t));case"key":if("string"in t&&null!==Yr(t.string,"ED25519PublicKey","SECP256K1PublicKey","P256PublicKey"))return;if("bytes"in t)try{return void function(t){var e=Or(t.bytes);if(null===e)throw new Error("can't parse bytes: \""+t.bytes+'"');Pn(new xn(new Uint8Array(e)))}(t)}catch(m){}throw new Pr(e,t,"public key expected: "+JSON.stringify(t));case"unit":if("prim"in t&&"Unit"===t.prim)return;throw new Pr(e,t,"unit value expected: "+JSON.stringify(t));case"signature":if("bytes"in t||"string"in t&&null!==Yr(t.string,"ED25519Signature","SECP256K1Signature","P256Signature","GenericSignature"))return;throw new Pr(e,t,"signature expected: "+JSON.stringify(t));case"chain_id":if("bytes"in t||"string"in t)if(null!==("string"in t?Rr(t.string):Or(t.bytes)))return;throw new Pr(e,t,"chain id expected: "+JSON.stringify(t));case"operation":throw new Pr(e,t,"operation type can't be represented as a literal value");case"contract":throw new Pr(e,t,"contract type can't be represented as a literal value");case"option":if("prim"in t){if("None"===t.prim)return;if("Some"===t.prim)return void Wn(t.args[0],e.args[0],r)}throw new Pr(e,t,"option expected: "+JSON.stringify(t));case"list":case"set":if(In(t)){var f=void 0;try{for(var l=qe(t),A=l.next();!A.done;A=l.next()){if(Wn(y=A.value,e.args[0],r),"set"===e.prim)if(void 0===f)f=y;else if(zn(e.args[0],f,y)>0)throw new Pr(e,t,"set elements must be ordered: "+JSON.stringify(t))}}catch(v){n={error:v}}finally{try{A&&!A.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return}throw new Pr(e,t,e.prim+" expected: "+JSON.stringify(t));case"or":if("prim"in t){if("Left"===t.prim)return void Wn(t.args[0],e.args[0],r);if("Right"===t.prim)return void Wn(t.args[0],e.args[1],r)}throw new Pr(e,t,"union (or) expected: "+JSON.stringify(t));case"lambda":if(Xn(t)){var p=Zn(t,[e.args[0]],r);if("failed"in p)throw new Pr(e,t,"function is failed with error type: "+p.failed);if(1!==p.length)throw new Pr(e,t,"function must return a value");return void qn(e.args[1],p[0])}throw new Pr(e,t,"function expected: "+JSON.stringify(t));case"map":case"big_map":if(Array.isArray(t)){f=void 0;try{for(var d=qe(t),g=d.next();!g.done;g=d.next()){var y;if(!("prim"in(y=g.value))||"Elt"!==y.prim)throw new Pr(e,t,"map elements expected: "+JSON.stringify(t));if(Wn(y.args[0],e.args[0],r),Wn(y.args[1],e.args[1],r),void 0===f)f=y;else if(zn(e.args[0],f.args[0],y.args[0])>0)throw new Pr(e,t,"map elements must be ordered: "+JSON.stringify(t))}}catch(b){o={error:b}}finally{try{g&&!g.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}return}throw new Pr(e,t,e.prim+" expected: "+JSON.stringify(t));case"bls12_381_fr":if("int"in t&&Ur(t.int)||"bytes"in t&&null!==Or(t.bytes))return;throw new Pr(e,t,"BLS12-381 element expected: "+JSON.stringify(t));case"sapling_state":if(Array.isArray(t))return;throw new Pr(e,t,"sapling state expected: "+JSON.stringify(t));case"ticket":return void Wn(t,{prim:"pair",args:[{prim:"address"},e.args[0],{prim:"nat"}]},r);default:throw new Pr(e,t,"unexpected type: "+Yn(e))}}function Zn(t,e,r){var n=(null===r||void 0===r?void 0:r.protocol)||or;if(Array.isArray(t))return function(t,e,r){var n,i,o=e,a=e,s=0;try{for(var u=qe(t),c=u.next();!c.done;c=u.next()){var h=Zn(c.value,a,r);if(o=h,"failed"in h)break;a=h,s++}}catch(l){n={error:l}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}if("failed"in o&&s!==t.length-1)throw new jn(t,o,"FAIL must appear in a tail position");if(void 0!==(null===r||void 0===r?void 0:r.traceCallback)){var f={op:t,in:e,out:o};r.traceCallback(f)}return o}(t,e,r);var i=t;function o(t){for(var r,n,o=[],a=1;a1,emptyVar:void 0!==t.v&&t.v>1})),o=function(t,r,n){if(t&&t.length>(r||0))throw new jn(i,e,i.prim+": at most "+(r||0)+" "+n+" annotations allowed")};return o(n.f,t.f,"field"),o(n.t,t.t,"type"),o(n.v,t.v,"variable"),n}function y(t,e){var r=t,n=Array.isArray(r)?{prim:"pair",args:r}:r,i=u(n),o=void 0!==e.v||void 0!==e.t||void 0!==e.f?Ve(Ve(Ve([],Je((null===e.v?i.v:e.v)||[])),Je((null===e.t?i.t:e.t)||[])),Je((null===e.f?i.f:e.f)||[])):void 0;n.annots;var a=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i0?e+1:1)},N=x.map((function(t,e){var r,n=u(t);return y(t,{v:null,t:null,f:D.f&&D.f.length>e&&"%"!==D.f[e]?"%@"===D.f[e]?n.v?["%"+R((null===(r=n.v)||void 0===r?void 0:r[0])||"")]:void 0:[D.f[e]]:void 0})}));return Ve([y({prim:"pair",args:N},{t:D.t,v:D.v})],Je(e.slice(L)));case"UNPAIR":if((L=t.args?parseInt(t.args[0].int,10):2)<2)throw new jn(t,e,"UNPAIR "+L+" is forbidden");var P=o(0,["pair"])[0],T=g({f:2,v:2},{specialVar:!0});return Ve(Ve([],Je(b(P,L).map((function(t,e){return v(P,t,T,e,0===e?"car":"cdr")})))),Je(e.slice(1)));case"CAR":case"CDR":var O=Kr("pair",o(0,["pair"])[0]);return Ve([v(O,O.args["CAR"===t.prim?0:1],q=g({f:1,v:1},{specialVar:!0}),0,t.prim.toLocaleLowerCase())],Je(e.slice(1)));case"CONS":var F=o(0,null,["list"]);return h(F[0],F[1].args[0]),Ve([m({prim:"list",args:[F[1].args[0]]})],Je(e.slice(2)));case"SIZE":return o(0,["string","list","set","map","bytes"]),Ve([m({prim:"nat"})],Je(e.slice(1)));case"MEM":var U=o(0,null,["set","map","big_map"]);return f(U[0]),h(U[0],U[1].args[0]),Ve([m({prim:"bool"})],Je(e.slice(2)));case"GET":if(t.args){var L=parseInt(t.args[0].int,10);return Ve([m(w(o(0,["pair"])[0],L))],Je(e.slice(1)))}var G=o(0,null,["map","big_map"]);return f(G[0]),h(G[0],G[1].args[0]),Ve([m({prim:"option",args:[G[1].args[1]]})],Je(e.slice(2)));case"UPDATE":if(t.args){L=parseInt(t.args[0].int,10);var H=o(0,null,["pair"]);return Ve([m(I(H[1],H[0],L))],Je(e.slice(2)))}var j=o(0,null,["bool","option"]);if(f(j[0]),"bool"===j[1].prim){var Y=o(2,["set"]);return h(j[0],Y[0].args[0]),Ve([m({prim:"set",args:[y(j[0],{t:null})]})],Je(e.slice(3)))}var K=o(2,["map","big_map"]);return h(j[0],K[0].args[0]),"map"===K[0].prim?Ve([m({prim:"map",args:[y(j[0],{t:null}),y(j[1].args[0],{t:null})]})],Je(e.slice(3))):(d(j[1].args[0]),Ve([m({prim:"big_map",args:[y(j[0],{t:null}),y(j[1].args[0],{t:null})]})],Je(e.slice(3))));case"GET_AND_UPDATE":var q=g({v:2}),J=o(0,null,["option"],["map","big_map"]);f(J[0]),h(J[0],J[2].args[0]),h(J[1].args[0],J[2].args[1]);var V=null===(s=q.v)||void 0===s?void 0:s.map((function(t){return"@"!==t?[t]:void 0}));return"map"===J[2].prim?Ve([y({prim:"option",args:[J[2].args[1]]},{v:null===V||void 0===V?void 0:V[0]}),y({prim:"map",args:[y(J[0],{t:null}),y(J[1].args[0],{t:null})]},{v:null===V||void 0===V?void 0:V[1]})],Je(e.slice(3))):(d(J[1].args[0]),Ve([y({prim:"option",args:[J[2].args[1]]},{v:null===V||void 0===V?void 0:V[0]}),y({prim:"big_map",args:[y(J[0],{t:null}),y(J[1].args[0],{t:null})]},{v:null===V||void 0===V?void 0:V[1]})],Je(e.slice(3))));case"EXEC":var z=o(0,null,["lambda"]);return h(z[0],z[1].args[0]),Ve([m(z[1].args[1])],Je(e.slice(2)));case"APPLY":var X=o(0,null,["lambda"]);if(A(X[0]),p(X[0]),!qr(X[1].args[0]))throw new jn(t,e,t.prim+": function's argument must be a pair: "+Yn(X[1].args[0]));var W=X[1].args[0];return h(X[0],Kn(W)[0]),Ve([m({prim:"lambda",args:[Kn(W)[1],X[1].args[1]]})],Je(e.slice(2)));case"FAILWITH":var Z=o(0,null)[0];return n!==nr.PtEdo2Zk&&n!==nr.PsFLorena&&n!==nr.PtGRANADs||l(Z),{failed:Z};case"NEVER":return o(0,["never"]),{failed:{prim:"never"}};case"RENAME":return Ve([m(o(0,null)[0])],Je(e.slice(1)));case"CONCAT":if("list"===(j=o(0,["string","list","bytes"]))[0].prim){if("string"!==Yn(j[0].args[0])&&"bytes"!==Yn(j[0].args[0]))throw new jn(t,e,t.prim+": can't concatenate list of "+Yn(j[0].args[0])+"'s");return Ve([m(j[0].args[0])],Je(e.slice(1)))}K=o(1,["string","bytes"]);if(j[0].prim!==K[0].prim)throw new jn(t,e,t.prim+": can't concatenate "+j[0].prim+" with "+K[0].prim);return Ve([m(K[0])],Je(e.slice(2)));case"SLICE":return Ve([m({prim:"option",args:[o(0,["nat"],["nat"],["string","bytes"])[2]]},"@slice")],Je(e.slice(3)));case"PACK":var $=o(0,null)[0];return l($),Ve([m({prim:"bytes"},"@packed")],Je(e.slice(1)));case"ADD":var tt=o(0,["nat","int","timestamp","mutez","bls12_381_g1","bls12_381_g2","bls12_381_fr"],["nat","int","timestamp","mutez","bls12_381_g1","bls12_381_g2","bls12_381_fr"]);if("nat"===tt[0].prim&&"int"===tt[1].prim||"int"===tt[0].prim&&"nat"===tt[1].prim)return Ve([m({prim:"int"})],Je(e.slice(2)));if("int"===tt[0].prim&&"timestamp"===tt[1].prim||"timestamp"===tt[0].prim&&"int"===tt[1].prim)return Ve([m({prim:"timestamp"})],Je(e.slice(2)));if(("int"===tt[0].prim||"nat"===tt[0].prim||"mutez"===tt[0].prim||"bls12_381_g1"===tt[0].prim||"bls12_381_g2"===tt[0].prim||"bls12_381_fr"===tt[0].prim)&&tt[0].prim===tt[1].prim)return Ve([m(tt[0])],Je(e.slice(2)));throw new jn(t,e,t.prim+": can't add "+tt[0].prim+" to "+tt[1].prim);case"SUB":var et=o(0,["nat","int","timestamp","mutez"],["nat","int","timestamp","mutez"]);if(("nat"===et[0].prim||"int"===et[0].prim)&&("nat"===et[1].prim||"int"===et[1].prim)||"timestamp"===et[0].prim&&"timestamp"===et[1].prim)return Ve([m({prim:"int"})],Je(e.slice(2)));if("timestamp"===et[0].prim&&"int"===et[1].prim)return Ve([m({prim:"timestamp"})],Je(e.slice(2)));if("mutez"===et[0].prim&&"mutez"===et[1].prim)return Ve([m({prim:"mutez"})],Je(e.slice(2)));throw new jn(t,e,t.prim+": can't subtract "+et[0].prim+" from "+et[1].prim);case"MUL":var rt=o(0,["nat","int","mutez","bls12_381_g1","bls12_381_g2","bls12_381_fr"],["nat","int","mutez","bls12_381_g1","bls12_381_g2","bls12_381_fr"]);if("nat"===rt[0].prim&&"int"===rt[1].prim||"int"===rt[0].prim&&"nat"===rt[1].prim)return Ve([m({prim:"int"})],Je(e.slice(2)));if("nat"===rt[0].prim&&"mutez"===rt[1].prim||"mutez"===rt[0].prim&&"nat"===rt[1].prim)return Ve([m({prim:"mutez"})],Je(e.slice(2)));if(("bls12_381_g1"===rt[0].prim||"bls12_381_g2"===rt[0].prim||"bls12_381_fr"===rt[0].prim)&&"bls12_381_fr"===rt[1].prim||("nat"===rt[0].prim||"int"===rt[0].prim)&&rt[0].prim===rt[1].prim)return Ve([m(rt[0])],Je(e.slice(2)));if(("nat"===rt[0].prim||"int"===rt[0].prim)&&"bls12_381_fr"===rt[1].prim||("nat"===rt[1].prim||"int"===rt[1].prim)&&"bls12_381_fr"===rt[0].prim)return Ve([m({prim:"bls12_381_fr"})],Je(e.slice(2)));throw new jn(t,e,t.prim+": can't multiply "+rt[0].prim+" by "+rt[1].prim);case"EDIV":var nt=function(t,e){return{prim:"option",args:[{prim:"pair",args:[{prim:t},{prim:e}]}]}},it=o(0,["nat","int","mutez"],["nat","int","mutez"]);if("nat"===it[0].prim&&"nat"===it[1].prim)return Ve([m(nt("nat","nat"))],Je(e.slice(2)));if(!("nat"!==it[0].prim&&"int"!==it[0].prim||"nat"!==it[1].prim&&"int"!==it[1].prim))return Ve([m(nt("int","nat"))],Je(e.slice(2)));if("mutez"===it[0].prim&&"nat"===it[1].prim)return Ve([m(nt("mutez","mutez"))],Je(e.slice(2)));if("mutez"===it[0].prim&&"mutez"===it[1].prim)return Ve([m(nt("nat","mutez"))],Je(e.slice(2)));throw new jn(t,e,t.prim+": can't euclideally divide "+it[0].prim+" by "+it[1].prim);case"ABS":return o(0,["int"]),Ve([m({prim:"nat"})],Je(e.slice(1)));case"ISNAT":return o(0,["int"]),Ve([m({prim:"option",args:[{prim:"nat"}]})],Je(e.slice(1)));case"INT":return o(0,["nat","bls12_381_fr"]),Ve([m({prim:"int"})],Je(e.slice(1)));case"NEG":var ot=o(0,["nat","int","bls12_381_g1","bls12_381_g2","bls12_381_fr"])[0];return"nat"===ot.prim||"int"===ot.prim?Ve([m({prim:"int"})],Je(e.slice(1))):Ve([m(ot)],Je(e.slice(1)));case"LSL":case"LSR":return o(0,["nat"],["nat"]),Ve([m({prim:"nat"})],Je(e.slice(2)));case"OR":case"XOR":var at=o(0,["nat","bool"],["nat","bool"]);if(at[0].prim!==at[1].prim)throw new jn(t,e,t.prim+": both arguments must be of the same type: "+at[0].prim+", "+at[1].prim);return Ve([m(at[1])],Je(e.slice(2)));case"AND":var st=o(0,["nat","bool","int"],["nat","bool"]);if(("int"!==st[0].prim||"nat"!==st[1].prim)&&st[0].prim!==st[1].prim)throw new jn(t,e,t.prim+": both arguments must be of the same type: "+st[0].prim+", "+st[1].prim);return Ve([m(st[1])],Je(e.slice(2)));case"NOT":return"bool"===o(0,["nat","bool","int"])[0].prim?Ve([m({prim:"bool"})],Je(e.slice(1))):Ve([m({prim:"int"})],Je(e.slice(1)));case"COMPARE":var ut=o(0,null,null);return f(ut[0]),f(ut[1]),Ve([m({prim:"int"})],Je(e.slice(2)));case"EQ":case"NEQ":case"LT":case"GT":case"LE":case"GE":return o(0,["int"]),Ve([m({prim:"bool"})],Je(e.slice(1)));case"SELF":if(void 0===(null===r||void 0===r?void 0:r.contract))throw new jn(t,e,t.prim+": contract required");q=g({f:1,v:1});if(null===(yt=ei(r.contract,null===(B=q.f)||void 0===B?void 0:B[0])))throw new jn(t,e,t.prim+": contract has no entrypoint "+yt);return Ve([y({prim:"contract",args:[yt]},{v:q.v?q.v:["@self"]})],Je(e));case"TRANSFER_TOKENS":var ct=o(0,null,["mutez"],["contract"]);return h(ct[0],ct[2].args[0]),Ve([m({prim:"operation"})],Je(e.slice(3)));case"SET_DELEGATE":var ht=o(0,["option"])[0];if("key_hash"!==Yn(ht.args[0]))throw new jn(t,e,t.prim+": key hash expected: "+Yn(ht.args[0]));return Ve([m({prim:"operation"})],Je(e.slice(1)));case"IMPLICIT_ACCOUNT":return o(0,["key_hash"]),Ve([m({prim:"contract",args:[{prim:"unit"}]})],Je(e.slice(1)));case"NOW":return Ve([m({prim:"timestamp"},"@now")],Je(e));case"AMOUNT":return Ve([m({prim:"mutez"},"@amount")],Je(e));case"BALANCE":return Ve([m({prim:"mutez"},"@balance")],Je(e));case"CHECK_SIGNATURE":return o(0,["key"],["signature"],["bytes"]),Ve([m({prim:"bool"})],Je(e.slice(3)));case"BLAKE2B":case"SHA256":case"SHA512":case"KECCAK":case"SHA3":return o(0,["bytes"]),Ve([m({prim:"bytes"})],Je(e.slice(1)));case"HASH_KEY":return o(0,["key"]),Ve([m({prim:"key_hash"})],Je(e.slice(1)));case"SOURCE":return Ve([m({prim:"address"},"@source")],Je(e));case"SENDER":return Ve([m({prim:"address"},"@sender")],Je(e));case"ADDRESS":var ft=o(0,["contract"])[0];q=g({v:1});return Ve([y((i={prim:"address"},i[ir]=ft,i),{v:q.v?q.v:E(u(ft),"address")})],Je(e.slice(1)));case"SELF_ADDRESS":var lt={prim:"address"};return void 0!==(null===r||void 0===r?void 0:r.contract)&&(lt[ir]={prim:"contract",args:[$n(r.contract,"parameter").args[0]]}),Ve([m(lt,"@address")],Je(e));case"CHAIN_ID":return Ve([m({prim:"chain_id"})],Je(e));case"DROP":return g({}),o((L=void 0!==t.args?parseInt(t.args[0].int,10):1)-1,null),e.slice(L);case"DIG":return g({}),Ve(Ve([o(L=parseInt(t.args[0].int,10),null)[0]],Je(e.slice(0,L))),Je(e.slice(L+1)));case"DUG":g({});L=parseInt(t.args[0].int,10);return Ve(Ve(Ve([],Je(e.slice(1,L+1))),[o(0,null)[0]]),Je(e.slice(L+1)));case"NONE":return Vn(t.args[0]),Ve([y({prim:"option",args:[t.args[0]]},g({t:1,v:1}))],Je(e));case"LEFT":case"RIGHT":var At=o(0,null)[0],pt=(q=g({f:2,t:1,v:1},{specialFields:!0}),V=u(At),[y(At,{t:null,v:null,f:q.f&&q.f.length>0&&"%"!==q.f[0]?"%@"===q.f[0]?V.v?["%"+V.v[0].slice(1)]:void 0:q.f:void 0}),y(t.args[0],{t:null,f:q.f&&q.f.length>1&&"%"!==q.f[1]?q.f:void 0})]);return Ve([y({prim:"or",args:"LEFT"===t.prim?pt:[pt[1],pt[0]]},{t:q.t,v:q.v})],Je(e.slice(1)));case"NIL":return Vn(t.args[0]),Ve([y({prim:"list",args:[t.args[0]]},g({t:1,v:1}))],Je(e));case"UNPACK":return o(0,["bytes"]),Vn(t.args[0]),Ve([m({prim:"option",args:[t.args[0]]},"@unpacked")],Je(e.slice(1)));case"CONTRACT":var dt=o(0,["address"])[0];Vn(t.args[0]);q=g({v:1,f:1});var gt=dt[ir];if(void 0!==gt){var yt;if(null===(yt=ei(gt,null===(C=q.f)||void 0===C?void 0:C[0])))throw new jn(t,e,t.prim+": contract has no entrypoint "+yt);h(yt,t.args[0])}return Ve([y({prim:"option",args:[{prim:"contract",args:[t.args[0]]}]},{v:q.v?q.v:E(u(dt),"contract")})],Je(e.slice(1)));case"CAST":g({});var mt=o(0,null)[0];return Vn(t.args[0]),h(t.args[0],mt),Ve([t.args[0]],Je(e.slice(1)));case"IF_NONE":g({});var vt=o(0,["option"])[0],bt=e.slice(1);return _(Zn(t.args[0],bt,r),Zn(t.args[1],Ve([y(vt.args[0],{t:null,v:E(u(vt),"some")})],Je(bt)),r));case"IF_LEFT":g({});var wt=o(0,["or"])[0],It=(V=u(wt),u(wt.args[0])),Et=u(wt.args[1]);bt=e.slice(1);return _(Zn(t.args[0],Ve([y(wt.args[0],{t:null,v:E(V,It.f?It.f[0].slice(1):"left")})],Je(bt)),r),Zn(t.args[1],Ve([y(wt.args[1],{t:null,v:E(V,Et.f?Et.f[0].slice(1):"right")})],Je(bt)),r));case"IF_CONS":g({});var _t=o(0,["list"])[0];V=u(_t),bt=e.slice(1);return _(Zn(t.args[0],Ve([y(_t.args[0],{t:null,v:E(V,"hd")}),y(_t,{t:null,v:E(V,"tl")})],Je(bt)),r),Zn(t.args[1],bt,r));case"IF":g({}),o(0,["bool"]);bt=e.slice(1);return _(Zn(t.args[0],bt,r),Zn(t.args[1],bt,r));case"MAP":var Bt=o(0,["list","map"])[0],Ct=(bt=e.slice(1),"map"===Bt.prim?{prim:"pair",args:Bt.args}:Bt.args[0]);if("failed"in(xt=Zn(t.args[0],Ve([y(Ct,{t:null,v:E(u(Bt),"elt")})],Je(bt)),r)))return xt;if(xt.length<1)throw new jn(t,e,t.prim+": function must return a value");return c(xt.slice(1),bt),"list"===Bt.prim?Ve([m({prim:"list",args:[xt[0]]})],Je(bt)):Ve([m({prim:"map",args:[Bt.args[0],xt[0]]})],Je(bt));case"ITER":g({});var Qt=o(0,["set","list","map"])[0];bt=e.slice(1),Ct="map"===Qt.prim?{prim:"pair",args:Qt.args}:Qt.args[0];return"failed"in(xt=Zn(t.args[0],Ve([y(Ct,{t:null,v:E(u(Qt),"elt")})],Je(bt)),r))?xt:(c(xt,bt),bt);case"LOOP":g({}),o(0,["bool"]);bt=e.slice(1);return"failed"in(xt=Zn(t.args[0],bt,r))?xt:(c(xt,Ve([{prim:"bool"}],Je(bt))),bt);case"LOOP_LEFT":g({});var Mt=o(0,["or"])[0];bt=e.slice(1);return"failed"in(xt=Zn(t.args[0],Ve([y(Mt.args[0],{t:null,v:E(u(Mt),"left")})],Je(bt)),r))?xt:(c(xt,Ve([Mt],Je(bt))),Ve([y(Mt.args[1],{t:null,v:g({v:1}).v})],Je(bt)));case"DIP":g({}),o((L=2===t.args.length?parseInt(t.args[0].int,10):1)-1,null);var kt=e.slice(0,L);bt=e.slice(L);return"failed"in(xt=2===t.args.length?Zn(t.args[1],bt,r):Zn(t.args[0],bt,r))?xt:Ve(Ve([],Je(kt)),Je(xt));case"CREATE_CONTRACT":q=g({v:2});var St=o(0,["option"],["mutez"],null);if("key_hash"!==Yn(St[0].args[0]))throw new jn(t,e,t.prim+": key hash expected: "+Yn(St[0].args[0]));return A(St[2])&&(ni(t.args[0]),qn($n(t.args[0],"storage").args[0],St[2])),Ve([y({prim:"operation"},{v:null===(V=null===(Q=q.v)||void 0===Q?void 0:Q.map((function(t){return"@"!==t?[t]:void 0})))||void 0===V?void 0:V[0]}),y((a={prim:"address"},a[ir]={prim:"contract",args:[$n(t.args[0],"parameter").args[0]]},a),{v:null===V||void 0===V?void 0:V[1]})],Je(e.slice(3)));case"PUSH":return Vn(t.args[0]),Wn(t.args[1],t.args[0],Ye(Ye({},r),{contract:void 0})),Ve([m(t.args[0])],Je(e));case"EMPTY_SET":return Vn(t.args[0]),f(t.args[0]),Ve([y({prim:"set",args:t.args},g({t:1,v:1}))],Je(e));case"EMPTY_MAP":return Vn(t.args[0]),f(t.args[0]),Vn(t.args[1]),Ve([y({prim:"map",args:t.args},g({t:1,v:1}))],Je(e));case"EMPTY_BIG_MAP":return Vn(t.args[0]),f(t.args[0]),Vn(t.args[1]),d(t.args[0]),Ve([y({prim:"big_map",args:t.args},g({t:1,v:1}))],Je(e));case"LAMBDA":var xt;if(Vn(t.args[0]),Vn(t.args[1]),"failed"in(xt=Zn(t.args[2],[t.args[0]],Ye(Ye({},r),{contract:void 0}))))return xt;if(1!==xt.length)throw new jn(t,e,t.prim+": function must return a value");return h(t.args[1],xt[0]),Ve([m({prim:"lambda",args:[t.args[0],t.args[1]]})],Je(e));case"LEVEL":return Ve([m({prim:"nat"},"@level")],Je(e));case"TOTAL_VOTING_POWER":return Ve([m({prim:"nat"})],Je(e));case"VOTING_POWER":return o(0,["key_hash"]),Ve([m({prim:"nat"})],Je(e.slice(1)));case"TICKET":var Dt=o(0,null,["nat"])[0];return f(Dt),Ve([y({prim:"ticket",args:[Dt]},g({t:1,v:1}))],Je(e.slice(2)));case"JOIN_TICKETS":var Rt=Kr("pair",o(0,["pair"])[0]);if("ticket"!==Yn(Rt.args[0]))throw new jn(t,e,t.prim+": ticket expected: "+Yn(Rt.args[0]));return h(Rt.args[0],Rt.args[1]),Ve([m({prim:"option",args:[y(Rt.args[0],{t:null})]})],Je(e.slice(1)));case"SPLIT_TICKET":var Nt=o(0,["ticket"],["pair"]);if("nat"!==Yn((Tt=Kr("pair",Nt[1])).args[0]))throw new jn(t,e,t.prim+": nat expected: "+Yn(Tt.args[0]));return h(Tt.args[0],Tt.args[1]),Ve([m({prim:"option",args:[{prim:"pair",args:[y(Nt[0],{t:null}),y(Nt[0],{t:null})]}]})],Je(e.slice(2)));case"READ_TICKET":q=g({v:2});var Pt=o(0,["ticket"])[0];V=null===(M=q.v)||void 0===M?void 0:M.map((function(t){return"@"!==t?[t]:void 0}));return Ve([y({prim:"pair",args:[{prim:"address"},y(Pt.args[0],{t:null}),{prim:"nat"}]},{v:null===V||void 0===V?void 0:V[0]}),y(Pt,{v:null===V||void 0===V?void 0:V[1],t:null})],Je(e.slice(1)));case"PAIRING_CHECK":var Tt;if(!qr(Tt=o(0,["list"])[0].args[0]))throw new jn(t,e,t.prim+": pair expected: "+Yn(Tt));var Ot=Kr("pair",Tt);if("bls12_381_g1"!==Yn(Ot.args[0]))throw new jn(t,e,t.prim+": bls12_381_g1 expected: "+Yn(Ot.args[0]));if("bls12_381_g2"!==Yn(Ot.args[1]))throw new jn(t,e,t.prim+": bls12_381_g2 expected: "+Yn(Ot.args[1]));return Ve([m({prim:"bool"})],Je(e.slice(1)));case"SAPLING_EMPTY_STATE":return Ve([y({prim:"sapling_state",args:[t.args[0]]},g({v:1,t:1}))],Je(e));case"SAPLING_VERIFY_UPDATE":var Ft=o(0,["sapling_transaction"],["sapling_state"]);if(parseInt(Ft[0].args[0].int,10)!==parseInt(Ft[1].args[0].int,10))throw new jn(t,e,t.prim+": sapling memo size mismatch: "+Ft[0].args[0].int+" != "+Ft[1].args[0].int);return Ve([m({prim:"option",args:[{prim:"pair",args:[{prim:"int"},y(Ft[1],{t:null})]}]})],Je(e.slice(2)));default:throw new Nr(t,"unexpected instruction: "+t.prim)}}(i);if(void 0!==(null===r||void 0===r?void 0:r.traceCallback)){var C={op:i,in:e,out:B};r.traceCallback(C)}return B}function $n(t,e){var r,n;try{for(var i=qe(t),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.prim===e)return a}}catch(s){r={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}throw new Nr(t,"missing contract section: "+e)}function ti(t){var e,r;if(Array.isArray(t))try{for(var n=qe(t),i=n.next();!i.done;i=n.next()){var o=i.value;if("prim"in o&&("parameter"===o.prim||"storage"===o.prim||"code"===o.prim))return!0}}catch(a){e={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1}function ei(t,e){e=e||"%default";var r=ri(t).find((function(t){return t[0]===e}));return void 0!==r?r[1]:"%default"===e?ti(t)?$n(t,"parameter").args[0]:t:null}function ri(t){if(ti(t)){var e=$n(t,"parameter"),r=ri(e.args[0]),n=Hr(e);return n.f?Ve([[n.f[0],e.args[0]]],Je(r)):r}if(a=t,Array.isArray(a)||"or"===a.prim){var i=Kn(t),o=function(t){var e=Hr(i[t]);if("or"===Yn(i[t])){var r=ri(i[t]);return e.f?Ve([[e.f[0],i[t]]],Je(r)):r}return e.f?[[e.f[0],i[t]]]:[]};return Ve(Ve([],Je(o(0))),Je(o(1)))}var a;return[]}function ni(t,e){var r=$n(t,"parameter").args[0];Vn(r,!0);var n=$n(t,"storage").args[0];Vn(n);var i={prim:"pair",args:[Ye(Ye({},r),{annots:["@parameter"]}),Ye(Ye({},n),{annots:["@storage"]})]},o=$n(t,"code").args[0],a=Zn(o,[i],Ye(Ye({},e),{contract:t}));if("failed"in a)return a;var s={prim:"pair",args:[{prim:"list",args:[{prim:"operation"}]},n]};try{Jn(a,[s])}catch(u){throw u instanceof Nr?new jn(o,a,u.message):u}return a}function ii(t,e,r){Vn(e),Wn(t,e,r||null)}new(function(){function t(t,e){this.contract=t,this.ctx=Ye({contract:t},e),this.output=ni(t,this.ctx)}return t.parse=function(e,r){var n=new Qr(r),i="string"===typeof e?n.parseScript(e):n.parseJSON(e);if(null===i)throw new Error("empty contract");if(bn(i))return new t(i,r)},t.parseTypeExpression=function(t,e){var r=new Qr(e),n="string"===typeof t?r.parseScript(t):r.parseJSON(t);if(null===n)throw new Error("empty type expression");if(yn(n)&&Vn(n))return n;throw void 0},t.parseDataExpression=function(t,e){var r=new Qr(e),n="string"===typeof t?r.parseScript(t):r.parseJSON(t);if(null===n)throw new Error("empty data expression");if(vn(n))return n;throw void 0},t.prototype.section=function(t){return $n(this.contract,t)},t.prototype.entryPoints=function(){return ri(this.contract)},t.prototype.entryPoint=function(t){return ei(this.contract,t)},t.prototype.assertDataValid=function(t,e){ii(t,e,this.ctx)},t.prototype.isDataValid=function(t,e){return function(t,e,r){try{return ii(t,e,r),!0}catch(n){return!1}}(t,e,this.ctx)},t.prototype.assertParameterValid=function(t,e){var r=this.entryPoint(t||void 0);if(null===r)throw new Error("contract has no entrypoint named "+t);this.assertDataValid(e,r)},t.prototype.isParameterValid=function(t,e){try{return this.assertParameterValid(t,e),!0}catch(r){return!1}},t.prototype.functionType=function(t,e){return function(t,e,r){var n,i,o,a;try{for(var s=qe(e),u=s.next();!u.done;u=s.next())Vn(u.value)}catch(l){n={error:l}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}if(void 0!==(null===r||void 0===r?void 0:r.contract))try{for(var c=qe(["parameter","storage"]),h=c.next();!h.done;h=c.next()){var f=h.value;Vn($n(r.contract,f).args[0])}}catch(A){o={error:A}}finally{try{h&&!h.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}return Zn(t,e,r||null)}(t,e,this.ctx)},t}())([{prim:"parameter",args:[{prim:"unit"}]},{prim:"storage",args:[{prim:"unit"}]},{prim:"code",args:[[{prim:"CAR"},{prim:"NIL",args:[{prim:"operation"}]},{prim:"PAIR"}]]}]);var oi=function(t,e){return(oi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function ai(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}oi(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var si=function(){return(si=Object.assign||function(t){for(var e,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function li(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function Ai(t,e){for(var r=0,n=e.length,i=t.length;r1)throw new Ni;n.lastHead=t})),jt({bufferSize:1,refCount:!0})),this.confirmed$=this.newHead$.pipe(Qt((function(t){var e,r,i,o;try{for(var a=fi(t.operations),s=a.next();!s.done;s=a.next()){var u=s.value;try{for(var c=(i=void 0,fi(u)),h=c.next();!h.done;h=c.next()){var f=h.value;if(f.hash===n.opHash)return n._included=!0,n._includedInBlock.next(t),n._operationResult.next(f.contents),t}}catch(l){i={error:l}}finally{try{h&&!h.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}}}catch(A){e={error:A}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}})),Yt((function(t){return"undefined"!==typeof t})),oe(),jt({bufferSize:1,refCount:!0})),this.confirmed$.pipe(oe()).subscribe()}return t.prototype.operationResults=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){return[2,this._operationResult.pipe(oe()).toPromise()]}))}))},t.prototype.receipt=function(){return ci(this,void 0,void 0,(function(){var t;return hi(this,(function(e){switch(e.label){case 0:return t=Ri,[4,this.operationResults()];case 1:return[2,t.apply(void 0,[e.sent()])]}}))}))},t.prototype.getCurrentConfirmation=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){return this._included?[2,gt([this._includedInBlock,bt(this.context.rpc.getBlock())]).pipe(Qt((function(t){var e=li(t,2),r=e[0];return e[1].header.level-r.header.level+1})),oe()).toPromise()]:[2,0]}))}))},t.prototype.isInCurrentBranch=function(t){return void 0===t&&(t="head"),ci(this,void 0,void 0,(function(){var e,r,n,i,o;return hi(this,(function(a){switch(a.label){case 0:return this._included?[4,this.context.rpc.getBlockHeader({block:t})]:[2,!0];case 1:return e=a.sent(),[4,this._includedInBlock.pipe(oe()).toPromise()];case 2:return r=a.sent(),(n=e.level-r.header.level)<=0?[2,!0]:(i=Math.min(r.header.level+n,r.header.level+60),o=Set.bind,[4,this.context.rpc.getLiveBlocks({block:String(i)})]);case 3:return[2,(new(o.apply(Set,[void 0,a.sent()]))).has(r.hash)]}}))}))},t.prototype.confirmationObservable=function(t){var e=this;if("undefined"!==typeof t&&t<1)throw new Error("Confirmation count must be at least 1");var r,n,i=this.context.config.defaultConfirmationCount,o=void 0!==t?t:i;if(void 0===o)throw new Error("Default confirmation count can not be undefined!");return gt([this._includedInBlock,this.newHead$]).pipe(ae((function(t,e){var r=li(t,2)[1],n=li(e,2)[1];return r.hash===n.hash})),Qt((function(t){var r=li(t,2),n=r[0],i=r[1];return{block:i,expectedConfirmation:o,currentConfirmation:i.header.level-n.header.level+1,completed:i.header.level-n.header.level>=o-1,isInCurrentBranch:function(){return e.isInCurrentBranch(i.hash)}}})),(r=function(t){return!t.completed},void 0===(n=!0)&&(n=!1),function(t){return t.lift(new ce(r,n))}))},t.prototype.confirmation=function(t){return this.confirmationObservable(t).toPromise()},t}(),Ti=function(t){function e(e,r,n){var i=t.call(this,e,r,n)||this;return i.opHash=e,i.context=r,i}return ai(e,t),e.prototype.revealOperation=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){switch(t.label){case 0:return[4,this.operationResults()];case 1:return[2,t.sent().find((function(t){return t.kind===h.REVEAL}))]}}))}))},e.prototype.delegationOperation=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){switch(t.label){case 0:return[4,this.operationResults()];case 1:return[2,t.sent().find((function(t){return t.kind===h.DELEGATION}))]}}))}))},e.prototype.status=function(){return ci(this,void 0,void 0,(function(){var t;return hi(this,(function(e){switch(e.label){case 0:return this._included?[4,this.delegationOperation()]:[2,"pending"];case 1:return(t=e.sent())?[2,t.metadata.operation_result.status]:[2,"unknown"]}}))}))},e}(Pi),Oi=function(t){function e(e,r,n){var i=t.call(this,e,r,n)||this;return i.opHash=e,i.context=r,i}return ai(e,t),e.prototype.originationOperation=function(){return ci(this,void 0,void 0,(function(){var t;return hi(this,(function(e){switch(e.label){case 0:return[4,this.operationResults()];case 1:return t=e.sent(),[2,Ei(t,h.ORIGINATION)]}}))}))},e.prototype.revealOperation=function(){return ci(this,void 0,void 0,(function(){var t;return hi(this,(function(e){switch(e.label){case 0:return[4,this.operationResults()];case 1:return t=e.sent(),[2,Ei(t,h.REVEAL)]}}))}))},e.prototype.status=function(){return ci(this,void 0,void 0,(function(){var t;return hi(this,(function(e){switch(e.label){case 0:return this._included?[4,this.originationOperation()]:[2,"pending"];case 1:return(t=e.sent())?[2,t.metadata.operation_result.status]:[2,"unknown"]}}))}))},e.prototype.contract=function(){return ci(this,void 0,void 0,(function(){var t,e;return hi(this,(function(r){switch(r.label){case 0:return[4,this.originationOperation()];case 1:return t=r.sent(),e=(t.metadata.operation_result.originated_contracts||[])[0],[2,this.context.wallet.at(e)]}}))}))},e}(Pi),Fi=function(t){function e(e,r,n){var i=t.call(this,e,r,n)||this;return i.opHash=e,i.context=r,i}return ai(e,t),e.prototype.revealOperation=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){switch(t.label){case 0:return[4,this.operationResults()];case 1:return[2,t.sent().find((function(t){return t.kind===h.REVEAL}))]}}))}))},e.prototype.transactionOperation=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){switch(t.label){case 0:return[4,this.operationResults()];case 1:return[2,t.sent().find((function(t){return t.kind===h.TRANSACTION}))]}}))}))},e.prototype.status=function(){return ci(this,void 0,void 0,(function(){var t;return hi(this,(function(e){switch(e.label){case 0:return this._included?[4,this.transactionOperation()]:[2,"pending"];case 1:return(t=e.sent())?[2,t.metadata.operation_result.status]:[2,"unknown"]}}))}))},e}(Pi),Ui=function(t,e,r,n){if(void 0===r.config.confirmationPollingTimeoutSecond)throw new Error("Confirmation polling timeout second can not be undefined!");return t.pipe(fe((function(){return e})),pe("hash"),de(1e3*r.config.confirmationPollingTimeoutSecond,tt(new Error("Confirmation polling timed out")),n),jt({refCount:!0,scheduler:n}))},Li=function(){function t(t){var e,r=this;this.context=t,this.sharedHeadObs=wt((function(){return bt(r.context.rpc.getBlock())})).pipe((e=_t(0,1e3),function(t){var r=null;return wt((function(){return r||(r=new ot,t.pipe(oe()).subscribe(r),e.pipe(oe()).subscribe((function(){r=null}))),r}))}))}return t.prototype.createNewHeadObservable=function(){return ci(this,void 0,void 0,(function(){var t;return hi(this,(function(e){switch(e.label){case 0:return void 0===this.context.config.confirmationPollingIntervalSecond?[3,1]:(t=this.context.config.confirmationPollingIntervalSecond,[3,3]);case 1:return[4,this.context.getConfirmationPollingInterval()];case 2:t=e.sent(),e.label=3;case 3:return[2,Ui(_t(0,1e3*t),this.sharedHeadObs,this.context)]}}))}))},t.prototype.createPastBlockWalker=function(t,e){var r=this;return void 0===e&&(e=1),bt(this.context.rpc.getBlock({block:t})).pipe(fe((function(t){return 1===e?$(t):function(t,e,r){return void 0===t&&(t=0),new N((function(n){void 0===e&&(e=t,t=0);var i=0,o=t;if(r)return r.schedule(Ct,0,{index:i,count:e,start:t,subscriber:n});for(;;){if(i++>=e){n.complete();break}if(n.next(o++),n.closed)break}}))}(t.header.level,e-1).pipe(function(){for(var t=[],e=0;et.timeoutAt)throw new Error("Confirmation polling timed out")})))})),this.confirmed$=this.polling$.pipe((i=this.currentHead$,o?fe((function(){return i}),o):fe((function(){return i}))),Qt((function(t){for(var e=3;e>=0;e--)t.operations[e].forEach((function(e){e.hash===a.hash&&(a._foundAt=t.header.level)}));if(t.header.level-a._foundAt>=0)return a._foundAt})),Yt((function(t){return void 0!==t})),oe(),jt()),this._foundAt=Number.POSITIVE_INFINITY,this.confirmed$.pipe(oe()).subscribe()}return Object.defineProperty(t.prototype,"includedInBlock",{get:function(){return this._foundAt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"revealOperation",{get:function(){return Array.isArray(this.results)&&this.results.find((function(t){return"reveal"===t.kind}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"revealStatus",{get:function(){return this.revealOperation?this.revealOperation.metadata.operation_result.status:"unknown"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.results.map((function(t){return Mi(t)?t.metadata.operation_result.status:"unknown"}))[0]||"unknown"},enumerable:!1,configurable:!0}),t.prototype.confirmation=function(t,e,r){return ci(this,void 0,void 0,(function(){var n,i,o,a,s,u,c=this;return hi(this,(function(h){switch(h.label){case 0:if("undefined"!==typeof t&&t<1)throw new Error("Confirmation count must be at least 1");return void 0===this.context.config.confirmationPollingIntervalSecond?[3,1]:(i=this.context.config.confirmationPollingIntervalSecond,[3,3]);case 1:return[4,this.context.getConfirmationPollingInterval()];case 2:i=h.sent(),h.label=3;case 3:if(n=i,o=this.context.config,a=o.defaultConfirmationCount,s=o.confirmationPollingTimeoutSecond,this._pollingConfig$.next({interval:e||n,timeout:r||s}),void 0===(u=void 0!==t?t:a))throw new Error("Default confirmation count can not be undefined!");return[2,new Promise((function(t,e){c.confirmed$.pipe(fe((function(){return c.polling$})),fe((function(){return c.currentHead$})),Yt((function(t){return t.header.level-c._foundAt>=u-1})),oe()).subscribe((function(e){t(c._foundAt+(u-1))}),e)}))]}}))}))},t}(),qi=function(t){function e(e){return t.call(this,e)||this}return ai(e,t),e.prototype.getBalance=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){return[2,this.rpc.getBalance(t)]}))}))},e.prototype.getDelegate=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){return[2,this.rpc.getDelegate(t)]}))}))},e.prototype.activate=function(t,e){return ci(this,void 0,void 0,(function(){var r,n,i,o,a;return hi(this,(function(s){switch(s.label){case 0:return r={kind:h.ACTIVATION,pkh:t,secret:e},[4,this.prepareOpAndSimulation({operation:[r],source:t})];case 1:return n=s.sent(),[4,this.forge(n.preparedOp)];case 2:return i=s.sent(),o=i.opbytes+"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",a=Ki.bind,[4,this.rpc.injectOperation(o)];case 3:return[2,new(a.apply(Ki,[void 0,s.sent(),si(si({},i),{opbytes:o}),[],this.context.clone()]))]}}))}))},e}(Yi),Ji=100,Vi=function(){function t(t,e,r,n,i){void 0===i&&(i=Ji),this._milligasLimit=t,this._storageLimit=e,this.opSize=r,this.minimalFeePerStorageByteMutez=n,this.baseFeeMutez=i}return Object.defineProperty(t.prototype,"burnFeeMutez",{get:function(){return this.roundUp(Number(this.storageLimit)*Number(this.minimalFeePerStorageByteMutez))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"storageLimit",{get:function(){var t=Math.max(Number(this._storageLimit),0);return t>0?t:0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gasLimit",{get:function(){return this.roundUp(Number(this._milligasLimit)/1e3+100)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"operationFeeMutez",{get:function(){return.1*(Number(this._milligasLimit)/1e3+100)+1*Number(this.opSize)},enumerable:!1,configurable:!0}),t.prototype.roundUp=function(t){return Math.ceil(Number(t))},Object.defineProperty(t.prototype,"minimalFeeMutez",{get:function(){return this.roundUp(Ji+this.operationFeeMutez)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"suggestedFeeMutez",{get:function(){return this.roundUp(this.operationFeeMutez+200)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"usingBaseFeeMutez",{get:function(){return Math.max(Number(this.baseFeeMutez),Ji)+this.roundUp(this.operationFeeMutez)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"totalCost",{get:function(){return this.minimalFeeMutez+this.burnFeeMutez},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"consumedMilligas",{get:function(){return Number(this._milligasLimit)},enumerable:!1,configurable:!0}),t.createEstimateInstanceFromProperties=function(e){var r,n=0,i=0,o=0,a=0;return e.forEach((function(t){n+=t.milligasLimit,i+=t.storageLimit,o+=t.opSize,a=Math.max(t.minimalFeePerStorageByteMutez,a),t.baseFeeMutez&&(r=r?r+t.baseFeeMutez:t.baseFeeMutez)})),new t(n,i,o,a,r)},t.createArrayEstimateInstancesFromProperties=function(e){return e.map((function(e){return new t(e.milligasLimit,e.storageLimit,e.opSize,e.minimalFeePerStorageByteMutez,e.baseFeeMutez)}))},t}();function zi(t){switch(t){case"tz":return 6;case"mtz":return 3;case"mutez":default:return 0}}function Xi(t,e,r){void 0===t&&(t="mutez"),void 0===e&&(e="mutez");var n=new Fe.a(r);return n.isNaN()?r:n.multipliedBy(Math.pow(10,zi(t))).dividedBy(Math.pow(10,zi(e)))}var Wi=function(t,e,r){this.smartContractMethodName=t,this.sigs=e,this.args=r,this.name="Invalid parameters error",this.message=t+" Received "+r.length+" arguments while expecting one of the following signatures ("+JSON.stringify(e)+")"},Zi=function(){this.name="Undefined LambdaContract error",this.message="This might happen if you are using a sandbox. Please provide the address of a lambda contract as a parameter of the read method."},$i=function(t){this.source=t,this.name="Invalid delegation source error",this.message="Since Babylon delegation source can no longer be a contract address "+t+". Please use the smart contract abstraction to set your delegate."},to=function(t,e){this.message=t,this.data=e,this.name="InvalidCodeParameter"},eo=function(t,e){this.message=t,this.data=e,this.name="InvalidInitParameter"},ro=function(t){var e=t.code,r=t.init,n=t.balance,i=void 0===n?"0":n,o=t.delegate,a=t.storage,s=t.fee,u=void 0===s?di.ORIGINATION:s,c=t.gasLimit,f=void 0===c?pi.ORIGINATION:c,l=t.storageLimit,A=void 0===l?gi.ORIGINATION:l,p=t.mutez,d=void 0!==p&&p;return ci(void 0,void 0,void 0,(function(){var t,n,s,c,l;return hi(this,(function(p){if(void 0!==a&&void 0!==r)throw new Error("Storage and Init cannot be set a the same time. Please either use storage or init but not both.");if(!Array.isArray(e))throw new to("Wrong code parameter type, expected an array",e);if(void 0!==a){if(void 0===(null===(n=e.find((function(t){return"prim"in t&&"storage"===t.prim})))||void 0===n?void 0:n.args))throw new to("The storage section is missing from the script",e);s=new Ue.c(n.args[0]),t=s.Encode(a)}else{if(void 0===r||"object"!==typeof r)throw new eo("Wrong init parameter type, expected JSON Michelson",r);t=r}return c={code:e,storage:t},l={kind:h.ORIGINATION,fee:u,gas_limit:f,storage_limit:A,balance:d?i.toString():Xi("tz","mutez",i).toString(),script:c},o&&(l.delegate=o),[2,l]}))}))},no=function(t){var e=t.to,r=t.amount,n=t.parameter,i=t.fee,o=void 0===i?di.TRANSFER:i,a=t.gasLimit,s=void 0===a?pi.TRANSFER:a,u=t.storageLimit,c=void 0===u?gi.TRANSFER:u,f=t.mutez,l=void 0!==f&&f;return ci(void 0,void 0,void 0,(function(){return hi(this,(function(t){return[2,{kind:h.TRANSACTION,fee:o,gas_limit:s,storage_limit:c,amount:l?r.toString():Xi("tz","mutez",r).toString(),destination:e,parameters:n}]}))}))},io=function(t){var e=t.delegate,r=t.source,n=t.fee,i=void 0===n?di.DELEGATION:n,o=t.gasLimit,a=void 0===o?pi.DELEGATION:o,s=t.storageLimit,u=void 0===s?gi.DELEGATION:s;return ci(void 0,void 0,void 0,(function(){return hi(this,(function(t){return[2,{kind:h.DELEGATION,source:r,fee:i,gas_limit:a,storage_limit:u,delegate:e}]}))}))},oo=function(t,e){var r=t.fee,n=void 0===r?di.DELEGATION:r,i=t.gasLimit,o=void 0===i?pi.DELEGATION:i,a=t.storageLimit,s=void 0===a?gi.DELEGATION:a;return ci(void 0,void 0,void 0,(function(){return hi(this,(function(t){return[2,{kind:h.DELEGATION,fee:n,gas_limit:o,storage_limit:s,delegate:e}]}))}))},ao=function(t,e,r){var n=t.fee,i=void 0===n?di.REVEAL:n,o=t.gasLimit,a=void 0===o?pi.REVEAL:o,s=t.storageLimit,u=void 0===s?gi.REVEAL:s;return ci(void 0,void 0,void 0,(function(){return hi(this,(function(t){return[2,{kind:h.REVEAL,fee:i,public_key:r,source:e,gas_limit:a,storage_limit:u}]}))}))},so=function(t,e){return{fee:"undefined"===typeof t.fee?e.fee:t.fee,gasLimit:"undefined"===typeof t.gasLimit?e.gasLimit:t.gasLimit,storageLimit:"undefined"===typeof t.storageLimit?e.storageLimit:t.storageLimit}},uo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ALLOCATION_STORAGE=257,e.ORIGINATION_STORAGE=257,e.OP_SIZE_REVEAL=128,e}return ai(e,t),e.prototype.getAccountLimits=function(t,e){return ci(this,void 0,void 0,(function(){var r,n,i,o,a,s;return hi(this,(function(u){switch(u.label){case 0:return[4,this.rpc.getBalance(t)];case 1:return r=u.sent(),[4,this.rpc.getConstants()];case 2:return n=u.sent(),i=n.hard_gas_limit_per_operation,o=n.hard_gas_limit_per_block,a=n.hard_storage_limit_per_operation,s=n.cost_per_byte,[2,{fee:0,gasLimit:e?Math.floor(this.ajustGasForBatchOperation(o,i,e).toNumber()):i.toNumber(),storageLimit:Math.floor(Fe.a.min(r.dividedBy(s),a).toNumber())}]}}))}))},e.prototype.ajustGasForBatchOperation=function(t,e,r){return Fe.a.min(e,t.div(r+1))},e.prototype.getEstimationPropertiesFromOperationContent=function(t,e,r){var n=this,i=xi({contents:[t]}),o=0,a=0,s=0;return i.forEach((function(t){s+="originated_contracts"in t&&"undefined"!==typeof t.originated_contracts?t.originated_contracts.length*n.ORIGINATION_STORAGE:0,s+="allocated_destination_contract"in t?n.ALLOCATION_STORAGE:0,o+=Number(t.consumed_gas)||0,a+=Number(t.consumed_milligas)||0,s+="paid_storage_size_diff"in t&&Number(t.paid_storage_size_diff)||0})),0!==o&&0===a&&(a=1e3*o),Bi(t)?{milligasLimit:a||0,storageLimit:Number(s||0),opSize:e,minimalFeePerStorageByteMutez:r.toNumber()}:{milligasLimit:0,storageLimit:0,opSize:e,minimalFeePerStorageByteMutez:r.toNumber(),baseFeeMutez:0}},e.prototype.prepareEstimate=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,u,c=this;return hi(this,(function(h){switch(h.label){case 0:return[4,this.prepareOperationEstimation(t)];case 1:return e=h.sent(),[4,this.forgeOperation(e)];case 2:return r=h.sent(),u={operation:{branch:e.opOb.branch,contents:e.opOb.contents,signature:ji}},[4,this.rpc.getChainId()];case 3:return u.chain_id=h.sent(),n=u,[4,this.simulate(n)];case 4:return i=h.sent().opResponse,[4,this.rpc.getConstants()];case 5:if(o=h.sent().cost_per_byte,(a=Ai(Ai([],li(Di(i,"backtracked"))),li(Di(i)))).length)throw new ki(a);return s=1,Array.isArray(t.operation)&&t.operation.length>1&&(s="reveal"===i.contents[0].kind?t.operation.length-1:t.operation.length),[2,i.contents.map((function(t){return c.getEstimationPropertiesFromOperationContent(t,"reveal"===t.kind?c.OP_SIZE_REVEAL/2:r.length/2/s,o)}))]}}))}))},e.prototype.originate=function(t){var e=t.fee,r=t.storageLimit,n=t.gasLimit,i=ui(t,["fee","storageLimit","gasLimit"]);return ci(this,void 0,void 0,(function(){var t,o,a,s,u,c,h,f;return hi(this,(function(l){switch(l.label){case 0:return[4,this.signer.publicKeyHash()];case 1:return t=l.sent(),[4,this.getAccountLimits(t)];case 2:return o=l.sent(),s=ro,[4,this.context.parser.prepareCodeOrigination(si(si({},i),so({fee:e,storageLimit:r,gasLimit:n},o)))];case 3:return[4,s.apply(void 0,[l.sent()])];case 4:return a=l.sent(),[4,this.isRevealOpNeeded([a],t)];case 5:return(u=l.sent())?[4,this.addRevealOp([a],t)]:[3,7];case 6:return h=l.sent(),[3,8];case 7:h=a,l.label=8;case 8:return c=h,[4,this.prepareEstimate({operation:c,source:t})];case 9:return f=l.sent(),u&&f.shift(),[2,Vi.createEstimateInstanceFromProperties(f)]}}))}))},e.prototype.transfer=function(t){var e=t.fee,r=t.storageLimit,n=t.gasLimit,i=ui(t,["fee","storageLimit","gasLimit"]);return ci(this,void 0,void 0,(function(){var t,o,a,s,u,c,h;return hi(this,(function(f){switch(f.label){case 0:return[4,this.signer.publicKeyHash()];case 1:return t=f.sent(),[4,this.getAccountLimits(t)];case 2:return o=f.sent(),[4,no(si(si({},i),so({fee:e,storageLimit:r,gasLimit:n},o)))];case 3:return a=f.sent(),[4,this.isRevealOpNeeded([a],t)];case 4:return(s=f.sent())?[4,this.addRevealOp([a],t)]:[3,6];case 5:return c=f.sent(),[3,7];case 6:c=a,f.label=7;case 7:return u=c,[4,this.prepareEstimate({operation:u,source:t})];case 8:return h=f.sent(),s&&h.shift(),[2,Vi.createEstimateInstanceFromProperties(h)]}}))}))},e.prototype.setDelegate=function(t){var e=t.fee,r=t.gasLimit,n=t.storageLimit,i=ui(t,["fee","gasLimit","storageLimit"]);return ci(this,void 0,void 0,(function(){var t,o,a,s,u,c,h,f;return hi(this,(function(l){switch(l.label){case 0:return[4,this.signer.publicKeyHash()];case 1:return t=l.sent(),o=i.source||t,[4,this.getAccountLimits(o)];case 2:return a=l.sent(),[4,io(si(si({},i),so({fee:e,storageLimit:n,gasLimit:r},a)))];case 3:return s=l.sent(),[4,this.isRevealOpNeeded([s],t)];case 4:return(u=l.sent())?[4,this.addRevealOp([s],t)]:[3,6];case 5:return h=l.sent(),[3,7];case 6:h=s,l.label=7;case 7:return c=h,[4,this.prepareEstimate({operation:c,source:t})];case 8:return f=l.sent(),u&&f.shift(),[2,Vi.createEstimateInstanceFromProperties(f)]}}))}))},e.prototype.batch=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,u,c,f,l,A,p,d,g,y,m,v;return hi(this,(function(b){switch(b.label){case 0:return[4,this.signer.publicKeyHash()];case 1:return e=b.sent(),r=[],[4,this.getAccountLimits(e,t.length)];case 2:n=b.sent(),b.label=3;case 3:b.trys.push([3,16,17,18]),i=fi(t),o=i.next(),b.label=4;case 4:if(o.done)return[3,15];switch(a=o.value,a.kind){case h.TRANSACTION:return[3,5];case h.ORIGINATION:return[3,7];case h.DELEGATION:return[3,10];case h.ACTIVATION:return[3,12]}return[3,13];case 5:return u=(s=r).push,[4,no(si(si({},a),so(a,n)))];case 6:return u.apply(s,[b.sent()]),[3,14];case 7:return f=(c=r).push,l=ro,[4,this.context.parser.prepareCodeOrigination(si(si({},a),so(a,n)))];case 8:return[4,l.apply(void 0,[b.sent()])];case 9:return f.apply(c,[b.sent()]),[3,14];case 10:return p=(A=r).push,[4,io(si(si({},a),so(a,n)))];case 11:return p.apply(A,[b.sent()]),[3,14];case 12:return r.push(si(si({},a),n)),[3,14];case 13:throw new Error("Unsupported operation kind: "+a.kind);case 14:return o=i.next(),[3,4];case 15:return[3,18];case 16:return d=b.sent(),m={error:d},[3,18];case 17:try{o&&!o.done&&(v=i.return)&&v.call(i)}finally{if(m)throw m.error}return[7];case 18:return[4,this.isRevealOpNeeded(r,e)];case 19:return b.sent()?[4,this.addRevealOp(r,e)]:[3,21];case 20:return g=b.sent(),[3,22];case 21:g=r,b.label=22;case 22:return r=g,[4,this.prepareEstimate({operation:r,source:e})];case 23:return y=b.sent(),[2,Vi.createArrayEstimateInstancesFromProperties(y)]}}))}))},e.prototype.registerDelegate=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o,a,s;return hi(this,(function(u){switch(u.label){case 0:return[4,this.signer.publicKeyHash()];case 1:return e=u.sent(),[4,this.getAccountLimits(e)];case 2:return r=u.sent(),[4,oo(si(si({},t),r),e)];case 3:return n=u.sent(),[4,this.isRevealOpNeeded([n],e)];case 4:return(i=u.sent())?[4,this.addRevealOp([n],e)]:[3,6];case 5:return a=u.sent(),[3,7];case 6:a=n,u.label=7;case 7:return o=a,[4,this.prepareEstimate({operation:o,source:e})];case 8:return s=u.sent(),i&&s.shift(),[2,Vi.createEstimateInstanceFromProperties(s)]}}))}))},e.prototype.reveal=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o,a;return hi(this,(function(s){switch(s.label){case 0:return[4,this.signer.publicKeyHash()];case 1:return e=s.sent(),[4,this.isAccountRevealRequired(e)];case 2:return s.sent()?[4,this.getAccountLimits(e)]:[3,7];case 3:return r=s.sent(),i=ao,o=[si(si({},t),r),e],[4,this.signer.publicKey()];case 4:return[4,i.apply(void 0,o.concat([s.sent()]))];case 5:return n=s.sent(),[4,this.prepareEstimate({operation:n,source:e})];case 6:return a=s.sent(),[2,Vi.createEstimateInstanceFromProperties(a)];case 7:return[2]}}))}))},e.prototype.addRevealOp=function(t,e){return ci(this,void 0,void 0,(function(){var r,n,i,o;return hi(this,(function(a){switch(a.label){case 0:return n=(r=t).unshift,i=ao,o=[si({fee:di.REVEAL,gasLimit:pi.REVEAL,storageLimit:gi.REVEAL}),e],[4,this.signer.publicKey()];case 1:return[4,i.apply(void 0,o.concat([a.sent()]))];case 2:return n.apply(r,[a.sent()]),[2,t]}}))}))},e}(Yi),co=function(t){function e(e,r,n,i,o,a){var s=t.call(this,e,i,o,a)||this;return s.params=r,s.source=n,s}return ai(e,t),e.prototype.sumProp=function(t,e){return t.reduce((function(t,r){return e in r?Number(r[e])+t:t}),0)},Object.defineProperty(e.prototype,"status",{get:function(){return this.results.filter((function(t){return-1!==ho.indexOf(t.kind)})).map((function(t){return Mi(t)?t.metadata.operation_result.status:"unknown"}))[0]||"unknown"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fee",{get:function(){return this.sumProp(this.params,"fee")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gasLimit",{get:function(){return this.sumProp(this.params,"gas_limit")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageLimit",{get:function(){return this.sumProp(this.params,"storage_limit")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"consumedGas",{get:function(){return String(this.sumProp(xi({contents:this.results}),"consumed_gas"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageDiff",{get:function(){return String(this.sumProp(xi({contents:this.results}),"paid_storage_size_diff"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return Di({contents:this.results})},enumerable:!1,configurable:!0}),e}(Ki),ho=[h.ACTIVATION,h.ORIGINATION,h.TRANSACTION,h.DELEGATION],fo=function(t){function e(e,r){var n=t.call(this,e)||this;return n.estimator=r,n.operations=[],n}return ai(e,t),e.prototype.withTransfer=function(t){return this.operations.push(si({kind:h.TRANSACTION},t)),this},e.prototype.withContractCall=function(t){return this.withTransfer(t.toTransferParams())},e.prototype.withDelegation=function(t){return this.operations.push(si({kind:h.DELEGATION},t)),this},e.prototype.withActivation=function(t){var e=t.pkh,r=t.secret;return this.operations.push({kind:h.ACTIVATION,pkh:e,secret:r}),this},e.prototype.withOrigination=function(t){return this.operations.push(si({kind:h.ORIGINATION},t)),this},e.prototype.getRPCOp=function(t){return ci(this,void 0,void 0,(function(){var e;return hi(this,(function(r){switch(r.label){case 0:switch(t.kind){case h.TRANSACTION:return[3,1];case h.ORIGINATION:return[3,2];case h.DELEGATION:return[3,4];case h.ACTIVATION:return[3,5]}return[3,6];case 1:return[2,no(si({},t))];case 2:return e=ro,[4,this.context.parser.prepareCodeOrigination(si({},t))];case 3:return[2,e.apply(void 0,[r.sent()])];case 4:return[2,io(si({},t))];case 5:return[2,si({},t)];case 6:throw new Error("Unsupported operation kind: "+t.kind)}}))}))},e.prototype.with=function(t){var e,r;try{for(var n=fi(t),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.kind){case h.TRANSACTION:this.withTransfer(o);break;case h.ORIGINATION:this.withOrigination(o);break;case h.DELEGATION:this.withDelegation(o);break;case h.ACTIVATION:this.withActivation(o);break;default:throw new Error("Unsupported operation kind: "+o.kind)}}}catch(a){e={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this},e.prototype.send=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,u,c,f,l,A,p,d,g,y,m,v,b,w,I,E,_,B,C,Q=this;return hi(this,(function(M){switch(M.label){case 0:return[4,this.signer.publicKeyHash()];case 1:return e=M.sent(),[4,this.signer.publicKey()];case 2:return r=M.sent(),[4,this.estimator.batch(this.operations)];case 3:return n=M.sent(),[4,this.isRevealOpNeeded(this.operations,e)];case 4:i=M.sent(),o=i?1:0,a=[],M.label=5;case 5:M.trys.push([5,13,14,15]),s=fi(this.operations),u=s.next(),M.label=6;case 6:return u.done?[3,12]:(c=u.value,Bi(c)?[4,this.estimate(c,(function(){return ci(Q,void 0,void 0,(function(){return hi(this,(function(t){return[2,n[o]]}))}))}))]:[3,9]);case 7:return f=M.sent(),A=(l=a).push,[4,this.getRPCOp(si(si({},c),f))];case 8:return A.apply(l,[M.sent()]),[3,10];case 9:a.push(si({},c)),M.label=10;case 10:o++,M.label=11;case 11:return u=s.next(),[3,6];case 12:return[3,15];case 13:return p=M.sent(),B={error:p},[3,15];case 14:try{u&&!u.done&&(C=s.return)&&C.call(s)}finally{if(B)throw B.error}return[7];case 15:return i?(d={kind:h.REVEAL},[4,this.estimate(d,(function(){return ci(Q,void 0,void 0,(function(){return hi(this,(function(t){return[2,n[0]]}))}))}))]):[3,18];case 16:return g=M.sent(),m=(y=a).unshift,[4,ao(si({},g),e,r)];case 17:m.apply(y,[M.sent()]),M.label=18;case 18:return v=t&&t.source||e,[4,this.prepareOpAndSimulation({operation:a,source:v})];case 19:return b=M.sent(),[4,this.forge(b.preparedOp)];case 20:return w=M.sent(),[4,this.signOperation(w)];case 21:return I=M.sent(),[4,this.preValidate(b,I)];case 22:return E=M.sent(),[4,this.injectOperation(I.opbytes)];case 23:return _=M.sent(),[2,new co(_,a,v,w,E,this.context.clone())]}}))}))},e}(Yi),lo=function(){function t(t,e){this.context=t,this.estimator=e}return t.prototype.batch=function(t){var e=new fo(this.context,this.estimator);return Array.isArray(t)&&e.with(t),e},t}(),Ao=function(t){function e(e,r,n,i,o,a){var s=t.call(this,e,i,o,a)||this;return s.params=r,s.source=n,s}return ai(e,t),Object.defineProperty(e.prototype,"operationResults",{get:function(){var t=Array.isArray(this.results)&&this.results.find((function(t){return"delegation"===t.kind})),e=t&&t.metadata&&t.metadata.operation_result;return e||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){var t=this.operationResults;return t?t.status:"unknown"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"delegate",{get:function(){return this.delegate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRegisterOperation",{get:function(){return this.delegate===this.source},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fee",{get:function(){return this.params.fee},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gasLimit",{get:function(){return this.params.gas_limit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageLimit",{get:function(){return this.params.storage_limit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"consumedGas",{get:function(){var t=this.operationResults&&this.operationResults.consumed_gas;return t||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.operationResults&&this.operationResults.errors},enumerable:!1,configurable:!0}),e}(Ki),po=function(t){function e(e,r,n,i,o,a){var s=t.call(this,e,n,i,o)||this;s.params=r,s.contractProvider=a;var u=s.operationResults&&s.operationResults.originated_contracts;return Array.isArray(u)&&(s.contractAddress=u[0]),s}return ai(e,t),Object.defineProperty(e.prototype,"status",{get:function(){var t=this.operationResults;return t?t.status:"unknown"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"operationResults",{get:function(){var t=Array.isArray(this.results)&&this.results.find((function(t){return"origination"===t.kind})),e=t&&Mi(t)&&t.metadata.operation_result;return e||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fee",{get:function(){return this.params.fee},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gasLimit",{get:function(){return this.params.gas_limit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageLimit",{get:function(){return this.params.storage_limit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"consumedGas",{get:function(){var t=this.operationResults&&this.operationResults.consumed_gas;return t||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageDiff",{get:function(){var t=this.operationResults&&this.operationResults.paid_storage_size_diff;return t||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageSize",{get:function(){var t=this.operationResults&&this.operationResults.storage_size;return t||void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.operationResults&&this.operationResults.errors},enumerable:!1,configurable:!0}),e.prototype.contract=function(t,e,r){return ci(this,void 0,void 0,(function(){return hi(this,(function(n){switch(n.label){case 0:if(!this.contractAddress)throw new Error("No contract was originated in this operation");return[4,this.confirmation(t,e,r)];case 1:return n.sent(),[2,this.contractProvider.at(this.contractAddress)]}}))}))},e}(Ki),go=function(t){function e(e,r,n,i,o,a){var s=t.call(this,e,i,o,a)||this;return s.params=r,s.source=n,s}return ai(e,t),Object.defineProperty(e.prototype,"operationResults",{get:function(){var t=Array.isArray(this.results)&&this.results.find((function(t){return"reveal"===t.kind}));return t?[t]:[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){var t=this.operationResults[0];return t?t.metadata.operation_result.status:"unknown"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fee",{get:function(){return this.params.fee},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gasLimit",{get:function(){return this.params.gas_limit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageLimit",{get:function(){return this.params.storage_limit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"publicKey",{get:function(){return this.params.public_key},enumerable:!1,configurable:!0}),e.prototype.sumProp=function(t,e){return t.reduce((function(t,r){return e in r?Number(r[e])+t:t}),0)},Object.defineProperty(e.prototype,"consumedGas",{get:function(){return String(this.sumProp(xi({contents:this.operationResults}),"consumed_gas"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageDiff",{get:function(){return String(this.sumProp(xi({contents:this.operationResults}),"paid_storage_size_diff"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageSize",{get:function(){return String(this.sumProp(xi({contents:this.operationResults}),"storage_size"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return Di({contents:this.operationResults})},enumerable:!1,configurable:!0}),e}(Ki),yo=function(t){function e(e,r,n,i,o,a){var s=t.call(this,e,i,o,a)||this;return s.params=r,s.source=n,s}return ai(e,t),Object.defineProperty(e.prototype,"operationResults",{get:function(){var t=Array.isArray(this.results)&&this.results.find((function(t){return"transaction"===t.kind}));return t?[t]:[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){var t=this.operationResults[0];return t?t.metadata.operation_result.status:"unknown"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"amount",{get:function(){return new Fe.a(this.params.amount)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"destination",{get:function(){return this.params.destination},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fee",{get:function(){return this.params.fee},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gasLimit",{get:function(){return this.params.gas_limit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageLimit",{get:function(){return this.params.storage_limit},enumerable:!1,configurable:!0}),e.prototype.sumProp=function(t,e){return t.reduce((function(t,r){return e in r?Number(r[e])+t:t}),0)},Object.defineProperty(e.prototype,"consumedGas",{get:function(){return String(this.sumProp(xi({contents:this.operationResults}),"consumed_gas"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageDiff",{get:function(){return String(this.sumProp(xi({contents:this.operationResults}),"paid_storage_size_diff"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storageSize",{get:function(){return String(this.sumProp(xi({contents:this.operationResults}),"storage_size"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return Di({contents:this.operationResults})},enumerable:!1,configurable:!0}),e}(Ki);var mo=function(){function t(t,e){this.walletProvider=t,this.context=e,this.operations=[]}return t.prototype.withTransfer=function(t){return this.operations.push(si({kind:h.TRANSACTION},t)),this},t.prototype.withContractCall=function(t){return this.withTransfer(t.toTransferParams())},t.prototype.withDelegation=function(t){return this.operations.push(si({kind:h.DELEGATION},t)),this},t.prototype.withOrigination=function(t){return this.operations.push(si({kind:h.ORIGINATION},t)),this},t.prototype.mapOperation=function(t){return ci(this,void 0,void 0,(function(){var e,r;return hi(this,(function(n){switch(n.label){case 0:switch(t.kind){case h.TRANSACTION:return[3,1];case h.ORIGINATION:return[3,2];case h.DELEGATION:return[3,4]}return[3,5];case 1:return[2,this.walletProvider.mapTransferParamsToWalletParams(si({},t))];case 2:return r=(e=this.walletProvider).mapOriginateParamsToWalletParams,[4,this.context.parser.prepareCodeOrigination(si({},t))];case 3:return[2,r.apply(e,[n.sent()])];case 4:return[2,this.walletProvider.mapDelegateParamsToWalletParams(si({},t))];case 5:throw new Error("Unsupported operation kind: "+t.kind)}}))}))},t.prototype.with=function(t){var e,r;try{for(var n=fi(t),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.kind){case h.TRANSACTION:this.withTransfer(o);break;case h.ORIGINATION:this.withOrigination(o);break;case h.DELEGATION:this.withDelegation(o);break;default:throw new Error("Unsupported operation kind: "+o.kind)}}}catch(a){e={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this},t.prototype.send=function(){return ci(this,void 0,void 0,(function(){var t,e,r,n,i,o,a,s,u,c;return hi(this,(function(h){switch(h.label){case 0:t=[],h.label=1;case 1:h.trys.push([1,6,7,8]),e=fi(this.operations),r=e.next(),h.label=2;case 2:return r.done?[3,5]:(n=r.value,o=(i=t).push,[4,this.mapOperation(n)]);case 3:o.apply(i,[h.sent()]),h.label=4;case 4:return r=e.next(),[3,2];case 5:return[3,8];case 6:return a=h.sent(),u={error:a},[3,8];case 7:try{r&&!r.done&&(c=e.return)&&c.call(e)}finally{if(u)throw u.error}return[7];case 8:return[4,this.walletProvider.sendOperations(t)];case 9:return s=h.sent(),[2,this.context.operationFactory.createOperation(s)]}}))}))},t}(),vo=function(){function t(t){this.context=t,this.walletCommand=function(t){return{send:t}}}return Object.defineProperty(t.prototype,"walletProvider",{get:function(){return this.context.walletProvider},enumerable:!1,configurable:!0}),t.prototype.pkh=function(t){var e=(void 0===t?{}:t).forceRefetch;return ci(this,void 0,void 0,(function(){var t;return hi(this,(function(r){switch(r.label){case 0:return this._pkh&&!e?[3,2]:(t=this,[4,this.walletProvider.getPKH()]);case 1:t._pkh=r.sent(),r.label=2;case 2:return[2,this._pkh]}}))}))},t.prototype.originate=function(t){var e=this;return this.walletCommand((function(){return ci(e,void 0,void 0,(function(){var e,r,n,i,o;return hi(this,(function(a){switch(a.label){case 0:return n=(r=this.walletProvider).mapOriginateParamsToWalletParams,[4,this.context.parser.prepareCodeOrigination(si({},t))];case 1:return[4,n.apply(r,[a.sent()])];case 2:return e=a.sent(),[4,this.walletProvider.sendOperations([e])];case 3:return i=a.sent(),this.context.proto?[3,5]:(o=this.context,[4,this.context.rpc.getBlock()]);case 4:o.proto=a.sent().protocol,a.label=5;case 5:return[2,this.context.operationFactory.createOriginationOperation(i)]}}))}))}))},t.prototype.setDelegate=function(t){var e=this;return this.walletCommand((function(){return ci(e,void 0,void 0,(function(){var e,r;return hi(this,(function(n){switch(n.label){case 0:return[4,this.walletProvider.mapDelegateParamsToWalletParams(si({},t))];case 1:return e=n.sent(),[4,this.walletProvider.sendOperations([e])];case 2:return r=n.sent(),[2,this.context.operationFactory.createDelegationOperation(r)]}}))}))}))},t.prototype.registerDelegate=function(){var t=this;return this.walletCommand((function(){return ci(t,void 0,void 0,(function(){var t,e,r,n,i;return hi(this,(function(o){switch(o.label){case 0:return r=(e=this.walletProvider).mapDelegateParamsToWalletParams,i={},[4,this.pkh()];case 1:return[4,r.apply(e,[(i.delegate=o.sent(),i)])];case 2:return t=o.sent(),[4,this.walletProvider.sendOperations([t])];case 3:return n=o.sent(),[2,this.context.operationFactory.createDelegationOperation(n)]}}))}))}))},t.prototype.transfer=function(t){var e=this;return this.walletCommand((function(){return ci(e,void 0,void 0,(function(){var e,r;return hi(this,(function(n){switch(n.label){case 0:return[4,this.walletProvider.mapTransferParamsToWalletParams(t)];case 1:return e=n.sent(),[4,this.walletProvider.sendOperations([e])];case 2:return r=n.sent(),[2,this.context.operationFactory.createTransactionOperation(r)]}}))}))}))},t.prototype.batch=function(t){var e=new mo(this.walletProvider,this.context);return Array.isArray(t)&&e.with(t),e},t.prototype.at=function(t,e){return void 0===e&&(e=function(t){return t}),ci(this,void 0,void 0,(function(){var r,n,i,o,a;return hi(this,(function(s){switch(s.label){case 0:return[4,this.context.rpc.getScript(t)];case 1:return r=s.sent(),[4,this.context.rpc.getEntrypoints(t)];case 2:return n=s.sent(),[4,this.context.rpc.getBlockHeader()];case 3:return i=s.sent(),o=i.chain_id,a=new Co(t,r,this,this.context.contract,n,o),[2,e(a,this.context)]}}))}))},t}(),bo=function(){function t(t){this.context=t}return t.prototype.getPKH=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){return[2,this.context.signer.publicKeyHash()]}))}))},t.prototype.mapTransferParamsToWalletParams=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){return[2,Ii(t,h.TRANSACTION)]}))}))},t.prototype.mapOriginateParamsToWalletParams=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){return[2,Ii(t,h.ORIGINATION)]}))}))},t.prototype.mapDelegateParamsToWalletParams=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){return[2,Ii(t,h.DELEGATION)]}))}))},t.prototype.sendOperations=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){switch(e.label){case 0:return[4,this.context.batch.batch(t).send()];case 1:return[2,e.sent().hash]}}))}))},t}(),wo=function(){function t(t,e,r,n){void 0===r&&(r="default"),void 0===n&&(n={prim:"Unit"}),this.lambdaContract=t,this.viewContract=e,this.viewMethod=r,this.contractParameter=n,this.voidLambda=this.createVoidLambda()}return t.prototype.execute=function(){return ci(this,void 0,void 0,(function(){var t,e;return hi(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.lambdaContract.methods.default(this.voidLambda).send()];case 1:return r.sent(),[3,3];case 2:if((t=r.sent())instanceof ki)return e=t.errors[t.errors.length-1],[2,e.with];throw t;case 3:return[2]}}))}))},t.prototype.createVoidLambda=function(){var t=li(this.getView(),2),e=t[0],r=t[1],n=[{prim:"pair",args:[e,{prim:"contract",args:[r]}]}];return"default"===this.viewMethod&&(n=[{string:"%default"}].concat(n)),[{prim:"PUSH",args:[{prim:"mutez"},{int:"0"}]},{prim:"NONE",args:[{prim:"key_hash"}]},{prim:"CREATE_CONTRACT",args:[[{prim:"parameter",args:[r]},{prim:"storage",args:[{prim:"unit"}]},{prim:"code",args:[[{prim:"CAR"},{prim:"FAILWITH"}]]}]]},{prim:"DIP",args:[[{prim:"DIP",args:[[{prim:"LAMBDA",args:[{prim:"pair",args:[{prim:"address"},{prim:"unit"}]},{prim:"pair",args:[{prim:"list",args:[{prim:"operation"}]},{prim:"unit"}]},[{prim:"CAR"},{prim:"CONTRACT",args:[r]},{prim:"IF_NONE",args:[[{prim:"PUSH",args:[{prim:"string"},{string:"Callback type unmatched"}]},{prim:"FAILWITH"}],[]]},{prim:"PUSH",args:[e,this.contractParameter]},{prim:"PAIR"},{prim:"DIP",args:[[{prim:"PUSH",args:[{prim:"address"},{string:this.viewContract.address+"%"+this.viewMethod}]},{prim:"DUP"},{prim:"CONTRACT",args:n},{prim:"IF_NONE",args:[[{prim:"PUSH",args:[{prim:"string"},{string:"Contract does not exist"}]},{prim:"FAILWITH"}],[{prim:"DIP",args:[[{prim:"DROP"}]]}]]},{prim:"PUSH",args:[{prim:"mutez"},{int:"0"}]}]]},{prim:"TRANSFER_TOKENS"},{prim:"DIP",args:[[{prim:"NIL",args:[{prim:"operation"}]}]]},{prim:"CONS"},{prim:"DIP",args:[[{prim:"UNIT"}]]},{prim:"PAIR"}]]}]]},{prim:"APPLY"},{prim:"DIP",args:[[{prim:"PUSH",args:[{prim:"address"},{string:this.lambdaContract.address}]},{prim:"DUP"},{prim:"CONTRACT",args:[{prim:"lambda",args:[{prim:"unit"},{prim:"pair",args:[{prim:"list",args:[{prim:"operation"}]},{prim:"unit"}]}]}]},{prim:"IF_NONE",args:[[{prim:"PUSH",args:[{prim:"string"},{string:"Contract does not exists"}]},{prim:"FAILWITH"}],[{prim:"DIP",args:[[{prim:"DROP"}]]}]]},{prim:"PUSH",args:[{prim:"mutez"},{int:"0"}]}]]},{prim:"TRANSFER_TOKENS"},{prim:"DIP",args:[[{prim:"NIL",args:[{prim:"operation"}]}]]},{prim:"CONS"}]]},{prim:"CONS"},{prim:"DIP",args:[[{prim:"UNIT"}]]},{prim:"PAIR"}]},t.prototype.getView=function(){var t=this.viewContract.entrypoints.entrypoints[this.viewMethod];if(!t)throw Error("Contract at "+this.viewContract.address+" does not have entrypoint: "+this.viewMethod);if(!("prim"in t)||!t.args)throw Error("Entrypoint args undefined");var e,r=Array.from(t.args),n=li(r,2),i=n[0],o=n[1];if("annots"in i&&delete i.annots,!("prim"in o)||!o.args)throw Error("Callback contract args undefined");if("pair"!==t.prim?e="Expected {'prim': 'pair', ..} but found {'prim': "+t.prim+", ..}":2!==r.length?e="Expected an Array of length 2, but found: "+r:"contract"!==o.prim?e="Expected a {prim: 'contract', ...}, but found: "+o.prim:o.args&&1!==o.args.length&&(e="Expected a single argument to 'contract', but found: "+o.args),e)throw Error(e);return[i,o.args[0]]},t}(),Io="default",Eo=function(){function t(t,e,r,n,i,o,a){void 0===o&&(o=!0),void 0===a&&(a=!1),this.provider=t,this.address=e,this.parameterSchema=r,this.name=n,this.args=i,this.isMultipleEntrypoint=o,this.isAnonymous=a}return Object.defineProperty(t.prototype,"schema",{get:function(){return this.isAnonymous?this.parameterSchema.ExtractSchema()[this.name]:this.parameterSchema.ExtractSchema()},enumerable:!1,configurable:!0}),t.prototype.send=function(t){return void 0===t&&(t={}),this.provider instanceof vo?this.provider.transfer(this.toTransferParams(t)).send():this.provider.transfer(this.toTransferParams(t))},t.prototype.toTransferParams=function(t){var e,r,n=void 0===t?{}:t,i=n.fee,o=n.gasLimit,a=n.storageLimit,s=n.source,u=n.amount,c=void 0===u?0:u,h=n.mutez,f=void 0!==h&&h;return{to:this.address,amount:c,fee:i,mutez:f,source:s,gasLimit:o,storageLimit:a,parameter:{entrypoint:this.isMultipleEntrypoint?this.name:"default",value:this.isAnonymous?(e=this.parameterSchema).Encode.apply(e,Ai([this.name],li(this.args))):(r=this.parameterSchema).Encode.apply(r,Ai([],li(this.args)))}}},t}(),_o=function(){function t(t,e,r,n,i,o,a){this.currentContract=t,this.provider=e,this.name=r,this.chainId=n,this.callbackParametersSchema=i,this.parameterSchema=o,this.args=a}return t.prototype.read=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o;return hi(this,(function(a){switch(a.label){case 0:if(t)e=t;else if(this.chainId===Hi.EDONET)e=Gi.EDONET;else if(this.chainId===Hi.FLORENCENET)e=Gi.FLORENCENET;else if(this.chainId===Hi.GRANADANET)e=Gi.GRANADANET;else{if(this.chainId!==Hi.MAINNET)throw new Zi;e=Gi.MAINNET}return[4,this.provider.at(e)];case 1:return r=a.sent(),n=(o=this.parameterSchema).Encode.apply(o,Ai([],li(this.args))),[4,new wo(r,this.currentContract,this.name,n).execute()];case 2:return i=a.sent(),[2,this.callbackParametersSchema.Execute(i)]}}))}))},t}(),Bo=function(t,e,r){var n=e.ExtractSignatures();if(!n.find((function(e){return e.length===t.length})))throw new Wi(r,n,t)},Co=function(){function t(t,e,r,n,i,o){this.address=t,this.script=e,this.storageProvider=n,this.entrypoints=i,this.chainId=o,this.methods={},this.views={},this.schema=Ue.c.fromRPCResponse({script:this.script}),this.parameterSchema=Ue.b.fromRPCResponse({script:this.script}),this._initializeMethods(this,t,r,this.entrypoints.entrypoints,this.chainId)}return t.prototype._initializeMethods=function(t,e,r,n,i){var o=this,a=this.parameterSchema,s=Object.keys(n);if(a.isMultipleEntryPoint){s.forEach((function(a){var s=new Ue.b(n[a]);if(o.methods[a]=function(){for(var t=[],n=0;n=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;ot.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;n--){var i=t[n];"."===i?t.splice(n,1):".."===i?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return(i?"/":"")+(e=r(n(e.split("/"),(function(t){return!!t})),!i).join("/"))||"."},e.normalize=function(t){var o=e.isAbsolute(t),a="/"===i(t,-1);return(t=r(n(t.split("/"),(function(t){return!!t})),!o).join("/"))||o||(t="."),t&&a&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(n(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,r){function n(t){for(var e=0;e=0&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var i=n(t.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,u=0;u=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var r=function(t){"string"!==typeof t&&(t+="");var e,r=0,n=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){r=e+1;break}}else-1===n&&(i=!1,n=e+1);return-1===n?"":t.slice(r,n)}(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,r=0,n=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){r=a+1;break}}return-1===e||-1===n||0===o||1===o&&e===n-1&&e===r+1?"":t.slice(e,n)};var i="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r(20))},function(t,e,r){var n=r(10).Buffer;function i(t){n.isBuffer(t)||(t=n.from(t));for(var e=t.length/4|0,r=new Array(e),i=0;i>>24]^h[p>>>16&255]^f[d>>>8&255]^l[255&g]^e[y++],a=c[p>>>24]^h[d>>>16&255]^f[g>>>8&255]^l[255&A]^e[y++],s=c[d>>>24]^h[g>>>16&255]^f[A>>>8&255]^l[255&p]^e[y++],u=c[g>>>24]^h[A>>>16&255]^f[p>>>8&255]^l[255&d]^e[y++],A=o,p=a,d=s,g=u;return o=(n[A>>>24]<<24|n[p>>>16&255]<<16|n[d>>>8&255]<<8|n[255&g])^e[y++],a=(n[p>>>24]<<24|n[d>>>16&255]<<16|n[g>>>8&255]<<8|n[255&A])^e[y++],s=(n[d>>>24]<<24|n[g>>>16&255]<<16|n[A>>>8&255]<<8|n[255&p])^e[y++],u=(n[g>>>24]<<24|n[A>>>16&255]<<16|n[p>>>8&255]<<8|n[255&d])^e[y++],[o>>>=0,a>>>=0,s>>>=0,u>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,u=0;u<256;++u){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,r[a]=c,n[c]=a;var h=t[a],f=t[h],l=t[f],A=257*t[c]^16843008*c;i[0][a]=A<<24|A>>>8,i[1][a]=A<<16|A>>>16,i[2][a]=A<<8|A>>>24,i[3][a]=A,A=16843009*l^65537*f^257*h^16843008*a,o[0][c]=A<<24|A>>>8,o[1][c]=A<<16|A>>>16,o[2][c]=A<<8|A>>>24,o[3][c]=A,0===a?a=s=1:(a=h^t[t[t[l^h]]],s^=t[t[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function c(t){this._key=i(t),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),i=[],o=0;o>>24,a=u.SBOX[a>>>24]<<24|u.SBOX[a>>>16&255]<<16|u.SBOX[a>>>8&255]<<8|u.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e===4&&(a=u.SBOX[a>>>24]<<24|u.SBOX[a>>>16&255]<<16|u.SBOX[a>>>8&255]<<8|u.SBOX[255&a]),i[o]=i[o-e]^a}for(var c=[],h=0;h>>24]]^u.INV_SUB_MIX[1][u.SBOX[l>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[l>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&l]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},c.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=n.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},c.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var r=a(t,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=c},function(t,e,r){var n=r(10).Buffer,i=r(81);t.exports=function(t,e,r,o){if(n.isBuffer(t)||(t=n.from(t,"binary")),e&&(n.isBuffer(e)||(e=n.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=r/8,s=n.alloc(a),u=n.alloc(o||0),c=n.alloc(0);a>0||o>0;){var h=new i;h.update(c),h.update(t),e&&h.update(e),c=h.digest();var f=0;if(a>0){var l=s.length-a;f=Math.min(a,c.length),c.copy(s,l,0,f),a-=f}if(f0){var A=u.length-o,p=Math.min(o,c.length-f);c.copy(u,A,f,f+p),o-=p}}return c.fill(0),{key:s,iv:u}}},function(t,e,r){"use strict";var n=r(41),i=r(33),o=i.getNAF,a=i.getJSF,s=i.assert;function u(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=u,u.prototype.point=function(){throw new Error("Not implemented")},u.prototype.validate=function(){throw new Error("Not implemented")},u.prototype._fixedNafMul=function(t,e){s(t.precomputed);var r=t._getDoubles(),n=o(e,1,this._bitLength),i=(1<=a;h--)u=(u<<1)+n[h];c.push(u)}for(var f=this.jpoint(null,null,null),l=this.jpoint(null,null,null),A=i;A>0;A--){for(a=0;a=0;c--){for(var h=0;c>=0&&0===a[c];c--)h++;if(c>=0&&h++,u=u.dblp(h),c<0)break;var f=a[c];s(0!==f),u="affine"===t.type?f>0?u.mixedAdd(i[f-1>>1]):u.mixedAdd(i[-f-1>>1].neg()):f>0?u.add(i[f-1>>1]):u.add(i[-f-1>>1].neg())}return"affine"===t.type?u.toP():u},u.prototype._wnafMulAdd=function(t,e,r,n,i){var s,u,c,h=this._wnafT1,f=this._wnafT2,l=this._wnafT3,A=0;for(s=0;s=1;s-=2){var d=s-1,g=s;if(1===h[d]&&1===h[g]){var y=[e[d],null,null,e[g]];0===e[d].y.cmp(e[g].y)?(y[1]=e[d].add(e[g]),y[2]=e[d].toJ().mixedAdd(e[g].neg())):0===e[d].y.cmp(e[g].y.redNeg())?(y[1]=e[d].toJ().mixedAdd(e[g]),y[2]=e[d].add(e[g].neg())):(y[1]=e[d].toJ().mixedAdd(e[g]),y[2]=e[d].toJ().mixedAdd(e[g].neg()));var m=[-3,-1,-5,-7,0,7,5,1,3],v=a(r[d],r[g]);for(A=Math.max(v[0].length,A),l[d]=new Array(A),l[g]=new Array(A),u=0;u=0;s--){for(var _=0;s>=0;){var B=!0;for(u=0;u=0&&_++,I=I.dblp(_),s<0)break;for(u=0;u0?c=f[u][C-1>>1]:C<0&&(c=f[u][-C-1>>1].neg()),I="affine"===c.type?I.mixedAdd(c):I.add(c))}}for(s=0;s=Math.ceil((t.bitLength()+1)/e.step)},c.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=c.crypto_secretbox_NONCEBYTES+c.crypto_secretbox_MACBYTES)){n.next=14;break}return n.prev=6,n.next=9,Object(f.a)(s,a);case 9:return n.abrupt("return",n.sent);case 12:n.prev=12,n.t0=n.catch(6);case 14:throw new Error("Could not decrypt message");case 15:case"end":return n.stop()}}),n,this,[[6,12]])})))}},{key:"encryptMessage",value:function(t,e){return p(this,void 0,void 0,i.a.mark((function r(){var n,o;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.createCryptoBoxClient(t,this.keyPair.privateKey);case 2:return n=r.sent,o=n.sharedTx,r.abrupt("return",Object(f.b)(e,o));case 5:case"end":return r.stop()}}),r,this)})))}}]),n}(A.a)}).call(this,r(11).Buffer)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(56);function i(t,e){var r;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=Object(n.a)(t))||e&&t&&"number"===typeof t.length){r&&(t=r);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return f}));var n=r(13),i=r(0),o=r.n(i),a=r(1),s=r(3),u=r(4),c=r(15),h=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},f=function(){function e(t){Object(a.a)(this,e),this.keyPair=t}return Object(s.a)(e,[{key:"getPublicKey",value:function(){return h(this,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(c.i)(this.keyPair.publicKey));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"getPublicKeyHash",value:function(){return h(this,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Object(c.d)(this.keyPair.publicKey));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"createCryptoBox",value:function(e,r){return h(this,void 0,void 0,o.a.mark((function n(){var i,a,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=u.crypto_sign_ed25519_sk_to_curve25519(t.from(r)),a=u.crypto_sign_ed25519_pk_to_curve25519(t.from(r).slice(32,64)),s=u.crypto_sign_ed25519_pk_to_curve25519(t.from(e,"hex")),n.abrupt("return",[t.from(a),t.from(i),t.from(s)]);case 4:case"end":return n.stop()}}),n)})))}},{key:"createCryptoBoxServer",value:function(t,e){return h(this,void 0,void 0,o.a.mark((function r(){var i;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.createCryptoBox(t,e);case 2:return i=r.sent,r.abrupt("return",u.crypto_kx_server_session_keys.apply(u,Object(n.a)(i)));case 4:case"end":return r.stop()}}),r,this)})))}},{key:"createCryptoBoxClient",value:function(t,e){return h(this,void 0,void 0,o.a.mark((function r(){var i;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.createCryptoBox(t,e);case 2:return i=r.sent,r.abrupt("return",u.crypto_kx_client_session_keys.apply(u,Object(n.a)(i)));case 4:case"end":return r.stop()}}),r,this)})))}},{key:"encryptMessageAsymmetric",value:function(e,r){return h(this,void 0,void 0,o.a.mark((function n(){return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Object(c.h)(r,t.from(e,"hex")));case 1:case"end":return n.stop()}}),n)})))}}]),e}()}).call(this,r(11).Buffer)},function(t,e,r){var n,i,o,a=function(){var t=function(t,e){var r=t,n=o[e],i=null,a=0,s=null,u=[],c={},h=function(t,e){i=function(t){for(var e=new Array(t),r=0;r=7&&d(t),null==s&&(s=C(r,n,u)),_(s,e)},f=function(t,e){for(var r=-1;r<=7;r+=1)if(!(t+r<=-1||a<=t+r))for(var n=-1;n<=7;n+=1)e+n<=-1||a<=e+n||(i[t+r][e+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},l=function(){for(var t=8;t>n&1);i[Math.floor(n/3)][n%3+a-8-3]=o}for(n=0;n<18;n+=1){o=!t&&1==(e>>n&1);i[n%3+a-8-3][Math.floor(n/3)]=o}},E=function(t,e){for(var r=n<<3|e,o=p.getBCHTypeInfo(r),s=0;s<15;s+=1){var u=!t&&1==(o>>s&1);s<6?i[s][8]=u:s<8?i[s+1][8]=u:i[a-15+s][8]=u}for(s=0;s<15;s+=1){u=!t&&1==(o>>s&1);s<8?i[8][a-s-1]=u:s<9?i[8][15-s-1+1]=u:i[8][15-s-1]=u}i[a-8][8]=!t},_=function(t,e){for(var r=-1,n=a-1,o=7,s=0,u=p.getMaskFunction(e),c=a-1;c>0;c-=2)for(6==c&&(c-=1);;){for(var h=0;h<2;h+=1)if(null==i[n][c-h]){var f=!1;s>>o&1)),u(n,c-h)&&(f=!f),i[n][c-h]=f,-1==(o-=1)&&(s+=1,o=7)}if((n+=r)<0||a<=n){n-=r,r=-r;break}}},C=function(t,e,r){for(var n=y.getRSBlocks(t,e),i=m(),o=0;o8*s)throw"code length overflow. ("+i.getLengthInBits()+">"+8*s+")";for(i.getLengthInBits()+4<=8*s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*s)&&(i.put(236,8),!(i.getLengthInBits()>=8*s));)i.put(17,8);return function(t,e){for(var r=0,n=0,i=0,o=new Array(e.length),a=new Array(e.length),s=0;s=0?l.getAt(A):0}}var d=0;for(h=0;hn)&&(t=n,e=r)}return e}())},c.createTableTag=function(t,e){t=t||2;var r="";r+='";for(var i=0;i';r+=""}return r+="",r+="
"},c.createSvgTag=function(t,e,r,n){var i={};"object"==typeof arguments[0]&&(t=(i=arguments[0]).cellSize,e=i.margin,r=i.alt,n=i.title),t=t||2,e="undefined"==typeof e?4*t:e,(r="string"===typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-description":null,(n="string"===typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-title":null;var o,a,s,u,h=c.getModuleCount()*t+2*e,f="";for(u="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ",f+=''+Q(n.text)+"":"",f+=r.text?''+Q(r.text)+"":"",f+='',f+='":e+=">";break;case"&":e+="&";break;case'"':e+=""";break;default:e+=n}}return e};return c.createASCII=function(t,e){if((t=t||1)<2)return function(t){t="undefined"==typeof t?2:t;var e,r,n,i,o,a=1*c.getModuleCount()+2*t,s=t,u=a-t,h={"\u2588\u2588":"\u2588","\u2588 ":"\u2580"," \u2588":"\u2584"," ":" "},f={"\u2588\u2588":"\u2580","\u2588 ":"\u2580"," \u2588":" "," ":" "},l="";for(e=0;e=u?f[o]:h[o];l+="\n"}return a%2&&t>0?l.substring(0,l.length-a-1)+Array(a+1).join("\u2580"):l.substring(0,l.length-1)}(e);t-=1,e="undefined"==typeof e?2*t:e;var r,n,i,o,a=c.getModuleCount()*t+2*e,s=e,u=a-e,h=Array(t+1).join("\u2588\u2588"),f=Array(t+1).join(" "),l="",A="";for(r=0;r>>8),e.push(255&a)):e.push(n)}}return e}};var e=1,r=2,n=4,i=8,o={L:1,M:0,Q:3,H:2},a=0,s=1,u=2,c=3,h=4,f=5,l=6,A=7,p=function(){var t=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],o=1335,p=7973,y={},m=function(t){for(var e=0;0!=t;)e+=1,t>>>=1;return e};return y.getBCHTypeInfo=function(t){for(var e=t<<10;m(e)-m(o)>=0;)e^=o<=0;)e^=p<5&&(r+=3+o-5)}for(n=0;n=256;)e-=255;return t[e]}};return n}();function g(t,e){if("undefined"==typeof t.length)throw t.length+"/"+e;var r=function(){for(var r=0;r>>7-e%8&1)},put:function(t,e){for(var n=0;n>>e-n-1&1))},getLengthInBits:function(){return e},putBit:function(r){var n=Math.floor(e/8);t.length<=n&&t.push(0),r&&(t[n]|=128>>>e%8),e+=1}};return r},v=function(t){var r=e,n=t,i={getMode:function(){return r},getLength:function(t){return n.length},write:function(t){for(var e=n,r=0;r+2>>8&255)+(255&n),t.put(n,13),r+=2}if(r>>8)},writeBytes:function(t,r,n){r=r||0,n=n||t.length;for(var i=0;i0&&(e+=","),e+=t[r];return e+="]"}};return e},_=function(t){var e=t,r=0,n=0,i=0,o={read:function(){for(;i<8;){if(r>=e.length){if(0==i)return-1;throw"unexpected end of file./"+i}var t=e.charAt(r);if(r+=1,"="==t)return i=0,-1;t.match(/^\s$/)||(n=n<<6|a(t.charCodeAt(0)),i+=6)}var o=n>>>i-8&255;return i-=8,o}},a=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return o},B=function(t,e,r){for(var n=function(t,e){var r=t,n=e,i=new Array(t*e),o={setPixel:function(t,e,n){i[e*r+t]=n},write:function(t){t.writeString("GIF87a"),t.writeShort(r),t.writeShort(n),t.writeByte(128),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(255),t.writeByte(255),t.writeByte(255),t.writeString(","),t.writeShort(0),t.writeShort(0),t.writeShort(r),t.writeShort(n),t.writeByte(0);var e=a(2);t.writeByte(2);for(var i=0;e.length-i>255;)t.writeByte(255),t.writeBytes(e,i,255),i+=255;t.writeByte(e.length-i),t.writeBytes(e,i,e.length-i),t.writeByte(0),t.writeString(";")}},a=function(t){for(var e=1<>>i!=0)throw"length over";for(;r+i>=8;)e.writeByte(255&(t<>>=8-r,n=0,r=0;n|=t<0&&e.writeByte(n)}}}(u);c.write(e,n);var h=0,f=String.fromCharCode(i[h]);for(h+=1;h=6;)o(t>>>e-6),e-=6},i.flush=function(){if(e>0&&(o(t<<6-e),t=0,e=0),r%3!=0)for(var i=3-r%3,a=0;a>6,128|63&n):n<55296||n>=57344?e.push(224|n>>12,128|n>>6&63,128|63&n):(r++,n=65536+((1023&n)<<10|1023&t.charCodeAt(r)),e.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return e}(t)},i=[],void 0===(o="function"===typeof(n=function(){return a})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){"use strict";var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var r,s,u=a(t),c=1;c>>32-e}function c(t,e,r,n,i,o,a){return u(t+(e&r|~e&n)+i+o|0,a)+e|0}function h(t,e,r,n,i,o,a){return u(t+(e&n|r&~n)+i+o|0,a)+e|0}function f(t,e,r,n,i,o,a){return u(t+(e^r^n)+i+o|0,a)+e|0}function l(t,e,r,n,i,o,a){return u(t+(r^(e|~n))+i+o|0,a)+e|0}n(s,i),s.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,o=this._d;r=c(r,n,i,o,t[0],3614090360,7),o=c(o,r,n,i,t[1],3905402710,12),i=c(i,o,r,n,t[2],606105819,17),n=c(n,i,o,r,t[3],3250441966,22),r=c(r,n,i,o,t[4],4118548399,7),o=c(o,r,n,i,t[5],1200080426,12),i=c(i,o,r,n,t[6],2821735955,17),n=c(n,i,o,r,t[7],4249261313,22),r=c(r,n,i,o,t[8],1770035416,7),o=c(o,r,n,i,t[9],2336552879,12),i=c(i,o,r,n,t[10],4294925233,17),n=c(n,i,o,r,t[11],2304563134,22),r=c(r,n,i,o,t[12],1804603682,7),o=c(o,r,n,i,t[13],4254626195,12),i=c(i,o,r,n,t[14],2792965006,17),r=h(r,n=c(n,i,o,r,t[15],1236535329,22),i,o,t[1],4129170786,5),o=h(o,r,n,i,t[6],3225465664,9),i=h(i,o,r,n,t[11],643717713,14),n=h(n,i,o,r,t[0],3921069994,20),r=h(r,n,i,o,t[5],3593408605,5),o=h(o,r,n,i,t[10],38016083,9),i=h(i,o,r,n,t[15],3634488961,14),n=h(n,i,o,r,t[4],3889429448,20),r=h(r,n,i,o,t[9],568446438,5),o=h(o,r,n,i,t[14],3275163606,9),i=h(i,o,r,n,t[3],4107603335,14),n=h(n,i,o,r,t[8],1163531501,20),r=h(r,n,i,o,t[13],2850285829,5),o=h(o,r,n,i,t[2],4243563512,9),i=h(i,o,r,n,t[7],1735328473,14),r=f(r,n=h(n,i,o,r,t[12],2368359562,20),i,o,t[5],4294588738,4),o=f(o,r,n,i,t[8],2272392833,11),i=f(i,o,r,n,t[11],1839030562,16),n=f(n,i,o,r,t[14],4259657740,23),r=f(r,n,i,o,t[1],2763975236,4),o=f(o,r,n,i,t[4],1272893353,11),i=f(i,o,r,n,t[7],4139469664,16),n=f(n,i,o,r,t[10],3200236656,23),r=f(r,n,i,o,t[13],681279174,4),o=f(o,r,n,i,t[0],3936430074,11),i=f(i,o,r,n,t[3],3572445317,16),n=f(n,i,o,r,t[6],76029189,23),r=f(r,n,i,o,t[9],3654602809,4),o=f(o,r,n,i,t[12],3873151461,11),i=f(i,o,r,n,t[15],530742520,16),r=l(r,n=f(n,i,o,r,t[2],3299628645,23),i,o,t[0],4096336452,6),o=l(o,r,n,i,t[7],1126891415,10),i=l(i,o,r,n,t[14],2878612391,15),n=l(n,i,o,r,t[5],4237533241,21),r=l(r,n,i,o,t[12],1700485571,6),o=l(o,r,n,i,t[3],2399980690,10),i=l(i,o,r,n,t[10],4293915773,15),n=l(n,i,o,r,t[1],2240044497,21),r=l(r,n,i,o,t[8],1873313359,6),o=l(o,r,n,i,t[15],4264355552,10),i=l(i,o,r,n,t[6],2734768916,15),n=l(n,i,o,r,t[13],1309151649,21),r=l(r,n,i,o,t[4],4149444226,6),o=l(o,r,n,i,t[11],3174756917,10),i=l(i,o,r,n,t[2],718787259,15),n=l(n,i,o,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=s},function(t,e,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(n){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}}).call(this,r(22))},function(t,e,r){"use strict";var n=r(51).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,o){if("function"===typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i>>32-e}function d(t,e,r,n,i,o,a,s){return p(t+(e^r^n)+o+a|0,s)+i|0}function g(t,e,r,n,i,o,a,s){return p(t+(e&r|~e&n)+o+a|0,s)+i|0}function y(t,e,r,n,i,o,a,s){return p(t+((e|~r)^n)+o+a|0,s)+i|0}function m(t,e,r,n,i,o,a,s){return p(t+(e&n|r&~n)+o+a|0,s)+i|0}function v(t,e,r,n,i,o,a,s){return p(t+(e^(r|~n))+o+a|0,s)+i|0}i(A,o),A.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,A=0|this._e,b=0|this._a,w=0|this._b,I=0|this._c,E=0|this._d,_=0|this._e,B=0;B<80;B+=1){var C,Q;B<16?(C=d(r,n,i,o,A,t[s[B]],f[0],c[B]),Q=v(b,w,I,E,_,t[u[B]],l[0],h[B])):B<32?(C=g(r,n,i,o,A,t[s[B]],f[1],c[B]),Q=m(b,w,I,E,_,t[u[B]],l[1],h[B])):B<48?(C=y(r,n,i,o,A,t[s[B]],f[2],c[B]),Q=y(b,w,I,E,_,t[u[B]],l[2],h[B])):B<64?(C=m(r,n,i,o,A,t[s[B]],f[3],c[B]),Q=g(b,w,I,E,_,t[u[B]],l[3],h[B])):(C=v(r,n,i,o,A,t[s[B]],f[4],c[B]),Q=d(b,w,I,E,_,t[u[B]],l[4],h[B])),r=A,A=o,o=p(i,10),i=n,n=C,b=_,_=E,E=p(I,10),I=w,w=Q}var M=this._b+i+E|0;this._b=this._c+o+_|0,this._c=this._d+A+b|0,this._d=this._e+r+w|0,this._e=this._a+n+I|0,this._a=M},A.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=A},function(t,e,r){(e=t.exports=function(t){t=t.toLowerCase();var r=e[t];if(!r)throw new Error(t+" is not supported (we accept pull requests)");return new r}).sha=r(210),e.sha1=r(211),e.sha224=r(212),e.sha256=r(125),e.sha384=r(213),e.sha512=r(126)},function(t,e,r){(e=t.exports=r(127)).Stream=e,e.Readable=e,e.Writable=r(88),e.Duplex=r(48),e.Transform=r(131),e.PassThrough=r(219)},function(t,e,r){var n=r(11),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),o(i,a),a.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";(function(e,n,i){var o=r(45);function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=m;var s,u=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?n:o.nextTick;m.WritableState=y;var c=Object.create(r(39));c.inherits=r(8);var h={deprecate:r(82)},f=r(128),l=r(87).Buffer,A=i.Uint8Array||function(){};var p,d=r(129);function g(){}function y(t,e){s=s||r(48),t=t||{};var n=e instanceof s;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,c=t.writableHighWaterMark,h=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(c||0===c)?c:h,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?(o.nextTick(i,n),o.nextTick(_,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),_(t,e))}(t,r,n,e,i);else{var a=I(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||w(t,r),n?u(b,t,r,a,i):b(t,r,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function m(t){if(s=s||r(48),!p.call(m,this)&&!(this instanceof s))return new m(t);this._writableState=new y(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),f.call(this)}function v(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function b(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),_(t,e)}function w(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,u=!0;r;)i[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;i.allBuffers=u,v(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,h=r.encoding,f=r.callback;if(v(t,e,!1,e.objectMode?1:c.length,c,h,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function I(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function E(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),_(t,e)}))}function _(t,e){var r=I(e);return r&&(!function(t,e){e.prefinished||e.finalCalled||("function"===typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(E,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}c.inherits(m,f),y.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(y.prototype,"buffer",{get:h.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===m&&(t&&t._writableState instanceof y)}})):p=function(t){return t instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(t,e,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=t,l.isBuffer(n)||n instanceof A);return s&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"===typeof e&&(r=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!==typeof r&&(r=g),i.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),o.nextTick(e,r)}(this,r):(s||function(t,e,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),o.nextTick(n,a),i=!1),i}(this,i,t,r))&&(i.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=l.from(e,r));return e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var u=e.length-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(t,e,r){var n=this._writableState;"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,_(t,e),r&&(e.finished?o.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),m.prototype.destroy=d.destroy,m.prototype._undestroy=d.undestroy,m.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r(20),r(130).setImmediate,r(22))},function(t,e,r){"use strict";var n=r(32);function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var r=Math.min(this.buffer.length-this.bufferOff,t.length-e),n=0;n0;n--)e+=this._buffer(t,e),r+=this._flushBuffer(i,r);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,r;return t&&(e=this.update(t)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(r):r},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function a(t,r){var i=function(t){var e=o(t);return{blinder:e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(r),a=r.modulus.byteLength(),s=new n(t).mul(i.blinder).umod(r.modulus),u=s.toRed(n.mont(r.prime1)),c=s.toRed(n.mont(r.prime2)),h=r.coefficient,f=r.prime1,l=r.prime2,A=u.redPow(r.exponent1).fromRed(),p=c.redPow(r.exponent2).fromRed(),d=A.isub(p).imul(h).umod(f).imul(l);return p.iadd(d).imul(i.unblinder).umod(r.modulus).toArrayLike(e,"be",a)}a.getr=o,t.exports=a}).call(this,r(11).Buffer)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=r(251).Buffer}catch(Q){}function s(t,e,r){for(var i=0,o=Math.min(t.length,r),a=0,s=e;s=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,a|=u}return n(!(240&a),"Invalid character in "+t),i}function u(t,e,r,i){for(var o=0,a=0,s=Math.min(t.length,r),u=e;u=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<>>26-o&4194303),this._strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,h=r;h1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(Q){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],A=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?f[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var c=l[t],h=A[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var d=p.modrn(h).toString(t);r=(p=p.idivn(h)).isZero()?d+r:f[c-d.length]+d+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(a,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function p(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c>>26,f=67108863&u,l=Math.min(c,e.length-1),A=Math.max(0,c-t.length+1);A<=l;A++){var p=c-A|0;h+=(a=(i=0|t.words[p])*(o=0|e.words[A])+f)/67108864|0,f=67108863&a}r.words[c]=0|f,u=0|h}return 0!==u?r.words[c]=0|u:r.length--,r._strip()}o.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i>8&255),r>16&255),6===o?(r>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r=0&&(t[r--]=a>>8&255),r>=0&&(t[r--]=a>>16&255),6===o?(r>=0&&(t[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,A=0|a[1],p=8191&A,d=A>>>13,g=0|a[2],y=8191&g,m=g>>>13,v=0|a[3],b=8191&v,w=v>>>13,I=0|a[4],E=8191&I,_=I>>>13,B=0|a[5],C=8191&B,Q=B>>>13,M=0|a[6],k=8191&M,S=M>>>13,x=0|a[7],D=8191&x,R=x>>>13,N=0|a[8],P=8191&N,T=N>>>13,O=0|a[9],F=8191&O,U=O>>>13,L=0|s[0],G=8191&L,H=L>>>13,j=0|s[1],Y=8191&j,K=j>>>13,q=0|s[2],J=8191&q,V=q>>>13,z=0|s[3],X=8191&z,W=z>>>13,Z=0|s[4],$=8191&Z,tt=Z>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,ht=0|s[8],ft=8191&ht,lt=ht>>>13,At=0|s[9],pt=8191&At,dt=At>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(c+(n=Math.imul(f,G))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(l,G)|0))<<13)|0;c=((o=Math.imul(l,H))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,G),i=(i=Math.imul(p,H))+Math.imul(d,G)|0,o=Math.imul(d,H);var yt=(c+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,K)|0)+Math.imul(l,Y)|0))<<13)|0;c=((o=o+Math.imul(l,K)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,G),i=(i=Math.imul(y,H))+Math.imul(m,G)|0,o=Math.imul(m,H),n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(d,Y)|0,o=o+Math.imul(d,K)|0;var mt=(c+(n=n+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(l,J)|0))<<13)|0;c=((o=o+Math.imul(l,V)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(b,G),i=(i=Math.imul(b,H))+Math.imul(w,G)|0,o=Math.imul(w,H),n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,K)|0,n=n+Math.imul(p,J)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(d,J)|0,o=o+Math.imul(d,V)|0;var vt=(c+(n=n+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(l,X)|0))<<13)|0;c=((o=o+Math.imul(l,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(E,G),i=(i=Math.imul(E,H))+Math.imul(_,G)|0,o=Math.imul(_,H),n=n+Math.imul(b,Y)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,K)|0,n=n+Math.imul(y,J)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,V)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(d,X)|0,o=o+Math.imul(d,W)|0;var bt=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(l,$)|0))<<13)|0;c=((o=o+Math.imul(l,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(C,G),i=(i=Math.imul(C,H))+Math.imul(Q,G)|0,o=Math.imul(Q,H),n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,K)|0,n=n+Math.imul(b,J)|0,i=(i=i+Math.imul(b,V)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,V)|0,n=n+Math.imul(y,X)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,W)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(d,$)|0,o=o+Math.imul(d,tt)|0;var wt=(c+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(l,rt)|0))<<13)|0;c=((o=o+Math.imul(l,nt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,G),i=(i=Math.imul(k,H))+Math.imul(S,G)|0,o=Math.imul(S,H),n=n+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(Q,Y)|0,o=o+Math.imul(Q,K)|0,n=n+Math.imul(E,J)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(_,J)|0,o=o+Math.imul(_,V)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(d,rt)|0,o=o+Math.imul(d,nt)|0;var It=(c+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(l,ot)|0))<<13)|0;c=((o=o+Math.imul(l,at)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,H))+Math.imul(R,G)|0,o=Math.imul(R,H),n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,K)|0,n=n+Math.imul(C,J)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(Q,J)|0,o=o+Math.imul(Q,V)|0,n=n+Math.imul(E,X)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(d,ot)|0,o=o+Math.imul(d,at)|0;var Et=(c+(n=n+Math.imul(f,ut)|0)|0)+((8191&(i=(i=i+Math.imul(f,ct)|0)+Math.imul(l,ut)|0))<<13)|0;c=((o=o+Math.imul(l,ct)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),i=(i=Math.imul(P,H))+Math.imul(T,G)|0,o=Math.imul(T,H),n=n+Math.imul(D,Y)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(Q,X)|0,o=o+Math.imul(Q,W)|0,n=n+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(b,rt)|0,i=(i=i+Math.imul(b,nt)|0)+Math.imul(w,rt)|0,o=o+Math.imul(w,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(d,ut)|0,o=o+Math.imul(d,ct)|0;var _t=(c+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,lt)|0)+Math.imul(l,ft)|0))<<13)|0;c=((o=o+Math.imul(l,lt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(F,G),i=(i=Math.imul(F,H))+Math.imul(U,G)|0,o=Math.imul(U,H),n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(T,Y)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,V)|0)+Math.imul(R,J)|0,o=o+Math.imul(R,V)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(Q,$)|0,o=o+Math.imul(Q,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(d,ft)|0,o=o+Math.imul(d,lt)|0;var Bt=(c+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,dt)|0)+Math.imul(l,pt)|0))<<13)|0;c=((o=o+Math.imul(l,dt)|0)+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,K))+Math.imul(U,Y)|0,o=Math.imul(U,K),n=n+Math.imul(P,J)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,V)|0,n=n+Math.imul(D,X)|0,i=(i=i+Math.imul(D,W)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(S,$)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(C,rt)|0,i=(i=i+Math.imul(C,nt)|0)+Math.imul(Q,rt)|0,o=o+Math.imul(Q,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,at)|0,n=n+Math.imul(b,ut)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(w,ut)|0,o=o+Math.imul(w,ct)|0,n=n+Math.imul(y,ft)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,lt)|0;var Ct=(c+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,dt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,J),i=(i=Math.imul(F,V))+Math.imul(U,J)|0,o=Math.imul(U,V),n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(D,$)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(Q,ot)|0,o=o+Math.imul(Q,at)|0,n=n+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,ct)|0,n=n+Math.imul(b,ft)|0,i=(i=i+Math.imul(b,lt)|0)+Math.imul(w,ft)|0,o=o+Math.imul(w,lt)|0;var Qt=(c+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,dt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,dt)|0)+(i>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,n=Math.imul(F,X),i=(i=Math.imul(F,W))+Math.imul(U,X)|0,o=Math.imul(U,W),n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,n=n+Math.imul(D,rt)|0,i=(i=i+Math.imul(D,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(Q,ut)|0,o=o+Math.imul(Q,ct)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,lt)|0)+Math.imul(_,ft)|0,o=o+Math.imul(_,lt)|0;var Mt=(c+(n=n+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,dt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,dt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,$),i=(i=Math.imul(F,tt))+Math.imul(U,$)|0,o=Math.imul(U,tt),n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(T,rt)|0,o=o+Math.imul(T,nt)|0,n=n+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,at)|0,n=n+Math.imul(k,ut)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(S,ut)|0,o=o+Math.imul(S,ct)|0,n=n+Math.imul(C,ft)|0,i=(i=i+Math.imul(C,lt)|0)+Math.imul(Q,ft)|0,o=o+Math.imul(Q,lt)|0;var kt=(c+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,dt)|0)+Math.imul(_,pt)|0))<<13)|0;c=((o=o+Math.imul(_,dt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(U,rt)|0,o=Math.imul(U,nt),n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,n=n+Math.imul(D,ut)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,ct)|0,n=n+Math.imul(k,ft)|0,i=(i=i+Math.imul(k,lt)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,lt)|0;var St=(c+(n=n+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,dt)|0)+Math.imul(Q,pt)|0))<<13)|0;c=((o=o+Math.imul(Q,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),n=n+Math.imul(P,ut)|0,i=(i=i+Math.imul(P,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,n=n+Math.imul(D,ft)|0,i=(i=i+Math.imul(D,lt)|0)+Math.imul(R,ft)|0,o=o+Math.imul(R,lt)|0;var xt=(c+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,dt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(F,ut),i=(i=Math.imul(F,ct))+Math.imul(U,ut)|0,o=Math.imul(U,ct),n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,lt)|0)+Math.imul(T,ft)|0,o=o+Math.imul(T,lt)|0;var Dt=(c+(n=n+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,dt)|0)+Math.imul(R,pt)|0))<<13)|0;c=((o=o+Math.imul(R,dt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,lt))+Math.imul(U,ft)|0,o=Math.imul(U,lt);var Rt=(c+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,dt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,dt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var Nt=(c+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,dt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,dt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,u[0]=gt,u[1]=yt,u[2]=mt,u[3]=vt,u[4]=bt,u[5]=wt,u[6]=It,u[7]=Et,u[8]=_t,u[9]=Bt,u[10]=Ct,u[11]=Qt,u[12]=Mt,u[13]=kt,u[14]=St,u[15]=xt,u[16]=Dt,u[17]=Rt,u[18]=Nt,0!==c&&(u[19]=c,r.length++),r};function g(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function y(t,e,r){return g(t,e,r)}function m(t,e){this.x=t,this.y=e}Math.imul||(d=p),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?d(this,t,e):r<63?p(this,t,e):r<1024?g(this,t,e):y(this,t,e)},m.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},m.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i&1}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==h||c>=i);c--){var f=0|this.words[c];this.words[c]=h<<26-o|f>>>o,h=f&s}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==e){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var l=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(l=Math.min(l/a|0,67108863),n._ishlnsubmul(i,l,f);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=l)}return s&&s._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var h=r.clone(),f=e.clone();!e.isZero();){for(var l=0,A=1;0===(e.words[0]&A)&&l<26;++l,A<<=1);if(l>0)for(e.iushrn(l);l-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(h),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,d=1;0===(r.words[0]&d)&&p<26;++p,d<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(h),u.isub(f)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(u)):(r.isub(e),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,h=1;0===(e.words[0]&h)&&c<26;++c,h<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,l=1;0===(r.words[0]&l)&&f<26;++f,l<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new B(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function I(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function B(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function C(t){B.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},i(w,b),w.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new I;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return v[t]=e,e},B.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},B.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},B.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},B.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},B.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},B.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},B.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},B.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},B.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},B.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},B.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},B.prototype.isqr=function(t){return this.imul(t,t.clone())},B.prototype.sqr=function(t){return this.mul(t,t)},B.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,c).cmp(u);)h.redIAdd(u);for(var f=this.pow(h,i),l=this.pow(t,i.addn(1).iushrn(1)),A=this.pow(t,i),p=a;0!==A.cmp(s);){for(var d=A,g=0;0!==d.cmp(s);g++)d=d.redSqr();n(g=0;n--){for(var c=e.words[n],h=u-1;h>=0;h--){var f=c>>h&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===h)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},B.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},B.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new C(t)},i(C,B),C.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},C.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},C.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},C.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},C.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(46)(t))},function(t,e,r){"use strict";var n=e;n.version=r(252).version,n.utils=r(33),n.rand=r(92),n.curve=r(151),n.curves=r(96),n.ec=r(264),n.eddsa=r(268)},function(t,e,r){"use strict";var n,i=e,o=r(97),a=r(151),s=r(33).assert;function u(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var r=new u(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=u,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(263)}catch(h){n=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(t,e,r){var n=e;n.utils=r(40),n.common=r(61),n.sha=r(257),n.ripemd=r(261),n.hmac=r(262),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(t,e,r){"use strict";(function(e){var n,i=r(11),o=i.Buffer,a={};for(n in i)i.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(a[n]=i[n]);var s=a.Buffer={};for(n in o)o.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(s[n]=o[n]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(t,e,r){if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&"undefined"===typeof t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return o(t,e,r)}),s.alloc||(s.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var n=o(t);return e&&0!==e.length?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n}),!a.kStringMaxLength)try{a.kStringMaxLength=e.binding("buffer").kStringMaxLength}catch(u){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a}).call(this,r(20))},function(t,e,r){"use strict";var n=r(100).Reporter,i=r(62).EncoderBuffer,o=r(62).DecoderBuffer,a=r(32),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function c(t,e,r){var n={};this._baseState=n,n.name=r,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}t.exports=c;var h=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){var t=this._baseState,e={};h.forEach((function(r){e[r]=t[r]}));var r=new this.constructor(e.parent);return r._baseState=e,r},c.prototype._wrap=function(){var t=this._baseState;u.forEach((function(e){this[e]=function(){var r=new this.constructor(this);return t.children.push(r),r[e].apply(r,arguments)}}),this)},c.prototype._init=function(t){var e=this._baseState;a(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),a.equal(e.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(t){var e=this._baseState,r=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==r.length&&(a(null===e.children),e.children=r,r.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(a(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!==typeof t||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(r){r==(0|r)&&(r|=0);var n=t[r];e[n]=r})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){c.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),s.forEach((function(t){c.prototype[t]=function(){var e=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===e.tag),e.tag=t,this._useArgs(r),this}})),c.prototype.use=function(t){a(t);var e=this._baseState;return a(null===e.use),e.use=t,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(t){var e=this._baseState;return a(null===e.default),e.default=t,e.optional=!0,this},c.prototype.explicit=function(t){var e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.explicit=t,this},c.prototype.implicit=function(t){var e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.implicit=t,this},c.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},c.prototype.key=function(t){var e=this._baseState;return a(null===e.key),e.key=t,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(t){var e=this._baseState;return a(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},c.prototype.contains=function(t){var e=this._baseState;return a(null===e.use),e.contains=t,this},c.prototype._decode=function(t,e){var r=this._baseState;if(null===r.parent)return t.wrapResult(r.children[0]._decode(t,e));var n,i=r.default,a=!0,s=null;if(null!==r.key&&(s=t.enterKey(r.key)),r.optional){var u=null;if(null!==r.explicit?u=r.explicit:null!==r.implicit?u=r.implicit:null!==r.tag&&(u=r.tag),null!==u||r.any){if(a=this._peekTag(t,u,r.any),t.isError(a))return a}else{var c=t.save();try{null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e),a=!0}catch(d){a=!1}t.restore(c)}}if(r.obj&&a&&(n=t.enterObject()),a){if(null!==r.explicit){var h=this._decodeTag(t,r.explicit);if(t.isError(h))return h;t=h}var f=t.offset;if(null===r.use&&null===r.choice){var l;r.any&&(l=t.save());var A=this._decodeTag(t,null!==r.implicit?r.implicit:r.tag,r.any);if(t.isError(A))return A;r.any?i=t.raw(l):t=A}if(e&&e.track&&null!==r.tag&&e.track(t.path(),f,t.length,"tagged"),e&&e.track&&null!==r.tag&&e.track(t.path(),t.offset,t.length,"content"),r.any||(i=null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(t,e)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var p=new o(i);i=this._getUse(r.contains,t._reporterState.obj)._decode(p,e)}}return r.obj&&a&&(i=t.leaveObject(n)),null===r.key||null===i&&!0!==a?null!==s&&t.exitKey(s):t.leaveKey(s,r.key,i),i},c.prototype._decodeGeneric=function(t,e,r){var n=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,n.args[0],r):/str$/.test(t)?this._decodeStr(e,t,r):"objid"===t&&n.args?this._decodeObjid(e,n.args[0],n.args[1],r):"objid"===t?this._decodeObjid(e,null,null,r):"gentime"===t||"utctime"===t?this._decodeTime(e,t,r):"null_"===t?this._decodeNull(e,r):"bool"===t?this._decodeBool(e,r):"objDesc"===t?this._decodeStr(e,t,r):"int"===t||"enum"===t?this._decodeInt(e,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,e._reporterState.obj)._decode(e,r):e.error("unknown tag: "+t)},c.prototype._getUse=function(t,e){var r=this._baseState;return r.useDecoder=this._use(t,e),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},c.prototype._decodeChoice=function(t,e){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some((function(o){var a=t.save(),s=r.choice[o];try{var u=s._decode(t,e);if(t.isError(u))return!1;n={type:o,value:u},i=!0}catch(c){return t.restore(a),!1}return!0}),this),i?n:t.error("Choice not matched")},c.prototype._createEncoderBuffer=function(t){return new i(t,this.reporter)},c.prototype._encode=function(t,e,r){var n=this._baseState;if(null===n.default||n.default!==t){var i=this._encodeValue(t,e,r);if(void 0!==i&&!this._skipDefault(i,e,r))return i}},c.prototype._encodeValue=function(t,e,r){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(t,e||new n);var o=null;if(this.reporter=e,i.optional&&void 0===t){if(null===i.default)return;t=i.default}var a=null,s=!1;if(i.any)o=this._createEncoderBuffer(t);else if(i.choice)o=this._encodeChoice(t,e);else if(i.contains)a=this._getUse(i.contains,r)._encode(t,e),s=!0;else if(i.children)a=i.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,e,t);if(null===r._baseState.key)return e.error("Child should have a key");var n=e.enterKey(r._baseState.key);if("object"!==typeof t)return e.error("Child expected, but input is not object");var i=r._encode(t[r._baseState.key],e,t);return e.leaveKey(n),i}),this).filter((function(t){return t})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return e.error("Too many args for : "+i.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,a=this._createEncoderBuffer(t.map((function(r){var n=this._baseState;return this._getUse(n.args[0],t)._encode(r,e)}),u))}else null!==i.use?o=this._getUse(i.use,r)._encode(t,e):(a=this._encodePrimitive(i.tag,t),s=!0);if(!i.any&&null===i.choice){var c=null!==i.implicit?i.implicit:i.tag,h=null===i.implicit?"universal":"context";null===c?null===i.use&&e.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(c,s,h,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},c.prototype._encodeChoice=function(t,e){var r=this._baseState,n=r.choice[t.type];return n||a(!1,t.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(t.value,e)},c.prototype._encodePrimitive=function(t,e){var r=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&r.args)return this._encodeObjid(e,r.reverseArgs[0],r.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,r.args&&r.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},c.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},c.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},function(t,e,r){"use strict";var n=r(8);function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.Reporter=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,r){var n=this._reporterState;this.exitKey(t),null!==n.obj&&(n.obj[e]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){var e=this._reporterState,r=e.obj;return e.obj=t,r},i.prototype.error=function(t){var e,r=this._reporterState,n=t instanceof o;if(e=n?t:new o(r.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!r.options.partial)throw e;return n||r.errors.push(e),e},i.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},n(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(t,e,r){"use strict";function n(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=n(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=n(e.tag)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=r(287).Buffer}catch(_){}function s(t,e,r){for(var n=0,i=Math.min(t.length,r),o=e;o=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,h=r;h1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function l(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c>>26,f=67108863&u,l=Math.min(c,e.length-1),A=Math.max(0,c-t.length+1);A<=l;A++){var p=c-A|0;h+=(a=(i=0|t.words[p])*(o=0|e.words[A])+f)/67108864|0,f=67108863&a}r.words[c]=0|f,u=0|h}return 0!==u?r.words[c]=0|u:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var l=h[t],A=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var d=p.modn(A).toString(t);r=(p=p.idivn(A)).isZero()?d+r:c[l-d.length]+d+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===e,c=new t(o),h=this.clone();if(u){for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[s]=a;for(;s=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,A=0|a[1],p=8191&A,d=A>>>13,g=0|a[2],y=8191&g,m=g>>>13,v=0|a[3],b=8191&v,w=v>>>13,I=0|a[4],E=8191&I,_=I>>>13,B=0|a[5],C=8191&B,Q=B>>>13,M=0|a[6],k=8191&M,S=M>>>13,x=0|a[7],D=8191&x,R=x>>>13,N=0|a[8],P=8191&N,T=N>>>13,O=0|a[9],F=8191&O,U=O>>>13,L=0|s[0],G=8191&L,H=L>>>13,j=0|s[1],Y=8191&j,K=j>>>13,q=0|s[2],J=8191&q,V=q>>>13,z=0|s[3],X=8191&z,W=z>>>13,Z=0|s[4],$=8191&Z,tt=Z>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,ht=0|s[8],ft=8191&ht,lt=ht>>>13,At=0|s[9],pt=8191&At,dt=At>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(c+(n=Math.imul(f,G))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(l,G)|0))<<13)|0;c=((o=Math.imul(l,H))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,G),i=(i=Math.imul(p,H))+Math.imul(d,G)|0,o=Math.imul(d,H);var yt=(c+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,K)|0)+Math.imul(l,Y)|0))<<13)|0;c=((o=o+Math.imul(l,K)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,G),i=(i=Math.imul(y,H))+Math.imul(m,G)|0,o=Math.imul(m,H),n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(d,Y)|0,o=o+Math.imul(d,K)|0;var mt=(c+(n=n+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(l,J)|0))<<13)|0;c=((o=o+Math.imul(l,V)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(b,G),i=(i=Math.imul(b,H))+Math.imul(w,G)|0,o=Math.imul(w,H),n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,K)|0,n=n+Math.imul(p,J)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(d,J)|0,o=o+Math.imul(d,V)|0;var vt=(c+(n=n+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(l,X)|0))<<13)|0;c=((o=o+Math.imul(l,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(E,G),i=(i=Math.imul(E,H))+Math.imul(_,G)|0,o=Math.imul(_,H),n=n+Math.imul(b,Y)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,K)|0,n=n+Math.imul(y,J)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,V)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(d,X)|0,o=o+Math.imul(d,W)|0;var bt=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(l,$)|0))<<13)|0;c=((o=o+Math.imul(l,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(C,G),i=(i=Math.imul(C,H))+Math.imul(Q,G)|0,o=Math.imul(Q,H),n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,K)|0,n=n+Math.imul(b,J)|0,i=(i=i+Math.imul(b,V)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,V)|0,n=n+Math.imul(y,X)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,W)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(d,$)|0,o=o+Math.imul(d,tt)|0;var wt=(c+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(l,rt)|0))<<13)|0;c=((o=o+Math.imul(l,nt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,G),i=(i=Math.imul(k,H))+Math.imul(S,G)|0,o=Math.imul(S,H),n=n+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(Q,Y)|0,o=o+Math.imul(Q,K)|0,n=n+Math.imul(E,J)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(_,J)|0,o=o+Math.imul(_,V)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(d,rt)|0,o=o+Math.imul(d,nt)|0;var It=(c+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(l,ot)|0))<<13)|0;c=((o=o+Math.imul(l,at)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,H))+Math.imul(R,G)|0,o=Math.imul(R,H),n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,K)|0,n=n+Math.imul(C,J)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(Q,J)|0,o=o+Math.imul(Q,V)|0,n=n+Math.imul(E,X)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(d,ot)|0,o=o+Math.imul(d,at)|0;var Et=(c+(n=n+Math.imul(f,ut)|0)|0)+((8191&(i=(i=i+Math.imul(f,ct)|0)+Math.imul(l,ut)|0))<<13)|0;c=((o=o+Math.imul(l,ct)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),i=(i=Math.imul(P,H))+Math.imul(T,G)|0,o=Math.imul(T,H),n=n+Math.imul(D,Y)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(Q,X)|0,o=o+Math.imul(Q,W)|0,n=n+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(b,rt)|0,i=(i=i+Math.imul(b,nt)|0)+Math.imul(w,rt)|0,o=o+Math.imul(w,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(d,ut)|0,o=o+Math.imul(d,ct)|0;var _t=(c+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,lt)|0)+Math.imul(l,ft)|0))<<13)|0;c=((o=o+Math.imul(l,lt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(F,G),i=(i=Math.imul(F,H))+Math.imul(U,G)|0,o=Math.imul(U,H),n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(T,Y)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,V)|0)+Math.imul(R,J)|0,o=o+Math.imul(R,V)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(Q,$)|0,o=o+Math.imul(Q,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(d,ft)|0,o=o+Math.imul(d,lt)|0;var Bt=(c+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,dt)|0)+Math.imul(l,pt)|0))<<13)|0;c=((o=o+Math.imul(l,dt)|0)+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,K))+Math.imul(U,Y)|0,o=Math.imul(U,K),n=n+Math.imul(P,J)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,V)|0,n=n+Math.imul(D,X)|0,i=(i=i+Math.imul(D,W)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(S,$)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(C,rt)|0,i=(i=i+Math.imul(C,nt)|0)+Math.imul(Q,rt)|0,o=o+Math.imul(Q,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,at)|0,n=n+Math.imul(b,ut)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(w,ut)|0,o=o+Math.imul(w,ct)|0,n=n+Math.imul(y,ft)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,lt)|0;var Ct=(c+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,dt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,J),i=(i=Math.imul(F,V))+Math.imul(U,J)|0,o=Math.imul(U,V),n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(D,$)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(Q,ot)|0,o=o+Math.imul(Q,at)|0,n=n+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,ct)|0,n=n+Math.imul(b,ft)|0,i=(i=i+Math.imul(b,lt)|0)+Math.imul(w,ft)|0,o=o+Math.imul(w,lt)|0;var Qt=(c+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,dt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,dt)|0)+(i>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,n=Math.imul(F,X),i=(i=Math.imul(F,W))+Math.imul(U,X)|0,o=Math.imul(U,W),n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,n=n+Math.imul(D,rt)|0,i=(i=i+Math.imul(D,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(Q,ut)|0,o=o+Math.imul(Q,ct)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,lt)|0)+Math.imul(_,ft)|0,o=o+Math.imul(_,lt)|0;var Mt=(c+(n=n+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,dt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,dt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,$),i=(i=Math.imul(F,tt))+Math.imul(U,$)|0,o=Math.imul(U,tt),n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(T,rt)|0,o=o+Math.imul(T,nt)|0,n=n+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,at)|0,n=n+Math.imul(k,ut)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(S,ut)|0,o=o+Math.imul(S,ct)|0,n=n+Math.imul(C,ft)|0,i=(i=i+Math.imul(C,lt)|0)+Math.imul(Q,ft)|0,o=o+Math.imul(Q,lt)|0;var kt=(c+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,dt)|0)+Math.imul(_,pt)|0))<<13)|0;c=((o=o+Math.imul(_,dt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(U,rt)|0,o=Math.imul(U,nt),n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,n=n+Math.imul(D,ut)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,ct)|0,n=n+Math.imul(k,ft)|0,i=(i=i+Math.imul(k,lt)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,lt)|0;var St=(c+(n=n+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,dt)|0)+Math.imul(Q,pt)|0))<<13)|0;c=((o=o+Math.imul(Q,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),n=n+Math.imul(P,ut)|0,i=(i=i+Math.imul(P,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,n=n+Math.imul(D,ft)|0,i=(i=i+Math.imul(D,lt)|0)+Math.imul(R,ft)|0,o=o+Math.imul(R,lt)|0;var xt=(c+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,dt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(F,ut),i=(i=Math.imul(F,ct))+Math.imul(U,ut)|0,o=Math.imul(U,ct),n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,lt)|0)+Math.imul(T,ft)|0,o=o+Math.imul(T,lt)|0;var Dt=(c+(n=n+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,dt)|0)+Math.imul(R,pt)|0))<<13)|0;c=((o=o+Math.imul(R,dt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,lt))+Math.imul(U,ft)|0,o=Math.imul(U,lt);var Rt=(c+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,dt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,dt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var Nt=(c+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,dt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,dt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,u[0]=gt,u[1]=yt,u[2]=mt,u[3]=vt,u[4]=bt,u[5]=wt,u[6]=It,u[7]=Et,u[8]=_t,u[9]=Bt,u[10]=Ct,u[11]=Qt,u[12]=Mt,u[13]=kt,u[14]=St,u[15]=xt,u[16]=Dt,u[17]=Rt,u[18]=Nt,0!==c&&(u[19]=c,r.length++),r};function p(t,e,r){return(new d).mulp(t,e,r)}function d(t,e){this.x=t,this.y=e}Math.imul||(A=l),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?A(this,t,e):r<63?l(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):p(this,t,e)},d.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==h||c>=i);c--){var f=0|this.words[c];this.words[c]=h<<26-o|f>>>o,h=f&s}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==e){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var l=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(l=Math.min(l/a|0,67108863),n._ishlnsubmul(i,l,f);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=l)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var h=r.clone(),f=e.clone();!e.isZero();){for(var l=0,A=1;0===(e.words[0]&A)&&l<26;++l,A<<=1);if(l>0)for(e.iushrn(l);l-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(h),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,d=1;0===(r.words[0]&d)&&p<26;++p,d<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(h),u.isub(f)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(u)):(r.isub(e),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,h=1;0===(e.words[0]&h)&&c<26;++c,h<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,l=1;0===(r.words[0]&l)&&f<26;++f,l<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new I(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var g={k256:null,p224:null,p192:null,p25519:null};function y(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function m(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function I(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function E(t){I.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(t,e){t.iushrn(this.n,0,e)},y.prototype.imulK=function(t){return t.imul(this.k)},i(m,y),m.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},m.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(g[t])return g[t];var e;if("k256"===t)e=new m;else if("p224"===t)e=new v;else if("p192"===t)e=new b;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return g[t]=e,e},I.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},I.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},I.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},I.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},I.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},I.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},I.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},I.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},I.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},I.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},I.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},I.prototype.isqr=function(t){return this.imul(t,t.clone())},I.prototype.sqr=function(t){return this.mul(t,t)},I.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,c).cmp(u);)h.redIAdd(u);for(var f=this.pow(h,i),l=this.pow(t,i.addn(1).iushrn(1)),A=this.pow(t,i),p=a;0!==A.cmp(s);){for(var d=A,g=0;0!==d.cmp(s);g++)d=d.redSqr();n(g=0;n--){for(var c=e.words[n],h=u-1;h>=0;h--){var f=c>>h&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===h)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},I.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},I.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new E(t)},i(E,I),E.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},E.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},E.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(46)(t))},function(t,e,r){var n=r(11),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),o(i,a),a.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";var n=r(320),i=r(321);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=v,e.resolve=function(t,e){return v(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?v(t,!1,!0).resolveObject(e):e},e.format=function(t){i.isString(t)&&(t=v(t));return t instanceof o?t.format():o.prototype.format.call(t)},e.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(c),f=["%","/","?",";","#"].concat(h),l=["/","?","#"],A=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=r(322);function v(t,e,r){if(t&&i.isObject(t)&&t instanceof o)return t;var n=new o;return n.parse(t,e,r),n}o.prototype.parse=function(t,e,r){if(!i.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var o=t.indexOf("?"),s=-1!==o&&o127?R+="x":R+=D[N];if(!R.match(A)){var T=S.slice(0,Q),O=S.slice(Q+1),F=D.match(p);F&&(T.push(F[1]),O.unshift(F[2])),O.length&&(v="/"+O.join(".")+v),this.hostname=T.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),k||(this.hostname=n.toASCII(this.hostname));var U=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+U,this.href+=this.host,k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!d[I])for(Q=0,x=h.length;Q0)&&r.host.split("@"))&&(r.auth=k.shift(),r.host=r.hostname=k.shift());return r.search=t.search,r.query=t.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var B=E.slice(-1)[0],C=(r.host||t.host||E.length>1)&&("."===B||".."===B)||""===B,Q=0,M=E.length;M>=0;M--)"."===(B=E[M])?E.splice(M,1):".."===B?(E.splice(M,1),Q++):Q&&(E.splice(M,1),Q--);if(!w&&!I)for(;Q--;Q)E.unshift("..");!w||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),C&&"/"!==E.join("/").substr(-1)&&E.push("");var k,S=""===E[0]||E[0]&&"/"===E[0].charAt(0);_&&(r.hostname=r.host=S?"":E.length?E.shift():"",(k=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=k.shift(),r.host=r.hostname=k.shift()));return(w=w||r.host&&E.length)&&!S&&E.unshift(""),E.length?r.pathname=E.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.listeners={}}return t.prototype.addEventListener=function(t,e){t=t.toLowerCase(),this.listeners[t]=this.listeners[t]||[],this.listeners[t].push(e.handleEvent||e)},t.prototype.removeEventListener=function(t,e){if(t=t.toLowerCase(),this.listeners[t]){var r=this.listeners[t].indexOf(e.handleEvent||e);r<0||this.listeners[t].splice(r,1)}},t.prototype.dispatchEvent=function(t){var e=t.type.toLowerCase();if(t.target=this,this.listeners[e])for(var r=0,n=this.listeners[e];r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),a=o.next();!a.done;a=o.next()){var s=a.value;i.has(s)&&i.delete(s)}}catch(c){r={error:c}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}if(i.size>0)throw new u(Array.from(i))},t.prototype.requestPermissions=function(t){return o(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.client.requestPermissions(t)];case 1:return e.sent(),[2]}}))}))},t.prototype.getPKH=function(){return o(this,void 0,void 0,(function(){var t;return a(this,(function(e){switch(e.label){case 0:return[4,this.client.getActiveAccount()];case 1:if(!(t=e.sent()))throw new s;return[2,t.address]}}))}))},t.prototype.mapTransferParamsToWalletParams=function(t){return o(this,void 0,void 0,(function(){var e,r;return a(this,(function(n){switch(n.label){case 0:return e=this.removeDefaultParams,r=[t],[4,Object(i.d)(this.formatParameters(t))];case 1:return[2,e.apply(this,r.concat([n.sent()]))]}}))}))},t.prototype.mapOriginateParamsToWalletParams=function(t){return o(this,void 0,void 0,(function(){var e,r;return a(this,(function(n){switch(n.label){case 0:return e=this.removeDefaultParams,r=[t],[4,Object(i.b)(this.formatParameters(t))];case 1:return[2,e.apply(this,r.concat([n.sent()]))]}}))}))},t.prototype.mapDelegateParamsToWalletParams=function(t){return o(this,void 0,void 0,(function(){var e,r;return a(this,(function(n){switch(n.label){case 0:return e=this.removeDefaultParams,r=[t],[4,Object(i.c)(this.formatParameters(t))];case 1:return[2,e.apply(this,r.concat([n.sent()]))]}}))}))},t.prototype.formatParameters=function(t){return t.fee&&(t.fee=t.fee.toString()),t.storageLimit&&(t.storageLimit=t.storageLimit.toString()),t.gasLimit&&(t.gasLimit=t.gasLimit.toString()),t},t.prototype.removeDefaultParams=function(t,e){return t.fee||delete e.fee,t.storageLimit||delete e.storage_limit,t.gasLimit||delete e.gas_limit,e},t.prototype.sendOperations=function(t){return o(this,void 0,void 0,(function(){var e,r;return a(this,(function(i){switch(i.label){case 0:return[4,this.client.getActiveAccount()];case 1:if(!(e=i.sent()))throw new s;return r=e.scopes,this.validateRequiredScopesOrFail(r,[n.y.OPERATION_REQUEST]),[4,this.client.requestOperation({operationDetails:t})];case 2:return[2,i.sent().transactionHash]}}))}))},t.prototype.disconnect=function(){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.client.destroy()];case 1:return t.sent(),[2]}}))}))},t.prototype.clearActiveAccount=function(){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.client.setActiveAccount()];case 1:return t.sent(),[2]}}))}))},t}()},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=0,i=[],o=function(t,e,r){var o={type:t,id:String(++n),date:new Date};e&&(o.message=e),r&&(o.data=r),function(t){for(var e=0;e0?s:C,h}return Object(s.a)(i,[{key:"getPairingRequestInfo",value:function(){return _(this,void 0,void 0,o.a.mark((function t(){var e;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(v.a)();case 2:return t.t0=t.sent,t.t1=this.name,t.t2=m.a,t.next=7,this.getPublicKey();case 7:return t.t3=t.sent,t.next=10,this.getRelayServer();case 10:return t.t4=t.sent,e={id:t.t0,type:"p2p-pairing-request",name:t.t1,version:t.t2,publicKey:t.t3,relayServer:t.t4},this.iconUrl&&(e.icon=this.iconUrl),this.appUrl&&(e.appUrl=this.appUrl),t.abrupt("return",e);case 15:case"end":return t.stop()}}),t,this)})))}},{key:"getPairingResponseInfo",value:function(t){return _(this,void 0,void 0,o.a.mark((function e(){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=t.id,e.t1=this.name,e.t2=m.a,e.next=5,this.getPublicKey();case 5:return e.t3=e.sent,e.next=8,this.getRelayServer();case 8:return e.t4=e.sent,r={id:e.t0,type:"p2p-pairing-response",name:e.t1,version:e.t2,publicKey:e.t3,relayServer:e.t4},this.iconUrl&&(r.icon=this.iconUrl),this.appUrl&&(r.appUrl=this.appUrl),e.abrupt("return",r);case 13:case"end":return e.stop()}}),e,this)})))}},{key:"getRelayServer",value:function(){return _(this,void 0,void 0,o.a.mark((function t(){var e,r,n,i,a,s,u;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.relayServer){t.next=4;break}return t.abrupt("return",this.relayServer.promise);case 4:this.relayServer=new E.a;case 5:return t.next=7,this.storage.get(y.C.MATRIX_SELECTED_NODE);case 7:if(!((e=t.sent)&&e.length>0)){t.next=13;break}return this.relayServer.resolve(e),t.abrupt("return",e);case 13:if(C!==this.KNOWN_RELAY_SERVERS){t.next=28;break}return t.next=16,this.storage.get(y.C.MULTI_NODE_SETUP_DONE);case 16:if(t.sent){t.next=28;break}return t.next=20,this.storage.get(y.C.MATRIX_PRESERVED_STATE);case 20:if(r=t.sent,console.log("PRESERVED STATE",r),!r.syncToken&&!r.rooms){t.next=27;break}return n="matrix.papers.tech",this.storage.set(y.C.MATRIX_SELECTED_NODE,n).catch((function(t){return B.log(t)})),this.relayServer.resolve(n),t.abrupt("return",n);case 27:this.storage.set(y.C.MULTI_NODE_SETUP_DONE,!0).catch((function(t){return B.log(t)}));case 28:console.log("GET RELAY SERVER"),i=Q(this.keyPair.publicKey,this.KNOWN_RELAY_SERVERS.length),a=0;case 31:if(!(a1&&void 0!==arguments[1]?arguments[1]:1;return _(this,void 0,void 0,o.a.mark((function r(){var n=this;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,this.client.promise;case 3:return r.next=5,r.sent.joinRooms(t);case 5:r.next=10;break;case 7:r.prev=7,r.t0=r.catch(0),e<=10&&"M_FORBIDDEN"===r.t0.errcode?(B.log("Retrying to join...",r.t0),setTimeout((function(){return _(n,void 0,void 0,o.a.mark((function r(){return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.tryJoinRooms(t,e+1);case 2:case"end":return r.stop()}}),r,this)})))}),200)):B.log("Failed to join after ".concat(e," tries."),r.t0);case 10:case"end":return r.stop()}}),r,this,[[0,7]])})))}},{key:"start",value:function(){return _(this,void 0,void 0,o.a.mark((function t(){var e,r,n,i,a=this;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return B.log("start","starting client"),t.next=3,h.ready;case 3:return e=h.crypto_generichash(32,h.from_string("login:".concat(Math.floor(Date.now()/1e3/300)))),r=h.crypto_sign_detached(e,this.keyPair.privateKey),B.log("start","connecting to server"),t.next=8,this.getRelayServer();case 8:return n=t.sent,i=p.a.create({baseUrl:"https://".concat(n),storage:this.storage}),this.initialListener=function(t){return _(a,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.initialEvent&&this.initialEvent.timestamp&&t&&t.timestamp?this.initialEvent.timestamp=h.crypto_secretbox_NONCEBYTES+h.crypto_secretbox_MACBYTES)){i.next=21;break}return i.prev=12,i.next=15,Object(A.a)(s,a);case 15:u=i.sent,r(u),i.next=21;break;case 19:i.prev=19,i.t1=i.catch(12);case 21:case"end":return i.stop()}}),i,this,[[12,19]])})))},this.activeListeners.set(e,s),n.next=10,this.client.promise;case 10:if(n.sent.subscribe(d.a.MESSAGE,s),!((u=this.initialEvent)&&u.timestamp&&(new Date).getTime()-u.timestamp<3e5)){n.next=18;break}return B.log("listenForEncryptedMessage","Handling previous event"),n.next=16,s(u);case 16:n.next=19;break;case 18:B.log("listenForEncryptedMessage","No previous event found");case 19:if(!(c=this.initialListener)){n.next=25;break}return n.next=24,this.client.promise;case 24:n.sent.unsubscribe(d.a.MESSAGE,c);case 25:this.initialListener=void 0,this.initialEvent=void 0;case 27:case"end":return n.stop()}}),n,this)})))}},{key:"unsubscribeFromEncryptedMessage",value:function(t){return _(this,void 0,void 0,o.a.mark((function e(){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.activeListeners.get(t)){e.next=3;break}return e.abrupt("return");case 3:return e.next=6,this.client.promise;case 6:e.sent.unsubscribe(d.a.MESSAGE,r),this.activeListeners.delete(t);case 8:case"end":return e.stop()}}),e,this)})))}},{key:"unsubscribeFromEncryptedMessages",value:function(){return _(this,void 0,void 0,o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,this.client.promise;case 3:t.sent.unsubscribeAll(d.a.MESSAGE),this.activeListeners.clear();case 5:case"end":return t.stop()}}),t,this)})))}},{key:"sendMessage",value:function(e,r){return _(this,void 0,void 0,o.a.mark((function n(){var i,a,s,u,c,h,f=this;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.createCryptoBoxClient(r.publicKey,this.keyPair.privateKey);case 2:return i=n.sent,a=i.sharedTx,n.next=6,Object(A.d)(t.from(r.publicKey,"hex"));case 6:return s=n.sent,u=Object(A.g)(s,r.relayServer),n.next=10,this.getRelevantRoom(u);case 10:return c=n.sent,n.next=13,this.waitForJoin(c);case 13:return n.next=15,Object(A.b)(e,a);case 15:return h=n.sent,n.next=18,this.client.promise;case 18:n.sent.sendTextMessage(c,h).catch((function(t){return _(f,void 0,void 0,o.a.mark((function e(){var r,n=this;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("M_FORBIDDEN"!==t.errcode){e.next=12;break}return B.log("sendMessage","M_FORBIDDEN",t),e.next=4,this.deleteRoomIdFromRooms(c);case 4:return e.next=6,this.getRelevantRoom(u);case 6:return r=e.sent,e.next=9,this.client.promise;case 9:e.sent.sendTextMessage(r,h).catch((function(t){return _(n,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:B.log("sendMessage","inner error",t);case 1:case"end":return e.stop()}}),e)})))})),e.next=13;break;case 12:B.log("sendMessage","not forbidden",t);case 13:case"end":return e.stop()}}),e,this)})))}));case 19:case"end":return n.stop()}}),n,this)})))}},{key:"updatePeerRoom",value:function(t,e){return _(this,void 0,void 0,o.a.mark((function r(){var n,i,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!((n=t.split(":")).length<2)&&n[0].startsWith("@")){r.next=3;break}throw new Error("Invalid sender");case 3:return r.next=5,this.storage.get(y.C.MATRIX_PEER_ROOM_IDS);case 5:return i=r.sent,(a=i[t])&&a[1]&&this.ignoredRooms.push(a[1]),i[t]=e,r.next=11,this.storage.set(y.C.MATRIX_PEER_ROOM_IDS,i);case 11:case"end":return r.stop()}}),r,this)})))}},{key:"deleteRoomIdFromRooms",value:function(t){return _(this,void 0,void 0,o.a.mark((function e(){var r,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.storage.get(y.C.MATRIX_PEER_ROOM_IDS);case 2:return r=e.sent,i=Object.entries(r).filter((function(e){return e[1]!==t})).reduce((function(t,e){return Object.assign(Object.assign({},t),Object(n.a)({},e[0],e[1]))}),{}),e.next=6,this.storage.set(y.C.MATRIX_PEER_ROOM_IDS,i);case 6:this.ignoredRooms.push(t);case 7:case"end":return e.stop()}}),e,this)})))}},{key:"listenForChannelOpening",value:function(e){return _(this,void 0,void 0,o.a.mark((function r(){var n=this;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=3,this.client.promise;case 3:r.sent.subscribe(d.a.MESSAGE,(function(r){return _(n,void 0,void 0,o.a.mark((function n(){var i,a,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=this.isTextMessage(r.content),!n.t0){n.next=5;break}return n.next=4,this.isChannelOpenMessage(r.content);case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=33;break}return B.log("listenForChannelOpening","channel opening",JSON.stringify(r)),n.next=9,this.updateRelayServer(r.content.message.sender);case 9:return n.next=11,this.updatePeerRoom(r.content.message.sender,r.content.roomId);case 11:if(i=r.content.message.content.split(":"),!((a=t.from(i[i.length-1],"hex")).length>=h.crypto_secretbox_NONCEBYTES+h.crypto_secretbox_MACBYTES)){n.next=33;break}return n.prev=14,n.t1=JSON,n.next=18,Object(A.f)(a,this.keyPair.publicKey,this.keyPair.privateKey);case 18:return n.t2=n.sent,s=n.t1.parse.call(n.t1,n.t2),n.t3=e,n.t4=Object,n.t5=Object.assign({},s),n.next=25,Object(b.a)(s.publicKey);case 25:n.t6=n.sent,n.t7={senderId:n.t6},n.t8=n.t4.assign.call(n.t4,n.t5,n.t7),(0,n.t3)(n.t8),n.next=33;break;case 31:n.prev=31,n.t9=n.catch(14);case 33:case"end":return n.stop()}}),n,this,[[14,31]])})))}));case 4:case"end":return r.stop()}}),r,this)})))}},{key:"waitForJoin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return _(this,void 0,void 0,o.a.mark((function r(){var n,i=this;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.client.promise;case 2:return r.next=4,r.sent.getRoomById(t);case 4:if(n=r.sent,B.log("waitForJoin","Currently ".concat(n.members.length," members, we need at least 2")),!(n.members.length>=2||0===n.members.length)){r.next=10;break}return r.abrupt("return");case 10:if(!(e<=200)){r.next=15;break}return B.log("Waiting for join... Try: ".concat(e)),r.abrupt("return",new Promise((function(r){setTimeout((function(){return _(i,void 0,void 0,o.a.mark((function n(){return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:r(this.waitForJoin(t,e+1));case 1:case"end":return n.stop()}}),n,this)})))}),100*(e>50?10:1))})));case 15:throw new Error("No one joined after ".concat(e," tries."));case 16:case"end":return r.stop()}}),r,this)})))}},{key:"sendPairingResponse",value:function(e){return _(this,void 0,void 0,o.a.mark((function r(){var n,i,a,s,u,c,h=this;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return B.log("sendPairingResponse"),r.next=3,Object(A.d)(t.from(e.publicKey,"hex"));case 3:return n=r.sent,i=Object(A.g)(n,e.relayServer),r.next=7,this.client.promise;case 7:return r.next=9,r.sent.createTrustedPrivateRoom(i);case 9:return a=r.sent,r.next=12,this.updatePeerRoom(i,a);case 12:return r.next=14,this.waitForJoin(a);case 14:if("undefined"!==typeof e.version){r.next=20;break}return r.next=17,this.getPublicKey();case 17:r.t0=r.sent,r.next=25;break;case 20:return r.t1=JSON,r.next=23,this.getPairingResponseInfo(e);case 23:r.t2=r.sent,r.t0=r.t1.stringify.call(r.t1,r.t2);case 25:return s=r.t0,r.next=28,this.encryptMessageAsymmetric(e.publicKey,s);case 28:return u=r.sent,c=["@channel-open",i,u].join(":"),r.next=32,this.client.promise;case 32:r.sent.sendTextMessage(a,c).catch((function(t){return _(h,void 0,void 0,o.a.mark((function e(){var r,n=this;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("M_FORBIDDEN"!==t.errcode){e.next=12;break}return B.log("sendMessage","M_FORBIDDEN",t),e.next=4,this.deleteRoomIdFromRooms(a);case 4:return e.next=6,this.getRelevantRoom(i);case 6:return r=e.sent,e.next=9,this.client.promise;case 9:e.sent.sendTextMessage(r,c).catch((function(t){return _(n,void 0,void 0,o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:B.log("sendMessage","inner error",t);case 1:case"end":return e.stop()}}),e)})))})),e.next=13;break;case 12:B.log("sendMessage","not forbidden",t);case 13:case"end":return e.stop()}}),e,this)})))}));case 33:case"end":return r.stop()}}),r,this)})))}},{key:"isTextMessage",value:function(t){return t.message.type===g.b.TEXT}},{key:"updateRelayServer",value:function(e){return _(this,void 0,void 0,o.a.mark((function r(){var n,i,a,s,u,c,h=this;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!((n=e.split(":")).length<2)&&n[0].startsWith("@")){r.next=3;break}throw new Error("Invalid sender");case 3:return i=n.shift(),a=n.join(":"),s=localStorage.getItem("beacon:communication-peers-dapp")?new y.x(this.storage,y.C.TRANSPORT_P2P_PEERS_DAPP):new y.x(this.storage,y.C.TRANSPORT_P2P_PEERS_WALLET),r.next=8,s.getPeers();case 8:return u=r.sent,c=u.map((function(e){return _(h,void 0,void 0,o.a.mark((function r(){return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.t0="@",r.next=3,Object(A.d)(t.from(e.publicKey,"hex"));case 3:if(r.t1=r.sent,r.t0.concat.call(r.t0,r.t1)!==i){r.next=10;break}if(e.relayServer===a){r.next=10;break}return e.relayServer=a,r.next=10,s.addPeer(e);case 10:case"end":return r.stop()}}),r)})))})),r.next=12,Promise.all(c);case 12:case"end":return r.stop()}}),r,this)})))}},{key:"isChannelOpenMessage",value:function(e){return _(this,void 0,void 0,o.a.mark((function r(){return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.t0=e.message.content,r.t1="@channel-open:@",r.t2=A.d,r.t3=t,r.next=6,this.getPublicKey();case 6:return r.t4=r.sent,r.t5=r.t3.from.call(r.t3,r.t4,"hex"),r.next=10,(0,r.t2)(r.t5);case 10:return r.t6=r.sent,r.t7=r.t1.concat.call(r.t1,r.t6),r.abrupt("return",r.t0.startsWith.call(r.t0,r.t7));case 13:case"end":return r.stop()}}),r,this)})))}},{key:"isSender",value:function(e,r){return _(this,void 0,void 0,o.a.mark((function n(){return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.t0=e.content.message.sender,n.t1="@",n.next=4,Object(A.d)(t.from(r,"hex"));case 4:return n.t2=n.sent,n.t3=n.t1.concat.call(n.t1,n.t2),n.abrupt("return",n.t0.startsWith.call(n.t0,n.t3));case 7:case"end":return n.stop()}}),n)})))}},{key:"getRelevantRoom",value:function(t){return _(this,void 0,void 0,o.a.mark((function e(){var r,n,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.storage.get(y.C.MATRIX_PEER_ROOM_IDS);case 2:if(r=e.sent,n=r[t]){e.next=13;break}return B.log("getRelevantRoom","No room found for peer ".concat(t,", checking joined ones.")),e.next=8,this.getRelevantJoinedRoom(t);case 8:return i=e.sent,n=i.id,r[t]=i.id,e.next=13,this.storage.set(y.C.MATRIX_PEER_ROOM_IDS,r);case 13:return B.log("getRelevantRoom","Using room ".concat(n)),e.abrupt("return",n);case 15:case"end":return e.stop()}}),e,this)})))}},{key:"getRelevantJoinedRoom",value:function(t){return _(this,void 0,void 0,o.a.mark((function e(){var r,n,i,a,s=this;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.client.promise;case 2:return e.next=4,e.sent.joinedRooms;case 4:if(r=e.sent,B.log("checking joined rooms",r,t),!(0===(n=r.filter((function(t){return!s.ignoredRooms.some((function(e){return t.id===e}))})).filter((function(e){return e.members.some((function(e){return e===t}))}))).length||this.ignoredRooms.length>0)){e.next=25;break}return B.log("getRelevantJoinedRoom","no relevant rooms found, creating new one"),e.next=11,this.client.promise;case 11:return e.next=13,e.sent.createTrustedPrivateRoom(t);case 13:return a=e.sent,e.next=16,this.client.promise;case 16:return e.next=18,e.sent.getRoomById(a);case 18:return i=e.sent,B.log("getRelevantJoinedRoom","waiting for other party to join room: ".concat(i.id)),e.next=22,this.waitForJoin(a);case 22:B.log("getRelevantJoinedRoom","new room created and peer invited: ".concat(i.id)),e.next=27;break;case 25:i=n[0],B.log("getRelevantJoinedRoom","channel already open, reusing room ".concat(i.id));case 27:return e.abrupt("return",i);case 28:case"end":return e.stop()}}),e,this)})))}}]),i}(I.a)}).call(this,r(11).Buffer)},,function(t,e,r){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=r(49),e.createHash=e.Hash=r(50),e.createHmac=e.Hmac=r(132);var n=r(225),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var a=r(135);e.pbkdf2=a.pbkdf2,e.pbkdf2Sync=a.pbkdf2Sync;var s=r(227);e.Cipher=s.Cipher,e.createCipher=s.createCipher,e.Cipheriv=s.Cipheriv,e.createCipheriv=s.createCipheriv,e.Decipher=s.Decipher,e.createDecipher=s.createDecipher,e.Decipheriv=s.Decipheriv,e.createDecipheriv=s.createDecipheriv,e.getCiphers=s.getCiphers,e.listCiphers=s.listCiphers;var u=r(242);e.DiffieHellmanGroup=u.DiffieHellmanGroup,e.createDiffieHellmanGroup=u.createDiffieHellmanGroup,e.getDiffieHellman=u.getDiffieHellman,e.createDiffieHellman=u.createDiffieHellman,e.DiffieHellman=u.DiffieHellman;var c=r(249);e.createSign=c.createSign,e.Sign=c.Sign,e.createVerify=c.createVerify,e.Verify=c.Verify,e.createECDH=r(282);var h=r(285);e.publicEncrypt=h.publicEncrypt,e.privateEncrypt=h.privateEncrypt,e.publicDecrypt=h.publicDecrypt,e.privateDecrypt=h.privateDecrypt;var f=r(289);e.randomFill=f.randomFill,e.randomFillSync=f.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(t,e,r){"use strict";var n=r(10).Buffer,i=r(118).Transform;function o(t){i.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(8)(o,i),o.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(i){n=i}r(n)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(r){e=r}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!n.isBuffer(t)&&"string"!==typeof t)throw new TypeError(e+" must be a string or a buffer")}(t,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(t)||(t=n.from(t,e));for(var r=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},function(t,e,r){(e=t.exports=r(119)).Stream=e,e.Readable=e,e.Writable=r(123),e.Duplex=r(52),e.Transform=r(124),e.PassThrough=r(208),e.finished=r(83),e.pipeline=r(209)},function(t,e,r){"use strict";(function(e,n){var i;t.exports=B,B.ReadableState=_;r(36).EventEmitter;var o=function(t,e){return t.listeners(e).length},a=r(120),s=r(11).Buffer,u=e.Uint8Array||function(){};var c,h=r(203);c=h&&h.debuglog?h.debuglog("stream"):function(){};var f,l,A,p=r(204),d=r(121),g=r(122).getHighWaterMark,y=r(51).codes,m=y.ERR_INVALID_ARG_TYPE,v=y.ERR_STREAM_PUSH_AFTER_EOF,b=y.ERR_METHOD_NOT_IMPLEMENTED,w=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(8)(B,a);var I=d.errorOrDestroy,E=["error","close","destroy","pause","resume"];function _(t,e,n){i=i||r(52),t=t||{},"boolean"!==typeof n&&(n=e instanceof i),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=g(this,t,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(f||(f=r(47).StringDecoder),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function B(t){if(i=i||r(52),!(this instanceof B))return new B(t);var e=this instanceof i;this._readableState=new _(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function C(t,e,r,n,i){c("readableAddChunk",e);var o,a=t._readableState;if(null===e)a.reading=!1,function(t,e){if(c("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?S(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,x(t)))}(t,a);else if(i||(o=function(t,e){var r;n=e,s.isBuffer(n)||n instanceof u||"string"===typeof e||void 0===e||t.objectMode||(r=new m("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(a,e)),o)I(t,o);else if(a.objectMode||e&&e.length>0)if("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),n)a.endEmitted?I(t,new w):Q(t,a,e,!0);else if(a.ended)I(t,new v);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?Q(t,a,e,!1):D(t,a)):Q(t,a,e,!1)}else n||(a.reading=!1,D(t,a));return!a.ended&&(a.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=M?t=M:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function S(t){var e=t._readableState;c("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(c("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(x,t))}function x(t){var e=t._readableState;c("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,O(t)}function D(t,e){e.readingMore||(e.readingMore=!0,n.nextTick(R,t,e))}function R(t,e){for(;!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function P(t){c("readable nexttick read 0"),t.read(0)}function T(t,e){c("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),O(t),e.flowing&&!e.reading&&t.read(0)}function O(t){var e=t._readableState;for(c("flow",e.flowing);e.flowing&&null!==t.read(););}function F(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function U(t){var e=t._readableState;c("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(L,e,t))}function L(t,e){if(c("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function G(t,e){for(var r=0,n=t.length;r=e.highWaterMark:e.length>0)||e.ended))return c("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?U(this):S(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&U(this),null;var n,i=e.needReadable;return c("need readable",i),(0===e.length||e.length-t0?F(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&U(this)),null!==n&&this.emit("data",n),n},B.prototype._read=function(t){I(this,new b("_read()"))},B.prototype.pipe=function(t,e){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,c("pipe count=%d opts=%j",i.pipesCount,e);var a=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?u:g;function s(e,n){c("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,c("cleanup"),t.removeListener("close",p),t.removeListener("finish",d),t.removeListener("drain",h),t.removeListener("error",A),t.removeListener("unpipe",s),r.removeListener("end",u),r.removeListener("end",g),r.removeListener("data",l),f=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||h())}function u(){c("onend"),t.end()}i.endEmitted?n.nextTick(a):r.once("end",a),t.on("unpipe",s);var h=function(t){return function(){var e=t._readableState;c("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,O(t))}}(r);t.on("drain",h);var f=!1;function l(e){c("ondata");var n=t.write(e);c("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==G(i.pipes,t))&&!f&&(c("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function A(e){c("onerror",e),g(),t.removeListener("error",A),0===o(t,"error")&&I(t,e)}function p(){t.removeListener("finish",d),g()}function d(){c("onfinish"),t.removeListener("close",p),g()}function g(){c("unpipe"),r.unpipe(t)}return r.on("data",l),function(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",A),t.once("close",p),t.once("finish",d),t.emit("pipe",r),i.flowing||(c("pipe resume"),r.resume()),t},B.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,c("on readable",i.length,i.reading),i.length?S(this):i.reading||n.nextTick(P,this))),r},B.prototype.addListener=B.prototype.on,B.prototype.removeListener=function(t,e){var r=a.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(N,this),r},B.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(N,this),e},B.prototype.resume=function(){var t=this._readableState;return t.flowing||(c("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(T,t,e))}(this,t)),t.paused=!1,this},B.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},B.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(c("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(c("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause())))})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o-1))throw new w(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(B.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(B.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),B.prototype._write=function(t,e,r){r(new d("_write()"))},B.prototype._writev=null,B.prototype.end=function(t,e,r){var i=this._writableState;return"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,r){e.ending=!0,x(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,i,r),this},Object.defineProperty(B.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(B.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),B.prototype.destroy=f.destroy,B.prototype._undestroy=f.undestroy,B.prototype._destroy=function(t,e){e(t)}}).call(this,r(22),r(20))},function(t,e,r){"use strict";t.exports=h;var n=r(51).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(52);function c(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function l(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function A(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}n(u,i),u.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},u.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,p=0|this._f,d=0|this._g,g=0|this._h,y=0;y<16;++y)r[y]=t.readInt32BE(4*y);for(;y<64;++y)r[y]=0|(((e=r[y-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+r[y-7]+A(r[y-15])+r[y-16];for(var m=0;m<64;++m){var v=g+l(u)+c(u,p,d)+a[m]+r[m]|0,b=f(n)+h(n,i,o)|0;g=d,d=p,p=u,u=s+v|0,s=o,o=i,i=n,n=v+b|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0,this._f=p+this._f|0,this._g=d+this._g|0,this._h=g+this._h|0},u.prototype._hash=function(){var t=o.allocUnsafe(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},t.exports=u},function(t,e,r){var n=r(8),i=r(53),o=r(10).Buffer,a=[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],s=new Array(160);function u(){this.init(),this._w=s,i.call(this,128,112)}function c(t,e,r){return r^t&(e^r)}function h(t,e,r){return t&e|r&(t|e)}function f(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function l(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function A(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function d(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function g(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function y(t,e){return t>>>0>>0?1:0}n(u,i),u.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},u.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,u=0|this._fh,m=0|this._gh,v=0|this._hh,b=0|this._al,w=0|this._bl,I=0|this._cl,E=0|this._dl,_=0|this._el,B=0|this._fl,C=0|this._gl,Q=0|this._hl,M=0;M<32;M+=2)e[M]=t.readInt32BE(4*M),e[M+1]=t.readInt32BE(4*M+4);for(;M<160;M+=2){var k=e[M-30],S=e[M-30+1],x=A(k,S),D=p(S,k),R=d(k=e[M-4],S=e[M-4+1]),N=g(S,k),P=e[M-14],T=e[M-14+1],O=e[M-32],F=e[M-32+1],U=D+T|0,L=x+P+y(U,D)|0;L=(L=L+R+y(U=U+N|0,N)|0)+O+y(U=U+F|0,F)|0,e[M]=L,e[M+1]=U}for(var G=0;G<160;G+=2){L=e[G],U=e[G+1];var H=h(r,n,i),j=h(b,w,I),Y=f(r,b),K=f(b,r),q=l(s,_),J=l(_,s),V=a[G],z=a[G+1],X=c(s,u,m),W=c(_,B,C),Z=Q+J|0,$=v+q+y(Z,Q)|0;$=($=($=$+X+y(Z=Z+W|0,W)|0)+V+y(Z=Z+z|0,z)|0)+L+y(Z=Z+U|0,U)|0;var tt=K+j|0,et=Y+H+y(tt,K)|0;v=m,Q=C,m=u,C=B,u=s,B=_,s=o+$+y(_=E+Z|0,E)|0,o=i,E=I,i=n,I=w,n=r,w=b,r=$+et+y(b=Z+tt|0,Z)|0}this._al=this._al+b|0,this._bl=this._bl+w|0,this._cl=this._cl+I|0,this._dl=this._dl+E|0,this._el=this._el+_|0,this._fl=this._fl+B|0,this._gl=this._gl+C|0,this._hl=this._hl+Q|0,this._ah=this._ah+r+y(this._al,b)|0,this._bh=this._bh+n+y(this._bl,w)|0,this._ch=this._ch+i+y(this._cl,I)|0,this._dh=this._dh+o+y(this._dl,E)|0,this._eh=this._eh+s+y(this._el,_)|0,this._fh=this._fh+u+y(this._fl,B)|0,this._gh=this._gh+m+y(this._gl,C)|0,this._hh=this._hh+v+y(this._hl,Q)|0},u.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=u},function(t,e,r){"use strict";(function(e,n){var i=r(45);t.exports=v;var o,a=r(80);v.ReadableState=m;r(36).EventEmitter;var s=function(t,e){return t.listeners(e).length},u=r(128),c=r(87).Buffer,h=e.Uint8Array||function(){};var f=Object.create(r(39));f.inherits=r(8);var l=r(215),A=void 0;A=l&&l.debuglog?l.debuglog("stream"):function(){};var p,d=r(216),g=r(129);f.inherits(v,u);var y=["error","close","destroy","pause","resume"];function m(t,e){t=t||{};var n=e instanceof(o=o||r(48));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=r(47).StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function v(t){if(o=o||r(48),!(this instanceof v))return new v(t);this._readableState=new m(t,this),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),u.call(this)}function b(t,e,r,n,i){var o,a=t._readableState;null===e?(a.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,_(t)}(t,a)):(i||(o=function(t,e){var r;n=e,c.isBuffer(n)||n instanceof h||"string"===typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(a,e)),o?t.emit("error",o):a.objectMode||e&&e.length>0?("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),n?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):w(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?w(t,a,e,!1):C(t,a)):w(t,a,e,!1))):n||(a.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=I?t=I:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function _(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(A("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(B,t):B(t))}function B(t){A("emit readable"),t.emit("readable"),S(t)}function C(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(Q,t,e))}function Q(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=c.allocUnsafe(t),n=e.head,i=1;n.data.copy(r),t-=n.data.length;for(;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function D(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(R,e,t))}function R(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function N(t,e){for(var r=0,n=t.length;r=e.highWaterMark||e.ended))return A("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?D(this):_(this),null;if(0===(t=E(t,e))&&e.ended)return 0===e.length&&D(this),null;var n,i=e.needReadable;return A("need readable",i),(0===e.length||e.length-t0?x(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&D(this)),null!==n&&this.emit("data",n),n},v.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(t,e){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,A("pipe count=%d opts=%j",o.pipesCount,e);var u=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?h:v;function c(e,n){A("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,A("cleanup"),t.removeListener("close",y),t.removeListener("finish",m),t.removeListener("drain",f),t.removeListener("error",g),t.removeListener("unpipe",c),r.removeListener("end",h),r.removeListener("end",v),r.removeListener("data",d),l=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||f())}function h(){A("onend"),t.end()}o.endEmitted?i.nextTick(u):r.once("end",u),t.on("unpipe",c);var f=function(t){return function(){var e=t._readableState;A("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,S(t))}}(r);t.on("drain",f);var l=!1;var p=!1;function d(e){A("ondata"),p=!1,!1!==t.write(e)||p||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==N(o.pipes,t))&&!l&&(A("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function g(e){A("onerror",e),v(),t.removeListener("error",g),0===s(t,"error")&&t.emit("error",e)}function y(){t.removeListener("finish",m),v()}function m(){A("onfinish"),t.removeListener("close",y),v()}function v(){A("unpipe"),r.unpipe(t)}return r.on("data",d),function(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",g),t.once("close",y),t.once("finish",m),t.emit("pipe",r),o.flowing||(A("pipe resume"),r.resume()),t},v.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},r(218),e.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(this,r(22))},function(t,e,r){"use strict";t.exports=a;var n=r(48),i=Object.create(r(39));function o(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthr)?e=("rmd160"===t?new u:c(t)).update(e).digest():e.lengthr||e!==e)throw new TypeError("Bad key length")}},function(t,e,r){(function(e){var r;if(e.browser)r="utf-8";else if(e.version){r=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else r="utf-8";t.exports=r}).call(this,r(20))},function(t,e,r){var n=r(133),i=r(84),o=r(85),a=r(10).Buffer,s=r(136),u=r(137),c=r(139),h=a.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function l(t,e,r){var s=function(t){function e(e){return o(t).update(e).digest()}function r(t){return(new i).update(t).digest()}return"rmd160"===t||"ripemd160"===t?r:"md5"===t?n:e}(t),u="sha512"===t||"sha384"===t?128:64;e.length>u?e=s(e):e.length>>0},e.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},e.ip=function(t,e,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},e.rip=function(t,e,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.pc1=function(t,e,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.r28shl=function(t,e){return t<>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,r,i){for(var o=0,a=0,s=n.length>>>1,u=0;u>>n[u]&1;for(u=s;u>>n[u]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},e.expand=function(t,e,r){var n=0,i=0;n=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var r=0,n=0;n<4;n++){r<<=4,r|=i[64*n+(t>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=i[256+64*n+(e>>>18-6*n&63)]}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,r=0;r>>o[r]&1;return e>>>0},e.padSplit=function(t,e,r){for(var n=t.toString(2);n.length>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,t.keys,a)}},u.prototype._update=function(t,e,r,n){var i=this._desState,a=o.readUInt32BE(t,e),s=o.readUInt32BE(t,e+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},u.prototype._pad=function(t,e){for(var r=t.length-e,n=e;n>>0,a=l}o.rip(s,a,n,i)},u.prototype._decrypt=function(t,e,r,n,i){for(var a=r,s=e,u=t.keys.length-2;u>=0;u-=2){var c=t.keys[u],h=t.keys[u+1];o.expand(a,t.tmp,0),c^=t.tmp[0],h^=t.tmp[1];var f=o.substitute(c,h),l=a;a=(s^o.permute(f))>>>0,s=l}o.rip(a,s,n,i)}},function(t,e,r){var n=r(60),i=r(10).Buffer,o=r(143);function a(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}e.encrypt=function(t,e){var r=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*r)]);for(var s=0;st;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(u),e.cmp(u)){if(!e.cmp(c))for(;r.mod(h).cmp(f);)r.iadd(A)}else for(;r.mod(o).cmp(l);)r.iadd(A);if(g(p=r.shrn(1))&&g(r)&&y(p)&&y(r)&&a.test(p)&&a.test(r))return r}}},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=r(243).Buffer}catch(_){}function s(t,e,r){for(var n=0,i=Math.min(t.length,r),o=e;o=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,h=r;h1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function l(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c>>26,f=67108863&u,l=Math.min(c,e.length-1),A=Math.max(0,c-t.length+1);A<=l;A++){var p=c-A|0;h+=(a=(i=0|t.words[p])*(o=0|e.words[A])+f)/67108864|0,f=67108863&a}r.words[c]=0|f,u=0|h}return 0!==u?r.words[c]=0|u:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var l=h[t],A=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var d=p.modn(A).toString(t);r=(p=p.idivn(A)).isZero()?d+r:c[l-d.length]+d+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===e,c=new t(o),h=this.clone();if(u){for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[s]=a;for(;s=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,A=0|a[1],p=8191&A,d=A>>>13,g=0|a[2],y=8191&g,m=g>>>13,v=0|a[3],b=8191&v,w=v>>>13,I=0|a[4],E=8191&I,_=I>>>13,B=0|a[5],C=8191&B,Q=B>>>13,M=0|a[6],k=8191&M,S=M>>>13,x=0|a[7],D=8191&x,R=x>>>13,N=0|a[8],P=8191&N,T=N>>>13,O=0|a[9],F=8191&O,U=O>>>13,L=0|s[0],G=8191&L,H=L>>>13,j=0|s[1],Y=8191&j,K=j>>>13,q=0|s[2],J=8191&q,V=q>>>13,z=0|s[3],X=8191&z,W=z>>>13,Z=0|s[4],$=8191&Z,tt=Z>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,ht=0|s[8],ft=8191&ht,lt=ht>>>13,At=0|s[9],pt=8191&At,dt=At>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(c+(n=Math.imul(f,G))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(l,G)|0))<<13)|0;c=((o=Math.imul(l,H))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,G),i=(i=Math.imul(p,H))+Math.imul(d,G)|0,o=Math.imul(d,H);var yt=(c+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,K)|0)+Math.imul(l,Y)|0))<<13)|0;c=((o=o+Math.imul(l,K)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,G),i=(i=Math.imul(y,H))+Math.imul(m,G)|0,o=Math.imul(m,H),n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(d,Y)|0,o=o+Math.imul(d,K)|0;var mt=(c+(n=n+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(l,J)|0))<<13)|0;c=((o=o+Math.imul(l,V)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(b,G),i=(i=Math.imul(b,H))+Math.imul(w,G)|0,o=Math.imul(w,H),n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,K)|0,n=n+Math.imul(p,J)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(d,J)|0,o=o+Math.imul(d,V)|0;var vt=(c+(n=n+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(l,X)|0))<<13)|0;c=((o=o+Math.imul(l,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(E,G),i=(i=Math.imul(E,H))+Math.imul(_,G)|0,o=Math.imul(_,H),n=n+Math.imul(b,Y)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,K)|0,n=n+Math.imul(y,J)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,V)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(d,X)|0,o=o+Math.imul(d,W)|0;var bt=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(l,$)|0))<<13)|0;c=((o=o+Math.imul(l,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(C,G),i=(i=Math.imul(C,H))+Math.imul(Q,G)|0,o=Math.imul(Q,H),n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,K)|0,n=n+Math.imul(b,J)|0,i=(i=i+Math.imul(b,V)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,V)|0,n=n+Math.imul(y,X)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,W)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(d,$)|0,o=o+Math.imul(d,tt)|0;var wt=(c+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(l,rt)|0))<<13)|0;c=((o=o+Math.imul(l,nt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,G),i=(i=Math.imul(k,H))+Math.imul(S,G)|0,o=Math.imul(S,H),n=n+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(Q,Y)|0,o=o+Math.imul(Q,K)|0,n=n+Math.imul(E,J)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(_,J)|0,o=o+Math.imul(_,V)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(d,rt)|0,o=o+Math.imul(d,nt)|0;var It=(c+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(l,ot)|0))<<13)|0;c=((o=o+Math.imul(l,at)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,H))+Math.imul(R,G)|0,o=Math.imul(R,H),n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,K)|0,n=n+Math.imul(C,J)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(Q,J)|0,o=o+Math.imul(Q,V)|0,n=n+Math.imul(E,X)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(d,ot)|0,o=o+Math.imul(d,at)|0;var Et=(c+(n=n+Math.imul(f,ut)|0)|0)+((8191&(i=(i=i+Math.imul(f,ct)|0)+Math.imul(l,ut)|0))<<13)|0;c=((o=o+Math.imul(l,ct)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),i=(i=Math.imul(P,H))+Math.imul(T,G)|0,o=Math.imul(T,H),n=n+Math.imul(D,Y)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(Q,X)|0,o=o+Math.imul(Q,W)|0,n=n+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(b,rt)|0,i=(i=i+Math.imul(b,nt)|0)+Math.imul(w,rt)|0,o=o+Math.imul(w,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(d,ut)|0,o=o+Math.imul(d,ct)|0;var _t=(c+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,lt)|0)+Math.imul(l,ft)|0))<<13)|0;c=((o=o+Math.imul(l,lt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(F,G),i=(i=Math.imul(F,H))+Math.imul(U,G)|0,o=Math.imul(U,H),n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(T,Y)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,V)|0)+Math.imul(R,J)|0,o=o+Math.imul(R,V)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(Q,$)|0,o=o+Math.imul(Q,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(d,ft)|0,o=o+Math.imul(d,lt)|0;var Bt=(c+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,dt)|0)+Math.imul(l,pt)|0))<<13)|0;c=((o=o+Math.imul(l,dt)|0)+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,K))+Math.imul(U,Y)|0,o=Math.imul(U,K),n=n+Math.imul(P,J)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,V)|0,n=n+Math.imul(D,X)|0,i=(i=i+Math.imul(D,W)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(S,$)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(C,rt)|0,i=(i=i+Math.imul(C,nt)|0)+Math.imul(Q,rt)|0,o=o+Math.imul(Q,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,at)|0,n=n+Math.imul(b,ut)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(w,ut)|0,o=o+Math.imul(w,ct)|0,n=n+Math.imul(y,ft)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,lt)|0;var Ct=(c+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,dt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,J),i=(i=Math.imul(F,V))+Math.imul(U,J)|0,o=Math.imul(U,V),n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(D,$)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(Q,ot)|0,o=o+Math.imul(Q,at)|0,n=n+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,ct)|0,n=n+Math.imul(b,ft)|0,i=(i=i+Math.imul(b,lt)|0)+Math.imul(w,ft)|0,o=o+Math.imul(w,lt)|0;var Qt=(c+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,dt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,dt)|0)+(i>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,n=Math.imul(F,X),i=(i=Math.imul(F,W))+Math.imul(U,X)|0,o=Math.imul(U,W),n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,n=n+Math.imul(D,rt)|0,i=(i=i+Math.imul(D,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(Q,ut)|0,o=o+Math.imul(Q,ct)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,lt)|0)+Math.imul(_,ft)|0,o=o+Math.imul(_,lt)|0;var Mt=(c+(n=n+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,dt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,dt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,$),i=(i=Math.imul(F,tt))+Math.imul(U,$)|0,o=Math.imul(U,tt),n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(T,rt)|0,o=o+Math.imul(T,nt)|0,n=n+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,at)|0,n=n+Math.imul(k,ut)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(S,ut)|0,o=o+Math.imul(S,ct)|0,n=n+Math.imul(C,ft)|0,i=(i=i+Math.imul(C,lt)|0)+Math.imul(Q,ft)|0,o=o+Math.imul(Q,lt)|0;var kt=(c+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,dt)|0)+Math.imul(_,pt)|0))<<13)|0;c=((o=o+Math.imul(_,dt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(U,rt)|0,o=Math.imul(U,nt),n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,n=n+Math.imul(D,ut)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,ct)|0,n=n+Math.imul(k,ft)|0,i=(i=i+Math.imul(k,lt)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,lt)|0;var St=(c+(n=n+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,dt)|0)+Math.imul(Q,pt)|0))<<13)|0;c=((o=o+Math.imul(Q,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),n=n+Math.imul(P,ut)|0,i=(i=i+Math.imul(P,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,n=n+Math.imul(D,ft)|0,i=(i=i+Math.imul(D,lt)|0)+Math.imul(R,ft)|0,o=o+Math.imul(R,lt)|0;var xt=(c+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,dt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(F,ut),i=(i=Math.imul(F,ct))+Math.imul(U,ut)|0,o=Math.imul(U,ct),n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,lt)|0)+Math.imul(T,ft)|0,o=o+Math.imul(T,lt)|0;var Dt=(c+(n=n+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,dt)|0)+Math.imul(R,pt)|0))<<13)|0;c=((o=o+Math.imul(R,dt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,lt))+Math.imul(U,ft)|0,o=Math.imul(U,lt);var Rt=(c+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,dt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,dt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var Nt=(c+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,dt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,dt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,u[0]=gt,u[1]=yt,u[2]=mt,u[3]=vt,u[4]=bt,u[5]=wt,u[6]=It,u[7]=Et,u[8]=_t,u[9]=Bt,u[10]=Ct,u[11]=Qt,u[12]=Mt,u[13]=kt,u[14]=St,u[15]=xt,u[16]=Dt,u[17]=Rt,u[18]=Nt,0!==c&&(u[19]=c,r.length++),r};function p(t,e,r){return(new d).mulp(t,e,r)}function d(t,e){this.x=t,this.y=e}Math.imul||(A=l),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?A(this,t,e):r<63?l(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):p(this,t,e)},d.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==h||c>=i);c--){var f=0|this.words[c];this.words[c]=h<<26-o|f>>>o,h=f&s}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==e){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var l=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(l=Math.min(l/a|0,67108863),n._ishlnsubmul(i,l,f);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=l)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var h=r.clone(),f=e.clone();!e.isZero();){for(var l=0,A=1;0===(e.words[0]&A)&&l<26;++l,A<<=1);if(l>0)for(e.iushrn(l);l-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(h),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,d=1;0===(r.words[0]&d)&&p<26;++p,d<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(h),u.isub(f)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(u)):(r.isub(e),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,h=1;0===(e.words[0]&h)&&c<26;++c,h<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,l=1;0===(r.words[0]&l)&&f<26;++f,l<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new I(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var g={k256:null,p224:null,p192:null,p25519:null};function y(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function m(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function I(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function E(t){I.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(t,e){t.iushrn(this.n,0,e)},y.prototype.imulK=function(t){return t.imul(this.k)},i(m,y),m.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},m.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(g[t])return g[t];var e;if("k256"===t)e=new m;else if("p224"===t)e=new v;else if("p192"===t)e=new b;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return g[t]=e,e},I.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},I.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},I.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},I.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},I.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},I.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},I.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},I.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},I.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},I.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},I.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},I.prototype.isqr=function(t){return this.imul(t,t.clone())},I.prototype.sqr=function(t){return this.mul(t,t)},I.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,c).cmp(u);)h.redIAdd(u);for(var f=this.pow(h,i),l=this.pow(t,i.addn(1).iushrn(1)),A=this.pow(t,i),p=a;0!==A.cmp(s);){for(var d=A,g=0;0!==d.cmp(s);g++)d=d.redSqr();n(g=0;n--){for(var c=e.words[n],h=u-1;h>=0;h--){var f=c>>h&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===h)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},I.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},I.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new E(t)},i(E,I),E.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},E.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},E.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(46)(t))},function(t,e,r){var n=r(244),i=r(92);function o(t){this.rand=t||new i.Rand}t.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),r=Math.ceil(e/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var r=e.sub(t);return t.add(this._randbelow(r))},o.prototype.test=function(t,e,r){var i=t.bitLength(),o=n.mont(t),a=new n(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),u=0;!s.testn(u);u++);for(var c=t.shrn(u),h=s.toRed(o);e>0;e--){var f=this._randrange(new n(2),s);r&&r(f);var l=f.toRed(o).redPow(c);if(0!==l.cmp(a)&&0!==l.cmp(h)){for(var A=1;A0;e--){var h=this._randrange(new n(2),a),f=t.gcd(h);if(0!==f.cmpn(1))return f;var l=h.toRed(i).redPow(u);if(0!==l.cmp(o)&&0!==l.cmp(c)){for(var A=1;A>8,a=255&i;o?r.push(o,a):r.push(a)}return r},n.zero2=i,n.toHex=o,n.encode=function(t,e){return"hex"===e?o(t):t}},function(t,e,r){"use strict";var n=e;n.base=r(70),n.short=r(254),n.mont=r(255),n.edwards=r(256)},function(t,e,r){"use strict";var n=r(40).rotr32;function i(t,e,r){return t&e^~t&r}function o(t,e,r){return t&e^t&r^e&r}function a(t,e,r){return t^e^r}e.ft_1=function(t,e,r,n){return 0===t?i(e,r,n):1===t||3===t?a(e,r,n):2===t?o(e,r,n):void 0},e.ch32=i,e.maj32=o,e.p32=a,e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},function(t,e,r){"use strict";var n=r(40),i=r(61),o=r(152),a=r(32),s=n.sum32,u=n.sum32_4,c=n.sum32_5,h=o.ch32,f=o.maj32,l=o.s0_256,A=o.s1_256,p=o.g0_256,d=o.g1_256,g=i.BlockHash,y=[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];function m(){if(!(this instanceof m))return new m;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}n.inherits(m,g),t.exports=m,m.blockSize=512,m.outSize=256,m.hmacStrength=192,m.padLength=64,m.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,h=r;h1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function l(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c>>26,f=67108863&u,l=Math.min(c,e.length-1),A=Math.max(0,c-t.length+1);A<=l;A++){var p=c-A|0;h+=(a=(i=0|t.words[p])*(o=0|e.words[A])+f)/67108864|0,f=67108863&a}r.words[c]=0|f,u=0|h}return 0!==u?r.words[c]=0|u:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var l=h[t],A=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var d=p.modn(A).toString(t);r=(p=p.idivn(A)).isZero()?d+r:c[l-d.length]+d+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===e,c=new t(o),h=this.clone();if(u){for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[s]=a;for(;s=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,A=0|a[1],p=8191&A,d=A>>>13,g=0|a[2],y=8191&g,m=g>>>13,v=0|a[3],b=8191&v,w=v>>>13,I=0|a[4],E=8191&I,_=I>>>13,B=0|a[5],C=8191&B,Q=B>>>13,M=0|a[6],k=8191&M,S=M>>>13,x=0|a[7],D=8191&x,R=x>>>13,N=0|a[8],P=8191&N,T=N>>>13,O=0|a[9],F=8191&O,U=O>>>13,L=0|s[0],G=8191&L,H=L>>>13,j=0|s[1],Y=8191&j,K=j>>>13,q=0|s[2],J=8191&q,V=q>>>13,z=0|s[3],X=8191&z,W=z>>>13,Z=0|s[4],$=8191&Z,tt=Z>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,ht=0|s[8],ft=8191&ht,lt=ht>>>13,At=0|s[9],pt=8191&At,dt=At>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(c+(n=Math.imul(f,G))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(l,G)|0))<<13)|0;c=((o=Math.imul(l,H))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,G),i=(i=Math.imul(p,H))+Math.imul(d,G)|0,o=Math.imul(d,H);var yt=(c+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,K)|0)+Math.imul(l,Y)|0))<<13)|0;c=((o=o+Math.imul(l,K)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,G),i=(i=Math.imul(y,H))+Math.imul(m,G)|0,o=Math.imul(m,H),n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(d,Y)|0,o=o+Math.imul(d,K)|0;var mt=(c+(n=n+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(l,J)|0))<<13)|0;c=((o=o+Math.imul(l,V)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(b,G),i=(i=Math.imul(b,H))+Math.imul(w,G)|0,o=Math.imul(w,H),n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,K)|0,n=n+Math.imul(p,J)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(d,J)|0,o=o+Math.imul(d,V)|0;var vt=(c+(n=n+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(l,X)|0))<<13)|0;c=((o=o+Math.imul(l,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(E,G),i=(i=Math.imul(E,H))+Math.imul(_,G)|0,o=Math.imul(_,H),n=n+Math.imul(b,Y)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,K)|0,n=n+Math.imul(y,J)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,V)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(d,X)|0,o=o+Math.imul(d,W)|0;var bt=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(l,$)|0))<<13)|0;c=((o=o+Math.imul(l,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(C,G),i=(i=Math.imul(C,H))+Math.imul(Q,G)|0,o=Math.imul(Q,H),n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,K)|0,n=n+Math.imul(b,J)|0,i=(i=i+Math.imul(b,V)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,V)|0,n=n+Math.imul(y,X)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,W)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(d,$)|0,o=o+Math.imul(d,tt)|0;var wt=(c+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(l,rt)|0))<<13)|0;c=((o=o+Math.imul(l,nt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,G),i=(i=Math.imul(k,H))+Math.imul(S,G)|0,o=Math.imul(S,H),n=n+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(Q,Y)|0,o=o+Math.imul(Q,K)|0,n=n+Math.imul(E,J)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(_,J)|0,o=o+Math.imul(_,V)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(d,rt)|0,o=o+Math.imul(d,nt)|0;var It=(c+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(l,ot)|0))<<13)|0;c=((o=o+Math.imul(l,at)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,H))+Math.imul(R,G)|0,o=Math.imul(R,H),n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,K)|0,n=n+Math.imul(C,J)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(Q,J)|0,o=o+Math.imul(Q,V)|0,n=n+Math.imul(E,X)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(d,ot)|0,o=o+Math.imul(d,at)|0;var Et=(c+(n=n+Math.imul(f,ut)|0)|0)+((8191&(i=(i=i+Math.imul(f,ct)|0)+Math.imul(l,ut)|0))<<13)|0;c=((o=o+Math.imul(l,ct)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),i=(i=Math.imul(P,H))+Math.imul(T,G)|0,o=Math.imul(T,H),n=n+Math.imul(D,Y)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(Q,X)|0,o=o+Math.imul(Q,W)|0,n=n+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(b,rt)|0,i=(i=i+Math.imul(b,nt)|0)+Math.imul(w,rt)|0,o=o+Math.imul(w,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(d,ut)|0,o=o+Math.imul(d,ct)|0;var _t=(c+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,lt)|0)+Math.imul(l,ft)|0))<<13)|0;c=((o=o+Math.imul(l,lt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(F,G),i=(i=Math.imul(F,H))+Math.imul(U,G)|0,o=Math.imul(U,H),n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(T,Y)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,V)|0)+Math.imul(R,J)|0,o=o+Math.imul(R,V)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(Q,$)|0,o=o+Math.imul(Q,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(d,ft)|0,o=o+Math.imul(d,lt)|0;var Bt=(c+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,dt)|0)+Math.imul(l,pt)|0))<<13)|0;c=((o=o+Math.imul(l,dt)|0)+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,K))+Math.imul(U,Y)|0,o=Math.imul(U,K),n=n+Math.imul(P,J)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,V)|0,n=n+Math.imul(D,X)|0,i=(i=i+Math.imul(D,W)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(S,$)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(C,rt)|0,i=(i=i+Math.imul(C,nt)|0)+Math.imul(Q,rt)|0,o=o+Math.imul(Q,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,at)|0,n=n+Math.imul(b,ut)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(w,ut)|0,o=o+Math.imul(w,ct)|0,n=n+Math.imul(y,ft)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,lt)|0;var Ct=(c+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,dt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,J),i=(i=Math.imul(F,V))+Math.imul(U,J)|0,o=Math.imul(U,V),n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(D,$)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(Q,ot)|0,o=o+Math.imul(Q,at)|0,n=n+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,ct)|0,n=n+Math.imul(b,ft)|0,i=(i=i+Math.imul(b,lt)|0)+Math.imul(w,ft)|0,o=o+Math.imul(w,lt)|0;var Qt=(c+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,dt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,dt)|0)+(i>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,n=Math.imul(F,X),i=(i=Math.imul(F,W))+Math.imul(U,X)|0,o=Math.imul(U,W),n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,n=n+Math.imul(D,rt)|0,i=(i=i+Math.imul(D,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(Q,ut)|0,o=o+Math.imul(Q,ct)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,lt)|0)+Math.imul(_,ft)|0,o=o+Math.imul(_,lt)|0;var Mt=(c+(n=n+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,dt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,dt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,$),i=(i=Math.imul(F,tt))+Math.imul(U,$)|0,o=Math.imul(U,tt),n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(T,rt)|0,o=o+Math.imul(T,nt)|0,n=n+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,at)|0,n=n+Math.imul(k,ut)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(S,ut)|0,o=o+Math.imul(S,ct)|0,n=n+Math.imul(C,ft)|0,i=(i=i+Math.imul(C,lt)|0)+Math.imul(Q,ft)|0,o=o+Math.imul(Q,lt)|0;var kt=(c+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,dt)|0)+Math.imul(_,pt)|0))<<13)|0;c=((o=o+Math.imul(_,dt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(U,rt)|0,o=Math.imul(U,nt),n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,n=n+Math.imul(D,ut)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,ct)|0,n=n+Math.imul(k,ft)|0,i=(i=i+Math.imul(k,lt)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,lt)|0;var St=(c+(n=n+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,dt)|0)+Math.imul(Q,pt)|0))<<13)|0;c=((o=o+Math.imul(Q,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),n=n+Math.imul(P,ut)|0,i=(i=i+Math.imul(P,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,n=n+Math.imul(D,ft)|0,i=(i=i+Math.imul(D,lt)|0)+Math.imul(R,ft)|0,o=o+Math.imul(R,lt)|0;var xt=(c+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,dt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(F,ut),i=(i=Math.imul(F,ct))+Math.imul(U,ut)|0,o=Math.imul(U,ct),n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,lt)|0)+Math.imul(T,ft)|0,o=o+Math.imul(T,lt)|0;var Dt=(c+(n=n+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,dt)|0)+Math.imul(R,pt)|0))<<13)|0;c=((o=o+Math.imul(R,dt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,lt))+Math.imul(U,ft)|0,o=Math.imul(U,lt);var Rt=(c+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,dt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,dt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var Nt=(c+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,dt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,dt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,u[0]=gt,u[1]=yt,u[2]=mt,u[3]=vt,u[4]=bt,u[5]=wt,u[6]=It,u[7]=Et,u[8]=_t,u[9]=Bt,u[10]=Ct,u[11]=Qt,u[12]=Mt,u[13]=kt,u[14]=St,u[15]=xt,u[16]=Dt,u[17]=Rt,u[18]=Nt,0!==c&&(u[19]=c,r.length++),r};function p(t,e,r){return(new d).mulp(t,e,r)}function d(t,e){this.x=t,this.y=e}Math.imul||(A=l),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?A(this,t,e):r<63?l(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):p(this,t,e)},d.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==h||c>=i);c--){var f=0|this.words[c];this.words[c]=h<<26-o|f>>>o,h=f&s}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==e){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var l=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(l=Math.min(l/a|0,67108863),n._ishlnsubmul(i,l,f);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=l)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var h=r.clone(),f=e.clone();!e.isZero();){for(var l=0,A=1;0===(e.words[0]&A)&&l<26;++l,A<<=1);if(l>0)for(e.iushrn(l);l-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(h),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,d=1;0===(r.words[0]&d)&&p<26;++p,d<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(h),u.isub(f)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(u)):(r.isub(e),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,h=1;0===(e.words[0]&h)&&c<26;++c,h<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,l=1;0===(r.words[0]&l)&&f<26;++f,l<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new I(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var g={k256:null,p224:null,p192:null,p25519:null};function y(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function m(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function I(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function E(t){I.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(t,e){t.iushrn(this.n,0,e)},y.prototype.imulK=function(t){return t.imul(this.k)},i(m,y),m.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},m.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(g[t])return g[t];var e;if("k256"===t)e=new m;else if("p224"===t)e=new v;else if("p192"===t)e=new b;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return g[t]=e,e},I.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},I.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},I.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},I.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},I.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},I.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},I.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},I.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},I.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},I.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},I.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},I.prototype.isqr=function(t){return this.imul(t,t.clone())},I.prototype.sqr=function(t){return this.mul(t,t)},I.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,c).cmp(u);)h.redIAdd(u);for(var f=this.pow(h,i),l=this.pow(t,i.addn(1).iushrn(1)),A=this.pow(t,i),p=a;0!==A.cmp(s);){for(var d=A,g=0;0!==d.cmp(s);g++)d=d.redSqr();n(g=0;n--){for(var c=e.words[n],h=u-1;h>=0;h--){var f=c>>h&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===h)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},I.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},I.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new E(t)},i(E,I),E.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},E.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},E.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(46)(t))},function(t,e,r){"use strict";var n=e;n.der=r(158),n.pem=r(274)},function(t,e,r){"use strict";var n=r(8),i=r(98).Buffer,o=r(99),a=r(101);function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new u,this.tree._init(t.body)}function u(t){o.call(this,"der",t)}function c(t){return t<10?"0"+t:t}t.exports=s,s.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},n(u,o),u.prototype._encodeComposite=function(t,e,r,n){var o=function(t,e,r,n){var i;"seqof"===t?t="seq":"setof"===t&&(t="set");if(a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!==typeof t||(0|t)!==t)return n.error("Unknown tag: "+t);i=t}if(i>=31)return n.error("Multi-octet tag encoding unsupported");e||(i|=32);return i|=a.tagClassByName[r||"universal"]<<6}(t,e,r,this.reporter);if(n.length<128){var s=i.alloc(2);return s[0]=o,s[1]=n.length,this._createEncoderBuffer([s,n])}for(var u=1,c=n.length;c>=256;c>>=8)u++;var h=i.alloc(2+u);h[0]=o,h[1]=128|u;for(var f=1+u,l=n.length;l>0;f--,l>>=8)h[f]=255&l;return this._createEncoderBuffer([h,n])},u.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var r=i.alloc(2*t.length),n=0;n=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}for(var a=0,s=0;s=128;u>>=7)a++}for(var c=i.alloc(a),h=c.length-1,f=t.length-1;f>=0;f--){var l=t[f];for(c[h--]=127&l;(l>>=7)>0;)c[h--]=128|127&l}return this._createEncoderBuffer(c)},u.prototype._encodeTime=function(t,e){var r,n=new Date(t);return"gentime"===e?r=[c(n.getUTCFullYear()),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):"utctime"===e?r=[c(n.getUTCFullYear()%100),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(r,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(t,e){if("string"===typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!==typeof t&&!i.isBuffer(t)){var r=t.toArray();!t.sign&&128&r[0]&&r.unshift(0),t=i.from(r)}if(i.isBuffer(t)){var n=t.length;0===t.length&&n++;var o=i.alloc(n);return t.copy(o),0===t.length&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var a=1,s=t;s>=256;s>>=8)a++;for(var u=new Array(a),c=u.length-1;c>=0;c--)u[c]=255&t,t>>=8;return 128&u[0]&&u.unshift(0),this._createEncoderBuffer(i.from(u))},u.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},u.prototype._use=function(t,e){return"function"===typeof t&&(t=t(e)),t._getEncoder("der").tree},u.prototype._skipDefault=function(t,e,r){var n,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n>6],i=0===(32&r);if(31===(31&r)){var o=r;for(r=0;128===(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function f(t,e,r){var n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(0===(128&n))return n;var i=127&n;if(i>4)return t.error("length octect is too long");n=0;for(var o=0;o=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){s.headers[t]=n.merge(o)})),t.exports=s}).call(this,r(20))},function(t,e,r){"use strict";var n=r(30),i=r(296),o=r(298),a=r(166),s=r(299),u=r(302),c=r(303),h=r(170);t.exports=function(t){return new Promise((function(e,r){var f=t.data,l=t.headers;n.isFormData(f)&&delete l["Content-Type"];var A=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.Authorization="Basic "+btoa(p+":"+d)}var g=s(t.baseURL,t.url);if(A.open(t.method.toUpperCase(),a(g,t.params,t.paramsSerializer),!0),A.timeout=t.timeout,A.onreadystatechange=function(){if(A&&4===A.readyState&&(0!==A.status||A.responseURL&&0===A.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in A?u(A.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?A.response:A.responseText,status:A.status,statusText:A.statusText,headers:n,config:t,request:A};i(e,r,o),A=null}},A.onabort=function(){A&&(r(h("Request aborted",t,"ECONNABORTED",A)),A=null)},A.onerror=function(){r(h("Network Error",t,null,A)),A=null},A.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(h(e,t,"ECONNABORTED",A)),A=null},n.isStandardBrowserEnv()){var y=(t.withCredentials||c(g))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;y&&(l[t.xsrfHeaderName]=y)}if("setRequestHeader"in A&&n.forEach(l,(function(t,e){"undefined"===typeof f&&"content-type"===e.toLowerCase()?delete l[e]:A.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(A.withCredentials=!!t.withCredentials),t.responseType)try{A.responseType=t.responseType}catch(m){if("json"!==t.responseType)throw m}"function"===typeof t.onDownloadProgress&&A.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&A.upload&&A.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){A&&(A.abort(),r(t),A=null)})),f||(f=null),A.send(f)}))}},function(t,e,r){"use strict";var n=r(297);t.exports=function(t,e,r,i,o){var a=new Error(t);return n(a,e,r,i,o)}},function(t,e,r){"use strict";var n=r(30);t.exports=function(t,e){e=e||{};var r={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function u(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function c(i){n.isUndefined(e[i])?n.isUndefined(t[i])||(r[i]=u(void 0,t[i])):r[i]=u(t[i],e[i])}n.forEach(i,(function(t){n.isUndefined(e[t])||(r[t]=u(void 0,e[t]))})),n.forEach(o,c),n.forEach(a,(function(i){n.isUndefined(e[i])?n.isUndefined(t[i])||(r[i]=u(void 0,t[i])):r[i]=u(void 0,e[i])})),n.forEach(s,(function(n){n in e?r[n]=u(t[n],e[n]):n in t&&(r[n]=u(void 0,t[n]))}));var h=i.concat(o).concat(a).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===h.indexOf(t)}));return n.forEach(f,c),r}},function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},function(t,e,r){(function(t){var n=r(312),i=r(175),o=r(318),a=r(319),s=r(104),u=e;u.request=function(e,r){e="string"===typeof e?s.parse(e):o(e);var i=-1===t.location.protocol.search(/^https?:$/)?"http:":"",a=e.protocol||i,u=e.hostname||e.host,c=e.port,h=e.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),e.url=(u?a+"//"+u:"")+(c?":"+c:"")+h,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var f=new n(e);return r&&f.on("response",r),f},u.get=function(t,e){var r=u.request(t,e);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=a,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,r(22))},function(t,e,r){(function(t){e.fetch=s(t.fetch)&&s(t.ReadableStream),e.writableStream=s(t.WritableStream),e.abortController=s(t.AbortController),e.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),e.blobConstructor=!0}catch(u){}var r;function n(){if(void 0!==r)return r;if(t.XMLHttpRequest){r=new t.XMLHttpRequest;try{r.open("GET",t.XDomainRequest?"/":"https://example.com")}catch(u){r=null}}else r=null;return r}function i(t){var e=n();if(!e)return!1;try{return e.responseType=t,e.responseType===t}catch(u){}return!1}var o="undefined"!==typeof t.ArrayBuffer,a=o&&s(t.ArrayBuffer.prototype.slice);function s(t){return"function"===typeof t}e.arraybuffer=e.fetch||o&&i("arraybuffer"),e.msstream=!e.fetch&&a&&i("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&o&&i("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||!!n()&&s(n().overrideMimeType),e.vbArray=s(t.VBArray),r=null}).call(this,r(22))},function(t,e,r){(function(t,n,i){var o=r(174),a=r(8),s=r(176),u=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=e.IncomingMessage=function(e,r,a,u){var c=this;if(s.Readable.call(c),c._mode=a,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){t.nextTick((function(){c.emit("close")}))})),"fetch"===a){if(c._fetchResponse=r,c.url=r.url,c.statusCode=r.status,c.statusMessage=r.statusText,r.headers.forEach((function(t,e){c.headers[e.toLowerCase()]=t,c.rawHeaders.push(e,t)})),o.writableStream){var h=new WritableStream({write:function(t){return new Promise((function(e,r){c._destroyed?r():c.push(new n(t))?e():c._resumeFetch=e}))},close:function(){i.clearTimeout(u),c._destroyed||c.push(null)},abort:function(t){c._destroyed||c.emit("error",t)}});try{return void r.body.pipeTo(h).catch((function(t){i.clearTimeout(u),c._destroyed||c.emit("error",t)}))}catch(p){}}var f=r.body.getReader();!function t(){f.read().then((function(e){if(!c._destroyed){if(e.done)return i.clearTimeout(u),void c.push(null);c.push(new n(e.value)),t()}})).catch((function(t){i.clearTimeout(u),c._destroyed||c.emit("error",t)}))}()}else{if(c._xhr=e,c._pos=0,c.url=e.responseURL,c.statusCode=e.status,c.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach((function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var r=e[1].toLowerCase();"set-cookie"===r?(void 0===c.headers[r]&&(c.headers[r]=[]),c.headers[r].push(e[2])):void 0!==c.headers[r]?c.headers[r]+=", "+e[2]:c.headers[r]=e[2],c.rawHeaders.push(e[1],e[2])}})),c._charset="x-user-defined",!o.overrideMimeType){var l=c.rawHeaders["mime-type"];if(l){var A=l.match(/;\s*charset=([^;])(;|$)/);A&&(c._charset=A[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};a(c,s.Readable),c.prototype._read=function(){var t=this._resumeFetch;t&&(this._resumeFetch=null,t())},c.prototype._onXHRProgress=function(){var t=this,e=t._xhr,r=null;switch(t._mode){case"text:vbarray":if(e.readyState!==u.DONE)break;try{r=new i.VBArray(e.responseBody).toArray()}catch(h){}if(null!==r){t.push(new n(r));break}case"text":try{r=e.responseText}catch(h){t._mode="text:vbarray";break}if(r.length>t._pos){var o=r.substr(t._pos);if("x-user-defined"===t._charset){for(var a=new n(o.length),s=0;st._pos&&(t.push(new n(new Uint8Array(c.result.slice(t._pos)))),t._pos=c.result.byteLength)},c.onload=function(){t.push(null)},c.readAsArrayBuffer(r)}t._xhr.readyState===u.DONE&&"ms-stream"!==t._mode&&t.push(null)}}).call(this,r(20),r(11).Buffer,r(22))},function(t,e,r){(e=t.exports=r(177)).Stream=e,e.Readable=e,e.Writable=r(180),e.Duplex=r(54),e.Transform=r(181),e.PassThrough=r(316)},function(t,e,r){"use strict";(function(e,n){var i=r(45);t.exports=v;var o,a=r(80);v.ReadableState=m;r(36).EventEmitter;var s=function(t,e){return t.listeners(e).length},u=r(178),c=r(103).Buffer,h=e.Uint8Array||function(){};var f=Object.create(r(39));f.inherits=r(8);var l=r(313),A=void 0;A=l&&l.debuglog?l.debuglog("stream"):function(){};var p,d=r(314),g=r(179);f.inherits(v,u);var y=["error","close","destroy","pause","resume"];function m(t,e){t=t||{};var n=e instanceof(o=o||r(54));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=r(47).StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function v(t){if(o=o||r(54),!(this instanceof v))return new v(t);this._readableState=new m(t,this),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),u.call(this)}function b(t,e,r,n,i){var o,a=t._readableState;null===e?(a.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,_(t)}(t,a)):(i||(o=function(t,e){var r;n=e,c.isBuffer(n)||n instanceof h||"string"===typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(a,e)),o?t.emit("error",o):a.objectMode||e&&e.length>0?("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),n?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):w(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?w(t,a,e,!1):C(t,a)):w(t,a,e,!1))):n||(a.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=I?t=I:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function _(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(A("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(B,t):B(t))}function B(t){A("emit readable"),t.emit("readable"),S(t)}function C(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(Q,t,e))}function Q(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;to.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=c.allocUnsafe(t),n=e.head,i=1;n.data.copy(r),t-=n.data.length;for(;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function D(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(R,e,t))}function R(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function N(t,e){for(var r=0,n=t.length;r=e.highWaterMark||e.ended))return A("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?D(this):_(this),null;if(0===(t=E(t,e))&&e.ended)return 0===e.length&&D(this),null;var n,i=e.needReadable;return A("need readable",i),(0===e.length||e.length-t0?x(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&D(this)),null!==n&&this.emit("data",n),n},v.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(t,e){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,A("pipe count=%d opts=%j",o.pipesCount,e);var u=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?h:v;function c(e,n){A("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,A("cleanup"),t.removeListener("close",y),t.removeListener("finish",m),t.removeListener("drain",f),t.removeListener("error",g),t.removeListener("unpipe",c),r.removeListener("end",h),r.removeListener("end",v),r.removeListener("data",d),l=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||f())}function h(){A("onend"),t.end()}o.endEmitted?i.nextTick(u):r.once("end",u),t.on("unpipe",c);var f=function(t){return function(){var e=t._readableState;A("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,S(t))}}(r);t.on("drain",f);var l=!1;var p=!1;function d(e){A("ondata"),p=!1,!1!==t.write(e)||p||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==N(o.pipes,t))&&!l&&(A("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function g(e){A("onerror",e),v(),t.removeListener("error",g),0===s(t,"error")&&t.emit("error",e)}function y(){t.removeListener("finish",m),v()}function m(){A("onfinish"),t.removeListener("close",y),v()}function v(){A("unpipe"),r.unpipe(t)}return r.on("data",d),function(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",g),t.once("close",y),t.once("finish",m),t.emit("pipe",r),o.flowing||(A("pipe resume"),r.resume()),t},v.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o-1?n:o.nextTick;m.WritableState=y;var c=Object.create(r(39));c.inherits=r(8);var h={deprecate:r(82)},f=r(178),l=r(103).Buffer,A=i.Uint8Array||function(){};var p,d=r(179);function g(){}function y(t,e){s=s||r(54),t=t||{};var n=e instanceof s;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,c=t.writableHighWaterMark,h=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(c||0===c)?c:h,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?(o.nextTick(i,n),o.nextTick(_,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),_(t,e))}(t,r,n,e,i);else{var a=I(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||w(t,r),n?u(b,t,r,a,i):b(t,r,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function m(t){if(s=s||r(54),!p.call(m,this)&&!(this instanceof s))return new m(t);this._writableState=new y(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),f.call(this)}function v(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function b(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),_(t,e)}function w(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,u=!0;r;)i[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;i.allBuffers=u,v(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,h=r.encoding,f=r.callback;if(v(t,e,!1,e.objectMode?1:c.length,c,h,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function I(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function E(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),_(t,e)}))}function _(t,e){var r=I(e);return r&&(!function(t,e){e.prefinished||e.finalCalled||("function"===typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(E,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}c.inherits(m,f),y.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(y.prototype,"buffer",{get:h.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(m,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===m&&(t&&t._writableState instanceof y)}})):p=function(t){return t instanceof this},m.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},m.prototype.write=function(t,e,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=t,l.isBuffer(n)||n instanceof A);return s&&!l.isBuffer(t)&&(t=function(t){return l.from(t)}(t)),"function"===typeof e&&(r=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!==typeof r&&(r=g),i.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),o.nextTick(e,r)}(this,r):(s||function(t,e,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),o.nextTick(n,a),i=!1),i}(this,i,t,r))&&(i.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=l.from(e,r));return e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var u=e.length-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),m.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},m.prototype._writev=null,m.prototype.end=function(t,e,r){var n=this._writableState;"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,_(t,e),r&&(e.finished?o.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r)},Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),m.prototype.destroy=d.destroy,m.prototype._undestroy=d.undestroy,m.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r(20),r(130).setImmediate,r(22))},function(t,e,r){"use strict";t.exports=a;var n=r(54),i=Object.create(r(39));function o(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length=c.crypto_secretbox_NONCEBYTES+c.crypto_secretbox_MACBYTES)){n.next=29;break}return n.prev=9,n.t1=JSON,n.next=13,Object(l.f)(u,this.keyPair.publicKey,this.keyPair.privateKey);case 13:return n.t2=n.sent,h=n.t1.parse.call(n.t1,n.t2),n.t3=e,n.t4=Object,n.t5=Object.assign({},h),n.next=20,Object(A.a)(h.publicKey);case 20:n.t6=n.sent,n.t7=null===(a=null===r||void 0===r?void 0:r.data)||void 0===a?void 0:a.sender.id,n.t8={senderId:n.t6,extensionId:n.t7},n.t9=n.t4.assign.call(n.t4,n.t5,n.t8),(0,n.t3)(n.t9),n.next=29;break;case 27:n.prev=27,n.t10=n.catch(9);case 29:case"end":return n.stop()}}),n,this,[[9,27]])})))},h.a.addEventListener("message",n);case 2:case"end":return r.stop()}}),r)})))}},{key:"sendPairingRequest",value:function(t){return d(this,void 0,void 0,i.a.mark((function e(){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=f.m.EXTENSION,e.t1=new f.A,e.next=4,this.getPairingRequestInfo();case 4:return e.t2=e.sent,e.next=7,e.t1.serialize.call(e.t1,e.t2);case 7:e.t3=e.sent,e.t4=t,r={target:e.t0,payload:e.t3,targetId:e.t4},h.a.postMessage(r,h.a.location.origin);case 11:case"end":return e.stop()}}),e,this)})))}},{key:"isChannelOpenMessage",value:function(t){return d(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return","object"===typeof t&&t.hasOwnProperty("payload"));case 1:case"end":return e.stop()}}),e)})))}},{key:"subscribeToMessages",value:function(){return d(this,void 0,void 0,i.a.mark((function t(){var e=this;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:h.a.addEventListener("message",(function(t){if("object"===typeof t&&t){var r=t.data;r.message&&r.message.target===f.m.PAGE&&e.activeListeners.forEach((function(t){t(r.message,{origin:f.t.EXTENSION,id:r.sender.id||""})}))}}));case 1:case"end":return t.stop()}}),t)})))}}]),n}(p.a)}).call(this,r(11).Buffer)},function(t,e,r){"use strict";t.exports=function(t,e){e||(e={}),"function"===typeof e&&(e={cmp:e});var r,n="boolean"===typeof e.cycles&&e.cycles,i=e.cmp&&(r=e.cmp,function(t){return function(e,n){var i={key:e,value:t[e]},o={key:n,value:t[n]};return r(i,o)}}),o=[];return function t(e){if(e&&e.toJSON&&"function"===typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!==typeof e)return JSON.stringify(e);var r,a;if(Array.isArray(e)){for(a="[",r=0;r "+e.toString("hex")),Object(f.sign)(s,r/1e3).then((function(e){var r,n=e.signatureData;if("string"===typeof n){var o,a=t.from((r=n).replace(/-/g,"+").replace(/_/g,"/")+"==".substring(0,3*r.length%4),"base64");return o=i?a.slice(5):a,Object(A.a)("apdu","<= "+o.toString("hex")),o}throw e}))}var m=[];var v=function(e){Object(c.a)(n,e);var r=Object(h.a)(n);function n(){var t;return Object(a.a)(this,n),(t=r.call(this)).scrambleKey=void 0,t.unwrap=!0,m.push(Object(u.a)(t)),t}return Object(s.a)(n,[{key:"exchange",value:function(){var t=Object(o.a)(i.a.mark((function t(e){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,y(e,this.exchangeTimeout,this.scrambleKey,this.unwrap);case 3:return t.abrupt("return",t.sent);case 6:if(t.prev=6,t.t0=t.catch(0),!("object"===typeof t.t0.metaData)){t.next=14;break}throw 5===t.t0.metaData.code&&(m.forEach((function(t){return t.emit("disconnect")})),m=[]),d(t.t0,"Failed to sign with Ledger device: U2F "+t.t0.metaData.type,"U2F_"+t.t0.metaData.code);case 14:throw t.t0;case 15:case"end":return t.stop()}}),t,this,[[0,6]])})));return function(e){return t.apply(this,arguments)}}()},{key:"setScrambleKey",value:function(e){this.scrambleKey=t.from(e,"ascii")}},{key:"setUnwrap",value:function(t){this.unwrap=t}},{key:"close",value:function(){return Promise.resolve()}}],[{key:"open",value:function(){var t=Object(o.a)(i.a.mark((function t(e){var r=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.length>1&&void 0!==r[1]?r[1]:5e3,t.abrupt("return",new n);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}]),n}(l.a);v.isSupported=f.isSupported,v.list=function(){return Object(f.isSupported)().then((function(t){return t?[null]:[]}))},v.listen=function(t){var e=!1;return Object(f.isSupported)().then((function(r){e||(r?(t.next({type:"add",descriptor:null}),t.complete()):t.error(new p.b("U2F browser support is needed for Ledger. Please use Chrome, Opera or Firefox with a U2F extension. Also make sure you're on an HTTPS connection","U2FNotSupported")))})),{unsubscribe:function(){e=!0}}}}).call(this,r(11).Buffer)},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return l}));var n=r(76),i=r(0),o=r.n(i),a=r(24),s=r(1),u=r(3),c=r(36),h=r.n(c),f=r(29),l=function(){function e(){var r=this;Object(s.a)(this,e),this.exchangeTimeout=3e4,this.unresponsiveTimeout=15e3,this.deviceModel=null,this._events=new h.a,this.send=function(){var e=Object(a.a)(o.a.mark((function e(n,i,a,s){var u,c,h,l,A=arguments;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=A.length>4&&void 0!==A[4]?A[4]:t.alloc(0),c=A.length>5&&void 0!==A[5]?A[5]:[f.a.OK],!(u.length>=256)){e.next=4;break}throw new f.b("data.length exceed 256 bytes limit. Got: "+u.length,"DataLengthTooBig");case 4:return e.next=6,r.exchange(t.concat([t.from([n,i,a,s]),t.from([u.length]),u]));case 6:if(h=e.sent,l=h.readUInt16BE(h.length-2),c.some((function(t){return t===l}))){e.next=10;break}throw new f.d(l);case 10:return e.abrupt("return",h);case 11:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}(),this.exchangeBusyPromise=void 0,this.exchangeAtomicImpl=function(){var t=Object(a.a)(o.a.mark((function t(e){var n,i,a,s,u;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r.exchangeBusyPromise){t.next=2;break}throw new f.c("An action was already pending on the Ledger device. Please deny or reconnect.");case 2:return i=new Promise((function(t){n=t})),r.exchangeBusyPromise=i,a=!1,s=setTimeout((function(){a=!0,r.emit("unresponsive")}),r.unresponsiveTimeout),t.prev=6,t.next=9,e();case 9:return u=t.sent,a&&r.emit("responsive"),t.abrupt("return",u);case 12:return t.prev=12,clearTimeout(s),n&&n(),r.exchangeBusyPromise=null,t.finish(12);case 17:case"end":return t.stop()}}),t,null,[[6,,12,17]])})));return function(e){return t.apply(this,arguments)}}(),this._appAPIlock=null}return Object(u.a)(e,[{key:"exchange",value:function(t){throw new Error("exchange not implemented")}},{key:"setScrambleKey",value:function(t){}},{key:"close",value:function(){return Promise.resolve()}},{key:"on",value:function(t,e){this._events.on(t,e)}},{key:"off",value:function(t,e){this._events.removeListener(t,e)}},{key:"emit",value:function(t){for(var e,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:3e3,r=arguments.length>1?arguments[1]:void 0;return new Promise((function(n,i){var o=!1,a=t.listen({next:function(r){o=!0,a&&a.unsubscribe(),s&&clearTimeout(s),t.open(r.descriptor,e).then(n,i)},error:function(t){s&&clearTimeout(s),i(t)},complete:function(){s&&clearTimeout(s),o||i(new f.b(t.ErrorMessage_NoDeviceFound,"NoDeviceFound"))}}),s=r?setTimeout((function(){a.unsubscribe(),i(new f.b(t.ErrorMessage_ListenTimeout,"ListenTimeout"))}),r):null}))}}]),e}();l.isSupported=void 0,l.list=void 0,l.listen=void 0,l.open=void 0,l.ErrorMessage_ListenTimeout="No Ledger device found (timeout)",l.ErrorMessage_NoDeviceFound="No Ledger device found"}).call(this,r(11).Buffer)},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return f}));var n=r(5),i=r(4),o=r.n(i);function a(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))}function s(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&"'"===t[t.length-1]&&(e+=2147483648),r.push(e))}));var n=t.alloc(1+4*r.length);return n[0]=r.length,r.forEach((function(t,e){n.writeUInt32BE(t,1+4*e)})),n}function c(e,r){var n=t.alloc(32);n.fill(0);var i=r[e],o=e+1;return i>32&&(o+=i-32,i=32),r.copy(n,32-i,o,o+i),{buffer:n,idxValueStart:o,length:i}}var h;!function(t){t[t.ED25519=0]="ED25519",t[t.SECP256K1=1]="SECP256K1",t[t.P256=2]="P256"}(h||(h={}));var f=function(){function e(t,e,r,n){if(void 0===e&&(e="44'/1729'/0'/0'"),void 0===r&&(r=!0),void 0===n&&(n=h.ED25519),this.transport=t,this.path=e,this.prompt=r,this.derivationType=n,this.CLA=128,this.INS_GET_PUBLIC_KEY=2,this.INS_PROMPT_PUBLIC_KEY=3,this.INS_SIGN=4,this.FIRST_MESSAGE_SEQUENCE=0,this.LAST_MESSAGE_SEQUENCE=129,this.OTHER_MESSAGE_SEQUENCE=1,this.transport.setScrambleKey("XTZ"),!e.startsWith("44'/1729'"))throw new Error("The derivation path must start with 44'/1729'");if(!Object.values(h).includes(n))throw new Error("The derivation type must be DerivationType.ED25519, DerivationType.SECP256K1 or DerivationType.P256")}return e.prototype.publicKeyHash=function(){return a(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return this._publicKeyHash?[3,2]:[4,this.publicKey()];case 1:t.sent(),t.label=2;case 2:if(this._publicKeyHash)return[2,this._publicKeyHash];throw new Error("Unable to get the public key hash.")}}))}))},e.prototype.publicKey=function(){return a(this,void 0,void 0,(function(){var t,e,r,i,a,u,c;return s(this,(function(s){switch(s.label){case 0:return this._publicKey?[2,this._publicKey]:[4,this.getLedgerpublicKey()];case 1:return t=s.sent(),e=t[0],r=t.slice(1,1+e),i=function(t,e){return 0===e?t=t.slice(1):(t[0]=2+(1&t[64]),t=t.slice(0,33)),t}(r,this.derivationType),a=this.getPrefixes(),u=Object(n.c)(i,a.prefPk),[4,o.a.ready];case 2:return s.sent(),c=Object(n.c)(o.a.crypto_generichash(20,i),a.prefPkh),this._publicKey=u,this._publicKeyHash=c,[2,u]}}))}))},e.prototype.getLedgerpublicKey=function(){return a(this,void 0,void 0,(function(){var t;return s(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=this.INS_PROMPT_PUBLIC_KEY,!1===this.prompt&&(t=this.INS_GET_PUBLIC_KEY),[4,this.transport.send(this.CLA,t,this.FIRST_MESSAGE_SEQUENCE,this.derivationType,u(this.path))];case 1:return[2,e.sent()];case 2:throw e.sent(),new Error("Unable to retrieve public key");case 3:return[2]}}))}))},e.prototype.secretKey=function(){return a(this,void 0,void 0,(function(){return s(this,(function(t){throw new Error("Secret key cannot be exposed")}))}))},e.prototype.sign=function(e,r){return a(this,void 0,void 0,(function(){var i,o,a,f,l,A,p,d,g;return s(this,(function(s){switch(s.label){case 0:return i=function(e,r){var n=e;return"undefined"!==typeof r&&(n=t.from(r).toString("hex").concat(e)),n}(e,r),o=t.from(i,"hex"),(a=[]).push(u(this.path)),a=function(e,r){for(var n=0;n!==r.length;){var i=n+230>=r.length?r.length-n:230,o=t.alloc(i);r.copy(o,0,n,n+i),e.push(o),n+=i}return e}(a,o),[4,this.signWithLedger(a)];case 1:if(f=s.sent(),this.derivationType===h.ED25519)l=f.slice(0,f.length-2).toString("hex");else{if(!function(t){var e=!0;49!==t[0]&&48!==t[0]&&(e=!1),t[1]+4!==t.length&&(e=!1),2!==t[2]&&(e=!1);var r=t[3];2!==t[4+r]&&(e=!1);var n=5+r;return n+1+t[n]+2!==t.length&&(e=!1),e}(f))throw new Error("Cannot parse ledger response.");3,A=c(3,f),p=A.idxValueStart+A.length+1,d=c(p,f),g=t.concat([A.buffer,d.buffer]),l=g.toString("hex")}return[2,{bytes:e,sig:Object(n.c)(l,n.j[n.a.SIG]),prefixSig:Object(n.c)(l,this.getPrefixes().prefSig),sbytes:e+l}]}}))}))},e.prototype.signWithLedger=function(t){return a(this,void 0,void 0,(function(){var e,r,n;return s(this,(function(i){switch(i.label){case 0:return[4,this.transport.send(this.CLA,this.INS_SIGN,this.FIRST_MESSAGE_SEQUENCE,this.derivationType,t[0])];case 1:e=i.sent(),r=1,i.label=2;case 2:return r1&&void 0!==arguments[1]?arguments[1]:f.UNKNOWN,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];Object(o.a)(this,t),this.id=e,this.status=r,this.members=n,this.messages=i}return Object(a.a)(t,null,[{key:"fromSync",value:function(e){function r(t,e){return Object.entries(t).map((function(t){var r=Object(c.a)(t,2),n=r[0],i=r[1];return e(n,i)}))}return[].concat(Object(l.a)(r(e.join,t.fromJoined)),Object(l.a)(r(e.invite,t.fromInvited)),Object(l.a)(r(e.leave,t.fromLeft)))}},{key:"from",value:function(e,r){return"string"===typeof e?new t(e,r||f.UNKNOWN):void 0!==r?new t(e.id,r,e.members,e.messages):e}},{key:"merge",value:function(e,r){return r&&r.id===e.id?new t(e.id,e.status,[].concat(Object(l.a)(r.members),Object(l.a)(e.members)).filter((function(t,e,r){return r.indexOf(t)===e})),[].concat(Object(l.a)(r.messages),Object(l.a)(e.messages))):t.from(e)}},{key:"fromJoined",value:function(e,r){var n=[].concat(Object(l.a)(r.state.events),Object(l.a)(r.timeline.events)),i=t.getMembersFromEvents(n),o=t.getMessagesFromEvents(n);return new t(e,f.JOINED,i,o)}},{key:"fromInvited",value:function(e,r){var n=t.getMembersFromEvents(r.invite_state.events);return new t(e,f.INVITED,n)}},{key:"fromLeft",value:function(e,r){var n=[].concat(Object(l.a)(r.state.events),Object(l.a)(r.timeline.events)),i=t.getMembersFromEvents(n),o=t.getMessagesFromEvents(n);return new t(e,f.LEFT,i,o)}},{key:"getMembersFromEvents",value:function(e){return t.getUniqueEvents(e.filter((function(t){return Object(A.a)(t)||Object(A.b)(t)}))).map((function(t){return t.sender})).filter((function(t,e,r){return r.indexOf(t)===e}))}},{key:"getMessagesFromEvents",value:function(e){return t.getUniqueEvents(e.filter(A.c)).map((function(t){return p.a.from(t)})).filter(Boolean)}},{key:"getUniqueEvents",value:function(t){var e={},r=[];return t.forEach((function(t,n){var i=t.event_id;void 0!==i&&i in e||(void 0!==i&&(e[i]=n),r.push(t))})),r}}]),t}(),g=r(9),y=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},m=["syncToken","rooms"],v=function(){function t(e){var r=this;Object(o.a)(this,t),this.storage=e,this.state={isRunning:!1,userId:void 0,deviceId:void 0,txnNo:0,accessToken:void 0,syncToken:void 0,pollingTimeout:void 0,pollingRetries:0,rooms:{}},this.onStateChangedListeners=new Map,this.waitReadyPromise=new Promise((function(t,e){return y(r,void 0,void 0,i.a.mark((function r(){return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,this.initFromStorage();case 3:t(),r.next=9;break;case 6:r.prev=6,r.t0=r.catch(0),e(r.t0);case 9:case"end":return r.stop()}}),r,this,[[0,6]])})))}))}return Object(a.a)(t,[{key:"get",value:function(t){return this.state[t]}},{key:"getRoom",value:function(t){var e=d.from(t,f.UNKNOWN);return this.state.rooms[e.id]||e}},{key:"update",value:function(t){return y(this,void 0,void 0,i.a.mark((function e(){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.waitReady();case 2:r=Object.assign({},this.state),this.setState(t),this.updateStorage(t),this.notifyListeners(r,this.state,t);case 6:case"end":return e.stop()}}),e,this)})))}},{key:"onStateChanged",value:function(t){for(var e=this,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i0?n.forEach((function(r){e.onStateChangedListeners.set(r,t)})):this.onStateChangedListeners.set("all",t)}},{key:"waitReady",value:function(){return y(this,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.waitReadyPromise);case 1:case"end":return t.stop()}}),t,this)})))}},{key:"initFromStorage",value:function(){return y(this,void 0,void 0,i.a.mark((function t(){var e;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.storage.get(g.C.MATRIX_PRESERVED_STATE);case 2:e=t.sent,this.setState(e);case 4:case"end":return t.stop()}}),t,this)})))}},{key:"prepareData",value:function(t){var e=["rooms"].some((function(e){return void 0!==t[e]}))?JSON.parse(JSON.stringify(t)):t;return Object.values(e.rooms||{}).forEach((function(t){t.messages=[]})),e}},{key:"updateStorage",value:function(t){var e=this;if(Object.entries(t).filter((function(t){var e=Object(c.a)(t,2),r=e[0],n=e[1];return m.includes(r)&&Boolean(n)})).length>0){var r={};m.forEach((function(t){r[t]=e.state[t]})),this.storage.set(g.C.MATRIX_PRESERVED_STATE,this.prepareData(r))}}},{key:"setState",value:function(t){this.state={isRunning:t.isRunning||this.state.isRunning,userId:t.userId||this.state.userId,deviceId:t.deviceId||this.state.deviceId,txnNo:t.txnNo||this.state.txnNo,accessToken:t.accessToken||this.state.accessToken,syncToken:t.syncToken||this.state.syncToken,pollingTimeout:t.pollingTimeout||this.state.pollingTimeout,pollingRetries:t.pollingRetries||this.state.pollingRetries,rooms:this.mergeRooms(this.state.rooms,t.rooms)}}},{key:"mergeRooms",value:function(t,e){if(!e)return t;var r=Array.isArray(e)?e:Object.values(e),n=Object.assign({},t);return r.forEach((function(e){n[e.id]=d.merge(e,t[e.id])})),n}},{key:"notifyListeners",value:function(t,e,r){var n=this,i=this.onStateChangedListeners.get("all");i&&i(t,e,r),h(r).filter((function(t){return void 0!==r[t]})).forEach((function(i){var o=n.onStateChangedListeners.get(i);o&&o(t,e,r)}))}}]),t}(),b=r(65),w=r.n(b),I=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},E=function(){function t(e){Object(o.a)(this,t),this.baseUrl=e,this.cancelTokenSource=w.a.CancelToken.source()}return Object(a.a)(t,[{key:"get",value:function(t,e,r){return I(this,void 0,void 0,i.a.mark((function n(){return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.send("GET",t,r,e));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"post",value:function(t,e,r,n){return I(this,void 0,void 0,i.a.mark((function o(){return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",this.send("POST",t,r,n,e));case 1:case"end":return i.stop()}}),o,this)})))}},{key:"put",value:function(t,e,r,n){return I(this,void 0,void 0,i.a.mark((function o(){return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",this.send("PUT",t,r,n,e));case 1:case"end":return i.stop()}}),o,this)})))}},{key:"cancelAllRequests",value:function(){return I(this,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.cancelTokenSource.cancel("Manually cancelled"));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"send",value:function(t,e,r,n,o){return I(this,void 0,void 0,i.a.mark((function a(){var s,u,c;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return s=r?this.getHeaders(r):void 0,u=n?this.getParams(n):void 0,i.prev=2,i.next=5,w.a.request({method:t,url:e,baseURL:this.apiUrl("/_matrix/client/r0"),headers:s,data:o,params:u,cancelToken:this.cancelTokenSource.token});case 5:c=i.sent,i.next=11;break;case 8:throw i.prev=8,i.t0=i.catch(2),i.t0.response.data;case 11:return i.abrupt("return",c.data);case 12:case"end":return i.stop()}}),a,this,[[2,8]])})))}},{key:"getHeaders",value:function(t){var e={},r=[];if(t.accessToken&&r.push(["Authorization","Bearer ".concat(t.accessToken)]),0!==r.length){for(var n=0,i=r;n1&&void 0!==arguments[1]?arguments[1]:{};return _(this,void 0,void 0,i.a.mark((function r(){return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.httpClient.post("/createRoom",e,{accessToken:t}));case 1:case"end":return r.stop()}}),r,this)})))}},{key:"inviteToRoom",value:function(t,e,r){return _(this,void 0,void 0,i.a.mark((function n(){return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r.status===f.JOINED||r.status===f.UNKNOWN){n.next=2;break}return n.abrupt("return",Promise.reject("User is not a member of room ".concat(r.id,".")));case 2:return n.abrupt("return",this.httpClient.post("/rooms/".concat(encodeURIComponent(r.id),"/invite"),{user_id:e},{accessToken:t}));case 3:case"end":return n.stop()}}),n,this)})))}},{key:"joinRoom",value:function(t,e){return _(this,void 0,void 0,i.a.mark((function r(){return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e.status!==f.JOINED){r.next=2;break}return r.abrupt("return",Promise.resolve({room_id:e.id}));case 2:return r.abrupt("return",this.httpClient.post("/rooms/".concat(encodeURIComponent(e.id),"/join"),{},{accessToken:t}));case 3:case"end":return r.stop()}}),r,this)})))}},{key:"getJoinedRooms",value:function(t){return _(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpClient.get("/joined_rooms",void 0,{accessToken:t}));case 1:case"end":return e.stop()}}),e,this)})))}}]),t}(),C=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},Q=function(){function t(e){Object(o.a)(this,t),this.httpClient=e}return Object(a.a)(t,[{key:"login",value:function(t,e,r){return C(this,void 0,void 0,i.a.mark((function n(){return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.httpClient.post("/login",{type:"m.login.password",identifier:{type:"m.id.user",user:t},password:e,device_id:r}));case 1:case"end":return n.stop()}}),n,this)})))}}]),t}(),M=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},k=function(){function t(e){Object(o.a)(this,t),this.httpClient=e,this.cachedPromises=new Map}return Object(a.a)(t,[{key:"sync",value:function(t,e){return M(this,void 0,void 0,i.a.mark((function r(){var n=this;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.withCache("sync",(function(){return n.httpClient.get("/sync",{timeout:e?e.pollingTimeout:void 0,since:e?e.syncToken:void 0},{accessToken:t})})));case 1:case"end":return r.stop()}}),r,this)})))}},{key:"sendMessage",value:function(t,e,r,n){return M(this,void 0,void 0,i.a.mark((function o(){var a=this;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",new Promise((function(i,o){return a.scheduleEvent({accessToken:t,roomId:e,type:"m.room.message",content:r,txnId:n,onSuccess:i,onError:o})})));case 1:case"end":return i.stop()}}),o)})))}},{key:"scheduleEvent",value:function(t){this.sendEvent(t)}},{key:"sendEvent",value:function(t){return M(this,void 0,void 0,i.a.mark((function e(){var r,n,o,a,s,u;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.roomId,n=t.type,o=t.txnId,a=t.content,s=t.accessToken,e.prev=1,e.next=4,this.httpClient.put("/rooms/".concat(encodeURIComponent(r),"/send/").concat(n,"/").concat(encodeURIComponent(o)),a,{accessToken:s});case 4:u=e.sent,t.onSuccess(u),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),t.onError(e.t0);case 11:case"end":return e.stop()}}),e,this,[[1,8]])})))}},{key:"withCache",value:function(t,e){var r=this,n=this.cachedPromises.get(t);return n||(n=e().finally((function(){r.cachedPromises.delete(t)})),this.cachedPromises.set(t,n)),n}}]),t}(),S=r(76),x=r(37),D=r(7),R=r(6),N=r(36),P=r(31),T=function(t){Object(D.a)(r,t);var e=Object(R.a)(r);function r(){var t;return Object(o.a)(this,r),(t=e.apply(this,arguments)).eventEmitProviders=new Map([[P.a.INVITE,function(){return[t.isInvite,t.emitInvite.bind(Object(x.a)(t))]}],[P.a.MESSAGE,function(){return[t.isMessage,t.emitMessage.bind(Object(x.a)(t))]}]]),t}return Object(a.a)(r,[{key:"onStateChanged",value:function(t,e,r){var n,i=Object(S.a)(h(P.a));try{for(i.s();!(n=i.n()).done;){var o=n.value;this.emitIfEvent(P.a[o],r)}}catch(a){i.e(a)}finally{i.f()}}},{key:"emitIfEvent",value:function(t,e){var r=this.eventEmitProviders.get(t);if(r){var n=r(),i=Object(c.a)(n,2),o=i[0],a=i[1];o(e)&&a(t,e)}}},{key:"emitClientEvent",value:function(t,e,r){this.emit(t,{type:t,content:e,timestamp:r})}},{key:"isInvite",value:function(t){return!!t.rooms&&t.rooms.some((function(t){return t.status===f.INVITED}))}},{key:"emitInvite",value:function(t,e){var r=this;e.rooms.filter((function(t){return t.status===f.INVITED})).map((function(t){return[t.id,t.members]})).forEach((function(e){var n=Object(c.a)(e,2),i=n[0],o=n[1];r.emitClientEvent(t,{roomId:i,members:o})}))}},{key:"isMessage",value:function(t){return!!t.rooms&&t.rooms.some((function(t){return t.messages.length>0}))}},{key:"emitMessage",value:function(t,e){var r=this;e.rooms.filter((function(t){return t.messages.length>0})).map((function(t){return t.messages.map((function(e){return[t.id,e,e.timestamp]}))})).reduce((function(t,e){return t.concat(e)}),[]).forEach((function(e){var n=Object(c.a)(e,3),i=n[0],o=n[1],a=n[2];r.emitClientEvent(t,{roomId:i,message:o},a)}))}}]),r}(N.EventEmitter),O=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},F=new s.a("MatrixClient"),U=function(){function t(e,r,n,i,a,s){var c=this;Object(o.a)(this,t),this.store=e,this.eventEmitter=r,this.userService=n,this.roomService=i,this.eventService=a,this.httpClient=s,this.isActive=!0,this._isReady=new u.a,this.store.onStateChanged((function(t,e,r){c.eventEmitter.onStateChanged(t,e,r)}),"rooms")}return Object(a.a)(t,[{key:"joinedRooms",get:function(){var t=this;return new Promise((function(e){return O(t,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.isConnected();case 2:e(Object.values(this.store.get("rooms")).filter((function(t){return t.status===f.JOINED})));case 3:case"end":return t.stop()}}),t,this)})))}))}},{key:"invitedRooms",get:function(){var t=this;return new Promise((function(e){return O(t,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.isConnected();case 2:e(Object.values(this.store.get("rooms")).filter((function(t){return t.status===f.INVITED})));case 3:case"end":return t.stop()}}),t,this)})))}))}},{key:"leftRooms",get:function(){var t=this;return new Promise((function(e){return O(t,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.isConnected();case 2:e(Object.values(this.store.get("rooms")).filter((function(t){return t.status===f.LEFT})));case 3:case"end":return t.stop()}}),t,this)})))}))}},{key:"start",value:function(t){return O(this,void 0,void 0,i.a.mark((function e(){var r,n,o=this;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.userService.login(t.id,t.password,t.deviceId);case 2:return r=e.sent,e.next=5,this.store.update({accessToken:r.access_token});case 5:return(n=new Promise((function(t,e){return O(o,void 0,void 0,i.a.mark((function r(){var n=this;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.poll(0,(function(e){return O(n,void 0,void 0,i.a.mark((function r(){return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return this.store.get("isRunning")||t(),r.next=3,this.store.update({isRunning:!0,syncToken:e.next_batch,pollingTimeout:3e4,pollingRetries:0,rooms:d.fromSync(e.rooms)});case 3:case"end":return r.stop()}}),r,this)})))}),(function(t){return O(n,void 0,void 0,i.a.mark((function r(){return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return this.store.get("isRunning")||e(t),r.next=3,this.store.update({isRunning:!1,pollingRetries:this.store.get("pollingRetries")+1});case 3:case"end":return r.stop()}}),r,this)})))}));case 2:case"end":return r.stop()}}),r,this)})))}))).then((function(){o._isReady.resolve()})).catch(console.error),e.abrupt("return",n);case 8:case"end":return e.stop()}}),e,this)})))}},{key:"isConnected",value:function(){return O(this,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this._isReady.promise);case 1:case"end":return t.stop()}}),t,this)})))}},{key:"stop",value:function(){return O(this,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return F.log("MATRIX CLIENT STOPPED"),this.isActive=!1,this._isReady=new u.a,t.abrupt("return",this.httpClient.cancelAllRequests());case 4:case"end":return t.stop()}}),t,this)})))}},{key:"subscribe",value:function(t,e){this.eventEmitter.on(t,e)}},{key:"unsubscribe",value:function(t,e){e&&this.eventEmitter.removeListener(t,e)}},{key:"unsubscribeAll",value:function(t){this.eventEmitter.removeAllListeners(t)}},{key:"getRoomById",value:function(t){return O(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.isConnected();case 2:return e.abrupt("return",this.store.getRoom(t));case 3:case"end":return e.stop()}}),e,this)})))}},{key:"createTrustedPrivateRoom",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r1?e-1:0),n=1;n3?5e3+t:t):c(new Error("Syncing stopped manually.")),u.finish(13);case 16:case"end":return u.stop()}}),u,this,[[1,8,13,16]])})))},n.abrupt("return",new Promise(s));case 4:case"end":return n.stop()}}),n,this)})))}},{key:"sync",value:function(){return O(this,void 0,void 0,i.a.mark((function t(){var e=this;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.requiresAuthorization("sync",(function(t){return O(e,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.eventService.sync(t,{pollingTimeout:this.store.get("pollingTimeout"),syncToken:this.store.get("syncToken")}));case 1:case"end":return e.stop()}}),e,this)})))})));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"requiresAuthorization",value:function(t,e){return O(this,void 0,void 0,i.a.mark((function r(){var n;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=this.store.get("accessToken")){r.next=3;break}return r.abrupt("return",Promise.reject("".concat(t," requires authorization but no access token has been provided.")));case 3:return r.abrupt("return",e(n));case 4:case"end":return r.stop()}}),r,this)})))}},{key:"createTxnId",value:function(){return O(this,void 0,void 0,i.a.mark((function t(){var e,r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(new Date).getTime(),r=this.store.get("txnNo"),t.next=4,this.store.update({txnNo:r+1});case 4:return t.abrupt("return","m".concat(e,".").concat(r));case 5:case"end":return t.stop()}}),t,this)})))}}],[{key:"create",value:function(e){var r=new v(e.storage),n=new T,i=new E(e.baseUrl);return new t(r,n,new Q(i),new B(i),new k(i),i)}}]),t}()},function(t,e,r){"use strict";var n=r(79),i=60103,o=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var a=60109,s=60110,u=60112;e.Suspense=60113;var c=60115,h=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),o=f("react.portal"),e.Fragment=f("react.fragment"),e.StrictMode=f("react.strict_mode"),e.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),u=f("react.forward_ref"),e.Suspense=f("react.suspense"),c=f("react.memo"),h=f("react.lazy")}var l="function"===typeof Symbol&&Symbol.iterator;function A(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r

>>0&&(e=e+1|0),e=e+A|0,A=W,W=e=(T=m+u[_+8>>2]|0)>>>0>>0?e+1|0:e,m=A=Tr(M^T^725511199,A^e^-1694144372,32),at=e=E,e=e+-1150833019|0,(A=A+-2067093701|0)>>>0<2227873595&&(e=e+1|0),M=p^A,p=e,y=Tr(M,y^e,24),e=W+(v=E)|0,(W=y+T|0)>>>0>>0&&(e=e+1|0),W=(T=u[_+152>>2])+W|0,e=u[_+156>>2]+e|0,tt=Tr((R=W)^m,(F=R>>>0>>0?e+1|0:e)^at,16),m=e=E,u[$+104>>2]=tt,u[$+108>>2]=e,e=p+e|0,(W=A+tt|0)>>>0>>0&&(e=e+1|0),I=W,u[_+72>>2]=I,u[$+76>>2]=e,U=e,T=Tr(y^I,v^e,63),A=E,W=u[_+20>>2],M=ht,e=(At=u[_+164>>2])+(ht=u[_+52>>2])|0,(p=(j=u[_+160>>2])+(y=u[_+48>>2])|0)>>>0>>0&&(e=e+1|0),e=e+W|0,k=Tr(M^(D=$=p+u[_+16>>2]|0)^-79577749,(W=D>>>0

>>0?e+1|0:e)^lt^528734635,32),lt=e=E,e=e+1013904242|0,($=k+-23791573|0)>>>0<4271175723&&(e=e+1|0),M=y^(p=$),y=e,ht=$=Tr(M,ht^e,24),at=e=E,v=lt,e=e+W|0,(W=D+$|0)>>>0<$>>>0&&(e=e+1|0),e=e+(C=n=u[_+172>>2])|0,q=Tr((G=$=(lt=u[_+168>>2])+W|0)^k,(O=G>>>0>>0?e+1|0:e)^v,16),e=y+(X=E)|0,($=p+q|0)>>>0

>>0&&(e=e+1|0),M=e,p=Tr((D=$)^ht,e^at,63),y=E,ht=u[_+28>>2],C=B,e=(i=u[_+180>>2])+(k=u[_+60>>2])|0,(at=($=u[_+176>>2])+(B=u[_+56>>2])|0)>>>0>>0&&(e=e+1|0),e=e+ht|0,e=(W=at+u[_+24>>2]|0)>>>0>>0?e+1|0:e,at=W,v=e,L=Tr(C^W^327033209,e^ct^1541459225,32),ct=e=E,e=e+-1521486534|0,(W=L+1595750129|0)>>>0<1595750129&&(e=e+1|0),ht=W,B=W=Tr(B^W,e^k,24),C=ht,S=e,P=ct,ht=u[_+188>>2],e=v+(k=E)|0,(W=B+at|0)>>>0>>0&&(e=e+1|0),at=W,e=e+(N=ht)|0,J=W=(ct=u[_+184>>2])+W|0,at=Tr(W^L,(v=P)^(P=W>>>0>>0?e+1|0:e),16),N=B,e=(B=E)+S|0,(v=(W=at)+C|0)>>>0>>0&&(e=e+1|0),L=v,W=e,v=Tr(N^v,e^k,63),k=E,e=A+H|0,(H=Q+T|0)>>>0>>0&&(e=e+1|0),e=e+(C=dt=u[_+196>>2])|0,at=Tr((S=at)^(C=at=(mt=u[_+192>>2])+H|0),(Q=B)^(B=C>>>0>>0?e+1|0:e),32),H=_,Q=e=E,N=T,e=M+e|0,(T=D+(S=at)|0)>>>0>>0&&(e=e+1|0),M=A,A=e,K=Tr(N^T,M^e,24),at=_,D=u[_+200>>2],N=S,e=B+(S=E)|0,(M=C+K|0)>>>0>>0&&(e=e+1|0),B=D+M|0,e=(gt=u[at+204>>2])+e|0,yt=B,rt=Tr(N^B,(M=Q)^(Q=B>>>0>>0?e+1|0:e),16),M=e=E,u[H+120>>2]=rt,u[H+124>>2]=e,e=A+e|0,(A=T+rt|0)>>>0>>0&&(e=e+1|0),B=A,u[_+80>>2]=A,u[at+84>>2]=e,A^=K,K=e,C=Tr(A,S^e,63),S=E,at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(t+47|0),I=Mr(e=2097151&((3&(k=E))<<30|_>>>2),0,136657,0),_=E,(I=(B=2097151&((3&B)<<30|Q>>>2))+I|0)>>>0>>0&&(_=_+1|0),Q=(B=Mr(r=(c[t+49|0]|c[t+50|0]<<8|c[t+51|0]<<16|c[t+52|0]<<24)>>>7&2097151,0,-997805,-1))+I|0,I=E+_|0,I=Q>>>0>>0?I+1|0:I,_=Mr(n=(c[t+52|0]|c[t+53|0]<<8|c[t+54|0]<<16|c[t+55|0]<<24)>>>4&2097151,0,654183,0),B=E+I|0,B=(Q=_+Q|0)>>>0<_>>>0?B+1|0:B,I=Q,_=Ke(t+55|0),Q=I+(_=Mr(i=2097151&((1&(Q=E))<<31|_>>>1),0,470296,0))|0,I=E+B|0,I=Q>>>0<_>>>0?I+1|0:I,B=Mr(o=(c[t+57|0]|c[t+58|0]<<8|c[t+59|0]<<16|c[t+60|0]<<24)>>>6&2097151,0,666643,0),_=E+I|0,N=_=(Q=B+Q|0)>>>0>>0?_+1|0:_,B=_,x=C>>>5&2097151,_=2097151&S,C=Mr(s=(c[t+60|0]|c[t+61|0]<<8|c[t+62|0]<<16|c[t+63|0]<<24)>>>3|0,0,-683901,-1)+_|0,I=E,S=C,P=I=C>>>0<_>>>0?I+1|0:I,T=(I=C)- -1048576|0,j=C=P-((I>>>0<4293918720)+-1|0)|0,I=C>>21,h=x=(C=(2097151&C)<<11|T>>>21)+x|0,J=_=x>>>0>>0?I+1|0:I,I=Mr(x,_,-683901,-1),_=E+B|0,X=k=I+Q|0,R=k>>>0>>0?_+1|0:_,_=Mr(e,0,-997805,-1),I=E,(_=(B=M>>>5&2097151)+_|0)>>>0>>0&&(I=I+1|0),k=(B=_)+(_=Mr(r,0,654183,0))|0,B=E+I|0,B=k>>>0<_>>>0?B+1|0:B,I=Mr(n,0,470296,0),_=E+B|0,_=(k=I+k|0)>>>0>>0?_+1|0:_,B=Mr(i,0,666643,0),I=E+_|0,B=(M=k=B+k|0)>>>0>>0?I+1|0:I,I=2097151&D,k=Mr(e,0,654183,0)+I|0,_=E,_=k>>>0>>0?_+1|0:_,C=(I=k)+(k=Mr(r,0,470296,0))|0,I=E+_|0,I=C>>>0>>0?I+1|0:I,k=Mr(n,0,666643,0),_=E+I|0,x=C=k+C|0,C=_=C>>>0>>0?_+1|0:_,$=(I=x)- -1048576|0,L=k=_-((I>>>0<4293918720)+-1|0)|0,B=(I=k>>>21|0)+B|0,D=B=(M=k=(_=(2097151&k)<<11|$>>>21)+M|0)>>>0<_>>>0?B+1|0:B,Y=(I=M)- -1048576|0,p=Q- -1048576|0,N=N-((Q>>>0<4293918720)+-1|0)|0,_=(I=(B=H=B-((I>>>0<4293918720)+-1|0)|0)>>21)+R|0,N=(_=(H=(Q=(2097151&B)<<11|Y>>>21)+X|0)>>>0>>0?_+1|0:_)-(((Q=H)>>>0<(I=-2097152&p)>>>0)+(k=N)|0)|0,ot=(I=Q-I|0)-(_=-2097152&(d=I- -1048576|0))|0,at=N-((I>>>0<_>>>0)+(Q=N-((I>>>0<4293918720)+-1|0)|0)|0)|0,_=Mr(h,J,136657,0)+M|0,I=D+E|0,I=_>>>0>>0?I+1|0:I,tt=(M=_)-(_=-2097152&Y)|0,X=I-((M>>>0<_>>>0)+B|0)|0,N=S-(I=-2097152&T)|0,R=P-((S>>>0>>0)+j|0)|0,I=Mr(s,0,136657,0),_=E,(I=(B=2097151&((7&G)<<29|Z>>>3))+I|0)>>>0>>0&&(_=_+1|0),M=(B=Mr(o,0,-683901,-1))+I|0,I=E+_|0,S=M,M=M>>>0>>0?I+1|0:I,I=Mr(i,0,-683901,-1),_=E,(I=(B=U>>>6&2097151)+I|0)>>>0>>0&&(_=_+1|0),D=(B=I)+(I=Mr(s,0,-997805,-1))|0,B=E+_|0,B=D>>>0>>0?B+1|0:B,_=Mr(o,0,136657,0),I=E+B|0,Y=_=(T=I=(D=_+D|0)>>>0<_>>>0?I+1|0:I)-(((I=D)>>>0<4293918720)+-1|0)|0,I=(2097151&_)<<11|(Z=I- -1048576|0)>>>21,_=(_>>21)+M|0,P=_=(S=I+S|0)>>>0>>0?_+1|0:_,H=(I=S)- -1048576|0,j=_=_-((I>>>0<4293918720)+-1|0)|0,I=(B=_>>21)+R|0,f=M=(_=(2097151&_)<<11|H>>>21)+N|0,q=I=M>>>0<_>>>0?I+1|0:I,_=Mr(M,I,-683901,-1),I=E+X|0,st=B=_+tt|0,U=B>>>0<_>>>0?I+1|0:I,R=x,I=Mr(e,0,470296,0),_=E,(I=(B=2097151&((7&F)<<29|W>>>3))+I|0)>>>0>>0&&(_=_+1|0),B=I,I=Mr(r,0,666643,0),_=E+_|0,N=B=B+I|0,B=B>>>0>>0?_+1|0:_,_=Mr(e,0,666643,0),I=E,(_=(M=O>>>6&2097151)+_|0)>>>0>>0&&(I=I+1|0),x=_,F=M=(O=I)-(((I=_)>>>0<4293918720)+-1|0)|0,_=(_=M>>>21|0)+B|0,G=_=(M=(I=(2097151&M)<<11|(tt=I- -1048576|0)>>>21)+N|0)>>>0>>0?_+1|0:_,W=_-(((I=M)>>>0<4293918720)+-1|0)|0,X=I- -1048576|0,u=S-(I=-2097152&H)|0,l=B=P-((S>>>0>>0)+j|0)|0,I=((N=W)>>>21|0)+C|0,I=(R=(S=(2097151&N)<<11|X>>>21)+R|0)>>>0>>0?I+1|0:I,R=(C=Mr(h,J,-997805,-1))+((S=R)-(_=-2097152&$)|0)|0,_=E+(I-((8191&L)+(S>>>0<_>>>0)|0)|0)|0,_=R>>>0>>0?_+1|0:_,I=Mr(f,q,136657,0),_=E+_|0,_=(C=I+R|0)>>>0>>0?_+1|0:_,B=Mr(u,B,-683901,-1),I=E+_|0,P=I=(C=B+C|0)>>>0>>0?I+1|0:I,H=(I=C)- -1048576|0,j=B=P-((I>>>0<4293918720)+-1|0)|0,_=(I=B>>21)+U|0,R=_=(S=(B=(2097151&B)<<11|H>>>21)+st|0)>>>0>>0?_+1|0:_,L=(I=B=S)- -1048576|0,I=(I=(S=U=_-((I>>>0<4293918720)+-1|0)|0)>>21)+at|0,ot=U=(_=(2097151&S)<<11|L>>>21)+ot|0,U=U>>>0<_>>>0?I+1|0:I,at=B-(I=-2097152&L)|0,st=R-((B>>>0>>0)+S|0)|0,W=C-(I=-2097152&H)|0,$=P-((C>>>0>>0)+j|0)|0,I=Mr(h,J,654183,0),B=E+(G-((8191&N)+(M>>>0<(_=-2097152&X)>>>0)|0)|0)|0,B=(C=I+(M-_|0)|0)>>>0>>0?B+1|0:B,_=Mr(f,q,-997805,-1),I=E+B|0,I=(C=_+C|0)>>>0<_>>>0?I+1|0:I,B=Mr(u,l,136657,0),_=E+I|0,H=C=B+C|0,S=C>>>0>>0?_+1|0:_,L=D-(I=-2097152&Z)|0,G=T-((D>>>0>>0)+Y|0)|0,_=Mr(n,0,-683901,-1),I=E,(_=(B=2097151&((1&V)<<31|z>>>1))+_|0)>>>0>>0&&(I=I+1|0),B=_,_=Mr(i,0,136657,0),I=E+I|0,I=(B=B+_|0)>>>0<_>>>0?I+1|0:I,C=(_=B)+(B=Mr(s,0,654183,0))|0,_=E+I|0,_=C>>>0>>0?_+1|0:_,I=Mr(o,0,-997805,-1),_=E+_|0,D=B=I+C|0,C=B>>>0>>0?_+1|0:_,I=Mr(r,0,-683901,-1),B=E,(I=(_=K>>>4&2097151)+I|0)>>>0<_>>>0&&(B=B+1|0),M=(_=Mr(n,0,136657,0))+I|0,I=E+B|0,I=M>>>0<_>>>0?I+1|0:I,B=Mr(i,0,-997805,-1),_=E+I|0,_=(M=B+M|0)>>>0>>0?_+1|0:_,B=Mr(s,0,470296,0),I=E+_|0,I=(M=B+M|0)>>>0>>0?I+1|0:I,B=Mr(o,0,654183,0),_=E+I|0,P=_=(M=B+M|0)>>>0>>0?_+1|0:_,Y=(I=M)- -1048576|0,j=B=_-((I>>>0<4293918720)+-1|0)|0,I=(I=B>>21)+C|0,C=B=(_=(2097151&B)<<11|Y>>>21)+D|0,R=I=B>>>0<_>>>0?I+1|0:I,N=(I=B)- -1048576|0,D=B=R-((I>>>0<4293918720)+-1|0)|0,_=(I=B>>21)+G|0,A=T=(B=(2097151&B)<<11|N>>>21)+L|0,K=_=T>>>0>>0?_+1|0:_,I=Mr(T,_,-683901,-1),B=E+S|0,G=_=I+H|0,S=_>>>0>>0?B+1|0:B,z=C-(I=-2097152&N)|0,V=D=R-((C>>>0>>0)+D|0)|0,B=(I=Mr(h,J,470296,0))+(x-(_=-2097152&tt)|0)|0,_=E+(O-((2047&F)+(x>>>0<_>>>0)|0)|0)|0,_=B>>>0>>0?_+1|0:_,I=Mr(f,q,654183,0),_=E+_|0,_=(B=I+B|0)>>>0>>0?_+1|0:_,C=(I=Mr(u,l,-997805,-1))+B|0,B=E+_|0,B=C>>>0>>0?B+1|0:B,_=Mr(T,K,136657,0),I=E+B|0,I=(C=_+C|0)>>>0<_>>>0?I+1|0:I,B=Mr(z,D,-683901,-1),_=E+I|0,R=_=(C=B+C|0)>>>0>>0?_+1|0:_,F=(I=C)- -1048576|0,D=B=_-((I>>>0<4293918720)+-1|0)|0,I=(I=B>>21)+S|0,S=I=(B=(_=(2097151&B)<<11|F>>>21)+G|0)>>>0<_>>>0?I+1|0:I,N=(I=B)- -1048576|0,_=(I=(x=G=S-((I>>>0<4293918720)+-1|0)|0)>>21)+$|0,W=O=(G=(2097151&x)<<11|N>>>21)+W|0,G=O>>>0>>0?_+1|0:_,$=B-(I=-2097152&N)|0,Z=S-((B>>>0>>0)+x|0)|0,H=C-(I=-2097152&F)|0,T=R-((C>>>0>>0)+D|0)|0,_=Mr(h,J,666643,0),I=E,(_=(B=2097151&((1&it)<<31|b>>>1))+_|0)>>>0>>0&&(I=I+1|0),C=(B=Mr(f,q,470296,0))+_|0,_=E+I|0,_=C>>>0>>0?_+1|0:_,B=Mr(u,l,654183,0),I=E+_|0,I=(C=B+C|0)>>>0>>0?I+1|0:I,_=Mr(A,K,-997805,-1),B=E+I|0,B=(C=_+C|0)>>>0<_>>>0?B+1|0:B,I=Mr(z,V,136657,0),_=E+B|0,D=C=I+C|0,x=C>>>0>>0?_+1|0:_,S=M-(I=-2097152&Y)|0,M=P-((M>>>0>>0)+j|0)|0,I=Mr(e,0,-683901,-1),_=E,(I=(B=et>>>7&2097151)+I|0)>>>0>>0&&(_=_+1|0),C=(B=I)+(I=Mr(r,0,136657,0))|0,B=E+_|0,B=C>>>0>>0?B+1|0:B,_=Mr(n,0,-997805,-1),I=E+B|0,I=(C=_+C|0)>>>0<_>>>0?I+1|0:I,B=Mr(i,0,654183,0),_=E+I|0,_=(C=B+C|0)>>>0>>0?_+1|0:_,B=Mr(s,0,666643,0),I=E+_|0,I=(C=B+C|0)>>>0>>0?I+1|0:I,B=Mr(o,0,470296,0),_=E+I|0,I=_=(C=B+C|0)>>>0>>0?_+1|0:_,_=k>>21,C=(k=(2097151&k)<<11|p>>>21)+(B=C)|0,B=I+_|0,j=B=C>>>0>>0?B+1|0:B,P=(I=C)- -1048576|0,R=B=B-((I>>>0<4293918720)+-1|0)|0,I=(_=B>>21)+M|0,J=k=(B=(2097151&B)<<11|P>>>21)+S|0,L=I=k>>>0>>0?I+1|0:I,I=Mr(k,I,-683901,-1),_=E+x|0,x=B=I+D|0,k=B>>>0>>0?_+1|0:_,I=Mr(f,q,666643,0),B=E,(I=(_=nt>>>4&2097151)+I|0)>>>0<_>>>0&&(B=B+1|0),M=(_=Mr(u,l,470296,0))+I|0,I=E+B|0,I=M>>>0<_>>>0?I+1|0:I,B=Mr(A,K,654183,0),_=E+I|0,_=(M=B+M|0)>>>0>>0?_+1|0:_,I=Mr(z,V,-997805,-1),_=E+_|0,_=(B=I+M|0)>>>0>>0?_+1|0:_,M=(I=B)+(B=Mr(J,L,136657,0))|0,I=E+_|0,D=I=M>>>0>>0?I+1|0:I,O=(I=M)- -1048576|0,S=B=D-((I>>>0<4293918720)+-1|0)|0,I=(_=B>>21)+k|0,B=I=(k=x=(B=(2097151&B)<<11|O>>>21)+x|0)>>>0>>0?I+1|0:I,F=(I=k)- -1048576|0,I=(_=(x=N=B-((I>>>0<4293918720)+-1|0)|0)>>21)+T|0,tt=Y=(N=(2097151&x)<<11|F>>>21)+H|0,N=Y>>>0>>0?I+1|0:I,I=C-(_=-2097152&P)|0,C=j-((C>>>0<_>>>0)+R|0)|0,R=I,I=(I=Q>>21)+C|0,P=I=(C=Q=R+(_=(2097151&Q)<<11|d>>>21)|0)>>>0<_>>>0?I+1|0:I,Y=(I=C)- -1048576|0,j=Q=P-((I>>>0<4293918720)+-1|0)|0,T=I=Q>>21,I=Mr(q=(2097151&Q)<<11|Y>>>21,I,-683901,-1),_=E+B|0,_=(Q=I+k|0)>>>0>>0?_+1|0:_,X=(B=Q)-(I=-2097152&F)|0,H=_-((B>>>0>>0)+x|0)|0,_=Mr(q,T,136657,0)+M|0,I=D+E|0,I=_>>>0>>0?I+1|0:I,et=(B=_)-(_=-2097152&O)|0,O=I-((B>>>0<_>>>0)+S|0)|0,I=Mr(u,l,666643,0),_=E,(I=(B=rt>>>7&2097151)+I|0)>>>0>>0&&(_=_+1|0),Q=(B=I)+(I=Mr(A,K,470296,0))|0,B=E+_|0,B=Q>>>0>>0?B+1|0:B,_=Mr(z,V,654183,0),I=E+B|0,I=(Q=_+Q|0)>>>0<_>>>0?I+1|0:I,_=Mr(J,L,-997805,-1),I=E+I|0,S=B=_+Q|0,B=B>>>0<_>>>0?I+1|0:I,I=Mr(A,K,666643,0),_=E,(I=(Q=2097151&((3&v)<<30|m>>>2))+I|0)>>>0>>0&&(_=_+1|0),Q=I,I=Mr(z,V,470296,0),_=E+_|0,_=(Q=Q+I|0)>>>0>>0?_+1|0:_,k=(I=Q)+(Q=Mr(J,L,654183,0))|0,I=E+_|0,x=I=k>>>0>>0?I+1|0:I,F=(I=Q=k)- -1048576|0,I=(_=(M=k=x-((I>>>0<4293918720)+-1|0)|0)>>21)+B|0,D=S=(k=(2097151&M)<<11|F>>>21)+S|0,B=I=S>>>0>>0?I+1|0:I,S=(I=S)- -1048576|0,I=(_=(k=R=B-((I>>>0<4293918720)+-1|0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0:_,M=P,I=_,a[t+6|0]=(63&I)<<26|M>>>6,k=0,B=31&((65535&Q)<<16|x>>>16),_=x=2097151&C,a[t+2|0]=B|_<<5,B=2097151&S,C=Mr(U,D,-997805,-1)+B|0,_=E,B=_=C>>>0>>0?_+1|0:_,B=(_=I>>21)+B|0,S=C=(I=(2097151&I)<<11|M>>>21)+C|0,B=C>>>0>>0?B+1|0:B,a[t+9|0]=(511&B)<<23|C>>>9,I=_=B,B=C,a[t+8|0]=(1&I)<<31|B>>>1,C=0,B=M&=2097151,a[t+5|0]=(524287&k)<<13|x>>>19|B<<2,B=2097151&R,k=Mr(U,D,136657,0)+B|0,I=E,I=(I=k>>>0>>0?I+1|0:I)+(B=_>>21)|0,x=k=(_=(2097151&_)<<11|S>>>21)+k|0,I=k>>>0<_>>>0?I+1|0:I,_=k,a[t+12|0]=(4095&I)<<20|_>>>12,B=I,a[t+11|0]=(15&I)<<28|_>>>4,k=0,_=R=2097151&S,a[t+7|0]=(16383&C)<<18|M>>>14|_<<7,I=2097151&L,C=Mr(U,D,-683901,-1)+I|0,_=E,_=C>>>0>>0?_+1|0:_,_=(I=B>>21)+_|0,M=C=(B=(2097151&B)<<11|x>>>21)+C|0,I=_=C>>>0>>0?_+1|0:_,a[t+14|0]=(127&I)<<25|C>>>7,C=0,B=S=2097151&x,a[t+10|0]=(131071&k)<<15|R>>>17|B<<4,_=I>>21,B=(x=(I=(2097151&I)<<11|M>>>21)+(2097151&T)|0)>>>0>>0?_+1|0:_,a[t+17|0]=(1023&B)<<22|x>>>10,I=B,B=x,a[t+16|0]=(3&I)<<30|B>>>2,B=D=2097151&M,a[t+13|0]=(1048575&C)<<12|S>>>20|B<<1,B=(2097151&I)<<11|x>>>21,I>>=21,I=(M=B+(2097151&O)|0)>>>0>>0?I+1|0:I,_=M,a[t+20|0]=(8191&I)<<19|_>>>13,a[t+19|0]=(31&I)<<27|_>>>5,_=S=2097151&x,a[t+15|0]=(32767&k)<<17|D>>>15|_<<6,Q=(2097151&I)<<11|M>>>21,I=_=I>>21,Q=I=(D=Q+(2097151&F)|0)>>>0>>0?I+1|0:I,a[t+21|0]=D,I=M,a[t+18|0]=(262143&C)<<14|S>>>18|I<<3,I=Q,a[t+22|0]=(255&I)<<24|D>>>8,B=I,I>>=21,B=(M=(k=(2097151&B)<<11|D>>>21)+(2097151&G)|0)>>>0>>0?I+1|0:I,a[(_=t)+25|0]=(2047&B)<<21|M>>>11,I=B,B=M,a[_+24|0]=(7&I)<<29|B>>>3,B=_,k=(2097151&I)<<11|M>>>21,I>>=21,_=I=(C=x=k+(2097151&N)|0)>>>0>>0?I+1|0:I,a[B+27|0]=(63&I)<<26|C>>>6,k=0,I=x=2097151&M,a[B+23|0]=31&((65535&Q)<<16|D>>>16)|I<<5,_=(I=_)>>21,_=(Q=(I=(2097151&I)<<11|C>>>21)+(2097151&j)|0)>>>0>>0?_+1|0:_,B=Q,a[t+31|0]=(131071&_)<<15|B>>>17,I=_,a[t+30|0]=(511&I)<<23|B>>>9,a[t+29|0]=(1&I)<<31|B>>>1,_=0,C&=2097151,a[t+26|0]=(524287&k)<<13|x>>>19|C<<2,a[t+28|0]=(16383&_)<<18|C>>>14|B<<7}function Q(t){var e,r=0,n=0,i=0,o=0,a=0,s=0,f=0,l=0,p=0,d=0,g=0,y=0,m=0;b=e=b-16|0;t:{e:{r:{n:{i:{o:{a:{s:{u:{c:{h:{f:{if((t|=0)>>>0<=244){if(3&(r=(o=u[8961])>>>(t=(s=t>>>0<11?16:t+11&-8)>>>3|0)|0)){t=(r=u[35892+(a=(n=t+(1&(-1^r))|0)<<3)>>2])+8|0,(0|(i=u[r+8>>2]))!=(0|(a=a+35884|0))?(u[i+12>>2]=a,u[a+8>>2]=i):(y=35844,m=ze(-2,n)&o,u[y>>2]=m),n<<=3,u[r+4>>2]=3|n,u[4+(r=r+n|0)>>2]=1|u[r+4>>2];break t}if(s>>>0<=(l=u[8963])>>>0)break f;if(r){n=r=(t=(0-(t=(0-(n=2<>>12&16,n|=r=(t=t>>>r|0)>>>5&8,n|=r=(t=t>>>r|0)>>>2&4,r=u[35892+(i=(n=((n|=r=(t=t>>>r|0)>>>1&2)|(r=(t=t>>>r|0)>>>1&1))+(t>>>r|0)|0)<<3)>>2],(0|(t=u[r+8>>2]))!=(0|(i=i+35884|0))?(u[t+12>>2]=i,u[i+8>>2]=t):(o=ze(-2,n)&o,u[8961]=o),t=r+8|0,u[r+4>>2]=3|s,a=(n<<=3)-s|0,u[4+(f=r+s|0)>>2]=1|a,u[r+n>>2]=a,l&&(r=35884+((n=l>>>3|0)<<3)|0,i=u[8966],(n=1<>2]:(u[8961]=n|o,n=r),u[r+8>>2]=i,u[n+12>>2]=i,u[i+12>>2]=r,u[i+8>>2]=n),u[8966]=f,u[8963]=a;break t}if(!(d=u[8962]))break f;for(n=r=(t=(d&0-d)-1|0)>>>12&16,n|=r=(t=t>>>r|0)>>>5&8,n|=r=(t=t>>>r|0)>>>2&4,r=u[36148+(((n|=r=(t=t>>>r|0)>>>1&2)|(r=(t=t>>>r|0)>>>1&1))+(t>>>r|0)<<2)>>2],i=(-8&u[r+4>>2])-s|0,n=r;(t=u[n+16>>2])||(t=u[n+20>>2]);)i=(n=(a=(-8&u[t+4>>2])-s|0)>>>0>>0)?a:i,r=n?t:r,n=t;if((g=r+s|0)>>>0<=r>>>0)break h;if(p=u[r+24>>2],(0|(a=u[r+12>>2]))!=(0|r)){t=u[r+8>>2],u[t+12>>2]=a,u[a+8>>2]=t;break e}if(!(t=u[(n=r+20|0)>>2])){if(!(t=u[r+16>>2]))break c;n=r+16|0}for(;f=n,a=t,(t=u[(n=t+20|0)>>2])||(n=a+16|0,t=u[a+16>>2]););u[f>>2]=0;break e}if(s=-1,!(t>>>0>4294967231)&&(s=-8&(r=t+11|0),l=u[8962])){n=0-s|0,o=0,(r=r>>>8|0)&&(o=31,s>>>0>16777215||(o=28+((t=((o=(r<<=i=r+1048320>>>16&8)<<(t=r+520192>>>16&4))<<(r=o+245760>>>16&2)>>>15|0)-(r|t|i)|0)<<1|s>>>t+21&1)|0));l:{A:{if(i=u[36148+(o<<2)>>2])for(r=s<<(31==(0|o)?0:25-(o>>>1|0)|0),t=0;;){if(!((f=(-8&u[i+4>>2])-s|0)>>>0>=n>>>0||(a=i,n=f))){n=0,t=i;break A}if(f=u[i+20>>2],i=u[16+((r>>>29&4)+i|0)>>2],t=f?(0|f)==(0|i)?t:f:t,r<<=0!=(0|i),!i)break}else t=0;if(!(t|a)){if(!(t=(0-(t=2<>>12&16,i|=r=(t=t>>>r|0)>>>5&8,i|=r=(t=t>>>r|0)>>>2&4,t=u[36148+(((i|=r=(t=t>>>r|0)>>>1&2)|(r=(t=t>>>r|0)>>>1&1))+(t>>>r|0)<<2)>>2]}if(!t)break l}for(;n=(r=(i=(-8&u[t+4>>2])-s|0)>>>0>>0)?i:n,a=r?t:a,t=(r=u[t+16>>2])||u[t+20>>2];);}if(!(!a|n>>>0>=u[8963]-s>>>0)){if((o=a+s|0)>>>0<=a>>>0)break h;if(p=u[a+24>>2],(0|a)!=(0|(r=u[a+12>>2]))){t=u[a+8>>2],u[t+12>>2]=r,u[r+8>>2]=t;break r}if(!(t=u[(i=a+20|0)>>2])){if(!(t=u[a+16>>2]))break u;i=a+16|0}for(;f=i,r=t,(t=u[(i=t+20|0)>>2])||(i=r+16|0,t=u[r+16>>2]););u[f>>2]=0;break r}}}if((r=u[8963])>>>0>=s>>>0){t=u[8966],(n=r-s|0)>>>0>=16?(u[8963]=n,i=t+s|0,u[8966]=i,u[i+4>>2]=1|n,u[t+r>>2]=n,u[t+4>>2]=3|s):(u[8966]=0,u[8963]=0,u[t+4>>2]=3|r,u[4+(r=t+r|0)>>2]=1|u[r+4>>2]),t=t+8|0;break t}if((i=u[8964])>>>0>s>>>0){r=i-s|0,u[8964]=r,n=(t=u[8967])+s|0,u[8967]=n,u[n+4>>2]=1|r,u[t+4>>2]=3|s,t=t+8|0;break t}if(t=0,n=a=s+47|0,u[9079]?r=u[9081]:(u[9082]=-1,u[9083]=-1,u[9080]=4096,u[9081]=4096,u[9079]=e+12&-16^1431655768,u[9084]=0,u[9072]=0,r=4096),(n=(o=n+r|0)&(f=0-r|0))>>>0<=s>>>0)break t;if((r=u[9071])&&(p=(l=u[9069])+n|0)>>>0<=l>>>0|p>>>0>r>>>0)break t;if(4&c[36288])break o;f:{l:{if(r=u[8967])for(t=36292;;){if((l=u[t>>2])+u[t+4>>2]>>>0>r>>>0&&l>>>0<=r>>>0)break l;if(!(t=u[t+8>>2]))break}if(-1==(0|(r=le(0))))break a;if(o=n,(i=(t=u[9080])+-1|0)&r&&(o=(n-r|0)+(r+i&0-t)|0),o>>>0<=s>>>0|o>>>0>2147483646)break a;if((t=u[9071])&&(f=(i=u[9069])+o|0)>>>0<=i>>>0|f>>>0>t>>>0)break a;if((0|r)!=(0|(t=le(o))))break f;break i}if((o=f&o-i)>>>0>2147483646)break a;if((0|(r=le(o)))==(u[t>>2]+u[t+4>>2]|0))break s;t=r}if(!(-1==(0|t)|s+48>>>0<=o>>>0)){if((r=(r=u[9081])+(a-o|0)&0-r)>>>0>2147483646){r=t;break i}if(-1!=(0|le(r))){o=r+o|0,r=t;break i}le(0-o|0);break a}if(r=t,-1!=(0|t))break i;break a}A()}a=0;break e}r=0;break r}if(-1!=(0|r))break i}u[9072]=4|u[9072]}if(n>>>0>2147483646)break n;if((r=le(n))>>>0>=(t=le(0))>>>0|-1==(0|r)|-1==(0|t))break n;if((o=t-r|0)>>>0<=s+40>>>0)break n}t=u[9069]+o|0,u[9069]=t,t>>>0>h[9070]&&(u[9070]=t);i:{o:{a:{if(n=u[8967]){for(t=36292;;){if(((i=u[t>>2])+(a=u[t+4>>2])|0)==(0|r))break a;if(!(t=u[t+8>>2]))break}break o}for(r>>>0>=(t=u[8965])>>>0&&t||(u[8965]=r),t=0,u[9074]=o,u[9073]=r,u[8969]=-1,u[8970]=u[9079],u[9076]=0;i=35884+(n=t<<3)|0,u[n+35892>>2]=i,u[n+35896>>2]=i,32!=(0|(t=t+1|0)););i=(t=o+-40|0)-(n=r+8&7?-8-r&7:0)|0,u[8964]=i,n=r+n|0,u[8967]=n,u[n+4>>2]=1|i,u[4+(t+r|0)>>2]=40,u[8968]=u[9083];break i}if(!(8&c[t+12|0]|r>>>0<=n>>>0|i>>>0>n>>>0)){u[t+4>>2]=o+a,r=(t=n+8&7?-8-n&7:0)+n|0,u[8967]=r,t=(i=u[8964]+o|0)-t|0,u[8964]=t,u[r+4>>2]=1|t,u[4+(n+i|0)>>2]=40,u[8968]=u[9083];break i}}r>>>0<(a=u[8965])>>>0&&(u[8965]=r,a=0),i=r+o|0,t=36292;o:{a:{s:{u:{c:{h:{for(;;){if((0|i)!=u[t>>2]){if(t=u[t+8>>2])continue;break h}break}if(!(8&c[t+12|0]))break c}for(t=36292;;){if((i=u[t>>2])>>>0<=n>>>0&&(a=i+u[t+4>>2]|0)>>>0>n>>>0)break u;t=u[t+8>>2]}}if(u[t>>2]=r,u[t+4>>2]=u[t+4>>2]+o,u[4+(p=(r+8&7?-8-r&7:0)+r|0)>>2]=3|s,t=((r=i+(i+8&7?-8-i&7:0)|0)-p|0)-s|0,f=s+p|0,(0|r)==(0|n)){u[8967]=f,t=u[8964]+t|0,u[8964]=t,u[f+4>>2]=1|t;break a}if(u[8966]==(0|r)){u[8966]=f,t=u[8963]+t|0,u[8963]=t,u[f+4>>2]=1|t,u[t+f>>2]=t;break a}if(1==(3&(n=u[r+4>>2]))){d=-8&n;c:if(n>>>0<=255){if(a=n>>>3|0,n=u[r+8>>2],(0|(i=u[r+12>>2]))==(0|n)){y=35844,m=u[8961]&ze(-2,a),u[y>>2]=m;break c}u[n+12>>2]=i,u[i+8>>2]=n}else{if(l=u[r+24>>2],(0|(o=u[r+12>>2]))==(0|r))if((s=u[(i=r+20|0)>>2])||(s=u[(i=r+16|0)>>2])){for(;n=i,(s=u[(i=(o=s)+20|0)>>2])||(i=o+16|0,s=u[o+16>>2]););u[n>>2]=0}else o=0;else n=u[r+8>>2],u[n+12>>2]=o,u[o+8>>2]=n;if(l){n=u[r+28>>2];h:{if(u[(i=36148+(n<<2)|0)>>2]==(0|r)){if(u[i>>2]=o,o)break h;y=35848,m=u[8962]&ze(-2,n),u[y>>2]=m;break c}if(u[l+(u[l+16>>2]==(0|r)?16:20)>>2]=o,!o)break c}u[o+24>>2]=l,(n=u[r+16>>2])&&(u[o+16>>2]=n,u[n+24>>2]=o),(n=u[r+20>>2])&&(u[o+20>>2]=n,u[n+24>>2]=o)}}r=r+d|0,t=t+d|0}if(u[r+4>>2]=-2&u[r+4>>2],u[f+4>>2]=1|t,u[t+f>>2]=t,t>>>0<=255){t=35884+((r=t>>>3|0)<<3)|0,(n=u[8961])&(r=1<>2]:(u[8961]=r|n,r=t),u[t+8>>2]=f,u[r+12>>2]=f,u[f+12>>2]=t,u[f+8>>2]=r;break a}if(r=0,(i=t>>>8|0)&&(r=31,t>>>0>16777215||(r=28+((r=((s=(i<<=a=i+1048320>>>16&8)<<(r=i+520192>>>16&4))<<(i=s+245760>>>16&2)>>>15|0)-(i|r|a)|0)<<1|t>>>r+21&1)|0)),u[(n=f)+28>>2]=r,u[f+16>>2]=0,u[f+20>>2]=0,n=36148+(r<<2)|0,(i=u[8962])&(a=1<>>1|0)|0),r=u[n>>2];;){if(n=r,(-8&u[r+4>>2])==(0|t))break s;if(r=i>>>29|0,i<<=1,!(r=u[16+(a=(4&r)+n|0)>>2]))break}u[a+16>>2]=f}else u[8962]=i|a,u[n>>2]=f;u[f+24>>2]=n,u[f+12>>2]=f,u[f+8>>2]=f;break a}for(f=(t=o+-40|0)-(i=r+8&7?-8-r&7:0)|0,u[8964]=f,i=r+i|0,u[8967]=i,u[i+4>>2]=1|f,u[4+(t+r|0)>>2]=40,u[8968]=u[9083],u[(i=(t=(a+(a+-39&7?39-a&7:0)|0)-47|0)>>>0>>0?n:t)+4>>2]=27,t=u[9076],u[i+16>>2]=u[9075],u[i+20>>2]=t,t=u[9074],u[i+8>>2]=u[9073],u[i+12>>2]=t,u[9075]=i+8,u[9074]=o,u[9073]=r,u[9076]=0,t=i+24|0;u[t+4>>2]=7,r=t+8|0,t=t+4|0,a>>>0>r>>>0;);if((0|n)==(0|i))break i;if(u[i+4>>2]=-2&u[i+4>>2],a=i-n|0,u[n+4>>2]=1|a,u[i>>2]=a,a>>>0<=255){t=35884+((r=a>>>3|0)<<3)|0,(i=u[8961])&(r=1<>2]:(u[8961]=r|i,r=t),u[t+8>>2]=n,u[r+12>>2]=n,u[n+12>>2]=t,u[n+8>>2]=r;break i}if(u[n+16>>2]=0,u[n+20>>2]=0,t=0,(i=a>>>8|0)&&(t=31,a>>>0>16777215||(t=28+((t=((f=(i<<=o=i+1048320>>>16&8)<<(t=i+520192>>>16&4))<<(i=f+245760>>>16&2)>>>15|0)-(i|t|o)|0)<<1|a>>>t+21&1)|0)),u[(r=n)+28>>2]=t,r=36148+(t<<2)|0,(i=u[8962])&(o=1<>>1|0)|0),r=u[r>>2];;){if(i=r,(0|a)==(-8&u[r+4>>2]))break o;if(r=t>>>29|0,t<<=1,!(r=u[16+(o=i+(4&r)|0)>>2]))break}u[o+16>>2]=n,u[n+24>>2]=i}else u[8962]=i|o,u[r>>2]=n,u[n+24>>2]=r;u[n+12>>2]=n,u[n+8>>2]=n;break i}t=u[n+8>>2],u[t+12>>2]=f,u[n+8>>2]=f,u[f+24>>2]=0,u[f+12>>2]=n,u[f+8>>2]=t}t=p+8|0;break t}t=u[i+8>>2],u[t+12>>2]=n,u[i+8>>2]=n,u[n+24>>2]=0,u[n+12>>2]=i,u[n+8>>2]=t}if(!((t=u[8964])>>>0<=s>>>0)){r=t-s|0,u[8964]=r,n=(t=u[8967])+s|0,u[8967]=n,u[n+4>>2]=1|r,u[t+4>>2]=3|s,t=t+8|0;break t}}u[8960]=48,t=0;break t}r:if(p){t=u[a+28>>2];n:{if(u[(i=36148+(t<<2)|0)>>2]==(0|a)){if(u[i>>2]=r,r)break n;l=ze(-2,t)&l,u[8962]=l;break r}if(u[p+(u[p+16>>2]==(0|a)?16:20)>>2]=r,!r)break r}u[r+24>>2]=p,(t=u[a+16>>2])&&(u[r+16>>2]=t,u[t+24>>2]=r),(t=u[a+20>>2])&&(u[r+20>>2]=t,u[t+24>>2]=r)}r:if(n>>>0<=15)t=n+s|0,u[a+4>>2]=3|t,u[4+(t=t+a|0)>>2]=1|u[t+4>>2];else if(u[a+4>>2]=3|s,u[o+4>>2]=1|n,u[n+o>>2]=n,n>>>0<=255)t=35884+((r=n>>>3|0)<<3)|0,(n=u[8961])&(r=1<>2]:(u[8961]=r|n,r=t),u[t+8>>2]=o,u[r+12>>2]=o,u[o+12>>2]=t,u[o+8>>2]=r;else{t=0,(i=n>>>8|0)&&(t=31,n>>>0>16777215||(t=28+((t=((f=(i<<=s=i+1048320>>>16&8)<<(t=i+520192>>>16&4))<<(i=f+245760>>>16&2)>>>15|0)-(i|t|s)|0)<<1|n>>>t+21&1)|0)),u[(r=o)+28>>2]=t,u[o+16>>2]=0,u[o+20>>2]=0,r=36148+(t<<2)|0;n:{if((i=1<>>1|0)|0),s=u[r>>2];;){if((-8&u[(r=s)+4>>2])==(0|n))break n;if(i=t>>>29|0,t<<=1,!(s=u[16+(i=(4&i)+r|0)>>2]))break}u[i+16>>2]=o}else u[8962]=i|l,u[r>>2]=o;u[o+24>>2]=r,u[o+12>>2]=o,u[o+8>>2]=o;break r}t=u[r+8>>2],u[t+12>>2]=o,u[r+8>>2]=o,u[o+24>>2]=0,u[o+12>>2]=r,u[o+8>>2]=t}t=a+8|0;break t}e:if(p){t=u[r+28>>2];r:{if(u[(n=36148+(t<<2)|0)>>2]==(0|r)){if(u[n>>2]=a,a)break r;y=35848,m=ze(-2,t)&d,u[y>>2]=m;break e}if(u[p+(u[p+16>>2]==(0|r)?16:20)>>2]=a,!a)break e}u[a+24>>2]=p,(t=u[r+16>>2])&&(u[a+16>>2]=t,u[t+24>>2]=a),(t=u[r+20>>2])&&(u[a+20>>2]=t,u[t+24>>2]=a)}i>>>0<=15?(t=i+s|0,u[r+4>>2]=3|t,u[4+(t=t+r|0)>>2]=1|u[t+4>>2]):(u[r+4>>2]=3|s,u[g+4>>2]=1|i,u[i+g>>2]=i,l&&(t=35884+((n=l>>>3|0)<<3)|0,a=u[8966],(n=1<>2]:(u[8961]=n|o,n=t),u[t+8>>2]=a,u[n+12>>2]=a,u[a+12>>2]=t,u[a+8>>2]=n),u[8966]=g,u[8963]=i),t=r+8|0}return b=e+16|0,0|t}function M(t,e,r){var n,i,o,a,s,c,h,l,A,p,d,g,y,m,v,b,w,I,_,B,C,Q,M,k,S,x,D,R,N,P,T,O,F,U,L,G,H,j,Y,K,q,J,V,z,X,W,Z,$,tt,et,rt,nt,it,ot,at=0,st=0,ut=0,ct=0,ht=0,ft=0,lt=0,At=0,pt=0,dt=0,gt=0,yt=0,mt=0,vt=0,bt=0,wt=0,It=0,Et=0,_t=0,Bt=0,Ct=0,Qt=0,Mt=0,kt=0,St=0;lt=t,l=at=Qt=u[r+4>>2],A=at>>31,H=at=(bt=u[e+20>>2])<<1,at=Mr(l,A,at,M=at>>31),ut=E,st=at,n=at=u[r>>2],i=at>>31,p=at=u[e+24>>2],ht=Mr(n,i,at,o=at>>31),at=E+ut|0,at=(st=st+ht|0)>>>0>>0?at+1|0:at,ut=st,k=st=ft=u[r+8>>2],w=st>>31,d=st=u[e+16>>2],st=ut+(ht=Mr(ft,w,st,a=st>>31))|0,ut=E+at|0,ut=st>>>0>>0?ut+1|0:ut,j=at=It=u[r+12>>2],I=at>>31,Y=at=(yt=u[e+12>>2])<<1,at=(ht=Mr(It,I,at,S=at>>31))+st|0,st=E+ut|0,st=at>>>0>>0?st+1|0:st,ut=at,W=at=wt=u[r+16>>2],C=at>>31,g=at=u[e+8>>2],ht=Mr(wt,C,at,s=at>>31),at=E+st|0,at=(ut=ut+ht|0)>>>0>>0?at+1|0:at,ct=ut,Z=st=dt=u[r+20>>2],x=st>>31,K=st=(At=u[e+4>>2])<<1,ut=Mr(dt,x,st,D=st>>31),at=E+at|0,at=(st=ct+ut|0)>>>0>>0?at+1|0:at,ut=st,$=st=gt=u[r+24>>2],q=st>>31,y=st=u[e>>2],ht=Mr(gt,q,st,c=st>>31),st=E+at|0,st=(ut=ut+ht|0)>>>0>>0?st+1|0:st,Et=u[r+28>>2],_=at=f(Et,19),B=at>>31,J=at=(mt=u[e+36>>2])<<1,at=(ht=Mr(_,B,at,R=at>>31))+ut|0,ut=E+st|0,ut=at>>>0>>0?ut+1|0:ut,st=at,vt=u[r+32>>2],_t=at=f(vt,19),Bt=at>>31,m=at=u[e+32>>2],ht=Mr(_t,Bt,at,h=at>>31),at=E+ut|0,at=(st=st+ht|0)>>>0>>0?at+1|0:at,ut=st,tt=u[r+36>>2],v=r=f(tt,19),b=r>>31,V=r=(e=u[e+28>>2])<<1,st=Mr(v,b,r,N=r>>31),at=E+at|0,pt=r=ut+st|0,r=r>>>0>>0?at+1|0:at,at=Mr(d,a,l,A),st=E,bt=Mr(n,i,ht=bt,P=ht>>31),ut=E+st|0,ut=(at=bt+at|0)>>>0>>0?ut+1|0:ut,bt=yt,yt=Mr(ft,w,yt,T=yt>>31),st=E+ut|0,st=(at=yt+at|0)>>>0>>0?st+1|0:st,ut=(yt=Mr(g,s,It,I))+at|0,at=E+st|0,at=ut>>>0>>0?at+1|0:at,st=ut,yt=At,ut=Mr(wt,C,At,O=At>>31),at=E+at|0,at=(st=st+ut|0)>>>0>>0?at+1|0:at,ut=Mr(y,c,dt,x),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,ut=st,F=st=f(gt,19),st=ut+(mt=Mr(st,Q=st>>31,At=mt,U=At>>31))|0,ut=E+at|0,ut=st>>>0>>0?ut+1|0:ut,at=(mt=Mr(m,h,_,B))+st|0,st=E+ut|0,st=at>>>0>>0?st+1|0:st,mt=e,e=(ut=Mr(_t,Bt,e,L=e>>31))+at|0,at=E+st|0,at=e>>>0>>0?at+1|0:at,st=Mr(v,b,p,o),at=E+at|0,Mt=e=st+e|0,e=e>>>0>>0?at+1|0:at,at=Mr(l,A,Y,S),ut=E,st=(gt=Mr(n,i,d,a))+at|0,at=E+ut|0,at=st>>>0>>0?at+1|0:at,gt=Mr(g,s,ft,w),ut=E+at|0,ut=(st=gt+st|0)>>>0>>0?ut+1|0:ut,at=(gt=Mr(It,I,K,D))+st|0,st=E+ut|0,st=at>>>0>>0?st+1|0:st,ut=(gt=Mr(y,c,wt,C))+at|0,at=E+st|0,at=ut>>>0>>0?at+1|0:at,ct=ut,z=st=f(dt,19),ut=Mr(st,G=st>>31,J,R),at=E+at|0,at=(st=ct+ut|0)>>>0>>0?at+1|0:at,ut=Mr(m,h,F,Q),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,dt=Mr(_,B,V,N),ut=E+at|0,ut=(st=dt+st|0)>>>0

>>0?ut+1|0:ut,at=(dt=Mr(_t,Bt,p,o))+st|0,st=E+ut|0,st=at>>>0
>>0?st+1|0:st,ut=(dt=Mr(v,b,H,M))+at|0,at=E+st|0,at=ut>>>0
>>0?at+1|0:at,dt=ut,rt=at,(st=ut+33554432|0)>>>0<33554432&&(at=at+1|0),gt=st,nt=at,ut=Mt,Mt=(67108863&at)<<6|st>>>26,at=(at>>26)+e|0,at=(ut=ut+Mt|0)>>>0>>0?at+1|0:at,Mt=ut,ut=at,(e=Mt+16777216|0)>>>0<16777216&&(ut=ut+1|0),it=e,at=r+(st=ut>>25)|0,at=(e=(ut=(33554431&ut)<<7|e>>>25)+pt|0)>>>0>>0?at+1|0:at,(e=(r=e)+33554432|0)>>>0<33554432&&(at=at+1|0),kt=e,e=at,at=-67108864&kt,u[lt+24>>2]=r-at,pt=t,r=Mr(l,A,K,D),at=E,st=Mr(n,i,g,s),ut=E+at|0,ut=(r=st+r|0)>>>0>>0?ut+1|0:ut,st=Mr(y,c,k,w),at=E+ut|0,at=(r=st+r|0)>>>0>>0?at+1|0:at,ut=r,lt=r=f(It,19),st=Mr(r,It=r>>31,J,R),at=E+at|0,at=(r=ut+st|0)>>>0>>0?at+1|0:at,st=r,et=r=f(wt,19),r=st+(ut=Mr(m,h,r,X=r>>31))|0,st=E+at|0,st=r>>>0>>0?st+1|0:st,ut=Mr(V,N,z,G),at=E+st|0,at=(r=ut+r|0)>>>0>>0?at+1|0:at,st=Mr(p,o,F,Q),ut=E+at|0,ut=(r=st+r|0)>>>0>>0?ut+1|0:ut,st=Mr(_,B,H,M),at=E+ut|0,at=(r=st+r|0)>>>0>>0?at+1|0:at,st=Mr(_t,Bt,d,a),at=E+at|0,at=(r=st+r|0)>>>0>>0?at+1|0:at,ut=Mr(v,b,Y,S),st=E+at|0,ct=r=ut+r|0,r=r>>>0>>0?st+1|0:st,at=Mr(y,c,l,A),ut=E,st=(wt=Mr(n,i,yt,O))+at|0,at=E+ut|0,at=st>>>0>>0?at+1|0:at,ut=st,wt=st=f(ft,19),st=ut+(ft=Mr(st,Ct=st>>31,At,U))|0,ut=E+at|0,ut=st>>>0>>0?ut+1|0:ut,ft=Mr(m,h,lt,It),at=E+ut|0,at=(st=ft+st|0)>>>0>>0?at+1|0:at,ut=Mr(et,X,mt,L),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,ut=(ft=Mr(p,o,z,G))+st|0,st=E+at|0,st=ut>>>0>>0?st+1|0:st,ft=Mr(F,Q,ht,P),at=E+st|0,at=(ut=ft+ut|0)>>>0>>0?at+1|0:at,st=(ft=Mr(d,a,_,B))+ut|0,ut=E+at|0,ut=st>>>0>>0?ut+1|0:ut,ft=Mr(_t,Bt,bt,T),at=E+ut|0,at=(st=ft+st|0)>>>0>>0?at+1|0:at,ut=Mr(v,b,g,s),at=E+at|0,St=st=ut+st|0,ft=st>>>0>>0?at+1|0:at,at=Mr(at=f(Qt,19),at>>31,J,R),st=E,ut=Mr(n,i,y,c),st=E+st|0,st=(at=ut+at|0)>>>0>>0?st+1|0:st,ut=(Qt=Mr(m,h,wt,Ct))+at|0,at=E+st|0,st=(lt=Mr(lt,It,V,N))+ut|0,ut=E+(ut>>>0>>0?at+1|0:at)|0,ut=st>>>0>>0?ut+1|0:ut,lt=Mr(p,o,et,X),at=E+ut|0,at=(st=lt+st|0)>>>0>>0?at+1|0:at,ut=Mr(H,M,z,G),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,ut=(lt=Mr(d,a,F,Q))+st|0,st=E+at|0,st=ut>>>0>>0?st+1|0:st,lt=Mr(_,B,Y,S),at=E+st|0,at=(ut=lt+ut|0)>>>0>>0?at+1|0:at,st=(lt=Mr(_t,Bt,g,s))+ut|0,ut=E+at|0,ut=st>>>0>>0?ut+1|0:ut,lt=Mr(v,b,K,D),at=E+ut|0,at=(st=lt+st|0)>>>0>>0?at+1|0:at,lt=st,Qt=at,(st=st+33554432|0)>>>0<33554432&&(at=at+1|0),It=st,wt=at,Ct=(67108863&at)<<6|st>>>26,st=(ut=at>>26)+ft|0,ft=at=Ct+St|0,ut=ct,at=at>>>0>>0?st+1|0:st,(st=ft+16777216|0)>>>0<16777216&&(at=at+1|0),ot=st,ct=(33554431&at)<<7|st>>>25,at=(at>>25)+r|0,at=(st=ut+ct|0)>>>0>>0?at+1|0:at,(r=st+33554432|0)>>>0<33554432&&(at=at+1|0),Ct=r,r=at,at=-67108864&Ct,u[pt+8>>2]=st-at,ct=t,at=Mr(p,o,l,A),ut=E,st=(pt=Mr(n,i,mt,L))+at|0,at=E+ut|0,at=st>>>0>>0?at+1|0:at,ut=Mr(k,w,ht,P),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,ut=Mr(d,a,j,I),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,pt=Mr(W,C,bt,T),ut=E+at|0,ut=(st=pt+st|0)>>>0>>0?ut+1|0:ut,at=(pt=Mr(g,s,Z,x))+st|0,st=E+ut|0,st=at>>>0>>0?st+1|0:st,ut=(pt=Mr(yt,O,$,q))+at|0,at=E+st|0,at=ut>>>0>>0?at+1|0:at,st=ut,ut=Mr(y,c,pt=Et,St=pt>>31),at=E+at|0,at=(st=st+ut|0)>>>0>>0?at+1|0:at,ut=Mr(_t,Bt,At,U),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,Et=Mr(v,b,m,h),ut=E+at|0,ut=(st=Et+st|0)>>>0>>0?ut+1|0:ut,at=e>>26,e=(Et=(67108863&e)<<6|kt>>>26)+st|0,st=at+ut|0,at=st=e>>>0>>0?st+1|0:st,(e=(ut=e)+16777216|0)>>>0<16777216&&(at=at+1|0),kt=e,e=at,at=-33554432&kt,u[ct+28>>2]=ut-at,Et=t,at=Mr(g,s,l,A),st=E,ct=Mr(n,i,bt,T),ut=E+st|0,ut=(at=ct+at|0)>>>0>>0?ut+1|0:ut,ct=Mr(k,w,yt,O),st=E+ut|0,st=(at=ct+at|0)>>>0>>0?st+1|0:st,ut=(ct=Mr(y,c,j,I))+at|0,at=E+st|0,at=ut>>>0>>0?at+1|0:at,st=ut,ut=Mr(et,X,At,U),at=E+at|0,at=(st=st+ut|0)>>>0>>0?at+1|0:at,ut=Mr(m,h,z,G),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,ct=Mr(F,Q,mt,L),ut=E+at|0,ut=(st=ct+st|0)>>>0>>0?ut+1|0:ut,at=(ct=Mr(p,o,_,B))+st|0,st=E+ut|0,st=at>>>0>>0?st+1|0:st,ut=(ct=Mr(_t,Bt,ht,P))+at|0,at=E+st|0,at=ut>>>0>>0?at+1|0:at,st=ut,ut=Mr(v,b,d,a),at=E+at|0,ct=st=st+ut|0,at=(at=st>>>0>>0?at+1|0:at)+(st=r>>26)|0,ut=at=(r=ct+(ut=(67108863&r)<<6|Ct>>>26)|0)>>>0>>0?at+1|0:at,(r=(st=r)+16777216|0)>>>0<16777216&&(ut=ut+1|0),_t=r,r=ut,at=-33554432&_t,u[Et+12>>2]=st-at,at=Mr(l,A,V,N),ut=E,st=(ct=Mr(n,i,m,h))+at|0,at=E+ut|0,at=st>>>0>>0?at+1|0:at,ut=Mr(p,o,k,w),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,ct=Mr(j,I,H,M),ut=E+at|0,ut=(st=ct+st|0)>>>0>>0?ut+1|0:ut,at=(ct=Mr(d,a,W,C))+st|0,st=E+ut|0,st=at>>>0>>0?st+1|0:st,ut=(ct=Mr(Y,S,Z,x))+at|0,at=E+st|0,at=ut>>>0>>0?at+1|0:at,st=ut,ut=Mr(g,s,$,q),at=E+at|0,at=(st=st+ut|0)>>>0>>0?at+1|0:at,ut=Mr(pt,St,K,D),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,vt=Mr(y,c,ct=vt,Bt=ct>>31),ut=E+at|0,ut=(st=vt+st|0)>>>0>>0?ut+1|0:ut,at=(vt=Mr(v,b,J,R))+st|0,st=E+ut|0,st=at>>>0>>0?st+1|0:st,vt=at,at=(at=e>>25)+st|0,at=(e=vt+(ut=(33554431&e)<<7|kt>>>25)|0)>>>0>>0?at+1|0:at,(e=(st=e)+33554432|0)>>>0<33554432&&(at=at+1|0),vt=e,e=at,at=-67108864&vt,u[Et+32>>2]=st-at,ut=st=dt-(at=-67108864>)|0,at=(at=rt-((dt>>>0>>0)+nt|0)|0)+(st=r>>25)|0,at=(r=ut+(dt=(33554431&r)<<7|_t>>>25)|0)>>>0
>>0?at+1|0:at,(st=r+33554432|0)>>>0<33554432&&(at=at+1|0),ut=(Mt-(-33554432&it)|0)+((67108863&at)<<6|st>>>26)|0,u[t+20>>2]=ut,at=-67108864&st,u[t+16>>2]=r-at,at=Mr(m,h,l,A),ut=E,st=(At=Mr(n,i,At,U))+at|0,at=E+ut|0,at=st>>>0>>0?at+1|0:at,ut=(At=Mr(k,w,mt,L))+st|0,st=E+at|0,st=ut>>>0>>0?st+1|0:st,at=(At=Mr(p,o,j,I))+ut|0,ut=E+st|0,st=(ht=Mr(W,C,ht,P))+at|0,at=E+(at>>>0>>0?ut+1|0:ut)|0,at=st>>>0>>0?at+1|0:at,ut=Mr(d,a,Z,x),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,ut=Mr(bt,T,$,q),at=E+at|0,at=(st=ut+st|0)>>>0>>0?at+1|0:at,ut=(ht=Mr(g,s,pt,St))+st|0,st=E+at|0,st=ut>>>0>>0?st+1|0:st,at=(ht=Mr(ct,Bt,yt,O))+ut|0,ut=E+st|0,ut=at>>>0>>0?ut+1|0:ut,st=(ht=Mr(y,c,tt,tt>>31))+at|0,at=E+ut|0,r=st,at=(at=st>>>0>>0?at+1|0:at)+(st=e>>26)|0,at=(e=r+(ut=(67108863&e)<<6|vt>>>26)|0)>>>0>>0?at+1|0:at,ut=r=e,(e=r+16777216|0)>>>0<16777216&&(at=at+1|0),e=-33554432&(st=e),u[t+36>>2]=r-e,r=t,ut=ft-(-33554432&ot)|0,ht=lt-(e=-67108864&It)|0,bt=Qt-((lt>>>0>>0)+wt|0)|0,at=Mr((33554431&(e=at))<<7|st>>>25,at>>=25,19,0),st=E+bt|0,ct=r,at=st=(e=at+ht|0)>>>0>>0?st+1|0:st,(r=e+33554432|0)>>>0<33554432&&(at=at+1|0),st=((67108863&at)<<6|(st=r)>>>26)+ut|0,u[ct+4>>2]=st,st=t,t=-67108864&r,u[st>>2]=e-t}function k(t,e,r){var n,i=0,o=0,a=0,s=0,c=0,h=0,f=0,l=0,A=0,p=0,d=0,g=0,y=0,m=0,v=0,w=0,I=0,_=0,B=0,C=0,Q=0,M=0,k=0,S=0,x=0,D=0,R=0,N=0,P=0,T=0,O=0,F=0,U=0,L=0,G=0,H=0,j=0,Y=0,K=0,q=0,J=0,V=0,z=0,X=0,W=0,Z=0,$=0,tt=0,et=0,rt=0,nt=0,it=0;for(b=n=b-2048|0,Yr(n+1024|0,e),ye(n+1024|0,t),Yr(n,n+1024|0),ye(n,r),e=0;l=u[(s=(n+1024|0)+(96|(t=O<<7))|0)>>2],o=u[s+4>>2],c=C=Tr((i=l)^(l=Be(l=u[(h=f=t+(n+1024|0)|0)>>2],c=u[h+4>>2],a=u[(h=(n+1024|0)+(32|t)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,s=Tr(a^s,A^f,16),a=E,u[U>>2]=s,u[U+4>>2]=a,s=Be(C,i,s,a),u[o>>2]=s,i=o,o=E,u[i+4>>2]=o,nt=h,it=Tr(t^s,o^l,63),u[nt>>2]=it,u[h+4>>2]=E,8!=(0|(O=O+1|0)););for(;h=u[(s=768+(t=(o=e<<4)+(n+1024|0)|0)|0)>>2],s=u[s+4>>2],i=h,h=u[t+256>>2],l=u[t+260>>2],A=Tr(i^(a=Be(u[t>>2],u[t+4>>2],h,l)),(A=s)^(s=E),32),c=s,s=E,C=Tr((i=h)^(h=Be(u[t+512>>2],u[t+516>>2],A,s)),(y=l)^(l=E),24),s=Tr(A^(S=Be(a,c,C,i=E)),(g=E)^s,16),a=A=E,u[t+768>>2]=s,u[t+772>>2]=a,h=Be(h,l,s,a),A=l=E,u[t+512>>2]=h,u[t+516>>2]=l,l=Tr(h^C,i^l,63),C=i=E,u[t+256>>2]=l,u[t+260>>2]=i,O=u[t+780>>2],m=u[t+520>>2],p=u[t+524>>2],y=u[t+776>>2],o=i=(n+1024|0)+(8|o)|0,f=u[t+264>>2],c=u[t+268>>2],v=Be(u[o>>2],u[o+4>>2],f,c),o=Be(m,p,y=Tr(y^v,(o=O)^(O=E),32),x=E),R=Be(m=v,O,c=Tr(p=o^f,c^(f=E),24),v=E),o=Be(o,f,O=Tr(R^y,(w=E)^x,16),U=E),f=y=E,u[t+520>>2]=o,u[t+524>>2]=f,c=Tr(o^c,f^v,63),v=E,y=u[t+900>>2],Q=u[t+640>>2],d=u[t+644>>2],_=u[t+896>>2],x=u[t+384>>2],m=u[t+388>>2],_=Tr(_^(B=Be(u[t+128>>2],u[t+132>>2],x,m)),(p=y)^(y=E),32),m=Tr(p=(Q=Be(Q,d,_,L=E))^x,m^(x=E),24),p=Q,Q=Tr((Q=_)^(_=Be(B,d=y,m,y=E)),(d=L)^(L=E),16),y=Tr(m^(p=Be(p,x,Q,P=E)),(T=E)^y,63),x=E,m=u[t+908>>2],N=u[t+648>>2],D=u[t+652>>2],I=u[t+904>>2],B=u[t+392>>2],k=u[t+396>>2],I=Tr(I^(F=Be(u[t+136>>2],u[t+140>>2],B,k)),(d=m)^(m=E),32),M=k=Tr(D=(N=Be(N,D,I,d=E))^B,k^(B=E),24),I=Tr((k=Be(F,D=m,k,m=E))^I,(F=E)^d,16),m=Tr(M^(N=Be(N,B,I,d=E)),(D=E)^m,63),B=E,M=p,H=T,p=Tr(I^(S=Be(S,g,c,v)),d^(g=E),32),c=Tr((I=Be(M,H,p,T=E))^c,(d=E)^v,24),v=Be(v=S,g,c,S=E),g=E,u[t>>2]=v,u[t+4>>2]=g,v=Tr(v^p,T^g,16),g=E,u[t+904>>2]=v,u[t+908>>2]=g,v=Be(I,d,v,g),g=E,u[t+640>>2]=v,u[t+644>>2]=g,nt=t,it=Tr(c^v,g^S,63),u[nt+264>>2]=it,u[t+268>>2]=E,g=y,v=Tr((c=Be(R,w,y,x))^s,(y=a)^(a=E),32),s=Tr(g^(S=Be(N,D,v,y=E)),(p=x)^(x=E),24),a=Be(g=c,a,s,c=E),g=E,u[i>>2]=a,u[i+4>>2]=g,a=Tr(a^v,y^g,16),i=E,u[t+768>>2]=a,u[t+772>>2]=i,a=Be(S,x,a,i),u[t+648>>2]=a,i=E,u[t+652>>2]=i,nt=t,it=Tr(a^s,i^c,63),u[nt+384>>2]=it,u[t+388>>2]=E,c=h,y=A,h=Be(_,L,m,B),O=Be(c,y,A=Tr(O^h,U^(a=E),32),i=E),h=Be(h,y=a,s=Tr(O^m,(c=E)^B,24),a=E),v=E,u[t+128>>2]=h,u[t+132>>2]=v,h=Tr(h^A,i^v,16),i=A=E,u[t+776>>2]=h,u[t+780>>2]=i,h=Be(O,c,h,i),u[t+512>>2]=h,A=E,u[t+516>>2]=A,nt=t,it=Tr(s^h,a^A,63),u[nt+392>>2]=it,u[t+396>>2]=E,i=l,A=o,o=Tr(Q^(h=Be(k,F,l,C)),P^(l=E),32),s=Tr(i^(A=Be(A,f,o,a=E)),(c=C)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>>2]=a,h=Be(h,l,s,a),A=l=E,u[t+512>>2]=h,u[t+516>>2]=l,l=Tr(h^C,i^l,63),C=i=E,u[t+256>>2]=l,u[t+260>>2]=i,O=u[t+780>>2],m=u[t+520>>2],p=u[t+524>>2],y=u[t+776>>2],o=i=(n+1024|0)+(8|o)|0,f=u[t+264>>2],c=u[t+268>>2],v=Be(u[o>>2],u[o+4>>2],f,c),o=Be(m,p,y=Tr(y^v,(o=O)^(O=E),32),x=E),R=Be(m=v,O,c=Tr(p=o^f,c^(f=E),24),v=E),o=Be(o,f,O=Tr(R^y,(w=E)^x,16),U=E),f=y=E,u[t+520>>2]=o,u[t+524>>2]=f,c=Tr(o^c,f^v,63),v=E,y=u[t+900>>2],Q=u[t+640>>2],d=u[t+644>>2],_=u[t+896>>2],x=u[t+384>>2],m=u[t+388>>2],_=Tr(_^(B=Be(u[t+128>>2],u[t+132>>2],x,m)),(p=y)^(y=E),32),m=Tr(p=(Q=Be(Q,d,_,L=E))^x,m^(x=E),24),p=Q,Q=Tr((Q=_)^(_=Be(B,d=y,m,y=E)),(d=L)^(L=E),16),y=Tr(m^(p=Be(p,x,Q,P=E)),(T=E)^y,63),x=E,m=u[t+908>>2],N=u[t+648>>2],D=u[t+652>>2],I=u[t+904>>2],B=u[t+392>>2],k=u[t+396>>2],I=Tr(I^(F=Be(u[t+136>>2],u[t+140>>2],B,k)),(d=m)^(m=E),32),M=k=Tr(D=(N=Be(N,D,I,d=E))^B,k^(B=E),24),I=Tr((k=Be(F,D=m,k,m=E))^I,(F=E)^d,16),m=Tr(M^(N=Be(N,B,I,d=E)),(D=E)^m,63),B=E,M=p,H=T,p=Tr(I^(S=Be(S,g,c,v)),d^(g=E),32),c=Tr((I=Be(M,H,p,T=E))^c,(d=E)^v,24),v=Be(v=S,g,c,S=E),g=E,u[t>>2]=v,u[t+4>>2]=g,v=Tr(v^p,T^g,16),g=E,u[t+904>>2]=v,u[t+908>>2]=g,v=Be(I,d,v,g),g=E,u[t+640>>2]=v,u[t+644>>2]=g,nt=t,it=Tr(c^v,g^S,63),u[nt+264>>2]=it,u[t+268>>2]=E,g=y,v=Tr((c=Be(R,w,y,x))^s,(y=a)^(a=E),32),s=Tr(g^(S=Be(N,D,v,y=E)),(p=x)^(x=E),24),a=Be(g=c,a,s,c=E),g=E,u[i>>2]=a,u[i+4>>2]=g,a=Tr(a^v,y^g,16),i=E,u[t+768>>2]=a,u[t+772>>2]=i,a=Be(S,x,a,i),u[t+648>>2]=a,i=E,u[t+652>>2]=i,nt=t,it=Tr(a^s,i^c,63),u[nt+384>>2]=it,u[t+388>>2]=E,c=h,y=A,h=Be(_,L,m,B),O=Be(c,y,A=Tr(O^h,U^(a=E),32),i=E),h=Be(h,y=a,s=Tr(O^m,(c=E)^B,24),a=E),v=E,u[t+128>>2]=h,u[t+132>>2]=v,h=Tr(h^A,i^v,16),i=A=E,u[t+776>>2]=h,u[t+780>>2]=i,h=Be(O,c,h,i),u[t+512>>2]=h,A=E,u[t+516>>2]=A,nt=t,it=Tr(s^h,a^A,63),u[nt+392>>2]=it,u[t+396>>2]=E,i=l,A=o,o=Tr(Q^(h=Be(k,F,l,C)),P^(l=E),32),s=Tr(i^(A=Be(A,f,o,a=E)),(c=C)^(C=E),24),h=Be(h,i=l,s,l=E),i=E,u[t+136>>2]=h,u[t+140>>2]=i,h=Tr(o^h,a^i,16),o=E,u[t+896>>2]=h,u[t+900>>2]=o,h=Be(A,C,h,o),u[t+520>>2]=h,o=E,u[t+524>>2]=o,nt=t,it=Tr(s^h,o^l,63),u[nt+256>>2]=it,u[t+260>>2]=E,8!=(0|(e=e+1|0)););Yr(r,n),ye(r,n+1024|0),b=n+2048|0}function x(t,e){var r,n,i,o,a,s,c,h,l,A,p,d,g,y,m,v,b,w,I,_,B,C,Q,M,k,S,x,D,R,N,P,T,O,F,U,L,G=0,H=0,j=0,Y=0,K=0,q=0,J=0,V=0,z=0,X=0,W=0,Z=0,$=0,tt=0,et=0,rt=0,nt=0,it=0,ot=0;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1|0),H=-33554432&G,u[K+36>>2]=j-H,Y=Mr((33554431&e)<<7|G>>>25,e>>25,19,0),G=E+(tt-((W>>>0<(H=-67108864&rt)>>>0)+it|0)|0)|0,H=e=Y+(W-H|0)|0,e=e>>>0>>0?G+1|0:G,(G=H+33554432|0)>>>0<33554432&&(e=e+1|0),j=(q-(-33554432&et)|0)+((67108863&e)<<6|G>>>26)|0,u[t+4>>2]=j,e=t,t=-67108864&G,u[e>>2]=H-t}function D(t){var e=0,r=0,n=0,i=0,o=0,a=0,s=0,c=0,f=0;t:if(t|=0){o=(n=t+-8|0)+(t=-8&(r=u[t+-4>>2]))|0;e:if(!(1&r)){if(!(3&r))break t;if((n=n-(r=u[n>>2])|0)>>>0>2])))return u[8963]=t,u[o+4>>2]=-2&r,u[n+4>>2]=1|t,void(u[t+n>>2]=t)}else{if(r>>>0<=255){if(i=u[n+8>>2],r=r>>>3|0,(0|(e=u[n+12>>2]))==(0|i)){c=35844,f=u[8961]&ze(-2,r),u[c>>2]=f;break e}u[i+12>>2]=e,u[e+8>>2]=i;break e}if(s=u[n+24>>2],(0|n)==(0|(r=u[n+12>>2])))if((e=u[(i=n+20|0)>>2])||(e=u[(i=n+16|0)>>2])){for(;a=i,(e=u[(i=(r=e)+20|0)>>2])||(i=r+16|0,e=u[r+16>>2]););u[a>>2]=0}else r=0;else e=u[n+8>>2],u[e+12>>2]=r,u[r+8>>2]=e;if(!s)break e;i=u[n+28>>2];r:{if(u[(e=36148+(i<<2)|0)>>2]==(0|n)){if(u[e>>2]=r,r)break r;c=35848,f=u[8962]&ze(-2,i),u[c>>2]=f;break e}if(u[s+(u[s+16>>2]==(0|n)?16:20)>>2]=r,!r)break e}if(u[r+24>>2]=s,(e=u[n+16>>2])&&(u[r+16>>2]=e,u[e+24>>2]=r),!(e=u[n+20>>2]))break e;u[r+20>>2]=e,u[e+24>>2]=r}}if(!(o>>>0<=n>>>0)&&1&(r=u[o+4>>2])){e:{if(!(2&r)){if(u[8967]==(0|o)){if(u[8967]=n,t=u[8964]+t|0,u[8964]=t,u[n+4>>2]=1|t,u[8966]!=(0|n))break t;return u[8963]=0,void(u[8966]=0)}if(u[8966]==(0|o))return u[8966]=n,t=u[8963]+t|0,u[8963]=t,u[n+4>>2]=1|t,void(u[t+n>>2]=t);t=(-8&r)+t|0;r:if(r>>>0<=255){if(r=r>>>3|0,(0|(e=u[o+8>>2]))==(0|(i=u[o+12>>2]))){c=35844,f=u[8961]&ze(-2,r),u[c>>2]=f;break r}u[e+12>>2]=i,u[i+8>>2]=e}else{if(s=u[o+24>>2],(0|o)==(0|(r=u[o+12>>2])))if((e=u[(i=o+20|0)>>2])||(e=u[(i=o+16|0)>>2])){for(;a=i,(e=u[(i=(r=e)+20|0)>>2])||(i=r+16|0,e=u[r+16>>2]););u[a>>2]=0}else r=0;else e=u[o+8>>2],u[e+12>>2]=r,u[r+8>>2]=e;if(s){i=u[o+28>>2];n:{if(u[(e=36148+(i<<2)|0)>>2]==(0|o)){if(u[e>>2]=r,r)break n;c=35848,f=u[8962]&ze(-2,i),u[c>>2]=f;break r}if(u[s+(u[s+16>>2]==(0|o)?16:20)>>2]=r,!r)break r}u[r+24>>2]=s,(e=u[o+16>>2])&&(u[r+16>>2]=e,u[e+24>>2]=r),(e=u[o+20>>2])&&(u[r+20>>2]=e,u[e+24>>2]=r)}}if(u[n+4>>2]=1|t,u[t+n>>2]=t,u[8966]!=(0|n))break e;return void(u[8963]=t)}u[o+4>>2]=-2&r,u[n+4>>2]=1|t,u[t+n>>2]=t}if(t>>>0<=255)return r=35884+((t=t>>>3|0)<<3)|0,(e=u[8961])&(t=1<>2]:(u[8961]=t|e,t=r),u[r+8>>2]=n,u[t+12>>2]=n,u[n+12>>2]=r,void(u[n+8>>2]=t);u[n+16>>2]=0,u[n+20>>2]=0,e=0,(i=t>>>8|0)&&(e=31,t>>>0>16777215||(e=(r=i)<<(i=i+1048320>>>16&8),e=28+((e=((e<<=s=e+520192>>>16&4)<<(a=e+245760>>>16&2)>>>15|0)-(a|i|s)|0)<<1|t>>>e+21&1)|0)),u[(o=n)+28>>2]=e,a=36148+(e<<2)|0;e:{r:{if((i=u[8962])&(r=1<>>1|0)|0),r=u[a>>2];;){if(e=r,(-8&u[r+4>>2])==(0|t))break r;if(r=i>>>29|0,i<<=1,!(r=u[16+(a=e+(4&r)|0)>>2]))break}u[a+16>>2]=n,u[n+24>>2]=e}else u[8962]=r|i,u[a>>2]=n,u[n+24>>2]=a;u[n+12>>2]=n,u[n+8>>2]=n;break e}t=u[e+8>>2],u[t+12>>2]=n,u[e+8>>2]=n,u[n+24>>2]=0,u[n+12>>2]=e,u[n+8>>2]=t}if(t=u[8969]+-1|0,u[8969]=t,!t){for(n=36300;n=(t=u[n>>2])+8|0,t;);u[8969]=-1}}}}function R(t,e){var r=0,n=0,i=0,o=0,a=0,s=0,c=0,h=0;o=t+e|0;t:{e:if(!(1&(r=u[t+4>>2]))){if(!(3&r))break t;if(e=(r=u[t>>2])+e|0,(0|(t=t-r|0))==u[8966]){if(3==(3&(r=u[o+4>>2])))return u[8963]=e,u[o+4>>2]=-2&r,u[t+4>>2]=1|e,void(u[o>>2]=e)}else{if(r>>>0<=255){if(i=r>>>3|0,r=u[t+8>>2],(0|(n=u[t+12>>2]))==(0|r)){c=35844,h=u[8961]&ze(-2,i),u[c>>2]=h;break e}u[r+12>>2]=n,u[n+8>>2]=r;break e}if(s=u[t+24>>2],(0|(r=u[t+12>>2]))==(0|t))if((i=u[(n=t+20|0)>>2])||(i=u[(n=t+16|0)>>2])){for(;a=n,(i=u[(n=(r=i)+20|0)>>2])||(n=r+16|0,i=u[r+16>>2]););u[a>>2]=0}else r=0;else n=u[t+8>>2],u[n+12>>2]=r,u[r+8>>2]=n;if(!s)break e;n=u[t+28>>2];r:{if(u[(i=36148+(n<<2)|0)>>2]==(0|t)){if(u[i>>2]=r,r)break r;c=35848,h=u[8962]&ze(-2,n),u[c>>2]=h;break e}if(u[s+(u[s+16>>2]==(0|t)?16:20)>>2]=r,!r)break e}if(u[r+24>>2]=s,(n=u[t+16>>2])&&(u[r+16>>2]=n,u[n+24>>2]=r),!(n=u[t+20>>2]))break e;u[r+20>>2]=n,u[n+24>>2]=r}}e:{if(!(2&(r=u[o+4>>2]))){if(u[8967]==(0|o)){if(u[8967]=t,e=u[8964]+e|0,u[8964]=e,u[t+4>>2]=1|e,u[8966]!=(0|t))break t;return u[8963]=0,void(u[8966]=0)}if(u[8966]==(0|o))return u[8966]=t,e=u[8963]+e|0,u[8963]=e,u[t+4>>2]=1|e,void(u[t+e>>2]=e);e=(-8&r)+e|0;r:if(r>>>0<=255){if(i=r>>>3|0,r=u[o+8>>2],(0|(n=u[o+12>>2]))==(0|r)){c=35844,h=u[8961]&ze(-2,i),u[c>>2]=h;break r}u[r+12>>2]=n,u[n+8>>2]=r}else{if(s=u[o+24>>2],(0|o)==(0|(r=u[o+12>>2])))if((i=u[(n=o+20|0)>>2])||(i=u[(n=o+16|0)>>2])){for(;a=n,(i=u[(n=(r=i)+20|0)>>2])||(n=r+16|0,i=u[r+16>>2]););u[a>>2]=0}else r=0;else n=u[o+8>>2],u[n+12>>2]=r,u[r+8>>2]=n;if(s){n=u[o+28>>2];n:{if(u[(i=36148+(n<<2)|0)>>2]==(0|o)){if(u[i>>2]=r,r)break n;c=35848,h=u[8962]&ze(-2,n),u[c>>2]=h;break r}if(u[s+(u[s+16>>2]==(0|o)?16:20)>>2]=r,!r)break r}u[r+24>>2]=s,(n=u[o+16>>2])&&(u[r+16>>2]=n,u[n+24>>2]=r),(n=u[o+20>>2])&&(u[r+20>>2]=n,u[n+24>>2]=r)}}if(u[t+4>>2]=1|e,u[t+e>>2]=e,u[8966]!=(0|t))break e;return void(u[8963]=e)}u[o+4>>2]=-2&r,u[t+4>>2]=1|e,u[t+e>>2]=e}if(e>>>0<=255)return e=35884+((r=e>>>3|0)<<3)|0,(n=u[8961])&(r=1<>2]:(u[8961]=r|n,r=e),u[e+8>>2]=t,u[r+12>>2]=t,u[t+12>>2]=e,void(u[t+8>>2]=r);u[t+16>>2]=0,u[t+20>>2]=0,r=0,(i=e>>>8|0)&&(r=31,e>>>0>16777215||(r=28+((r=((o=(i<<=a=i+1048320>>>16&8)<<(r=i+520192>>>16&4))<<(i=o+245760>>>16&2)>>>15|0)-(i|r|a)|0)<<1|e>>>r+21&1)|0)),u[(n=t)+28>>2]=r,i=36148+(r<<2)|0;e:{if((n=u[8962])&(a=1<>>1|0)|0),r=u[i>>2];;){if(i=r,(-8&u[r+4>>2])==(0|e))break e;if(r=n>>>29|0,n<<=1,!(r=u[16+(a=i+(4&r)|0)>>2]))break}u[a+16>>2]=t}else u[8962]=n|a,u[i>>2]=t;return u[t+24>>2]=i,u[t+12>>2]=t,void(u[t+8>>2]=t)}e=u[i+8>>2],u[e+12>>2]=t,u[i+8>>2]=t,u[t+24>>2]=0,u[t+12>>2]=i,u[t+8>>2]=e}}function N(t,e,r,n,i){var o,s,h,f,l,A,p,d,g,y,m,v,w,I,E,_=0,B=0,C=0,Q=0,M=0,k=0,S=0,x=0,D=0,R=0,N=0,P=0,T=0,O=0,F=0,U=0,L=0,G=0,H=0,j=0,Y=0,K=0,q=0,J=0,V=0,z=0,X=0,W=0,Z=0,$=0,tt=0,et=0,rt=0,nt=0;for(b=o=b+-64|0,s=u[t+60>>2],h=u[t+56>>2],H=u[t+52>>2],j=u[t+48>>2],f=u[t+44>>2],l=u[t+40>>2],A=u[t+36>>2],p=u[t+32>>2],d=u[t+28>>2],g=u[t+24>>2],y=u[t+20>>2],m=u[t+16>>2],v=u[t+12>>2],w=u[t+8>>2],I=u[t+4>>2],E=u[t>>2];;){if(!i&n>>>0>63|i>>>0>0)Q=r;else{if(_=0,Q=B=ct(o,0,64),n|i)for(;a[_+B|0]=c[e+_|0],!i&n>>>0>(_=_+1|0)>>>0|i>>>0>0;);e=Q,q=r}for(Y=20,x=E,D=I,R=w,N=v,_=m,B=y,r=g,P=d,M=p,k=A,T=l,O=s,F=h,C=H,U=j,G=f;S=_,x=jr((_=_+x|0)^U,16),U=jr(S^(M=x+M|0),12),S=M,M=jr((M=x)^(x=_+U|0),8),_=jr(U^(L=S+M|0),7),S=B,D=jr((B=B+D|0)^C,16),C=jr(S^(k=D+k|0),12),S=k,k=jr((k=D)^(D=B+C|0),8),B=jr(C^(K=S+k|0),7),C=r,R=jr((r=r+R|0)^F,16),S=F=jr(C^(T=R+T|0),12),F=jr((C=R)^(R=r+F|0),8),r=jr(S^(T=F+T|0),7),C=P,N=jr((P=P+N|0)^O,16),G=C=jr(C^(O=N+G|0),12),S=O,O=jr((O=N)^(N=P+C|0),8),P=jr(G^(C=S+O|0),7),S=T,T=jr((x=B+x|0)^O,16),B=jr((U=S+T|0)^B,12),O=jr(T^(x=B+x|0),8),B=jr(B^(T=U+O|0),7),M=jr((D=r+D|0)^M,16),r=jr((C=M+C|0)^r,12),U=jr(M^(D=r+D|0),8),r=jr(r^(G=C+U|0),7),M=jr((R=P+R|0)^k,16),P=jr((k=M+L|0)^P,12),C=jr(M^(R=P+R|0),8),P=jr(P^(M=k+C|0),7),k=jr((N=_+N|0)^F,16),_=jr((L=k+K|0)^_,12),F=jr(k^(N=_+N|0),8),_=jr(_^(k=L+F|0),7),Y=Y+-2|0;);if(Y=c[e+4|0]|c[e+5|0]<<8|c[e+6|0]<<16|c[e+7|0]<<24,L=c[e+8|0]|c[e+9|0]<<8|c[e+10|0]<<16|c[e+11|0]<<24,K=c[e+12|0]|c[e+13|0]<<8|c[e+14|0]<<16|c[e+15|0]<<24,J=c[e+16|0]|c[e+17|0]<<8|c[e+18|0]<<16|c[e+19|0]<<24,V=c[e+20|0]|c[e+21|0]<<8|c[e+22|0]<<16|c[e+23|0]<<24,z=c[e+24|0]|c[e+25|0]<<8|c[e+26|0]<<16|c[e+27|0]<<24,X=c[e+28|0]|c[e+29|0]<<8|c[e+30|0]<<16|c[e+31|0]<<24,W=c[e+32|0]|c[e+33|0]<<8|c[e+34|0]<<16|c[e+35|0]<<24,Z=c[e+36|0]|c[e+37|0]<<8|c[e+38|0]<<16|c[e+39|0]<<24,$=c[e+40|0]|c[e+41|0]<<8|c[e+42|0]<<16|c[e+43|0]<<24,tt=c[e+44|0]|c[e+45|0]<<8|c[e+46|0]<<16|c[e+47|0]<<24,et=c[e+48|0]|c[e+49|0]<<8|c[e+50|0]<<16|c[e+51|0]<<24,rt=c[e+52|0]|c[e+53|0]<<8|c[e+54|0]<<16|c[e+55|0]<<24,nt=c[e+56|0]|c[e+57|0]<<8|c[e+58|0]<<16|c[e+59|0]<<24,S=c[e+60|0]|c[e+61|0]<<8|c[e+62|0]<<16|c[e+63|0]<<24,rr(Q,x+E^(c[0|e]|c[e+1|0]<<8|c[e+2|0]<<16|c[e+3|0]<<24)),rr(Q+4|0,D+I^Y),rr(Q+8|0,R+w^L),rr(Q+12|0,N+v^K),rr(Q+16|0,_+m^J),rr(Q+20|0,B+y^V),rr(Q+24|0,r+g^z),rr(Q+28|0,P+d^X),rr(Q+32|0,M+p^W),rr(Q+36|0,k+A^Z),rr(Q+40|0,$^T+l),rr(Q+44|0,tt^G+f),rr(Q+48|0,et^U+j),rr(Q+52|0,rt^C+H),rr(Q+56|0,nt^F+h),rr(Q+60|0,S^O+s),H=((_=j+1|0)>>>0>>0)+H|0,!i&n>>>0<=64|i>>>0<0){if(!(!n|!i&n>>>0>63|i>>>0>0))for(B=0;a[B+q|0]=c[Q+B|0],(0|n)!=(0|(B=B+1|0)););u[t+52>>2]=H,u[t+48>>2]=_,b=o- -64|0;break}e=e- -64|0,r=Q- -64|0,i=i+-1|0,(n=n+-64|0)>>>0<4294967232&&(i=i+1|0),j=_}}function P(t,e,r,n){var i=0,o=0,a=0,s=0,h=0,l=0,A=0,p=0,d=0,g=0,y=0,m=0,v=0,b=0,w=0,I=0,_=0,B=0,C=0,Q=0,M=0,k=0,S=0,x=0,D=0;if(o=u[t+36>>2],s=u[t+32>>2],A=u[t+28>>2],a=u[t+24>>2],l=u[t+20>>2],!n&r>>>0>=16|n>>>0>0)for(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D=o,s=o>>>0>>0?i+1|0:i,i=Mr(h,0,y,0),o=E,a=(p=Mr(l,0,g,0))+i|0,i=E+o|0,i=a>>>0

>>0?i+1|0:i,o=Mr(m,0,I,0),i=E+i|0,i=(a=o+a|0)>>>0>>0?i+1|0:i,p=Mr(v,0,B,0),o=E+i|0,o=(a=p+a|0)>>>0

>>0?o+1|0:o,i=(p=Mr(b,0,C,0))+a|0,a=E+o|0,a=i>>>0

>>0?a+1|0:a,p=i,i=Mr(h,0,I,0),h=E,o=(l=Mr(l,0,y,0))+i|0,i=E+h|0,i=o>>>0>>0?i+1|0:i,h=Mr(m,0,B,0),i=E+i|0,i=(o=h+o|0)>>>0>>0?i+1|0:i,h=Mr(v,0,C,0),i=E+i|0,i=(o=h+o|0)>>>0>>0?i+1|0:i,h=(l=Mr(b,0,M,0))+o|0,o=E+i|0,(o=(i=(67108863&(o=h>>>0>>0?o+1|0:o))<<6|(i=h)>>>26)+p|0)>>>0>>0&&(a=a+1|0),l=o,i=s,(o=(a=(67108863&a)<<6|o>>>26)+D|0)>>>0>>0&&(i=i+1|0),s=o,o=d,(a=(i=(67108863&i)<<6|s>>>26)+x|0)>>>0>>0&&(o=o+1|0),i=a,a=A,(A=(o=(67108863&o)<<6|i>>>26)+S|0)>>>0>>0&&(a=a+1|0),a=(67108863&l)+((h=f((67108863&a)<<6|(o=A)>>>26,5)+(67108863&h)|0)>>>26|0)|0,A=67108863&s,s=67108863&i,o&=67108863,l=67108863&h,e=e+16|0,i=n+-1|0,(r=r+-16|0)>>>0<4294967280&&(i=i+1|0),n=i,!i&r>>>0>15|i>>>0>0;);u[t+20>>2]=l,u[t+36>>2]=o,u[t+32>>2]=s,u[t+28>>2]=A,u[t+24>>2]=a}function T(t,e,r){var n,i,o,s,u=0,h=0,f=0,l=0,A=0;return b=o=b-160|0,Ve(e,r,32,0),a[0|e]=248&c[0|e],a[e+31|0]=63&c[e+31|0]|64,ht(o,e),Ee(t,o),h=c[(i=r)+8|0]|c[i+9|0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|0]<<16|c[u+3|0]<<24,t=c[u+4|0]|c[u+5|0]<<8|c[u+6|0]<<16|c[u+7|0]<<24,h=c[u+28|0]|c[u+29|0]<<8|c[u+30|0]<<16|c[u+31|0]<<24,u=c[u+24|0]|c[u+25|0]<<8|c[u+26|0]<<16|c[u+27|0]<<24,a[n+56|0]=u,a[n+57|0]=u>>>8,a[n+58|0]=u>>>16,a[n+59|0]=u>>>24,a[n+60|0]=h,a[n+61|0]=h>>>8,a[n+62|0]=h>>>16,a[n+63|0]=h>>>24,a[n+48|0]=A,a[n+49|0]=A>>>8,a[n+50|0]=A>>>16,a[n+51|0]=A>>>24,a[n+52|0]=r,a[n+53|0]=r>>>8,a[n+54|0]=r>>>16,a[n+55|0]=r>>>24,a[n+40|0]=f,a[n+41|0]=f>>>8,a[n+42|0]=f>>>16,a[n+43|0]=f>>>24,a[n+44|0]=l,a[n+45|0]=l>>>8,a[n+46|0]=l>>>16,a[n+47|0]=l>>>24,a[n+32|0]=e,a[n+33|0]=e>>>8,a[n+34|0]=e>>>16,a[n+35|0]=e>>>24,a[n+36|0]=t,a[n+37|0]=t>>>8,a[n+38|0]=t>>>16,a[n+39|0]=t>>>24,b=o+160|0,0}function O(t,e){var r,n,i,o,a,s,c,h,f,l=0,A=0,p=0,d=0,g=0,y=0,m=0,v=0,b=0,w=0,I=0,_=0,B=0,C=0,Q=0;I=A=u[(l=e)+4>>2],b=A>>31,_=A=u[l+8>>2],n=A>>31,v=A=u[l+12>>2],w=A>>31,B=A=u[l+16>>2],i=A>>31,m=A=u[l+20>>2],y=A>>31,C=A=u[l+24>>2],o=A>>31,a=A=u[l>>2],s=A>>31,d=t,g=A=Mr(l=u[l+36>>2],l>>31,121666,0),l=E,(A=A+16777216|0)>>>0<16777216&&(l=l+1|0),r=A,A=l,c=g-(-33554432&r)|0,p=Mr(l=u[e+32>>2],l>>31,121666,0),h=E,g=Mr(e=u[e+28>>2],e>>31,121666,0),l=E,Q=p,(e=g+16777216|0)>>>0<16777216&&(l=l+1|0),f=e,p=e,e=(e=l>>25)+h|0,e=(l=Q+(p=(33554431&l)<<7|p>>>25)|0)>>>0

>>0?e+1|0:e,p=l,Q=d,l=e,(e=p+33554432|0)>>>0<33554432&&(l=l+1|0),d=((67108863&l)<<6|e>>>26)+c|0,u[Q+36>>2]=d,e&=-67108864,u[t+32>>2]=p-e,d=g-(-33554432&f)|0,l=Mr(C,o,121666,0),C=E,g=Mr(m,y,121666,0),e=E,p=l,(l=g+16777216|0)>>>0<16777216&&(e=e+1|0),m=l,y=l,l=(l=e>>25)+C|0,l=(e=p+(y=(33554431&e)<<7|y>>>25)|0)>>>0>>0?l+1|0:l,(p=e+33554432|0)>>>0<33554432&&(l=l+1|0),d=d+((67108863&l)<<6|p>>>26)|0,u[t+28>>2]=d,l=-67108864&p,u[t+24>>2]=e-l,d=t,m=g-(-33554432&m)|0,e=Mr(B,i,121666,0),B=E,g=Mr(v,w,121666,0),l=E,p=e,(e=g+16777216|0)>>>0<16777216&&(l=l+1|0),v=e,w=(33554431&l)<<7|e>>>25,l=(l>>25)+B|0,y=d,e=l=(p=p+w|0)>>>0>>0?l+1|0:l,(l=p+33554432|0)>>>0<33554432&&(e=e+1|0),d=((67108863&e)<<6|l>>>26)+m|0,u[y+20>>2]=d,e=-67108864&l,u[t+16>>2]=p-e,d=t,v=g-(-33554432&v)|0,l=Mr(_,n,121666,0),_=E,g=Mr(I,b,121666,0),e=E,p=l,(l=g+16777216|0)>>>0<16777216&&(e=e+1|0),I=l,b=(33554431&e)<<7|l>>>25,e=(e>>25)+_|0,m=d,l=e=(p=p+b|0)>>>0>>0?e+1|0:e,(e=p+33554432|0)>>>0<33554432&&(l=l+1|0),d=((67108863&l)<<6|e>>>26)+v|0,u[m+12>>2]=d,e&=-67108864,u[t+8>>2]=p-e,e=Mr((33554431&A)<<7|r>>>25,A>>25,19,0),l=E,d=g-(-33554432&I)|0,A=Mr(a,s,121666,0),l=E+l|0,l=(e=A+e|0)>>>0>>0?l+1|0:l,(A=e+33554432|0)>>>0<33554432&&(l=l+1|0),g=d+((67108863&l)<<6|A>>>26)|0,u[t+4>>2]=g,l=t,t=-67108864&A,u[l>>2]=e-t}function F(t,e,r){var n,i=0,o=0,s=0;b=n=b+-64|0;t:{if(!(!r|r>>>0>=65)){if(i=-1,!(c[t+80|0]|c[t+81|0]<<8|c[t+82|0]<<16|c[t+83|0]<<24|c[t+84|0]|c[t+85|0]<<8|c[t+86|0]<<16|c[t+87|0]<<24)){if(o=t,(i=c[t+352|0]|c[t+353|0]<<8|c[t+354|0]<<16|c[t+355|0]<<24)>>>0>=129){if(pt(t,128),_(t,s=t+96|0),i=(c[t+352|0]|c[t+353|0]<<8|c[t+354|0]<<16|c[t+355|0]<<24)-128|0,a[t+352|0]=i,a[t+353|0]=i>>>8,a[t+354|0]=i>>>16,a[t+355|0]=i>>>24,i>>>0>=129)break t;V(s,t+224|0,i),i=c[t+352|0]|c[t+353|0]<<8|c[t+354|0]<<16|c[t+355|0]<<24}pt(o,i),c[t+356|0]&&(a[t+88|0]=-1,a[t+89|0]=16777215,a[t+90|0]=65535,a[t+91|0]=255,a[t+92|0]=-1,a[t+93|0]=16777215,a[t+94|0]=65535,a[t+95|0]=255),a[t+80|0]=-1,a[t+81|0]=16777215,a[t+82|0]=65535,a[t+83|0]=255,a[t+84|0]=-1,a[t+85|0]=16777215,a[t+86|0]=65535,a[t+87|0]=255,ct((i=t+96|0)+(o=c[t+352|0]|c[t+353|0]<<8|c[t+354|0]<<16|c[t+355|0]<<24)|0,0,256-o|0),_(t,i),ke(n,c[0|t]|c[t+1|0]<<8|c[t+2|0]<<16|c[t+3|0]<<24,c[t+4|0]|c[t+5|0]<<8|c[t+6|0]<<16|c[t+7|0]<<24),ke(8|n,c[t+8|0]|c[t+9|0]<<8|c[t+10|0]<<16|c[t+11|0]<<24,c[t+12|0]|c[t+13|0]<<8|c[t+14|0]<<16|c[t+15|0]<<24),ke(n+16|0,c[t+16|0]|c[t+17|0]<<8|c[t+18|0]<<16|c[t+19|0]<<24,c[t+20|0]|c[t+21|0]<<8|c[t+22|0]<<16|c[t+23|0]<<24),ke(n+24|0,c[t+24|0]|c[t+25|0]<<8|c[t+26|0]<<16|c[t+27|0]<<24,c[t+28|0]|c[t+29|0]<<8|c[t+30|0]<<16|c[t+31|0]<<24),ke(n+32|0,c[t+32|0]|c[t+33|0]<<8|c[t+34|0]<<16|c[t+35|0]<<24,c[t+36|0]|c[t+37|0]<<8|c[t+38|0]<<16|c[t+39|0]<<24),ke(n+40|0,c[t+40|0]|c[t+41|0]<<8|c[t+42|0]<<16|c[t+43|0]<<24,c[t+44|0]|c[t+45|0]<<8|c[t+46|0]<<16|c[t+47|0]<<24),ke(n+48|0,c[t+48|0]|c[t+49|0]<<8|c[t+50|0]<<16|c[t+51|0]<<24,c[t+52|0]|c[t+53|0]<<8|c[t+54|0]<<16|c[t+55|0]<<24),ke(n+56|0,c[t+56|0]|c[t+57|0]<<8|c[t+58|0]<<16|c[t+59|0]<<24,c[t+60|0]|c[t+61|0]<<8|c[t+62|0]<<16|c[t+63|0]<<24),V(e,n,r),Se(t,64),Se(i,256),i=0}return b=n- -64|0,i}lr(),A()}p(1854,1886,306,1931),A()}function U(t,e){var r,n,i,o,a,s,h,f,l,A=0,p=0,d=0,g=0,y=0,m=0,v=0,b=0,w=0,I=0,_=0,B=0;r=c[0|e]|c[e+1|0]<<8|c[e+2|0]<<16|c[e+3|0]<<24,I=Ke(e+4|0),A=E,b=Ke(e+7|0),d=E,w=Ke(e+10|0),p=E,n=Ke(e+13|0),v=E,g=c[e+16|0]|c[e+17|0]<<8|c[e+18|0]<<16|c[e+19|0]<<24,i=Ke(e+20|0),_=E,o=Ke(e+23|0),a=E,s=Ke(e+26|0),h=E,f=Ke(e+29|0),e=p<<3|w>>>29,B=p=w<<3,(p=p+16777216|0)>>>0<16777216&&(e=e+1|0),w=p,p=e,d=e=d<<5|b>>>27,l=m=t,m=y=b<<5,A=e=A<<6|(b=I)>>>26,(e=16777216+(b<<=6)|0)>>>0<16777216&&(A=A+1|0),I=e,y=e,e=(e=A>>25)+d|0,e=(A=m+(y=(33554431&A)<<7|y>>>25)|0)>>>0>>0?e+1|0:e,(d=A+33554432|0)>>>0<33554432&&(e=e+1|0),m=(B-(-33554432&w)|0)+((67108863&e)<<6|d>>>26)|0,u[l+12>>2]=m,e=-67108864&d,u[t+8>>2]=A-e,e=0,(g=(d=g)+16777216|0)>>>0<16777216&&(e=1),m=g,g=e,B=d-(-33554432&m)|0,e=v<<2|(d=n)>>>30,v=d<<2,d=e,e=p>>25,p=(y=v)+(v=(33554431&p)<<7|w>>>25)|0,e=e+d|0,y=A=t,A=e=p>>>0>>0?e+1|0:e,(e=p+33554432|0)>>>0<33554432&&(A=A+1|0),d=((67108863&A)<<6|e>>>26)+B|0,u[y+20>>2]=d,e&=-67108864,u[t+16>>2]=p-e,y=(A=i)<<7,e=(e=_<<7|A>>>25)+(A=g>>25)|0,e=(g=y+(d=(33554431&g)<<7|m>>>25)|0)>>>0>>0?e+1|0:e,g=A=g,(A=A+33554432|0)>>>0<33554432&&(e=e+1|0),d=A,A=e,e=-67108864&d,u[(p=t)+24>>2]=g-e,e=a<<5|(p=o)>>>27,_=p<<=5,(p=p+16777216|0)>>>0<16777216&&(e=e+1|0),v=p,p=e,A=(_-(-33554432&v)|0)+((67108863&A)<<6|d>>>26)|0,u[(g=t)+28>>2]=A,d=(A=s)<<4,A=e=h<<4|A>>>28,e=(e=p>>25)+A|0,e=(p=(m=d)+(d=(33554431&p)<<7|v>>>25)|0)>>>0>>0?e+1|0:e,p=A=p,(A=A+33554432|0)>>>0<33554432&&(e=e+1|0),d=A,A=e,e=-67108864&d,u[g+32>>2]=p-e,e=0,p=g=(g=f)<<2&33554428,(g=g+16777216|0)>>>0<16777216&&(e=e+1|0),p=(p-(33554432&g)|0)+((67108863&A)<<6|d>>>26)|0,u[t+36>>2]=p,g=Mr((33554431&e)<<7|g>>>25,e>>>25|0,19,0),e=E,e=(A=g+r|0)>>>0>>0?e+1|0:e,(p=A+33554432|0)>>>0<33554432&&(e=e+1|0),g=(b-(-33554432&I)|0)+((67108863&e)<<6|p>>>26)|0,u[t+4>>2]=g,e=t,t=-67108864&p,u[e>>2]=A-t}function L(t,e,r,n){var i,o=0,s=0;b=i=b-16|0,o=-31;t:{e:{r:{n:switch(n+-1|0){case 1:if(e>>>0<13)break e;n=c[35660]|c[35661]<<8|c[35662]<<16|c[35663]<<24,o=c[35656]|c[35657]<<8|c[35658]<<16|c[35659]<<24,a[0|t]=o,a[t+1|0]=o>>>8,a[t+2|0]=o>>>16,a[t+3|0]=o>>>24,a[t+4|0]=n,a[t+5|0]=n>>>8,a[t+6|0]=n>>>16,a[t+7|0]=n>>>24,n=c[35665]|c[35666]<<8|c[35667]<<16|c[35668]<<24,o=c[35661]|c[35662]<<8|c[35663]<<16|c[35664]<<24,a[t+5|0]=o,a[t+6|0]=o>>>8,a[t+7|0]=o>>>16,a[t+8|0]=o>>>24,a[t+9|0]=n,a[t+10|0]=n>>>8,a[t+11|0]=n>>>16,a[t+12|0]=n>>>24,s=-12,n=12;break r;case 0:break n;default:break t}if(e>>>0<12)break e;n=c[35673]|c[35674]<<8|c[35675]<<16|c[35676]<<24,o=c[35669]|c[35670]<<8|c[35671]<<16|c[35672]<<24,a[0|t]=o,a[t+1|0]=o>>>8,a[t+2|0]=o>>>16,a[t+3|0]=o>>>24,a[t+4|0]=n,a[t+5|0]=n>>>8,a[t+6|0]=n>>>16,a[t+7|0]=n>>>24,n=c[35677]|c[35678]<<8|c[35679]<<16|c[35680]<<24,a[t+8|0]=n,a[t+9|0]=n>>>8,a[t+10|0]=n>>>16,a[t+11|0]=n>>>24,s=-11,n=11}if(o=gt(r))break t;if($t(i+5|0,19),!((o=e+s|0)>>>0<=(e=Tt(i+5|0))>>>0)&&(t=V(t+n|0,i+5|0,e+1|0),!((n=o-e|0)>>>0<4)&&(a[0|(t=t+e|0)]=4025636,a[t+1|0]=15725,a[t+2|0]=61,a[t+3|0]=0,$t(i+5|0,u[r+44>>2]),!((n=n+-3|0)>>>0<=(e=Tt(i+5|0))>>>0)&&(t=V(t+3|0,i+5|0,e+1|0),!((n=n-e|0)>>>0<4)&&(a[0|(t=t+e|0)]=4027436,a[t+1|0]=15732,a[t+2|0]=61,a[t+3|0]=0,$t(i+5|0,u[r+40>>2]),!((n=n+-3|0)>>>0<=(e=Tt(i+5|0))>>>0)&&(t=V(t+3|0,i+5|0,e+1|0),!((n=n-e|0)>>>0<4)&&(a[0|(t=t+e|0)]=4026412,a[t+1|0]=15728,a[t+2|0]=61,a[t+3|0]=0,$t(i+5|0,u[r+48>>2]),!((n=n+-3|0)>>>0<=(e=Tt(i+5|0))>>>0)&&(t=V(t+3|0,i+5|0,e+1|0),!((n=n-e|0)>>>0<2)&&(a[0|(t=t+e|0)]=36,a[t+1|0]=0,$(t=t+1|0,e=n+-1|0,u[r+16>>2],u[r+20>>2],3)))))))))){if(o=-31,(n=(n=e)-(e=Tt(t))|0)>>>0<2)break t;return a[0|(t=t+e|0)]=36,a[t+1|0]=0,t=$(t+1|0,n+-1|0,u[r>>2],u[r+4>>2],3),b=i+16|0,t?0:-31}}o=-31}return b=i+16|0,o}function G(t,e,r,n){var i,o=0;i=o=b,b=o=o-576&-64,u[o+188>>2]=0,rr(o+188|0,e);t:if(e>>>0<=64){if((0|we(o+192|0,0,0,e))<0)break t;if((0|Nr(o+192|0,o+188|0,4,0))<0)break t;if((0|Nr(o+192|0,r,n,0))<0)break t;Ze(o+192|0,t,e)}else if(!((0|we(o+192|0,0,0,64))<0||(0|Nr(o+192|0,o+188|0,4,0))<0||(0|Nr(o+192|0,r,n,0))<0||(0|Ze(o+192|0,o+112|0,64))<0)){if(r=u[o+116>>2],n=u[o+112>>2],a[0|t]=n,a[t+1|0]=n>>>8,a[t+2|0]=n>>>16,a[t+3|0]=n>>>24,a[t+4|0]=r,a[t+5|0]=r>>>8,a[t+6|0]=r>>>16,a[t+7|0]=r>>>24,r=u[o+124>>2],n=u[o+120>>2],a[t+8|0]=n,a[t+9|0]=n>>>8,a[t+10|0]=n>>>16,a[t+11|0]=n>>>24,a[t+12|0]=r,a[t+13|0]=r>>>8,a[t+14|0]=r>>>16,a[t+15|0]=r>>>24,r=u[o+140>>2],n=u[o+136>>2],a[t+24|0]=n,a[t+25|0]=n>>>8,a[t+26|0]=n>>>16,a[t+27|0]=n>>>24,a[t+28|0]=r,a[t+29|0]=r>>>8,a[t+30|0]=r>>>16,a[t+31|0]=r>>>24,r=u[o+132>>2],n=u[o+128>>2],a[t+16|0]=n,a[t+17|0]=n>>>8,a[t+18|0]=n>>>16,a[t+19|0]=n>>>24,a[t+20|0]=r,a[t+21|0]=r>>>8,a[t+22|0]=r>>>16,a[t+23|0]=r>>>24,t=t+32|0,(e=e+-32|0)>>>0>=65)for(;;){if(V(o+48|0,o+112|0,64),(0|Ge(o+112|0,64,o+48|0,64,0,0,0))<0)break t;if(r=u[o+116>>2],n=u[o+112>>2],a[0|t]=n,a[t+1|0]=n>>>8,a[t+2|0]=n>>>16,a[t+3|0]=n>>>24,a[t+4|0]=r,a[t+5|0]=r>>>8,a[t+6|0]=r>>>16,a[t+7|0]=r>>>24,r=u[o+124>>2],n=u[o+120>>2],a[t+8|0]=n,a[t+9|0]=n>>>8,a[t+10|0]=n>>>16,a[t+11|0]=n>>>24,a[t+12|0]=r,a[t+13|0]=r>>>8,a[t+14|0]=r>>>16,a[t+15|0]=r>>>24,r=u[o+140>>2],n=u[o+136>>2],a[t+24|0]=n,a[t+25|0]=n>>>8,a[t+26|0]=n>>>16,a[t+27|0]=n>>>24,a[t+28|0]=r,a[t+29|0]=r>>>8,a[t+30|0]=r>>>16,a[t+31|0]=r>>>24,r=u[o+132>>2],n=u[o+128>>2],a[t+16|0]=n,a[t+17|0]=n>>>8,a[t+18|0]=n>>>16,a[t+19|0]=n>>>24,a[t+20|0]=r,a[t+21|0]=r>>>8,a[t+22|0]=r>>>16,a[t+23|0]=r>>>24,t=t+32|0,!((e=e+-32|0)>>>0>64))break}V(o+48|0,o+112|0,64),(0|Ge(o+112|0,e,o+48|0,64,0,0,0))<0||V(t,o+112|0,e)}Se(o+192|0,384),b=i}function H(t,e,r){var n=0,i=0,o=0,a=0,s=0,u=0,h=0,f=0,l=0,A=0,p=0,d=0,g=0,y=0,m=0,v=0,b=0,w=0,I=0;for(o=2036477234,l=857760878,A=1634760805,a=1797285236,f=c[0|r]|c[r+1|0]<<8|c[r+2|0]<<16|c[r+3|0]<<24,n=c[r+4|0]|c[r+5|0]<<8|c[r+6|0]<<16|c[r+7|0]<<24,i=c[r+8|0]|c[r+9|0]<<8|c[r+10|0]<<16|c[r+11|0]<<24,u=c[r+12|0]|c[r+13|0]<<8|c[r+14|0]<<16|c[r+15|0]<<24,d=c[r+16|0]|c[r+17|0]<<8|c[r+18|0]<<16|c[r+19|0]<<24,g=c[r+20|0]|c[r+21|0]<<8|c[r+22|0]<<16|c[r+23|0]<<24,m=c[r+24|0]|c[r+25|0]<<8|c[r+26|0]<<16|c[r+27|0]<<24,v=c[r+28|0]|c[r+29|0]<<8|c[r+30|0]<<16|c[r+31|0]<<24,r=c[0|e]|c[e+1|0]<<8|c[e+2|0]<<16|c[e+3|0]<<24,p=c[e+4|0]|c[e+5|0]<<8|c[e+6|0]<<16|c[e+7|0]<<24,s=c[e+8|0]|c[e+9|0]<<8|c[e+10|0]<<16|c[e+11|0]<<24,e=c[e+12|0]|c[e+13|0]<<8|c[e+14|0]<<16|c[e+15|0]<<24;h=f,A=jr((y=r)^(r=f+A|0),16),h=d=jr(h^(f=A+d|0),12),d=jr((y=A)^(A=r+d|0),8),f=jr(h^(b=d+f|0),7),h=n,l=jr((r=n+l|0)^p,16),h=p=jr(h^(n=l+g|0),12),p=jr((y=l)^(l=r+p|0),8),r=jr(h^(g=p+n|0),7),h=i,n=jr((o=o+i|0)^s,16),h=s=jr(h^(i=n+m|0),12),y=jr(n^(s=o+s|0),8),o=jr(h^(n=y+i|0),7),a=jr((i=e)^(e=a+u|0),16),u=jr((i=a+v|0)^u,12),e=jr(a^(w=e+u|0),8),a=jr(u^(i=e+i|0),7),h=n,n=jr((n=e)^(e=r+A|0),16),r=jr((u=h+n|0)^r,12),e=jr(n^(A=e+r|0),8),n=jr(r^(m=u+e|0),7),h=i,i=jr((r=o+l|0)^d,16),o=jr((u=h+i|0)^o,12),r=jr(i^(l=r+o|0),8),i=jr(o^(v=u+r|0),7),u=jr((o=a+s|0)^p,16),a=jr((s=u+b|0)^a,12),p=jr(u^(o=o+a|0),8),u=jr(a^(d=s+p|0),7),s=jr((a=f+w|0)^y,16),f=jr((g=s+g|0)^f,12),s=jr(s^(a=a+f|0),8),f=jr(f^(g=g+s|0),7),10!=(0|(I=I+1|0)););rr(t,A),rr(t+4|0,l),rr(t+8|0,o),rr(t+12|0,a),rr(t+16|0,r),rr(t+20|0,p),rr(t+24|0,s),rr(t+28|0,e)}function j(t){var e,r=0,n=0;b=e=b-48|0,r=c[28+(t|=0)|0]|c[t+29|0]<<8|c[t+30|0]<<16|c[t+31|0]<<24,u[e+24>>2]=c[t+24|0]|c[t+25|0]<<8|c[t+26|0]<<16|c[t+27|0]<<24,u[e+28>>2]=r,r=c[t+20|0]|c[t+21|0]<<8|c[t+22|0]<<16|c[t+23|0]<<24,u[e+16>>2]=c[t+16|0]|c[t+17|0]<<8|c[t+18|0]<<16|c[t+19|0]<<24,u[e+20>>2]=r,r=c[t+4|0]|c[t+5|0]<<8|c[t+6|0]<<16|c[t+7|0]<<24,u[e>>2]=c[0|t]|c[t+1|0]<<8|c[t+2|0]<<16|c[t+3|0]<<24,u[e+4>>2]=r,r=c[t+12|0]|c[t+13|0]<<8|c[t+14|0]<<16|c[t+15|0]<<24,u[e+8>>2]=c[t+8|0]|c[t+9|0]<<8|c[t+10|0]<<16|c[t+11|0]<<24,u[e+12>>2]=r,r=c[t+40|0]|c[t+41|0]<<8|c[t+42|0]<<16|c[t+43|0]<<24,u[e+32>>2]=c[t+36|0]|c[t+37|0]<<8|c[t+38|0]<<16|c[t+39|0]<<24,u[e+36>>2]=r,o[u[8956]](e,e,40,0,t+32|0,0,t),r=u[e+28>>2],n=u[e+24>>2],a[t+24|0]=n,a[t+25|0]=n>>>8,a[t+26|0]=n>>>16,a[t+27|0]=n>>>24,a[t+28|0]=r,a[t+29|0]=r>>>8,a[t+30|0]=r>>>16,a[t+31|0]=r>>>24,r=u[e+20>>2],n=u[e+16>>2],a[t+16|0]=n,a[t+17|0]=n>>>8,a[t+18|0]=n>>>16,a[t+19|0]=n>>>24,a[t+20|0]=r,a[t+21|0]=r>>>8,a[t+22|0]=r>>>16,a[t+23|0]=r>>>24,r=u[e+12>>2],n=u[e+8>>2],a[t+8|0]=n,a[t+9|0]=n>>>8,a[t+10|0]=n>>>16,a[t+11|0]=n>>>24,a[t+12|0]=r,a[t+13|0]=r>>>8,a[t+14|0]=r>>>16,a[t+15|0]=r>>>24,r=u[e+4>>2],n=u[e>>2],a[0|t]=n,a[t+1|0]=n>>>8,a[t+2|0]=n>>>16,a[t+3|0]=n>>>24,a[t+4|0]=r,a[t+5|0]=r>>>8,a[t+6|0]=r>>>16,a[t+7|0]=r>>>24,r=u[e+36>>2],n=u[e+32>>2],a[t+36|0]=n,a[t+37|0]=n>>>8,a[t+38|0]=n>>>16,a[t+39|0]=n>>>24,a[t+40|0]=r,a[t+41|0]=r>>>8,a[t+42|0]=r>>>16,a[t+43|0]=r>>>24,ar(t),b=e+48|0}function Y(t,e,r){var n=0,i=0,o=0,a=0,s=0,u=0,h=0,f=0,l=0,A=0,p=0,d=0,g=0,y=0,m=0,v=0,b=0,w=0,I=0,E=0,_=0;for(i=2036477234,o=857760878,a=1634760805,s=1797285236,m=20,f=c[0|r]|c[r+1|0]<<8|c[r+2|0]<<16|c[r+3|0]<<24,y=c[r+4|0]|c[r+5|0]<<8|c[r+6|0]<<16|c[r+7|0]<<24,v=c[r+8|0]|c[r+9|0]<<8|c[r+10|0]<<16|c[r+11|0]<<24,d=c[r+12|0]|c[r+13|0]<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,e),0}function K(t,e,r,n,i,o,s){var h,f,l,A,p,d,g,y=0;return b=h=b-560|0,Ir(h+352|0,s),Ve(h+288|0,o,32,0),J(h+352|0,h+320|0,32,0),J(h+352|0,r,n,i),Xe(h+352|0,h+224|0),f=c[(y=o)+32|0]|c[y+33|0]<<8|c[y+34|0]<<16|c[y+35|0]<<24,l=c[y+36|0]|c[y+37|0]<<8|c[y+38|0]<<16|c[y+39|0]<<24,A=c[y+40|0]|c[y+41|0]<<8|c[y+42|0]<<16|c[y+43|0]<<24,p=c[y+44|0]|c[y+45|0]<<8|c[y+46|0]<<16|c[y+47|0]<<24,d=c[y+48|0]|c[y+49|0]<<8|c[y+50|0]<<16|c[y+51|0]<<24,o=c[y+52|0]|c[y+53|0]<<8|c[y+54|0]<<16|c[y+55|0]<<24,g=c[y+60|0]|c[y+61|0]<<8|c[y+62|0]<<16|c[y+63|0]<<24,y=c[y+56|0]|c[y+57|0]<<8|c[y+58|0]<<16|c[y+59|0]<<24,a[t+56|0]=y,a[t+57|0]=y>>>8,a[t+58|0]=y>>>16,a[t+59|0]=y>>>24,a[t+60|0]=g,a[t+61|0]=g>>>8,a[t+62|0]=g>>>16,a[t+63|0]=g>>>24,a[t+48|0]=d,a[t+49|0]=d>>>8,a[t+50|0]=d>>>16,a[t+51|0]=d>>>24,a[t+52|0]=o,a[t+53|0]=o>>>8,a[t+54|0]=o>>>16,a[t+55|0]=o>>>24,a[t+40|0]=A,a[t+41|0]=A>>>8,a[t+42|0]=A>>>16,a[t+43|0]=A>>>24,a[t+44|0]=p,a[t+45|0]=p>>>8,a[t+46|0]=p>>>16,a[t+47|0]=p>>>24,a[0|(o=t+32|0)]=f,a[o+1|0]=f>>>8,a[o+2|0]=f>>>16,a[o+3|0]=f>>>24,a[o+4|0]=l,a[o+5|0]=l>>>8,a[o+6|0]=l>>>16,a[o+7|0]=l>>>24,C(h+224|0),ht(h,h+224|0),Ee(t,h),Ir(h+352|0,s),J(h+352|0,t,64,0),J(h+352|0,r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(e+13|0),At=E,at=c[e+15|0]|c[e+16|0]<<8|c[e+17|0]<<16|c[e+18|0]<<24,Jt=Ke(e+18|0),it=E,Gt=Ke(e+21|0),nt=c[e+23|0]|c[e+24|0]<<8|c[e+25|0]<<16|c[e+26|0]<<24,st=Ke(e+26|0),r=E,e=c[e+28|0]|c[e+29|0]<<8|c[e+30|0]<<16|c[e+31|0]<<24,X=Ke(n),W=c[n+2|0]|c[n+3|0]<<8|c[n+4|0]<<16|c[n+5|0]<<24,Z=Ke(n+5|0),$=E,Ot=c[n+7|0]|c[n+8|0]<<8|c[n+9|0]<<16|c[n+10|0]<<24,Ht=c[n+10|0]|c[n+11|0]<<8|c[n+12|0]<<16|c[n+13|0]<<24,jt=Ke(n+13|0),Nt=E,Dt=c[n+15|0]|c[n+16|0]<<8|c[n+17|0]<<16|c[n+18|0]<<24,zt=Ke(n+18|0),Rt=E,Ct=Ke(n+21|0),tt=t,e=Mr(i=e>>>7|0,0,o=2097151&((3&ot)<<30|ht>>>2),0),ct=E,ot=e,e=Mr(s=2097151&((3&r)<<30|st>>>2),0,u=rt>>>7|0,0),rt=E+ct|0,rt=(r=ot+e|0)>>>0>>0?rt+1|0:rt,st=r,e=Mr(o,0,s,0),ot=E,nt=(r=Mr(h=nt>>>5&2097151,0,u,0))+e|0,e=E+ot|0,e=nt>>>0>>0?e+1|0:e,r=nt,nt=Mr(i,0,f=ut>>>5&2097151,0),e=E+e|0,ct=ot=r+nt|0,Et=e=ot>>>0>>0?e+1|0:e,bt=(e=ot)- -1048576|0,wt=nt=Et-((e>>>0<4293918720)+-1|0)|0,e=(r=nt>>21)+rt|0,ht=e=(ot=(nt=(2097151&nt)<<11|bt>>>21)+st|0)>>>0>>0?e+1|0:e,Qt=(e=nt=ot)- -1048576|0,st=ut=ht-((e>>>0<4293918720)+-1|0)|0,ot=(e=ot=Mr(i,0,u,0))-(ut=-2097152&(Ft=e- -1048576|0))|0,e=((Pt=E)-((e>>>0>>0)+(rt=St=Pt-((e>>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)>>>0>>0?e+1|0:e,rt=Mr(s,0,m,0),r=E+e|0,r=(ot=rt+ot|0)>>>0>>0?r+1|0:r,rt=Mr(i,0,g,0),e=E+r|0,st=rt=(ht=e=(ot=rt+ot|0)>>>0>>0?e+1|0:e)-(((e=ot)>>>0<4293918720)+-1|0)|0,e=(2097151&rt)<<11|(Et=e- -1048576|0)>>>21,rt=(rt>>21)+nt|0,ct=rt=(nt=ct=e+ct|0)>>>0>>0?rt+1|0:rt,wt=(e=nt)- -1048576|0,e=(r=(rt=bt=rt-((e>>>0<4293918720)+-1|0)|0)>>21)+Ct|0,K=e=(R=Tt=(bt=(2097151&rt)<<11|wt>>>21)+Tt|0)>>>0>>0?e+1|0:e,Ct=Mr(R,e,470296,0),bt=E,T=nt-(r=-2097152&wt)|0,Ft=e=ct-((nt>>>0>>0)+rt|0)|0,rt=Mr(P,L,666643,0),r=E+bt|0,r=(nt=rt+Ct|0)>>>0>>0?r+1|0:r,rt=Mr(T,e,654183,0),e=E+r|0,ct=nt=rt+nt|0,rt=nt>>>0>>0?e+1|0:e,e=ot-(r=-2097152&Et)|0,r=(yt>>21)+(ot=ht-((ot>>>0>>0)+st|0)|0)|0,q=st=(nt=(2097151&yt)<<11|Ut>>>21)+e|0,Lt=r=st>>>0>>0?r+1|0:r,Xt=it- -1048576|0,nt=e=ft-((it>>>0<4293918720)+-1|0)|0,r=Mr(st,r,-997805,-1),rt=E+rt|0,r=(rt=(ot=r+ct|0)>>>0>>0?rt+1|0:rt)+ft|0,Ct=(it=ot+it|0)-(rt=-2097152&Xt)|0,bt=(r=it>>>0>>0?r+1|0:r)-((it>>>0>>0)+e|0)|0,e=Mr(T,Ft,470296,0),r=E,rt=e,e=Mr(R,K,666643,0),r=E+r|0,r=(rt=rt+e|0)>>>0>>0?r+1|0:r,e=Mr(st,Lt,654183,0),r=E+r|0,e=(r=(rt=e+rt|0)>>>0>>0?r+1|0:r)+gt|0,ft=(rt=rt+at|0)-(r=-2097152&Mt)|0,at=(e=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w,0,k,0),r=E+r|0,r=(rt=rt+e|0)>>>0>>0?r+1|0:r,st=(e=Mr(C,0,B,0))+rt|0,rt=E+r|0,rt=st>>>0>>0?rt+1|0:rt,r=Mr(M,0,I,0),e=E+rt|0,e=(st=r+st|0)>>>0>>0?e+1|0:e,rt=Mr(A,0,S,0),r=E+e|0,e=r=(st=rt+st|0)>>>0>>0?r+1|0:r,(r=st+(rt=Ht>>>4&2097151)|0)>>>0>>0&&(e=e+1|0),ht=r,Mt=e,zt=(e=r)- -1048576|0,Ht=rt=Mt-((e>>>0<4293918720)+-1|0)|0,r=(e=rt>>21)+it|0,Nt=r=(st=ct=(rt=(2097151&rt)<<11|zt>>>21)+ct|0)>>>0>>0?r+1|0:r,Yt=(e=st)- -1048576|0,Dt=rt=r-((e>>>0<4293918720)+-1|0)|0,e=(e=rt>>21)+at|0,e=(rt=(r=(2097151&rt)<<11|Yt>>>21)+gt|0)>>>0>>0?e+1|0:e,r=rt,Rt=(rt=e)-((r>>>0<(e=-2097152&wt)>>>0)+pt|0)|0,Tt=(e=ct=r-e|0)- -1048576|0,Et=r=Rt-((e>>>0<4293918720)+-1|0)|0,e=(rt=r>>21)+mt|0,Ct=it=(r=(2097151&r)<<11|Tt>>>21)+yt|0,wt=e=it>>>0>>0?e+1|0:e,bt=(e=it)- -1048576|0,yt=r=wt-((e>>>0<4293918720)+-1|0)|0,O=ut-(e=-2097152&kt)|0,jt=it=Qt-((ut>>>0>>0)+_t|0)|0,e=(2097151&r)<<11|bt>>>21,r=(r>>21)+ft|0,r=(at=e+Ut|0)>>>0>>0?r+1|0:r,ut=(rt=Mr(G,H,136657,0))+(at-(e=-2097152<)|0)|0,e=E+(r-((at>>>0>>0)+Bt|0)|0)|0,e=ut>>>0>>0?e+1|0:e,rt=Mr(O,it,-683901,-1),r=E+e|0,ut=it=rt+ut|0,mt=r=it>>>0>>0?r+1|0:r,kt=(e=it)- -1048576|0,gt=r=r-((e>>>0<4293918720)+-1|0)|0,e=(rt=r>>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it=ft=it-((e>>>0<4293918720)+-1|0)|0,r=(r=(It=(rt=It)+_t|0)>>>0>>0?r+1|0:r)+(rt=nt>>21)|0,r=(nt=It+(e=(2097151&nt)<<11|Xt>>>21)|0)>>>0>>0?r+1|0:r,e=(_t=nt)-(nt=-2097152&J)|0,rt=Mr(j,Y,-683901,-1),r=(nt=r-((_t>>>0>>0)+it|0)|0)+E|0,V=e- -1048576|0,ft=nt-((e>>>0<4293918720)+-1|0)|0,r=(r=(It=e+rt|0)>>>0>>0?r+1|0:r)+(rt=ot>>21)|0,r=(ft=(r=(ot=It+(e=(2097151&ot)<<11|Wt>>>21)|0)>>>0>>0?r+1|0:r)-((ot>>>0<(rt=-2097152&V)>>>0)+(nt=ft)|0)|0)+Bt|0,(ot=(e=ot-rt|0)+Ut|0)>>>0>>0&&(r=r+1|0),z=e- -1048576|0,ft=ft-((e>>>0<4293918720)+-1|0)|0,Xt=(e=rt=ot)-(rt=-2097152&z)|0,Wt=r-((e>>>0>>0)+(ot=ft)|0)|0,Zt=at-(e=-2097152&Qt)|0,It=lt-((at>>>0>>0)+pt|0)|0,Ut=ut-(e=-2097152&kt)|0,kt=mt-((ut>>>0>>0)+gt|0)|0,r=Mr(j,Y,654183,0),e=E+wt|0,e=(rt=r+Ct|0)>>>0>>0?e+1|0:e,ut=(r=Mr(G,H,-997805,-1))+((at=rt)-(rt=-2097152&bt)|0)|0,rt=E+(e-((at>>>0>>0)+yt|0)|0)|0,e=Mr(O,jt,136657,0),r=E+(ut>>>0>>0?rt+1|0:rt)|0,Qt=at=e+ut|0,ut=at>>>0>>0?r+1|0:r,_t=At-(e=-2097152&xt)|0,mt=Pt-((At>>>0>>0)+St|0)|0,r=Mr(D,F,-997805,-1),e=E,rt=r,r=Mr(N,U,654183,0),e=E+e|0,e=(rt=rt+r|0)>>>0>>0?e+1|0:e,at=(r=Mr(P,L,136657,0))+rt|0,rt=E+e|0,rt=at>>>0>>0?rt+1|0:rt,e=Mr(R,K,-683901,-1),r=E+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at|0)>>>0>>0?r+1|0:r,(e=(r=(c[n+28|0]|c[n+29|0]<<8|c[n+30|0]<<16|c[n+31|0]<<24)>>>7|0)+e|0)>>>0>>0&&(rt=rt+1|0),r=it>>21,it=(n=(2097151&it)<<11|J>>>21)+e|0,e=r+rt|0,at=it,Bt=n=(pt=e=it>>>0>>0?e+1|0:e)-(((e=it)>>>0<4293918720)+-1|0)|0,r=(r=n>>21)+At|0,it=n=(e=(2097151&n)<<11|(wt=e- -1048576|0)>>>21)+dt|0,ft=r=n>>>0>>0?r+1|0:r,yt=(e=n)- -1048576|0,vt=n=r-((e>>>0<4293918720)+-1|0)|0,e=(r=n>>21)+lt|0,e=(rt=(n=(2097151&n)<<11|yt>>>21)+gt|0)>>>0>>0?e+1|0:e,n=rt,At=rt=(dt=e)-(((e=rt)>>>0<4293918720)+-1|0)|0,r=(r=rt>>21)+mt|0,xt=rt=(e=(2097151&rt)<<11|(lt=e- -1048576|0)>>>21)+_t|0,St=r=rt>>>0>>0?r+1|0:r,e=Mr(rt,r,-683901,-1),rt=E+ut|0,gt=r=e+Qt|0,ut=r>>>0>>0?rt+1|0:rt,Ct=n-(e=-2097152<)|0,Qt=At=dt-((n>>>0>>0)+At|0)|0,r=Mr(j,Y,470296,0)+ct|0,e=Rt+E|0,e=r>>>0>>0?e+1|0:e,ct=(n=Mr(G,H,654183,0))+((rt=r)-(r=-2097152&Tt)|0)|0,r=E+(e-((rt>>>0>>0)+Et|0)|0)|0,r=ct>>>0>>0?r+1|0:r,e=Mr(O,jt,-997805,-1),rt=E+r|0,rt=(n=e+ct|0)>>>0>>0?rt+1|0:rt,r=Mr(xt,St,136657,0),e=E+rt|0,e=(n=r+n|0)>>>0>>0?e+1|0:e,r=Mr(Ct,At,-683901,-1),e=E+e|0,dt=e=(rt=n=r+n|0)>>>0>>0?e+1|0:e,mt=(e=rt)- -1048576|0,At=n=dt-((e>>>0<4293918720)+-1|0)|0,e=(r=n>>21)+ut|0,e=(ct=(n=(2097151&n)<<11|mt>>>21)+gt|0)>>>0>>0?e+1|0:e,n=ct,ct=e,lt=(e=n)- -1048576|0,e=(r=(ut=gt=ct-((e>>>0<4293918720)+-1|0)|0)>>21)+kt|0,kt=Et=(gt=(2097151&ut)<<11|lt>>>21)+Ut|0,gt=Et>>>0>>0?e+1|0:e,Kt=n-(e=-2097152<)|0,qt=ct-((n>>>0>>0)+ut|0)|0,Gt=rt-(e=-2097152&mt)|0,Pt=dt-((rt>>>0>>0)+At|0)|0,n=(e=Mr(j,Y,666643,0))+(st-(r=-2097152&Yt)|0)|0,r=E+(Nt-((st>>>0>>0)+Dt|0)|0)|0,r=n>>>0>>0?r+1|0:r,rt=(e=n)+(n=Mr(G,H,470296,0))|0,e=E+r|0,e=rt>>>0>>0?e+1|0:e,r=Mr(O,jt,654183,0),e=E+e|0,At=n=r+rt|0,n=n>>>0>>0?e+1|0:e,st=it-(e=-2097152&yt)|0,ut=ft-((it>>>0>>0)+vt|0)|0,e=Mr(D,F,470296,0),r=E,rt=e,e=Mr(N,U,666643,0),r=E+r|0,r=(rt=rt+e|0)>>>0>>0?r+1|0:r,it=(e=rt)+(rt=Mr(P,L,654183,0))|0,e=E+r|0,e=it>>>0>>0?e+1|0:e,r=Mr(R,K,-997805,-1),e=E+e|0,e=(rt=r+it|0)>>>0>>0?e+1|0:e,it=(r=rt)+(rt=Mr(T,Ft,136657,0))|0,r=E+e|0,r=it>>>0>>0?r+1|0:r,e=Mr(q,Lt,-683901,-1),rt=E+r|0,r=(rt=(it=e+it|0)>>>0>>0?rt+1|0:rt)+pt|0,r=(e=it+at|0)>>>0>>0?r+1|0:r,it=e,e=e-(rt=-2097152&wt)|0,it=r-((it>>>0>>0)+Bt|0)|0,r=nt>>21,nt=(rt=(2097151&nt)<<11|V>>>21)+e|0,e=r+it|0,ct=nt,vt=rt=(ft=e=nt>>>0>>0?e+1|0:e)-(((e=nt)>>>0<4293918720)+-1|0)|0,r=(r=rt>>21)+ut|0,bt=rt=(e=(2097151&rt)<<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t|0,r=(n=e+n|0)>>>0>>0?r+1|0:r,rt=(e=n)+(n=Mr(xt,St,654183,0))|0,e=E+r|0,e=rt>>>0>>0?e+1|0:e,n=Mr(Ct,Qt,-997805,-1),r=E+e|0,wt=rt=n+rt|0,At=r=rt>>>0>>0?r+1|0:r,yt=(e=rt)- -1048576|0,ht=n=r-((e>>>0<4293918720)+-1|0)|0,rt=(e=n>>21)+it|0,it=n=(r=(2097151&n)<<11|yt>>>21)+st|0,n=rt=n>>>0>>0?rt+1|0:rt,mt=(e=it)- -1048576|0,st=rt=rt-((e>>>0<4293918720)+-1|0)|0,r=(e=rt>>21)+Pt|0,Jt=Bt=(rt=(2097151&rt)<<11|mt>>>21)+Gt|0,Bt=Bt>>>0>>0?r+1|0:r,e=ct-(r=-2097152&Rt)|0,rt=ft-((ct>>>0>>0)+vt|0)|0,rt=(r=ot>>21)+rt|0,ft=rt=(ot=(ct=e)+(e=(2097151&ot)<<11|z>>>21)|0)>>>0>>0?rt+1|0:rt,vt=rt=rt-(((e=ot)>>>0<4293918720)+-1|0)|0,Nt=r=rt>>21,e=Mr(Ot=(2097151&rt)<<11|(Rt=e- -1048576|0)>>>21,r,-683901,-1),r=E+n|0,r=(rt=e+it|0)>>>0>>0?r+1|0:r,Gt=rt-(e=-2097152&mt)|0,Pt=r-((rt>>>0>>0)+st|0)|0,e=Mr(Ot,Nt,136657,0),rt=E+At|0,rt=(r=e+wt|0)>>>0>>0?rt+1|0:rt,Mt=r-(e=-2097152&yt)|0,Ht=rt-((r>>>0>>0)+ht|0)|0,n=(r=Mr(O,jt,666643,0))+(at-(e=-2097152&Et)|0)|0,e=E+(pt-((at>>>0>>0)+dt|0)|0)|0,e=n>>>0>>0?e+1|0:e,r=Mr(bt,_t,-997805,-1),e=E+e|0,e=(n=r+n|0)>>>0>>0?e+1|0:e,rt=(r=n)+(n=Mr(xt,St,470296,0))|0,r=E+e|0,r=rt>>>0>>0?r+1|0:r,n=(e=Mr(Ct,Qt,654183,0))+rt|0,rt=E+r|0,pt=n,st=n>>>0>>0?rt+1|0:rt,it=nt,e=Mr(S,0,Q,0),r=E,n=e,e=Mr(M,0,k,0),r=E+r|0,e=r=(n=n+e|0)>>>0>>0?r+1|0:r,(r=(r=n)+(n=W>>>5&2097151)|0)>>>0>>0&&(e=e+1|0),at=r,n=e,r=2097151&X,rt=Mr(S,0,k,0)+r|0,e=E,nt=rt,At=rt=(dt=e=rt>>>0>>0?e+1|0:e)-(((e=rt)>>>0<4293918720)+-1|0)|0,e=(2097151&rt)<<11|(Et=e- -1048576|0)>>>21,rt=(rt>>>21|0)+n|0,ht=rt=(n=at=e+at|0)>>>0>>0?rt+1|0:rt,wt=(e=n)- -1048576|0,ct=rt=rt-((e>>>0<4293918720)+-1|0)|0,e=(r=rt>>>21|0)+it|0,e=(at=(rt=(2097151&rt)<<11|wt>>>21)+ut|0)>>>0>>0?e+1|0:e,at=(r=Mr(bt,_t,654183,0))+((it=at)-(rt=-2097152&Dt)|0)|0,rt=E+(e-((16383<)+(it>>>0>>0)|0)|0)|0,e=Mr(xt,St,666643,0),r=E+(at>>>0>>0?rt+1|0:rt)|0,r=(it=e+at|0)>>>0>>0?r+1|0:r,rt=Mr(Ct,Qt,470296,0),e=E+r|0,yt=it=rt+it|0,at=rt=(ut=e=it>>>0>>0?e+1|0:e)-(((e=it)>>>0<4293918720)+-1|0)|0,r=(r=rt>>21)+st|0,lt=rt=(e=(2097151&rt)<<11|(mt=e- -1048576|0)>>>21)+pt|0,it=r=rt>>>0>>0?r+1|0:r;pt=(e=rt)- -1048576|0,e=(r=(rt=st=r-((e>>>0<4293918720)+-1|0)|0)>>21)+Ht|0,st=(Mt=Dt=(st=(2097151&rt)<<11|pt>>>21)+Mt|0)>>>0>>0?e+1|0:e,r=Mr(Ot,Nt,-997805,-1),e=E+it|0,e=(lt=r+lt|0)>>>0>>0?e+1|0:e,Ht=(it=lt)-(r=-2097152&pt)|0,Dt=e-((it>>>0>>0)+rt|0)|0,e=Mr(Ot,Nt,654183,0),rt=E+ut|0,rt=(r=e+yt|0)>>>0>>0?rt+1|0:rt,lt=r-(e=-2097152&mt)|0,pt=rt-((r>>>0>>0)+at|0)|0,rt=(e=Mr(bt,_t,470296,0))+(n-(r=-2097152&wt)|0)|0,r=E+(ht-((16383&ct)+(n>>>0>>0)|0)|0)|0,r=rt>>>0>>0?r+1|0:r,e=Mr(Ct,Qt,666643,0),r=E+r|0,at=n=e+rt|0,it=n>>>0>>0?r+1|0:r,e=Mr(bt,_t,666643,0),rt=E+(dt-((4095&At)+(nt>>>0<(r=-2097152&Et)>>>0)|0)|0)|0,ct=rt=(n=e+(nt-r|0)|0)>>>0>>0?rt+1|0:rt,dt=(e=n)- -1048576|0,ut=rt=rt-((e>>>0<4293918720)+-1|0)|0,r=(e=rt>>21)+it|0,At=nt=(rt=(2097151&rt)<<11|dt>>>21)+at|0,at=r=nt>>>0>>0?r+1|0:r,it=rt=r-(((e=nt)>>>0<4293918720)+-1|0)|0,r=(2097151&rt)<<11|(ht=e- -1048576|0)>>>21,rt=(rt>>21)+pt|0,pt=nt=r+lt|0,nt=nt>>>0>>0?rt+1|0:rt,e=Mr(Ot,Nt,470296,0),r=E+at|0,it=(r=(rt=e+At|0)>>>0>>0?r+1|0:r)-(((at=rt)>>>0<(rt=-2097152&ht)>>>0)+it|0)|0,At=e=at-rt|0,e=Mr(Ot,Nt,666643,0),rt=E+(ct-((n>>>0<(r=-2097152&dt)>>>0)+ut|0)|0)|0,ut=at=e+(n-r|0)|0,n=(2097151&(rt=at>>>0>>0?rt+1|0:rt))<<11|(e=at)>>>21,e=(r=rt>>21)+it|0,it=rt=At+n|0,rt=(e=(r=rt)>>>0>>0?e+1|0:e)>>21,e=(2097151&e)<<11|r>>>21,r=rt+nt|0,at=n=e+pt|0,e=(e=(r=n>>>0>>0?r+1|0:r)>>21)+Dt|0,ht=n=(r=(2097151&r)<<11|n>>>21)+Ht|0,r=(r=(e=n>>>0>>0?e+1|0:e)>>21)+st|0,wt=n=(e=(2097151&e)<<11|n>>>21)+Mt|0,rt=(e=(r=n>>>0>>0?r+1|0:r)>>21)+Pt|0,yt=n=(r=(2097151&r)<<11|n>>>21)+Gt|0,n=(2097151&(rt=(e=n)>>>0>>0?rt+1|0:rt))<<11|e>>>21,e=(r=rt>>21)+Bt|0,mt=rt=n+Jt|0,rt=(e=(r=rt)>>>0>>0?e+1|0:e)>>21,e=(2097151&e)<<11|r>>>21,r=rt+qt|0,lt=n=e+Kt|0,e=(e=(r=n>>>0>>0?r+1|0:r)>>21)+gt|0,pt=n=(r=(2097151&r)<<11|n>>>21)+kt|0,r=(r=(e=n>>>0>>0?e+1|0:e)>>21)+It|0,Bt=n=(e=(2097151&e)<<11|n>>>21)+Zt|0,rt=(e=(r=n>>>0>>0?r+1|0:r)>>21)+Wt|0,dt=n=(r=(2097151&r)<<11|n>>>21)+Xt|0,e=n,r=(ft-((ot>>>0<(n=-2097152&Rt)>>>0)+vt|0)|0)+(r=(rt=e>>>0>>0?rt+1|0:rt)>>21)|0,At=rt=(rt=(2097151&rt)<<11|e>>>21)+(e=ot-n|0)|0,ct=e=(r=rt>>>0>>0?r+1|0:r)>>21,r=Mr(vt=(2097151&r)<<11|rt>>>21,e,666643,0),rt=E,ut=r=r+(e=2097151&ut)|0,n=rt=r>>>0>>0?rt+1|0:rt,a[0|tt]=r,a[t+1|0]=(255&rt)<<24|r>>>8,e=2097151&it,nt=Mr(vt,ct,470296,0)+e|0,r=E,r=nt>>>0>>0?r+1|0:r,r=(e=n>>21)+r|0,r=(it=ot=(rt=nt)+(nt=(2097151&n)<<11|ut>>>21)|0)>>>0>>0?r+1|0:r,rt=it,a[t+4|0]=(2047&r)<<21|rt>>>11,e=r,a[t+3|0]=(7&e)<<29|rt>>>3,r=t,nt=2097151&at,ot=Mr(vt,ct,654183,0)+nt|0,rt=E,rt=ot>>>0>>0?rt+1|0:rt,nt=e,e=(e>>=21)+rt|0,at=ot=(nt=(2097151&nt)<<11|it>>>21)+ot|0,rt=e=ot>>>0>>0?e+1|0:e,a[r+6|0]=(63&e)<<26|ot>>>6,ot=0,e=st=2097151&it,a[r+2|0]=31&((65535&n)<<16|ut>>>16)|e<<5,nt=r,e=2097151&ht,n=Mr(vt,ct,-997805,-1)+e|0,r=E,r=n>>>0>>0?r+1|0:r,r=(e=rt>>21)+r|0,ut=rt=(it=n)+(n=(2097151&rt)<<11|at>>>21)|0,r=rt>>>0>>0?r+1|0:r,a[nt+9|0]=(511&r)<<23|rt>>>9,n=r,e=r,r=rt,a[nt+8|0]=(1&e)<<31|r>>>1,it=0,r=ht=2097151&at,a[nt+5|0]=(524287&ot)<<13|st>>>19|r<<2,r=2097151&wt,rt=Mr(vt,ct,136657,0)+r|0,e=E,e=rt>>>0>>0?e+1|0:e,r=n>>21,ot=(n=(2097151&n)<<11|ut>>>21)+rt|0,rt=e+r|0,at=ot,rt=ot>>>0>>0?rt+1|0:rt,a[nt+12|0]=(4095&rt)<<20|ot>>>12,r=rt,a[nt+11|0]=(15&r)<<28|ot>>>4,ot=0,n=st=2097151&ut,a[nt+7|0]=(16383&it)<<18|ht>>>14|n<<7,n=nt,rt=2097151&yt,nt=Mr(vt,ct,-683901,-1)+rt|0,e=E,e=nt>>>0>>0?e+1|0:e,rt=nt,nt=(2097151&r)<<11|at>>>21,r=(r>>21)+e|0,e=r=(it=rt+nt|0)>>>0>>0?r+1|0:r,a[n+14|0]=(127&e)<<25|it>>>7,nt=0,n=ut=2097151&at,a[t+10|0]=(131071&ot)<<15|st>>>17|n<<4,e>>=21,r=(at=(rt=(2097151&r)<<11|it>>>21)+(2097151&mt)|0)>>>0>>0?e+1|0:e,n=at,a[t+17|0]=(1023&r)<<22|n>>>10,e=r,a[t+16|0]=(3&e)<<30|n>>>2,rt=0,n=ct=2097151&it,a[t+13|0]=(1048575&nt)<<12|ut>>>20|n<<1,e>>=21,it=nt=(r=(2097151&r)<<11|at>>>21)+(2097151<)|0,e=nt>>>0>>0?e+1|0:e,n=nt,a[t+20|0]=(8191&e)<<19|n>>>13,r=e,a[t+19|0]=(31&e)<<27|n>>>5,n=ut=2097151&at,a[t+15|0]=(32767&rt)<<17|ct>>>15|n<<6,rt=e>>=21,at=ct=(n=(2097151&r)<<11|nt>>>21)+(2097151&pt)|0,a[(nt=t)+21|0]=at,e=it,a[nt+18|0]=(262143&ot)<<14|ut>>>18|e<<3,n=at>>>0>>0?rt+1|0:rt,a[nt+22|0]=(255&n)<<24|at>>>8,r=rt=(e=n)>>21,ot=it=(e=(2097151&e)<<11|at>>>21)+(2097151&Bt)|0,r=it>>>0>>0?r+1|0:r,rt=it,a[nt+25|0]=(2047&r)<<21|rt>>>11,e=r,a[nt+24|0]=(7&e)<<29|rt>>>3,rt=nt,e>>=21,(nt=(r=(2097151&r)<<11|it>>>21)+(2097151&dt)|0)>>>0>>0&&(e=e+1|0),r=e,a[rt+27|0]=(63&e)<<26|nt>>>6,rt=0,n=31&((65535&n)<<16|at>>>16),e=at=2097151&ot,a[t+23|0]=n|e<<5,ot=(2097151&r)<<11|nt>>>21,r>>=21,r=(ut=ot+(2097151&At)|0)>>>0>>0?r+1|0:r,n=ot=ut,a[t+31|0]=(131071&r)<<15|n>>>17,e=r,a[t+30|0]=(511&e)<<23|n>>>9,a[t+29|0]=(1&e)<<31|n>>>1,r=0,nt&=2097151,a[t+26|0]=(524287&rt)<<13|at>>>19|nt<<2,a[t+28|0]=(16383&r)<<18|nt>>>14|n<<7}(o,h+160|0,h+288|0,h+224|0),Se(h+288|0,64),Se(h+224|0,64),e&&(u[e>>2]=64,u[e+4>>2]=0),b=h+560|0,0}function q(t,e,r,n){var i;b=i=b-2272|0,yt(i+2016|0,e),yt(i+1760|0,n),Ue(i+480|0,r),er(i+320|0,r),Te(i,i+320|0),ee(i+320|0,i,i+480|0),Te(i+160|0,i+320|0),Ue(e=i+640|0,i+160|0),ee(i+320|0,i,e),Te(i+160|0,i+320|0),Ue(e=i+800|0,i+160|0),ee(i+320|0,i,e),Te(i+160|0,i+320|0),Ue(e=i+960|0,i+160|0),ee(i+320|0,i,e),Te(i+160|0,i+320|0),Ue(e=i+1120|0,i+160|0),ee(i+320|0,i,e),Te(i+160|0,i+320|0),Ue(e=i+1280|0,i+160|0),ee(i+320|0,i,e),Te(i+160|0,i+320|0),Ue(e=i+1440|0,i+160|0),ee(i+320|0,i,e),Te(i+160|0,i+320|0),Ue(i+1600|0,i+160|0),Vr(t),Rr(t+40|0),Rr(t+80|0),n=255;t:{for(;;){if(!(c[(r=n)+(i+2016|0)|0]|c[(i+1760|0)+r|0])){if(n=r+-1|0,r)continue;break t}break}if(!((0|r)<0))for(;he(i+320|0,t),(0|(r=a[(e=r)+(i+2016|0)|0]))>=1?(Te(i+160|0,i+320|0),ee(i+320|0,i+160|0,(i+480|0)+f((254&r)>>>1|0,160)|0)):(0|r)>-1||(Te(i+160|0,i+320|0),re(i+320|0,i+160|0,(i+480|0)+f((0-r&254)>>>1|0,160)|0)),(0|(r=a[e+(i+1760|0)|0]))>=1?(Te(i+160|0,i+320|0),ae(i+320|0,i+160|0,f((254&r)>>>1|0,120)+2272|0)):(0|r)>-1||(Te(i+160|0,i+320|0),oe(i+320|0,i+160|0,f((0-r&254)>>>1|0,120)+2272|0)),He(t,i+320|0),r=e+-1|0,(0|e)>0;);}b=i+2272|0}function J(t,e,r,n){var i,o=0,s=0,h=0,f=0,l=0,A=0,p=0;if(b=i=b-704|0,r|n)if(l=(A=u[(o=t)+72>>2])+(h=(s=r)<<3)|0,s=(f=u[o+76>>2])+(n<<3|s>>>29)|0,s=l>>>0>>0?s+1|0:s,u[o+72>>2]=l,u[o+76>>2]=s,o=u[o+64>>2],h=u[t+68>>2],(0|s)==(0|f)&l>>>0>>0|s>>>0>>0&&((o=o+1|0)>>>0<1&&(h=h+1|0),u[(s=t)+64>>2]=o,u[s+68>>2]=h),(o=(p=n>>>29|0)+o|0)>>>0

>>0&&(h=h+1|0),u[(s=t)+64>>2]=o,u[s+68>>2]=h,(0|n)==(0|(h=l=0-(128<(s=127&((7&f)<<29|A>>>3))>>>0)|0))&(o=f=128-s|0)>>>0<=r>>>0|h>>>0>>0){for(o=0,h=0;a[80+(t+(p=o+s|0)|0)|0]=c[e+o|0],(o=o+1|0)>>>0<1&&(h=h+1|0),(0|f)!=(0|o)|(0|h)!=(0|l););if(B(t,t+80|0,i,h=i+640|0),e=e+f|0,!(n=n-((r>>>0>>0)+l|0)|0)&(r=r-f|0)>>>0>127|n>>>0>0)for(;B(t,e,i,h),e=e+128|0,s=n+-1|0,(r=r+-128|0)>>>0<4294967168&&(s=s+1|0),n=s,!s&r>>>0>127|s>>>0>0;);if(r|n)for(o=0,h=0;a[80+(t+o|0)|0]=c[e+o|0],(s=o+1|0)>>>0<1&&(h=h+1|0),(0|r)!=(0|(o=s))|(0|n)!=(0|h););Se(i,704)}else for(o=r,f=(r=!n&r>>>0>1|n>>>0>0)?o:1,n=r?n:0,o=0,h=0;a[80+(t+(A=o+s|0)|0)|0]=c[e+o|0],(r=o+1|0)>>>0<1&&(h=h+1|0),(0|f)!=(0|(o=r))|(0|n)!=(0|h););return b=i+704|0,0}function V(t,e,r){var n,i=0,o=0;if(r>>>0>=512)return m(0|t,0|e,0|r),t;n=t+r|0;t:if(3&(t^e))if(n>>>0<4)r=t;else if((i=n+-4|0)>>>0>>0)r=t;else for(r=t;a[0|r]=c[0|e],a[r+1|0]=c[e+1|0],a[r+2|0]=c[e+2|0],a[r+3|0]=c[e+3|0],e=e+4|0,(r=r+4|0)>>>0<=i>>>0;);else{e:if((0|r)<1)r=t;else if(3&t)for(r=t;;){if(a[0|r]=c[0|e],e=e+1|0,(r=r+1|0)>>>0>=n>>>0)break e;if(!(3&r))break}else r=t;if(!((i=-4&n)>>>0<64||r>>>0>(o=i+-64|0)>>>0))for(;u[r>>2]=u[e>>2],u[r+4>>2]=u[e+4>>2],u[r+8>>2]=u[e+8>>2],u[r+12>>2]=u[e+12>>2],u[r+16>>2]=u[e+16>>2],u[r+20>>2]=u[e+20>>2],u[r+24>>2]=u[e+24>>2],u[r+28>>2]=u[e+28>>2],u[r+32>>2]=u[e+32>>2],u[r+36>>2]=u[e+36>>2],u[r+40>>2]=u[e+40>>2],u[r+44>>2]=u[e+44>>2],u[r+48>>2]=u[e+48>>2],u[r+52>>2]=u[e+52>>2],u[r+56>>2]=u[e+56>>2],u[r+60>>2]=u[e+60>>2],e=e- -64|0,(r=r- -64|0)>>>0<=o>>>0;);if(r>>>0>=i>>>0)break t;for(;u[r>>2]=u[e>>2],e=e+4|0,(r=r+4|0)>>>0>>0;);}if(r>>>0>>0)for(;a[0|r]=c[0|e],e=e+1|0,(0|n)!=(0|(r=r+1|0)););return t}function z(t,e,r,n,i,o,s,c){t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,s|=0,c|=0;var h,f=0,l=0,A=0,p=0,d=0,g=0,y=0,m=0,v=0;b=h=b-16|0,u[h+12>>2]=0,Or(c);t:{if(n){m=4&c;e:{r:{n:{for(;;){f=p;i:{o:{for(;;){if(g=a[r+f|0],255!=(0|(A=m?Wt(g):Zt(g))))break o;if(!i)break i;if(!yr(i,g))break n;if(!((f=f+1|0)>>>0>>0))break}t=p+1|0,u[h+12>>2]=t>>>0>>0?n:t;break r}if(y=(y<<6)+A|0,(A=l+6|0)>>>0<8)l=A;else{if(l=l+-2|0,d>>>0>=e>>>0){u[h+12>>2]=f,u[8960]=68,f=1;break e}a[t+d|0]=y>>>l,d=d+1|0}if((p=f+1|0)>>>0>>0)continue}break}u[h+12>>2]=p;break r}u[h+12>>2]=f}f=0}if(!(l>>>0<=4)){t=-1;break t}}if(t=-1,!((-1<>2];;){r:{if(o>>>0>=e>>>0)u[8960]=68;else{if(61==(0|(s=a[t+o|0]))){i=i+-1|0;break r}if(n&&yr(n,s))break r;u[8960]=28}c=-1;break e}if(o=o+1|0,u[r>>2]=o,!i)break}return c}(r,n,h+12|0,i,l>>>1|0)))){t=0;e:if(i&&!((f=u[h+12>>2])>>>0>=n>>>0)){r:{for(;;){if(!yr(i,a[r+f|0]))break r;if((0|(f=f+1|0))==(0|n))break}u[h+12>>2]=n;break e}u[h+12>>2]=f}v=d}}return e=u[h+12>>2],s?u[s>>2]=e+r:(0|e)!=(0|n)&&(u[8960]=28,t=-1),o&&(u[o>>2]=v),b=h+16|0,0|t}function X(t,e){var r;for(b=r=b-192|0,x(r+144|0,e),x(r+96|0,r+144|0),x(r+96|0,r+96|0),M(r+96|0,e,r+96|0),M(r+144|0,r+144|0,r+96|0),x(r+48|0,r+144|0),M(r+96|0,r+96|0,r+48|0),x(r+48|0,r+96|0),e=1;x(r+48|0,r+48|0),5!=(0|(e=e+1|0)););for(M(r+96|0,r+48|0,r+96|0),x(r+48|0,r+96|0),e=1;x(r+48|0,r+48|0),10!=(0|(e=e+1|0)););for(M(r+48|0,r+48|0,r+96|0),x(r,r+48|0),e=1;x(r,r),20!=(0|(e=e+1|0)););for(M(r+48|0,r,r+48|0),x(r+48|0,r+48|0),e=1;x(r+48|0,r+48|0),10!=(0|(e=e+1|0)););for(M(r+96|0,r+48|0,r+96|0),x(r+48|0,r+96|0),e=1;x(r+48|0,r+48|0),50!=(0|(e=e+1|0)););for(M(r+48|0,r+48|0,r+96|0),x(r,r+48|0),e=1;x(r,r),100!=(0|(e=e+1|0)););for(M(r+48|0,r,r+48|0),x(r+48|0,r+48|0),e=1;x(r+48|0,r+48|0),50!=(0|(e=e+1|0)););for(M(r+96|0,r+48|0,r+96|0),x(r+96|0,r+96|0),e=1;x(r+96|0,r+96|0),5!=(0|(e=e+1|0)););M(t,r+96|0,r+144|0),b=r+192|0}function W(t,e,r){var n,i,o,a=0;b=n=b-16|0,i=u[t+20>>2],u[t+20>>2]=0,o=u[t+4>>2],u[t+4>>2]=0,a=-26;t:{e:{r:switch(r+-1|0){case 1:if(a=-32,te(e,35621,9))break t;e=e+9|0;break e;case 0:break r;default:break t}if(a=-32,te(e,35631,8))break t;e=e+8|0}if(!te(e,35640,3)&&(e=Pt(e+3|0,n+12|0))){if(a=-26,19!=u[n+12>>2])break t;if(!te(e,35644,3)&&(e=Pt(e+3|0,n+12|0))&&(u[t+44>>2]=u[n+12>>2],!te(e,35648,3)&&(e=Pt(e+3|0,n+12|0))&&(u[t+40>>2]=u[n+12>>2],!te(e,35652,3)&&(e=Pt(e+3|0,n+12|0))&&(r=u[n+12>>2],u[t+48>>2]=r,u[t+52>>2]=r,36==(0|(r=c[0|e]))&&(u[n+12>>2]=i,e=36==(0|r)?e+1|0:e,!z(u[t+16>>2],i,e,Tt(e),0,n+12|0,n+8|0,3)&&(u[t+20>>2]=u[n+12>>2],e=u[n+8>>2],36==(0|(r=c[0|e]))&&(u[n+12>>2]=o,e=36==(0|r)?e+1|0:e,!z(u[t>>2],o,e,Tt(e),0,n+12|0,n+8|0,3)))))))){if(u[t+4>>2]=u[n+12>>2],e=u[n+8>>2],a=gt(t))break t;return b=n+16|0,c[0|e]?-32:0}}a=-32}return b=n+16|0,a}function Z(t,e){var r,n,i,o,s,c,h=0,l=0,A=0,p=0,d=0,g=0,y=0,m=0,v=0,b=0,w=0;(h=p=u[t+60>>2])|(l=u[t+56>>2])&&(p=l,a[(g=l+t|0)- -64|0]=1,(l=l+1|0)>>>0<1&&(h=h+1|0),!h&l>>>0<=15|h>>>0<0&&ct(g+65|0,0,15-p|0),a[t+80|0]=1,P(t,t- -64|0,16,0)),c=u[t+52>>2],w=u[t+48>>2],y=u[t+44>>2],h=u[t+24>>2],p=u[t+28>>2]+(h>>>26|0)|0,A=u[t+32>>2]+(p>>>26|0)|0,v=(p=(b=(-67108864|(r=u[t+36>>2]+(A>>>26|0)|0))+((o=(n=67108863&A)+((i=(d=67108863&p)+((A=(h=(67108863&h)+((b=u[t+20>>2]+f(r>>>26|0,5)|0)>>>26|0)|0)+((g=5+(l=67108863&b)|0)>>>26|0)|0)>>>26|0)|0)>>>26|0)|0)>>>26|0)|0)>>31)&h|(m=A)&(A=67108863&(s=(b>>>31|0)-1|0)),m=e,h=0,(l=(g=l&p|A&g|v<<26)+u[t+40>>2]|0)>>>0>>0&&(h=1),rr(m,l),l=0,(d=(m=y)+(v=(y=p&d|A&i)<<20|v>>>6)|0)>>>0>>0&&(l=1),m=d,d=h,v=m+h|0,h=l,h=v>>>0>>0?h+1|0:h,rr(g=e+4|0,v),l=0,(y=(d=w)+(A=(w=p&n|A&o)<<14|y>>>12)|0)>>>0>>0&&(l=1),d=y,y=h,A=d+h|0,h=l,h=A>>>0>>0?h+1|0:h,rr(m=e+8|0,A),rr(l=e+12|0,h=h+(p=(e=(b&s|p&r)<<8|w>>>18)+c|0)|0),Se(t,88)}function $(t,e,r,n,i){t|=0,e|=0,r|=0,n|=0;var o=0,s=0,u=0,h=0,l=0,d=0,g=0,y=0,m=0,v=0;Or(i|=0),s=(o=(n>>>0)/3|0)<<2,(o=f(o,-3)+n|0)&&(s=2&i?(2|s)+(o>>>1|0)|0:s+4|0);t:{e:{y=s;r:{n:{if(s>>>0>>0){if(!(4&i)){if(u=0,!n)break r;i=0,o=0;break n}if(u=0,!n)break r;for(i=0,o=0;;){for(l=c[r+h|0]|l<<8,i=i+8|0;d=o,g=i,m=t+o|0,v=me(l>>>(i=i+-6|0)&63),a[0|m]=v,o=o+1|0,i>>>0>5;);if((0|(h=h+1|0))==(0|n))break}if(u=o,!i)break r;m=t+o|0,v=me(l<<12-g&63),a[0|m]=v,u=d+2|0;break r}lr(),A()}for(;;){for(l=c[r+h|0]|l<<8,i=i+8|0;d=o,g=i,m=t+o|0,v=ve(l>>>(i=i+-6|0)&63),a[0|m]=v,o=o+1|0,i>>>0>5;);if((0|(h=h+1|0))==(0|n))break}u=o,i&&(m=t+o|0,v=ve(l<<12-g&63),a[0|m]=v,u=d+2|0)}if(y>>>0>=(o=u)>>>0){if(s>>>0>o>>>0)break e;s=o;break t}p(35568,35587,230,35603),A()}ct(t+o|0,61,s-o|0)}return ct(t+s|0,0,((r=s+1|0)>>>0>>0?e:r)-s|0),0|t}function tt(t,e,r,n){var i=0,o=0,s=0,h=0,f=0,l=0;t:{if((o=u[t+56>>2])|(i=u[t+60>>2])){if(l=t,f=h=16-o|0,f=(h=(0|n)==(0|(s=0-((16>>0)+i|0)|0))&h>>>0>r>>>0|s>>>0>n>>>0)?r:f,h=s=h?n:s,s|f){if(a[(t+o|0)- -64|0]=c[0|e],i=1,o=0,1!=(0|f)|h)for(;s=i+u[t+56>>2]|0,a[(t+s|0)- -64|0]=c[e+i|0],(i=i+1|0)>>>0<1&&(o=o+1|0),(0|f)!=(0|i)|(0|o)!=(0|h););i=u[t+60>>2],s=u[t+56>>2]}else s=o;if(o=i+h|0,(s=(i=f)+s|0)>>>0>>0&&(o=o+1|0),i=s,u[l+56>>2]=i,u[l+60>>2]=o,!o&i>>>0<16|o>>>0<0)break t;P(t,t- -64|0,16,0),u[t+56>>2]=0,u[t+60>>2]=0,r=(o=r)-(i=f)|0,n=n-((o>>>0>>0)+h|0)|0,e=e+i|0}if(!n&r>>>0>=16|n>>>0>0&&(P(t,e,o=-16&r,n),r&=15,n=0,e=e+o|0),r|n){for(i=0,o=0;l=i+u[t+56>>2]|0,a[(t+l|0)- -64|0]=c[e+i|0],(i=i+1|0)>>>0<1&&(o=o+1|0),(0|r)!=(0|i)|(0|n)!=(0|o););e=t,s=t,n=n+u[t+60>>2]|0,(t=r+u[t+56>>2]|0)>>>0>>0&&(n=n+1|0),u[s+56>>2]=t,u[e+60>>2]=n}}}function et(t,e,r){var n,i=0;n=i=b,b=i=i-448&-64,!t|!e||(we(i- -64|0,0,0,64),rr(i+60|0,u[e+48>>2]),Nr(i- -64|0,i+60|0,4,0),rr(i+60|0,u[e+4>>2]),Nr(i- -64|0,i+60|0,4,0),rr(i+60|0,u[e+44>>2]),Nr(i- -64|0,i+60|0,4,0),rr(i+60|0,u[e+40>>2]),Nr(i- -64|0,i+60|0,4,0),rr(i+60|0,19),Nr(i- -64|0,i+60|0,4,0),rr(i+60|0,r),Nr(i- -64|0,i+60|0,4,0),rr(i+60|0,u[e+12>>2]),Nr(i- -64|0,i+60|0,4,0),(r=u[e+8>>2])&&(Nr(i- -64|0,r,u[e+12>>2],0),1&a[e+56|0]&&(Se(u[e+8>>2],u[e+12>>2]),u[e+12>>2]=0)),rr(i+60|0,u[e+20>>2]),Nr(i- -64|0,i+60|0,4,0),(r=u[e+16>>2])&&Nr(i- -64|0,r,u[e+20>>2],0),rr(i+60|0,u[e+28>>2]),Nr(i- -64|0,i+60|0,4,0),(r=u[e+24>>2])&&(Nr(i- -64|0,r,u[e+28>>2],0),2&c[e+56|0]&&(Se(u[e+24>>2],u[e+28>>2]),u[e+28>>2]=0)),rr(i+60|0,u[e+36>>2]),Nr(i- -64|0,i+60|0,4,0),(r=u[e+32>>2])&&Nr(i- -64|0,r,u[e+36>>2],0),Ze(i- -64|0,t,64)),b=n}function rt(t,e,r,n,i,o,s,h,f,l){var p,d=0,g=0,y=0,m=0,v=0;b=p=b-352|0,r&&(u[r>>2]=0,u[r+4>>2]=0),n&&(a[0|n]=255),v=-1;t:{if(!(!s&o>>>0<17|s>>>0<0)){if(d=s+-1|0,(g=o+-17|0)>>>0<4294967279&&(d=d+1|0),y=g,g=d,!d&y>>>0>=4294967279|d>>>0>0)break t;Hr(p+32|0,64,m=t+32|0,t),Fr(p+96|0,p+32|0),Se(p+32|0,64),kr(p+96|0,h,f,l),kr(p+96|0,35712,0-f&15,0),ct(p+32|0,0,64),a[p+32|0]=c[0|i],ce(p+32|0,p+32|0,64,0,m,1,t),h=c[p+32|0],a[p+32|0]=c[0|i],kr(p+96|0,p+32|0,64,0),kr(p+96|0,i=i+1|0,y,g),kr(p+96|0,35712,15&(d=o+-1|0),0),ke(p+24|0,f,l),kr(p+96|0,p+24|0,8,0),d=s,(o=o+47|0)>>>0<47&&(d=d+1|0),ke(f=p+24|0,o,d),kr(p+96|0,p+24|0,8,0),Ur(p+96|0,p),Se(p+96|0,256),se(p,i+y|0,16)?Se(p,16):(ce(e,i,y,g,m,2,t),Oe(t+36|0,p),Re(m),(2&h||_e(m,4))&&j(t),r&&(u[r>>2]=y,u[r+4>>2]=g),v=0,n&&(a[0|n]=h))}return b=p+352|0,v}lr(),A()}function nt(t,e,r){var n,i,o,a,s,c,h,f,l,A,p,d,g=0,y=0,m=0,v=0,b=0,w=0,I=0,E=0,_=0;n=u[e+4>>2],i=u[t+4>>2],o=u[e+8>>2],y=u[t+8>>2],a=u[e+12>>2],m=u[t+12>>2],s=u[e+16>>2],v=u[t+16>>2],c=u[e+20>>2],b=u[t+20>>2],h=u[e+24>>2],w=u[t+24>>2],f=u[e+28>>2],I=u[t+28>>2],l=u[e+32>>2],E=u[t+32>>2],A=u[e+36>>2],_=u[t+36>>2],d=(r=0-r|0)&((p=u[e>>2])^(g=u[t>>2])),u[t>>2]=d^g,g=_,_=r&(_^A),u[t+36>>2]=g^_,g=E,E=r&(E^l),u[t+32>>2]=g^E,g=I,I=r&(I^f),u[t+28>>2]=g^I,g=w,w=r&(w^h),u[t+24>>2]=g^w,g=b,b=r&(b^c),u[t+20>>2]=g^b,g=v,v=r&(v^s),u[t+16>>2]=g^v,g=m,m=r&(m^a),u[t+12>>2]=g^m,g=y,y=r&(y^o),u[t+8>>2]=g^y,g=t,t=r&(n^i),u[g+4>>2]=t^i,u[e+36>>2]=_^A,u[e+32>>2]=E^l,u[e+28>>2]=I^f,u[e+24>>2]=w^h,u[e+20>>2]=b^c,u[e+16>>2]=v^s,u[e+12>>2]=m^a,u[e+8>>2]=y^o,u[e+4>>2]=t^n,u[e>>2]=p^d}function it(t,e){var r=0,n=0,i=0,o=0,a=0,s=0,l=0,A=0,p=0,d=0;t:if(t&&(2!=u[t+36>>2]||(n=u[e>>2],c[e+8|0]<2&&!n)?(function(t,e,r){var n,i=0,o=0,a=0;if(b=n=b-4096|0,Jr(n+3072|0),Jr(n+2048|0),!(!t|!e)&&(u[n+2048>>2]=u[e>>2],u[n+2052>>2]=0,u[n+2056>>2]=u[e+4>>2],u[n+2060>>2]=0,u[n+2064>>2]=c[e+8|0],u[n+2068>>2]=0,u[n+2072>>2]=u[t+16>>2],u[n+2076>>2]=0,u[n+2080>>2]=u[t+8>>2],u[n+2084>>2]=0,u[n+2088>>2]=u[t+36>>2],u[n+2092>>2]=0,u[t+20>>2]))for(e=0;(a=127&e)||(i=u[n+2100>>2],(o=u[n+2096>>2]+1|0)>>>0<1&&(i=i+1|0),u[n+2096>>2]=o,u[n+2100>>2]=i,Jr(n),Jr(n+1024|0),k(n+3072|0,n+2048|0,n),k(n+3072|0,n,n+1024|0)),a=u[4+(o=(n+1024|0)+(a<<3)|0)>>2],u[(i=(e<<3)+r|0)>>2]=u[o>>2],u[i+4>>2]=a,(e=e+1|0)>>>0>2];);b=n+4096|0}(t,e,p=u[t+4>>2]),n=u[e>>2],d=0):(p=u[t+4>>2],d=1),!((o=!((s=n)|(n=c[e+8|0]))<<1)>>>0>=(r=u[t+20>>2])>>>0)))for(i=u[t+24>>2],r=(n=(f(i,u[e+4>>2])+o|0)+f(r,n)|0)+((n>>>0)%(i>>>0)|0?-1:i+-1|0)|0;;){if(i=1==((n>>>0)%(i>>>0)|0)?n+-1|0:r,r=d?u[u[t>>2]+4>>2]+(i<<10)|0:(o<<3)+p|0,a=u[r+4>>2],l=u[r>>2],r=u[t+28>>2],u[e+12>>2]=o,r=(a>>>0)%(r>>>0)|0,a=u[e+4>>2],s=A=c[e+8|0]?r:a,s=(A=u[e>>2])?r:s,r=u[u[t>>2]+4>>2],a=((f(s,u[t+24>>2])<<10)+r|0)+(Et(t,e,l,!0&(0|a)==(0|s))<<10)|0,l=r+(i<<10)|0,r=r+(n<<10)|0,A?k(l,a,r):S(l,a,r),(o=o+1|0)>>>0>=h[t+20>>2])break t;n=n+1|0,r=i+1|0,i=u[t+24>>2]}}function ot(t,e){var r;u[t>>2]=67108863&(c[0|e]|c[e+1|0]<<8|c[e+2|0]<<16|c[e+3|0]<<24),u[t+4>>2]=(c[e+3|0]|c[e+4|0]<<8|c[e+5|0]<<16|c[e+6|0]<<24)>>>2&67108611,u[t+8>>2]=(c[e+6|0]|c[e+7|0]<<8|c[e+8|0]<<16|c[e+9|0]<<24)>>>4&67092735,u[t+12>>2]=(c[e+9|0]|c[e+10|0]<<8|c[e+11|0]<<16|c[e+12|0]<<24)>>>6&66076671,r=c[e+12|0]|c[e+13|0]<<8|c[e+14|0]<<16|c[e+15|0]<<24,u[t+20>>2]=0,u[t+24>>2]=0,u[t+28>>2]=0,u[t+32>>2]=0,u[t+36>>2]=0,u[t+16>>2]=r>>>8&1048575,u[t+40>>2]=c[e+16|0]|c[e+17|0]<<8|c[e+18|0]<<16|c[e+19|0]<<24,u[t+44>>2]=c[e+20|0]|c[e+21|0]<<8|c[e+22|0]<<16|c[e+23|0]<<24,u[t+48>>2]=c[e+24|0]|c[e+25|0]<<8|c[e+26|0]<<16|c[e+27|0]<<24,e=c[e+28|0]|c[e+29|0]<<8|c[e+30|0]<<16|c[e+31|0]<<24,a[t+80|0]=0,u[t+56>>2]=0,u[t+60>>2]=0,u[t+52>>2]=e}function at(t,e,r){var n=0;t:if((0|t)!=(0|e)){if((e-t|0)-r>>>0<=0-(r<<1)>>>0)return V(t,e,r);if(n=3&(t^e),t>>>0>>0){if(n)n=t;else{if(3&t)for(n=t;;){if(!r)break t;if(a[0|n]=c[0|e],e=e+1|0,r=r+-1|0,!(3&(n=n+1|0)))break}else n=t;if(!(r>>>0<=3))for(;u[n>>2]=u[e>>2],e=e+4|0,n=n+4|0,(r=r+-4|0)>>>0>3;);}if(r)for(;a[0|n]=c[0|e],n=n+1|0,e=e+1|0,r=r+-1|0;);}else{if(!n){if(t+r&3)for(;;){if(!r)break t;if(a[0|(n=(r=r+-1|0)+t|0)]=c[e+r|0],!(3&n))break}if(!(r>>>0<=3))for(;u[(r=r+-4|0)+t>>2]=u[e+r>>2],r>>>0>3;);}if(!r)break t;for(;a[(r=r+-1|0)+t|0]=c[e+r|0],r;);}}return t}function st(t,e,r,n){var i=0,o=0,s=0,u=0,h=0,f=0;t:if(r|n)for(f=t+224|0,s=t+96|0,i=c[t+352|0]|c[t+353|0]<<8|c[t+354|0]<<16|c[t+355|0]<<24;;){if(u=96+(t+i|0)|0,h=o=256-i|0,!n&r>>>0<=o>>>0|n>>>0<0){V(u,e,r),e=r+(c[t+352|0]|c[t+353|0]<<8|c[t+354|0]<<16|c[t+355|0]<<24)|0,a[t+352|0]=e,a[t+353|0]=e>>>8,a[t+354|0]=e>>>16,a[t+355|0]=e>>>24;break t}if(V(u,e,o),i=(c[t+352|0]|c[t+353|0]<<8|c[t+354|0]<<16|c[t+355|0]<<24)+o|0,a[t+352|0]=i,a[t+353|0]=i>>>8,a[t+354|0]=i>>>16,a[t+355|0]=i>>>24,pt(t,128),_(t,s),V(s,f,128),i=(c[t+352|0]|c[t+353|0]<<8|c[t+354|0]<<16|c[t+355|0]<<24)-128|0,a[t+352|0]=i,a[t+353|0]=i>>>8,a[t+354|0]=i>>>16,a[t+355|0]=i>>>24,e=e+o|0,!((r=(o=r)-h|0)|(n=n-(o>>>0>>0)|0)))break}return 0}function ut(t,e){var r,n=0;b=r=b-48|0,function(t,e){var r,n,i,o,a,s,c,h,l=0;n=u[e+28>>2],i=u[e+24>>2],o=u[e+20>>2],a=u[e+16>>2],s=u[e+12>>2],c=u[e+8>>2],h=u[e+4>>2],l=u[e>>2],r=u[e+36>>2],e=u[e+32>>2],l=f(((n+(i+(o+(a+(s+(c+(h+(l+(f(r,19)+16777216>>>25|0)>>26)>>25)>>26)>>25)>>26)>>25)>>26)>>25)+e>>26)+r>>25,19)+l|0,u[t>>2]=67108863&l,l=h+(l>>26)|0,u[t+4>>2]=33554431&l,l=c+(l>>25)|0,u[t+8>>2]=67108863&l,l=s+(l>>26)|0,u[t+12>>2]=33554431&l,l=a+(l>>25)|0,u[t+16>>2]=67108863&l,l=o+(l>>26)|0,u[t+20>>2]=33554431&l,l=i+(l>>25)|0,u[t+24>>2]=67108863&l,l=n+(l>>26)|0,u[t+28>>2]=33554431&l,e=e+(l>>25)|0,u[t+32>>2]=67108863&e,u[t+36>>2]=r+(e>>26)&33554431}(r,e),e=u[r>>2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24)|0)>>>0<32))))))))for(n=e,o=e,e=i+s|0;u[e+24>>2]=o,u[e+28>>2]=n,u[e+16>>2]=o,u[e+20>>2]=n,u[e+8>>2]=o,u[e+12>>2]=n,u[e>>2]=o,u[e+4>>2]=n,e=e+32|0,(r=r+-32|0)>>>0>31;);return t}function ht(t,e){var r,n=0,i=0,o=0,s=0;for(b=r=b-464|0;i=n<<1,s=c[e+n|0],a[i+(r+400|0)|0]=15&s,a[(r+400|0)+(1|i)|0]=s>>>4,32!=(0|(n=n+1|0)););for(n=0;e=8+(i=(e=n)+c[0|(n=(r+400|0)+o|0)]|0)|0,a[0|n]=i-(240&e),n=e<<24>>28,63!=(0|(o=o+1|0)););for(a[r+463|0]=c[r+463|0]+n,Ar(t),n=1;Sr(r,n>>>1|0,a[(r+400|0)+n|0]),ae(r+240|0,t,r),Te(t,r+240|0),e=n>>>0<62,n=n+2|0,e;);for(er(r+240|0,t),He(r+120|0,r+240|0),he(r+240|0,r+120|0),He(r+120|0,r+240|0),he(r+240|0,r+120|0),He(r+120|0,r+240|0),he(r+240|0,r+120|0),Te(t,r+240|0),n=0;Sr(r,n>>>1|0,a[(r+400|0)+n|0]),ae(r+240|0,t,r),Te(t,r+240|0),e=n>>>0<62,n=n+2|0,e;);b=r+464|0}function ft(t,e,r,n,i,o,s,h,f,l){var p,d=0;if(b=p=b-336|0,r&&(u[r>>2]=0,u[r+4>>2]=0),!o&i>>>0<4294967279|o>>>0<0)return Hr(p+16|0,64,d=t+32|0,t),Fr(p+80|0,p+16|0),Se(p+16|0,64),kr(p+80|0,s,h,f),kr(p+80|0,35712,0-h&15,0),ct(p+16|0,0,64),a[p+16|0]=l,ce(p+16|0,p+16|0,64,0,d,1,t),kr(p+80|0,p+16|0,64,0),a[0|e]=c[p+16|0],ce(s=e+1|0,n,i,o,d,2,t),kr(p+80|0,s,i,o),kr(p+80|0,35712,15&i,0),ke(p+8|0,h,f),kr(p+80|0,p+8|0,8,0),ke(p+8|0,i- -64|0,o-((i>>>0<4294967232)+-1|0)|0),kr(p+80|0,p+8|0,8,0),Ur(p+80|0,e=i+s|0),Se(p+80|0,256),Oe(t+36|0,e),Re(d),(2&l||_e(d,4))&&j(t),r&&((t=i+17|0)>>>0<17&&(o=o+1|0),u[r>>2]=t,u[r+4>>2]=o),b=p+336|0,0;lr(),A()}function lt(t,e,r,n,i,o,a){var s,c,h,f,l=0;return b=s=b-352|0,Y(s,o,a),!i&r-t>>>0>=n>>>0|0>i>>>0|r>>>0<=t>>>0&&!(!i&t-r>>>0>>0|0>>0&&t>>>0>r>>>0)||(r=at(t,r,n)),u[s+56>>2]=0,u[s+60>>2]=0,u[s+48>>2]=0,u[s+52>>2]=0,u[s+40>>2]=0,u[s+44>>2]=0,u[s+32>>2]=0,u[s+36>>2]=0,(c=!((a=(l=!i&n>>>0>32|i>>>0>0)?32:n)|(l=l?0:i)))||V(s- -64|0,r,a),f=o+16|0,o=l,(h=a+32|0)>>>0<32&&(o=o+1|0),pr(s+32|0,s+32|0,h,o,f,s),Fr(s+96|0,s+32|0),c||V(t,s- -64|0,a),Se(s+32|0,64),!i&n>>>0>=33|i>>>0>0&&dr(t+a|0,o=r+a|0,(r=n)-a|0,i-(l+(r>>>0>>0)|0)|0,f,s),Se(s,32),kr(s+96|0,t,n,i),Ur(s+96|0,e),Se(s+96|0,256),b=s+352|0,0}function At(t,e,r,n,i,a,s){var c,h,f=0,l=0,A=0;b=c=b-96|0,Y(c,a,s),h=a+16|0,o[u[8951]](c+32|0,32,0,h,c),a=-1;t:{if(!(0|o[u[8945]](r,e,n,i,c+32|0))){if(a=0,!t)break t;!i&t-e>>>0>=n>>>0|0>i>>>0|t>>>0<=e>>>0&&!(!i&e-t>>>0>>0|0>>0&&e>>>0>t>>>0)||(e=at(t,e,n)),r=(a=!i&n>>>0>32|i>>>0>0)?32:n,s=a=a?0:i,r|a?(f=r,A=V(c- -64|0,e,r),a=s,(l=r+32|0)>>>0<32&&(a=a+1|0),pr(c+32|0,c+32|0,l,a,h,c),V(t,A,f)):(a=s,(f=r+32|0)>>>0<32&&(a=a+1|0),pr(l=c+32|0,A=c+32|0,f,a,h,c)),a=0,!i&n>>>0<33|i>>>0<0||dr((f=t)+(t=r)|0,t+e|0,n-t|0,i-(s+(n>>>0>>0)|0)|0,h,c)}Se(c,32)}return b=c+96|0,a}function pt(t,e){var r,n,i=0,o=0;o=r=c[t+68|0]|c[t+69|0]<<8|c[t+70|0]<<16|c[t+71|0]<<24,(i=e+(n=c[t+64|0]|c[t+65|0]<<8|c[t+66|0]<<16|c[t+67|0]<<24)|0)>>>0>>0&&(o=o+1|0),a[t+64|0]=i,a[t+65|0]=i>>>8,a[t+66|0]=i>>>16,a[t+67|0]=i>>>24,a[t+68|0]=o,a[t+69|0]=o>>>8,a[t+70|0]=o>>>16,a[t+71|0]=o>>>24,e=c[t+76|0]|c[t+77|0]<<8|c[t+78|0]<<16|c[t+79|0]<<24,(i=(o=(0|o)==(0|r)&i>>>0>>0|o>>>0>>0)+(c[t+72|0]|c[t+73|0]<<8|c[t+74|0]<<16|c[t+75|0]<<24)|0)>>>0>>0&&(e=e+1|0),a[t+72|0]=i,a[t+73|0]=i>>>8,a[t+74|0]=i>>>16,a[t+75|0]=i>>>24,a[t+76|0]=e,a[t+77|0]=e>>>8,a[t+78|0]=e>>>16,a[t+79|0]=e>>>24}function dt(t,e){u[t>>2]=1634760805,u[t+4>>2]=857760878,u[t+8>>2]=2036477234,u[t+12>>2]=1797285236,u[t+16>>2]=c[0|e]|c[e+1|0]<<8|c[e+2|0]<<16|c[e+3|0]<<24,u[t+20>>2]=c[e+4|0]|c[e+5|0]<<8|c[e+6|0]<<16|c[e+7|0]<<24,u[t+24>>2]=c[e+8|0]|c[e+9|0]<<8|c[e+10|0]<<16|c[e+11|0]<<24,u[t+28>>2]=c[e+12|0]|c[e+13|0]<<8|c[e+14|0]<<16|c[e+15|0]<<24,u[t+32>>2]=c[e+16|0]|c[e+17|0]<<8|c[e+18|0]<<16|c[e+19|0]<<24,u[t+36>>2]=c[e+20|0]|c[e+21|0]<<8|c[e+22|0]<<16|c[e+23|0]<<24,u[t+40>>2]=c[e+24|0]|c[e+25|0]<<8|c[e+26|0]<<16|c[e+27|0]<<24,u[t+44>>2]=c[e+28|0]|c[e+29|0]<<8|c[e+30|0]<<16|c[e+31|0]<<24}function gt(t){var e=0,r=0;if(!t)return-25;if(!u[t>>2])return-1;t:{e:{if(e=-2,!(h[t+4>>2]<16)&&(u[t+8>>2]||(e=-18,!u[t+12>>2]))){if(r=u[t+20>>2],!u[t+16>>2])break e;if(e=-6,!(r>>>0<8)&&(u[t+24>>2]||(e=-20,!u[t+28>>2]))&&(u[t+32>>2]||(e=-21,!u[t+36>>2]))&&(e=-14,!((r=u[t+44>>2])>>>0<8||(e=-15,r>>>0>2097152||(e=-14,r>>>0<(r=u[t+48>>2])<<3>>>0))))){if(!u[t+40>>2])return-12;if(!r)return-16;if(e=-17,!(r>>>0>16777215)){if(t=u[t+52>>2])break t;e=-28}}}return e}return r?-19:-6}return t>>>0>16777215?-29:0}function yt(t,e){for(var r=0,n=0,i=0,o=0,s=0,u=0,h=0,f=0,l=0,A=0;a[t+r|0]=c[(r>>>3|0)+e|0]>>>(7&r)&1,256!=(0|(r=r+1|0)););for(i=254;;){u=(o=u)+1|0;t:if(!(!c[0|(s=t+o|0)]|o>>>0>254))for(e=1,A=(i>>>0<5?i:5)+1|0,r=u;;){h=e;e:if(n=a[0|(e=t+r|0)])if((0|(l=(f=a[0|s])+(n<<=h)|0))<=15)a[0|s]=l,a[0|e]=0;else{if((0|(e=f-n|0))<-15)break t;for(a[0|s]=e;;){if(!c[0|(e=t+r|0)]){a[0|e]=1;break e}if(a[0|e]=0,e=r>>>0<255,r=r+1|0,!e)break}}if(r=o+(e=h+1|0)|0,(0|h)==(0|A))break}if(i=i+-1|0,256==(0|u))break}}function mt(t,e,r){var n,i,o,a,s,c,h,f,l,A,p,d,g,y,m,v,b,w,I,E;p=u[e+4>>2],n=u[t+4>>2],d=u[e+8>>2],i=u[t+8>>2],g=u[e+12>>2],o=u[t+12>>2],y=u[e+16>>2],a=u[t+16>>2],m=u[e+20>>2],s=u[t+20>>2],v=u[e+24>>2],c=u[t+24>>2],b=u[e+28>>2],h=u[t+28>>2],w=u[e+32>>2],f=u[t+32>>2],I=u[e+36>>2],l=u[t+36>>2],A=u[t>>2],E=u[e>>2]^A,e=0-r|0,u[t>>2]=A^E&e,u[t+36>>2]=e&(l^I)^l,u[t+32>>2]=e&(f^w)^f,u[t+28>>2]=e&(h^b)^h,u[t+24>>2]=e&(c^v)^c,u[t+20>>2]=e&(s^m)^s,u[t+16>>2]=e&(a^y)^a,u[t+12>>2]=e&(o^g)^o,u[t+8>>2]=e&(i^d)^i,u[t+4>>2]=e&(n^p)^n}function vt(t,e,r,n){var i,o,a,s,c=0;b=i=b+-64|0,ct(i+8|0,0,52),c=Tt(t),u[i+20>>2]=c,u[i+36>>2]=c,u[i+4>>2]=c,o=Q(c),u[i+32>>2]=o,a=Q(c),u[i+16>>2]=a,s=Q(c),u[i>>2]=s;t:if(!s|!o|!a||!(c=Q(c)))D(o),D(a),D(s),t=-22;else{if(t=W(i,t,n)){D(u[i+32>>2]),D(u[i+16>>2]),D(u[i>>2]),D(c);break t}t=0,e=Mt(u[i+40>>2],u[i+44>>2],u[i+52>>2],e,r,u[i+16>>2],u[i+20>>2],c,u[i+4>>2],0,0,n),D(u[i+32>>2]),D(u[i+16>>2]),(e||se(c,u[i>>2],u[i+4>>2]))&&(t=-35),D(c),D(u[i>>2])}return b=i- -64|0,t}function bt(t,e){var r,n,i=0;b=r=b-288|0,U(n=t+40|0,e),Rr(i=t+80|0),x(r+240|0,n),M(r+192|0,r+240|0,2128),wt(r+240|0,r+240|0,i),It(r+192|0,r+192|0,i),x(r+144|0,r+192|0),M(r+144|0,r+144|0,r+192|0),x(t,r+144|0),M(t,t,r+192|0),M(t,t,r+240|0),function(t,e){var r,n=0;for(b=r=b-144|0,x(r+96|0,e),x(r+48|0,r+96|0),x(r+48|0,r+48|0),M(r+48|0,e,r+48|0),M(r+96|0,r+96|0,r+48|0),x(r+96|0,r+96|0),M(r+96|0,r+48|0,r+96|0),x(r+48|0,r+96|0),n=1;x(r+48|0,r+48|0),5!=(0|(n=n+1|0)););for(M(r+96|0,r+48|0,r+96|0),x(r+48|0,r+96|0),n=1;x(r+48|0,r+48|0),10!=(0|(n=n+1|0)););for(M(r+48|0,r+48|0,r+96|0),x(r,r+48|0),n=1;x(r,r),20!=(0|(n=n+1|0)););for(M(r+48|0,r,r+48|0),x(r+48|0,r+48|0),n=1;x(r+48|0,r+48|0),10!=(0|(n=n+1|0)););for(M(r+96|0,r+48|0,r+96|0),x(r+48|0,r+96|0),n=1;x(r+48|0,r+48|0),50!=(0|(n=n+1|0)););for(M(r+48|0,r+48|0,r+96|0),x(r,r+48|0),n=1;x(r,r),100!=(0|(n=n+1|0)););for(M(r+48|0,r,r+48|0),x(r+48|0,r+48|0),n=1;x(r+48|0,r+48|0),50!=(0|(n=n+1|0)););M(r+96|0,r+48|0,r+96|0),x(r+96|0,r+96|0),x(r+96|0,r+96|0),M(t,r+96|0,e),b=r+144|0}(t,t),M(t,t,r+144|0),M(t,t,r+240|0),x(r+96|0,t),M(r+96|0,r+96|0,r+192|0),wt(r+48|0,r+96|0,r+240|0);t:{if(!tr(r+48|0)){if(It(r,r+96|0,r+240|0),i=-1,!tr(r))break t;M(t,t,2176)}(0|nr(t))==(c[e+31|0]>>>7|0)&&Ot(t,t),M(t+120|0,t,n),i=0}return b=r+288|0,i}function wt(t,e,r){var n,i,o,a,s,c,h,f,l,A,p,d,g,y,m,v,b,w;n=u[r+4>>2],i=u[e+4>>2],o=u[r+8>>2],a=u[e+8>>2],s=u[r+12>>2],c=u[e+12>>2],h=u[r+16>>2],f=u[e+16>>2],l=u[r+20>>2],A=u[e+20>>2],p=u[r+24>>2],d=u[e+24>>2],g=u[r+28>>2],y=u[e+28>>2],m=u[r+32>>2],v=u[e+32>>2],b=u[r+36>>2],w=u[e+36>>2],u[t>>2]=u[e>>2]-u[r>>2],u[t+36>>2]=w-b,u[t+32>>2]=v-m,u[t+28>>2]=y-g,u[t+24>>2]=d-p,u[t+20>>2]=A-l,u[t+16>>2]=f-h,u[t+12>>2]=c-s,u[t+8>>2]=a-o,u[t+4>>2]=i-n}function It(t,e,r){var n,i,o,a,s,c,h,f,l,A,p,d,g,y,m,v,b,w;n=u[r+4>>2],i=u[e+4>>2],o=u[r+8>>2],a=u[e+8>>2],s=u[r+12>>2],c=u[e+12>>2],h=u[r+16>>2],f=u[e+16>>2],l=u[r+20>>2],A=u[e+20>>2],p=u[r+24>>2],d=u[e+24>>2],g=u[r+28>>2],y=u[e+28>>2],m=u[r+32>>2],v=u[e+32>>2],b=u[r+36>>2],w=u[e+36>>2],u[t>>2]=u[r>>2]+u[e>>2],u[t+36>>2]=b+w,u[t+32>>2]=m+v,u[t+28>>2]=g+y,u[t+24>>2]=p+d,u[t+20>>2]=l+A,u[t+16>>2]=h+f,u[t+12>>2]=s+c,u[t+8>>2]=o+a,u[t+4>>2]=n+i}function Et(t,e,r,n){var i=0,o=0;t:{e:{r:{n:{i:{if(!u[e>>2]){if(i=c[e+8|0],o=u[e+12>>2]+-1|0,!i)break n;if(i=f(i,u[t+20>>2]),e=u[e+12>>2],!n)break i;o=(e+i|0)-1|0;break n}if(i=u[t+20>>2],t=u[t+24>>2],!n)break r;n=u[e+12>>2]+((-1^i)+t|0)|0;break e}o=i-!e|0}n=o,t=u[t+24>>2],o=0;break t}n=(t-i|0)-!u[e+12>>2]|0}o=0,3!=(0|(e=c[e+8|0]))&&(o=f(i,e+1|0))}return i=o,e=0,(i=(o=n+-1|0)+i|0)>>>0>>0&&(e=1),Mr(r,0,r,0),Mr(n,0,E,0),function(t,e,r){var n=0,i=0,o=0,a=0,s=0,u=0,c=0,h=0,A=0;t:{e:{r:{n:{i:{o:{a:{s:{u:{if(i=e){if(!(n=r))break u;break s}return w=t-f((t>>>0)/(r>>>0)|0,r)|0,I=0,void(E=0)}if(!t)break a;break o}if(!((a=n+-1|0)&n))break i;s=0-(a=(l(n)+33|0)-l(i)|0)|0;break r}return w=0,I=i,void(E=0)}if((n=32-l(i)|0)>>>0<31)break n;break e}if(w=t&a,I=0,1==(0|n))break t;return r=31&(t=n?31-l(n+-1^n)|0:32),void(E=32<=(63&t)>>>0?0:e>>>r|0)}a=n+1|0,s=63-n|0}if(n=e,o=31&(i=63&a),32<=i>>>0?(i=0,o=n>>>o|0):(i=n>>>o|0,o=((1<>>o),n=31&(s&=63),32<=s>>>0?(e=t<>>32-n|e<>>31)-(h=r&(u=n-((i=i<<1|o>>>31)+(s>>>0>>0)|0)>>31))|0,i=i-(c>>>0>>0)|0,e=e<<1|t>>>31,t=A|t<<1,A=1&u,a=a+-1|0;);return w=o,I=i,void(E=e<<1|t>>>31)}w=t,I=e,e=0}E=e}(i-(r=E)|0,e-(i>>>0>>0)|0,t),E=I,w}function _t(t,e,r,n,i){var o;if(b=o=b-192|0,!(!r|(e+-1&255)>>>0>=64))return s[o+130>>1]=257,a[o+129|0]=32,a[o+128|0]=e,ur(o+128|4),ke(o+128|8,0,0),u[o+152>>2]=0,u[o+156>>2]=0,u[o+144>>2]=0,u[o+148>>2]=0,n?function(t,e){var r,n=0;n=c[e+4|0]|c[e+5|0]<<8|c[e+6|0]<<16|c[e+7|0]<<24,r=c[0|e]|c[e+1|0]<<8|c[e+2|0]<<16|c[e+3|0]<<24,a[t+32|0]=r,a[t+33|0]=r>>>8,a[t+34|0]=r>>>16,a[t+35|0]=r>>>24,a[t+36|0]=n,a[t+37|0]=n>>>8,a[t+38|0]=n>>>16,a[t+39|0]=n>>>24,n=c[e+12|0]|c[e+13|0]<<8|c[e+14|0]<<16|c[e+15|0]<<24,e=c[e+8|0]|c[e+9|0]<<8|c[e+10|0]<<16|c[e+11|0]<<24,a[t+40|0]=e,a[t+41|0]=e>>>8,a[t+42|0]=e>>>16,a[t+43|0]=e>>>24,a[t+44|0]=n,a[t+45|0]=n>>>8,a[t+46|0]=n>>>16,a[t+47|0]=n>>>24}(o+128|0,n):(u[o+168>>2]=0,u[o+172>>2]=0,u[o+160>>2]=0,u[o+164>>2]=0),i?function(t,e){var r,n=0;n=c[e+4|0]|c[e+5|0]<<8|c[e+6|0]<<16|c[e+7|0]<<24,r=c[0|e]|c[e+1|0]<<8|c[e+2|0]<<16|c[e+3|0]<<24,a[t+48|0]=r,a[t+49|0]=r>>>8,a[t+50|0]=r>>>16,a[t+51|0]=r>>>24,a[t+52|0]=n,a[t+53|0]=n>>>8,a[t+54|0]=n>>>16,a[t+55|0]=n>>>24,n=c[e+12|0]|c[e+13|0]<<8|c[e+14|0]<<16|c[e+15|0]<<24,e=c[e+8|0]|c[e+9|0]<<8|c[e+10|0]<<16|c[e+11|0]<<24,a[t+56|0]=e,a[t+57|0]=e>>>8,a[t+58|0]=e>>>16,a[t+59|0]=e>>>24,a[t+60|0]=n,a[t+61|0]=n>>>8,a[t+62|0]=n>>>16,a[t+63|0]=n>>>24}(o+128|0,i):(u[o+184>>2]=0,u[o+188>>2]=0,u[o+176>>2]=0,u[o+180>>2]=0),Ct(t,o+128|0),ct(o+32|0,0,96),st(e=t,t=V(o,r,32),128,0),Se(t,128),void(b=t+192|0);lr(),A()}function Bt(t){var e,r=0,n=0,i=0,o=0;for(a[11+(e=b-16|0)|0]=0,a[e+12|0]=0,a[e+13|0]=0,a[e+14|0]=0,u[e+8>>2]=0;;){for(i=c[t+n|0],r=0;a[0|(o=(e+8|0)+r|0)]=c[0|o]|i^c[(3232+(r<<5)|0)+n|0],7!=(0|(r=r+1|0)););if(31==(0|(n=n+1|0)))break}for(n=127&c[t+31|0],t=0,r=0;a[0|(i=(e+8|0)+r|0)]=c[0|i]|n^c[3263+(r<<5)|0],7!=(0|(r=r+1|0)););for(r=0;r=c[(e+8|0)+t|0]+-1|r,7!=(0|(t=t+1|0)););return r>>>8&1}function Ct(t,e){var r=0,n=0,i=0,o=0,s=0;for(ct(V(t,1952,64)- -64|0,0,293);i=n=(r=o<<3)+t|0,r=e+r|0,s=c[0|n]|c[n+1|0]<<8|c[n+2|0]<<16|c[n+3|0]<<24,n=(c[r+4|0]|c[r+5|0]<<8|c[r+6|0]<<16|c[r+7|0]<<24)^(c[n+4|0]|c[n+5|0]<<8|c[n+6|0]<<16|c[n+7|0]<<24),r=(c[0|r]|c[r+1|0]<<8|c[r+2|0]<<16|c[r+3|0]<<24)^s,a[0|i]=r,a[i+1|0]=r>>>8,a[i+2|0]=r>>>16,a[i+3|0]=r>>>24,a[i+4|0]=n,a[i+5|0]=n>>>8,a[i+6|0]=n>>>16,a[i+7|0]=n>>>24,8!=(0|(o=o+1|0)););}function Qt(t,e){var r,n=0,i=0,o=0,a=0;if(b=r=b-48|0,!((n=gt(t))||(n=-26,e+-1>>>0>1||(o=u[t+44>>2],n=u[t+48>>2],u[r>>2]=0,i=u[t+40>>2],u[r+28>>2]=n,u[r+12>>2]=-1,u[r+8>>2]=i,n=((i=o>>>0<(i=n<<3)>>>0?i:o)>>>0)/((o=n<<2)>>>0)|0,u[r+20>>2]=n,u[r+24>>2]=n<<2,u[r+16>>2]=f(n,o),n=u[t+52>>2],u[r+36>>2]=e,u[r+32>>2]=n,n=function(t,e){var r,n=0;return b=r=b-80|0,n=-25,!t|!e||(n=Q(u[t+20>>2]<<3),u[t+4>>2]=n,n?(n=function(t,e){var r,n=0,i=0;b=r=b-16|0,i=-22;t:if(!(!t|!e)&&1024==(((n=e<<10)>>>0)/(e>>>0)|0)&&(e=Q(12),u[t>>2]=e,e)){u[e>>2]=0,u[e+4>>2]=0,e=function(t,e){if(4294967168>>0)t=48;else{if(!(e=function(t){var e=0,r=0,n=0,i=0,o=0,a=0;return 4294967168<=t>>>0?(u[8960]=48,0):(t=Q(76+(n=t>>>0<11?16:t+11&-8)|0))?(e=t+-8|0,63&t?(i=(-8&(a=u[(o=t+-4|0)>>2]))-(r=(t=(t=(t+63&-64)-8|0)-e>>>0>15?t:t- -64|0)-e|0)|0,3&a?(u[t+4>>2]=i|1&u[t+4>>2]|2,u[4+(i=t+i|0)>>2]=1|u[i+4>>2],u[o>>2]=r|1&u[o>>2]|2,u[t+4>>2]=1|u[t+4>>2],R(e,r)):(e=u[e>>2],u[t+4>>2]=i,u[t>>2]=e+r)):t=e,3&(e=u[t+4>>2])&&((r=-8&e)>>>0<=n+16>>>0||(u[t+4>>2]=n|1&e|2,e=t+n|0,n=r-n|0,u[e+4>>2]=3|n,u[4+(r=t+r|0)>>2]=1|u[r+4>>2],R(e,n))),t+8|0):0}(e)))return 48;u[t>>2]=e,t=0}return t}(r+12|0,n),u[8960]=e;e:{if(e)u[r+12>>2]=0;else if(e=u[r+12>>2])break e;D(u[t>>2]),u[t>>2]=0;break t}u[u[t>>2]>>2]=e,u[u[t>>2]+4>>2]=e,u[u[t>>2]+8>>2]=n,i=0}return b=r+16|0,i}(t,u[t+16>>2]))?Me(t,u[e+56>>2]):(et(r,e,u[t+36>>2]),Se(r- -64|0,8),function(t,e){var r,n=0,i=0,o=0;if(b=r=b-1024|0,u[e+28>>2])for(o=t+68|0,i=t- -64|0;rr(i,0),rr(o,n),G(r,1024,t,72),ne(u[u[e>>2]+4>>2]+(f(u[e+24>>2],n)<<10)|0,r),rr(i,1),G(r,1024,t,72),ne(1024+(u[u[e>>2]+4>>2]+(f(u[e+24>>2],n)<<10)|0)|0,r),(n=n+1|0)>>>0>2];);Se(r,1024),b=r+1024|0}(r,t),Se(r,72),n=0):n=-22),b=r+80|0,n}(r,t))))){if(u[r+8>>2])for(;Dt(r,a),(a=a+1|0)>>>0>2];);!function(t,e){var r,n=0,i=0;if(b=r=b-2048|0,!(!t|!e)){if(Yr(r+1024|0,(u[u[e>>2]+4>>2]+(u[e+24>>2]<<10)|0)-1024|0),h[e+28>>2]>=2)for(n=1;i=u[e+24>>2],ye(r+1024|0,(u[u[e>>2]+4>>2]+(i+f(n,i)<<10)|0)-1024|0),(n=n+1|0)>>>0>2];);!function(t,e){for(var r=0,n=0;ke((r=n<<3)+t|0,u[(r=e+r|0)>>2],u[r+4>>2]),128!=(0|(n=n+1|0)););}(r,r+1024|0),G(u[t>>2],u[t+4>>2],r,1024),Se(r+1024|0,1024),Se(r,1024),Me(e,u[t+56>>2])}b=r+2048|0}(t,r),n=0}return b=r+48|0,n}function Mt(t,e,r,n,i,o,a,s,c,h,f,l){var A,p;return b=A=b+-64|0,(p=Q(c))?(u[A+32>>2]=0,u[A+36>>2]=0,u[A+24>>2]=0,u[A+28>>2]=0,u[A+20>>2]=a,u[A+16>>2]=o,u[A+12>>2]=i,u[A+8>>2]=n,u[A+4>>2]=c,u[A>>2]=p,u[A+56>>2]=0,u[A+52>>2]=r,u[A+48>>2]=r,u[A+44>>2]=e,u[A+40>>2]=t,(r=Qt(A,l))?Se(p,c):(s&&V(s,p,c),!h|!f||!L(h,f,A,l)?(Se(p,c),r=0):(Se(p,c),Se(h,f),r=-31)),D(p)):r=-22,b=A- -64|0,r}function kt(t,e,r,n,i){var o,a=0,s=0;b=o=b+-64|0;t:{e:{if((a=Tt(t))>>>0<128&&!r|r>>>0<0){if(r=ct(o,0,60),s=function(t){var e=0,r=0;return e=0,t&&(r=t,e=t,(1|t)>>>0<65536||(e=r)),r=e,!(t=Q(e))|!(3&c[t+-4|0])||ct(t,0,r),t}(a))break e}else u[8960]=28;t=-1;break t}u[r+32>>2]=0,u[r+36>>2]=0,u[r+8>>2]=s,u[r+16>>2]=s,u[r+20>>2]=a,u[r>>2]=s,u[r+12>>2]=a,u[r+24>>2]=0,u[r+28>>2]=0,u[r+4>>2]=a,W(r,t,i)?(u[8960]=28,t=-1):(t=1,(0|e)==u[r+40>>2]&&(t=u[r+44>>2]!=(n>>>10|0))),D(s)}return b=o- -64|0,t}function St(t,e,r,n,i,o){var a,s,u=0,c=0,h=0;return b=a=b-592|0,u=-1,Ie(s=t+32|0)&&(Bt(t)||Qe(i)&&(Bt(i)||bt(a+128|0,i)||(Ir(a+384|0,o),J(a+384|0,t,32,0),J(a+384|0,i,32,0),J(a+384|0,e,r,n),Xe(a+384|0,a+320|0),C(a+320|0),q(a+8|0,a+320|0,a+128|0,s),Ee(a+288|0,a+8|0),c=-1,h=Lr(a+288|0,t),u=((a+288|0)==(0|t)?c:h)|se(t,a+288|0,32)))),b=a+592|0,u}function xt(t,e,r,n,i,o,a,s,u,c){var h;return b=h=b-352|0,Hr(h+32|0,64,u,c),Fr(h+96|0,h+32|0),Se(h+32|0,64),kr(h+96|0,o,a,s),kr(h+96|0,34688,0-a&15,0),kr(h+96|0,e,r,n),kr(h+96|0,34688,0-r&15,0),ke(h+24|0,a,s),kr(h+96|0,h+24|0,8,0),ke(h+24|0,r,n),kr(h+96|0,h+24|0,8,0),Ur(h+96|0,h),Se(h+96|0,256),i=Gr(h,i),Se(h,16),t&&(i?(ct(t,0,r),i=-1):(ce(t,e,r,n,u,1,c),i=0)),b=h+352|0,i}function Dt(t,e){var r,n=0,i=0,o=0;if(b=r=b-32|0,!(!t|!u[t+28>>2]))for(u[r+16>>2]=e,n=1;;){if(a[r+24|0]=i,e=0,o=0,n)for(;u[r+28>>2]=0,n=u[r+28>>2],u[r+8>>2]=u[r+24>>2],u[r+12>>2]=n,u[r+20>>2]=e,n=u[r+20>>2],u[r>>2]=u[r+16>>2],u[r+4>>2]=n,it(t,r),(e=e+1|0)>>>0<(o=u[t+28>>2])>>>0;);if(n=o,4==(0|(i=i+1|0)))break}b=r+32|0}function Rt(t,e,r,n,i,o,a,s,c,h,f){var l;return b=l=b-336|0,Hr(l+16|0,64,h,f),Fr(l+80|0,l+16|0),Se(l+16|0,64),kr(l+80|0,a,s,c),kr(l+80|0,34688,0-s&15,0),ce(t,n,i,o,h,1,f),kr(l+80|0,t,i,o),kr(l+80|0,34688,0-i&15,0),ke(l+8|0,s,c),kr(l+80|0,l+8|0,8,0),ke(l+8|0,i,o),kr(l+80|0,l+8|0,8,0),Ur(l+80|0,e),Se(l+80|0,256),r&&(u[r>>2]=16,u[r+4>>2]=0),b=l+336|0,0}function Nt(t,e,r,n,i,o,a,s,u,c){var h;return b=h=b-352|0,Qr(h+32|0,u,c),Fr(h+96|0,h+32|0),Se(h+32|0,64),kr(h+96|0,o,a,s),ke(h+24|0,a,s),kr(h+96|0,h+24|0,8,0),kr(h+96|0,e,r,n),ke(h+24|0,r,n),kr(h+96|0,h+24|0,8,0),Ur(h+96|0,h),Se(h+96|0,256),i=Gr(h,i),Se(h,16),t&&(i?(ct(t,0,r),i=-1):(Ye(t,e,r,n,u,c),i=0)),b=h+352|0,i}function Pt(t,e){var r,n=0,i=0,o=0,a=0,s=0;t:if(!(((r=c[0|t])+-48&255)>>>0>9)){for(i=r,n=t;;){if(a=n,o>>>0>429496729)break t;if((n=(255&i)-48|0)>>>0>(-1^(i=f(o,10)))>>>0)break t;if(o=n+i|0,!(((i=c[0|(n=a+1|0)])+-48&255)>>>0<10))break}(0|t)==(0|n)|(48==(0|r)?(0|t)!=(0|a):0)||(u[e>>2]=o,s=n)}return s}function Tt(t){var e=0,r=0,n=0;t:{e:if(3&(e=t)){if(!c[0|t])return 0;for(;;){if(!(3&(e=e+1|0)))break e;if(!c[0|e])break}break t}for(;r=e,e=e+4|0,!((-1^(n=u[r>>2]))&n+-16843009&-2139062144););if(!(255&n))return r-t|0;for(;n=c[r+1|0],r=e=r+1|0,n;);}return e-t|0}function Ot(t,e){var r,n,i,o,a,s,c,h,f;r=u[e+4>>2],n=u[e+8>>2],i=u[e+12>>2],o=u[e+16>>2],a=u[e+20>>2],s=u[e+24>>2],c=u[e+28>>2],h=u[e+32>>2],f=u[e+36>>2],u[t>>2]=0-u[e>>2],u[t+36>>2]=0-f,u[t+32>>2]=0-h,u[t+28>>2]=0-c,u[t+24>>2]=0-s,u[t+20>>2]=0-a,u[t+16>>2]=0-o,u[t+12>>2]=0-i,u[t+8>>2]=0-n,u[t+4>>2]=0-r}function Ft(t,e,r){var n=0;n=e<<8&16711680|e<<24,n|=255&(r<<8|e>>>24)|65280&(r<<24|e>>>8),e=-16777216&((255&r)<<24|e>>>8)|16711680&((16777215&r)<<8|e>>>24)|r>>>8&65280|r>>>24|0,a[0|t]=e,a[t+1|0]=e>>>8,a[t+2|0]=e>>>16,a[t+3|0]=e>>>24,e=n,a[t+4|0]=e,a[t+5|0]=e>>>8,a[t+6|0]=e>>>16,a[t+7|0]=e>>>24}function Ut(t,e,r){var n;n=t,r?(u[t+48>>2]=c[0|r]|c[r+1|0]<<8|c[r+2|0]<<16|c[r+3|0]<<24,r=c[r+4|0]|c[r+5|0]<<8|c[r+6|0]<<16|c[r+7|0]<<24):(u[t+48>>2]=0,r=0),u[n+52>>2]=r,u[t+56>>2]=c[0|e]|c[e+1|0]<<8|c[e+2|0]<<16|c[e+3|0]<<24,u[t+60>>2]=c[e+4|0]|c[e+5|0]<<8|c[e+6|0]<<16|c[e+7|0]<<24}function Lt(t,e){var r,n,i,o,a,s,c,h,f;r=u[e+8>>2],n=u[e+12>>2],i=u[e+16>>2],o=u[e+20>>2],a=u[e+24>>2],s=u[e+28>>2],c=u[e>>2],h=u[e+4>>2],f=u[e+36>>2],u[t+32>>2]=u[e+32>>2],u[t+36>>2]=f,u[t+24>>2]=a,u[t+28>>2]=s,u[t+16>>2]=i,u[t+20>>2]=o,u[t+8>>2]=r,u[t+12>>2]=n,u[t>>2]=c,u[t+4>>2]=h}function Gt(t,e,r,n,i,o,a,s,c,h,f){var l;return b=l=b-336|0,Qr(l+16|0,h,f),Fr(l+80|0,l+16|0),Se(l+16|0,64),kr(l+80|0,a,s,c),ke(l+8|0,s,c),kr(l+80|0,l+8|0,8,0),Ye(t,n,i,o,h,f),kr(l+80|0,t,i,o),ke(l+8|0,i,o),kr(l+80|0,l+8|0,8,0),Ur(l+80|0,e),Se(l+80|0,256),r&&(u[r>>2]=16,u[r+4>>2]=0),b=l+336|0,0}function Ht(t){var e;return e=c[0|t]|c[t+1|0]<<8|c[t+2|0]<<16|c[t+3|0]<<24,t=c[t+4|0]|c[t+5|0]<<8|c[t+6|0]<<16|c[t+7|0]<<24,E=65280&(t<<24|e>>>8)|255&(t<<8|e>>>24)|e<<8&16711680|e<<24,-16777216&((255&t)<<24|e>>>8)|16711680&((16777215&t)<<8|e>>>24)|t>>>8&65280|t>>>24|0}function jt(t,e,r,n,i,o,a,s,h,f,l){var A;return b=A=b-48|0,u[A+4>>2]=0,H(A+16|0,f,l),l=c[f+16|0]|c[f+17|0]<<8|c[f+18|0]<<16|c[f+19|0]<<24,f=c[f+20|0]|c[f+21|0]<<8|c[f+22|0]<<16|c[f+23|0]<<24,u[A+8>>2]=l,u[A+12>>2]=f,function(t,e,r,n,i,o,a,s,c,h,f){var l;b=l=b-336|0,Cr(l+16|0,64,h,f),Fr(l+80|0,l+16|0),Se(l+16|0,64),kr(l+80|0,a,s,c),kr(l+80|0,34704,0-s&15,0),je(t,n,i,o,h,1,f),kr(l+80|0,t,i,o),kr(l+80|0,34704,0-i&15,0),ke(l+8|0,s,c),kr(l+80|0,l+8|0,8,0),ke(l+8|0,i,o),kr(l+80|0,l+8|0,8,0),Ur(l+80|0,e),Se(l+80|0,256),r&&(u[r>>2]=16,u[r+4>>2]=0),b=l+336|0}(t,e,r,n,i,o,a,s,h,A+4|0,A+16|0),Se(A+16|0,32),b=A+48|0,0}function Yt(t,e,r,n,i,o,a,s,h,f){var l;return b=l=b-48|0,u[l+4>>2]=0,H(l+16|0,h,f),f=c[h+16|0]|c[h+17|0]<<8|c[h+18|0]<<16|c[h+19|0]<<24,h=c[h+20|0]|c[h+21|0]<<8|c[h+22|0]<<16|c[h+23|0]<<24,u[l+8>>2]=f,u[l+12>>2]=h,t=function(t,e,r,n,i,o,a,s,u,c){var h;return b=h=b-352|0,Cr(h+32|0,64,u,c),Fr(h+96|0,h+32|0),Se(h+32|0,64),kr(h+96|0,o,a,s),kr(h+96|0,34704,0-a&15,0),kr(h+96|0,e,r,n),kr(h+96|0,34704,0-r&15,0),ke(h+24|0,a,s),kr(h+96|0,h+24|0,8,0),ke(h+24|0,r,n),kr(h+96|0,h+24|0,8,0),Ur(h+96|0,h),Se(h+96|0,256),i=Gr(h,i),Se(h,16),t&&(i?(ct(t,0,r),i=-1):(je(t,e,r,n,u,1,c),i=0)),b=h+352|0,i}(t,e,r,n,i,o,a,s,l+4|0,l+16|0),Se(l+16|0,32),b=l+48|0,t}function Kt(t,e,r,n){var i;if(b=i=b-192|0,!(!r|(e+-1&255)>>>0>=64|(n+-1&255)>>>0>=64))return s[i+130>>1]=257,a[i+129|0]=n,a[i+128|0]=e,ur(i+128|4),ke(i+128|8,0,0),ct(i+144|0,0,48),Ct(t,i+128|0),ct(n+i|0,0,128-n|0),st(e=t,t=V(i,r,n),128,0),Se(t,128),b=t+192|0,0;lr(),A()}function qt(t,e,r,n,i,o,a,s,c,h){var f=0,l=0;return f=-1,!i&n>>>0>=16|i>>>0>0&&(l=t,t=i+-1|0,(f=n+-16|0)>>>0<4294967280&&(t=t+1|0),f=xt(l,r,f,t,(r+n|0)-16|0,o,a,s,c,h)),e&&(t=i+-1|0,(r=n+-16|0)>>>0<4294967280&&(t=t+1|0),u[(o=e)>>2]=f?0:r,u[e+4>>2]=f?0:t),f}function Jt(t,e,r,n,i,o,a,s,c,h){var f=0,l=0;return f=-1,!i&n>>>0>=16|i>>>0>0&&(l=t,t=i+-1|0,(f=n+-16|0)>>>0<4294967280&&(t=t+1|0),f=Yt(l,r,f,t,(r+n|0)-16|0,o,a,s,c,h)),e&&(t=i+-1|0,(r=n+-16|0)>>>0<4294967280&&(t=t+1|0),u[(o=e)>>2]=f?0:r,u[e+4>>2]=f?0:t),f}function Vt(t,e,r,n,i,o,a,s,c,h){var f=0,l=0;return f=-1,!i&n>>>0>=16|i>>>0>0&&(l=t,t=i+-1|0,(f=n+-16|0)>>>0<4294967280&&(t=t+1|0),f=Nt(l,r,f,t,(r+n|0)-16|0,o,a,s,c,h)),e&&(t=i+-1|0,(r=n+-16|0)>>>0<4294967280&&(t=t+1|0),u[(o=e)>>2]=f?0:r,u[e+4>>2]=f?0:t),f}function zt(t,e,r){u[t+48>>2]=r?c[0|r]|c[r+1|0]<<8|c[r+2|0]<<16|c[r+3|0]<<24:0,u[t+52>>2]=c[0|e]|c[e+1|0]<<8|c[e+2|0]<<16|c[e+3|0]<<24,u[t+56>>2]=c[e+4|0]|c[e+5|0]<<8|c[e+6|0]<<16|c[e+7|0]<<24,u[t+60>>2]=c[e+8|0]|c[e+9|0]<<8|c[e+10|0]<<16|c[e+11|0]<<24}function Xt(t,e,r,n,i,o,a){var s;return b=s=b-16|0,t=ct(t,0,128),n|=o,a>>>0<2147483649&&!n|n>>>0<0?a>>>0>8191&&i|o?(xe(s,16),t=Mt(i,a>>>10|0,1,e,r,s,16,0,32,t,128,2)?-1:0):(u[8960]=28,t=-1):(u[8960]=22,t=-1),b=s+16|0,t}function Wt(t){var e=0;return(0-(e=t+4&(t+65488>>>8^-1)&(57-t>>>8^-1)&255|((e=t+-65|0)>>>8^-1)&e&(90-t>>>8^-1)&255|t+185&(t+65439>>>8^-1)&(122-t>>>8^-1)&255|63&(1+(16288^t)>>>8^-1)|62&(1+(16338^t)>>>8^-1))>>>8^-1)&1+(65470^t)>>>8&255|e}function Zt(t){var e=0;return(0-(e=t+4&(t+65488>>>8^-1)&(57-t>>>8^-1)&255|((e=t+-65|0)>>>8^-1)&e&(90-t>>>8^-1)&255|t+185&(t+65439>>>8^-1)&(122-t>>>8^-1)&255|63&(1+(16336^t)>>>8^-1)|62&(1+(16340^t)>>>8^-1))>>>8^-1)&1+(65470^t)>>>8&255|e}function $t(t,e){var r,n,i=0,o=0,s=0,u=0;for(b=r=b-16|0,i=10;u=i,s=(e>>>0)/10|0,a[0|(o=(i=i+-1|0)+(r+6|0)|0)]=e-f(s,10)|48,!(e>>>0<10)&&(e=s,i););n=V(e=t,o,t=11-u|0)+t|0,a[0|n]=0,b=r+16|0}function te(t,e,r){var n=0,i=0,o=0;if(!r)return 0;t:if(n=c[0|t]){for(;;){if((0|(i=c[0|e]))==(0|n)&&!(!(r=r+-1|0)|!i)){if(e=e+1|0,n=c[t+1|0],t=t+1|0,n)continue;break t}break}o=n}return(255&o)-c[0|e]|0}function ee(t,e,r){var n,i,o,a=0;b=i=b-48|0,It(t,a=e+40|0,e),wt(n=t+40|0,a,e),M(a=t+80|0,t,r),M(n,n,r+40|0),M(o=t+120|0,r+120|0,e+120|0),M(t,e+80|0,r+80|0),It(i,t,t),wt(t,a,n),It(n,a,n),It(a,i,o),wt(o,i,o),b=i+48|0}function re(t,e,r){var n,i,o,a=0;b=i=b-48|0,It(t,a=e+40|0,e),wt(n=t+40|0,a,e),M(a=t+80|0,t,r+40|0),M(n,n,r),M(o=t+120|0,r+120|0,e+120|0),M(t,e+80|0,r+80|0),It(i,t,t),wt(t,a,n),It(n,a,n),wt(a,i,o),It(o,i,o),b=i+48|0}function ne(t,e){for(var r=0,n=0,i=0,o=0;i=(r=n<<3)+t|0,o=c[0|(r=e+r|0)]|c[r+1|0]<<8|c[r+2|0]<<16|c[r+3|0]<<24,r=c[r+4|0]|c[r+5|0]<<8|c[r+6|0]<<16|c[r+7|0]<<24,u[i>>2]=o,u[i+4>>2]=r,128!=(0|(n=n+1|0)););}function ie(t,e,r){var n;if(u[12+(n=b-16|0)>>2]=t,u[n+8>>2]=e,e=0,u[n+4>>2]=0,(0|r)>=1)for(;u[n+4>>2]=u[n+4>>2]|c[u[n+8>>2]+e|0]^c[u[n+12>>2]+e|0],(0|r)!=(0|(e=e+1|0)););return(u[n+4>>2]+-1>>>8&1)-1|0}function oe(t,e,r){var n,i,o,a=0;b=i=b-48|0,It(t,a=e+40|0,e),wt(n=t+40|0,a,e),M(a=t+80|0,t,r+40|0),M(n,n,r),M(o=t+120|0,r+80|0,e+120|0),It(i,e=e+80|0,e),wt(t,a,n),It(n,a,n),wt(a,i,o),It(o,i,o),b=i+48|0}function ae(t,e,r){var n,i,o,a=0;b=i=b-48|0,It(t,a=e+40|0,e),wt(n=t+40|0,a,e),M(a=t+80|0,t,r),M(n,n,r+40|0),M(o=t+120|0,r+80|0,e+120|0),It(i,e=e+80|0,e),wt(t,a,n),It(n,a,n),It(a,i,o),wt(o,i,o),b=i+48|0}function se(t,e,r){var n;if(u[12+(n=b-16|0)>>2]=t,u[n+8>>2]=e,e=0,a[n+7|0]=0,r)for(;a[n+7|0]=c[n+7|0]|c[u[n+8>>2]+e|0]^c[u[n+12>>2]+e|0],(0|r)!=(0|(e=e+1|0)););return(c[n+7|0]+-1>>>8&1)-1|0}function ue(t,e,r){var n,i=0,s=0;if(b=n=b-16|0,a[n+15|0]=0,s=-1,!(0|o[u[8949]](t,e,r))){for(;a[n+15|0]=c[t+i|0]|c[n+15|0],32!=(0|(i=i+1|0)););s=0-(c[n+15|0]+-1>>>8&1)|0}return b=n+16|0,s}function ce(t,e,r,n,i,o,a){var s,u=0,c=0;u=n,(c=r+63|0)>>>0<63&&(u=u+1|0),s=u>>>6|0,c=0-(u=(63&u)<<26|c>>>6)|0,!(u=1-(s+(0>>0)|0)|0)&c>>>0>>0|u>>>0<0&&(lr(),A()),je(t,e,r,n,i,o,a)}function he(t,e){var r,n,i,o,a;b=n=b-48|0,x(t,e),x(r=t+80|0,a=e+40|0),function(t,e){var r,n,i,o,a,s,c,h,l,A,p,d,g,y,m,v,b,w,I,_,B,C,Q,M,k,S,x,D,R,N,P,T,O,F,U,L,G,H=0,j=0,Y=0,K=0,q=0,J=0,V=0,z=0,X=0,W=0,Z=0,$=0,tt=0,et=0,rt=0,nt=0,it=0,ot=0,at=0,st=0,ut=0;st=t,o=H=(q=u[e+12>>2])<<1,a=H>>31,s=H=(X=u[e+4>>2])<<1,H=Mr(o,a,H,r=H>>31),Y=E,j=H,C=H=et=u[e+8>>2],K=Mr(H,$=H>>31,H,$),H=E+Y|0,H=(j=j+K|0)>>>0>>0?H+1|0:H,K=j,c=j=nt=u[e+16>>2],h=j>>31,l=j=(it=u[e>>2])<<1,Y=Mr(c,h,j,n=j>>31),H=E+H|0,H=(j=K+Y|0)>>>0>>0?H+1|0:H,V=j,Y=u[e+28>>2],I=j=f(Y,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554431&e)<<7|H>>>25,e>>25,19,0))+(W-(j=-67108864&it)|0)|0,j=E+(st-((W>>>0>>0)+nt|0)|0)|0,j=e>>>0>>0?j+1|0:j,H=e,q=Y,e=j,(j=H+33554432|0)>>>0<33554432&&(e=e+1|0),Y=((67108863&e)<<6|j>>>26)+K|0,u[q+4>>2]=Y,e=t,t=-67108864&j,u[e>>2]=H-t}(o=t+120|0,e+80|0),It(i=t+40|0,e,a),x(n,i),It(i,r,t),wt(r,r,t),wt(t,n,i),wt(o,o,r),b=n+48|0}function fe(t,e){var r;return b=r=b+-64|0,(e+-1&255)>>>0>=64&&(lr(),A()),a[r+3|0]=1,a[r+1|0]=256,a[r+2|0]=1,a[0|r]=e,ur(4|r),ke(8|r,0,0),ct(r+16|0,0,48),Ct(t,r),b=r- -64|0,0}function le(t){var e,r;return(t=(e=u[9108])+(r=t+3&-4)|0)>>>0<=e>>>0&&(0|r)>=1||t>>>0>sn()<<16>>>0&&!(0|v(0|t))?(u[8960]=48,-1):(u[9108]=t,e)}function Ae(t,e,r,n,i,o,a){var s=0,u=0,c=0;return!n&r>>>0>=16|n>>>0>0?(s=t,u=e+16|0,c=e,t=n+-1|0,(e=r+-16|0)>>>0<4294967280&&(t=t+1|0),t=Pe(s,u,c,e,t,i,o,a)):t=-1,t}function pe(t,e,r,n,i,o,a,s,c,h){if(!i&n>>>0<4294967280|i>>>0<0)return Gt(t,t+n|0,0,r,n,i,o,a,s,c,h),e&&((t=n+16|0)>>>0<16&&(i=i+1|0),u[e>>2]=t,u[e+4>>2]=i),0;lr(),A()}function de(t,e,r,n,i,o,a,s,c,h){if(!i&n>>>0<4294967280|i>>>0<0)return Rt(t,t+n|0,0,r,n,i,o,a,s,c,h),e&&((t=n+16|0)>>>0<16&&(i=i+1|0),u[e>>2]=t,u[e+4>>2]=i),0;lr(),A()}function ge(t,e,r,n,i,o,a,s,c,h){if(!i&n>>>0<4294967280|i>>>0<0)return jt(t,t+n|0,0,r,n,i,o,a,s,c,h),e&&((t=n+16|0)>>>0<16&&(i=i+1|0),u[e>>2]=t,u[e+4>>2]=i),0;lr(),A()}function ye(t,e){for(var r=0,n=0,i=0,o=0;n=(r=i<<3)+t|0,o=u[(r=e+r|0)>>2],r=u[n+4>>2]^u[r+4>>2],u[n>>2]=u[n>>2]^o,u[n+4>>2]=r,128!=(0|(i=i+1|0)););}function me(t){var e,r;return 95&(1+(32704^t)>>>8^-1)|45&(1+(16321^t)>>>8^-1)|(e=t+65510>>>8&255)&t+65|(r=t+65484>>>8|0)&t+71&(255^e)|t+252&t+65474>>>8&(-1^r)&255}function ve(t){var e,r;return 47&(1+(16320^t)>>>8^-1)|43&(1+(16321^t)>>>8^-1)|(e=t+65510>>>8&255)&t+65|(r=t+65484>>>8|0)&t+71&(255^e)|t+252&t+65474>>>8&(-1^r)&255}function be(t,e,r,n,i,o,a,s,c,h,f){switch(f+-1|0){case 0:return function(t,e,r,n,i,o,a,s,c,h){var f,l;f=e,l=ct(t,0,e),t=22;t:if(!(r>>>0>0)){if(!(!r&e>>>0<16|r>>>0<0)){if(h>>>0>2147483648|(o|c)>>>0>0)break t;if(!(!c&s>>>0<3|c>>>0<0|h>>>0<8192))return Mt(s,h>>>10|0,1,n,i,a,16,l,f,0,0,1)?-1:0}t=28}return u[8960]=t,-1}(t,e,r,n,i,o,a,s,c,h);case 1:return function(t,e,r,n,i,o,a,s,c,h){var f,l;f=e,l=ct(t,0,e),t=22;t:if(!(r>>>0>0)){if(!(!r&e>>>0<16|r>>>0<0)){if(h>>>0>2147483648|(o|c)>>>0>0)break t;if(!(!(s|c)|h>>>0<8192))return Mt(s,h>>>10|0,1,n,i,a,16,l,f,0,0,2)?-1:0}t=28}return u[8960]=t,-1}(t,e,r,n,i,o,a,s,c,h)}return u[8960]=28,-1}function we(t,e,r,n){var i=0;i=-1;t:if(!(r>>>0>64|n+-1>>>0>63)){e:{if(!r||!e){if(!fe(t,255&n))break e;break t}if(Kt(t,255&n,e,255&r))break t}i=0}return i}function Ie(t){var e=0,r=0,n=0,i=0,o=0;for(e=32,r=1;o=(n=c[(e=e+-1|0)+t|0])-(i=c[e+3456|0])>>8&r|255&o,r&=65535+(n^i)>>>8,e;);return 0!=(0|o)}function Ee(t,e){var r,n,i;b=r=b-144|0,X(r+96|0,e+80|0),M(r+48|0,e,r+96|0),M(r,e+40|0,r+96|0),ut(t,r),n=t,i=nr(r+48|0)<<7^c[t+31|0],a[n+31|0]=i,b=r+144|0}function _e(t,e){var r,n=0;if(a[15+(r=b-16|0)|0]=0,e)for(;a[r+15|0]=c[t+n|0]|c[r+15|0],(0|(n=n+1|0))!=(0|e););return c[r+15|0]+-1>>>8&1}function Be(t,e,r,n){var i;return n=e+n|0,(i=t+r|0)>>>0>>0&&(n=n+1|0),r=Mr(t<<1&-2,1&(e=e<<1|t>>>31),r,0),t=E+n|0,E=t=(e=r+i|0)>>>0>>0?t+1|0:t,e}function Ce(t,e,r){var n,i=0;if(n=r>>>3|0)for(r=0;Ft((i=r<<3)+t|0,u[(i=e+i|0)>>2],u[i+4>>2]),(0|n)!=(0|(r=r+1|0)););}function Qe(t){var e=0,r=0;for(r=127&(-1^c[t+31|0]),e=30;r=-1^c[t+e|0]|r,e=e+-1|0;);return 1&(((255&r)-1&236-c[0|t])>>>8^-1)}function Me(t,e){var r=0;!function(t,e){e&&((e=u[t>>2])&&Se(u[e+4>>2],u[t+16>>2]<<10),(e=u[t+4>>2])&&Se(e,u[t+20>>2]<<3))}(t,4&e),D(u[t+4>>2]),u[t+4>>2]=0,(e=u[t>>2])&&(r=u[e>>2])&&D(r),D(e),u[t>>2]=0}function ke(t,e,r){a[0|t]=e,a[t+1|0]=e>>>8,a[t+2|0]=e>>>16,a[t+3|0]=e>>>24,a[t+4|0]=r,a[t+5|0]=r>>>8,a[t+6|0]=r>>>16,a[t+7|0]=r>>>24}function Se(t,e){var r;if(u[12+(r=b-16|0)>>2]=t,e)for(t=0;a[u[r+12>>2]+t|0]=0,(0|e)!=(0|(t=t+1|0)););}function xe(t,e){t|=0;var r=0,n=0,i=0;if(e|=0)for(;n=t+r|0,i=qe(),a[0|n]=i,(0|(r=r+1|0))!=(0|e););}function De(t,e,r,n,i){var o,a;return t|=0,e|=0,r|=0,n|=0,b=o=(a=b)-128&-64,ot(o,i|=0),tt(o,e,r,n),Z(o,t),b=a,0}function Re(t){var e=0,r=0,n=0;for(e=1;e=c[0|(n=t+r|0)]+e|0,a[0|n]=e,e=e>>>8|0,4!=(0|(r=r+1|0)););}function Ne(t,e,r,n,i,o,a,s){var u,c=0;return b=u=b-32|0,c=-1,hr(u,a,s)||(c=vr(t,e,r,n,i,o,u),Se(u,32)),b=u+32|0,c}function Pe(t,e,r,n,i,o,a,s){var u,c=0;return b=u=b-32|0,c=-1,hr(u,a,s)||(c=br(t,e,r,n,i,o,u),Se(u,32)),b=u+32|0,c}function Te(t,e){var r,n,i;M(t,e,r=e+120|0),M(t+40|0,n=e+40|0,i=e+80|0),M(t+80|0,i,r),M(t+120|0,e,n)}function Oe(t,e){for(var r=0,n=0;a[0|(n=t+r|0)]=c[0|n]^c[e+r|0],8!=(0|(r=r+1|0)););}function Fe(t,e,r){var n,i;b=n=(i=b)-384&-64,or(n,0,0,24),Dr(n,e,32,0),Dr(n,r,32,0),cr(n,t,24),b=i}function Ue(t,e){var r;It(t,r=e+40|0,e),wt(t+40|0,r,e),Lt(t+80|0,e+80|0),M(t+120|0,e+120|0,2224)}function Le(t,e,r,n,i,o,a){return!n&r>>>0>=4294967280|n>>>0>0&&(lr(),A()),Ne(t+16|0,t,e,r,n,i,o,a)}function Ge(t,e,r,n,i,o,a){return e+-1>>>0>63|a>>>0>64?-1:function(t,e,r,n,i,o,a){var s,u=0;if(s=u=b,b=u=u-384&-64,!(!t|(n+-1&255)>>>0>=64|(i|o?!e:0)|a>>>0>=65|(a?!r:0)))return a?Kt(u,n,r,a):fe(u,n),st(u,e,i,o),F(u,t,n),b=s,0;lr(),A()}(t,r,o,255&e,n,i,255&a)}function He(t,e){var r;M(t,e,r=e+120|0),M(t+40|0,e+40|0,e=e+80|0),M(t+80|0,e,r)}function je(t,e,r,n,i,a,s){1==(0|n)&r>>>0>=0|n>>>0>1&&(lr(),A()),o[u[8956]](t,e,r,n,i,a,s)}function Ye(t,e,r,n,i,a){1==(0|n)&r>>>0>=0|n>>>0>1&&(lr(),A()),o[u[8955]](t,e,r,n,i,1,0,a)}function Ke(t){var e;return e=c[0|t]|c[t+1|0]<<8,t=c[t+2|0],E=t>>>16|0,e|t<<16}function qe(){var t,e;return b=t=b-16|0,a[t+15|0]=0,e=0|d(1024,t+15|0,0),b=t+16|0,0|e}function Je(t,e,r,n,i){var o;return b=o=b-416|0,function(t,e){var r,n=0,i=0;for(b=r=b-192|0,We(t),ct(r- -64|0,54,128),a[r+64|0]=54^c[0|e],n=1;a[0|(i=(r- -64|0)+n|0)]=c[0|i]^c[e+n|0],32!=(0|(n=n+1|0)););for(J(t,r- -64|0,128,0),We(t=t+208|0),ct(r- -64|0,92,128),a[r+64|0]=92^c[0|e],n=1;a[0|(i=(r- -64|0)+n|0)]=c[0|i]^c[e+n|0],32!=(0|(n=n+1|0)););J(t,r- -64|0,128,0),Se(r- -64|0,128),Se(r,64),b=r+192|0}(o,i),J(o,e,r,n),function(t,e){var r,n=0;b=r=b+-64|0,function(t,e){var r;b=r=b+-64|0,Xe(t,r),J(t=t+208|0,r,64,0),Xe(t,e),Se(r,64),b=r- -64|0}(t,r),n=u[r+28>>2],t=u[r+24>>2],a[e+24|0]=t,a[e+25|0]=t>>>8,a[e+26|0]=t>>>16,a[e+27|0]=t>>>24,a[e+28|0]=n,a[e+29|0]=n>>>8,a[e+30|0]=n>>>16,a[e+31|0]=n>>>24,n=u[r+20>>2],t=u[r+16>>2],a[e+16|0]=t,a[e+17|0]=t>>>8,a[e+18|0]=t>>>16,a[e+19|0]=t>>>24,a[e+20|0]=n,a[e+21|0]=n>>>8,a[e+22|0]=n>>>16,a[e+23|0]=n>>>24,n=u[r+12>>2],t=u[r+8>>2],a[e+8|0]=t,a[e+9|0]=t>>>8,a[e+10|0]=t>>>16,a[e+11|0]=t>>>24,a[e+12|0]=n,a[e+13|0]=n>>>8,a[e+14|0]=n>>>16,a[e+15|0]=n>>>24,n=u[r+4>>2],t=u[r>>2],a[0|e]=t,a[e+1|0]=t>>>8,a[e+2|0]=t>>>16,a[e+3|0]=t>>>24,a[e+4|0]=n,a[e+5|0]=n>>>8,a[e+6|0]=n>>>16,a[e+7|0]=n>>>24,b=r- -64|0}(o,t),b=o+416|0,0}function Ve(t,e,r,n){var i;return b=i=b-208|0,We(i),J(i,e,r,n),Xe(i,t),b=i+208|0,0}function ze(t,e){var r=0;return(-1>>>(r=31&e)&t)<>>t}function Xe(t,e){var r;b=r=b-704|0,function(t,e){var r,n=0;t:if((r=u[t+72>>2]>>>3&127)>>>0<=111){if(!(n=112-r|0))break t;V(80+(t+r|0)|0,35424,n)}else V((n=t+80|0)+r|0,35424,128-r|0),B(t,n,e,e+640|0),ct(n,0,112);Ce(t+192|0,t- -64|0,16),B(t,t+80|0,e,e+640|0)}(t,r),Ce(e,t,64),Se(r,704),Se(t,208),b=r+704|0}function We(t){u[t+64>>2]=0,u[t+68>>2]=0,u[t+72>>2]=0,u[t+76>>2]=0,V(t,34720,64)}function Ze(t,e,r){return r>>>0>=256&&(p(2016,2036,107,2089),A()),F(t,e,255&r)}function $e(){var t;b=t=b-16|0,a[t+15|0]=0,d(1062,t+15|0,0),b=t+16|0}function tr(t){var e;return b=e=b-32|0,ut(e,t),t=_e(e,32),b=e+32|0,t}function er(t,e){var r;b=r=b-128|0,function(t,e){Lt(t,e),Lt(t+40|0,e+40|0),Lt(t+80|0,e+80|0)}(r+8|0,e),he(t,r+8|0),b=r+128|0}function rr(t,e){a[0|t]=e,a[t+1|0]=e>>>8,a[t+2|0]=e>>>16,a[t+3|0]=e>>>24}function nr(t){var e;return b=e=b-32|0,ut(e,t),b=e+32|0,1&a[0|e]}function ir(t,e,r){mt(t,e,r),mt(t+40|0,e+40|0,r),mt(t+80|0,e+80|0,r)}function or(t,e,r,n){return 0|we(t|=0,e|=0,r|=0,n|=0)}function ar(t){a[t+32|0]=1,a[t+33|0]=0,a[t+34|0]=0,a[t+35|0]=0}function sr(t){u[t>>2]=0,u[t+4>>2]=0,u[t+8>>2]=0,u[t+12>>2]=0}function ur(t){a[0|t]=0,a[t+1|0]=0,a[t+2|0]=0,a[t+3|0]=0}function cr(t,e,r){return 0|Ze(t|=0,e|=0,r|=0)}function hr(t,e,r){return 0|function(t,e,r){var n,i=0;return b=n=b-32|0,i=-1,ue(n,r,e)||(i=Y(t,35552,n)),b=n+32|0,i}(t|=0,e|=0,r|=0)}function fr(t,e,r){return 0|ue(t|=0,e|=0,r|=0)}function lr(){var t;(t=u[9105])&&o[0|t](),g(),A()}function Ar(t){Vr(t),Rr(t+40|0),Rr(t+80|0),Vr(t+120|0)}function pr(t,e,r,n,i,a){o[u[8952]](t,e,r,n,i,0,0,a)}function dr(t,e,r,n,i,a){o[u[8952]](t,e,r,n,i,1,0,a)}function gr(t,e){return t|=0,xe(e|=0,32),0|xr(t,e)}function yr(t,e){return t=function(t,e){var r=0,n=0;t:{if(n=255&e){if(3&t)for(;;){if(!(r=c[0|t])|(0|r)==(255&e))break t;if(!(3&(t=t+1|0)))break}e:if(!((-1^(r=u[t>>2]))&r+-16843009&-2139062144))for(n=f(n,16843009);;){if((-1^(r^=n))&r+-16843009&-2139062144)break e;if(r=u[t+4>>2],t=t+4|0,r+-16843009&(-1^r)&-2139062144)break}for(;(n=c[0|(r=t)])&&(t=r+1|0,(0|n)!=(255&e)););return r}return Tt(t)+t|0}return t}(t,e),c[0|t]==(255&e)?t:0}function mr(t,e,r,n,i,o){return K(t,e,r,n,i,o,0),0}function vr(t,e,r,n,i,o,a){return lt(t,e,r,n,i,o,a)}function br(t,e,r,n,i,o,a){return At(t,e,r,n,i,o,a)}function wr(t,e,r,n,i,o,a){return Ge(t,e,r,n,i,o,a)}function Ir(t,e){We(t),e&&J(t,35728,34,0)}function Er(t,e,r,n,i){return St(t,e,r,n,i,0)}function _r(t,e){return 0|xr(t|=0,e|=0)}function Br(t,e){return(255&(t^e))-1>>>31|0}function Cr(t,e,r,n){o[u[8954]](t,e,0,r,n)}function Qr(t,e,r){o[u[8953]](t,64,0,e,r)}function Mr(t,e,r,n){return function(t,e,r,n){var i,o,a,s,u=0,c=0;return s=f(u=r>>>16|0,c=t>>>16|0),u=(65535&(c=((a=f(i=65535&r,o=65535&t))>>>16|0)+f(c,i)|0))+f(u,o)|0,t=(f(e,r)+s|0)+f(t,n)+(c>>>16)+(u>>>16)|0,E=t,65535&a|u<<16}(t,e,r,n)}function kr(t,e,r,n){o[u[8947]](t,e,r,n)}function Sr(t,e,r){!function(t,e,r){var n,i;b=n=b-128|0,Rr(t),Rr(t+40|0),Vr(t+80|0),ir(t,e,Br(r=r-((0-(i=(128&r)>>>7|0)&r)<<1)<<24>>24,1)),ir(t,e+120|0,Br(r,2)),ir(t,e+240|0,Br(r,3)),ir(t,e+360|0,Br(r,4)),ir(t,e+480|0,Br(r,5)),ir(t,e+600|0,Br(r,6)),ir(t,e+720|0,Br(r,7)),ir(t,e+840|0,Br(r,8)),Lt(n+8|0,t+40|0),Lt(n+48|0,t),Ot(n+88|0,t+80|0),ir(t,n+8|0,i),b=n+128|0}(t,f(e,960)+3488|0,r)}function xr(t,e){return 0|o[u[8950]](t,e)}function Dr(t,e,r,n){return Nr(t,e,r,n)}function Rr(t){u[t>>2]=1,ct(t+4|0,0,36)}function Nr(t,e,r,n){return st(t,e,r,n)}function Pr(t,e,r){return function(t,e,r){var n=0,i=0,o=0,a=0;return n=31&(o=a=63&r),32<=o>>>0?n=-1>>>n|0:(i=-1>>>n|0,n=(1<>>n),o=n&t,n=e&i,i=31&a,32<=a>>>0?(n=o<>>32-i|n<>>0?(n=-1<>>32-r|-1<>>0?(r=0,t=n>>>e|0):(r=n>>>e|0,t=((1<>>e),E=r|o,t|a}(t,e,r)}function Tr(t,e,r){return function(t,e,r){var n=0,i=0,o=0,a=0,s=0;return n=31&(a=63&r),32<=a>>>0?(i=-1<>>32-n|-1<>>0?(i=0,a=n>>>o|0):(i=n>>>o|0,a=((1<>>o),s=i,o=31&(n=0-r&63),32<=n>>>0?(i=0,r=-1>>>o|0):(i=-1>>>o|0,r=(1<>>o),t&=r,e&=i,i=31&n,32<=n>>>0?(r=t<>>32-i|e<>>0<18,R=R+2|0,k;);rr(t,r+1634760805|0),rr(t+4|0,v+n|0),rr(t+8|0,b+i|0),rr(t+12|0,S+o|0),rr(t+16|0,w+a|0),rr(t+20|0,M+857760878|0),rr(t+24|0,I+l|0),rr(t+28|0,E+A|0),rr(t+32|0,_+p|0),rr(t+36|0,Q+d|0),rr(t+40|0,e+2036477234|0),rr(t+44|0,y+s|0),rr(t+48|0,g+u|0),rr(t+52|0,m+h|0),rr(t+56|0,C+f|0),rr(t+60|0,B+1797285236|0)}(t,e,r)}function Jr(t){ct(t,0,1024)}function Vr(t){ct(t,0,40)}function zr(){return 16}function Xr(){return 32}function Wr(){return 24}function Zr(){return-17}function $r(){return 64}function tn(){return 1}function en(){return 2}function rn(){return 8}function nn(){return 0}function on(){return-1}function an(){return 3}function sn(){return n.byteLength/65536|0}return o[1]=De,o[2]=function(t,e,r,n,i){var o;return t|=0,b=o=b-16|0,De(o,e|=0,r|=0,n|=0,i|=0),t=Gr(t,o),b=o+16|0,0|t},o[3]=function(t,e){return ot(t|=0,e|=0),0},o[4]=function(t,e,r,n){return tt(t|=0,e|=0,r|=0,n|=0),0},o[5]=function(t,e){return Z(t|=0,e|=0),0},o[6]=function(t,e,r){t|=0,e|=0;var n,i=0,o=0;if(b=n=b-336|0,i=-1,!function(t){var e,r=0,n=0,i=0,o=0;for(a[11+(e=b-16|0)|0]=0,a[e+12|0]=0,a[e+13|0]=0,a[e+14|0]=0,u[e+8>>2]=0;;){for(i=c[t+n|0],r=0;a[0|(o=(e+8|0)+r|0)]=c[0|o]|i^c[(34464+(r<<5)|0)+n|0],7!=(0|(r=r+1|0)););if(31==(0|(n=n+1|0)))break}for(n=127&c[t+31|0],t=0,r=0;a[0|(i=(e+8|0)+r|0)]=c[0|i]|n^c[34495+(r<<5)|0],7!=(0|(r=r+1|0)););for(r=0;r=c[(e+8|0)+t|0]+-1|r,7!=(0|(t=t+1|0)););return r>>>8&1}(r|=0)){for(i=0;a[t+i|0]=c[e+i|0],32!=(0|(i=i+1|0)););for(a[0|t]=248&c[0|t],a[t+31|0]=63&c[t+31|0]|64,U(n+288|0,r),Rr(n+240|0),Vr(n+192|0),Lt(n+144|0,n+288|0),Rr(n+96|0),r=254,e=0;i=e,o=r,nt(n+240|0,n+144|0,i^=e=c[(r>>>3|0)+t|0]>>>(7&r)&1),nt(n+192|0,n+96|0,i),r=r+-1|0,wt(n+48|0,n+144|0,n+96|0),wt(n,n+240|0,n+192|0),It(n+240|0,n+240|0,n+192|0),It(n+192|0,n+144|0,n+96|0),M(n+96|0,n+48|0,n+240|0),M(n+192|0,n+192|0,n),x(n+48|0,n),x(n,n+240|0),It(n+144|0,n+96|0,n+192|0),wt(n+192|0,n+96|0,n+192|0),M(n+240|0,n,n+48|0),wt(n,n,n+48|0),x(n+192|0,n+192|0),O(n+96|0,n),x(n+144|0,n+144|0),It(n+48|0,n+48|0,n+96|0),M(n+96|0,n+288|0,n+192|0),M(n+192|0,n,n+48|0),o;);nt(n+240|0,n+144|0,e),nt(n+192|0,n+96|0,e),X(n+192|0,n+192|0),M(n+240|0,n+240|0,n+192|0),ut(t,n+240|0),i=0}return b=n+336|0,0|i},o[7]=function(t,e){t|=0,e|=0;var r,n=0;for(b=r=b-208|0;a[t+n|0]=c[e+n|0],32!=(0|(n=n+1|0)););return a[0|t]=248&c[0|t],a[t+31|0]=63&c[t+31|0]|64,ht(r+48|0,t),function(t,e,r){var n;b=n=b-96|0,It(n+48|0,r,e),wt(n,r,e),X(n,n),M(t,n+48|0,n),b=n+96|0}(r,r+88|0,r+128|0),ut(t,r),b=r+208|0,0},o[8]=function(t,e,r,n,i){t|=0,n|=0,i|=0;var o,s=0;if(b=o=b-112|0,(e|=0)|(r|=0)){s=c[i+28|0]|c[i+29|0]<<8|c[i+30|0]<<16|c[i+31|0]<<24,u[o+24>>2]=c[i+24|0]|c[i+25|0]<<8|c[i+26|0]<<16|c[i+27|0]<<24,u[o+28>>2]=s,s=c[i+20|0]|c[i+21|0]<<8|c[i+22|0]<<16|c[i+23|0]<<24,u[o+16>>2]=c[i+16|0]|c[i+17|0]<<8|c[i+18|0]<<16|c[i+19|0]<<24,u[o+20>>2]=s,s=c[i+4|0]|c[i+5|0]<<8|c[i+6|0]<<16|c[i+7|0]<<24,u[o>>2]=c[0|i]|c[i+1|0]<<8|c[i+2|0]<<16|c[i+3|0]<<24,u[o+4>>2]=s,s=c[i+12|0]|c[i+13|0]<<8|c[i+14|0]<<16|c[i+15|0]<<24,u[o+8>>2]=c[i+8|0]|c[i+9|0]<<8|c[i+10|0]<<16|c[i+11|0]<<24,u[o+12>>2]=s,i=c[0|n]|c[n+1|0]<<8|c[n+2|0]<<16|c[n+3|0]<<24,n=c[n+4|0]|c[n+5|0]<<8|c[n+6|0]<<16|c[n+7|0]<<24,u[o+104>>2]=0,u[o+108>>2]=0,u[o+96>>2]=i,u[o+100>>2]=n;t:{if(!r&e>>>0>=64|r>>>0>0){for(;;){for(qr(t,o+96|0,o),i=8,n=1;n=c[0|(s=(o+96|0)+i|0)]+n|0,a[0|s]=n,n=n>>>8|0,16!=(0|(i=i+1|0)););if(t=t- -64|0,r=r+-1|0,(e=e+-64|0)>>>0<4294967232&&(r=r+1|0),!(!r&e>>>0>63|r>>>0>0))break}if(!(e|r))break t}if(i=0,qr(o+32|0,o+96|0,o),e)for(;a[t+i|0]=c[(o+32|0)+i|0],(0|e)!=(0|(i=i+1|0)););}Se(o+32|0,64),Se(o,32)}return b=o+112|0,0},o[9]=function(t,e,r,n,i,o,s,h){t|=0,e|=0,i|=0,o|=0,s|=0,h|=0;var f,l=0,A=0;if(b=f=b-112|0,(r|=0)|(n|=0)){for(l=c[h+28|0]|c[h+29|0]<<8|c[h+30|0]<<16|c[h+31|0]<<24,u[f+24>>2]=c[h+24|0]|c[h+25|0]<<8|c[h+26|0]<<16|c[h+27|0]<<24,u[f+28>>2]=l,l=c[h+20|0]|c[h+21|0]<<8|c[h+22|0]<<16|c[h+23|0]<<24,u[f+16>>2]=c[h+16|0]|c[h+17|0]<<8|c[h+18|0]<<16|c[h+19|0]<<24,u[f+20>>2]=l,l=c[h+4|0]|c[h+5|0]<<8|c[h+6|0]<<16|c[h+7|0]<<24,u[f>>2]=c[0|h]|c[h+1|0]<<8|c[h+2|0]<<16|c[h+3|0]<<24,u[f+4>>2]=l,l=8,A=c[h+12|0]|c[h+13|0]<<8|c[h+14|0]<<16|c[h+15|0]<<24,u[f+8>>2]=c[h+8|0]|c[h+9|0]<<8|c[h+10|0]<<16|c[h+11|0]<<24,u[f+12>>2]=A,h=c[i+4|0]|c[i+5|0]<<8|c[i+6|0]<<16|c[i+7|0]<<24,u[f+96>>2]=c[0|i]|c[i+1|0]<<8|c[i+2|0]<<16|c[i+3|0]<<24,u[f+100>>2]=h;a[(f+96|0)+l|0]=o,o=(255&s)<<24|o>>>8,s=s>>>8|0,16!=(0|(l=l+1|0)););if(!n&r>>>0>63|n>>>0>0)for(;;){for(l=0,qr(f+32|0,f+96|0,f);a[t+l|0]=c[(f+32|0)+l|0]^c[e+l|0],h=1,64!=(0|(l=l+1|0)););for(l=8;i=c[0|(o=(f+96|0)+l|0)]+h|0,a[0|o]=i,h=i>>>8|0,16!=(0|(l=l+1|0)););if(e=e- -64|0,t=t- -64|0,n=n+-1|0,(r=r+-64|0)>>>0<4294967232&&(n=n+1|0),!(!n&r>>>0>63|n>>>0>0))break}if(r|n&&(l=0,qr(f+32|0,f+96|0,f),r))for(;a[t+l|0]=c[(f+32|0)+l|0]^c[e+l|0],(0|r)!=(0|(l=l+1|0)););Se(f+32|0,64),Se(f,32)}return b=f+112|0,0},o[10]=function(t,e,r,n,i){var o;return t|=0,n|=0,b=o=b+-64|0,(e|=0)|(r|=0)&&(dt(o,i|=0),Ut(o,n,0),N(o,t=ct(t,0,e),t,e,r),Se(o,64)),b=o- -64|0,0},o[11]=function(t,e,r,n,i){var o;return t|=0,n|=0,b=o=b+-64|0,(e|=0)|(r|=0)&&(dt(o,i|=0),zt(o,n,0),N(o,t=ct(t,0,e),t,e,r),Se(o,64)),b=o- -64|0,0},o[12]=function(t,e,r,n,i,o,a,s){var u;return t|=0,e|=0,i|=0,a|=0,s|=0,b=u=b-80|0,(r|=0)|(n|=0)&&(rr(u+8|0,o|=0),rr(u+12|0,a),dt(u+16|0,s),Ut(u+16|0,i,u+8|0),N(u+16|0,e,t,r,n),Se(u+16|0,64)),b=u+80|0,0},o[13]=function(t,e,r,n,i,o,a){var s;return t|=0,e|=0,i|=0,a|=0,b=s=b-80|0,(r|=0)|(n|=0)&&(rr(s+12|0,o|=0),dt(s+16|0,a),zt(s+16|0,i,s+12|0),N(s+16|0,e,t,r,n),Se(s+16|0,64)),b=s+80|0,0},{g:function(){},h:function(t,e,r,n,i,o,a,s,u,c,h,f){return 0|Gt(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,h|=0,f|=0)},i:function(t,e,r,n,i,o,a,s,u,c,h){return 0|pe(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,c|=0,h|=0)},j:function(t,e,r,n,i,o,a,s,u,c,h,f){return 0|Rt(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,h|=0,f|=0)},k:function(t,e,r,n,i,o,a,s,u,c,h){return 0|de(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,c|=0,h|=0)},l:function(t,e,r,n,i,o,a,s,u,c,h){return 0|Nt(t|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,c|=0,h|=0)},m:function(t,e,r,n,i,o,a,s,u,c,h){return 0|Vt(t|=0,e|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,c|=0,h|=0)},n:function(t,e,r,n,i,o,a,s,u,c,h){return 0|xt(t|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,c|=0,h|=0)},o:function(t,e,r,n,i,o,a,s,u,c,h){return 0|qt(t|=0,e|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,c|=0,h|=0)},p:Xr,q:function(){return 12},r:nn,s:zr,t:Zr,u:Kr,v:Xr,w:rn,x:nn,y:zr,z:Zr,A:Kr,B:function(t,e,r,n,i,o,a,s,u,c,h,f){return 0|jt(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,h|=0,f|=0)},C:function(t,e,r,n,i,o,a,s,u,c,h){return 0|ge(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,c|=0,h|=0)},D:function(t,e,r,n,i,o,a,s,u,c,h){return 0|Yt(t|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,c|=0,h|=0)},E:function(t,e,r,n,i,o,a,s,u,c,h){return 0|Jt(t|=0,e|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,c|=0,h|=0)},F:Xr,G:Wr,H:nn,I:zr,J:Zr,K:Kr,L:Xr,M:Xr,N:function(t,e,r,n,i){return 0|Je(t|=0,e|=0,r|=0,n|=0,i|=0)},O:function(t,e,r,n,i){return 0|function(t,e,r,n,i){var o;return b=o=b-32|0,Je(o,e,r,n,i),e=Lr(t,o),r=se(o,t,32),b=o+32|0,r|((0|t)==(0|o)?-1:e)}(t|=0,e|=0,r|=0,n|=0,i|=0)},P:Kr,Q:Xr,R:Xr,S:Xr,T:Xr,U:Wr,V:zr,W:Zr,X:function(t,e,r){return 0|function(t,e,r){var n,i=0;return b=n=b+-64|0,Ve(n,r,32,0),r=u[n+28>>2],i=u[n+24>>2],a[e+24|0]=i,a[e+25|0]=i>>>8,a[e+26|0]=i>>>16,a[e+27|0]=i>>>24,a[e+28|0]=r,a[e+29|0]=r>>>8,a[e+30|0]=r>>>16,a[e+31|0]=r>>>24,r=u[n+20>>2],i=u[n+16>>2],a[e+16|0]=i,a[e+17|0]=i>>>8,a[e+18|0]=i>>>16,a[e+19|0]=i>>>24,a[e+20|0]=r,a[e+21|0]=r>>>8,a[e+22|0]=r>>>16,a[e+23|0]=r>>>24,r=u[n+12>>2],i=u[n+8>>2],a[e+8|0]=i,a[e+9|0]=i>>>8,a[e+10|0]=i>>>16,a[e+11|0]=i>>>24,a[e+12|0]=r,a[e+13|0]=r>>>8,a[e+14|0]=r>>>16,a[e+15|0]=r>>>24,r=u[n+4>>2],i=u[n>>2],a[0|e]=i,a[e+1|0]=i>>>8,a[e+2|0]=i>>>16,a[e+3|0]=i>>>24,a[e+4|0]=r,a[e+5|0]=r>>>8,a[e+6|0]=r>>>16,a[e+7|0]=r>>>24,Se(n,64),t=xr(t,e),b=n- -64|0,t}(t|=0,e|=0,r|=0)},Y:gr,Z:hr,_:function(t,e,r,n,i,o,a){return 0|vr(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0)},$:function(t,e,r,n,i,o,a,s){return 0|Ne(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0)},aa:function(t,e,r,n,i,o){return 0|function(t,e,r,n,i,o){return!n&r>>>0>=4294967280|n>>>0>0&&(lr(),A()),vr(t+16|0,t,e,r,n,i,o)}(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0)},ba:function(t,e,r,n,i,o,a){return 0|Le(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0)},ca:function(t,e,r,n,i,o,a){return 0|br(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0)},da:function(t,e,r,n,i,o,a,s){return 0|Pe(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0)},ea:function(t,e,r,n,i,o){return 0|function(t,e,r,n,i,o){var a=0,s=0,u=0;return!n&r>>>0>=16|n>>>0>0?(a=t,s=e+16|0,u=e,t=n+-1|0,(e=r+-16|0)>>>0<4294967280&&(t=t+1|0),t=br(a,s,u,e,t,i,o)):t=-1,t}(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0)},fa:function(t,e,r,n,i,o,a){return 0|Ae(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0)},ga:function(t,e,r,n,i){return 0|function(t,e,r,n,i){var o,s=0;return b=o=b-96|0,s=-1,gr(o+32|0,o)||(Fe(o- -64|0,o+32|0,i),s=Le(t+32|0,e,r,n,o- -64|0,i,o),e=u[o+60>>2],r=u[o+56>>2],a[t+24|0]=r,a[t+25|0]=r>>>8,a[t+26|0]=r>>>16,a[t+27|0]=r>>>24,a[t+28|0]=e,a[t+29|0]=e>>>8,a[t+30|0]=e>>>16,a[t+31|0]=e>>>24,e=u[o+52>>2],r=u[o+48>>2],a[t+16|0]=r,a[t+17|0]=r>>>8,a[t+18|0]=r>>>16,a[t+19|0]=r>>>24,a[t+20|0]=e,a[t+21|0]=e>>>8,a[t+22|0]=e>>>16,a[t+23|0]=e>>>24,e=u[o+44>>2],r=u[o+40>>2],a[t+8|0]=r,a[t+9|0]=r>>>8,a[t+10|0]=r>>>16,a[t+11|0]=r>>>24,a[t+12|0]=e,a[t+13|0]=e>>>8,a[t+14|0]=e>>>16,a[t+15|0]=e>>>24,e=u[o+36>>2],r=u[o+32>>2],a[0|t]=r,a[t+1|0]=r>>>8,a[t+2|0]=r>>>16,a[t+3|0]=r>>>24,a[t+4|0]=e,a[t+5|0]=e>>>8,a[t+6|0]=e>>>16,a[t+7|0]=e>>>24,Se(o,32),Se(o+32|0,32),Se(o- -64|0,24)),b=o+96|0,s}(t|=0,e|=0,r|=0,n|=0,i|=0)},ha:function(t,e,r,n,i,o){return 0|function(t,e,r,n,i,o){var a,s=0;return b=a=b-32|0,s=-1,!n&r>>>0>=48|n>>>0>0&&(Fe(a,e,i),i=t,t=n+-1|0,(r=r+-32|0)>>>0<4294967264&&(t=t+1|0),s=Ae(i,s=e+32|0,r,t,a,e,o)),b=a+32|0,s}(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0)},ia:function(){return 48},ja:zr,ka:$r,la:Xr,ma:zr,na:$r,oa:Xr,pa:function(){return 384},qa:function(t,e,r,n,i,o,a){return 0|wr(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0)},ra:or,sa:function(t,e,r,n){return 0|Dr(t|=0,e|=0,r|=0,n|=0)},ta:cr,ua:Kr,va:$r,wa:function(t,e,r,n){return 0|Ve(t|=0,e|=0,r|=0,n|=0)},xa:zr,ya:$r,za:rn,Aa:Xr,Ba:function(t,e,r,n,i,o){return 0|function(t,e,r,n,i,o){var a,s;return b=a=b-32|0,s=c[0|i]|c[i+1|0]<<8|c[i+2|0]<<16|c[i+3|0]<<24,i=c[i+4|0]|c[i+5|0]<<8|c[i+6|0]<<16|c[i+7|0]<<24,u[a+24>>2]=0,u[a+28>>2]=0,u[a+16>>2]=s,u[a+20>>2]=i,ke(a,r,n),u[a+8>>2]=0,u[a+12>>2]=0,e+-16>>>0>=49?(u[8960]=28,t=-1):(r=a+16|0,t=e+-1>>>0>63?-1:function(t,e,r,n,i){var o,a=0;if(o=a=b,b=a=a-384&-64,!(!e|!t|(r+-1&255)>>>0>=64))return _t(a,r,e,n,i),st(a,0,0,0),F(a,t,r),b=o,0;lr(),A()}(t,o,255&e,a,r)),b=a+32|0,t}(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0)},Ca:Kr,Da:function(t,e,r){return t|=0,wr(e|=0,32,r|=0,32,0,0,0),0|_r(t,e)},Ea:function(t,e){return t|=0,xe(e|=0,32),0|_r(t,e)},Fa:function(t,e,r,n,i){e|=0,r|=0,i|=0;var o,s,u=0;if(s=u=b,b=u=u-512&-64,o=(t|=0)||e){if(t=-1,!fr(u+96|0,n|=0,i)){for(e=e||o,t=0,or(u+128|0,0,0,64),Dr(u+128|0,u+96|0,32,0),Se(u+96|0,32),Dr(u+128|0,r,32,0),Dr(u+128|0,i,32,0),cr(u+128|0,u+32|0,64),Se(u+128|0,384);r=(u+32|0)+t|0,a[t+o|0]=c[0|r],a[t+e|0]=c[r+32|0],32!=(0|(t=t+1|0)););Se(u+32|0,64),t=0}return b=s,0|t}lr(),A()},Ga:function(t,e,r,n,i){e|=0,r|=0,i|=0;var o,s,u=0;if(s=u=b,b=u=u-512&-64,o=(t|=0)||e){if(t=-1,!fr(u+96|0,n|=0,i)){for(e=e||o,t=0,or(u+128|0,0,0,64),Dr(u+128|0,u+96|0,32,0),Se(u+96|0,32),Dr(u+128|0,i,32,0),Dr(u+128|0,r,32,0),cr(u+128|0,u+32|0,64),Se(u+128|0,384);r=(u+32|0)+t|0,a[t+e|0]=c[0|r],a[t+o|0]=c[r+32|0],32!=(0|(t=t+1|0)););Se(u+32|0,64),t=0}return b=s,0|t}lr(),A()},Ha:Xr,Ia:Xr,Ja:Xr,Ka:Xr,La:tn,Ma:en,Na:en,Oa:zr,Pa:on,Qa:nn,Ra:on,Sa:zr,Ta:function(){return 128},Ua:function(){return 35681},Va:tn,Wa:on,Xa:function(){return 8192},Ya:function(){return-2147483648},Za:en,_a:function(){return 67108864},$a:an,ab:function(){return 268435456},bb:function(){return 4},cb:function(){return 1073741824},db:function(t,e,r,n,i,o,a,s,u,c,h){return 0|be(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,c|=0,h|=0)},eb:function(t,e,r,n,i,o,a){return 0|Xt(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0)},fb:function(t,e,r,n,i,o,a,s){return 0|function(t,e,r,n,i,o,a,s){switch(s+-1|0){case 1:return Xt(t,e,r,n,i,o,a);default:lr(),A();case 0:}return function(t,e,r,n,i,o,a){var s;return b=s=b-16|0,t=ct(t,0,128),n|=o,a>>>0<2147483649&&!n|n>>>0<0?a>>>0>8191&&!o&i>>>0>=3|o>>>0>0?(xe(s,16),t=Mt(i,a>>>10|0,1,e,r,s,16,0,32,t,128,1)?-1:0):(u[8960]=28,t=-1):(u[8960]=22,t=-1),b=s+16|0,t}(t,e,r,n,i,o,a)}(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0)},gb:function(t,e,r,n){return 0|function(t,e,r,n){return te(t,35681,10)?te(t,35692,9)?(u[8960]=28,-1):function(t,e,r,n){t:{if(1==(0|n)&r>>>0>=0|n>>>0>1)u[8960]=22;else{if(!(t=vt(t,e,r,1)))break t;-35==(0|t)&&(u[8960]=28)}t=-1}return t}(t,e,r,n):function(t,e,r,n){t:{if(1==(0|n)&r>>>0>=0|n>>>0>1)u[8960]=22;else{if(!(t=vt(t,e,r,2)))break t;-35==(0|t)&&(u[8960]=28)}t=-1}return t}(t,e,r,n)}(t|=0,e|=0,r|=0,n|=0)},hb:function(t,e,r,n){return 0|function(t,e,r,n){return te(t,35681,10)?te(t,35692,9)?(u[8960]=28,-1):kt(t,e,r,n,1):kt(t,e,r,n,2)}(t|=0,e|=0,r|=0,n|=0)},ib:_r,jb:fr,kb:Xr,lb:Xr,mb:Xr,nb:Wr,ob:zr,pb:Zr,qb:Kr,rb:vr,sb:function(t,e,r,n,i,o){return 0|function(t,e,r,n,i,o){return!n&r>>>0>=4294967280|n>>>0>0&&(lr(),A()),lt(t+16|0,t,e,r,n,i,o),0}(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0)},tb:br,ub:function(t,e,r,n,i,o){return 0|function(t,e,r,n,i,o){var a=0,s=0,u=0;return!n&r>>>0>=16|n>>>0>0?(a=t,s=e+16|0,u=e,t=n+-1|0,(e=r+-16|0)>>>0<4294967280&&(t=t+1|0),t=At(a,s,u,e,t,i,o)):t=-1,t}(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0)},vb:Kr,wb:function(t,e,r){return t|=0,r|=0,xe(e|=0,24),H(t,e,r),ar(t),r=c[e+16|0]|c[e+17|0]<<8|c[e+18|0]<<16|c[e+19|0]<<24,e=c[e+20|0]|c[e+21|0]<<8|c[e+22|0]<<16|c[e+23|0]<<24,a[t+44|0]=0,a[t+45|0]=0,a[t+46|0]=0,a[t+47|0]=0,a[t+48|0]=0,a[t+49|0]=0,a[t+50|0]=0,a[t+51|0]=0,a[t+36|0]=r,a[t+37|0]=r>>>8,a[t+38|0]=r>>>16,a[t+39|0]=r>>>24,a[t+40|0]=e,a[t+41|0]=e>>>8,a[t+42|0]=e>>>16,a[t+43|0]=e>>>24,0},xb:function(t,e,r){return H(t|=0,e|=0,r|=0),ar(t),r=c[e+16|0]|c[e+17|0]<<8|c[e+18|0]<<16|c[e+19|0]<<24,e=c[e+20|0]|c[e+21|0]<<8|c[e+22|0]<<16|c[e+23|0]<<24,a[t+44|0]=0,a[t+45|0]=0,a[t+46|0]=0,a[t+47|0]=0,a[t+48|0]=0,a[t+49|0]=0,a[t+50|0]=0,a[t+51|0]=0,a[t+36|0]=r,a[t+37|0]=r>>>8,a[t+38|0]=r>>>16,a[t+39|0]=r>>>24,a[t+40|0]=e,a[t+41|0]=e>>>8,a[t+42|0]=e>>>16,a[t+43|0]=e>>>24,0},yb:j,zb:function(t,e,r,n,i,o,a,s,u,c){return 0|ft(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,c|=0)},Ab:function(t,e,r,n,i,o,a,s,u,c){return 0|rt(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0,a|=0,s|=0,u|=0,c|=0)},Bb:function(){return 52},Cb:function(){return 17},Db:Wr,Eb:Xr,Fb:function(){return-18},Gb:nn,Hb:tn,Ib:en,Jb:an,Kb:rn,Lb:zr,Mb:function(t,e,r,n,i){return 0|function(t,e,r,n){var i=0,o=0,a=0,s=0,u=0,h=0,f=0,l=0,A=0,p=0,d=0,g=0,y=0,m=0,v=0,b=0,w=0;if(a=1886610805^(o=c[0|n]|c[n+1|0]<<8|c[n+2|0]<<16|c[n+3|0]<<24),s=1936682341^(i=c[n+4|0]|c[n+5|0]<<8|c[n+6|0]<<16|c[n+7|0]<<24),h=1852142177^o,f=1819895653^i,i=1852075885^(o=c[n+8|0]|c[n+9|0]<<8|c[n+10|0]<<16|c[n+11|0]<<24),u=1685025377^(n=c[n+12|0]|c[n+13|0]<<8|c[n+14|0]<<16|c[n+15|0]<<24),A=2037671283^o,l=1952801890^n,(0|(o=(e+r|0)-(m=7&r)|0))!=(0|e)){for(;p=c[0|e]|c[e+1|0]<<8|c[e+2|0]<<16|c[e+3|0]<<24,g=c[e+4|0]|c[e+5|0]<<8|c[e+6|0]<<16|c[e+7|0]<<24,d=Pr(i,u,13),n=s+u|0,y=E,(i=i+a|0)>>>0>>0&&(n=n+1|0),a=n,v=Pr(i,n,32),b=E,A=Pr(s=A^p,n=l^g,16),n=n+f|0,(u=s+h|0)>>>0>>0&&(n=n+1|0),s=u^A,A=h=n^(l=E),h=Pr(s,h,21),l=E,f=a^=y,a=Pr(i^=d,a,17),d=E,n=n+f|0,(i=i+u|0)>>>0>>0&&(n=n+1|0),f=Pr(i,n,32),y=E,w=Pr(u=i^a,d^=n,13),n=A+b|0,(i=s+v|0)>>>0>>0&&(n=n+1|0),n=d+(a=n)|0,v=E,(d=i+u|0)>>>0>>0&&(n=n+1|0),u=n,s=Pr(d,n,32),A=E,l=Pr(i^=h,n=a^l,16),n=n+y|0,(h=i+f|0)>>>0>>0&&(n=n+1|0),n=(f=(i=n)^E)+A|0,(a=s+(l=A=h^l)|0)>>>0>>0&&(n=n+1|0),A=Pr(A,f,21)^a,s=n,l=n^E,d=Pr(f=d^w,n=u^v,17),n=i+n|0,(f=f+h|0)>>>0>>0&&(n=n+1|0),i=f^d,u=n^(y=E),a^=p,s^=g,h=Pr(f,n,32),f=E,(0|o)!=(0|(e=e+8|0)););e=o}switch(o=r<<24,r=0,m+-1|0){case 6:o|=c[e+6|0]<<16;case 5:o|=c[e+5|0]<<8;case 4:o|=c[e+4|0];case 3:n=(r=c[e+3|0])>>>8|0,r<<=24,o|=n;case 2:r|=(n=c[e+2|0])<<16,o|=p=n>>>16|0;case 1:r|=(n=c[e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s,h=s=n^(l=E),s=Pr(i,s,21),l=E,f=o^=f,o=Pr(r^=u,o,17),u=E,n=n+f|0,(r=e+r|0)>>>0>>0&&(n=n+1|0),f=Pr(r,n,32),p=E,u=Pr(r^=o,o=n^u,13),n=h+A|0,n=o+(e=(i=i+a|0)>>>0>>0?n+1|0:n)|0,h=E,(r=r+i|0)>>>0>>0&&(n=n+1|0),o=n,a=Pr(r,n,32),A=E,s=Pr(i^=s,n=e^=l,16),n=n+p|0,(e=i+f|0)>>>0>>0&&(n=n+1|0),i=e^s,f=s=n^(l=E),s=Pr(i,s,21),l=E,h=o^=h,o=Pr(r^=u,o,17),u=E,n=n+h|0,(r=e+r|0)>>>0>>0&&(n=n+1|0),h=Pr(r,n,32),p=E,u=e=n^u,d=Pr(g=r^o,e,13),n=f+A|0,(e=i+a|0)>>>0>>0&&(n=n+1|0),a=E,o=n,s=Pr(i=e^s,n=r=l^n,16),n=n+p|0,(r=i+h|0)>>>0>>0&&(n=n+1|0),i=n,s=Pr(r^s,n^(f=E),21),n=o+u|0,(o=e+g|0)>>>0>>0&&(n=n+1|0),n=i+(a^=n)|0,(e=(o^=d)+r|0)>>>0>>0&&(n=n+1|0),r=E,o=Pr(o,a,17)^e^s,r=E^r^n,ke(t,Pr(e,n,32)^o,E^r),0}(t|=0,e|=0,r|=0,i|=0)},Nb:function(t){xe(t|=0,16)},Ob:function(){return 208},Pb:$r,Qb:Xr,Rb:Xr,Sb:$r,Tb:function(){return-65},Ub:function(t,e,r){return 0|T(t|=0,e|=0,r|=0)},Vb:function(t,e){return 0|function(t,e){var r;return b=r=b-32|0,xe(r,32),T(t,e,r),Se(r,32),b=r+32|0,0}(t|=0,e|=0)},Wb:function(t,e,r,n,i,o){return 0|function(t,e,r,n,i,o){var a,s;return b=a=b-16|0,s=r,r=n,mr(t,a+8|0,at(t- -64|0,s,n),n,i,o),64!=u[a+8>>2]|u[a+12>>2]?(e&&(u[e>>2]=0,u[e+4>>2]=0),ct(t,0,r- -64|0),t=-1):(t=0,e&&(u[e>>2]=n- -64,u[e+4>>2]=i-((n>>>0<4294967232)+-1|0))),b=a+16|0,t}(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0)},Xb:function(t,e,r,n,i,o){return 0|function(t,e,r,n,i,o){var a=0;t:{e:{if(!(!i&n>>>0<64|i>>>0<0||(i=i+-1|0,(n=n+-64|0)>>>0<4294967232&&(i=i+1|0),!i&n>>>0>4294967231|i>>>0>0))){if(!Er(r,a=r- -64|0,n,i,o))break e;t&&ct(t,0,n)}if(r=-1,!e)break t;return u[e>>2]=0,u[e+4>>2]=0,-1}e&&(u[e>>2]=n,u[e+4>>2]=i),r=0,t&&at(t,a,n)}return r}(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0)},Yb:function(t,e,r,n,i,o){return 0|mr(t|=0,e|=0,r|=0,n|=0,i|=0,o|=0)},Zb:function(t,e,r,n,i){return 0|Er(t|=0,e|=0,r|=0,n|=0,i|=0)},_b:function(t){return We(t|=0),0},$b:function(t,e,r,n){return 0|J(t|=0,e|=0,r|=0,n|=0)},ac:function(t,e,r,n){return 0|function(t,e,r,n){var i;return b=i=b+-64|0,Xe(t,i),t=K(e,r,i,64,0,n,1),b=i- -64|0,t}(t|=0,e|=0,r|=0,n|=0)},bc:function(t,e,r){return 0|function(t,e,r){var n;return b=n=b+-64|0,Xe(t,n),t=St(e,n,64,0,r,1),b=n- -64|0,t}(t|=0,e|=0,r|=0)},cc:function(t,e){t|=0;var r,n=0;return b=r=b-256|0,n=-1,Bt(e|=0)||bt(r+96|0,e)||function(t){var e;return b=e=b-160|0,function(t,e){var r,n=0;for(b=r=b-1760|0,Ue(r+480|0,e),er(r+320|0,e),Te(r,r+320|0),ee(r+320|0,r,r+480|0),Te(r+160|0,r+320|0),Ue(e=r+640|0,r+160|0),ee(r+320|0,r,e),Te(r+160|0,r+320|0),Ue(e=r+800|0,r+160|0),ee(r+320|0,r,e),Te(r+160|0,r+320|0),Ue(e=r+960|0,r+160|0),ee(r+320|0,r,e),Te(r+160|0,r+320|0),Ue(e=r+1120|0,r+160|0),ee(r+320|0,r,e),Te(r+160|0,r+320|0),Ue(e=r+1280|0,r+160|0),ee(r+320|0,r,e),Te(r+160|0,r+320|0),Ue(e=r+1440|0,r+160|0),ee(r+320|0,r,e),Te(r+160|0,r+320|0),Ue(r+1600|0,r+160|0),Ar(t),e=252;er(r+320|0,t),n=e,(0|(e=a[e+34208|0]))>=1?(Te(r+160|0,r+320|0),ee(r+320|0,r+160|0,(r+480|0)+f((254&e)>>>1|0,160)|0)):(0|e)>-1||(Te(r+160|0,r+320|0),re(r+320|0,r+160|0,(r+480|0)+f((0-e&254)>>>1|0,160)|0)),Te(t,r+320|0),e=n+-1|0,n;);b=r+1760|0}(e,t),t=tr(e),b=e+160|0,t}(r+96|0)&&(Rr(r),wt(r,r,e=r+136|0),Rr(r+48|0),It(r+48|0,r+48|0,e),X(r,r),M(r+48|0,r+48|0,r),ut(t,r+48|0),n=0),b=r+256|0,0|n},dc:function(t,e){t|=0;var r,n=0;return b=r=b+-64|0,Ve(r,e|=0,32,0),a[0|r]=248&c[0|r],a[r+31|0]=63&c[r+31|0]|64,e=u[r+20>>2],n=u[r+16>>2],a[t+16|0]=n,a[t+17|0]=n>>>8,a[t+18|0]=n>>>16,a[t+19|0]=n>>>24,a[t+20|0]=e,a[t+21|0]=e>>>8,a[t+22|0]=e>>>16,a[t+23|0]=e>>>24,e=u[r+12>>2],n=u[r+8>>2],a[t+8|0]=n,a[t+9|0]=n>>>8,a[t+10|0]=n>>>16,a[t+11|0]=n>>>24,a[t+12|0]=e,a[t+13|0]=e>>>8,a[t+14|0]=e>>>16,a[t+15|0]=e>>>24,e=u[r+4>>2],n=u[r>>2],a[0|t]=n,a[t+1|0]=n>>>8,a[t+2|0]=n>>>16,a[t+3|0]=n>>>24,a[t+4|0]=e,a[t+5|0]=e>>>8,a[t+6|0]=e>>>16,a[t+7|0]=e>>>24,e=u[r+28>>2],n=u[r+24>>2],a[t+24|0]=n,a[t+25|0]=n>>>8,a[t+26|0]=n>>>16,a[t+27|0]=n>>>24,a[t+28|0]=e,a[t+29|0]=e>>>8,a[t+30|0]=e>>>16,a[t+31|0]=e>>>24,Se(r,64),b=r- -64|0,0},ec:qe,fc:$e,gc:function(t){var e=0,r=0;if((t|=0)>>>0>=2){for(r=(0-t>>>0)%(t>>>0)|0;(e=qe())>>>0>>0;);t=(e>>>0)%(t>>>0)|0}else t=0;return 0|t},hc:xe,ic:function(t,e,r){Hr(t|=0,e|=0,1784,r|=0)},jc:Xr,kc:function(){var t=0,e=0;return(t=u[9097])&&(t=u[t+20>>2])&&(e=0|o[0|t]()),0|e},lc:function(t,e,r){!function(t,e,r){1==(0|r)&e>>>0>=0|r>>>0>1&&(p(1796,1816,197,1842),A()),xe(t,e)}(t|=0,e|=0,r|=0)},mc:function(t,e,r,n){t|=0,r|=0;var i=0,o=0,s=0;if(!((n|=0)>>>0>2147483646|n<<1>>>0>=(e|=0)>>>0)){if(e=0,n){for(;i=e<<1,o=(s=c[e+r|0])>>>4|0,a[i+t|0]=87+(o+(o+65526>>>8&217)|0),o=(1|i)+t|0,i=15&s,a[0|o]=22272+((i<<8)+(i+65526&55552)|0)>>>8,(0|n)!=(0|(e=e+1|0)););e=n<<1}else e=0;return a[e+t|0]=0,0|t}lr(),A()},nc:function(t,e,r,n,i,o,s){t|=0,e|=0,r|=0,i|=0,o|=0,s|=0;var h=0,f=0,l=0,A=0,p=0,d=0,g=0,y=0,m=0,v=0,b=0;t:if(n|=0){e:{r:{n:for(;;){for(f=h;;){i:{if(!(255&((m=(65526+(g=(223&(d=c[r+f|0]))-55&255)^g+65520)>>>8|0)|(l=65526+(v=48^d)>>>8|0)))){if(l=1,!i|255&p)break r;if(yr(i,d))break i;h=f;break t}if(A>>>0>=e>>>0){u[8960]=68,l=0;break r}if(h=g&m|l&v,255&p?(a[t+A|0]=h|b,A=A+1|0):b=h<<4,p^=-1,l=1,(h=f+1|0)>>>0>>0)continue n;break e}if(p=0,!((f=f+1|0)>>>0>>0))break}break}h=(t=h+1|0)>>>0>>0?n:t;break t}h=f}255&p?(u[8960]=28,y=-1,h=h+-1|0,A=0):l||(A=0,y=-1)}return s?u[s>>2]=r+h:(0|n)!=(0|h)&&(u[8960]=28,y=-1),o&&(u[o>>2]=A),0|y},oc:function(t,e){var r;return t|=0,Or(e|=0),t=f(r=(t>>>0)/3|0,-3)+t|0,f(4-(3-t&0-(e>>>1&1))|0,1&(t|t>>>1))+(r<<2|1)|0},pc:$,qc:z,rc:function(){var t=0;return u[9104]?t=1:(u[9086]=0,function(){var t;b=t=b-16|0,sr(t),u[t>>2]&&(sr(t),ct(36348,0,40)),b=t+16|0}(),u[9085]=1,$e(),function(){var t=0;(0|(t=0|y(30)))>=1?u[8943]=t:t=u[8943],t>>>0<=15&&(lr(),A()),xe(36400,16)}(),u[9104]=1,t=0),0|t},sc:function(t,e,r,n,i){t|=0,e|=0,r|=0,i|=0;var o,s=0,h=0,f=0;b=o=b-16|0;t:{if(n|=0){if(f=-1,(s=(s=n+-1|0)-(h=s&n?(r>>>0)%(n>>>0)|0:r&s)|0)>>>0>=(-1^r)>>>0)break t;if(!((r=r+s|0)>>>0>=i>>>0))for(t&&(u[t>>2]=r+1),t=e+r|0,f=0,a[o+15|0]=0,e=n>>>0>1?n:1,n=0;i=r=t-n|0,h=c[0|r]&c[o+15|0],r=(n^s)-1>>>24|0,a[0|i]=h|128&r,a[o+15|0]=r|c[o+15|0],(0|e)!=(0|(n=n+1|0)););}else f=-1;return b=o+16|0,0|f}lr(),A()},tc:function(t,e,r,n){t|=0,e|=0,r|=0,n|=0;var i,o=0,a=0,s=0,h=0,f=0;if(u[12+(i=b-16|0)>>2]=0,n+-1>>>0>>0){for(f=(o=r+-1|0)+e|0,r=0,e=0;h=((128^(a=c[f-r|0]))-1&u[i+12>>2]+-1&s+-1)>>>8&1,u[i+12>>2]=u[i+12>>2]|0-h&r,e|=h,s|=a,(0|n)!=(0|(r=r+1|0)););u[t>>2]=o-u[i+12>>2],t=e+-1|0}else t=-1;return 0|t},uc:function(){return 35762},vc:function(){return 10},wc:an,xc:tn,yc:function(){return 35840},zc:Q,Ac:D,Bc:function(e){return 0|function(e){e|=0;var r=0|sn(),o=r+e|0;if(r>0]=e;break;case"i16":P[t>>1]=e;break;case"i32":T[t>>2]=e;break;case"i64":mt=[e>>>0,(yt=e,+rt(yt)>=1?yt>0?(0|ot(+it(yt/4294967296),4294967295))>>>0:~~+nt((yt-+(~~yt>>>0))/4294967296)>>>0:0)],T[t>>2]=mt[0],T[t+4>>2]=mt[1];break;case"float":O[t>>2]=e;break;case"double":F[t>>3]=e;break;default:ft("invalid type for setValue: "+r)}}function B(t,e,r){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return R[t>>0];case"i16":return P[t>>1];case"i32":case"i64":return T[t>>2];case"float":return O[t>>2];case"double":return F[t>>3];default:ft("invalid type for getValue: "+e)}return null}b=[],"object"!=typeof E&&ft("no native wasm support detected");var C=new E.Table({initial:14,maximum:22,element:"anyfunc"}),Q=!1;function M(t,e){t||ft("Assertion failed: "+e)}var k="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function S(t,e,r){for(var n=e+r,i=e;t[i]&&!(i>=n);)++i;if(i-e>16&&t.subarray&&k)return k.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function x(t,e){return t?S(N,t,e):""}var D,R,N,P,T,O,F,U=65536;function L(t,e){return t%e>0&&(t+=e-t%e),t}function G(t){D=t,n.HEAP8=R=new Int8Array(t),n.HEAP16=P=new Int16Array(t),n.HEAP32=T=new Int32Array(t),n.HEAPU8=N=new Uint8Array(t),n.HEAPU16=new Uint16Array(t),n.HEAPU32=new Uint32Array(t),n.HEAPF32=O=new Float32Array(t),n.HEAPF64=F=new Float64Array(t)}var H=5279472,j=36432,Y=n.INITIAL_MEMORY||16777216;function K(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var r=e.func;"number"==typeof r?void 0===e.arg?n.dynCall_v(r):n.dynCall_vi(r,e.arg):r(void 0===e.arg?null:e.arg)}else e(n)}}(I=n.wasmMemory?n.wasmMemory:new E.Memory({initial:Y/U,maximum:2147483648/U}))&&(D=I.buffer),Y=D.byteLength,G(D),T[j>>2]=H;var q=[],J=[],V=[],z=[];function X(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)tt(n.preRun.shift());K(q)}function W(){K(J)}function Z(){K(V)}function $(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)et(n.postRun.shift());K(z)}function tt(t){q.unshift(t)}function et(t){z.unshift(t)}var rt=Math.abs,nt=Math.ceil,it=Math.floor,ot=Math.min,at=0,st=null,ut=null;function ct(t){at++,n.monitorRunDependencies&&n.monitorRunDependencies(at)}function ht(t){if(at--,n.monitorRunDependencies&&n.monitorRunDependencies(at),0==at&&(null!==st&&(clearInterval(st),st=null),ut)){var e=ut;ut=null,e()}}function ft(t){throw n.onAbort&&n.onAbort(t),w(t+=""),Q=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new E.RuntimeError(t)}function lt(t,e){return String.prototype.startsWith?t.startsWith(e):0===t.indexOf(e)}n.preloadedImages={},n.preloadedAudios={};var At="data:application/octet-stream;base64,";function pt(t){return lt(t,At)}var dt="file://";function gt(t){return lt(t,dt)}var yt,mt,vt="";function bt(){try{if(b)return new Uint8Array(b);var t=Ut(vt);if(t)return t;if(d)return d(vt);throw"both async and sync fetching of the wasm failed"}catch(t){ft(t)}}function wt(){return b||!h&&!f||"function"!=typeof fetch||gt(vt)?new Promise((function(t,e){t(bt())})):fetch(vt,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+vt+"'";return t.arrayBuffer()})).catch((function(){return bt()}))}function It(){var t={a:Gt};function e(t,e){var r=t.exports;n.asm=r,ht()}function r(t){e(t.instance)}function i(e){return wt().then((function(e){return E.instantiate(e,t)})).then(e,(function(t){w("failed to asynchronously prepare wasm: "+t),ft(t)}))}if(ct(),n.instantiateWasm)try{return n.instantiateWasm(t,e)}catch(t){return w("Module.instantiateWasm callback failed with error: "+t),!1}return function(){if(b||"function"!=typeof E.instantiateStreaming||pt(vt)||gt(vt)||"function"!=typeof fetch)return i(r);fetch(vt,{credentials:"same-origin"}).then((function(e){return E.instantiateStreaming(e,t).then(r,(function(t){return w("wasm streaming compile failed: "+t),w("falling back to ArrayBuffer instantiation"),i(r)}))}))}(),{}}pt(vt)||(vt=v(vt));var Et={1024:function(){return n.getRandomValue()},1062:function(){if(void 0===n.getRandomValue)try{var t="object"==typeof window?window:self,e=void 0!==t.crypto?t.crypto:t.msCrypto,i=function(){var t=new Uint32Array(1);return e.getRandomValues(t),t[0]>>>0};i(),n.getRandomValue=i}catch(t){try{var o=r(116),a=function(){var t=o.randomBytes(4);return(t[0]<<24|t[1]<<16|t[2]<<8|t[3])>>>0};a(),n.getRandomValue=a}catch(t){throw"No secure random number generator found"}}}};function _t(t,e,r){var n=Nt(e,r);return Et[t].apply(null,n)}function Bt(t,e,r,n){ft("Assertion failed: "+x(t)+", at: "+[e?x(e):"unknown filename",r,n?x(n):"unknown function"])}function Ct(){ft()}function Qt(t,e,r){N.copyWithin(t,e,e+r)}function Mt(){return N.length}function kt(t){try{return I.grow(t-D.byteLength+65535>>>16),G(I.buffer),1}catch(t){}}function St(t){t>>>=0;var e=Mt();if(t>2147483648)return!1;for(var r=1;r<=4;r*=2){var n=e*(1+.2/r);if(n=Math.min(n,t+100663296),kt(Math.min(2147483648,L(Math.max(16777216,t,n),65536))))return!0}return!1}function xt(t){return T[jt()>>2]=t,t}function Dt(t){switch(t){case 30:return 16384;case 85:return 131072;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:case 79:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:return"object"==typeof navigator&&navigator.hardwareConcurrency||1}return xt(28),-1}J.push({func:function(){Ht()}});var Rt=[];function Nt(t,e){var r;for(Rt.length=0,e>>=2;r=N[t++];){var n=r<105;n&&1&e&&e++,Rt.push(n?F[e++>>1]:T[e]),++e}return Rt}var Pt=!1;function Tt(t){for(var e=[],r=0;r255&&(Pt&&M(!1,"Character code "+n+" ("+String.fromCharCode(n)+") at offset "+r+" not in 0x00-0xFF."),n&=255),e.push(String.fromCharCode(n))}return e.join("")}var Ot="function"==typeof atob?atob:function(t){var e,r,n,i,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="",c=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{e=s.indexOf(t.charAt(c++))<<2|(i=s.indexOf(t.charAt(c++)))>>4,r=(15&i)<<4|(o=s.indexOf(t.charAt(c++)))>>2,n=(3&o)<<6|(a=s.indexOf(t.charAt(c++))),u+=String.fromCharCode(e),64!==o&&(u+=String.fromCharCode(r)),64!==a&&(u+=String.fromCharCode(n))}while(c0||(X(),at>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),e()}),1)):e()))}if(n.setValue=_,n.getValue=B,n.UTF8ToString=x,ut=function t(){Lt||Kt(),Lt||(ut=t)},n.run=Kt,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();Kt(),Object.keys(c).forEach((function(t){"getRandomValue"!==t&&delete c[t]})),Object.keys(n).forEach((function(t){c[t]=n[t]}))};var s,u=void 0!==u?u:{},h={};for(s in u)u.hasOwnProperty(s)&&(h[s]=u[s]);var f=[],l=!1,A=!1,p=!1,d=!1;l="object"==typeof window,A="function"==typeof importScripts,p="object"==typeof i&&"object"==typeof i.versions&&"string"==typeof i.versions.node,d=!l&&!p&&!A;var g,y,m,v,b="";function w(t){return u.locateFile?u.locateFile(t,b):b+t}p?(b=A?r(67).dirname(b)+"/":o+"/",g=function(t,e){var n=Lt(t);return n?e?n:n.toString():(m||(m=r(115)),v||(v=r(67)),t=v.normalize(t),m.readFileSync(t,e?null:"utf8"))},y=function(t){var e=g(t,!0);return e.buffer||(e=new Uint8Array(e)),k(e.buffer),e},i.argv.length>1&&i.argv[1].replace(/\\/g,"/"),f=i.argv.slice(2),t.exports=u,i.on("unhandledRejection",lt),u.inspect=function(){return"[Emscripten Module object]"}):d?("undefined"!=typeof read&&(g=function(t){var e=Lt(t);return e?Ot(e):read(t)}),y=function(t){var e;return(e=Lt(t))?e:"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):(k("object"==typeof(e=read(t,"binary"))),e)},"undefined"!=typeof scriptArgs?f=scriptArgs:void 0!==arguments&&(f=arguments),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(l||A)&&(A?b=self.location.href:document.currentScript&&(b=document.currentScript.src),b=0!==b.indexOf("blob:")?b.substr(0,b.lastIndexOf("/")+1):"",g=function(t){try{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText}catch(e){var r=Lt(t);if(r)return Ot(r);throw e}},A&&(y=function(t){try{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}catch(e){var r=Lt(t);if(r)return r;throw e}})),u.print;var I,E,_=u.printErr||void 0;for(s in h)h.hasOwnProperty(s)&&(u[s]=h[s]);function B(t,e,r,n){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":N[t>>0]=e;break;case"i16":T[t>>1]=e;break;case"i32":O[t>>2]=e;break;case"i64":vt=[e>>>0,(mt=e,+nt(mt)>=1?mt>0?(0|at(+ot(mt/4294967296),4294967295))>>>0:~~+it((mt-+(~~mt>>>0))/4294967296)>>>0:0)],O[t>>2]=vt[0],O[t+4>>2]=vt[1];break;case"float":F[t>>2]=e;break;case"double":U[t>>3]=e;break;default:lt("invalid type for setValue: "+r)}}function C(t,e,r){switch("*"===(e=e||"i8").charAt(e.length-1)&&(e="i32"),e){case"i1":case"i8":return N[t>>0];case"i16":return T[t>>1];case"i32":case"i64":return O[t>>2];case"float":return F[t>>2];case"double":return U[t>>3];default:lt("invalid type for getValue: "+e)}return null}h=null,u.arguments&&(f=u.arguments),u.thisProgram&&u.thisProgram,u.quit&&u.quit,u.wasmBinary&&(I=u.wasmBinary),u.noExitRuntime&&u.noExitRuntime,"object"!=typeof WebAssembly&<("no native wasm support detected");var Q=new WebAssembly.Table({initial:14,maximum:22,element:"anyfunc"}),M=!1;function k(t,e){t||lt("Assertion failed: "+e)}var S="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function x(t,e,r){for(var n=e+r,i=e;t[i]&&!(i>=n);)++i;if(i-e>16&&t.subarray&&S)return S.decode(t.subarray(e,i));for(var o="";e>10,56320|1023&c)}}else o+=String.fromCharCode((31&a)<<6|s)}else o+=String.fromCharCode(a)}return o}function D(t,e){return t?x(P,t,e):""}var R,N,P,T,O,F,U,L=65536;function G(t,e){return t%e>0&&(t+=e-t%e),t}function H(t){R=t,u.HEAP8=N=new Int8Array(t),u.HEAP16=T=new Int16Array(t),u.HEAP32=O=new Int32Array(t),u.HEAPU8=P=new Uint8Array(t),u.HEAPU16=new Uint16Array(t),u.HEAPU32=new Uint32Array(t),u.HEAPF32=F=new Float32Array(t),u.HEAPF64=U=new Float64Array(t)}var j=5279472,Y=36432,K=u.INITIAL_MEMORY||16777216;function q(t){for(;t.length>0;){var e=t.shift();if("function"!=typeof e){var r=e.func;"number"==typeof r?void 0===e.arg?u.dynCall_v(r):u.dynCall_vi(r,e.arg):r(void 0===e.arg?null:e.arg)}else e(u)}}(E=u.wasmMemory?u.wasmMemory:new WebAssembly.Memory({initial:K/L,maximum:2147483648/L}))&&(R=E.buffer),K=R.byteLength,H(R),O[Y>>2]=j;var J=[],V=[],z=[],X=[];function W(){if(u.preRun)for("function"==typeof u.preRun&&(u.preRun=[u.preRun]);u.preRun.length;)et(u.preRun.shift());q(J)}function Z(){q(V)}function $(){q(z)}function tt(){if(u.postRun)for("function"==typeof u.postRun&&(u.postRun=[u.postRun]);u.postRun.length;)rt(u.postRun.shift());q(X)}function et(t){J.unshift(t)}function rt(t){X.unshift(t)}var nt=Math.abs,it=Math.ceil,ot=Math.floor,at=Math.min,st=0,ut=null,ct=null;function ht(t){st++,u.monitorRunDependencies&&u.monitorRunDependencies(st)}function ft(t){if(st--,u.monitorRunDependencies&&u.monitorRunDependencies(st),0==st&&(null!==ut&&(clearInterval(ut),ut=null),ct)){var e=ct;ct=null,e()}}function lt(t){throw u.onAbort&&u.onAbort(t),_(t+=""),M=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(t)}function At(t,e){return String.prototype.startsWith?t.startsWith(e):0===t.indexOf(e)}u.preloadedImages={},u.preloadedAudios={};var pt="data:application/octet-stream;base64,";function dt(t){return At(t,pt)}var gt="file://";function yt(t){return At(t,gt)}var mt,vt,bt="data:application/octet-stream;base64,AGFzbQEAAAABqAMwYAJ/fwBgAAF/YAJ/fwF/YAN/f38Bf2ADf39/AGABfwF/YAF/AGAEf39/fwF/YAV/f39/fwF/YAt/f39/f39/f39/fwF/YAN/f34Bf2AGf39/f39/AX9gB39/f39/f38Bf2AEf39+fwF/YAAAYAZ/f39+f38Bf2AFf39+f38Bf2AEf35/fwF/YAh/f39+f35/fwF/YAR/f39/AGAGf39+f39/AX9gBn9/fn9+fwF/YAJ/fgBgCH9/f39/f39/AX9gDH9/f39/f39/f39/fwF/YAh/f35/f35/fwF/YAN/f34AYAV/f35/fwBgCX9/f39+f35/fwF/YAV/f39+fwF/YAZ/f35/f38AYAR/fn9/AGAKf39/f39/f39/fwF/YAd/f39+f39/AX9gBX9/fn5/AX9gB39+f35/fn8Bf2ABfwF+YAJ+fwF+YAV/f39/fwBgCX9/f39+f35/fwBgBH9/f34AYAh/f39/f35/fgF/YAZ/f39/fn8Bf2AIf39/f35/fn8Bf2AGf39+fn9/AX9gA39+fwF/YAh/fn9+f35/fwF/YAJ+fgF+AkEIAWEBYQATAWEBYgADAWEBYwAOAWEBZAAFAWEBZQADAWEBZgAFAWEGbWVtb3J5AgGAAoCAAgFhBXRhYmxlAXAADgPpAucCJS8CAAAEABolJAMWAwQOAAQBCgYEAAoGAQAFBQMAAAoEAAYCAAUAAAABHgEKGAoGAR8GAAACBgMHAQEAAgIDAwcDEwEEKAAEBAAABAUaBQQTDwMWBgAABgAGAQEXCAYCAwIPDw8PAwMBHh8bAgEGBQAEAAAAABoADQIDAAAHAg0QHQ8DACIRBwMFBQYEDxQhFCECDQQZHBkZHBwbBAQEGw4DBAYGAAQCBQAAAgACBQoCDQUABAICAAAAAAQHBAAIKiYEBwgLCwsIICALDAsMBwcAFwwJCwcHDAsIDAALFwwMCxcMCAgJCQkYCQkJCQkYCRgBAQMHBQIDAQEDBx0dAgICBg0BAQEpKwMDLQosLgEBAQcBAQEBAQ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gJ/AX4CQCACRQ0AIAAgAmoiA0F/aiABOgAAIAAgAToAACACQQNJDQAgA0F+aiABOgAAIAAgAToAASADQX1qIAE6AAAgACABOgACIAJBB0kNACADQXxqIAE6AAAgACABOgADIAJBCUkNACAAQQAgAGtBA3EiBGoiAyABQf8BcUGBgoQIbCIBNgIAIAMgAiAEa0F8cSIEaiICQXxqIAE2AgAgBEEJSQ0AIAMgATYCCCADIAE2AgQgAkF4aiABNgIAIAJBdGogATYCACAEQRlJDQAgAyABNgIYIAMgATYCFCADIAE2AhAgAyABNgIMIAJBcGogATYCACACQWxqIAE2AgAgAkFoaiABNgIAIAJBZGogATYCACAEIANBBHFBGHIiBGsiAkEgSQ0AIAGtIgVCIIYgBYQhBSADIARqIQEDQCABIAU3AxggASAFNwMQIAEgBTcDCCABIAU3AwAgAUEgaiEBIAJBYGoiAkEfSw0ACwsgAAsJACAAIAE3AAALggQBA38gAkGABE8EQCAAIAEgAhAEGiAADwsgACACaiEDAkAgACABc0EDcUUEQAJAIAJBAUgEQCAAIQIMAQsgAEEDcUUEQCAAIQIMAQsgACECA0AgAiABLQAAOgAAIAFBAWohASACQQFqIgIgA08NASACQQNxDQALCwJAIANBfHEiBEHAAEkNACACIARBQGoiBUsNAANAIAIgASgCADYCACACIAEoAgQ2AgQgAiABKAIINgIIIAIgASgCDDYCDCACIAEoAhA2AhAgAiABKAIUNgIUIAIgASgCGDYCGCACIAEoAhw2AhwgAiABKAIgNgIgIAIgASgCJDYCJCACIAEoAig2AiggAiABKAIsNgIsIAIgASgCMDYCMCACIAEoAjQ2AjQgAiABKAI4NgI4IAIgASgCPDYCPCABQUBrIQEgAkFAayICIAVNDQALCyACIARPDQEDQCACIAEoAgA2AgAgAUEEaiEBIAJBBGoiAiAESQ0ACwwBCyADQQRJBEAgACECDAELIANBfGoiBCAASQRAIAAhAgwBCyAAIQIDQCACIAEtAAA6AAAgAiABLQABOgABIAIgAS0AAjoAAiACIAEtAAM6AAMgAUEEaiEBIAJBBGoiAiAETQ0ACwsgAiADSQRAA0AgAiABLQAAOgAAIAFBAWohASACQQFqIgIgA0cNAAsLIAAL7AEBEn8gAigCBCEDIAEoAgQhBCACKAIIIQUgASgCCCEGIAIoAgwhByABKAIMIQggAigCECEJIAEoAhAhCiACKAIUIQsgASgCFCEMIAIoAhghDSABKAIYIQ4gAigCHCEPIAEoAhwhECACKAIgIREgASgCICESIAIoAiQhEyABKAIkIRQgACACKAIAIAEoAgBqNgIAIAAgEyAUajYCJCAAIBEgEmo2AiAgACAPIBBqNgIcIAAgDSAOajYCGCAAIAsgDGo2AhQgACAJIApqNgIQIAAgByAIajYCDCAAIAUgBmo2AgggACADIARqNgIECxgBAX9BxJwCKAIAIgAEQCAAEQ4ACxACAAtAAQN/IAAgASABQfgAaiICEAsgAEEoaiABQShqIgMgAUHQAGoiBBALIABB0ABqIAQgAhALIABB+ABqIAEgAxALC+wBARJ/IAIoAgQhAyABKAIEIQQgAigCCCEFIAEoAgghBiACKAIMIQcgASgCDCEIIAIoAhAhCSABKAIQIQogAigCFCELIAEoAhQhDCACKAIYIQ0gASgCGCEOIAIoAhwhDyABKAIcIRAgAigCICERIAEoAiAhEiACKAIkIRMgASgCJCEUIAAgASgCACACKAIAazYCACAAIBQgE2s2AiQgACASIBFrNgIgIAAgECAPazYCHCAAIA4gDWs2AhggACAMIAtrNgIUIAAgCiAJazYCECAAIAggB2s2AgwgACAGIAVrNgIIIAAgBCADazYCBAsEAEEgCwoAIAAgASACEDILqg0BB38CQCAARQ0AIABBeGoiAyAAQXxqKAIAIgFBeHEiAGohBQJAIAFBAXENACABQQNxRQ0BIAMgAygCACICayIDQZSYAigCACIESQ0BIAAgAmohACADQZiYAigCAEcEQCACQf8BTQRAIAMoAggiBCACQQN2IgJBA3RBrJgCakcaIAQgAygCDCIBRgRAQYSYAkGEmAIoAgBBfiACd3E2AgAMAwsgBCABNgIMIAEgBDYCCAwCCyADKAIYIQYCQCADIAMoAgwiAUcEQCAEIAMoAggiAk0EQCACKA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moiCXNBBxAIIRAgCiACIAogDWoiBnNBEBAIIgcgCGoiAnNBDBAIIQggCCAHIAYgCGoiDXNBCBAIIhEgAmoiGHNBBxAIIQogFyAZIBQgF2oiBnNBEBAIIgcgCWoiAnNBDBAIIQkgCSAHIAYgCWoiFHNBCBAIIgYgAmoiB3NBBxAIIQIgECAMIAsgEGoiC3NBEBAIIgkgGmoiCHNBDBAIIQ8gDyAIIAkgCyAPaiIQc0EIEAgiCWoiDHNBBxAIIQ8gFiAFIA4gFmoiDnNBEBAIIgggG2oiC3NBDBAIIQUgBSALIAggBSAOaiIOc0EIEAgiCGoiC3NBBxAIIQUgFUF+aiIVDQALIAEoAAQhLCABKAAIIS0gASgADCEuIAEoABAhLyABKAAUITAgASgAGCExIAEoABwhMiABKAAgITMgASgAJCE0IAEoACghFSABKAAsIRYgASgAMCEXIAEoADQhGSABKAA4IRogASgAPCEbIAQgASgAACANICpqcxAKIARBBGogLCAUIClqcxAKIARBCGogLSAQIChqcxAKIARBDGogLiAOICdqcxAKIARBEGogLyAFICZqcxAKIARBFGogMCAKICVqcxAKIARBGGogMSACICRqcxAKIARBHGogMiAPICNqcxAKIARBIGogMyAMICJqcxAKIARBJGogNCALICFqcxAKIARBKGogFSAYICBqcxAKIARBLGogFiAHIB9qcxAKIARBMGogFyAGIBNqcxAKIARBNGogGSAJIBJqcxAKIARBOGogGiAIIB5qcxAKIARBPGogGyARIB1qcxAKIBIgE0EBaiIHIBNJaiESIANCwABYBEACQCADQj9WDQAgA6ciAUUNAEEAIQoDQCAKICtqIAQgCmotAAA6AAAgCkEBaiIKIAFHDQALCyAAIBI2AjQgACAHNgIwIBxBQGskAAUgAUFAayEBIARBQGshAiADQkB8IQMgByETDAELCwtxACAAQuXwwYvmjZmQMzcCACAAQrLaiMvHrpmQ6wA3AgggACABKAAANgIQIAAgASgABDYCFCAAIAEoAAg2AhggACABKAAMNgIcIAAgASgAEDYCICAAIAEoABQ2AiQgACABKAAYNgIoIAAgASgAHDYCLAsLACAAIAEgAhDaAgupAwEVfyABKAIEIQsgACgCBCEMIAEoAgghDSAAKAIIIQ4gASgCDCEPIAAoAgwhAyABKAIQIRAgACgCECEEIAEoAhQhESAAKAIUIQUgASgCGCESIAAoAhghBiABKAIcIRMgACgCHCEHIAEoAiAhFCAAKAIgIQggASgCJCEVIAAoAiQhCSAAQQAgAmsiAiABKAIAIhYgACgCACIKc3EiFyAKczYCACAAIAkgCSAVcyACcSIKczYCJCAAIAggCCAUcyACcSIJczYCICAAIAcgByATcyACcSIIczYCHCAAIAYgBiAScyACcSIHczYCGCAAIAUgBSARcyACcSIGczYCFCAAIAQgBCAQcyACcSIFczYCECAAIAMgAyAPcyACcSIEczYCDCAAIA4gDSAOcyACcSIDczYCCCAAIAwgCyAMcyACcSIAczYCBCABIAogFXM2AiQgASAJIBRzNgIgIAEgCCATczYCHCABIAcgEnM2AhggASAGIBFzNgIUIAEgBSAQczYCECABIAQgD3M2AgwgASADIA1zNgIIIAEgACALczYCBCABIBYgF3M2AgALKQEBfyMAQYABayICJAAgAkEIaiABEOcCIAAgAkEIahA5IAJBgAFqJAALMgEBfyAAIAEgAUH4AGoiAhALIABBKGogAUEoaiABQdAAaiIBEAsgAEHQAGogASACEAsLrwIBE38gASgCBCEMIAAoAgQhAyABKAIIIQ0gACgCCCEEIAEoAgwhDiAAKAIMIQUgASgCECEPIAAoAhAhBiABKAIUIRAgACgCFCEHIAEoAhghESAAKAIYIQggASgCHCESIAAoAhwhCSABKAIgIRMgACgCICEKIAEoAiQhFCAAKAIkIQsgAEEAIAJrIgIgACgCACIVIAEoAgBzcSAVczYCACAAIAsgCyAUcyACcXM2AiQgACAKIAogE3MgAnFzNgIgIAAgCSAJIBJzIAJxczYCHCAAIAggCCARcyACcXM2AhggACAHIAcgEHMgAnFzNgIUIAAgBiAGIA9zIAJxczYCECAAIAUgBSAOcyACcXM2AgwgACAEIAQgDXMgAnFzNgIIIAAgAyADIAxzIAJxczYCBAskAQF/IwBBIGsiASQAIAEg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cyIDIAFqQQcQCCAMcyIMIANqQQkQCCAJcyIJIAxqQQ0QCCABcyIBIAlqQRIQCCADcyEDIAYgF3MiBiAOakEHEAggEXMiByAGakEJEAggDXMiDSAHakENEAggDnMiDiANakESEAggBnMhBiAPQQJLIREgD0F+aiEPIBENAAsgACAFEAogAEEEaiAEEAogAEEIaiADEAogAEEMaiAGEAogAEEQaiACEAogAEEUaiAIEAogAEEYaiAJEAogAEEcaiABEApBAAsEAEEICygAIAJCgICAgBBaBEAQFAALIAAgASACIAMgBCAFQfCXAigCABEUABoLJAAgAUKAgICAEFoEQBAUAAsgACABIAIgA0HolwIoAgAREQAaCxkAIAAgASACIANCACAEQeCXAigCABEVABoLEAAgACABQdiXAigCABECAAsrAQJ/IwBBEGsiACQAIABBADoAD0GACCAAQQ9qQQAQASEBIABBEGokACABC5USAR5+IAAQDyEQIAA1AAIhESAAQQVqEA8hEiAANQAHIRkgADUACiEaIABBDWoQDyEbIAA1AA8hCyAAQRJqEA8hCiAAQRVqEA8hCCAANQAXIQUgAEEaahAPIQEgADUAHCEcIAA1AB8hEyAAQSJqEA8hFCAANQAkIQwgAEEnahAPIQ8gAEEqahAPIQkgADUALCEGIAAgAEEvahAPQgKIQv///wCDIgJC0asIfiABQgKIQv///wCDfCAANQAxQgeIQv///wCDIgFC04xDfnwgADUANEIEiEL///8AgyIDQuf2J358IABBN2oQD0IBiEL///8AgyIEQpjaHH58IAA1ADlCBohC////AIMiB0KT2Ch+fCIVIAZCBYhC////AIMgADUAPEIDiCIGQoOhVn4gCUL///8Ag3wiDUKAgEB9Ig5CFYd8IglCg6FWfnwgAkLTjEN+IAVCBYhC////AIN8IAFC5/YnfnwgA0KY2hx+fCAEQpPYKH58IAJC5/YnfiAIQv///wCDfCABQpjaHH58IANCk9gofnwiBUKAgEB9IhZCFYh8IghCgIBAfSIXQhWHfCAVQoCAQH0iFUKAgIB/g30iGCAYQoCAQH0iGEKAgIB/g30gCULRqwh+IAh8IBdCgICAf4N9IA0gDk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AgAkIIiDwAFiAAIBFC////AIMgAkIVh3wiAUILiDwAGSAAIAFCA4g8ABggACASQv///wCDIAFCFYd8IgNCBog8ABsgACACQhCIQh+DIAFC////AIMiAUIFhoQ8ABcgACAIQv///wCDIANCFYd8IgJCEYg8AB8gACACQgmIPAAeIAAgAkIBiDwAHSAAIANC////AIMiA0IChiABQhOIhDwAGiAAIAJCB4YgA0IOiIQ8ABwL2gEBBX8jAEEQayIDQQA2AAsgA0EANgIIA0AgACACai0AACEEQQAhAQNAIANBCGogAWoiBSAFLQAAIAFBBXRBoBlqIAJqLQAAIARzcjoAACABQQFqIgFBB0cNAAsgAkEBaiICQR9HDQALIAAtAB9B/wBxIQJBACEAQQAhAQNAIANBCGogAWoiBCAELQAAIAIgAUEFdEG/GWotAABzcjoAACABQQFqIgFBB0cNAAtBACEBA0AgA0EIaiAAai0AAEF/aiABciEBIABBAWoiAEEHRw0ACyABQQh2QQFxC54DAQV/IwBB0ANrIgIkAANAIANBAXQiBSACQZADamogASADai0AACIGQQ9xOgAAIAJBkANqIAVBAXJqIAZBBHY6AAAgA0EBaiIDQSBHDQALQQAhAwNAIAJBkANqIARqIgEgAS0AACADaiIBIAFBCGoiAUHwAXFrOgAAIAFBGHRBHHUhAyAEQQFqIgRBP0cNAAsgAiACLQDPAyADajoAzwMgABCqAUEBIQMDQCACIANBAXYgAkGQA2ogA2osAAAQqAEgAkHwAWogACACEHcgACACQfABahAVIANBPkkhASADQQJqIQMgAQ0ACyACQfABaiAAEE8gAkH4AGogAkHwAWoQUCACQfABaiACQfgAahA5IAJB+ABqIAJB8AFqEFAgAkHwAWogAkH4AGoQOSACQfgAaiACQfABahBQIAJB8AFqIAJB+ABqEDkgACACQfABahAVQQAhAwNAIAIgA0EBdiACQZADaiADaiwAABCoASACQfABaiAAIAIQdyAAIAJB8AFqEBUgA0E+SSEBIANBAmohAyABDQALIAJB0ANqJAALiwEBBH8jAEEwayIFJAAgACABQShqIgMgARATIABBKGoiBCADIAEQFiAAQd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qQcAAEAkgCUHQAGogBSAGEA0gCUEIaiAGEBEgCUHQAGogCUEIakIIEA0gACADIAQgByAIEKEBIAlB0ABqIAAgBBANIAlBCGogBBARIAlB0ABqIAlBCGpCCBANIAlB0ABqIAEQIyAJQdAAakGAAhAJIAIEQCACQhA3AwALIAlB0AJqJABBAAsoACACQoCAgIAQWgRAEBQACyAAIAEgAiADQgEgBEHslwIoAgARFQAaCxYAIABCwAAgASACQeSXAigCABERABoLMgAgACACBH8gAigAAAVBAAs2AjAgACABKAAANgI0IAAgASgABDYCOCAAIAEoAAg2AjwLPQAgAAJ/IAIEQCAAIAIoAAA2AjAgAigABAwBCyAAQQA2AjBBAAs2AjQgACABKAAANgI4IAAgASgABDYCPAsZACAAIAEgAiADQgEgBEHglwIoAgARFQAaCygBAX8jAEEQayIAJAAgAEEAOgAPQaYIIABBD2pBABABGiAAQRBqJAALagEDfyMAQRBrIgMkACADQQA6AA9BfyEFIAAgASACQdSXAigCABEDAEUEQANAIAMgACAEai0AACADLQAPcjoADyAEQQFqIgRBIEcNAAtBACADLQAPQX9qQQh2QQFxayEFCyADQRBqJAAgBQsTACAAIAFBwAdsQaAbaiACEOUCCxAAIABCADcCACAAQgA3AggLHQAgABA4IABBKGoQHSAAQdAAahAdIABB+ABqEDgLmAIBCn8DQCAAIAJqIAEgAkEDdmotAAAgAkEHcXZBAXE6AAAgAkEBaiICQYACRw0AC0H+ASEEA0AgAyIFQQFqIQMCQCAAIAVqIgYtAABFIAVB/gFLcg0AQQEhASAEQQUgBEEFSRtBAWohCSADIQIDQCABIQcCQCAAIAJqIgEsAAAiCEUNACAIIAd0IgggBiwAACIKaiILQQ9MBEAgBiALOgAAIAFBADoAAAwBCyAKIAhrIgFBcUgNAiAGIAE6AAADQCAAIAJqIgEtAABFBEAgAUEBOgAADAILIAFBADoAACACQf8BSSEBIAJBAWohAiABDQALCyAHQQFqIgEgBWohAiAHIAlHDQALCyAEQX9qIQQgA0GAAkcNAAsLlQEBBH8jAEEwayI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NAAsgAkEwaiACQTBqIAJB4ABqEAsgAiACQTBqEAxBASEDA0AgAiACEAwgA0EBaiIDQeQARw0ACyACQTBqIAIgAkEwahALIAJBMGogAkEwahAMQQEhAwNAIAJBMGogAkEwahAMIANBAWoiA0EyRw0ACyACQeAAaiACQTBqIAJB4ABqEAsgAkHgAGogAkHgAGoQDCACQeAAaiACQeAAahAMIAAgAkHgAGogARALIAJBkAFqJAALKgACfwJ/QTBBgH8gAUkNARogARC0ASIBRQsEQEEwDwsgACABNgIAQQALC84CAQl/IAAgASgCICICIAEoAhwiAyABKAIYIgQgASgCFCIFIAEoAhAiBiABKAIMIgcgASgCCCIIIAEoAgQiCSABKAIAIgogASgCJCIBQRNsQYCAgAhqQRl2akEadWpBGXVqQRp1akEZdWpBGnVqQRl1akEadWpBGXVqQRp1IAFqQRl1QRNsIApqIgpB////H3E2AgAgACAJIApBGnVqIglB////D3E2AgQgACAIIAlBGXVqIghB////H3E2AgggACAHIAhBGnVqIgdB////D3E2AgwgACAGIAdBGXVqIgZB////H3E2AhAgACAFIAZBGnVqIgVB////D3E2AhQgACAEIAVBGXVqIgRB////H3E2AhggACADIARBGnVqIgNB////D3E2AhwgACACIANBGXVqIgJB////H3E2AiAgACABIAJBGnVqQf///w9xNgIkCwoAIAAgARB7QQAL1wIBBn9BgH8gAE0EQEGAmAJBMDYCAEEADwtBECAAQQtqQXhxIABBC0kbIgNBzABqECAiAEUEQEEADwsgAEF4aiEBAkAgAEE/cUUEQCABIQAMAQsgAEF8aiIFKAIAIgZBeHEgAEE/akFAcUF4aiIAIABBQGsgACABa0EPSxsiACABayICayEEIAZBA3FFBEAgASgCACEBIAAgBDYCBCAAIAEgAmo2AgAMAQsgACAEIAAoAgRBAXFyQQJyNgIEIAAgBGoiBCAEKAIEQQFyNgIEIAUgAiAFKAIAQQFxckECcjYCACAAIAAoAgRBAXI2AgQgASACEK8BCwJAIAAoAgQiAUEDcUUNACABQXhxIgIgA0EQak0NACAAIAMgAUEBcXJBAnI2AgQgACADaiIBIAIgA2siA0EDcjYCBCAAIAJqIgIgAigCBEEBcjYCBCABIAMQrwELIABBCGoLDAAgACABIAIQfEEACwoAIAAgARB9QQALKQEBfyMAQRBrIgQkACAEIAEgAiADEH4aIAAgBBA7IQAgBEEQaiQAIAALVgIBfwF+AkACf0EAIABFDQAaIACtIgKnIgEgAEEBckGAgARJDQAaQX8gASACQiCIpxsLIgEQICIARQ0AIABBfGotAABBA3FFDQAgAEEAIAEQEBoLIAALpgEBBH8jAEGACGsiAiQAIAEoAhwEQCAAQcQAaiEFIABBQGshBANAIARBABAKIAUgAxAKIAJBgAggAEHIABBWIAEoAgAoAgQgASgCGCADbEEKdGogAhCBASAEQQEQCiACQYAIIABByAAQViABKAIAKAIEIAEoAhggA2xBCnRqQYAIaiACEIEBIANBAWoiAyABKAIcSQ0ACwsgAkGACBAJIAJBgAhqJAAL8AMBAn8jACIDIQQgA0HAA2tBQHEiAyQAIABFIAFFckUEQCADQUBrQQBBAEHAABA+GiADQTxqIAEoAjAQCiADQUBrIANBPGpCBBAYGiADQTxqIAEoAgQQCiADQUBrIANBPGpCBBAYGiADQTxqIAEoAiwQCiADQUBrIANBPGpCBBAYGiADQTxqIAEoAigQCiADQUBrIANBPGpCBBAYGiADQTxqQRMQCiADQUBrIANBPGpCBBAYGiADQTxqIAIQCiADQUBrIANBPGpCBBAYGiADQTxqIAEoAgwQCiADQUBrIANBPGpCBBAYGgJAIAEoAggiAkUNACADQUBrIAIgATUCDBAYGiABLQA4QQFxRQ0AIAEoAgggASgCDBAJIAFBADYCDAsgA0E8aiABKAIUEAogA0FAayADQTxqQgQQGBogASgCECICBEAgA0FAayACIAE1AhQQGBoLIANBPGogASgCHBAKIANBQGsgA0E8akIEEBgaAkAgASgCGCICRQ0AIANBQGsgAiABNQIcEBgaIAEtADhBAnFFDQAgASgCGCABKAIcEAkgAUEANgIcCyADQTxqIAEoAiQQCiADQUBrIANBPGpCBBAYGiABKAIgIgIEQCADQUBrIAIgATUC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UIghoQgAxCRAgsTACAAIAEgAq0gA61CIIaEEJICCxYAIAAgASkAADcAMCAAIAEpAAg3ADgLIQAgACABIAKtIAOtQiCGhCAErSAFrUIghoQgBiAHEJMCCx8AIAAgASACrSADrUIghoQgBK0gBa1CIIaEIAYQiwELLQAgACABrSACrUIghoQgAyAErSAFrUIghoQgBiAHrSAIrUIghoQgCSAKEJQCCxcAIAAgASACrSADrUIghoQgBCAFELICCxIAIAAgASACrSADrUIghoQQNAsSACAAIAEgAq0gA61CIIaEECULGQAgACABIAIgA60gBK1CIIaEIAUgBhCTAQsXACAAIAEgAq0gA61CIIaEIAQgBRC0AgsVACAAIAEgAq0gA61CIIaEIAQQtQILGQAgACABIAKtIAOtQiCGhCAEIAUgBhCUAQsWACAAIAEpAAA3ACAgACABKQAINwAoCxcAIAAgASACrSADrUIghoQgBCAFELcCCxsAIAAgASACIAOtIAStQiCGhCAFIAYgBxCVAQsYACAAIAEgAiADrSAErUIghoQgBSAGEGgLGQAgACABIAKtIAOtQiCGhCAEIAUgBhCWAQsXACAAIAEgAq0gA61CIIaEIAQgBRC4AgsbACAAIAEgAiADrSAErUIghoQgBSAGIAcQlwELGAAgACABIAIgA60gBK1CIIaEIAUgBhBpCxUAIAAgASACrSADrUIghoQgBBC/AgsVACAAIAEgAq0gA61CIIaEIAQQmQELJQAgACABIAMgBK0gBa1CIIaEIAYgB60gCK1CIIaEIAkgChDIAgslACAAIAIgA60gBK1CIIaEIAUgBiAHrSAIrUIghoQgCSAKEJsBCyUAIAAgASACIAOtIAStQiCGhCAFIAatIAetQiCGhCAJIAoQygILJwAgACABIAIgAyAErSAFrUIghoQgBiAHrSAIrUIghoQgCiALEJwBCyUAIAAgASADIAStIAWtQiCGhCAGIAetIAitQiCGhCAJIAoQzgILJQAgACACIAOtIAStQiCGhCAFIAYgB60gCK1CIIaEIAkgChCdAQslACAAIAEgAyAErSAFrUIghoQgBiAHrSAIrUIghoQgCSAKEM8CCyUAIAAgAiADrSAErUIghoQgBSAGIAetIAitQiCGhCAJIAoQngELJQAgACABIAIgA60gBK1CIIaEIAUgBq0gB61CIIaEIAkgChDQAgsnACAAIAEgAiADIAStIAWtQiCGhCAGIAetIAitQiCGhCAKIAsQnwELJQAgACABIAIgA60gBK1CIIaEIAUgBq0gB61CIIaEIAkgChDRAgsnACAAIAEgAiADIAStIAWtQiCGhCAGIAetIAitQiCGhCAKIAsQoAELBABBCgsGAEGylwILCwAgACABIAIQgQILDQAgACABIAIgAxCCAgsIACAAEDVBAAsJACAAIAEQhwILCwAgACABIAIQiQELBQBBv38LBQBB0AELLAEBfyMAQUBqIgMkACAAIAMQJyABIANCwAAgAkEBEIYBIQAgA0FAayQAIAALLgEBfyMAQUBqIgQkACAAIAQQJyABIAIgBELAACADQQEQiAEhACAEQUBrJAAgAAt7AQF/AkACQAJAIANCwABUDQAgA0JAfCIDQr////8PVg0AIAIgAkFAayIFIAMgBBCFAUUNASAARQ0AIABBACADpxAQGgtBfyECIAFFDQEgAUIANwMAQX8PCyABBEAgASADNwMAC0EAIQIgAEUNACAAIAUgA6cQRxoLIAILcwEBfyMAQRBrIgUkACAAIAVBCGogAEFAayACIAOnIgIQRyADIAQQhwEaAkAgBSkDCELAAFIEQCABBEAgAUIANwMACyAAQQAgAkFAaxAQGkF/IQAMAQtBACEAIAFFDQAgASADQkB9NwMACyAFQRBqJAAgAAttAQF/IwBBQGoiAiQAIAIgAUIgEDQaIAIgAi0AAEH4AXE6AAAgAiACLQAfQT9xQcAAcjoAHyAAIAIpAxA3ABAgACACKQMINwAIIAAgAikDADcAACAAIAIpAxg3ABggAkHAABAJIAJBQGskAEEAC4YBAQJ/IwBBgAJrIgIkAEF/IQMCQCABEHUNACACQeAAaiABEK0BDQAgAkHgAGoQ5AJFDQAgAhAdIAIgAiACQYgBaiIBEBYgAkEwahAdIAJBMGogAkEwaiABEBMgAiACEDogAkEwaiACQTBqIAIQCyAAIAJBMGoQLUEAIQMLIAJBgAJqJAAgAwssAQF/IwBBIGsiAiQ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A8A+DfSAIQhmHQhN+IAtCwrYHfnwiAkKAgIAQfCIDQhqIfD4CBCAAIAIgA0KAgIDgD4N9PgIAC9wBAQV/IwBBEGsiA0EANgALIANBADYCCANAIAAgAmotAAAhBEEAIQEDQCADQQhqIAFqIgUgBS0AACABQQV0QaCNAmogAmotAAAgBHNyOgAAIAFBAWoiAUEHRw0ACyACQQFqIgJBH0cNAAsgAC0AH0H/AHEhAkEAIQBBACEBA0AgA0EIaiABaiIEIAQtAAAgAiABQQV0Qb+NAmotAABzcjoAACABQQFqIgFBB0cNAAtBACEBA0AgA0EIaiAAai0AAEF/aiABciEBIABBAWoiAEEHRw0ACyABQQh2QQFxC9wEAQN/IwBB0AJrIgMkAEF/IQQgAhDeAkUEQEEAIQQDQCAAIARqIAEgBGotAAA6AAAgBEEBaiIEQSBHDQALIAAgAC0AAEH4AXE6AAAgACAALQAfQT9xQcAAcjoAHyADQaACaiACEHogA0HwAWoQHSADQcABahA4IANBkAFqIANBoAJqECwgA0HgAGoQHUH+ASECQQAhBANAIANB8AFqIANBkAFqIAAgAiIFQQN2ai0AACACQQdxdkEBcSIBIARzIgQQTiADQcABaiADQeAAaiAEEE4gAkF/aiECIANBMGogA0GQAWogA0HgAGoQFiADIANB8AFqIANBwAFqEBYgA0HwAWogA0HwAWogA0HAAWoQEyADQcABaiADQZABaiADQeAAahATIANB4ABqIANBMGogA0HwAWoQCyADQcABaiADQcABaiADEAsgA0EwaiADEAwgAyADQfABahAMIANBkAFqIANB4ABqIANBwAFqEBMgA0HAAWogA0HgAGogA0HAAWoQFiADQfABaiADIANBMGoQCyADIAMgA0EwahAWIANBwAFqIANBwAFqEAwgA0HgAGogAxDdAiADQZABaiADQZABahAMIANBMGogA0EwaiADQeAAahATIANB4ABqIANBoAJqIANBwAFqEAsgA0HAAWogAyADQTBqEAsgASEEIAUNAAsgA0HwAWogA0GQAWogARBOIANBwAFqIANB4ABqIAEQTiADQcABaiADQcABahA6IANB8AFqIANB8AFqIANBwAFqEAsgACADQfABahAtQQAhBAsgA0HQAmokACAEC1QBBX9BICEBQQEhAgNAIAAgAUF/aiIBai0AACIEIAFBgBtqLQAAIgVrQQh1IAJxIANB/wFxciEDIAQgBXNB//8DakEIdiACcSECIAENAAsgA0EARwvoHgE6fiABEA8hEiABNQACIRMgAUEFahAPIRQgATUAByEVIAE1AAohFiABQQ1qEA8hFyABNQAPIREgAUESahAPIQ4gAUEVahAPIRAgATUAFyEIIAFBGmoQDyEEIAE1ABwhByACEA8hGCACNQACIRkgAkEFahAPIRogAjUAByEbIAI1AAohCiACQQ1qEA8hCSACNQAPIQsgAkESahAPIQ8gAkEVahAPIQwgAjUAFyENIAJBGmoQDyEFIAI1ABwhBiADEA8hMiADNQACITMgA0EFahAPITQgAzUAByE1IAM1AAohISADQQ1qEA8hLiADNQAPISggA0ESahAPISkgA0EVahAPISIgACAGQgeIIgYgBEICiEL///8AgyIEfiAFQgKIQv///wCDIgUgB0IHiCIHfnwgBCAFfiANQgWIQv///wCDIg0gB358IAYgCEIFiEL///8AgyIIfnwiH0KAgEB9IiBCFYd8IiNCgIBAfSIcQhWHIAYgB34iJCAkQoCAQH0iJUKAgIB/g318IiRCg6FWfiAlQhWHIiVC0asIfnwgCUIBiEL///8AgyIJIAR+IApCBIhC////AIMiCiAHfnwgC0IGiEL///8AgyILIAh+fCAMQv///wCDIgwgDkIDiEL///8AgyIOfnwgD0IDiEL///8AgyIPIBBC////AIMiEH58IA0gEUIGiEL///8AgyIRfnwgBSAXQgGIQv///wCDIhd+fCAGIBZCBIhC////AIMiFn58IAQgCn4gG0IHiEL///8AgyIbIAd+fCAIIAl+fCALIBB+fCAMIBF+fCAOIA9+fCANIBd+fCAFIBZ+fCAGIBVCB4hC////AIMiFX58Ih1CgIBAfSIvQhWHfCIefCAeQoCAQH0iHkKAgIB/g30gHSAlQtOMQ358ICRC0asIfnwgIyAcQoCAgH+DfSIjQoOhVn58IC9CgICAf4N9IAQgG34gGkICiEL///8AgyIaIAd+fCAIIAp+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MBAECfyMAQeANayICJAAgAkHgA2ogARAbIAJBwAJqIAEQTyACIAJBwAJqEBUgAkHAAmogAiACQeADahAaIAJBoAFqIAJBwAJqEBUgAkGABWoiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkGgBmoiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkHAB2oiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkHgCGoiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkGACmoiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkGgC2oiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkHADGogAkGgAWoQGyAAEKoBQfwBIQEDQCACQcACaiAAEE8CQCABIgNBoIsCaiwAACIBQQFOBEAgAkGgAWogAkHAAmoQFSACQcACaiACQaABaiACQeADaiABQf4BcUEBdkGgAWxqEBoMAQsgAUF/Sg0AIAJBoAFqIAJBwAJqEBUgAkHAAmogAkGgAWogAkHgA2pBACABa0H+AXFBAXZBoAFsahCsAQsgACACQcACahAVIANBf2ohASADDQALIAJB4A1qJAALJQEBfyMAQaABayIBJAAgASAAEOMCIAEQUiEAIAFBoAFqJAAgAAvwAQECfyMAQYABayIDJAAgABAdIABBKGoQHSAAQdAAahA4IAAgASACQQAgAkGAAXFBB3YiBGsgAnFBAXRrQRh0QRh1IgJBARApECYgACABQfgAaiACQQIQKRAmIAAgAUHwAWogAkEDECkQJiAAIAFB6AJqIAJBBBApECYgACABQeADaiACQQUQKRAmIAAgAUHYBGogAkEGECkQJiAAIAFB0AVqIAJBBxApECYgACABQcgGaiACQQgQKRAmIANBCGogAEEoahAsIANBMGogABAsIANB2ABqIABB0ABqEHkgACADQQhqIAQQJiADQYABaiQAC+kGAgl/HH4gACABKAIMIgRBAXSsIhEgASgCBCIFQQF0rCILfiABKAIIIgasIhYgFn58IAE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IgAgACABECwgAEEoaiABQShqECwgAEHQAGogAUHQAGoQLAuLAQEEfyMAQTBrIgUkACAAIAFBKGoiAyABEBMgAEEoaiIEIAMgARAWIABB0ABqIgMgACACQShqEAsgBCAEIAIQCyAAQfgAaiIGIAJB0ABqIAFB+ABqEAsgBSABQdAAaiIBIAEQEyAAIAMgBBAWIAQgAyAEEBMgAyAFIAYQFiAGIAUgBhATIAVBMGokAAsxAQF/IwBBEGsiACQAIAAQqQEgACgCAARAIAAQqQFB/JsCQQBBKBAQGgsgAEEQaiQAC+4FAQF/IwBB4BFrIgQkACAEQeAPaiABEKsBIARB4A1qIAMQqwEgBEHgA2ogAhAbIARBwAJqIAIQTyAEIARBwAJqEBUgBEHAAmogBCAEQeADahAaIARBoAFqIARBwAJqEBUgBEGABWoiASAEQaABahAbIARBwAJqIAQgARAaIARBoAFqIARBwAJqEBUgBEGgBmoiASAEQaABahAbIARBwAJqIAQgARAaIARBoAFqIARBwAJqEBUgBEHAB2oiASAEQaABahAbIARBwAJqIAQgARAaIARBoAFqIARBwAJqEBUgBEHgCGoiASAEQaABahAbIARBwAJqIAQgARAaIARBoAFqIARBwAJqEBUgBEGACmoiASAEQaABahAbIARBwAJqIAQgARAaIARBoAFqIARBwAJqEBUgBEGgC2oiASAEQaABahAbIARBwAJqIAQgARAaIARBoAFqIARBwAJqEBUgBEHADGogBEGgAWoQGyAAEDggAEEoahAdIABB0ABqEB1B/wEhAwJAA0ACQCADIgIgBEHgD2pqLQAADQAgBEHgDWogAmotAAANACACQX9qIQMgAg0BDAILCyACQQBIDQADQCAEQcACaiAAEDkCQCACIgEgBEHgD2pqLAAAIgJBAU4EQCAEQaABaiAEQcACahAVIARBwAJqIARBoAFqIARB4ANqIAJB/gFxQQF2QaABbGoQGgwBCyACQX9KDQAgBEGgAWogBEHAAmoQFSAEQcACaiAEQaABaiAEQeADakEAIAJrQf4BcUEBdkGgAWxqEKwBCwJAIARB4A1qIAFqLAAAIgJBAU4EQCAEQaABaiAEQc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ujwLdg0QZw8qIFP6LDnMxk7H/XeSrAN67P///////////////////////////////////////3/t////////////////////////////////////////f+7///////////////////////////////////////9/7dP1XBpjEljWnPei3vneFABBnxsL/PABEIU7jAG98ST/+CXDAWDcNwC3TD7/w0I9ADJMpAHhpEz/TD2j/3U+HwBRkUD/dkEOAKJz1v8Gii4AfOb0/wqKjwA0GsIAuPRMAIGPKQG+9BP/e6p6/2KBRAB51ZMAVmUe/6FnmwCMWUP/7+W+AUMLtQDG8In+7kW8/+pxPP8l/zn/RbK2/oDQswB2Gn3+AwfW//EyTf9Vy8X/04f6/xkwZP+71bT+EVhpAFPRngEFc2IABK48/qs3bv/ZtRH/FLyqAJKcZv5X1q7/cnqbAeksqgB/CO8B1uzqAK8F2wAxaj3/BkLQ/wJqbv9R6hP/12vA/0OX7gATKmz/5VVxATJEh/8RagkAMmcB/1ABqAEjmB7/EKi5AThZ6P9l0vwAKfpHAMyqT/8OLu//UE3vAL3WS/8RjfkAJlBM/75VdQBW5KoAnNjQAcPPpP+WQkz/r+EQ/41QYgFM2/IAxqJyAC7amACbK/H+m6Bo/7IJ/P5kbtQADgWnAOnvo/8cl50BZZIK//6eRv5H+eQAWB4yAEQ6oP+/GGgBgUKB/8AyVf8Is4r/JvrJAHNQoACD5nEAfViTAFpExwD9TJ4AHP92AHH6/gBCSy4A5torAOV4ugGURCsAiHzuAbtrxf9UNfb/M3T+/zO7pQACEa8AQlSgAfc6HgAjQTX+Rey/AC2G9QGje90AIG4U/zQXpQC61kcA6bBgAPLvNgE5WYoAUwBU/4igZABcjnj+aHy+ALWxPv/6KVUAmIIqAWD89gCXlz/+74U+ACA4nAAtp73/joWzAYNW0wC7s5b++qoO/0RxFf/eujv/QgfxAUUGSABWnGz+N6dZAG002/4NsBf/xCxq/++VR/+kjH3/n60BADMp5wCRPiEAim9dAblTRQCQcy4AYZcQ/xjkGgAx2eIAcUvq/sGZDP+2MGD/Dg0aAIDD+f5FwTsAhCVR/n1qPADW8KkBpONCANKjTgAl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TkYwCBDM/+qMDD/8ywEP6Y6qsATSVV/yF4h/+OwuMBH9Y6ANW7ff/oLjz/vnQq/peyE/8zPu3+zOzBAMLoPACsIp3/vRC4/mcDX/+N6ST+KRkL/xXDpgB29S0AQ9WV/58MEv+7pOMBoBkFAAxOwwErxeEAMI4p/sSbPP/fxxIBkYicAPx1qf6R4u4A7xdrAG21vP/mcDH+Sart/+e34/9Q3BQAwmt/AX/NZQAuNMUB0qsk/1gDWv84l40AYLv//ypOyAD+RkYB9H2oAMxEigF810YAZkLI/hE05AB13I/+y/h7ADgSrv+6l6T/M+jQAaDkK//5HRkBRL4/AA0AAAAA/wAAAAD1AAAAAAAA+wAAAAAAAP0AAAAA8wAAAAAHAAAAAAADAAAAAPMAAAAABQAAAAAAAAAACwAAAAAACwAAAADzAAAAAAAA/QAAAAAA/wAAAAADAAAAAPUAAAAAAAAADwAAAAAA/wAAAAD/AAAAAAcAAAAABQBBnI0CCwEBAEHAjQILAQEAQeCNAgugAeDrenw7QbiuFlbj+vGfxGraCY3rnDKx/YZiBRZfSbgAX5yVvKNQjCSx0LFVnIPvWwREXMRYHI6G2CJO3dCfEVfs////////////////////////////////////////f+3///////////////////////////////////////9/7v///////////////////////////////////////38AQaCPAgvBBQjJvPNn5glqO6fKhIWuZ7sr+JT+cvNuPPE2HV869U+l0YLmrX9SDlEfbD4rjGgFm2u9Qfur2YMfeSF+ExnN4FsirijXmC+KQs1l7yORRDdxLztN7M/7wLW824mBpdu16Ti1SPNbwlY5GdAFtvER8VmbTxmvpII/khiBbdrVXhyrQgIDo5iqB9i+b3BFAVuDEoyy5E6+hTEk4rT/1cN9DFVviXvydF2+crGWFjv+sd6ANRLHJacG3JuUJmnPdPGbwdJK8Z7BaZvk4yVPOIZHvu+11YyLxp3BD2WcrHfMoQwkdQIrWW8s6S2D5KZuqoR0StT7Qb3cqbBctVMRg9qI+Xar32buUlE+mBAytC1txjGoPyH7mMgnA7DkDu++x39Zv8KPqD3zC+DGJacKk0eRp9VvggPgUWPKBnBuDgpnKSkU/C/SRoUKtycmySZcOCEbLu0qxFr8bSxN37OVnRMNOFPeY6+LVHMKZaiydzy7Cmp25q7tRy7JwoE7NYIUhSxykmQD8Uyh6L+iATBCvEtmGqiRl/jQcItLwjC+VAajUWzHGFLv1hnoktEQqWVVJAaZ1iogcVeFNQ70uNG7MnCgahDI0NK4FsGkGVOrQVEIbDcemeuO30x3SCeoSJvhtbywNGNaycWzDBw5y4pB40qq2E5z42N3T8qcW6O4stbzby5o/LLvXe6Cj3RgLxdDb2OleHKr8KEUeMiE7DlkGggCx4woHmMj+v++kOm9gt7rbFCkFXnGsvej+b4rU3Lj8nhxxpxhJurOPifKB8LAIce4htEe6+DN1n3a6njRbu5/T331um8Xcqpn8AammMiixX1jCq4N+b4EmD8RG0ccEzULcRuEfQQj9XfbKJMkx0B7q8oyvL7JFQq+njxMDRCcxGcdQ7ZCPsu+1MVMKn5l/Jwpf1ns+tY6q2/LXxdYR0qMGURsgABB8JUCC4UBYjY0X3BvcyA8PSBiNjRfbGVuAHNvZGl1bS9jb2RlY3MuYwBzb2RpdW1fYmluMmJhc2U2NAAkYXJnb24yaWQAJGFyZ29uMmkAJHY9ACRtPQAsdD0ALHA9ACRhcmdvbjJpZCR2PQAkYXJnb24yaSR2PQAkYXJnb24yaWQkACRhcmdvbjJpJABBkJcCCyhTaWdFZDI1NTE5IG5vIEVkMjU1MTkgY29sbGlzaW9ucwEAMS4wLjE4AEG9lwILNEAAAAEAAAACAAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAA0=";function wt(){try{if(I)return new Uint8Array(I);var t=Lt(bt);if(t)return t;if(y)return y(bt);throw"both async and sync fetching of the wasm failed"}catch(t){lt(t)}}function It(){return I||!l&&!A||"function"!=typeof fetch||yt(bt)?new Promise((function(t,e){t(wt())})):fetch(bt,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+bt+"'";return t.arrayBuffer()})).catch((function(){return wt()}))}function Et(){var t={a:Ht};function e(t,e){var r=t.exports;u.asm=r,ft()}function r(t){e(t.instance)}function n(e){return It().then((function(e){return WebAssembly.instantiate(e,t)})).then(e,(function(t){_("failed to asynchronously prepare wasm: "+t),lt(t)}))}if(ht(),u.instantiateWasm)try{return u.instantiateWasm(t,e)}catch(t){return _("Module.instantiateWasm callback failed with error: "+t),!1}return function(){if(I||"function"!=typeof WebAssembly.instantiateStreaming||dt(bt)||yt(bt)||"function"!=typeof fetch)return n(r);fetch(bt,{credentials:"same-origin"}).then((function(e){return WebAssembly.instantiateStreaming(e,t).then(r,(function(t){return _("wasm streaming compile failed: "+t),_("falling back to ArrayBuffer instantiation"),n(r)}))}))}(),{}}dt(bt)||(bt=w(bt));var _t={1024:function(){return u.getRandomValue()},1062:function(){if(void 0===u.getRandomValue)try{var t="object"==typeof window?window:self,e=void 0!==t.crypto?t.crypto:t.msCrypto,n=function(){var t=new Uint32Array(1);return e.getRandomValues(t),t[0]>>>0};n(),u.getRandomValue=n}catch(t){try{var i=r(116),o=function(){var t=i.randomBytes(4);return(t[0]<<24|t[1]<<16|t[2]<<8|t[3])>>>0};o(),u.getRandomValue=o}catch(t){throw"No secure random number generator found"}}}};function Bt(t,e,r){var n=Pt(e,r);return _t[t].apply(null,n)}function Ct(t,e,r,n){lt("Assertion failed: "+D(t)+", at: "+[e?D(e):"unknown filename",r,n?D(n):"unknown function"])}function Qt(){lt()}function Mt(t,e,r){P.copyWithin(t,e,e+r)}function kt(){return P.length}function St(t){try{return E.grow(t-R.byteLength+65535>>>16),H(E.buffer),1}catch(t){}}function xt(t){t>>>=0;var e=kt();if(t>2147483648)return!1;for(var r=1;r<=4;r*=2){var n=e*(1+.2/r);if(n=Math.min(n,t+100663296),St(Math.min(2147483648,G(Math.max(16777216,t,n),65536))))return!0}return!1}function Dt(t){return O[Yt()>>2]=t,t}function Rt(t){switch(t){case 30:return 16384;case 85:return 131072;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:case 79:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:return"object"==typeof navigator&&navigator.hardwareConcurrency||1}return Dt(28),-1}V.push({func:function(){jt()}});var Nt=[];function Pt(t,e){var r;for(Nt.length=0,e>>=2;r=P[t++];){var n=r<105;n&&1&e&&e++,Nt.push(n?U[e++>>1]:O[e]),++e}return Nt}var Tt=!1;function Ot(t){for(var e=[],r=0;r255&&(Tt&&k(!1,"Character code "+n+" ("+String.fromCharCode(n)+") at offset "+r+" not in 0x00-0xFF."),n&=255),e.push(String.fromCharCode(n))}return e.join("")}var Ft="function"==typeof atob?atob:function(t){var e,r,n,i,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="",c=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{e=s.indexOf(t.charAt(c++))<<2|(i=s.indexOf(t.charAt(c++)))>>4,r=(15&i)<<4|(o=s.indexOf(t.charAt(c++)))>>2,n=(3&o)<<6|(a=s.indexOf(t.charAt(c++))),u+=String.fromCharCode(e),64!==o&&(u+=String.fromCharCode(r)),64!==a&&(u+=String.fromCharCode(n))}while(c0||(W(),st>0||(u.setStatus?(u.setStatus("Running..."),setTimeout((function(){setTimeout((function(){u.setStatus("")}),1),e()}),1)):e()))}if(u._malloc=function(){return(u._malloc=u.asm.zc).apply(null,arguments)},u._free=function(){return(u._free=u.asm.Ac).apply(null,arguments)},u.setValue=B,u.getValue=C,u.UTF8ToString=D,ct=function t(){Gt||Kt(),Gt||(ct=t)},u.run=Kt,u.preInit)for("function"==typeof u.preInit&&(u.preInit=[u.preInit]);u.preInit.length>0;)u.preInit.pop()();Kt()})).catch((function(){c.useBackupModule()})),"object"==typeof i&&"function"==typeof i.removeAllListeners&&(i.removeAllListeners("uncaughtException"),i.removeAllListeners("unhandledRejection")),s})?s.apply(e,u):s)||(t.exports=c)}).call(this,r(22),r(20),"/",r(11).Buffer)},,function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){for(var r=0;r0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,r,n,i=a.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,r=i,n=s,a.prototype.copy.call(e,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var r;return ti.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0===(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0===(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:u,value:function(t,e){return s(this,function(t){for(var e=1;e0,(function(t){n||(n=t),t&&a.forEach(c),o||(a.forEach(c),i(n))}))}));return e.reduce(h)}},function(t,e,r){var n=r(8),i=r(53),o=r(10).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<30|t>>>2}function h(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,f=0;f<16;++f)r[f]=t.readInt32BE(4*f);for(;f<80;++f)r[f]=r[f-3]^r[f-8]^r[f-14]^r[f-16];for(var l=0;l<80;++l){var A=~~(l/20),p=0|((e=n)<<5|e>>>27)+h(A,i,o,s)+u+r[l]+a[A];u=s,s=o,o=c(i),i=n,n=p}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},function(t,e,r){var n=r(8),i=r(53),o=r(10).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<5|t>>>27}function h(t){return t<<30|t>>>2}function f(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,l=0;l<16;++l)r[l]=t.readInt32BE(4*l);for(;l<80;++l)r[l]=(e=r[l-3]^r[l-8]^r[l-14]^r[l-16])<<1|e>>>31;for(var A=0;A<80;++A){var p=~~(A/20),d=c(n)+f(p,i,o,s)+u+r[A]+a[p]|0;u=s,s=o,o=h(i),i=n,n=d}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},function(t,e,r){var n=r(8),i=r(125),o=r(53),a=r(10).Buffer,s=new Array(64);function u(){this.init(),this._w=s,o.call(this,64,56)}n(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var t=a.allocUnsafe(28);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},t.exports=u},function(t,e,r){var n=r(8),i=r(126),o=r(53),a=r(10).Buffer,s=new Array(160);function u(){this.init(),this._w=s,o.call(this,128,112)}n(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=u},function(t,e,r){t.exports=i;var n=r(36).EventEmitter;function i(){n.call(this)}r(8)(i,n),i.Readable=r(86),i.Writable=r(220),i.Duplex=r(221),i.Transform=r(222),i.PassThrough=r(223),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",u));var a=!1;function s(){a||(a=!0,t.end())}function u(){a||(a=!0,"function"===typeof t.destroy&&t.destroy())}function c(t){if(h(),0===n.listenerCount(this,"error"))throw t}function h(){r.removeListener("data",i),t.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",c),t.removeListener("error",c),r.removeListener("end",h),r.removeListener("close",h),t.removeListener("close",h)}return r.on("error",c),t.on("error",c),r.on("end",h),r.on("close",h),t.on("close",h),t.emit("pipe",r),t}},,function(t,e,r){"use strict";var n=r(87).Buffer,i=r(217);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,i,o=n.allocUnsafe(t>>>0),a=this.head,s=0;a;)e=a.data,r=o,i=s,e.copy(r,i),s+=a.data.length,a=a.next;return o},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},,function(t,e,r){(function(t,e){!function(t,r){"use strict";if(!t.setImmediate){var n,i=1,o={},a=!1,s=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,"[object process]"==={}.toString.call(t.process)?n=function(t){e.nextTick((function(){h(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?function(){var e="setImmediate$"+Math.random()+"$",r=function(r){r.source===t&&"string"===typeof r.data&&0===r.data.indexOf(e)&&h(+r.data.slice(e.length))};t.addEventListener?t.addEventListener("message",r,!1):t.attachEvent("onmessage",r),n=function(r){t.postMessage(e+r,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){h(t.data)},n=function(e){t.port2.postMessage(e)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var t=s.documentElement;n=function(e){var r=s.createElement("script");r.onreadystatechange=function(){h(e),r.onreadystatechange=null,t.removeChild(r),r=null},t.appendChild(r)}}():n=function(t){setTimeout(h,0,t)},u.setImmediate=function(t){"function"!==typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;rs?e=t(e):e.length15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},l.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),r=-1;++r>a%8,t._prev=o(t._prev,r?n:i);return s}function o(t,e){var r=t.length,i=-1,o=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([e])]);++i>7;return o}e.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(t){for(var e=-1;++e0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=a},function(t,e,r){var n=r(145),i=r(10).Buffer,o=r(91),a=r(146),s=r(44),u=r(68),c=r(69);function h(t,e,r){s.call(this),this._cache=new f,this._last=void 0,this._cipher=new u.AES(e),this._prev=i.from(r),this._mode=t,this._autopadding=!0}function f(){this.cache=i.allocUnsafe(0)}function l(t,e,r){var s=o[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"===typeof e&&(e=i.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===s.type?new a(s.module,e,r,!0):"auth"===s.type?new n(s.module,e,r,!0):new h(s.module,e,r)}r(8)(h,s),h.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,e),n.push(r);return i.concat(n)},h.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");var r=-1;for(;++r16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var r=o[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=c(e,!1,r.key,r.iv);return l(t,n.key,n.iv)},e.createDecipheriv=l},function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},function(t,e,r){(function(t){var n=r(147),i=r(247),o=r(248);var a={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var r=new t(i[e].prime,"hex"),n=new t(i[e].gen,"hex");return new o(r,n)},e.createDiffieHellman=e.DiffieHellman=function e(r,i,s,u){return t.isBuffer(i)||void 0===a[i]?e(r,"binary",i,s):(i=i||"binary",u=u||"binary",s=s||new t([2]),t.isBuffer(s)||(s=new t(s,u)),"number"===typeof r?new o(n(r,s),s,!0):(t.isBuffer(r)||(r=new t(r,i)),new o(r,s,!0)))}}).call(this,r(11).Buffer)},,function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a=r(245).Buffer}catch(_){}function s(t,e,r){for(var n=0,i=Math.min(t.length,r),o=e;o=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,h=r;h1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function l(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c>>26,f=67108863&u,l=Math.min(c,e.length-1),A=Math.max(0,c-t.length+1);A<=l;A++){var p=c-A|0;h+=(a=(i=0|t.words[p])*(o=0|e.words[A])+f)/67108864|0,f=67108863&a}r.words[c]=0|f,u=0|h}return 0!==u?r.words[c]=0|u:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var l=h[t],A=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var d=p.modn(A).toString(t);r=(p=p.idivn(A)).isZero()?d+r:c[l-d.length]+d+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===e,c=new t(o),h=this.clone();if(u){for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[s]=a;for(;s=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,A=0|a[1],p=8191&A,d=A>>>13,g=0|a[2],y=8191&g,m=g>>>13,v=0|a[3],b=8191&v,w=v>>>13,I=0|a[4],E=8191&I,_=I>>>13,B=0|a[5],C=8191&B,Q=B>>>13,M=0|a[6],k=8191&M,S=M>>>13,x=0|a[7],D=8191&x,R=x>>>13,N=0|a[8],P=8191&N,T=N>>>13,O=0|a[9],F=8191&O,U=O>>>13,L=0|s[0],G=8191&L,H=L>>>13,j=0|s[1],Y=8191&j,K=j>>>13,q=0|s[2],J=8191&q,V=q>>>13,z=0|s[3],X=8191&z,W=z>>>13,Z=0|s[4],$=8191&Z,tt=Z>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,ht=0|s[8],ft=8191&ht,lt=ht>>>13,At=0|s[9],pt=8191&At,dt=At>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(c+(n=Math.imul(f,G))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(l,G)|0))<<13)|0;c=((o=Math.imul(l,H))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,G),i=(i=Math.imul(p,H))+Math.imul(d,G)|0,o=Math.imul(d,H);var yt=(c+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,K)|0)+Math.imul(l,Y)|0))<<13)|0;c=((o=o+Math.imul(l,K)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,G),i=(i=Math.imul(y,H))+Math.imul(m,G)|0,o=Math.imul(m,H),n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(d,Y)|0,o=o+Math.imul(d,K)|0;var mt=(c+(n=n+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(l,J)|0))<<13)|0;c=((o=o+Math.imul(l,V)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(b,G),i=(i=Math.imul(b,H))+Math.imul(w,G)|0,o=Math.imul(w,H),n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,K)|0,n=n+Math.imul(p,J)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(d,J)|0,o=o+Math.imul(d,V)|0;var vt=(c+(n=n+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(l,X)|0))<<13)|0;c=((o=o+Math.imul(l,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(E,G),i=(i=Math.imul(E,H))+Math.imul(_,G)|0,o=Math.imul(_,H),n=n+Math.imul(b,Y)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,K)|0,n=n+Math.imul(y,J)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,V)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(d,X)|0,o=o+Math.imul(d,W)|0;var bt=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(l,$)|0))<<13)|0;c=((o=o+Math.imul(l,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(C,G),i=(i=Math.imul(C,H))+Math.imul(Q,G)|0,o=Math.imul(Q,H),n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,K)|0,n=n+Math.imul(b,J)|0,i=(i=i+Math.imul(b,V)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,V)|0,n=n+Math.imul(y,X)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,W)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(d,$)|0,o=o+Math.imul(d,tt)|0;var wt=(c+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(l,rt)|0))<<13)|0;c=((o=o+Math.imul(l,nt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,G),i=(i=Math.imul(k,H))+Math.imul(S,G)|0,o=Math.imul(S,H),n=n+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(Q,Y)|0,o=o+Math.imul(Q,K)|0,n=n+Math.imul(E,J)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(_,J)|0,o=o+Math.imul(_,V)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(d,rt)|0,o=o+Math.imul(d,nt)|0;var It=(c+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(l,ot)|0))<<13)|0;c=((o=o+Math.imul(l,at)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,H))+Math.imul(R,G)|0,o=Math.imul(R,H),n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,K)|0,n=n+Math.imul(C,J)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(Q,J)|0,o=o+Math.imul(Q,V)|0,n=n+Math.imul(E,X)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(d,ot)|0,o=o+Math.imul(d,at)|0;var Et=(c+(n=n+Math.imul(f,ut)|0)|0)+((8191&(i=(i=i+Math.imul(f,ct)|0)+Math.imul(l,ut)|0))<<13)|0;c=((o=o+Math.imul(l,ct)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),i=(i=Math.imul(P,H))+Math.imul(T,G)|0,o=Math.imul(T,H),n=n+Math.imul(D,Y)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(Q,X)|0,o=o+Math.imul(Q,W)|0,n=n+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(b,rt)|0,i=(i=i+Math.imul(b,nt)|0)+Math.imul(w,rt)|0,o=o+Math.imul(w,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(d,ut)|0,o=o+Math.imul(d,ct)|0;var _t=(c+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,lt)|0)+Math.imul(l,ft)|0))<<13)|0;c=((o=o+Math.imul(l,lt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(F,G),i=(i=Math.imul(F,H))+Math.imul(U,G)|0,o=Math.imul(U,H),n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(T,Y)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,V)|0)+Math.imul(R,J)|0,o=o+Math.imul(R,V)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(Q,$)|0,o=o+Math.imul(Q,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(d,ft)|0,o=o+Math.imul(d,lt)|0;var Bt=(c+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,dt)|0)+Math.imul(l,pt)|0))<<13)|0;c=((o=o+Math.imul(l,dt)|0)+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,K))+Math.imul(U,Y)|0,o=Math.imul(U,K),n=n+Math.imul(P,J)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,V)|0,n=n+Math.imul(D,X)|0,i=(i=i+Math.imul(D,W)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(S,$)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(C,rt)|0,i=(i=i+Math.imul(C,nt)|0)+Math.imul(Q,rt)|0,o=o+Math.imul(Q,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,at)|0,n=n+Math.imul(b,ut)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(w,ut)|0,o=o+Math.imul(w,ct)|0,n=n+Math.imul(y,ft)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,lt)|0;var Ct=(c+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,dt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,J),i=(i=Math.imul(F,V))+Math.imul(U,J)|0,o=Math.imul(U,V),n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(D,$)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(Q,ot)|0,o=o+Math.imul(Q,at)|0,n=n+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,ct)|0,n=n+Math.imul(b,ft)|0,i=(i=i+Math.imul(b,lt)|0)+Math.imul(w,ft)|0,o=o+Math.imul(w,lt)|0;var Qt=(c+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,dt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,dt)|0)+(i>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,n=Math.imul(F,X),i=(i=Math.imul(F,W))+Math.imul(U,X)|0,o=Math.imul(U,W),n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,n=n+Math.imul(D,rt)|0,i=(i=i+Math.imul(D,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(Q,ut)|0,o=o+Math.imul(Q,ct)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,lt)|0)+Math.imul(_,ft)|0,o=o+Math.imul(_,lt)|0;var Mt=(c+(n=n+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,dt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,dt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,$),i=(i=Math.imul(F,tt))+Math.imul(U,$)|0,o=Math.imul(U,tt),n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(T,rt)|0,o=o+Math.imul(T,nt)|0,n=n+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,at)|0,n=n+Math.imul(k,ut)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(S,ut)|0,o=o+Math.imul(S,ct)|0,n=n+Math.imul(C,ft)|0,i=(i=i+Math.imul(C,lt)|0)+Math.imul(Q,ft)|0,o=o+Math.imul(Q,lt)|0;var kt=(c+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,dt)|0)+Math.imul(_,pt)|0))<<13)|0;c=((o=o+Math.imul(_,dt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(U,rt)|0,o=Math.imul(U,nt),n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,n=n+Math.imul(D,ut)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,ct)|0,n=n+Math.imul(k,ft)|0,i=(i=i+Math.imul(k,lt)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,lt)|0;var St=(c+(n=n+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,dt)|0)+Math.imul(Q,pt)|0))<<13)|0;c=((o=o+Math.imul(Q,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),n=n+Math.imul(P,ut)|0,i=(i=i+Math.imul(P,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,n=n+Math.imul(D,ft)|0,i=(i=i+Math.imul(D,lt)|0)+Math.imul(R,ft)|0,o=o+Math.imul(R,lt)|0;var xt=(c+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,dt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(F,ut),i=(i=Math.imul(F,ct))+Math.imul(U,ut)|0,o=Math.imul(U,ct),n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,lt)|0)+Math.imul(T,ft)|0,o=o+Math.imul(T,lt)|0;var Dt=(c+(n=n+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,dt)|0)+Math.imul(R,pt)|0))<<13)|0;c=((o=o+Math.imul(R,dt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,lt))+Math.imul(U,ft)|0,o=Math.imul(U,lt);var Rt=(c+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,dt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,dt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var Nt=(c+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,dt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,dt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,u[0]=gt,u[1]=yt,u[2]=mt,u[3]=vt,u[4]=bt,u[5]=wt,u[6]=It,u[7]=Et,u[8]=_t,u[9]=Bt,u[10]=Ct,u[11]=Qt,u[12]=Mt,u[13]=kt,u[14]=St,u[15]=xt,u[16]=Dt,u[17]=Rt,u[18]=Nt,0!==c&&(u[19]=c,r.length++),r};function p(t,e,r){return(new d).mulp(t,e,r)}function d(t,e){this.x=t,this.y=e}Math.imul||(A=l),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?A(this,t,e):r<63?l(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):p(this,t,e)},d.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==h||c>=i);c--){var f=0|this.words[c];this.words[c]=h<<26-o|f>>>o,h=f&s}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==e){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var l=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(l=Math.min(l/a|0,67108863),n._ishlnsubmul(i,l,f);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=l)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var h=r.clone(),f=e.clone();!e.isZero();){for(var l=0,A=1;0===(e.words[0]&A)&&l<26;++l,A<<=1);if(l>0)for(e.iushrn(l);l-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(h),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,d=1;0===(r.words[0]&d)&&p<26;++p,d<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(h),u.isub(f)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(u)):(r.isub(e),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,h=1;0===(e.words[0]&h)&&c<26;++c,h<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,l=1;0===(r.words[0]&l)&&f<26;++f,l<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new I(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var g={k256:null,p224:null,p192:null,p25519:null};function y(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function m(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function I(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function E(t){I.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(t,e){t.iushrn(this.n,0,e)},y.prototype.imulK=function(t){return t.imul(this.k)},i(m,y),m.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},m.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(g[t])return g[t];var e;if("k256"===t)e=new m;else if("p224"===t)e=new v;else if("p192"===t)e=new b;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return g[t]=e,e},I.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},I.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},I.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},I.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},I.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},I.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},I.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},I.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},I.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},I.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},I.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},I.prototype.isqr=function(t){return this.imul(t,t.clone())},I.prototype.sqr=function(t){return this.mul(t,t)},I.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,c).cmp(u);)h.redIAdd(u);for(var f=this.pow(h,i),l=this.pow(t,i.addn(1).iushrn(1)),A=this.pow(t,i),p=a;0!==A.cmp(s);){for(var d=A,g=0;0!==d.cmp(s);g++)d=d.redSqr();n(g=0;n--){for(var c=e.words[n],h=u-1;h>=0;h--){var f=c>>h&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===h)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},I.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},I.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new E(t)},i(E,I),E.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},E.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},E.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(46)(t))},,,function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(t,e,r){(function(e){var n=r(148),i=new(r(149)),o=new n(24),a=new n(11),s=new n(10),u=new n(3),c=new n(7),h=r(147),f=r(49);function l(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._pub=new n(t),this}function A(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._priv=new n(t),this}t.exports=d;var p={};function d(t,e,r){this.setGenerator(e),this.__prime=new n(t),this._prime=n.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=l,this.setPrivateKey=A):this._primeCode=8}function g(t,r){var n=new e(t.toArray());return r?n.toString(r):n}Object.defineProperty(d.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!==typeof this._primeCode&&(this._primeCode=function(t,e){var r=e.toString("hex"),n=[r,t.toString(16)].join("_");if(n in p)return p[n];var f,l=0;if(t.isEven()||!h.simpleSieve||!h.fermatTest(t)||!i.test(t))return l+=1,l+="02"===r||"05"===r?8:4,p[n]=l,l;switch(i.test(t.shrn(1))||(l+=2),r){case"02":t.mod(o).cmp(a)&&(l+=8);break;case"05":(f=t.mod(s)).cmp(u)&&f.cmp(c)&&(l+=8);break;default:l+=4}return p[n]=l,l}(this.__prime,this.__gen)),this._primeCode}}),d.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},d.prototype.computeSecret=function(t){var r=(t=(t=new n(t)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new e(r.toArray()),o=this.getPrime();if(i.length0&&r.ishrn(n),r}function l(t,e,r){var o,a;do{for(o=n.alloc(0);8*o.length","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}')},,function(t,e,r){"use strict";var n=r(33),i=r(41),o=r(8),a=r(70),s=n.assert;function u(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(t,e,r,n){a.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function h(t,e,r,n){a.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(u,a),t.exports=u,u.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(r)}}},u.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),r=new i(2).toRed(e).redInvm(),n=r.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},u.prototype._getEndoBasis=function(t){for(var e,r,n,o,a,s,u,c,h,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),l=t,A=this.n.clone(),p=new i(1),d=new i(0),g=new i(0),y=new i(1),m=0;0!==l.cmpn(0);){var v=A.div(l);c=A.sub(v.mul(l)),h=g.sub(v.mul(p));var b=y.sub(v.mul(d));if(!n&&c.cmp(f)<0)e=u.neg(),r=p,n=c.neg(),o=h;else if(n&&2===++m)break;u=c,A=l,l=c,g=p,p=h,y=d,d=b}a=c.neg(),s=h;var w=n.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(w)>=0&&(a=e,s=r),n.negative&&(n=n.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:o},{a:a,b:s}]},u.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),u=i.mul(r.b),c=o.mul(n.b);return{k1:t.sub(a).sub(s),k2:u.add(c).neg()}},u.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(e&&!o||!e&&o)&&(n=n.redNeg()),this.point(t,n)},u.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},c.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(h,a.BasePoint),u.prototype.jpoint=function(t,e,r){return new h(this,t,e,r)},h.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},h.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},h.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(r.redMul(this.z)),s=n.redSub(i),u=o.redSub(a);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),h=c.redMul(s),f=n.redMul(c),l=u.redSqr().redIAdd(h).redISub(f).redISub(f),A=u.redMul(f.redISub(l)).redISub(o.redMul(h)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(l,A,p)},h.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),c=u.redMul(a),h=r.redMul(u),f=s.redSqr().redIAdd(c).redISub(h).redISub(h),l=s.redMul(h.redISub(f)).redISub(i.redMul(c)),A=this.z.redMul(a);return this.curve.jpoint(f,l,A)},h.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var r=this;for(e=0;e=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},h.prototype.inspect=function(){return this.isInfinity()?"":""},h.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(t,e,r){"use strict";var n=r(41),i=r(8),o=r(70),a=r(33);function s(t){o.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function u(t,e,r){o.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(e,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),t.exports=s,s.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},i(u,o.BasePoint),s.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},s.prototype.point=function(t,e){return new u(this,t,e)},s.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},u.prototype.precompute=function(){},u.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},u.fromJSON=function(t,e){return new u(t,e[0],e[1]||t.one)},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},u.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),r=t.redSub(e),n=t.redMul(e),i=r.redMul(e.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},u.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.diffAdd=function(t,e){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(r),a=i.redMul(n),s=e.z.redMul(o.redAdd(a).redSqr()),u=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,u)},u.prototype.mul=function(t){for(var e=t.clone(),r=this,n=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},u.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},u.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(t,e,r){"use strict";var n=r(33),i=r(41),o=r(8),a=r(70),s=n.assert;function u(t){this.twisted=1!==(0|t.a),this.mOneA=this.twisted&&-1===(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|t.c)}function c(t,e,r,n,o){a.BasePoint.call(this,t,"projective"),null===e&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(u,a),t.exports=u,u.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},u.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},u.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},u.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var u=s.fromRed().isOdd();return(e&&!u||!e&&u)&&(s=s.redNeg()),this.point(t,s)},u.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},u.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(i)},o(c,a.BasePoint),u.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},u.prototype.point=function(t,e,r,n){return new c(this,t,e,r,n)},c.fromJSON=function(t,e){return new c(t,e[0],e[1],e[2])},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=n.redAdd(e),a=o.redSub(r),s=n.redSub(e),u=i.redMul(a),c=o.redMul(s),h=i.redMul(s),f=a.redMul(o);return this.curve.point(u,c,f,h)},c.prototype._projDbl=function(){var t,e,r,n,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){var c=(n=this.curve._mulA(s)).redAdd(u);this.zOne?(t=a.redSub(s).redSub(u).redMul(c.redSub(this.curve.two)),e=c.redMul(n.redSub(u)),r=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),t=a.redSub(s).redISub(u).redMul(o),e=c.redMul(n.redSub(u)),r=c.redMul(o))}else n=s.redAdd(u),i=this.curve._mulC(this.z).redSqr(),o=n.redSub(i).redSub(i),t=this.curve._mulC(a.redISub(n)).redMul(o),e=this.curve._mulC(n).redMul(s.redISub(u)),r=n.redMul(o);return this.curve.point(t,e,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),r=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),n=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=r.redSub(e),a=i.redSub(n),s=i.redAdd(n),u=r.redAdd(e),c=o.redMul(a),h=s.redMul(u),f=o.redMul(u),l=a.redMul(s);return this.curve.point(c,h,l,f)},c.prototype._projAdd=function(t){var e,r,n=this.z.redMul(t.z),i=n.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),u=i.redSub(s),c=i.redAdd(s),h=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),f=n.redMul(u).redMul(h);return this.curve.twisted?(e=n.redMul(c).redMul(a.redSub(this.curve._mulA(o))),r=u.redMul(c)):(e=n.redMul(c).redMul(a.redSub(o)),r=this.curve._mulC(u).redMul(c)),this.curve.point(f,e,r)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!1)},c.prototype.jmulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},function(t,e,r){"use strict";e.sha1=r(258),e.sha224=r(259),e.sha256=r(153),e.sha384=r(260),e.sha512=r(154)},function(t,e,r){"use strict";var n=r(40),i=r(61),o=r(152),a=n.rotl32,s=n.sum32,u=n.sum32_5,c=o.ft_1,h=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function l(){if(!(this instanceof l))return new l;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(l,h),t.exports=l,l.blockSize=512,l.outSize=160,l.hmacStrength=80,l.padLength=64,l.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;nthis.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e0))return a.iaddn(1),this.keyFromPrivate(a)}},f.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},f.prototype.sign=function(t,e,r,o){"object"===typeof r&&(o=r,r=null),o||(o={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new n(t,16));for(var a=this.n.byteLength(),s=e.getPrivate().toArray("be",a),u=t.toArray("be",a),c=new i({hash:this.hash,entropy:s,nonce:u,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new n(1)),l=0;;l++){var A=o.k?o.k(l):new n(c.generate(this.n.byteLength()));if(!((A=this._truncateToN(A,!0)).cmpn(1)<=0||A.cmp(f)>=0)){var p=this.g.mul(A);if(!p.isInfinity()){var d=p.getX(),g=d.umod(this.n);if(0!==g.cmpn(0)){var y=A.invm(this.n).mul(g.mul(e.getPrivate()).iadd(t));if(0!==(y=y.umod(this.n)).cmpn(0)){var m=(p.getY().isOdd()?1:0)|(0!==d.cmp(g)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),m^=1),new h({r:g,s:y,recoveryParam:m})}}}}}},f.prototype.verify=function(t,e,r,i){t=this._truncateToN(new n(t,16)),r=this.keyFromPublic(r,i);var o=(e=new h(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,u=a.invm(this.n),c=u.mul(t).umod(this.n),f=u.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(c,r.getPublic(),f)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(c,r.getPublic(),f)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},f.prototype.recoverPubKey=function(t,e,r,i){u((3&r)===r,"The recovery param is more than two bits"),e=new h(e,i);var o=this.n,a=new n(t),s=e.r,c=e.s,f=1&r,l=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");s=l?this.curve.pointFromX(s.add(this.curve.n),f):this.curve.pointFromX(s,f);var A=e.r.invm(o),p=o.sub(a).mul(A).umod(o),d=c.mul(A).umod(o);return this.g.mulAdd(p,s,d)},f.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new h(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(t,e,r){"use strict";var n=r(97),i=r(150),o=r(32);function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),r=i.toArray(t.nonce,t.nonceEnc||"hex"),n=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}t.exports=a,a.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},a.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof e&&(n=r,r=e,e=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length"}},function(t,e,r){"use strict";var n=r(41),i=r(33),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function s(){this.place=0}function u(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=e.place;o>>=0;return!(i<=127)&&(e.place=a,i)}function c(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var r=new s;if(48!==t[r.place++])return!1;var o=u(t,r);if(!1===o)return!1;if(o+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var a=u(t,r);if(!1===a)return!1;var c=t.slice(r.place,a+r.place);if(r.place+=a,2!==t[r.place++])return!1;var h=u(t,r);if(!1===h)return!1;if(t.length!==h+r.place)return!1;var f=t.slice(r.place,h+r.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(c),this.s=new n(f),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=c(e),r=c(r);!r[0]&&!(128&r[1]);)r=r.slice(1);var n=[2];h(n,e.length),(n=n.concat(e)).push(2),h(n,r.length);var o=n.concat(r),a=[48];return h(a,o.length),a=a.concat(o),i.encode(a,t)}},function(t,e,r){"use strict";var n=r(97),i=r(96),o=r(33),a=o.assert,s=o.parseBytes,u=r(269),c=r(270);function h(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof h))return new h(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}t.exports=h,h.prototype.sign=function(t,e){t=s(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),t).mul(r.priv()),u=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:u,Rencoded:o})},h.prototype.verify=function(t,e,r){t=s(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),i=this.hashInt(e.Rencoded(),n.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(n.pub().mul(i)).eq(o)},h.prototype.hashInt=function(){for(var t=this.hash(),e=0;e=e)throw new Error("invalid sig")}t.exports=function(t,e,r,c,h){var f=a(r);if("ec"===f.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(t,e,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new o(n),a=r.data.subjectPrivateKey.data;return i.verify(e,t,a)}(t,e,f)}if("dsa"===f.type){if("dsa"!==c)throw new Error("wrong public key type");return function(t,e,r){var n=r.data.p,o=r.data.q,s=r.data.g,c=r.data.pub_key,h=a.signature.decode(t,"der"),f=h.s,l=h.r;u(f,o),u(l,o);var A=i.mont(n),p=f.invm(o);return 0===s.toRed(A).redPow(new i(e).mul(p).mod(o)).fromRed().mul(c.toRed(A).redPow(l.mul(p).mod(o)).fromRed()).mod(n).mod(o).cmp(l)}(t,e,f)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");e=n.concat([h,e]);for(var l=f.modulus.byteLength(),A=[1],p=0;e.length+A.length+2=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,h=r;h1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function l(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c>>26,f=67108863&u,l=Math.min(c,e.length-1),A=Math.max(0,c-t.length+1);A<=l;A++){var p=c-A|0;h+=(a=(i=0|t.words[p])*(o=0|e.words[A])+f)/67108864|0,f=67108863&a}r.words[c]=0|f,u=0|h}return 0!==u?r.words[c]=0|u:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var l=h[t],A=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var d=p.modn(A).toString(t);r=(p=p.idivn(A)).isZero()?d+r:c[l-d.length]+d+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===e,c=new t(o),h=this.clone();if(u){for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[s]=a;for(;s=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,A=0|a[1],p=8191&A,d=A>>>13,g=0|a[2],y=8191&g,m=g>>>13,v=0|a[3],b=8191&v,w=v>>>13,I=0|a[4],E=8191&I,_=I>>>13,B=0|a[5],C=8191&B,Q=B>>>13,M=0|a[6],k=8191&M,S=M>>>13,x=0|a[7],D=8191&x,R=x>>>13,N=0|a[8],P=8191&N,T=N>>>13,O=0|a[9],F=8191&O,U=O>>>13,L=0|s[0],G=8191&L,H=L>>>13,j=0|s[1],Y=8191&j,K=j>>>13,q=0|s[2],J=8191&q,V=q>>>13,z=0|s[3],X=8191&z,W=z>>>13,Z=0|s[4],$=8191&Z,tt=Z>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,ht=0|s[8],ft=8191&ht,lt=ht>>>13,At=0|s[9],pt=8191&At,dt=At>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(c+(n=Math.imul(f,G))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(l,G)|0))<<13)|0;c=((o=Math.imul(l,H))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,G),i=(i=Math.imul(p,H))+Math.imul(d,G)|0,o=Math.imul(d,H);var yt=(c+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,K)|0)+Math.imul(l,Y)|0))<<13)|0;c=((o=o+Math.imul(l,K)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,G),i=(i=Math.imul(y,H))+Math.imul(m,G)|0,o=Math.imul(m,H),n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(d,Y)|0,o=o+Math.imul(d,K)|0;var mt=(c+(n=n+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(l,J)|0))<<13)|0;c=((o=o+Math.imul(l,V)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,n=Math.imul(b,G),i=(i=Math.imul(b,H))+Math.imul(w,G)|0,o=Math.imul(w,H),n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,K)|0,n=n+Math.imul(p,J)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(d,J)|0,o=o+Math.imul(d,V)|0;var vt=(c+(n=n+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(l,X)|0))<<13)|0;c=((o=o+Math.imul(l,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(E,G),i=(i=Math.imul(E,H))+Math.imul(_,G)|0,o=Math.imul(_,H),n=n+Math.imul(b,Y)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,K)|0,n=n+Math.imul(y,J)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,V)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(d,X)|0,o=o+Math.imul(d,W)|0;var bt=(c+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(l,$)|0))<<13)|0;c=((o=o+Math.imul(l,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(C,G),i=(i=Math.imul(C,H))+Math.imul(Q,G)|0,o=Math.imul(Q,H),n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,K)|0,n=n+Math.imul(b,J)|0,i=(i=i+Math.imul(b,V)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,V)|0,n=n+Math.imul(y,X)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,W)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(d,$)|0,o=o+Math.imul(d,tt)|0;var wt=(c+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(l,rt)|0))<<13)|0;c=((o=o+Math.imul(l,nt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,G),i=(i=Math.imul(k,H))+Math.imul(S,G)|0,o=Math.imul(S,H),n=n+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(Q,Y)|0,o=o+Math.imul(Q,K)|0,n=n+Math.imul(E,J)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(_,J)|0,o=o+Math.imul(_,V)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(d,rt)|0,o=o+Math.imul(d,nt)|0;var It=(c+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(l,ot)|0))<<13)|0;c=((o=o+Math.imul(l,at)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,H))+Math.imul(R,G)|0,o=Math.imul(R,H),n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,K)|0,n=n+Math.imul(C,J)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(Q,J)|0,o=o+Math.imul(Q,V)|0,n=n+Math.imul(E,X)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(d,ot)|0,o=o+Math.imul(d,at)|0;var Et=(c+(n=n+Math.imul(f,ut)|0)|0)+((8191&(i=(i=i+Math.imul(f,ct)|0)+Math.imul(l,ut)|0))<<13)|0;c=((o=o+Math.imul(l,ct)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(P,G),i=(i=Math.imul(P,H))+Math.imul(T,G)|0,o=Math.imul(T,H),n=n+Math.imul(D,Y)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(S,J)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(Q,X)|0,o=o+Math.imul(Q,W)|0,n=n+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(b,rt)|0,i=(i=i+Math.imul(b,nt)|0)+Math.imul(w,rt)|0,o=o+Math.imul(w,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(d,ut)|0,o=o+Math.imul(d,ct)|0;var _t=(c+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,lt)|0)+Math.imul(l,ft)|0))<<13)|0;c=((o=o+Math.imul(l,lt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(F,G),i=(i=Math.imul(F,H))+Math.imul(U,G)|0,o=Math.imul(U,H),n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(T,Y)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,V)|0)+Math.imul(R,J)|0,o=o+Math.imul(R,V)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(Q,$)|0,o=o+Math.imul(Q,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(d,ft)|0,o=o+Math.imul(d,lt)|0;var Bt=(c+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,dt)|0)+Math.imul(l,pt)|0))<<13)|0;c=((o=o+Math.imul(l,dt)|0)+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,K))+Math.imul(U,Y)|0,o=Math.imul(U,K),n=n+Math.imul(P,J)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(T,J)|0,o=o+Math.imul(T,V)|0,n=n+Math.imul(D,X)|0,i=(i=i+Math.imul(D,W)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(S,$)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(C,rt)|0,i=(i=i+Math.imul(C,nt)|0)+Math.imul(Q,rt)|0,o=o+Math.imul(Q,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,at)|0,n=n+Math.imul(b,ut)|0,i=(i=i+Math.imul(b,ct)|0)+Math.imul(w,ut)|0,o=o+Math.imul(w,ct)|0,n=n+Math.imul(y,ft)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,lt)|0;var Ct=(c+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,dt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,J),i=(i=Math.imul(F,V))+Math.imul(U,J)|0,o=Math.imul(U,V),n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(D,$)|0,i=(i=i+Math.imul(D,tt)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(Q,ot)|0,o=o+Math.imul(Q,at)|0,n=n+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,ct)|0,n=n+Math.imul(b,ft)|0,i=(i=i+Math.imul(b,lt)|0)+Math.imul(w,ft)|0,o=o+Math.imul(w,lt)|0;var Qt=(c+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,dt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,dt)|0)+(i>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,n=Math.imul(F,X),i=(i=Math.imul(F,W))+Math.imul(U,X)|0,o=Math.imul(U,W),n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,n=n+Math.imul(D,rt)|0,i=(i=i+Math.imul(D,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(Q,ut)|0,o=o+Math.imul(Q,ct)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,lt)|0)+Math.imul(_,ft)|0,o=o+Math.imul(_,lt)|0;var Mt=(c+(n=n+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,dt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,dt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,$),i=(i=Math.imul(F,tt))+Math.imul(U,$)|0,o=Math.imul(U,tt),n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(T,rt)|0,o=o+Math.imul(T,nt)|0,n=n+Math.imul(D,ot)|0,i=(i=i+Math.imul(D,at)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,at)|0,n=n+Math.imul(k,ut)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(S,ut)|0,o=o+Math.imul(S,ct)|0,n=n+Math.imul(C,ft)|0,i=(i=i+Math.imul(C,lt)|0)+Math.imul(Q,ft)|0,o=o+Math.imul(Q,lt)|0;var kt=(c+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,dt)|0)+Math.imul(_,pt)|0))<<13)|0;c=((o=o+Math.imul(_,dt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(U,rt)|0,o=Math.imul(U,nt),n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,n=n+Math.imul(D,ut)|0,i=(i=i+Math.imul(D,ct)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,ct)|0,n=n+Math.imul(k,ft)|0,i=(i=i+Math.imul(k,lt)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,lt)|0;var St=(c+(n=n+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,dt)|0)+Math.imul(Q,pt)|0))<<13)|0;c=((o=o+Math.imul(Q,dt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(U,ot)|0,o=Math.imul(U,at),n=n+Math.imul(P,ut)|0,i=(i=i+Math.imul(P,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,n=n+Math.imul(D,ft)|0,i=(i=i+Math.imul(D,lt)|0)+Math.imul(R,ft)|0,o=o+Math.imul(R,lt)|0;var xt=(c+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,dt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,dt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(F,ut),i=(i=Math.imul(F,ct))+Math.imul(U,ut)|0,o=Math.imul(U,ct),n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,lt)|0)+Math.imul(T,ft)|0,o=o+Math.imul(T,lt)|0;var Dt=(c+(n=n+Math.imul(D,pt)|0)|0)+((8191&(i=(i=i+Math.imul(D,dt)|0)+Math.imul(R,pt)|0))<<13)|0;c=((o=o+Math.imul(R,dt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,lt))+Math.imul(U,ft)|0,o=Math.imul(U,lt);var Rt=(c+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,dt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,dt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var Nt=(c+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,dt))+Math.imul(U,pt)|0))<<13)|0;return c=((o=Math.imul(U,dt))+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,u[0]=gt,u[1]=yt,u[2]=mt,u[3]=vt,u[4]=bt,u[5]=wt,u[6]=It,u[7]=Et,u[8]=_t,u[9]=Bt,u[10]=Ct,u[11]=Qt,u[12]=Mt,u[13]=kt,u[14]=St,u[15]=xt,u[16]=Dt,u[17]=Rt,u[18]=Nt,0!==c&&(u[19]=c,r.length++),r};function p(t,e,r){return(new d).mulp(t,e,r)}function d(t,e){this.x=t,this.y=e}Math.imul||(A=l),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?A(this,t,e):r<63?l(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):p(this,t,e)},d.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==h||c>=i);c--){var f=0|this.words[c];this.words[c]=h<<26-o|f>>>o,h=f&s}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==e){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var l=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(l=Math.min(l/a|0,67108863),n._ishlnsubmul(i,l,f);0!==n.negative;)l--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=l)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var h=r.clone(),f=e.clone();!e.isZero();){for(var l=0,A=1;0===(e.words[0]&A)&&l<26;++l,A<<=1);if(l>0)for(e.iushrn(l);l-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(h),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,d=1;0===(r.words[0]&d)&&p<26;++p,d<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(h),u.isub(f)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(u)):(r.isub(e),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,h=1;0===(e.words[0]&h)&&c<26;++c,h<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,l=1;0===(r.words[0]&l)&&f<26;++f,l<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new I(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var g={k256:null,p224:null,p192:null,p25519:null};function y(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function m(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function b(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function I(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function E(t){I.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(t,e){t.iushrn(this.n,0,e)},y.prototype.imulK=function(t){return t.imul(this.k)},i(m,y),m.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},m.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(g[t])return g[t];var e;if("k256"===t)e=new m;else if("p224"===t)e=new v;else if("p192"===t)e=new b;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new w}return g[t]=e,e},I.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},I.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},I.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},I.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},I.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},I.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},I.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},I.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},I.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},I.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},I.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},I.prototype.isqr=function(t){return this.imul(t,t.clone())},I.prototype.sqr=function(t){return this.mul(t,t)},I.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,c).cmp(u);)h.redIAdd(u);for(var f=this.pow(h,i),l=this.pow(t,i.addn(1).iushrn(1)),A=this.pow(t,i),p=a;0!==A.cmp(s);){for(var d=A,g=0;0!==d.cmp(s);g++)d=d.redSqr();n(g=0;n--){for(var c=e.words[n],h=u-1;h>=0;h--){var f=c>>h&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===h)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}u=26}return i},I.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},I.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new E(t)},i(E,I),E.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},E.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},E.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(46)(t))},,function(t,e,r){e.publicEncrypt=r(286),e.privateDecrypt=r(288),e.privateEncrypt=function(t,r){return e.publicEncrypt(t,r,!0)},e.publicDecrypt=function(t,r){return e.privateDecrypt(t,r,!0)}},function(t,e,r){var n=r(71),i=r(49),o=r(50),a=r(162),s=r(163),u=r(102),c=r(164),h=r(93),f=r(10).Buffer;t.exports=function(t,e,r){var l;l=t.padding?t.padding:r?1:4;var A,p=n(t);if(4===l)A=function(t,e){var r=t.modulus.byteLength(),n=e.length,c=o("sha1").update(f.alloc(0)).digest(),h=c.length,l=2*h;if(n>r-l-2)throw new Error("message too long");var A=f.alloc(r-n-l-2),p=r-h-1,d=i(h),g=s(f.concat([c,A,f.alloc(1,1),e],p),a(d,p)),y=s(d,a(g,h));return new u(f.concat([f.alloc(1),y,g],r))}(p,e);else if(1===l)A=function(t,e,r){var n,o=e.length,a=t.modulus.byteLength();if(o>a-11)throw new Error("message too long");n=r?f.alloc(a-o-3,255):function(t){var e,r=f.allocUnsafe(t),n=0,o=i(2*t),a=0;for(;n=0)throw new Error("data too long for modulus")}return r?h(A,p):c(A,p)}},,function(t,e,r){var n=r(71),i=r(162),o=r(163),a=r(102),s=r(93),u=r(50),c=r(164),h=r(10).Buffer;t.exports=function(t,e,r){var f;f=t.padding?t.padding:r?1:4;var l,A=n(t),p=A.modulus.byteLength();if(e.length>p||new a(e).cmp(A.modulus)>=0)throw new Error("decryption error");l=r?c(new a(e),A):s(e,A);var d=h.alloc(p-l.length);if(l=h.concat([d,l],p),4===f)return function(t,e){var r=t.modulus.byteLength(),n=u("sha1").update(h.alloc(0)).digest(),a=n.length;if(0!==e[0])throw new Error("decryption error");var s=e.slice(1,a+1),c=e.slice(a+1),f=o(s,i(c,a)),l=o(c,i(f,r-a-1));if(function(t,e){t=h.from(t),e=h.from(e);var r=0,n=t.length;t.length!==e.length&&(r++,n=Math.min(t.length,e.length));var i=-1;for(;++i=e.length){o++;break}var a=e.slice(2,i-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,l,r);if(3===f)return l;throw new Error("unknown padding")}},function(t,e,r){"use strict";(function(t,n){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=r(10),a=r(49),s=o.Buffer,u=o.kMaxLength,c=t.crypto||t.msCrypto,h=Math.pow(2,32)-1;function f(t,e){if("number"!==typeof t||t!==t)throw new TypeError("offset must be a number");if(t>h||t<0)throw new TypeError("offset must be a uint32");if(t>u||t>e)throw new RangeError("offset out of range")}function l(t,e,r){if("number"!==typeof t||t!==t)throw new TypeError("size must be a number");if(t>h||t<0)throw new TypeError("size must be a uint32");if(t+e>r||t>u)throw new RangeError("buffer too small")}function A(t,e,r,i){if(n.browser){var o=t.buffer,s=new Uint8Array(o,e,r);return c.getRandomValues(s),i?void n.nextTick((function(){i(null,t)})):t}if(!i)return a(r).copy(t,e),t;a(r,(function(r,n){if(r)return i(r);n.copy(t,e),i(null,t)}))}c&&c.getRandomValues||!n.browser?(e.randomFill=function(e,r,n,i){if(!s.isBuffer(e)&&!(e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof r)i=r,r=0,n=e.length;else if("function"===typeof n)i=n,n=e.length-r;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return f(r,e.length),l(n,r,e.length),A(e,r,n,i)},e.randomFillSync=function(e,r,n){"undefined"===typeof r&&(r=0);if(!s.isBuffer(e)&&!(e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(r,e.length),void 0===n&&(n=e.length-r);return l(n,r,e.length),A(e,r,n)}):(e.randomFill=i,e.randomFillSync=i)}).call(this,r(22),r(20))},function(t,e,r){"use strict";var n=r(30),i=r(165),o=r(291),a=r(171);function s(t){var e=new o(t),r=i(o.prototype.request,e);return n.extend(r,o.prototype,e),n.extend(r,e),r}var u=s(r(168));u.Axios=o,u.create=function(t){return s(a(u.defaults,t))},u.Cancel=r(172),u.CancelToken=r(304),u.isCancel=r(167),u.all=function(t){return Promise.all(t)},u.spread=r(305),u.isAxiosError=r(306),t.exports=u,t.exports.default=u},function(t,e,r){"use strict";var n=r(30),i=r(166),o=r(292),a=r(293),s=r(171);function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],r=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)r=r.then(e.shift(),e.shift());return r},u.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,r){return this.request(s(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,r,n){return this.request(s(n||{},{method:t,url:e,data:r}))}})),t.exports=u},function(t,e,r){"use strict";var n=r(30);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},function(t,e,r){"use strict";var n=r(30),i=r(294),o=r(167),a=r(168);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return s(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,r){"use strict";var n=r(30);t.exports=function(t,e,r){return n.forEach(r,(function(r){t=r(t,e)})),t}},function(t,e,r){"use strict";var n=r(30);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},function(t,e,r){"use strict";var n=r(170);t.exports=function(t,e,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},function(t,e,r){"use strict";t.exports=function(t,e,r,n,i){return t.config=e,r&&(t.code=r),t.request=n,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,r){"use strict";var n=r(30);t.exports=n.isStandardBrowserEnv()?{write:function(t,e,r,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,r){"use strict";var n=r(300),i=r(301);t.exports=function(t,e){return t&&!n(e)?i(t,e):e}},function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,r){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,r){"use strict";var n=r(30),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,o,a={};return t?(n.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=n.trim(t.substr(0,o)).toLowerCase(),r=n.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([r]):a[e]?a[e]+", "+r:r}})),a):a}},function(t,e,r){"use strict";var n=r(30);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=i(window.location.href),function(e){var r=n.isString(e)?i(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0}},function(t,e,r){"use strict";var n=r(172);function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,r){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},function(t,e,r){"use strict";var n=r(308),i=r(10).Buffer;t.exports=function(t){function e(e){var r=e.slice(0,-4),n=e.slice(-4),i=t(r);if(!(n[0]^i[0]|n[1]^i[1]|n[2]^i[2]|n[3]^i[3]))return r}return{encode:function(e){var r=t(e);return n.encode(i.concat([e,r],e.length+4))},decode:function(t){var r=e(n.decode(t));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:function(t){var r=n.decodeUnsafe(t);if(r)return e(r)}}}},function(t,e,r){var n=r(309);t.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},function(t,e,r){"use strict";var n=r(10).Buffer;t.exports=function(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),r=0;r>>0,h=new Uint8Array(a);t[r];){var f=e[t.charCodeAt(r)];if(255===f)return;for(var l=0,A=a-1;(0!==f||l>>0,h[A]=f%256>>>0,f=f/256>>>0;if(0!==f)throw new Error("Non-zero carry");o=l,r++}if(" "!==t[r]){for(var p=a-o;p!==a&&0===h[p];)p++;var d=n.allocUnsafe(i+(a-p));d.fill(0,0,i);for(var g=i;p!==a;)d[g++]=h[p++];return d}}}return{encode:function(e){if((Array.isArray(e)||e instanceof Uint8Array)&&(e=n.from(e)),!n.isBuffer(e))throw new TypeError("Expected Buffer");if(0===e.length)return"";for(var r=0,i=0,o=0,a=e.length;o!==a&&0===e[o];)o++,r++;for(var c=(a-o)*h+1>>>0,f=new Uint8Array(c);o!==a;){for(var l=e[o],A=0,p=c-1;(0!==l||A>>0,f[p]=l%s>>>0,l=l/s>>>0;if(0!==l)throw new Error("Non-zero carry");i=A,o++}for(var d=c-i;d!==c&&0===f[d];)d++;for(var g=u.repeat(r);d=0)return this._url=this._parseUrl(e.headers.location),this._method="GET",this._loweredHeaders["content-type"]&&(delete this._headers[this._loweredHeaders["content-type"]],delete this._loweredHeaders["content-type"]),null!=this._headers["Content-Type"]&&delete this._headers["Content-Type"],delete this._headers["Content-Length"],this.upload._reset(),this._finalizeHeaders(),void this._sendHxxpRequest();this._response=e,this._response.on("data",(function(t){return n._onHttpResponseData(e,t)})),this._response.on("end",(function(){return n._onHttpResponseEnd(e)})),this._response.on("close",(function(){return n._onHttpResponseClose(e)})),this.responseUrl=this._url.href.split("#")[0],this.status=e.statusCode,this.statusText=a.STATUS_CODES[this.status],this._parseResponseHeaders(e);var i=this._responseHeaders["content-length"]||"";this._totalBytes=+i,this._lengthComputable=!!i,this._setReadyState(r.HEADERS_RECEIVED)}},r.prototype._onHttpResponseData=function(t,e){this._response===t&&(this._responseParts.push(new n(e)),this._loadedBytes+=e.length,this.readyState!==r.LOADING&&this._setReadyState(r.LOADING),this._dispatchProgress("progress"))},r.prototype._onHttpResponseEnd=function(t){this._response===t&&(this._parseResponse(),this._request=null,this._response=null,this._setReadyState(r.DONE),this._dispatchProgress("load"),this._dispatchProgress("loadend"))},r.prototype._onHttpResponseClose=function(t){if(this._response===t){var e=this._request;this._setError(),e.abort(),this._setReadyState(r.DONE),this._dispatchProgress("error"),this._dispatchProgress("loadend")}},r.prototype._onHttpTimeout=function(t){this._request===t&&(this._setError(),t.abort(),this._setReadyState(r.DONE),this._dispatchProgress("timeout"),this._dispatchProgress("loadend"))},r.prototype._onHttpRequestError=function(t,e){this._request===t&&(this._setError(),t.abort(),this._setReadyState(r.DONE),this._dispatchProgress("error"),this._dispatchProgress("loadend"))},r.prototype._dispatchProgress=function(t){var e=new r.ProgressEvent(t);e.lengthComputable=this._lengthComputable,e.loaded=this._loadedBytes,e.total=this._totalBytes,this.dispatchEvent(e)},r.prototype._setError=function(){this._request=null,this._response=null,this._responseHeaders=null,this._responseParts=null},r.prototype._parseUrl=function(t,e,r){var n=null==this.nodejsBaseUrl?t:c.resolve(this.nodejsBaseUrl,t),i=c.parse(n,!1,!0);i.hash=null;var o=(i.auth||"").split(":"),a=o[0],s=o[1];return(a||s||e||r)&&(i.auth=(e||a||"")+":"+(r||s||"")),i},r.prototype._parseResponseHeaders=function(t){for(var e in this._responseHeaders={},t.headers){var r=e.toLowerCase();this._privateHeaders[r]||(this._responseHeaders[r]=t.headers[e])}null!=this._mimeOverride&&(this._responseHeaders["content-type"]=this._mimeOverride)},r.prototype._parseResponse=function(){var t=n.concat(this._responseParts);switch(this._responseParts=null,this.responseType){case"json":this.responseText=null;try{this.response=JSON.parse(t.toString("utf-8"))}catch(o){this.response=null}return;case"buffer":return this.responseText=null,void(this.response=t);case"arraybuffer":this.responseText=null;for(var e=new ArrayBuffer(t.length),r=new Uint8Array(e),i=0;i0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,i,o=n.allocUnsafe(t>>>0),a=this.head,s=0;a;)e=a.data,r=o,i=s,e.copy(r,i),s+=a.data.length,a=a.next;return o},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},,function(t,e,r){"use strict";t.exports=o;var n=r(181),i=Object.create(r(39));function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}i.inherits=r(8),i.inherits(o,n),o.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){var n=r(11).Buffer;t.exports=function(t){if(t instanceof Uint8Array){if(0===t.byteOffset&&t.byteLength===t.buffer.byteLength)return t.buffer;if("function"===typeof t.buffer.slice)return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}if(n.isBuffer(t)){for(var e=new Uint8Array(t.length),r=t.length,i=0;i= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,d=String.fromCharCode;function g(t){throw new RangeError(A[t])}function y(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function m(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+y((t=t.replace(l,".")).split("."),e).join(".")}function v(t){for(var e,r,n=[],i=0,o=t.length;i=55296&&e<=56319&&i65535&&(e+=d((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=d(t)})).join("")}function w(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function I(t,e,r){var n=0;for(t=r?p(t/700):t>>1,t+=p(t/e);t>455;n+=c)t=p(t/35);return p(n+36*t/(t+38))}function E(t){var e,r,n,i,o,a,s,h,f,l,A,d=[],y=t.length,m=0,v=128,w=72;for((r=t.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&g("not-basic"),d.push(t.charCodeAt(n));for(i=r>0?r+1:0;i=y&&g("invalid-input"),((h=(A=t.charCodeAt(i++))-48<10?A-22:A-65<26?A-65:A-97<26?A-97:c)>=c||h>p((u-m)/a))&&g("overflow"),m+=h*a,!(h<(f=s<=w?1:s>=w+26?26:s-w));s+=c)a>p(u/(l=c-f))&&g("overflow"),a*=l;w=I(m-o,e=d.length+1,0==o),p(m/e)>u-v&&g("overflow"),v+=p(m/e),m%=e,d.splice(m++,0,v)}return b(d)}function _(t){var e,r,n,i,o,a,s,h,f,l,A,y,m,b,E,_=[];for(y=(t=v(t)).length,e=128,r=0,o=72,a=0;a=e&&Ap((u-r)/(m=n+1))&&g("overflow"),r+=(s-e)*m,e=s,a=0;au&&g("overflow"),A==e){for(h=r,f=c;!(h<(l=f<=o?1:f>=o+26?26:f-o));f+=c)E=h-l,b=c-l,_.push(d(w(l+E%b,0))),h=p(E/b);_.push(d(w(h,0))),o=I(r,m,n==i),r=0,++n}++r,++e}return _.join("")}s={version:"1.4.1",ucs2:{decode:v,encode:b},decode:E,encode:_,toASCII:function(t){return m(t,(function(t){return f.test(t)?"xn--"+_(t):t}))},toUnicode:function(t){return m(t,(function(t){return h.test(t)?E(t.slice(4).toLowerCase()):t}))}},void 0===(i=function(){return s}.call(e,r,e,t))||(t.exports=i)}()}).call(this,r(46)(t),r(22))},function(t,e,r){"use strict";t.exports={isString:function(t){return"string"===typeof t},isObject:function(t){return"object"===typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,r){"use strict";e.decode=e.parse=r(323),e.encode=e.stringify=r(324)},function(t,e,r){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,r,o){e=e||"&",r=r||"=";var a={};if("string"!==typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var u=1e3;o&&"number"===typeof o.maxKeys&&(u=o.maxKeys);var c=t.length;u>0&&c>u&&(c=u);for(var h=0;h=0?(f=d.substr(0,g),l=d.substr(g+1)):(f=d,l=""),A=decodeURIComponent(f),p=decodeURIComponent(l),n(a,A)?i(a[A])?a[A].push(p):a[A]=[a[A],p]:a[A]=p}return a};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,r){"use strict";var n=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,r,s){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"===typeof t?o(a(t),(function(a){var s=encodeURIComponent(n(a))+r;return i(t[a])?o(t[a],(function(t){return s+encodeURIComponent(n(t))})).join(e):s+encodeURIComponent(n(t[a]))})).join(e):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function o(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n-1}},function(t,e,r){var n=r(73);t.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},function(t,e,r){var n=r(110)(r(109),"Map");t.exports=n},function(t,e,r){var n=r(74);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,r){var n=r(74);t.exports=function(t){return n(this,t).get(t)}},function(t,e,r){var n=r(74);t.exports=function(t){return n(this,t).has(t)}},function(t,e,r){var n=r(74);t.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}},function(t,e,r){var n=r(368);t.exports=function(t){return null==t?"":n(t)}},function(t,e,r){var n=r(108),i=r(369),o=r(106),a=r(107),s=n?n.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return u?u.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r-1&&t%1==0&&t=4294967296&&i++,t[e]=n,t[e+1]=i}function o(t,e,r,n){var i=t[e]+r;r<0&&(i+=4294967296);var o=t[e+1]+n;i>=4294967296&&o++,t[e]=i,t[e+1]=o}function a(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function s(t,e,r,n,a,s){var u=f[a],c=f[a+1],l=f[s],A=f[s+1];i(h,t,e),o(h,t,u,c);var p=h[n]^h[t],d=h[n+1]^h[t+1];h[n]=d,h[n+1]=p,i(h,r,n),p=h[e]^h[r],d=h[e+1]^h[r+1],h[e]=p>>>24^d<<8,h[e+1]=d>>>24^p<<8,i(h,t,e),o(h,t,l,A),p=h[n]^h[t],d=h[n+1]^h[t+1],h[n]=p>>>16^d<<16,h[n+1]=d>>>16^p<<16,i(h,r,n),p=h[e]^h[r],d=h[e+1]^h[r+1],h[e]=d>>>31^p<<1,h[e+1]=p>>>31^d<<1}var u=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),c=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map((function(t){return 2*t}))),h=new Uint32Array(32),f=new Uint32Array(32);function l(t,e){var r=0;for(r=0;r<16;r++)h[r]=t.h[r],h[r+16]=u[r];for(h[24]=h[24]^t.t,h[25]=h[25]^t.t/4294967296,e&&(h[28]=~h[28],h[29]=~h[29]),r=0;r<32;r++)f[r]=a(t.b,4*r);for(r=0;r<12;r++)s(0,8,16,24,c[16*r+0],c[16*r+1]),s(2,10,18,26,c[16*r+2],c[16*r+3]),s(4,12,20,28,c[16*r+4],c[16*r+5]),s(6,14,22,30,c[16*r+6],c[16*r+7]),s(0,10,20,30,c[16*r+8],c[16*r+9]),s(2,12,22,24,c[16*r+10],c[16*r+11]),s(4,14,16,26,c[16*r+12],c[16*r+13]),s(6,8,18,28,c[16*r+14],c[16*r+15]);for(r=0;r<16;r++)t.h[r]=t.h[r]^h[r]^h[r+16]}function A(t,e){if(0===t||t>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(e&&e.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");for(var r={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:t},n=0;n<16;n++)r.h[n]=u[n];var i=e?e.length:0;return r.h[0]^=16842752^i<<8^t,e&&(p(r,e),r.c=128),r}function p(t,e){for(var r=0;r>2]>>8*(3&r);return e}function g(t,e,r){r=r||64,t=n.normalizeInput(t);var i=A(r,e);return p(i,t),d(i)}t.exports={blake2b:g,blake2bHex:function(t,e,r){var i=g(t,e,r);return n.toHex(i)},blake2bInit:A,blake2bUpdate:p,blake2bFinal:d}},function(t,e,r){var n=r(186);function i(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function o(t,e,r,n,i,o){c[t]=c[t]+c[e]+i,c[n]=a(c[n]^c[t],16),c[r]=c[r]+c[n],c[e]=a(c[e]^c[r],12),c[t]=c[t]+c[e]+o,c[n]=a(c[n]^c[t],8),c[r]=c[r]+c[n],c[e]=a(c[e]^c[r],7)}function a(t,e){return t>>>e^t<<32-e}var s=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),u=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),c=new Uint32Array(16),h=new Uint32Array(16);function f(t,e){var r=0;for(r=0;r<8;r++)c[r]=t.h[r],c[r+8]=s[r];for(c[12]^=t.t,c[13]^=t.t/4294967296,e&&(c[14]=~c[14]),r=0;r<16;r++)h[r]=i(t.b,4*r);for(r=0;r<10;r++)o(0,4,8,12,h[u[16*r+0]],h[u[16*r+1]]),o(1,5,9,13,h[u[16*r+2]],h[u[16*r+3]]),o(2,6,10,14,h[u[16*r+4]],h[u[16*r+5]]),o(3,7,11,15,h[u[16*r+6]],h[u[16*r+7]]),o(0,5,10,15,h[u[16*r+8]],h[u[16*r+9]]),o(1,6,11,12,h[u[16*r+10]],h[u[16*r+11]]),o(2,7,8,13,h[u[16*r+12]],h[u[16*r+13]]),o(3,4,9,14,h[u[16*r+14]],h[u[16*r+15]]);for(r=0;r<8;r++)t.h[r]^=c[r]^c[r+8]}function l(t,e){if(!(t>0&&t<=32))throw new Error("Incorrect output length, should be in [1, 32]");var r=e?e.length:0;if(e&&!(r>0&&r<=32))throw new Error("Incorrect key length, should be in [1, 32]");var n={h:new Uint32Array(s),b:new Uint8Array(64),c:0,t:0,outlen:t};return n.h[0]^=16842752^r<<8^t,r>0&&(A(n,e),n.c=64),n}function A(t,e){for(var r=0;r>2]>>8*(3&r)&255;return e}function d(t,e,r){r=r||32,t=n.normalizeInput(t);var i=l(r,e);return A(i,t),p(i)}t.exports={blake2s:d,blake2sHex:function(t,e,r){var i=d(t,e,r);return n.toHex(i)},blake2sInit:l,blake2sUpdate:A,blake2sFinal:p}},function(t,e,r){"use strict";(function(e){t.exports=c;var n=r(380),i="undefined"!==typeof navigator&&!!navigator.userAgent,o=i&&navigator.userAgent.match(/Safari\//)&&!navigator.userAgent.match(/Chrome\//),a=i&&navigator.userAgent.match(/Edge\/1[2345]/),s=null;function u(t){return s||(s=new t((function(t,e){function r(){t({u2f:null,native:!0})}return i?o?r():("undefined"!==typeof window.u2f&&"function"===typeof window.u2f.sign&&t({u2f:window.u2f,native:!0}),a||"http:"===location.protocol||"undefined"===typeof MessageChannel?r():void n.isSupported((function(e){e?t({u2f:n,native:!1}):r()}))):r()}))),s}function c(t){return{isSupported:l.bind(t),ensureSupport:p.bind(t),register:d.bind(t),sign:g.bind(t),ErrorCodes:c.ErrorCodes,ErrorNames:c.ErrorNames}}function h(t,e){var r=null!=e?e.errorCode:1,n=c.ErrorNames[""+r],i=new Error(t);return i.metaData={type:n,code:r},i}function f(t,e){var r={};return r.promise=new t((function(t,n){r.resolve=t,r.reject=n,e.then(t,n)})),r.promise.cancel=function(e,n){u(t).then((function(t){n&&!t.native&&t.u2f.disconnect(),r.reject(h(e,{errorCode:-1}))}))},r}function l(){return u(this).then((function(t){return!!t.u2f}))}function A(t){if(!t.u2f){if("http:"===location.protocol)throw new Error("U2F isn't supported over http, only https");throw new Error("U2F not supported")}}function p(){return u(this).then(A)}function d(t,e,r){var n=this;return Array.isArray(t)||(t=[t]),"number"===typeof e&&"undefined"===typeof r&&(r=e,e=null),e||(e=[]),f(n,u(n).then((function(i){A(i);var o=i.native,a=i.u2f;return new n((function(n,i){if(o){var s=t[0].appId;a.register(s,t,e,(function(t){t.errorCode?i(h("Registration failed",t)):(delete t.errorCode,n(t))}),r)}else a.register(t,e,(function(t,e){t?i(t):e.errorCode?i(h("Registration failed",e)):n(e)}),r)}))}))).promise}function g(t,e){var r=this;return Array.isArray(t)||(t=[t]),f(r,u(r).then((function(n){A(n);var i=n.native,o=n.u2f;return new r((function(r,n){if(i){var a=t[0].appId,s=t[0].challenge;o.sign(a,s,t,(function(t){t.errorCode?n(h("Sign failed",t)):(delete t.errorCode,r(t))}),e)}else o.sign(t,(function(t,e){t?n(t):e.errorCode?n(h("Sign failed",e)):r(e)}),e)}))}))).promise}function y(t){c[t]=function(){if(!e.Promise)throw new Error("The platform doesn't natively support promises");var r=[].slice.call(arguments);return c(e.Promise)[t].apply(null,r)}}c.ErrorCodes={CANCELLED:-1,OK:0,OTHER_ERROR:1,BAD_REQUEST:2,CONFIGURATION_UNSUPPORTED:3,DEVICE_INELIGIBLE:4,TIMEOUT:5},c.ErrorNames={"-1":"CANCELLED",0:"OK",1:"OTHER_ERROR",2:"BAD_REQUEST",3:"CONFIGURATION_UNSUPPORTED",4:"DEVICE_INELIGIBLE",5:"TIMEOUT"},y("isSupported"),y("ensureSupport"),y("register"),y("sign")}).call(this,r(22))},function(t,e,r){"use strict";var n=n||{};t.exports=n,n.EXTENSION_ID="kmendfapggjehodndflmmgagdbamhnfd",n.MessageTypes={U2F_REGISTER_REQUEST:"u2f_register_request",U2F_SIGN_REQUEST:"u2f_sign_request",U2F_REGISTER_RESPONSE:"u2f_register_response",U2F_SIGN_RESPONSE:"u2f_sign_response"},n.ErrorCodes={OK:0,OTHER_ERROR:1,BAD_REQUEST:2,CONFIGURATION_UNSUPPORTED:3,DEVICE_INELIGIBLE:4,TIMEOUT:5},n.Request,n.Response,n.Error,n.SignRequest,n.SignResponse,n.RegisterRequest,n.RegisterResponse,n.disconnect=function(){n.port_&&n.port_.port_&&(n.port_.port_.disconnect(),n.port_=null)},n.getMessagePort=function(t){if("undefined"!=typeof chrome&&chrome.runtime){var e={type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:[]};chrome.runtime.sendMessage(n.EXTENSION_ID,e,(function(){chrome.runtime.lastError?n.getIframePort_(t):n.getChromeRuntimePort_(t)}))}else n.getIframePort_(t)},n.getChromeRuntimePort_=function(t){var e=chrome.runtime.connect(n.EXTENSION_ID,{includeTlsChannelId:!0});setTimeout((function(){t(null,new n.WrappedChromeRuntimePort_(e))}),0)},n.WrappedChromeRuntimePort_=function(t){this.port_=t},n.WrappedChromeRuntimePort_.prototype.postMessage=function(t){this.port_.postMessage(t)},n.WrappedChromeRuntimePort_.prototype.addEventListener=function(t,e){var r=t.toLowerCase();"message"==r||"onmessage"==r?this.port_.onMessage.addListener((function(t){e({data:t})})):console.error("WrappedChromeRuntimePort only supports onMessage")},n.getIframePort_=function(t){var e="chrome-extension://"+n.EXTENSION_ID,r=document.createElement("iframe");r.src=e+"/u2f-comms.html",r.setAttribute("style","display:none"),document.body.appendChild(r);var i=!1,o=new MessageChannel;o.port1.addEventListener("message",(function e(r){"ready"==r.data?(o.port1.removeEventListener("message",e),i||(i=!0,t(null,o.port1))):console.error('First event on iframe port was not "ready"')})),o.port1.start(),r.addEventListener("load",(function(){r.contentWindow.postMessage("init",e,[o.port2])})),setTimeout((function(){i||(i=!0,t(new Error("IFrame extension not supported")))}),200)},n.EXTENSION_TIMEOUT_SEC=30,n.port_=null,n.waitingForPort_=[],n.reqCounter_=0,n.callbackMap_={},n.getPortSingleton_=function(t){n.port_?t(null,n.port_):(0==n.waitingForPort_.length&&n.getMessagePort((function(t,e){for(t||(n.port_=e,n.port_.addEventListener("message",n.responseHandler_));n.waitingForPort_.length;)n.waitingForPort_.shift()(t,e)})),n.waitingForPort_.push(t))},n.responseHandler_=function(t){var e=t.data,r=e.requestId;if(r&&n.callbackMap_[r]){var i=n.callbackMap_[r];delete n.callbackMap_[r],i(null,e.responseData)}else console.error("Unknown or missing requestId in response.")},n.isSupported=function(t){n.getPortSingleton_((function(e,r){t(!e)}))},n.sign=function(t,e,r){n.getPortSingleton_((function(i,o){if(i)return e(i);var a=++n.reqCounter_;n.callbackMap_[a]=e;var s={type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:t,timeoutSeconds:"undefined"!==typeof r?r:n.EXTENSION_TIMEOUT_SEC,requestId:a};o.postMessage(s)}))},n.register=function(t,e,r,i){n.getPortSingleton_((function(o,a){if(o)return r(o);var s=++n.reqCounter_;n.callbackMap_[s]=r;var u={type:n.MessageTypes.U2F_REGISTER_REQUEST,signRequests:e,registerRequests:t,timeoutSeconds:"undefined"!==typeof i?i:n.EXTENSION_TIMEOUT_SEC,requestId:s};a.postMessage(u)}))}},function(t,e,r){"use strict";r(79);var n=r(17),i=60103;if(e.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),e.Fragment=o("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,r){var n,o={},c=null,h=null;for(n in void 0!==r&&(c=""+r),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(h=e.ref),e)s.call(e,n)&&!u.hasOwnProperty(n)&&(o[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps)void 0===o[n]&&(o[n]=e[n]);return{$$typeof:i,type:t,key:c,ref:h,props:o,_owner:a.current}}e.jsx=c,e.jsxs=c}]]); //# sourceMappingURL=2.7f706534.chunk.js.map