~Webmodule~ to include a "Buy button" with streamlined crypto-pay transaction.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 lines
1.9MB

  1. /*! For license information please see 2.7f706534.chunk.js.LICENSE.txt */
  2. (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<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}r.d(e,"a",(function(){return i}))},function(t,e,r){var n,i,o;!function(a){var s="object"==typeof a.sodium&&"function"==typeof a.sodium.onload?a.sodium.onload:null;i=[e,r(202)],void 0!==(o="function"===typeof(n=function(t,e){"use strict";var r,n=e.ready.then((function(){function n(){if(0!==r._sodium_init())throw new Error("libsodium was not correctly initialized.");for(var e=["crypto_aead_chacha20poly1305_decrypt","crypto_aead_chacha20poly1305_decrypt_detached","crypto_aead_chacha20poly1305_encrypt","crypto_aead_chacha20poly1305_encrypt_detached","crypto_aead_chacha20poly1305_ietf_decrypt","crypto_aead_chacha20poly1305_ietf_decrypt_detached","crypto_aead_chacha20poly1305_ietf_encrypt","crypto_aead_chacha20poly1305_ietf_encrypt_detached","crypto_aead_chacha20poly1305_ietf_keygen","crypto_aead_chacha20poly1305_keygen","crypto_aead_xchacha20poly1305_ietf_decrypt","crypto_aead_xchacha20poly1305_ietf_decrypt_detached","crypto_aead_xchacha20poly1305_ietf_encrypt","crypto_aead_xchacha20poly1305_ietf_encrypt_detached","crypto_aead_xchacha20poly1305_ietf_keygen","crypto_auth","crypto_auth_hmacsha256","crypto_auth_hmacsha256_keygen","crypto_auth_hmacsha256_verify","crypto_auth_hmacsha512","crypto_auth_hmacsha512_keygen","crypto_auth_hmacsha512_verify","crypto_auth_keygen","crypto_auth_verify","crypto_box_beforenm","crypto_box_curve25519xchacha20poly1305_keypair","crypto_box_curve25519xchacha20poly1305_seal","crypto_box_curve25519xchacha20poly1305_seal_open","crypto_box_detached","crypto_box_easy","crypto_box_easy_afternm","crypto_box_keypair","crypto_box_open_detached","crypto_box_open_easy","crypto_box_open_easy_afternm","crypto_box_seal","crypto_box_seal_open","crypto_box_seed_keypair","crypto_core_ristretto255_add","crypto_core_ristretto255_from_hash","crypto_core_ristretto255_is_valid_point","crypto_core_ristretto255_random","crypto_core_ristretto255_scalar_add","crypto_core_ristretto255_scalar_complement","crypto_core_ristretto255_scalar_invert","crypto_core_ristretto255_scalar_mul","crypto_core_ristretto255_scalar_negate","crypto_core_ristretto255_scalar_random","crypto_core_ristretto255_scalar_reduce","crypto_core_ristretto255_scalar_sub","crypto_core_ristretto255_sub","crypto_generichash","crypto_generichash_blake2b_salt_personal","crypto_generichash_final","crypto_generichash_init","crypto_generichash_keygen","crypto_generichash_update","crypto_hash","crypto_hash_sha256","crypto_hash_sha256_final","crypto_hash_sha256_init","crypto_hash_sha256_update","crypto_hash_sha512","crypto_hash_sha512_final","crypto_hash_sha512_init","crypto_hash_sha512_update","crypto_kdf_derive_from_key","crypto_kdf_keygen","crypto_kx_client_session_keys","crypto_kx_keypair","crypto_kx_seed_keypair","crypto_kx_server_session_keys","crypto_onetimeauth","crypto_onetimeauth_final","crypto_onetimeauth_init","crypto_onetimeauth_keygen","crypto_onetimeauth_update","crypto_onetimeauth_verify","crypto_pwhash","crypto_pwhash_scryptsalsa208sha256","crypto_pwhash_scryptsalsa208sha256_ll","crypto_pwhash_scryptsalsa208sha256_str","crypto_pwhash_scryptsalsa208sha256_str_verify","crypto_pwhash_str","crypto_pwhash_str_needs_rehash","crypto_pwhash_str_verify","crypto_scalarmult","crypto_scalarmult_base","crypto_scalarmult_ristretto255","crypto_scalarmult_ristretto255_base","crypto_secretbox_detached","crypto_secretbox_easy","crypto_secretbox_keygen","crypto_secretbox_open_detached","crypto_secretbox_open_easy","crypto_secretstream_xchacha20poly1305_init_pull","crypto_secretstream_xchacha20poly1305_init_push","crypto_secretstream_xchacha20poly1305_keygen","crypto_secretstream_xchacha20poly1305_pull","crypto_secretstream_xchacha20poly1305_push","crypto_secretstream_xchacha20poly1305_rekey","crypto_shorthash","crypto_shorthash_keygen","crypto_shorthash_siphashx24","crypto_sign","crypto_sign_detached","crypto_sign_ed25519_pk_to_curve25519","crypto_sign_ed25519_sk_to_curve25519","crypto_sign_ed25519_sk_to_pk","crypto_sign_ed25519_sk_to_seed","crypto_sign_final_create","crypto_sign_final_verify","crypto_sign_init","crypto_sign_keypair","crypto_sign_open","crypto_sign_seed_keypair","crypto_sign_update","crypto_sign_verify_detached","crypto_stream_chacha20","crypto_stream_chacha20_ietf_xor","crypto_stream_chacha20_ietf_xor_ic","crypto_stream_chacha20_keygen","crypto_stream_chacha20_xor","crypto_stream_chacha20_xor_ic","crypto_stream_keygen","crypto_stream_xchacha20_keygen","crypto_stream_xchacha20_xor","crypto_stream_xchacha20_xor_ic","randombytes_buf","randombytes_buf_deterministic","randombytes_close","randombytes_random","randombytes_set_implementation","randombytes_stir","randombytes_uniform","sodium_version_string"],n=[w,I,E,_,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,st,ut,ct,ht,ft,lt,At,pt,dt,gt,yt,mt,vt,bt,wt,It,Et,_t,Bt,Ct,Qt,Mt,kt,St,xt,Dt,Rt,Nt,Pt,Tt,Ot,Ft,Ut,Lt,Gt,Ht,jt,Yt,Kt,qt,Jt,Vt,zt,Xt,Wt,Zt,$t,te,ee,re,ne,ie,oe,ae,se,ue,ce,he,fe,le,Ae,pe,de,ge,ye,me,ve,be,we,Ie,Ee,_e,Be,Ce,Qe,Me,ke,Se,xe,De,Re,Ne,Pe,Te,Oe,Fe,Ue,Le,Ge,He,je,Ye,Ke,qe,Je,Ve],i=0;i<n.length;i++)"function"==typeof r["_"+e[i]]&&(t[e[i]]=n[i]);var o=["SODIUM_LIBRARY_VERSION_MAJOR","SODIUM_LIBRARY_VERSION_MINOR","crypto_aead_chacha20poly1305_ABYTES","crypto_aead_chacha20poly1305_IETF_ABYTES","crypto_aead_chacha20poly1305_IETF_KEYBYTES","crypto_aead_chacha20poly1305_IETF_MESSAGEBYTES_MAX","crypto_aead_chacha20poly1305_IETF_NPUBBYTES","crypto_aead_chacha20poly1305_IETF_NSECBYTES","crypto_aead_chacha20poly1305_KEYBYTES","crypto_aead_chacha20poly1305_MESSAGEBYTES_MAX","crypto_aead_chacha20poly1305_NPUBBYTES","crypto_aead_chacha20poly1305_NSECBYTES","crypto_aead_chacha20poly1305_ietf_ABYTES","crypto_aead_chacha20poly1305_ietf_KEYBYTES","crypto_aead_chacha20poly1305_ietf_MESSAGEBYTES_MAX","crypto_aead_chacha20poly1305_ietf_NPUBBYTES","crypto_aead_chacha20poly1305_ietf_NSECBYTES","crypto_aead_xchacha20poly1305_IETF_ABYTES","crypto_aead_xchacha20poly1305_IETF_KEYBYTES","crypto_aead_xchacha20poly1305_IETF_MESSAGEBYTES_MAX","crypto_aead_xchacha20poly1305_IETF_NPUBBYTES","crypto_aead_xchacha20poly1305_IETF_NSECBYTES","crypto_aead_xchacha20poly1305_ietf_ABYTES","crypto_aead_xchacha20poly1305_ietf_KEYBYTES","crypto_aead_xchacha20poly1305_ietf_MESSAGEBYTES_MAX","crypto_aead_xchacha20poly1305_ietf_NPUBBYTES","crypto_aead_xchacha20poly1305_ietf_NSECBYTES","crypto_auth_BYTES","crypto_auth_KEYBYTES","crypto_auth_hmacsha256_BYTES","crypto_auth_hmacsha256_KEYBYTES","crypto_auth_hmacsha512256_BYTES","crypto_auth_hmacsha512256_KEYBYTES","crypto_auth_hmacsha512_BYTES","crypto_auth_hmacsha512_KEYBYTES","crypto_box_BEFORENMBYTES","crypto_box_MACBYTES","crypto_box_MESSAGEBYTES_MAX","crypto_box_NONCEBYTES","crypto_box_PUBLICKEYBYTES","crypto_box_SEALBYTES","crypto_box_SECRETKEYBYTES","crypto_box_SEEDBYTES","crypto_box_curve25519xchacha20poly1305_BEFORENMBYTES","crypto_box_curve25519xchacha20poly1305_MACBYTES","crypto_box_curve25519xchacha20poly1305_MESSAGEBYTES_MAX","crypto_box_curve25519xchacha20poly1305_NONCEBYTES","crypto_box_curve25519xchacha20poly1305_PUBLICKEYBYTES","crypto_box_curve25519xchacha20poly1305_SEALBYTES","crypto_box_curve25519xchacha20poly1305_SECRETKEYBYTES","crypto_box_curve25519xchacha20poly1305_SEEDBYTES","crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES","crypto_box_curve25519xsalsa20poly1305_MACBYTES","crypto_box_curve25519xsalsa20poly1305_MESSAGEBYTES_MAX","crypto_box_curve25519xsalsa20poly1305_NONCEBYTES","crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES","crypto_box_curve25519xsalsa20poly1305_SECRETKEYBYTES","crypto_box_curve25519xsalsa20poly1305_SEEDBYTES","crypto_core_ed25519_BYTES","crypto_core_ed25519_HASHBYTES","crypto_core_ed25519_NONREDUCEDSCALARBYTES","crypto_core_ed25519_SCALARBYTES","crypto_core_ed25519_UNIFORMBYTES","crypto_core_hchacha20_CONSTBYTES","crypto_core_hchacha20_INPUTBYTES","crypto_core_hchacha20_KEYBYTES","crypto_core_hchacha20_OUTPUTBYTES","crypto_core_hsalsa20_CONSTBYTES","crypto_core_hsalsa20_INPUTBYTES","crypto_core_hsalsa20_KEYBYTES","crypto_core_hsalsa20_OUTPUTBYTES","crypto_core_ristretto255_BYTES","crypto_core_ristretto255_HASHBYTES","crypto_core_ristretto255_NONREDUCEDSCALARBYTES","crypto_core_ristretto255_SCALARBYTES","crypto_core_salsa2012_CONSTBYTES","crypto_core_salsa2012_INPUTBYTES","crypto_core_salsa2012_KEYBYTES","crypto_core_salsa2012_OUTPUTBYTES","crypto_core_salsa20_CONSTBYTES","crypto_core_salsa20_INPUTBYTES","crypto_core_salsa20_KEYBYTES","crypto_core_salsa20_OUTPUTBYTES","crypto_generichash_BYTES","crypto_generichash_BYTES_MAX","crypto_generichash_BYTES_MIN","crypto_generichash_KEYBYTES","crypto_generichash_KEYBYTES_MAX","crypto_generichash_KEYBYTES_MIN","crypto_generichash_blake2b_BYTES","crypto_generichash_blake2b_BYTES_MAX","crypto_generichash_blake2b_BYTES_MIN","crypto_generichash_blake2b_KEYBYTES","crypto_generichash_blake2b_KEYBYTES_MAX","crypto_generichash_blake2b_KEYBYTES_MIN","crypto_generichash_blake2b_PERSONALBYTES","crypto_generichash_blake2b_SALTBYTES","crypto_hash_BYTES","crypto_hash_sha256_BYTES","crypto_hash_sha512_BYTES","crypto_kdf_BYTES_MAX","crypto_kdf_BYTES_MIN","crypto_kdf_CONTEXTBYTES","crypto_kdf_KEYBYTES","crypto_kdf_blake2b_BYTES_MAX","crypto_kdf_blake2b_BYTES_MIN","crypto_kdf_blake2b_CONTEXTBYTES","crypto_kdf_blake2b_KEYBYTES","crypto_kx_PUBLICKEYBYTES","crypto_kx_SECRETKEYBYTES","crypto_kx_SEEDBYTES","crypto_kx_SESSIONKEYBYTES","crypto_onetimeauth_BYTES","crypto_onetimeauth_KEYBYTES","crypto_onetimeauth_poly1305_BYTES","crypto_onetimeauth_poly1305_KEYBYTES","crypto_pwhash_ALG_ARGON2I13","crypto_pwhash_ALG_ARGON2ID13","crypto_pwhash_ALG_DEFAULT","crypto_pwhash_BYTES_MAX","crypto_pwhash_BYTES_MIN","crypto_pwhash_MEMLIMIT_INTERACTIVE","crypto_pwhash_MEMLIMIT_MAX","crypto_pwhash_MEMLIMIT_MIN","crypto_pwhash_MEMLIMIT_MODERATE","crypto_pwhash_MEMLIMIT_SENSITIVE","crypto_pwhash_OPSLIMIT_INTERACTIVE","crypto_pwhash_OPSLIMIT_MAX","crypto_pwhash_OPSLIMIT_MIN","crypto_pwhash_OPSLIMIT_MODERATE","crypto_pwhash_OPSLIMIT_SENSITIVE","crypto_pwhash_PASSWD_MAX","crypto_pwhash_PASSWD_MIN","crypto_pwhash_SALTBYTES","crypto_pwhash_STRBYTES","crypto_pwhash_argon2i_BYTES_MAX","crypto_pwhash_argon2i_BYTES_MIN","crypto_pwhash_argon2i_SALTBYTES","crypto_pwhash_argon2i_STRBYTES","crypto_pwhash_argon2id_BYTES_MAX","crypto_pwhash_argon2id_BYTES_MIN","crypto_pwhash_argon2id_SALTBYTES","crypto_pwhash_argon2id_STRBYTES","crypto_pwhash_scryptsalsa208sha256_BYTES_MAX","crypto_pwhash_scryptsalsa208sha256_BYTES_MIN","crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE","crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MAX","crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MIN","crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE","crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE","crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MAX","crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MIN","crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE","crypto_pwhash_scryptsalsa208sha256_SALTBYTES","crypto_pwhash_scryptsalsa208sha256_STRBYTES","crypto_scalarmult_BYTES","crypto_scalarmult_SCALARBYTES","crypto_scalarmult_curve25519_BYTES","crypto_scalarmult_curve25519_SCALARBYTES","crypto_scalarmult_ed25519_BYTES","crypto_scalarmult_ed25519_SCALARBYTES","crypto_scalarmult_ristretto255_BYTES","crypto_scalarmult_ristretto255_SCALARBYTES","crypto_secretbox_KEYBYTES","crypto_secretbox_MACBYTES","crypto_secretbox_MESSAGEBYTES_MAX","crypto_secretbox_NONCEBYTES","crypto_secretbox_xchacha20poly1305_KEYBYTES","crypto_secretbox_xchacha20poly1305_MACBYTES","crypto_secretbox_xchacha20poly1305_MESSAGEBYTES_MAX","crypto_secretbox_xchacha20poly1305_NONCEBYTES","crypto_secretbox_xsalsa20poly1305_KEYBYTES","crypto_secretbox_xsalsa20poly1305_MACBYTES","crypto_secretbox_xsalsa20poly1305_MESSAGEBYTES_MAX","crypto_secretbox_xsalsa20poly1305_NONCEBYTES","crypto_secretstream_xchacha20poly1305_ABYTES","crypto_secretstream_xchacha20poly1305_HEADERBYTES","crypto_secretstream_xchacha20poly1305_KEYBYTES","crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX","crypto_secretstream_xchacha20poly1305_NPUBBYTES","crypto_secretstream_xchacha20poly1305_TAG_FINAL","crypto_secretstream_xchacha20poly1305_TAG_MESSAGE","crypto_secretstream_xchacha20poly1305_TAG_PUSH","crypto_secretstream_xchacha20poly1305_TAG_REKEY","crypto_shorthash_BYTES","crypto_shorthash_KEYBYTES","crypto_shorthash_siphash24_BYTES","crypto_shorthash_siphash24_KEYBYTES","crypto_shorthash_siphashx24_BYTES","crypto_shorthash_siphashx24_KEYBYTES","crypto_sign_BYTES","crypto_sign_MESSAGEBYTES_MAX","crypto_sign_PUBLICKEYBYTES","crypto_sign_SECRETKEYBYTES","crypto_sign_SEEDBYTES","crypto_sign_ed25519_BYTES","crypto_sign_ed25519_MESSAGEBYTES_MAX","crypto_sign_ed25519_PUBLICKEYBYTES","crypto_sign_ed25519_SECRETKEYBYTES","crypto_sign_ed25519_SEEDBYTES","crypto_stream_KEYBYTES","crypto_stream_MESSAGEBYTES_MAX","crypto_stream_NONCEBYTES","crypto_stream_chacha20_IETF_KEYBYTES","crypto_stream_chacha20_IETF_MESSAGEBYTES_MAX","crypto_stream_chacha20_IETF_NONCEBYTES","crypto_stream_chacha20_KEYBYTES","crypto_stream_chacha20_MESSAGEBYTES_MAX","crypto_stream_chacha20_NONCEBYTES","crypto_stream_chacha20_ietf_KEYBYTES","crypto_stream_chacha20_ietf_MESSAGEBYTES_MAX","crypto_stream_chacha20_ietf_NONCEBYTES","crypto_stream_salsa2012_KEYBYTES","crypto_stream_salsa2012_MESSAGEBYTES_MAX","crypto_stream_salsa2012_NONCEBYTES","crypto_stream_salsa208_KEYBYTES","crypto_stream_salsa208_MESSAGEBYTES_MAX","crypto_stream_salsa208_NONCEBYTES","crypto_stream_salsa20_KEYBYTES","crypto_stream_salsa20_MESSAGEBYTES_MAX","crypto_stream_salsa20_NONCEBYTES","crypto_stream_xchacha20_KEYBYTES","crypto_stream_xchacha20_MESSAGEBYTES_MAX","crypto_stream_xchacha20_NONCEBYTES","crypto_stream_xsalsa20_KEYBYTES","crypto_stream_xsalsa20_MESSAGEBYTES_MAX","crypto_stream_xsalsa20_NONCEBYTES","crypto_verify_16_BYTES","crypto_verify_32_BYTES","crypto_verify_64_BYTES"];for(i=0;i<o.length;i++)"function"==typeof(s=r["_"+o[i].toLowerCase()])&&(t[o[i]]=s());var a=["SODIUM_VERSION_STRING","crypto_pwhash_STRPREFIX","crypto_pwhash_scryptsalsa208sha256_STRPREFIX"];for(i=0;i<a.length;i++){var s;"function"==typeof(s=r["_"+a[i].toLowerCase()])&&(t[a[i]]=r.UTF8ToString(s()))}}r=e;try{n();var i=new Uint8Array([98,97,108,108,115]),o=t.randombytes_buf(t.crypto_secretbox_NONCEBYTES),a=t.randombytes_buf(t.crypto_secretbox_KEYBYTES),s=t.crypto_secretbox_easy(i,o,a),u=t.crypto_secretbox_open_easy(s,o,a);if(t.memcmp(i,u))return}catch(t){if(null==r.useBackupModule)throw new Error("Both wasm and asm failed to load"+t)}r.useBackupModule(),n()}));function i(t){if("function"==typeof TextEncoder)return(new TextEncoder).encode(t);t=unescape(encodeURIComponent(t));for(var e=new Uint8Array(t.length),r=0,n=t.length;r<n;r++)e[r]=t.charCodeAt(r);return e}function o(t){if("function"==typeof TextDecoder)return new TextDecoder("utf-8",{fatal:!0}).decode(t);var e=Math.ceil(t.length/8192);if(e<=1)try{return decodeURIComponent(escape(String.fromCharCode.apply(null,t)))}catch(t){throw new TypeError("The encoded data was not valid.")}for(var r="",n=0,i=0;i<e;i++){var a=Array.prototype.slice.call(t,8192*i+n,8192*(i+1)+n);if(0!=a.length){var s,u=a.length,c=0;do{var h=a[--u];h>=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<f;l++)n--,a.pop();r+=o(a)}}return r}function a(t){t=b(null,t,"input");for(var e,r,n,i="",o=0;o<t.length;o++)n=87+(r=15&t[o])+(r-10>>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<n.length;u++)i[n[u]]=h(t[n[u]],r);return i}if("string"==typeof t)return t;throw new TypeError("Cannot format output")}function f(t){for(var e=["uint8array","text","hex","base64"],r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function l(t){if(t){if("string"!=typeof t)throw new TypeError("When defined, the output format must be a string");if(!f(t))throw new Error(t+" is not a supported output format")}}function A(t){this.length=t,this.address=d(t)}function p(t){var e=d(t.length);return r.HEAPU8.set(t,e),e}function d(t){var e=r._malloc(t);if(0===e)throw{message:"_malloc() failed",length:t};return e}function g(t){if(t)for(var e=0;e<t.length;e++)n=t[e],r._free(n);var n}function y(t,e){throw g(t),new Error(e)}function m(t,e){throw g(t),new TypeError(e)}function v(t,e,r){null==e&&m(t,r+" cannot be null or undefined")}function b(t,e,r){return v(t,e,r),e instanceof Uint8Array?e:"string"==typeof e?i(e):void m(t,"unsupported input type for "+r)}function w(t,e,n,i,o,a){var s=[];l(a);var u=null;null!=t&&(u=p(t=b(s,t,"secret_nonce")),t.length,s.push(u)),e=b(s,e,"ciphertext");var c,f=r._crypto_aead_chacha20poly1305_abytes(),d=e.length;d<f&&m(s,"ciphertext is too short"),c=p(e),s.push(c);var v=null,w=0;null!=n&&(v=p(n=b(s,n,"additional_data")),w=n.length,s.push(v)),i=b(s,i,"public_nonce");var I,E=0|r._crypto_aead_chacha20poly1305_npubbytes();i.length!==E&&m(s,"invalid public_nonce length"),I=p(i),s.push(I),o=b(s,o,"key");var _,B=0|r._crypto_aead_chacha20poly1305_keybytes();o.length!==B&&m(s,"invalid key length"),_=p(o),s.push(_);var C=new A(d-r._crypto_aead_chacha20poly1305_abytes()|0),Q=C.address;if(s.push(Q),0===r._crypto_aead_chacha20poly1305_decrypt(Q,null,u,c,d,0,v,w,0,I,_)){var M=h(C,a);return g(s),M}y(s,"ciphertext cannot be decrypted using that key")}function I(t,e,n,i,o,a,s){var u=[];l(s);var c=null;null!=t&&(c=p(t=b(u,t,"secret_nonce")),t.length,u.push(c));var f=p(e=b(u,e,"ciphertext")),d=e.length;u.push(f),n=b(u,n,"mac");var v,w=0|r._crypto_box_macbytes();n.length!==w&&m(u,"invalid mac length"),v=p(n),u.push(v);var I=null,E=0;null!=i&&(I=p(i=b(u,i,"additional_data")),E=i.length,u.push(I)),o=b(u,o,"public_nonce");var _,B=0|r._crypto_aead_chacha20poly1305_npubbytes();o.length!==B&&m(u,"invalid public_nonce length"),_=p(o),u.push(_),a=b(u,a,"key");var C,Q=0|r._crypto_aead_chacha20poly1305_keybytes();a.length!==Q&&m(u,"invalid key length"),C=p(a),u.push(C);var M=new A(0|d),k=M.address;if(u.push(k),0===r._crypto_aead_chacha20poly1305_decrypt_detached(k,c,f,d,0,v,I,E,0,_,C)){var S=h(M,s);return g(u),S}y(u,"ciphertext cannot be decrypted using that key")}function E(t,e,n,i,o,a){var s=[];l(a);var u=p(t=b(s,t,"message")),c=t.length;s.push(u);var f=null,d=0;null!=e&&(f=p(e=b(s,e,"additional_data")),d=e.length,s.push(f));var v=null;null!=n&&(v=p(n=b(s,n,"secret_nonce")),n.length,s.push(v)),i=b(s,i,"public_nonce");var w,I=0|r._crypto_aead_chacha20poly1305_npubbytes();i.length!==I&&m(s,"invalid public_nonce length"),w=p(i),s.push(w),o=b(s,o,"key");var E,_=0|r._crypto_aead_chacha20poly1305_keybytes();o.length!==_&&m(s,"invalid key length"),E=p(o),s.push(E);var B=new A(c+r._crypto_aead_chacha20poly1305_abytes()|0),C=B.address;if(s.push(C),0===r._crypto_aead_chacha20poly1305_encrypt(C,null,u,c,0,f,d,0,v,w,E)){var Q=h(B,a);return g(s),Q}y(s,"invalid usage")}function _(t,e,n,i,o,a){var s=[];l(a);var u=p(t=b(s,t,"message")),c=t.length;s.push(u);var f=null,d=0;null!=e&&(f=p(e=b(s,e,"additional_data")),d=e.length,s.push(f));var v=null;null!=n&&(v=p(n=b(s,n,"secret_nonce")),n.length,s.push(v)),i=b(s,i,"public_nonce");var w,I=0|r._crypto_aead_chacha20poly1305_npubbytes();i.length!==I&&m(s,"invalid public_nonce length"),w=p(i),s.push(w),o=b(s,o,"key");var E,_=0|r._crypto_aead_chacha20poly1305_keybytes();o.length!==_&&m(s,"invalid key length"),E=p(o),s.push(E);var B=new A(0|c),C=B.address;s.push(C);var Q=new A(0|r._crypto_aead_chacha20poly1305_abytes()),M=Q.address;if(s.push(M),0===r._crypto_aead_chacha20poly1305_encrypt_detached(C,M,null,u,c,0,f,d,0,v,w,E)){var k=h({ciphertext:B,mac:Q},a);return g(s),k}y(s,"invalid usage")}function B(t,e,n,i,o,a){var s=[];l(a);var u=null;null!=t&&(u=p(t=b(s,t,"secret_nonce")),t.length,s.push(u)),e=b(s,e,"ciphertext");var c,f=r._crypto_aead_chacha20poly1305_ietf_abytes(),d=e.length;d<f&&m(s,"ciphertext is too short"),c=p(e),s.push(c);var v=null,w=0;null!=n&&(v=p(n=b(s,n,"additional_data")),w=n.length,s.push(v)),i=b(s,i,"public_nonce");var I,E=0|r._crypto_aead_chacha20poly1305_ietf_npubbytes();i.length!==E&&m(s,"invalid public_nonce length"),I=p(i),s.push(I),o=b(s,o,"key");var _,B=0|r._crypto_aead_chacha20poly1305_ietf_keybytes();o.length!==B&&m(s,"invalid key length"),_=p(o),s.push(_);var C=new A(d-r._crypto_aead_chacha20poly1305_ietf_abytes()|0),Q=C.address;if(s.push(Q),0===r._crypto_aead_chacha20poly1305_ietf_decrypt(Q,null,u,c,d,0,v,w,0,I,_)){var M=h(C,a);return g(s),M}y(s,"ciphertext cannot be decrypted using that key")}function C(t,e,n,i,o,a,s){var u=[];l(s);var c=null;null!=t&&(c=p(t=b(u,t,"secret_nonce")),t.length,u.push(c));var f=p(e=b(u,e,"ciphertext")),d=e.length;u.push(f),n=b(u,n,"mac");var v,w=0|r._crypto_box_macbytes();n.length!==w&&m(u,"invalid mac length"),v=p(n),u.push(v);var I=null,E=0;null!=i&&(I=p(i=b(u,i,"additional_data")),E=i.length,u.push(I)),o=b(u,o,"public_nonce");var _,B=0|r._crypto_aead_chacha20poly1305_ietf_npubbytes();o.length!==B&&m(u,"invalid public_nonce length"),_=p(o),u.push(_),a=b(u,a,"key");var C,Q=0|r._crypto_aead_chacha20poly1305_ietf_keybytes();a.length!==Q&&m(u,"invalid key length"),C=p(a),u.push(C);var M=new A(0|d),k=M.address;if(u.push(k),0===r._crypto_aead_chacha20poly1305_ietf_decrypt_detached(k,c,f,d,0,v,I,E,0,_,C)){var S=h(M,s);return g(u),S}y(u,"ciphertext cannot be decrypted using that key")}function Q(t,e,n,i,o,a){var s=[];l(a);var u=p(t=b(s,t,"message")),c=t.length;s.push(u);var f=null,d=0;null!=e&&(f=p(e=b(s,e,"additional_data")),d=e.length,s.push(f));var v=null;null!=n&&(v=p(n=b(s,n,"secret_nonce")),n.length,s.push(v)),i=b(s,i,"public_nonce");var w,I=0|r._crypto_aead_chacha20poly1305_ietf_npubbytes();i.length!==I&&m(s,"invalid public_nonce length"),w=p(i),s.push(w),o=b(s,o,"key");var E,_=0|r._crypto_aead_chacha20poly1305_ietf_keybytes();o.length!==_&&m(s,"invalid key length"),E=p(o),s.push(E);var B=new A(c+r._crypto_aead_chacha20poly1305_ietf_abytes()|0),C=B.address;if(s.push(C),0===r._crypto_aead_chacha20poly1305_ietf_encrypt(C,null,u,c,0,f,d,0,v,w,E)){var Q=h(B,a);return g(s),Q}y(s,"invalid usage")}function M(t,e,n,i,o,a){var s=[];l(a);var u=p(t=b(s,t,"message")),c=t.length;s.push(u);var f=null,d=0;null!=e&&(f=p(e=b(s,e,"additional_data")),d=e.length,s.push(f));var v=null;null!=n&&(v=p(n=b(s,n,"secret_nonce")),n.length,s.push(v)),i=b(s,i,"public_nonce");var w,I=0|r._crypto_aead_chacha20poly1305_ietf_npubbytes();i.length!==I&&m(s,"invalid public_nonce length"),w=p(i),s.push(w),o=b(s,o,"key");var E,_=0|r._crypto_aead_chacha20poly1305_ietf_keybytes();o.length!==_&&m(s,"invalid key length"),E=p(o),s.push(E);var B=new A(0|c),C=B.address;s.push(C);var Q=new A(0|r._crypto_aead_chacha20poly1305_ietf_abytes()),M=Q.address;if(s.push(M),0===r._crypto_aead_chacha20poly1305_ietf_encrypt_detached(C,M,null,u,c,0,f,d,0,v,w,E)){var k=h({ciphertext:B,mac:Q},a);return g(s),k}y(s,"invalid usage")}function k(t){var e=[];l(t);var n=new A(0|r._crypto_aead_chacha20poly1305_ietf_keybytes()),i=n.address;e.push(i),r._crypto_aead_chacha20poly1305_ietf_keygen(i);var o=h(n,t);return g(e),o}function S(t){var e=[];l(t);var n=new A(0|r._crypto_aead_chacha20poly1305_keybytes()),i=n.address;e.push(i),r._crypto_aead_chacha20poly1305_keygen(i);var o=h(n,t);return g(e),o}function x(t,e,n,i,o,a){var s=[];l(a);var u=null;null!=t&&(u=p(t=b(s,t,"secret_nonce")),t.length,s.push(u)),e=b(s,e,"ciphertext");var c,f=r._crypto_aead_xchacha20poly1305_ietf_abytes(),d=e.length;d<f&&m(s,"ciphertext is too short"),c=p(e),s.push(c);var v=null,w=0;null!=n&&(v=p(n=b(s,n,"additional_data")),w=n.length,s.push(v)),i=b(s,i,"public_nonce");var I,E=0|r._crypto_aead_xchacha20poly1305_ietf_npubbytes();i.length!==E&&m(s,"invalid public_nonce length"),I=p(i),s.push(I),o=b(s,o,"key");var _,B=0|r._crypto_aead_xchacha20poly1305_ietf_keybytes();o.length!==B&&m(s,"invalid key length"),_=p(o),s.push(_);var C=new A(d-r._crypto_aead_xchacha20poly1305_ietf_abytes()|0),Q=C.address;if(s.push(Q),0===r._crypto_aead_xchacha20poly1305_ietf_decrypt(Q,null,u,c,d,0,v,w,0,I,_)){var M=h(C,a);return g(s),M}y(s,"ciphertext cannot be decrypted using that key")}function D(t,e,n,i,o,a,s){var u=[];l(s);var c=null;null!=t&&(c=p(t=b(u,t,"secret_nonce")),t.length,u.push(c));var f=p(e=b(u,e,"ciphertext")),d=e.length;u.push(f),n=b(u,n,"mac");var v,w=0|r._crypto_box_macbytes();n.length!==w&&m(u,"invalid mac length"),v=p(n),u.push(v);var I=null,E=0;null!=i&&(I=p(i=b(u,i,"additional_data")),E=i.length,u.push(I)),o=b(u,o,"public_nonce");var _,B=0|r._crypto_aead_xchacha20poly1305_ietf_npubbytes();o.length!==B&&m(u,"invalid public_nonce length"),_=p(o),u.push(_),a=b(u,a,"key");var C,Q=0|r._crypto_aead_xchacha20poly1305_ietf_keybytes();a.length!==Q&&m(u,"invalid key length"),C=p(a),u.push(C);var M=new A(0|d),k=M.address;if(u.push(k),0===r._crypto_aead_xchacha20poly1305_ietf_decrypt_detached(k,c,f,d,0,v,I,E,0,_,C)){var S=h(M,s);return g(u),S}y(u,"ciphertext cannot be decrypted using that key")}function R(t,e,n,i,o,a){var s=[];l(a);var u=p(t=b(s,t,"message")),c=t.length;s.push(u);var f=null,d=0;null!=e&&(f=p(e=b(s,e,"additional_data")),d=e.length,s.push(f));var v=null;null!=n&&(v=p(n=b(s,n,"secret_nonce")),n.length,s.push(v)),i=b(s,i,"public_nonce");var w,I=0|r._crypto_aead_xchacha20poly1305_ietf_npubbytes();i.length!==I&&m(s,"invalid public_nonce length"),w=p(i),s.push(w),o=b(s,o,"key");var E,_=0|r._crypto_aead_xchacha20poly1305_ietf_keybytes();o.length!==_&&m(s,"invalid key length"),E=p(o),s.push(E);var B=new A(c+r._crypto_aead_xchacha20poly1305_ietf_abytes()|0),C=B.address;if(s.push(C),0===r._crypto_aead_xchacha20poly1305_ietf_encrypt(C,null,u,c,0,f,d,0,v,w,E)){var Q=h(B,a);return g(s),Q}y(s,"invalid usage")}function N(t,e,n,i,o,a){var s=[];l(a);var u=p(t=b(s,t,"message")),c=t.length;s.push(u);var f=null,d=0;null!=e&&(f=p(e=b(s,e,"additional_data")),d=e.length,s.push(f));var v=null;null!=n&&(v=p(n=b(s,n,"secret_nonce")),n.length,s.push(v)),i=b(s,i,"public_nonce");var w,I=0|r._crypto_aead_xchacha20poly1305_ietf_npubbytes();i.length!==I&&m(s,"invalid public_nonce length"),w=p(i),s.push(w),o=b(s,o,"key");var E,_=0|r._crypto_aead_xchacha20poly1305_ietf_keybytes();o.length!==_&&m(s,"invalid key length"),E=p(o),s.push(E);var B=new A(0|c),C=B.address;s.push(C);var Q=new A(0|r._crypto_aead_xchacha20poly1305_ietf_abytes()),M=Q.address;if(s.push(M),0===r._crypto_aead_xchacha20poly1305_ietf_encrypt_detached(C,M,null,u,c,0,f,d,0,v,w,E)){var k=h({ciphertext:B,mac:Q},a);return g(s),k}y(s,"invalid usage")}function P(t){var e=[];l(t);var n=new A(0|r._crypto_aead_xchacha20poly1305_ietf_keybytes()),i=n.address;e.push(i),r._crypto_aead_xchacha20poly1305_ietf_keygen(i);var o=h(n,t);return g(e),o}function T(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_auth_keybytes();e.length!==u&&m(i,"invalid key length"),s=p(e),i.push(s);var c=new A(0|r._crypto_auth_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_auth(f,o,a,0,s))){var d=h(c,n);return g(i),d}y(i,"invalid usage")}function O(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_auth_hmacsha256_keybytes();e.length!==u&&m(i,"invalid key length"),s=p(e),i.push(s);var c=new A(0|r._crypto_auth_hmacsha256_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_auth_hmacsha256(f,o,a,0,s))){var d=h(c,n);return g(i),d}y(i,"invalid usage")}function F(t){var e=[];l(t);var n=new A(0|r._crypto_auth_hmacsha256_keybytes()),i=n.address;e.push(i),r._crypto_auth_hmacsha256_keygen(i);var o=h(n,t);return g(e),o}function U(t,e,n){var i=[];t=b(i,t,"tag");var o,a=0|r._crypto_auth_hmacsha256_bytes();t.length!==a&&m(i,"invalid tag 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_auth_hmacsha256_keybytes();n.length!==h&&m(i,"invalid key length"),c=p(n),i.push(c);var f=0==(0|r._crypto_auth_hmacsha256_verify(o,s,u,0,c));return g(i),f}function L(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_auth_hmacsha512_keybytes();e.length!==u&&m(i,"invalid key length"),s=p(e),i.push(s);var c=new A(0|r._crypto_auth_hmacsha512_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_auth_hmacsha512(f,o,a,0,s))){var d=h(c,n);return g(i),d}y(i,"invalid usage")}function G(t){var e=[];l(t);var n=new A(0|r._crypto_auth_hmacsha512_keybytes()),i=n.address;e.push(i),r._crypto_auth_hmacsha512_keygen(i);var o=h(n,t);return g(e),o}function H(t,e,n){var i=[];t=b(i,t,"tag");var o,a=0|r._crypto_auth_hmacsha512_bytes();t.length!==a&&m(i,"invalid tag 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_auth_hmacsha512_keybytes();n.length!==h&&m(i,"invalid key length"),c=p(n),i.push(c);var f=0==(0|r._crypto_auth_hmacsha512_verify(o,s,u,0,c));return g(i),f}function j(t){var e=[];l(t);var n=new A(0|r._crypto_auth_keybytes()),i=n.address;e.push(i),r._crypto_auth_keygen(i);var o=h(n,t);return g(e),o}function Y(t,e,n){var i=[];t=b(i,t,"tag");var o,a=0|r._crypto_auth_bytes();t.length!==a&&m(i,"invalid tag 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_auth_keybytes();n.length!==h&&m(i,"invalid key length"),c=p(n),i.push(c);var f=0==(0|r._crypto_auth_verify(o,s,u,0,c));return g(i),f}function K(t,e,n){var i=[];l(n),t=b(i,t,"publicKey");var o,a=0|r._crypto_box_publickeybytes();t.length!==a&&m(i,"invalid publicKey length"),o=p(t),i.push(o),e=b(i,e,"privateKey");var s,u=0|r._crypto_box_secretkeybytes();e.length!==u&&m(i,"invalid privateKey length"),s=p(e),i.push(s);var c=new A(0|r._crypto_box_beforenmbytes()),f=c.address;if(i.push(f),0==(0|r._crypto_box_beforenm(f,o,s))){var d=h(c,n);return g(i),d}y(i,"invalid usage")}function q(t){var e=[];l(t);var n=new A(0|r._crypto_box_curve25519xchacha20poly1305_publickeybytes()),i=n.address;e.push(i);var o=new A(0|r._crypto_box_curve25519xchacha20poly1305_secretkeybytes()),a=o.address;e.push(a),r._crypto_box_curve25519xchacha20poly1305_keypair(i,a);var s=h({publicKey:n,privateKey:o,keyType:"curve25519"},t);return g(e),s}function J(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,"publicKey");var s,u=0|r._crypto_box_curve25519xchacha20poly1305_publickeybytes();e.length!==u&&m(i,"invalid publicKey length"),s=p(e),i.push(s);var c=new A(a+r._crypto_box_curve25519xchacha20poly1305_sealbytes()|0),f=c.address;i.push(f),r._crypto_box_curve25519xchacha20poly1305_seal(f,o,a,0,s);var d=h(c,n);return g(i),d}function V(t,e,n,i){var o=[];l(i),t=b(o,t,"ciphertext");var a,s=r._crypto_box_curve25519xchacha20poly1305_sealbytes(),u=t.length;u<s&&m(o,"ciphertext is too short"),a=p(t),o.push(a),e=b(o,e,"publicKey");var c,f=0|r._crypto_box_curve25519xchacha20poly1305_publickeybytes();e.length!==f&&m(o,"invalid publicKey length"),c=p(e),o.push(c),n=b(o,n,"secretKey");var d,y=0|r._crypto_box_curve25519xchacha20poly1305_secretkeybytes();n.length!==y&&m(o,"invalid secretKey length"),d=p(n),o.push(d);var v=new A(u-r._crypto_box_curve25519xchacha20poly1305_sealbytes()|0),w=v.address;o.push(w),r._crypto_box_curve25519xchacha20poly1305_seal_open(w,a,u,0,c,d);var I=h(v,i);return g(o),I}function z(t,e,n,i,o){var a=[];l(o);var s=p(t=b(a,t,"message")),u=t.length;a.push(s),e=b(a,e,"nonce");var c,f=0|r._crypto_box_noncebytes();e.length!==f&&m(a,"invalid nonce length"),c=p(e),a.push(c),n=b(a,n,"publicKey");var d,v=0|r._crypto_box_publickeybytes();n.length!==v&&m(a,"invalid publicKey length"),d=p(n),a.push(d),i=b(a,i,"privateKey");var w,I=0|r._crypto_box_secretkeybytes();i.length!==I&&m(a,"invalid privateKey length"),w=p(i),a.push(w);var E=new A(0|u),_=E.address;a.push(_);var B=new A(0|r._crypto_box_macbytes()),C=B.address;if(a.push(C),0==(0|r._crypto_box_detached(_,C,s,u,0,c,d,w))){var Q=h({ciphertext:E,mac:B},o);return g(a),Q}y(a,"invalid usage")}function X(t,e,n,i,o){var a=[];l(o);var s=p(t=b(a,t,"message")),u=t.length;a.push(s),e=b(a,e,"nonce");var c,f=0|r._crypto_box_noncebytes();e.length!==f&&m(a,"invalid nonce length"),c=p(e),a.push(c),n=b(a,n,"publicKey");var d,v=0|r._crypto_box_publickeybytes();n.length!==v&&m(a,"invalid publicKey length"),d=p(n),a.push(d),i=b(a,i,"privateKey");var w,I=0|r._crypto_box_secretkeybytes();i.length!==I&&m(a,"invalid privateKey length"),w=p(i),a.push(w);var E=new A(u+r._crypto_box_macbytes()|0),_=E.address;if(a.push(_),0==(0|r._crypto_box_easy(_,s,u,0,c,d,w))){var B=h(E,o);return g(a),B}y(a,"invalid usage")}function W(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_box_noncebytes();e.length!==c&&m(o,"invalid nonce length"),u=p(e),o.push(u),n=b(o,n,"sharedKey");var f,d=0|r._crypto_box_beforenmbytes();n.length!==d&&m(o,"invalid sharedKey length"),f=p(n),o.push(f);var v=new A(s+r._crypto_box_macbytes()|0),w=v.address;if(o.push(w),0==(0|r._crypto_box_easy_afternm(w,a,s,0,u,f))){var I=h(v,i);return g(o),I}y(o,"invalid usage")}function Z(t){var e=[];l(t);var n=new A(0|r._crypto_box_publickeybytes()),i=n.address;e.push(i);var o=new A(0|r._crypto_box_secretkeybytes()),a=o.address;if(e.push(a),0==(0|r._crypto_box_keypair(i,a))){var s={publicKey:h(n,t),privateKey:h(o,t),keyType:"x25519"};return g(e),s}y(e,"internal error")}function $(t,e,n,i,o,a){var s=[];l(a);var u=p(t=b(s,t,"ciphertext")),c=t.length;s.push(u),e=b(s,e,"mac");var f,d=0|r._crypto_box_macbytes();e.length!==d&&m(s,"invalid mac length"),f=p(e),s.push(f),n=b(s,n,"nonce");var v,w=0|r._crypto_box_noncebytes();n.length!==w&&m(s,"invalid nonce length"),v=p(n),s.push(v),i=b(s,i,"publicKey");var I,E=0|r._crypto_box_publickeybytes();i.length!==E&&m(s,"invalid publicKey length"),I=p(i),s.push(I),o=b(s,o,"privateKey");var _,B=0|r._crypto_box_secretkeybytes();o.length!==B&&m(s,"invalid privateKey length"),_=p(o),s.push(_);var C=new A(0|c),Q=C.address;if(s.push(Q),0==(0|r._crypto_box_open_detached(Q,u,f,c,0,v,I,_))){var M=h(C,a);return g(s),M}y(s,"incorrect key pair for the given ciphertext")}function tt(t,e,n,i,o){var a=[];l(o),t=b(a,t,"ciphertext");var s,u=r._crypto_box_macbytes(),c=t.length;c<u&&m(a,"ciphertext is too short"),s=p(t),a.push(s),e=b(a,e,"nonce");var f,d=0|r._crypto_box_noncebytes();e.length!==d&&m(a,"invalid nonce length"),f=p(e),a.push(f),n=b(a,n,"publicKey");var v,w=0|r._crypto_box_publickeybytes();n.length!==w&&m(a,"invalid publicKey length"),v=p(n),a.push(v),i=b(a,i,"privateKey");var I,E=0|r._crypto_box_secretkeybytes();i.length!==E&&m(a,"invalid privateKey length"),I=p(i),a.push(I);var _=new A(c-r._crypto_box_macbytes()|0),B=_.address;if(a.push(B),0==(0|r._crypto_box_open_easy(B,s,c,0,f,v,I))){var C=h(_,o);return g(a),C}y(a,"incorrect key pair for the given ciphertext")}function et(t,e,n,i){var o=[];l(i);var a=p(t=b(o,t,"ciphertext")),s=t.length;o.push(a),e=b(o,e,"nonce");var u,c=0|r._crypto_box_noncebytes();e.length!==c&&m(o,"invalid nonce length"),u=p(e),o.push(u),n=b(o,n,"sharedKey");var f,d=0|r._crypto_box_beforenmbytes();n.length!==d&&m(o,"invalid sharedKey length"),f=p(n),o.push(f);var v=new A(s-r._crypto_box_macbytes()|0),w=v.address;if(o.push(w),0==(0|r._crypto_box_open_easy_afternm(w,a,s,0,u,f))){var I=h(v,i);return g(o),I}y(o,"incorrect secret key for the given ciphertext")}function rt(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,"publicKey");var s,u=0|r._crypto_box_publickeybytes();e.length!==u&&m(i,"invalid publicKey length"),s=p(e),i.push(s);var c=new A(a+r._crypto_box_sealbytes()|0),f=c.address;if(i.push(f),0==(0|r._crypto_box_seal(f,o,a,0,s))){var d=h(c,n);return g(i),d}y(i,"invalid usage")}function nt(t,e,n,i){var o=[];l(i),t=b(o,t,"ciphertext");var a,s=r._crypto_box_sealbytes(),u=t.length;u<s&&m(o,"ciphertext is too short"),a=p(t),o.push(a),e=b(o,e,"publicKey");var c,f=0|r._crypto_box_publickeybytes();e.length!==f&&m(o,"invalid publicKey length"),c=p(e),o.push(c),n=b(o,n,"privateKey");var d,v=0|r._crypto_box_secretkeybytes();n.length!==v&&m(o,"invalid privateKey length"),d=p(n),o.push(d);var w=new A(u-r._crypto_box_sealbytes()|0),I=w.address;if(o.push(I),0==(0|r._crypto_box_seal_open(I,a,u,0,c,d))){var E=h(w,i);return g(o),E}y(o,"incorrect key pair for the given ciphertext")}function it(t,e){var n=[];l(e),t=b(n,t,"seed");var i,o=0|r._crypto_box_seedbytes();t.length!==o&&m(n,"invalid seed length"),i=p(t),n.push(i);var a=new A(0|r._crypto_box_publickeybytes()),s=a.address;n.push(s);var u=new A(0|r._crypto_box_secretkeybytes()),c=u.address;if(n.push(c),0==(0|r._crypto_box_seed_keypair(s,c,i))){var f={publicKey:h(a,e),privateKey:h(u,e),keyType:"x25519"};return g(n),f}y(n,"invalid usage")}function ot(t,e,n){var i=[];l(n),t=b(i,t,"p");var o,a=0|r._crypto_core_ristretto255_bytes();t.length!==a&&m(i,"invalid p length"),o=p(t),i.push(o),e=b(i,e,"q");var s,u=0|r._crypto_core_ristretto255_bytes();e.length!==u&&m(i,"invalid q length"),s=p(e),i.push(s);var c=new A(0|r._crypto_core_ristretto255_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_core_ristretto255_add(f,o,s))){var d=h(c,n);return g(i),d}y(i,"inputs is invalid element")}function at(t,e){var n=[];l(e);var i=p(t=b(n,t,"r"));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_core_ristretto255_from_hash(a,i))){var s=h(o,e);return g(n),s}y(n,"invalid usage")}function st(t,e){var n=[];l(e);var i=p(t=b(n,t,"point"));t.length,n.push(i);var o=1==(0|r._crypto_core_ristretto255_is_valid_point(i));return g(n),o}function ut(t){var e=[];l(t);var n=new A(0|r._crypto_core_ristretto255_bytes()),i=n.address;e.push(i),r._crypto_core_ristretto255_random(i);var o=h(n,t);return g(e),o}function ct(t,e,n){var i=[];l(n),t=b(i,t,"x");var o,a=0|r._crypto_core_ristretto255_scalarbytes();t.length!==a&&m(i,"invalid x length"),o=p(t),i.push(o),e=b(i,e,"y");var s,u=0|r._crypto_core_ristretto255_scalarbytes();e.length!==u&&m(i,"invalid y length"),s=p(e),i.push(s);var c=new A(0|r._crypto_core_ristretto255_scalarbytes()),f=c.address;i.push(f),r._crypto_core_ristretto255_scalar_add(f,o,s);var d=h(c,n);return g(i),d}function ht(t,e){var n=[];l(e);var i=p(t=b(n,t,"s"));t.length,n.push(i);var o=new A(0|r._crypto_core_ristretto255_scalarbytes()),a=o.address;n.push(a),r._crypto_core_ristretto255_scalar_complement(a,i);var s=h(o,e);return g(n),s}function ft(t,e){var n=[];l(e);var i=p(t=b(n,t,"s"));t.length,n.push(i);var o=new A(0|r._crypto_core_ristretto255_scalarbytes()),a=o.address;if(n.push(a),0==(0|r._crypto_core_ristretto255_scalar_invert(a,i))){var s=h(o,e);return g(n),s}y(n,"invalid reciprocate")}function lt(t,e,n){var i=[];l(n),t=b(i,t,"x");var o,a=0|r._crypto_core_ristretto255_scalarbytes();t.length!==a&&m(i,"invalid x length"),o=p(t),i.push(o),e=b(i,e,"y");var s,u=0|r._crypto_core_ristretto255_scalarbytes();e.length!==u&&m(i,"invalid y length"),s=p(e),i.push(s);var c=new A(0|r._crypto_core_ristretto255_scalarbytes()),f=c.address;i.push(f),r._crypto_core_ristretto255_scalar_mul(f,o,s);var d=h(c,n);return g(i),d}function At(t,e){var n=[];l(e);var i=p(t=b(n,t,"s"));t.length,n.push(i);var o=new A(0|r._crypto_core_ristretto255_scalarbytes()),a=o.address;n.push(a),r._crypto_core_ristretto255_scalar_negate(a,i);var s=h(o,e);return g(n),s}function pt(t){var e=[];l(t);var n=new A(0|r._crypto_core_ristretto255_scalarbytes()),i=n.address;e.push(i),r._crypto_core_ristretto255_random(i);var o=h(n,t);return g(e),o}function dt(t,e){var n=[];l(e);var i=p(t=b(n,t,"sample"));t.length,n.push(i);var o=new A(0|r._crypto_core_ristretto255_scalarbytes()),a=o.address;n.push(a),r._crypto_core_ristretto255_scalar_reduce(a,i);var s=h(o,e);return g(n),s}function gt(t,e,n){var i=[];l(n),t=b(i,t,"x");var o,a=0|r._crypto_core_ristretto255_scalarbytes();t.length!==a&&m(i,"invalid x length"),o=p(t),i.push(o),e=b(i,e,"y");var s,u=0|r._crypto_core_ristretto255_scalarbytes();e.length!==u&&m(i,"invalid y length"),s=p(e),i.push(s);var c=new A(0|r._crypto_core_ristretto255_scalarbytes()),f=c.address;i.push(f),r._crypto_core_ristretto255_scalar_sub(f,o,s);var d=h(c,n);return g(i),d}function yt(t,e,n){var i=[];l(n),t=b(i,t,"p");var o,a=0|r._crypto_core_ristretto255_bytes();t.length!==a&&m(i,"invalid p length"),o=p(t),i.push(o),e=b(i,e,"q");var s,u=0|r._crypto_core_ristretto255_bytes();e.length!==u&&m(i,"invalid q length"),s=p(e),i.push(s);var c=new A(0|r._crypto_core_ristretto255_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_core_ristretto255_sub(f,o,s))){var d=h(c,n);return g(i),d}y(i,"inputs is invalid element")}function mt(t,e,n,i){var o=[];l(i),v(o,t,"hash_length"),("number"!=typeof t||(0|t)!==t||t<0)&&m(o,"hash_length must be an unsigned integer");var a=p(e=b(o,e,"message")),s=e.length;o.push(a);var u=null,c=0;null!=n&&(u=p(n=b(o,n,"key")),c=n.length,o.push(u));var f=new A(t|=0),d=f.address;if(o.push(d),0==(0|r._crypto_generichash(d,t,a,s,0,u,c))){var w=h(f,i);return g(o),w}y(o,"invalid usage")}function vt(t,e,n,i,o){var a=[];l(o),v(a,t,"subkey_len"),("number"!=typeof t||(0|t)!==t||t<0)&&m(a,"subkey_len must be an unsigned integer");var s=null,u=0;null!=e&&(s=p(e=b(a,e,"key")),u=e.length,a.push(s)),n=b(a,n,"id");var c,f=0|r._crypto_generichash_blake2b_saltbytes();n.length!==f&&m(a,"invalid id length"),c=p(n),a.push(c),i=b(a,i,"ctx");var d,w=0|r._crypto_generichash_blake2b_personalbytes();i.length!==w&&m(a,"invalid ctx length"),d=p(i),a.push(d);var I=new A(0|t),E=I.address;if(a.push(E),0==(0|r._crypto_generichash_blake2b_salt_personal(E,t,null,0,0,s,u,c,d))){var _=h(I,o);return g(a),_}y(a,"invalid usage")}function bt(t,e,n){var i=[];l(n),v(i,t,"state_address"),v(i,e,"hash_length"),("number"!=typeof e||(0|e)!==e||e<0)&&m(i,"hash_length must be an unsigned integer");var o=new A(e|=0),a=o.address;if(i.push(a),0==(0|r._crypto_generichash_final(t,a,e))){var s=(r._free(t),h(o,n));return g(i),s}y(i,"invalid usage")}function wt(t,e,n){var i=[];l(n);var o=null,a=0;null!=t&&(o=p(t=b(i,t,"key")),a=t.length,i.push(o)),v(i,e,"hash_length"),("number"!=typeof e||(0|e)!==e||e<0)&&m(i,"hash_length must be an unsigned integer");var s=new A(357).address;if(0==(0|r._crypto_generichash_init(s,o,a,e))){var u=s;return g(i),u}y(i,"invalid usage")}function It(t){var e=[];l(t);var n=new A(0|r._crypto_generichash_keybytes()),i=n.address;e.push(i),r._crypto_generichash_keygen(i);var o=h(n,t);return g(e),o}function Et(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_generichash_update(t,o,a))&&y(i,"invalid usage"),g(i)}function _t(t,e){var n=[];l(e);var i=p(t=b(n,t,"message")),o=t.length;n.push(i);var a=new A(0|r._crypto_hash_bytes()),s=a.address;if(n.push(s),0==(0|r._crypto_hash(s,i,o,0))){var u=h(a,e);return g(n),u}y(n,"invalid usage")}function Bt(t,e){var n=[];l(e);var i=p(t=b(n,t,"message")),o=t.length;n.push(i);var a=new A(0|r._crypto_hash_sha256_bytes()),s=a.address;if(n.push(s),0==(0|r._crypto_hash_sha256(s,i,o,0))){var u=h(a,e);return g(n),u}y(n,"invalid usage")}function Ct(t,e){var n=[];l(e),v(n,t,"state_address");var i=new A(0|r._crypto_hash_sha256_bytes()),o=i.address;if(n.push(o),0==(0|r._crypto_hash_sha256_final(t,o))){var a=(r._free(t),h(i,e));return g(n),a}y(n,"invalid usage")}function Qt(t){var e=[];l(t);var n=new A(104).address;if(0==(0|r._crypto_hash_sha256_init(n))){var i=n;return g(e),i}y(e,"invalid usage")}function Mt(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_hash_sha256_update(t,o,a))&&y(i,"invalid usage"),g(i)}function kt(t,e){var n=[];l(e);var i=p(t=b(n,t,"message")),o=t.length;n.push(i);var a=new A(0|r._crypto_hash_sha512_bytes()),s=a.address;if(n.push(s),0==(0|r._crypto_hash_sha512(s,i,o,0))){var u=h(a,e);return g(n),u}y(n,"invalid usage")}function St(t,e){var n=[];l(e),v(n,t,"state_address");var i=new A(0|r._crypto_hash_sha512_bytes()),o=i.address;if(n.push(o),0==(0|r._crypto_hash_sha512_final(t,o))){var a=(r._free(t),h(i,e));return g(n),a}y(n,"invalid usage")}function xt(t){var e=[];l(t);var n=new A(208).address;if(0==(0|r._crypto_hash_sha512_init(n))){var i=n;return g(e),i}y(e,"invalid usage")}function Dt(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_hash_sha512_update(t,o,a))&&y(i,"invalid usage"),g(i)}function Rt(t,e,n,o,a){var s=[];l(a),v(s,t,"subkey_len"),("number"!=typeof t||(0|t)!==t||t<0)&&m(s,"subkey_len must be an unsigned integer"),v(s,e,"subkey_id"),("number"!=typeof e||(0|e)!==e||e<0)&&m(s,"subkey_id must be an unsigned integer"),"string"!=typeof n&&m(s,"ctx must be a string"),n=i(n+"\0"),null!=c&&n.length-1!==c&&m(s,"invalid ctx length");var u=p(n),c=n.length-1;s.push(u),o=b(s,o,"key");var f,d=0|r._crypto_kdf_keybytes();o.length!==d&&m(s,"invalid key length"),f=p(o),s.push(f);var y=new A(0|t),w=y.address;s.push(w),r._crypto_kdf_derive_from_key(w,t,e,e>>>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<s&&m(o,"ciphertext is too short"),a=p(t),o.push(a),e=b(o,e,"nonce");var c,f=0|r._crypto_secretbox_noncebytes();e.length!==f&&m(o,"invalid nonce length"),c=p(e),o.push(c),n=b(o,n,"key");var d,v=0|r._crypto_secretbox_keybytes();n.length!==v&&m(o,"invalid key length"),d=p(n),o.push(d);var w=new A(u-r._crypto_secretbox_macbytes()|0),I=w.address;if(o.push(I),0==(0|r._crypto_secretbox_open_easy(I,a,u,0,c,d))){var E=h(w,i);return g(o),E}y(o,"wrong secret key for the given ciphertext")}function ue(t,e,n){var i=[];l(n),t=b(i,t,"header");var o,a=0|r._crypto_secretstream_xchacha20poly1305_headerbytes();t.length!==a&&m(i,"invalid header length"),o=p(t),i.push(o),e=b(i,e,"key");var s,u=0|r._crypto_secretstream_xchacha20poly1305_keybytes();e.length!==u&&m(i,"invalid key length"),s=p(e),i.push(s);var c=new A(52).address;if(0==(0|r._crypto_secretstream_xchacha20poly1305_init_pull(c,o,s))){var h=c;return g(i),h}y(i,"invalid usage")}function ce(t,e){var n=[];l(e),t=b(n,t,"key");var i,o=0|r._crypto_secretstream_xchacha20poly1305_keybytes();t.length!==o&&m(n,"invalid key length"),i=p(t),n.push(i);var a=new A(52).address,s=new A(0|r._crypto_secretstream_xchacha20poly1305_headerbytes()),u=s.address;if(n.push(u),0==(0|r._crypto_secretstream_xchacha20poly1305_init_push(a,u,i))){var c={state:a,header:h(s,e)};return g(n),c}y(n,"invalid usage")}function he(t){var e=[];l(t);var n=new A(0|r._crypto_secretstream_xchacha20poly1305_keybytes()),i=n.address;e.push(i),r._crypto_secretstream_xchacha20poly1305_keygen(i);var o=h(n,t);return g(e),o}function fe(t,e,n,i){var o=[];l(i),v(o,t,"state_address"),e=b(o,e,"cipher");var a,s=r._crypto_secretstream_xchacha20poly1305_abytes(),u=e.length;u<s&&m(o,"cipher is too short"),a=p(e),o.push(a);var c=null,f=0;null!=n&&(c=p(n=b(o,n,"ad")),f=n.length,o.push(c));var y=new A(u-r._crypto_secretstream_xchacha20poly1305_abytes()|0),w=y.address;o.push(w);var I,E=(I=d(1),o.push(I),(E=0===r._crypto_secretstream_xchacha20poly1305_pull(t,w,0,I,a,u,0,c,f)&&{tag:r.HEAPU8[I],message:y})&&{message:h(E.message,i),tag:E.tag});return g(o),E}function le(t,e,n,i,o){var a=[];l(o),v(a,t,"state_address");var s=p(e=b(a,e,"message_chunk")),u=e.length;a.push(s);var c=null,f=0;null!=n&&(c=p(n=b(a,n,"ad")),f=n.length,a.push(c)),v(a,i,"tag"),("number"!=typeof i||(0|i)!==i||i<0)&&m(a,"tag must be an unsigned integer");var d=new A(u+r._crypto_secretstream_xchacha20poly1305_abytes()|0),w=d.address;if(a.push(w),0==(0|r._crypto_secretstream_xchacha20poly1305_push(t,w,0,s,u,0,c,f,0,i))){var I=h(d,o);return g(a),I}y(a,"invalid usage")}function Ae(t,e){var n=[];return l(e),v(n,t,"state_address"),r._crypto_secretstream_xchacha20poly1305_rekey(t),g(n),!0}function pe(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_shorthash_keybytes();e.length!==u&&m(i,"invalid key length"),s=p(e),i.push(s);var c=new A(0|r._crypto_shorthash_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_shorthash(f,o,a,0,s))){var d=h(c,n);return g(i),d}y(i,"invalid usage")}function de(t){var e=[];l(t);var n=new A(0|r._crypto_shorthash_keybytes()),i=n.address;e.push(i),r._crypto_shorthash_keygen(i);var o=h(n,t);return g(e),o}function ge(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_shorthash_siphashx24_keybytes();e.length!==u&&m(i,"invalid key length"),s=p(e),i.push(s);var c=new A(0|r._crypto_shorthash_siphashx24_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_shorthash_siphashx24(f,o,a,0,s))){var d=h(c,n);return g(i),d}y(i,"invalid usage")}function ye(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,"privateKey");var s,u=0|r._crypto_sign_secretkeybytes();e.length!==u&&m(i,"invalid privateKey length"),s=p(e),i.push(s);var c=new A(t.length+r._crypto_sign_bytes()|0),f=c.address;if(i.push(f),0==(0|r._crypto_sign(f,null,o,a,0,s))){var d=h(c,n);return g(i),d}y(i,"invalid usage")}function me(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,"privateKey");var s,u=0|r._crypto_sign_secretkeybytes();e.length!==u&&m(i,"invalid privateKey length"),s=p(e),i.push(s);var c=new A(0|r._crypto_sign_bytes()),f=c.address;if(i.push(f),0==(0|r._crypto_sign_detached(f,null,o,a,0,s))){var d=h(c,n);return g(i),d}y(i,"invalid usage")}function ve(t,e){var n=[];l(e),t=b(n,t,"edPk");var i,o=0|r._crypto_sign_publickeybytes();t.length!==o&&m(n,"invalid edPk 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_sign_ed25519_pk_to_curve25519(s,i))){var u=h(a,e);return g(n),u}y(n,"invalid key")}function be(t,e){var n=[];l(e),t=b(n,t,"edSk");var i,o=0|r._crypto_sign_secretkeybytes();t.length!==o&&m(n,"invalid edSk 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_sign_ed25519_sk_to_curve25519(s,i))){var u=h(a,e);return g(n),u}y(n,"invalid key")}function we(t,e){var n=[];l(e),t=b(n,t,"privateKey");var i,o=0|r._crypto_sign_secretkeybytes();t.length!==o&&m(n,"invalid privateKey length"),i=p(t),n.push(i);var a=new A(0|r._crypto_sign_publickeybytes()),s=a.address;if(n.push(s),0==(0|r._crypto_sign_ed25519_sk_to_pk(s,i))){var u=h(a,e);return g(n),u}y(n,"invalid key")}function Ie(t,e){var n=[];l(e),t=b(n,t,"privateKey");var i,o=0|r._crypto_sign_secretkeybytes();t.length!==o&&m(n,"invalid privateKey length"),i=p(t),n.push(i);var a=new A(0|r._crypto_sign_seedbytes()),s=a.address;if(n.push(s),0==(0|r._crypto_sign_ed25519_sk_to_seed(s,i))){var u=h(a,e);return g(n),u}y(n,"invalid key")}function Ee(t,e,n){var i=[];l(n),v(i,t,"state_address"),e=b(i,e,"privateKey");var o,a=0|r._crypto_sign_secretkeybytes();e.length!==a&&m(i,"invalid privateKey length"),o=p(e),i.push(o);var s=new A(0|r._crypto_sign_bytes()),u=s.address;if(i.push(u),0==(0|r._crypto_sign_final_create(t,u,null,o))){var c=(r._free(t),h(s,n));return g(i),c}y(i,"invalid usage")}function _e(t,e,n,i){var o=[];l(i),v(o,t,"state_address"),e=b(o,e,"signature");var a,s=0|r._crypto_sign_bytes();e.length!==s&&m(o,"invalid signature length"),a=p(e),o.push(a),n=b(o,n,"publicKey");var u,c=0|r._crypto_sign_publickeybytes();n.length!==c&&m(o,"invalid publicKey length"),u=p(n),o.push(u);var h=0==(0|r._crypto_sign_final_verify(t,a,u));return g(o),h}function Be(t){var e=[];l(t);var n=new A(208).address;if(0==(0|r._crypto_sign_init(n))){var i=n;return g(e),i}y(e,"internal error")}function Ce(t){var e=[];l(t);var n=new A(0|r._crypto_sign_publickeybytes()),i=n.address;e.push(i);var o=new A(0|r._crypto_sign_secretkeybytes()),a=o.address;if(e.push(a),0==(0|r._crypto_sign_keypair(i,a))){var s={publicKey:h(n,t),privateKey:h(o,t),keyType:"ed25519"};return g(e),s}y(e,"internal error")}function Qe(t,e,n){var i=[];l(n),t=b(i,t,"signedMessage");var o,a=r._crypto_sign_bytes(),s=t.length;s<a&&m(i,"signedMessage is too short"),o=p(t),i.push(o),e=b(i,e,"publicKey");var u,c=0|r._crypto_sign_publickeybytes();e.length!==c&&m(i,"invalid publicKey length"),u=p(e),i.push(u);var f=new A(s-r._crypto_sign_bytes()|0),d=f.address;if(i.push(d),0==(0|r._crypto_sign_open(d,null,o,s,0,u))){var v=h(f,n);return g(i),v}y(i,"incorrect signature for the given public key")}function Me(t,e){var n=[];l(e),t=b(n,t,"seed");var i,o=0|r._crypto_sign_seedbytes();t.length!==o&&m(n,"invalid seed length"),i=p(t),n.push(i);var a=new A(0|r._crypto_sign_publickeybytes()),s=a.address;n.push(s);var u=new A(0|r._crypto_sign_secretkeybytes()),c=u.address;if(n.push(c),0==(0|r._crypto_sign_seed_keypair(s,c,i))){var f={publicKey:h(a,e),privateKey:h(u,e),keyType:"ed25519"};return g(n),f}y(n,"invalid usage")}function ke(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_sign_update(t,o,a))&&y(i,"invalid usage"),g(i)}function Se(t,e,n){var i=[];t=b(i,t,"signature");var o,a=0|r._crypto_sign_bytes();t.length!==a&&m(i,"invalid signature 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,"publicKey");var c,h=0|r._crypto_sign_publickeybytes();n.length!==h&&m(i,"invalid publicKey length"),c=p(n),i.push(c);var f=0==(0|r._crypto_sign_verify_detached(o,s,u,0,c));return g(i),f}function xe(t,e,n,i){var o=[];l(i),v(o,t,"outLength"),("number"!=typeof t||(0|t)!==t||t<0)&&m(o,"outLength must be an unsigned integer"),e=b(o,e,"key");var a,s=0|r._crypto_stream_chacha20_keybytes();e.length!==s&&m(o,"invalid key length"),a=p(e),o.push(a),n=b(o,n,"nonce");var u,c=0|r._crypto_stream_chacha20_noncebytes();n.length!==c&&m(o,"invalid nonce length"),u=p(n),o.push(u);var f=new A(0|t),d=f.address;o.push(d),r._crypto_stream_chacha20(d,t,0,u,a);var y=h(f,i);return g(o),y}function De(t,e,n,i){var o=[];l(i);var a=p(t=b(o,t,"input_message")),s=t.length;o.push(a),e=b(o,e,"nonce");var u,c=0|r._crypto_stream_chacha20_ietf_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_stream_chacha20_ietf_keybytes();n.length!==d&&m(o,"invalid key length"),f=p(n),o.push(f);var v=new A(0|s),w=v.address;if(o.push(w),0===r._crypto_stream_chacha20_ietf_xor(w,a,s,0,u,f)){var I=h(v,i);return g(o),I}y(o,"invalid usage")}function Re(t,e,n,i,o){var a=[];l(o);var s=p(t=b(a,t,"input_message")),u=t.length;a.push(s),e=b(a,e,"nonce");var c,f=0|r._crypto_stream_chacha20_ietf_noncebytes();e.length!==f&&m(a,"invalid nonce length"),c=p(e),a.push(c),v(a,n,"nonce_increment"),("number"!=typeof n||(0|n)!==n||n<0)&&m(a,"nonce_increment must be an unsigned integer"),i=b(a,i,"key");var d,w=0|r._crypto_stream_chacha20_ietf_keybytes();i.length!==w&&m(a,"invalid key length"),d=p(i),a.push(d);var I=new A(0|u),E=I.address;if(a.push(E),0===r._crypto_stream_chacha20_ietf_xor_ic(E,s,u,0,c,n,d)){var _=h(I,o);return g(a),_}y(a,"invalid usage")}function Ne(t){var e=[];l(t);var n=new A(0|r._crypto_stream_chacha20_keybytes()),i=n.address;e.push(i),r._crypto_stream_chacha20_keygen(i);var o=h(n,t);return g(e),o}function Pe(t,e,n,i){var o=[];l(i);var a=p(t=b(o,t,"input_message")),s=t.length;o.push(a),e=b(o,e,"nonce");var u,c=0|r._crypto_stream_chacha20_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_stream_chacha20_keybytes();n.length!==d&&m(o,"invalid key length"),f=p(n),o.push(f);var v=new A(0|s),w=v.address;if(o.push(w),0===r._crypto_stream_chacha20_xor(w,a,s,0,u,f)){var I=h(v,i);return g(o),I}y(o,"invalid usage")}function Te(t,e,n,i,o){var a=[];l(o);var s=p(t=b(a,t,"input_message")),u=t.length;a.push(s),e=b(a,e,"nonce");var c,f=0|r._crypto_stream_chacha20_noncebytes();e.length!==f&&m(a,"invalid nonce length"),c=p(e),a.push(c),v(a,n,"nonce_increment"),("number"!=typeof n||(0|n)!==n||n<0)&&m(a,"nonce_increment must be an unsigned integer"),i=b(a,i,"key");var d,w=0|r._crypto_stream_chacha20_keybytes();i.length!==w&&m(a,"invalid key length"),d=p(i),a.push(d);var I=new A(0|u),E=I.address;if(a.push(E),0===r._crypto_stream_chacha20_xor_ic(E,s,u,0,c,n,0,d)){var _=h(I,o);return g(a),_}y(a,"invalid usage")}function Oe(t){var e=[];l(t);var n=new A(0|r._crypto_stream_keybytes()),i=n.address;e.push(i),r._crypto_stream_keygen(i);var o=h(n,t);return g(e),o}function Fe(t){var e=[];l(t);var n=new A(0|r._crypto_stream_xchacha20_keybytes()),i=n.address;e.push(i),r._crypto_stream_xchacha20_keygen(i);var o=h(n,t);return g(e),o}function Ue(t,e,n,i){var o=[];l(i);var a=p(t=b(o,t,"input_message")),s=t.length;o.push(a),e=b(o,e,"nonce");var u,c=0|r._crypto_stream_xchacha20_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_stream_xchacha20_keybytes();n.length!==d&&m(o,"invalid key length"),f=p(n),o.push(f);var v=new A(0|s),w=v.address;if(o.push(w),0===r._crypto_stream_xchacha20_xor(w,a,s,0,u,f)){var I=h(v,i);return g(o),I}y(o,"invalid usage")}function Le(t,e,n,i,o){var a=[];l(o);var s=p(t=b(a,t,"input_message")),u=t.length;a.push(s),e=b(a,e,"nonce");var c,f=0|r._crypto_stream_xchacha20_noncebytes();e.length!==f&&m(a,"invalid nonce length"),c=p(e),a.push(c),v(a,n,"nonce_increment"),("number"!=typeof n||(0|n)!==n||n<0)&&m(a,"nonce_increment must be an unsigned integer"),i=b(a,i,"key");var d,w=0|r._crypto_stream_xchacha20_keybytes();i.length!==w&&m(a,"invalid key length"),d=p(i),a.push(d);var I=new A(0|u),E=I.address;if(a.push(E),0===r._crypto_stream_xchacha20_xor_ic(E,s,u,0,c,n,0,d)){var _=h(I,o);return g(a),_}y(a,"invalid usage")}function Ge(t,e){var n=[];l(e),v(n,t,"length"),("number"!=typeof t||(0|t)!==t||t<0)&&m(n,"length must be an unsigned integer");var i=new A(0|t),o=i.address;n.push(o),r._randombytes_buf(o,t);var a=h(i,e);return g(n),a}function He(t,e,n){var i=[];l(n),v(i,t,"length"),("number"!=typeof t||(0|t)!==t||t<0)&&m(i,"length must be an unsigned integer"),e=b(i,e,"seed");var o,a=0|r._randombytes_seedbytes();e.length!==a&&m(i,"invalid seed length"),o=p(e),i.push(o);var s=new A(0|t),u=s.address;i.push(u),r._randombytes_buf_deterministic(u,t,o);var c=h(s,n);return g(i),c}function je(t){l(t),r._randombytes_close()}function Ye(t){l(t);var e=r._randombytes_random()>>>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<r;i++)n>>=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<n;r++)e>>=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<n;r++)e|=t[r];return 0===e},t.libsodium=e,t.memcmp=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=0,i=t.length;n<i;n++)r|=t[n]^e[n];return 0===r},t.memzero=function(t){if(!(t instanceof Uint8Array))throw new TypeError("Only Uint8Array instances can be wiped");for(var e=0,r=t.length;e<r;e++)t[e]=0},t.output_formats=function(){return["uint8array","text","hex","base64"]},t.pad=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=[],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<f;h++)r.HEAPU8[h]=t[s],s+=a=1&~((65535&((u-=a)>>>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;r++,i++)t[i]=e[r];return t}var f,l=r(34);function A(t,e){var r=new RegExp("^("+e.join("|")+")").exec(t);if(!r||0===r.length)return f.NO_PREFIX_MATCHED;var n=r[0];if(!function(t){return"string"===typeof t&&t in s}(n))return f.NO_PREFIX_MATCHED;var i=/^(KT1\w{33})(\%(.*))?/.exec(t);i&&(t=i[1]);var o=l.decodeUnsafe(t);return o?(o=o.slice(s[n].length)).length!==u[n]?f.INVALID_LENGTH:f.VALID:f.INVALID_CHECKSUM}!function(t){t[t.NO_PREFIX_MATCHED=0]="NO_PREFIX_MATCHED",t[t.INVALID_CHECKSUM=1]="INVALID_CHECKSUM",t[t.INVALID_LENGTH=2]="INVALID_LENGTH",t[t.VALID=3]="VALID"}(f||(f={}));var p=[o.TZ1,o.TZ2,o.TZ3],d=[o.KT1],g=[o.EDSIG,o.P2SIG,o.SPSIG,o.SIG],y=[o.EDPK,o.SPPK,o.P2PK];function m(t){return A(t,h(h([],c(p)),c(d)))}function v(t){return A(t,[o.NET])}function b(t){return A(t,p)}function w(t){return A(t,g)}function I(t){return A(t,y)}var E=r(376),_=r(34);function B(t){return C(E.blake2b(x(t),null,32),s.expr)}function C(t,e){var r="string"===typeof t?Uint8Array.from(a.Buffer.from(t,"hex")):t,n=new Uint8Array(e.length+r.length);return n.set(e),n.set(r,e.length),_.encode(a.Buffer.from(n.buffer))}function Q(t){var e,r=_.decode(t),n=((e={})[s.tz1.toString()]="0000",e[s.tz2.toString()]="0001",e[s.tz3.toString()]="0002",e)[new Uint8Array(r.slice(0,3)).toString()];return n?n+D(r.slice(3)):"01"+D(r.slice(3,42))+"00"}function M(t){if("00"===t.substring(0,2)){var e={"0000":s.tz1,"0001":s.tz2,"0002":s.tz3};return C(t.substring(4),e[t.substring(0,4)])}return C(t.substring(2,42),s.KT)}function k(t){if("0"===t[0]){var e={"00":new Uint8Array([13,15,37,217]),"01":new Uint8Array([3,254,226,86]),"02":new Uint8Array([3,178,139,127])};return C(t.substring(2),e[t.substring(0,2)])}}function S(t){if("0"===t[0]){var e={"00":new Uint8Array([6,161,159]),"01":new Uint8Array([6,161,161]),"02":new Uint8Array([6,161,164])};return C(t.substring(2),e[t.substring(0,2)])}}var x=function(t){return new Uint8Array(t.match(/[\da-f]{2}/gi).map((function(t){return parseInt(t,16)})))},D=function(t){var e=new Uint8Array(t),r=[];return e.forEach((function(t){var e=("00"+t.toString(16)).slice(-2);r.push(e)})),r.join("")};function R(t){return a.Buffer.from(x(t)).toString("utf8")}},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(23);function i(t){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=r(37);function a(t,e){return!e||"object"!==i(e)&&"function"!==typeof e?Object(o.a)(t):e}function s(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,i=Object(n.a)(t);if(e){var o=Object(n.a)(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return a(this,r)}}},function(t,e,r){"use strict";function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}r.d(e,"a",(function(){return i}))},function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e,r){"use strict";r.d(e,"i",(function(){return oe})),r.d(e,"j",(function(){return ve})),r.d(e,"u",(function(){return c.a})),r.d(e,"p",(function(){return o})),r.d(e,"f",(function(){return n})),r.d(e,"y",(function(){return i})),r.d(e,"t",(function(){return s})),r.d(e,"m",(function(){return u})),r.d(e,"c",(function(){return be})),r.d(e,"d",(function(){return dt})),r.d(e,"a",(function(){return Xe})),r.d(e,"g",(function(){return we})),r.d(e,"o",(function(){return Ie})),r.d(e,"q",(function(){return Ee})),r.d(e,"r",(function(){return _e})),r.d(e,"s",(function(){return Be})),r.d(e,"w",(function(){return Ce})),r.d(e,"D",(function(){return Qe})),r.d(e,"E",(function(){return Me})),r.d(e,"B",(function(){return ar})),r.d(e,"I",(function(){return ke})),r.d(e,"G",(function(){return de})),r.d(e,"H",(function(){return ge})),r.d(e,"F",(function(){return Fe})),r.d(e,"z",(function(){return Ge})),r.d(e,"v",(function(){return Ye})),r.d(e,"J",(function(){return or})),r.d(e,"k",(function(){return tr})),r.d(e,"l",(function(){return nr})),r.d(e,"e",(function(){return Pt})),r.d(e,"L",(function(){return jt})),r.d(e,"C",(function(){return xe})),r.d(e,"h",(function(){return Je})),r.d(e,"n",(function(){return ze})),r.d(e,"x",(function(){return Ne})),r.d(e,"b",(function(){return se})),r.d(e,"A",(function(){return D.a})),r.d(e,"K",(function(){return We}));var n,i,o,a,s,u,c=r(114);!function(t){t.PermissionRequest="permission_request",t.SignPayloadRequest="sign_payload_request",t.OperationRequest="operation_request",t.BroadcastRequest="broadcast_request",t.PermissionResponse="permission_response",t.SignPayloadResponse="sign_payload_response",t.OperationResponse="operation_response",t.BroadcastResponse="broadcast_response",t.Acknowledge="acknowledge",t.Disconnect="disconnect",t.Error="error"}(n||(n={})),function(t){t.SIGN="sign",t.OPERATION_REQUEST="operation_request",t.ENCRYPT="encrypt",t.THRESHOLD="threshold"}(i||(i={})),function(t){t.MAINNET="mainnet",t.DELPHINET="delphinet",t.EDONET="edonet",t.FLORENCENET="florencenet",t.GRANADANET="granadanet",t.CUSTOM="custom"}(o||(o={})),function(t){t.ENDORSEMENT="endorsement",t.SEED_NONCE_REVELATION="seed_nonce_revelation",t.DOUBLE_ENDORSEMENT_EVIDENCE="double_endorsement_evidence",t.DOUBLE_BAKING_EVIDENCE="double_baking_evidence",t.ACTIVATE_ACCOUNT="activate_account",t.PROPOSALS="proposals",t.BALLOT="ballot",t.REVEAL="reveal",t.TRANSACTION="transaction",t.ORIGINATION="origination",t.DELEGATION="delegation"}(a||(a={})),function(t){t.WEBSITE="website",t.EXTENSION="extension",t.P2P="p2p"}(s||(s={})),function(t){t.BACKGROUND="toBackground",t.PAGE="toPage",t.EXTENSION="toExtension"}(u||(u={}));var h=r(0),f=r.n(h),l=r(1),A=r(3),p=r(23);function d(t,e,r){return(d="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Object(p.a)(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(r):i.value}})(t,e,r||t)}var g,y=r(7),m=r(6),v=r(18),b=r(2),w=r(13);!function(t){t.LIGHT="light",t.DARK="dark"}(g||(g={}));var I,E,_=g.LIGHT,B=function(t){_=t},C=function(){return _},Q=r(25),M=function(t,e,r){return t.split("{{".concat(e,"}}")).join(r)},k='<div id="beacon-alert-modal-{{id}}" class="beacon-alert__base animated fadeIn">\n <div class="beacon-modal__wrapper">\n <div class="beacon-modal__header">\n <svg\n xmlns="http://www.w3.org/2000/svg"\n id="Guides"\n x="0"\n y="0"\n version="1.1"\n viewBox="0 0 179.2 43"\n xml:space="preserve"\n width="140"\n height="40"\n >\n <style>\n .st0 {\n fill: #3880ff;\n }\n .st1 {\n fill: #fff;\n }\n </style>\n <path\n d="M45 19v.9c0 .3-.2 7.5-3.4 13.2-3.3 5.6-9.4 9.3-9.7 9.5l-.8.4-1.3-.8-7.6-4.4c-.5-.3-.9-.6-1.4-.9-.4-.3-.7-.5-1.1-.8-.8-.7-1.5-1.4-2.1-2.2-.9-1.1-1.6-2.4-2.1-3.7-.9-2.3-1.3-4.8-1.2-7.5.8-.4 1.6-.6 2.4-.6h.6c-.2 2.4.1 4.6.8 6.6 1 2.8 2.9 5.1 5.5 6.6l7.4 4.3c.2-.1.4-.2.6-.4 1.9-1.3 5.3-4.1 7.3-7.6 2.2-3.9 2.8-8.9 3-10.8L38.8 19c.3-1 .4-2.1.5-3.2L45 19z"\n class="st0"\n />\n <path\n d="M36.3 4.1v10.3c0 .5 0 1.1-.1 1.6s-.1.9-.2 1.3c-.2 1-.5 2-.9 3-.5 1.3-1.3 2.6-2.2 3.7-1.5 1.9-3.5 3.6-5.9 4.8-.9-.6-1.6-1.3-2-2.4 2.1-1 3.9-2.3 5.2-4 1.9-2.3 3-5.1 3-8.1V5.9l-.6-.3c-2-1-6.1-2.6-10.1-2.6-4.5 0-9.1 2-10.9 2.9v3.6c-1 .3-2 .7-3 1.1V4.1l.8-.4C9.7 3.5 16 0 22.5 0s12.8 3.5 13.1 3.6l.7.5z"\n class="st0"\n />\n <path\n d="M10.5 16.5l-7.4 4.3v.7c.2 2.1.9 6.5 2.9 10 2.2 3.9 6.2 6.9 7.9 8l3.1-1.8c.8.7 1.6 1.4 2.5 2L13.8 43l-.8-.5c-.3-.2-6.4-3.9-9.7-9.5C.1 27.4 0 20.2 0 19.9V19l1.3-.8L9 13.9c.5-.3.9-.5 1.4-.7.4-.2.8-.4 1.3-.5 1-.4 2-.6 3-.7 1.4-.2 2.9-.2 4.3 0 2.4.3 4.8 1.2 7.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4.6-1.1 1.7-.1 3.2.3 4.6 1.1zm-7.6 2.2c-.9.5-1.6 1.2-2.2 2.2-.6 1-.8 2.2-.8 3.7 0 1.4.3 2.7.8 3.6.6 1 1.3 1.7 2.2 2.2.9.5 1.9.7 3 .7s2.1-.2 3-.7c.9-.5 1.6-1.2 2.2-2.2.6-1 .8-2.2.8-3.6 0-1.5-.3-2.7-.8-3.7-.6-1-1.3-1.7-2.2-2.2-.9-.5-1.9-.7-3-.7s-2.1.2-3 .7zM177.3 16.7c1.3 1.3 1.9 3.3 1.9 5.8v10.4h-3V22.8c0-1.8-.5-3.2-1.4-4.1-.9-1-2.2-1.4-3.7-1.4-1.6 0-2.9.5-3.9 1.6s-1.5 2.6-1.5 4.6V33h-3V15h3v4.3c.5-1.5 1.3-2.6 2.4-3.4 1.2-.8 2.5-1.2 4-1.2 2.2 0 3.9.6 5.2 2z"\n class="st1"\n />\n </g>\n </svg>\n <div id="beacon-alert-{{id}}-close" class="beacon-modal__close__wrapper">\n <div class="beacon-modal__close__icon">\n <div class="beacon-modal__close__line1"></div>\n <div class="beacon-modal__close__line2"></div>\n </div>\n </div>\n </div>\n <div class="beacon-modal__base">\n <div id="beacon-modal__content">\n <div>\n <p class="beacon-alert__title">\n {{callToAction}}\n </p>\n\n {{main}}\n\n <div class="beacon-action__container">\n {{buttons}}\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n',S={html:'<div id="beacon-main-text" class="beacon-alert__text">\n {{body}}\n</div>\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:'<span id="pairing-container"></span>\n\n<div id="beacon-main-text" class="beacon-alert__text">\n <p id="beacon-title" class="beacon-list__title">\n Scan QR code with a Beacon-compatible wallet.\n <a href="https://docs.walletbeacon.io/supported-wallets" target="_blank">Learn more</a>\n </p>\n {{body}}\n</div>\n\n<div id="beacon--switch__container">\n <button id="beacon-switch" class="beacon-modal__button--outline"></button>\n</div>\n\n<div id="beacon--disclaimer"></div>\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,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAIIElEQVR4Ae3Ba5BeZWEA4Oc9u9kkJ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imxnmzFq/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/bQEJhAQgaYwAQmkMAEBphAQiYwgQEmkMAEJjAhsYxU1eArLQpkFKTx5MAg0mskOuTLTVgLFErsBO6lYEZRTN8i0SESgQmfq1M4MUrBU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EqkvDzC+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+txW1vtXLs2nh0723o6e13VdhU7dahzFdGCchOEAAICohAScg/kfnnzXvI+z/P/7U0lPVlGIIE31O3zEYaZqoI2Oerl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ULJ3gMcb2zhfVLneYEnWqIj/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+PDtcLHx4dNmzYRFBREeno6u3fvplWSlDIEFxrnWwQoqamp6LpOXl4ePj4+uNKrPkP/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d6crw4cPx+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/fz9G3njjCGvWrOFZE0TY0NAQLS0fYqSgoIDKyv38P4TDYYzIRJCmadTVvUUoFELPihUr8Hi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vIhp069z8TEOI+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/8x8vvY2vth7TkUNljBwziAsdO3KCnUWl7Cwq5U+rP+KO+ddx8x3TsNtttCWDNhKNRPnjW5tZ9twqTp88xxcUIM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6CivAoRQdc1bvn+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<n;c++){u+=o;for(var h=0;h<n;h++)u+=r.isDark(c,h)?i:o;u+="".concat(o,"\n")}return u+=a,u+=s}return r.createDataURL()}catch(f){throw console.error("error",f),f}},$=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())}))},tt=new R.a("Alert"),et=new D.a,rt=function(t,e){return $(void 0,void 0,void 0,f.a.mark((function r(){var n,i,o,a,s,u,c,h,l,A,p,d,g,y,m,v;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,z.getPairingInfo(e,(function(t,e,r){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:if(!r){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,ut();case 4:case"end":return t.stop()}}),t)})))}),(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:m();case 1:case"end":return t.stop()}}),t)})))}));case 2:if(n=r.sent,i=t.getElementById("pairing-container")){r.next=6;break}throw new Error("container not found");case 6:o=document.createElement("span"),i.appendChild(o),n.buttons.forEach((function(e){return $(void 0,void 0,void 0,f.a.mark((function r(){var n,i,a,s;return f.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object(Q.a)();case 2:n=r.sent,i='\n <div class="beacon-list__title">'.concat(e.title,'</div>\n\t\t<button class="beacon-modal__button connect__btn">').concat(e.text,"</button>\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<a tabindex="0" alt="'.concat(i,'" id="wallet_').concat(a,'"\n\t\t\t target="_blank" class="beacon-selection__list').concat(r.enabled?"":" disabled",'">\n\t\t\t <div class="beacon-selection__name">').concat(r.name,"\n\t\t\t ").concat(r.enabled?"":"<p>Not installed</p>","\n\t\t\t </div>\n\t\t\t ").concat(r.logo?'<div>\n\t\t\t <img class="beacon-selection__img" src="'.concat(r.logo,'"/>\n\t\t\t </div>'):'<svg class="beacon-selection__img" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="wallet" class="svg-inline--fa fa-wallet fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve"><path d="M376.2,181H152.9c-5.2,0-9.4-4.2-9.4-9.4s4.2-9.4,9.4-9.4h225c5.2,0,9.4-4.2,9.4-9.4c0-15.5-12.6-28.1-28.1-28.1H143.5c-20.7,0-37.5,16.8-37.5,37.5v187.5c0,20.7,16.8,37.5,37.5,37.5h232.7c16.4,0,29.8-12.6,29.8-28.1v-150C406,193.6,392.7,181,376.2,181z M349.8,302.9c-10.4,0-18.8-8.4-18.8-18.8s8.4-18.8,18.8-18.8s18.8,8.4,18.8,18.8S360.1,302.9,349.8,302.9z"/></svg>',"\n\t\t\t</a>\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?'<p class="beacon-alert__title">Establishing Connection..</p>\n <div id="beacon-toast-loader" class="progress-line"></div>\n <div class="beacon--selected__container">\n <img class="beacon-selection__img" src="'.concat(r.logo,'"/>\n <div class="beacon--selection__name__lg">').concat(r.name,"</div>\n </div>"):"","\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("<svg",'<svg class="beacon-alert__image"'),a.insertAdjacentHTML("afterbegin",y),s&&s.addEventListener("click",p),a&&a.addEventListener("click",p),d=!0;case 34:h.style.display="initial";case 35:case"end":return n.stop()}}),n)})))},y=!1,(m=function(){g(y?"none":c),y=!y})(),(v=t.getElementById("beacon-switch"))&&v.addEventListener("click",m);case 25:case"end":return r.stop()}}),r)})))},nt=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&&(V=window.document);var it,ot={},at=function(t,e,r,n,i){var o=r,a=n.map((function(e,r){return'<button id="beacon-alert-'.concat(t,"-").concat(r,'" class="beacon-modal__button').concat("outline"===e.style?"--outline":"",'">').concat(e.text,"</button>")})),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)?'<div id="beacon--qr__container"><div id="beacon--qr__copy__container"><button class="beacon-modal__button--outline" id="beacon--qr__copy">Copy</button></div></div>'.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:'<div id="beacon-toast" class="beacon-toast__base animated fadeIn">\n <div class="beacon-toast__content">\n <p id="beacon-text">\n {{text}}\n <a id="beacon-open-wallet" class="beacon-toast__wallet__link"\n >Open\n <svg\n aria-hidden="true"\n focusable="false"\n data-prefix="fas"\n data-icon="external-link-alt"\n class="svg-inline--fa fa-external-link-alt fa-w-16"\n role="img"\n xmlns="http://www.w3.org/2000/svg"\n viewBox="0 0 512 512"\n >\n <path\n fill="currentColor"\n d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"\n ></path></svg\n ></a>\n </p>\n\n <svg\n id="beacon-toast-button-expand"\n class="beacon-toast__more"\n aria-hidden="true"\n focusable="false"\n data-prefix="fas"\n data-icon="angle-down"\n class="svg-inline--fa fa-angle-down fa-w-10"\n role="img"\n xmlns="http://www.w3.org/2000/svg"\n viewBox="0 0 320 512"\n >\n <path\n fill="currentColor"\n d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"\n ></path>\n </svg>\n <svg\n id="beacon-toast-button-close"\n class="beacon-toast__more"\n aria-hidden="true"\n focusable="false"\n data-prefix="fal"\n data-icon="times"\n class="svg-inline--fa fa-times fa-w-10"\n role="img"\n xmlns="http://www.w3.org/2000/svg"\n viewBox="0 0 320 512"\n >\n <path\n fill="currentColor"\n d="M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"\n ></path>\n </svg>\n </div>\n <div id="beacon-toast-loader" class="progress-line"></div>\n <hr id="beacon-toast-loader-placeholder" class="hide" />\n <div id="beacon-toast-list" class="beacon-toast__more--action"></div>\n</div>\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:'<a href="https://walletbeacon.io" target="_blank">\n powered by\n <svg\n id="f63e95a9-fd19-4487-bc1a-09eb2f066704"\n data-name="Guides"\n xmlns="http://www.w3.org/2000/svg"\n width="65"\n height="65"\n viewBox="0 0 65 65"\n >\n <title>beacon_logo</title>\n <path\n fill="currentColor"\n d="M59.66,29.52v1.06c0,.37-.18,9.07-4.11,15.88S44.16,57.75,43.84,57.93l-.91.54-1.61-.93-9.19-5.3a14.68,14.68,0,0,1-1.63-1.06h0a14.09,14.09,0,0,1-1.29-1,17.63,17.63,0,0,1-2.56-2.7,18.58,18.58,0,0,1-2.56-4.51,21.53,21.53,0,0,1-1.5-9,6.21,6.21,0,0,1,2.93-.73c.25,0,.49,0,.74,0a18.29,18.29,0,0,0,1,7.93,15.06,15.06,0,0,0,6.67,8l8.93,5.16c.2-.13.43-.3.68-.48,2.26-1.6,6.42-4.92,8.86-9.13C55.12,39.94,55.8,34,56,31.57l-3.79-2.19a23,23,0,0,0,.6-3.83Z"\n />\n <path\n fill="currentColor"\n d="M49.22,11.43V23.89c0,.65,0,1.3-.1,1.94v0c-.06.55-.13,1.1-.24,1.63A18,18,0,0,1,47.82,31a19.11,19.11,0,0,1-2.62,4.49,21.37,21.37,0,0,1-7.07,5.8,6.08,6.08,0,0,1-2.42-2.84A18.1,18.1,0,0,0,42,33.7h0a15.12,15.12,0,0,0,3.58-9.81V13.6c-.21-.11-.47-.21-.74-.35-2.52-1.16-7.47-3.1-12.36-3.1-5.42,0-11,2.4-13.08,3.45V18a22.54,22.54,0,0,0-3.63,1.38V11.43l.92-.52c.33-.18,8-4.38,15.79-4.38s15.48,4.2,15.8,4.38Z"\n />\n <path\n fill="currentColor"\n d="M18,26.4,9,31.55q0,.35.06.78a31.63,31.63,0,0,0,3.49,12.28c2.71,4.71,7.55,8.3,9.53,9.64l3.79-2.19a23.33,23.33,0,0,0,3,2.44l-6.88,4-.92-.54c-.31-.18-7.75-4.69-11.68-11.5S5.36,30.92,5.35,30.56V29.49L7,28.55l9.17-5.29c.57-.32,1.14-.61,1.72-.87a13.46,13.46,0,0,1,1.55-.61A17.52,17.52,0,0,1,23,20.91a19.2,19.2,0,0,1,5.19,0,21.49,21.49,0,0,1,8.55,3.24,6.29,6.29,0,0,1-1.25,3.51,17.9,17.9,0,0,0-7.3-3.06A15.14,15.14,0,0,0,18,26.4Z"\n />\n </svg>\n Beacon\n</a>\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?"<p>".concat(r,"</p>"):"",a.innerHTML+='<p><a id="'.concat(o,'">').concat(n,"</a></p>")):n?(a.innerHTML=r.length>0?'<p class="beacon-toast__action__item__subtitle">'.concat(r,"</p>"):"",a.innerHTML+="<p>".concat(n,"</p>")):a.innerHTML="<p>".concat(r,"</p>"),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+='<span class="beacon-toast__wallet__container"><img class="beacon-toast__content__img" src="'.concat(n,'">')),o+=i?"<strong>".concat(i,"</strong></span>"):"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='<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="external-link-alt" class="svg-inline--fa fa-external-link-alt fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"></path></svg>';!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:"<strong>No answer from your wallet received yet. Please make sure the wallet is open.</strong>"}),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:'<span class="beacon-toast__wallet__outer">Request sent to&nbsp;{{wallet}}<span>',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:"<strong>".concat(n.title,"</strong>")},{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}}&nbsp;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}}&nbsp;has granted permission",timer:Ft,walletInfo:t.walletInfo,state:"finished",actions:[{text:"Address",actionText:"<strong>".concat(Nt(r.address),"</strong>")},{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}}&nbsp;successfully submitted operation",timer:Ft,state:"finished",walletInfo:t.walletInfo,actions:[{text:"<strong>".concat(Nt(n.transactionHash),"</strong>"),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}}&nbsp;successfully signed payload",timer:Ft,state:"finished",walletInfo:t.walletInfo,actions:[{text:"Signature: <strong>".concat(Nt(r.signature),"</strong>"),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}}&nbsp;successfully injected operation",timer:Ft,state:"finished",walletInfo:t.walletInfo,actions:[{text:"<strong>".concat(Nt(n.transactionHash),"</strong>"),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:'<span class="beacon-toast__wallet__outer">Awaiting confirmation in&nbsp;{{wallet}}<span>',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:'<span class="beacon-toast__wallet__outer">'.concat(r,"<span>"),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:"<p></p>",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;n<t;n++)e[n]=arguments[n];Ot.log.apply(Ot,[r].concat(e))}))}))}}]),t}(),Kt=r(15),qt=r(21),Jt=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())}))},Vt=function(){function t(e){if(Object(l.a)(this,t),this._beaconId=new v.a,this.events=new Yt,this._keyPair=new v.a,!e.name)throw new Error("Name not set");if(!e.storage)throw new Error("Storage not set");this.name=e.name,this.iconUrl=e.iconUrl,this.appUrl=e.appUrl,this.storage=e.storage,F.a.beaconCreatedClientInstance?console.warn("[BEACON] It looks like you created multiple Beacon SDK Client instances. This can lead to problems. Only create one instance and re-use it everywhere."):F.a.beaconCreatedClientInstance=!0,this.initSDK().catch(console.error)}return Object(A.a)(t,[{key:"beaconId",get:function(){return this._beaconId.promise}},{key:"keyPair",get:function(){return this._keyPair.promise}},{key:"destroy",value:function(){return Jt(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.removeBeaconEntriesFromStorage();case 2:F.a.beaconCreatedClientInstance=!1;case 3:case"end":return t.stop()}}),t,this)})))}},{key:"initSDK",value:function(){return Jt(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 this.storage.set(xe.BEACON_SDK_VERSION,qt.b).catch(console.error),this.loadOrCreateBeaconSecret().catch(console.error),t.abrupt("return",this.keyPair.then((function(t){e._beaconId.resolve(Object(Kt.i)(t.publicKey))})));case 3:case"end":return t.stop()}}),t,this)})))}},{key:"removeBeaconEntriesFromStorage",value:function(){return Jt(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 e=Object.values(xe),t.next=3,Promise.all(e.map((function(t){return r.storage.delete(t)})));case 3:case"end":return t.stop()}}),t)})))}},{key:"loadOrCreateBeaconSecret",value:function(){return Jt(this,void 0,void 0,f.a.mark((function t(){var e,r;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.storage.get(xe.BEACON_SDK_SECRET_SEED);case 2:if(!(e=t.sent)||"string"!==typeof e){t.next=11;break}return t.t0=this._keyPair,t.next=7,Object(Kt.e)(e);case 7:t.t1=t.sent,t.t0.resolve.call(t.t0,t.t1),t.next=21;break;case 11:return t.next=13,Object(Q.a)();case 13:return r=t.sent,t.next=16,this.storage.set(xe.BEACON_SDK_SECRET_SEED,r);case 16:return t.t2=this._keyPair,t.next=19,Object(Kt.e)(r);case 19:t.t3=t.sent,t.t2.resolve.call(t.t2,t.t3);case 21:case"end":return t.stop()}}),t,this)})))}}]),t}(),zt=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())}))};var Xt=function(){function t(e,r){Object(l.a)(this,t),this.storage=e,this.storageKey=r}return Object(A.a)(t,[{key:"getAll",value:function(){return zt(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.storage.get(this.storageKey));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"getOne",value:function(t){return zt(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:return e.next=2,this.storage.get(this.storageKey);case 2:return r=e.sent,e.abrupt("return",r.find(t));case 4:case"end":return e.stop()}}),e,this)})))}},{key:"addOne",value:function(t,e){var r=!(arguments.length>2&&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;o<i.length;o++)e(i[o])&&(i[o]=t)}else i.push(t);return n.abrupt("return",this.storage.set(this.storageKey,i));case 5:case"end":return n.stop()}}),n,this)})))}},{key:"remove",value:function(t){return zt(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:return e.next=2,this.storage.get(this.storageKey);case 2:return r=e.sent,n=r.filter((function(e){return!t(e)})),e.abrupt("return",this.storage.set(this.storageKey,n));case 5:case"end":return e.stop()}}),e,this)})))}},{key:"removeAll",value:function(){return zt(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.storage.delete(this.storageKey));case 1:case"end":return t.stop()}}),t,this)})))}}]),t}(),Wt=r(42),Zt=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())}))},$t=function(){function t(){Object(l.a)(this,t)}return Object(A.a)(t,null,[{key:"hasPermission",value:function(t,e,r){return Zt(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:o.t0=t.type,o.next=o.t0===n.PermissionRequest||o.t0===n.BroadcastRequest?3:o.t0===n.OperationRequest?4:o.t0===n.SignPayloadRequest?13:20;break;case 3:return o.abrupt("return",!0);case 4:return o.next=6,Object(Wt.a)(t.sourceAddress,t.network);case 6:return a=o.sent,o.next=9,e(a);case 9:if(s=o.sent){o.next=12;break}return o.abrupt("return",!1);case 12:return o.abrupt("return",s.scopes.includes(i.OPERATION_REQUEST));case 13:return o.next=15,r();case 15:if(u=o.sent,0!==(c=u.filter((function(e){return e.address===t.sourceAddress}))).length){o.next=19;break}return o.abrupt("return",!1);case 19:return o.abrupt("return",c.some((function(t){return t.scopes.includes(i.SIGN)})));case 20:throw new Error("Message not handled");case 21:case"end":return o.stop()}}),o)})))}}]),t}(),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())}))},ee=function(){function t(e){Object(l.a)(this,t),this.storageManager=new Xt(e,xe.ACCOUNTS)}return Object(A.a)(t,[{key:"getAccounts",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.storageManager.getAll());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"getAccount",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 e.abrupt("return",this.storageManager.getOne((function(e){return e.accountIdentifier===t})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"addAccount",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 e.abrupt("return",this.storageManager.addOne(t,(function(e){return e.accountIdentifier===t.accountIdentifier})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removeAccount",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 e.abrupt("return",this.storageManager.remove((function(e){return e.accountIdentifier===t})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removeAccounts",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 e.abrupt("return",this.storageManager.remove((function(e){return t.includes(e.accountIdentifier)})));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removeAllAccounts",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.storageManager.removeAll());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"hasPermission",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 e.abrupt("return",$t.hasPermission(t,this.getAccount.bind(this),this.getAccounts.bind(this)));case 1:case"end":return e.stop()}}),e,this)})))}}]),t}(),re=r(28),ne=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())}))},ie=new R.a("Client"),oe=function(t){Object(y.a)(r,t);var e=Object(m.a)(r);function r(t){var n,i,o;return Object(l.a)(this,r),(n=e.call(this,t)).rateLimit=2,n.rateLimitWindowInSeconds=5,n.requestCounter=[],n._transport=new v.a,n.events=new Yt(t.eventHandlers,null!==(i=t.disableDefaultEvents)&&void 0!==i&&i),n.accountManager=new ee(t.storage),n.matrixNodes=null!==(o=t.matrixNodes)&&void 0!==o?o:[],n.handleResponse=function(t,e){throw new Error("not overwritten".concat(JSON.stringify(t)," - ").concat(JSON.stringify(e)))},n}return Object(A.a)(r,[{key:"transport",get:function(){return this._transport.promise}},{key:"connectionStatus",get:function(){var t,e;return null!==(e=null===(t=this._transport.promiseResult)||void 0===t?void 0:t.connectionStatus)&&void 0!==e?e:de.NOT_CONNECTED}},{key:"ready",get:function(){return this.transport.then((function(){}))}},{key:"getAccounts",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.abrupt("return",this.accountManager.getAccounts());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"getAccount",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.abrupt("return",this.accountManager.getAccount(t));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removeAccount",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.abrupt("return",this.accountManager.removeAccount(t));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"removeAllAccounts",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.abrupt("return",this.accountManager.removeAllAccounts());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"addRequestAndCheckIfRateLimited",value:function(){return ne(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 e=(new Date).getTime(),this.requestCounter=this.requestCounter.filter((function(t){return t+1e3*r.rateLimitWindowInSeconds>e})),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,'<br /><pre style="text-align: left">').concat(JSON.stringify(this.data,void 0,2),"</pre>")}}]),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()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,r){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(t,e,r);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return f(this,t)}return c(this,t,e,r)}function c(t,e,r,n){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=l(t,e);return t}(t,e,r,n):"string"===typeof e?function(t,e,r){"string"===typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|p(e,r),i=(t=s(t,n)).write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function(t,e){if(u.isBuffer(e)){var r=0|A(e.length);return 0===(t=s(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||(n=e.length)!==n?s(t,0):l(t,e);if("Buffer"===e.type&&o(e.data))return l(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function h(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e){if(h(e),t=s(t,e<0?0:0|A(e)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function l(t,e){var r=e.length<0?0:0|A(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function A(t){if(t>=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;o<s;o++)if(c(t,o)===c(e,-1===h?0:o-h)){if(-1===h&&(h=o),o-h+1===u)return h*a}else-1!==h&&(o-=o-h),h=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var f=!0,l=0;l<u;l++)if(c(t,o+l)!==c(e,l)){f=!1;break}if(f)return o}return-1}function v(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(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<n;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function b(t,e,r,n){return j(G(e,t.length-r),t,r,n)}function w(t,e,r,n){return j(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function I(t,e,r,n){return w(t,e,r,n)}function E(t,e,r,n){return j(H(e),t,r,n)}function _(t,e,r,n){return j(function(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(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;i<r;){var o,a,s,u,c=t[i],h=null,f=c>239?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(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=Q));return r}(n)}e.Buffer=u,e.SlowBuffer=function(t){+t!=t&&(t=0);return u.alloc(+t)},e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),e.kMaxLength=a(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,r){return c(null,t,e,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,r){return function(t,e,r,n){return h(e),e<=0?s(t,e):void 0!==r?"string"===typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}(null,t,e,r)},u.allocUnsafe=function(t){return f(null,t)},u.allocUnsafeSlow=function(t){return f(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=u.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var a=t[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?C(this,0,t):d.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+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;f<s;++f)if(c[f]!==h[f]){o=c[f],a=h[f];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"===typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(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;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function k(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function S(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=L(t[o]);return i}function x(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function D(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)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||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.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<o;++i)t[r+i]=(e&255<<8*(n?i:1-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<o;++i)t[r+i]=e>>>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),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=u.prototype;else{var i=e-t;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},u.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||D(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},u.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||D(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(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<e&&(i*=256);)n+=this[t+o]*i;return n>=(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<r&&(i*=256);)this[e+o]=t/i&255;return e+r},u.prototype.writeUIntBE=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=r-1,o=1;for(this[e+i]=255&t;--i>=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<r&&(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.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<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=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<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},u.prototype.fill=function(t,e,r,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(o=e;o<r;++o)this[o]=t;else{var a=u.isBuffer(t)?t:G(new u(t,n).toString()),s=a.length;for(o=0;o<r-e;++o)this[o+e]=a[o%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function L(t){return t<16?"0"+t.toString(16):t.toString(16)}function G(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&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<n&&!(i+r>=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;n<e;n++)r[n-1]=arguments[n];this._log("debug",t,r)}},{key:"log",value:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];this._log("log",t,r)}},{key:"warn",value:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];this._log("warn",t,r)}},{key:"error",value:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];this._log("error",t,r)}},{key:"_log",value:function(t,e){var r,i,o,s,u=arguments.length>2&&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(!(f<h.length)){r.next=20;break}if(l=Object(n.a)(h[f],2),A=l[0],p=l[1],!e.startsWith(A)||e.length!==p.length){r.next=17;break}return u=p.prefix,d=a.decode(e),c=d.slice(A.length,d.length).toString("hex"),r.abrupt("break",20);case 17:f++,r.next=10;break;case 20:if(u&&c){r.next=22;break}throw new Error("invalid publicKey: ".concat(e));case 22:return g=s.crypto_generichash(20,t.from(c,"hex")),r.abrupt("return",a.encode(t.concat([u,t.from(g)])));case 24:case"end":return r.stop()}}),r)})))}function y(t,e){return"@".concat(t,":").concat(e)}}).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){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(t,e)||Object(n.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,r){"use strict";t.exports=r(194)},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return s}));var n,i=r(1),o=r(3);!function(t){t.PENDING="pending",t.RESOLVED="resolved",t.REJECTED="rejected"}(n||(n={}));var a=function(){throw new Error("ExposedPromise not initialized yet.")},s=function(){function t(){var e=this;Object(i.a)(this,t),this._resolve=a,this._reject=a,this._status=n.PENDING,this._promise=new Promise((function(t,r){e._resolve=function(r){e.isSettled()||(e._promiseResult=r,t(r),e._status=n.RESOLVED)},e._reject=function(t){e.isSettled()||(e._promiseError=t,r(t),e._status=n.REJECTED)}}))}return Object(o.a)(t,[{key:"promise",get:function(){return this._promise}},{key:"resolve",get:function(){return this._resolve}},{key:"reject",get:function(){return this._reject}},{key:"status",get:function(){return this._status}},{key:"promiseResult",get:function(){return this._promiseResult}},{key:"promiseError",get:function(){return this._promiseError}},{key:"isPending",value:function(){return this.status===n.PENDING}},{key:"isResolved",value:function(){return this.status===n.RESOLVED}},{key:"isRejected",value:function(){return this.status===n.REJECTED}},{key:"isSettled",value:function(){return this.isResolved()||this.isRejected()}}],[{key:"resolve",value:function(e){var r=new t;return r.resolve(e),r}},{key:"reject",value:function(e){var r=new t;return r.reject(e),r}}]),t}()},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=[function(t){}],i={postMessage:function(t,e){console.log("GOT MOCK POST MESSAGE",t),n.forEach((function(e){e({data:t})}))},addEventListener:function(t,e){n.push(e)},removeEventListener:function(t,e){n.splice(n.indexOf((function(t){return t===e})),1)},location:{origin:"*"}};try{"undefined"!==typeof window&&(i=window)}catch(o){console.log("not defined: ".concat(o))}},function(t,e){var r,n,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(r===setTimeout)return setTimeout(t,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"===typeof setTimeout?setTimeout:o}catch(t){r=o}try{n="function"===typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var u,c=[],h=!1,f=-1;function l(){h&&u&&(h=!1,u.length?c=u.concat(c):f=-1,c.length&&A())}function A(){if(!h){var t=s(l);h=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,h=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function d(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];c.push(new p(t,e)),1!==c.length||h||s(A)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=d,i.addListener=d,i.once=d,i.off=d,i.removeListener=d,i.removeAllListeners=d,i.emit=d,i.prependListener=d,i.prependOnceListener=d,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}));var n="2.3.1",i="2"},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t,e,r,n,i,o,a){try{var s=t[o](a),u=s.value}catch(c){return void r(c)}s.done?e(u):Promise.resolve(u).then(n,i)}function i(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,u,"next",t)}function u(t){n(a,i,o,s,u,"throw",t)}s(void 0)}))}}r.d(e,"a",(function(){return i}))},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return s}));var n=r(0),i=r.n(n),o=r(4),a=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 s(){return a(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,o.ready;case 2:return r=o.randombytes_buf(16),e.abrupt("return",[r.slice(0,4),r.slice(4,6),r.slice(6,8),r.slice(8,10),r.slice(10,16)].map((function(e){return t.from(e).toString("hex")})).join("-"));case 4:case"end":return e.stop()}}),e)})))}}).call(this,r(11).Buffer)},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return m})),r.d(e,"b",(function(){return St})),r.d(e,"c",(function(){return kt}));var n=r(189),i=r.n(n),o=r(38),a=r.n(o),s=r(5),u=function(t,e){return(u=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 c(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}u(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var h,f=function(){return(f=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function l(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]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function A(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=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;r<n;r++,i++)t[i]=e[r];return t}var g=Symbol.for("taquito-michelson-map-type-symbol"),y=function(t,e,r){this.value=t,this.type=e,this.name="MapTypecheckError",this.message=r+" not compliant with underlying michelson type"},m=function(){function t(t){this.valueMap=new Map,this.keyMap=new Map,this[h]=!0,t&&this.setType(t)}return t.isMichelsonMap=function(t){return t&&!0===t[g]},t.prototype.setType=function(t){if(!("args"in(e=t))||!Array.isArray(e.args)||2!==e.args.length)throw new Error("mapType is not a valid michelson map type");var e;this.keySchema=new kt(t.args[0]),this.valueSchema=new kt(t.args[1])},t.prototype.removeType=function(){this.keySchema=void 0,this.valueSchema=void 0},t.fromLiteral=function(e,r){var n=new t(r);return Object.keys(e).forEach((function(t){n.set(t,e[t])})),n},t.prototype.typecheckKey=function(t){return!this.keySchema||this.keySchema.Typecheck(t)},t.prototype.typecheckValue=function(t){return!this.valueSchema||this.valueSchema.Typecheck(t)},t.prototype.assertTypecheckValue=function(t){if(!this.typecheckValue(t))throw new y(t,this.valueSchema,"value")},t.prototype.assertTypecheckKey=function(t){if(!this.typecheckKey(t))throw new y(t,this.keySchema,"key")},t.prototype.serializeDeterministically=function(t){return i()(t)},t.prototype.keys=function(){var t,e,r,n,i,o;return l(this,(function(a){switch(a.label){case 0:a.trys.push([0,5,6,7]),t=A(this.entries()),e=t.next(),a.label=1;case 1:return e.done?[3,4]:(r=p(e.value,1),[4,r[0]]);case 2:a.sent(),a.label=3;case 3:return e=t.next(),[3,1];case 4:return[3,7];case 5:return n=a.sent(),i={error:n},[3,7];case 6:try{e&&!e.done&&(o=t.return)&&o.call(t)}finally{if(i)throw i.error}return[7];case 7:return[2]}}))},t.prototype.values=function(){var t,e,r,n,i,o;return l(this,(function(a){switch(a.label){case 0:a.trys.push([0,5,6,7]),t=A(this.entries()),e=t.next(),a.label=1;case 1:return e.done?[3,4]:(r=p(e.value,2),[4,r[1]]);case 2:a.sent(),a.label=3;case 3:return e=t.next(),[3,1];case 4:return[3,7];case 5:return n=a.sent(),i={error:n},[3,7];case 6:try{e&&!e.done&&(o=t.return)&&o.call(t)}finally{if(i)throw i.error}return[7];case 7:return[2]}}))},t.prototype.entries=function(){var t,e,r,n,i,o;return l(this,(function(a){switch(a.label){case 0:a.trys.push([0,5,6,7]),t=A(this.valueMap.keys()),e=t.next(),a.label=1;case 1:return e.done?[3,4]:(r=e.value,[4,[this.keyMap.get(r),this.valueMap.get(r)]]);case 2:a.sent(),a.label=3;case 3:return e=t.next(),[3,1];case 4:return[3,7];case 5:return n=a.sent(),i={error:n},[3,7];case 6:try{e&&!e.done&&(o=t.return)&&o.call(t)}finally{if(i)throw i.error}return[7];case 7:return[2]}}))},t.prototype.get=function(t){this.assertTypecheckKey(t);var e=this.serializeDeterministically(t);return this.valueMap.get(e)},t.prototype.set=function(t,e){this.assertTypecheckKey(t),this.assertTypecheckValue(e);var r=this.serializeDeterministically(t);this.keyMap.set(r,t),this.valueMap.set(r,e)},t.prototype.delete=function(t){this.assertTypecheckKey(t),this.keyMap.delete(this.serializeDeterministically(t)),this.valueMap.delete(this.serializeDeterministically(t))},t.prototype.has=function(t){this.assertTypecheckKey(t);var e=this.serializeDeterministically(t);return this.keyMap.has(e)&&this.valueMap.has(e)},t.prototype.clear=function(){this.keyMap.clear(),this.valueMap.clear()},Object.defineProperty(t.prototype,"size",{get:function(){return this.keyMap.size},enumerable:!1,configurable:!0}),t.prototype.forEach=function(t){var e,r;try{for(var n=A(this.entries()),i=n.next();!i.done;i=n.next()){var o=p(i.value,2),a=o[0];t(o[1],a,this)}}catch(s){e={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t}();h=g;var v=function(t,e,r){this.value=t,this.token=e,this.name="ValidationError";var n=this.token.annot(),i=n?"["+n+"] ":"";this.message=""+i+r},b=function(){function t(t,e,r){this.val=t,this.idx=e,this.fac=r,this.createToken=this.fac}return t.prototype.typeWithoutAnnotations=function(){return function t(e){return e.args?{prim:e.prim,args:e.args.map((function(e){return t(e)}))}:{prim:e.prim}}(this.val)},t.prototype.annot=function(){return(Array.isArray(this.val.annots)&&this.val.annots.length>0?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:t<e?-1:1},e}(b),I=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="BigMapValidationError",i}return c(e,t),e}(v),E=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),Object.defineProperty(e.prototype,"ValueSchema",{get:function(){return this.createToken(this.val.args[1],0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"KeySchema",{get:function(){return this.createToken(this.val.args[0],0)},enumerable:!1,configurable:!0}),e.prototype.ExtractSchema=function(){var t;return(t={})[this.KeySchema.ExtractSchema()]=this.ValueSchema.ExtractSchema(),t},e.prototype.isValid=function(t){return m.isMichelsonMap(t)?null:new I(t,this,"Value must be a MichelsonMap")},e.prototype.Encode=function(t){var e=this,r=t.pop(),n=this.isValid(r);if(n)throw n;return Array.from(r.keys()).sort((function(t,r){return e.KeySchema.compare(t,r)})).map((function(t){return{prim:"Elt",args:[e.KeySchema.EncodeObject(t),e.ValueSchema.EncodeObject(r.get(t))]}}))},e.prototype.EncodeObject=function(t){var e=this,r=t,n=this.isValid(r);if(n)throw n;return Array.from(r.keys()).sort((function(t,r){return e.KeySchema.compare(t,r)})).map((function(t){return{prim:"Elt",args:[e.KeySchema.EncodeObject(t),e.ValueSchema.EncodeObject(r.get(t))]}}))},e.prototype.Execute=function(t,r){var n=this;if(r&&r[e.prim])return r[e.prim](t,this.val);if(Array.isArray(t)){var i=new m(this.val);return t.forEach((function(t){i.set(n.KeySchema.ToKey(t.args[0]),n.ValueSchema.Execute(t.args[1]))})),i}if("int"in t)return t.int;throw new Error("Big map is expecting either an array (Athens) or an object with an int property (Babylon). Got "+JSON.stringify(t))},e.prim="big_map",e}(b),_=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.Encode=function(t){var r=t[t.length-1],n=this.createToken(this.val.args[0],this.idx),i=1;n instanceof e&&(i=Object.keys(n.ExtractSchema()).length);var o=this.createToken(this.val.args[1],this.idx+i);if(String(n.annot())!==String(r)||n instanceof e){if(String(o.annot())!==String(r)||o instanceof e){var a;if(n instanceof e)if(a=n.Encode(t))return{prim:"Left",args:[a]};if(o instanceof e)if(a=o.Encode(t))return{prim:"Right",args:[a]};return null}return t.pop(),{prim:"Right",args:[o.Encode(t)]}}return t.pop(),{prim:"Left",args:[n.Encode(t)]}},e.prototype.ExtractSignature=function(){var t,r,n,i,o=this.createToken(this.val.args[0],this.idx),a=1;o instanceof e&&(a=Object.keys(o.ExtractSchema()).length);var s=this.createToken(this.val.args[1],this.idx+a),u=[];if(o instanceof e)u.push.apply(u,d([],p(o.ExtractSignature())));else try{for(var c=A(o.ExtractSignature()),h=c.next();!h.done;h=c.next()){var f=h.value;u.push(d([o.annot()],p(f)))}}catch(y){t={error:y}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}if(s instanceof e)u.push.apply(u,d([],p(s.ExtractSignature())));else try{for(var l=A(s.ExtractSignature()),g=l.next();!g.done;g=l.next()){f=g.value;u.push(d([s.annot()],p(f)))}}catch(m){n={error:m}}finally{try{g&&!g.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return u},e.prototype.EncodeObject=function(t){var r=Object.keys(t)[0],n=this.createToken(this.val.args[0],this.idx),i=1;n instanceof e&&(i=Object.keys(n.ExtractSchema()).length);var o=this.createToken(this.val.args[1],this.idx+i);if(String(n.annot())!==String(r)||n instanceof e){if(String(o.annot())!==String(r)||o instanceof e){var a;if(n instanceof e)if(a=n.EncodeObject(t))return{prim:"Left",args:[a]};if(o instanceof e)if(a=o.EncodeObject(t))return{prim:"Right",args:[a]};return null}return{prim:"Right",args:[o.EncodeObject(t[r])]}}return{prim:"Left",args:[n.EncodeObject(t[r])]}},e.prototype.Execute=function(t,r){var n,i,o=this.createToken(this.val.args[0],this.idx),a=1;o instanceof e&&(a=Object.keys(o.ExtractSchema()).length);var s=this.createToken(this.val.args[1],this.idx+a);if("Right"===t.prim)return s instanceof e?s.Execute(t.args[0],r):((n={})[s.annot()]=s.Execute(t.args[0],r),n);if("Left"===t.prim)return o instanceof e?o.Execute(t.args[0],r):((i={})[o.annot()]=o.Execute(t.args[0],r),i);throw new Error("Was expecting Left or Right prim but got: "+t.prim)},e.prototype.traversal=function(t,r,n){var i,o,a,s=this.createToken(this.val.args[0],this.idx),u=1;s instanceof e&&!s.hasAnnotations()?(a=t(s),u=Object.keys(s.ExtractSchema()).length):((i={})[s.annot()]=t(s),a=i);var c,h=this.createToken(this.val.args[1],this.idx+u);return h instanceof e&&!h.hasAnnotations()?c=r(h):((o={})[h.annot()]=r(h),c=o),n(a,c)},e.prototype.ExtractSchema=function(){return this.traversal((function(t){return t.ExtractSchema()}),(function(t){return t.ExtractSchema()}),(function(t,e){return f(f({},t),e)}))},e.prototype.findToken=function(t){var r=this.createToken(this.val.args[0],this.idx),n=1;r instanceof e&&(n=Object.keys(r.ExtractSchema()).length);var i,o=this.createToken(this.val.args[1],this.idx+n);return String(r.annot())===String(t)&&!(r instanceof e)&&r instanceof w?r:String(o.annot())===String(t)&&!(o instanceof e)&&o instanceof w?o:r instanceof e&&(i=r.findToken(t))||o instanceof e&&(i=o.findToken(t))?i:null},e.prototype.compare=function(t,e){var r=Object.keys(t)[0];if(r!==Object.keys(e)[0])return JSON.stringify(this.EncodeObject(t))<JSON.stringify(this.EncodeObject(e))?-1:1;var n=this.findToken(r);return n instanceof w?n.compare(t[r],e[r]):void 0},e.prototype.ToKey=function(t){return this.Execute(t)},e.prototype.ToBigMapKey=function(t){return{key:this.EncodeObject(t),type:this.typeWithoutAnnotations()}},e.prim="or",e}(w);function B(t,e){if(void 0===e&&(e=Q.prim),Array.isArray(t))return B({prim:e,args:t},e);if(void 0===t.args)throw new Error("Token has no arguments");return t.args.length>2?[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:r<n?-1:1},e.prim="nat",e}(w),S=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 t[Object.keys(t)[0]]},e.prototype.ExtractSchema=function(){return e.prim},e.prototype.Encode=function(t){return{string:t.pop()}},e.prototype.EncodeObject=function(t){return{string:t}},e.prototype.ToKey=function(t){return t.string},e.prototype.ToBigMapKey=function(t){return{key:{string:t},type:{prim:e.prim}}},e.prim="string",e}(w),x=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="AddressValidationError",i}return c(e,t),e}(v),D=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.ToBigMapKey=function(t){return{key:{bytes:Object(s.d)(t)},type:{prim:"bytes"}}},e.prototype.isValid=function(t){return Object(s.k)(t)!==s.b.VALID?new x(t,this,"Address is not valid: "+t):null},e.prototype.Encode=function(t){var e=t.pop(),r=this.isValid(e);if(r)throw r;return{string:e}},e.prototype.EncodeObject=function(t){var e=this.isValid(t);if(e)throw e;return{string:t}},e.prototype.Execute=function(t){return t.string?t.string:Object(s.i)(t.bytes)},e.prototype.ExtractSchema=function(){return e.prim},e.prototype.ToKey=function(t){var e=t.bytes,r=t.string;return r||Object(s.i)(e)},e.prototype.compare=function(e,r){var n=function(t){return t.startsWith("tz")};return n(e)&&n(r)?t.prototype.compare.call(this,e,r):n(e)?-1:n(r)?1:t.prototype.compare.call(this,e,r)},e.prim="address",e}(w),R=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="MapValidationError",i}return c(e,t),e}(v),N=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),Object.defineProperty(e.prototype,"ValueSchema",{get:function(){return this.createToken(this.val.args[1],0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"KeySchema",{get:function(){return this.createToken(this.val.args[0],0)},enumerable:!1,configurable:!0}),e.prototype.isValid=function(t){return m.isMichelsonMap(t)?null:new R(t,this,"Value must be a MichelsonMap")},e.prototype.Execute=function(t,e){var r=this,n=new m(this.val);return t.forEach((function(t){n.set(r.KeySchema.ToKey(t.args[0]),r.ValueSchema.Execute(t.args[1],e))})),n},e.prototype.Encode=function(t){var e=this,r=t.pop(),n=this.isValid(r);if(n)throw n;return Array.from(r.keys()).sort((function(t,r){return e.KeySchema.compare(t,r)})).map((function(t){return{prim:"Elt",args:[e.KeySchema.EncodeObject(t),e.ValueSchema.EncodeObject(r.get(t))]}}))},e.prototype.EncodeObject=function(t){var e=this,r=t,n=this.isValid(r);if(n)throw n;return Array.from(r.keys()).sort((function(t,r){return e.KeySchema.compare(t,r)})).map((function(t){return{prim:"Elt",args:[e.KeySchema.EncodeObject(t),e.ValueSchema.EncodeObject(r.get(t))]}}))},e.prototype.ExtractSchema=function(){return{map:{key:this.KeySchema.ExtractSchema(),value:this.ValueSchema.ExtractSchema()}}},e.prim="map",e}(b),P=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"true"===String(t.prim).toLowerCase()},e.prototype.Encode=function(t){return{prim:t.pop()?"True":"False"}},e.prototype.EncodeObject=function(t){return{prim:t?"True":"False"}},e.prototype.ExtractSchema=function(){return e.prim},e.prototype.ToBigMapKey=function(t){return{key:this.EncodeObject(t),type:{prim:e.prim}}},e.prototype.ToKey=function(t){return this.EncodeObject(t)},e.prototype.compare=function(t,e){return t&&e||!t&&!e?0:t?1:-1},e.prim="bool",e}(w),T=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="ContractValidationError",i}return c(e,t),e}(v),O=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.isValid=function(t){return Object(s.k)(t)!==s.b.VALID?new T(t,this,"Contract address is not valid"):null},e.prototype.Execute=function(t){return t.string?t.string:Object(s.i)(t.bytes)},e.prototype.Encode=function(t){var e=t.pop(),r=this.isValid(e);if(r)throw r;return{string:e}},e.prototype.EncodeObject=function(t){var e=this.isValid(t);if(e)throw e;return{string:t}},e.prototype.ExtractSchema=function(){return e.prim},e.prim="contract",e}(b),F=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="ListValidationError",i}return c(e,t),e}(v),U=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.isValid=function(t){return Array.isArray(t)?null:new F(t,this,"Value must be an array")},e.prototype.Encode=function(t){var e=t.pop(),r=this.isValid(e);if(r)throw r;var n=this.createToken(this.val.args[0],0);return e.reduce((function(t,e){return d(d([],p(t)),[n.EncodeObject(e)])}),[])},e.prototype.Execute=function(t,e){var r=this.createToken(this.val.args[0],0),n=this.isValid(t);if(n)throw n;return t.reduce((function(t,n){return d(d([],p(t)),[r.Execute(n,e)])}),[])},e.prototype.EncodeObject=function(t){var e=this.createToken(this.val.args[0],0),r=this.isValid(t);if(r)throw r;return t.reduce((function(t,r){return d(d([],p(t)),[e.EncodeObject(r)])}),[])},e.prototype.ExtractSchema=function(){return e.prim},e.prim="list",e}(b),L=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="MutezValidationError",i}return c(e,t),e}(v),G=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.ExtractSchema=function(){return e.prim},e.prototype.isValid=function(t){return new a.a(t).isNaN()?new L(t,this,"Value is not a number: "+t):null},e.prototype.Encode=function(t){var e=t.pop(),r=this.isValid(e);if(r)throw r;return{int:String(e).toString()}},e.prototype.EncodeObject=function(t){var e=this.isValid(t);if(e)throw e;return{int:String(t).toString()}},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:r<n?-1:1},e.prim="mutez",e}(w),H=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="BytesValidationError",i}return c(e,t),e}(v),j=function(e){function r(t,r,n){var i=e.call(this,t,r,n)||this;return i.val=t,i.idx=r,i.fac=n,i}return c(r,e),r.prototype.ToBigMapKey=function(t){return{key:{bytes:t},type:{prim:r.prim}}},r.prototype.isValid=function(t){return"string"===typeof t&&/^[0-9a-fA-F]*$/.test(t)&&t.length%2===0?null:new H(t,this,"Invalid bytes: "+t)},r.prototype.convertUint8ArrayToHexString=function(e){return e.constructor===Uint8Array?t.from(e).toString("hex"):e},r.prototype.Encode=function(t){var e=t.pop();e=this.convertUint8ArrayToHexString(e);var r=this.isValid(e);if(r)throw r;return{bytes:String(e).toString()}},r.prototype.EncodeObject=function(t){t=this.convertUint8ArrayToHexString(t);var e=this.isValid(t);if(e)throw e;return{bytes:String(t).toString()}},r.prototype.Execute=function(t){return t.bytes},r.prototype.ExtractSchema=function(){return r.prim},r.prototype.ToKey=function(t){var e=t.bytes,r=t.string;return r||e},r.prim="bytes",r}(w),Y=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.subToken=function(){return this.createToken(this.val.args[0],this.idx)},e.prototype.annot=function(){return Array.isArray(this.val.annots)?t.prototype.annot.call(this):this.createToken(this.val.args[0],this.idx).annot()},e.prototype.Encode=function(t){var e=t;return void 0===e||null===e?{prim:"None"}:!Array.isArray(e)||void 0!==e[e.length-1]&&null!==e[e.length-1]?{prim:"Some",args:[this.createToken(this.val.args[0],0).Encode(t)]}:(e.pop(),{prim:"None"})},e.prototype.EncodeObject=function(t){var e=this.createToken(this.val.args[0],0),r=t;return void 0===r||null===r?{prim:"None"}:{prim:"Some",args:[e.EncodeObject(r)]}},e.prototype.Execute=function(t,e){return"None"===t.prim?null:this.createToken(this.val.args[0],0).Execute(t.args[0],e)},e.prototype.ExtractSchema=function(){return this.createToken(this.val.args[0],0).ExtractSchema()},e.prototype.ExtractSignature=function(){return d(d([],p(this.createToken(this.val.args[0],0).ExtractSignature())),[[]])},Object.defineProperty(e.prototype,"KeySchema",{get:function(){return this.createToken(this.val.args[0],0)},enumerable:!1,configurable:!0}),e.prototype.compare=function(t,e){return t?e?this.KeySchema.compare(t,e):1:-1},e.prototype.ToKey=function(t){return this.Execute(t)},e.prototype.ToBigMapKey=function(t){return{key:this.EncodeObject(t),type:this.typeWithoutAnnotations()}},e.prim="option",e}(w),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 t.string?new Date(t.string).toISOString():t.int?new Date(1e3*Number(t.int)).toISOString():void 0},e.prototype.Encode=function(t){return{string:t.pop()}},e.prototype.EncodeObject=function(t){return{string:t}},e.prototype.ExtractSchema=function(){return e.prim},e.prototype.ToKey=function(t){return t.string},e.prototype.ToBigMapKey=function(t){return{key:{string:t},type:{prim:e.prim}}},e.prim="timestamp",e}(w),q=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="IntValidationError",i}return c(e,t),e}(v),J=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.ExtractSchema=function(){return e.prim},e.prototype.isValid=function(t){return new a.a(t).isNaN()?new q(t,this,"Value is not a number: "+t):null},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.EncodeObject=function(t){var e=this.isValid(t);if(e)throw e;return{int:new a.a(t).toFixed()}},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:r<n?-1:1},e.prim="int",e}(w),V=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.Encode=function(t){return t.pop(),{prim:"Unit"}},e.prototype.EncodeObject=function(t){return{prim:"Unit"}},e.prototype.Execute=function(t){return xt},e.prototype.ExtractSchema=function(){return e.prim},e.prototype.compare=function(t,e){return 0},e.prototype.ToKey=function(t){return xt},e.prototype.ToBigMapKey=function(t){return{key:{prim:"Unit"},type:{prim:e.prim}}},e.prim="unit",e}(w),z=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="KeyValidationError",i}return c(e,t),e}(v),X=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 t.string?t.string:Object(s.g)(t.bytes)},e.prototype.isValid=function(t){return Object(s.n)(t)!==s.b.VALID?new z(t,this,"Key is not valid"):null},e.prototype.Encode=function(t){var e=t.pop(),r=this.isValid(e);if(r)throw r;return{string:e}},e.prototype.EncodeObject=function(t){var e=this.isValid(t);if(e)throw e;return{string:t}},e.prototype.ExtractSchema=function(){return e.prim},e.prototype.ToKey=function(t){return this.Execute(t)},e.prototype.ToBigMapKey=function(t){return{key:{string:t},type:{prim:e.prim}}},e.prim="key",e}(w),W=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="KeyHashValidationError",i}return c(e,t),e}(v),Z=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 t.string?t.string:Object(s.h)(t.bytes)},e.prototype.isValid=function(t){return Object(s.m)(t)!==s.b.VALID?new W(t,this,"KeyHash is not valid: "+t):null},e.prototype.Encode=function(t){var e=t.pop(),r=this.isValid(e);if(r)throw r;return{string:e}},e.prototype.EncodeObject=function(t){var e=this.isValid(t);if(e)throw e;return{string:t}},e.prototype.ExtractSchema=function(){return e.prim},e.prototype.ToKey=function(t){var e=t.string,r=t.bytes;return e||Object(s.h)(r)},e.prototype.ToBigMapKey=function(t){return{key:{string:t},type:{prim:e.prim}}},e.prim="key_hash",e}(w),$=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="SignatureValidationError",i}return c(e,t),e}(v),tt=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 t.string},e.prototype.isValid=function(t){return Object(s.o)(t)!==s.b.VALID?new $(t,this,"Signature is not valid"):null},e.prototype.Encode=function(t){var e=t.pop(),r=this.isValid(e);if(r)throw r;return{string:e}},e.prototype.EncodeObject=function(t){var e=this.isValid(t);if(e)throw e;return{string:t}},e.prototype.ExtractSchema=function(){return e.prim},e.prototype.ToKey=function(t){return this.Execute(t)},e.prototype.ToBigMapKey=function(t){return{key:{string:t},type:{prim:e.prim}}},e.prim="signature",e}(w),et=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 t.string?t.string:t},e.prototype.Encode=function(t){return t.pop()},e.prototype.EncodeObject=function(t){return t},e.prototype.ExtractSchema=function(){var t,r=this.createToken(this.val.args[0],this.idx),n=this.createToken(this.val.args[1],this.idx+1);return(t={})[e.prim]={parameters:r.ExtractSchema(),returns:n.ExtractSchema()},t},e.prim="lambda",e}(b),rt=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 t.string},e.prototype.Encode=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t.pop();return{string:r}},e.prototype.EncodeObject=function(t){return{string:t}},e.prototype.ExtractSchema=function(){return e.prim},e.prim="operation",e}(b),nt=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="SetValidationError",i}return c(e,t),e}(v),it=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),Object.defineProperty(e.prototype,"KeySchema",{get:function(){return this.createToken(this.val.args[0],0)},enumerable:!1,configurable:!0}),e.prototype.isValid=function(t){return Array.isArray(t)?null:new nt(t,this,"Value must be an array")},e.prototype.Encode=function(t){var e=this,r=t.pop(),n=this.isValid(r);if(n)throw n;return r.sort((function(t,r){return e.KeySchema.compare(t,r)})).reduce((function(t,r){return d(d([],p(t)),[e.KeySchema.EncodeObject(r)])}),[])},e.prototype.Execute=function(t,e){var r=this;return t.reduce((function(t,n){return d(d([],p(t)),[r.KeySchema.Execute(n,e)])}),[])},e.prototype.EncodeObject=function(t){var e=this,r=this.isValid(t);if(r)throw r;return t.sort((function(t,r){return e.KeySchema.compare(t,r)})).reduce((function(t,r){return d(d([],p(t)),[e.KeySchema.EncodeObject(r)])}),[])},e.prototype.ExtractSchema=function(){return e.prim},e.prim="set",e}(b),ot=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="ChainIDValidationError",i}return c(e,t),e}(v),at=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.isValid=function(t){return Object(s.l)(t)!==s.b.VALID?new ot(t,this,"ChainID is not valid"):null},e.prototype.Execute=function(t){return t[Object.keys(t)[0]]},e.prototype.ExtractSchema=function(){return e.prim},e.prototype.Encode=function(t){var e=t.pop(),r=this.isValid(e);if(r)throw r;return{string:e}},e.prototype.EncodeObject=function(t){var e=this.isValid(t);if(e)throw e;return{string:t}},e.prototype.ToKey=function(t){return t.string},e.prototype.ToBigMapKey=function(t){return{key:{string:t},type:{prim:e.prim}}},e.prim="chain_id",e}(w),st=function(){this.name="TicketEncodeError",this.message="Tickets cannot be sent to the blockchain; they are created on-chain"},ut={prim:"contract"},ct={prim:"int"},ht=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.Encode=function(t){throw new st},e.prototype.EncodeObject=function(t){throw new st},e.prototype.Execute=function(t,r){if(r&&r[e.prim])return r[e.prim](t,this.val);var n=this.createToken(ut,this.idx),i=this.createToken(this.val.args[0],this.idx),o=this.createToken(ct,this.idx);return{ticketer:n.Execute(t.args[0],r),value:i.Execute(t.args[1],r),amount:o.Execute(t.args[2],r)}},e.prototype.ExtractSchema=function(){var t=this.createToken(this.val.args[0],this.idx);return{ticketer:O.prim,value:t.ExtractSchema(),amount:J.prim}},e.prim="ticket",e}(b),ft=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="NeverTokenError",i}return c(e,t),e}(v),lt=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.Encode=function(t){var e=t.pop();throw new ft(e,this,"Assigning a value to the type never is forbidden.")},e.prototype.EncodeObject=function(t){throw new ft(t,this,"Assigning a value to the type never is forbidden.")},e.prototype.Execute=function(t){throw new ft(t,this,"There is no literal value for the type never.")},e.prototype.ExtractSchema=function(){return e.prim},e.prim="never",e}(b),At=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="SaplingStateValidationError",i}return c(e,t),e}(v),pt=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.isValid=function(t){return"object"===typeof t&&0===Object.keys(t).length},e.prototype.Execute=function(t,r){if(r&&r[e.prim])return r[e.prim](t,this.val);if("int"in t)return t.int;throw new Error("Sapling state is expecting an object with an int property. Got "+JSON.stringify(t))},e.prototype.Encode=function(t){var e=t.pop();if(this.isValid(e))return[];throw new At(e,this,"Invalid sapling_state. Received: "+e+" while expecting: {}")},e.prototype.EncodeObject=function(t){if(this.isValid(t))return[];throw new At(t,this,"Invalid sapling_state. Received: "+t+" while expecting: {}")},e.prototype.ExtractSchema=function(){var t;return(t={})[e.prim]={"memo-size":Number(this.val.args[0].int)},t},e.prim="sapling_state",e}(b),dt=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="SaplingTransactionValidationError",i}return c(e,t),e}(v),gt=function(e){function r(t,r,n){var i=e.call(this,t,r,n)||this;return i.val=t,i.idx=r,i.fac=n,i}return c(r,e),r.prototype.Execute=function(t){throw new Error("There is no literal value for the sapling_transaction type.")},r.prototype.validateBytes=function(t){var e=/^(0x|0X)?([0-9a-fA-F]*$)/.exec(t);if(e&&e[2].length%2===0)return e[2];throw new dt(t,this,"Invalid bytes: "+t)},r.prototype.convertUint8ArrayToHexString=function(e){return e.constructor===Uint8Array?t.from(e).toString("hex"):e},r.prototype.Encode=function(t){var e=t.pop();return e=this.validateBytes(this.convertUint8ArrayToHexString(e)),{bytes:String(e).toString()}},r.prototype.EncodeObject=function(t){return t=this.validateBytes(this.convertUint8ArrayToHexString(t)),{bytes:String(t).toString()}},r.prototype.ExtractSchema=function(){var t;return(t={})[r.prim]={"memo-size":Number(this.val.args[0].int)},t},r.prim="sapling_transaction",r}(b),yt=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="Bls12381frValidationError",i}return c(e,t),e}(v),mt=function(e){function r(t,r,n){var i=e.call(this,t,r,n)||this;return i.val=t,i.idx=r,i.fac=n,i}return c(r,e),r.prototype.isValid=function(t){return/^[0-9a-fA-F]*$/.test(t)&&t.length%2===0?null:new yt(t,this,"Invalid bytes: "+t)},r.prototype.convertUint8ArrayToHexString=function(e){return e.constructor===Uint8Array?t.from(e).toString("hex"):e},r.prototype.Encode=function(t){var e=t.pop();if("number"===typeof e)return{int:e.toString()};e=this.convertUint8ArrayToHexString(e);var r=this.isValid(e);if(r)throw r;return{bytes:e}},r.prototype.EncodeObject=function(t){if("number"===typeof t)return{int:t.toString()};t=this.convertUint8ArrayToHexString(t);var e=this.isValid(t);if(e)throw e;return{bytes:t}},r.prototype.Execute=function(t){return t.bytes},r.prototype.ExtractSchema=function(){return r.prim},r.prim="bls12_381_fr",r}(b),vt=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="Bls12381g1ValidationError",i}return c(e,t),e}(v),bt=function(e){function r(t,r,n){var i=e.call(this,t,r,n)||this;return i.val=t,i.idx=r,i.fac=n,i}return c(r,e),r.prototype.isValid=function(t){return/^[0-9a-fA-F]*$/.test(t)&&t.length%2===0?null:new vt(t,this,"Invalid bytes: "+t)},r.prototype.convertUint8ArrayToHexString=function(e){return e.constructor===Uint8Array?t.from(e).toString("hex"):e},r.prototype.Encode=function(t){var e=t.pop();e=this.convertUint8ArrayToHexString(e);var r=this.isValid(e);if(r)throw r;return{bytes:e}},r.prototype.EncodeObject=function(t){t=this.convertUint8ArrayToHexString(t);var e=this.isValid(t);if(e)throw e;return{bytes:t}},r.prototype.Execute=function(t){return t.bytes},r.prototype.ExtractSchema=function(){return r.prim},r.prim="bls12_381_g1",r}(b),wt=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="Bls12381g2ValidationError",i}return c(e,t),e}(v),It=function(e){function r(t,r,n){var i=e.call(this,t,r,n)||this;return i.val=t,i.idx=r,i.fac=n,i}return c(r,e),r.prototype.isValid=function(t){return/^[0-9a-fA-F]*$/.test(t)&&t.length%2===0?null:new wt(t,this,"Invalid bytes: "+t)},r.prototype.convertUint8ArrayToHexString=function(e){return e.constructor===Uint8Array?t.from(e).toString("hex"):e},r.prototype.Encode=function(t){var e=t.pop();e=this.convertUint8ArrayToHexString(e);var r=this.isValid(e);if(r)throw r;return{bytes:e}},r.prototype.EncodeObject=function(t){t=this.convertUint8ArrayToHexString(t);var e=this.isValid(t);if(e)throw e;return{bytes:t}},r.prototype.Execute=function(t){return t.bytes},r.prototype.ExtractSchema=function(){return r.prim},r.prim="bls12_381_g2",r}(b),Et=[Q,k,S,E,D,N,P,_,O,U,G,j,Y,K,J,V,X,Z,tt,et,rt,it,at,ht,lt,pt,gt,mt,bt,It],_t=function(t,e){this.message=t,this.data=e,this.name="Invalid token error"};function Bt(t,e){if(Array.isArray(t))return new Q(t,e,Bt);var r=Et.find((function(e){return e.prim===t.prim}));if(!r)throw new _t("Malformed data expected a value with a valid prim property",t);return new r(t,e,Bt)}var Ct=Symbol.for("taquito-schema-type-symbol");function Qt(t,e){var r,n;return void 0===e&&(e=Q.prim),Array.isArray(t)?Qt({prim:e,args:t},e):t.prim===e&&(null===(r=t.args)||void 0===r?void 0:r.length)>2?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;e<arguments.length;e++)t[e]=arguments[e];try{return this.root.Encode(t.reverse())}catch(r){if(r instanceof v)throw r;throw new Error("Unable to encode storage object. "+r)}},t.prototype.ExtractSchema=function(){return this.root.ExtractSchema()},t.prototype.ExtractSignatures=function(){return this.root.ExtractSignature()},t}(),xt=Symbol()}).call(this,r(11).Buffer)},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]+"";n<i;){for(e=t[n++]+"",r=l-e.length;r--;e="0"+e);o+=e}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function v(t,e){var r,n,i=t.c,o=e.c,a=t.s,s=e.s,u=t.e,c=e.e;if(!a||!s)return null;if(r=i&&!i[0],n=o&&!o[0],r||n)return r?n?0:-s:a;if(a!=s)return a;if(r=a<0,n=u==c,!i||!o)return n?0:!i^r?1:-1;if(!n)return u>c^r?1:-1;for(s=(u=i.length)<(c=o.length)?u:c,a=0;a<s;a++)if(i[a]!=o[a])return i[a]>o[a]^r?1:-1;return u==c?0:u>c^r?1:-1}function b(t,e,r,n){if(t<e||t>r||t!==u(t))throw Error(c+(n||"Argument")+("number"==typeof t?t<e||t>r?" 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 e<n&&(t=t.slice(0,e)+"."+t.slice(e));return t}(o=function t(e){var r,n,i,o=T.prototype={constructor:T,toString:null,valueOf:null},_=new T(1),B=20,C=4,Q=-7,M=21,k=-1e7,S=1e7,x=!1,D=1,R=0,N={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},P="0123456789abcdefghijklmnopqrstuvwxyz";function T(t,e){var r,o,s,c,f,p,d,g,y=this;if(!(y instanceof T))return new T(t,e);if(null==e){if(t&&!0===t._isBigNumber)return y.s=t.s,void(!t.c||t.e>S?y.c=y.e=null:t.e<k?y.c=[y.e=0]:(y.e=t.e,y.c=t.c.slice()));if((p="number"==typeof t)&&0*t==0){if(y.s=1/t<0?(t=-t,-1):1,t===~~t){for(c=0,f=t;f>=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;f<d;f++)if(r.indexOf(o=g.charAt(f))<0){if("."==o){if(f>c){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<k)y.c=[y.e=0];else{if(y.e=c,y.c=[],f=(c+1)%l,c<0&&(f+=l),f<d){for(f&&y.c.push(+g.slice(0,f)),d-=l;f<d;)y.c.push(+g.slice(f,f+=l));f=l-(g=g.slice(f)).length}else f-=d;for(;f--;g+="0");y.c.push(+g)}}else y.c=[y.e=0]}function O(t,e,r,n){var i,o,a,s,u;if(null==r?r=C:b(r,0,8),!t.c)return t.toString();if(i=t.c[0],a=t.e,null==e)u=m(t.c),u=1==n||2==n&&(a<=Q||a>=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(;s<e;u+="0",s++);u=I(u,o)}else if(e-=a,u=E(u,o,"0"),o+1>s){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<t.length;n++){if(!(r=new T(t[n])).s){i=r;break}e.call(i,r)&&(i=r)}return i}function U(t,e,r){for(var n=1,i=e.length;!e[--i];e.pop());for(i=e[0];i>=10;i/=10,n++);return(r=n+r*l-1)>S?t.c=t.e=null:r<k?t.c=[t.e=0]:(t.e=r,t.c=e),t}function L(t,e,r,n){var i,o,a,c,h,A,d,g=t.c,y=p;if(g){t:{for(i=1,c=g[0];c>=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<k&&(t.c=[t.e=0])}return t}function G(t){var e,r=t.e;return null===r?t.toString():(e=m(t.c),e=r<=Q||r>=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<n.length;e++)if((r=n[e])<0||r>=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<o;)(a=131072*r[h]+(r[h+1]>>>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<o;)(a=281474976710656*(31&r[h])+1099511627776*r[h+1]+4294967296*r[h+2]+16777216*r[h+3]+(r[h+4]<<16)+(r[h+5]<<8)+r[h+6])>=9e15?crypto.randomBytes(7).copy(r,h):(f.push(a%1e14),h+=7);h=o/7}if(!x)for(;h<o;)(a=e())<9e15&&(f[h++]=a%1e14);for(o=f[--h],t%=l,o&&t&&(a=p[l-t],f[h]=u(o/a)*a);0===f[h];f.pop(),h--);if(h<0)f=[i=0];else{for(i=-1;0===f[0];f.splice(0,1),i-=l);for(h=1,a=f[0];a>=10;a/=10,h++);h<l&&(i-=l-h)}return A.e=i,A.c=f,A}}(),T.sum=function(){for(var t=1,e=arguments,r=new T(e[0]);t<e.length;)r=r.plus(e[t++]);return r},n=function(){var t="0123456789";function e(t,e,r,n){for(var i,o,a=[0],s=0,u=t.length;s<u;){for(o=a.length;o--;a[o]*=e);for(a[0]+=n.indexOf(t.charAt(s++)),i=0;i<a.length;i++)a[i]>r-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;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r,n){for(var i=0;r--;)t[r]-=i,i=t[r]<e[r]?1:0,t[r]=i*n+t[r]-e[r];for(;!t[0]&&t.length>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<Q;w[I++]=0);M=x.slice(),M=[0].concat(M),C=x[0],x[1]>=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<m?M:x,m,s),m=g.length,c=1;else 0==d&&(c=d=1),m=(g=x.slice()).length;if(m<I&&(g=[0].concat(g)),r(w,g,I,s),I=w.length,-1==c)for(;e(x,w,Q,I)<1;)d++,r(w,Q<I?M:x,I,s),I=w.length}else 0===c&&(d++,w=[0]);b[A++]=d,w[0]?w[I++]=S[_]||0:(w=[S[_]],I=1)}while((_++<B||null!=w[0])&&k--);p=null!=w[0],b[0]||b.splice(0,1)}if(s==f){for(A=1,k=b[0];k>=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;e<n;e++)if(h[e]!=A[e]){o=h[e]<A[e];break}if(o&&(i=h,h=A,A=i,t.s=-t.s),(e=(n=A.length)-(r=h.length))>0)for(;e--;h[r++]=0);for(e=f-1;n>s;){if(h[--n]<A[n]){for(r=n;r&&!h[--r];h[r]=e);--h[r],h[n]+=f}h[n]-=A[n]}for(;0==h[0];h.splice(0,1),--c);return h[0]?U(t,h,c):(t.s=3==C?-1:1,t.c=[t.e=0],t)},o.modulo=o.mod=function(t,e){var n,i,o=this;return t=new T(t,e),!o.c||!t.s||t.c&&!t.c[0]?new T(NaN):!t.c||o.c&&!o.c[0]?new T(o):(9==D?(i=t.s,t.s=1,n=r(o,t,0,3),t.s=i,n.s*=i):n=r(o,t,0,D),(t=o.minus(n.times(t))).c[0]||1!=D||(t.s=o.s),t)},o.multipliedBy=o.times=function(t,e){var r,n,i,o,a,s,u,c,h,A,p,g,m,v,b,w=this,I=w.c,E=(t=new T(t,e)).c;if(!I||!E||!I[0]||!E[0])return!w.s||!t.s||I&&!I[0]&&!E||E&&!E[0]&&!I?t.c=t.e=t.s=null:(t.s*=w.s,I&&E?(t.c=[0],t.e=0):t.c=t.e=null),t;for(n=y(w.e/l)+y(t.e/l),t.s*=w.s,(u=I.length)<(A=E.length)&&(m=I,I=E,E=m,i=u,u=A,A=i),i=u+A,m=[];i--;m.push(0));for(v=f,b=d,i=A;--i>=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.e<c&&--u,"9999"!=(e=e.slice(u-3,u+1))&&(i||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(L(n,n.e+B+2,1),t=!n.times(n).eq(a));break}if(!i&&(L(o,o.e+B+2,0),o.times(o).eq(a))){n=o;break}h+=4,u+=4,i=1}return L(n,n.e+B+1,C,t)},o.toExponential=function(t,e){return null!=t&&(b(t,0,g),t++),O(this,t,e,1)},o.toFixed=function(t,e){return null!=t&&(b(t,0,g),t=t+this.e+1),O(this,t,e)},o.toFormat=function(t,e,r){var n,i=this;if(null==r)null!=t&&e&&"object"==typeof e?(r=e,e=null):t&&"object"==typeof t?(r=t,t=e=null):r=N;else if("object"!=typeof r)throw Error(c+"Argument not an object: "+r);if(n=i.toFixed(t,e),i.c){var o,a=n.split("."),s=+r.groupSize,u=+r.secondaryGroupSize,h=r.groupSeparator||"",f=a[0],l=a[1],A=i.s<0,p=A?f.slice(1):f,d=p.length;if(u&&(o=s,s=u,u=o,d-=o),s>0&&d>0){for(o=d%s||s,f=p.substr(0,o);o<d;o+=s)f+=h+p.substr(o,s);u>0&&(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<n;r++)e.call(null,t[r],r,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!==typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"===typeof t},isNumber:function(t){return"number"===typeof t},isObject:s,isPlainObject:u,isUndefined:a,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:c,isStream:function(t){return s(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:h,merge:function t(){var e={};function r(r,n){u(e[n])&&u(r)?e[n]=t(e[n],r):u(r)?e[n]=t({},r):o(r)?e[n]=r.slice():e[n]=r}for(var n=0,i=arguments.length;n<i;n++)h(arguments[n],r);return e},extend:function(t,e,r){return h(e,(function(e,i){t[i]=r&&"function"===typeof e?n(e,r):e})),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,e,r){"use strict";var n;r.d(e,"a",(function(){return n})),function(t){t.INVITE="invite",t.MESSAGE="message"}(n||(n={}))},function(t,e){function r(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=r,r.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},function(t,e,r){"use strict";var n=e,i=r(41),o=r(32),a=r(150);n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<<e+1,o=t.clone(),a=0;a<n.length;a++){var s,u=o.andln(i-1);o.isOdd()?(s=u>(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]+"";n<i;){for(e=t[n++]+"",r=l-e.length;r--;e="0"+e);o+=e}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function v(t,e){var r,n,i=t.c,o=e.c,a=t.s,s=e.s,u=t.e,c=e.e;if(!a||!s)return null;if(r=i&&!i[0],n=o&&!o[0],r||n)return r?n?0:-s:a;if(a!=s)return a;if(r=a<0,n=u==c,!i||!o)return n?0:!i^r?1:-1;if(!n)return u>c^r?1:-1;for(s=(u=i.length)<(c=o.length)?u:c,a=0;a<s;a++)if(i[a]!=o[a])return i[a]>o[a]^r?1:-1;return u==c?0:u>c^r?1:-1}function b(t,e,r,n){if(t<e||t>r||t!==u(t))throw Error(c+(n||"Argument")+("number"==typeof t?t<e||t>r?" 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 e<n&&(t=t.slice(0,e)+"."+t.slice(e));return t}(o=function t(e){var r,n,i,o=T.prototype={constructor:T,toString:null,valueOf:null},_=new T(1),B=20,C=4,Q=-7,M=21,k=-1e7,S=1e7,x=!1,D=1,R=0,N={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},P="0123456789abcdefghijklmnopqrstuvwxyz";function T(t,e){var r,o,s,c,f,p,d,g,y=this;if(!(y instanceof T))return new T(t,e);if(null==e){if(t&&!0===t._isBigNumber)return y.s=t.s,void(!t.c||t.e>S?y.c=y.e=null:t.e<k?y.c=[y.e=0]:(y.e=t.e,y.c=t.c.slice()));if((p="number"==typeof t)&&0*t==0){if(y.s=1/t<0?(t=-t,-1):1,t===~~t){for(c=0,f=t;f>=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;f<d;f++)if(r.indexOf(o=g.charAt(f))<0){if("."==o){if(f>c){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<k)y.c=[y.e=0];else{if(y.e=c,y.c=[],f=(c+1)%l,c<0&&(f+=l),f<d){for(f&&y.c.push(+g.slice(0,f)),d-=l;f<d;)y.c.push(+g.slice(f,f+=l));f=l-(g=g.slice(f)).length}else f-=d;for(;f--;g+="0");y.c.push(+g)}}else y.c=[y.e=0]}function O(t,e,r,n){var i,o,a,s,u;if(null==r?r=C:b(r,0,8),!t.c)return t.toString();if(i=t.c[0],a=t.e,null==e)u=m(t.c),u=1==n||2==n&&(a<=Q||a>=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(;s<e;u+="0",s++);u=I(u,o)}else if(e-=a,u=E(u,o,"0"),o+1>s){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<t.length;n++){if(!(r=new T(t[n])).s){i=r;break}e.call(i,r)&&(i=r)}return i}function U(t,e,r){for(var n=1,i=e.length;!e[--i];e.pop());for(i=e[0];i>=10;i/=10,n++);return(r=n+r*l-1)>S?t.c=t.e=null:r<k?t.c=[t.e=0]:(t.e=r,t.c=e),t}function L(t,e,r,n){var i,o,a,c,h,A,d,g=t.c,y=p;if(g){t:{for(i=1,c=g[0];c>=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<k&&(t.c=[t.e=0])}return t}function G(t){var e,r=t.e;return null===r?t.toString():(e=m(t.c),e=r<=Q||r>=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<n.length;e++)if((r=n[e])<0||r>=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<o;)(a=131072*r[h]+(r[h+1]>>>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<o;)(a=281474976710656*(31&r[h])+1099511627776*r[h+1]+4294967296*r[h+2]+16777216*r[h+3]+(r[h+4]<<16)+(r[h+5]<<8)+r[h+6])>=9e15?crypto.randomBytes(7).copy(r,h):(f.push(a%1e14),h+=7);h=o/7}if(!x)for(;h<o;)(a=e())<9e15&&(f[h++]=a%1e14);for(o=f[--h],t%=l,o&&t&&(a=p[l-t],f[h]=u(o/a)*a);0===f[h];f.pop(),h--);if(h<0)f=[i=0];else{for(i=-1;0===f[0];f.splice(0,1),i-=l);for(h=1,a=f[0];a>=10;a/=10,h++);h<l&&(i-=l-h)}return A.e=i,A.c=f,A}}(),T.sum=function(){for(var t=1,e=arguments,r=new T(e[0]);t<e.length;)r=r.plus(e[t++]);return r},n=function(){var t="0123456789";function e(t,e,r,n){for(var i,o,a=[0],s=0,u=t.length;s<u;){for(o=a.length;o--;a[o]*=e);for(a[0]+=n.indexOf(t.charAt(s++)),i=0;i<a.length;i++)a[i]>r-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;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r,n){for(var i=0;r--;)t[r]-=i,i=t[r]<e[r]?1:0,t[r]=i*n+t[r]-e[r];for(;!t[0]&&t.length>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<Q;w[I++]=0);M=x.slice(),M=[0].concat(M),C=x[0],x[1]>=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<m?M:x,m,s),m=g.length,c=1;else 0==d&&(c=d=1),m=(g=x.slice()).length;if(m<I&&(g=[0].concat(g)),r(w,g,I,s),I=w.length,-1==c)for(;e(x,w,Q,I)<1;)d++,r(w,Q<I?M:x,I,s),I=w.length}else 0===c&&(d++,w=[0]);b[A++]=d,w[0]?w[I++]=S[_]||0:(w=[S[_]],I=1)}while((_++<B||null!=w[0])&&k--);p=null!=w[0],b[0]||b.splice(0,1)}if(s==f){for(A=1,k=b[0];k>=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;e<n;e++)if(h[e]!=A[e]){o=h[e]<A[e];break}if(o&&(i=h,h=A,A=i,t.s=-t.s),(e=(n=A.length)-(r=h.length))>0)for(;e--;h[r++]=0);for(e=f-1;n>s;){if(h[--n]<A[n]){for(r=n;r&&!h[--r];h[r]=e);--h[r],h[n]+=f}h[n]-=A[n]}for(;0==h[0];h.splice(0,1),--c);return h[0]?U(t,h,c):(t.s=3==C?-1:1,t.c=[t.e=0],t)},o.modulo=o.mod=function(t,e){var n,i,o=this;return t=new T(t,e),!o.c||!t.s||t.c&&!t.c[0]?new T(NaN):!t.c||o.c&&!o.c[0]?new T(o):(9==D?(i=t.s,t.s=1,n=r(o,t,0,3),t.s=i,n.s*=i):n=r(o,t,0,D),(t=o.minus(n.times(t))).c[0]||1!=D||(t.s=o.s),t)},o.multipliedBy=o.times=function(t,e){var r,n,i,o,a,s,u,c,h,A,p,g,m,v,b,w=this,I=w.c,E=(t=new T(t,e)).c;if(!I||!E||!I[0]||!E[0])return!w.s||!t.s||I&&!I[0]&&!E||E&&!E[0]&&!I?t.c=t.e=t.s=null:(t.s*=w.s,I&&E?(t.c=[0],t.e=0):t.c=t.e=null),t;for(n=y(w.e/l)+y(t.e/l),t.s*=w.s,(u=I.length)<(A=E.length)&&(m=I,I=E,E=m,i=u,u=A,A=i),i=u+A,m=[];i--;m.push(0));for(v=f,b=d,i=A;--i>=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.e<c&&--u,"9999"!=(e=e.slice(u-3,u+1))&&(i||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(L(n,n.e+B+2,1),t=!n.times(n).eq(a));break}if(!i&&(L(o,o.e+B+2,0),o.times(o).eq(a))){n=o;break}h+=4,u+=4,i=1}return L(n,n.e+B+1,C,t)},o.toExponential=function(t,e){return null!=t&&(b(t,0,g),t++),O(this,t,e,1)},o.toFixed=function(t,e){return null!=t&&(b(t,0,g),t=t+this.e+1),O(this,t,e)},o.toFormat=function(t,e,r){var n,i=this;if(null==r)null!=t&&e&&"object"==typeof e?(r=e,e=null):t&&"object"==typeof t?(r=t,t=e=null):r=N;else if("object"!=typeof r)throw Error(c+"Argument not an object: "+r);if(n=i.toFixed(t,e),i.c){var o,a=n.split("."),s=+r.groupSize,u=+r.secondaryGroupSize,h=r.groupSeparator||"",f=a[0],l=a[1],A=i.s<0,p=A?f.slice(1):f,d=p.length;if(u&&(o=s,s=u,u=o,d-=o),s>0&&d>0){for(o=d%s||s,f=p.substr(0,o);o<d;o+=s)f+=h+p.substr(o,s);u>0&&(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;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):g(i,i.length)}function d(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function g(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function y(t,e,r,n){if("function"===typeof t.on)n.once?t.once(e,r):t.on(e,r);else{if("function"!==typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){n.once&&t.removeEventListener(e,i),r(o)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");u=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return h(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(e.length>0&&(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<c;++r)o(h[r],this,e)}return!0},s.prototype.addListener=function(t,e){return f(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return f(this,t,e,!0)},s.prototype.once=function(t,e){return c(e),this.on(t,A(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,A(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,i,o,a;if(c(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!==typeof r){for(i=-1,o=r.length-1;o>=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<t.length;e++)t[e]=t[e+1];t.pop()}(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,a||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=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]+"";n<i;){for(e=t[n++]+"",r=l-e.length;r--;e="0"+e);o+=e}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function v(t,e){var r,n,i=t.c,o=e.c,a=t.s,s=e.s,u=t.e,c=e.e;if(!a||!s)return null;if(r=i&&!i[0],n=o&&!o[0],r||n)return r?n?0:-s:a;if(a!=s)return a;if(r=a<0,n=u==c,!i||!o)return n?0:!i^r?1:-1;if(!n)return u>c^r?1:-1;for(s=(u=i.length)<(c=o.length)?u:c,a=0;a<s;a++)if(i[a]!=o[a])return i[a]>o[a]^r?1:-1;return u==c?0:u>c^r?1:-1}function b(t,e,r,n){if(t<e||t>r||t!==u(t))throw Error(c+(n||"Argument")+("number"==typeof t?t<e||t>r?" 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 e<n&&(t=t.slice(0,e)+"."+t.slice(e));return t}(o=function t(e){var r,n,i,o=T.prototype={constructor:T,toString:null,valueOf:null},_=new T(1),B=20,C=4,Q=-7,M=21,k=-1e7,S=1e7,x=!1,D=1,R=0,N={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},P="0123456789abcdefghijklmnopqrstuvwxyz";function T(t,e){var r,o,s,c,f,p,d,g,y=this;if(!(y instanceof T))return new T(t,e);if(null==e){if(t&&!0===t._isBigNumber)return y.s=t.s,void(!t.c||t.e>S?y.c=y.e=null:t.e<k?y.c=[y.e=0]:(y.e=t.e,y.c=t.c.slice()));if((p="number"==typeof t)&&0*t==0){if(y.s=1/t<0?(t=-t,-1):1,t===~~t){for(c=0,f=t;f>=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;f<d;f++)if(r.indexOf(o=g.charAt(f))<0){if("."==o){if(f>c){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<k)y.c=[y.e=0];else{if(y.e=c,y.c=[],f=(c+1)%l,c<0&&(f+=l),f<d){for(f&&y.c.push(+g.slice(0,f)),d-=l;f<d;)y.c.push(+g.slice(f,f+=l));f=l-(g=g.slice(f)).length}else f-=d;for(;f--;g+="0");y.c.push(+g)}}else y.c=[y.e=0]}function O(t,e,r,n){var i,o,a,s,u;if(null==r?r=C:b(r,0,8),!t.c)return t.toString();if(i=t.c[0],a=t.e,null==e)u=m(t.c),u=1==n||2==n&&(a<=Q||a>=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(;s<e;u+="0",s++);u=I(u,o)}else if(e-=a,u=E(u,o,"0"),o+1>s){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<t.length;n++){if(!(r=new T(t[n])).s){i=r;break}e.call(i,r)&&(i=r)}return i}function U(t,e,r){for(var n=1,i=e.length;!e[--i];e.pop());for(i=e[0];i>=10;i/=10,n++);return(r=n+r*l-1)>S?t.c=t.e=null:r<k?t.c=[t.e=0]:(t.e=r,t.c=e),t}function L(t,e,r,n){var i,o,a,c,h,A,d,g=t.c,y=p;if(g){t:{for(i=1,c=g[0];c>=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<k&&(t.c=[t.e=0])}return t}function G(t){var e,r=t.e;return null===r?t.toString():(e=m(t.c),e=r<=Q||r>=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<n.length;e++)if((r=n[e])<0||r>=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<o;)(a=131072*r[h]+(r[h+1]>>>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<o;)(a=281474976710656*(31&r[h])+1099511627776*r[h+1]+4294967296*r[h+2]+16777216*r[h+3]+(r[h+4]<<16)+(r[h+5]<<8)+r[h+6])>=9e15?crypto.randomBytes(7).copy(r,h):(f.push(a%1e14),h+=7);h=o/7}if(!x)for(;h<o;)(a=e())<9e15&&(f[h++]=a%1e14);for(o=f[--h],t%=l,o&&t&&(a=p[l-t],f[h]=u(o/a)*a);0===f[h];f.pop(),h--);if(h<0)f=[i=0];else{for(i=-1;0===f[0];f.splice(0,1),i-=l);for(h=1,a=f[0];a>=10;a/=10,h++);h<l&&(i-=l-h)}return A.e=i,A.c=f,A}}(),T.sum=function(){for(var t=1,e=arguments,r=new T(e[0]);t<e.length;)r=r.plus(e[t++]);return r},n=function(){var t="0123456789";function e(t,e,r,n){for(var i,o,a=[0],s=0,u=t.length;s<u;){for(o=a.length;o--;a[o]*=e);for(a[0]+=n.indexOf(t.charAt(s++)),i=0;i<a.length;i++)a[i]>r-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;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r,n){for(var i=0;r--;)t[r]-=i,i=t[r]<e[r]?1:0,t[r]=i*n+t[r]-e[r];for(;!t[0]&&t.length>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<Q;w[I++]=0);M=x.slice(),M=[0].concat(M),C=x[0],x[1]>=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<m?M:x,m,s),m=g.length,c=1;else 0==d&&(c=d=1),m=(g=x.slice()).length;if(m<I&&(g=[0].concat(g)),r(w,g,I,s),I=w.length,-1==c)for(;e(x,w,Q,I)<1;)d++,r(w,Q<I?M:x,I,s),I=w.length}else 0===c&&(d++,w=[0]);b[A++]=d,w[0]?w[I++]=S[_]||0:(w=[S[_]],I=1)}while((_++<B||null!=w[0])&&k--);p=null!=w[0],b[0]||b.splice(0,1)}if(s==f){for(A=1,k=b[0];k>=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;e<n;e++)if(h[e]!=A[e]){o=h[e]<A[e];break}if(o&&(i=h,h=A,A=i,t.s=-t.s),(e=(n=A.length)-(r=h.length))>0)for(;e--;h[r++]=0);for(e=f-1;n>s;){if(h[--n]<A[n]){for(r=n;r&&!h[--r];h[r]=e);--h[r],h[n]+=f}h[n]-=A[n]}for(;0==h[0];h.splice(0,1),--c);return h[0]?U(t,h,c):(t.s=3==C?-1:1,t.c=[t.e=0],t)},o.modulo=o.mod=function(t,e){var n,i,o=this;return t=new T(t,e),!o.c||!t.s||t.c&&!t.c[0]?new T(NaN):!t.c||o.c&&!o.c[0]?new T(o):(9==D?(i=t.s,t.s=1,n=r(o,t,0,3),t.s=i,n.s*=i):n=r(o,t,0,D),(t=o.minus(n.times(t))).c[0]||1!=D||(t.s=o.s),t)},o.multipliedBy=o.times=function(t,e){var r,n,i,o,a,s,u,c,h,A,p,g,m,v,b,w=this,I=w.c,E=(t=new T(t,e)).c;if(!I||!E||!I[0]||!E[0])return!w.s||!t.s||I&&!I[0]&&!E||E&&!E[0]&&!I?t.c=t.e=t.s=null:(t.s*=w.s,I&&E?(t.c=[0],t.e=0):t.c=t.e=null),t;for(n=y(w.e/l)+y(t.e/l),t.s*=w.s,(u=I.length)<(A=E.length)&&(m=I,I=E,E=m,i=u,u=A,A=i),i=u+A,m=[];i--;m.push(0));for(v=f,b=d,i=A;--i>=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.e<c&&--u,"9999"!=(e=e.slice(u-3,u+1))&&(i||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(L(n,n.e+B+2,1),t=!n.times(n).eq(a));break}if(!i&&(L(o,o.e+B+2,0),o.times(o).eq(a))){n=o;break}h+=4,u+=4,i=1}return L(n,n.e+B+1,C,t)},o.toExponential=function(t,e){return null!=t&&(b(t,0,g),t++),O(this,t,e,1)},o.toFixed=function(t,e){return null!=t&&(b(t,0,g),t=t+this.e+1),O(this,t,e)},o.toFormat=function(t,e,r){var n,i=this;if(null==r)null!=t&&e&&"object"==typeof e?(r=e,e=null):t&&"object"==typeof t?(r=t,t=e=null):r=N;else if("object"!=typeof r)throw Error(c+"Argument not an object: "+r);if(n=i.toFixed(t,e),i.c){var o,a=n.split("."),s=+r.groupSize,u=+r.secondaryGroupSize,h=r.groupSeparator||"",f=a[0],l=a[1],A=i.s<0,p=A?f.slice(1):f,d=p.length;if(u&&(o=s,s=u,u=o,d-=o),s>0&&d>0){for(o=d%s||s,f=p.substr(0,o);o<d;o+=s)f+=h+p.substr(o,s);u>0&&(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<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(var n=0,i=0;i<t.length;i++){var a=t.charCodeAt(i);a<128?r[n++]=a:a<2048?(r[n++]=a>>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<t.length;i++)r[i]=0|t[i];return r},e.toHex=function(t){for(var e="",r=0;r<t.length;r++)e+=s(t[r].toString(16));return e},e.htonl=a,e.toHex32=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t[n];"little"===e&&(i=a(i)),r+=u(i.toString(16))}return r},e.zero2=s,e.zero8=u,e.join32=function(t,e,r,i){var o=r-e;n(o%4===0);for(var a=new Array(o/4),s=0,u=e;s<a.length;s++,u+=4){var c;c="big"===i?t[u]<<24|t[u+1]<<16|t[u+2]<<8|t[u+3]:t[u+3]<<24|t[u+2]<<16|t[u+1]<<8|t[u],a[s]=c>>>0}return a},e.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n<t.length;n++,i+=4){var o=t[n];"big"===e?(r[i]=o>>>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<<e|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<n?1:0)+r+i;t[e]=a>>>0,t[e+1]=o},e.sum64_hi=function(t,e,r,n){return(e+n>>>0<e?1:0)+t+r>>>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)<e?1:0,u+=(c=c+o>>>0)<o?1:0,t+r+i+a+(u+=(c=c+s>>>0)<s?1: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)<e?1:0,h+=(f=f+o>>>0)<o?1:0,h+=(f=f+s>>>0)<s?1:0,t+r+i+a+u+(h+=(f=f+c>>>0)<c?1: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<i;o++){var a=t.charCodeAt(o)-48;n<<=4,n|=a>=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<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=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<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>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<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=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;h<s;h+=n)c=u(t,h,h+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,h,t.length,e),h=0;h<a;h++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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?"<BN-R: ":"<BN: ")+this.toString(16)+">"};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<n;c++){for(var h=u>>>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<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>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<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[o-s-1]=a}return c},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;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.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;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.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;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.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;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(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<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.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<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var A=function(t,e,r){var n,i,o,a=t.words,s=e.words,u=r.words,c=0,h=0|a[0],f=8191&h,l=h>>>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<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=u;c++){var h=o-c,f=(0|t.words[h])*(0|e.words[c]),l=67108863&f;s=67108863&(l=l+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(l>>>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<t;n++)e[n]=this.revBin(n,r,t);return e},d.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},d.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),h=0;h<i;h+=s)for(var f=u,l=c,A=0;A<a;A++){var p=r[h+A],d=n[h+A],g=r[h+A+a],y=n[h+A+a],m=f*g-l*y;y=f*y+l*g,g=m,r[h+A]=p+g,n[h+A]=d+y,r[h+A+a]=p-g,n[h+A+a]=d-y,A!==s&&(m=u*f-c*l,l=u*l+c*f,f=m)}},d.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},d.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},d.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},d.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},d.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},d.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),h=new Array(n),f=new Array(n),l=r.words;l.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,h,f,n,i);for(var A=0;A<n;A++){var p=s[A]*h[A]-u[A]*f[A];u[A]=s[A]*f[A]+u[A]*h[A],s[A]=p}return this.conjugate(s,u,n),this.transform(s,u,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),p(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=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<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=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<this.length;e++){var s=this.words[e]&o,u=(0|this.words[e])-s<<r;this.words[e]=u|a,a=s>>>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<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var h=0;for(c=this.length-1;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<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=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<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var u=(0|t.words[i])*e;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>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<s.length;c++)s.words[c]=0}var h=n.clone()._ishlnsubmul(i,1,u);0===h.negative&&(n=h,s&&(s.words[u]=1));for(var f=u-1;f>=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<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>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:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(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=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?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<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&r)<<4|o>>>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<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,y),i(b,y),i(w,y),w.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=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<p);var y=this.pow(f,new o(1).iushln(p-g-1));l=l.redMul(y),f=y.redSqr(),A=A.redMul(f),p=g}return l},I.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},I.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,u=e.bitLength()%26;for(0===u&&(u=26),n=e.length-1;n>=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<o.length;)o[a++]=arguments[a];return e.nextTick((function(){t.apply(null,o)}))}}}:t.exports=e}).call(this,r(20))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){"use strict";var n=r(10).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!==typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=c,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=h,this.end=f,e=3;break;default:return this.write=l,void(this.end=A)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>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<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=a(e[n]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=a(e[n]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=a(e[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;c<u.length;c++){var h=u[c];f.prototype[h]||(f.prototype[h]=s.prototype[h])}function f(t){if(!(this instanceof f))return new f(t);a.call(this,t),s.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",l)}function l(){this.allowHalfOpen||this._writableState.ended||n.nextTick(A,this)}function A(t){t.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),f.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},function(t,e,r){"use strict";(function(e,n){var i=65536,o=4294967295;var a=r(10).Buffer,s=e.crypto||e.msCrypto;s&&s.getRandomValues?t.exports=function(t,e){if(t>o)throw new RangeError("requested too many random bytes");var r=a.allocUnsafe(t);if(t>0)if(t>i)for(var u=0;u<t;u+=i)s.getRandomValues(r.slice(u,u+i));else s.getRandomValues(r);if("function"===typeof e)return n.nextTick((function(){e(null,r)}));return r}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,r(22),r(20))},function(t,e,r){"use strict";var n=r(8),i=r(81),o=r(84),a=r(85),s=r(44);function u(t){s.call(this,"digest"),this._hash=t}n(u,s),u.prototype._update=function(t){this._hash.update(t)},u.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new u(a(t))}},function(t,e,r){"use strict";var n={};function i(t,e,r){r||(r=Error);var i=function(t){var r,n;function i(r,n,i){return t.call(this,function(t,r,n){return"string"===typeof e?e:e(t,r,n)}(r,n,i))||this}return n=t,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=t,n[t]=i}function o(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"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<a.length;s++){var u=a[s];c.prototype[u]||(c.prototype[u]=o.prototype[u])}function c(t){if(!(this instanceof c))return new c(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||e.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,r(20))},function(t,e,r){var n=r(10).Buffer;function i(t,e){this._block=n.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"===typeof t&&(e=e||"utf8",t=n.from(t,e));for(var r=this._block,i=this._blockSize,o=t.length,a=this._len,s=0;s<o;){for(var u=a%i,c=Math.min(o-s,i-u),h=0;h<c;h++)r[u+h]=t[s+h];s+=c,(a+=c)%i===0&&this._update(r)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=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;c<u.length;c++){var h=u[c];f.prototype[h]||(f.prototype[h]=s.prototype[h])}function f(t){if(!(this instanceof f))return new f(t);a.call(this,t),s.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",l)}function l(){this.allowHalfOpen||this._writableState.ended||n.nextTick(A,this)}function A(t){t.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),f.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return c}));var n=r(0),i=r.n(n),o=r(1),a=r(3),s=r(34),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())}))},c=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,[{key:"serialize",value:function(e){return u(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:return n=JSON.stringify(e),r.abrupt("return",s.encode(t.from(n)));case 2:case"end":return r.stop()}}),r)})))}},{key:"deserialize",value:function(t){return u(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("string"===typeof t){e.next=2;break}throw new Error("Encoded payload needs to be a string");case 2:return e.abrupt("return",JSON.parse(s.decode(t).toString()));case 3:case"end":return e.stop()}}),e)})))}}]),e}()}).call(this,r(11).Buffer)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(64);function i(t,e){if(t){if("string"===typeof t)return Object(n.a)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(t,e):void 0}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return s}));var n,i=r(1),o=r(3),a=r(58);!function(t){t.TEXT="m.text"}(n||(n={}));var s=function(){function t(e,r,n,o){Object(i.a)(this,t),this.type=e,this.sender=r,this.content=n,this.timestamp=o}return Object(o.a)(t,null,[{key:"from",value:function(e){if(Object(a.d)(e))return new t(e.content.msgtype,e.sender,e.content.body,e.origin_server_ts)}}]),t}()},function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"d",(function(){return s}));var n=r(57),i=function(t){return"m.room.create"===t.type&&t.content instanceof Object&&"creator"in t.content},o=function(t){return"m.room.member"===t.type&&t.content instanceof Object&&"membership"in t.content&&"join"===t.content.membership},a=function(t){return"m.room.message"===t.type},s=function(t){return a(t)&&t.content instanceof Object&&"msgtype"in t.content&&t.content.msgtype===n.b.TEXT}},function(t,e,r){"use strict";r.d(e,"a",(function(){return jo})),r.d(e,"b",(function(){return ro})),r.d(e,"c",(function(){return io})),r.d(e,"d",(function(){return no}));var n=r(43),i=r(35),o=r.n(i),a=function(){return(a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function s(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);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}function u(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(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]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var h,f=r(331),l=r(370);function A(t,e){var r=Array.isArray(t);"undefined"===typeof e&&(e=Object.keys(t));var n=r?[]:{};return e.forEach((function(e){var r,i=f(t,e);if("undefined"!==typeof i){if(Array.isArray(i))return r=A(i),void l(n,e,r);r=new o.a(i),l(n,e,r)}})),n}!function(t){t.ORIGINATION="origination",t.DELEGATION="delegation",t.REVEAL="reveal",t.TRANSACTION="transaction",t.ACTIVATION="activate_account",t.ENDORSEMENT="endorsement",t.ENDORSEMENT_WITH_SLOT="endorsement_with_slot",t.SEED_NONCE_REVELATION="seed_nonce_revelation",t.DOUBLE_ENDORSEMENT_EVIDENCE="double_endorsement_evidence",t.DOUBLE_BAKING_EVIDENCE="double_baking_evidence",t.PROPOSALS="proposals",t.BALLOT="ballot",t.FAILING_NOOP="failing_noop"}(h||(h={}));var p={block:"head"},d=function(){function t(t,e,r){void 0===e&&(e="main"),void 0===r&&(r=new n.a),this.url=t,this.chain=e,this.httpBackend=r}return t.prototype.createURL=function(t){return""+this.url.replace(/\/+$/g,"")+t},t.prototype.getBlockHash=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/hash"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getLiveBlocks=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/live_blocks"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getBalance=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){var e;return c(this,(function(n){switch(n.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/context/contracts/"+t+"/balance"),method:"GET"})];case 1:return e=n.sent(),[2,new o.a(e)]}}))}))},t.prototype.getStorage=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){return[2,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/context/contracts/"+t+"/storage"),method:"GET"})]}))}))},t.prototype.getScript=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){return[2,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/context/contracts/"+t+"/script"),method:"GET"})]}))}))},t.prototype.getContract=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){var e;return c(this,(function(n){switch(n.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/context/contracts/"+t),method:"GET"})];case 1:return e=n.sent(),[2,a(a({},e),{balance:new o.a(e.balance)})]}}))}))},t.prototype.getManagerKey=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){return[2,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/context/contracts/"+t+"/manager_key"),method:"GET"})]}))}))},t.prototype.getDelegate=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){var e,i;return c(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/context/contracts/"+t+"/delegate"),method:"GET"})];case 1:return e=o.sent(),[3,3];case 2:if(!((i=o.sent())instanceof n.b&&i.status===n.c.NOT_FOUND))throw i;return e=null,[3,3];case 3:return[2,e]}}))}))},t.prototype.getBigMapKey=function(t,e,r){var n=(void 0===r?p:r).block;return u(this,void 0,void 0,(function(){return c(this,(function(r){return[2,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+n+"/context/contracts/"+t+"/big_map_get"),method:"POST"},e)]}))}))},t.prototype.getBigMapExpr=function(t,e,r){var n=(void 0===r?p:r).block;return u(this,void 0,void 0,(function(){return c(this,(function(r){return[2,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+n+"/context/big_maps/"+t+"/"+e),method:"GET"})]}))}))},t.prototype.getDelegates=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){var e;return c(this,(function(n){switch(n.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/context/delegates/"+t),method:"GET"})];case 1:return[2,{deactivated:(e=n.sent()).deactivated,balance:new o.a(e.balance),frozen_balance:new o.a(e.frozen_balance),frozen_balance_by_cycle:e.frozen_balance_by_cycle.map((function(t){var e=t.deposit,r=t.fees,n=t.rewards,i=s(t,["deposit","fees","rewards"]);return a(a({},i),{deposit:new o.a(e),fees:new o.a(r),rewards:new o.a(n)})})),staking_balance:new o.a(e.staking_balance),delegated_contracts:e.delegated_contracts,delegated_balance:new o.a(e.delegated_balance),grace_period:e.grace_period}]}}))}))},t.prototype.getConstants=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){var t,r;return c(this,(function(n){switch(n.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/context/constants"),method:"GET"})];case 1:return t=n.sent(),r=A(t,["time_between_blocks","hard_gas_limit_per_operation","hard_gas_limit_per_block","proof_of_work_threshold","tokens_per_roll","seed_nonce_revelation_tip","block_security_deposit","endorsement_security_deposit","block_reward","endorsement_reward","cost_per_byte","hard_storage_limit_per_operation","test_chain_duration","baking_reward_per_endorsement","delay_per_missing_endorsement","minimal_block_delay","liquidity_baking_subsidy"]),[2,a(a({},t),r)]}}))}))},t.prototype.getBlock=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getBlockHeader=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/header"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getBlockMetadata=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/metadata"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getBakingRights=function(t,e){void 0===t&&(t={});var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){switch(e.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/helpers/baking_rights"),method:"GET",query:t})];case 1:return[2,e.sent()]}}))}))},t.prototype.getEndorsingRights=function(t,e){void 0===t&&(t={});var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){switch(e.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/helpers/endorsing_rights"),method:"GET",query:t})];case 1:return[2,e.sent()]}}))}))},t.prototype.getBallotList=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/votes/ballot_list"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getBallots=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/votes/ballots"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getCurrentPeriodKind=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/votes/current_period_kind"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getCurrentProposal=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/votes/current_proposal"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getCurrentQuorum=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/votes/current_quorum"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getVotesListings=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/votes/listings"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getProposals=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/votes/proposals"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.forgeOperations=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){return[2,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/helpers/forge/operations"),method:"POST"},t)]}))}))},t.prototype.injectOperation=function(t){return u(this,void 0,void 0,(function(){return c(this,(function(e){return[2,this.httpBackend.createRequest({url:this.createURL("/injection/operation"),method:"POST"},t)]}))}))},t.prototype.preapplyOperations=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){switch(e.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/helpers/preapply/operations"),method:"POST"},t)];case 1:return[2,e.sent()]}}))}))},t.prototype.getEntrypoints=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){switch(e.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/context/contracts/"+t+"/entrypoints"),method:"GET"})];case 1:return[2,e.sent()]}}))}))},t.prototype.runOperation=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){switch(e.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/helpers/scripts/run_operation"),method:"POST"},t)];case 1:return[2,e.sent()]}}))}))},t.prototype.runCode=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){switch(e.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/helpers/scripts/run_code"),method:"POST"},t)];case 1:return[2,e.sent()]}}))}))},t.prototype.getChainId=function(){return u(this,void 0,void 0,(function(){return c(this,(function(t){return[2,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/chain_id"),method:"GET"})]}))}))},t.prototype.packData=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){var e,n,i,u,h;return c(this,(function(c){switch(c.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/helpers/scripts/pack_data"),method:"POST"},t)];case 1:return e=c.sent(),n=e.gas,i=s(e,["gas"]),u=n,(h=new o.a(n||"")).isNaN()||(u=h),[2,a({gas:u},i)]}}))}))},t.prototype.getRpcUrl=function(){return this.url},t.prototype.getCurrentPeriod=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/votes/current_period"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getSuccessorPeriod=function(t){var e=(void 0===t?p:t).block;return u(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return[4,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+e+"/votes/successor_period"),method:"GET"})];case 1:return[2,t.sent()]}}))}))},t.prototype.getSaplingDiffById=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){return[2,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/context/sapling/"+t+"/get_diff"),method:"GET"})]}))}))},t.prototype.getSaplingDiffByContract=function(t,e){var r=(void 0===e?p:e).block;return u(this,void 0,void 0,(function(){return c(this,(function(e){return[2,this.httpBackend.createRequest({url:this.createURL("/chains/"+this.chain+"/blocks/"+r+"/context/contracts/"+t+"/single_sapling_get_diff"),method:"GET"})]}))}))},t}(),g=function(t,e){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function y(t,e){function r(){this.constructor=t}g(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function m(t){return"function"===typeof t}var v=!1,b={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack;v=t},get useDeprecatedSynchronousErrorHandling(){return v}};function w(t){setTimeout((function(){throw t}),0)}var I={closed:!0,next:function(t){},error:function(t){if(b.useDeprecatedSynchronousErrorHandling)throw t;w(t)},complete:function(){}},E=function(){return Array.isArray||function(t){return t&&"number"===typeof t.length}}();function _(t){return null!==t&&"object"===typeof t}var B=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),C=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var e;if(!this.closed){var r=this,n=r._parentOrParents,i=r._ctorUnsubscribe,o=r._unsubscribe,a=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var s=0;s<n.length;++s){n[s].remove(this)}if(m(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(h){e=h instanceof B?Q(h.errors):[h]}}if(E(a)){s=-1;for(var u=a.length;++s<u;){var c=a[s];if(_(c))try{c.unsubscribe()}catch(h){e=e||[],h instanceof B?e=e.concat(Q(h.errors)):e.push(h)}}}if(e)throw new B(e)}},t.prototype.add=function(e){var r=e;if(!e)return t.EMPTY;switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||"function"!==typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof t)){var n=r;(r=new t)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof t){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[r]:o.push(r),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();function Q(t){return t.reduce((function(t,e){return t.concat(e instanceof B?e.errors:e)}),[])}var M=function(){return"function"===typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),k=function(t){function e(r,n,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=I;break;case 1:if(!r){o.destination=I;break}if("object"===typeof r){r instanceof e?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new S(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new S(o,r,n,i)}return o}return y(e,t),e.prototype[M]=function(){return this},e.create=function(t,r,n){var i=new e(t,r,n);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(C),S=function(t){function e(e,r,n,i){var o,a=t.call(this)||this;a._parentSubscriber=e;var s=a;return m(r)?o=r:r&&(o=r.next,n=r.error,i=r.complete,r!==I&&(m((s=Object.create(r)).unsubscribe)&&a.add(s.unsubscribe.bind(s)),s.unsubscribe=a.unsubscribe.bind(a))),a._context=s,a._next=o,a._error=n,a._complete=i,a}return y(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;b.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,r=b.useDeprecatedSynchronousErrorHandling;if(this._error)r&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)r?(e.syncErrorValue=t,e.syncErrorThrown=!0):w(t),this.unsubscribe();else{if(this.unsubscribe(),r)throw t;w(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};b.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(r){if(this.unsubscribe(),b.useDeprecatedSynchronousErrorHandling)throw r;w(r)}},e.prototype.__tryOrSetError=function(t,e,r){if(!b.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,r)}catch(n){return b.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(w(n),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(k);var x=function(){return"function"===typeof Symbol&&Symbol.observable||"@@observable"}();function D(t){return t}function R(t){return 0===t.length?D:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var N=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,i=function(t,e,r){if(t){if(t instanceof k)return t;if(t[M])return t[M]()}return t||e||r?new k(t,e,r):new k(I)}(t,e,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||b.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),b.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){b.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),!function(t){for(;t;){var e=t,r=e.closed,n=e.destination,i=e.isStopped;if(r||i)return!1;t=n&&n instanceof k?n:null}return!0}(t)?console.warn(e):t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=P(e))((function(e,n){var i;i=r.subscribe((function(e){try{t(e)}catch(r){n(r),i&&i.unsubscribe()}}),n,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[x]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:R(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=P(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function P(t){if(t||(t=b.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var T=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}(),O=function(t){function e(e,r){var n=t.call(this)||this;return n.subject=e,n.subscriber=r,n.closed=!1,n}return y(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var r=e.indexOf(this.subscriber);-1!==r&&e.splice(r,1)}}},e}(C),F=function(t){function e(e){var r=t.call(this,e)||this;return r.destination=e,r}return y(e,t),e}(k),U=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return y(e,t),e.prototype[M]=function(){return new F(this)},e.prototype.lift=function(t){var e=new L(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new T;if(!this.isStopped)for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new T;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new T;this.isStopped=!0;for(var t=this.observers,e=t.length,r=t.slice(),n=0;n<e;n++)r[n].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new T;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new T;return this.hasError?(t.error(this.thrownError),C.EMPTY):this.isStopped?(t.complete(),C.EMPTY):(this.observers.push(t),new O(this,t))},e.prototype.asObservable=function(){var t=new N;return t.source=this,t},e.create=function(t,e){return new L(t,e)},e}(N),L=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return y(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):C.EMPTY},e}(U),G=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n.pending=!1,n}return y(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this},e.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),setInterval(t.flush.bind(t,this),r)},e.prototype.recycleAsyncId=function(t,e,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var r=!1,n=void 0;try{this.work(t)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,r=e.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,r){return t.call(this)||this}return y(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(C)),H=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.scheduler=e,n.work=r,n}return y(e,t),e.prototype.schedule=function(e,r){return void 0===r&&(r=0),r>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;r<n&&!e.closed;r++)e.next(t[r]);e.complete()}};function W(t,e){return new N((function(r){var n=new C,i=0;return n.add(e.schedule((function(){i!==t.length?(r.next(t[i++]),r.closed||n.add(this.schedule())):r.complete()}))),n}))}function Z(t,e){return e?W(t,e):new N(X(t))}function $(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t[t.length-1];return V(r)?(t.pop(),W(t,r)):Z(t)}function tt(t,e){return new N(e?function(r){return e.schedule(et,0,{error:t,subscriber:r})}:function(e){return e.error(t)})}function et(t){var e=t.error;t.subscriber.error(e)}z||(z={});var rt=function(){function t(t,e,r){this.kind=t,this.value=e,this.error=r,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,r){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}},t.prototype.accept=function(t,e,r){return t&&"function"===typeof t.next?this.observe(t):this.do(t,e,r)},t.prototype.toObservable=function(){switch(this.kind){case"N":return $(this.value);case"E":return tt(this.error);case"C":return J()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return"undefined"!==typeof e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();var nt=function(t){function e(e,r,n){void 0===n&&(n=0);var i=t.call(this,e)||this;return i.scheduler=r,i.delay=n,i}return y(e,t),e.dispatch=function(t){var e=t.notification,r=t.destination;e.observe(r),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new it(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(rt.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(rt.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(rt.createComplete()),this.unsubscribe()},e}(k),it=function(){return function(t,e){this.notification=t,this.destination=e}}(),ot=function(t){function e(e,r,n){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=n,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return y(e,t),e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var r=this._events;r.push(e),r.length>this._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;a<o&&!t.closed;a++)t.next(n[a]);else for(a=0;a<o&&!t.closed;a++)t.next(n[a].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||K).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,r=this._windowTime,n=this._events,i=n.length,o=0;o<i&&!(t-n[o].time<r);)o++;return i>e&&(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<arguments.length;e++)t[e]=arguments[e];var r=void 0,n=void 0;return V(t[t.length-1])&&(n=t.pop()),"function"===typeof t[t.length-1]&&(r=t.pop()),1===t.length&&E(t[0])&&(t=t[0]),Z(t,n).lift(new yt(r))}var yt=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new mt(t,this.resultSelector))},t}(),mt=function(t){function e(e,r){var n=t.call(this,e)||this;return n.resultSelector=r,n.active=0,n.values=[],n.observables=[],n}return y(e,t),e.prototype._next=function(t){this.values.push(dt),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var r=0;r<e;r++){var n=t[r];this.add(pt(this,n,void 0,r))}}},e.prototype.notifyComplete=function(t){0===(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,r){var n=this.values,i=n[r],o=this.toRespond?i===dt?--this.toRespond:this.toRespond:0;n[r]=e,0===o&&(this.resultSelector?this._tryResultSelector(n):this.destination.next(n.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(r){return void this.destination.error(r)}this.destination.next(e)},e}(st);function vt(t,e){if(null!=t){if(function(t){return t&&"function"===typeof t[x]}(t))return function(t,e){return new N((function(r){var n=new C;return n.add(e.schedule((function(){var i=t[x]();n.add(i.subscribe({next:function(t){n.add(e.schedule((function(){return r.next(t)})))},error:function(t){n.add(e.schedule((function(){return r.error(t)})))},complete:function(){n.add(e.schedule((function(){return r.complete()})))}}))}))),n}))}(t,e);if(lt(t))return function(t,e){return new N((function(r){var n=new C;return n.add(e.schedule((function(){return t.then((function(t){n.add(e.schedule((function(){r.next(t),n.add(e.schedule((function(){return r.complete()})))})))}),(function(t){n.add(e.schedule((function(){return r.error(t)})))}))}))),n}))}(t,e);if(ft(t))return W(t,e);if(function(t){return t&&"function"===typeof t[ht]}(t)||"string"===typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new N((function(r){var n,i=new C;return i.add((function(){n&&"function"===typeof n.return&&n.return()})),i.add(e.schedule((function(){n=t[ht](),i.add(e.schedule((function(){if(!r.closed){var t,e;try{var i=n.next();t=i.value,e=i.done}catch(o){return void r.error(o)}e?r.complete():(r.next(t),this.schedule())}})))}))),i}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function bt(t,e){return e?vt(t,e):t instanceof N?t:new N(At(t))}function wt(t){return new N((function(e){var r;try{r=t()}catch(n){return void e.error(n)}return(r?bt(r):J()).subscribe(e)}))}var It=new Y(G);function Et(t){return!E(t)&&t-parseFloat(t)+1>=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.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(n){return void this.destination.error(n)}this.active++,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new St(this),r=this.destination;r.add(e);var n=Dt(t,e);n!==e&&r.add(n)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?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<arguments.length;e++)t[e]=arguments[e];return Tt()($.apply(void 0,t))}function Ft(){}var Ut=new N(Ft);function Lt(t,e,r){return function(n){return n.lift(new Gt(t,e,r))}}var Gt=function(){function t(t,e,r){this.nextOrObserver=t,this.error=e,this.complete=r}return t.prototype.call=function(t,e){return e.subscribe(new Ht(t,this.nextOrObserver,this.error,this.complete))},t}(),Ht=function(t){function e(e,r,n,i){var o=t.call(this,e)||this;return o._tapNext=Ft,o._tapError=Ft,o._tapComplete=Ft,o._tapError=n||Ft,o._tapComplete=i||Ft,m(r)?(o._context=o,o._tapNext=r):r&&(o._context=r,o._tapNext=r.next||Ft,o._tapError=r.error||Ft,o._tapComplete=r.complete||Ft),o}return y(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(k);function jt(t,e,r){var n;return n=t&&"object"===typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:r},function(t){return t.lift(function(t){var e,r,n=t.bufferSize,i=void 0===n?Number.POSITIVE_INFINITY:n,o=t.windowTime,a=void 0===o?Number.POSITIVE_INFINITY:o,s=t.refCount,u=t.scheduler,c=0,h=!1,f=!1;return function(t){var n;c++,!e||h?(h=!1,e=new ot(i,a,u),n=e.subscribe(this),r=t.subscribe({next:function(t){e.next(t)},error:function(t){h=!0,e.error(t)},complete:function(){f=!0,r=void 0,e.complete()}})):n=e.subscribe(this),this.add((function(){c--,n.unsubscribe(),r&&!f&&s&&0===c&&(r.unsubscribe(),r=void 0,e=void 0)}))}}(n))}}function Yt(t,e){return function(r){return r.lift(new Kt(t,e))}}var Kt=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new qt(t,this.predicate,this.thisArg))},t}(),qt=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.predicate=r,i.thisArg=n,i.count=0,i}return y(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(r){return void this.destination.error(r)}e&&this.destination.next(t)},e}(k),Jt=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),Vt=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}();function zt(t){return function(e){return 0===t?J():e.lift(new Xt(t))}}var Xt=function(){function t(t){if(this.total=t,this.total<0)throw new Vt}return t.prototype.call=function(t,e){return e.subscribe(new Wt(t,this.total))},t}(),Wt=function(t){function e(e,r){var n=t.call(this,e)||this;return n.total=r,n.count=0,n}return y(e,t),e.prototype._next=function(t){var e=this.total,r=++this.count;r<=e&&(this.destination.next(t),r===e&&(this.destination.complete(),this.unsubscribe()))},e}(k);function Zt(t){return void 0===t&&(t=null),function(e){return e.lift(new $t(t))}}var $t=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new te(t,this.defaultValue))},t}(),te=function(t){function e(e,r){var n=t.call(this,e)||this;return n.defaultValue=r,n.isEmpty=!0,n}return y(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(k);function ee(t){return void 0===t&&(t=ie),function(e){return e.lift(new re(t))}}var re=function(){function t(t){this.errorFactory=t}return t.prototype.call=function(t,e){return e.subscribe(new ne(t,this.errorFactory))},t}(),ne=function(t){function e(e,r){var n=t.call(this,e)||this;return n.errorFactory=r,n.hasValue=!1,n}return y(e,t),e.prototype._next=function(t){this.hasValue=!0,this.destination.next(t)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var t=void 0;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)},e}(k);function ie(){return new Jt}function oe(t,e){var r=arguments.length>=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;i<e;i++){var o=null!=n?n[t[i]]:void 0;if(void 0===o)return;n=o}return n}}var Oe=r(27),Fe=r.n(Oe),Ue=r(26),Le=r(5),Ge=Symbol("source_reference"),He=function(t,e){return(He=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 je(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}He(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var Ye=function(){return(Ye=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function Ke(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]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function qe(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=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;r<n;r++,i++)t[i]=e[r];return t}var ze,Xe=function(t){function e(r,n,i){var o=t.call(this,i)||this;return o.src=r,o.idx=n,Object.setPrototypeOf(o,e.prototype),o}return je(e,t),e}(Error);!function(t){t[t.Comment=0]="Comment",t[t.Number=1]="Number",t[t.String=2]="String",t[t.Bytes=3]="Bytes",t[t.Ident=4]="Ident"}(ze||(ze={}));var We=new RegExp("\\s"),Ze=new RegExp("[:@%_A-Za-z]"),$e=new RegExp("[@%_\\.A-Za-z0-9]"),tr=new RegExp("[0-9]"),er=new RegExp("[0-9a-fA-F]");function rr(t,e){var r,n,i,o,a;return void 0===e&&(e=!1),Ke(this,(function(s){switch(s.label){case 0:r=0,s.label=1;case 1:if(!(r<t.length))return[3,19];for(;r<t.length&&We.test(t[r]);)r++;if(r===t.length)return[2];if(n=t[r],i=r,!Ze.test(n))return[3,3];for(r++;r<t.length&&$e.test(t[r]);)r++;return[4,{t:ze.Ident,v:t.slice(i,r),first:i,last:r}];case 2:return s.sent(),[3,18];case 3:if(!(t.length-r>1&&"0x"===t.substr(r,2)))return[3,5];for(r+=2;r<t.length&&er.test(t[r]);)r++;if(0!==(r-i&1))throw new Xe(t,r,"Bytes literal length is expected to be power of two");return[4,{t:ze.Bytes,v:t.slice(i,r),first:i,last:r}];case 4:return s.sent(),[3,18];case 5:if(!tr.test(n)&&"-"!==n)return[3,7];for("-"===n&&r++,o=r;r<t.length&&tr.test(t[r]);)r++;if(o===r)throw new Xe(t,r,"Number literal is too short");return[4,{t:ze.Number,v:t.slice(i,r),first:i,last:r}];case 6:return s.sent(),[3,18];case 7:if('"'!==n)return[3,9];for(r++,a=!1;r<t.length&&(a||'"'!==t[r]);r++)a=!a&&"\\"===t[r];if(r===t.length)throw new Xe(t,r,"Unterminated string literal");return r++,[4,{t:ze.String,v:t.slice(i,r),first:i,last:r}];case 8:return s.sent(),[3,18];case 9:if("#"!==n)return[3,12];for(r++;r<t.length&&"\n"!==t[r];)r++;return e?[4,{t:ze.Comment,v:t.slice(i,r),first:i,last:r}]:[3,11];case 10:s.sent(),s.label=11;case 11:return[3,18];case 12:if(!(t.length-r>1&&"/*"===t.substr(r,2)))return[3,15];for(r+=2;r<t.length&&!(t.length-r>1&&"*/"===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<a.length;f+=64){for(var l=f,A=0;A<16;)c[A]=a[l]<<24|a[l+1]<<16|a[l+2]<<8|a[l+3],l+=4,A++;for(;A<64;){var p=s(c[A-15],7)^s(c[A-15],18)^c[A-15]>>>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;r<t.length&&0===Dr(t,r);)r++;for(var n=r;r<t.length;)for(var i=Dr(t,r++),o=0;0!==i||o<e.length;){var a=58*(e[o]||0)+i;e[o++]=a%256,i=Math.floor(a/256)}for(;n-- >0;)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;e<t.length;e++){var r=t.charCodeAt(e);if(0===e&&45===r)this.neg=!0;else{if(r<48||r>57)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<this.buf.length;){var r=10*(this.buf[e]||0)+t;this.buf[e++]=r%256,t=Math.floor(r/256)}},t.prototype.cmp=function(t){if(this.neg!==t.neg)return(t.neg?1:0)-(this.neg?1:0);var e=0;if(this.buf.length!==t.buf.length)e=this.buf.length<t.buf.length?-1:1;else if(0!==this.buf.length){for(var r=t.buf.length-1;r>=0&&this.buf[r]===t.buf[r];)r--;e=r<0?0:this.buf[r]<t.buf[r]?-1:1}return this.neg?0===e?0:-e:e},Object.defineProperty(t.prototype,"sign",{get:function(){return 0===this.buf.length?0:this.neg?-1:1},enumerable:!1,configurable:!0}),t}();function Or(t){for(var e=[],r=0;r<t.length;r+=2){var n=parseInt(t.slice(r,r+2),16);if(Number.isNaN(n))return null;e.push(n)}return e}function Fr(t,e){if(t.length!==e.length)return t.length<e.length?-1:1;if(0!==t.length){for(var r=0;r<t.length&&t[r]===e[r];)r++;return r===t.length?0:t[r]<e[r]?-1:1}return 0}function Ur(t){try{return new Tr(t),!0}catch(e){return!1}}function Lr(t){try{return new Tr(t).sign>=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<arguments.length;i++)n[i-1]=arguments[i];var o=Rr(t);try{for(var a=qe(n),s=a.next();!s.done;s=a.next()){var u=s.value,c=Je(jr[u],2),h=c[0],f=c[1];if(o.length===h+f.length){for(var l=0;l<f.length&&o[l]===f[l];)l++;if(l===f.length)return[u,o.slice(f.length)]}}}catch(A){e={error:A}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return null}function Kr(t,e){var r=e,n=Array.isArray(r)?r:r.args;return 2===n.length?"pair"===t?{prim:"pair",args:n}:{prim:"Pair",args:n}:Ye(Ye({},Array.isArray(r)?{prim:t}:r),{args:[n[0],{prim:t,args:n.slice(1)}]})}function qr(t){return Array.isArray(t)||"pair"===t.prim}function Jr(t){return Array.isArray(t)||"prim"in t&&"Pair"===t.prim}var Vr=/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])[T ]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|[+-]([01][0-9]|2[0-3]):([0-5][0-9]))$/;function zr(t){if("string"in t){if(Lr(t.string))return new Date(parseInt(t.string,10));if(Vr.test(t.string)){var e=new Date(t.string);if(!Number.isNaN(e.valueOf))return e}}else if(Lr(t.int))return new Date(parseInt(t.int,10));return null}function Xr(t){return t.map((function(t){return(t>>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<t)throw Sn;var e=this.buffer.slice(this.idx,this.idx+t);return this.idx+=t,e},t.prototype.reader=function(e){if(this.cap-this.idx<e)throw Sn;var r=new t(this.buffer,this.idx,this.idx+e);return this.idx+=e,r},t.prototype.copy=function(){return new t(this.buffer,this.idx,this.cap)},t.prototype.readUint8=function(){if(this.cap-this.idx<1)throw Sn;return this.buffer[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)-BigInt(1);(v>>=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<t.length;r+=2){var n=t.slice(r,r+2),i=parseInt(n,16);if(Number.isNaN(i))throw new Error("can't parse hex byte: "+n);e.push(i)}return e}(l.bytes);return e.writeUint8(En.Bytes),e.writeUint32(m.length),void e.writeBytes(m)}var _=Bn[l.prim];if(void 0===_)throw new TypeError("Can't encode primary: "+l.prim);var B=((null===(c=l.args)||void 0===c?void 0:c.length)||0)<3?En.Prim0+2*((null===(h=l.args)||void 0===h?void 0:h.length)||0)+(void 0===l.annots||0===l.annots.length?0:1):En.Prim;if(e.writeUint8(B),e.writeUint8(_),void 0!==l.args)if(l.args.length<3)try{for(var C=qe(l.args),Q=C.next();!Q.done;Q=C.next()){y=Q.value;if((S=A.next()).done)throw new Error("REPORT ME: iterator is done");Tn(y,e,S.value)}}catch(D){o={error:D}}finally{try{Q&&!Q.done&&(a=C.return)&&a.call(C)}finally{if(o)throw o.error}}else{p=new kn;try{for(var M=qe(l.args),k=M.next();!k.done;k=M.next()){var S;y=k.value;if((S=A.next()).done)throw new Error("REPORT ME: iterator is done");Tn(y,p,S.value)}}catch(R){s={error:R}}finally{try{k&&!k.done&&(u=M.return)&&u.call(M)}finally{if(s)throw s.error}}e.writeUint32(p.length),e.writeBytes(p.buffer)}if(void 0!==l.annots&&0!==l.annots.length){m=(new TextEncoder).encode(l.annots.join(" "));e.writeUint32(m.length),e.writeBytes(Array.from(m))}else void 0!==l.args&&l.args.length>=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;r<t.length;r++)qn(t[r],e[r])}function Vn(t,e){var r,n,i,o,a,s,u;if(void 0===e&&(e=!1),!Array.isArray(t)){var c=Hr(t);if(((null===(a=c.t)||void 0===a?void 0:a.length)||0)>1)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;a<arguments.length;a++)o[a-1]=arguments[a];if(e.length<o.length+t)throw new jn(i,e,i.prim+": stack must have at least "+o.length+" element(s)");var s=t;try{for(var u=qe(o),c=u.next();!c.done;c=u.next()){var h=c.value;if(null!==h&&0!==h.length){for(var f=0;f<h.length&&h[f]!==Yn(e[s]);)f++;if(f===h.length)throw new jn(i,e,i.prim+": stack type mismatch: ["+s+"] expected to be "+h+", got "+Yn(e[s])+" instead")}s++}}catch(l){r={error:l}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return e.slice(t,o.length+t)}function a(t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{return t.apply(void 0,Ve([],Je(r)))}catch(o){throw o instanceof Nr?new jn(i,e,o.message):o}}}function s(t){return function(r){try{return t(r)}catch(n){throw n instanceof Nr?new jn(i,e,n.message):n}}}var u=a(Hr),c=a(Jn),h=a(qn),f=s(fn),l=s(ln),A=s(pn),p=s(An),d=s(gn);function g(t,r){var n=u(i,Ye(Ye({},r),{emptyFields:void 0!==t.f&&t.f>1,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);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}(n,["annots"]);return Ye(Ye({},a),o&&0!==o.length&&{annots:o})}function m(t,e){var r=g({v:1});return y(t,{v:void 0!==r.v?r.v:void 0!==e?[e]:null,t:null})}function v(t,r,n,o,a){var s,c,h,f,l=null===(s=u(r).f)||void 0===s?void 0:s[0],A=null===(c=n.f)||void 0===c?void 0:c[o];if(void 0!==A&&"%"!==A&&void 0!==l&&A!==l)throw new jn(i,e,i.prim+": field names doesn't match: "+A+" !== "+l);var p=null===(h=n.v)||void 0===h?void 0:h[o],d=null===(f=u(t).v)||void 0===f?void 0:f[0];return y(r,{t:null,v:p?"@%"===p?l?["@"+l.slice(1)]:void 0:"@%%"===p?d?["@"+d.slice(1)+"."+(l?l.slice(1):a)]:l?["@"+l.slice(1)]:void 0:[p]:null})}function b(t,r,n){void 0===n&&(n=r);var o=Kr("pair",t);if(1===n)return[o.args[0]];if(2===n)return o.args;var a=o.args[1];if(qr(a))return Ve([o.args[0]],Je(b(a,r,n-1)));throw new jn(i,e,i.prim+": at least "+r+" fields are expected")}function w(t,r,n){if(void 0===n&&(n=r),0===n)return t;var o=Kr("pair",t);if(1===n)return o.args[0];var a=o.args[1];if(qr(a))return w(a,r,n-2);if(2===n)return a;throw new jn(i,e,i.prim+": at least "+(r+1)+" fields are expected")}function I(t,r,n,o){if(void 0===o&&(o=n),0===o)return r;var a=Kr("pair",t);if(1===o)return Ye(Ye({},a),{args:[r,a.args[1]]});var s=a.args[1];if(qr(s))return Ye(Ye({},a),{args:[a.args[0],I(s,r,n,o-2)]});if(2===o)return Ye(Ye({},a),{args:[a.args[0],r]});throw new jn(i,e,i.prim+": at least "+(n+1)+" fields are expected")}var E=function(t,e){return["@"+(t.v?t.v[0].slice(1)+".":"")+e]};function _(t,e){if(!("failed"in t)&&!("failed"in e))return c(t,e),t;if(!("failed"in t)||!("failed"in e))return"failed"in t?e:t;try{return qn(t.failed,e.failed),t}catch(r){return{failed:{prim:"or",args:[t.failed,e.failed]}}}}var B=function(t){var i,a,s,B,C,Q,M;switch(t.prim){case"DUP":if(0===(L=t.args?parseInt(t.args[0].int,10):1))throw new jn(t,e,"DUP 0 is forbidden");var k=o(L-1,null)[0];if("ticket"===Yn(k))throw new jn(t,e,"ticket can't be DUPed");return Ve([k],Je(e));case"SWAP":var S=o(0,null,null);return g({}),Ve([S[1],S[0]],Je(e.slice(2)));case"SOME":return Ve([y({prim:"option",args:[o(0,null)[0]]},g({t:1,v:1}))],Je(e.slice(1)));case"UNIT":return Ve([y({prim:"unit"},g({v:1,t:1}))],Je(e));case"PAIR":if((L=t.args?parseInt(t.args[0].int,10):2)<2)throw new jn(t,e,"PAIR "+L+" is forbidden");var x=o.apply(void 0,Ve([0],Je(new Array(L).fill(null)))),D=g({f:L,t:1,v:1},{specialFields:!0}),R=function(t){var e=t.lastIndexOf(".");return t.slice(e>0?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;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function ui(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);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}function ci(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 hi(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]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function fi(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=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;r<n;r++,i++)t[i]=e[r];return t}var pi,di,gi,yi,mi=function(){function t(t){this.context=t}return t.prototype.forge=function(t){var e=t.branch,r=t.contents;return this.context.rpc.forgeOperations({branch:e,contents:r})},t}(),vi=function(){function t(t){this.context=t}return t.prototype.inject=function(t){return this.context.rpc.injectOperation(t)},t}(),bi=function(){this.name="UnconfiguredSignerError",this.message="No signer has been configured. Please configure one by calling setProvider({signer}) on your TezosToolkit instance."},wi=function(){function t(){}return t.prototype.publicKey=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){throw new bi}))}))},t.prototype.publicKeyHash=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){throw new bi}))}))},t.prototype.secretKey=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){throw new bi}))}))},t.prototype.sign=function(t,e){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){throw new bi}))}))},t}(),Ii=function(t,e){return si(si({},t),{kind:e})},Ei=function(t,e){if(Array.isArray(t)){var r=t.find((function(t){return t.kind===e}));if(r&&_i(r,e))return r}},_i=function(t,e){return t.kind===e},Bi=function(t){return-1!==["transaction","delegation","origination","reveal"].indexOf(t.kind)},Ci=function(t){return-1!==["transaction","delegation","origination"].indexOf(t.kind)},Qi=function(t){return"metadata"in t},Mi=function(t){return Qi(t)&&"operation_result"in t.metadata},ki=function(t){this.errors=t,this.name="TezosOperationError";var e=t[t.length-1];this.id=e.id,this.kind=e.kind,this.message="("+this.kind+") "+this.id,"with"in e&&e.with.string&&(this.message=e.with.string)},Si=function(t){this.result=t,this.name="TezosPreapplyFailureError",this.message="Preapply returned an unexpected result"},xi=function(t){for(var e=Array.isArray(t)?t:[t],r=[],n=0;n<e.length;n++)for(var i=0;i<e[n].contents.length;i++){var o=e[n].contents[i];Mi(o)&&(r.push(si({fee:o.fee},o.metadata.operation_result)),Array.isArray(o.metadata.internal_operation_results)&&o.metadata.internal_operation_results.forEach((function(t){return r.push(t.result)})))}return r},Di=function(t,e){var r,n;void 0===e&&(e="failed");for(var i,o=Array.isArray(t)?t:[t],a=[],s=0;s<o.length;s++)for(var u=0;u<o[s].contents.length;u++){var c=o[s].contents[u];if(Qi(c)&&(Mi(c)&&c.metadata.operation_result.status===e&&(a=a.concat(c.metadata.operation_result.errors||[])),Qi(i=c)&&"internal_operation_results"in i.metadata&&Array.isArray(c.metadata.internal_operation_results)))try{for(var h=(r=void 0,fi(c.metadata.internal_operation_results)),f=h.next();!f.done;f=h.next()){var l=f.value;"result"in l&&l.result.status===e&&(a=a.concat(l.result.errors||[]))}}catch(A){r={error:A}}finally{try{f&&!f.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}}return a},Ri=function(t,e){var r=void 0===e?{ALLOCATION_BURN:257,ORIGINATION_BURN:257}:e,n=r.ALLOCATION_BURN,i=r.ORIGINATION_BURN,o=xi({contents:t}),a=new Fe.a(0),s=new Fe.a(0),u=new Fe.a(0),c=new Fe.a(0),h=new Fe.a(0),f=new Fe.a(0);return o.forEach((function(t){u=u.plus(t.fee||0),c=c.plus(Array.isArray(t.originated_contracts)?t.originated_contracts.length*i:0),h=h.plus("allocated_destination_contract"in t?n:0),a=a.plus(t.consumed_gas||0),f=f.plus("paid_storage_size_diff"in t&&Number(t.paid_storage_size_diff)||0)})),s=s.plus(h).plus(c).plus(f),{totalFee:u,totalGas:a,totalStorage:s,totalAllocationBurn:h,totalOriginationBurn:c,totalPaidStorageDiff:f,totalStorageBurn:new Fe.a(s.multipliedBy(1e3))}},Ni=function(){this.name="MissedBlockDuringConfirmationError",this.message="Taquito missed a block while waiting for operation confirmation and was not able to find the operation"},Pi=function(){function t(t,e,r){var n=this;this.opHash=t,this.context=e,this._newHead$=r,this._operationResult=new ot(1),this._includedInBlock=new ot(1),this._included=!1,this.newHead$=this._newHead$.pipe(Lt((function(t){if(!n._included&&n.lastHead&&t.header.level-n.lastHead.header.level>1)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;e<arguments.length;e++)t[e]=arguments[e];var r=t[t.length-1];return V(r)?(t.pop(),function(e){return Ot(t,e,r)}):function(e){return Ot(t,e)}}(t),me((function(t){return ci(r,void 0,void 0,(function(){return hi(this,(function(e){return[2,this.context.rpc.getBlock({block:String(t)})]}))}))})))})))},t.prototype.createHeadObservableFromConfig=function(t){var e=t.blockIdentifier;return ci(this,void 0,void 0,(function(){var t,r,n;return hi(this,(function(i){switch(i.label){case 0:return t=[],e&&t.push(this.createPastBlockWalker(e)),n=(r=t).push,[4,this.createNewHeadObservable()];case 1:return n.apply(r,[i.sent()]),[2,Ot.apply(void 0,Ai([],li(t)))]}}))}))},t.prototype.createOperation=function(t,e){return void 0===e&&(e={}),ci(this,void 0,void 0,(function(){var r,n;return hi(this,(function(i){switch(i.label){case 0:return r=Pi.bind,n=[void 0,t,this.context.clone()],[4,this.createHeadObservableFromConfig(e)];case 1:return[2,new(r.apply(Pi,n.concat([i.sent()])))]}}))}))},t.prototype.createTransactionOperation=function(t,e){return void 0===e&&(e={}),ci(this,void 0,void 0,(function(){var r,n;return hi(this,(function(i){switch(i.label){case 0:return r=Fi.bind,n=[void 0,t,this.context.clone()],[4,this.createHeadObservableFromConfig(e)];case 1:return[2,new(r.apply(Fi,n.concat([i.sent()])))]}}))}))},t.prototype.createDelegationOperation=function(t,e){return void 0===e&&(e={}),ci(this,void 0,void 0,(function(){var r,n;return hi(this,(function(i){switch(i.label){case 0:return r=Ti.bind,n=[void 0,t,this.context.clone()],[4,this.createHeadObservableFromConfig(e)];case 1:return[2,new(r.apply(Ti,n.concat([i.sent()])))]}}))}))},t.prototype.createOriginationOperation=function(t,e){return void 0===e&&(e={}),ci(this,void 0,void 0,(function(){var r,n;return hi(this,(function(i){switch(i.label){case 0:return r=Oi.bind,n=[void 0,t,this.context.clone()],[4,this.createHeadObservableFromConfig(e)];case 1:return[2,new(r.apply(Oi,n.concat([i.sent()])))]}}))}))},t}();!function(t){t[t.DELEGATION=10600]="DELEGATION",t[t.ORIGINATION=10600]="ORIGINATION",t[t.TRANSFER=10600]="TRANSFER",t[t.REVEAL=10600]="REVEAL"}(pi||(pi={})),function(t){t[t.DELEGATION=1257]="DELEGATION",t[t.ORIGINATION=1e4]="ORIGINATION",t[t.TRANSFER=1e4]="TRANSFER",t[t.REVEAL=1420]="REVEAL"}(di||(di={})),function(t){t[t.DELEGATION=0]="DELEGATION",t[t.ORIGINATION=257]="ORIGINATION",t[t.TRANSFER=257]="TRANSFER",t[t.REVEAL=0]="REVEAL"}(gi||(gi={})),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"}(yi||(yi={}));var Gi,Hi;yi.Pt24m4xi,yi.PsBABY5H,yi.PsBabyM1,yi.PsCARTHA,yi.PsDELPH1,yi.PtEdo2Zk,yi.PsFLorena,yi.PtGRANADs;!function(t){t.MAINNET="KT1CPuTzwC7h7uLXd5WQmpMFso1HxrLBUtpE",t.CARTHAGENET="KT1VAy1o1FGiXYfD3YT7x7k5eF5HSHhmc1u6",t.DELPHINET="KT19abMFs3haqyKYwqdLjK9GbtofryZLvpiK",t.EDONET="KT1A64nVZDccAHGAsf1ZyVajXZcbiwjV3SnN",t.FLORENCENET="KT1KCe3YqGnudsiCWb5twbe2DH5T3EMdLpSE",t.GRANADANET="KT1BCun2vsA4GBQvsKAuGD5x873MfW2jsN9z"}(Gi||(Gi={})),function(t){t.MAINNET="NetXdQprcVkpaWU",t.CARTHAGENET="NetXjD3HPJJjmcd",t.DELPHINET="NetXm8tYqnMWky1",t.EDONET="NetXSgo1ZT2DRUG",t.FLORENCENET="NetXxkAx4woPLyu",t.GRANADANET="NetXz969SFaFn8k"}(Hi||(Hi={}));var ji="edsigtkpiSSschcaCt9pUVrpNPf7TTcgvgDEDD6NCEHMy8NNQJCGnMfLZzYoQj74yLjo9wx6MPVV29CvVzgi7qEcEUok3k7AuMg",Yi=function(){function t(t){var e=this;this.context=t,this.constructOps=function(t,r,n,i,o){var a={};return t.map((function(t){switch(t.kind){case h.ACTIVATION:return si({},t);case h.REVEAL:return si(si(si(si({},t),e.getSource(t,r,o)),i(r,n,a)),e.getFee(t));case h.ORIGINATION:return si(si(si(si(si({},t),{balance:"undefined"!==typeof t.balance?""+t.balance:"0"}),e.getSource(t,r,o)),i(r,n,a)),e.getFee(t));case h.TRANSACTION:var s=si(si(si(si(si({},t),{amount:"undefined"!==typeof t.amount?""+t.amount:"0"}),e.getSource(t,r,o)),i(r,n,a)),e.getFee(t));if(s.source.toLowerCase().startsWith("kt1"))throw new Error("KT1 addresses are not supported as source since "+yi.PsBabyM1);return s;case h.DELEGATION:return si(si(si(si({},t),e.getSource(t,r,o)),i(r,n,a)),e.getFee(t));default:throw new Error("Unsupported operation")}}))},this.getFee=function(t){return{fee:"undefined"===typeof t.fee?"0":""+t.fee,gas_limit:"undefined"===typeof t.gas_limit?"0":""+t.gas_limit,storage_limit:"undefined"===typeof t.storage_limit?"0":""+t.storage_limit}},this.getSource=function(t,e,r){return{source:"undefined"===typeof t.source?r||e:t.source}},this.getContextCounter=function(t,r){return(!e.context.counters[t]||e.context.counters[t]<r)&&(e.context.counters[t]=r),{counter:""+ ++e.context.counters[t]}},this.getScopeCounter=function(t,e,r){return(!r[t]||r[t]<e)&&(r[t]=e),{counter:""+ ++r[t]}}}return Object.defineProperty(t.prototype,"rpc",{get:function(){return this.context.rpc},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"signer",{get:function(){return this.context.signer},enumerable:!1,configurable:!0}),t.prototype.isRevealOpNeeded=function(t,e){return ci(this,void 0,void 0,(function(){return hi(this,(function(r){switch(r.label){case 0:return[4,this.isAccountRevealRequired(e)];case 1:return[2,!(!r.sent()||!this.isRevealRequiredForOpType(t))]}}))}))},t.prototype.isAccountRevealRequired=function(t){return ci(this,void 0,void 0,(function(){var e;return hi(this,(function(r){switch(r.label){case 0:return[4,this.rpc.getManagerKey(t)];case 1:return e=r.sent(),[2,!(e&&"object"===typeof e?!!e.key:!!e)]}}))}))},t.prototype.isRevealRequiredForOpType=function(t){var e,r,n=!1;try{for(var i=fi(t),o=i.next();!o.done;o=i.next()){var a=o.value;Ci(a)&&(n=!0)}}catch(s){e={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},t.prototype.prepareOpAndSimulation=function(t){var e=t.operation,r=t.source;return ci(this,void 0,void 0,(function(){var t,n,i,o,a,s,u;return hi(this,(function(c){switch(c.label){case 0:return t=[],t=Array.isArray(e)?Ai([],li(e)):[e],[4,this.signer.publicKeyHash()];case 1:return n=c.sent(),[4,this.getCounterHashAndProtocol(t,n)];case 2:return i=c.sent(),o=i.counter,a=i.hash,s=i.protocol,(!this.context.counters[n]||this.context.counters[n]<o)&&(this.context.counters[n]=o),o!==this.context.counters[n]&&(u={opOb:{branch:a,contents:this.constructOps(t,n,o,this.getScopeCounter,r)},counter:o}),[2,{preparedOp:{opOb:{branch:a,contents:this.constructOps(t,n,o,this.getContextCounter,r),protocol:s},counter:o},preparedOpSimulation:u}]}}))}))},t.prototype.getCounterHashAndProtocol=function(t,e){return ci(this,void 0,void 0,(function(){var r,n,i,o,a,s,u,c,h;return hi(this,(function(f){switch(f.label){case 0:r=this.rpc.getBlockHeader(),n=this.rpc.getBlockMetadata(),i=Promise.resolve(void 0),o=0,f.label=1;case 1:return o<t.length?Ci(t[o])||"reveal"===t[o].kind?[4,this.rpc.getContract(e)]:[3,3]:[3,4];case 2:return a=f.sent().counter,i=Promise.resolve(a),[3,4];case 3:return o++,[3,1];case 4:return[4,Promise.all([r,n,i])];case 5:if(s=li.apply(void 0,[f.sent(),3]),u=s[0],c=s[1],h=s[2],!u)throw new Error("Unable to fetch latest block header");if(!c)throw new Error("Unable to fetch latest metadata");return[2,{counter:parseInt(h||"0",10),hash:u.hash,protocol:c.next_protocol}]}}))}))},t.prototype.prepareOperationEstimation=function(t){var e=t.operation,r=t.source;return ci(this,void 0,void 0,(function(){var t,n,i,o,a,s,u;return hi(this,(function(c){switch(c.label){case 0:return t={},n=[],n=Array.isArray(e)?Ai([],li(e)):[e],r?(o=r,[3,3]):[3,1];case 1:return[4,this.signer.publicKeyHash()];case 2:o=c.sent(),c.label=3;case 3:return i=o,[4,this.getCounterHashAndProtocol(n,i)];case 4:return a=c.sent(),s=a.counter,u=a.hash,(!t[i]||t[i]<s)&&(t[i]=s),[2,{opOb:{branch:u,contents:this.constructOps(n,i,s,this.getScopeCounter,r)},counter:s}]}}))}))},t.prototype.preValidate=function(t,e){return ci(this,void 0,void 0,(function(){var r,n,i;return hi(this,(function(o){switch(o.label){case 0:return t.preparedOpSimulation?(n=this.runOperation,i={operation:si({signature:ji},t.preparedOpSimulation.opOb)},[4,this.rpc.getChainId()]):[3,2];case 1:return r=n.apply(this,[(i.chain_id=o.sent(),i)]),[3,3];case 2:r=this.preapplyOperation(e.opOb),o.label=3;case 3:return[2,r]}}))}))},t.prototype.forgeOperation=function(t){var e=t.opOb,r=e.branch,n=e.contents;return ci(this,void 0,void 0,(function(){return hi(this,(function(t){return[2,this.context.forger.forge({branch:r,contents:n})]}))}))},t.prototype.forge=function(t){var e=t.opOb,r=e.branch,n=e.contents,i=e.protocol,o=t.counter;return ci(this,void 0,void 0,(function(){return hi(this,(function(t){switch(t.label){case 0:return[4,this.context.forger.forge({branch:r,contents:n})];case 1:return[2,{opbytes:t.sent(),opOb:{branch:r,contents:n,protocol:i},counter:o}]}}))}))},t.prototype.simulate=function(t){return ci(this,void 0,void 0,(function(){var e;return hi(this,(function(r){switch(r.label){case 0:return e={},[4,this.rpc.runOperation(t)];case 1:return[2,(e.opResponse=r.sent(),e.op=t,e.context=this.context.clone(),e)]}}))}))},t.prototype.estimate=function(t,e){var r=t.fee,n=t.gasLimit,i=t.storageLimit,o=ui(t,["fee","gasLimit","storageLimit"]);return ci(this,void 0,void 0,(function(){var t,a,s,u;return hi(this,(function(c){switch(c.label){case 0:return t=r,a=n,s=i,void 0!==r&&void 0!==n&&void 0!==i?[3,2]:[4,e(si({fee:r,gasLimit:n,storageLimit:i},o))];case 1:u=c.sent(),void 0===t&&(t=u.suggestedFeeMutez),void 0===a&&(a=u.gasLimit),void 0===s&&(s=u.storageLimit),c.label=2;case 2:return[2,{fee:t,gasLimit:a,storageLimit:s}]}}))}))},t.prototype.signOperation=function(t){return ci(this,void 0,void 0,(function(){var e;return hi(this,(function(r){switch(r.label){case 0:return[4,this.signer.sign(t.opbytes,new Uint8Array([3]))];case 1:return e=r.sent(),t.opbytes=e.sbytes,t.opOb.signature=e.prefixSig,[2,t]}}))}))},t.prototype.runOperation=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i;return hi(this,(function(o){switch(o.label){case 0:return e=[],[4,this.rpc.runOperation(t)];case 1:for(r=o.sent(),n=0;n<r.contents.length;n++)e.push(r.contents[n]);if((i=Di(r)).length)throw new ki(i);return[2,e]}}))}))},t.prototype.preapplyOperation=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:return e=[],[4,this.rpc.preapplyOperations([t])];case 1:if(r=a.sent(),!Array.isArray(r))throw new Si(r);for(n=0;n<r.length;n++)for(i=0;i<r[n].contents.length;i++)e.push(r[n].contents[i]);if((o=Di(r)).length)throw new ki(o);return[2,e]}}))}))},t.prototype.injectOperation=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){return[2,this.context.injector.inject(t)]}))}))},t}(),Ki=function(){function t(t,e,r,n){var i,o,a=this;this.hash=t,this.raw=e,this.results=r,this.context=n,this._pollingConfig$=new ot(1),this._currentHeadPromise=void 0,this.currentHead$=wt((function(){return a._currentHeadPromise||(a._currentHeadPromise=a.context.rpc.getBlock(),_t(1e3).pipe(oe()).subscribe((function(){a._currentHeadPromise=void 0}))),bt(a._currentHeadPromise)})),this.polling$=wt((function(){return a._pollingConfig$.pipe(Lt((function(t){var e=t.timeout,r=t.interval;if(e<=0)throw new Error("Timeout must be more than 0");if(r<=0)throw new Error("Interval must be more than 0")})),Qt((function(t){return si(si({},t),{timeoutAt:Math.ceil(t.timeout/t.interval)+1,count:0})})),fe((function(t){return _t(0,1e3*t.interval).pipe((e=t,function(t){return t.lift(new ve(e))}));var e})),Lt((function(t){if(t.count++,t.count>t.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<arguments.length;n++)t[n]=arguments[n];return Bo(t,s,a),new Eo(r,e,s,a,t)},void 0!==r.contractProviderTypeSymbol&&function(t){var e=!1,r=t.ExtractSignatures();return"contract"===r[0][r[0].length-1]&&(e=!0),e}(s)){o.views[a]=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];var s=n[a].args[0],u=new Ue.b(s),c=n[a].args[1].args[0],h=new Ue.b(c);return Bo(e,u,a),new _o(t,r,a,i,h,u,e)}}})),Object.keys(a.ExtractSchema()).filter((function(t){return-1===Object.keys(n).indexOf(t)})).forEach((function(t){o.methods[t]=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return Bo(Ai([t],li(n)),a,t),new Eo(r,e,a,t,n,!1,!0)}}))}else{var u=this.parameterSchema;this.methods.default=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Bo(t,a,Io),new Eo(r,e,u,Io,t,!1)}}},t.prototype.storage=function(){return this.storageProvider.getStorage(this.address,this.schema)},t.prototype.bigMap=function(t){return this.storageProvider.getBigMapKey(this.address,t,this.schema)},t}(),Qo=function(){function t(t,e,r){this.id=t,this.schema=e,this.provider=r}return t.prototype.get=function(t,e){return ci(this,void 0,void 0,(function(){var r;return hi(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.provider.getBigMapKeyByID(this.id.toString(),t,this.schema,e)];case 1:return[2,i.sent()];case 2:if((r=i.sent())instanceof n.b&&r.status===n.c.NOT_FOUND)return[2,void 0];throw r;case 3:return[2]}}))}))},t.prototype.getMultipleValues=function(t,e,r){return void 0===r&&(r=5),ci(this,void 0,void 0,(function(){return hi(this,(function(n){return[2,this.provider.getBigMapKeysByID(this.id.toString(),t,this.schema,e,r)]}))}))},t.prototype.toJSON=function(){return this.id.toString()},t.prototype.toString=function(){return this.id.toString()},t}(),Mo=function(){function t(t,e){this.id=t,this.provider=e}return t.prototype.getSaplingDiff=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){return[2,this.provider.getSaplingDiffByID(this.id.toString(),t)]}))}))},t.prototype.getId=function(){return this.id.toString()},t}(),ko=function(t){return{big_map:function(e,r){if(e&&"int"in e&&void 0!==e.int){var n=new Ue.c(r);return new Qo(new Fe.a(e.int),n,t)}return{}},sapling_state:function(e){return e&&"int"in e&&void 0!==e.int?new Mo(new Fe.a(e.int),t):{}}}},So=function(t){function e(e,r){var n=t.call(this,e)||this;return n.estimator=r,n.contractProviderTypeSymbol=Symbol.for("taquito--provider-type-symbol"),n}return ai(e,t),e.prototype.getStorage=function(t,e){return ci(this,void 0,void 0,(function(){var r,n;return hi(this,(function(i){switch(i.label){case 0:return e?[3,2]:[4,this.rpc.getScript(t)];case 1:e=i.sent(),i.label=2;case 2:return r=Ue.c.isSchema(e)?e:Ue.c.fromRPCResponse({script:e}),[4,this.rpc.getStorage(t)];case 3:return n=i.sent(),[2,r.Execute(n,ko(this))]}}))}))},e.prototype.getBigMapKey=function(t,e,r){return ci(this,void 0,void 0,(function(){var n,i,o;return hi(this,(function(a){switch(a.label){case 0:return r?[3,2]:[4,this.rpc.getScript(t)];case 1:r=a.sent(),a.label=2;case 2:return n=Ue.c.isSchema(r)?r:Ue.c.fromRPCResponse({script:r}),i=n.EncodeBigMapKey(e),[4,this.rpc.getBigMapKey(t,i)];case 3:return o=a.sent(),[2,n.ExecuteOnBigMapValue(o)]}}))}))},e.prototype.getBigMapKeyByID=function(t,e,r,n){return ci(this,void 0,void 0,(function(){var i,o,a,s,u,c,h;return hi(this,(function(f){switch(f.label){case 0:return i=r.EncodeBigMapKey(e),o=i.key,a=i.type,[4,this.context.packer.packData({data:o,type:a})];case 1:return s=f.sent().packed,u=Object(Le.f)(s),n?[4,this.context.rpc.getBigMapExpr(t.toString(),u,{block:String(n)})]:[3,3];case 2:return h=f.sent(),[3,5];case 3:return[4,this.context.rpc.getBigMapExpr(t.toString(),u)];case 4:h=f.sent(),f.label=5;case 5:return c=h,[2,r.ExecuteOnBigMapValue(c,ko(this))]}}))}))},e.prototype.getBigMapKeysByID=function(t,e,r,n,i){return void 0===i&&(i=5),ci(this,void 0,void 0,(function(){var o,a,s,u,c,h,f,l,A=this;return hi(this,(function(p){switch(p.label){case 0:return[4,this.getBlockForRequest(e,n)];case 1:o=p.sent(),a=new Ue.a,s=0,u=[],p.label=2;case 2:return s<e.length?(c=e.slice(s,s+i),h=c.map((function(e){return A.getBigMapValueOrUndefined(e,t,r,o)})),f=[Ai([],li(u))],[4,Promise.all(h)]):[3,4];case 3:return u=Ai.apply(void 0,f.concat([li.apply(void 0,[p.sent()])])),s+=i,[3,2];case 4:for(l=0;l<u.length;l++)a.set(e[l],u[l]);return[2,a]}}))}))},e.prototype.getBlockForRequest=function(t,e){var r;return ci(this,void 0,void 0,(function(){var n;return hi(this,(function(i){switch(i.label){case 0:return 1!==t.length&&"undefined"===typeof e?[3,1]:(n=e,[3,3]);case 1:return[4,this.rpc.getBlock()];case 2:n=null===(r=i.sent())||void 0===r?void 0:r.header.level,i.label=3;case 3:return[2,n]}}))}))},e.prototype.getBigMapValueOrUndefined=function(t,e,r,i){return ci(this,void 0,void 0,(function(){var o;return hi(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,this.getBigMapKeyByID(e,t,r,i)];case 1:return[2,a.sent()];case 2:if((o=a.sent())instanceof n.b&&o.status===n.c.NOT_FOUND)return[2];throw o;case 3:return[2]}}))}))},e.prototype.getSaplingDiffByID=function(t,e){return ci(this,void 0,void 0,(function(){var r;return hi(this,(function(n){switch(n.label){case 0:return e?[4,this.context.rpc.getSaplingDiffById(t.toString(),{block:String(e)})]:[3,2];case 1:return r=n.sent(),[3,4];case 2:return[4,this.context.rpc.getSaplingDiffById(t.toString())];case 3:r=n.sent(),n.label=4;case 4:return[2,r]}}))}))},e.prototype.addRevealOperationIfNeeded=function(t,e){return ci(this,void 0,void 0,(function(){var r,n,i,o,a,s,u,c=this;return hi(this,(function(f){switch(f.label){case 0:return Ci(t)?(r=[t],[4,this.signer.publicKey()]):[3,5];case 1:return n=f.sent(),[4,this.estimator.reveal()];case 2:return(i=f.sent())?(o={kind:h.REVEAL},[4,this.estimate(o,(function(){return ci(c,void 0,void 0,(function(){return hi(this,(function(t){return[2,i]}))}))}))]):[3,5];case 3:return a=f.sent(),u=(s=r).unshift,[4,ao(si({},a),e,n)];case 4:return u.apply(s,[f.sent()]),[2,r];case 5:return[2,t]}}))}))},e.prototype.originate=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,u,c,h;return hi(this,(function(f){switch(f.label){case 0:return[4,this.estimate(t,this.estimator.originate.bind(this.estimator))];case 1:return e=f.sent(),[4,this.signer.publicKeyHash()];case 2:return r=f.sent(),i=ro,[4,this.context.parser.prepareCodeOrigination(si(si({},t),e))];case 3:return[4,i.apply(void 0,[f.sent()])];case 4:return n=f.sent(),[4,this.addRevealOperationIfNeeded(n,r)];case 5:return o=f.sent(),[4,this.prepareOpAndSimulation({operation:o,source:r})];case 6:return a=f.sent(),[4,this.forge(a.preparedOp)];case 7:return s=f.sent(),[4,this.signOperation(s)];case 8:return u=f.sent(),[4,this.preValidate(a,u)];case 9:return c=f.sent(),[4,this.injectOperation(u.opbytes)];case 10:return h=f.sent(),[2,new po(h,n,u,c,this.context.clone(),this)]}}))}))},e.prototype.setDelegate=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,u,c,h;return hi(this,(function(f){switch(f.label){case 0:if(/kt1/i.test(t.source))throw new $i(t.source);return[4,this.estimate(t,this.estimator.setDelegate.bind(this.estimator))];case 1:return e=f.sent(),[4,this.signer.publicKeyHash()];case 2:return r=f.sent(),[4,io(si(si({},t),e))];case 3:return n=f.sent(),i=t.source||r,[4,this.addRevealOperationIfNeeded(n,r)];case 4:return o=f.sent(),[4,this.prepareOpAndSimulation({operation:o,source:i})];case 5:return a=f.sent(),[4,this.forge(a.preparedOp)];case 6:return s=f.sent(),[4,this.signOperation(s)];case 7:return u=f.sent(),[4,this.preValidate(a,u)];case 8:return c=f.sent(),[4,this.injectOperation(u.opbytes)];case 9:return h=f.sent(),[2,new Ao(h,n,i,u,c,this.context.clone())]}}))}))},e.prototype.registerDelegate=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,u,c;return hi(this,(function(h){switch(h.label){case 0:return[4,this.estimate(t,this.estimator.registerDelegate.bind(this.estimator))];case 1:return e=h.sent(),[4,this.signer.publicKeyHash()];case 2:return r=h.sent(),[4,oo(si(si({},t),e),r)];case 3:return n=h.sent(),[4,this.addRevealOperationIfNeeded(n,r)];case 4:return i=h.sent(),[4,this.prepareOpAndSimulation({operation:i,source:r})];case 5:return o=h.sent(),[4,this.forge(o.preparedOp)];case 6:return a=h.sent(),[4,this.signOperation(a)];case 7:return s=h.sent(),[4,this.preValidate(o,s)];case 8:return u=h.sent(),[4,this.injectOperation(s.opbytes)];case 9:return c=h.sent(),[2,new Ao(c,n,r,s,u,this.context.clone())]}}))}))},e.prototype.transfer=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,u,c,h;return hi(this,(function(f){switch(f.label){case 0:return[4,this.signer.publicKeyHash()];case 1:return e=f.sent(),[4,this.estimate(t,this.estimator.transfer.bind(this.estimator))];case 2:return r=f.sent(),[4,no(si(si({},t),r))];case 3:return n=f.sent(),i=t.source||e,[4,this.addRevealOperationIfNeeded(n,e)];case 4:return o=f.sent(),[4,this.prepareOpAndSimulation({operation:o,source:i})];case 5:return a=f.sent(),[4,this.forge(a.preparedOp)];case 6:return s=f.sent(),[4,this.signOperation(s)];case 7:return u=f.sent(),[4,this.preValidate(a,u)];case 8:return c=f.sent(),[4,this.injectOperation(u.opbytes)];case 9:return h=f.sent(),[2,new yo(h,n,i,u,c,this.context.clone())]}}))}))},e.prototype.reveal=function(t){return ci(this,void 0,void 0,(function(){var e,r,n,i,o,a,s,u,c,h,f,l=this;return hi(this,(function(A){switch(A.label){case 0:return[4,this.signer.publicKeyHash()];case 1:return e=A.sent(),[4,this.estimator.reveal(t)];case 2:return(r=A.sent())?[4,this.estimate(t,(function(){return ci(l,void 0,void 0,(function(){return hi(this,(function(t){return[2,r]}))}))}))]:[3,11];case 3:return n=A.sent(),o=ao,a=[si({},n),e],[4,this.signer.publicKey()];case 4:return[4,o.apply(void 0,a.concat([A.sent()]))];case 5:return i=A.sent(),[4,this.prepareOpAndSimulation({operation:i,source:e})];case 6:return s=A.sent(),[4,this.forge(s.preparedOp)];case 7:return u=A.sent(),[4,this.signOperation(u)];case 8:return c=A.sent(),[4,this.preValidate(s,c)];case 9:return h=A.sent(),[4,this.injectOperation(c.opbytes)];case 10:return f=A.sent(),[2,new go(f,i,e,c,h,this.context.clone())];case 11:throw new Error("The current address is already revealed.")}}))}))},e.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.rpc.getScript(t)];case 1:return r=s.sent(),[4,this.rpc.getEntrypoints(t)];case 2:return n=s.sent(),[4,this.rpc.getBlockHeader()];case 3:return i=s.sent(),o=i.chain_id,a=new Co(t,r,this,this,n,o),[2,e(a,this.context)]}}))}))},e.prototype.batch=function(t){var e=new fo(this.context,this.estimator);return Array.isArray(t)&&e.with(t),e},e}(Yi),xo=function(){function t(t){this.context=t}return t.prototype.getNextProto=function(){return ci(this,void 0,void 0,(function(){return hi(this,(function(t){switch(t.label){case 0:return[4,this.context.rpc.getBlockMetadata()];case 1:return[2,t.sent().next_protocol]}}))}))},t.prototype.parseScript=function(t){return ci(this,void 0,void 0,(function(){var e,r;return hi(this,(function(n){switch(n.label){case 0:return e=Qr.bind,r={},[4,this.getNextProto()];case 1:return[2,(new(e.apply(Qr,[void 0,(r.protocol=n.sent(),r)]))).parseScript(t)]}}))}))},t.prototype.parseMichelineExpression=function(t){return ci(this,void 0,void 0,(function(){var e,r;return hi(this,(function(n){switch(n.label){case 0:return e=Qr.bind,r={},[4,this.getNextProto()];case 1:return[2,(new(e.apply(Qr,[void 0,(r.protocol=n.sent(),r)]))).parseMichelineExpression(t)]}}))}))},t.prototype.parseJSON=function(t){return ci(this,void 0,void 0,(function(){var e,r;return hi(this,(function(n){switch(n.label){case 0:return e=Qr.bind,r={},[4,this.getNextProto()];case 1:return[2,(new(e.apply(Qr,[void 0,(r.protocol=n.sent(),r)]))).parseJSON(t)]}}))}))},t.prototype.prepareCodeOrigination=function(t){return ci(this,void 0,void 0,(function(){var e,r,n;return hi(this,(function(i){switch(i.label){case 0:return r=e=t,[4,this.formatCodeParam(t.code)];case 1:return r.code=i.sent(),t.init?(n=e,[4,this.formatInitParam(t.init)]):[3,3];case 2:n.init=i.sent(),i.label=3;case 3:return[2,e]}}))}))},t.prototype.formatCodeParam=function(t){return ci(this,void 0,void 0,(function(){var e,r,n;return hi(this,(function(i){switch(i.label){case 0:return"string"!==typeof t?[3,2]:[4,this.parseScript(t)];case 1:if(null===(r=i.sent()))throw new to("Invalid code parameter",t);return e=r,[3,4];case 2:return[4,this.parseJSON(t)];case 3:r=i.sent(),n=["parameter","storage","code"],e=r.sort((function(t,e){return n.indexOf(t.prim)-n.indexOf(e.prim)})),i.label=4;case 4:return[2,e]}}))}))},t.prototype.formatInitParam=function(t){return ci(this,void 0,void 0,(function(){var e,r;return hi(this,(function(n){switch(n.label){case 0:return"string"!==typeof t?[3,2]:[4,this.parseMichelineExpression(t)];case 1:if(null===(r=n.sent()))throw new eo("Invalid init parameter",t);return e=r,[3,4];case 2:return[4,this.parseJSON(t)];case 3:e=n.sent(),n.label=4;case 4:return[2,e]}}))}))},t}(),Do=function(){function t(t){this.context=t}return t.prototype.packData=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){return[2,this.context.rpc.packData(t)]}))}))},t}(),Ro={defaultConfirmationCount:1,confirmationPollingTimeoutSecond:180,shouldObservableSubscriptionRetry:!1,observableSubscriptionRetryFunction:we()},No=function(){function t(t,e,r,n,i,o,a,s,u){void 0===e&&(e=new wi),this._rpc=t,this._signer=e,this._proto=r,this._config=n,this._counters={},this.tz=new qi(this),this.estimate=new uo(this),this.contract=new So(this,this.estimate),this.batch=new lo(this,this.estimate),this.wallet=new vo(this),"string"===typeof this._rpc?this._rpcClient=new d(this._rpc):this._rpcClient=this._rpc,this.config=n,this._forger=i||new mi(this),this._injector=o||new vi(this),this.operationFactory=new Li(this),this._walletProvider=s||new bo(this),this._parser=u||new xo(this),this._packer=a||new Do(this)}return Object.defineProperty(t.prototype,"config",{get:function(){return this._config},set:function(t){this._config=si(si({},Ro),t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rpc",{get:function(){return this._rpcClient},set:function(t){this._rpcClient=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},set:function(t){this._injector=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"forger",{get:function(){return this._forger},set:function(t){this._forger=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"signer",{get:function(){return this._signer},set:function(t){this._signer=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"walletProvider",{get:function(){return this._walletProvider},set:function(t){this._walletProvider=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"proto",{get:function(){return this._proto},set:function(t){this._proto=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parser",{get:function(){return this._parser},set:function(t){this._parser=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"packer",{get:function(){return this._packer},set:function(t){this._packer=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"counters",{get:function(){return this._counters},set:function(t){this._counters[t.key]=t.counter},enumerable:!1,configurable:!0}),t.prototype.isAnyProtocolActive=function(t){return void 0===t&&(t=[]),ci(this,void 0,void 0,(function(){var e;return hi(this,(function(r){switch(r.label){case 0:return this._proto?[2,t.includes(this._proto)]:[3,1];case 1:return[4,this.rpc.getBlockMetadata()];case 2:return e=r.sent().next_protocol,[2,t.includes(e)]}}))}))},t.prototype.getConfirmationPollingInterval=function(){return ci(this,void 0,void 0,(function(){var t,e,r;return hi(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.rpc.getConstants()];case 1:return t=n.sent(),e=t.time_between_blocks[0],void 0!==t.minimal_block_delay&&(e=t.minimal_block_delay),r=(r=Fe.a.sum(e,new Fe.a(t.delay_per_missing_endorsement).multipliedBy(Math.max(0,t.initial_endorsers-t.endorsers_per_block)))).dividedBy(3),this.config.confirmationPollingIntervalSecond=0===r.toNumber()?.1:r.toNumber(),[2,this.config.confirmationPollingIntervalSecond];case 2:return n.sent(),[2,10];case 3:return[2]}}))}))},t.prototype.clone=function(){return new t(this.rpc,this.signer,this.proto,this.config,this.forger,this._injector,this.packer)},t}(),Po=function(t,e){return"opHash"in e?function(t,e){return t.hash===e.opHash}(t,e):"source"in e?function(t,e){switch(t.kind){case"endorsement":return"metadata"in t&&t.metadata.delegate===e.source;case"activate_account":return"metadata"in t&&t.pkh===e.source;default:return"source"in t&&t.source===e.source}}(t,e):"kind"in e?function(t,e){return"kind"in t&&t.kind===e.kind}(t,e):"destination"in e&&function(t,e){switch(t.kind){case"delegation":return t.delegate===e.destination;case"origination":if("metadata"in t&&"operation_result"in t.metadata&&"originated_contracts"in t.metadata.operation_result&&Array.isArray(t.metadata.operation_result.originated_contracts))return t.metadata.operation_result.originated_contracts.some((function(t){return t===e.destination}));break;case"transaction":return t.destination===e.destination;default:return!1}}(t,e)},To=function(t,e){if(Array.isArray(e.and))return e.and.every((function(e){return Oo(t,e)}));if(Array.isArray(e.or))return e.or.some((function(e){return Oo(t,e)}));throw new Error("Filter expression must contains either and/or property")},Oo=function(t,e){var r=[];return Array.isArray(e)?r.push.apply(r,Ai([],li(e))):r.push(e),r.every((function(e){return"and"in e||"or"in e?To(t,e):Po(t,e)}))},Fo=function(){function t(t,e,r){var n,i,o=this;void 0===e&&(e=!1),void 0===r&&(r=we()),this.shouldRetry=e,this.operatorFunction=r,this.errorListeners=[],this.messageListeners=[],this.closeListeners=[],this.completed$=new U,t.pipe((i=this.completed$,function(t){return t.lift(new _e(i))}),Lt((function(t){o.call(o.messageListeners,t)}),(function(t){o.call(o.errorListeners,t)}),(function(){o.call(o.closeListeners)})),this.shouldRetry?r:Lt(),(n=function(){return Ut},function(t){var e=new Ce(n),r=t.lift(e);return e.caught=r})).subscribe()}return t.prototype.call=function(t,e){var r,n;try{for(var i=fi(t),o=i.next();!o.done;o=i.next()){var a=o.value;try{a(e)}catch(s){console.error(s)}}}catch(u){r={error:u}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},t.prototype.remove=function(t,e){var r=t.indexOf(e);-1!==r&&t.splice(r,1)},t.prototype.on=function(t,e){switch(t){case"data":this.messageListeners.push(e);break;case"error":this.errorListeners.push(e);break;case"close":this.closeListeners.push(e);break;default:throw new Error("Trying to register on an unsupported event: "+t)}},t.prototype.off=function(t,e){switch(t){case"data":this.remove(this.messageListeners,e);break;case"error":this.remove(this.errorListeners,e);break;case"close":this.remove(this.closeListeners,e);break;default:throw new Error("Trying to unregister on an unsupported event: "+t)}},t.prototype.close=function(){this.completed$.next()},t}(),Uo=function(t){return bt(t.rpc.getBlock()).pipe(oe())},Lo=function(){function t(t,e){var r=this;void 0===e&&(e=2e4),this.context=t,this.POLL_INTERVAL=e,this.newBlock$=_t(0,this.POLL_INTERVAL).pipe(Qt((function(){return r.context})),fe(Uo),pe("hash"),Pe(),Me())}return t.prototype.subscribe=function(t){return new Fo(this.newBlock$.pipe(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=t.length;if(0===r)throw new Error("list of properties cannot be empty.");return function(e){return Qt(Te(t,r))(e)}}("hash")),this.context.config.shouldObservableSubscriptionRetry,this.context.config.observableSubscriptionRetryFunction)},t.prototype.subscribeOperation=function(t){return new Fo(this.newBlock$.pipe(function(t){return me((function(e){return new N((function(r){var n,i,o,a,s,u;try{for(var c=fi(e.operations),h=c.next();!h.done;h=c.next()){var f=h.value;try{for(var l=(o=void 0,fi(f)),A=l.next();!A.done;A=l.next()){var p=A.value;try{for(var d=(s=void 0,fi(p.contents)),g=d.next();!g.done;g=d.next()){var y=g.value;Oo(si({hash:p.hash},y),t)&&r.next(si({hash:p.hash},y))}}catch(m){s={error:m}}finally{try{g&&!g.done&&(u=d.return)&&u.call(d)}finally{if(s)throw s.error}}}}catch(v){o={error:v}}finally{try{A&&!A.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}}}catch(b){n={error:b}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}r.complete()}))}))}(t)),this.context.config.shouldObservableSubscriptionRetry,this.context.config.observableSubscriptionRetryFunction)},t}(),Go={commitHash:"a8e9548e650215186f661033b59299ace72c9ee6",version:"9.2.0"},Ho=function(t){this.results=t,this.name="ForgingMismatchError",this.message="Forging mismatch error"},jo=(function(){function t(t){if(this.forgers=t,0===t.length)throw new Error("At least one forger must be specified")}t.prototype.forge=function(t){var e=t.branch,r=t.contents;return ci(this,void 0,void 0,(function(){var t,n,i;return hi(this,(function(o){switch(o.label){case 0:return[4,Promise.all(this.forgers.map((function(t){return t.forge({branch:e,contents:r})})))];case 1:if(0===(t=o.sent()).length)throw new Error("At least one forger must be specified");for(n=t.pop();t.length;){if((i=t.pop())!==n)throw new Ho([n,i]);n=i}return[2,n]}}))}))}}(),function(){function t(){}t.prototype.prepareCodeOrigination=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){return[2,t]}))}))}}(),function(){function t(){}t.prototype.packData=function(t){return ci(this,void 0,void 0,(function(){return hi(this,(function(e){var r,n;return[2,{packed:(r=t.data,n=t.type,{bytes:Xr(Hn(r,n))}).bytes}]}))}))}}(),function(){function t(t){this._rpc=t,this._options={},this.format=Xi,"string"===typeof this._rpc?this._rpcClient=new d(this._rpc):this._rpcClient=this._rpc,this._context=new No(t),this._wallet=new vo(this._context),this.setProvider({rpc:this._rpcClient}),this.batch=this._context.batch.batch.bind(this._context.batch)}return t.prototype.setProvider=function(t){var e=t.rpc,r=t.stream,n=t.signer,i=t.protocol,o=t.config,a=t.forger,s=t.wallet,u=t.packer;this.setRpcProvider(e),this.setStreamProvider(r),this.setSignerProvider(n),this.setForgerProvider(a),this.setWalletProvider(s),this.setPackerProvider(u),this._context.proto=i,this._context.config=o},t.prototype.setSignerProvider=function(t){this._options.signer||"undefined"!==typeof t?"undefined"!==typeof t&&(this._context.signer=t,this._options.signer=t):(this._context.signer=new wi,this._options.signer=t)},t.prototype.setRpcProvider=function(t){"string"===typeof t?this._rpcClient=new d(t):t instanceof d&&(this._rpcClient=t),this._options.rpc=this._rpcClient,this._context.rpc=this._rpcClient},t.prototype.setForgerProvider=function(t){var e="undefined"===typeof t?this.getFactory(mi)():t;this._options.forger=e,this._context.forger=e},t.prototype.setStreamProvider=function(t){"string"===typeof t?this._stream=new Lo(new No(new d(t))):"undefined"!==typeof t?this._stream=t:void 0===this._options.stream&&(this._stream=this.getFactory(Lo)()),this._options.stream=t},t.prototype.setWalletProvider=function(t){if(this._options.wallet||"undefined"!==typeof t)"undefined"!==typeof t&&(this._options.wallet=t,this._context.walletProvider=t);else{var e=this.getFactory(bo)();this._options.wallet=e,this._context.walletProvider=e}},t.prototype.setPackerProvider=function(t){var e="undefined"===typeof t?this.getFactory(Do)():t;this._options.packer=e,this._context.packer=e},Object.defineProperty(t.prototype,"tz",{get:function(){return this._context.tz},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contract",{get:function(){return this._context.contract},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wallet",{get:function(){return this._wallet},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"operation",{get:function(){return this._context.operationFactory},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"estimate",{get:function(){return this._context.estimate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stream",{get:function(){return this._stream},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rpc",{get:function(){return this._context.rpc},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"signer",{get:function(){return this._context.signer},enumerable:!1,configurable:!0}),t.prototype.addExtension=function(t){t.configureContext(this._context)},t.prototype.getFactory=function(t){var e=this;return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new(t.bind.apply(t,Ai([void 0,e._context],li(r))))}},t.prototype.getVersionInfo=function(){return Go},t}())},function(t,e,r){(function(e){t.exports=function(t,r){for(var n=Math.min(t.length,r.length),i=new e(n),o=0;o<n;++o)i[o]=t[o]^r[o];return i}}).call(this,r(11).Buffer)},function(t,e,r){"use strict";var n=r(40),i=r(32);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=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<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,r=e-(t+this.padLength)%e,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=t>>>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;o<this.padLength;o++)n[i++]=0;return n}},function(t,e,r){"use strict";var n=r(8),i=r(100).Reporter,o=r(98).Buffer;function a(t,e){i.call(this,e),o.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function s(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return s.isEncoderBuffer(t)||(t=new s(t,e)),this.length+=t.length,t}),this);else if("number"===typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"===typeof t)this.value=t,this.length=o.byteLength(t);else{if(!o.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}n(a,i),e.DecoderBuffer=a,a.isDecoderBuffer=function(t){return t instanceof a||"object"===typeof t&&o.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"===typeof t.offset&&"number"===typeof t.length&&"function"===typeof t.save&&"function"===typeof t.restore&&"function"===typeof t.isEmpty&&"function"===typeof t.readUInt8&&"function"===typeof t.skip&&"function"===typeof t.raw},a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(t){var e=new a(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,i.prototype.restore.call(this,t.reporter),e},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},a.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var r=new a(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+t,this.offset+=t,r},a.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.EncoderBuffer=s,s.isEncoderBuffer=function(t){return t instanceof s||"object"===typeof t&&"EncoderBuffer"===t.constructor.name&&"number"===typeof t.length&&"function"===typeof t.join},s.prototype.join=function(t,e){return t||(t=o.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(t,e),e+=r.length})):("number"===typeof this.value?t[e]=this.value:"string"===typeof this.value?t.write(this.value,e):o.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=!!r(19).a.beaconSdkDebugEnabled;n&&console.log("[BEACON]: Debug mode is ON (turned on either by the developer or a browser extension)");var i=function(){return n}},function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},function(t,e,r){t.exports=r(290)},function(t,e,r){"use strict";t.exports=r(379)},function(t,e,r){(function(t){function r(t,e){for(var r=0,n=t.length-1;n>=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<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-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<t.length&&""===t[e];e++);for(var r=t.length-1;r>=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<a;u++)if(i[u]!==o[u]){s=u;break}var c=[];for(u=s;u<i.length;u++)c.push("..");return(c=c.concat(o.slice(s))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,n=-1,i=!0,o=t.length-1;o>=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<e;i++)r[i]=t.readUInt32BE(4*i);return r}function o(t){for(;0<t.length;t++)t[0]=0}function a(t,e,r,n,i){for(var o,a,s,u,c=r[0],h=r[1],f=r[2],l=r[3],A=t[0]^e[0],p=t[1]^e[1],d=t[2]^e[2],g=t[3]^e[3],y=4,m=1;m<i;m++)o=c[A>>>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<e;o++)i[o]=t[o];for(o=e;o<n;o++){var a=i[o-1];o%e===0?(a=a<<8|a>>>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<n;h++){var f=n-h,l=i[f-(h%4?0:4)];c[h]=h<4||f<=4?l:u.INV_SUB_MIX[0][u.SBOX[l>>>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(f<c.length&&o>0){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<<r.step+1)-(r.step%2===0?2:1);i/=3;var a,u,c=[];for(a=0;a<n.length;a+=r.step){u=0;for(var h=a+r.step-1;h>=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<c.length;a++)(u=c[a])===A?l=l.mixedAdd(r.points[a]):u===-A&&(l=l.mixedAdd(r.points[a].neg()));f=f.add(l)}return f.toP()},u.prototype._wnafMul=function(t,e){var r=4,n=t._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=o(e,r,this._bitLength),u=this.jpoint(null,null,null),c=a.length-1;c>=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<n;s++){var p=(c=e[s])._getNAFPoints(t);h[s]=p.wnd,f[s]=p.points}for(s=n-1;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<A;u++){var b=0|v[0][u],w=0|v[1][u];l[d][u]=m[3*(b+1)+(w+1)],l[g][u]=0,f[d]=y}}else l[d]=o(r[d],h[d],this._bitLength),l[g]=o(r[g],h[g],this._bitLength),A=Math.max(l[d].length,A),A=Math.max(l[g].length,A)}var I=this.jpoint(null,null,null),E=this._wnafT4;for(s=A;s>=0;s--){for(var _=0;s>=0;){var B=!0;for(u=0;u<n;u++)E[u]=0|l[u][s],0!==E[u]&&(B=!1);if(!B)break;_++,s--}if(s>=0&&_++,I=I.dblp(_),s<0)break;for(u=0;u<n;u++){var C=E[u];0!==C&&(C>0?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<n;s++)f[s]=null;return i?I:I.toP()},u.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},u.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var r=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1===2*r)return 6===t[0]?s(t[t.length-1]%2===0):7===t[0]&&s(t[t.length-1]%2===1),this.point(t.slice(1,1+r),t.slice(1+r,1+2*r));if((2===t[0]||3===t[0])&&t.length-1===r)return this.pointFromX(t.slice(1,1+r),3===t[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(t){return this.encode(t,!0)},c.prototype._encode=function(t){var e=this.curve.p.byteLength(),r=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",e))},c.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},c.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},c.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=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<e;i+=t){for(var o=0;o<t;o++)n=n.dbl();r.push(n)}return{step:t,points:r}},c.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],r=(1<<t)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)e[i]=e[i-1].add(n);return{wnd:t,points:e}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(t){for(var e=this,r=0;r<t;r++)e=e.dbl();return e}},function(t,e,r){var n=r(271),i=r(279),o=r(280),a=r(90),s=r(135),u=r(10).Buffer;function c(t){var e;"object"!==typeof t||u.isBuffer(t)||(e=t.passphrase,t=t.key),"string"===typeof t&&(t=u.from(t));var r,c,h=o(t,e),f=h.tag,l=h.data;switch(f){case"CERTIFICATE":c=n.certificate.decode(l,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=n.PublicKey.decode(l,"der")),r=c.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(c.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return c.subjectPrivateKey=c.subjectPublicKey,{type:"ec",data:c};case"1.2.840.10040.4.1":return c.algorithm.params.pub_key=n.DSAparam.decode(c.subjectPublicKey.data,"der"),{type:"dsa",data:c.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":l=function(t,e){var r=t.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[t.algorithm.decrypt.cipher.algo.join(".")],c=t.algorithm.decrypt.cipher.iv,h=t.subjectPrivateKey,f=parseInt(o.split("-")[1],10)/8,l=s.pbkdf2Sync(e,r,n,f,"sha1"),A=a.createDecipheriv(o,l,c),p=[];return p.push(A.update(h)),p.push(A.final()),u.concat(p)}(l=n.EncryptedPrivateKey.decode(l,"der"),e);case"PRIVATE KEY":switch(r=(c=n.PrivateKey.decode(l,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(c.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:c.algorithm.curve,privateKey:n.ECPrivateKey.decode(c.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return c.algorithm.params.priv_key=n.DSAparam.decode(c.subjectPrivateKey,"der"),{type:"dsa",params:c.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(l,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(l,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(l,"der")};case"EC PRIVATE KEY":return{curve:(l=n.ECPrivateKey.decode(l,"der")).parameters.value,privateKey:l.privateKey};default:throw new Error("unknown key type "+f)}}t.exports=c,c.signature=n.signature},function(t,e,r){var n=r(110)(Object,"create");t.exports=n},function(t,e,r){var n=r(184);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e,r){var n=r(363);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return d}));var n=r(0),i=r.n(n),o=r(1),a=r(3),s=r(7),u=r(6),c=r(4),h=r(21),f=r(15),l=r(25),A=r(77),p=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())}))},d=function(e){Object(s.a)(n,e);var r=Object(u.a)(n);function n(t,e){var i;return Object(o.a)(this,n),(i=r.call(this,e)).name=t,i.activeListeners=new Map,i.init().catch(console.error),i}return Object(a.a)(n,[{key:"start",value:function(){return p(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.next=2,c.ready;case 2:case"end":return t.stop()}}),t)})))}},{key:"getPairingRequestInfo",value:function(){return p(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.next=2,Object(l.a)();case 2:return t.t0=t.sent,t.t1=this.name,t.t2=h.a,t.next=7,this.getPublicKey();case 7:return t.t3=t.sent,t.abrupt("return",{id:t.t0,type:"postmessage-pairing-request",name:t.t1,version:t.t2,publicKey:t.t3});case 9:case"end":return t.stop()}}),t,this)})))}},{key:"getPairingResponseInfo",value:function(t){return p(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.t0=t.id,e.t1=this.name,e.t2=h.a,e.next=5,this.getPublicKey();case 5:return e.t3=e.sent,e.abrupt("return",{id:e.t0,type:"postmessage-pairing-response",name:e.t1,version:e.t2,publicKey:e.t3});case 7:case"end":return e.stop()}}),e,this)})))}},{key:"unsubscribeFromEncryptedMessage",value:function(t){return p(this,void 0,void 0,i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.activeListeners.get(t)){e.next=3;break}return e.abrupt("return");case 3:this.activeListeners.delete(t);case 4:case"end":return e.stop()}}),e,this)})))}},{key:"unsubscribeFromEncryptedMessages",value:function(){return p(this,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.activeListeners.clear();case 1:case"end":return t.stop()}}),t,this)})))}},{key:"decryptMessage",value:function(e,r){return p(this,void 0,void 0,i.a.mark((function n(){var o,a,s;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.createCryptoBoxServer(e,this.keyPair.privateKey);case 2:if(o=n.sent,a=o.sharedRx,!((s=t.from(r,"hex")).length>=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<t;r+=1){e[r]=new Array(t);for(var n=0;n<t;n+=1)e[r][n]=null}return e}(a=4*r+17),f(0,0),f(a-7,0),f(0,a-7),A(),l(),E(t,e),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<a-8;t+=1)null==i[t][6]&&(i[t][6]=t%2==0);for(var e=8;e<a-8;e+=1)null==i[6][e]&&(i[6][e]=e%2==0)},A=function(){for(var t=p.getPatternPosition(r),e=0;e<t.length;e+=1)for(var n=0;n<t.length;n+=1){var o=t[e],a=t[n];if(null==i[o][a])for(var s=-2;s<=2;s+=1)for(var u=-2;u<=2;u+=1)i[o+s][a+u]=-2==s||2==s||-2==u||2==u||0==s&&0==u}},d=function(t){for(var e=p.getBCHTypeNumber(r),n=0;n<18;n+=1){var o=!t&&1==(e>>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<t.length&&(f=1==(t[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;o<r.length;o+=1){var a=r[o];i.put(a.getMode(),4),i.put(a.getLength(),p.getLengthInBits(a.getMode(),t)),a.write(i)}var s=0;for(o=0;o<n.length;o+=1)s+=n[o].dataCount;if(i.getLengthInBits()>8*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<e.length;s+=1){var u=e[s].dataCount,c=e[s].totalCount-u;n=Math.max(n,u),i=Math.max(i,c),o[s]=new Array(u);for(var h=0;h<o[s].length;h+=1)o[s][h]=255&t.getBuffer()[h+r];r+=u;var f=p.getErrorCorrectPolynomial(c),l=g(o[s],f.getLength()-1).mod(f);for(a[s]=new Array(f.getLength()-1),h=0;h<a[s].length;h+=1){var A=h+l.getLength()-a[s].length;a[s][h]=A>=0?l.getAt(A):0}}var d=0;for(h=0;h<e.length;h+=1)d+=e[h].totalCount;var y=new Array(d),m=0;for(h=0;h<n;h+=1)for(s=0;s<e.length;s+=1)h<o[s].length&&(y[m]=o[s][h],m+=1);for(h=0;h<i;h+=1)for(s=0;s<e.length;s+=1)h<a[s].length&&(y[m]=a[s][h],m+=1);return y}(i,n)};c.addData=function(t,e){var r=null;switch(e=e||"Byte"){case"Numeric":r=v(t);break;case"Alphanumeric":r=b(t);break;case"Byte":r=w(t);break;case"Kanji":r=I(t);break;default:throw"mode:"+e}u.push(r),s=null},c.isDark=function(t,e){if(t<0||a<=t||e<0||a<=e)throw t+","+e;return i[t][e]},c.getModuleCount=function(){return a},c.make=function(){if(r<1){for(var t=1;t<40;t++){for(var e=y.getRSBlocks(t,n),i=m(),o=0;o<u.length;o++){var a=u[o];i.put(a.getMode(),4),i.put(a.getLength(),p.getLengthInBits(a.getMode(),t)),a.write(i)}var s=0;for(o=0;o<e.length;o++)s+=e[o].dataCount;if(i.getLengthInBits()<=8*s)break}r=t}h(!1,function(){for(var t=0,e=0,r=0;r<8;r+=1){h(!0,r);var n=p.getLostPoint(c);(0==r||t>n)&&(t=n,e=r)}return e}())},c.createTableTag=function(t,e){t=t||2;var r="";r+='<table style="',r+=" border-width: 0px; border-style: none;",r+=" border-collapse: collapse;",r+=" padding: 0px; margin: "+(e="undefined"==typeof e?4*t:e)+"px;",r+='">',r+="<tbody>";for(var n=0;n<c.getModuleCount();n+=1){r+="<tr>";for(var i=0;i<c.getModuleCount();i+=1)r+='<td style="',r+=" border-width: 0px; border-style: none;",r+=" border-collapse: collapse;",r+=" padding: 0px; margin: 0px;",r+=" width: "+t+"px;",r+=" height: "+t+"px;",r+=" background-color: ",r+=c.isDark(n,i)?"#000000":"#ffffff",r+=";",r+='"/>';r+="</tr>"}return r+="</tbody>",r+="</table>"},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+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',f+=i.scalable?"":' width="'+h+'px" height="'+h+'px"',f+=' viewBox="0 0 '+h+" "+h+'" ',f+=' preserveAspectRatio="xMinYMin meet"',f+=n.text||r.text?' role="img" aria-labelledby="'+Q([n.id,r.id].join(" ").trim())+'"':"",f+=">",f+=n.text?'<title id="'+Q(n.id)+'">'+Q(n.text)+"</title>":"",f+=r.text?'<description id="'+Q(r.id)+'">'+Q(r.text)+"</description>":"",f+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',f+='<path d="',a=0;a<c.getModuleCount();a+=1)for(s=a*t+e,o=0;o<c.getModuleCount();o+=1)c.isDark(a,o)&&(f+="M"+(o*t+e)+","+s+u);return f+='" stroke="transparent" fill="black"/>',f+="</svg>"},c.createDataURL=function(t,e){t=t||2,e="undefined"==typeof e?4*t:e;var r=c.getModuleCount()*t+2*e,n=e,i=r-e;return B(r,r,(function(e,r){if(n<=e&&e<i&&n<=r&&r<i){var o=Math.floor((e-n)/t),a=Math.floor((r-n)/t);return c.isDark(a,o)?0:1}return 1}))},c.createImgTag=function(t,e,r){t=t||2,e="undefined"==typeof e?4*t:e;var n=c.getModuleCount()*t+2*e,i="";return i+="<img",i+=' src="',i+=c.createDataURL(t,e),i+='"',i+=' width="',i+=n,i+='"',i+=' height="',i+=n,i+='"',r&&(i+=' alt="',i+=Q(r),i+='"'),i+="/>"};var Q=function(t){for(var e="",r=0;r<t.length;r+=1){var n=t.charAt(r);switch(n){case"<":e+="&lt;";break;case">":e+="&gt;";break;case"&":e+="&amp;";break;case'"':e+="&quot;";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<a;e+=2){for(n=Math.floor((e-s)/1),i=Math.floor((e+1-s)/1),r=0;r<a;r+=1)o="\u2588",s<=r&&r<u&&s<=e&&e<u&&c.isDark(n,Math.floor((r-s)/1))&&(o=" "),s<=r&&r<u&&s<=e+1&&e+1<u&&c.isDark(i,Math.floor((r-s)/1))?o+=" ":o+="\u2588",l+=t<1&&e+1>=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<a;r+=1){for(i=Math.floor((r-s)/t),A="",n=0;n<a;n+=1)o=1,s<=n&&n<u&&s<=r&&r<u&&c.isDark(i,Math.floor((n-s)/t))&&(o=0),A+=o?h:f;for(i=0;i<t;i+=1)l+=A+"\n"}return l.substring(0,l.length-1)},c.renderTo2dContext=function(t,e){e=e||2;for(var r=c.getModuleCount(),n=0;n<r;n++)for(var i=0;i<r;i++)t.fillStyle=c.isDark(n,i)?"black":"white",t.fillRect(n*e,i*e,e,e)},c};t.stringToBytes=(t.stringToBytesFuncs={default:function(t){for(var e=[],r=0;r<t.length;r+=1){var n=t.charCodeAt(r);e.push(255&n)}return e}}).default,t.createStringToBytes=function(t,e){var r=function(){for(var r=_(t),n=function(){var t=r.read();if(-1==t)throw"eof";return t},i=0,o={};;){var a=r.read();if(-1==a)break;var s=n(),u=n()<<8|n();o[String.fromCharCode(a<<8|s)]=u,i+=1}if(i!=e)throw i+" != "+e;return o}(),n="?".charCodeAt(0);return function(t){for(var e=[],i=0;i<t.length;i+=1){var o=t.charCodeAt(i);if(o<128)e.push(o);else{var a=r[t.charAt(i)];"number"==typeof a?(255&a)==a?e.push(a):(e.push(a>>>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<<m(e)-m(o);return 21522^(t<<10|e)},y.getBCHTypeNumber=function(t){for(var e=t<<12;m(e)-m(p)>=0;)e^=p<<m(e)-m(p);return t<<12|e},y.getPatternPosition=function(e){return t[e-1]},y.getMaskFunction=function(t){switch(t){case a:return function(t,e){return(t+e)%2==0};case s:return function(t,e){return t%2==0};case u:return function(t,e){return e%3==0};case c:return function(t,e){return(t+e)%3==0};case h:return function(t,e){return(Math.floor(t/2)+Math.floor(e/3))%2==0};case f:return function(t,e){return t*e%2+t*e%3==0};case l:return function(t,e){return(t*e%2+t*e%3)%2==0};case A:return function(t,e){return(t*e%3+(t+e)%2)%2==0};default:throw"bad maskPattern:"+t}},y.getErrorCorrectPolynomial=function(t){for(var e=g([1],0),r=0;r<t;r+=1)e=e.multiply(g([1,d.gexp(r)],0));return e},y.getLengthInBits=function(t,o){if(1<=o&&o<10)switch(t){case e:return 10;case r:return 9;case n:case i:return 8;default:throw"mode:"+t}else if(o<27)switch(t){case e:return 12;case r:return 11;case n:return 16;case i:return 10;default:throw"mode:"+t}else{if(!(o<41))throw"type:"+o;switch(t){case e:return 14;case r:return 13;case n:return 16;case i:return 12;default:throw"mode:"+t}}},y.getLostPoint=function(t){for(var e=t.getModuleCount(),r=0,n=0;n<e;n+=1)for(var i=0;i<e;i+=1){for(var o=0,a=t.isDark(n,i),s=-1;s<=1;s+=1)if(!(n+s<0||e<=n+s))for(var u=-1;u<=1;u+=1)i+u<0||e<=i+u||0==s&&0==u||a==t.isDark(n+s,i+u)&&(o+=1);o>5&&(r+=3+o-5)}for(n=0;n<e-1;n+=1)for(i=0;i<e-1;i+=1){var c=0;t.isDark(n,i)&&(c+=1),t.isDark(n+1,i)&&(c+=1),t.isDark(n,i+1)&&(c+=1),t.isDark(n+1,i+1)&&(c+=1),0!=c&&4!=c||(r+=3)}for(n=0;n<e;n+=1)for(i=0;i<e-6;i+=1)t.isDark(n,i)&&!t.isDark(n,i+1)&&t.isDark(n,i+2)&&t.isDark(n,i+3)&&t.isDark(n,i+4)&&!t.isDark(n,i+5)&&t.isDark(n,i+6)&&(r+=40);for(i=0;i<e;i+=1)for(n=0;n<e-6;n+=1)t.isDark(n,i)&&!t.isDark(n+1,i)&&t.isDark(n+2,i)&&t.isDark(n+3,i)&&t.isDark(n+4,i)&&!t.isDark(n+5,i)&&t.isDark(n+6,i)&&(r+=40);var h=0;for(i=0;i<e;i+=1)for(n=0;n<e;n+=1)t.isDark(n,i)&&(h+=1);return r+=10*(Math.abs(100*h/e/e-50)/5)},y}(),d=function(){for(var t=new Array(256),e=new Array(256),r=0;r<8;r+=1)t[r]=1<<r;for(r=8;r<256;r+=1)t[r]=t[r-4]^t[r-5]^t[r-6]^t[r-8];for(r=0;r<255;r+=1)e[t[r]]=r;var n={glog:function(t){if(t<1)throw"glog("+t+")";return e[t]},gexp:function(e){for(;e<0;)e+=255;for(;e>=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<t.length&&0==t[r];)r+=1;for(var n=new Array(t.length-r+e),i=0;i<t.length-r;i+=1)n[i]=t[i+r];return n}(),n={getAt:function(t){return r[t]},getLength:function(){return r.length},multiply:function(t){for(var e=new Array(n.getLength()+t.getLength()-1),r=0;r<n.getLength();r+=1)for(var i=0;i<t.getLength();i+=1)e[r+i]^=d.gexp(d.glog(n.getAt(r))+d.glog(t.getAt(i)));return g(e,0)},mod:function(t){if(n.getLength()-t.getLength()<0)return n;for(var e=d.glog(n.getAt(0))-d.glog(t.getAt(0)),r=new Array(n.getLength()),i=0;i<n.getLength();i+=1)r[i]=n.getAt(i);for(i=0;i<t.getLength();i+=1)r[i]^=d.gexp(d.glog(t.getAt(i))+e);return g(r,0).mod(t)}};return n}var y=function(){var t=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],e=function(t,e){var r={};return r.totalCount=t,r.dataCount=e,r},r={};return r.getRSBlocks=function(r,n){var i=function(e,r){switch(r){case o.L:return t[4*(e-1)+0];case o.M:return t[4*(e-1)+1];case o.Q:return t[4*(e-1)+2];case o.H:return t[4*(e-1)+3];default:return}}(r,n);if("undefined"==typeof i)throw"bad rs block @ typeNumber:"+r+"/errorCorrectionLevel:"+n;for(var a=i.length/3,s=[],u=0;u<a;u+=1)for(var c=i[3*u+0],h=i[3*u+1],f=i[3*u+2],l=0;l<c;l+=1)s.push(e(h,f));return s},r}(),m=function(){var t=[],e=0,r={getBuffer:function(){return t},getAt:function(e){var r=Math.floor(e/8);return 1==(t[r]>>>7-e%8&1)},put:function(t,e){for(var n=0;n<e;n+=1)r.putBit(1==(t>>>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<e.length;)t.put(o(e.substring(r,r+3)),10),r+=3;r<e.length&&(e.length-r==1?t.put(o(e.substring(r,r+1)),4):e.length-r==2&&t.put(o(e.substring(r,r+2)),7))}},o=function(t){for(var e=0,r=0;r<t.length;r+=1)e=10*e+a(t.charAt(r));return e},a=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+t};return i},b=function(t){var e=r,n=t,i={getMode:function(){return e},getLength:function(t){return n.length},write:function(t){for(var e=n,r=0;r+1<e.length;)t.put(45*o(e.charAt(r))+o(e.charAt(r+1)),11),r+=2;r<e.length&&t.put(o(e.charAt(r)),6)}},o=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);if("A"<=t&&t<="Z")return t.charCodeAt(0)-"A".charCodeAt(0)+10;switch(t){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+t}};return i},w=function(e){var r=n,i=t.stringToBytes(e),o={getMode:function(){return r},getLength:function(t){return i.length},write:function(t){for(var e=0;e<i.length;e+=1)t.put(i[e],8)}};return o},I=function(e){var r=i,n=t.stringToBytesFuncs.SJIS;if(!n)throw"sjis not supported.";!function(t,e){var r=n("\u53cb");if(2!=r.length||38726!=(r[0]<<8|r[1]))throw"sjis not supported."}();var o=n(e),a={getMode:function(){return r},getLength:function(t){return~~(o.length/2)},write:function(t){for(var e=o,r=0;r+1<e.length;){var n=(255&e[r])<<8|255&e[r+1];if(33088<=n&&n<=40956)n-=33088;else{if(!(57408<=n&&n<=60351))throw"illegal char at "+(r+1)+"/"+n;n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13),r+=2}if(r<e.length)throw"illegal char at "+(r+1)}};return a},E=function(){var t=[],e={writeByte:function(e){t.push(255&e)},writeShort:function(t){e.writeByte(t),e.writeByte(t>>>8)},writeBytes:function(t,r,n){r=r||0,n=n||t.length;for(var i=0;i<n;i+=1)e.writeByte(t[i+r])},writeString:function(t){for(var r=0;r<t.length;r+=1)e.writeByte(t.charCodeAt(r))},toByteArray:function(){return t},toString:function(){var e="";e+="[";for(var r=0;r<t.length;r+=1)r>0&&(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<<t,r=1+(1<<t),n=t+1,o=s(),a=0;a<e;a+=1)o.add(String.fromCharCode(a));o.add(String.fromCharCode(e)),o.add(String.fromCharCode(r));var u=E(),c=function(t){var e=t,r=0,n=0;return{write:function(t,i){if(t>>>i!=0)throw"length over";for(;r+i>=8;)e.writeByte(255&(t<<r|n)),i-=8-r,t>>>=8-r,n=0,r=0;n|=t<<r,r+=i},flush:function(){r>0&&e.writeByte(n)}}}(u);c.write(e,n);var h=0,f=String.fromCharCode(i[h]);for(h+=1;h<i.length;){var l=String.fromCharCode(i[h]);h+=1,o.contains(f+l)?f+=l:(c.write(o.indexOf(f),n),o.size()<4095&&(o.size()==1<<n&&(n+=1),o.add(f+l)),f=l)}return c.write(o.indexOf(f),n),c.write(r,n),c.flush(),u.toByteArray()},s=function(){var t={},e=0,r={add:function(n){if(r.contains(n))throw"dup key:"+n;t[n]=e,e+=1},size:function(){return e},indexOf:function(e){return t[e]},contains:function(e){return"undefined"!=typeof t[e]}};return r};return o}(t,e),i=0;i<e;i+=1)for(var o=0;o<t;o+=1)n.setPixel(o,i,r(o,i));var a=E();n.write(a);for(var s=function(){var t=0,e=0,r=0,n="",i={},o=function(t){n+=String.fromCharCode(a(63&t))},a=function(t){if(t<0);else{if(t<26)return 65+t;if(t<52)return t-26+97;if(t<62)return t-52+48;if(62==t)return 43;if(63==t)return 47}throw"n:"+t};return i.writeByte=function(n){for(t=t<<8|255&n,e+=8,r+=1;e>=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<i;a+=1)n+="="},i.toString=function(){return n},i}(),u=a.toByteArray(),c=0;c<u.length;c+=1)s.writeByte(u[c]);return s.flush(),"data:image/gif;base64,"+s};return t}();a.stringToBytesFuncs["UTF-8"]=function(t){return function(t){for(var e=[],r=0;r<t.length;r++){var n=t.charCodeAt(r);n<128?e.push(n):n<2048?e.push(192|n>>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<arguments.length;c++){for(var h in r=Object(arguments[c]))i.call(r,h)&&(u[h]=r[h]);if(n){s=n(r);for(var f=0;f<s.length;f++)o.call(r,s[f])&&(u[s[f]]=r[s[f]])}}return u}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";var n=r(8),i=r(117),o=r(10).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function u(t,e){return t<<e|t>>>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<r;i++)n[i]=arguments[i];t.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&e.readable,s=r.writable||!1!==r.writable&&e.writable,u=function(){e.writable||h()},c=e._writableState&&e._writableState.finished,h=function(){s=!1,c=!0,a||o.call(e)},f=e._readableState&&e._readableState.endEmitted,l=function(){a=!1,f=!0,s||o.call(e)},A=function(t){o.call(e,t)},p=function(){var t;return a&&!f?(e._readableState&&e._readableState.ended||(t=new n),o.call(e,t)):s&&!c?(e._writableState&&e._writableState.ended||(t=new n),o.call(e,t)):void 0},d=function(){e.req.on("finish",h)};return!function(t){return t.setHeader&&"function"===typeof t.abort}(e)?s&&!e._writableState&&(e.on("end",u),e.on("close",u)):(e.on("complete",h),e.on("abort",p),e.req?d():e.on("request",d)),e.on("end",l),e.on("finish",h),!1!==r.error&&e.on("error",A),e.on("close",p),function(){e.removeListener("complete",h),e.removeListener("abort",p),e.removeListener("request",d),e.req&&e.req.removeListener("finish",h),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",h),e.removeListener("end",l),e.removeListener("error",A),e.removeListener("close",p)}}},function(t,e,r){"use strict";var n=r(11).Buffer,i=r(8),o=r(117),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],u=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],h=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],l=[1352829926,1548603684,1836072691,2053994217,0];function A(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>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<e.highWaterMark;u||(e.needDrain=!0);if(e.writing||e.corked){var c=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else v(t,e,!1,s,n,i,o);return u}(this,i,s,t,e,r)),a},m.prototype.cork=function(){this._writableState.corked++},m.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||w(this,t))},m.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-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;n<r;n++)this.buffer[this.bufferOff+n]=t[e+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(t){var e=0,r=0,n=(this.bufferOff+t.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=t.length-(t.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(t,e,i,r),r+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},i.prototype._updateDecrypt=function(t){for(var e=0,r=0,n=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;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<t.length;)t[e++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},i.prototype._unpad=function(t){return t},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},function(t,e,r){var n=r(232),i=r(240),o=r(144);e.createCipher=e.Cipher=n.createCipher,e.createCipheriv=e.Cipheriv=n.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},function(t,e,r){var n={ECB:r(233),CBC:r(234),CFB:r(235),CFB8:r(236),CFB1:r(237),OFB:r(238),CTR:r(142),GCM:r(142)},i=r(144);for(var o in i)i[o].module=n[i[o].mode];t.exports=i},function(t,e,r){var n;function i(t){this.rand=t}if(t.exports=function(t){return n||(n=new i(null)),n.generate(t)},t.exports.Rand=i,i.prototype.generate=function(t){return this._rand(t)},i.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),r=0;r<e.length;r++)e[r]=this.rand.getByte();return e},"object"===typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"===typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=r(246);if("function"!==typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(t){return o.randomBytes(t)}}catch(a){}},function(t,e,r){(function(e){var n=r(94),i=r(49);function o(t){var e,r=t.modulus.byteLength();do{e=new n(i(r))}while(e.cmp(t.modulus)>=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<o;s++){var u,c=t.charCodeAt(s)-48;i<<=4,i|=u=c>=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<s;u++){var c=t.charCodeAt(u)-48;o*=i,a=c>=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a<i,"Invalid character"),o+=a}return o}function c(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(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<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>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<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=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;h<s;h+=n)c=u(t,h,h+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,h,t.length,e),h=0;h<a;h++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype._move=function(t){c(t,this)},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&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?"<BN-R: ":"<BN: ")+this.toString(16)+">"}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<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>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<n;c++){for(var h=u>>>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<this.length;i++){var a=this.words[i]<<o|n;t[r++]=255&a,r<t.length&&(t[r++]=a>>8&255),r<t.length&&(t[r++]=a>>16&255),6===o?(r<t.length&&(t[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<t.length)for(t[r++]=n;r<t.length;)t[r++]=0},o.prototype._toArrayLikeBE=function(t,e){for(var r=t.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r--]=255&a,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;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.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;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this._strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.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;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this._strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.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;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(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<<i:this.words[r]&~(1<<i),this._strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.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<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var d=function(t,e,r){var n,i,o,a=t.words,s=e.words,u=r.words,c=0,h=0|a[0],f=8191&h,l=h>>>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<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=u;c++){var h=o-c,f=(0|t.words[h])*(0|e.words[c]),l=67108863&f;s=67108863&(l=l+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(l>>>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<t;n++)e[n]=this.revBin(n,r,t);return e},m.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},m.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},m.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),h=0;h<i;h+=s)for(var f=u,l=c,A=0;A<a;A++){var p=r[h+A],d=n[h+A],g=r[h+A+a],y=n[h+A+a],m=f*g-l*y;y=f*y+l*g,g=m,r[h+A]=p+g,n[h+A]=d+y,r[h+A+a]=p-g,n[h+A+a]=d-y,A!==s&&(m=u*f-c*l,l=u*l+c*f,f=m)}},m.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},m.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},m.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},m.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},m.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},m.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),h=new Array(n),f=new Array(n),l=r.words;l.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,h,f,n,i);for(var A=0;A<n;A++){var p=s[A]*h[A]-u[A]*f[A];u[A]=s[A]*f[A]+u[A]*h[A],s[A]=p}return this.conjugate(s,u,n),this.transform(s,u,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r._strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),y(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"===typeof t),n(t<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,a=(67108863&o)+(67108863&r);r>>=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<e.length;r++){var n=r/26|0,i=r%26;e[r]=t.words[n]>>>i&1}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=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<this.length;e++){var s=this.words[e]&o,u=(0|this.words[e])-s<<r;this.words[e]=u|a,a=s>>>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<i;e++)this.words[e]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var h=0;for(c=this.length-1;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<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=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<<e;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var u=(0|t.words[i])*e;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>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<s.length;c++)s.words[c]=0}var h=n.clone()._ishlnsubmul(i,1,u);0===h.negative&&(n=h,s&&(s.words[u]=1));for(var f=u-1;f>=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<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>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:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(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=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?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<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&r)<<4|o>>>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<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(I,b),i(E,b),i(_,b),_.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=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<p);var y=this.pow(f,new o(1).iushln(p-g-1));l=l.redMul(y),f=y.redSqr(),A=A.redMul(f),p=g}return l},B.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},B.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,u=e.bitLength()%26;for(0===u&&(u=26),n=e.length-1;n>=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<i;o++){var a=t.charCodeAt(o)-48;n<<=4,n|=a>=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<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=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<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>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<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=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;h<s;h+=n)c=u(t,h,h+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,h,t.length,e),h=0;h<a;h++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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?"<BN-R: ":"<BN: ")+this.toString(16)+">"};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<n;c++){for(var h=u>>>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<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>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<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[o-s-1]=a}return c},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;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.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;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.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;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.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;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(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<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.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<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var A=function(t,e,r){var n,i,o,a=t.words,s=e.words,u=r.words,c=0,h=0|a[0],f=8191&h,l=h>>>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<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=u;c++){var h=o-c,f=(0|t.words[h])*(0|e.words[c]),l=67108863&f;s=67108863&(l=l+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(l>>>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<t;n++)e[n]=this.revBin(n,r,t);return e},d.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},d.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),h=0;h<i;h+=s)for(var f=u,l=c,A=0;A<a;A++){var p=r[h+A],d=n[h+A],g=r[h+A+a],y=n[h+A+a],m=f*g-l*y;y=f*y+l*g,g=m,r[h+A]=p+g,n[h+A]=d+y,r[h+A+a]=p-g,n[h+A+a]=d-y,A!==s&&(m=u*f-c*l,l=u*l+c*f,f=m)}},d.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},d.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},d.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},d.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},d.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},d.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),h=new Array(n),f=new Array(n),l=r.words;l.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,h,f,n,i);for(var A=0;A<n;A++){var p=s[A]*h[A]-u[A]*f[A];u[A]=s[A]*f[A]+u[A]*h[A],s[A]=p}return this.conjugate(s,u,n),this.transform(s,u,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),p(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=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<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=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<this.length;e++){var s=this.words[e]&o,u=(0|this.words[e])-s<<r;this.words[e]=u|a,a=s>>>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<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var h=0;for(c=this.length-1;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<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=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<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var u=(0|t.words[i])*e;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>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<s.length;c++)s.words[c]=0}var h=n.clone()._ishlnsubmul(i,1,u);0===h.negative&&(n=h,s&&(s.words[u]=1));for(var f=u-1;f>=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<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>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:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(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=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?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<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&r)<<4|o>>>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<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,y),i(b,y),i(w,y),w.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=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<p);var y=this.pow(f,new o(1).iushln(p-g-1));l=l.redMul(y),f=y.redSqr(),A=A.redMul(f),p=g}return l},I.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},I.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,u=e.bitLength()%26;for(0===u&&(u=26),n=e.length-1;n>=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&&o<t.indexOf("#")?"?":"#",c=t.split(s);c[0]=c[0].replace(/\\/g,"/");var v=t=c.join(s);if(v=v.trim(),!r&&1===t.split("#").length){var b=u.exec(v);if(b)return this.path=v,this.href=v,this.pathname=b[1],b[2]?(this.search=b[2],this.query=e?m.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var w=a.exec(v);if(w){var I=(w=w[0]).toLowerCase();this.protocol=I,v=v.substr(w.length)}if(r||w||v.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===v.substr(0,2);!E||w&&g[w]||(v=v.substr(2),this.slashes=!0)}if(!g[w]&&(E||w&&!y[w])){for(var _,B,C=-1,Q=0;Q<l.length;Q++){-1!==(M=v.indexOf(l[Q]))&&(-1===C||M<C)&&(C=M)}-1!==(B=-1===C?v.lastIndexOf("@"):v.lastIndexOf("@",C))&&(_=v.slice(0,B),v=v.slice(B+1),this.auth=decodeURIComponent(_)),C=-1;for(Q=0;Q<f.length;Q++){var M;-1!==(M=v.indexOf(f[Q]))&&(-1===C||M<C)&&(C=M)}-1===C&&(C=v.length),this.host=v.slice(0,C),v=v.slice(C),this.parseHost(),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k)for(var S=this.hostname.split(/\./),x=(Q=0,S.length);Q<x;Q++){var D=S[Q];if(D&&!D.match(A)){for(var R="",N=0,P=D.length;N<P;N++)D.charCodeAt(N)>127?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;Q<x;Q++){var G=h[Q];if(-1!==v.indexOf(G)){var H=encodeURIComponent(G);H===G&&(H=escape(G)),v=v.split(G).join(H)}}var j=v.indexOf("#");-1!==j&&(this.hash=v.substr(j),v=v.slice(0,j));var Y=v.indexOf("?");if(-1!==Y?(this.search=v.substr(Y),this.query=v.substr(Y+1),e&&(this.query=m.parse(this.query)),v=v.slice(0,Y)):e&&(this.search="",this.query={}),v&&(this.pathname=v),y[I]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){U=this.pathname||"";var K=this.search||"";this.path=U+K}return this.href=this.format(),this},o.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,a="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(a=m.stringify(this.query));var s=this.search||a&&"?"+a||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||y[e])&&!1!==o?(o="//"+(o||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):o||(o=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),e+o+(r=r.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(s=s.replace("#","%23"))+n},o.prototype.resolve=function(t){return this.resolveObject(v(t,!1,!0)).format()},o.prototype.resolveObject=function(t){if(i.isString(t)){var e=new o;e.parse(t,!1,!0),t=e}for(var r=new o,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var u=Object.keys(t),c=0;c<u.length;c++){var h=u[c];"protocol"!==h&&(r[h]=t[h])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!y[t.protocol]){for(var f=Object.keys(t),l=0;l<f.length;l++){var A=f[l];r[A]=t[A]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||g[t.protocol])r.pathname=t.pathname;else{for(var p=(t.pathname||"").split("/");p.length&&!(t.host=p.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),r.pathname=p.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var d=r.pathname||"",m=r.search||"";r.path=d+m}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var v=r.pathname&&"/"===r.pathname.charAt(0),b=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=b||v||r.host&&t.pathname,I=w,E=r.pathname&&r.pathname.split("/")||[],_=(p=t.pathname&&t.pathname.split("/")||[],r.protocol&&!y[r.protocol]);if(_&&(r.hostname="",r.port=null,r.host&&(""===E[0]?E[0]=r.host:E.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===p[0]?p[0]=t.host:p.unshift(t.host)),t.host=null),w=w&&(""===p[0]||""===E[0])),b)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,E=p;else if(p.length)E||(E=[]),E.pop(),E=E.concat(p),r.search=t.search,r.query=t.query;else if(!i.isNullOrUndefined(t.search)){if(_)r.hostname=r.host=E.shift(),(k=!!(r.host&&r.host.indexOf("@")>0)&&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];r<n.length;r++){n[r].call(this,t)}var i=this["on"+e];return i&&i.call(this,t),!0},t}();e.XMLHttpRequestEventTarget=n},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){var n=r(183),i=r(337);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},function(t,e,r){var n=r(109).Symbol;t.exports=n},function(t,e,r){var n=r(334),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o},function(t,e,r){var n=r(345),i=r(350);t.exports=function(t,e){var r=i(t,e);return n(r)?r:void 0}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(9),i=r(59);function o(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 a(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]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var s=function(){this.name="BeaconWalletNotInitialized",this.message="You need to initialize BeaconWallet by calling beaconWallet.requestPermissions first"},u=function(t){this.requiredScopes=t,this.name="MissingRequiredScopes",this.message="Required permissions scopes were not granted: "+t.join(",")},c=function(){function t(t){this.client=new n.j(t)}return t.prototype.validateRequiredScopesOrFail=function(t,e){var r,n,i=new Set(e);try{for(var o=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=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;e<i.length;e++)try{i[e](t)}catch(r){console.error(r)}}(o)};"undefined"!==typeof window&&(window.__ledgerLogsListen=function(t){return i.push(t),function(){var e=i.indexOf(t);-1!==e&&(i[e]=i[i.length-1],i.pop())}})},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return M}));var n=r(2),i=r(0),o=r.n(i),a=r(1),s=r(3),u=r(7),c=r(6),h=r(4),f=r(65),l=r.n(f),A=r(15),p=r(193),d=r(31),g=r(57),y=r(9),m=r(21),v=r(25),b=r(28),w=r(14),I=r(77),E=r(18),_=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())}))},B=new w.a("P2PCommunicationClient"),C=["beacon-node-1.sky.papers.tech","beacon-node-0.papers.tech:8448","beacon-node-2.sky.papers.tech"],Q=function(t,e){for(var r=0,n=0;n<t.length;n++)r+=t[n]+n;return Math.floor(r%e)},M=function(e){Object(u.a)(i,e);var r=Object(c.a)(i);function i(t,e,n,o,s,u,c){var h;return Object(a.a)(this,i),(h=r.call(this,e)).name=t,h.replicationCount=n,h.storage=o,h.iconUrl=u,h.appUrl=c,h.client=new E.a,h.activeListeners=new Map,h.ignoredRooms=[],h.loginCounter=0,B.log("constructor","P2PCommunicationClient created"),h.KNOWN_RELAY_SERVERS=s.length>0?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(!(a<this.KNOWN_RELAY_SERVERS.length)){t.next=48;break}return s=(i+a)%this.KNOWN_RELAY_SERVERS.length,u=this.KNOWN_RELAY_SERVERS[s],t.prev=34,t.next=37,l.a.get("https://".concat(u,"/_matrix/client/versions"));case 37:return this.storage.set(y.C.MATRIX_SELECTED_NODE,u).catch((function(t){return B.log(t)})),this.relayServer.resolve(u),t.abrupt("return",u);case 42:t.prev=42,t.t0=t.catch(34),B.log('Ignoring server "'.concat(u,'", trying another one...')),a++;case 46:t.next=31;break;case 48:throw this.relayServer.reject("No matrix server reachable!"),new Error("No matrix server reachable!");case 50:case"end":return t.stop()}}),t,this,[[34,42]])})))}},{key:"tryJoinRooms",value:function(t){var e=arguments.length>1&&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<t.timestamp&&(this.initialEvent=t):this.initialEvent=t;case 1:case"end":return e.stop()}}),e,this)})))},i.subscribe(d.a.MESSAGE,this.initialListener),i.subscribe(d.a.INVITE,(function(t){return _(a,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 1===t.content.members.length&&(r=t.content.members[0]),e.next=3,this.tryJoinRooms(t.content.roomId);case 3:if(!r){e.next=8;break}return e.next=6,this.updateRelayServer(r);case 6:return e.next=8,this.updatePeerRoom(r,t.content.roomId);case 8:case"end":return e.stop()}}),e,this)})))})),t.t0=B,t.next=16,this.getPublicKeyHash();case 16:return t.t1=t.sent,t.t2=n,t.t0.log.call(t.t0,"start","login",t.t1,"on",t.t2),t.prev=19,t.t3=i,t.next=23,this.getPublicKeyHash();case 23:return t.t4=t.sent,t.t5="ed:".concat(Object(A.i)(r),":"),t.next=27,this.getPublicKey();case 27:return t.t6=t.sent,t.t7=t.t5.concat.call(t.t5,t.t6),t.t8=Object(A.i)(this.keyPair.publicKey),t.t9={id:t.t4,password:t.t7,deviceId:t.t8},t.next=33,t.t3.start.call(t.t3,t.t9);case 33:t.next=48;break;case 35:return t.prev=35,t.t10=t.catch(19),console.log("ERROR, RETRYING"),t.next=40,this.reset();case 40:if(console.log("TRYING AGAIN"),!(this.loginCounter<=this.KNOWN_RELAY_SERVERS.length)){t.next=47;break}return this.loginCounter++,this.start(),t.abrupt("return");case 47:throw new Error("Too many login attempts. Try again later.");case 48:console.log("client is ready"),this.client.resolve(i);case 50:case"end":return t.stop()}}),t,this,[[19,35]])})))}},{key:"stop",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:if(!this.client.isResolved()){t.next=5;break}return t.next=3,this.client.promise;case 3:return t.next=5,t.sent.stop().catch((function(t){return B.error(t)}));case 5:return t.next=7,this.reset();case 7:case"end":return t.stop()}}),t,this)})))}},{key:"reset",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=2,this.storage.delete(y.C.MATRIX_PEER_ROOM_IDS).catch((function(t){return B.log(t)}));case 2:return t.next=4,this.storage.delete(y.C.MATRIX_PRESERVED_STATE).catch((function(t){return B.log(t)}));case 4:return t.next=6,this.storage.delete(y.C.MATRIX_SELECTED_NODE).catch((function(t){return B.log(t)}));case 6:this.relayServer=void 0,this.client=new E.a,this.initialEvent=void 0,this.initialListener=void 0;case 10:case"end":return t.stop()}}),t,this)})))}},{key:"listenForEncryptedMessage",value:function(e,r){return _(this,void 0,void 0,o.a.mark((function n(){var i,a,s,u,c,f=this;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!this.activeListeners.has(e)){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,this.createCryptoBoxServer(e,this.keyPair.privateKey);case 4:return i=n.sent,a=i.sharedRx,s=function(n){return _(f,void 0,void 0,o.a.mark((function i(){var s,u;return o.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(i.t0=this.isTextMessage(n.content),!i.t0){i.next=5;break}return i.next=4,this.isSender(n,e);case 4:i.t0=i.sent;case 5:if(!i.t0){i.next=21;break}return i.next=8,this.updateRelayServer(n.content.message.sender);case 8:return i.next=10,this.updatePeerRoom(n.content.message.sender,n.content.roomId);case 10:try{s=t.from(n.content.message.content,"hex")}catch(o){}if(!(s&&s.length>=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;o<this._blockSize;)r[o++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)r[this._blockOffset++]=t[i++];for(var a=0,s=8*t.length;s>0;++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.length<a.highWaterMark||0===a.length)}function Q(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&S(t)),D(t,e)}Object.defineProperty(B.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),B.prototype.destroy=d.destroy,B.prototype._undestroy=d.undestroy,B.prototype._destroy=function(t,e){e(t)},B.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=s.from(t,e),e=""),r=!0),C(this,t,e,!1,r)},B.prototype.unshift=function(t){return C(this,t,null,!0,!1)},B.prototype.isPaused=function(){return!1===this._readableState.flowing},B.prototype.setEncoding=function(t){f||(f=r(47).StringDecoder);var e=new f(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var M=1073741824;function k(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.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.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(c("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function N(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,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<n;r++)if(t[r]===e)return r;return-1}B.prototype.read=function(t){c("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=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-t<e.highWaterMark)&&c("length less than watermark",i=!0),e.ended||e.reading?c("reading or ended",i=!1):i&&(c("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=k(r,e))),null===(n=t>0?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;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=G(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},B.prototype.on=function(t,e){var r=a.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!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<E.length;o++)t.on(E[o],this.emit.bind(this,E[o]));return this._read=function(e){c("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"===typeof Symbol&&(B.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=r(206)),l(this)}),Object.defineProperty(B.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(B.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(B.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),B._fromList=F,Object.defineProperty(B.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(B.from=function(t,e){return void 0===A&&(A=r(207)),A(B,t,e)})}).call(this,r(22),r(20))},function(t,e,r){t.exports=r(36).EventEmitter},function(t,e,r){"use strict";(function(e){function r(t,e){i(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,r(20))},function(t,e,r){"use strict";var n=r(51).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},function(t,e,r){"use strict";(function(e,n){function i(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.next=t}(e,t)}}var o;t.exports=B,B.WritableState=_;var a={deprecate:r(82)},s=r(120),u=r(11).Buffer,c=e.Uint8Array||function(){};var h,f=r(121),l=r(122).getHighWaterMark,A=r(51).codes,p=A.ERR_INVALID_ARG_TYPE,d=A.ERR_METHOD_NOT_IMPLEMENTED,g=A.ERR_MULTIPLE_CALLBACK,y=A.ERR_STREAM_CANNOT_PIPE,m=A.ERR_STREAM_DESTROYED,v=A.ERR_STREAM_NULL_VALUES,b=A.ERR_STREAM_WRITE_AFTER_END,w=A.ERR_UNKNOWN_ENCODING,I=f.errorOrDestroy;function E(){}function _(t,e,a){o=o||r(52),t=t||{},"boolean"!==typeof a&&(a=e instanceof o),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=l(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,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,i=r.sync,o=r.writecb;if("function"!==typeof o)throw new g;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,i,o){--e.pendingcb,r?(n.nextTick(o,i),n.nextTick(x,t,e),t._writableState.errorEmitted=!0,I(t,i)):(o(i),t._writableState.errorEmitted=!0,I(t,i),x(t,e))}(t,r,i,e,o);else{var a=k(r)||t.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||M(t,r),i?n.nextTick(Q,t,r,a,o):Q(t,r,a,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function B(t){var e=this instanceof(o=o||r(52));if(!e&&!h.call(B,this))return new B(t);this._writableState=new _(t,this,e),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)),s.call(this)}function C(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new m("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function Q(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),x(t,e)}function M(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,o=new Array(n),a=e.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)o[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;o.allBuffers=u,C(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,h=r.encoding,f=r.callback;if(C(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 k(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function S(t,e){t._final((function(r){e.pendingcb--,r&&I(t,r),e.prefinished=!0,t.emit("prefinish"),x(t,e)}))}function x(t,e){var r=k(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!==typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,n.nextTick(S,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return r}r(8)(B,s),_.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(_.prototype,"buffer",{get:a.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]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(B,Symbol.hasInstance,{value:function(t){return!!h.call(this,t)||this===B&&(t&&t._writableState instanceof _)}})):h=function(t){return t instanceof this},B.prototype.pipe=function(){I(this,new y)},B.prototype.write=function(t,e,r){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=t,u.isBuffer(i)||i instanceof c);return s&&!u.isBuffer(t)&&(t=function(t){return u.from(t)}(t)),"function"===typeof e&&(r=e,e=null),s?e="buffer":e||(e=o.defaultEncoding),"function"!==typeof r&&(r=E),o.ending?function(t,e){var r=new b;I(t,r),n.nextTick(e,r)}(this,r):(s||function(t,e,r,i){var o;return null===r?o=new v:"string"===typeof r||e.objectMode||(o=new p("chunk",["string","Buffer"],r)),!o||(I(t,o),n.nextTick(i,o),!1)}(this,o,t,r))&&(o.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=u.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 c=e.length<e.highWaterMark;c||(e.needDrain=!0);if(e.writing||e.corked){var h=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},h?h.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else C(t,e,!1,s,n,i,o);return c}(this,o,s,t,e,r)),a},B.prototype.cork=function(){this._writableState.corked++},B.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||M(this,t))},B.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-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<i.highWaterMark)&&this._read(i.highWaterMark)}function h(t){if(!(this instanceof h))return new h(t);u.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;"function"!==typeof this._flush||this._readableState.destroyed?l(this,null,null):this._flush((function(e,r){l(t,e,r)}))}function l(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}r(8)(h,u),h.prototype.push=function(t,e){return this._transformState.needTransform=!1,u.prototype.push.call(this,t,e)},h.prototype._transform=function(t,e,r){r(new i("_transform()"))},h.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},h.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},h.prototype._destroy=function(t,e){u.prototype._destroy.call(this,t,(function(t){e(t)}))}},function(t,e,r){var n=r(8),i=r(53),o=r(10).Buffer,a=[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],s=new Array(64);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t,e,r){return r^t&(e^r)}function h(t,e,r){return t&e|r&(t|e)}function f(t){return(t>>>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<e>>>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.length<t.highWaterMark||0===t.length)}(a)}function w(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&_(t)),C(t,e)}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(t,e){this.push(null),e(t)},v.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=c.from(t,e),e=""),r=!0),b(this,t,e,!1,r)},v.prototype.unshift=function(t){return b(this,t,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(t){return p||(p=r(47).StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this};var I=8388608;function E(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.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.highWaterMark&&(A("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function M(t){A("readable nexttick read 0"),t.read(0)}function k(t,e){e.reading||(A("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),S(t),e.flowing&&!e.reading&&t.read(0)}function S(t){var e=t._readableState;for(A("flow",e.flowing);e.flowing&&null!==t.read(););}function x(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.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;t-=i.length;for(;r=r.next;){var o=r.data,a=t>o.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<n;r++)if(t[r]===e)return r;return-1}v.prototype.read=function(t){A("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=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-t<e.highWaterMark)&&A("length less than watermark",i=!0),e.ended||e.reading?A("reading or ended",i=!1):i&&(A("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=E(r,e))),null===(n=t>0?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<i;o++)n[o].emit("unpipe",this,r);return this}var a=N(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},v.prototype.on=function(t,e){var r=u.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&_(this):i.nextTick(M,this))}return r},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var t=this._readableState;return t.flowing||(A("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(k,t,e))}(this,t)),this},v.prototype.pause=function(){return A("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(A("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(A("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){(A("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<y.length;o++)t.on(y[o],this.emit.bind(this,y[o]));return this._read=function(e){A("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=x}).call(this,r(22),r(20))},function(t,e,r){t.exports=r(36).EventEmitter},function(t,e,r){"use strict";var n=r(45);function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(n.nextTick(i,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(t,e,r){(function(t){var n="undefined"!==typeof t&&t||"undefined"!==typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,n,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,n,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(n,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=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.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(t){if(!(this instanceof a))return new a(t);n.call(this,t),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",s)}function s(){var t=this;"function"===typeof this._flush?this._flush((function(e,r){u(t,e,r)})):u(this,null,null)}function u(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=r(8),i.inherits(a,n),a.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},a.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},a.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},function(t,e,r){"use strict";var n=r(8),i=r(224),o=r(44),a=r(10).Buffer,s=r(133),u=r(84),c=r(85),h=a.alloc(128);function f(t,e){o.call(this,"digest"),"string"===typeof e&&(e=a.from(e));var r="sha512"===t||"sha384"===t?128:64;(this._alg=t,this._key=e,e.length>r)?e=("rmd160"===t?new u:c(t)).update(e).digest():e.length<r&&(e=a.concat([e,h],r));for(var n=this._ipad=a.allocUnsafe(r),i=this._opad=a.allocUnsafe(r),s=0;s<r;s++)n[s]=54^e[s],i[s]=92^e[s];this._hash="rmd160"===t?new u:c(t),this._hash.update(n)}n(f,o),f.prototype._update=function(t){this._hash.update(t)},f.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new u:c(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new f("rmd160",e):"md5"===t?new i(s,e):new f(t,e)}},function(t,e,r){var n=r(81);t.exports=function(t){return(new n).update(t).digest()}},function(t){t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(t,e,r){e.pbkdf2=r(226),e.pbkdf2Sync=r(138)},function(t,e){var r=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!==typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!==typeof e)throw new TypeError("Key length not a number");if(e<0||e>r||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<u&&(e=a.concat([e,h],u));for(var c=a.allocUnsafe(u+f[t]),l=a.allocUnsafe(u+f[t]),A=0;A<u;A++)c[A]=54^e[A],l[A]=92^e[A];var p=a.allocUnsafe(u+r+4);c.copy(p,0,0,u),this.ipad1=p,this.ipad2=c,this.opad=l,this.alg=t,this.blocksize=u,this.hash=s,this.size=f[t]}l.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,r,n,i){s(r,n);var o=new l(i=i||"sha1",t=c(t,u,"Password"),(e=c(e,u,"Salt")).length),h=a.allocUnsafe(n),A=a.allocUnsafe(e.length+4);e.copy(A,0,0,e.length);for(var p=0,d=f[i],g=Math.ceil(n/d),y=1;y<=g;y++){A.writeUInt32BE(y,e.length);for(var m=o.run(A,o.ipad1),v=m,b=1;b<r;b++){v=o.run(v,o.ipad2);for(var w=0;w<d;w++)m[w]^=v[w]}m.copy(h,p),p+=d}return h}},function(t,e,r){var n=r(10).Buffer;t.exports=function(t,e,r){if(n.isBuffer(t))return t;if("string"===typeof t)return n.from(t,e);if(ArrayBuffer.isView(t))return n.from(t.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},function(t,e,r){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>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<<e&268435455|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<s;u++)o<<=1,o|=t>>>n[u]&1;for(u=s;u<n.length;u++)a<<=1,a|=e>>>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.length;r++)e<<=1,e|=t>>>o[r]&1;return e>>>0},e.padSplit=function(t,e,r){for(var n=t.toString(2);n.length<e;)n="0"+n;for(var i=[],o=0;o<e;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},function(t,e,r){"use strict";var n=r(32),i=r(8),o=r(140),a=r(89);function s(){this.tmp=new Array(2),this.keys=null}function u(t){a.call(this,t);var e=new s;this._desState=e,this.deriveKeys(e,t.key)}i(u,a),t.exports=u,u.create=function(t){return new u(t)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];u.prototype.deriveKeys=function(t,e){t.keys=new Array(32),n.equal(e.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(e,0),i=o.readUInt32BE(e,4);o.pc1(r,i,t.tmp,0),r=t.tmp[0],i=t.tmp[1];for(var a=0;a<t.keys.length;a+=2){var s=c[a>>>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<t.length;n++)t[n]=r;return!0},u.prototype._unpad=function(t){for(var e=t[t.length-1],r=t.length-e;r<t.length;r++)n.equal(t[r],e);return t.slice(0,t.length-e)},u.prototype._encrypt=function(t,e,r,n,i){for(var a=e,s=r,u=0;u<t.keys.length;u+=2){var c=t.keys[u],h=t.keys[u+1];o.expand(s,t.tmp,0),c^=t.tmp[0],h^=t.tmp[1];var f=o.substitute(c,h),l=s;s=(a^o.permute(f))>>>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;s<r;s++){var u=a(t),c=o+16*s;t._cache.writeUInt32BE(u[0],c+0),t._cache.writeUInt32BE(u[1],c+4),t._cache.writeUInt32BE(u[2],c+8),t._cache.writeUInt32BE(u[3],c+12)}var h=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),n(e,h)}},function(t,e){t.exports=function(t){for(var e,r=t.length;r--;){if(255!==(e=t.readUInt8(r))){e++,t.writeUInt8(e,r);break}t.writeUInt8(0,r)}}},function(t){t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(t,e,r){var n=r(68),i=r(10).Buffer,o=r(44),a=r(8),s=r(239),u=r(60),c=r(143);function h(t,e,r,a){o.call(this);var u=i.alloc(4,0);this._cipher=new n.AES(e);var h=this._cipher.encryptBlock(u);this._ghash=new s(h),r=function(t,e,r){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var n=new s(r),o=e.length,a=o%16;n.update(e),a&&(a=16-a,n.update(i.alloc(a,0))),n.update(i.alloc(8,0));var u=8*o,h=i.alloc(8);h.writeUIntBE(u,0,8),n.update(h),t._finID=n.state;var f=i.from(t._finID);return c(f),f}(this,r,h),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}a(h,o),h.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=u(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var r=0;t.length!==e.length&&r++;for(var n=Math.min(t.length,e.length),i=0;i<n;++i)r+=t[i]^e[i];return r}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},h.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},h.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},h.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=h},function(t,e,r){var n=r(68),i=r(10).Buffer,o=r(44);function a(t,e,r,a){o.call(this),this._cipher=new n.AES(e),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=t}r(8)(a,o),a.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},t.exports=a},function(t,e,r){var n=r(49);t.exports=m,m.simpleSieve=g,m.fermatTest=y;var i=r(148),o=new i(24),a=new(r(149)),s=new i(1),u=new i(2),c=new i(5),h=(new i(16),new i(8),new i(10)),f=new i(3),l=(new i(7),new i(11)),A=new i(4),p=(new i(12),null);function d(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<e&&t[i]<=n&&r%t[i]!==0;i++);e!==i&&t[i]<=n||(t[e++]=r)}return p=t,t}function g(t){for(var e=d(),r=0;r<e.length;r++)if(0===t.modn(e[r]))return 0===t.cmpn(e[r]);return!0}function y(t){var e=i.mont(t);return 0===u.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function m(t,e){if(t<16)return new i(2===e||5===e?[140,123]:[140,39]);var r,p;for(e=new i(e);;){for(r=new i(n(Math.ceil(t/8)));r.bitLength()>t;)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<i;o++){var a=t.charCodeAt(o)-48;n<<=4,n|=a>=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<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=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<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>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<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=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;h<s;h+=n)c=u(t,h,h+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,h,t.length,e),h=0;h<a;h++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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?"<BN-R: ":"<BN: ")+this.toString(16)+">"};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<n;c++){for(var h=u>>>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<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>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<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[o-s-1]=a}return c},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;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.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;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.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;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.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;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(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<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.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<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var A=function(t,e,r){var n,i,o,a=t.words,s=e.words,u=r.words,c=0,h=0|a[0],f=8191&h,l=h>>>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<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=u;c++){var h=o-c,f=(0|t.words[h])*(0|e.words[c]),l=67108863&f;s=67108863&(l=l+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(l>>>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<t;n++)e[n]=this.revBin(n,r,t);return e},d.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},d.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),h=0;h<i;h+=s)for(var f=u,l=c,A=0;A<a;A++){var p=r[h+A],d=n[h+A],g=r[h+A+a],y=n[h+A+a],m=f*g-l*y;y=f*y+l*g,g=m,r[h+A]=p+g,n[h+A]=d+y,r[h+A+a]=p-g,n[h+A+a]=d-y,A!==s&&(m=u*f-c*l,l=u*l+c*f,f=m)}},d.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},d.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},d.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},d.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},d.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},d.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),h=new Array(n),f=new Array(n),l=r.words;l.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,h,f,n,i);for(var A=0;A<n;A++){var p=s[A]*h[A]-u[A]*f[A];u[A]=s[A]*f[A]+u[A]*h[A],s[A]=p}return this.conjugate(s,u,n),this.transform(s,u,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),p(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=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<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=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<this.length;e++){var s=this.words[e]&o,u=(0|this.words[e])-s<<r;this.words[e]=u|a,a=s>>>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<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var h=0;for(c=this.length-1;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<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=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<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var u=(0|t.words[i])*e;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>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<s.length;c++)s.words[c]=0}var h=n.clone()._ishlnsubmul(i,1,u);0===h.negative&&(n=h,s&&(s.words[u]=1));for(var f=u-1;f>=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<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>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:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(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=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?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<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&r)<<4|o>>>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<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,y),i(b,y),i(w,y),w.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=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<p);var y=this.pow(f,new o(1).iushln(p-g-1));l=l.redMul(y),f=y.redSqr(),A=A.redMul(f),p=g}return l},I.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},I.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,u=e.bitLength()%26;for(0===u&&(u=26),n=e.length-1;n>=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;A<u;A++){if(0===(l=l.redSqr()).cmp(a))return!1;if(0===l.cmp(h))break}if(A===u)return!1}}return!0},o.prototype.getDivisor=function(t,e){var r=t.bitLength(),i=n.mont(t),o=new n(1).toRed(i);e||(e=Math.max(1,r/48|0));for(var a=t.subn(1),s=0;!a.testn(s);s++);for(var u=t.shrn(s),c=a.toRed(i);e>0;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<s;A++){if(0===(l=l.redSqr()).cmp(o))return l.fromRed().subn(1).gcd(t);if(0===l.cmp(c))break}if(A===s)return(l=l.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},function(t,e,r){"use strict";var n=e;function i(t){return 1===t.length?"0"+t:t}function o(t){for(var e="",r=0;r<t.length;r++)e+=i(t[r].toString(16));return e}n.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!==typeof t){for(var n=0;n<t.length;n++)r[n]=0|t[n];return r}if("hex"===e){(t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t);for(n=0;n<t.length;n+=2)r.push(parseInt(t[n]+t[n+1],16))}else for(n=0;n<t.length;n++){var i=t.charCodeAt(n),o=i>>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<r.length;n++)r[n]=u(d(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],g=this.h[2],y=this.h[3],m=this.h[4],v=this.h[5],b=this.h[6],w=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var I=c(w,A(m),h(m,v,b),this.k[n],r[n]),E=s(l(i),f(i,o,g));w=b,b=v,v=m,m=s(y,I),y=g,g=o,o=i,i=s(I,E)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],y),this.h[4]=s(this.h[4],m),this.h[5]=s(this.h[5],v),this.h[6]=s(this.h[6],b),this.h[7]=s(this.h[7],w)},m.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=r(40),i=r(61),o=r(32),a=n.rotr64_hi,s=n.rotr64_lo,u=n.shr64_hi,c=n.shr64_lo,h=n.sum64,f=n.sum64_hi,l=n.sum64_lo,A=n.sum64_4_hi,p=n.sum64_4_lo,d=n.sum64_5_hi,g=n.sum64_5_lo,y=i.BlockHash,m=[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];function v(){if(!(this instanceof v))return new v;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=m,this.W=new Array(160)}function b(t,e,r,n,i){var o=t&r^~t&i;return o<0&&(o+=4294967296),o}function w(t,e,r,n,i,o){var a=e&n^~e&o;return a<0&&(a+=4294967296),a}function I(t,e,r,n,i){var o=t&r^t&i^r&i;return o<0&&(o+=4294967296),o}function E(t,e,r,n,i,o){var a=e&n^e&o^n&o;return a<0&&(a+=4294967296),a}function _(t,e){var r=a(t,e,28)^a(e,t,2)^a(e,t,7);return r<0&&(r+=4294967296),r}function B(t,e){var r=s(t,e,28)^s(e,t,2)^s(e,t,7);return r<0&&(r+=4294967296),r}function C(t,e){var r=a(t,e,14)^a(t,e,18)^a(e,t,9);return r<0&&(r+=4294967296),r}function Q(t,e){var r=s(t,e,14)^s(t,e,18)^s(e,t,9);return r<0&&(r+=4294967296),r}function M(t,e){var r=a(t,e,1)^a(t,e,8)^u(t,e,7);return r<0&&(r+=4294967296),r}function k(t,e){var r=s(t,e,1)^s(t,e,8)^c(t,e,7);return r<0&&(r+=4294967296),r}function S(t,e){var r=a(t,e,19)^a(e,t,29)^u(t,e,6);return r<0&&(r+=4294967296),r}function x(t,e){var r=s(t,e,19)^s(e,t,29)^c(t,e,6);return r<0&&(r+=4294967296),r}n.inherits(v,y),t.exports=v,v.blockSize=1024,v.outSize=512,v.hmacStrength=192,v.padLength=128,v.prototype._prepareBlock=function(t,e){for(var r=this.W,n=0;n<32;n++)r[n]=t[e+n];for(;n<r.length;n+=2){var i=S(r[n-4],r[n-3]),o=x(r[n-4],r[n-3]),a=r[n-14],s=r[n-13],u=M(r[n-30],r[n-29]),c=k(r[n-30],r[n-29]),h=r[n-32],f=r[n-31];r[n]=A(i,o,a,s,u,c,h,f),r[n+1]=p(i,o,a,s,u,c,h,f)}},v.prototype._update=function(t,e){this._prepareBlock(t,e);var r=this.W,n=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],u=this.h[4],c=this.h[5],A=this.h[6],p=this.h[7],y=this.h[8],m=this.h[9],v=this.h[10],M=this.h[11],k=this.h[12],S=this.h[13],x=this.h[14],D=this.h[15];o(this.k.length===r.length);for(var R=0;R<r.length;R+=2){var N=x,P=D,T=C(y,m),O=Q(y,m),F=b(y,m,v,M,k),U=w(y,m,v,M,k,S),L=this.k[R],G=this.k[R+1],H=r[R],j=r[R+1],Y=d(N,P,T,O,F,U,L,G,H,j),K=g(N,P,T,O,F,U,L,G,H,j);N=_(n,i),P=B(n,i),T=I(n,i,a,s,u),O=E(n,i,a,s,u,c);var q=f(N,P,T,O),J=l(N,P,T,O);x=k,D=S,k=v,S=M,v=y,M=m,y=f(A,p,Y,K),m=l(p,p,Y,K),A=u,p=c,u=a,c=s,a=n,s=i,n=f(Y,K,q,J),i=l(Y,K,q,J)}h(this.h,0,n,i),h(this.h,2,a,s),h(this.h,4,u,c),h(this.h,6,A,p),h(this.h,8,y,m),h(this.h,10,v,M),h(this.h,12,k,S),h(this.h,14,x,D)},v.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=e;n.bignum=r(156),n.define=r(273).define,n.base=r(276),n.constants=r(277),n.decoders=r(159),n.encoders=r(157)},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(272).Buffer}catch(_){}function s(t,e,r){for(var n=0,i=Math.min(t.length,r),o=e;o<i;o++){var a=t.charCodeAt(o)-48;n<<=4,n|=a>=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<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=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<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>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<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=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;h<s;h+=n)c=u(t,h,h+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,h,t.length,e),h=0;h<a;h++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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?"<BN-R: ":"<BN: ")+this.toString(16)+">"};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<n;c++){for(var h=u>>>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<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>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<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[o-s-1]=a}return c},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;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.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;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.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;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.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;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(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<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.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<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var A=function(t,e,r){var n,i,o,a=t.words,s=e.words,u=r.words,c=0,h=0|a[0],f=8191&h,l=h>>>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<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=u;c++){var h=o-c,f=(0|t.words[h])*(0|e.words[c]),l=67108863&f;s=67108863&(l=l+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(l>>>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<t;n++)e[n]=this.revBin(n,r,t);return e},d.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},d.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),h=0;h<i;h+=s)for(var f=u,l=c,A=0;A<a;A++){var p=r[h+A],d=n[h+A],g=r[h+A+a],y=n[h+A+a],m=f*g-l*y;y=f*y+l*g,g=m,r[h+A]=p+g,n[h+A]=d+y,r[h+A+a]=p-g,n[h+A+a]=d-y,A!==s&&(m=u*f-c*l,l=u*l+c*f,f=m)}},d.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},d.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},d.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},d.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},d.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},d.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),h=new Array(n),f=new Array(n),l=r.words;l.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,h,f,n,i);for(var A=0;A<n;A++){var p=s[A]*h[A]-u[A]*f[A];u[A]=s[A]*f[A]+u[A]*h[A],s[A]=p}return this.conjugate(s,u,n),this.transform(s,u,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),p(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=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<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=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<this.length;e++){var s=this.words[e]&o,u=(0|this.words[e])-s<<r;this.words[e]=u|a,a=s>>>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<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var h=0;for(c=this.length-1;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<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=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<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var u=(0|t.words[i])*e;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>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<s.length;c++)s.words[c]=0}var h=n.clone()._ishlnsubmul(i,1,u);0===h.negative&&(n=h,s&&(s.words[u]=1));for(var f=u-1;f>=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<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>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:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(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=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?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<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&r)<<4|o>>>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<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,y),i(b,y),i(w,y),w.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=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<p);var y=this.pow(f,new o(1).iushln(p-g-1));l=l.redMul(y),f=y.redSqr(),A=A.redMul(f),p=g}return l},I.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},I.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,u=e.bitLength()%26;for(0===u&&(u=26),n=e.length-1;n>=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<t.length;n++)r.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},u.prototype._encodeObjid=function(t,e,r){if("string"===typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(var n=0;n<t.length;n++)t[n]|=0}else if(Array.isArray(t)){t=t.slice();for(var o=0;o<t.length;o++)t[o]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!r){if(t[1]>=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<t.length;s++){var u=t[s];for(a++;u>=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<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},function(t,e,r){"use strict";var n=e;n.der=r(160),n.pem=r(275)},function(t,e,r){"use strict";var n=r(8),i=r(156),o=r(62).DecoderBuffer,a=r(99),s=r(101);function u(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){a.call(this,"der",t)}function h(t,e){var r=t.readUInt8(e);if(t.isError(r))return r;var n=s.tagClass[r>>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<i;o++){n<<=8;var a=t.readUInt8(r);if(t.isError(a))return a;n|=a}return n}t.exports=u,u.prototype.decode=function(t,e){return o.isDecoderBuffer(t)||(t=new o(t,e)),this.tree._decode(t,e)},n(c,a),c.prototype._peekTag=function(t,e,r){if(t.isEmpty())return!1;var n=t.save(),i=h(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(n),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||r)},c.prototype._decodeTag=function(t,e,r){var n=h(t,'Failed to decode tag of "'+e+'"');if(t.isError(n))return n;var i=f(t,n.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!r&&n.tag!==e&&n.tagStr!==e&&n.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(n.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');var o=t.save(),a=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(a)?a:(i=t.offset-o.offset,t.restore(o),t.skip(i,'Failed to match body of: "'+e+'"'))},c.prototype._skipUntilEnd=function(t,e){for(;;){var r=h(t,e);if(t.isError(r))return r;var n=f(t,r.primitive,e);if(t.isError(n))return n;var i=void 0;if(i=r.primitive||null!==n?t.skip(n):this._skipUntilEnd(t,e),t.isError(i))return i;if("end"===r.tagStr)break}},c.prototype._decodeList=function(t,e,r,n){for(var i=[];!t.isEmpty();){var o=this._peekTag(t,"end");if(t.isError(o))return o;var a=r.decode(t,"der",n);if(t.isError(a)&&o)break;i.push(a)}return i},c.prototype._decodeStr=function(t,e){if("bitstr"===e){var r=t.readUInt8();return t.isError(r)?r:{unused:r,data:t.raw()}}if("bmpstr"===e){var n=t.raw();if(n.length%2===1)return t.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===e){var a=t.raw().toString("ascii");return this._isNumstr(a)?a:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var s=t.raw().toString("ascii");return this._isPrintstr(s)?s:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},c.prototype._decodeObjid=function(t,e,r){for(var n,i=[],o=0,a=0;!t.isEmpty();)o<<=7,o|=127&(a=t.readUInt8()),0===(128&a)&&(i.push(o),o=0);128&a&&i.push(o);var s=i[0]/40|0,u=i[0]%40;if(n=r?i:[s,u].concat(i.slice(1)),e){var c=e[n.join(" ")];void 0===c&&(c=e[n.join(".")]),void 0!==c&&(n=c)}return n},c.prototype._decodeTime=function(t,e){var r,n,i,o,a,s,u=t.raw().toString();if("gentime"===e)r=0|u.slice(0,4),n=0|u.slice(4,6),i=0|u.slice(6,8),o=0|u.slice(8,10),a=0|u.slice(10,12),s=0|u.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");r=0|u.slice(0,2),n=0|u.slice(2,4),i=0|u.slice(4,6),o=0|u.slice(6,8),a=0|u.slice(8,10),s=0|u.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,n-1,i,o,a,s,0)},c.prototype._decodeNull=function(){return null},c.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},c.prototype._decodeInt=function(t,e){var r=t.raw(),n=new i(r);return e&&(n=e[n.toString(10)]||n),n},c.prototype._use=function(t,e){return"function"===typeof t&&(t=t(e)),t._getDecoder("der").tree}},function(t){t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(t,e,r){var n=r(50),i=r(10).Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var r,a=i.alloc(0),s=0;a.length<e;)r=o(s++),a=i.concat([a,n("sha1").update(t).update(r).digest()]);return a.slice(0,e)}},function(t,e){t.exports=function(t,e){for(var r=t.length,n=-1;++n<r;)t[n]^=e[n];return t}},function(t,e,r){var n=r(102),i=r(10).Buffer;t.exports=function(t,e){return i.from(t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed().toArray())}},function(t,e,r){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},function(t,e,r){"use strict";var n=r(30);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var o;if(r)o=r(e);else if(n.isURLSearchParams(e))o=e.toString();else{var a=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,r){"use strict";(function(e){var n=r(30),i=r(295),o={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s={adapter:function(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=r(169)),t}(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=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;s<o.length;s++)a[s]=255&o.charCodeAt(s);t.push(a)}else t.push(o,t._charset);t._pos=r.length}break;case"arraybuffer":if(e.readyState!==u.DONE||!e.response)break;r=e.response,t.push(new n(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=e.response,e.readyState!==u.LOADING||!r)break;t.push(new n(new Uint8Array(r)));break;case"ms-stream":if(r=e.response,e.readyState!==u.LOADING)break;var c=new i.MSStreamReader;c.onprogress=function(){c.result.byteLength>t._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.length<t.highWaterMark||0===t.length)}(a)}function w(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&_(t)),C(t,e)}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(t,e){this.push(null),e(t)},v.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=c.from(t,e),e=""),r=!0),b(this,t,e,!1,r)},v.prototype.unshift=function(t){return b(this,t,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(t){return p||(p=r(47).StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this};var I=8388608;function E(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.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.highWaterMark&&(A("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function M(t){A("readable nexttick read 0"),t.read(0)}function k(t,e){e.reading||(A("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),S(t),e.flowing&&!e.reading&&t.read(0)}function S(t){var e=t._readableState;for(A("flow",e.flowing);e.flowing&&null!==t.read(););}function x(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.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;t-=i.length;for(;r=r.next;){var o=r.data,a=t>o.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<n;r++)if(t[r]===e)return r;return-1}v.prototype.read=function(t){A("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=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-t<e.highWaterMark)&&A("length less than watermark",i=!0),e.ended||e.reading?A("reading or ended",i=!1):i&&(A("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=E(r,e))),null===(n=t>0?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<i;o++)n[o].emit("unpipe",this,r);return this}var a=N(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},v.prototype.on=function(t,e){var r=u.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&_(this):i.nextTick(M,this))}return r},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var t=this._readableState;return t.flowing||(A("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(k,t,e))}(this,t)),this},v.prototype.pause=function(){return A("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(A("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(A("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){(A("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<y.length;o++)t.on(y[o],this.emit.bind(this,y[o]));return this._read=function(e){A("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=x}).call(this,r(22),r(20))},function(t,e,r){t.exports=r(36).EventEmitter},function(t,e,r){"use strict";var n=r(45);function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(n.nextTick(i,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},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(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<e.highWaterMark;u||(e.needDrain=!0);if(e.writing||e.corked){var c=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else v(t,e,!1,s,n,i,o);return u}(this,i,s,t,e,r)),a},m.prototype.cork=function(){this._writableState.corked++},m.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||w(this,t))},m.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-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<i.highWaterMark)&&this._read(i.highWaterMark)}function a(t){if(!(this instanceof a))return new a(t);n.call(this,t),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",s)}function s(){var t=this;"function"===typeof this._flush?this._flush((function(e,r){u(t,e,r)})):u(this,null,null)}function u(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=r(8),i.inherits(a,n),a.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},a.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},a.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},function(t,e,r){var n=r(106),i=r(333),o=r(338),a=r(367);t.exports=function(t,e){return n(t)?t:i(t,e)?[t]:o(a(t))}},function(t,e,r){var n=r(108),i=r(335),o=r(336),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},function(t,e){t.exports=function(t,e){return t===e||t!==t&&e!==e}},function(t,e,r){var n=r(107);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},function(t,e,r){(function(e){function r(t){return(4294967296+t).toString(16).substring(1)}t.exports={normalizeInput:function(t){var r;if(t instanceof Uint8Array)r=t;else if(t instanceof e)r=new Uint8Array(t);else{if("string"!==typeof t)throw new Error("Input must be an string, Buffer or Uint8Array");r=new Uint8Array(e.from(t,"utf8"))}return r},toHex:function(t){return Array.prototype.map.call(t,(function(t){return(t<16?"0":"")+t.toString(16)})).join("")},debugPrint:function(t,e,n){for(var i="\n"+t+" = ",o=0;o<e.length;o+=2){if(32===n)i+=r(e[o]).toUpperCase(),i+=" ",i+=r(e[o+1]).toUpperCase();else{if(64!==n)throw new Error("Invalid size "+n);i+=r(e[o+1]).toUpperCase(),i+=r(e[o]).toUpperCase()}o%6===4?i+="\n"+new Array(t.length+4).join(" "):o<e.length-2&&(i+=" ")}console.log(i)},testSpeed:function(t,e,r){for(var n=(new Date).getTime(),i=new Uint8Array(e),o=0;o<e;o++)i[o]=o%256;var a=(new Date).getTime();console.log("Generated random input in "+(a-n)+"ms"),n=a;for(var s=0;s<r;s++){var u=t(i),c=(new Date).getTime(),h=c-n;n=c,console.log("Hashed in "+h+"ms: "+u.substring(0,20)+"..."),console.log(Math.round(e/(1<<20)/(h/1e3)*100)/100+" MB PER SECOND")}}}}).call(this,r(11).Buffer)},function(t,e,r){"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}(),t.exports=r(195)},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return g}));var n=r(0),i=r.n(n),o=r(1),a=r(3),s=r(7),u=r(6),c=r(4),h=r(19),f=r(9),l=r(15),A=r(28),p=r(75),d=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())}))},g=function(e){Object(s.a)(n,e);var r=Object(u.a)(n);function n(){var t;return Object(o.a)(this,n),(t=r.apply(this,arguments)).activeListeners=new Map,t}return Object(a.a)(n,[{key:"init",value:function(){return d(this,void 0,void 0,i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.subscribeToMessages().catch(console.error);case 1:case"end":return t.stop()}}),t,this)})))}},{key:"listenForEncryptedMessage",value:function(t,e){return d(this,void 0,void 0,i.a.mark((function r(){var n,o=this;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!this.activeListeners.has(t)){r.next=2;break}return r.abrupt("return");case 2:n=function(r,n){return d(o,void 0,void 0,i.a.mark((function o(){var a;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,this.decryptMessage(t,r.encryptedPayload);case 3:a=i.sent,e(a,n),i.next=9;break;case 7:i.prev=7,i.t0=i.catch(0);case 9:case"end":return i.stop()}}),o,this,[[0,7]])})))},this.activeListeners.set(t,n);case 4:case"end":return r.stop()}}),r,this)})))}},{key:"sendMessage",value:function(t,e){var r;return d(this,void 0,void 0,i.a.mark((function n(){var o,a,s;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.encryptMessage(e.publicKey,t);case 2:o=n.sent,a=null===(r=e)||void 0===r?void 0:r.extensionId,s={target:f.m.EXTENSION,encryptedPayload:o,targetId:a},h.a.postMessage(s,h.a.location.origin);case 6:case"end":return n.stop()}}),n,this)})))}},{key:"listenForChannelOpening",value:function(e){return d(this,void 0,void 0,i.a.mark((function r(){var n,o=this;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=function(r){return d(o,void 0,void 0,i.a.mark((function n(){var o,a,s,u,h;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(s=null===(o=null===r||void 0===r?void 0:r.data)||void 0===o?void 0:o.message,n.t0=s&&s.target===f.m.PAGE,!n.t0){n.next=6;break}return n.next=5,this.isChannelOpenMessage(s);case 5:n.t0=n.sent;case 6:if(!n.t0){n.next=29;break}if(!((u=t.from(s.payload,"hex")).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.length;r++)r&&(a+=","),a+=t(e[r])||"null";return a+"]"}if(null===e)return"null";if(-1!==o.indexOf(e)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=o.push(e)-1,u=Object.keys(e).sort(i&&i(e));for(a="",r=0;r<u.length;r++){var c=u[r],h=t(e[c]);h&&(a&&(a+=","),a+=JSON.stringify(c)+":"+h)}return o.splice(s,1),"{"+a+"}"}}(t)}},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return v}));var n=r(0),i=r.n(n),o=r(24),a=r(1),s=r(3),u=r(37),c=r(7),h=r(6),f=r(66),l=r(191),A=r(113),p=r(29);function d(t,e,r){var n=new p.b(e,r);return n.originalError=t,n}var g=function(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")};function y(e,r,n,i){var o=function(e,r){for(var n=t.alloc(e.length),i=0;i<e.length;i++)n[i]=e[i]^r[i%r.length];return n}(e,n),a=t.from("0000000000000000000000000000000000000000000000000000000000000000","hex"),s={version:"U2F_V2",keyHandle:g(o.toString("base64")),challenge:g(a.toString("base64")),appId:location.origin};return Object(A.a)("apdu","=> "+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;i<r;i++)n[i-1]=arguments[i];(e=this._events).emit.apply(e,[t].concat(n))}},{key:"setDebugMode",value:function(){console.warn("setDebugMode is deprecated. use @ledgerhq/logs instead. No logs are emitted in this anymore.")}},{key:"setExchangeTimeout",value:function(t){this.exchangeTimeout=t}},{key:"setExchangeUnresponsiveTimeout",value:function(t){this.unresponsiveTimeout=t}},{key:"decorateAppAPIMethods",value:function(t,e,r){var i,o=Object(n.a)(e);try{for(o.s();!(i=o.n()).done;){var a=i.value;t[a]=this.decorateAppAPIMethod(a,t[a],t,r)}}catch(s){o.e(s)}finally{o.f()}}},{key:"decorateAppAPIMethod",value:function(t,e,r,n){var i=this;return Object(a.a)(o.a.mark((function a(){var s,u,c,h,l=arguments;return o.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!(s=i._appAPIlock)){o.next=3;break}return o.abrupt("return",Promise.reject(new f.b("Ledger Device is busy (lock "+s+")","TransportLocked")));case 3:for(o.prev=3,i._appAPIlock=t,i.setScrambleKey(n),u=l.length,c=new Array(u),h=0;h<u;h++)c[h]=l[h];return o.next=9,e.apply(r,c);case 9:return o.abrupt("return",o.sent);case 10:return o.prev=10,i._appAPIlock=null,o.finish(10);case 13:case"end":return o.stop()}}),a,null,[[3,,10,13]])})))}}],[{key:"create",value:function(){var t=this,e=arguments.length>0&&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]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function u(e){var r=[];e.split("/").forEach((function(t){var e=parseInt(t,10);Number.isNaN(e)||(t.length>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 r<t.length?(n=r===t.length-1?this.LAST_MESSAGE_SEQUENCE:this.OTHER_MESSAGE_SEQUENCE,[4,this.transport.send(this.CLA,this.INS_SIGN,n,this.derivationType,t[r])]):[3,5];case 3:e=i.sent(),i.label=4;case 4:return r++,[3,2];case 5:return[2,e]}}))}))},e.prototype.getPrefixes=function(){return this.derivationType===h.ED25519?{prefPk:n.j[n.a.EDPK],prefPkh:n.j[n.a.TZ1],prefSig:n.j[n.a.EDSIG]}:this.derivationType===h.SECP256K1?{prefPk:n.j[n.a.SPPK],prefPkh:n.j[n.a.TZ2],prefSig:n.j[n.a.SPSIG]}:{prefPk:n.j[n.a.P2PK],prefPkh:n.j[n.a.TZ3],prefSig:n.j[n.a.P2SIG]}},e}()}).call(this,r(11).Buffer)},function(t,e,r){"use strict";r.d(e,"a",(function(){return U}));var n=r(0),i=r.n(n),o=r(1),a=r(3),s=r(14),u=r(18),c=r(16);function h(t){return Object.keys(t)}var f,l=r(13),A=r(58),p=r(57);!function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.JOINED=1]="JOINED",t[t.INVITED=2]="INVITED",t[t.LEFT=3]="LEFT"}(f||(f={}));var d=function(){function t(e){var r=arguments.length>1&&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;i<r;i++)n[i-1]=arguments[i];n.length>0?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;n<i.length;n++){var o=Object(c.a)(i[n],2),a=o[0],s=o[1];e[a]=s}return e}}},{key:"getParams",value:function(t){if(t){var e=Object.assign(t,{});return h(e).forEach((function(t){return void 0===e[t]&&delete e[t]})),e}}},{key:"apiUrl",value:function(){for(var t=this.baseUrl.endsWith("/")?this.baseUrl.substr(0,this.baseUrl.length-1):this.baseUrl,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i=r.map((function(t){return t.startsWith("/")?t.substr(1):t}));return[t].concat(Object(l.a)(i)).join("/")}}]),t}(),_=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())}))},B=function(){function t(e){Object(o.a)(this,t),this.httpClient=e}return Object(a.a)(t,[{key:"createRoom",value:function(t){var e=arguments.length>1&&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;r<t;r++)e[r]=arguments[r];return O(this,void 0,void 0,i.a.mark((function t(){var r=this;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.isConnected();case 2:return t.abrupt("return",this.requiresAuthorization("createRoom",(function(t){return O(r,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,this.roomService.createRoom(t,{room_version:"5",invite:e,preset:"public_chat",is_direct:!0});case 2:return n=r.sent,r.abrupt("return",n.room_id);case 4:case"end":return r.stop()}}),r,this)})))})));case 3:case"end":return t.stop()}}),t,this)})))}},{key:"inviteToRooms",value:function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return O(this,void 0,void 0,i.a.mark((function e(){var n=this;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.isConnected();case 2:return e.next=4,this.requiresAuthorization("invite",(function(e){return Promise.all(r.map((function(r){var i=n.store.getRoom(r);n.roomService.inviteToRoom(e,t,i).catch((function(t){return F.warn("inviteToRooms",t)}))})))}));case 4:case"end":return e.stop()}}),e,this)})))}},{key:"joinRooms",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return O(this,void 0,void 0,i.a.mark((function t(){var r=this;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.isConnected();case 2:return t.next=4,this.requiresAuthorization("join",(function(t){return Promise.all(e.map((function(e){var n=r.store.getRoom(e);return r.roomService.joinRoom(t,n)})))}));case 4:case"end":return t.stop()}}),t,this)})))}},{key:"sendTextMessage",value:function(t,e){return O(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.next=2,this.isConnected();case 2:return r.next=4,this.requiresAuthorization("send",(function(r){return O(n,void 0,void 0,i.a.mark((function n(){var o;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.createTxnId();case 2:return o=n.sent,n.abrupt("return",this.eventService.sendMessage(r,t,{msgtype:"m.text",body:e},o));case 4:case"end":return n.stop()}}),n,this)})))}));case 4:case"end":return r.stop()}}),r,this)})))}},{key:"poll",value:function(t,e,r){return O(this,void 0,void 0,i.a.mark((function n(){var o,a,s,u=this;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=this.store,a=this.sync.bind(this),s=function n(s,c){return O(u,void 0,void 0,i.a.mark((function u(){var h,f,l=this;return i.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:return h=0,u.prev=1,u.next=4,a();case 4:f=u.sent,e(f),u.next=13;break;case 8:u.prev=8,u.t0=u.catch(1),r(u.t0),h=o.get("pollingRetries"),this.isActive&&F.log("Retry syncing... ".concat(h," retries so far"));case 13:return u.prev=13,this.isActive?setTimeout((function(){return O(l,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,n(s,c);case 2:case"end":return t.stop()}}),t)})))}),h>3?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<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},d={};function g(t,e,r){this.props=t,this.context=e,this.refs=d,this.updater=r||p}function y(){}function m(t,e,r){this.props=t,this.context=e,this.refs=d,this.updater=r||p}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(A(85));this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},y.prototype=g.prototype;var v=m.prototype=new y;v.constructor=m,n(v,g.prototype),v.isPureReactComponent=!0;var b={current:null},w=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0};function E(t,e,r){var n,o={},a=null,s=null;if(null!=e)for(n in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)w.call(e,n)&&!I.hasOwnProperty(n)&&(o[n]=e[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var c=Array(u),h=0;h<u;h++)c[h]=arguments[h+2];o.children=c}if(t&&t.defaultProps)for(n in u=t.defaultProps)void 0===o[n]&&(o[n]=u[n]);return{$$typeof:i,type:t,key:a,ref:s,props:o,_owner:b.current}}function _(t){return"object"===typeof t&&null!==t&&t.$$typeof===i}var B=/\/+/g;function C(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function Q(t,e,r,n,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case o:u=!0}}if(u)return a=a(u=t),t=""===n?"."+C(u,0):n,Array.isArray(a)?(r="",null!=t&&(r=t.replace(B,"$&/")+"/"),Q(a,e,r,"",(function(t){return t}))):null!=a&&(_(a)&&(a=function(t,e){return{$$typeof:i,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(a,r+(!a.key||u&&u.key===a.key?"":(""+a.key).replace(B,"$&/")+"/")+t)),e.push(a)),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var h=n+C(s=t[c],c);u+=Q(s,e,r,h,a)}else if("function"===typeof(h=function(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=l&&t[l]||t["@@iterator"])?t:null}(t)))for(t=h.call(t),c=0;!(s=t.next()).done;)u+=Q(s=s.value,e,r,h=n+C(s,c++),a);else if("object"===s)throw e=""+t,Error(A(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e));return u}function M(t,e,r){if(null==t)return t;var n=[],i=0;return Q(t,n,"","",(function(t){return e.call(r,t,i++)})),n}function k(t){if(-1===t._status){var e=t._result;e=e(),t._status=0,t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}if(1===t._status)return t._result;throw t._result}var S={current:null};function x(){var t=S.current;if(null===t)throw Error(A(321));return t}var D={ReactCurrentDispatcher:S,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:b,IsSomeRendererActing:{current:!1},assign:n};e.Children={map:M,forEach:function(t,e,r){M(t,(function(){e.apply(this,arguments)}),r)},count:function(t){var e=0;return M(t,(function(){e++})),e},toArray:function(t){return M(t,(function(t){return t}))||[]},only:function(t){if(!_(t))throw Error(A(143));return t}},e.Component=g,e.PureComponent=m,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,e.cloneElement=function(t,e,r){if(null===t||void 0===t)throw Error(A(267,t));var o=n({},t.props),a=t.key,s=t.ref,u=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,u=b.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(h in e)w.call(e,h)&&!I.hasOwnProperty(h)&&(o[h]=void 0===e[h]&&void 0!==c?c[h]:e[h])}var h=arguments.length-2;if(1===h)o.children=r;else if(1<h){c=Array(h);for(var f=0;f<h;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:i,type:t.type,key:a,ref:s,props:o,_owner:u}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:s,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:t},t.Consumer=t},e.createElement=E,e.createFactory=function(t){var e=E.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:u,render:t}},e.isValidElement=_,e.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:k}},e.memo=function(t,e){return{$$typeof:c,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return x().useCallback(t,e)},e.useContext=function(t,e){return x().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return x().useEffect(t,e)},e.useImperativeHandle=function(t,e,r){return x().useImperativeHandle(t,e,r)},e.useLayoutEffect=function(t,e){return x().useLayoutEffect(t,e)},e.useMemo=function(t,e){return x().useMemo(t,e)},e.useReducer=function(t,e,r){return x().useReducer(t,e,r)},e.useRef=function(t){return x().useRef(t)},e.useState=function(t){return x().useState(t)},e.version="17.0.1"},function(t,e,r){"use strict";var n=r(17),i=r(79),o=r(196);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(a(227));var s=new Set,u={};function c(t,e){h(t,e),h(t+"Capture",e)}function h(t,e){for(u[t]=e,t=0;t<e.length;t++)s.add(e[t])}var f=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),l=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,A=Object.prototype.hasOwnProperty,p={},d={};function g(t,e,r,n,i,o,a){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=a}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){y[t]=new g(t,0,!1,t,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];y[e]=new g(e,1,!1,t[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){y[t]=new g(t,2,!1,t.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){y[t]=new g(t,2,!1,t,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){y[t]=new g(t,3,!1,t.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(t){y[t]=new g(t,3,!0,t,null,!1,!1)})),["capture","download"].forEach((function(t){y[t]=new g(t,4,!1,t,null,!1,!1)})),["cols","rows","size","span"].forEach((function(t){y[t]=new g(t,6,!1,t,null,!1,!1)})),["rowSpan","start"].forEach((function(t){y[t]=new g(t,5,!1,t.toLowerCase(),null,!1,!1)}));var m=/[\-:]([a-z])/g;function v(t){return t[1].toUpperCase()}function b(t,e,r,n){var i=y.hasOwnProperty(e)?y[e]:null;(null!==i?0===i.type:!n&&(2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])))||(function(t,e,r,n){if(null===e||"undefined"===typeof e||function(t,e,r,n){if(null!==r&&0===r.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,r,i,n)&&(r=null),n||null===i?function(t){return!!A.call(d,t)||!A.call(p,t)&&(l.test(t)?d[t]=!0:(p[t]=!0,!1))}(e)&&(null===r?t.removeAttribute(e):t.setAttribute(e,""+r)):i.mustUseProperty?t[i.propertyName]=null===r?3!==i.type&&"":r:(e=i.attributeName,n=i.attributeNamespace,null===r?t.removeAttribute(e):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?t.setAttributeNS(n,e,r):t.setAttribute(e,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(m,v);y[e]=new g(e,1,!1,t,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(m,v);y[e]=new g(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(m,v);y[e]=new g(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(t){y[t]=new g(t,1,!1,t.toLowerCase(),null,!1,!1)})),y.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(t){y[t]=new g(t,1,!1,t.toLowerCase(),null,!0,!0)}));var w=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I=60103,E=60106,_=60107,B=60108,C=60114,Q=60109,M=60110,k=60112,S=60113,x=60120,D=60115,R=60116,N=60121,P=60128,T=60129,O=60130,F=60131;if("function"===typeof Symbol&&Symbol.for){var U=Symbol.for;I=U("react.element"),E=U("react.portal"),_=U("react.fragment"),B=U("react.strict_mode"),C=U("react.profiler"),Q=U("react.provider"),M=U("react.context"),k=U("react.forward_ref"),S=U("react.suspense"),x=U("react.suspense_list"),D=U("react.memo"),R=U("react.lazy"),N=U("react.block"),U("react.scope"),P=U("react.opaque.id"),T=U("react.debug_trace_mode"),O=U("react.offscreen"),F=U("react.legacy_hidden")}var L,G="function"===typeof Symbol&&Symbol.iterator;function H(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=G&&t[G]||t["@@iterator"])?t:null}function j(t){if(void 0===L)try{throw Error()}catch(r){var e=r.stack.trim().match(/\n( *(at )?)/);L=e&&e[1]||""}return"\n"+L+t}var Y=!1;function K(t,e){if(!t||Y)return"";Y=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(e,[])}catch(u){var n=u}Reflect.construct(t,[],e)}else{try{e.call()}catch(u){n=u}t.call(e.prototype)}else{try{throw Error()}catch(u){n=u}t()}}catch(u){if(u&&n&&"string"===typeof u.stack){for(var i=u.stack.split("\n"),o=n.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s])return"\n"+i[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{Y=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?j(t):""}function q(t){switch(t.tag){case 5:return j(t.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return t=K(t.type,!1);case 11:return t=K(t.type.render,!1);case 22:return t=K(t.type._render,!1);case 1:return t=K(t.type,!0);default:return""}}function J(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case _:return"Fragment";case E:return"Portal";case C:return"Profiler";case B:return"StrictMode";case S:return"Suspense";case x:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case M:return(t.displayName||"Context")+".Consumer";case Q:return(t._context.displayName||"Context")+".Provider";case k:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case D:return J(t.type);case N:return J(t._render);case R:e=t._payload,t=t._init;try{return J(t(e))}catch(r){}}return null}function V(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function z(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function X(t){t._valueTracker||(t._valueTracker=function(t){var e=z(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){n=""+t,o.call(this,t)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(t){n=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function W(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),n="";return t&&(n=z(t)?t.checked?"true":"false":t.value),(t=n)!==r&&(e.setValue(t),!0)}function Z(t){if("undefined"===typeof(t=t||("undefined"!==typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function $(t,e){var r=e.checked;return i({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:t._wrapperState.initialChecked})}function tt(t,e){var r=null==e.defaultValue?"":e.defaultValue,n=null!=e.checked?e.checked:e.defaultChecked;r=V(null!=e.value?e.value:r),t._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function et(t,e){null!=(e=e.checked)&&b(t,"checked",e,!1)}function rt(t,e){et(t,e);var r=V(e.value),n=e.type;if(null!=r)"number"===n?(0===r&&""===t.value||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if("submit"===n||"reset"===n)return void t.removeAttribute("value");e.hasOwnProperty("value")?it(t,e.type,r):e.hasOwnProperty("defaultValue")&&it(t,e.type,V(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function nt(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!("submit"!==n&&"reset"!==n||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}""!==(r=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==r&&(t.name=r)}function it(t,e,r){"number"===e&&Z(t.ownerDocument)===t||(null==r?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}function ot(t,e){return t=i({children:void 0},e),(e=function(t){var e="";return n.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(e.children))&&(t.children=e),t}function at(t,e,r,n){if(t=t.options,e){e={};for(var i=0;i<r.length;i++)e["$"+r[i]]=!0;for(r=0;r<t.length;r++)i=e.hasOwnProperty("$"+t[r].value),t[r].selected!==i&&(t[r].selected=i),i&&n&&(t[r].defaultSelected=!0)}else{for(r=""+V(r),e=null,i=0;i<t.length;i++){if(t[i].value===r)return t[i].selected=!0,void(n&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function st(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return i({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function ut(t,e){var r=e.value;if(null==r){if(r=e.children,e=e.defaultValue,null!=r){if(null!=e)throw Error(a(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(a(93));r=r[0]}e=r}null==e&&(e=""),r=e}t._wrapperState={initialValue:V(r)}}function ct(t,e){var r=V(e.value),n=V(e.defaultValue);null!=r&&((r=""+r)!==t.value&&(t.value=r),null==e.defaultValue&&t.defaultValue!==r&&(t.defaultValue=r)),null!=n&&(t.defaultValue=""+n)}function ht(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var ft="http://www.w3.org/1999/xhtml",lt="http://www.w3.org/2000/svg";function At(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function pt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?At(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var dt,gt,yt=(gt=function(t,e){if(t.namespaceURI!==lt||"innerHTML"in t)t.innerHTML=e;else{for((dt=dt||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=dt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,e,r,n){MSApp.execUnsafeLocalFunction((function(){return gt(t,e)}))}:gt);function mt(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&3===r.nodeType)return void(r.nodeValue=e)}t.textContent=e}var vt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bt=["Webkit","ms","Moz","O"];function wt(t,e,r){return null==e||"boolean"===typeof e||""===e?"":r||"number"!==typeof e||0===e||vt.hasOwnProperty(t)&&vt[t]?(""+e).trim():e+"px"}function It(t,e){for(var r in t=t.style,e)if(e.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=wt(r,e[r],n);"float"===r&&(r="cssFloat"),n?t.setProperty(r,i):t[r]=i}}Object.keys(vt).forEach((function(t){bt.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),vt[e]=vt[t]}))}));var Et=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _t(t,e){if(e){if(Et[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(a(137,t));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(a(60));if("object"!==typeof e.dangerouslySetInnerHTML||!("__html"in e.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=e.style&&"object"!==typeof e.style)throw Error(a(62))}}function Bt(t,e){if(-1===t.indexOf("-"))return"string"===typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ct(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var Qt=null,Mt=null,kt=null;function St(t){if(t=ti(t)){if("function"!==typeof Qt)throw Error(a(280));var e=t.stateNode;e&&(e=ri(e),Qt(t.stateNode,t.type,e))}}function xt(t){Mt?kt?kt.push(t):kt=[t]:Mt=t}function Dt(){if(Mt){var t=Mt,e=kt;if(kt=Mt=null,St(t),e)for(t=0;t<e.length;t++)St(e[t])}}function Rt(t,e){return t(e)}function Nt(t,e,r,n,i){return t(e,r,n,i)}function Pt(){}var Tt=Rt,Ot=!1,Ft=!1;function Ut(){null===Mt&&null===kt||(Pt(),Dt())}function Lt(t,e){var r=t.stateNode;if(null===r)return null;var n=ri(r);if(null===n)return null;r=n[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!n;break t;default:t=!1}if(t)return null;if(r&&"function"!==typeof r)throw Error(a(231,e,typeof r));return r}var Gt=!1;if(f)try{var Ht={};Object.defineProperty(Ht,"passive",{get:function(){Gt=!0}}),window.addEventListener("test",Ht,Ht),window.removeEventListener("test",Ht,Ht)}catch(gt){Gt=!1}function jt(t,e,r,n,i,o,a,s,u){var c=Array.prototype.slice.call(arguments,3);try{e.apply(r,c)}catch(h){this.onError(h)}}var Yt=!1,Kt=null,qt=!1,Jt=null,Vt={onError:function(t){Yt=!0,Kt=t}};function zt(t,e,r,n,i,o,a,s,u){Yt=!1,Kt=null,jt.apply(Vt,arguments)}function Xt(t){var e=t,r=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(1026&(e=t).flags)&&(r=e.return),t=e.return}while(t)}return 3===e.tag?r:null}function Wt(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function Zt(t){if(Xt(t)!==t)throw Error(a(188))}function $t(t){if(!(t=function(t){var e=t.alternate;if(!e){if(null===(e=Xt(t)))throw Error(a(188));return e!==t?null:t}for(var r=t,n=e;;){var i=r.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(n=i.return)){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return Zt(i),t;if(o===n)return Zt(i),e;o=o.sibling}throw Error(a(188))}if(r.return!==n.return)r=i,n=o;else{for(var s=!1,u=i.child;u;){if(u===r){s=!0,r=i,n=o;break}if(u===n){s=!0,n=i,r=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===r){s=!0,r=o,n=i;break}if(u===n){s=!0,n=o,r=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?t:e}(t)))return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}function te(t,e){for(var r=t.alternate;null!==e;){if(e===t||e===r)return!0;e=e.return}return!1}var ee,re,ne,ie,oe=!1,ae=[],se=null,ue=null,ce=null,he=new Map,fe=new Map,le=[],Ae="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pe(t,e,r,n,i){return{blockedOn:t,domEventName:e,eventSystemFlags:16|r,nativeEvent:i,targetContainers:[n]}}function de(t,e){switch(t){case"focusin":case"focusout":se=null;break;case"dragenter":case"dragleave":ue=null;break;case"mouseover":case"mouseout":ce=null;break;case"pointerover":case"pointerout":he.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":fe.delete(e.pointerId)}}function ge(t,e,r,n,i,o){return null===t||t.nativeEvent!==o?(t=pe(e,r,n,i,o),null!==e&&(null!==(e=ti(e))&&re(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,null!==i&&-1===e.indexOf(i)&&e.push(i),t)}function ye(t){var e=$n(t.target);if(null!==e){var r=Xt(e);if(null!==r)if(13===(e=r.tag)){if(null!==(e=Wt(r)))return t.blockedOn=e,void ie(t.lanePriority,(function(){o.unstable_runWithPriority(t.priority,(function(){ne(r)}))}))}else if(3===e&&r.stateNode.hydrate)return void(t.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}t.blockedOn=null}function me(t){if(null!==t.blockedOn)return!1;for(var e=t.targetContainers;0<e.length;){var r=$e(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==r)return null!==(e=ti(r))&&re(e),t.blockedOn=r,!1;e.shift()}return!0}function ve(t,e,r){me(t)&&r.delete(e)}function be(){for(oe=!1;0<ae.length;){var t=ae[0];if(null!==t.blockedOn){null!==(t=ti(t.blockedOn))&&ee(t);break}for(var e=t.targetContainers;0<e.length;){var r=$e(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==r){t.blockedOn=r;break}e.shift()}null===t.blockedOn&&ae.shift()}null!==se&&me(se)&&(se=null),null!==ue&&me(ue)&&(ue=null),null!==ce&&me(ce)&&(ce=null),he.forEach(ve),fe.forEach(ve)}function we(t,e){t.blockedOn===e&&(t.blockedOn=null,oe||(oe=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,be)))}function Ie(t){function e(e){return we(e,t)}if(0<ae.length){we(ae[0],t);for(var r=1;r<ae.length;r++){var n=ae[r];n.blockedOn===t&&(n.blockedOn=null)}}for(null!==se&&we(se,t),null!==ue&&we(ue,t),null!==ce&&we(ce,t),he.forEach(e),fe.forEach(e),r=0;r<le.length;r++)(n=le[r]).blockedOn===t&&(n.blockedOn=null);for(;0<le.length&&null===(r=le[0]).blockedOn;)ye(r),null===r.blockedOn&&le.shift()}function Ee(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var _e={animationend:Ee("Animation","AnimationEnd"),animationiteration:Ee("Animation","AnimationIteration"),animationstart:Ee("Animation","AnimationStart"),transitionend:Ee("Transition","TransitionEnd")},Be={},Ce={};function Qe(t){if(Be[t])return Be[t];if(!_e[t])return t;var e,r=_e[t];for(e in r)if(r.hasOwnProperty(e)&&e in Ce)return Be[t]=r[e];return t}f&&(Ce=document.createElement("div").style,"AnimationEvent"in window||(delete _e.animationend.animation,delete _e.animationiteration.animation,delete _e.animationstart.animation),"TransitionEvent"in window||delete _e.transitionend.transition);var Me=Qe("animationend"),ke=Qe("animationiteration"),Se=Qe("animationstart"),xe=Qe("transitionend"),De=new Map,Re=new Map,Ne=["abort","abort",Me,"animationEnd",ke,"animationIteration",Se,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",xe,"transitionEnd","waiting","waiting"];function Pe(t,e){for(var r=0;r<t.length;r+=2){var n=t[r],i=t[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Re.set(n,e),De.set(n,i),c(i,[n])}}(0,o.unstable_now)();var Te=8;function Oe(t){if(0!==(1&t))return Te=15,1;if(0!==(2&t))return Te=14,2;if(0!==(4&t))return Te=13,4;var e=24&t;return 0!==e?(Te=12,e):0!==(32&t)?(Te=11,32):0!==(e=192&t)?(Te=10,e):0!==(256&t)?(Te=9,256):0!==(e=3584&t)?(Te=8,e):0!==(4096&t)?(Te=7,4096):0!==(e=4186112&t)?(Te=6,e):0!==(e=62914560&t)?(Te=5,e):67108864&t?(Te=4,67108864):0!==(134217728&t)?(Te=3,134217728):0!==(e=805306368&t)?(Te=2,e):0!==(1073741824&t)?(Te=1,1073741824):(Te=8,t)}function Fe(t,e){var r=t.pendingLanes;if(0===r)return Te=0;var n=0,i=0,o=t.expiredLanes,a=t.suspendedLanes,s=t.pingedLanes;if(0!==o)n=o,i=Te=15;else if(0!==(o=134217727&r)){var u=o&~a;0!==u?(n=Oe(u),i=Te):0!==(s&=o)&&(n=Oe(s),i=Te)}else 0!==(o=r&~a)?(n=Oe(o),i=Te):0!==s&&(n=Oe(s),i=Te);if(0===n)return 0;if(n=r&((0>(n=31-Ye(n))?0:1<<n)<<1)-1,0!==e&&e!==n&&0===(e&a)){if(Oe(e),i<=Te)return e;Te=i}if(0!==(e=t.entangledLanes))for(t=t.entanglements,e&=n;0<e;)i=1<<(r=31-Ye(e)),n|=t[r],e&=~i;return n}function Ue(t){return 0!==(t=-1073741825&t.pendingLanes)?t:1073741824&t?1073741824:0}function Le(t,e){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=Ge(24&~e))?Le(10,e):t;case 10:return 0===(t=Ge(192&~e))?Le(8,e):t;case 8:return 0===(t=Ge(3584&~e))&&(0===(t=Ge(4186112&~e))&&(t=512)),t;case 2:return 0===(e=Ge(805306368&~e))&&(e=268435456),e}throw Error(a(358,t))}function Ge(t){return t&-t}function He(t){for(var e=[],r=0;31>r;r++)e.push(t);return e}function je(t,e,r){t.pendingLanes|=e;var n=e-1;t.suspendedLanes&=n,t.pingedLanes&=n,(t=t.eventTimes)[e=31-Ye(e)]=r}var Ye=Math.clz32?Math.clz32:function(t){return 0===t?32:31-(Ke(t)/qe|0)|0},Ke=Math.log,qe=Math.LN2;var Je=o.unstable_UserBlockingPriority,Ve=o.unstable_runWithPriority,ze=!0;function Xe(t,e,r,n){Ot||Pt();var i=Ze,o=Ot;Ot=!0;try{Nt(i,t,e,r,n)}finally{(Ot=o)||Ut()}}function We(t,e,r,n){Ve(Je,Ze.bind(null,t,e,r,n))}function Ze(t,e,r,n){var i;if(ze)if((i=0===(4&e))&&0<ae.length&&-1<Ae.indexOf(t))t=pe(null,t,e,r,n),ae.push(t);else{var o=$e(t,e,r,n);if(null===o)i&&de(t,n);else{if(i){if(-1<Ae.indexOf(t))return t=pe(o,t,e,r,n),void ae.push(t);if(function(t,e,r,n,i){switch(e){case"focusin":return se=ge(se,t,e,r,n,i),!0;case"dragenter":return ue=ge(ue,t,e,r,n,i),!0;case"mouseover":return ce=ge(ce,t,e,r,n,i),!0;case"pointerover":var o=i.pointerId;return he.set(o,ge(he.get(o)||null,t,e,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,fe.set(o,ge(fe.get(o)||null,t,e,r,n,i)),!0}return!1}(o,t,e,r,n))return;de(t,n)}Dn(t,e,n,null,r)}}}function $e(t,e,r,n){var i=Ct(n);if(null!==(i=$n(i))){var o=Xt(i);if(null===o)i=null;else{var a=o.tag;if(13===a){if(null!==(i=Wt(o)))return i;i=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Dn(t,e,n,i,r),null}var tr=null,er=null,rr=null;function nr(){if(rr)return rr;var t,e,r=er,n=r.length,i="value"in tr?tr.value:tr.textContent,o=i.length;for(t=0;t<n&&r[t]===i[t];t++);var a=n-t;for(e=1;e<=a&&r[n-e]===i[o-e];e++);return rr=i.slice(t,1<e?1-e:void 0)}function ir(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}function or(){return!0}function ar(){return!1}function sr(t){function e(e,r,n,i,o){for(var a in this._reactName=e,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null,t)t.hasOwnProperty(a)&&(e=t[a],this[a]=e?e(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?or:ar,this.isPropagationStopped=ar,this}return i(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=or)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=or)},persist:function(){},isPersistent:or}),e}var ur,cr,hr,fr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lr=sr(fr),Ar=i({},fr,{view:0,detail:0}),pr=sr(Ar),dr=i({},Ar,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cr,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==hr&&(hr&&"mousemove"===t.type?(ur=t.screenX-hr.screenX,cr=t.screenY-hr.screenY):cr=ur=0,hr=t),ur)},movementY:function(t){return"movementY"in t?t.movementY:cr}}),gr=sr(dr),yr=sr(i({},dr,{dataTransfer:0})),mr=sr(i({},Ar,{relatedTarget:0})),vr=sr(i({},fr,{animationName:0,elapsedTime:0,pseudoElement:0})),br=sr(i({},fr,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}})),wr=sr(i({},fr,{data:0})),Ir={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Er={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_r={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Br(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=_r[t])&&!!e[t]}function Cr(){return Br}var Qr=sr(i({},Ar,{key:function(t){if(t.key){var e=Ir[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=ir(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?Er[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cr,charCode:function(t){return"keypress"===t.type?ir(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?ir(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}})),Mr=sr(i({},dr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),kr=sr(i({},Ar,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cr})),Sr=sr(i({},fr,{propertyName:0,elapsedTime:0,pseudoElement:0})),xr=sr(i({},dr,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0})),Dr=[9,13,27,32],Rr=f&&"CompositionEvent"in window,Nr=null;f&&"documentMode"in document&&(Nr=document.documentMode);var Pr=f&&"TextEvent"in window&&!Nr,Tr=f&&(!Rr||Nr&&8<Nr&&11>=Nr),Or=String.fromCharCode(32),Fr=!1;function Ur(t,e){switch(t){case"keyup":return-1!==Dr.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lr(t){return"object"===typeof(t=t.detail)&&"data"in t?t.data:null}var Gr=!1;var Hr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function jr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!Hr[t.type]:"textarea"===e}function Yr(t,e,r,n){xt(n),0<(e=Nn(e,"onChange")).length&&(r=new lr("onChange","change",null,r,n),t.push({event:r,listeners:e}))}var Kr=null,qr=null;function Jr(t){Cn(t,0)}function Vr(t){if(W(ei(t)))return t}function zr(t,e){if("change"===t)return e}var Xr=!1;if(f){var Wr;if(f){var Zr="oninput"in document;if(!Zr){var $r=document.createElement("div");$r.setAttribute("oninput","return;"),Zr="function"===typeof $r.oninput}Wr=Zr}else Wr=!1;Xr=Wr&&(!document.documentMode||9<document.documentMode)}function tn(){Kr&&(Kr.detachEvent("onpropertychange",en),qr=Kr=null)}function en(t){if("value"===t.propertyName&&Vr(qr)){var e=[];if(Yr(e,qr,t,Ct(t)),t=Jr,Ot)t(e);else{Ot=!0;try{Rt(t,e)}finally{Ot=!1,Ut()}}}}function rn(t,e,r){"focusin"===t?(tn(),qr=r,(Kr=e).attachEvent("onpropertychange",en)):"focusout"===t&&tn()}function nn(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return Vr(qr)}function on(t,e){if("click"===t)return Vr(e)}function an(t,e){if("input"===t||"change"===t)return Vr(e)}var sn="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},un=Object.prototype.hasOwnProperty;function cn(t,e){if(sn(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!un.call(e,r[n])||!sn(t[r[n]],e[r[n]]))return!1;return!0}function hn(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function fn(t,e){var r,n=hn(t);for(t=0;n;){if(3===n.nodeType){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=hn(n)}}function ln(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?ln(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function An(){for(var t=window,e=Z();e instanceof t.HTMLIFrameElement;){try{var r="string"===typeof e.contentWindow.location.href}catch(n){r=!1}if(!r)break;e=Z((t=e.contentWindow).document)}return e}function pn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var dn=f&&"documentMode"in document&&11>=document.documentMode,gn=null,yn=null,mn=null,vn=!1;function bn(t,e,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;vn||null==gn||gn!==Z(n)||("selectionStart"in(n=gn)&&pn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},mn&&cn(mn,n)||(mn=n,0<(n=Nn(yn,"onSelect")).length&&(e=new lr("onSelect","select",null,e,r),t.push({event:e,listeners:n}),e.target=gn)))}Pe("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Pe("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Pe(Ne,2);for(var wn="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),In=0;In<wn.length;In++)Re.set(wn[In],0);h("onMouseEnter",["mouseout","mouseover"]),h("onMouseLeave",["mouseout","mouseover"]),h("onPointerEnter",["pointerout","pointerover"]),h("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var En="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),_n=new Set("cancel close invalid load scroll toggle".split(" ").concat(En));function Bn(t,e,r){var n=t.type||"unknown-event";t.currentTarget=r,function(t,e,r,n,i,o,s,u,c){if(zt.apply(this,arguments),Yt){if(!Yt)throw Error(a(198));var h=Kt;Yt=!1,Kt=null,qt||(qt=!0,Jt=h)}}(n,e,void 0,t),t.currentTarget=null}function Cn(t,e){e=0!==(4&e);for(var r=0;r<t.length;r++){var n=t[r],i=n.event;n=n.listeners;t:{var o=void 0;if(e)for(var a=n.length-1;0<=a;a--){var s=n[a],u=s.instance,c=s.currentTarget;if(s=s.listener,u!==o&&i.isPropagationStopped())break t;Bn(i,s,c),o=u}else for(a=0;a<n.length;a++){if(u=(s=n[a]).instance,c=s.currentTarget,s=s.listener,u!==o&&i.isPropagationStopped())break t;Bn(i,s,c),o=u}}}if(qt)throw t=Jt,qt=!1,Jt=null,t}function Qn(t,e){var r=ni(e),n=t+"__bubble";r.has(n)||(xn(e,t,2,!1),r.add(n))}var Mn="_reactListening"+Math.random().toString(36).slice(2);function kn(t){t[Mn]||(t[Mn]=!0,s.forEach((function(e){_n.has(e)||Sn(e,!1,t,null),Sn(e,!0,t,null)})))}function Sn(t,e,r,n){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=r;if("selectionchange"===t&&9!==r.nodeType&&(o=r.ownerDocument),null!==n&&!e&&_n.has(t)){if("scroll"!==t)return;i|=2,o=n}var a=ni(o),s=t+"__"+(e?"capture":"bubble");a.has(s)||(e&&(i|=4),xn(o,t,i,e),a.add(s))}function xn(t,e,r,n){var i=Re.get(e);switch(void 0===i?2:i){case 0:i=Xe;break;case 1:i=We;break;default:i=Ze}r=i.bind(null,e,r,t),i=void 0,!Gt||"touchstart"!==e&&"touchmove"!==e&&"wheel"!==e||(i=!0),n?void 0!==i?t.addEventListener(e,r,{capture:!0,passive:i}):t.addEventListener(e,r,!0):void 0!==i?t.addEventListener(e,r,{passive:i}):t.addEventListener(e,r,!1)}function Dn(t,e,r,n,i){var o=n;if(0===(1&e)&&0===(2&e)&&null!==n)t:for(;;){if(null===n)return;var a=n.tag;if(3===a||4===a){var s=n.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=n.return;null!==a;){var u=a.tag;if((3===u||4===u)&&((u=a.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=$n(s)))return;if(5===(u=a.tag)||6===u){n=o=a;continue t}s=s.parentNode}}n=n.return}!function(t,e,r){if(Ft)return t(e,r);Ft=!0;try{Tt(t,e,r)}finally{Ft=!1,Ut()}}((function(){var n=o,i=Ct(r),a=[];t:{var s=De.get(t);if(void 0!==s){var u=lr,c=t;switch(t){case"keypress":if(0===ir(r))break t;case"keydown":case"keyup":u=Qr;break;case"focusin":c="focus",u=mr;break;case"focusout":c="blur",u=mr;break;case"beforeblur":case"afterblur":u=mr;break;case"click":if(2===r.button)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=gr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=yr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=kr;break;case Me:case ke:case Se:u=vr;break;case xe:u=Sr;break;case"scroll":u=pr;break;case"wheel":u=xr;break;case"copy":case"cut":case"paste":u=br;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Mr}var h=0!==(4&e),f=!h&&"scroll"===t,l=h?null!==s?s+"Capture":null:s;h=[];for(var A,p=n;null!==p;){var d=(A=p).stateNode;if(5===A.tag&&null!==d&&(A=d,null!==l&&(null!=(d=Lt(p,l))&&h.push(Rn(p,d,A)))),f)break;p=p.return}0<h.length&&(s=new u(s,c,null,r,i),a.push({event:s,listeners:h}))}}if(0===(7&e)){if(u="mouseout"===t||"pointerout"===t,(!(s="mouseover"===t||"pointerover"===t)||0!==(16&e)||!(c=r.relatedTarget||r.fromElement)||!$n(c)&&!c[Wn])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=n,null!==(c=(c=r.relatedTarget||r.toElement)?$n(c):null)&&(c!==(f=Xt(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=n),u!==c)){if(h=gr,d="onMouseLeave",l="onMouseEnter",p="mouse","pointerout"!==t&&"pointerover"!==t||(h=Mr,d="onPointerLeave",l="onPointerEnter",p="pointer"),f=null==u?s:ei(u),A=null==c?s:ei(c),(s=new h(d,p+"leave",u,r,i)).target=f,s.relatedTarget=A,d=null,$n(i)===n&&((h=new h(l,p+"enter",c,r,i)).target=A,h.relatedTarget=f,d=h),f=d,u&&c)t:{for(l=c,p=0,A=h=u;A;A=Pn(A))p++;for(A=0,d=l;d;d=Pn(d))A++;for(;0<p-A;)h=Pn(h),p--;for(;0<A-p;)l=Pn(l),A--;for(;p--;){if(h===l||null!==l&&h===l.alternate)break t;h=Pn(h),l=Pn(l)}h=null}else h=null;null!==u&&Tn(a,s,u,h,!1),null!==c&&null!==f&&Tn(a,f,c,h,!0)}if("select"===(u=(s=n?ei(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var g=zr;else if(jr(s))if(Xr)g=an;else{g=nn;var y=rn}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=on);switch(g&&(g=g(t,n))?Yr(a,g,r,i):(y&&y(t,s,n),"focusout"===t&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&it(s,"number",s.value)),y=n?ei(n):window,t){case"focusin":(jr(y)||"true"===y.contentEditable)&&(gn=y,yn=n,mn=null);break;case"focusout":mn=yn=gn=null;break;case"mousedown":vn=!0;break;case"contextmenu":case"mouseup":case"dragend":vn=!1,bn(a,r,i);break;case"selectionchange":if(dn)break;case"keydown":case"keyup":bn(a,r,i)}var m;if(Rr)t:{switch(t){case"compositionstart":var v="onCompositionStart";break t;case"compositionend":v="onCompositionEnd";break t;case"compositionupdate":v="onCompositionUpdate";break t}v=void 0}else Gr?Ur(t,r)&&(v="onCompositionEnd"):"keydown"===t&&229===r.keyCode&&(v="onCompositionStart");v&&(Tr&&"ko"!==r.locale&&(Gr||"onCompositionStart"!==v?"onCompositionEnd"===v&&Gr&&(m=nr()):(er="value"in(tr=i)?tr.value:tr.textContent,Gr=!0)),0<(y=Nn(n,v)).length&&(v=new wr(v,t,null,r,i),a.push({event:v,listeners:y}),m?v.data=m:null!==(m=Lr(r))&&(v.data=m))),(m=Pr?function(t,e){switch(t){case"compositionend":return Lr(e);case"keypress":return 32!==e.which?null:(Fr=!0,Or);case"textInput":return(t=e.data)===Or&&Fr?null:t;default:return null}}(t,r):function(t,e){if(Gr)return"compositionend"===t||!Rr&&Ur(t,e)?(t=nr(),rr=er=tr=null,Gr=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Tr&&"ko"!==e.locale?null:e.data;default:return null}}(t,r))&&(0<(n=Nn(n,"onBeforeInput")).length&&(i=new wr("onBeforeInput","beforeinput",null,r,i),a.push({event:i,listeners:n}),i.data=m))}Cn(a,e)}))}function Rn(t,e,r){return{instance:t,listener:e,currentTarget:r}}function Nn(t,e){for(var r=e+"Capture",n=[];null!==t;){var i=t,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Lt(t,r))&&n.unshift(Rn(t,o,i)),null!=(o=Lt(t,e))&&n.push(Rn(t,o,i))),t=t.return}return n}function Pn(t){if(null===t)return null;do{t=t.return}while(t&&5!==t.tag);return t||null}function Tn(t,e,r,n,i){for(var o=e._reactName,a=[];null!==r&&r!==n;){var s=r,u=s.alternate,c=s.stateNode;if(null!==u&&u===n)break;5===s.tag&&null!==c&&(s=c,i?null!=(u=Lt(r,o))&&a.unshift(Rn(r,u,s)):i||null!=(u=Lt(r,o))&&a.push(Rn(r,u,s))),r=r.return}0!==a.length&&t.push({event:e,listeners:a})}function On(){}var Fn=null,Un=null;function Ln(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function Gn(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var Hn="function"===typeof setTimeout?setTimeout:void 0,jn="function"===typeof clearTimeout?clearTimeout:void 0;function Yn(t){1===t.nodeType?t.textContent="":9===t.nodeType&&(null!=(t=t.body)&&(t.textContent=""))}function Kn(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function qn(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var r=t.data;if("$"===r||"$!"===r||"$?"===r){if(0===e)return t;e--}else"/$"===r&&e++}t=t.previousSibling}return null}var Jn=0;var Vn=Math.random().toString(36).slice(2),zn="__reactFiber$"+Vn,Xn="__reactProps$"+Vn,Wn="__reactContainer$"+Vn,Zn="__reactEvents$"+Vn;function $n(t){var e=t[zn];if(e)return e;for(var r=t.parentNode;r;){if(e=r[Wn]||r[zn]){if(r=e.alternate,null!==e.child||null!==r&&null!==r.child)for(t=qn(t);null!==t;){if(r=t[zn])return r;t=qn(t)}return e}r=(t=r).parentNode}return null}function ti(t){return!(t=t[zn]||t[Wn])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function ei(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function ri(t){return t[Xn]||null}function ni(t){var e=t[Zn];return void 0===e&&(e=t[Zn]=new Set),e}var ii=[],oi=-1;function ai(t){return{current:t}}function si(t){0>oi||(t.current=ii[oi],ii[oi]=null,oi--)}function ui(t,e){oi++,ii[oi]=t.current,t.current=e}var ci={},hi=ai(ci),fi=ai(!1),li=ci;function Ai(t,e){var r=t.type.contextTypes;if(!r)return ci;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in r)o[i]=e[i];return n&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function pi(t){return null!==(t=t.childContextTypes)&&void 0!==t}function di(){si(fi),si(hi)}function gi(t,e,r){if(hi.current!==ci)throw Error(a(168));ui(hi,e),ui(fi,r)}function yi(t,e,r){var n=t.stateNode;if(t=e.childContextTypes,"function"!==typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in t))throw Error(a(108,J(e)||"Unknown",o));return i({},r,n)}function mi(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||ci,li=hi.current,ui(hi,t),ui(fi,fi.current),!0}function vi(t,e,r){var n=t.stateNode;if(!n)throw Error(a(169));r?(t=yi(t,e,li),n.__reactInternalMemoizedMergedChildContext=t,si(fi),si(hi),ui(hi,t)):si(fi),ui(fi,r)}var bi=null,wi=null,Ii=o.unstable_runWithPriority,Ei=o.unstable_scheduleCallback,_i=o.unstable_cancelCallback,Bi=o.unstable_shouldYield,Ci=o.unstable_requestPaint,Qi=o.unstable_now,Mi=o.unstable_getCurrentPriorityLevel,ki=o.unstable_ImmediatePriority,Si=o.unstable_UserBlockingPriority,xi=o.unstable_NormalPriority,Di=o.unstable_LowPriority,Ri=o.unstable_IdlePriority,Ni={},Pi=void 0!==Ci?Ci:function(){},Ti=null,Oi=null,Fi=!1,Ui=Qi(),Li=1e4>Ui?Qi:function(){return Qi()-Ui};function Gi(){switch(Mi()){case ki:return 99;case Si:return 98;case xi:return 97;case Di:return 96;case Ri:return 95;default:throw Error(a(332))}}function Hi(t){switch(t){case 99:return ki;case 98:return Si;case 97:return xi;case 96:return Di;case 95:return Ri;default:throw Error(a(332))}}function ji(t,e){return t=Hi(t),Ii(t,e)}function Yi(t,e,r){return t=Hi(t),Ei(t,e,r)}function Ki(){if(null!==Oi){var t=Oi;Oi=null,_i(t)}qi()}function qi(){if(!Fi&&null!==Ti){Fi=!0;var t=0;try{var e=Ti;ji(99,(function(){for(;t<e.length;t++){var r=e[t];do{r=r(!0)}while(null!==r)}})),Ti=null}catch(r){throw null!==Ti&&(Ti=Ti.slice(t+1)),Ei(ki,Ki),r}finally{Fi=!1}}}var Ji=w.ReactCurrentBatchConfig;function Vi(t,e){if(t&&t.defaultProps){for(var r in e=i({},e),t=t.defaultProps)void 0===e[r]&&(e[r]=t[r]);return e}return e}var zi=ai(null),Xi=null,Wi=null,Zi=null;function $i(){Zi=Wi=Xi=null}function to(t){var e=zi.current;si(zi),t.type._context._currentValue=e}function eo(t,e){for(;null!==t;){var r=t.alternate;if((t.childLanes&e)===e){if(null===r||(r.childLanes&e)===e)break;r.childLanes|=e}else t.childLanes|=e,null!==r&&(r.childLanes|=e);t=t.return}}function ro(t,e){Xi=t,Zi=Wi=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(0!==(t.lanes&e)&&(Na=!0),t.firstContext=null)}function no(t,e){if(Zi!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(Zi=t,e=1073741823),e={context:t,observedBits:e,next:null},null===Wi){if(null===Xi)throw Error(a(308));Wi=e,Xi.dependencies={lanes:0,firstContext:e,responders:null}}else Wi=Wi.next=e;return t._currentValue}var io=!1;function oo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ao(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function so(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function uo(t,e){if(null!==(t=t.updateQueue)){var r=(t=t.shared).pending;null===r?e.next=e:(e.next=r.next,r.next=e),t.pending=e}}function co(t,e){var r=t.updateQueue,n=t.alternate;if(null!==n&&r===(n=n.updateQueue)){var i=null,o=null;if(null!==(r=r.firstBaseUpdate)){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===o?i=o=a:o=o.next=a,r=r.next}while(null!==r);null===o?i=o=e:o=o.next=e}else i=o=e;return r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},void(t.updateQueue=r)}null===(t=r.lastBaseUpdate)?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function ho(t,e,r,n){var o=t.updateQueue;io=!1;var a=o.firstBaseUpdate,s=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var c=u,h=c.next;c.next=null,null===s?a=h:s.next=h,s=c;var f=t.alternate;if(null!==f){var l=(f=f.updateQueue).lastBaseUpdate;l!==s&&(null===l?f.firstBaseUpdate=h:l.next=h,f.lastBaseUpdate=c)}}if(null!==a){for(l=o.baseState,s=0,f=h=c=null;;){u=a.lane;var A=a.eventTime;if((n&u)===u){null!==f&&(f=f.next={eventTime:A,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});t:{var p=t,d=a;switch(u=e,A=r,d.tag){case 1:if("function"===typeof(p=d.payload)){l=p.call(A,l,u);break t}l=p;break t;case 3:p.flags=-4097&p.flags|64;case 0:if(null===(u="function"===typeof(p=d.payload)?p.call(A,l,u):p)||void 0===u)break t;l=i({},l,u);break t;case 2:io=!0}}null!==a.callback&&(t.flags|=32,null===(u=o.effects)?o.effects=[a]:u.push(a))}else A={eventTime:A,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(h=f=A,c=l):f=f.next=A,s|=u;if(null===(a=a.next)){if(null===(u=o.shared.pending))break;a=u.next,u.next=null,o.lastBaseUpdate=u,o.shared.pending=null}}null===f&&(c=l),o.baseState=c,o.firstBaseUpdate=h,o.lastBaseUpdate=f,Fs|=s,t.lanes=s,t.memoizedState=l}}function fo(t,e,r){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var n=t[e],i=n.callback;if(null!==i){if(n.callback=null,n=r,"function"!==typeof i)throw Error(a(191,i));i.call(n)}}}var lo=(new n.Component).refs;function Ao(t,e,r,n){r=null===(r=r(n,e=t.memoizedState))||void 0===r?e:i({},e,r),t.memoizedState=r,0===t.lanes&&(t.updateQueue.baseState=r)}var po={isMounted:function(t){return!!(t=t._reactInternals)&&Xt(t)===t},enqueueSetState:function(t,e,r){t=t._reactInternals;var n=cu(),i=hu(t),o=so(n,i);o.payload=e,void 0!==r&&null!==r&&(o.callback=r),uo(t,o),fu(t,i,n)},enqueueReplaceState:function(t,e,r){t=t._reactInternals;var n=cu(),i=hu(t),o=so(n,i);o.tag=1,o.payload=e,void 0!==r&&null!==r&&(o.callback=r),uo(t,o),fu(t,i,n)},enqueueForceUpdate:function(t,e){t=t._reactInternals;var r=cu(),n=hu(t),i=so(r,n);i.tag=2,void 0!==e&&null!==e&&(i.callback=e),uo(t,i),fu(t,n,r)}};function go(t,e,r,n,i,o,a){return"function"===typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(n,o,a):!e.prototype||!e.prototype.isPureReactComponent||(!cn(r,n)||!cn(i,o))}function yo(t,e,r){var n=!1,i=ci,o=e.contextType;return"object"===typeof o&&null!==o?o=no(o):(i=pi(e)?li:hi.current,o=(n=null!==(n=e.contextTypes)&&void 0!==n)?Ai(t,i):ci),e=new e(r,o),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=po,t.stateNode=e,e._reactInternals=t,n&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function mo(t,e,r,n){t=e.state,"function"===typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(r,n),"function"===typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(r,n),e.state!==t&&po.enqueueReplaceState(e,e.state,null)}function vo(t,e,r,n){var i=t.stateNode;i.props=r,i.state=t.memoizedState,i.refs=lo,oo(t);var o=e.contextType;"object"===typeof o&&null!==o?i.context=no(o):(o=pi(e)?li:hi.current,i.context=Ai(t,o)),ho(t,r,i,n),i.state=t.memoizedState,"function"===typeof(o=e.getDerivedStateFromProps)&&(Ao(t,e,o,r),i.state=t.memoizedState),"function"===typeof e.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(e=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&po.enqueueReplaceState(i,i.state,null),ho(t,r,i,n),i.state=t.memoizedState),"function"===typeof i.componentDidMount&&(t.flags|=4)}var bo=Array.isArray;function wo(t,e,r){if(null!==(t=r.ref)&&"function"!==typeof t&&"object"!==typeof t){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,t));var i=""+t;return null!==e&&null!==e.ref&&"function"===typeof e.ref&&e.ref._stringRef===i?e.ref:((e=function(t){var e=n.refs;e===lo&&(e=n.refs={}),null===t?delete e[i]:e[i]=t})._stringRef=i,e)}if("string"!==typeof t)throw Error(a(284));if(!r._owner)throw Error(a(290,t))}return t}function Io(t,e){if("textarea"!==t.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e))}function Eo(t){function e(e,r){if(t){var n=e.lastEffect;null!==n?(n.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r,r.nextEffect=null,r.flags=8}}function r(r,n){if(!t)return null;for(;null!==n;)e(r,n),n=n.sibling;return null}function n(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return(t=ju(t,e)).index=0,t.sibling=null,t}function o(e,r,n){return e.index=n,t?null!==(n=e.alternate)?(n=n.index)<r?(e.flags=2,r):n:(e.flags=2,r):r}function s(e){return t&&null===e.alternate&&(e.flags=2),e}function u(t,e,r,n){return null===e||6!==e.tag?((e=Ju(r,t.mode,n)).return=t,e):((e=i(e,r)).return=t,e)}function c(t,e,r,n){return null!==e&&e.elementType===r.type?((n=i(e,r.props)).ref=wo(t,e,r),n.return=t,n):((n=Yu(r.type,r.key,r.props,null,t.mode,n)).ref=wo(t,e,r),n.return=t,n)}function h(t,e,r,n){return null===e||4!==e.tag||e.stateNode.containerInfo!==r.containerInfo||e.stateNode.implementation!==r.implementation?((e=Vu(r,t.mode,n)).return=t,e):((e=i(e,r.children||[])).return=t,e)}function f(t,e,r,n,o){return null===e||7!==e.tag?((e=Ku(r,t.mode,n,o)).return=t,e):((e=i(e,r)).return=t,e)}function l(t,e,r){if("string"===typeof e||"number"===typeof e)return(e=Ju(""+e,t.mode,r)).return=t,e;if("object"===typeof e&&null!==e){switch(e.$$typeof){case I:return(r=Yu(e.type,e.key,e.props,null,t.mode,r)).ref=wo(t,null,e),r.return=t,r;case E:return(e=Vu(e,t.mode,r)).return=t,e}if(bo(e)||H(e))return(e=Ku(e,t.mode,r,null)).return=t,e;Io(t,e)}return null}function A(t,e,r,n){var i=null!==e?e.key:null;if("string"===typeof r||"number"===typeof r)return null!==i?null:u(t,e,""+r,n);if("object"===typeof r&&null!==r){switch(r.$$typeof){case I:return r.key===i?r.type===_?f(t,e,r.props.children,n,i):c(t,e,r,n):null;case E:return r.key===i?h(t,e,r,n):null}if(bo(r)||H(r))return null!==i?null:f(t,e,r,n,null);Io(t,r)}return null}function p(t,e,r,n,i){if("string"===typeof n||"number"===typeof n)return u(e,t=t.get(r)||null,""+n,i);if("object"===typeof n&&null!==n){switch(n.$$typeof){case I:return t=t.get(null===n.key?r:n.key)||null,n.type===_?f(e,t,n.props.children,i,n.key):c(e,t,n,i);case E:return h(e,t=t.get(null===n.key?r:n.key)||null,n,i)}if(bo(n)||H(n))return f(e,t=t.get(r)||null,n,i,null);Io(e,n)}return null}function d(i,a,s,u){for(var c=null,h=null,f=a,d=a=0,g=null;null!==f&&d<s.length;d++){f.index>d?(g=f,f=null):g=f.sibling;var y=A(i,f,s[d],u);if(null===y){null===f&&(f=g);break}t&&f&&null===y.alternate&&e(i,f),a=o(y,a,d),null===h?c=y:h.sibling=y,h=y,f=g}if(d===s.length)return r(i,f),c;if(null===f){for(;d<s.length;d++)null!==(f=l(i,s[d],u))&&(a=o(f,a,d),null===h?c=f:h.sibling=f,h=f);return c}for(f=n(i,f);d<s.length;d++)null!==(g=p(f,i,d,s[d],u))&&(t&&null!==g.alternate&&f.delete(null===g.key?d:g.key),a=o(g,a,d),null===h?c=g:h.sibling=g,h=g);return t&&f.forEach((function(t){return e(i,t)})),c}function g(i,s,u,c){var h=H(u);if("function"!==typeof h)throw Error(a(150));if(null==(u=h.call(u)))throw Error(a(151));for(var f=h=null,d=s,g=s=0,y=null,m=u.next();null!==d&&!m.done;g++,m=u.next()){d.index>g?(y=d,d=null):y=d.sibling;var v=A(i,d,m.value,c);if(null===v){null===d&&(d=y);break}t&&d&&null===v.alternate&&e(i,d),s=o(v,s,g),null===f?h=v:f.sibling=v,f=v,d=y}if(m.done)return r(i,d),h;if(null===d){for(;!m.done;g++,m=u.next())null!==(m=l(i,m.value,c))&&(s=o(m,s,g),null===f?h=m:f.sibling=m,f=m);return h}for(d=n(i,d);!m.done;g++,m=u.next())null!==(m=p(d,i,g,m.value,c))&&(t&&null!==m.alternate&&d.delete(null===m.key?g:m.key),s=o(m,s,g),null===f?h=m:f.sibling=m,f=m);return t&&d.forEach((function(t){return e(i,t)})),h}return function(t,n,o,u){var c="object"===typeof o&&null!==o&&o.type===_&&null===o.key;c&&(o=o.props.children);var h="object"===typeof o&&null!==o;if(h)switch(o.$$typeof){case I:t:{for(h=o.key,c=n;null!==c;){if(c.key===h){switch(c.tag){case 7:if(o.type===_){r(t,c.sibling),(n=i(c,o.props.children)).return=t,t=n;break t}break;default:if(c.elementType===o.type){r(t,c.sibling),(n=i(c,o.props)).ref=wo(t,c,o),n.return=t,t=n;break t}}r(t,c);break}e(t,c),c=c.sibling}o.type===_?((n=Ku(o.props.children,t.mode,u,o.key)).return=t,t=n):((u=Yu(o.type,o.key,o.props,null,t.mode,u)).ref=wo(t,n,o),u.return=t,t=u)}return s(t);case E:t:{for(c=o.key;null!==n;){if(n.key===c){if(4===n.tag&&n.stateNode.containerInfo===o.containerInfo&&n.stateNode.implementation===o.implementation){r(t,n.sibling),(n=i(n,o.children||[])).return=t,t=n;break t}r(t,n);break}e(t,n),n=n.sibling}(n=Vu(o,t.mode,u)).return=t,t=n}return s(t)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==n&&6===n.tag?(r(t,n.sibling),(n=i(n,o)).return=t,t=n):(r(t,n),(n=Ju(o,t.mode,u)).return=t,t=n),s(t);if(bo(o))return d(t,n,o,u);if(H(o))return g(t,n,o,u);if(h&&Io(t,o),"undefined"===typeof o&&!c)switch(t.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,J(t.type)||"Component"))}return r(t,n)}}var _o=Eo(!0),Bo=Eo(!1),Co={},Qo=ai(Co),Mo=ai(Co),ko=ai(Co);function So(t){if(t===Co)throw Error(a(174));return t}function xo(t,e){switch(ui(ko,e),ui(Mo,t),ui(Qo,Co),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:pt(null,"");break;default:e=pt(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}si(Qo),ui(Qo,e)}function Do(){si(Qo),si(Mo),si(ko)}function Ro(t){So(ko.current);var e=So(Qo.current),r=pt(e,t.type);e!==r&&(ui(Mo,t),ui(Qo,r))}function No(t){Mo.current===t&&(si(Qo),si(Mo))}var Po=ai(0);function To(t){for(var e=t;null!==e;){if(13===e.tag){var r=e.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.flags))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Oo=null,Fo=null,Uo=!1;function Lo(t,e){var r=Gu(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=e,r.return=t,r.flags=8,null!==t.lastEffect?(t.lastEffect.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r}function Go(t,e){switch(t.tag){case 5:var r=t.type;return null!==(e=1!==e.nodeType||r.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);case 13:default:return!1}}function Ho(t){if(Uo){var e=Fo;if(e){var r=e;if(!Go(t,e)){if(!(e=Kn(r.nextSibling))||!Go(t,e))return t.flags=-1025&t.flags|2,Uo=!1,void(Oo=t);Lo(Oo,r)}Oo=t,Fo=Kn(e.firstChild)}else t.flags=-1025&t.flags|2,Uo=!1,Oo=t}}function jo(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;Oo=t}function Yo(t){if(t!==Oo)return!1;if(!Uo)return jo(t),Uo=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!Gn(e,t.memoizedProps))for(e=Fo;e;)Lo(t,e),e=Kn(e.nextSibling);if(jo(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(a(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var r=t.data;if("/$"===r){if(0===e){Fo=Kn(t.nextSibling);break t}e--}else"$"!==r&&"$!"!==r&&"$?"!==r||e++}t=t.nextSibling}Fo=null}}else Fo=Oo?Kn(t.stateNode.nextSibling):null;return!0}function Ko(){Fo=Oo=null,Uo=!1}var qo=[];function Jo(){for(var t=0;t<qo.length;t++)qo[t]._workInProgressVersionPrimary=null;qo.length=0}var Vo=w.ReactCurrentDispatcher,zo=w.ReactCurrentBatchConfig,Xo=0,Wo=null,Zo=null,$o=null,ta=!1,ea=!1;function ra(){throw Error(a(321))}function na(t,e){if(null===e)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!sn(t[r],e[r]))return!1;return!0}function ia(t,e,r,n,i,o){if(Xo=o,Wo=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Vo.current=null===t||null===t.memoizedState?Sa:xa,t=r(n,i),ea){o=0;do{if(ea=!1,!(25>o))throw Error(a(301));o+=1,$o=Zo=null,e.updateQueue=null,Vo.current=Da,t=r(n,i)}while(ea)}if(Vo.current=ka,e=null!==Zo&&null!==Zo.next,Xo=0,$o=Zo=Wo=null,ta=!1,e)throw Error(a(300));return t}function oa(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===$o?Wo.memoizedState=$o=t:$o=$o.next=t,$o}function aa(){if(null===Zo){var t=Wo.alternate;t=null!==t?t.memoizedState:null}else t=Zo.next;var e=null===$o?Wo.memoizedState:$o.next;if(null!==e)$o=e,Zo=t;else{if(null===t)throw Error(a(310));t={memoizedState:(Zo=t).memoizedState,baseState:Zo.baseState,baseQueue:Zo.baseQueue,queue:Zo.queue,next:null},null===$o?Wo.memoizedState=$o=t:$o=$o.next=t}return $o}function sa(t,e){return"function"===typeof e?e(t):e}function ua(t){var e=aa(),r=e.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=t;var n=Zo,i=n.baseQueue,o=r.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}n.baseQueue=i=o,r.pending=null}if(null!==i){i=i.next,n=n.baseState;var u=s=o=null,c=i;do{var h=c.lane;if((Xo&h)===h)null!==u&&(u=u.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),n=c.eagerReducer===t?c.eagerState:t(n,c.action);else{var f={lane:h,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(s=u=f,o=n):u=u.next=f,Wo.lanes|=h,Fs|=h}c=c.next}while(null!==c&&c!==i);null===u?o=n:u.next=s,sn(n,e.memoizedState)||(Na=!0),e.memoizedState=n,e.baseState=o,e.baseQueue=u,r.lastRenderedState=n}return[e.memoizedState,r.dispatch]}function ca(t){var e=aa(),r=e.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=t;var n=r.dispatch,i=r.pending,o=e.memoizedState;if(null!==i){r.pending=null;var s=i=i.next;do{o=t(o,s.action),s=s.next}while(s!==i);sn(o,e.memoizedState)||(Na=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),r.lastRenderedState=o}return[o,n]}function ha(t,e,r){var n=e._getVersion;n=n(e._source);var i=e._workInProgressVersionPrimary;if(null!==i?t=i===n:(t=t.mutableReadLanes,(t=(Xo&t)===t)&&(e._workInProgressVersionPrimary=n,qo.push(e))),t)return r(e._source);throw qo.push(e),Error(a(350))}function fa(t,e,r,n){var i=Ss;if(null===i)throw Error(a(349));var o=e._getVersion,s=o(e._source),u=Vo.current,c=u.useState((function(){return ha(i,e,r)})),h=c[1],f=c[0];c=$o;var l=t.memoizedState,A=l.refs,p=A.getSnapshot,d=l.source;l=l.subscribe;var g=Wo;return t.memoizedState={refs:A,source:e,subscribe:n},u.useEffect((function(){A.getSnapshot=r,A.setSnapshot=h;var t=o(e._source);if(!sn(s,t)){t=r(e._source),sn(f,t)||(h(t),t=hu(g),i.mutableReadLanes|=t&i.pendingLanes),t=i.mutableReadLanes,i.entangledLanes|=t;for(var n=i.entanglements,a=t;0<a;){var u=31-Ye(a),c=1<<u;n[u]|=t,a&=~c}}}),[r,e,n]),u.useEffect((function(){return n(e._source,(function(){var t=A.getSnapshot,r=A.setSnapshot;try{r(t(e._source));var n=hu(g);i.mutableReadLanes|=n&i.pendingLanes}catch(o){r((function(){throw o}))}}))}),[e,n]),sn(p,r)&&sn(d,e)&&sn(l,n)||((t={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:f}).dispatch=h=Ma.bind(null,Wo,t),c.queue=t,c.baseQueue=null,f=ha(i,e,r),c.memoizedState=c.baseState=f),f}function la(t,e,r){return fa(aa(),t,e,r)}function Aa(t){var e=oa();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:sa,lastRenderedState:t}).dispatch=Ma.bind(null,Wo,t),[e.memoizedState,t]}function pa(t,e,r,n){return t={tag:t,create:e,destroy:r,deps:n,next:null},null===(e=Wo.updateQueue)?(e={lastEffect:null},Wo.updateQueue=e,e.lastEffect=t.next=t):null===(r=e.lastEffect)?e.lastEffect=t.next=t:(n=r.next,r.next=t,t.next=n,e.lastEffect=t),t}function da(t){return t={current:t},oa().memoizedState=t}function ga(){return aa().memoizedState}function ya(t,e,r,n){var i=oa();Wo.flags|=t,i.memoizedState=pa(1|e,r,void 0,void 0===n?null:n)}function ma(t,e,r,n){var i=aa();n=void 0===n?null:n;var o=void 0;if(null!==Zo){var a=Zo.memoizedState;if(o=a.destroy,null!==n&&na(n,a.deps))return void pa(e,r,o,n)}Wo.flags|=t,i.memoizedState=pa(1|e,r,o,n)}function va(t,e){return ya(516,4,t,e)}function ba(t,e){return ma(516,4,t,e)}function wa(t,e){return ma(4,2,t,e)}function Ia(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function Ea(t,e,r){return r=null!==r&&void 0!==r?r.concat([t]):null,ma(4,2,Ia.bind(null,e,t),r)}function _a(){}function Ba(t,e){var r=aa();e=void 0===e?null:e;var n=r.memoizedState;return null!==n&&null!==e&&na(e,n[1])?n[0]:(r.memoizedState=[t,e],t)}function Ca(t,e){var r=aa();e=void 0===e?null:e;var n=r.memoizedState;return null!==n&&null!==e&&na(e,n[1])?n[0]:(t=t(),r.memoizedState=[t,e],t)}function Qa(t,e){var r=Gi();ji(98>r?98:r,(function(){t(!0)})),ji(97<r?97:r,(function(){var r=zo.transition;zo.transition=1;try{t(!1),e()}finally{zo.transition=r}}))}function Ma(t,e,r){var n=cu(),i=hu(t),o={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},a=e.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),e.pending=o,a=t.alternate,t===Wo||null!==a&&a===Wo)ea=ta=!0;else{if(0===t.lanes&&(null===a||0===a.lanes)&&null!==(a=e.lastRenderedReducer))try{var s=e.lastRenderedState,u=a(s,r);if(o.eagerReducer=a,o.eagerState=u,sn(u,s))return}catch(c){}fu(t,i,n)}}var ka={readContext:no,useCallback:ra,useContext:ra,useEffect:ra,useImperativeHandle:ra,useLayoutEffect:ra,useMemo:ra,useReducer:ra,useRef:ra,useState:ra,useDebugValue:ra,useDeferredValue:ra,useTransition:ra,useMutableSource:ra,useOpaqueIdentifier:ra,unstable_isNewReconciler:!1},Sa={readContext:no,useCallback:function(t,e){return oa().memoizedState=[t,void 0===e?null:e],t},useContext:no,useEffect:va,useImperativeHandle:function(t,e,r){return r=null!==r&&void 0!==r?r.concat([t]):null,ya(4,2,Ia.bind(null,e,t),r)},useLayoutEffect:function(t,e){return ya(4,2,t,e)},useMemo:function(t,e){var r=oa();return e=void 0===e?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var n=oa();return e=void 0!==r?r(e):e,n.memoizedState=n.baseState=e,t=(t=n.queue={pending:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=Ma.bind(null,Wo,t),[n.memoizedState,t]},useRef:da,useState:Aa,useDebugValue:_a,useDeferredValue:function(t){var e=Aa(t),r=e[0],n=e[1];return va((function(){var e=zo.transition;zo.transition=1;try{n(t)}finally{zo.transition=e}}),[t]),r},useTransition:function(){var t=Aa(!1),e=t[0];return da(t=Qa.bind(null,t[1])),[t,e]},useMutableSource:function(t,e,r){var n=oa();return n.memoizedState={refs:{getSnapshot:e,setSnapshot:null},source:t,subscribe:r},fa(n,t,e,r)},useOpaqueIdentifier:function(){if(Uo){var t=!1,e=function(t){return{$$typeof:P,toString:t,valueOf:t}}((function(){throw t||(t=!0,r("r:"+(Jn++).toString(36))),Error(a(355))})),r=Aa(e)[1];return 0===(2&Wo.mode)&&(Wo.flags|=516,pa(5,(function(){r("r:"+(Jn++).toString(36))}),void 0,null)),e}return Aa(e="r:"+(Jn++).toString(36)),e},unstable_isNewReconciler:!1},xa={readContext:no,useCallback:Ba,useContext:no,useEffect:ba,useImperativeHandle:Ea,useLayoutEffect:wa,useMemo:Ca,useReducer:ua,useRef:ga,useState:function(){return ua(sa)},useDebugValue:_a,useDeferredValue:function(t){var e=ua(sa),r=e[0],n=e[1];return ba((function(){var e=zo.transition;zo.transition=1;try{n(t)}finally{zo.transition=e}}),[t]),r},useTransition:function(){var t=ua(sa)[0];return[ga().current,t]},useMutableSource:la,useOpaqueIdentifier:function(){return ua(sa)[0]},unstable_isNewReconciler:!1},Da={readContext:no,useCallback:Ba,useContext:no,useEffect:ba,useImperativeHandle:Ea,useLayoutEffect:wa,useMemo:Ca,useReducer:ca,useRef:ga,useState:function(){return ca(sa)},useDebugValue:_a,useDeferredValue:function(t){var e=ca(sa),r=e[0],n=e[1];return ba((function(){var e=zo.transition;zo.transition=1;try{n(t)}finally{zo.transition=e}}),[t]),r},useTransition:function(){var t=ca(sa)[0];return[ga().current,t]},useMutableSource:la,useOpaqueIdentifier:function(){return ca(sa)[0]},unstable_isNewReconciler:!1},Ra=w.ReactCurrentOwner,Na=!1;function Pa(t,e,r,n){e.child=null===t?Bo(e,null,r,n):_o(e,t.child,r,n)}function Ta(t,e,r,n,i){r=r.render;var o=e.ref;return ro(e,i),n=ia(t,e,r,n,o,i),null===t||Na?(e.flags|=1,Pa(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.flags&=-517,t.lanes&=~i,rs(t,e,i))}function Oa(t,e,r,n,i,o){if(null===t){var a=r.type;return"function"!==typeof a||Hu(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((t=Yu(r.type,null,n,e,e.mode,o)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,Fa(t,e,a,n,i,o))}return a=t.child,0===(i&o)&&(i=a.memoizedProps,(r=null!==(r=r.compare)?r:cn)(i,n)&&t.ref===e.ref)?rs(t,e,o):(e.flags|=1,(t=ju(a,n)).ref=e.ref,t.return=e,e.child=t)}function Fa(t,e,r,n,i,o){if(null!==t&&cn(t.memoizedProps,n)&&t.ref===e.ref){if(Na=!1,0===(o&i))return e.lanes=t.lanes,rs(t,e,o);0!==(16384&t.flags)&&(Na=!0)}return Ga(t,e,r,n,o)}function Ua(t,e,r){var n=e.pendingProps,i=n.children,o=null!==t?t.memoizedState:null;if("hidden"===n.mode||"unstable-defer-without-hiding"===n.mode)if(0===(4&e.mode))e.memoizedState={baseLanes:0},vu(e,r);else{if(0===(1073741824&r))return t=null!==o?o.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t},vu(e,t),null;e.memoizedState={baseLanes:0},vu(e,null!==o?o.baseLanes:r)}else null!==o?(n=o.baseLanes|r,e.memoizedState=null):n=r,vu(e,n);return Pa(t,e,i,r),e.child}function La(t,e){var r=e.ref;(null===t&&null!==r||null!==t&&t.ref!==r)&&(e.flags|=128)}function Ga(t,e,r,n,i){var o=pi(r)?li:hi.current;return o=Ai(e,o),ro(e,i),r=ia(t,e,r,n,o,i),null===t||Na?(e.flags|=1,Pa(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.flags&=-517,t.lanes&=~i,rs(t,e,i))}function Ha(t,e,r,n,i){if(pi(r)){var o=!0;mi(e)}else o=!1;if(ro(e,i),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),yo(e,r,n),vo(e,r,n,i),n=!0;else if(null===t){var a=e.stateNode,s=e.memoizedProps;a.props=s;var u=a.context,c=r.contextType;"object"===typeof c&&null!==c?c=no(c):c=Ai(e,c=pi(r)?li:hi.current);var h=r.getDerivedStateFromProps,f="function"===typeof h||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==n||u!==c)&&mo(e,a,n,c),io=!1;var l=e.memoizedState;a.state=l,ho(e,n,a,i),u=e.memoizedState,s!==n||l!==u||fi.current||io?("function"===typeof h&&(Ao(e,r,h,n),u=e.memoizedState),(s=io||go(e,r,s,n,l,u,c))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(e.flags|=4)):("function"===typeof a.componentDidMount&&(e.flags|=4),e.memoizedProps=n,e.memoizedState=u),a.props=n,a.state=u,a.context=c,n=s):("function"===typeof a.componentDidMount&&(e.flags|=4),n=!1)}else{a=e.stateNode,ao(t,e),s=e.memoizedProps,c=e.type===e.elementType?s:Vi(e.type,s),a.props=c,f=e.pendingProps,l=a.context,"object"===typeof(u=r.contextType)&&null!==u?u=no(u):u=Ai(e,u=pi(r)?li:hi.current);var A=r.getDerivedStateFromProps;(h="function"===typeof A||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==f||l!==u)&&mo(e,a,n,u),io=!1,l=e.memoizedState,a.state=l,ho(e,n,a,i);var p=e.memoizedState;s!==f||l!==p||fi.current||io?("function"===typeof A&&(Ao(e,r,A,n),p=e.memoizedState),(c=io||go(e,r,c,n,l,p,u))?(h||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(n,p,u),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,p,u)),"function"===typeof a.componentDidUpdate&&(e.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(e.flags|=256)):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&l===t.memoizedState||(e.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&l===t.memoizedState||(e.flags|=256),e.memoizedProps=n,e.memoizedState=p),a.props=n,a.state=p,a.context=u,n=c):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&l===t.memoizedState||(e.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&l===t.memoizedState||(e.flags|=256),n=!1)}return ja(t,e,r,n,o,i)}function ja(t,e,r,n,i,o){La(t,e);var a=0!==(64&e.flags);if(!n&&!a)return i&&vi(e,r,!1),rs(t,e,o);n=e.stateNode,Ra.current=e;var s=a&&"function"!==typeof r.getDerivedStateFromError?null:n.render();return e.flags|=1,null!==t&&a?(e.child=_o(e,t.child,null,o),e.child=_o(e,null,s,o)):Pa(t,e,s,o),e.memoizedState=n.state,i&&vi(e,r,!0),e.child}function Ya(t){var e=t.stateNode;e.pendingContext?gi(0,e.pendingContext,e.pendingContext!==e.context):e.context&&gi(0,e.context,!1),xo(t,e.containerInfo)}var Ka,qa,Ja,Va={dehydrated:null,retryLane:0};function za(t,e,r){var n,i=e.pendingProps,o=Po.current,a=!1;return(n=0!==(64&e.flags))||(n=(null===t||null!==t.memoizedState)&&0!==(2&o)),n?(a=!0,e.flags&=-65):null!==t&&null===t.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),ui(Po,1&o),null===t?(void 0!==i.fallback&&Ho(e),t=i.children,o=i.fallback,a?(t=Xa(e,t,o,r),e.child.memoizedState={baseLanes:r},e.memoizedState=Va,t):"number"===typeof i.unstable_expectedLoadTime?(t=Xa(e,t,o,r),e.child.memoizedState={baseLanes:r},e.memoizedState=Va,e.lanes=33554432,t):((r=qu({mode:"visible",children:t},e.mode,r,null)).return=e,e.child=r)):(t.memoizedState,a?(i=Za(t,e,i.children,i.fallback,r),a=e.child,o=t.child.memoizedState,a.memoizedState=null===o?{baseLanes:r}:{baseLanes:o.baseLanes|r},a.childLanes=t.childLanes&~r,e.memoizedState=Va,i):(r=Wa(t,e,i.children,r),e.memoizedState=null,r))}function Xa(t,e,r,n){var i=t.mode,o=t.child;return e={mode:"hidden",children:e},0===(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=e):o=qu(e,i,0,null),r=Ku(r,i,n,null),o.return=t,r.return=t,o.sibling=r,t.child=o,r}function Wa(t,e,r,n){var i=t.child;return t=i.sibling,r=ju(i,{mode:"visible",children:r}),0===(2&e.mode)&&(r.lanes=n),r.return=e,r.sibling=null,null!==t&&(t.nextEffect=null,t.flags=8,e.firstEffect=e.lastEffect=t),e.child=r}function Za(t,e,r,n,i){var o=e.mode,a=t.child;t=a.sibling;var s={mode:"hidden",children:r};return 0===(2&o)&&e.child!==a?((r=e.child).childLanes=0,r.pendingProps=s,null!==(a=r.lastEffect)?(e.firstEffect=r.firstEffect,e.lastEffect=a,a.nextEffect=null):e.firstEffect=e.lastEffect=null):r=ju(a,s),null!==t?n=ju(t,n):(n=Ku(n,o,i,null)).flags|=2,n.return=e,r.return=e,r.sibling=n,e.child=r,n}function $a(t,e){t.lanes|=e;var r=t.alternate;null!==r&&(r.lanes|=e),eo(t.return,e)}function ts(t,e,r,n,i,o){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:o}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i,a.lastEffect=o)}function es(t,e,r){var n=e.pendingProps,i=n.revealOrder,o=n.tail;if(Pa(t,e,n.children,r),0!==(2&(n=Po.current)))n=1&n|2,e.flags|=64;else{if(null!==t&&0!==(64&t.flags))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&$a(t,r);else if(19===t.tag)$a(t,r);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}n&=1}if(ui(Po,n),0===(2&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(r=e.child,i=null;null!==r;)null!==(t=r.alternate)&&null===To(t)&&(i=r),r=r.sibling;null===(r=i)?(i=e.child,e.child=null):(i=r.sibling,r.sibling=null),ts(e,!1,i,r,o,e.lastEffect);break;case"backwards":for(r=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===To(t)){e.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}ts(e,!0,r,null,o,e.lastEffect);break;case"together":ts(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function rs(t,e,r){if(null!==t&&(e.dependencies=t.dependencies),Fs|=e.lanes,0!==(r&e.childLanes)){if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(r=ju(t=e.child,t.pendingProps),e.child=r,r.return=e;null!==t.sibling;)t=t.sibling,(r=r.sibling=ju(t,t.pendingProps)).return=e;r.sibling=null}return e.child}return null}function ns(t,e){if(!Uo)switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;null!==e;)null!==e.alternate&&(r=e),e=e.sibling;null===r?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?e||null===t.tail?t.tail=null:t.tail.sibling=null:n.sibling=null}}function is(t,e,r){var n=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return pi(e.type)&&di(),null;case 3:return Do(),si(fi),si(hi),Jo(),(n=e.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==t&&null!==t.child||(Yo(e)?e.flags|=4:n.hydrate||(e.flags|=256)),null;case 5:No(e);var o=So(ko.current);if(r=e.type,null!==t&&null!=e.stateNode)qa(t,e,r,n),t.ref!==e.ref&&(e.flags|=128);else{if(!n){if(null===e.stateNode)throw Error(a(166));return null}if(t=So(Qo.current),Yo(e)){n=e.stateNode,r=e.type;var s=e.memoizedProps;switch(n[zn]=e,n[Xn]=s,r){case"dialog":Qn("cancel",n),Qn("close",n);break;case"iframe":case"object":case"embed":Qn("load",n);break;case"video":case"audio":for(t=0;t<En.length;t++)Qn(En[t],n);break;case"source":Qn("error",n);break;case"img":case"image":case"link":Qn("error",n),Qn("load",n);break;case"details":Qn("toggle",n);break;case"input":tt(n,s),Qn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},Qn("invalid",n);break;case"textarea":ut(n,s),Qn("invalid",n)}for(var c in _t(r,s),t=null,s)s.hasOwnProperty(c)&&(o=s[c],"children"===c?"string"===typeof o?n.textContent!==o&&(t=["children",o]):"number"===typeof o&&n.textContent!==""+o&&(t=["children",""+o]):u.hasOwnProperty(c)&&null!=o&&"onScroll"===c&&Qn("scroll",n));switch(r){case"input":X(n),nt(n,s,!0);break;case"textarea":X(n),ht(n);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(n.onclick=On)}n=t,e.updateQueue=n,null!==n&&(e.flags|=4)}else{switch(c=9===o.nodeType?o:o.ownerDocument,t===ft&&(t=At(r)),t===ft?"script"===r?((t=c.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"===typeof n.is?t=c.createElement(r,{is:n.is}):(t=c.createElement(r),"select"===r&&(c=t,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):t=c.createElementNS(t,r),t[zn]=e,t[Xn]=n,Ka(t,e),e.stateNode=t,c=Bt(r,n),r){case"dialog":Qn("cancel",t),Qn("close",t),o=n;break;case"iframe":case"object":case"embed":Qn("load",t),o=n;break;case"video":case"audio":for(o=0;o<En.length;o++)Qn(En[o],t);o=n;break;case"source":Qn("error",t),o=n;break;case"img":case"image":case"link":Qn("error",t),Qn("load",t),o=n;break;case"details":Qn("toggle",t),o=n;break;case"input":tt(t,n),o=$(t,n),Qn("invalid",t);break;case"option":o=ot(t,n);break;case"select":t._wrapperState={wasMultiple:!!n.multiple},o=i({},n,{value:void 0}),Qn("invalid",t);break;case"textarea":ut(t,n),o=st(t,n),Qn("invalid",t);break;default:o=n}_t(r,o);var h=o;for(s in h)if(h.hasOwnProperty(s)){var f=h[s];"style"===s?It(t,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&yt(t,f):"children"===s?"string"===typeof f?("textarea"!==r||""!==f)&&mt(t,f):"number"===typeof f&&mt(t,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(u.hasOwnProperty(s)?null!=f&&"onScroll"===s&&Qn("scroll",t):null!=f&&b(t,s,f,c))}switch(r){case"input":X(t),nt(t,n,!1);break;case"textarea":X(t),ht(t);break;case"option":null!=n.value&&t.setAttribute("value",""+V(n.value));break;case"select":t.multiple=!!n.multiple,null!=(s=n.value)?at(t,!!n.multiple,s,!1):null!=n.defaultValue&&at(t,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof o.onClick&&(t.onclick=On)}Ln(r,n)&&(e.flags|=4)}null!==e.ref&&(e.flags|=128)}return null;case 6:if(t&&null!=e.stateNode)Ja(0,e,t.memoizedProps,n);else{if("string"!==typeof n&&null===e.stateNode)throw Error(a(166));r=So(ko.current),So(Qo.current),Yo(e)?(n=e.stateNode,r=e.memoizedProps,n[zn]=e,n.nodeValue!==r&&(e.flags|=4)):((n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[zn]=e,e.stateNode=n)}return null;case 13:return si(Po),n=e.memoizedState,0!==(64&e.flags)?(e.lanes=r,e):(n=null!==n,r=!1,null===t?void 0!==e.memoizedProps.fallback&&Yo(e):r=null!==t.memoizedState,n&&!r&&0!==(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!==(1&Po.current)?0===Ps&&(Ps=3):(0!==Ps&&3!==Ps||(Ps=4),null===Ss||0===(134217727&Fs)&&0===(134217727&Us)||du(Ss,Ds))),(n||r)&&(e.flags|=4),null);case 4:return Do(),null===t&&kn(e.stateNode.containerInfo),null;case 10:return to(e),null;case 17:return pi(e.type)&&di(),null;case 19:if(si(Po),null===(n=e.memoizedState))return null;if(s=0!==(64&e.flags),null===(c=n.rendering))if(s)ns(n,!1);else{if(0!==Ps||null!==t&&0!==(64&t.flags))for(t=e.child;null!==t;){if(null!==(c=To(t))){for(e.flags|=64,ns(n,!1),null!==(s=c.updateQueue)&&(e.updateQueue=s,e.flags|=4),null===n.lastEffect&&(e.firstEffect=null),e.lastEffect=n.lastEffect,n=r,r=e.child;null!==r;)t=n,(s=r).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=t,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,t=c.dependencies,s.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return ui(Po,1&Po.current|2),e.child}t=t.sibling}null!==n.tail&&Li()>js&&(e.flags|=64,s=!0,ns(n,!1),e.lanes=33554432)}else{if(!s)if(null!==(t=To(c))){if(e.flags|=64,s=!0,null!==(r=t.updateQueue)&&(e.updateQueue=r,e.flags|=4),ns(n,!0),null===n.tail&&"hidden"===n.tailMode&&!c.alternate&&!Uo)return null!==(e=e.lastEffect=n.lastEffect)&&(e.nextEffect=null),null}else 2*Li()-n.renderingStartTime>js&&1073741824!==r&&(e.flags|=64,s=!0,ns(n,!1),e.lanes=33554432);n.isBackwards?(c.sibling=e.child,e.child=c):(null!==(r=n.last)?r.sibling=c:e.child=c,n.last=c)}return null!==n.tail?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=e.lastEffect,n.renderingStartTime=Li(),r.sibling=null,e=Po.current,ui(Po,s?1&e|2:1&e),r):null;case 23:case 24:return bu(),null!==t&&null!==t.memoizedState!==(null!==e.memoizedState)&&"unstable-defer-without-hiding"!==n.mode&&(e.flags|=4),null}throw Error(a(156,e.tag))}function os(t){switch(t.tag){case 1:pi(t.type)&&di();var e=t.flags;return 4096&e?(t.flags=-4097&e|64,t):null;case 3:if(Do(),si(fi),si(hi),Jo(),0!==(64&(e=t.flags)))throw Error(a(285));return t.flags=-4097&e|64,t;case 5:return No(t),null;case 13:return si(Po),4096&(e=t.flags)?(t.flags=-4097&e|64,t):null;case 19:return si(Po),null;case 4:return Do(),null;case 10:return to(t),null;case 23:case 24:return bu(),null;default:return null}}function as(t,e){try{var r="",n=e;do{r+=q(n),n=n.return}while(n);var i=r}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:t,source:e,stack:i}}function ss(t,e){try{console.error(e.value)}catch(r){setTimeout((function(){throw r}))}}Ka=function(t,e){for(var r=e.child;null!==r;){if(5===r.tag||6===r.tag)t.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},qa=function(t,e,r,n){var o=t.memoizedProps;if(o!==n){t=e.stateNode,So(Qo.current);var a,s=null;switch(r){case"input":o=$(t,o),n=$(t,n),s=[];break;case"option":o=ot(t,o),n=ot(t,n),s=[];break;case"select":o=i({},o,{value:void 0}),n=i({},n,{value:void 0}),s=[];break;case"textarea":o=st(t,o),n=st(t,n),s=[];break;default:"function"!==typeof o.onClick&&"function"===typeof n.onClick&&(t.onclick=On)}for(f in _t(r,n),r=null,o)if(!n.hasOwnProperty(f)&&o.hasOwnProperty(f)&&null!=o[f])if("style"===f){var c=o[f];for(a in c)c.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(u.hasOwnProperty(f)?s||(s=[]):(s=s||[]).push(f,null));for(f in n){var h=n[f];if(c=null!=o?o[f]:void 0,n.hasOwnProperty(f)&&h!==c&&(null!=h||null!=c))if("style"===f)if(c){for(a in c)!c.hasOwnProperty(a)||h&&h.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in h)h.hasOwnProperty(a)&&c[a]!==h[a]&&(r||(r={}),r[a]=h[a])}else r||(s||(s=[]),s.push(f,r)),r=h;else"dangerouslySetInnerHTML"===f?(h=h?h.__html:void 0,c=c?c.__html:void 0,null!=h&&c!==h&&(s=s||[]).push(f,h)):"children"===f?"string"!==typeof h&&"number"!==typeof h||(s=s||[]).push(f,""+h):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(u.hasOwnProperty(f)?(null!=h&&"onScroll"===f&&Qn("scroll",t),s||c===h||(s=[])):"object"===typeof h&&null!==h&&h.$$typeof===P?h.toString():(s=s||[]).push(f,h))}r&&(s=s||[]).push("style",r);var f=s;(e.updateQueue=f)&&(e.flags|=4)}},Ja=function(t,e,r,n){r!==n&&(e.flags|=4)};var us="function"===typeof WeakMap?WeakMap:Map;function cs(t,e,r){(r=so(-1,r)).tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){Js||(Js=!0,Vs=n),ss(0,e)},r}function hs(t,e,r){(r=so(-1,r)).tag=3;var n=t.type.getDerivedStateFromError;if("function"===typeof n){var i=e.value;r.payload=function(){return ss(0,e),n(i)}}var o=t.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(r.callback=function(){"function"!==typeof n&&(null===zs?zs=new Set([this]):zs.add(this),ss(0,e));var t=e.stack;this.componentDidCatch(e.value,{componentStack:null!==t?t:""})}),r}var fs="function"===typeof WeakSet?WeakSet:Set;function ls(t){var e=t.ref;if(null!==e)if("function"===typeof e)try{e(null)}catch(r){Ou(t,r)}else e.current=null}function As(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&e.flags&&null!==t){var r=t.memoizedProps,n=t.memoizedState;e=(t=e.stateNode).getSnapshotBeforeUpdate(e.elementType===e.type?r:Vi(e.type,r),n),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:return void(256&e.flags&&Yn(e.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ps(t,e,r){switch(r.tag){case 0:case 11:case 15:case 22:if(null!==(e=null!==(e=r.updateQueue)?e.lastEffect:null)){t=e=e.next;do{if(3===(3&t.tag)){var n=t.create;t.destroy=n()}t=t.next}while(t!==e)}if(null!==(e=null!==(e=r.updateQueue)?e.lastEffect:null)){t=e=e.next;do{var i=t;n=i.next,0!==(4&(i=i.tag))&&0!==(1&i)&&(Nu(r,t),Ru(r,t)),t=n}while(t!==e)}return;case 1:return t=r.stateNode,4&r.flags&&(null===e?t.componentDidMount():(n=r.elementType===r.type?e.memoizedProps:Vi(r.type,e.memoizedProps),t.componentDidUpdate(n,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate))),void(null!==(e=r.updateQueue)&&fo(r,e,t));case 3:if(null!==(e=r.updateQueue)){if(t=null,null!==r.child)switch(r.child.tag){case 5:t=r.child.stateNode;break;case 1:t=r.child.stateNode}fo(r,e,t)}return;case 5:return t=r.stateNode,void(null===e&&4&r.flags&&Ln(r.type,r.memoizedProps)&&t.focus());case 6:case 4:case 12:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&Ie(r)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(a(163))}function ds(t,e){for(var r=t;;){if(5===r.tag){var n=r.stateNode;if(e)"function"===typeof(n=n.style).setProperty?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=void 0!==i&&null!==i&&i.hasOwnProperty("display")?i.display:null,n.style.display=wt("display",i)}}else if(6===r.tag)r.stateNode.nodeValue=e?"":r.memoizedProps;else if((23!==r.tag&&24!==r.tag||null===r.memoizedState||r===t)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function gs(t,e){if(wi&&"function"===typeof wi.onCommitFiberUnmount)try{wi.onCommitFiberUnmount(bi,e)}catch(o){}switch(e.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=e.updateQueue)&&null!==(t=t.lastEffect)){var r=t=t.next;do{var n=r,i=n.destroy;if(n=n.tag,void 0!==i)if(0!==(4&n))Nu(e,r);else{n=e;try{i()}catch(o){Ou(n,o)}}r=r.next}while(r!==t)}break;case 1:if(ls(e),"function"===typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(o){Ou(e,o)}break;case 5:ls(e);break;case 4:Is(t,e)}}function ys(t){t.alternate=null,t.child=null,t.dependencies=null,t.firstEffect=null,t.lastEffect=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.return=null,t.updateQueue=null}function ms(t){return 5===t.tag||3===t.tag||4===t.tag}function vs(t){t:{for(var e=t.return;null!==e;){if(ms(e))break t;e=e.return}throw Error(a(160))}var r=e;switch(e=r.stateNode,r.tag){case 5:var n=!1;break;case 3:case 4:e=e.containerInfo,n=!0;break;default:throw Error(a(161))}16&r.flags&&(mt(e,""),r.flags&=-17);t:e:for(r=t;;){for(;null===r.sibling;){if(null===r.return||ms(r.return)){r=null;break t}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.flags)continue e;if(null===r.child||4===r.tag)continue e;r.child.return=r,r=r.child}if(!(2&r.flags)){r=r.stateNode;break t}}n?bs(t,r,e):ws(t,r,e)}function bs(t,e,r){var n=t.tag,i=5===n||6===n;if(i)t=i?t.stateNode:t.stateNode.instance,e?8===r.nodeType?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(8===r.nodeType?(e=r.parentNode).insertBefore(t,r):(e=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==e.onclick||(e.onclick=On));else if(4!==n&&null!==(t=t.child))for(bs(t,e,r),t=t.sibling;null!==t;)bs(t,e,r),t=t.sibling}function ws(t,e,r){var n=t.tag,i=5===n||6===n;if(i)t=i?t.stateNode:t.stateNode.instance,e?r.insertBefore(t,e):r.appendChild(t);else if(4!==n&&null!==(t=t.child))for(ws(t,e,r),t=t.sibling;null!==t;)ws(t,e,r),t=t.sibling}function Is(t,e){for(var r,n,i=e,o=!1;;){if(!o){o=i.return;t:for(;;){if(null===o)throw Error(a(160));switch(r=o.stateNode,o.tag){case 5:n=!1;break t;case 3:case 4:r=r.containerInfo,n=!0;break t}o=o.return}o=!0}if(5===i.tag||6===i.tag){t:for(var s=t,u=i,c=u;;)if(gs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===u)break t;for(;null===c.sibling;){if(null===c.return||c.return===u)break t;c=c.return}c.sibling.return=c.return,c=c.sibling}n?(s=r,u=i.stateNode,8===s.nodeType?s.parentNode.removeChild(u):s.removeChild(u)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,n=!0,i.child.return=i,i=i.child;continue}}else if(gs(t,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function Es(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:var r=e.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var n=r=r.next;do{3===(3&n.tag)&&(t=n.destroy,n.destroy=void 0,void 0!==t&&t()),n=n.next}while(n!==r)}return;case 1:return;case 5:if(null!=(r=e.stateNode)){n=e.memoizedProps;var i=null!==t?t.memoizedProps:n;t=e.type;var o=e.updateQueue;if(e.updateQueue=null,null!==o){for(r[Xn]=n,"input"===t&&"radio"===n.type&&null!=n.name&&et(r,n),Bt(t,i),e=Bt(t,n),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?It(r,u):"dangerouslySetInnerHTML"===s?yt(r,u):"children"===s?mt(r,u):b(r,s,u,e)}switch(t){case"input":rt(r,n);break;case"textarea":ct(r,n);break;case"select":t=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,null!=(o=n.value)?at(r,!!n.multiple,o,!1):t!==!!n.multiple&&(null!=n.defaultValue?at(r,!!n.multiple,n.defaultValue,!0):at(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===e.stateNode)throw Error(a(162));return void(e.stateNode.nodeValue=e.memoizedProps);case 3:return void((r=e.stateNode).hydrate&&(r.hydrate=!1,Ie(r.containerInfo)));case 12:return;case 13:return null!==e.memoizedState&&(Hs=Li(),ds(e.child,!0)),void _s(e);case 19:return void _s(e);case 17:return;case 23:case 24:return void ds(e,null!==e.memoizedState)}throw Error(a(163))}function _s(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var r=t.stateNode;null===r&&(r=t.stateNode=new fs),e.forEach((function(e){var n=Uu.bind(null,t,e);r.has(e)||(r.add(e),e.then(n,n))}))}}function Bs(t,e){return null!==t&&(null===(t=t.memoizedState)||null!==t.dehydrated)&&(null!==(e=e.memoizedState)&&null===e.dehydrated)}var Cs=Math.ceil,Qs=w.ReactCurrentDispatcher,Ms=w.ReactCurrentOwner,ks=0,Ss=null,xs=null,Ds=0,Rs=0,Ns=ai(0),Ps=0,Ts=null,Os=0,Fs=0,Us=0,Ls=0,Gs=null,Hs=0,js=1/0;function Ys(){js=Li()+500}var Ks,qs=null,Js=!1,Vs=null,zs=null,Xs=!1,Ws=null,Zs=90,$s=[],tu=[],eu=null,ru=0,nu=null,iu=-1,ou=0,au=0,su=null,uu=!1;function cu(){return 0!==(48&ks)?Li():-1!==iu?iu:iu=Li()}function hu(t){if(0===(2&(t=t.mode)))return 1;if(0===(4&t))return 99===Gi()?1:2;if(0===ou&&(ou=Os),0!==Ji.transition){0!==au&&(au=null!==Gs?Gs.pendingLanes:0),t=ou;var e=4186112&~au;return 0===(e&=-e)&&(0===(e=(t=4186112&~t)&-t)&&(e=8192)),e}return t=Gi(),0!==(4&ks)&&98===t?t=Le(12,ou):t=Le(t=function(t){switch(t){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(t),ou),t}function fu(t,e,r){if(50<ru)throw ru=0,nu=null,Error(a(185));if(null===(t=lu(t,e)))return null;je(t,e,r),t===Ss&&(Us|=e,4===Ps&&du(t,Ds));var n=Gi();1===e?0!==(8&ks)&&0===(48&ks)?gu(t):(Au(t,r),0===ks&&(Ys(),Ki())):(0===(4&ks)||98!==n&&99!==n||(null===eu?eu=new Set([t]):eu.add(t)),Au(t,r)),Gs=t}function lu(t,e){t.lanes|=e;var r=t.alternate;for(null!==r&&(r.lanes|=e),r=t,t=t.return;null!==t;)t.childLanes|=e,null!==(r=t.alternate)&&(r.childLanes|=e),r=t,t=t.return;return 3===r.tag?r.stateNode:null}function Au(t,e){for(var r=t.callbackNode,n=t.suspendedLanes,i=t.pingedLanes,o=t.expirationTimes,s=t.pendingLanes;0<s;){var u=31-Ye(s),c=1<<u,h=o[u];if(-1===h){if(0===(c&n)||0!==(c&i)){h=e,Oe(c);var f=Te;o[u]=10<=f?h+250:6<=f?h+5e3:-1}}else h<=e&&(t.expiredLanes|=c);s&=~c}if(n=Fe(t,t===Ss?Ds:0),e=Te,0===n)null!==r&&(r!==Ni&&_i(r),t.callbackNode=null,t.callbackPriority=0);else{if(null!==r){if(t.callbackPriority===e)return;r!==Ni&&_i(r)}15===e?(r=gu.bind(null,t),null===Ti?(Ti=[r],Oi=Ei(ki,qi)):Ti.push(r),r=Ni):14===e?r=Yi(99,gu.bind(null,t)):r=Yi(r=function(t){switch(t){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,t))}}(e),pu.bind(null,t)),t.callbackPriority=e,t.callbackNode=r}}function pu(t){if(iu=-1,au=ou=0,0!==(48&ks))throw Error(a(327));var e=t.callbackNode;if(Du()&&t.callbackNode!==e)return null;var r=Fe(t,t===Ss?Ds:0);if(0===r)return null;var n=r,i=ks;ks|=16;var o=Eu();for(Ss===t&&Ds===n||(Ys(),wu(t,n));;)try{Cu();break}catch(u){Iu(t,u)}if($i(),Qs.current=o,ks=i,null!==xs?n=0:(Ss=null,Ds=0,n=Ps),0!==(Os&Us))wu(t,0);else if(0!==n){if(2===n&&(ks|=64,t.hydrate&&(t.hydrate=!1,Yn(t.containerInfo)),0!==(r=Ue(t))&&(n=_u(t,r))),1===n)throw e=Ts,wu(t,0),du(t,r),Au(t,Li()),e;switch(t.finishedWork=t.current.alternate,t.finishedLanes=r,n){case 0:case 1:throw Error(a(345));case 2:ku(t);break;case 3:if(du(t,r),(62914560&r)===r&&10<(n=Hs+500-Li())){if(0!==Fe(t,0))break;if(((i=t.suspendedLanes)&r)!==r){cu(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=Hn(ku.bind(null,t),n);break}ku(t);break;case 4:if(du(t,r),(4186112&r)===r)break;for(n=t.eventTimes,i=-1;0<r;){var s=31-Ye(r);o=1<<s,(s=n[s])>i&&(i=s),r&=~o}if(r=i,10<(r=(120>(r=Li()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cs(r/1960))-r)){t.timeoutHandle=Hn(ku.bind(null,t),r);break}ku(t);break;case 5:ku(t);break;default:throw Error(a(329))}}return Au(t,Li()),t.callbackNode===e?pu.bind(null,t):null}function du(t,e){for(e&=~Ls,e&=~Us,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-Ye(e),n=1<<r;t[r]=-1,e&=~n}}function gu(t){if(0!==(48&ks))throw Error(a(327));if(Du(),t===Ss&&0!==(t.expiredLanes&Ds)){var e=Ds,r=_u(t,e);0!==(Os&Us)&&(r=_u(t,e=Fe(t,e)))}else r=_u(t,e=Fe(t,0));if(0!==t.tag&&2===r&&(ks|=64,t.hydrate&&(t.hydrate=!1,Yn(t.containerInfo)),0!==(e=Ue(t))&&(r=_u(t,e))),1===r)throw r=Ts,wu(t,0),du(t,e),Au(t,Li()),r;return t.finishedWork=t.current.alternate,t.finishedLanes=e,ku(t),Au(t,Li()),null}function yu(t,e){var r=ks;ks|=1;try{return t(e)}finally{0===(ks=r)&&(Ys(),Ki())}}function mu(t,e){var r=ks;ks&=-2,ks|=8;try{return t(e)}finally{0===(ks=r)&&(Ys(),Ki())}}function vu(t,e){ui(Ns,Rs),Rs|=e,Os|=e}function bu(){Rs=Ns.current,si(Ns)}function wu(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(-1!==r&&(t.timeoutHandle=-1,jn(r)),null!==xs)for(r=xs.return;null!==r;){var n=r;switch(n.tag){case 1:null!==(n=n.type.childContextTypes)&&void 0!==n&&di();break;case 3:Do(),si(fi),si(hi),Jo();break;case 5:No(n);break;case 4:Do();break;case 13:case 19:si(Po);break;case 10:to(n);break;case 23:case 24:bu()}r=r.return}Ss=t,xs=ju(t.current,null),Ds=Rs=Os=e,Ps=0,Ts=null,Ls=Us=Fs=0}function Iu(t,e){for(;;){var r=xs;try{if($i(),Vo.current=ka,ta){for(var n=Wo.memoizedState;null!==n;){var i=n.queue;null!==i&&(i.pending=null),n=n.next}ta=!1}if(Xo=0,$o=Zo=Wo=null,ea=!1,Ms.current=null,null===r||null===r.return){Ps=1,Ts=e,xs=null;break}t:{var o=t,a=r.return,s=r,u=e;if(e=Ds,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u;if(0===(2&s.mode)){var h=s.alternate;h?(s.updateQueue=h.updateQueue,s.memoizedState=h.memoizedState,s.lanes=h.lanes):(s.updateQueue=null,s.memoizedState=null)}var f=0!==(1&Po.current),l=a;do{var A;if(A=13===l.tag){var p=l.memoizedState;if(null!==p)A=null!==p.dehydrated;else{var d=l.memoizedProps;A=void 0!==d.fallback&&(!0!==d.unstable_avoidThisFallback||!f)}}if(A){var g=l.updateQueue;if(null===g){var y=new Set;y.add(c),l.updateQueue=y}else g.add(c);if(0===(2&l.mode)){if(l.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var m=so(-1,1);m.tag=2,uo(s,m)}s.lanes|=1;break t}u=void 0,s=e;var v=o.pingCache;if(null===v?(v=o.pingCache=new us,u=new Set,v.set(c,u)):void 0===(u=v.get(c))&&(u=new Set,v.set(c,u)),!u.has(s)){u.add(s);var b=Fu.bind(null,o,c,s);c.then(b,b)}l.flags|=4096,l.lanes=e;break t}l=l.return}while(null!==l);u=Error((J(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ps&&(Ps=2),u=as(u,s),l=a;do{switch(l.tag){case 3:o=u,l.flags|=4096,e&=-e,l.lanes|=e,co(l,cs(0,o,e));break t;case 1:o=u;var w=l.type,I=l.stateNode;if(0===(64&l.flags)&&("function"===typeof w.getDerivedStateFromError||null!==I&&"function"===typeof I.componentDidCatch&&(null===zs||!zs.has(I)))){l.flags|=4096,e&=-e,l.lanes|=e,co(l,hs(l,o,e));break t}}l=l.return}while(null!==l)}Mu(r)}catch(E){e=E,xs===r&&null!==r&&(xs=r=r.return);continue}break}}function Eu(){var t=Qs.current;return Qs.current=ka,null===t?ka:t}function _u(t,e){var r=ks;ks|=16;var n=Eu();for(Ss===t&&Ds===e||wu(t,e);;)try{Bu();break}catch(i){Iu(t,i)}if($i(),ks=r,Qs.current=n,null!==xs)throw Error(a(261));return Ss=null,Ds=0,Ps}function Bu(){for(;null!==xs;)Qu(xs)}function Cu(){for(;null!==xs&&!Bi();)Qu(xs)}function Qu(t){var e=Ks(t.alternate,t,Rs);t.memoizedProps=t.pendingProps,null===e?Mu(t):xs=e,Ms.current=null}function Mu(t){var e=t;do{var r=e.alternate;if(t=e.return,0===(2048&e.flags)){if(null!==(r=is(r,e,Rs)))return void(xs=r);if(24!==(r=e).tag&&23!==r.tag||null===r.memoizedState||0!==(1073741824&Rs)||0===(4&r.mode)){for(var n=0,i=r.child;null!==i;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}null!==t&&0===(2048&t.flags)&&(null===t.firstEffect&&(t.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=e.firstEffect),t.lastEffect=e.lastEffect),1<e.flags&&(null!==t.lastEffect?t.lastEffect.nextEffect=e:t.firstEffect=e,t.lastEffect=e))}else{if(null!==(r=os(e)))return r.flags&=2047,void(xs=r);null!==t&&(t.firstEffect=t.lastEffect=null,t.flags|=2048)}if(null!==(e=e.sibling))return void(xs=e);xs=e=t}while(null!==e);0===Ps&&(Ps=5)}function ku(t){var e=Gi();return ji(99,Su.bind(null,t,e)),null}function Su(t,e){do{Du()}while(null!==Ws);if(0!==(48&ks))throw Error(a(327));var r=t.finishedWork;if(null===r)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(a(177));t.callbackNode=null;var n=r.lanes|r.childLanes,i=n,o=t.pendingLanes&~i;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=i,t.mutableReadLanes&=i,t.entangledLanes&=i,i=t.entanglements;for(var s=t.eventTimes,u=t.expirationTimes;0<o;){var c=31-Ye(o),h=1<<c;i[c]=0,s[c]=-1,u[c]=-1,o&=~h}if(null!==eu&&0===(24&n)&&eu.has(t)&&eu.delete(t),t===Ss&&(xs=Ss=null,Ds=0),1<r.flags?null!==r.lastEffect?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,null!==n){if(i=ks,ks|=32,Ms.current=null,Fn=ze,pn(s=An())){if("selectionStart"in s)u={start:s.selectionStart,end:s.selectionEnd};else t:if(u=(u=s.ownerDocument)&&u.defaultView||window,(h=u.getSelection&&u.getSelection())&&0!==h.rangeCount){u=h.anchorNode,o=h.anchorOffset,c=h.focusNode,h=h.focusOffset;try{u.nodeType,c.nodeType}catch(C){u=null;break t}var f=0,l=-1,A=-1,p=0,d=0,g=s,y=null;e:for(;;){for(var m;g!==u||0!==o&&3!==g.nodeType||(l=f+o),g!==c||0!==h&&3!==g.nodeType||(A=f+h),3===g.nodeType&&(f+=g.nodeValue.length),null!==(m=g.firstChild);)y=g,g=m;for(;;){if(g===s)break e;if(y===u&&++p===o&&(l=f),y===c&&++d===h&&(A=f),null!==(m=g.nextSibling))break;y=(g=y).parentNode}g=m}u=-1===l||-1===A?null:{start:l,end:A}}else u=null;u=u||{start:0,end:0}}else u=null;Un={focusedElem:s,selectionRange:u},ze=!1,su=null,uu=!1,qs=n;do{try{xu()}catch(C){if(null===qs)throw Error(a(330));Ou(qs,C),qs=qs.nextEffect}}while(null!==qs);su=null,qs=n;do{try{for(s=t;null!==qs;){var v=qs.flags;if(16&v&&mt(qs.stateNode,""),128&v){var b=qs.alternate;if(null!==b){var w=b.ref;null!==w&&("function"===typeof w?w(null):w.current=null)}}switch(1038&v){case 2:vs(qs),qs.flags&=-3;break;case 6:vs(qs),qs.flags&=-3,Es(qs.alternate,qs);break;case 1024:qs.flags&=-1025;break;case 1028:qs.flags&=-1025,Es(qs.alternate,qs);break;case 4:Es(qs.alternate,qs);break;case 8:Is(s,u=qs);var I=u.alternate;ys(u),null!==I&&ys(I)}qs=qs.nextEffect}}catch(C){if(null===qs)throw Error(a(330));Ou(qs,C),qs=qs.nextEffect}}while(null!==qs);if(w=Un,b=An(),v=w.focusedElem,s=w.selectionRange,b!==v&&v&&v.ownerDocument&&ln(v.ownerDocument.documentElement,v)){null!==s&&pn(v)&&(b=s.start,void 0===(w=s.end)&&(w=b),"selectionStart"in v?(v.selectionStart=b,v.selectionEnd=Math.min(w,v.value.length)):(w=(b=v.ownerDocument||document)&&b.defaultView||window).getSelection&&(w=w.getSelection(),u=v.textContent.length,I=Math.min(s.start,u),s=void 0===s.end?I:Math.min(s.end,u),!w.extend&&I>s&&(u=s,s=I,I=u),u=fn(v,I),o=fn(v,s),u&&o&&(1!==w.rangeCount||w.anchorNode!==u.node||w.anchorOffset!==u.offset||w.focusNode!==o.node||w.focusOffset!==o.offset)&&((b=b.createRange()).setStart(u.node,u.offset),w.removeAllRanges(),I>s?(w.addRange(b),w.extend(o.node,o.offset)):(b.setEnd(o.node,o.offset),w.addRange(b))))),b=[];for(w=v;w=w.parentNode;)1===w.nodeType&&b.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof v.focus&&v.focus(),v=0;v<b.length;v++)(w=b[v]).element.scrollLeft=w.left,w.element.scrollTop=w.top}ze=!!Fn,Un=Fn=null,t.current=r,qs=n;do{try{for(v=t;null!==qs;){var E=qs.flags;if(36&E&&ps(v,qs.alternate,qs),128&E){b=void 0;var _=qs.ref;if(null!==_){var B=qs.stateNode;switch(qs.tag){case 5:b=B;break;default:b=B}"function"===typeof _?_(b):_.current=b}}qs=qs.nextEffect}}catch(C){if(null===qs)throw Error(a(330));Ou(qs,C),qs=qs.nextEffect}}while(null!==qs);qs=null,Pi(),ks=i}else t.current=r;if(Xs)Xs=!1,Ws=t,Zs=e;else for(qs=n;null!==qs;)e=qs.nextEffect,qs.nextEffect=null,8&qs.flags&&((E=qs).sibling=null,E.stateNode=null),qs=e;if(0===(n=t.pendingLanes)&&(zs=null),1===n?t===nu?ru++:(ru=0,nu=t):ru=0,r=r.stateNode,wi&&"function"===typeof wi.onCommitFiberRoot)try{wi.onCommitFiberRoot(bi,r,void 0,64===(64&r.current.flags))}catch(C){}if(Au(t,Li()),Js)throw Js=!1,t=Vs,Vs=null,t;return 0!==(8&ks)||Ki(),null}function xu(){for(;null!==qs;){var t=qs.alternate;uu||null===su||(0!==(8&qs.flags)?te(qs,su)&&(uu=!0):13===qs.tag&&Bs(t,qs)&&te(qs,su)&&(uu=!0));var e=qs.flags;0!==(256&e)&&As(t,qs),0===(512&e)||Xs||(Xs=!0,Yi(97,(function(){return Du(),null}))),qs=qs.nextEffect}}function Du(){if(90!==Zs){var t=97<Zs?97:Zs;return Zs=90,ji(t,Pu)}return!1}function Ru(t,e){$s.push(e,t),Xs||(Xs=!0,Yi(97,(function(){return Du(),null})))}function Nu(t,e){tu.push(e,t),Xs||(Xs=!0,Yi(97,(function(){return Du(),null})))}function Pu(){if(null===Ws)return!1;var t=Ws;if(Ws=null,0!==(48&ks))throw Error(a(331));var e=ks;ks|=32;var r=tu;tu=[];for(var n=0;n<r.length;n+=2){var i=r[n],o=r[n+1],s=i.destroy;if(i.destroy=void 0,"function"===typeof s)try{s()}catch(c){if(null===o)throw Error(a(330));Ou(o,c)}}for(r=$s,$s=[],n=0;n<r.length;n+=2){i=r[n],o=r[n+1];try{var u=i.create;i.destroy=u()}catch(c){if(null===o)throw Error(a(330));Ou(o,c)}}for(u=t.current.firstEffect;null!==u;)t=u.nextEffect,u.nextEffect=null,8&u.flags&&(u.sibling=null,u.stateNode=null),u=t;return ks=e,Ki(),!0}function Tu(t,e,r){uo(t,e=cs(0,e=as(r,e),1)),e=cu(),null!==(t=lu(t,1))&&(je(t,1,e),Au(t,e))}function Ou(t,e){if(3===t.tag)Tu(t,t,e);else for(var r=t.return;null!==r;){if(3===r.tag){Tu(r,t,e);break}if(1===r.tag){var n=r.stateNode;if("function"===typeof r.type.getDerivedStateFromError||"function"===typeof n.componentDidCatch&&(null===zs||!zs.has(n))){var i=hs(r,t=as(e,t),1);if(uo(r,i),i=cu(),null!==(r=lu(r,1)))je(r,1,i),Au(r,i);else if("function"===typeof n.componentDidCatch&&(null===zs||!zs.has(n)))try{n.componentDidCatch(e,t)}catch(o){}break}}r=r.return}}function Fu(t,e,r){var n=t.pingCache;null!==n&&n.delete(e),e=cu(),t.pingedLanes|=t.suspendedLanes&r,Ss===t&&(Ds&r)===r&&(4===Ps||3===Ps&&(62914560&Ds)===Ds&&500>Li()-Hs?wu(t,0):Ls|=r),Au(t,e)}function Uu(t,e){var r=t.stateNode;null!==r&&r.delete(e),0===(e=0)&&(0===(2&(e=t.mode))?e=1:0===(4&e)?e=99===Gi()?1:2:(0===ou&&(ou=Os),0===(e=Ge(62914560&~ou))&&(e=4194304))),r=cu(),null!==(t=lu(t,e))&&(je(t,e,r),Au(t,r))}function Lu(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Gu(t,e,r,n){return new Lu(t,e,r,n)}function Hu(t){return!(!(t=t.prototype)||!t.isReactComponent)}function ju(t,e){var r=t.alternate;return null===r?((r=Gu(t.tag,e,t.key,t.mode)).elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function Yu(t,e,r,n,i,o){var s=2;if(n=t,"function"===typeof t)Hu(t)&&(s=1);else if("string"===typeof t)s=5;else t:switch(t){case _:return Ku(r.children,i,o,e);case T:s=8,i|=16;break;case B:s=8,i|=1;break;case C:return(t=Gu(12,r,e,8|i)).elementType=C,t.type=C,t.lanes=o,t;case S:return(t=Gu(13,r,e,i)).type=S,t.elementType=S,t.lanes=o,t;case x:return(t=Gu(19,r,e,i)).elementType=x,t.lanes=o,t;case O:return qu(r,i,o,e);case F:return(t=Gu(24,r,e,i)).elementType=F,t.lanes=o,t;default:if("object"===typeof t&&null!==t)switch(t.$$typeof){case Q:s=10;break t;case M:s=9;break t;case k:s=11;break t;case D:s=14;break t;case R:s=16,n=null;break t;case N:s=22;break t}throw Error(a(130,null==t?t:typeof t,""))}return(e=Gu(s,r,e,i)).elementType=t,e.type=n,e.lanes=o,e}function Ku(t,e,r,n){return(t=Gu(7,t,n,e)).lanes=r,t}function qu(t,e,r,n){return(t=Gu(23,t,n,e)).elementType=O,t.lanes=r,t}function Ju(t,e,r){return(t=Gu(6,t,null,e)).lanes=r,t}function Vu(t,e,r){return(e=Gu(4,null!==t.children?t.children:[],t.key,e)).lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function zu(t,e,r){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=He(0),this.expirationTimes=He(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=He(0),this.mutableSourceEagerHydrationData=null}function Xu(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==n?null:""+n,children:t,containerInfo:e,implementation:r}}function Wu(t,e,r,n){var i=e.current,o=cu(),s=hu(i);t:if(r){e:{if(Xt(r=r._reactInternals)!==r||1!==r.tag)throw Error(a(170));var u=r;do{switch(u.tag){case 3:u=u.stateNode.context;break e;case 1:if(pi(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break e}}u=u.return}while(null!==u);throw Error(a(171))}if(1===r.tag){var c=r.type;if(pi(c)){r=yi(r,c,u);break t}}r=u}else r=ci;return null===e.context?e.context=r:e.pendingContext=r,(e=so(o,s)).payload={element:t},null!==(n=void 0===n?null:n)&&(e.callback=n),uo(i,e),fu(i,s,o),s}function Zu(t){if(!(t=t.current).child)return null;switch(t.child.tag){case 5:default:return t.child.stateNode}}function $u(t,e){if(null!==(t=t.memoizedState)&&null!==t.dehydrated){var r=t.retryLane;t.retryLane=0!==r&&r<e?r:e}}function tc(t,e){$u(t,e),(t=t.alternate)&&$u(t,e)}function ec(t,e,r){var n=null!=r&&null!=r.hydrationOptions&&r.hydrationOptions.mutableSources||null;if(r=new zu(t,e,null!=r&&!0===r.hydrate),e=Gu(3,null,null,2===e?7:1===e?3:0),r.current=e,e.stateNode=r,oo(e),t[Wn]=r.current,kn(8===t.nodeType?t.parentNode:t),n)for(t=0;t<n.length;t++){var i=(e=n[t])._getVersion;i=i(e._source),null==r.mutableSourceEagerHydrationData?r.mutableSourceEagerHydrationData=[e,i]:r.mutableSourceEagerHydrationData.push(e,i)}this._internalRoot=r}function rc(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function nc(t,e,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var s=i;i=function(){var t=Zu(a);s.call(t)}}Wu(e,a,t,i)}else{if(o=r._reactRootContainer=function(t,e){if(e||(e=!(!(e=t?9===t.nodeType?t.documentElement:t.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))),!e)for(var r;r=t.lastChild;)t.removeChild(r);return new ec(t,0,e?{hydrate:!0}:void 0)}(r,n),a=o._internalRoot,"function"===typeof i){var u=i;i=function(){var t=Zu(a);u.call(t)}}mu((function(){Wu(e,a,t,i)}))}return Zu(a)}function ic(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!rc(e))throw Error(a(200));return Xu(t,e,null,r)}Ks=function(t,e,r){var n=e.lanes;if(null!==t)if(t.memoizedProps!==e.pendingProps||fi.current)Na=!0;else{if(0===(r&n)){switch(Na=!1,e.tag){case 3:Ya(e),Ko();break;case 5:Ro(e);break;case 1:pi(e.type)&&mi(e);break;case 4:xo(e,e.stateNode.containerInfo);break;case 10:n=e.memoizedProps.value;var i=e.type._context;ui(zi,i._currentValue),i._currentValue=n;break;case 13:if(null!==e.memoizedState)return 0!==(r&e.child.childLanes)?za(t,e,r):(ui(Po,1&Po.current),null!==(e=rs(t,e,r))?e.sibling:null);ui(Po,1&Po.current);break;case 19:if(n=0!==(r&e.childLanes),0!==(64&t.flags)){if(n)return es(t,e,r);e.flags|=64}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ui(Po,Po.current),n)break;return null;case 23:case 24:return e.lanes=0,Ua(t,e,r)}return rs(t,e,r)}Na=0!==(16384&t.flags)}else Na=!1;switch(e.lanes=0,e.tag){case 2:if(n=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,i=Ai(e,hi.current),ro(e,r),i=ia(null,e,n,t,i,r),e.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,pi(n)){var o=!0;mi(e)}else o=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,oo(e);var s=n.getDerivedStateFromProps;"function"===typeof s&&Ao(e,n,s,t),i.updater=po,e.stateNode=i,i._reactInternals=e,vo(e,n,t,r),e=ja(null,e,n,!0,o,r)}else e.tag=0,Pa(null,e,i,r),e=e.child;return e;case 16:i=e.elementType;t:{switch(null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,i=(o=i._init)(i._payload),e.type=i,o=e.tag=function(t){if("function"===typeof t)return Hu(t)?1:0;if(void 0!==t&&null!==t){if((t=t.$$typeof)===k)return 11;if(t===D)return 14}return 2}(i),t=Vi(i,t),o){case 0:e=Ga(null,e,i,t,r);break t;case 1:e=Ha(null,e,i,t,r);break t;case 11:e=Ta(null,e,i,t,r);break t;case 14:e=Oa(null,e,i,Vi(i.type,t),n,r);break t}throw Error(a(306,i,""))}return e;case 0:return n=e.type,i=e.pendingProps,Ga(t,e,n,i=e.elementType===n?i:Vi(n,i),r);case 1:return n=e.type,i=e.pendingProps,Ha(t,e,n,i=e.elementType===n?i:Vi(n,i),r);case 3:if(Ya(e),n=e.updateQueue,null===t||null===n)throw Error(a(282));if(n=e.pendingProps,i=null!==(i=e.memoizedState)?i.element:null,ao(t,e),ho(e,n,null,r),(n=e.memoizedState.element)===i)Ko(),e=rs(t,e,r);else{if((o=(i=e.stateNode).hydrate)&&(Fo=Kn(e.stateNode.containerInfo.firstChild),Oo=e,o=Uo=!0),o){if(null!=(t=i.mutableSourceEagerHydrationData))for(i=0;i<t.length;i+=2)(o=t[i])._workInProgressVersionPrimary=t[i+1],qo.push(o);for(r=Bo(e,null,n,r),e.child=r;r;)r.flags=-3&r.flags|1024,r=r.sibling}else Pa(t,e,n,r),Ko();e=e.child}return e;case 5:return Ro(e),null===t&&Ho(e),n=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,s=i.children,Gn(n,i)?s=null:null!==o&&Gn(n,o)&&(e.flags|=16),La(t,e),Pa(t,e,s,r),e.child;case 6:return null===t&&Ho(e),null;case 13:return za(t,e,r);case 4:return xo(e,e.stateNode.containerInfo),n=e.pendingProps,null===t?e.child=_o(e,null,n,r):Pa(t,e,n,r),e.child;case 11:return n=e.type,i=e.pendingProps,Ta(t,e,n,i=e.elementType===n?i:Vi(n,i),r);case 7:return Pa(t,e,e.pendingProps,r),e.child;case 8:case 12:return Pa(t,e,e.pendingProps.children,r),e.child;case 10:t:{n=e.type._context,i=e.pendingProps,s=e.memoizedProps,o=i.value;var u=e.type._context;if(ui(zi,u._currentValue),u._currentValue=o,null!==s)if(u=s.value,0===(o=sn(u,o)?0:0|("function"===typeof n._calculateChangedBits?n._calculateChangedBits(u,o):1073741823))){if(s.children===i.children&&!fi.current){e=rs(t,e,r);break t}}else for(null!==(u=e.child)&&(u.return=e);null!==u;){var c=u.dependencies;if(null!==c){s=u.child;for(var h=c.firstContext;null!==h;){if(h.context===n&&0!==(h.observedBits&o)){1===u.tag&&((h=so(-1,r&-r)).tag=2,uo(u,h)),u.lanes|=r,null!==(h=u.alternate)&&(h.lanes|=r),eo(u.return,r),c.lanes|=r;break}h=h.next}}else s=10===u.tag&&u.type===e.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===e){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}Pa(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,n=(o=e.pendingProps).children,ro(e,r),n=n(i=no(i,o.unstable_observedBits)),e.flags|=1,Pa(t,e,n,r),e.child;case 14:return o=Vi(i=e.type,e.pendingProps),Oa(t,e,i,o=Vi(i.type,o),n,r);case 15:return Fa(t,e,e.type,e.pendingProps,n,r);case 17:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Vi(n,i),null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),e.tag=1,pi(n)?(t=!0,mi(e)):t=!1,ro(e,r),yo(e,n,i),vo(e,n,i,r),ja(null,e,n,!0,t,r);case 19:return es(t,e,r);case 23:case 24:return Ua(t,e,r)}throw Error(a(156,e.tag))},ec.prototype.render=function(t){Wu(t,this._internalRoot,null,null)},ec.prototype.unmount=function(){var t=this._internalRoot,e=t.containerInfo;Wu(null,t,null,(function(){e[Wn]=null}))},ee=function(t){13===t.tag&&(fu(t,4,cu()),tc(t,4))},re=function(t){13===t.tag&&(fu(t,67108864,cu()),tc(t,67108864))},ne=function(t){if(13===t.tag){var e=cu(),r=hu(t);fu(t,r,e),tc(t,r)}},ie=function(t,e){return e()},Qt=function(t,e,r){switch(e){case"input":if(rt(t,r),e=r.name,"radio"===r.type&&null!=e){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var n=r[e];if(n!==t&&n.form===t.form){var i=ri(n);if(!i)throw Error(a(90));W(n),rt(n,i)}}}break;case"textarea":ct(t,r);break;case"select":null!=(e=r.value)&&at(t,!!r.multiple,e,!1)}},Rt=yu,Nt=function(t,e,r,n,i){var o=ks;ks|=4;try{return ji(98,t.bind(null,e,r,n,i))}finally{0===(ks=o)&&(Ys(),Ki())}},Pt=function(){0===(49&ks)&&(function(){if(null!==eu){var t=eu;eu=null,t.forEach((function(t){t.expiredLanes|=24&t.pendingLanes,Au(t,Li())}))}Ki()}(),Du())},Tt=function(t,e){var r=ks;ks|=2;try{return t(e)}finally{0===(ks=r)&&(Ys(),Ki())}};var oc={Events:[ti,ei,ri,xt,Dt,Du,{current:!1}]},ac={findFiberByHostInstance:$n,bundleType:0,version:"17.0.1",rendererPackageName:"react-dom"},sc={bundleType:ac.bundleType,version:ac.version,rendererPackageName:ac.rendererPackageName,rendererConfig:ac.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=$t(t))?null:t.stateNode},findFiberByHostInstance:ac.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var uc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!uc.isDisabled&&uc.supportsFiber)try{bi=uc.inject(sc),wi=uc}catch(gt){}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oc,e.createPortal=ic,e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternals;if(void 0===e){if("function"===typeof t.render)throw Error(a(188));throw Error(a(268,Object.keys(t)))}return t=null===(t=$t(e))?null:t.stateNode},e.flushSync=function(t,e){var r=ks;if(0!==(48&r))return t(e);ks|=1;try{if(t)return ji(99,t.bind(null,e))}finally{ks=r,Ki()}},e.hydrate=function(t,e,r){if(!rc(e))throw Error(a(200));return nc(null,t,e,!0,r)},e.render=function(t,e,r){if(!rc(e))throw Error(a(200));return nc(null,t,e,!1,r)},e.unmountComponentAtNode=function(t){if(!rc(t))throw Error(a(40));return!!t._reactRootContainer&&(mu((function(){nc(null,null,t,!1,(function(){t._reactRootContainer=null,t[Wn]=null}))})),!0)},e.unstable_batchedUpdates=yu,e.unstable_createPortal=function(t,e){return ic(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!rc(r))throw Error(a(200));if(null==t||void 0===t._reactInternals)throw Error(a(38));return nc(t,e,r,!1,n)},e.version="17.0.1"},function(t,e,r){"use strict";t.exports=r(197)},function(t,e,r){"use strict";var n,i,o,a;if("object"===typeof performance&&"function"===typeof performance.now){var s=performance;e.unstable_now=function(){return s.now()}}else{var u=Date,c=u.now();e.unstable_now=function(){return u.now()-c}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var h=null,f=null,l=function t(){if(null!==h)try{var r=e.unstable_now();h(!0,r),h=null}catch(n){throw setTimeout(t,0),n}};n=function(t){null!==h?setTimeout(n,0,t):(h=t,setTimeout(l,0))},i=function(t,e){f=setTimeout(t,e)},o=function(){clearTimeout(f)},e.unstable_shouldYield=function(){return!1},a=e.unstable_forceFrameRate=function(){}}else{var A=window.setTimeout,p=window.clearTimeout;if("undefined"!==typeof console){var d=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof d&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,y=null,m=-1,v=5,b=0;e.unstable_shouldYield=function(){return e.unstable_now()>=b},a=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<t?Math.floor(1e3/t):5};var w=new MessageChannel,I=w.port2;w.port1.onmessage=function(){if(null!==y){var t=e.unstable_now();b=t+v;try{y(!0,t)?I.postMessage(null):(g=!1,y=null)}catch(r){throw I.postMessage(null),r}}else g=!1},n=function(t){y=t,g||(g=!0,I.postMessage(null))},i=function(t,r){m=A((function(){t(e.unstable_now())}),r)},o=function(){p(m),m=-1}}function E(t,e){var r=t.length;t.push(e);t:for(;;){var n=r-1>>>1,i=t[n];if(!(void 0!==i&&0<C(i,e)))break t;t[n]=e,t[r]=i,r=n}}function _(t){return void 0===(t=t[0])?null:t}function B(t){var e=t[0];if(void 0!==e){var r=t.pop();if(r!==e){t[0]=r;t:for(var n=0,i=t.length;n<i;){var o=2*(n+1)-1,a=t[o],s=o+1,u=t[s];if(void 0!==a&&0>C(a,r))void 0!==u&&0>C(u,a)?(t[n]=u,t[s]=r,n=s):(t[n]=a,t[o]=r,n=o);else{if(!(void 0!==u&&0>C(u,r)))break t;t[n]=u,t[s]=r,n=s}}}return e}return null}function C(t,e){var r=t.sortIndex-e.sortIndex;return 0!==r?r:t.id-e.id}var Q=[],M=[],k=1,S=null,x=3,D=!1,R=!1,N=!1;function P(t){for(var e=_(M);null!==e;){if(null===e.callback)B(M);else{if(!(e.startTime<=t))break;B(M),e.sortIndex=e.expirationTime,E(Q,e)}e=_(M)}}function T(t){if(N=!1,P(t),!R)if(null!==_(Q))R=!0,n(O);else{var e=_(M);null!==e&&i(T,e.startTime-t)}}function O(t,r){R=!1,N&&(N=!1,o()),D=!0;var n=x;try{for(P(r),S=_(Q);null!==S&&(!(S.expirationTime>r)||t&&!e.unstable_shouldYield());){var a=S.callback;if("function"===typeof a){S.callback=null,x=S.priorityLevel;var s=a(S.expirationTime<=r);r=e.unstable_now(),"function"===typeof s?S.callback=s:S===_(Q)&&B(Q),P(r)}else B(Q);S=_(Q)}if(null!==S)var u=!0;else{var c=_(M);null!==c&&i(T,c.startTime-r),u=!1}return u}finally{S=null,x=n,D=!1}}var F=a;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){R||D||(R=!0,n(O))},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return _(Q)},e.unstable_next=function(t){switch(x){case 1:case 2:case 3:var e=3;break;default:e=x}var r=x;x=e;try{return t()}finally{x=r}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=F,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var r=x;x=t;try{return e()}finally{x=r}},e.unstable_scheduleCallback=function(t,r,a){var s=e.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?s+a:s:a=s,t){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return t={id:k++,callback:r,priorityLevel:t,startTime:a,expirationTime:u=a+u,sortIndex:-1},a>s?(t.sortIndex=a,E(M,t),null===_(Q)&&t===_(M)&&(N?o():N=!0,i(T,a-s))):(t.sortIndex=u,E(Q,t),R||D||(R=!0,n(O))),t},e.unstable_wrapCallback=function(t){var e=x;return function(){var r=x;x=e;try{return t.apply(this,arguments)}finally{x=r}}}},,function(t,e,r){var n=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(x){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,o=Object.create(i.prototype),a=new M(n||[]);return o._invoke=function(t,e,r){var n=f;return function(i,o){if(n===A)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return S()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=B(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=A;var u=h(t,e,r);if("normal"===u.type){if(n=r.done?p:l,u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(t,r,a),o}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(x){return{type:"throw",arg:x}}}t.wrap=c;var f="suspendedStart",l="suspendedYield",A="executing",p="completed",d={};function g(){}function y(){}function m(){}var v={};v[o]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(k([])));w&&w!==r&&n.call(w,o)&&(v=w);var I=m.prototype=g.prototype=Object.create(v);function E(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(i,o,a,s){var u=h(t[i],t,o);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"===typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var i;this._invoke=function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}}function B(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,B(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=h(n,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,d;var o=i.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function Q(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function k(t){if(t){var r=t[o];if(r)return r.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:S}}function S(){return{value:e,done:!0}}return y.prototype=I.constructor=m,m.constructor=y,y.displayName=u(m,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,s,"GeneratorFunction")),t.prototype=Object.create(I),t},t.awrap=function(t){return{__await:t}},E(_.prototype),_.prototype[a]=function(){return this},t.AsyncIterator=_,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new _(c(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(I),u(I,s,"Generator"),I[o]=function(){return this},I.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=k,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(Q),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return s.type="throw",s.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),Q(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;Q(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:k(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=n}catch(i){Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){"use strict";e.byteLength=function(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=c(t),a=n[0],s=n[1],u=new o(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),h=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],u[h++]=e>>16&255,u[h++]=e>>8&255,u[h++]=255&e;2===s&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,u[h++]=255&e);1===s&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,u[h++]=e>>8&255,u[h++]=255&e);return u},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=16383,s=0,u=r-i;s<u;s+=a)o.push(h(t,s,s+a>u?u:s+a));1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function h(t,e,r){for(var i,o,a=[],s=e;s<r;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,c=u>>1,h=-7,f=r?i-1:0,l=r?-1:1,A=t[e+f];for(f+=l,o=A&(1<<-h)-1,A>>=-h,h+=s;h>0;o=256*o+t[e+f],f+=l,h-=8);for(a=o&(1<<-h)-1,o>>=-h,h+=n;h>0;a=256*a+t[e+f],f+=l,h-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(A?-1:1);a+=Math.pow(2,n),o-=c}return(A?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,u,c=8*o-i-1,h=(1<<c)-1,f=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,A=n?0:o-1,p=n?1:-1,d=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=h):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+f>=1?l/u:l*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=h?(s=0,a=h):a+f>=1?(s=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+A]=255&s,A+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[r+A]=255&a,A+=p,a/=256,c-=8);t[r+A-p]|=128*d}},function(t,e,r){(function(n,i,o,a){var s,u,c;u=[e],void 0===(c="function"===typeof(s=function(e){"use strict";var s;void 0===(s=e)&&(s={});var u=s;"object"!=typeof u.sodium&&("object"==typeof n?u=n:"object"==typeof window&&(u=window)),"object"==typeof u.sodium&&"number"==typeof u.sodium.totalMemory&&(s.TOTAL_MEMORY=u.sodium.totalMemory);var c=s;return s.ready=new Promise((function(e,n){(u=c).onAbort=n,u.print=function(t){},u.printErr=function(t){},u.onRuntimeInitialized=function(){try{u._crypto_secretbox_keybytes(),e()}catch(e){n(e)}},u.useBackupModule=function(){var e,n=void 0!==(n={})?n:{},s={};for(e in n)n.hasOwnProperty(e)&&(s[e]=n[e]);var u=[],h=!1,f=!1,l=!1,A=!1;h="object"==typeof window,f="function"==typeof importScripts,l="object"==typeof i&&"object"==typeof i.versions&&"string"==typeof i.versions.node,A=!h&&!l&&!f;var p,d,g,y,m="";function v(t){return n.locateFile?n.locateFile(t,m):m+t}l?(m=f?r(67).dirname(m)+"/":o+"/",p=function(t,e){var n=Ut(t);return n?e?n:n.toString():(g||(g=r(115)),y||(y=r(67)),t=y.normalize(t),g.readFileSync(t,e?null:"utf8"))},d=function(t){var e=p(t,!0);return e.buffer||(e=new Uint8Array(e)),M(e.buffer),e},i.argv.length>1&&i.argv[1].replace(/\\/g,"/"),u=i.argv.slice(2),t.exports=n,i.on("unhandledRejection",ft),n.inspect=function(){return"[Emscripten Module object]"}):A?("undefined"!=typeof read&&(p=function(t){var e=Ut(t);return e?Tt(e):read(t)}),d=function(t){var e;return(e=Ut(t))?e:"function"==typeof readbuffer?new Uint8Array(readbuffer(t)):(M("object"==typeof(e=read(t,"binary"))),e)},"undefined"!=typeof scriptArgs?u=scriptArgs:void 0!==arguments&&(u=arguments),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(h||f)&&(f?m=self.location.href:document.currentScript&&(m=document.currentScript.src),m=0!==m.indexOf("blob:")?m.substr(0,m.lastIndexOf("/")+1):"",p=function(t){try{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.send(null),e.responseText}catch(e){var r=Ut(t);if(r)return Tt(r);throw e}},f&&(d=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=Ut(t);if(r)return r;throw e}})),n.print;var b,w=n.printErr||void 0;for(e in s)s.hasOwnProperty(e)&&(n[e]=s[e]);s=null,n.arguments&&(u=n.arguments),n.thisProgram&&n.thisProgram,n.quit&&n.quit,n.wasmBinary&&(b=n.wasmBinary),n.noExitRuntime&&n.noExitRuntime;var I,E={Memory:function(t){this.buffer=new ArrayBuffer(65536*t.initial),this.grow=function(t){return Yt(t)}},Table:function(t){var e=new Array(t.initial);return e.grow=function(t){e.length>=22&&ft("Unable to grow wasm table. Use a higher value for RESERVED_FUNCTION_POINTERS or set ALLOW_TABLE_GROWTH."),e.push(null)},e.set=function(t,r){e[t]=r},e.get=function(t){return e[t]},e},Module:function(t){},Instance:function(t,e){this.exports=function(t,e,r){for(var n=new Uint8Array(e.buffer),i=new Uint8Array(123),o=25;o>=0;--o)i[48+o]=52+o,i[65+o]=o,i[97+o]=26+o;function a(t,e,r){for(var n,o,a=0,s=e,u=r.length,c=e+(3*u>>2)-("="==r[u-2])-("="==r[u-1]);a<u;a+=4)n=i[r.charCodeAt(a+1)],o=i[r.charCodeAt(a+2)],t[s++]=i[r.charCodeAt(a)]<<2|n>>4,s<c&&(t[s++]=n<<4|o>>2),s<c&&(t[s++]=o<<6|i[r.charCodeAt(a+3)])}return i[43]=62,i[47]=63,a(n,1024,"InsgcmV0dXJuIE1vZHVsZS5nZXRSYW5kb21WYWx1ZSgpOyB9IgB7IGlmIChNb2R1bGUuZ2V0UmFuZG9tVmFsdWUgPT09IHVuZGVmaW5lZCkgeyB0cnkgeyB2YXIgd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MeXSAXW7dQC1s7gBAHLbADBekwD1KTgAfQ3M/vStdwAs3SD+VOoUAPmgxgHsfur/L2Oo/qrimf9ms9gA4o16/3pCmf629YYA4+QZAdY56//YrTj/tefSAHeAnf+BX4j/bn4zAAKpt/8HgmL+RbBe/3QE4wHZ8pH/yq0fAWkBJ/8ur0UA5C86/9fgRf7POEX/EP6L/xfP1P/KFH7/X9Vg/wmwIQDIBc//8SqA/iMhwP/45cQBgRF4APtnl/8HNHD/jDhC/yji9f/ZRiX+rNYJ/0hDhgGSwNb/LCZwAES4S//OWvsAleuNALWqOgB09O8AXJ0CAGatYgDpiWABfzHLAAWblAAXlAn/03oMACKGGv/bzIgAhggp/+BTK/5VGfcAbX8A/qmIMADud9v/563VAM4S/v4Iugf/fgkHAW8qSABvNOz+YD+NAJO/f/7NTsD/DmrtAbvbTACv87v+aVmtAFUZWQGi85QAAnbR/iGeCQCLoy7/XUYoAGwqjv5v/I7/m9+QADPlp/9J/Jv/XnQM/5ig2v+c7iX/s+rP/8UAs/+apI0A4cRoAAojGf7R1PL/Yf3e/rhl5QDeEn8BpIiH/x7PjP6SYfMAgcAa/slUIf9vCk7/k1Gy/wQEGACh7tf/Bo0hADXXDv8ptdD/54udALPL3f//uXEAveKs/3FC1v/KPi3/ZkAI/06uEP6FdUT/"),a(n,3264,"AQ=="),a(n,3296,"JuiVj8KyJ7BFw/SJ8u+Y8NXfrAXTxjM5sTgCiG1T/AXHF2pwPU3YT7o8C3YNEGcPKiBT+iw5zMZOx/13kqwDeuz///////////////////////////////////////9/7f///////////////////////////////////////3/u////////////////////////////////////////f+3T9VwaYxJY1pz3ot753hQ="),a(n,3487,"EIU7jAG98ST/+CXDAWDcNwC3TD7/w0I9ADJMpAHhpEz/TD2j/3U+HwBRkUD/dkEOAKJz1v8Gii4AfOb0/wqKjwA0GsIAuPRMAIGPKQG+9BP/e6p6/2KBRAB51ZMAVmUe/6FnmwCMWUP/7+W+AUMLtQDG8In+7kW8/+pxPP8l/zn/RbK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ZkLI/hE05AB13I/+y/h7ADgSrv+6l6T/M+jQAaDkK//5HRkBRL4/AA0AAAAA/wAAAAD1AAAAAAAA+wAAAAAAAP0AAAAA8wAAAAAHAAAAAAADAAAAAPMAAAAABQAAAAAAAAAACwAAAAAACwAAAADzAAAAAAAA/QAAAAAA/wAAAAADAAAAAPUAAAAAAAAADwAAAAAA/wAAAAD/AAAAAAcAAAAABQ=="),a(n,34460,"AQ=="),a(n,34496,"AQ=="),a(n,34528,"4Ot6fDtBuK4WVuP68Z/EatoJjeucMrH9hmIFFl9JuABfnJW8o1CMJLHQsVWcg+9bBERcxFgcjobYIk7d0J8RV+z///////////////////////////////////////9/7f///////////////////////////////////////3/u////////////////////////////////////////fw=="),a(n,34720,"CMm882fmCWo7p8qEha5nuyv4lP5y82488TYdXzr1T6XRguatf1IOUR9sPiuMaAWba71B+6vZgx95IX4TGc3gWyKuKNeYL4pCzWXvI5FEN3EvO03sz/vAtbzbiYGl27XpOLVI81vCVjkZ0AW28RHxWZtPGa+kgj+SGIFt2tVeHKtCAgOjmKoH2L5vcEUBW4MSjLLkTr6FMSTitP/Vw30MVW+Je/J0Xb5ysZYWO/6x3oA1Esclpwbcm5Qmac908ZvB0krxnsFpm+TjJU84hke+77XVjIvGncEPZZysd8yhDCR1AitZbyzpLYPkpm6qhHRK1PtBvdypsFy1UxGD2oj5dqvfZu5SUT6YEDK0LW3GMag/IfuYyCcDsOQO777Hf1m/wo+oPfML4MYlpwqTR5Gn1W+CA+BRY8oGcG4OCmcpKRT8L9JGhQq3JybJJlw4IRsu7SrEWvxtLE3fs5WdEw04U95jr4tUcwplqLJ3PLsKanbmru1HLsnCgTs1ghSFLHKSZAPxTKHov6IBMEK8S2YaqJGX+NBwi0vCML5UBqNRbMcYUu/WGeiS0RCpZVUkBpnWKiBxV4U1DvS40bsycKBqEMjQ0rgWwaQZU6tBUQhsNx6Z647fTHdIJ6hIm+G1vLA0Y1rJxbMMHDnLikHjSqrYTnPjY3dPypxbo7iy1vNvLmj8su9d7oKPdGAvF0NvY6V4cqvwoRR4yITsOWQaCALHjCgeYyP6/76Q6b2C3utsUKQVecay96P5vitTcuPyeHHGnGEm6s4+J8oHwsAhx7iG0R7r4M3WfdrqeNFu7n9PffW6bxdyqmfwBqaYyKLFfWMKrg35vgSYPxEbRxwTNQtxG4R9BCP1d9sokyTHQHuryjK8vskVCr6ePEwNEJzEZx1DtkI+y77UxUwqfmX8nCl/Wez61jqrb8tfF1hHSowZRGyA"),a(n,35568,"YjY0X3BvcyA8PSBiNjRfbGVuAHNvZGl1bS9jb2RlY3MuYwBzb2RpdW1fYmluMmJhc2U2NAAkYXJnb24yaWQAJGFyZ29uMmkAJHY9ACRtPQAsdD0ALHA9ACRhcmdvbjJpZCR2PQAkYXJnb24yaSR2PQAkYXJnb24yaWQkACRhcmdvbjJpJA=="),a(n,35728,"U2lnRWQyNTUxOSBubyBFZDI1NTE5IGNvbGxpc2lvbnMBADEuMC4xOA=="),a(n,35773,"QAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQ=="),function(t,e,n){var i=e.memory,o=r,a=new t.Int8Array(n),s=new t.Int16Array(n),u=new t.Int32Array(n),c=new t.Uint8Array(n),h=(new t.Uint16Array(n),new t.Uint32Array(n)),f=(new t.Float32Array(n),new t.Float64Array(n),t.Math.imul),l=(t.Math.fround,t.Math.abs,t.Math.clz32),A=(t.Math.min,t.Math.max,t.Math.floor,t.Math.ceil,t.Math.sqrt,e.abort),p=(t.NaN,t.Infinity,e.a),d=e.b,g=e.c,y=e.d,m=e.e,v=e.f,b=5279472,w=0,I=0,E=0;function _(t,e){var r,n,i,o,s,h,f,l,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,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,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;for(b=$=b-256|0;ct=(_=nt<<3)+($+128|0)|0,W=c[4+(_=e+_|0)|0]|c[_+5|0]<<8|c[_+6|0]<<16|c[_+7|0]<<24,u[ct>>2]=c[0|_]|c[_+1|0]<<8|c[_+2|0]<<16|c[_+3|0]<<24,u[ct+4>>2]=W,16!=(0|(nt=nt+1|0)););for(_=V($,t,64),u[(e=_)+88>>2]=1595750129,u[e+92>>2]=-1521486534,B=c[(e=t)+88|0]|c[e+89|0]<<8|c[e+90|0]<<16|c[e+91|0]<<24,ct=c[e+92|0]|c[e+93|0]<<8|c[e+94|0]<<16|c[e+95|0]<<24,y=c[e+72|0]|c[e+73|0]<<8|c[e+74|0]<<16|c[e+75|0]<<24,W=c[e+76|0]|c[e+77|0]<<8|c[e+78|0]<<16|c[e+79|0]<<24,ht=c[e+80|0]|c[e+81|0]<<8|c[e+82|0]<<16|c[e+83|0]<<24,lt=c[e+84|0]|c[e+85|0]<<8|c[e+86|0]<<16|c[e+87|0]<<24,it=u[_+4>>2],$=_,e=(A=u[_+36>>2])+u[_+132>>2]|0,(ut=(d=u[_+32>>2])+(nt=u[_+128>>2])|0)>>>0<nt>>>0&&(e=e+1|0),e=e+it|0,ut=e=(nt=ut+u[_>>2]|0)>>>0<ut>>>0?e+1|0:e,nt=Tr((it=nt)^(c[(nt=t)+64|0]|c[nt+65|0]<<8|c[nt+66|0]<<16|c[nt+67|0]<<24)^-1377402159,e^(c[nt+68|0]|c[nt+69|0]<<8|c[nt+70|0]<<16|c[nt+71|0]<<24)^1359893119,32),w=e=E,e=e+1779033703|0,(nt=(g=nt)+-205731576|0)>>>0<4089235720&&(e=e+1|0),p=d^(T=nt),d=e,p=Tr(p,A^e,24),nt=u[(A=_)+136>>2],e=ut+(m=E)|0,(ut=p+it|0)>>>0<it>>>0&&(e=e+1|0),ut=nt+ut|0,e=(r=u[A+140>>2])+e|0,Y=Tr((Q=ut)^g,(H=Q>>>0<nt>>>0?e+1|0:e)^w,16),ut=e=E,u[$+96>>2]=Y,u[$+100>>2]=e,e=d+e|0,(it=T+Y|0)>>>0<T>>>0&&(e=e+1|0),g=it,u[_+64>>2]=g,u[$+68>>2]=e,x=e,it=Tr(p^g,m^e,63),w=e=E,u[_+32>>2]=it,u[_+36>>2]=e,A=u[_+12>>2],M=y,e=(pt=u[_+148>>2])+(y=u[_+44>>2])|0,(m=(d=u[_+144>>2])+(p=u[_+40>>2])|0)>>>0<p>>>0&&(e=e+1|0),e=e+A|0,A=W,W=e=(T=m+u[_+8>>2]|0)>>>0<m>>>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<T>>>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<T>>>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<A>>>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<y>>>0&&(e=e+1|0),e=e+W|0,k=Tr(M^(D=$=p+u[_+16>>2]|0)^-79577749,(W=D>>>0<p>>>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<W>>>0?e+1|0:e)^v,16),e=y+(X=E)|0,($=p+q|0)>>>0<p>>>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<B>>>0&&(e=e+1|0),e=e+ht|0,e=(W=at+u[_+24>>2]|0)>>>0<at>>>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<at>>>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<at>>>0?e+1|0:e),16),N=B,e=(B=E)+S|0,(v=(W=at)+C|0)>>>0<W>>>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<T>>>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<H>>>0?e+1|0:e),32),H=_,Q=e=E,N=T,e=M+e|0,(T=D+(S=at)|0)>>>0<D>>>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<C>>>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<D>>>0?e+1|0:e),16),M=e=E,u[H+120>>2]=rt,u[H+124>>2]=e,e=A+e|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<24,Z=Ke(t+39|0),G=E,S=Ke(t+42|0),C=c[t+44|0]|c[t+45|0]<<8|c[t+46|0]<<16|c[t+47|0]<<24,w=t,_=Ke(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<B>>>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<B>>>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<B>>>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<C>>>0?I+1|0:I,I=Mr(x,_,-683901,-1),_=E+B|0,X=k=I+Q|0,R=k>>>0<I>>>0?_+1|0:_,_=Mr(e,0,-997805,-1),I=E,(_=(B=M>>>5&2097151)+_|0)>>>0<B>>>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<I>>>0?_+1|0:_,B=Mr(i,0,666643,0),I=E+_|0,B=(M=k=B+k|0)>>>0<B>>>0?I+1|0:I,I=2097151&D,k=Mr(e,0,654183,0)+I|0,_=E,_=k>>>0<I>>>0?_+1|0:_,C=(I=k)+(k=Mr(r,0,470296,0))|0,I=E+_|0,I=C>>>0<k>>>0?I+1|0:I,k=Mr(n,0,666643,0),_=E+I|0,x=C=k+C|0,C=_=C>>>0<k>>>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<Q>>>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<M>>>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<I>>>0)+j|0)|0,I=Mr(s,0,136657,0),_=E,(I=(B=2097151&((7&G)<<29|Z>>>3))+I|0)>>>0<B>>>0&&(_=_+1|0),M=(B=Mr(o,0,-683901,-1))+I|0,I=E+_|0,S=M,M=M>>>0<B>>>0?I+1|0:I,I=Mr(i,0,-683901,-1),_=E,(I=(B=U>>>6&2097151)+I|0)>>>0<B>>>0&&(_=_+1|0),D=(B=I)+(I=Mr(s,0,-997805,-1))|0,B=E+_|0,B=D>>>0<I>>>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<I>>>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<B>>>0&&(_=_+1|0),B=I,I=Mr(r,0,666643,0),_=E+_|0,N=B=B+I|0,B=B>>>0<I>>>0?_+1|0:_,_=Mr(e,0,666643,0),I=E,(_=(M=O>>>6&2097151)+_|0)>>>0<M>>>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<I>>>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<I>>>0)+j|0)|0,I=((N=W)>>>21|0)+C|0,I=(R=(S=(2097151&N)<<11|X>>>21)+R|0)>>>0<S>>>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<C>>>0?_+1|0:_,I=Mr(f,q,136657,0),_=E+_|0,_=(C=I+R|0)>>>0<I>>>0?_+1|0:_,B=Mr(u,B,-683901,-1),I=E+_|0,P=I=(C=B+C|0)>>>0<B>>>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<B>>>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<I>>>0)+S|0)|0,W=C-(I=-2097152&H)|0,$=P-((C>>>0<I>>>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<I>>>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<B>>>0?_+1|0:_,L=D-(I=-2097152&Z)|0,G=T-((D>>>0<I>>>0)+Y|0)|0,_=Mr(n,0,-683901,-1),I=E,(_=(B=2097151&((1&V)<<31|z>>>1))+_|0)>>>0<B>>>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<B>>>0?_+1|0:_,I=Mr(o,0,-997805,-1),_=E+_|0,D=B=I+C|0,C=B>>>0<I>>>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<B>>>0?_+1|0:_,B=Mr(s,0,470296,0),I=E+_|0,I=(M=B+M|0)>>>0<B>>>0?I+1|0:I,B=Mr(o,0,654183,0),_=E+I|0,P=_=(M=B+M|0)>>>0<B>>>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<B>>>0?_+1|0:_,I=Mr(T,_,-683901,-1),B=E+S|0,G=_=I+H|0,S=_>>>0<I>>>0?B+1|0:B,z=C-(I=-2097152&N)|0,V=D=R-((C>>>0<I>>>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<I>>>0?_+1|0:_,I=Mr(f,q,654183,0),_=E+_|0,_=(B=I+B|0)>>>0<I>>>0?_+1|0:_,C=(I=Mr(u,l,-997805,-1))+B|0,B=E+_|0,B=C>>>0<I>>>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<B>>>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<G>>>0?_+1|0:_,$=B-(I=-2097152&N)|0,Z=S-((B>>>0<I>>>0)+x|0)|0,H=C-(I=-2097152&F)|0,T=R-((C>>>0<I>>>0)+D|0)|0,_=Mr(h,J,666643,0),I=E,(_=(B=2097151&((1&it)<<31|b>>>1))+_|0)>>>0<B>>>0&&(I=I+1|0),C=(B=Mr(f,q,470296,0))+_|0,_=E+I|0,_=C>>>0<B>>>0?_+1|0:_,B=Mr(u,l,654183,0),I=E+_|0,I=(C=B+C|0)>>>0<B>>>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<I>>>0?_+1|0:_,S=M-(I=-2097152&Y)|0,M=P-((M>>>0<I>>>0)+j|0)|0,I=Mr(e,0,-683901,-1),_=E,(I=(B=et>>>7&2097151)+I|0)>>>0<B>>>0&&(_=_+1|0),C=(B=I)+(I=Mr(r,0,136657,0))|0,B=E+_|0,B=C>>>0<I>>>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<B>>>0?_+1|0:_,B=Mr(s,0,666643,0),I=E+_|0,I=(C=B+C|0)>>>0<B>>>0?I+1|0:I,B=Mr(o,0,470296,0),_=E+I|0,I=_=(C=B+C|0)>>>0<B>>>0?_+1|0:_,_=k>>21,C=(k=(2097151&k)<<11|p>>>21)+(B=C)|0,B=I+_|0,j=B=C>>>0<k>>>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<B>>>0?I+1|0:I,I=Mr(k,I,-683901,-1),_=E+x|0,x=B=I+D|0,k=B>>>0<I>>>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<B>>>0?_+1|0:_,I=Mr(z,V,-997805,-1),_=E+_|0,_=(B=I+M|0)>>>0<I>>>0?_+1|0:_,M=(I=B)+(B=Mr(J,L,136657,0))|0,I=E+_|0,D=I=M>>>0<B>>>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<B>>>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<N>>>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<I>>>0?_+1|0:_,X=(B=Q)-(I=-2097152&F)|0,H=_-((B>>>0<I>>>0)+x|0)|0,_=Mr(q,T,136657,0)+M|0,I=D+E|0,I=_>>>0<M>>>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<B>>>0&&(_=_+1|0),Q=(B=I)+(I=Mr(A,K,470296,0))|0,B=E+_|0,B=Q>>>0<I>>>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<Q>>>0&&(_=_+1|0),Q=I,I=Mr(z,V,470296,0),_=E+_|0,_=(Q=Q+I|0)>>>0<I>>>0?_+1|0:_,k=(I=Q)+(Q=Mr(J,L,654183,0))|0,I=E+_|0,x=I=k>>>0<Q>>>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<k>>>0?I+1|0:I,S=(I=S)- -1048576|0,I=(_=(k=R=B-((I>>>0<4293918720)+-1|0)|0)>>21)+O|0,rt=K=(R=(2097151&k)<<11|S>>>21)+et|0,R=K>>>0<R>>>0?I+1|0:I,I=Mr(q,T,-997805,-1),B=E+B|0,B=(_=I+D|0)>>>0<I>>>0?B+1|0:B,nt=_-(I=-2097152&S)|0,it=B-((_>>>0<I>>>0)+k|0)|0,I=Mr(q,T,654183,0)+Q|0,_=x+E|0,_=I>>>0<Q>>>0?_+1|0:_,et=(B=I)-(I=-2097152&F)|0,K=_-((B>>>0<I>>>0)+M|0)|0,I=Mr(z,V,666643,0),B=E,(I=(_=y>>>5&2097151)+I|0)>>>0<_>>>0&&(B=B+1|0),Q=(_=Mr(J,L,470296,0))+I|0,I=E+B|0,M=Q,B=Q>>>0<_>>>0?I+1|0:I,_=2097151&g,Q=Mr(J,L,666643,0)+_|0,I=E,k=Q,S=Q=(D=I=Q>>>0<_>>>0?I+1|0:I)-(((I=Q)>>>0<4293918720)+-1|0)|0,B=(_=Q>>21)+B|0,x=B=(Q=(I=(2097151&Q)<<11|(O=I- -1048576|0)>>>21)+M|0)>>>0<I>>>0?B+1|0:B,F=(I=Q)- -1048576|0,M=B=B-((I>>>0<4293918720)+-1|0)|0,I=(_=B>>21)+K|0,B=I=(L=(B=(2097151&B)<<11|F>>>21)+et|0)>>>0<B>>>0?I+1|0:I,I=Mr(q,T,470296,0)+Q|0,_=x+E|0,M=(_=I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r(U,I,666643,0)+_|0,I=E,x=B,Q=I=B>>>0<_>>>0?I+1|0:I,a[0|w]=B,a[t+1|0]=(255&I)<<24|B>>>8,I=2097151&V,B=Mr(U,D,470296,0)+I|0,_=E,_=B>>>0<I>>>0?_+1|0:_,k=B,C=(2097151&(B=Q))<<11|x>>>21,B=(I=B>>21)+_|0,B=(P=k+C|0)>>>0<C>>>0?B+1|0:B,C=P,a[t+4|0]=(2047&B)<<21|C>>>11,I=_=B,B=C,a[t+3|0]=(7&I)<<29|B>>>3,B=2097151&M,M=Mr(U,D,654183,0)+B|0,I=E,I=M>>>0<B>>>0?I+1|0:I,B=M,M=(2097151&_)<<11|C>>>21,_=(_>>21)+I|0,_=(P=B+M|0)>>>0<M>>>0?_+1|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<B>>>0?_+1|0:_,B=(_=I>>21)+B|0,S=C=(I=(2097151&I)<<11|M>>>21)+C|0,B=C>>>0<I>>>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<B>>>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<I>>>0?_+1|0:_,_=(I=B>>21)+_|0,M=C=(B=(2097151&B)<<11|x>>>21)+C|0,I=_=C>>>0<B>>>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<I>>>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<B>>>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<Q>>>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<k>>>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<k>>>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<I>>>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<<t)|n)&r<<t)&t)-1|0)>>>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<<n)&o?n=u[r+8>>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<i>>>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<<o)|t)&l))break f;i=r=(t=(t&0-t)-1|0)>>>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<n>>>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<<r)?r=u[t+8>>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<<r)){for(i=t<<(31==(0|r)?0:25-(r>>>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<n+16>>>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<<r)?r=u[t+8>>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<<t)){for(t=a<<(31==(0|t)?0:25-(t>>>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<<r)?r=u[t+8>>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<<t)&l){for(t=n<<(31==(0|t)?0:25-(t>>>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<<n)&o?n=u[t+8>>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<ht>>>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<ht>>>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<ht>>>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<ht>>>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<ut>>>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<ht>>>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<ht>>>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<ht>>>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<st>>>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<bt>>>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<yt>>>0?st+1|0:st,ut=(yt=Mr(g,s,It,I))+at|0,at=E+st|0,at=ut>>>0<yt>>>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<ut>>>0?at+1|0:at,ut=Mr(y,c,dt,x),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>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<mt>>>0?ut+1|0:ut,at=(mt=Mr(m,h,_,B))+st|0,st=E+ut|0,st=at>>>0<mt>>>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<ut>>>0?at+1|0:at,st=Mr(v,b,p,o),at=E+at|0,Mt=e=st+e|0,e=e>>>0<st>>>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<gt>>>0?at+1|0:at,gt=Mr(g,s,ft,w),ut=E+at|0,ut=(st=gt+st|0)>>>0<gt>>>0?ut+1|0:ut,at=(gt=Mr(It,I,K,D))+st|0,st=E+ut|0,st=at>>>0<gt>>>0?st+1|0:st,ut=(gt=Mr(y,c,wt,C))+at|0,at=E+st|0,at=ut>>>0<gt>>>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<ut>>>0?at+1|0:at,ut=Mr(m,h,F,Q),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,dt=Mr(_,B,V,N),ut=E+at|0,ut=(st=dt+st|0)>>>0<dt>>>0?ut+1|0:ut,at=(dt=Mr(_t,Bt,p,o))+st|0,st=E+ut|0,st=at>>>0<dt>>>0?st+1|0:st,ut=(dt=Mr(v,b,H,M))+at|0,at=E+st|0,at=ut>>>0<dt>>>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<Mt>>>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<ut>>>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<st>>>0?ut+1|0:ut,st=Mr(y,c,k,w),at=E+ut|0,at=(r=st+r|0)>>>0<st>>>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<st>>>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<ut>>>0?st+1|0:st,ut=Mr(V,N,z,G),at=E+st|0,at=(r=ut+r|0)>>>0<ut>>>0?at+1|0:at,st=Mr(p,o,F,Q),ut=E+at|0,ut=(r=st+r|0)>>>0<st>>>0?ut+1|0:ut,st=Mr(_,B,H,M),at=E+ut|0,at=(r=st+r|0)>>>0<st>>>0?at+1|0:at,st=Mr(_t,Bt,d,a),at=E+at|0,at=(r=st+r|0)>>>0<st>>>0?at+1|0:at,ut=Mr(v,b,Y,S),st=E+at|0,ct=r=ut+r|0,r=r>>>0<ut>>>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<wt>>>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<ft>>>0?ut+1|0:ut,ft=Mr(m,h,lt,It),at=E+ut|0,at=(st=ft+st|0)>>>0<ft>>>0?at+1|0:at,ut=Mr(et,X,mt,L),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,ut=(ft=Mr(p,o,z,G))+st|0,st=E+at|0,st=ut>>>0<ft>>>0?st+1|0:st,ft=Mr(F,Q,ht,P),at=E+st|0,at=(ut=ft+ut|0)>>>0<ft>>>0?at+1|0:at,st=(ft=Mr(d,a,_,B))+ut|0,ut=E+at|0,ut=st>>>0<ft>>>0?ut+1|0:ut,ft=Mr(_t,Bt,bt,T),at=E+ut|0,at=(st=ft+st|0)>>>0<ft>>>0?at+1|0:at,ut=Mr(v,b,g,s),at=E+at|0,St=st=ut+st|0,ft=st>>>0<ut>>>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<ut>>>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<Qt>>>0?at+1|0:at)|0,ut=st>>>0<lt>>>0?ut+1|0:ut,lt=Mr(p,o,et,X),at=E+ut|0,at=(st=lt+st|0)>>>0<lt>>>0?at+1|0:at,ut=Mr(H,M,z,G),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,ut=(lt=Mr(d,a,F,Q))+st|0,st=E+at|0,st=ut>>>0<lt>>>0?st+1|0:st,lt=Mr(_,B,Y,S),at=E+st|0,at=(ut=lt+ut|0)>>>0<lt>>>0?at+1|0:at,st=(lt=Mr(_t,Bt,g,s))+ut|0,ut=E+at|0,ut=st>>>0<lt>>>0?ut+1|0:ut,lt=Mr(v,b,K,D),at=E+ut|0,at=(st=lt+st|0)>>>0<lt>>>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<Ct>>>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<ct>>>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<pt>>>0?at+1|0:at,ut=Mr(k,w,ht,P),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,ut=Mr(d,a,j,I),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,pt=Mr(W,C,bt,T),ut=E+at|0,ut=(st=pt+st|0)>>>0<pt>>>0?ut+1|0:ut,at=(pt=Mr(g,s,Z,x))+st|0,st=E+ut|0,st=at>>>0<pt>>>0?st+1|0:st,ut=(pt=Mr(yt,O,$,q))+at|0,at=E+st|0,at=ut>>>0<pt>>>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<ut>>>0?at+1|0:at,ut=Mr(_t,Bt,At,U),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,Et=Mr(v,b,m,h),ut=E+at|0,ut=(st=Et+st|0)>>>0<Et>>>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<Et>>>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<ct>>>0?ut+1|0:ut,ct=Mr(k,w,yt,O),st=E+ut|0,st=(at=ct+at|0)>>>0<ct>>>0?st+1|0:st,ut=(ct=Mr(y,c,j,I))+at|0,at=E+st|0,at=ut>>>0<ct>>>0?at+1|0:at,st=ut,ut=Mr(et,X,At,U),at=E+at|0,at=(st=st+ut|0)>>>0<ut>>>0?at+1|0:at,ut=Mr(m,h,z,G),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,ct=Mr(F,Q,mt,L),ut=E+at|0,ut=(st=ct+st|0)>>>0<ct>>>0?ut+1|0:ut,at=(ct=Mr(p,o,_,B))+st|0,st=E+ut|0,st=at>>>0<ct>>>0?st+1|0:st,ut=(ct=Mr(_t,Bt,ht,P))+at|0,at=E+st|0,at=ut>>>0<ct>>>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<ut>>>0?at+1|0:at)+(st=r>>26)|0,ut=at=(r=ct+(ut=(67108863&r)<<6|Ct>>>26)|0)>>>0<ut>>>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<ct>>>0?at+1|0:at,ut=Mr(p,o,k,w),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,ct=Mr(j,I,H,M),ut=E+at|0,ut=(st=ct+st|0)>>>0<ct>>>0?ut+1|0:ut,at=(ct=Mr(d,a,W,C))+st|0,st=E+ut|0,st=at>>>0<ct>>>0?st+1|0:st,ut=(ct=Mr(Y,S,Z,x))+at|0,at=E+st|0,at=ut>>>0<ct>>>0?at+1|0:at,st=ut,ut=Mr(g,s,$,q),at=E+at|0,at=(st=st+ut|0)>>>0<ut>>>0?at+1|0:at,ut=Mr(pt,St,K,D),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,vt=Mr(y,c,ct=vt,Bt=ct>>31),ut=E+at|0,ut=(st=vt+st|0)>>>0<vt>>>0?ut+1|0:ut,at=(vt=Mr(v,b,J,R))+st|0,st=E+ut|0,st=at>>>0<vt>>>0?st+1|0:st,vt=at,at=(at=e>>25)+st|0,at=(e=vt+(ut=(33554431&e)<<7|kt>>>25)|0)>>>0<ut>>>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&gt)|0,at=(at=rt-((dt>>>0<at>>>0)+nt|0)|0)+(st=r>>25)|0,at=(r=ut+(dt=(33554431&r)<<7|_t>>>25)|0)>>>0<dt>>>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<At>>>0?at+1|0:at,ut=(At=Mr(k,w,mt,L))+st|0,st=E+at|0,st=ut>>>0<At>>>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<At>>>0?ut+1|0:ut)|0,at=st>>>0<ht>>>0?at+1|0:at,ut=Mr(d,a,Z,x),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,ut=Mr(bt,T,$,q),at=E+at|0,at=(st=ut+st|0)>>>0<ut>>>0?at+1|0:at,ut=(ht=Mr(g,s,pt,St))+st|0,st=E+at|0,st=ut>>>0<ht>>>0?st+1|0:st,at=(ht=Mr(ct,Bt,yt,O))+ut|0,ut=E+st|0,ut=at>>>0<ht>>>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<ht>>>0?at+1|0:at)+(st=e>>26)|0,at=(e=r+(ut=(67108863&e)<<6|vt>>>26)|0)>>>0<ut>>>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<e>>>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<at>>>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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]=f,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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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)^(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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>0<Y>>>0?H+1|0:H,Y=Mr(h,n,V,Z),G=E+H|0,H=e=Y+e|0,G=(e=e>>>0<Y>>>0?G+1|0:G)+(G=j>>26)|0,G=(H=(j=(67108863&j)<<6|$>>>26)+H|0)>>>0<j>>>0?G+1|0:G,j=H,J=H,e=G,(G=H+16777216|0)>>>0<16777216&&(e=e+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<Y>>>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<h[8965])break t;if(t=t+r|0,u[8966]==(0|n)){if(3==(3&(r=u[o+4>>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<<t)?t=u[r+8>>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<<e)){for(i=t<<(31==(0|e)?0:25-(e>>>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<<r)?r=u[e+8>>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<<r)){for(n=e<<(31==(0|r)?0:25-(r>>>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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|0)>>>0<o>>>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]<<8|c[i+10|0]<<16|c[i+11|0]<<24,u=c[i+12|0]|c[i+13|0]<<8|c[i+14|0]<<16|c[i+15|0]<<24,f=c[i+16|0]|c[i+17|0]<<8|c[i+18|0]<<16|c[i+19|0]<<24,l=c[i+20|0]|c[i+21|0]<<8|c[i+22|0]<<16|c[i+23|0]<<24,A=c[0|i]|c[i+1|0]<<8|c[i+2|0]<<16|c[i+3|0]<<24,r=c[i+4|0]|c[i+5|0]<<8|c[i+6|0]<<16|c[i+7|0]<<24,n=e,s=c[i+28|0]|c[i+29|0]<<8|c[i+30|0]<<16|c[i+31|0]<<24,e=c[i+24|0]|c[i+25|0]<<8|c[i+26|0]<<16|c[i+27|0]<<24,a[n+24|0]=e,a[n+25|0]=e>>>8,a[n+26|0]=e>>>16,a[n+27|0]=e>>>24,a[n+28|0]=s,a[n+29|0]=s>>>8,a[n+30|0]=s>>>16,a[n+31|0]=s>>>24,a[n+16|0]=f,a[n+17|0]=f>>>8,a[n+18|0]=f>>>16,a[n+19|0]=f>>>24,a[n+20|0]=l,a[n+21|0]=l>>>8,a[n+22|0]=l>>>16,a[n+23|0]=l>>>24,a[n+8|0]=h,a[n+9|0]=h>>>8,a[n+10|0]=h>>>16,a[n+11|0]=h>>>24,a[n+12|0]=u,a[n+13|0]=u>>>8,a[n+14|0]=u>>>16,a[n+15|0]=u>>>24,a[0|n]=A,a[n+1|0]=A>>>8,a[n+2|0]=A>>>16,a[n+3|0]=A>>>24,a[n+4|0]=r,a[n+5|0]=r>>>8,a[n+6|0]=r>>>16,a[n+7|0]=r>>>24,f=c[(u=t)+8|0]|c[u+9|0]<<8|c[u+10|0]<<16|c[u+11|0]<<24,l=c[u+12|0]|c[u+13|0]<<8|c[u+14|0]<<16|c[u+15|0]<<24,A=c[u+16|0]|c[u+17|0]<<8|c[u+18|0]<<16|c[u+19|0]<<24,r=c[u+20|0]|c[u+21|0]<<8|c[u+22|0]<<16|c[u+23|0]<<24,e=c[0|u]|c[u+1|0]<<8|c[u+2|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<p>>>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<y>>>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<w>>>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<b>>>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<A>>>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<y>>>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<v>>>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<d>>>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<d>>>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<g>>>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]<<8|c[r+14|0]<<16|c[r+15|0]<<24,l=c[r+16|0]|c[r+17|0]<<8|c[r+18|0]<<16|c[r+19|0]<<24,u=c[r+20|0]|c[r+21|0]<<8|c[r+22|0]<<16|c[r+23|0]<<24,A=c[r+24|0]|c[r+25|0]<<8|c[r+26|0]<<16|c[r+27|0]<<24,p=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,h=c[e+4|0]|c[e+5|0]<<8|c[e+6|0]<<16|c[e+7|0]<<24,n=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;b=n,n=jr(a+u|0,7)^d,g=b^jr(n+a|0,9),w=jr(n+g|0,13)^u,d=jr(g+w|0,18),e=jr(o+f|0,7)^e,A=jr(e+o|0,9)^A,f=jr(e+A|0,13)^f,E=jr(A+f|0,18),p=jr(r+i|0,7)^p,u=jr(p+i|0,9)^y,I=jr(u+p|0,13)^r,_=jr(u+I|0,18),r=jr(s+l|0,7)^v,h=jr(r+s|0,9)^h,l=jr(r+h|0,13)^l,b=jr(h+l|0,18),f=jr((a^=d)+r|0,7)^f,y=jr(f+a|0,9)^u,v=jr(f+y|0,13)^r,a=jr(y+v|0,18)^a,r=jr((o^=E)+n|0,7)^I,h=jr(r+o|0,9)^h,d=jr(r+h|0,13)^n,o=jr(h+d|0,18)^o,l=jr((i^=_)+e|0,7)^l,n=jr(l+i|0,9)^g,e=jr(n+l|0,13)^e,i=jr(e+n|0,18)^i,u=jr((s^=b)+p|0,7)^w,A=jr(u+s|0,9)^A,p=jr(u+A|0,13)^p,s=jr(A+p|0,18)^s,g=m>>>0>2,m=m+-2|0,g;);return rr(t,a),rr(t+4|0,o),rr(t+8|0,i),rr(t+12|0,s),rr(t+16|0,r),rr(t+20|0,h),rr(t+24|0,n),rr(t+28|0,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>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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<r>>>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<nt>>>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<nt>>>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<ut>>>0)+(rt=St=Pt-((e>>>0<4293918720)+-1|0)|0)|0)|0)+(r=st>>21)|0,F=e=(D=ot+((2097151&st)<<11|Qt>>>21)|0)>>>0<ot>>>0?e+1|0:e,ut=Mr(D,e,-683901,-1),ot=E,U=r=rt>>21,e=Mr(N=(2097151&rt)<<11|Ft>>>21,r,136657,0),r=E+ot|0,St=rt=e+ut|0,ut=rt>>>0<e>>>0?r+1|0:r,e=Mr(l=2097151&((1&At)<<31|qt>>>1),0,o,0),rt=E,ot=(r=Mr(A=dt>>>4&2097151,0,u,0))+e|0,e=E+rt|0,r=(rt=ot)>>>0<r>>>0?e+1|0:e,ot=(e=Mr(p=at>>>6&2097151,0,f,0))+rt|0,rt=E+r|0,rt=ot>>>0<e>>>0?rt+1|0:rt,r=ot,x=e=0,ot=(e=Mr(d=2097151&Gt,e,g=2097151&((7&pt)<<29|Yt>>>3),0))+r|0,r=E+rt|0,r=ot>>>0<e>>>0?r+1|0:r,rt=Mr(y=2097151&((7&it)<<29|Jt>>>3),0,m=2097151&kt,0),e=E+r|0,e=(ot=rt+ot|0)>>>0<rt>>>0?e+1|0:e,rt=ot,r=e,e=Mr(h,0,v=lt>>>6&2097151,0),r=E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mr(M,0,I,0),e=E+rt|0,e=(st=r+st|0)>>>0<r>>>0?e+1|0:e,rt=Mr(A,0,S,0),r=E+e|0,e=r=(st=rt+st|0)>>>0<rt>>>0?r+1|0:r,(r=st+(rt=Ht>>>4&2097151)|0)>>>0<rt>>>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<rt>>>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<r>>>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<r>>>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<e>>>0)+_t|0)|0,e=(2097151&r)<<11|bt>>>21,r=(r>>21)+ft|0,r=(at=e+Ut|0)>>>0<e>>>0?r+1|0:r,ut=(rt=Mr(G,H,136657,0))+(at-(e=-2097152&lt)|0)|0,e=E+(r-((at>>>0<e>>>0)+Bt|0)|0)|0,e=ut>>>0<rt>>>0?e+1|0:e,rt=Mr(O,it,-683901,-1),r=E+e|0,ut=it=rt+ut|0,mt=r=it>>>0<rt>>>0?r+1|0:r,kt=(e=it)- -1048576|0,gt=r=r-((e>>>0<4293918720)+-1|0)|0,e=(rt=r>>21)+It|0,at=it=(r=(2097151&r)<<11|kt>>>21)+Zt|0,pt=r=(lt=e=it>>>0<r>>>0?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>>0<4293918720)+-1|0)|0,r=(r=(It=(rt=It)+_t|0)>>>0<rt>>>0?r+1|0:r)+(rt=nt>>21)|0,r=(nt=It+(e=(2097151&nt)<<11|Xt>>>21)|0)>>>0<e>>>0?r+1|0:r,e=(_t=nt)-(nt=-2097152&J)|0,rt=Mr(j,Y,-683901,-1),r=(nt=r-((_t>>>0<nt>>>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<rt>>>0?r+1|0:r)+(rt=ot>>21)|0,r=(ft=(r=(ot=It+(e=(2097151&ot)<<11|Wt>>>21)|0)>>>0<e>>>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<e>>>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<rt>>>0)+(ot=ft)|0)|0,Zt=at-(e=-2097152&Qt)|0,It=lt-((at>>>0<e>>>0)+pt|0)|0,Ut=ut-(e=-2097152&kt)|0,kt=mt-((ut>>>0<e>>>0)+gt|0)|0,r=Mr(j,Y,654183,0),e=E+wt|0,e=(rt=r+Ct|0)>>>0<r>>>0?e+1|0:e,ut=(r=Mr(G,H,-997805,-1))+((at=rt)-(rt=-2097152&bt)|0)|0,rt=E+(e-((at>>>0<rt>>>0)+yt|0)|0)|0,e=Mr(O,jt,136657,0),r=E+(ut>>>0<r>>>0?rt+1|0:rt)|0,Qt=at=e+ut|0,ut=at>>>0<e>>>0?r+1|0:r,_t=At-(e=-2097152&xt)|0,mt=Pt-((At>>>0<e>>>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<r>>>0?e+1|0:e,at=(r=Mr(P,L,136657,0))+rt|0,rt=E+e|0,rt=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>0<rt>>>0?r+1|0:r,rt=Mr(i,0,S,0),e=E+r|0,e=(at=rt+at|0)>>>0<rt>>>0?e+1|0:e,rt=Mr(s,0,M,0),r=E+e|0,rt=(e=at=rt+at|0)>>>0<rt>>>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<r>>>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<n>>>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<e>>>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<n>>>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<e>>>0?r+1|0:r,e=Mr(rt,r,-683901,-1),rt=E+ut|0,gt=r=e+Qt|0,ut=r>>>0<e>>>0?rt+1|0:rt,Ct=n-(e=-2097152&lt)|0,Qt=At=dt-((n>>>0<e>>>0)+At|0)|0,r=Mr(j,Y,470296,0)+ct|0,e=Rt+E|0,e=r>>>0<ct>>>0?e+1|0:e,ct=(n=Mr(G,H,654183,0))+((rt=r)-(r=-2097152&Tt)|0)|0,r=E+(e-((rt>>>0<r>>>0)+Et|0)|0)|0,r=ct>>>0<n>>>0?r+1|0:r,e=Mr(O,jt,-997805,-1),rt=E+r|0,rt=(n=e+ct|0)>>>0<e>>>0?rt+1|0:rt,r=Mr(xt,St,136657,0),e=E+rt|0,e=(n=r+n|0)>>>0<r>>>0?e+1|0:e,r=Mr(Ct,At,-683901,-1),e=E+e|0,dt=e=(rt=n=r+n|0)>>>0<r>>>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<n>>>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<gt>>>0?e+1|0:e,Kt=n-(e=-2097152&lt)|0,qt=ct-((n>>>0<e>>>0)+ut|0)|0,Gt=rt-(e=-2097152&mt)|0,Pt=dt-((rt>>>0<e>>>0)+At|0)|0,n=(e=Mr(j,Y,666643,0))+(st-(r=-2097152&Yt)|0)|0,r=E+(Nt-((st>>>0<r>>>0)+Dt|0)|0)|0,r=n>>>0<e>>>0?r+1|0:r,rt=(e=n)+(n=Mr(G,H,470296,0))|0,e=E+r|0,e=rt>>>0<n>>>0?e+1|0:e,r=Mr(O,jt,654183,0),e=E+e|0,At=n=r+rt|0,n=n>>>0<r>>>0?e+1|0:e,st=it-(e=-2097152&yt)|0,ut=ft-((it>>>0<e>>>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<e>>>0?r+1|0:r,it=(e=rt)+(rt=Mr(P,L,654183,0))|0,e=E+r|0,e=it>>>0<rt>>>0?e+1|0:e,r=Mr(R,K,-997805,-1),e=E+e|0,e=(rt=r+it|0)>>>0<r>>>0?e+1|0:e,it=(r=rt)+(rt=Mr(T,Ft,136657,0))|0,r=E+e|0,r=it>>>0<rt>>>0?r+1|0:r,e=Mr(q,Lt,-683901,-1),rt=E+r|0,r=(rt=(it=e+it|0)>>>0<e>>>0?rt+1|0:rt)+pt|0,r=(e=it+at|0)>>>0<at>>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)|0,e=ht+((2097151&r)<<11|(Et=e- -1048576|0)>>>21)|0,r=Mt+(r>>21)|0,r=e>>>0<ht>>>0?r+1|0:r,ht=(n=Mr(G,H,666643,0))+((rt=e)-(e=-2097152&zt)|0)|0,e=E+(r-((rt>>>0<e>>>0)+Ht|0)|0)|0,e=ht>>>0<n>>>0?e+1|0:e,r=Mr(O,jt,470296,0),rt=E+e|0,rt=(n=r+ht|0)>>>0<r>>>0?rt+1|0:rt,e=Mr(bt,_t,136657,0),r=E+rt|0,r=(n=e+n|0)>>>0<e>>>0?r+1|0:r,rt=(e=n)+(n=Mr(xt,St,654183,0))|0,e=E+r|0,e=rt>>>0<n>>>0?e+1|0:e,n=Mr(Ct,Qt,-997805,-1),r=E+e|0,wt=rt=n+rt|0,At=r=rt>>>0<n>>>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<r>>>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<rt>>>0?r+1|0:r,e=ct-(r=-2097152&Rt)|0,rt=ft-((ct>>>0<r>>>0)+vt|0)|0,rt=(r=ot>>21)+rt|0,ft=rt=(ot=(ct=e)+(e=(2097151&ot)<<11|z>>>21)|0)>>>0<e>>>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<e>>>0?r+1|0:r,Gt=rt-(e=-2097152&mt)|0,Pt=r-((rt>>>0<e>>>0)+st|0)|0,e=Mr(Ot,Nt,136657,0),rt=E+At|0,rt=(r=e+wt|0)>>>0<e>>>0?rt+1|0:rt,Mt=r-(e=-2097152&yt)|0,Ht=rt-((r>>>0<e>>>0)+ht|0)|0,n=(r=Mr(O,jt,666643,0))+(at-(e=-2097152&Et)|0)|0,e=E+(pt-((at>>>0<e>>>0)+dt|0)|0)|0,e=n>>>0<r>>>0?e+1|0:e,r=Mr(bt,_t,-997805,-1),e=E+e|0,e=(n=r+n|0)>>>0<r>>>0?e+1|0:e,rt=(r=n)+(n=Mr(xt,St,470296,0))|0,r=E+e|0,r=rt>>>0<n>>>0?r+1|0:r,n=(e=Mr(Ct,Qt,654183,0))+rt|0,rt=E+r|0,pt=n,st=n>>>0<e>>>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<e>>>0?r+1|0:r,(r=(r=n)+(n=W>>>5&2097151)|0)>>>0<n>>>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<r>>>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<e>>>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<rt>>>0?e+1|0:e,at=(r=Mr(bt,_t,654183,0))+((it=at)-(rt=-2097152&Dt)|0)|0,rt=E+(e-((16383&lt)+(it>>>0<rt>>>0)|0)|0)|0,e=Mr(xt,St,666643,0),r=E+(at>>>0<r>>>0?rt+1|0:rt)|0,r=(it=e+at|0)>>>0<e>>>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<rt>>>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<e>>>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<st>>>0?e+1|0:e,r=Mr(Ot,Nt,-997805,-1),e=E+it|0,e=(lt=r+lt|0)>>>0<r>>>0?e+1|0:e,Ht=(it=lt)-(r=-2097152&pt)|0,Dt=e-((it>>>0<r>>>0)+rt|0)|0,e=Mr(Ot,Nt,654183,0),rt=E+ut|0,rt=(r=e+yt|0)>>>0<e>>>0?rt+1|0:rt,lt=r-(e=-2097152&mt)|0,pt=rt-((r>>>0<e>>>0)+at|0)|0,rt=(e=Mr(bt,_t,470296,0))+(n-(r=-2097152&wt)|0)|0,r=E+(ht-((16383&ct)+(n>>>0<r>>>0)|0)|0)|0,r=rt>>>0<e>>>0?r+1|0:r,e=Mr(Ct,Qt,666643,0),r=E+r|0,at=n=e+rt|0,it=n>>>0<e>>>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<e>>>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<rt>>>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<r>>>0?rt+1|0:rt,e=Mr(Ot,Nt,470296,0),r=E+at|0,it=(r=(rt=e+At|0)>>>0<e>>>0?r+1|0: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2097151&r)<<11|rt>>>21,e,666643,0),rt=E,ut=r=r+(e=2097151&ut)|0,n=rt=r>>>0<e>>>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<e>>>0?r+1|0:r,r=(e=n>>21)+r|0,r=(it=ot=(rt=nt)+(nt=(2097151&n)<<11|ut>>>21)|0)>>>0<nt>>>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<nt>>>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<nt>>>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<e>>>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<n>>>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<r>>>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<n>>>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<rt>>>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<nt>>>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<rt>>>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&lt)|0,e=nt>>>0<r>>>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<n>>>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<e>>>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<r>>>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<ot>>>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<h>>>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<A>>>0|s>>>0<f>>>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<p>>>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<n>>>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<f>>>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<t>>>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<i>>>0;);}if(r>>>0<n>>>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<n>>>0))break}t=p+1|0,u[h+12>>2]=t>>>0<n>>>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<n>>>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<<l^-1)&y|f)&&(2&c||!(t=function(t,e,r,n,i){var o=0,s=0,c=0;e:if(i)for(o=u[r>>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<g>>>0&&(h=1),rr(m,l),l=0,(d=(m=y)+(v=(y=p&d|A&i)<<20|v>>>6)|0)>>>0<v>>>0&&(l=1),m=d,d=h,v=m+h|0,h=l,h=v>>>0<d>>>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<A>>>0&&(l=1),d=y,y=h,A=d+h|0,h=l,h=A>>>0<y>>>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<e>>>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<e>>>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<o>>>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<i>>>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<i>>>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<r>>>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<h[t+20>>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<e>>>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<h>>>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],a[0|t]=e,a[t+2|0]=e>>>16,a[t+1|0]=e>>>8,n=u[r+4>>2],a[t+5|0]=n>>>14,a[t+4|0]=n>>>6,a[t+3|0]=n<<2|e>>>24,e=u[r+8>>2],a[t+8|0]=e>>>13,a[t+7|0]=e>>>5,a[t+6|0]=e<<3|n>>>22,n=u[r+12>>2],a[t+11|0]=n>>>11,a[t+10|0]=n>>>3,a[t+9|0]=n<<5|e>>>21,e=u[r+16>>2],a[t+15|0]=e>>>18,a[t+14|0]=e>>>10,a[t+13|0]=e>>>2,a[t+12|0]=e<<6|n>>>19,e=u[r+20>>2],a[t+16|0]=e,a[t+18|0]=e>>>16,a[t+17|0]=e>>>8,n=u[r+24>>2],a[t+21|0]=n>>>15,a[t+20|0]=n>>>7,a[t+19|0]=n<<1|e>>>24,e=u[r+28>>2],a[t+24|0]=e>>>13,a[t+23|0]=e>>>5,a[t+22|0]=e<<3|n>>>23,n=u[r+32>>2],a[t+27|0]=n>>>12,a[t+26|0]=n>>>4,a[t+25|0]=n<<4|e>>>21,e=u[r+36>>2],a[t+31|0]=e>>>18,a[t+30|0]=e>>>10,a[t+29|0]=e>>>2,a[t+28|0]=e<<6|n>>>20,b=r+48|0}function ct(t,e,r){var n=0,i=0,o=0,s=0;if(r&&(a[(n=t+r|0)-1|0]=e,a[0|t]=e,!(r>>>0<3||(a[n+-2|0]=e,a[t+1|0]=e,a[n+-3|0]=e,a[t+2|0]=e,r>>>0<7||(a[n+-4|0]=e,a[t+3|0]=e,r>>>0<9||(i=(n=0-t&3)+t|0,e=f(255&e,16843009),u[i>>2]=e,u[(n=(r=r-n&-4)+i|0)-4>>2]=e,r>>>0<9||(u[i+8>>2]=e,u[i+4>>2]=e,u[n+-8>>2]=e,u[n+-12>>2]=e,r>>>0<25||(u[i+24>>2]=e,u[i+20>>2]=e,u[i+16>>2]=e,u[i+12>>2]=e,u[n+-16>>2]=e,u[n+-20>>2]=e,u[n+-24>>2]=e,u[n+-28>>2]=e,(r=r-(s=4&i|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<n>>>0|0<i>>>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<a>>>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<n>>>0|0<i>>>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<t>>>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<n>>>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<n>>>0|o>>>0<r>>>0)+(c[t+72|0]|c[t+73|0]<<8|c[t+74|0]<<16|c[t+75|0]<<24)|0)>>>0<o>>>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<o>>>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)-1&n)<<32-o|t>>>o),n=31&(s&=63),32<=s>>>0?(e=t<<n,t=0):(e=(1<<n)-1&t>>>32-n|e<<n,t<<=n),a)for(n=-1,-1!=(0|(s=r+-1|0))&&(n=0);o=(c=u=o<<1|e>>>31)-(h=r&(u=n-((i=i<<1|o>>>31)+(s>>>0<u>>>0)|0)>>31))|0,i=i-(c>>>0<h>>>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<r>>>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<e>>>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<h[e+28>>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<h[r+8>>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<h[e+28>>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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+1|0:H,j=Mr(s,r,P,S),H=E+H|0,H=(e=j+e|0)>>>0<j>>>0?H+1|0:H,j=(V=Mr(l,n,z,B))+e|0,e=E+H|0,e=j>>>0<V>>>0?e+1|0:e,H=(tt=Mr(A,i,V=tt,J=V>>31))+j|0,j=E+e|0,e=H,H=(H>>>0<tt>>>0?j+1|0:j)<<1|H>>>31,j=e<<1,H=(e=Y>>25)+H|0,H=(j=j+(Y=(33554431&Y)<<7|rt>>>25)|0)>>>0<Y>>>0?H+1|0:H,(j=(e=j)+33554432|0)>>>0<33554432&&(H=H+1|0),tt=j,Y=H,H=-67108864&j,u[$+32>>2]=e-H,H=K>>25,j=(K=(33554431&K)<<7|ot>>>25)+(M-(e=-67108864&N)|0)|0,e=H+(F-((M>>>0<e>>>0)+U|0)|0)|0,H=e=j>>>0<K>>>0?e+1|0:e,(e=j+33554432|0)>>>0<33554432&&(H=H+1|0),K=((67108863&H)<<6|e>>>26)+(at=at-(-33554432&L)|0)|0,u[$+20>>2]=K,e&=-67108864,u[t+16>>2]=j-e,e=Mr(o,a,q,g),j=E,H=(q=Mr(et,_,T,D))+e|0,e=E+j|0,e=H>>>0<q>>>0?e+1|0:e,j=(q=Mr(w,m,R,Q))+H|0,H=E+e|0,H=j>>>0<q>>>0?H+1|0:H,e=(q=Mr(s,r,z,B))+j|0,j=E+H|0,j=e>>>0<q>>>0?j+1|0:j,q=Mr(l,n,V,J),H=E+j|0,H=(H=(H=(e=q+e|0)>>>0<q>>>0?H+1|0:H)<<1|e>>>31)+(j=Y>>26)|0,H=(e=(Y=(67108863&Y)<<6|tt>>>26)+(e<<1)|0)>>>0<Y>>>0?H+1|0:H,j=e,Y=e,K=e,e=H,(H=j+16777216|0)>>>0<16777216&&(e=e+1|0),j=-33554432&H,u[t+36>>2]=Y-j,Y=t,K=X-(-33554432&ut)|0,e=(H=Mr((33554431&e)<<7|H>>>25,e>>25,19,0))+(W-(j=-67108864&it)|0)|0,j=E+(st-((W>>>0<j>>>0)+nt|0)|0)|0,j=e>>>0<H>>>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<r>>>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<r>>>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)<<r|((r=t)&-1<<(t=0-e&31))>>>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)-1<<32-n|-1>>>n),o=n&t,n=e&i,i=31&a,32<=a>>>0?(n=o<<i,a=0):(n=(1<<i)-1&o>>>32-i|n<<i,a=o<<i),o=n,r=31&(n=i=0-r&63),32<=n>>>0?(n=-1<<r,r=0):(n=(1<<r)-1&-1>>>32-r|-1<<r,r=-1<<r),t&=r,n&=e,e=31&i,32<=i>>>0?(r=0,t=n>>>e|0):(r=n>>>e|0,t=((1<<e)-1&n)<<32-e|t>>>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<<n,s=0):(i=(1<<n)-1&-1>>>32-n|-1<<n,s=-1<<n),s&=t,n=e&i,o=31&a,32<=a>>>0?(i=0,a=n>>>o|0):(i=n>>>o|0,a=((1<<o)-1&n)<<32-o|s>>>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)-1<<32-o|-1>>>o),t&=r,e&=i,i=31&n,32<=n>>>0?(r=t<<i,t=0):(r=(1<<i)-1&t>>>32-i|e<<i,t<<=i),E=r|s,t|a}(t,e,r)}function Or(t){1!=(-7&t)&&(lr(),A())}function Fr(t,e){o[u[8946]](t,e)}function Ur(t,e){o[u[8948]](t,e)}function Lr(t,e){return ie(t,e,32)}function Gr(t,e){return ie(t,e,16)}function Hr(t,e,r,n){Cr(t,e,r,n)}function jr(t,e){return ze(t,e)}function Yr(t,e){V(t,e,1024)}function Kr(t){xe(t|=0,32)}function qr(t,e,r){!function(t,e,r){var n,i,o,a,s,u,h,f,l,A,p,d,g=0,y=0,m=0,v=0,b=0,w=0,I=0,E=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;for(n=c[0|r]|c[r+1|0]<<8|c[r+2|0]<<16|c[r+3|0]<<24,i=c[r+4|0]|c[r+5|0]<<8|c[r+6|0]<<16|c[r+7|0]<<24,o=c[r+8|0]|c[r+9|0]<<8|c[r+10|0]<<16|c[r+11|0]<<24,a=c[r+12|0]|c[r+13|0]<<8|c[r+14|0]<<16|c[r+15|0]<<24,s=c[r+16|0]|c[r+17|0]<<8|c[r+18|0]<<16|c[r+19|0]<<24,u=c[r+20|0]|c[r+21|0]<<8|c[r+22|0]<<16|c[r+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+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<a>>>0&&(n=n+1|0),a=n,v=Pr(i,n,32),b=E,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i>>>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<e>>>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<a>>>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<i>>>0&&(n=n+1|0),i=n,s=Pr(r^s,n^(f=E),21),n=o+u|0,(o=e+g|0)>>>0<e>>>0&&(n=n+1|0),n=i+(a^=n)|0,(e=(o^=d)+r|0)>>>0<r>>>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<r>>>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<n>>>0)continue n;break e}if(p=0,!((f=f+1|0)>>>0<n>>>0))break}break}h=(t=h+1|0)>>>0<n>>>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<r>>>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<o&&o<65536){var l=new ArrayBuffer(f(o,65536)),A=new t.Int8Array(l);A.set(a),a=A,a=new t.Int8Array(l),s=new t.Int16Array(l),u=new t.Int32Array(l),c=new t.Uint8Array(l),new t.Uint16Array(l),h=new t.Uint32Array(l),new t.Float32Array(l),new t.Float64Array(l),n=l,i.buffer=l}return r}(0|(e|=0))}}}({Int8Array:Int8Array,Int16Array:Int16Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array,NaN:NaN,Infinity:1/0,Math:Math},t,e.buffer)}(Gt,I,C)},instantiate:function(t,e){return{then:function(e){var r=new E.Module(t);e({instance:new E.Instance(r)})}}},RuntimeError:Error};function _(t,e,r,n){switch("*"===(r=r||"i8").charAt(r.length-1)&&(r="i32"),r){case"i1":case"i8":R[t>>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<i;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)o+=String.fromCharCode(a);else{var c=a-65536;o+=String.fromCharCode(55296|c>>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;r<t.length;r++){var n=t[r];n>255&&(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(c<t.length);return u};function Ft(t){if("boolean"==typeof l&&l){var e;try{e=a.from(t,"base64")}catch(r){e=new a(t,"base64")}return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}try{for(var r=Ot(t),n=new Uint8Array(r.length),i=0;i<r.length;++i)n[i]=r.charCodeAt(i);return n}catch(t){throw new Error("Converting base64 string to bytes failed.")}}function Ut(t){if(pt(t))return Ft(t.slice(At.length))}var Lt,Gt={a:Bt,c:Ct,b:_t,e:Qt,f:St,memory:I,d:Dt,table:C},Ht=(It(),n.___wasm_call_ctors=function(){return(Ht=n.___wasm_call_ctors=n.asm.g).apply(null,arguments)}),jt=(n._crypto_aead_chacha20poly1305_encrypt_detached=function(){return(n._crypto_aead_chacha20poly1305_encrypt_detached=n.asm.h).apply(null,arguments)},n._crypto_aead_chacha20poly1305_encrypt=function(){return(n._crypto_aead_chacha20poly1305_encrypt=n.asm.i).apply(null,arguments)},n._crypto_aead_chacha20poly1305_ietf_encrypt_detached=function(){return(n._crypto_aead_chacha20poly1305_ietf_encrypt_detached=n.asm.j).apply(null,arguments)},n._crypto_aead_chacha20poly1305_ietf_encrypt=function(){return(n._crypto_aead_chacha20poly1305_ietf_encrypt=n.asm.k).apply(null,arguments)},n._crypto_aead_chacha20poly1305_decrypt_detached=function(){return(n._crypto_aead_chacha20poly1305_decrypt_detached=n.asm.l).apply(null,arguments)},n._crypto_aead_chacha20poly1305_decrypt=function(){return(n._crypto_aead_chacha20poly1305_decrypt=n.asm.m).apply(null,arguments)},n._crypto_aead_chacha20poly1305_ietf_decrypt_detached=function(){return(n._crypto_aead_chacha20poly1305_ietf_decrypt_detached=n.asm.n).apply(null,arguments)},n._crypto_aead_chacha20poly1305_ietf_decrypt=function(){return(n._crypto_aead_chacha20poly1305_ietf_decrypt=n.asm.o).apply(null,arguments)},n._crypto_aead_chacha20poly1305_ietf_keybytes=function(){return(n._crypto_aead_chacha20poly1305_ietf_keybytes=n.asm.p).apply(null,arguments)},n._crypto_aead_chacha20poly1305_ietf_npubbytes=function(){return(n._crypto_aead_chacha20poly1305_ietf_npubbytes=n.asm.q).apply(null,arguments)},n._crypto_aead_chacha20poly1305_ietf_nsecbytes=function(){return(n._crypto_aead_chacha20poly1305_ietf_nsecbytes=n.asm.r).apply(null,arguments)},n._crypto_aead_chacha20poly1305_ietf_abytes=function(){return(n._crypto_aead_chacha20poly1305_ietf_abytes=n.asm.s).apply(null,arguments)},n._crypto_aead_chacha20poly1305_ietf_messagebytes_max=function(){return(n._crypto_aead_chacha20poly1305_ietf_messagebytes_max=n.asm.t).apply(null,arguments)},n._crypto_aead_chacha20poly1305_ietf_keygen=function(){return(n._crypto_aead_chacha20poly1305_ietf_keygen=n.asm.u).apply(null,arguments)},n._crypto_aead_chacha20poly1305_keybytes=function(){return(n._crypto_aead_chacha20poly1305_keybytes=n.asm.v).apply(null,arguments)},n._crypto_aead_chacha20poly1305_npubbytes=function(){return(n._crypto_aead_chacha20poly1305_npubbytes=n.asm.w).apply(null,arguments)},n._crypto_aead_chacha20poly1305_nsecbytes=function(){return(n._crypto_aead_chacha20poly1305_nsecbytes=n.asm.x).apply(null,arguments)},n._crypto_aead_chacha20poly1305_abytes=function(){return(n._crypto_aead_chacha20poly1305_abytes=n.asm.y).apply(null,arguments)},n._crypto_aead_chacha20poly1305_messagebytes_max=function(){return(n._crypto_aead_chacha20poly1305_messagebytes_max=n.asm.z).apply(null,arguments)},n._crypto_aead_chacha20poly1305_keygen=function(){return(n._crypto_aead_chacha20poly1305_keygen=n.asm.A).apply(null,arguments)},n._crypto_aead_xchacha20poly1305_ietf_encrypt_detached=function(){return(n._crypto_aead_xchacha20poly1305_ietf_encrypt_detached=n.asm.B).apply(null,arguments)},n._crypto_aead_xchacha20poly1305_ietf_encrypt=function(){return(n._crypto_aead_xchacha20poly1305_ietf_encrypt=n.asm.C).apply(null,arguments)},n._crypto_aead_xchacha20poly1305_ietf_decrypt_detached=function(){return(n._crypto_aead_xchacha20poly1305_ietf_decrypt_detached=n.asm.D).apply(null,arguments)},n._crypto_aead_xchacha20poly1305_ietf_decrypt=function(){return(n._crypto_aead_xchacha20poly1305_ietf_decrypt=n.asm.E).apply(null,arguments)},n._crypto_aead_xchacha20poly1305_ietf_keybytes=function(){return(n._crypto_aead_xchacha20poly1305_ietf_keybytes=n.asm.F).apply(null,arguments)},n._crypto_aead_xchacha20poly1305_ietf_npubbytes=function(){return(n._crypto_aead_xchacha20poly1305_ietf_npubbytes=n.asm.G).apply(null,arguments)},n._crypto_aead_xchacha20poly1305_ietf_nsecbytes=function(){return(n._crypto_aead_xchacha20poly1305_ietf_nsecbytes=n.asm.H).apply(null,arguments)},n._crypto_aead_xchacha20poly1305_ietf_abytes=function(){return(n._crypto_aead_xchacha20poly1305_ietf_abytes=n.asm.I).apply(null,arguments)},n._crypto_aead_xchacha20poly1305_ietf_messagebytes_max=function(){return(n._crypto_aead_xchacha20poly1305_ietf_messagebytes_max=n.asm.J).apply(null,arguments)},n._crypto_aead_xchacha20poly1305_ietf_keygen=function(){return(n._crypto_aead_xchacha20poly1305_ietf_keygen=n.asm.K).apply(null,arguments)},n._crypto_auth_bytes=function(){return(n._crypto_auth_bytes=n.asm.L).apply(null,arguments)},n._crypto_auth_keybytes=function(){return(n._crypto_auth_keybytes=n.asm.M).apply(null,arguments)},n._crypto_auth=function(){return(n._crypto_auth=n.asm.N).apply(null,arguments)},n._crypto_auth_verify=function(){return(n._crypto_auth_verify=n.asm.O).apply(null,arguments)},n._crypto_auth_keygen=function(){return(n._crypto_auth_keygen=n.asm.P).apply(null,arguments)},n._crypto_box_seedbytes=function(){return(n._crypto_box_seedbytes=n.asm.Q).apply(null,arguments)},n._crypto_box_publickeybytes=function(){return(n._crypto_box_publickeybytes=n.asm.R).apply(null,arguments)},n._crypto_box_secretkeybytes=function(){return(n._crypto_box_secretkeybytes=n.asm.S).apply(null,arguments)},n._crypto_box_beforenmbytes=function(){return(n._crypto_box_beforenmbytes=n.asm.T).apply(null,arguments)},n._crypto_box_noncebytes=function(){return(n._crypto_box_noncebytes=n.asm.U).apply(null,arguments)},n._crypto_box_macbytes=function(){return(n._crypto_box_macbytes=n.asm.V).apply(null,arguments)},n._crypto_box_messagebytes_max=function(){return(n._crypto_box_messagebytes_max=n.asm.W).apply(null,arguments)},n._crypto_box_seed_keypair=function(){return(n._crypto_box_seed_keypair=n.asm.X).apply(null,arguments)},n._crypto_box_keypair=function(){return(n._crypto_box_keypair=n.asm.Y).apply(null,arguments)},n._crypto_box_beforenm=function(){return(n._crypto_box_beforenm=n.asm.Z).apply(null,arguments)},n._crypto_box_detached_afternm=function(){return(n._crypto_box_detached_afternm=n.asm._).apply(null,arguments)},n._crypto_box_detached=function(){return(n._crypto_box_detached=n.asm.$).apply(null,arguments)},n._crypto_box_easy_afternm=function(){return(n._crypto_box_easy_afternm=n.asm.aa).apply(null,arguments)},n._crypto_box_easy=function(){return(n._crypto_box_easy=n.asm.ba).apply(null,arguments)},n._crypto_box_open_detached_afternm=function(){return(n._crypto_box_open_detached_afternm=n.asm.ca).apply(null,arguments)},n._crypto_box_open_detached=function(){return(n._crypto_box_open_detached=n.asm.da).apply(null,arguments)},n._crypto_box_open_easy_afternm=function(){return(n._crypto_box_open_easy_afternm=n.asm.ea).apply(null,arguments)},n._crypto_box_open_easy=function(){return(n._crypto_box_open_easy=n.asm.fa).apply(null,arguments)},n._crypto_box_seal=function(){return(n._crypto_box_seal=n.asm.ga).apply(null,arguments)},n._crypto_box_seal_open=function(){return(n._crypto_box_seal_open=n.asm.ha).apply(null,arguments)},n._crypto_box_sealbytes=function(){return(n._crypto_box_sealbytes=n.asm.ia).apply(null,arguments)},n._crypto_generichash_bytes_min=function(){return(n._crypto_generichash_bytes_min=n.asm.ja).apply(null,arguments)},n._crypto_generichash_bytes_max=function(){return(n._crypto_generichash_bytes_max=n.asm.ka).apply(null,arguments)},n._crypto_generichash_bytes=function(){return(n._crypto_generichash_bytes=n.asm.la).apply(null,arguments)},n._crypto_generichash_keybytes_min=function(){return(n._crypto_generichash_keybytes_min=n.asm.ma).apply(null,arguments)},n._crypto_generichash_keybytes_max=function(){return(n._crypto_generichash_keybytes_max=n.asm.na).apply(null,arguments)},n._crypto_generichash_keybytes=function(){return(n._crypto_generichash_keybytes=n.asm.oa).apply(null,arguments)},n._crypto_generichash_statebytes=function(){return(n._crypto_generichash_statebytes=n.asm.pa).apply(null,arguments)},n._crypto_generichash=function(){return(n._crypto_generichash=n.asm.qa).apply(null,arguments)},n._crypto_generichash_init=function(){return(n._crypto_generichash_init=n.asm.ra).apply(null,arguments)},n._crypto_generichash_update=function(){return(n._crypto_generichash_update=n.asm.sa).apply(null,arguments)},n._crypto_generichash_final=function(){return(n._crypto_generichash_final=n.asm.ta).apply(null,arguments)},n._crypto_generichash_keygen=function(){return(n._crypto_generichash_keygen=n.asm.ua).apply(null,arguments)},n._crypto_hash_bytes=function(){return(n._crypto_hash_bytes=n.asm.va).apply(null,arguments)},n._crypto_hash=function(){return(n._crypto_hash=n.asm.wa).apply(null,arguments)},n._crypto_kdf_bytes_min=function(){return(n._crypto_kdf_bytes_min=n.asm.xa).apply(null,arguments)},n._crypto_kdf_bytes_max=function(){return(n._crypto_kdf_bytes_max=n.asm.ya).apply(null,arguments)},n._crypto_kdf_contextbytes=function(){return(n._crypto_kdf_contextbytes=n.asm.za).apply(null,arguments)},n._crypto_kdf_keybytes=function(){return(n._crypto_kdf_keybytes=n.asm.Aa).apply(null,arguments)},n._crypto_kdf_derive_from_key=function(){return(n._crypto_kdf_derive_from_key=n.asm.Ba).apply(null,arguments)},n._crypto_kdf_keygen=function(){return(n._crypto_kdf_keygen=n.asm.Ca).apply(null,arguments)},n._crypto_kx_seed_keypair=function(){return(n._crypto_kx_seed_keypair=n.asm.Da).apply(null,arguments)},n._crypto_kx_keypair=function(){return(n._crypto_kx_keypair=n.asm.Ea).apply(null,arguments)},n._crypto_kx_client_session_keys=function(){return(n._crypto_kx_client_session_keys=n.asm.Fa).apply(null,arguments)},n._crypto_kx_server_session_keys=function(){return(n._crypto_kx_server_session_keys=n.asm.Ga).apply(null,arguments)},n._crypto_kx_publickeybytes=function(){return(n._crypto_kx_publickeybytes=n.asm.Ha).apply(null,arguments)},n._crypto_kx_secretkeybytes=function(){return(n._crypto_kx_secretkeybytes=n.asm.Ia).apply(null,arguments)},n._crypto_kx_seedbytes=function(){return(n._crypto_kx_seedbytes=n.asm.Ja).apply(null,arguments)},n._crypto_kx_sessionkeybytes=function(){return(n._crypto_kx_sessionkeybytes=n.asm.Ka).apply(null,arguments)},n._crypto_pwhash_alg_argon2i13=function(){return(n._crypto_pwhash_alg_argon2i13=n.asm.La).apply(null,arguments)},n._crypto_pwhash_alg_argon2id13=function(){return(n._crypto_pwhash_alg_argon2id13=n.asm.Ma).apply(null,arguments)},n._crypto_pwhash_alg_default=function(){return(n._crypto_pwhash_alg_default=n.asm.Na).apply(null,arguments)},n._crypto_pwhash_bytes_min=function(){return(n._crypto_pwhash_bytes_min=n.asm.Oa).apply(null,arguments)},n._crypto_pwhash_bytes_max=function(){return(n._crypto_pwhash_bytes_max=n.asm.Pa).apply(null,arguments)},n._crypto_pwhash_passwd_min=function(){return(n._crypto_pwhash_passwd_min=n.asm.Qa).apply(null,arguments)},n._crypto_pwhash_passwd_max=function(){return(n._crypto_pwhash_passwd_max=n.asm.Ra).apply(null,arguments)},n._crypto_pwhash_saltbytes=function(){return(n._crypto_pwhash_saltbytes=n.asm.Sa).apply(null,arguments)},n._crypto_pwhash_strbytes=function(){return(n._crypto_pwhash_strbytes=n.asm.Ta).apply(null,arguments)},n._crypto_pwhash_strprefix=function(){return(n._crypto_pwhash_strprefix=n.asm.Ua).apply(null,arguments)},n._crypto_pwhash_opslimit_min=function(){return(n._crypto_pwhash_opslimit_min=n.asm.Va).apply(null,arguments)},n._crypto_pwhash_opslimit_max=function(){return(n._crypto_pwhash_opslimit_max=n.asm.Wa).apply(null,arguments)},n._crypto_pwhash_memlimit_min=function(){return(n._crypto_pwhash_memlimit_min=n.asm.Xa).apply(null,arguments)},n._crypto_pwhash_memlimit_max=function(){return(n._crypto_pwhash_memlimit_max=n.asm.Ya).apply(null,arguments)},n._crypto_pwhash_opslimit_interactive=function(){return(n._crypto_pwhash_opslimit_interactive=n.asm.Za).apply(null,arguments)},n._crypto_pwhash_memlimit_interactive=function(){return(n._crypto_pwhash_memlimit_interactive=n.asm._a).apply(null,arguments)},n._crypto_pwhash_opslimit_moderate=function(){return(n._crypto_pwhash_opslimit_moderate=n.asm.$a).apply(null,arguments)},n._crypto_pwhash_memlimit_moderate=function(){return(n._crypto_pwhash_memlimit_moderate=n.asm.ab).apply(null,arguments)},n._crypto_pwhash_opslimit_sensitive=function(){return(n._crypto_pwhash_opslimit_sensitive=n.asm.bb).apply(null,arguments)},n._crypto_pwhash_memlimit_sensitive=function(){return(n._crypto_pwhash_memlimit_sensitive=n.asm.cb).apply(null,arguments)},n._crypto_pwhash=function(){return(n._crypto_pwhash=n.asm.db).apply(null,arguments)},n._crypto_pwhash_str=function(){return(n._crypto_pwhash_str=n.asm.eb).apply(null,arguments)},n._crypto_pwhash_str_alg=function(){return(n._crypto_pwhash_str_alg=n.asm.fb).apply(null,arguments)},n._crypto_pwhash_str_verify=function(){return(n._crypto_pwhash_str_verify=n.asm.gb).apply(null,arguments)},n._crypto_pwhash_str_needs_rehash=function(){return(n._crypto_pwhash_str_needs_rehash=n.asm.hb).apply(null,arguments)},n._crypto_scalarmult_base=function(){return(n._crypto_scalarmult_base=n.asm.ib).apply(null,arguments)},n._crypto_scalarmult=function(){return(n._crypto_scalarmult=n.asm.jb).apply(null,arguments)},n._crypto_scalarmult_bytes=function(){return(n._crypto_scalarmult_bytes=n.asm.kb).apply(null,arguments)},n._crypto_scalarmult_scalarbytes=function(){return(n._crypto_scalarmult_scalarbytes=n.asm.lb).apply(null,arguments)},n._crypto_secretbox_keybytes=function(){return(n._crypto_secretbox_keybytes=n.asm.mb).apply(null,arguments)},n._crypto_secretbox_noncebytes=function(){return(n._crypto_secretbox_noncebytes=n.asm.nb).apply(null,arguments)},n._crypto_secretbox_macbytes=function(){return(n._crypto_secretbox_macbytes=n.asm.ob).apply(null,arguments)},n._crypto_secretbox_messagebytes_max=function(){return(n._crypto_secretbox_messagebytes_max=n.asm.pb).apply(null,arguments)},n._crypto_secretbox_keygen=function(){return(n._crypto_secretbox_keygen=n.asm.qb).apply(null,arguments)},n._crypto_secretbox_detached=function(){return(n._crypto_secretbox_detached=n.asm.rb).apply(null,arguments)},n._crypto_secretbox_easy=function(){return(n._crypto_secretbox_easy=n.asm.sb).apply(null,arguments)},n._crypto_secretbox_open_detached=function(){return(n._crypto_secretbox_open_detached=n.asm.tb).apply(null,arguments)},n._crypto_secretbox_open_easy=function(){return(n._crypto_secretbox_open_easy=n.asm.ub).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_keygen=function(){return(n._crypto_secretstream_xchacha20poly1305_keygen=n.asm.vb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_init_push=function(){return(n._crypto_secretstream_xchacha20poly1305_init_push=n.asm.wb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_init_pull=function(){return(n._crypto_secretstream_xchacha20poly1305_init_pull=n.asm.xb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_rekey=function(){return(n._crypto_secretstream_xchacha20poly1305_rekey=n.asm.yb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_push=function(){return(n._crypto_secretstream_xchacha20poly1305_push=n.asm.zb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_pull=function(){return(n._crypto_secretstream_xchacha20poly1305_pull=n.asm.Ab).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_statebytes=function(){return(n._crypto_secretstream_xchacha20poly1305_statebytes=n.asm.Bb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_abytes=function(){return(n._crypto_secretstream_xchacha20poly1305_abytes=n.asm.Cb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_headerbytes=function(){return(n._crypto_secretstream_xchacha20poly1305_headerbytes=n.asm.Db).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_keybytes=function(){return(n._crypto_secretstream_xchacha20poly1305_keybytes=n.asm.Eb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_messagebytes_max=function(){return(n._crypto_secretstream_xchacha20poly1305_messagebytes_max=n.asm.Fb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_tag_message=function(){return(n._crypto_secretstream_xchacha20poly1305_tag_message=n.asm.Gb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_tag_push=function(){return(n._crypto_secretstream_xchacha20poly1305_tag_push=n.asm.Hb).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_tag_rekey=function(){return(n._crypto_secretstream_xchacha20poly1305_tag_rekey=n.asm.Ib).apply(null,arguments)},n._crypto_secretstream_xchacha20poly1305_tag_final=function(){return(n._crypto_secretstream_xchacha20poly1305_tag_final=n.asm.Jb).apply(null,arguments)},n._crypto_shorthash_bytes=function(){return(n._crypto_shorthash_bytes=n.asm.Kb).apply(null,arguments)},n._crypto_shorthash_keybytes=function(){return(n._crypto_shorthash_keybytes=n.asm.Lb).apply(null,arguments)},n._crypto_shorthash=function(){return(n._crypto_shorthash=n.asm.Mb).apply(null,arguments)},n._crypto_shorthash_keygen=function(){return(n._crypto_shorthash_keygen=n.asm.Nb).apply(null,arguments)},n._crypto_sign_statebytes=function(){return(n._crypto_sign_statebytes=n.asm.Ob).apply(null,arguments)},n._crypto_sign_bytes=function(){return(n._crypto_sign_bytes=n.asm.Pb).apply(null,arguments)},n._crypto_sign_seedbytes=function(){return(n._crypto_sign_seedbytes=n.asm.Qb).apply(null,arguments)},n._crypto_sign_publickeybytes=function(){return(n._crypto_sign_publickeybytes=n.asm.Rb).apply(null,arguments)},n._crypto_sign_secretkeybytes=function(){return(n._crypto_sign_secretkeybytes=n.asm.Sb).apply(null,arguments)},n._crypto_sign_messagebytes_max=function(){return(n._crypto_sign_messagebytes_max=n.asm.Tb).apply(null,arguments)},n._crypto_sign_seed_keypair=function(){return(n._crypto_sign_seed_keypair=n.asm.Ub).apply(null,arguments)},n._crypto_sign_keypair=function(){return(n._crypto_sign_keypair=n.asm.Vb).apply(null,arguments)},n._crypto_sign=function(){return(n._crypto_sign=n.asm.Wb).apply(null,arguments)},n._crypto_sign_open=function(){return(n._crypto_sign_open=n.asm.Xb).apply(null,arguments)},n._crypto_sign_detached=function(){return(n._crypto_sign_detached=n.asm.Yb).apply(null,arguments)},n._crypto_sign_verify_detached=function(){return(n._crypto_sign_verify_detached=n.asm.Zb).apply(null,arguments)},n._crypto_sign_init=function(){return(n._crypto_sign_init=n.asm._b).apply(null,arguments)},n._crypto_sign_update=function(){return(n._crypto_sign_update=n.asm.$b).apply(null,arguments)},n._crypto_sign_final_create=function(){return(n._crypto_sign_final_create=n.asm.ac).apply(null,arguments)},n._crypto_sign_final_verify=function(){return(n._crypto_sign_final_verify=n.asm.bc).apply(null,arguments)},n._crypto_sign_ed25519_pk_to_curve25519=function(){return(n._crypto_sign_ed25519_pk_to_curve25519=n.asm.cc).apply(null,arguments)},n._crypto_sign_ed25519_sk_to_curve25519=function(){return(n._crypto_sign_ed25519_sk_to_curve25519=n.asm.dc).apply(null,arguments)},n._randombytes_random=function(){return(n._randombytes_random=n.asm.ec).apply(null,arguments)},n._randombytes_stir=function(){return(n._randombytes_stir=n.asm.fc).apply(null,arguments)},n._randombytes_uniform=function(){return(n._randombytes_uniform=n.asm.gc).apply(null,arguments)},n._randombytes_buf=function(){return(n._randombytes_buf=n.asm.hc).apply(null,arguments)},n._randombytes_buf_deterministic=function(){return(n._randombytes_buf_deterministic=n.asm.ic).apply(null,arguments)},n._randombytes_seedbytes=function(){return(n._randombytes_seedbytes=n.asm.jc).apply(null,arguments)},n._randombytes_close=function(){return(n._randombytes_close=n.asm.kc).apply(null,arguments)},n._randombytes=function(){return(n._randombytes=n.asm.lc).apply(null,arguments)},n._sodium_bin2hex=function(){return(n._sodium_bin2hex=n.asm.mc).apply(null,arguments)},n._sodium_hex2bin=function(){return(n._sodium_hex2bin=n.asm.nc).apply(null,arguments)},n._sodium_base64_encoded_len=function(){return(n._sodium_base64_encoded_len=n.asm.oc).apply(null,arguments)},n._sodium_bin2base64=function(){return(n._sodium_bin2base64=n.asm.pc).apply(null,arguments)},n._sodium_base642bin=function(){return(n._sodium_base642bin=n.asm.qc).apply(null,arguments)},n._sodium_init=function(){return(n._sodium_init=n.asm.rc).apply(null,arguments)},n._sodium_pad=function(){return(n._sodium_pad=n.asm.sc).apply(null,arguments)},n._sodium_unpad=function(){return(n._sodium_unpad=n.asm.tc).apply(null,arguments)},n._sodium_version_string=function(){return(n._sodium_version_string=n.asm.uc).apply(null,arguments)},n._sodium_library_version_major=function(){return(n._sodium_library_version_major=n.asm.vc).apply(null,arguments)},n._sodium_library_version_minor=function(){return(n._sodium_library_version_minor=n.asm.wc).apply(null,arguments)},n._sodium_library_minimal=function(){return(n._sodium_library_minimal=n.asm.xc).apply(null,arguments)},n.___errno_location=function(){return(jt=n.___errno_location=n.asm.yc).apply(null,arguments)}),Yt=(n._malloc=function(){return(n._malloc=n.asm.zc).apply(null,arguments)},n._free=function(){return(n._free=n.asm.Ac).apply(null,arguments)},n.__growWasmMemory=function(){return(Yt=n.__growWasmMemory=n.asm.Bc).apply(null,arguments)});function Kt(t){function e(){Lt||(Lt=!0,n.calledRun=!0,Q||(W(),Z(),n.onRuntimeInitialized&&n.onRuntimeInitialized(),$()))}t=t||u,at>0||(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&&lt("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<i;){var a=t[e++];if(128&a){var s=63&t[e++];if(192!=(224&a)){var u=63&t[e++];if((a=224==(240&a)?(15&a)<<12|s<<6|u:(7&a)<<18|s<<12|u<<6|63&t[e++])<65536)o+=String.fromCharCode(a);else{var c=a-65536;o+=String.fromCharCode(55296|c>>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+AkEIAWEBYQATAWEBYgADAWEBYwAOAWEBZAAFAWEBZQADAWEBZgAFAWEGbWVtb3J5AgGAAoCAAgFhBXRhYmxlAXAADgPpAucCJS8CAAAEABolJAMWAwQOAAQBCgYEAAoGAQAFBQMAAAoEAAYCAAUAAAABHgEKGAoGAR8GAAACBgMHAQEAAgIDAwcDEwEEKAAEBAA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CACIAEoAig2AiggAiABKAIsNgIsIAIgASgCMDYCMCACIAEoAjQ2AjQgAiABKAI4NgI4IAIgASgCPDYCPCABQUBrIQEgAkFAayICIAVNDQALCyACIARPDQEDQCACIAEoAgA2AgAgAUEEaiEBIAJBBGoiAiAESQ0ACwwBCyADQQRJBEAgACECDAELIANBfGoiBCAASQRAIAAhAgwBCyAAIQIDQCACIAEtAAA6AAAgAiABLQABOgABIAIgAS0AAjoAAiACIAEtAAM6AAMgAUEEaiEBIAJBBGoiAiAETQ0ACwsgAiADSQRAA0AgAiABLQAAOgAAIAFBAWohASACQQFqIgIgA0cNAAsLIAAL7AEBEn8gAigCBCEDIAEoAgQhBCACKAIIIQUgASgCCCEGIAIoAgwhByABKAIMIQggAigCECEJIAEoAhAhCiACKAIUIQsgASgCFCEMIAIoAhghDSABKAIYIQ4gAigCHCEPIAEoAhwhECACKAIgIREgASgCICESIAIoAiQhEyABKAIkIRQgACACKAIAIAEoAgBqNgIAIAAgEyAUajYCJCAAIBEgEmo2AiAgACAPIBBqNgIcIAAgDSAOajYCGCAAIAsgDGo2AhQgACAJIApqNgIQIAAgByAIajYCDCAAIAUgBmo2AgggACADIARqNgIECxgBAX9BxJwCKAIAIgAEQCAAEQ4ACxACAAtAAQN/IAAgASABQfgAaiICEAsgAEEoaiABQShqIgMgAUHQAGoiBBALIABB0ABqIAQgAhALIABB+ABqIAEgAxALC+wBARJ/IAIoAgQhAyABKAIEIQQgAigCCCEFIAEoAgghBiACKAIMIQcgASgCDCEIIAIoAhAhCSABKAIQIQogAigCFCELIAEoAhQhDCACKAIYIQ0gASgCGCEOIAIoAhwhDyABKAIcIRAgAigCICERIAEoAiAhEiACKAIkIRMgASgCJCEUIAAgASgCACACKAIAazYCACAAIBQgE2s2AiQgACASIBFrNgIgIAAgECAPazYCHCAAIA4gDWs2AhggACAMIAtrNgIUIAAgCiAJazYCECAAIAggB2s2AgwgACAGIAVrNgIIIAAgBCADazYCBAsEAEEgCwoAIAAgASACEDILqg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2AggLQZiYAiALNgIAQYyYAiADNgIACyABQQhqIQALIAxBEGokACAAC5ABAQN/IAAhAQJAAkAgAEEDcUUNACAALQAARQRAQQAPCwNAIAFBAWoiAUEDcUUNASABLQAADQALDAELA0AgASICQQRqIQEgAigCACIDQX9zIANB//37d2pxQYCBgoR4cUUNAAsgA0H/AXFFBEAgAiAAaw8LA0AgAi0AASEDIAJBAWoiASECIAMNAAsLIAEgAGsLZQEDfyACRQRAQQAPCwJAIAAtAAAiA0UNAANAAkAgAyABLQAAIgVHDQAgAkF/aiICRSAFRXINACABQQFqIQEgAC0AASEDIABBAWohACADDQEMAgsLIAMhBAsgBEH/AXEgAS0AAGsLEQAgACABQdCXAigCABECABoLEQAgACABQciXAigCABECABoLCgAgACABIAIQGAsoACAAIAEgAhBRIABBKGogAUEoaiACEFEgAEHQAGogAUHQAGogAhBRCzUBAX8jAEHABWsiAiQAIAAgAhDGAiABIABBwAAQmgEgAkHABRAJIABB0AEQCSACQcAFaiQACwgAIABBIBAfCxEAIAAgAXNB/wFxQX9qQR92CwwAIAAgAUGACBASGgtVAQJ/QdCcAigCACIBIABBA2pBfHEiAmohAAJAIAJBAU5BACAAIAFNGw0AIAA/AEEQdEsEQCAAEAVFDQELQdCcAiAANgIAIAEPC0GAmAJBMDYCAEF/C0YBBH4gASkCCCECIAEpAhAhAyABKQIYIQQgASkCACEFIAAgASkCIDcCICAAIAQ3AhggACADNwIQIAAgAjcCCCAAIAU3AgALtwMBAn8jAEEwayIDJAAgAyABELIBIAAgAygCACIBOgAAIAAgAUEQdjoAAiAAIAFBCHY6AAEgACADKAIEIgJBDnY6AAUgACACQQZ2OgAEIAAgAkECdCABQRh2cjoAAyAAIAMoAggiAUENdjoACCAAIAFBBXY6AAcgACABQQN0IAJBFnZyOgAGIAAgAygCDCICQQt2OgALIAAgAkEDdjoACiAAIAJBBXQgAUEVdnI6AAkgACADKAIQIgFBEnY6AA8gACABQQp2OgAOIAAgAUECdjoADSAAIAFBBnQgAkETdnI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P0tyDQACQCABQQAgAhtFBEAgACADQf8BcRCEAUUNAQwCCyAAIANB/wFxIAEgAkH/AXEQgwENAQtBACEECyAECwQAQQILBABBAQtmAQV/IwBBEGsiAyQAQQohAgNAAkAgAiIEQX9qIgIgA0EGamoiBSABIAFBCm4iBkEKbGtBMHI6AAAgAUEKSQ0AIAYhASACDQELCyAAIAVBCyAEayIAEBIgAGpBADoAACADQRBqJAALjQEBBn8CQCAALQAAIgZBUGpB/wFxQQlLDQAgBiEDIAAhAgNAIAIhByAEQZmz5swBSw0BIANB/wFxQVBqIgIgBEEKbCIDQX9zSw0BIAIgA2ohBCAHQQFqIgItAAAiA0FQakH/AXFBCkkNAAsgACACRiAAIAdHQQAgBkEwRhtyDQAgASAENgIAIAIhBQsgBQsaACAAIAEQrQIiAEEAIAAtAAAgAUH/AXFGGwsKACAAIAEgAhA9C2kBAX8jAEEQayIDIAA2AgwgAyABNgIIQQAhASADQQA6AAcgAgRAA0AgAyADLQAHIAMoAgggAWotAAAgAygCDCABai0AAHNyOgAHIAFBAWoiASACRw0ACwsgAy0AB0F/akEIdkEBcUF/agsMACAAIAEgAiADED4L6QIBAX8CQCAAIAFGDQAgASAAayACa0EAIAJBAXRrTQRAIAAgASACEBIPCyAAIAFzQQNxIQMCQAJAIAAgAUkEQCADBEAgACEDDAMLIABBA3FFBEAgACEDDAILIAAhAwNAIAJFDQQgAyABLQAAOgAAIAFBAWohASACQX9qIQIgA0EBaiIDQQNxDQALDAELAkAgAw0AIAAgAmpBA3EEQANAIAJFDQUgACACQX9qIgJqIgMgASACai0AADoAACADQQNxDQALCyACQQNNDQADQCAAIAJBfGoiAmogASACaigCADYCACACQQNLDQALCyACRQ0CA0AgACACQX9qIgJqIAEgAmotAAA6AAAgAg0ACwwCCyACQQNNDQADQCADIAEoAgA2AgAgAUEEaiEBIANBBGohAyACQXxqIgJBA0sNAAsLIAJFDQADQCADIAEtAAA6AAAgA0EBaiEDIAFBAWohASACQX9qIgINAAsLIAALzBcCE38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CADQj9WDQAgA6ciAUUNAEEAIQoDQCAKICtqIAQgCmotAAA6AAAgCkEBaiIKIAFHDQALCyAAIBI2AjQgACAHNgIwIBxBQGskAAUgAUFAayEBIARBQGshAiADQkB8IQMgByETDAELCwtxACAAQuXwwYvmjZmQMzcCACAAQrLaiMvHrpmQ6wA3AgggACABKAAANgIQIAAgASgABDYCFCAAIAEoAAg2AhggACABKAAMNgIcIAAgASgAEDYCICAAIAEoABQ2AiQgACABKAAYNgIoIAAgASgAHDYCLAsLACAAIAEgAhDaAgupAwEVfyABKAIEIQsgACgCBCEMIAEoAgghDSAAKAIIIQ4gASgCDCEPIAAoAgwhAyABKAIQIRAgACgCECEEIAEoAhQhESAAKAIUIQUgASgCGCESIAAoAhghBiABKAIcIRMgACgCHCEHIAEoAiAhFCAAKAIgIQggASgCJCEVIAAoAiQhCSAAQQAgAmsiAiABKAIAIhYgACgCACIKc3EiFyAKczYCACAAIAkgCSAVcyACcSIKczYCJCAAIAggCCAUcyACcSIJczYCICAAIAcgByATcyACcSIIczYCHCAAIAYgBiAScyACcSIHczYCGCAAIAUgBSARcyACcSIGczYCFCAAIAQgBCAQcyACcSIFczYCECAAIAMgAyAPcyACcSIEczYCDCAAIA4gDSAOcyACcSIDczYCCCAAIAwgCyAMcyACcSIAczYCBCABIAogFXM2AiQgASAJIBRzNgIgIAEgCCATczYCHCABIAcgEnM2AhggASAGIBFzNgIUIAEgBSAQczYCECABIAQgD3M2AgwgASADIA1zNgIIIAEgACALczYCBCABIBYgF3M2AgALKQEBfyMAQYABayICJAAgAkEIaiABEOcCIAAgAkEIahA5IAJBgAFqJAALMgEBfyAAIAEgAUH4AGoiAhALIABBKGogAUEoaiABQdAAaiIBEAsgAEHQAGogASACEAsLrwIBE38gASgCBCEMIAAoAgQhAyABKAIIIQ0gACgCCCEEIAEoAgwhDiAAKAIMIQUgASgCECEPIAAoAhAhBiABKAIUIRAgACgCFCEHIAEoAhghESAAKAIYIQggASgCHCESIAAoAhwhCSABKAI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FBQBEAgACAAKADgAiIDQYEBTwR/IABCgAEQWSAAIABB4ABqIgUQXiAAIAAoAOACQYB/aiIDNgDgAiADQYEBTw0DIAUgAEHgAWogAxASGiAAKADgAgUgAwutEFkgACIDLQDkAgRAIANCfzcAWAsgA0J/NwBQIABB4ABqIgMgACgA4AIiBWpBAEGAAiAFaxAQGiAAIAMQXiAEIAApAAAQESAEQQhyIAApAAgQESAEQRBqIAApABAQESAEQRhqIAApABgQESAEQSBqIAApACAQESAEQShqIAApACgQESAEQTBqIAApADAQESAEQThqIAApADgQESABIAQgAhASGiAAQcAAEAkgA0GAAhAJQQAhAwsgBEFAayQAIAMPCxAUAAtBvg5B3g5BsgJBiw8QAAALJgEBfiAAIAEgACkAQCIBfCICNwBAIAAgACkASCACIAFUrXw3AEgLCQAgAEEANgAAC0UBA38gAEGgD0HAABASQUBrQQBBpQIQEBoDQCAAIAJBA3QiA2oiBCABIANqKQAAIAQpAACFNwAAIAJBAWoiAkEIRw0ACwsWACAAEDUgAQRAIABBkJcCQiIQHBoLC5YBAQF/IwBBMGsiASQAIAEgACkAGDcDGCABIAApABA3AxAgASAAKQAANwMAIAEgACkACDcDCCABIAApACQ3AyAgASABQiggAEEgakEAIABB8JcCKAIAERQAGiAAIAEpAxg3ABggACABKQMQNwAQIAAgASkDCDcACCAAIAEpAwA3AAAgACABKQMgNwAkIAAQXyABQTBqJAALnzgCA38efiMAQYACayICJAADQCADQQN0IgQgAkGAAWpqIAEgBGopAAA3AwAgA0EBaiIDQRBHDQALIAIgAEHAABASIgFC8e30+KWn/aelfzcDWCAAKQBYISAgACkASCEcIAApAFAhCyABKQMAIAEpAyAiISABKQOAAXx8IhYgACkAQIVC0YWa7/rPlIfRAIVBIBAGIRsgASAbIBtCiJLznf/M+YTqAHwiHSAhhUEYEAYiHyAWfCABKQOIASIhfCIIhUEQEAYiFjcDYCABIBYgHXwiHTcDQCABIB0gH4VBPxAGIh83AyAgHCABKQMIIAEpA5ABIhIgASkDKCIVfHwiB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gogDWpBEhAIIRQgAiADakEHEAggDnMiDiADakEJEAggEHMiByAOakENEAggAnMiFSAHakESEAghFiAGIAxqQQcQCCAScyICIAZqQQkQCCAIcyIIIAJqQQ0QCCAMcyIMIAhqQRIQCCEXIAIgBSATcyIFakEHEAggCnMiCiAFakEJEAggB3MiECAKakENEAggAnMiEiAQakESEAggBXMhBSAEIBRzIgQgC2pBBxAIIBVzIgIgBGpBCRAIIAhzIgggAmpBDRAIIAtzIgsgCGpBEhAIIARzIQQgAyAWcyIDIAFqQQcQCCAMcyIMIANqQQkQCCAJcyIJIAxqQQ0QCCABcyIBIAlqQRIQCCADcyEDIAYgF3MiBiAOakEHEAggEXMiByAGakEJEAggDXMiDSAHakENEAggDnMiDiANakESEAggBnMhBiAPQQJLIREgD0F+aiEPIBENAAsgACAFEAogAEEEaiAEEAogAEEIaiADEAogAEEMaiAGEAogAEEQaiACEAogAEEUaiAIEAogAEEYaiAJEAogAEEcaiABEApBAAsEAEEICygAIAJCgICAgBBaBEAQFAALIAAgASACIAMgBCAFQfCXAigCABEUABoLJAAgAUKAgICAEFoEQBAUAAsgACABIAIgA0HolwIoAgAREQAaCxkAIAAgASACIANCACAEQeCXAigCABEVABoLEAAgACABQdiXAigCABECAAsrAQJ/IwBBEGsiACQAIABBADoAD0GACCAAQQ9qQQAQASEBIABBEGokACABC5USAR5+IAAQDyEQIAA1AAIhESAAQQVqEA8hEiAANQAHIRkgADUACiEaIABBDWoQDyEbIAA1AA8hCyAAQRJqEA8hCiAAQRVqEA8hCCAANQAXIQUgAEEaahAPIQEgADUAHCEcIAA1AB8hEyAAQSJqEA8hFCAANQAkIQwgAEEnahAPIQ8gAEEqahAPIQkgADUALCEGIAAgAEEvahAPQgKIQv///wCDIgJC0asIfiABQgKIQv///wCDfCAANQAxQgeIQv///wCDIgFC04xDfnwgADUANEIEiEL///8AgyIDQuf2J358IABBN2oQD0IBiEL///8AgyIEQpjaHH58IAA1ADlCBohC////AIMiB0KT2Ch+fCIVIAZC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HhiAEQg6IhDwAByAAIAJCg6FWfiALQv///wCDfCADQhWHfCIBQgeIPAAOIAAgA0L///8AgyIDQgSGIAdCEYiEPAAKIAAgCkL///8AgyABQhWHfCICQgqIPAARIAAgAkICiDwAECAAIAFC////AIMiBEIBhiADQhSIhDwADSAAIAVC////AIMgAkIVh3wiAUINiDwAFCAAIAFCBYg8ABMgACACQv///wCDIgNCBoYgBEIPiIQ8AA8gACAQQv///wCDIAFCFYd8IgI8ABUgACABQgOGIANCEoiEPAASIAAgAkIIiDwAFiAAIBFC////AIMgAkIVh3wiAUILiDwAGSAAIAFCA4g8ABggACASQv///wCDIAFCFYd8IgNCBog8ABsgACACQhCIQh+DIAFC////AIMiAUIFhoQ8ABcgACAIQv///wCDIANCFYd8IgJCEYg8AB8gACACQgmIPAAeIAAgAkIBiDwAHSAAIANC////AIMiA0IChiABQhOIhDwAGiAAIAJCB4YgA0IOiIQ8ABwL2gEBBX8jAEEQayIDQQA2AAsgA0EANgIIA0AgACACai0AACEEQQAhAQNAIANBCGogAWoiBSAFLQAAIAFBBXRBoBlqIAJqLQAAIARzcjoAACABQQFqIgFBB0cNAAsgAkEBaiICQR9HDQALIAAtAB9B/wBxIQJBACEAQQAhAQNAIANBCGogAWoiBCAELQAAIAIgAUEFdEG/GWotAABzcjoAACABQQFqIgFBB0cNAAtBACEBA0AgA0EIaiAAai0AAEF/aiABciEBIABBAWoiAEEHRw0ACyABQQh2QQFxC54DAQV/IwBB0ANrIgIkAANAIANBAXQiBSACQZADamogASADai0AACIGQQ9xOgAAIAJBkANqIAVBAXJqIAZBBHY6AAAgA0EBaiIDQSBHDQALQQAhAwNAIAJBkANqIARqIgEgAS0AACADaiIBIAFBCGoiAUHwAXFrOgAAIAFBGHRBHHUhAyAEQQFqIgRBP0cNAAsgAiACLQDPAyADajoAzwMgABCqAUEBIQMDQCACIANBAXYgAkGQA2ogA2osAAAQqAEgAkHwAWogACACEHcgACACQfABahAVIANBPkkhASADQQJqIQMgAQ0ACyACQ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B/gFLcg0AQQEhASAEQQUgBEEFSRtBAWohCSADIQIDQCABIQcCQCAAIAJqIgEsAAAiCEUNACAIIAd0IgggBiwAACIKaiILQQ9MBEAgBiALOgAAIAFBADoAAAwBCyAKIAhrIgFBcUgNAiAGIAE6AAADQCAAIAJqIgEtAABFBEAgAUEBOgAADAILIAFBADoAACACQf8BSSEBIAJBAWohAiABDQALCyAHQQFqIgEgBWohAiAHIAlHDQALCyAEQX9qIQQgA0GAAkcNAAsLlQEBBH8jAEEwayIFJAAgACABQShqIgMgARATIABBKGoiBCADIAEQFiAAQdAAaiIDIAAgAkEoahALIAQgBCACEAsgAEH4AGoiBiACQfgAaiABQfgAahALIAAgAUHQAGogAkHQAGoQCyAFIAAgABATIAAgAyAEEBYgBCADIAQQEyADIAUgBhAWIAYgBSAGEBMgBUEwaiQAC9QCAQN/IwBBoAJrIgIkACAAQShqIgMgARB6IABB0ABqIgQQHSACQfABaiADEAwgAkHAAWogAkHwAWpB0BAQCyACQfABaiACQfABaiAEEBYgAkHAAWogAkHAAWogBBATIAJBkAFqIAJBwAFqEAwgAkGQAWogAkGQAWogAkHAAWoQCyAAIAJBkAFqEAwgACAAIAJBwAFqEAsgACAAIAJB8AFqEAsgACAAELABIAAgACACQZABahALIAAgACACQfABahALIAJB4ABqIAAQDCACQeAAaiACQeAAaiACQcABahALIAJBMGogAkHgAGogAkHwAWoQFgJ/IAJBMGoQUkUEQCACIAJB4ABqIAJB8AFqEBNBfyACEFJFDQEaIAAgAEGAERALCyAAEK4BIAEtAB9BB3ZGBEAgACAAEHkLIABB+ABqIAAgAxALQQALIQAgAkGgAmokACAACyYBAX8jAEEgayIBJAAgASAAEC0gAS0AACEAIAFBIGokACAAQQFxC6oMAQZ/IAAgAWohBQJAAkAgACgCBCICQQFxDQAgAkEDcUUNASAAKAIAIgMgAWohASAAIANrIgBBmJgCKAIARwRAQZSYAigCACEEIANB/wFNBEAgACgCCCIEIANBA3YiA0EDdEGsmAJqRxogBCAAKAIMIgJ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AkEwaiACQeAAahAMQQEhAwNAIAJBMGogAkEwahAMIANBAWoiA0EKRw0ACyACQTBqIAJBMGogAkHgAGoQCyACIAJBMGoQDEEBIQMDQCACIAIQDCADQQFqIgNBFEcNAAsgAkEwaiACIAJBMGoQCyACQTBqIAJBMGoQDEEBIQMDQCACQTBqIAJBMGoQDCADQQFqIgNBCkcNAAsgAkHgAGogAkEwaiACQeAAahALIAJBMGogAkHgAGoQDEEBIQMDQCACQTBqIAJBMGoQDCADQQFqIgNBMkcNAAsgAkEwaiACQTBqIAJB4ABqEAsgAiACQTBqEAxBASEDA0AgAiACEAwgA0EBaiIDQeQARw0ACyACQTBqIAIgAkEwahALIAJBMGogAkEwahAMQQEhAwNAIAJBMGogAkEwahAMIANBAWoiA0EyRw0ACyACQeAAaiACQTBqIAJB4ABqEAsgAkHgAGogAkHgAGoQDCACQeAAaiACQeAAahAMIAAgAkHgAGogARALIAJBkAFqJAALKgACfwJ/QTBBgH8gAUkNARogARC0ASIBRQsEQEEwDwsgACABNgIAQQALC84CAQl/IAAgASgCICICIAEoAhwiAyABKAIYIgQgASgCFCIFIAEoAhAiBiABKAIMIgcgASgCCCIIIAEoAgQiCSABKAIAIgogASgCJCIBQRNsQYCAgAhqQRl2akEadWpBGXVqQRp1akEZdWpBGnVqQRl1akEadWpBGXVqQRp1IAFqQRl1QRNsIApqIgpB////H3E2AgAgACAJIApBGnVqIglB////D3E2AgQgACAIIAlBGXVqIghB////H3E2AgggACAHIAhBGnVqIgdB////D3E2AgwgACAGIAdBGXVqIgZB////H3E2AhAgACAFIAZBGnVqIgVB////D3E2AhQgACAEIAVBGXVqIgRB////H3E2AhggACADIARBGnVqIgNB////D3E2AhwgACACIANBGXVqIgJB////H3E2AiAgACABIAJBGnVqQf///w9xNgIkCwoAIAAgARB7QQAL1wIBBn9BgH8gAE0EQEGAmAJBMDYCAEEADwtBECAAQQtqQXhxIABBC0kbIgNBzABqECAiAEUEQEEADwsgAEF4aiEBAkAgAEE/cUUEQC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iADrSAErUIghoQgBRCEAgsVACAAIAEgAq0gA61CIIaEIAQQiQILJQAgACABIAIgAyAEIAWtIAatQiCGhCAHIAitIAmtQiCGhBCNAgslACAAIAEgAiADIAStIAWtQiCGhCAGIAetIAitQiCGhCAJEI4CCxcAIAAgASACrSADrUIghoQgBCAFELkCCxgAIAAgASACIAOtIAStQiCGhCAFIAYQagsXACAAIAEgAq0gA61CIIaEIAQgBRC6AgsYACAAIAEgAiADrSAErUIghoQgBSAGEGsLEwAgACABrSACrUIghoQgAxCRAgsTACAAIAEgAq0gA61CIIaEEJICCxYAIAAgASkAADcAMCAAIAEpAAg3ADgLIQAgACABIAKtIAOtQiCGhCAErSAFrUIghoQgBiAHEJMCCx8AIAAgASACrSADrUIghoQgBK0gBa1CIIaEIAYQiwELLQAgACABrSACrUIghoQgAyAErSAFrUIghoQgBiAHrSAIrUIghoQgCSAKEJQCCxcAIAAgASACrSADrUIghoQgBCAFELICCxIAIAAgASACrSADrUIghoQQNAsSACAAIAEgAq0gA61CIIaEECULGQAgACABIAIgA60gBK1CIIaEIAUgBhCTAQsXACAAIAEgAq0gA61CIIaEIAQgBRC0AgsVACAAIAEgAq0gA61CIIaEIAQQtQILGQAgACABIAKtIAOtQiCGhCAEIAUgBhCUAQsWACAAIAEpAAA3ACAgACABKQAINwAoCxcAIAAgASACrSADrUIghoQgBCAFELcCCxsAIAAgASACIAOtIAStQiCGhCAFIAYgBxCVAQsYACAAIAEgAiADrSAErUIghoQgBSAGEGgLGQAgACABIAKtIAOtQiCGhCAEIAUgBhCWAQsXACAAIAEgAq0gA61CIIaEIAQgBRC4AgsbACAAIAEgAiADrSAErUIghoQgBSAGIAcQlwELGAAgACABIAIgA60gBK1CIIaEIAUgBhBpCxUAIAAgASACrSADrUIghoQgBBC/AgsVACAAIAEgAq0gA61CIIaEIAQQmQELJQAgACABIAMgBK0gBa1CIIaEIAYgB60gCK1CIIaEIAkgChDIAgslACAAIAIgA60gBK1CIIaEIAUgBiAHrSAIrUIghoQgCSAKEJsBCyUAIAAgASACIAOtIAStQiCGhCAFIAatIAetQiCGhCAJIAoQygILJwAgACABIAIgAyAErSAFrUIghoQgBiAHrSAIrUIghoQgCiALEJwBCyUAIAAgASADIAStIAWtQiCGhCAGIAetIAitQiCGhCAJIAoQzgILJQAgACACIAOtIAStQiCGhCAFIAYgB60gCK1CIIaEIAkgChCdAQslACAAIAEgAyAErSAFrUIghoQgBiAHrSAIrUIghoQgCSAKEM8CCyUAIAAgAiADrSAErUIghoQgBSAGIAetIAitQiCGhCAJIAoQngELJQAgACABIAIgA60gBK1CIIaEIAUgBq0gB61CIIaEIAkgChDQAgsnACAAIAEgAiADIAStIAWtQiCGhCAGIAetIAitQiCGhCAKIAsQnwELJQAgACABIAIgA60gBK1CIIaEIAUgBq0gB61CIIaEIAkgChDRAgsnACAAIAEgAiADIAStIAWtQiCGhCAGIAetIAitQiCGhCAKIAsQoAELBABBCgsGAEGylwILCwAgACABIAIQgQILDQAgACABIAIgAxCCAgsIACAAEDVBAAsJACAAIAEQhwILCwAgACABIAIQiQELBQBBv38LBQBB0AELLAEBfyMAQUBqIgMkACAAIAMQJyABIANCwAAgAkEBEIYBIQAgA0FAayQAIAALLgEBfyMAQUBqIgQkACAAIAQQJyABIAIgBELAACADQQEQiAEhACAEQUBrJAAgAAt7AQF/AkACQAJAIANCwABUDQAgA0JAfCIDQr////8PVg0AIAIgAkFAayIFIAMgBBCFAUUNASAARQ0AIABBACADpxAQGgtBfyECIAFFDQEgAUIANwMAQX8PCyABBEAgASADNwMAC0EAIQIgAEUNACAAIAUgA6cQRxoLIAILcwEBfyMAQRBrIgUkACAAIAVBCGogAEFAayACIAOnIgIQRyADIAQQhwEaAkAgBSkDCELAAFIEQCABBEAgAUIANwMACyAAQQAgAkFAaxAQGkF/IQAMAQtBACEAIAFFDQAgASADQkB9NwMACyAFQRBqJAAgAAttAQF/IwBBQGoiAiQAIAIgAUIgEDQaIAIgAi0AAEH4AXE6AAAgAiACLQAfQT9xQc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qIANB4ABqIANBwAFqEBMgA0HAAWogA0HgAGogA0HAAWoQFiADQfABaiADIANBMGoQCyADIAMgA0EwahAWIANBwAFqIANBwAFqEAwgA0HgAGogAxDdAiADQZABaiADQZABahAMIANBMGogA0EwaiADQeAAahATIANB4ABqIANBoAJqIANBwAFqEAsgA0HAAWogAyADQTBqEAsgASEEIAUNAAsgA0HwAWogA0GQAWogARBOIANBwAFqIANB4ABqIAEQTiADQcABaiADQcABahA6IANB8AFqIANB8AFqIANBwAFqEAsgACADQfABahAtQQAhBAsgA0HQAmokACAEC1QBBX9BICEBQQEhAgNAIAAgAUF/aiIBai0AACIEIAFBgBtqLQAAIgVrQQh1IAJxIANB/wFxciEDIAQgBXNB//8DakEIdiACcSECIAENAAsgA0EARwvoHgE6fiABEA8hEiABNQACIRMgAUEFahAPIRQgATUAByEVIAE1AAohFiABQQ1qEA8hFyABNQAPIREgAUESahAPIQ4gAUEVahAPIRAgATUAFyEIIAFBGmoQDyEEIAE1ABwhByACEA8hGCACNQACIRkgAkEFahAPIRogAjUAByEbIAI1AAohCiACQQ1qEA8hCSACNQAPIQsgAkESahAPIQ8gAkEVahAPIQwgAjUAFyENIAJBGmoQDyEFIAI1ABwhBiADEA8hMiADNQACITMgA0EFahAPITQgAzUAByE1IAM1AAohISADQQ1qEA8hLiADNQAPISggA0ESahAPISkgA0EVahAPISIgACAGQgeIIgYgBEICiEL///8AgyIEfiAFQgKIQv///wCDIgUgB0IHiCIHfnwgBCAFfiANQgWIQv///wCDIg0gB358IAYgCEIFiEL///8AgyIIfnwiH0KAgEB9IiBCFYd8IiNCgIBAfSIcQhWHIAYgB34iJCAkQoCAQH0iJUKAgIB/g318IiRCg6FWfiAlQhWHIiVC0asIfnwgCUIBiEL///8AgyIJIAR+IApCBIhC////AIMiCiAHfnwgC0IGiEL///8AgyILIAh+fCAMQv///wCDIgwgDkIDiEL///8AgyIOfnwgD0IDiEL///8AgyIPIBBC////AIMiEH58IA0gEUIGiEL///8AgyIRfnwg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QQv///wCDIARCFYd8IgVCBog8ABsgACAGQhCIQh+DIARC////AIMiBEIFhoQ8ABcgACANQv///wCDIAVCFYd8IgZCEYg8AB8gACAGQgmIPAAeIAAgBkIBiDwAHSAAIAVC////AIMiBUIChiAEQhOIhDwAGiAAIAZCB4YgBUIOiIQ8ABwLUgEDfyAALQAfQX9zQf8AcSEBQR4hAgNAIAEgACACai0AAEF/c3IhASACQX9qIgMhAiADDQALIAFB/wFxQX9qQewBIAAtAABrcUEIdkF/c0EBcQuMBAECfyMAQeANayICJAAgAkHgA2ogARAbIAJBwAJqIAEQTyACIAJBwAJqEBUgAkHAAmogAiACQeADahAaIAJBoAFqIAJBwAJqEBUgAkGABWoiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkGgBmoiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkHAB2oiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkHgCGoiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkGACmoiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkGgC2oiASACQaABahAbIAJBwAJqIAIgARAaIAJBoAFqIAJBwAJqEBUgAkHADGogAkGgAWoQGyAAEKoBQfwBIQEDQCACQcACaiAAEE8CQCABIgNBoIsCaiwAACIBQQFOBEAgAkGgAWogAkHAAmoQFSACQcACaiACQaABaiACQeADaiABQf4BcUEBdkGgAWxqEBoMAQsgAUF/Sg0AIAJBoAFqIAJBwAJqEBUgAkHAAmogAkGgAWogAkHgA2pBACABa0H+AXFBAXZBoAFsahCsAQsgACACQcACahAVIANBf2ohASADDQALIAJB4A1qJAALJQEBfyMAQaABayIBJAAgASAAEOMCIAEQUiEAIAFBoAFqJAAgAAvwAQECfyMAQYABayIDJAAgABAdIABBKGoQHSAAQdAAahA4IAAgASACQQAgAkGAAXFBB3YiBGsgAnFBAXRrQRh0QRh1I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qjv5v/I7/m9+QADPlp/9J/Jv/XnQM/5ig2v+c7iX/s+rP/8UAs/+apI0A4cRoAAojGf7R1PL/Yf3e/rhl5QDeEn8BpIiH/x7PjP6SYfMAgcAa/slUIf9vCk7/k1Gy/wQEGACh7tf/Bo0hADXXDv8ptdD/54udALPL3f//uXEAveKs/3FC1v/KPi3/ZkAI/06uEP6FdUT/AEHAGQsBAQBB4BkLsAEm6JWPwrInsEXD9Iny75jw1d+sBdPGMzmxOAKIbVP8BccXanA9TdhPujwLdg0QZw8qIFP6LDnMxk7H/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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HmL0/538CMAQb3Z/ruzov+gu+YAPvgO/zxOYQD/96P/4Ttb/2tHOv/xLyEBMnXsANuxP/70WrMAI8LX/71DMv8Xh4EAaL0l/7k5wgAjPuf/3PhsAAznsgCPUFsBg11l/5AnAgH/+rIABRHs/osgLgDMvCb+9XM0/79xSf6/bEX/FkX1ARfLsgCqY6oAQfhvACVsmf9AJUUAAFg+/lmUkP+/ROAB8Sc1ACnL7f+RfsL/3Sr9/xljlwBh/d8BSnMx/wavSP87sMsAfLf5AeTkYwCBDM/+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/7wLW824mBpdu16Ti1S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AAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAA0=";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;r<t.length;r++){var n=t[r];n>255&&(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(c<t.length);return u};function Ut(t){if("boolean"==typeof p&&p){var e;try{e=a.from(t,"base64")}catch(r){e=new a(t,"base64")}return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}try{for(var r=Ft(t),n=new Uint8Array(r.length),i=0;i<r.length;++i)n[i]=r.charCodeAt(i);return n}catch(t){throw new Error("Converting base64 string to bytes failed.")}}function Lt(t){if(dt(t))return Ut(t.slice(pt.length))}var Gt,Ht={a:Ct,c:Qt,b:Bt,e:Mt,f:xt,memory:E,d:Rt,table:Q},jt=(Et(),u.___wasm_call_ctors=function(){return(jt=u.___wasm_call_ctors=u.asm.g).apply(null,arguments)}),Yt=(u._crypto_aead_chacha20poly1305_encrypt_detached=function(){return(u._crypto_aead_chacha20poly1305_encrypt_detached=u.asm.h).apply(null,arguments)},u._crypto_aead_chacha20poly1305_encrypt=function(){return(u._crypto_aead_chacha20poly1305_encrypt=u.asm.i).apply(null,arguments)},u._crypto_aead_chacha20poly1305_ietf_encrypt_detached=function(){return(u._crypto_aead_chacha20poly1305_ietf_encrypt_detached=u.asm.j).apply(null,arguments)},u._crypto_aead_chacha20poly1305_ietf_encrypt=function(){return(u._crypto_aead_chacha20poly1305_ietf_encrypt=u.asm.k).apply(null,arguments)},u._crypto_aead_chacha20poly1305_decrypt_detached=function(){return(u._crypto_aead_chacha20poly1305_decrypt_detached=u.asm.l).apply(null,arguments)},u._crypto_aead_chacha20poly1305_decrypt=function(){return(u._crypto_aead_chacha20poly1305_decrypt=u.asm.m).apply(null,arguments)},u._crypto_aead_chacha20poly1305_ietf_decrypt_detached=function(){return(u._crypto_aead_chacha20poly1305_ietf_decrypt_detached=u.asm.n).apply(null,arguments)},u._crypto_aead_chacha20poly1305_ietf_decrypt=function(){return(u._crypto_aead_chacha20poly1305_ietf_decrypt=u.asm.o).apply(null,arguments)},u._crypto_aead_chacha20poly1305_ietf_keybytes=function(){return(u._crypto_aead_chacha20poly1305_ietf_keybytes=u.asm.p).apply(null,arguments)},u._crypto_aead_chacha20poly1305_ietf_npubbytes=function(){return(u._crypto_aead_chacha20poly1305_ietf_npubbytes=u.asm.q).apply(null,arguments)},u._crypto_aead_chacha20poly1305_ietf_nsecbytes=function(){return(u._crypto_aead_chacha20poly1305_ietf_nsecbytes=u.asm.r).apply(null,arguments)},u._crypto_aead_chacha20poly1305_ietf_abytes=function(){return(u._crypto_aead_chacha20poly1305_ietf_abytes=u.asm.s).apply(null,arguments)},u._crypto_aead_chacha20poly1305_ietf_messagebytes_max=function(){return(u._crypto_aead_chacha20poly1305_ietf_messagebytes_max=u.asm.t).apply(null,arguments)},u._crypto_aead_chacha20poly1305_ietf_keygen=function(){return(u._crypto_aead_chacha20poly1305_ietf_keygen=u.asm.u).apply(null,arguments)},u._crypto_aead_chacha20poly1305_keybytes=function(){return(u._crypto_aead_chacha20poly1305_keybytes=u.asm.v).apply(null,arguments)},u._crypto_aead_chacha20poly1305_npubbytes=function(){return(u._crypto_aead_chacha20poly1305_npubbytes=u.asm.w).apply(null,arguments)},u._crypto_aead_chacha20poly1305_nsecbytes=function(){return(u._crypto_aead_chacha20poly1305_nsecbytes=u.asm.x).apply(null,arguments)},u._crypto_aead_chacha20poly1305_abytes=function(){return(u._crypto_aead_chacha20poly1305_abytes=u.asm.y).apply(null,arguments)},u._crypto_aead_chacha20poly1305_messagebytes_max=function(){return(u._crypto_aead_chacha20poly1305_messagebytes_max=u.asm.z).apply(null,arguments)},u._crypto_aead_chacha20poly1305_keygen=function(){return(u._crypto_aead_chacha20poly1305_keygen=u.asm.A).apply(null,arguments)},u._crypto_aead_xchacha20poly1305_ietf_encrypt_detached=function(){return(u._crypto_aead_xchacha20poly1305_ietf_encrypt_detached=u.asm.B).apply(null,arguments)},u._crypto_aead_xchacha20poly1305_ietf_encrypt=function(){return(u._crypto_aead_xchacha20poly1305_ietf_encrypt=u.asm.C).apply(null,arguments)},u._crypto_aead_xchacha20poly1305_ietf_decrypt_detached=function(){return(u._crypto_aead_xchacha20poly1305_ietf_decrypt_detached=u.asm.D).apply(null,arguments)},u._crypto_aead_xchacha20poly1305_ietf_decrypt=function(){return(u._crypto_aead_xchacha20poly1305_ietf_decrypt=u.asm.E).apply(null,arguments)},u._crypto_aead_xchacha20poly1305_ietf_keybytes=function(){return(u._crypto_aead_xchacha20poly1305_ietf_keybytes=u.asm.F).apply(null,arguments)},u._crypto_aead_xchacha20poly1305_ietf_npubbytes=function(){return(u._crypto_aead_xchacha20poly1305_ietf_npubbytes=u.asm.G).apply(null,arguments)},u._crypto_aead_xchacha20poly1305_ietf_nsecbytes=function(){return(u._crypto_aead_xchacha20poly1305_ietf_nsecbytes=u.asm.H).apply(null,arguments)},u._crypto_aead_xchacha20poly1305_ietf_abytes=function(){return(u._crypto_aead_xchacha20poly1305_ietf_abytes=u.asm.I).apply(null,arguments)},u._crypto_aead_xchacha20poly1305_ietf_messagebytes_max=function(){return(u._crypto_aead_xchacha20poly1305_ietf_messagebytes_max=u.asm.J).apply(null,arguments)},u._crypto_aead_xchacha20poly1305_ietf_keygen=function(){return(u._crypto_aead_xchacha20poly1305_ietf_keygen=u.asm.K).apply(null,arguments)},u._crypto_auth_bytes=function(){return(u._crypto_auth_bytes=u.asm.L).apply(null,arguments)},u._crypto_auth_keybytes=function(){return(u._crypto_auth_keybytes=u.asm.M).apply(null,arguments)},u._crypto_auth=function(){return(u._crypto_auth=u.asm.N).apply(null,arguments)},u._crypto_auth_verify=function(){return(u._crypto_auth_verify=u.asm.O).apply(null,arguments)},u._crypto_auth_keygen=function(){return(u._crypto_auth_keygen=u.asm.P).apply(null,arguments)},u._crypto_box_seedbytes=function(){return(u._crypto_box_seedbytes=u.asm.Q).apply(null,arguments)},u._crypto_box_publickeybytes=function(){return(u._crypto_box_publickeybytes=u.asm.R).apply(null,arguments)},u._crypto_box_secretkeybytes=function(){return(u._crypto_box_secretkeybytes=u.asm.S).apply(null,arguments)},u._crypto_box_beforenmbytes=function(){return(u._crypto_box_beforenmbytes=u.asm.T).apply(null,arguments)},u._crypto_box_noncebytes=function(){return(u._crypto_box_noncebytes=u.asm.U).apply(null,arguments)},u._crypto_box_macbytes=function(){return(u._crypto_box_macbytes=u.asm.V).apply(null,arguments)},u._crypto_box_messagebytes_max=function(){return(u._crypto_box_messagebytes_max=u.asm.W).apply(null,arguments)},u._crypto_box_seed_keypair=function(){return(u._crypto_box_seed_keypair=u.asm.X).apply(null,arguments)},u._crypto_box_keypair=function(){return(u._crypto_box_keypair=u.asm.Y).apply(null,arguments)},u._crypto_box_beforenm=function(){return(u._crypto_box_beforenm=u.asm.Z).apply(null,arguments)},u._crypto_box_detached_afternm=function(){return(u._crypto_box_detached_afternm=u.asm._).apply(null,arguments)},u._crypto_box_detached=function(){return(u._crypto_box_detached=u.asm.$).apply(null,arguments)},u._crypto_box_easy_afternm=function(){return(u._crypto_box_easy_afternm=u.asm.aa).apply(null,arguments)},u._crypto_box_easy=function(){return(u._crypto_box_easy=u.asm.ba).apply(null,arguments)},u._crypto_box_open_detached_afternm=function(){return(u._crypto_box_open_detached_afternm=u.asm.ca).apply(null,arguments)},u._crypto_box_open_detached=function(){return(u._crypto_box_open_detached=u.asm.da).apply(null,arguments)},u._crypto_box_open_easy_afternm=function(){return(u._crypto_box_open_easy_afternm=u.asm.ea).apply(null,arguments)},u._crypto_box_open_easy=function(){return(u._crypto_box_open_easy=u.asm.fa).apply(null,arguments)},u._crypto_box_seal=function(){return(u._crypto_box_seal=u.asm.ga).apply(null,arguments)},u._crypto_box_seal_open=function(){return(u._crypto_box_seal_open=u.asm.ha).apply(null,arguments)},u._crypto_box_sealbytes=function(){return(u._crypto_box_sealbytes=u.asm.ia).apply(null,arguments)},u._crypto_generichash_bytes_min=function(){return(u._crypto_generichash_bytes_min=u.asm.ja).apply(null,arguments)},u._crypto_generichash_bytes_max=function(){return(u._crypto_generichash_bytes_max=u.asm.ka).apply(null,arguments)},u._crypto_generichash_bytes=function(){return(u._crypto_generichash_bytes=u.asm.la).apply(null,arguments)},u._crypto_generichash_keybytes_min=function(){return(u._crypto_generichash_keybytes_min=u.asm.ma).apply(null,arguments)},u._crypto_generichash_keybytes_max=function(){return(u._crypto_generichash_keybytes_max=u.asm.na).apply(null,arguments)},u._crypto_generichash_keybytes=function(){return(u._crypto_generichash_keybytes=u.asm.oa).apply(null,arguments)},u._crypto_generichash_statebytes=function(){return(u._crypto_generichash_statebytes=u.asm.pa).apply(null,arguments)},u._crypto_generichash=function(){return(u._crypto_generichash=u.asm.qa).apply(null,arguments)},u._crypto_generichash_init=function(){return(u._crypto_generichash_init=u.asm.ra).apply(null,arguments)},u._crypto_generichash_update=function(){return(u._crypto_generichash_update=u.asm.sa).apply(null,arguments)},u._crypto_generichash_final=function(){return(u._crypto_generichash_final=u.asm.ta).apply(null,arguments)},u._crypto_generichash_keygen=function(){return(u._crypto_generichash_keygen=u.asm.ua).apply(null,arguments)},u._crypto_hash_bytes=function(){return(u._crypto_hash_bytes=u.asm.va).apply(null,arguments)},u._crypto_hash=function(){return(u._crypto_hash=u.asm.wa).apply(null,arguments)},u._crypto_kdf_bytes_min=function(){return(u._crypto_kdf_bytes_min=u.asm.xa).apply(null,arguments)},u._crypto_kdf_bytes_max=function(){return(u._crypto_kdf_bytes_max=u.asm.ya).apply(null,arguments)},u._crypto_kdf_contextbytes=function(){return(u._crypto_kdf_contextbytes=u.asm.za).apply(null,arguments)},u._crypto_kdf_keybytes=function(){return(u._crypto_kdf_keybytes=u.asm.Aa).apply(null,arguments)},u._crypto_kdf_derive_from_key=function(){return(u._crypto_kdf_derive_from_key=u.asm.Ba).apply(null,arguments)},u._crypto_kdf_keygen=function(){return(u._crypto_kdf_keygen=u.asm.Ca).apply(null,arguments)},u._crypto_kx_seed_keypair=function(){return(u._crypto_kx_seed_keypair=u.asm.Da).apply(null,arguments)},u._crypto_kx_keypair=function(){return(u._crypto_kx_keypair=u.asm.Ea).apply(null,arguments)},u._crypto_kx_client_session_keys=function(){return(u._crypto_kx_client_session_keys=u.asm.Fa).apply(null,arguments)},u._crypto_kx_server_session_keys=function(){return(u._crypto_kx_server_session_keys=u.asm.Ga).apply(null,arguments)},u._crypto_kx_publickeybytes=function(){return(u._crypto_kx_publickeybytes=u.asm.Ha).apply(null,arguments)},u._crypto_kx_secretkeybytes=function(){return(u._crypto_kx_secretkeybytes=u.asm.Ia).apply(null,arguments)},u._crypto_kx_seedbytes=function(){return(u._crypto_kx_seedbytes=u.asm.Ja).apply(null,arguments)},u._crypto_kx_sessionkeybytes=function(){return(u._crypto_kx_sessionkeybytes=u.asm.Ka).apply(null,arguments)},u._crypto_pwhash_alg_argon2i13=function(){return(u._crypto_pwhash_alg_argon2i13=u.asm.La).apply(null,arguments)},u._crypto_pwhash_alg_argon2id13=function(){return(u._crypto_pwhash_alg_argon2id13=u.asm.Ma).apply(null,arguments)},u._crypto_pwhash_alg_default=function(){return(u._crypto_pwhash_alg_default=u.asm.Na).apply(null,arguments)},u._crypto_pwhash_bytes_min=function(){return(u._crypto_pwhash_bytes_min=u.asm.Oa).apply(null,arguments)},u._crypto_pwhash_bytes_max=function(){return(u._crypto_pwhash_bytes_max=u.asm.Pa).apply(null,arguments)},u._crypto_pwhash_passwd_min=function(){return(u._crypto_pwhash_passwd_min=u.asm.Qa).apply(null,arguments)},u._crypto_pwhash_passwd_max=function(){return(u._crypto_pwhash_passwd_max=u.asm.Ra).apply(null,arguments)},u._crypto_pwhash_saltbytes=function(){return(u._crypto_pwhash_saltbytes=u.asm.Sa).apply(null,arguments)},u._crypto_pwhash_strbytes=function(){return(u._crypto_pwhash_strbytes=u.asm.Ta).apply(null,arguments)},u._crypto_pwhash_strprefix=function(){return(u._crypto_pwhash_strprefix=u.asm.Ua).apply(null,arguments)},u._crypto_pwhash_opslimit_min=function(){return(u._crypto_pwhash_opslimit_min=u.asm.Va).apply(null,arguments)},u._crypto_pwhash_opslimit_max=function(){return(u._crypto_pwhash_opslimit_max=u.asm.Wa).apply(null,arguments)},u._crypto_pwhash_memlimit_min=function(){return(u._crypto_pwhash_memlimit_min=u.asm.Xa).apply(null,arguments)},u._crypto_pwhash_memlimit_max=function(){return(u._crypto_pwhash_memlimit_max=u.asm.Ya).apply(null,arguments)},u._crypto_pwhash_opslimit_interactive=function(){return(u._crypto_pwhash_opslimit_interactive=u.asm.Za).apply(null,arguments)},u._crypto_pwhash_memlimit_interactive=function(){return(u._crypto_pwhash_memlimit_interactive=u.asm._a).apply(null,arguments)},u._crypto_pwhash_opslimit_moderate=function(){return(u._crypto_pwhash_opslimit_moderate=u.asm.$a).apply(null,arguments)},u._crypto_pwhash_memlimit_moderate=function(){return(u._crypto_pwhash_memlimit_moderate=u.asm.ab).apply(null,arguments)},u._crypto_pwhash_opslimit_sensitive=function(){return(u._crypto_pwhash_opslimit_sensitive=u.asm.bb).apply(null,arguments)},u._crypto_pwhash_memlimit_sensitive=function(){return(u._crypto_pwhash_memlimit_sensitive=u.asm.cb).apply(null,arguments)},u._crypto_pwhash=function(){return(u._crypto_pwhash=u.asm.db).apply(null,arguments)},u._crypto_pwhash_str=function(){return(u._crypto_pwhash_str=u.asm.eb).apply(null,arguments)},u._crypto_pwhash_str_alg=function(){return(u._crypto_pwhash_str_alg=u.asm.fb).apply(null,arguments)},u._crypto_pwhash_str_verify=function(){return(u._crypto_pwhash_str_verify=u.asm.gb).apply(null,arguments)},u._crypto_pwhash_str_needs_rehash=function(){return(u._crypto_pwhash_str_needs_rehash=u.asm.hb).apply(null,arguments)},u._crypto_scalarmult_base=function(){return(u._crypto_scalarmult_base=u.asm.ib).apply(null,arguments)},u._crypto_scalarmult=function(){return(u._crypto_scalarmult=u.asm.jb).apply(null,arguments)},u._crypto_scalarmult_bytes=function(){return(u._crypto_scalarmult_bytes=u.asm.kb).apply(null,arguments)},u._crypto_scalarmult_scalarbytes=function(){return(u._crypto_scalarmult_scalarbytes=u.asm.lb).apply(null,arguments)},u._crypto_secretbox_keybytes=function(){return(u._crypto_secretbox_keybytes=u.asm.mb).apply(null,arguments)},u._crypto_secretbox_noncebytes=function(){return(u._crypto_secretbox_noncebytes=u.asm.nb).apply(null,arguments)},u._crypto_secretbox_macbytes=function(){return(u._crypto_secretbox_macbytes=u.asm.ob).apply(null,arguments)},u._crypto_secretbox_messagebytes_max=function(){return(u._crypto_secretbox_messagebytes_max=u.asm.pb).apply(null,arguments)},u._crypto_secretbox_keygen=function(){return(u._crypto_secretbox_keygen=u.asm.qb).apply(null,arguments)},u._crypto_secretbox_detached=function(){return(u._crypto_secretbox_detached=u.asm.rb).apply(null,arguments)},u._crypto_secretbox_easy=function(){return(u._crypto_secretbox_easy=u.asm.sb).apply(null,arguments)},u._crypto_secretbox_open_detached=function(){return(u._crypto_secretbox_open_detached=u.asm.tb).apply(null,arguments)},u._crypto_secretbox_open_easy=function(){return(u._crypto_secretbox_open_easy=u.asm.ub).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_keygen=function(){return(u._crypto_secretstream_xchacha20poly1305_keygen=u.asm.vb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_init_push=function(){return(u._crypto_secretstream_xchacha20poly1305_init_push=u.asm.wb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_init_pull=function(){return(u._crypto_secretstream_xchacha20poly1305_init_pull=u.asm.xb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_rekey=function(){return(u._crypto_secretstream_xchacha20poly1305_rekey=u.asm.yb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_push=function(){return(u._crypto_secretstream_xchacha20poly1305_push=u.asm.zb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_pull=function(){return(u._crypto_secretstream_xchacha20poly1305_pull=u.asm.Ab).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_statebytes=function(){return(u._crypto_secretstream_xchacha20poly1305_statebytes=u.asm.Bb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_abytes=function(){return(u._crypto_secretstream_xchacha20poly1305_abytes=u.asm.Cb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_headerbytes=function(){return(u._crypto_secretstream_xchacha20poly1305_headerbytes=u.asm.Db).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_keybytes=function(){return(u._crypto_secretstream_xchacha20poly1305_keybytes=u.asm.Eb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_messagebytes_max=function(){return(u._crypto_secretstream_xchacha20poly1305_messagebytes_max=u.asm.Fb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_tag_message=function(){return(u._crypto_secretstream_xchacha20poly1305_tag_message=u.asm.Gb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_tag_push=function(){return(u._crypto_secretstream_xchacha20poly1305_tag_push=u.asm.Hb).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_tag_rekey=function(){return(u._crypto_secretstream_xchacha20poly1305_tag_rekey=u.asm.Ib).apply(null,arguments)},u._crypto_secretstream_xchacha20poly1305_tag_final=function(){return(u._crypto_secretstream_xchacha20poly1305_tag_final=u.asm.Jb).apply(null,arguments)},u._crypto_shorthash_bytes=function(){return(u._crypto_shorthash_bytes=u.asm.Kb).apply(null,arguments)},u._crypto_shorthash_keybytes=function(){return(u._crypto_shorthash_keybytes=u.asm.Lb).apply(null,arguments)},u._crypto_shorthash=function(){return(u._crypto_shorthash=u.asm.Mb).apply(null,arguments)},u._crypto_shorthash_keygen=function(){return(u._crypto_shorthash_keygen=u.asm.Nb).apply(null,arguments)},u._crypto_sign_statebytes=function(){return(u._crypto_sign_statebytes=u.asm.Ob).apply(null,arguments)},u._crypto_sign_bytes=function(){return(u._crypto_sign_bytes=u.asm.Pb).apply(null,arguments)},u._crypto_sign_seedbytes=function(){return(u._crypto_sign_seedbytes=u.asm.Qb).apply(null,arguments)},u._crypto_sign_publickeybytes=function(){return(u._crypto_sign_publickeybytes=u.asm.Rb).apply(null,arguments)},u._crypto_sign_secretkeybytes=function(){return(u._crypto_sign_secretkeybytes=u.asm.Sb).apply(null,arguments)},u._crypto_sign_messagebytes_max=function(){return(u._crypto_sign_messagebytes_max=u.asm.Tb).apply(null,arguments)},u._crypto_sign_seed_keypair=function(){return(u._crypto_sign_seed_keypair=u.asm.Ub).apply(null,arguments)},u._crypto_sign_keypair=function(){return(u._crypto_sign_keypair=u.asm.Vb).apply(null,arguments)},u._crypto_sign=function(){return(u._crypto_sign=u.asm.Wb).apply(null,arguments)},u._crypto_sign_open=function(){return(u._crypto_sign_open=u.asm.Xb).apply(null,arguments)},u._crypto_sign_detached=function(){return(u._crypto_sign_detached=u.asm.Yb).apply(null,arguments)},u._crypto_sign_verify_detached=function(){return(u._crypto_sign_verify_detached=u.asm.Zb).apply(null,arguments)},u._crypto_sign_init=function(){return(u._crypto_sign_init=u.asm._b).apply(null,arguments)},u._crypto_sign_update=function(){return(u._crypto_sign_update=u.asm.$b).apply(null,arguments)},u._crypto_sign_final_create=function(){return(u._crypto_sign_final_create=u.asm.ac).apply(null,arguments)},u._crypto_sign_final_verify=function(){return(u._crypto_sign_final_verify=u.asm.bc).apply(null,arguments)},u._crypto_sign_ed25519_pk_to_curve25519=function(){return(u._crypto_sign_ed25519_pk_to_curve25519=u.asm.cc).apply(null,arguments)},u._crypto_sign_ed25519_sk_to_curve25519=function(){return(u._crypto_sign_ed25519_sk_to_curve25519=u.asm.dc).apply(null,arguments)},u._randombytes_random=function(){return(u._randombytes_random=u.asm.ec).apply(null,arguments)},u._randombytes_stir=function(){return(u._randombytes_stir=u.asm.fc).apply(null,arguments)},u._randombytes_uniform=function(){return(u._randombytes_uniform=u.asm.gc).apply(null,arguments)},u._randombytes_buf=function(){return(u._randombytes_buf=u.asm.hc).apply(null,arguments)},u._randombytes_buf_deterministic=function(){return(u._randombytes_buf_deterministic=u.asm.ic).apply(null,arguments)},u._randombytes_seedbytes=function(){return(u._randombytes_seedbytes=u.asm.jc).apply(null,arguments)},u._randombytes_close=function(){return(u._randombytes_close=u.asm.kc).apply(null,arguments)},u._randombytes=function(){return(u._randombytes=u.asm.lc).apply(null,arguments)},u._sodium_bin2hex=function(){return(u._sodium_bin2hex=u.asm.mc).apply(null,arguments)},u._sodium_hex2bin=function(){return(u._sodium_hex2bin=u.asm.nc).apply(null,arguments)},u._sodium_base64_encoded_len=function(){return(u._sodium_base64_encoded_len=u.asm.oc).apply(null,arguments)},u._sodium_bin2base64=function(){return(u._sodium_bin2base64=u.asm.pc).apply(null,arguments)},u._sodium_base642bin=function(){return(u._sodium_base642bin=u.asm.qc).apply(null,arguments)},u._sodium_init=function(){return(u._sodium_init=u.asm.rc).apply(null,arguments)},u._sodium_pad=function(){return(u._sodium_pad=u.asm.sc).apply(null,arguments)},u._sodium_unpad=function(){return(u._sodium_unpad=u.asm.tc).apply(null,arguments)},u._sodium_version_string=function(){return(u._sodium_version_string=u.asm.uc).apply(null,arguments)},u._sodium_library_version_major=function(){return(u._sodium_library_version_major=u.asm.vc).apply(null,arguments)},u._sodium_library_version_minor=function(){return(u._sodium_library_version_minor=u.asm.wc).apply(null,arguments)},u._sodium_library_minimal=function(){return(u._sodium_library_minimal=u.asm.xc).apply(null,arguments)},u.___errno_location=function(){return(Yt=u.___errno_location=u.asm.yc).apply(null,arguments)});function Kt(t){function e(){Gt||(Gt=!0,u.calledRun=!0,M||(Z(),$(),u.onRuntimeInitialized&&u.onRuntimeInitialized(),tt()))}t=t||f,st>0||(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;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var a=r(11).Buffer,s=r(205).inspect,u=s&&s.custom||"inspect";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}var e,r,c;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?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 t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,o=t>i.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;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&o(e.prototype,r),c&&o(e,c),t}()},,function(t,e,r){"use strict";(function(e){var n;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}var o=r(83),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),h=Symbol("lastPromise"),f=Symbol("handlePromise"),l=Symbol("stream");function A(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var r=t[l].read();null!==r&&(t[h]=null,t[a]=null,t[s]=null,e(A(r,!1)))}}function d(t){e.nextTick(p,t)}var g=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(n={get stream(){return this[l]},next:function(){var t=this,r=this[u];if(null!==r)return Promise.reject(r);if(this[c])return Promise.resolve(A(void 0,!0));if(this[l].destroyed)return new Promise((function(r,n){e.nextTick((function(){t[u]?n(t[u]):r(A(void 0,!0))}))}));var n,i=this[h];if(i)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[c]?r(A(void 0,!0)):e[f](r,n)}),n)}}(i,this));else{var o=this[l].read();if(null!==o)return Promise.resolve(A(o,!1));n=new Promise(this[f])}return this[h]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var t=this;return new Promise((function(e,r){t[l].destroy(null,(function(t){t?r(t):e(A(void 0,!0))}))}))})),n),g);t.exports=function(t){var e,r=Object.create(y,(i(e={},l,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,u,{value:null,writable:!0}),i(e,c,{value:t._readableState.endEmitted,writable:!0}),i(e,f,{value:function(t,e){var n=r[l].read();n?(r[h]=null,r[a]=null,r[s]=null,t(A(n,!1))):(r[a]=t,r[s]=e)},writable:!0}),e));return r[h]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[s];return null!==e&&(r[h]=null,r[a]=null,r[s]=null,e(t)),void(r[u]=t)}var n=r[a];null!==n&&(r[h]=null,r[a]=null,r[s]=null,n(A(void 0,!0))),r[c]=!0})),t.on("readable",d.bind(null,r)),r}}).call(this,r(20))},function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(t,e,r){"use strict";t.exports=i;var n=r(124);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(8)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";var n;var i=r(51).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function u(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===n&&(n=r(83)),n(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var u=!1;return function(e){if(!s&&!u)return u=!0,function(t){return t.setHeader&&"function"===typeof t.abort}(t)?t.abort():"function"===typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}function c(t){t()}function h(t,e){return t.pipe(e)}function f(t){return t.length?"function"!==typeof t[t.length-1]?s:t.pop():s}t.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=f(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var a=e.map((function(t,r){var o=r<e.length-1;return u(t,o,r>0,(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;r<e.length;r++)e[r]=arguments[r+1];var a={callback:t,args:e};return o[i]=a,n(i),i++},u.clearImmediate=c}function c(t){delete o[t]}function h(t){if(a)setTimeout(h,0,t);else{var e=o[t];if(e){a=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{c(t),a=!1}}}}}("undefined"===typeof self?"undefined"===typeof t?this:t:self)}).call(this,r(22),r(20))},function(t,e,r){"use strict";t.exports=o;var n=r(131),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){t.exports=r(88)},function(t,e,r){t.exports=r(48)},function(t,e,r){t.exports=r(86).Transform},function(t,e,r){t.exports=r(86).PassThrough},function(t,e,r){"use strict";var n=r(8),i=r(10).Buffer,o=r(44),a=i.alloc(128),s=64;function u(t,e){o.call(this,"digest"),"string"===typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>s?e=t(e):e.length<s&&(e=i.concat([e,a],s));for(var r=this._ipad=i.allocUnsafe(s),n=this._opad=i.allocUnsafe(s),u=0;u<s;u++)r[u]=54^e[u],n[u]=92^e[u];this._hash=[r]}n(u,o),u.prototype._update=function(t){this._hash.push(t)},u.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=u},function(t,e,r){t.exports=r(134)},function(t,e,r){(function(e,n){var i,o=r(10).Buffer,a=r(136),s=r(137),u=r(138),c=r(139),h=e.crypto&&e.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},l=[];function A(t,e,r,n,i){return h.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return h.deriveBits({name:"PBKDF2",salt:e,iterations:r,hash:{name:i}},t,n<<3)})).then((function(t){return o.from(t)}))}t.exports=function(t,r,p,d,g,y){"function"===typeof g&&(y=g,g=void 0);var m=f[(g=g||"sha1").toLowerCase()];if(!m||"function"!==typeof e.Promise)return n.nextTick((function(){var e;try{e=u(t,r,p,d,g)}catch(n){return y(n)}y(null,e)}));if(a(p,d),t=c(t,s,"Password"),r=c(r,s,"Salt"),"function"!==typeof y)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){n.nextTick((function(){e(null,t)}))}),(function(t){n.nextTick((function(){e(t)}))}))}(function(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!h||!h.importKey||!h.deriveBits)return Promise.resolve(!1);if(void 0!==l[t])return l[t];var r=A(i=i||o.alloc(8),i,10,128,t).then((function(){return!0})).catch((function(){return!1}));return l[t]=r,r}(m).then((function(e){return e?A(t,r,p,d,m):u(t,r,p,d,g)})),y)}}).call(this,r(22),r(20))},function(t,e,r){var n=r(228),i=r(90),o=r(91),a=r(241),s=r(69);function u(t,e,r){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t});throw new TypeError("invalid suite type")}function c(t,e,r){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return u(t,i.key,i.iv)},e.createCipheriv=e.Cipheriv=u,e.createDecipher=e.Decipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return c(t,i.key,i.iv)},e.createDecipheriv=e.Decipheriv=c,e.listCiphers=e.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},function(t,e,r){var n=r(44),i=r(229),o=r(8),a=r(10).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function u(t){n.call(this);var e,r=t.mode.toLowerCase(),i=s[r];e=t.decrypt?"decrypt":"encrypt";var o=t.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==r&&"des-ede-cbc"!==r||(o=a.concat([o,o.slice(0,8)]));var u=t.iv;a.isBuffer(u)||(u=a.from(u)),this._des=i.create({key:o,iv:u,type:e})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=u,o(u,n),u.prototype._update=function(t){return a.from(this._des.update(t))},u.prototype._final=function(){return a.from(this._des.final())}},function(t,e,r){"use strict";e.utils=r(140),e.Cipher=r(89),e.DES=r(141),e.CBC=r(230),e.EDE=r(231)},function(t,e,r){"use strict";var n=r(32),i=r(8),o={};function a(t){n.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}i(e,t);for(var r=Object.keys(o),n=0;n<r.length;n++){var a=r[n];e.prototype[a]=o[a]}return e.create=function(t){return new e(t)},e},o._cbcInit=function(){var t=new a(this.options.iv);this._cbcState=t},o._update=function(t,e,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=t[e+s];o._update.call(this,a,0,r,n);for(s=0;s<this.blockSize;s++)a[s]=r[n+s]}else{o._update.call(this,t,e,r,n);for(s=0;s<this.blockSize;s++)r[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=t[e+s]}}},function(t,e,r){"use strict";var n=r(32),i=r(8),o=r(89),a=r(141);function s(t,e){n.equal(e.length,24,"Invalid key length");var r=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:r})]}function u(t){o.call(this,t);var e=new s(this.type,this.options.key);this._edeState=e}i(u,o),t.exports=u,u.create=function(t){return new u(t)},u.prototype._update=function(t,e,r,n){var i=this._edeState;i.ciphers[0]._update(t,e,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},u.prototype._pad=a.prototype._pad,u.prototype._unpad=a.prototype._unpad},function(t,e,r){var n=r(91),i=r(145),o=r(10).Buffer,a=r(146),s=r(44),u=r(68),c=r(69);function h(t,e,r){s.call(this),this._cache=new l,this._cipher=new u.AES(e),this._prev=o.from(r),this._mode=t,this._autopadding=!0}r(8)(h,s),h.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get();)r=this._mode.encrypt(this,e),n.push(r);return o.concat(n)};var f=o.alloc(16,16);function l(){this.cache=o.allocUnsafe(0)}function A(t,e,r){var s=n[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof e&&(e=o.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);if("string"===typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,e,r):"auth"===s.type?new i(s.module,e,r):new h(s.module,e,r)}h.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},h.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},l.prototype.add=function(t){this.cache=o.concat([this.cache,t])},l.prototype.get=function(){if(this.cache.length>15){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<t;)e.writeUInt8(t,r);return o.concat([this.cache,e])},e.createCipheriv=A,e.createCipher=function(t,e){var r=n[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=c(e,!1,r.key,r.iv);return A(t,i.key,i.iv)}},function(t,e){e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},function(t,e,r){var n=r(60);e.encrypt=function(t,e){var r=n(e,t._prev);return t._prev=t._cipher.encryptBlock(r),t._prev},e.decrypt=function(t,e){var r=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return n(i,r)}},function(t,e,r){var n=r(10).Buffer,i=r(60);function o(t,e,r){var o=e.length,a=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=n.concat([t._prev,r?e:a]),a}e.encrypt=function(t,e,r){for(var i,a=n.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=n.allocUnsafe(0)),!(t._cache.length<=e.length)){a=n.concat([a,o(t,e,r)]);break}i=t._cache.length,a=n.concat([a,o(t,e.slice(0,i),r)]),e=e.slice(i)}return a}},function(t,e,r){var n=r(10).Buffer;function i(t,e,r){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=n.concat([t._prev.slice(1),n.from([r?e:i])]),i}e.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},function(t,e,r){var n=r(10).Buffer;function i(t,e,r){for(var n,i,a=-1,s=0;++a<8;)n=e&1<<7-a?128:0,s+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^n))>>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<r;)o[i]=t[i]<<1|t[i+1]>>7;return o}e.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},function(t,e,r){(function(t){var n=r(60);function i(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,i(e)]);var o=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,o)}}).call(this,r(11).Buffer)},function(t,e,r){var n=r(10).Buffer,i=n.alloc(16,0);function o(t){var e=n.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>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;++e<t.length;)this.state[e]^=t[e];this._multiply()},a.prototype._multiply=function(){for(var t,e,r,n=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!==(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!==(1&n[3]),e=3;e>0;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(;++r<e;)if(t[r+(16-e)]!==e)throw new Error("unable to decrypt data");if(16===e)return;return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},h.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},f.prototype.add=function(t){this.cache=i.concat([this.cache,t])},f.prototype.get=function(t){var e;if(t){if(this.cache.length>16)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<i;o++){var a=t.charCodeAt(o)-48;n<<=4,n|=a>=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<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=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<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>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<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=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;h<s;h+=n)c=u(t,h,h+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,h,t.length,e),h=0;h<a;h++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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?"<BN-R: ":"<BN: ")+this.toString(16)+">"};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<n;c++){for(var h=u>>>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<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>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<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[o-s-1]=a}return c},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;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.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;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.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;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.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;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(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<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.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<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var A=function(t,e,r){var n,i,o,a=t.words,s=e.words,u=r.words,c=0,h=0|a[0],f=8191&h,l=h>>>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<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=u;c++){var h=o-c,f=(0|t.words[h])*(0|e.words[c]),l=67108863&f;s=67108863&(l=l+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(l>>>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<t;n++)e[n]=this.revBin(n,r,t);return e},d.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},d.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),h=0;h<i;h+=s)for(var f=u,l=c,A=0;A<a;A++){var p=r[h+A],d=n[h+A],g=r[h+A+a],y=n[h+A+a],m=f*g-l*y;y=f*y+l*g,g=m,r[h+A]=p+g,n[h+A]=d+y,r[h+A+a]=p-g,n[h+A+a]=d-y,A!==s&&(m=u*f-c*l,l=u*l+c*f,f=m)}},d.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},d.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},d.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},d.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},d.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},d.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),h=new Array(n),f=new Array(n),l=r.words;l.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,h,f,n,i);for(var A=0;A<n;A++){var p=s[A]*h[A]-u[A]*f[A];u[A]=s[A]*f[A]+u[A]*h[A],s[A]=p}return this.conjugate(s,u,n),this.transform(s,u,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),p(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=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<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=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<this.length;e++){var s=this.words[e]&o,u=(0|this.words[e])-s<<r;this.words[e]=u|a,a=s>>>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<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var h=0;for(c=this.length-1;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<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=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<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var u=(0|t.words[i])*e;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>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<s.length;c++)s.words[c]=0}var h=n.clone()._ishlnsubmul(i,1,u);0===h.negative&&(n=h,s&&(s.words[u]=1));for(var f=u-1;f>=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<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>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:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(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=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?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<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&r)<<4|o>>>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<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,y),i(b,y),i(w,y),w.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=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<p);var y=this.pow(f,new o(1).iushln(p-g-1));l=l.redMul(y),f=y.redSqr(),A=A.redMul(f),p=g}return l},I.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},I.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,u=e.bitLength()%26;for(0===u&&(u=26),n=e.length-1;n>=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.length<o.length){var a=new e(o.length-i.length);a.fill(0),i=e.concat([a,i])}return i},d.prototype.getPublicKey=function(t){return g(this._pub,t)},d.prototype.getPrivateKey=function(t){return g(this._priv,t)},d.prototype.getPrime=function(t){return g(this.__prime,t)},d.prototype.getGenerator=function(t){return g(this._gen,t)},d.prototype.setGenerator=function(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this.__gen=t,this._gen=new n(t),this}}).call(this,r(11).Buffer)},function(t,e,r){var n=r(10).Buffer,i=r(50),o=r(118),a=r(8),s=r(250),u=r(281),c=r(134);function h(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function f(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function l(t){return new h(t)}function A(t){return new f(t)}Object.keys(c).forEach((function(t){c[t].id=n.from(c[t].id,"hex"),c[t.toLowerCase()]=c[t]})),a(h,o.Writable),h.prototype._write=function(t,e,r){this._hash.update(t),r()},h.prototype.update=function(t,e){return"string"===typeof t&&(t=n.from(t,e)),this._hash.update(t),this},h.prototype.sign=function(t,e){this.end();var r=this._hash.digest(),n=s(r,t,this._hashType,this._signType,this._tag);return e?n.toString(e):n},a(f,o.Writable),f.prototype._write=function(t,e,r){this._hash.update(t),r()},f.prototype.update=function(t,e){return"string"===typeof t&&(t=n.from(t,e)),this._hash.update(t),this},f.prototype.verify=function(t,e,r){"string"===typeof e&&(e=n.from(e,r)),this.end();var i=this._hash.digest();return u(e,i,t,this._signType,this._tag)},t.exports={Sign:l,Verify:A,createSign:l,createVerify:A}},function(t,e,r){var n=r(10).Buffer,i=r(132),o=r(93),a=r(95).ec,s=r(94),u=r(71),c=r(161);function h(t,e,r,o){if((t=n.from(t.toArray())).length<e.byteLength()){var a=n.alloc(e.byteLength()-t.length);t=n.concat([a,t])}var s=r.length,u=function(t,e){t=(t=f(t,e)).mod(e);var r=n.from(t.toArray());if(r.length<e.byteLength()){var i=n.alloc(e.byteLength()-r.length);r=n.concat([i,r])}return r}(r,e),c=n.alloc(s);c.fill(1);var h=n.alloc(s);return h=i(o,h).update(c).update(n.from([0])).update(t).update(u).digest(),c=i(o,h).update(c).digest(),{k:h=i(o,h).update(c).update(n.from([1])).update(t).update(u).digest(),v:c=i(o,h).update(c).digest()}}function f(t,e){var r=new s(t),n=(t.length<<3)-e.bitLength();return n>0&&r.ishrn(n),r}function l(t,e,r){var o,a;do{for(o=n.alloc(0);8*o.length<t.bitLength();)e.v=i(r,e.k).update(e.v).digest(),o=n.concat([o,e.v]);a=f(o,t),e.k=i(r,e.k).update(e.v).update(n.from([0])).digest(),e.v=i(r,e.k).update(e.v).digest()}while(-1!==a.cmp(t));return a}function A(t,e,r,n){return t.toRed(s.mont(r)).redPow(e).fromRed().mod(n)}t.exports=function(t,e,r,i,p){var d=u(e);if(d.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(t,e){var r=c[e.curve.join(".")];if(!r)throw new Error("unknown curve "+e.curve.join("."));var i=new a(r).keyFromPrivate(e.privateKey).sign(t);return n.from(i.toDER())}(t,d)}if("dsa"===d.type){if("dsa"!==i)throw new Error("wrong private key type");return function(t,e,r){var i,o=e.params.priv_key,a=e.params.p,u=e.params.q,c=e.params.g,p=new s(0),d=f(t,u).mod(u),g=!1,y=h(o,u,t,r);for(;!1===g;)p=A(c,i=l(u,y,r),a,u),0===(g=i.invm(u).imul(d.add(o.mul(p))).mod(u)).cmpn(0)&&(g=!1,p=new s(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t));128&e[0]&&(e=[0].concat(e));var r=[48,t.length+e.length+4,2,t.length];return r=r.concat(t,[2,e.length],e),n.from(r)}(p,g)}(t,d,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");t=n.concat([p,t]);for(var g=d.modulus.byteLength(),y=[0,1];t.length+y.length+1<g;)y.push(255);y.push(0);for(var m=-1;++m<t.length;)y.push(t[m]);return o(y,d)},t.exports.getKey=h,t.exports.makeKey=l},,function(t){t.exports=JSON.parse('{"name":"elliptic","version":"6.5.4","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny <fedor@indutny.com>","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<t.length;o++){var a=this._endoSplit(e[o]),s=t[o],u=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),u=u.neg(!0)),n[2*o]=s,n[2*o+1]=u,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var c=this._wnafMulAdd(1,n,i,2*o,r),h=0;h<2*o;h++)n[h]=null,i[h]=null;return c},o(c,a.BasePoint),u.prototype.point=function(t,e,r){return new c(this,t,e,r)},u.prototype.pointFromJSON=function(t,e){return c.fromJSON(this,t,e)},c.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var r=this.curve,n=function(t){return r.point(t.x.redMul(r.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(n)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(n)}}}return e}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(t,e,r){"string"===typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function i(e){return t.point(e[0],e[1],r)}var o=e[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},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<t;e++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,u=s.redSqr().redSqr(),c=a.redAdd(a);for(e=0;e<t;e++){var h=o.redSqr(),f=c.redSqr(),l=f.redSqr(),A=h.redAdd(h).redIAdd(h).redIAdd(n.redMul(u)),p=o.redMul(f),d=A.redSqr().redISub(p.redAdd(p)),g=p.redISub(d),y=A.redMul(g);y=y.redIAdd(y).redISub(l);var m=c.redMul(s);e+1<t&&(u=u.redMul(l)),o=d,s=m,c=y}return this.curve.jpoint(o,c.redMul(i),s)},h.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},h.prototype._zeroDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),u=s.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=u,e=s.redMul(a.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var h=this.x.redSqr(),f=this.y.redSqr(),l=f.redSqr(),A=this.x.redAdd(f).redSqr().redISub(h).redISub(l);A=A.redIAdd(A);var p=h.redAdd(h).redIAdd(h),d=p.redSqr(),g=l.redIAdd(l);g=(g=g.redIAdd(g)).redIAdd(g),t=d.redISub(A).redISub(A),e=p.redMul(A.redISub(t)).redISub(g),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(t,e,r)},h.prototype._threeDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),u=s.redSqr().redISub(a).redISub(a);t=u;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=s.redMul(a.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var h=this.z.redSqr(),f=this.y.redSqr(),l=this.x.redMul(f),A=this.x.redSub(h).redMul(this.x.redAdd(h));A=A.redAdd(A).redIAdd(A);var p=l.redIAdd(l),d=(p=p.redIAdd(p)).redAdd(p);t=A.redSqr().redISub(d),r=this.y.redAdd(this.z).redSqr().redISub(f).redISub(h);var g=f.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),e=A.redMul(p.redISub(t)).redISub(g)}return this.curve.jpoint(t,e,r)},h.prototype._dbl=function(){var t=this.curve.a,e=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=e.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),u=e.redAdd(e),c=(u=u.redIAdd(u)).redMul(a),h=s.redSqr().redISub(c.redAdd(c)),f=c.redISub(h),l=a.redSqr();l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var A=s.redMul(f).redISub(l),p=r.redAdd(r).redMul(n);return this.curve.jpoint(h,A,p)},h.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr(),n=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),u=n.redIAdd(n);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var c=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(u),h=e.redMul(c);h=(h=h.redIAdd(h)).redIAdd(h);var f=this.x.redMul(s).redISub(h);f=(f=f.redIAdd(f)).redIAdd(f);var l=this.y.redMul(c.redMul(u.redISub(c)).redISub(a.redMul(s)));l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var A=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(f,l,A)},h.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},h.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),r=t.z.redSqr();if(0!==this.x.redMul(r).redISub(t.x.redMul(e)).cmpn(0))return!1;var n=e.redMul(this.z),i=r.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(n)).cmpn(0)},h.prototype.eqXToP=function(t){var e=this.z.redSqr(),r=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(e);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},h.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},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()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},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()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},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(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],h=this.h[2],l=this.h[3],A=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),d=u(a(i,5),c(p,o,h,l),A,r[n],f[p]);A=l,l=h,h=a(o,30),o=i,i=d}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],h),this.h[3]=s(this.h[3],l),this.h[4]=s(this.h[4],A)},l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=r(40),i=r(153);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(t,e,r){"use strict";var n=r(40),i=r(154);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(t,e,r){"use strict";var n=r(40),i=r(61),o=n.rotl32,a=n.sum32,s=n.sum32_3,u=n.sum32_4,c=i.BlockHash;function h(){if(!(this instanceof h))return new h;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function l(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function A(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(h,c),e.ripemd160=h,h.blockSize=512,h.outSize=160,h.hmacStrength=192,h.padLength=64,h.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],i=this.h[2],c=this.h[3],h=this.h[4],m=r,v=n,b=i,w=c,I=h,E=0;E<80;E++){var _=a(o(u(r,f(E,n,i,c),t[p[E]+e],l(E)),g[E]),h);r=h,h=c,c=o(i,10),i=n,n=_,_=a(o(u(m,f(79-E,v,b,w),t[d[E]+e],A(E)),y[E]),I),m=I,I=w,w=o(b,10),b=v,v=_}_=s(this.h[1],i,w),this.h[1]=s(this.h[2],c,I),this.h[2]=s(this.h[3],h,m),this.h[3]=s(this.h[4],r,v),this.h[4]=s(this.h[0],n,b),this.h[0]=_},h.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(t,e,r){"use strict";var n=r(40),i=r(32);function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},function(t,e){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(t,e,r){"use strict";var n=r(41),i=r(265),o=r(33),a=r(96),s=r(92),u=o.assert,c=r(266),h=r(267);function f(t){if(!(this instanceof f))return new f(t);"string"===typeof t&&(u(Object.prototype.hasOwnProperty.call(a,t),"Unknown curve "+t),t=a[t]),t instanceof a.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=f,f.prototype.keyPair=function(t){return new c(this,t)},f.prototype.keyFromPrivate=function(t,e){return c.fromPrivate(this,t,e)},f.prototype.keyFromPublic=function(t,e){return c.fromPublic(this,t,e)},f.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||s(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));;){var a=new n(e.generate(r));if(!(a.cmp(o)>0))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.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(t,e,r,n){"string"!==typeof e&&(n=r,r=e,e=null),t=i.toArray(t,e),r=i.toArray(r,n),o(t.length>=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<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,t);return this._update(r),this._reseed++,i.encode(a,e)}},function(t,e,r){"use strict";var n=r(41),i=r(33).assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,r){return e instanceof o?e:new o(t,{pub:e,pubEnc:r})},o.fromPrivate=function(t,e,r){return e instanceof o?e:new o(t,{priv:e,privEnc:r})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"===typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new n(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},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<n;o++,a++)i<<=8,i|=t[a],i>>>=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<r;)e++;return 0===e?t:t.slice(e)}function h(t,e){if(e<128)t.push(e);else{var r=1+(Math.log(e)/Math.LN2>>>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<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},h.prototype.keyFromPublic=function(t){return u.fromPublic(this,t)},h.prototype.keyFromSecret=function(t){return u.fromSecret(this,t)},h.prototype.makeSignature=function(t){return t instanceof c?t:new c(this,t)},h.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},h.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,r=t.slice(0,e).concat(-129&t[e]),n=0!==(128&t[e]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},h.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},h.prototype.decodeInt=function(t){return o.intFromLE(t)},h.prototype.isPoint=function(t){return t instanceof this.pointClass}},function(t,e,r){"use strict";var n=r(33),i=n.assert,o=n.parseBytes,a=n.cachedProperty;function s(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}s.fromPublic=function(t,e){return e instanceof s?e:new s(t,{pub:e})},s.fromSecret=function(t,e){return e instanceof s?e:new s(t,{secret:e})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var t=this.eddsa,e=this.hash(),r=t.encodingLength-1,n=e.slice(0,t.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},s.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},s.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),t)},s.prototype.getPublic=function(t){return n.encode(this.pubBytes(),t)},t.exports=s},function(t,e,r){"use strict";var n=r(41),i=r(33),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function u(t,e){this.eddsa=t,"object"!==typeof e&&(e=s(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),o(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof n&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}a(u,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(u,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(u,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(u,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=u},function(t,e,r){"use strict";var n=r(155);e.certificate=r(278);var i=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=i;var o=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=o;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));e.PublicKey=a;var s=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),u=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=u;var c=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=c;var h=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=h,e.DSAparam=n.define("DSAparam",(function(){this.int()}));var f=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(l),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=f;var l=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},,function(t,e,r){"use strict";var n=r(157),i=r(159),o=r(8);function a(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new a(t,e)},a.prototype._createNamed=function(t){var e=this.name;function r(t){this._initNamed(t,e)}return o(r,t),r.prototype._initNamed=function(e,r){t.call(this,e,r)},new r(this)},a.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},a.prototype.decode=function(t,e,r){return this._getDecoder(e).decode(t,r)},a.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},a.prototype.encode=function(t,e,r){return this._getEncoder(e).encode(t,r)}},function(t,e,r){"use strict";var n=r(8),i=r(158);function o(t){i.call(this,t),this.enc="pem"}n(o,i),t.exports=o,o.prototype.encode=function(t,e){for(var r=i.prototype.encode.call(this,t).toString("base64"),n=["-----BEGIN "+e.label+"-----"],o=0;o<r.length;o+=64)n.push(r.slice(o,o+64));return n.push("-----END "+e.label+"-----"),n.join("\n")}},function(t,e,r){"use strict";var n=r(8),i=r(98).Buffer,o=r(160);function a(t){o.call(this,t),this.enc="pem"}n(a,o),t.exports=a,a.prototype.decode=function(t,e){for(var r=t.toString().split(/[\r\n]+/g),n=e.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,u=-1,c=0;c<r.length;c++){var h=r[c].match(a);if(null!==h&&h[2]===n){if(-1!==s){if("END"!==h[1])break;u=c;break}if("BEGIN"!==h[1])break;s=c}}if(-1===s||-1===u)throw new Error("PEM section not found for: "+n);var f=r.slice(s+1,u).join("");f.replace(/[^a-z0-9+/=]+/gi,"");var l=i.from(f,"base64");return o.prototype.decode.call(this,l,e)}},function(t,e,r){"use strict";var n=e;n.Reporter=r(100).Reporter,n.DecoderBuffer=r(62).DecoderBuffer,n.EncoderBuffer=r(62).EncoderBuffer,n.Node=r(99)},function(t,e,r){"use strict";var n=e;n._reverse=function(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e},n.der=r(101)},function(t,e,r){"use strict";var n=r(155),i=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),u=n.define("RelativeDistinguishedName",(function(){this.setof(o)})),c=n.define("RDNSequence",(function(){this.seqof(u)})),h=n.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),f=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),l=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),A=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(h),this.key("validity").use(f),this.key("subject").use(h),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(l).optional())})),p=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(A),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));t.exports=p},function(t){t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(t,e,r){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=r(69),s=r(90),u=r(10).Buffer;t.exports=function(t,e){var r,c=t.toString(),h=c.match(n);if(h){var f="aes"+h[1],l=u.from(h[2],"hex"),A=u.from(h[3].replace(/[\r\n]/g,""),"base64"),p=a(e,l.slice(0,8),parseInt(h[1],10)).key,d=[],g=s.createDecipheriv(f,p,l);d.push(g.update(A)),d.push(g.final()),r=u.concat(d)}else{var y=c.match(o);r=u.from(y[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(i)[1],data:r}}},function(t,e,r){var n=r(10).Buffer,i=r(94),o=r(95).ec,a=r(71),s=r(161);function u(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(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<l;)A.push(255),p++;A.push(0);for(var d=-1;++d<e.length;)A.push(e[d]);A=n.from(A);var g=i.mont(f.modulus);t=(t=new i(t).toRed(g)).redPow(new i(f.publicExponent)),t=n.from(t.fromRed().toArray());var y=p<8?1:0;for(l=Math.min(t.length,A.length),t.length!==A.length&&(y=1),d=-1;++d<l;)y|=t[d]^A[d];return 0===y}},function(t,e,r){(function(e){var n=r(95),i=r(283);t.exports=function(t){return new a(t)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(t){this.curveType=o[t],this.curveType||(this.curveType={name:t}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(t,r,n){Array.isArray(t)||(t=t.toArray());var i=new e(t);if(n&&i.length<n){var o=new e(n-i.length);o.fill(0),i=e.concat([o,i])}return r?i.toString(r):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},a.prototype.computeSecret=function(t,r,n){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),s(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(t,e){var r=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,t)},a.prototype.getPrivateKey=function(t){return s(this.keys.getPrivate(),t)},a.prototype.setPublicKey=function(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this.keys._importPublic(t),this},a.prototype.setPrivateKey=function(t,r){r=r||"utf8",e.isBuffer(t)||(t=new e(t,r));var n=new i(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).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(284).Buffer}catch(_){}function s(t,e,r){for(var n=0,i=Math.min(t.length,r),o=e;o<i;o++){var a=t.charCodeAt(o)-48;n<<=4,n|=a>=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<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=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<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>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<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=s(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=s(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=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;h<s;h+=n)c=u(t,h,h+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,h,t.length,e),h=0;h<a;h++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&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?"<BN-R: ":"<BN: ")+this.toString(16)+">"};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<n;c++){for(var h=u>>>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<this.length;a++){var s=this.words[a],u=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>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<o;s++)c[s]=0}else{for(s=0;s<o-i;s++)c[s]=0;for(s=0;!h.isZero();s++)a=h.andln(255),h.iushrn(8),c[o-s-1]=a}return c},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;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.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;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.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;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.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;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(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<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.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<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var A=function(t,e,r){var n,i,o,a=t.words,s=e.words,u=r.words,c=0,h=0|a[0],f=8191&h,l=h>>>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<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=u;c++){var h=o-c,f=(0|t.words[h])*(0|e.words[c]),l=67108863&f;s=67108863&(l=l+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(l>>>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<t;n++)e[n]=this.revBin(n,r,t);return e},d.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},d.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},d.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),h=0;h<i;h+=s)for(var f=u,l=c,A=0;A<a;A++){var p=r[h+A],d=n[h+A],g=r[h+A+a],y=n[h+A+a],m=f*g-l*y;y=f*y+l*g,g=m,r[h+A]=p+g,n[h+A]=d+y,r[h+A+a]=p-g,n[h+A+a]=d-y,A!==s&&(m=u*f-c*l,l=u*l+c*f,f=m)}},d.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},d.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},d.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},d.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},d.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},d.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),h=new Array(n),f=new Array(n),l=r.words;l.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,h,f,n,i);for(var A=0;A<n;A++){var p=s[A]*h[A]-u[A]*f[A];u[A]=s[A]*f[A]+u[A]*h[A],s[A]=p}return this.conjugate(s,u,n),this.transform(s,u,l,o,n,i),this.conjugate(l,o,n),this.normalize13b(l,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),p(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=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<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=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<this.length;e++){var s=this.words[e]&o,u=(0|this.words[e])-s<<r;this.words[e]=u|a,a=s>>>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<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(i-=a,i=Math.max(0,i),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var h=0;for(c=this.length-1;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<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=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<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[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<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var u=(0|t.words[i])*e;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>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<s.length;c++)s.words[c]=0}var h=n.clone()._ishlnsubmul(i,1,u);0===h.negative&&(n=h,s&&(s.words[u]=1));for(var f=u-1;f>=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<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>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:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(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=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?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<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&r)<<4|o>>>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<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(v,y),i(b,y),i(w,y),w.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=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<p);var y=this.pow(f,new o(1).iushln(p-g-1));l=l.redMul(y),f=y.redSqr(),A=A.redMul(f),p=g}return l},I.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},I.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,u=e.bitLength()%26;for(0===u&&(u=26),n=e.length-1;n>=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<t;)a===o.length&&(o=i(2*t),a=0),(e=o[a++])&&(r[n++]=e);return r}(a-o-3);return new u(f.concat([f.from([0,r?1:2]),n,f.alloc(1),e],a))}(p,e,r);else{if(3!==l)throw new Error("unknown padding");if((A=new u(e)).cmp(p.modulus)>=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<n;)r+=t[i]^e[i];return r}(n,l.slice(0,a)))throw new Error("decryption error");var A=a;for(;0===l[A];)A++;if(1!==l[A++])throw new Error("decryption error");return l.slice(A)}(A,l);if(1===f)return function(t,e,r){var n=e.slice(0,2),i=2,o=0;for(;0!==e[i++];)if(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<e.length;r++)e[r]=255;for(var i=0;i<t.length;i++){var o=t.charAt(i),a=o.charCodeAt(0);if(255!==e[a])throw new TypeError(o+" is ambiguous");e[a]=i}var s=t.length,u=t.charAt(0),c=Math.log(s)/Math.log(256),h=Math.log(256)/Math.log(s);function f(t){if("string"!==typeof t)throw new TypeError("Expected String");if(0===t.length)return n.alloc(0);var r=0;if(" "!==t[r]){for(var i=0,o=0;t[r]===u;)i++,r++;for(var a=(t.length-r)*c+1>>>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<o)&&-1!==A;A--,l++)f+=s*h[A]>>>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<i)&&-1!==p;p--,A++)l+=256*f[p]>>>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<c;++d)g+=t.charAt(f[d]);return g},decodeUnsafe:f,decode:function(t){var e=f(t);if(e)return e;throw new Error("Non-base"+s+" character")}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}(r(311));var n=r(105);e.XMLHttpRequestEventTarget=n.XMLHttpRequestEventTarget},function(t,e,r){"use strict";(function(t,n){var i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__assign||Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t};Object.defineProperty(e,"__esModule",{value:!0});var a=r(173),s=r(325),u=r(326),c=r(104),h=r(327),f=r(328),l=r(105),A=r(329),p=r(330),d=function(e){function r(n){void 0===n&&(n={});var i=e.call(this)||this;return i.UNSENT=r.UNSENT,i.OPENED=r.OPENED,i.HEADERS_RECEIVED=r.HEADERS_RECEIVED,i.LOADING=r.LOADING,i.DONE=r.DONE,i.onreadystatechange=null,i.readyState=r.UNSENT,i.response=null,i.responseText="",i.responseType="",i.status=0,i.statusText="",i.timeout=0,i.upload=new A.XMLHttpRequestUpload,i.responseUrl="",i.withCredentials=!1,i._method=null,i._url=null,i._sync=!1,i._headers={},i._loweredHeaders={},i._mimeOverride=null,i._request=null,i._response=null,i._responseParts=null,i._responseHeaders=null,i._aborting=null,i._error=null,i._loadedBytes=0,i._totalBytes=0,i._lengthComputable=!1,i._restrictedMethods={CONNECT:!0,TRACE:!0,TRACK:!0},i._restrictedHeaders={"accept-charset":!0,"accept-encoding":!0,"access-control-request-headers":!0,"access-control-request-method":!0,connection:!0,"content-length":!0,cookie:!0,cookie2:!0,date:!0,dnt:!0,expect:!0,host:!0,"keep-alive":!0,origin:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,via:!0},i._privateHeaders={"set-cookie":!0,"set-cookie2":!0},i._userAgent="Mozilla/5.0 ("+u.type()+" "+u.arch()+") node.js/"+t.versions.node+" v8/"+t.versions.v8,i._anonymous=n.anon||!1,i}return i(r,e),r.prototype.open=function(t,e,n,i,o){if(void 0===n&&(n=!0),t=t.toUpperCase(),this._restrictedMethods[t])throw new r.SecurityError("HTTP method "+t+" is not allowed in XHR");var a=this._parseUrl(e,i,o);this.readyState===r.HEADERS_RECEIVED||(this.readyState,r.LOADING),this._method=t,this._url=a,this._sync=!n,this._headers={},this._loweredHeaders={},this._mimeOverride=null,this._setReadyState(r.OPENED),this._request=null,this._response=null,this.status=0,this.statusText="",this._responseParts=[],this._responseHeaders=null,this._loadedBytes=0,this._totalBytes=0,this._lengthComputable=!1},r.prototype.setRequestHeader=function(t,e){if(this.readyState!==r.OPENED)throw new r.InvalidStateError("XHR readyState must be OPENED");var n=t.toLowerCase();this._restrictedHeaders[n]||/^sec-/.test(n)||/^proxy-/.test(n)?console.warn('Refused to set unsafe header "'+t+'"'):(e=e.toString(),null!=this._loweredHeaders[n]?(t=this._loweredHeaders[n],this._headers[t]=this._headers[t]+", "+e):(this._loweredHeaders[n]=t,this._headers[t]=e))},r.prototype.send=function(t){if(this.readyState!==r.OPENED)throw new r.InvalidStateError("XHR readyState must be OPENED");if(this._request)throw new r.InvalidStateError("send() already called");switch(this._url.protocol){case"file:":return this._sendFile(t);case"http:":case"https:":return this._sendHttp(t);default:throw new r.NetworkError("Unsupported protocol "+this._url.protocol)}},r.prototype.abort=function(){null!=this._request&&(this._request.abort(),this._setError(),this._dispatchProgress("abort"),this._dispatchProgress("loadend"))},r.prototype.getResponseHeader=function(t){if(null==this._responseHeaders||null==t)return null;var e=t.toLowerCase();return this._responseHeaders.hasOwnProperty(e)?this._responseHeaders[t.toLowerCase()]:null},r.prototype.getAllResponseHeaders=function(){var t=this;return null==this._responseHeaders?"":Object.keys(this._responseHeaders).map((function(e){return e+": "+t._responseHeaders[e]})).join("\r\n")},r.prototype.overrideMimeType=function(t){if(this.readyState===r.LOADING||this.readyState===r.DONE)throw new r.InvalidStateError("overrideMimeType() not allowed in LOADING or DONE");this._mimeOverride=t.toLowerCase()},r.prototype.nodejsSet=function(t){if(this.nodejsHttpAgent=t.httpAgent||this.nodejsHttpAgent,this.nodejsHttpsAgent=t.httpsAgent||this.nodejsHttpsAgent,t.hasOwnProperty("baseUrl")){if(null!=t.baseUrl)if(!c.parse(t.baseUrl,!1,!0).protocol)throw new r.SyntaxError("baseUrl must be an absolute URL");this.nodejsBaseUrl=t.baseUrl}},r.nodejsSet=function(t){r.prototype.nodejsSet(t)},r.prototype._setReadyState=function(t){this.readyState=t,this.dispatchEvent(new h.ProgressEvent("readystatechange"))},r.prototype._sendFile=function(t){throw new Error("Protocol file: not implemented")},r.prototype._sendHttp=function(t){if(this._sync)throw new Error("Synchronous XHR processing not implemented");!t||"GET"!==this._method&&"HEAD"!==this._method?t=t||"":(console.warn("Discarding entity body for "+this._method+" requests"),t=null),this.upload._setData(t),this._finalizeHeaders(),this._sendHxxpRequest()},r.prototype._sendHxxpRequest=function(){var t=this;if(this.withCredentials){var e=r.cookieJar.getCookies(p.CookieAccessInfo(this._url.hostname,this._url.pathname,"https:"===this._url.protocol)).toValueString();this._headers.cookie=this._headers.cookie2=e}var n="http:"===this._url.protocol?[a,this.nodejsHttpAgent]:[s,this.nodejsHttpsAgent],i=n[0],o=n[1],u=i.request.bind(i)({hostname:this._url.hostname,port:+this._url.port,path:this._url.path,auth:this._url.auth,method:this._method,headers:this._headers,agent:o});this._request=u,this.timeout&&u.setTimeout(this.timeout,(function(){return t._onHttpTimeout(u)})),u.on("response",(function(e){return t._onHttpResponse(u,e)})),u.on("error",(function(e){return t._onHttpRequestError(u,e)})),this.upload._startUpload(u),this._request===u&&this._dispatchProgress("loadstart")},r.prototype._finalizeHeaders=function(){this._headers=o({},this._headers,{Connection:"keep-alive",Host:this._url.host,"User-Agent":this._userAgent},this._anonymous?{Referer:"about:blank"}:{}),this.upload._finalizeHeaders(this._headers,this._loweredHeaders)},r.prototype._onHttpResponse=function(t,e){var n=this;if(this._request===t){if(this.withCredentials&&(e.headers["set-cookie"]||e.headers["set-cookie2"])&&r.cookieJar.setCookies(e.headers["set-cookie"]||e.headers["set-cookie2"]),[301,302,303,307,308].indexOf(e.statusCode)>=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;i<t.length;i++)r[i]=t[i];return void(this.response=e);case"text":default:try{this.responseText=t.toString(this._parseResponseEncoding())}catch(a){this.responseText=t.toString("binary")}this.response=this.responseText}},r.prototype._parseResponseEncoding=function(){return/;\s*charset=(.*)$/.exec(this._responseHeaders["content-type"]||"")[1]||"utf-8"},r.ProgressEvent=h.ProgressEvent,r.InvalidStateError=f.InvalidStateError,r.NetworkError=f.NetworkError,r.SecurityError=f.SecurityError,r.SyntaxError=f.SyntaxError,r.XMLHttpRequestUpload=A.XMLHttpRequestUpload,r.UNSENT=0,r.OPENED=1,r.HEADERS_RECEIVED=2,r.LOADING=3,r.DONE=4,r.cookieJar=p.CookieJar(),r}(l.XMLHttpRequestEventTarget);e.XMLHttpRequest=d,d.prototype.nodejsHttpAgent=a.globalAgent,d.prototype.nodejsHttpsAgent=s.globalAgent,d.prototype.nodejsBaseUrl=null}).call(this,r(20),r(11).Buffer)},function(t,e,r){(function(e,n,i){var o=r(174),a=r(8),s=r(175),u=r(176),c=r(317),h=s.IncomingMessage,f=s.readyStates;var l=t.exports=function(t){var r,n=this;u.Writable.call(n),n._opts=t,n._body=[],n._headers={},t.auth&&n.setHeader("Authorization","Basic "+new e(t.auth).toString("base64")),Object.keys(t.headers).forEach((function(e){n.setHeader(e,t.headers[e])}));var i=!0;if("disable-fetch"===t.mode||"requestTimeout"in t&&!o.abortController)i=!1,r=!0;else if("prefer-streaming"===t.mode)r=!1;else if("allow-wrong-content-type"===t.mode)r=!o.overrideMimeType;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(t,e){return o.fetch&&e?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&t?"arraybuffer":o.vbArray&&t?"text:vbarray":"text"}(r,i),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};a(l,u.Writable),l.prototype.setHeader=function(t,e){var r=t.toLowerCase();-1===A.indexOf(r)&&(this._headers[r]={name:t,value:e})},l.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null},l.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},l.prototype._onFinish=function(){var t=this;if(!t._destroyed){var r=t._opts,a=t._headers,s=null;"GET"!==r.method&&"HEAD"!==r.method&&(s=o.arraybuffer?c(e.concat(t._body)):o.blobConstructor?new n.Blob(t._body.map((function(t){return c(t)})),{type:(a["content-type"]||{}).value||""}):e.concat(t._body).toString());var u=[];if(Object.keys(a).forEach((function(t){var e=a[t].name,r=a[t].value;Array.isArray(r)?r.forEach((function(t){u.push([e,t])})):u.push([e,r])})),"fetch"===t._mode){var h=null;if(o.abortController){var l=new AbortController;h=l.signal,t._fetchAbortController=l,"requestTimeout"in r&&0!==r.requestTimeout&&(t._fetchTimer=n.setTimeout((function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()}),r.requestTimeout))}n.fetch(t._opts.url,{method:t._opts.method,headers:u,body:s||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:h}).then((function(e){t._fetchResponse=e,t._connect()}),(function(e){n.clearTimeout(t._fetchTimer),t._destroyed||t.emit("error",e)}))}else{var A=t._xhr=new n.XMLHttpRequest;try{A.open(t._opts.method,t._opts.url,!0)}catch(p){return void i.nextTick((function(){t.emit("error",p)}))}"responseType"in A&&(A.responseType=t._mode.split(":")[0]),"withCredentials"in A&&(A.withCredentials=!!r.withCredentials),"text"===t._mode&&"overrideMimeType"in A&&A.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(A.timeout=r.requestTimeout,A.ontimeout=function(){t.emit("requestTimeout")}),u.forEach((function(t){A.setRequestHeader(t[0],t[1])})),t._response=null,A.onreadystatechange=function(){switch(A.readyState){case f.LOADING:case f.DONE:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(A.onprogress=function(){t._onXHRProgress()}),A.onerror=function(){t._destroyed||t.emit("error",new Error("XHR error"))};try{A.send(s)}catch(p){return void i.nextTick((function(){t.emit("error",p)}))}}}},l.prototype._onXHRProgress=function(){var t=this;(function(t){try{var e=t.status;return null!==e&&0!==e}catch(r){return!1}})(t._xhr)&&!t._destroyed&&(t._response||t._connect(),t._response._onXHRProgress())},l.prototype._connect=function(){var t=this;t._destroyed||(t._response=new h(t._xhr,t._fetchResponse,t._mode,t._fetchTimer),t._response.on("error",(function(e){t.emit("error",e)})),t.emit("response",t._response))},l.prototype._write=function(t,e,r){this._body.push(t),r()},l.prototype.abort=l.prototype.destroy=function(){var t=this;t._destroyed=!0,n.clearTimeout(t._fetchTimer),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort()},l.prototype.end=function(t,e,r){"function"===typeof t&&(r=t,t=void 0),u.Writable.prototype.end.call(this,t,e,r)},l.prototype.flushHeaders=function(){},l.prototype.setTimeout=function(){},l.prototype.setNoDelay=function(){},l.prototype.setSocketKeepAlive=function(){};var A=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,r(11).Buffer,r(22),r(20))},,function(t,e,r){"use strict";var n=r(103).Buffer,i=r(315);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){"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<r;i++)e[i]=t[i];return e.buffer}throw new Error("Argument must be a Buffer")}},function(t,e){t.exports=function(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];for(var i in n)r.call(n,i)&&(t[i]=n[i])}return t};var r=Object.prototype.hasOwnProperty},function(t,e){t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(t,e,r){(function(t,n){var i;!function(o){e&&e.nodeType,t&&t.nodeType;var a="object"==typeof n&&n;a.global!==a&&a.window!==a&&a.self;var s,u=2147483647,c=36,h=/^xn--/,f=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,A={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 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<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(r=t.charCodeAt(i++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),i--):n.push(e);return n}function b(t){return y(t,(function(t){var e="";return t>65535&&(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<r;++n)t.charCodeAt(n)>=128&&g("not-basic"),d.push(t.charCodeAt(n));for(i=r>0?r+1:0;i<y;){for(o=m,a=1,s=c;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<y;++a)(A=t[a])<128&&_.push(d(A));for(n=i=_.length,i&&_.push("-");n<y;){for(s=u,a=0;a<y;++a)(A=t[a])>=e&&A<s&&(s=A);for(s-e>p((u-r)/(m=n+1))&&g("overflow"),r+=(s-e)*m,e=s,a=0;a<y;++a)if((A=t[a])<e&&++r>u&&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<c;++h){var f,l,A,p,d=t[h].replace(s,"%20"),g=d.indexOf(r);g>=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<t.length;n++)r.push(e(t[n],n));return r}var a=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e}},function(t,e,r){var n=r(173),i=r(104),o=t.exports;for(var a in n)n.hasOwnProperty(a)&&(o[a]=n[a]);function s(t){if("string"===typeof t&&(t=i.parse(t)),t.protocol||(t.protocol="https:"),"https:"!==t.protocol)throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}o.request=function(t,e){return t=s(t),n.request.call(this,t,e)},o.get=function(t,e){return t=s(t),n.get.call(this,t,e)}},function(t,e){e.endianness=function(){return"LE"},e.hostname=function(){return"undefined"!==typeof location?location.hostname:""},e.loadavg=function(){return[]},e.uptime=function(){return 0},e.freemem=function(){return Number.MAX_VALUE},e.totalmem=function(){return Number.MAX_VALUE},e.cpus=function(){return[]},e.type=function(){return"Browser"},e.release=function(){return"undefined"!==typeof navigator?navigator.appVersion:""},e.networkInterfaces=e.getNetworkInterfaces=function(){return{}},e.arch=function(){return"javascript"},e.platform=function(){return"browser"},e.tmpdir=e.tmpDir=function(){return"/tmp"},e.EOL="\n",e.homedir=function(){return"/"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){this.type=t,this.bubbles=!1,this.cancelable=!1,this.loaded=0,this.lengthComputable=!1,this.total=0};e.ProgressEvent=n},function(t,e,r){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(Error);e.SecurityError=i;var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(Error);e.InvalidStateError=o;var a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(Error);e.NetworkError=a;var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(Error);e.SyntaxError=s},function(t,e,r){"use strict";(function(t){var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=function(e){function r(){var t=e.call(this)||this;return t._contentType=null,t._body=null,t._reset(),t}return n(r,e),r.prototype._reset=function(){this._contentType=null,this._body=null},r.prototype._setData=function(e){if(null!=e)if("string"===typeof e)0!==e.length&&(this._contentType="text/plain;charset=UTF-8"),this._body=new t(e,"utf-8");else if(t.isBuffer(e))this._body=e;else if(e instanceof ArrayBuffer){for(var r=new t(e.byteLength),n=new Uint8Array(e),i=0;i<e.byteLength;i++)r[i]=n[i];this._body=r}else{if(!(e.buffer&&e.buffer instanceof ArrayBuffer))throw new Error("Unsupported send() data "+e);r=new t(e.byteLength);var o=e.byteOffset;for(n=new Uint8Array(e.buffer),i=0;i<e.byteLength;i++)r[i]=n[i+o];this._body=r}},r.prototype._finalizeHeaders=function(t,e){this._contentType&&!e["content-type"]&&(t["Content-Type"]=this._contentType),this._body&&(t["Content-Length"]=this._body.length.toString())},r.prototype._startUpload=function(t){this._body&&t.write(this._body),t.end()},r}(r(105).XMLHttpRequestEventTarget);e.XMLHttpRequestUpload=i}).call(this,r(11).Buffer)},function(t,e){!function(){"use strict";function t(e,r,n,i){return this instanceof t?(this.domain=e||void 0,this.path=r||"/",this.secure=!!n,this.script=!!i,this):new t(e,r,n,i)}function r(t,e,n){return t instanceof r?t:this instanceof r?(this.name=null,this.value=null,this.expiration_date=1/0,this.path=String(n||"/"),this.explicit_path=!1,this.domain=e||null,this.explicit_domain=!1,this.secure=!1,this.noscript=!1,t&&this.parse(t,e,n),this):new r(t,e,n)}t.All=Object.freeze(Object.create(null)),e.CookieAccessInfo=t,e.Cookie=r,r.prototype.toString=function(){var t=[this.name+"="+this.value];return this.expiration_date!==1/0&&t.push("expires="+new Date(this.expiration_date).toGMTString()),this.domain&&t.push("domain="+this.domain),this.path&&t.push("path="+this.path),this.secure&&t.push("secure"),this.noscript&&t.push("httponly"),t.join("; ")},r.prototype.toValueString=function(){return this.name+"="+this.value};var n=/[:](?=\s*[a-zA-Z0-9_\-]+\s*[=])/g;function i(){var t,e;return this instanceof i?(t=Object.create(null),this.setCookie=function(n,i,o){var a,s;if(a=(n=new r(n,i,o)).expiration_date<=Date.now(),void 0!==t[n.name]){for(e=t[n.name],s=0;s<e.length;s+=1)if(e[s].collidesWith(n))return a?(e.splice(s,1),0===e.length&&delete t[n.name],!1):(e[s]=n,n);return!a&&(e.push(n),n)}return!a&&(t[n.name]=[n],t[n.name])},this.getCookie=function(r,n){var i,o;if(e=t[r])for(o=0;o<e.length;o+=1)if((i=e[o]).expiration_date<=Date.now())0===e.length&&delete t[i.name];else if(i.matches(n))return i},this.getCookies=function(e){var r,n,i=[];for(r in t)(n=this.getCookie(r,e))&&i.push(n);return i.toString=function(){return i.join(":")},i.toValueString=function(){return i.map((function(t){return t.toValueString()})).join(";")},i},this):new i}r.prototype.parse=function(t,e,n){if(this instanceof r){var i,o=t.split(";").filter((function(t){return!!t})),a=o[0].match(/([^=]+)=([\s\S]*)/);if(!a)return void console.warn("Invalid cookie header encountered. Header: '"+t+"'");var s=a[1],u=a[2];if("string"!==typeof s||0===s.length||"string"!==typeof u)return void console.warn("Unable to extract values from cookie header. Cookie: '"+t+"'");for(this.name=s,this.value=u,i=1;i<o.length;i+=1)switch(s=(a=o[i].match(/([^=]+)(?:=([\s\S]*))?/))[1].trim().toLowerCase(),u=a[2],s){case"httponly":this.noscript=!0;break;case"expires":this.expiration_date=u?Number(Date.parse(u)):1/0;break;case"path":this.path=u?u.trim():"",this.explicit_path=!0;break;case"domain":this.domain=u?u.trim():"",this.explicit_domain=!!this.domain;break;case"secure":this.secure=!0}return this.explicit_path||(this.path=n||"/"),this.explicit_domain||(this.domain=e),this}return(new r).parse(t,e,n)},r.prototype.matches=function(e){return e===t.All||!(this.noscript&&e.script||this.secure&&!e.secure||!this.collidesWith(e))},r.prototype.collidesWith=function(t){if(this.path&&!t.path||this.domain&&!t.domain)return!1;if(this.path&&0!==t.path.indexOf(this.path))return!1;if(this.explicit_path&&0!==t.path.indexOf(this.path))return!1;var e=t.domain&&t.domain.replace(/^[\.]/,""),r=this.domain&&this.domain.replace(/^[\.]/,"");if(r===e)return!0;if(r){if(!this.explicit_domain)return!1;var n=e.indexOf(r);return-1!==n&&n===e.length-r.length}return!0},e.CookieJar=i,i.prototype.setCookies=function(t,e,i){var o,a,s=[];for(t=(t=Array.isArray(t)?t:t.split(n)).map((function(t){return new r(t,e,i)})),o=0;o<t.length;o+=1)a=t[o],this.setCookie(a,e,i)&&s.push(a);return s}}()},function(t,e,r){var n=r(332);t.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},function(t,e,r){var n=r(182),i=r(185);t.exports=function(t,e){for(var r=0,o=(e=n(e,t)).length;null!=t&&r<o;)t=t[i(e[r++])];return r&&r==o?t:void 0}},function(t,e,r){var n=r(106),i=r(107),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!i(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(22))},function(t,e,r){var n=r(108),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(u){}var i=a.call(t);return n&&(e?t[s]=r:delete t[s]),i}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){var n=r(339),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,r,n,i){e.push(n?i.replace(o,"$1"):r||t)})),e}));t.exports=a},function(t,e,r){var n=r(340);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},function(t,e,r){var n=r(341);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function r(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},function(t,e,r){var n=r(342),i=r(362),o=r(364),a=r(365),s=r(366);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},function(t,e,r){var n=r(343),i=r(355),o=r(361);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},function(t,e,r){var n=r(344),i=r(351),o=r(352),a=r(353),s=r(354);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},function(t,e,r){var n=r(72);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,e,r){var n=r(346),i=r(347),o=r(111),a=r(349),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,h=u.toString,f=c.hasOwnProperty,l=RegExp("^"+h.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(n(t)?l:s).test(a(t))}},function(t,e,r){var n=r(183),i=r(111);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){var n=r(348),i=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!i&&i in t}},function(t,e,r){var n=r(109)["__core-js_shared__"];t.exports=n},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,r){var n=r(72),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(e,t)?e[t]:void 0}},function(t,e,r){var n=r(72),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)}},function(t,e,r){var n=r(72);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e,r){var n=r(356),i=r(357),o=r(358),a=r(359),s=r(360);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,t.exports=u},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(73),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():i.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(73);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(73);t.exports=function(t){return n(this.__data__,t)>-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<n;)i[r]=e(t[r],r,t);return i}},function(t,e,r){var n=r(371);t.exports=function(t,e,r){return null==t?t:n(t,e,r)}},function(t,e,r){var n=r(372),i=r(182),o=r(375),a=r(111),s=r(185);t.exports=function(t,e,r,u){if(!a(t))return t;for(var c=-1,h=(e=i(e,t)).length,f=h-1,l=t;null!=l&&++c<h;){var A=s(e[c]),p=r;if("__proto__"===A||"constructor"===A||"prototype"===A)return t;if(c!=f){var d=l[A];void 0===(p=u?u(d,A,l):void 0)&&(p=a(d)?d:o(e[c+1])?[]:{})}n(l,A,p),l=l[A]}return t}},function(t,e,r){var n=r(373),i=r(184),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var a=t[e];o.call(t,e)&&i(a,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(374);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(110),i=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},function(t,e){var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,r){var n=r(377),i=r(378);t.exports={blake2b:n.blake2b,blake2bHex:n.blake2bHex,blake2bInit:n.blake2bInit,blake2bUpdate:n.blake2bUpdate,blake2bFinal:n.blake2bFinal,blake2s:i.blake2s,blake2sHex:i.blake2sHex,blake2sInit:i.blake2sInit,blake2sUpdate:i.blake2sUpdate,blake2sFinal:i.blake2sFinal}},function(t,e,r){var n=r(186);function i(t,e,r){var n=t[e]+t[r],i=t[e+1]+t[r+1];n>=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<e.length;r++)128===t.c&&(t.t+=t.c,l(t,!1),t.c=0),t.b[t.c++]=e[r]}function d(t){for(t.t+=t.c;t.c<128;)t.b[t.c++]=0;l(t,!0);for(var e=new Uint8Array(t.outlen),r=0;r<t.outlen;r++)e[r]=t.h[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<e.length;r++)64===t.c&&(t.t+=t.c,f(t,!1),t.c=0),t.b[t.c++]=e[r]}function p(t){for(t.t+=t.c;t.c<64;)t.b[t.c++]=0;f(t,!0);for(var e=new Uint8Array(t.outlen),r=0;r<t.outlen;r++)e[r]=t.h[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}]]);
  3. //# sourceMappingURL=2.7f706534.chunk.js.map