diff --git a/README.md b/README.md index f1eaada..7c13ae3 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ Developers are not required to individually integrate all wallets, resulting in - Plug - AstroX ME - Infinity Wallet + - NFID + - MetaMask ( MSQ - Safe ICP Wallet) ## Installation @@ -38,6 +40,15 @@ const artemisWalletAdapter = new Artemis(connectObj); ``` +or + +``` + +``` + + + + ## Using Batch Transaction Import BatchTransact class diff --git a/dist/bundle.js b/dist/bundle.js index 3c27f86..5b884a6 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -1,2 +1,2 @@ /*! For license information please see bundle.js.LICENSE.txt */ -(function(){var __webpack_modules__={1602:function(A){var t=function(A){"use strict";var t,e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(A,t,e){A[t]=e.value},n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function g(A,t,e){return Object.defineProperty(A,t,{value:e,enumerable:!0,configurable:!0,writable:!0}),A[t]}try{g({},"")}catch(A){g=function(A,t,e){return A[t]=e}}function c(A,t,e,r){var n=t&&t.prototype instanceof Q?t:Q,o=Object.create(n.prototype),a=new M(r||[]);return i(o,"_invoke",{value:v(A,e,a)}),o}function B(A,t,e){try{return{type:"normal",arg:A.call(t,e)}}catch(A){return{type:"throw",arg:A}}}A.wrap=c;var I="suspendedStart",u="suspendedYield",E="executing",h="completed",f={};function Q(){}function C(){}function d(){}var l={};g(l,o,(function(){return this}));var p=Object.getPrototypeOf,w=p&&p(p(G([])));w&&w!==e&&r.call(w,o)&&(l=w);var y=d.prototype=Q.prototype=Object.create(l);function b(A){["next","throw","return"].forEach((function(t){g(A,t,(function(A){return this._invoke(t,A)}))}))}function m(A,t){function e(i,n,o,a){var s=B(A[i],A,n);if("throw"!==s.type){var g=s.arg,c=g.value;return c&&"object"==typeof c&&r.call(c,"__await")?t.resolve(c.__await).then((function(A){e("next",A,o,a)}),(function(A){e("throw",A,o,a)})):t.resolve(c).then((function(A){g.value=A,o(g)}),(function(A){return e("throw",A,o,a)}))}a(s.arg)}var n;i(this,"_invoke",{value:function(A,r){function i(){return new t((function(t,i){e(A,r,t,i)}))}return n=n?n.then(i,i):i()}})}function v(A,t,e){var r=I;return function(i,n){if(r===E)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw n;return N()}for(e.method=i,e.arg=n;;){var o=e.delegate;if(o){var a=D(o,e);if(a){if(a===f)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===I)throw r=h,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=E;var s=B(A,t,e);if("normal"===s.type){if(r=e.done?h:u,s.arg===f)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(r=h,e.method="throw",e.arg=s.arg)}}}function D(A,e){var r=e.method,i=A.iterator[r];if(i===t)return e.delegate=null,"throw"===r&&A.iterator.return&&(e.method="return",e.arg=t,D(A,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var n=B(i,A.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.arg;return o?o.done?(e[A.resultName]=o.value,e.next=A.nextLoc,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(A){var t={tryLoc:A[0]};1 in A&&(t.catchLoc=A[1]),2 in A&&(t.finallyLoc=A[2],t.afterLoc=A[3]),this.tryEntries.push(t)}function k(A){var t=A.completion||{};t.type="normal",delete t.arg,A.completion=t}function M(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(S,this),this.reset(!0)}function G(A){if(A){var e=A[o];if(e)return e.call(A);if("function"==typeof A.next)return A;if(!isNaN(A.length)){var i=-1,n=function e(){for(;++i=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),g=r.call(o,"finallyLoc");if(s&&g){if(this.prev=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var e=this.tryEntries[t];if(e.finallyLoc===A)return this.complete(e.completion,e.afterLoc),k(e),f}},catch:function(A){for(var t=this.tryEntries.length-1;t>=0;--t){var e=this.tryEntries[t];if(e.tryLoc===A){var r=e.completion;if("throw"===r.type){var i=r.arg;k(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(A,e,r){return this.delegate={iterator:G(A),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=t),f}},A}(A.exports);try{regeneratorRuntime=t}catch(A){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},6146:function(A,t,e){"use strict";e.r(t),e.d(t,{encodePath:function(){return c},request:function(){return g}});var r=e(4012),i=e(60),n=e(144),o=e(2030),a=e(939),s=e(6051);const g=async A=>{const{canisterId:t,agent:e,paths:r}=A,i=[...new Set(r)],a=i.map((A=>c(A,t))),s=new Map,g=i.map(((A,r)=>(async()=>{var g;try{const n=await e.readState(t,{paths:[a[r]]}),g=(await o.KB.create({certificate:n.certificate,rootKey:e.rootKey,canisterId:t})).lookup(c(i[r],t));if(g)switch(A){case"time":s.set(A,h(g));break;case"controllers":s.set(A,f(g));break;case"module_hash":s.set(A,B(g));break;case"candid":s.set(A,(new TextDecoder).decode(g));break;default:if("string"!=typeof A&&"key"in A&&"path"in A)switch(A.decodeStrategy){case"raw":s.set(A.key,g);break;case"leb128":s.set(A.key,I(g));break;case"cbor":s.set(A.key,u(g));break;case"hex":s.set(A.key,B(g));break;case"utf-8":s.set(A.key,E(g))}}else console.warn(`Expected to find result for path ${A}, but instead found nothing.`),"string"==typeof A?s.set(A,null):s.set(A.key,null)}catch(t){if(null===(g=null==t?void 0:t.message)||void 0===g?void 0:g.includes("Invalid certificate"))throw new n.e(t.message);"string"!=typeof A&&"key"in A&&"path"in A?s.set(A.key,null):s.set(A,null),console.group(),console.warn(`Expected to find result for path ${A}, but instead found nothing.`),console.warn(t),console.groupEnd()}})()));return await Promise.all(g),s},c=(A,t)=>{const e=new TextEncoder,r=A=>new DataView(e.encode(A).buffer).buffer,i=new DataView(t.toUint8Array().buffer).buffer;switch(A){case"time":return[r("time")];case"controllers":return[r("canister"),i,r("controllers")];case"module_hash":return[r("canister"),i,r("module_hash")];case"subnet":return[r("subnet")];case"candid":return[r("canister"),i,r("metadata"),r("candid:service")];default:if("key"in A&&"path"in A){if("string"==typeof A.path||A.path instanceof ArrayBuffer){const t=A.path,e="string"==typeof t?r(t):t;return[r("canister"),i,r("metadata"),e]}return A.path}}throw new Error(`An unexpeected error was encountered while encoding your path for canister status. Please ensure that your path, ${A} was formatted correctly.`)},B=A=>(0,a.NC)(A),I=A=>(0,r.aC)(new r.P8(A)),u=A=>s.Jx(A),E=A=>(new TextDecoder).decode(A),h=A=>{const t=I(A);return new Date(Number(t/BigInt(1e6)))},f=A=>{const[t,...e]=u(A);return e.map((A=>i.R.fromUint8Array(new Uint8Array(A))))}},6051:function(A,t,e){"use strict";e.d(t,{Jx:function(){return B},cv:function(){return s}});var r=e(7756),i=e(8419),n=e(939);const o=i.SelfDescribeCborSerializer.withDefaultEncoders(!0);var a;function s(A){return o.serialize(A)}function g(A){const t=A.byteLength;let e=BigInt(0);for(let r=0;rBigInt(0)?i.value.tagged(2,i.value.bytes((0,n.H_)(A.toString(16)))):i.value.tagged(3,i.value.bytes((0,n.H_)((BigInt("-1")*A).toString(16))))}}),function(A){A[A.Uint64LittleEndian=71]="Uint64LittleEndian",A[A.Semantic=55799]="Semantic"}(a||(a={}));class c extends r.Decoder{createByteString(A){return(0,n.zo)(...A)}createByteStringFromHeap(A,t){return A===t?new ArrayBuffer(0):new Uint8Array(this._heap.slice(A,t))}}function B(A){const t=new Uint8Array(A);return new c({size:t.byteLength,tags:{2:A=>g(A),3:A=>-g(A),[a.Semantic]:A=>A}}).decodeFirst(t)}},2030:function(A,t,e){"use strict";e.d(t,{KB:function(){return B}});var r=e(6051),i=e(144),n=e(349),o=e(939),a=e(60),s=e(7091);class g extends i.e{constructor(A){super(`Invalid certificate: ${A}`)}}function c(A,t){if(A.byteLength!==t.byteLength)return!1;const e=new Uint8Array(A),r=new Uint8Array(t);for(let A=0;A[a.R.fromUint8Array(A[0]),a.R.fromUint8Array(A[1])])).some((A=>A[0].ltEq(this._canisterId)&&A[1].gtEq(this._canisterId))))throw new g(`Canister ${this._canisterId} not in range of delegations for subnet 0x${(0,o.NC)(A.subnet_id)}`);const i=t.lookup(["subnet",A.subnet_id,"public_key"]);if(!i)throw new Error(`Could not find subnet key for subnet 0x${(0,o.NC)(A.subnet_id)}`);return i}}const I=(0,o.H_)("308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100"),u=96;async function E(A){switch(A[0]){case 0:return(0,n.vp)(h("ic-hashtree-empty"));case 4:return A[1];case 3:return(0,n.vp)((0,o.zo)(h("ic-hashtree-leaf"),A[1]));case 2:return(0,n.vp)((0,o.zo)(h("ic-hashtree-labeled"),A[1],await E(A[2])));case 1:return(0,n.vp)((0,o.zo)(h("ic-hashtree-fork"),await E(A[1]),await E(A[2])));default:throw new Error("unreachable")}}function h(A){const t=new Uint8Array([A.length]),e=(new TextEncoder).encode(A);return(0,o.zo)(t,e)}function f(A,t){if(0===A.length)return 3===t[0]?new Uint8Array(t[1]).buffer:void 0;const e=function(A,t){if(0!==t.length)for(const e of t)if(2===e[0]&&c(A,e[1]))return e[2]}("string"==typeof A[0]?(new TextEncoder).encode(A[0]):A[0],Q(t));return e?f(A.slice(1),e):void 0}function Q(A){switch(A[0]){case 0:return[];case 1:return Q(A[1]).concat(Q(A[2]));default:return[A]}}},144:function(A,t,e){"use strict";e.d(t,{e:function(){return r}});class r extends Error{constructor(A){super(A),this.message=A,Object.setPrototypeOf(this,r.prototype)}}},349:function(A,t,e){"use strict";e.d(t,{vH:function(){return c},vp:function(){return a}});var r=e(4012),i=e(7756),n=e(2023),o=e(939);function a(A){return n.sha256.create().update(new Uint8Array(A)).arrayBuffer()}function s(A){if(A instanceof i.Tagged)return s(A.value);if("string"==typeof A)return g(A);if("number"==typeof A)return a((0,r.dZ)(A));if(A instanceof ArrayBuffer||ArrayBuffer.isView(A))return a(A);if(Array.isArray(A)){const t=A.map(s);return a((0,o.zo)(...t))}if(A&&"object"==typeof A&&A._isPrincipal)return a(A.toUint8Array());if("object"==typeof A&&null!==A&&"function"==typeof A.toHash)return s(A.toHash());if("bigint"==typeof A)return a((0,r.dZ)(A));throw Object.assign(new Error(`Attempt to hash a value of unsupported type: ${A}`),{value:A})}const g=A=>a((new TextEncoder).encode(A));function c(A){const t=Object.entries(A).filter((([,A])=>void 0!==A)).map((([A,t])=>[g(A),s(t)])).sort((([A],[t])=>(0,o.qu)(A,t)));return a((0,o.zo)(...t.map((A=>(0,o.zo)(...A)))))}},7091:function(A,t,e){"use strict";let r;e.d(t,{O:function(){return g}});const i=e(3704).J("AGFzbQEAAAABXg9gAn9/AGABfwBgAX8Bf2ADf39/AGACf38Bf2ADf39/AX9gBH9/f38AYAF/AX5gBX9/f39/AGAAAX9gBn9/f39/fwBgBn9/f39/fwF/YAJ/fwF+YAV/fn5+fgBgAAAD3wHdAQIAAAABAwoAAAAIBgQAAwEDAAEBAQAAAQAJAQMAAwEACAEDAwQAAwsADAIBAAEADQMEAAAAAgEBAAABAwABAQMEAAEBAQEBAQEAAAMBAgUABAEFBAEBAgIEAwQDAAAAAwAAAAABDgABAgAAAAEAAwMAAQMAAwYCAAAABAABAAABAQYBAwAAAgICAgIBAAMABAACAQAAAwAAAAAAAQEBAQIAAAEEAQMAAAABAAAEAgABAQEBAQEBAQEBBAQAAgMAAAABAAICAAIEBAEBAgICAgAEBQQEAgIJBwcHAQMDBAUBcAESEgUDAQARBgkBfwFBgIDAAAsHNwQGbWVtb3J5AgAIYmxzX2luaXQA1gEKYmxzX3ZlcmlmeQA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uAIgAkHAAmpBOBDQARogAkH4AmpBATYCACACQYADakE4ENABGiACQbgDakEBNgIAIAJBwANqQTgQ0AEaIAJB+ANqQQE2AgAgAkGABGpBOBDQARogAkEBNgK4BCACQcAEakE4ENABGiACQfgEakEBNgIAIAJBgAVqQTgQ0AEaIAJBuAVqQQE2AgAgAkHABWpBOBDQARogAkH4BWpBATYCACACQYAGakE4ENABGiACQQE2ArgGIAJBwAZqQTgQ0AEaIAJB+AZqQQE2AgAgAkGAB2pBOBDQARogAkG4B2pBATYCACACQcAHakE4ENABGiACQfgHakEBNgIAIAIgARAYAkAgASgCgAZBBEYNACAAKAKABkEERg0AIAJBgARqIgMgAEGAAmoQlgEgAyABQYACahAYDAYLIAJBwAxqIgdBOBDQARogAkEBNgL4DCACQYANakE4ENABGiACQbgNakEBNgIAIAJBgAhqIgRBOBDQARogAkEBNgK4CCACQcAIakE4ENABGiACQfgIakEBNgIAIAJBgApqIgMgAEGAA2oiBRBeIAQgAxCZASADIAFBgANqIgYQXiAEIAMQESAHELYBIAEoAoAGQQRHDQMMBAsgACABEAMMBgsgAkHADGoiAyABQYAFahBeIAJBgAxqIgQgA0HAABDRARogAkGABmogBBCnAQsgAkGABmoQZCACQYAIaiIDIAIQlgEgAxArIAJBgAJqIgQgAxCXASAGIAQQlgEgAkGABGoiByADEJYBIAMgABCWASADIAUQlwEgAxCwASACQYAKaiIEIAEQlgEgBCABQYAEahCXASAEELABIAMgBBAYIAcgAxCXASADIAUQlgECQCABKAKABkECRwRAIAJBwAxqIgMgAUGABWoQXiACQYAIaiADEKYBDAELIAJBwAxqIgMgAUGABWoQXiACQYAMaiIBIANBwAAQ0QEaIAJBgAhqIAEQpwELIAJBgAhqIgEQZCACQYAKaiIDIAEQlgEgAxArIAUgAkGABGoQlgEgBSADEJcBIAJBgAZqIgQgAxCXASABEGQgBiABEJcBIAQQsAEgBBBkIAAgAhCWASAAIAQQlwEMAwsgAkGACmoiAyAFEF4gAkHADGoiBCADEJkBIAMgAUG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gMgBBCuASABIAMQdyABEEJBACEBA0AgAUGQBkYEQCACQYgJaiIDIAJByARqEEogAkGIBmoiASACQYgIahCuASABIAJByAlqIgQQSiACQQhqIgUgARCuASABIAMQrgEgASACQcgIaiIDEEogAkHIAGogARCuASABIAMQrgEgASAEEEogAkGIAWogARCuASAAIAVBwAEQ0QEaIAJBgAtqJAAFIAJByAlqIgMgAkGIA2oQSiACQcgKaiIEIAFBwJTAAGoQSSABQThqIQEgAkGICmoiBSAEEI4BIAJBiAZqIgQgBRCuASADIAQQdyADEEIMAQsLC/oGAQx/IwBBgAlrIgMkACADQYAIaiICIAAQXiADIAIQXiACIABBgAFqIgoQXiADQYABaiIEIAIQXiACIAEQXiADIAIQESACIAFBgAFqIgsQXiAEIAIQEQJAIAEoAoAGIgJBAkYgACgCgAYiBEECRnJFBEAgA0GACGoiAiAAQYAFahBeIANBgAJqIgQgAhBeIAIgAUGABWoQXiAEIAIQEQwBCyACQQJGIARBAkZxRQRAIAJBAkYEQCADQYAIaiICIABBgAVqEF4gA0GAAmoiBCACEF4gAiABQYAFahBeIANBgAdqIgUgAkHAABDRARogBCAFEKoBDAILIANBgAhqIgIgAUGABWoQXiADQYACaiIEIAIQXiACIABBgAVqEF4gA0GAB2oiBSACQcAAENEBGiAEIAUQqgEMAQsgA0GACGoiAiAAQYAFahBeIANBgAdqIgQgAkHAABDRARogA0GABmoiBSAEEJABIAIgAUGABWoQXiAEIAJBwAAQ0QEaIAUgBBBKIANBgAJqQTgQ0AEiAkEBNgI4IAJBQGtBOBDQASACQfgAakEBNgIAIAIgBRCuARDBAQsgA0GACGoiAiAAEF4gA0GAA2oiBCACEF4gAiABEF4gA0GABGoiBSACEF4gAiAKEF4gBCACEJoBIAQQqQEgAiALEF4gBSACEJoBIAUQqQEgA0GABWoiByAEEF4gByAFEBEgA0GABmoiBiADEF4gBiADQYABaiIIEJoBIAYQNiAHIAYQmgEgAiAAEF4gBCACEJkBIAIgAEGABWoiDBBeIAQgAhCaASAEEKk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ACIANyNgIAIAELIQIgASAANgIIIAIgADYCDCAAIAE2AgwgACACNgIIC+UDAQN/IwBB0CJrIgMkACADQcAWaiIEQcitwAAQSSADQcgcaiIFQYCuwAAQSSADQQhqIAQgBRBLIANBiAFqQTgQ0AEaIANBwAFqQTgQ0AEaIANB+AFqED0CQCACEIYBBEAgABBVDAELIANB+ARqIgQQPSAEIAEQfSAEEEcgA0H4B2oiARBnIAEgAhB4IAEQRiADQcgcaiICIAEQkAEgA0G4CWogAhCQASACIANBuAhqEJABIANB+AlqIAIQkAEgA0G4CmoiARA9IANBuA1qEFUgASAEEH0gA0HAE2oiARA9IAEgBBB9IAEQogEgA0HAAWogA0GIAWoQUEECayECA0AgAkEBakEBTQRAIANBuA1qIgEQngEgACABQYgGENEBGgUgA0G4DWoQGiADQcAWaiADQbgKaiADQbgJaiADQfgJahALAkACQAJAIANBwAFqIAIQUyADQYgBaiACEFNrQQFqDgMBAgACCyADQcgcaiIBIANBuApqIANB+ARqIANBuAlqIANB+AlqEAogA0HAFmogARADDAELIANByBxqIgEgA0G4CmogA0HAE2ogA0G4CWogA0H4CWoQCiADQcAWaiABEAMLIAJBAWshAiADQbgNaiADQcAWahABDAELCwsgA0HQImokAAvBAwEVfwNAIANBwAFGBEACQCAAQShqIQsgAEEUaigCACIMIQggAEEQaigCACINIQIgAEEMaigCACIOIQEgACgCCCIPIQMgAEEYaigCACIQIQogAEEcaigCACIRIQQgAEEgaigCACISIQcgAEEkaigCACITIQYDQCAHIQkgBCEHIAohBCAFQYACRg0BIAEgAnEhFCABIAJzIRUgBSALaigCACAFQcCiwABqKAIAIAkgBEF/c3EgBCAHcXIgBmogBEEadyAEQRV3cyAEQQd3c2pqaiIGIAhqIQogBUEEaiEFIAIhCCABIQIgAyIBQR53IAFBE3dzIAFBCndzIBQgASAVcXNqIAZqIQMgCSEGDAALAAsFIAAgA2oiAkHoAGogAkEoaigCACACQcwAaigCACACQeAAaigCACIBQQ93IAFBDXdzIAFBCnZzamogAkEsaig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uASAAEEIgACADEEogABCCASAAEEIgBiAFEK4BIAYQQiABQcACaiQAC84CAgd/An4CQAJAAkBBDSABQTpuIgJrIgRBDU0EQEEMIAJrIgNBDk8NASAAIAAgA0EDdGopAwBBOiABIAJBOmxrIgNrrSIKhyAAIARBA3RqKQMAIAOtIgmGhDcDaCAEQQ1rIQUgAEHgAGohBCACQQFqIQZBACACQQN0ayEHQQshAwNAAkAgA0ECaiAGTQRAIAFBrAZPDQEgACACQQN0aiAAKQMAIAmGQv//////////A4M3AwADQCACRQ0HIABCADcDACACQQFrIQIgAEEIaiEADAALAAsgAyAFakEOTw0EIAQgBCAHaiIIQQhrKQMAIAqHIAgpAwAgCYZC//////////8Dg4Q3AwAgA0EBayEDIARBCGshBAwBCwsgAkEOQYCywAAQOwALIARBDkHQscAAEDsACyADQQ5B4LHAABA7AAtBf0EOQfCxwAAQOwALC6cCAQR/IABCADcCECAAAn9BACABQYACSQ0AGkEfIAFB////B0sNABogAUEGIAFBCHZnIgNrdkEBcSADQQF0a0E+agsiBDYCHCAEQQJ0Qey9wABqIQMgACECAkACQAJAAkBB4LvAACgCACIAQQEgBHQiBXEEQCADKAIAIQMgBBCfASEAIAMQywEgAUcNASADIQAMAgtB4LvAACAAIAVyNgIAIAMgAjYCAAwDCyABIAB0IQQDQCADIARBHXZBBHFqQRBqIgUoAgAiAEUNAiAEQQF0IQQgACIDEMsBIAFHDQALCyAAKAIIIgEgAjYCDCAAIAI2AgggAiAANgIMIAIgATYCCCACQQA2AhgPCyAFIAI2AgALIAIgAzYCGCACIAI2AgggAiACNgIMC7YCAQV/IAAoAhghBAJAAkAgACAAKAIMRgRAIABBFEEQIABBFGoiASgCACIDG2ooAgAiAg0BQQAhAQwCCyAAKAIIIgIgACgCDCIBNgIMIAEgAjYCCAwBCyABIABBEGogAxshAwNAIAMhBSACIgFBFGoiAygCACICRQRAIAFBEGohAyABKAIQIQILIAINAAsgBUEANgIACwJAIARFDQACQCAAIAAoAhxBAnRB7L3AAGoiAigCAEcEQCAEQRBBFCAEKAIQIABGG2ogATYCACABDQEMAgsgAiABNgIAIAENAEHgu8AAQeC7wAAoAgBBfiAAKAIcd3E2AgAPCyABIAQ2AhggACgCECICBEAgASACNgIQIAIgATYCGAsgAEEUaigCACIARQ0AIAFBFGogADYCACAAIAE2AhgLC+UBAQZ/IwBBgARrIgIkACACIAAQXiACQYABaiIFIABBgAFqIgYQXiACQYACaiIDQTgQ0AEaIAJBATYCuAIgAkHAAmpBOBDQARogAkH4AmpBATYCACACQYADaiIEIAYQXiACIAEQESAFIAFBgAFqIgcQESADIAcQmQEgAyABEJoBIAQgABCaASADEKkBIAQQqQEgBCADEBEgAyACEJkBIAMQNiAEIAMQmgEgBBCpASADIAUQmQEgAxA2IAYgBBCZASAGIAMQmgEgBRB8IAAgBRCZASAAIAIQmgEgABCwASACQYAEaiQAC28BDH9BjL/AACgCACICRQRAQZy/wABB/x82AgBBAA8LQYS/wAAhBgNAIAIiASgCCCECIAEoAgQhAyABKAIAIQQgAUEMaigCABogASEGIAVBAWohBSACDQALQZy/wAAgBUH/HyAFQf8fSxs2AgBBAAuAAgEGfyMAQYAIayIBJAAgACgCgAZBAUcEQCABIAAQjAEgAUGAAmoiAiAAQYACaiIEEIwBIAFBgARqIgUgAEGABGoiAxCMASABQYAGaiIGIAAQjAEgARAhIAIgAxAYIAIQswEgAhCwASAFECEgBiAEEBggBhCzASADIAAQlwEgAyAEEJcBIAMQsAEgAxAhIAAgARCWASABIAIQlwEgARCwASABIAUQlwEgASAGEJcBIAEQsAEgARArIAIQZCAFEGQgACACEJcBIAQgBRCWASAEIAYQlwEgAyABEJcBIABBBEEFIAAoAoAGQX5xQQJGGzYCgAYgABCdAQsgAUGACGokAAuZAgEBfyMAQYANayIDJAAgAyABEGkgAxCdASADQYgGaiIBIAIQXSABEEIgA0HABmoiAiABEF0gAkEDECkaIAIQQiADQfgGaiADEGkCQCACEFdFBEAgA0HABmoQKkECayECA0AgAkEBakEBTQRAIANB+AZqIgEQ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Q0DQQAhAyABIAEpAwgiCEI5hkKAgICAgICAgAKDIAEpAwBCAYeEIgc3AwAgACkDACAHfSEHIABBCGohBSAAIAFBOGoiAkEBA38gAiADaiAHQv//////////A4M3AwAgB0I6hyEHIANBKEYEfyABIAEpAzBCAYciCDcDMCACIAApAzAgCH0gB3wiBzcDMCAHQj+IpwUgASADaiIGQQhqIAhCAYcgBkEQaikDACIIQjmGQoCAgICAgICAAoOEIgk3AwAgAyAFaikDACAHfCAJfSEHIANBCGohAwwBCwtrEDAgBEEBayEEDAALAAtB4LPAAEEZQcSzwAAQWQALQYC0wABBH0HEs8AAEFkACyAAQQE2AjggAUHwAGokAAvuAQECfyMAQbABayIDJAAgA0EwENABIQMCQAJAA0AgAkEwRgRAIANBMGogAxBwIAFBMGohAUEAIQIDQCACQTBGDQMgAkEwRg0EIAIgA2ogASACai0AADoAACACQQFqIQIMAAsACyACQeAARwRAIAIgA2ogASACai0AADoAACACQQFqIQIMAQsLQeAAQeAAQYCmwAAQOwALIANB8ABqIgEgAxBwIABBOBDQASIAQQE2AjggAEFAa0E4ENABIABB+ABqQQE2AgAgACABEK4BIANBMGoQrgEgA0GwAWokAA8LIAJBMGpB4ABBkKbAABA7AAuPAgEDfyMAQSBrIgUkAEEBIQZB2LvAAEHYu8AAKAIAIgdBAWo2AgACQEGgv8AALQAABEBBpL/AACgCAEEBaiEGDAELQaC/wABBAToAAAtBpL/AACAGNgIAAkACQCAHQQBIIAZBAktyDQAgBSAEOgAYIAUgAzYCFCAFIAI2AhBBzLvAACgCACICQQBIDQBBzLvAACACQQFqIgI2AgBBzLvAAEHUu8AAKAIAIgMEf0HQu8AAKAIAIAUgACABKAIQEQAAIAUgBSkDADcDCCAFQQhqIAMoAhQRAABBzLvAACgCAAUgAgtBAWs2AgAgBkEBSw0AIAQNAQsACyMAQRBrIgIkACACIAE2AgwgAiAANgIIAAucAQEEfyMAQYADayICJAAgAiAAEF4gAkGAAWoiASAAQYABaiIEEF4gAkGAAmoiAyAAEF4gAyAEEBEgAiAEEJoBIAEQfCABIAAQmgEgAhCpASABEKkBIAAgAhCZASAAIAEQESABIAMQmQEgARB8IAEgAxCaASABEKkBIAEQNiAAIAEQmgEgAxC4ASAEIAMQmQEgABCwASACQYADaiQAC7kBAQJ/IwBBIGsiAyQAAkAgASABIAJqIgFLDQAgAEEEaigCACICQQF0IgQgASABIARJGyIBQQggAUEISxshAQJAIAIEQCADQRhqQQE2AgAgAyACNgIUIAMgACgCADYCEAwBCyADQQA2AhALIAMgASADQRBqECYgAygCAARAIANBCGooAgAiAEUNASADKAIEIAAQzwEACyADKAIEIQIgAEEEaiABNgIAIAAgAjYCACADQSBqJAAPCxBlAAusAQECfyMAQYADayIDJAAgA0EIaiABEJABAkAgAgRAIANBCGogAhCuAQwBCyADQQhqEDoLIANByABqIgJB8LTAABBJIANBgAFqIAIQjgEgA0HAAWoiAiADQQhqIgQQkAEgAhBMIAIgARBKIAAgARCQASAAIAQQSiADQYACaiACEJABIAAQViEBIANBwAJqIgIgABCQASACEEMgAhBCIAAgAiABEHIgA0GAA2okAAueAQEFfyMAQYABayICJAAgAkE4ENABIgJBATYCOCACQUBrIgNBOBDQARogAkEBNgJ4IAIgABCuASACIAFBgAFqIgUQSiADIAEQrgEgAyAAQYABaiIGEEoCQCACIAMQWEUNACACIABBQGsQrgEgAiAFEEogAkFAayIAIAFBQGsQrgEgACAGEEogAiAAEFhFDQBBASEECyACQYABaiQAIAQLpwEBA38jAEEwayICJAAgAUEEaiEDIAEoAgRFBEAgASgCACEBIAJBEGoiBEEANgIAIAJCATcDCCACIAJBCGo2AhQgAkEoaiABQRBqKQIANwMAIAJBIGogAUEIaikCADcDACACIAEpAgA3AxggAkEUaiACQRhqEAwaIANBCGogBCgCADYCACADIAIpAwg3AgALIABBhLfAADYCBCAAIAM2AgAgAkEwaiQAC5UBAQJ/AkACQAJAAkACfwJAAkACf0EBIgMgAUEASA0AGiACKAIAIgRFDQEgAigCBCICDQQgAQ0CQQEMAwshA0EA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qELQBIA5BGGoQtAEgDkEwaiQAC58BAgJ/BX4gAEEwaiICKQMAIAFBP3GtIgSGIQUgACkDKCIGQTogAWtBP3GtIgiHIQdBBiEBA38gAiAFIAeENwMAIAFBAU0EfyAAIAApAwAgBIZC//////////8DgzcDACAAKQMwQiSHpwUgAUEBayEBIAJBEGsiA0EIaiECIAYgBIZC//////////8DgyEHIAMpAwAiBiAIhyEFDAELCxoLiAECA34DfyMAQRBrIgUkAAN+IAZBOEYEfiAFQRBqJAAgAwUgBSAAIAZqIgcpAwAiAiACQj+HIAGsIgIgAkI/hxAvIAcgBSkDACIEIAN8IgJC//////////8DgzcDACACIARUrSAFQQhqKQMAIANCP4d8fEIGhiACQjqIhCEDIAZBCGohBgwBCwsLigECA38BfiMAQUBqIgIkACACQQhqIgEgABBdIAEQQiACQThqIQFBBiEDQdwCIQACQAJAA0AgA0EATgRAIAEpAwAiBEIAUg0CIAFBCGshASAAQTprIQAgA0EBayEDDAELC0EAIQAMAQsDQCAEUA0BIABBAWohACAEQgJ/IQQMAAsACyACQUBrJAAgAAuHAQEDfyMAQYACayIBJAAgABCwASABIAAQXiABQYABaiICQTgQ0AEaIAFBATYCuAEgAUHAAWpBOBDQARogAUH4AWpBATYCACABIABBgAFqIgMQmgEgARA2IAIgARCZASACIAMQmgEgAyABEJkBIAMgABCaASAAIAIQmQEgABCwASABQYACaiQAC30CBH4BfyABQT9xrSECQTogAWtBP3GtIQRBACEBIAApAwAiBSEDA38gAUEwRgR/IAAgACkDMCAChzcDMCAFQn8gAoZCf4WDpwUgACABaiIGIAMgAocgBkEIaikDACIDIASGQv//////////A4OENwMAIAFBCGohAQwBCwsaC2kBBH8jAEHAAWsiASQAIAEgABCQASABQUBrIgIgABCQASABQYABaiIDIABBQGsiBBCQASABIAQQdyACIAAQdyACEEIgBCACEEogAxBDIAAgAxB3IAEQQiAAEEIgACABEEogAUHAAWokAAuCAQIBfwF+IABB8AAQ0AEhAANAIAJBOEYEQAJAIAAgASkDMCIDQjqHNwM4IAAgA0L//////////wODNwMwIABBQGshAEEAIQIDQCACQTBGDQEgACACakIANwMAIAJBCGohAgwACwALBSAAIAJqIAEgAmopAwA3AwAgAkEIaiECDAELCwtuAQZ+IAAgA0L/////D4MiBSABQv////8PgyIGfiIHIAUgAUIgiCIIfiIJIAYgA0IgiCIGfnwiBUIghnwiCjcDACAAIAcgClatIAYgCH4gBSAJVK1CIIYgBUIgiIR8fCABIAR+IAIgA358fDcDCAtqAgF/BX4gASkDCCAAKQMAhSIGQgGGQgGHIQdBACACa6whCAN+IANBOEYEfiAFBSAAIANqIgIgAikDACIEIAaFIAEgA2opAwAgBIUgCIOFIgQgB4U3AwAgBCAFhSEFIANBCGohAwwBCwsaC18CAX8EfkIBIQNBMCECA38gAkF4RgR/IARCAYYgA3ynQQFrBSABIAJqKQMAIgUgACACaikDACIGfUI6hyADgyAEhCEEIAJBCGshAiAFIAaFQgF9QjqHIAODIQMMAQsLC2kBBH8jAEGAAmsiAiQAIAIgARBeIAJBgAFqIgMgARBeIAIQLSADIAIQESAAIAMQmAEgAEGAAmoiBCADEJgBIABBgARqIgUgAxCYASAEIAEQpgEgBSACEKYBIABBBTYCgAYgAkGAAmokAAtiAQJ/IwBBQGoiAiQAIAAQQiACIAAQkAECQCABBEAgACABEK4BDAELIAAQOgtBACEBA0AgA0UEQCAAEExBASABQQFqIAFBAUYiAxshAQwBCwsgACACEEogABAeIAJBQGskAAtnAQJ/IwBBQGoiAyQAAkAgASABQR91IgJqIAJzIgIgACgCOGxBgICAEE4EQCADIAIQOSAAIAMQSgwBCyAAIAIQKRogACAAKAI4IAJsNgI4CyABQQBIBEAgABBDIAAQQgsgA0FAayQAC2cAIABBAXYgAHIiAEECdiAAciIAQQR2IAByIgBBCHYgAHIiAEEQdiAAciIAIABBAXZB1arVqgVxayIAQQJ2QbPmzJkDcSAAQbPmzJkDcWoiAEEEdiAAakGPnrz4AHFBgYKECGxBGHYLYQEDfyMAQYABayIBJAAgASAAEJABIAFBQGsiAkE4ENABGiABQQE2AnggASAAQUBrIgMQdyABEEMgAiABEK4BIAIgAxB3IAMgARCuASADIAAQdyAAIAIQrgEgAUGAAWokAAtVAgJ/AX4jAEHwAGsiASQAIAFBwLLAABBJIAApAwAhAyABQThqIgIgABBdIABBARAsIAIgARBgIAIQQiACQQEQLCAAIAIgA0ICgacQMCABQfAAaiQAC5gBAQZ/IwBBwAFrIgMkACAAIAEQXiAAEC0gA0GIAWoiBkHop8AAEEkjAEFAaiIEJAAgA0EIaiICQTgQ0AEiBUEBNgI4IAVBQGtBOBDQASAFQfgAakEBNgIAIAQgBhCOASAFIAQQrgEQwQEgBEFAayQAIAIQqQEgAhB8IAIQqQEgACABEBEgACACEJoBIAAQtQEgA0HAAWokAAtZAQJ/IwBBQGoiAyQAIABBOBDQASIAQQE2AjgCQCABQQBOBEAgACABEJMBDAELIANBCGoiAkHAssAAEEkgAiABEJMBIAIQQiAAIAIQagsgABBUIANBQGskAAu9CAEKfyMAQYABayIHJAAgB0EIaiIDQcCywAAQSSADQQEQlAECQAJAA0AgAUEwRgRAIANBMGogAykDMEIBhzcDACADQThqIQEDQCACRQ0EIAFCADcDACACQQFrIQIgAUEIaiEBDAALAAsgAUE4Rg0BIAFBOEcEQCABIANqIAEgA2oiBEEIaikDAEI5hkL//////////wODIAQpAwBCAYeENwMAIAVBAWohBSABQQhqIQEMAQsLQQdBB0GEm8AAEDsACyAFQQdB9JrAABA7AAsgA0EBEJQBIANBARAsIAdBQGshBUEAIQIjAEGgCmsiASQAIAFBOBDQASIBQUBrQTgQ0AEhBiABQYABakE4ENABGiABQcABakE4ENABGiABQYACakE4ENABGiABQcACakE4ENABGiABQYADakE4ENABGiABQcADakE4ENABGiABQYAEakE4ENABGiABQcAEakE4ENABGiABQYAFakE4ENABGiABQcAFakE4ENABGiABQYAGakE4ENABGiABQcAGakE4ENABGiABQYAHakE4ENABGiABQcAHakE4ENABGiABQfgHakEBNgIAIAFBuAdqQQE2AgAgAUH4BmpBATYCACABQb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LC1wAIABBOBDQASIAQQE2AjggAEFAa0E4ENABGiAAQfgAakEBNgIAIABBgAFqEFEgAEGAAmpBOBDQARogAEG4AmpBATYCACAAQcACakE4ENABGiAAQfgCakEBNgIAC1sBA38jAEGAAWsiASQAIAAQqQEgASAAEJABIAFBQGsiAiAAQUBrIgMQkAEgARBMIAIQTCABIAIQdyABQQAQMyAAIAEQSiABEEMgARBCIAMgARBKIAFBgAFqJAALYQEBfyMAQYACayIDJAAgABA9IAAgARCZASAAQYABaiIBIAIQmQEgAEGAAmoQtwEgABCpASADIAAQOCADQYABaiICIAEQXiACEC0gAiADEHpFBEAgABCbAQsgA0GAAmokAAtUAQF/IwBBIGsiAiQAIAIgACgCADYCBCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCACQQRqIAJBCGoQDCACQSBqJAALZwAjAEEwayIBJABBpLvAAC0AAARAIAFBHGpBATYCACABQgI3AgwgAUGQtsAANgIIIAFBATYCJCABIAA2AiwgASABQSBqNgIYIAEgAUEsajYCICABQQhqQbi2wAAQZgALIAFBMGokAAtiAgF+An8gACkDACEBA34gACACaiIDIAFC//////////8DgzcDACABQjqHIQEgAkEoRgR+IAAgACkDMCABfCIBNwMwIAFCJIcFIAJBCGohAiADQQhqKQMAIAF8IQEMAQsLGgt8AQV/IwBBQGoiAyQAIANBCGoiAkHAssAAEEkgAiAAKAI4QQFrEDUiBBAoA0AgAUE4RwRAIAAgAWoiBSABIAJqKQMAIAUpAwB9NwMAIAFBCGohAQwBCwsgAEEBIARBAWp0IgI2AjggAkH///8PSgRAIAAQHgsgA0FAayQAC3sBAn8gAEEoaiECA0AgAUGAAkYEQCAAQufMp9DW0Ouzu383AgggAEIANwIAIABBIGpCq7OP/JGjs/DbADcCACAAQRhqQv+kuYjFkdqCm383AgAgAEEQakLy5rvjo6f9p6V/NwIABSABIAJqQQA2AgAgAUEEaiEBDAELCwtUACAAQTgQ0AEiAEEBNgI4IABBQGtBOBDQARogAEH4AGpBATYCACAAQYABakE4ENABGiAAQbgBakEBNgIAIABBwAFqQTgQ0AEaIABB+AFqQQE2AgALWAECfyMAQUBqIgEkAAJAIAAQhgENACABQQEQOSAAQYABaiICIAEQWA0AIAJBABAzIAAgAhBKIAAQHiAAQUBrIgAgAhBKIAAQHiACIAEQrgELIAFBQGskAAtZAQJ/IwBBgAFrIgEkAAJAIAAQigENACABEFEgAEGAAmoiAiABEHoNACACED4gACACEBEgABC1ASAAQYABaiIAIAIQESAAELUBIAIgARCZAQsgAUGAAWokAAtbAgF+An8gACkDACEBA0AgACACaiIDIAFC//////////8DgzcDACABQjqHIQEgAkHgAEYEQCAAIAApA2ggAXw3A2gFIAJBCGohAiADQQhqKQMAIAF8IQEMAQsLC08BAX8gAEE4ENABGgJAA0AgAkEHRwRAIAJBB0YNAiAAIAEpAwA3AwAgAEEIaiEAIAFBCGohASACQQFqIQIMAQsLDwtBB0EHQeSawAAQOwALVAECfyMAQbABayICJAAgATQCOCAANAI4fkL///8PVQRAIAAQHgsgAkEIaiIDIAAgARAFIAJB+ABqIgEgAxBrIAAgARBqIABBAjYCOCACQbABaiQAC1EBAn8jAEFAaiIDJAAgAEE4ENABIgBBATYCOCAAQUBrQTgQ0AEgAEH4AGpBATYCACADIAEQjgEgACADEK4BIAMgAhCOASADEK4BIANBQGskAAvwDAIRfwh+IwBBsAFrIg8kACAANAI4IhIgEn5C////D1YEQCAAEB4LIwBB0AFrIgEkACAPQQhqIgZBCGpB0AAQ0AEaIAFBwAFqIAApAwAiFyAXQj+HIhYgFyAWEC8gBiABKQPAASISQv//////////A4M3AwAgAUHIAWopAwAiFUIGhiASQjqIhCETIBVCOoghGCAAQQhqIgwhDSAAIQlBASEKQQEhBwJAA0AgCkEERgRAIABBGGohCiAAQRBqIQkgAEEoaiEMIAApAzAhF0EHIQUgAUHIAGohCwNAIAVBC0kEQCABQUBrIAVBA3QiCCAAakEwaykDACISIBJCP4cgFyAXQj+HIhYQLyAFQQFqIg1BAXYhByALKQMAIRUgASkDQCESIAkhAiAMIQQgBUEFayIOIQMDQCADIAdJBEAgASACKQMAIhQgFEI/hyAEKQMAIhQgFEI/hxAvIAEpAwAiFCASfCISIBRUrSABQQhqKQMAIBV8fCEVIAJBCGohAiAEQQhrIQQgA0EBaiEDDAELCyAGIAhqIBJCAYYiFCATfCITQv//////////A4M3AwAgAUEwaiAAIA5BA3RqKQMAIhkgGUI/hyAXIBYQLyATIBRUrSAVQgGGIBJCP4iEIBh8fCEYIAVBBGshAyAFQQJqIgVBAXYhCCABQThqKQMAIRUgASkDMCESIAohAiAMIQQDQCADIAhPBEAgAUEgaiAAIAdBA3RqKQMAIhYgFkI/hyIUIBYgFBAvIAYgDUEDdGogEkIBhiIUIBhCBoYgE0I6iIR8IhMgASkDIHwiFkL//////////wODNwMAIBMgFlatIAFBKGopAwAgEyAUVK0gFUIBhiASQj+IhCAYQjqHfHx8fCISQjqHIRggEkIGhiAWQjqIhCETIApBEGohCiAJQRBqIQkMAwUgAUEQaiACKQMAIhYgFkI/hyAEKQMAIhYgFkI/hxAvIAEpAxAiFiASfCISIBZUrSABQRhqKQMAIBV8fCEVIAJBCGohAiAEQQhrIQQgA0EBaiEDDAELAAsACwsgAUHQAGogFyAXQj+HIhIgACkDKCIVIBVCP4cQLyAGIBMgASkDUCIWQgGGIhR8IhVC//////////8DgzcDWCABQeAAaiAXIBIgFyASEC8gBiAUIBVWrSABQdgAaikDAEIBhiAWQj+IhCAYfHwiF0IGhiAVQjqIhCIVIAEpA2B8IhJC//////////8DgzcDYCAGIBIgFVStIAFB6ABqKQMAIBdCOod8fEIGhiASQjqIhDcDaCABQdABaiQADAILIAFBsAFqIAAgB0EDdCIOaikDACISIBJCP4cgFyAWEC8gB0EBaiIQQQF2IREgAUG4AWopAwAhFSABKQOwASESIAUhAyAMIQQgCSELIAghAgNAIANFBEAgBiAOaiASQgGGIhQgE3wiE0L//////////wODNwMAIAFBkAFqIAAgEEEDdCIOaikDACIZIBlCP4cgFyAWEC8g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GsiACQAIAJBCGoiASgCDCICRQRAQcC1wABBK0HktsAAEFkACyABKAIIIgRFBEBBwLXAAEErQfS2wAAQWQALIAAgAjYCCCAAIAE2AgQgACAENgIAIAAoAgAhASAAKAIEIQIgACgCCCEEIwBBEGsiACQAIAFBFGooAgAhAwJAAn8CQAJAIAFBBGooAgAOAgABAwsgAw0CQQAhAUHAtcAADAELIAMNASABKAIAIgMoAgQhASADKAIACyEDIAAgATYCBCAAIAM2AgAgAEG4t8AAIAIoAgggBCACLQAQECAACyAAQQA2AgQgACABNgIAIABBpLfAACACKAIIIAQgAi0AEBAgAAswACAAQTgQ0AEiAEEBNgI4IABBQGtBARA5IABBgAFqQTgQ0AEaIABBuAFqQQE2AgALKwACQCAAQXxLDQAgAEUEQEEEDwsgACAAQX1JQQJ0ELkBIgBFDQAgAA8LAAs4ACAAEIsBIAAgARCWASAAQYACaiABQYACahCWASAAQYAEaiABQYAEahCWASAAIAEoAoAGNgKABgsoAQF/A0AgAkE4RwRAIAAgAmogASACaikDADcDACACQQhqIQIMAQsLC4QJAg1/Cn4jAEFAaiILJAAgC0EIaiIJQcCywAAQSSMAQZACayICJAAgAEEwENABIQogAkHoAGpB8AAQ0AEaIAJB4AFqQTAQ0AEaIAoQcSACIAEiDCkDACIQQv3/8//P///5AX5C//////////8DgyISNwPYASACQdgAaiASQgAgCSkDACIXIBdCP4ciGBAvIBAgAikDWCIPfCITIA9UrSACQeAAaikDACAQQj+HfHwiEEI6hyABKQMIIg9CP4d8IA8gEEIGhiATQjqIhCITfCIQIBNUrXwhD0EBIQBCACETAkACQANAAkAgAEEHRgRAQQYhB0EAIQhBByEADAELIABBAXYiAUEBaiEGIAggAWshAyABQQN0IgFBCGohBCAHIAFrIQUgAkHIAGogCSAAQQN0Ig1qKQMAIhUgFUI/hyIWIBJCABAvIAJB0ABqKQMAIBAgECATfCIRVq0gDyAUfHx8IBEgAikDSHwiDyARVK18IRAgAEEBaiEBA0AgACAGTQRAIAJB2AFqIA1qIA9C/f/z/8////kBfkL//////////wODIhE3AwAgAkE4aiARQgAgFyAYEC8gAkEoaiARQgAgFSAWEC8gAkHoAGogAEEEdGoiACACQTBqKQMAIhE3AwggACACKQMoIhU3AwAgDyACKQM4IhZ8Ig8gFlStIAJBQGspAwAgEHx8IhBCOocgDCABQQN0aikDACIWQj+HfCAWIBBCBoYgD0I6iIQiD3wiECAPVK18IQ8gEyAVfCITIBVUrSARIBR8fCEUIAdBCGohByAIQQFqIQggASEADAMLIANBB08NAyACQRhqIAQgCWopAwAgBSAJaikDAH0iESARQj+HIAJB2AFqIg4gBWopAwAgBCAOaikDAH0iESARQj+HEC8gAikDGCIRIA98Ig8gEVStIAJBIGopAwAgEHx8IRAgBkEBaiEGIARBCGohBCAFQQhrIQUgA0EBayEDDAALAAsLA0ACQAJAIABBDUcEQCAHIABBAXYiBmshAyAIIAZBA3QiAWshBCABQQhqIQUgDyAUfCAQIBN8Ig8gEFStfCEQIABBAWohAQNAIAZBBUsNAyADQQdPDQIgAkEIaiAFIAlqKQMAIAQgCWpBMGopAwB9IhIgEkI/hyACIARqQYgCaikDACACQdgBaiAFaikDAH0iEiASQj+HEC8gAikDCCISIA98Ig8gElStIAJBEGopAwAgEHx8IRAgBkEBaiEGIARBCGshBCADQQFrIQMgBUEIaiEFDAALAAsgCiAQQv//////////A4M3AzAgAkGQAmokAAwECyADQQdBpJzAABA7AAsgAEEDdCAKakE4ayAPQv//////////A4M3AwAgEEI6hyAMIAFBA3RqKQMAIhJCP4d8IBIgEEIGhiAPQjqIhCIPfCIQIA9UrXwhDyAUIABBBHQgAmpBCGoiAEEIaikDAH0gEyAAKQMAIhJUrX0hFCAIQQhqIQggB0EBaiEHIBMgEn0hEyABIQAMAAsACyADQQdBlJzAABA7AAsgC0FAayQACy4BAX8jAEGAAWsiASQAIAAQRSABEFEgACABEJkBIABBgAFqELYBIAFBgAFqJAALMwAgACABEJYBIABBgAJqIAFBgAJqEJYBIABBgARqIAFBgARqEJYBIAAgASgCgAY2AoAGCygAIAAgASACEHIgAEFAayABQUBrIAIQciAAQYABaiABQYABaiACEHILLQAgACABIAIQjQEgAEGAAWogAUGAAWogAhCNASAAQYACaiABQYACaiACEI0BCycBAn8jAEFAaiICJAAgAkEIaiIDIAEQvgEgACADEI4BIAJBQGskAAsiAQF/A0AgAUE4RwRAIAAgAWpCADcDACABQQhqIQEMAQsLCyUAIAAgASACEDAgAEEAIAJrIAAoAjgiACABKAI4c3EgAHM2AjgLJwAgACAAKAIEQQFxIAFyQQJyNgIEIAAgAWoiACAAKAIEQQFyNgIECyMAA0AgAgRAIAAgAS0AABA8IAJBAWshAiABQQFqIQEMAQsLCywAIAAQiwEgACABEJYBIABBgAJqIAIQlgEgAEGABGogAxCWASAAQQU2AoAGCyMBAX8jAEFAaiIBJAAgASAAEJABIAEQHiABEFcgAUFAayQACykAIAAgARBgIAAgACgCOCABKAI4aiIBNgI4IAFB////D0oEQCAAEB4LCyUAIAAgARCuASAAQUBrIAFBQGsQrgEgAEGAAWogAUGAAWoQrgELKAEBfyMAQYACayICJAAgAiABEIwBIAIQKyAAIAIQlwEgAkGAAmokAAscAQF/IAAgARBYBH8gAEFAayABQUBrEFgFQQALCycBAX8jAEGAAWsiAiQAIAIgARBeIAIQNiAAIAIQmgEgAkGAAWokAAtRAQN/IwBBgAFrIgEkACABIAAQXiMAQUBqIgIkACACIAAQkAEgACAAQUBrIgMQrgEgABBDIAMgAhCuASACQUBrJAAgACABEJoBIAFBgAFqJAALJwAgACABEJkBIABBgAFqIAFBgAFqEJkBIABBgAJqIAFBgAJqEJkBCyUBAX8jAEFAaiICJAAgAiABEJABIAIQQyAAIAIQdyACQUBrJAALHgACQCAAQQRqKAIARQ0AIAAoAgAiAEUNACAAEAQLCyABAX8CQCAAKAIEIgFFDQAgAEEIaigCAEUNACABEAQLC4MBACACIANJBEAjAEEwayIAJAAgACACNgIEIAAgAzYCACAAQRxqQQI2AgAgAEEsakEBNgIAIABCAjcCDCAAQYS7wAA2AgggAEEBNgIkIAAgAEEgajYCGCAAIABBBGo2AiggACAANgIgIABBCGpBlLvAABBmAAsgACADNgIEIAAgATYCAAtIAQJ/A0AgAUE4RwRAIAAgAWoiAiACKQMAQgGGNwMAIAFBCGohAQwBCwsgACAAKAI4QQF0IgE2AjggAUH///8PSgRAIAAQHgsLIwAgAiACKAIEQX5xNgIEIAAgAUEBcjYCBCAAIAFqIAE2AgALIgEBfyMAQfAAayICJAAgAiABEC4gACACEGsgAkHwAGokAAseACAAIAFBA3I2AgQgACABaiIAIAAoAgRBAXI2AgQLFgEBfyAAEHYEfyAAQYABahB2BUEACwsYAQF/IAAQiAEEfyAAQYABahCIAQVBAAsLFQEBfyAAEHYEfyAAQUBrEHYFQQALCxoBAX8gABBWIgEgAEFAaxBWIAFzIAAQdnFzCxgBAX8gABCIAQR/IABBgAJqEIgBBUEACwseACAAEEUgAEGAAmoQRSAAQYAEahBFIABBADYCgAYLHAAgABBFIAAgARCZASAAQYABaiABQYABahCZAQsYACAAIAEgAhByIABBQGsgAUFAayACEHILGgAgAEE4ENABIgBBATYCOCAAIAEQaiAAEFQLFAAgABBCIAAoAgBBfyABdEF/c3ELGQAgAEE4ENABIgAgARBqIAAgASgCODYCOAsZAQF/IAAoAhAiAQR/IAEFIABBFGooAgALCxgAIAAQwQEgAEFAaxDKASAAQYABahDBAQsUACAAEEIgACAAKQMAIAGsfDcDAAsUACAAEEIgACAAKQMAIAGsfTcDAAsYACAAEEUgACABEJkBIABBgAFqIAIQmQELGAAgACABEJkBIABBgAFqIAFBgAFqEJkBCxgAIAAgARCaASAAQYABaiABQYABahCaAQsYACAAEKQBIABBgAFqIgAQpAEgACABEBELFgAgACABEK4BIABBQGsgAUFAaxCuAQsUACAAIAEQdyAAQUBrIAFBQGsQdwsZACAAELYBIABBgAFqELcBIABBgAJqELYBCxkAIAAQrwEgAEGAAmoQrwEgAEGABGoQrwELGQAgABCwASAAQYACahCwASAAQYAEahCwAQsZACAAELIBIABBgAJqEMkBIABBgARqELIBCxI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MpyICQeMASwRAIABBAmsiACAGQQlqaiAMpyICIAJB//8DcUHkAG4iAkHkAGxrQf//A3FBAXRB6LjAAGovAAA7AAALAkAgAkEKTwRAIABBAmsiACAGQQlqaiACQQF0Qei4wABqLwAAOwAADAELIABBAWsiACAGQQlqaiACQTBqOgAACwJ/IAZBCWogAGohCEErQYCAxAAgASgCACIDQQFxIgIbIQQgAkEnIABrIglqIQJBlLjAAEEAIANBBHEbIQUCQAJAIAEoAghFBEBBASEAIAEgBCAFEFINAQwCCwJAAkACQAJAIAIgAUEMaigCACIDSQRAIAEtAABBCHENBEEAIQAgAyACayICIQNBASABLQAgIgcgB0EDRhtBA3FBAWsOAgECAwtBASEAIAEgBCAFEFINBAwFC0EAIQMgAiEADAELIAJBAXYhACACQQFqQQF2IQMLIABBAWohACABQRxqKAIAIQcgASgCBCECIAEoAhghCgJAA0AgAEEBayIARQ0BIAogAiAHKAIQEQQARQ0AC0EBDAQLQQEhACACQYCAxABGDQEgASAEIAUQUg0BIAEoAhggCCAJIAEoAhwoAgwRBQANASABKAIcIQQgASgCGCEBQQAhAAJ/A0AgAyAAIANGDQEaIABBAWohACABIAIgBCgCEBEEAEUNAAsgAEEBawsgA0khAAwBCyABKAIEIQcgAUEwNgIEIAEtACAhCkEBIQAgAUEBOgAgIAEgBCAFEFINAEEAIQAgAyACayICIQMCQAJAAkBBASABLQAgIgQgBEEDRhtBA3FBAWsOAgABAgtBACEDIAIhAAwBCyACQQF2IQAgAkEBakEBdiEDCyAAQQFqIQAgAUEcaigCACECIAEoAgQhBCABKAIYIQUCQANAIABBAWsiAEUNASAFIAQgAigCEBEEAEUNAAtBAQwDC0EBIQAgBEGAgMQARg0AIAEoAhggCCAJIAEoAhwoAgwRBQANACABKAIcIQAgASgCGCEFQQAhAgJAA0AgAiADRg0BIAJBAWohAiAFIAQgACgCEBEEAEUNAAtBASEAIAJBAWsgA0kNAQsgASAKOgAgIAEgBzYCBEEADAILIAAMAQsgASgCGCAIIAkgAUEcaigC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5yc3JhbmdlIGVuZCBpbmRleCAAAABxHRAAEAAAADAdEAAiAAAAUh0QAB8AAABJAAAABQB7CXByb2R1Y2VycwIIbGFuZ3VhZ2UBBFJ1c3QADHByb2Nlc3NlZC1ieQMFcnVzdGMdMS42MS4wIChmZTViMTNkNjggMjAyMi0wNS0xOCkGd2FscnVzBjAuMTkuMAx3YXNtLWJpbmRnZW4SMC4yLjgxICgwNjJhYTVmNzAp");let n=null;function o(A,t){const e=t(1*A.length);return(null!==n&&n.buffer===r.memory.buffer||(n=new Uint8Array(r.memory.buffer)),n).set(A,e/1),[e,A.length]}var a=async function A(){const{instance:t,module:e}=await async function(A,t){if("function"==typeof Response&&A instanceof Response){const e=await A.arrayBuffer();return await WebAssembly.instantiate(e,t)}{const e=await WebAssembly.instantiate(A,t);return e instanceof WebAssembly.Instance?{instance:e,module:A}:e}}(i,{});return r=t.exports,A.__wbindgen_wasm_module=e,r};let s;async function g(A,t,e){if(!s){if(await a(),0!==r.bls_init())throw new Error("Cannot initialize BLS");s=(A,t,e)=>0===function(A,t,e){const[i,n]=o(A,r.__wbindgen_malloc),[a,s]=o(t,r.__wbindgen_malloc),[g,c]=o(e,r.__wbindgen_malloc);return r.bls_verify(i,n,a,s,g,c)}(t,e,A)}return s(A,t,e)}},939:function(A,t,e){"use strict";function r(...A){const t=new Uint8Array(A.reduce(((A,t)=>A+t.byteLength),0));let e=0;for(const r of A)t.set(new Uint8Array(r),e),e+=r.byteLength;return t.buffer}function i(A){return[...new Uint8Array(A)].map((A=>A.toString(16).padStart(2,"0"))).join("")}e.d(t,{H_:function(){return o},NC:function(){return i},qu:function(){return a},zo:function(){return r}});const n=new RegExp(/^([0-9A-F]{2})*$/i);function o(A){if(!n.test(A))throw new Error("Invalid hexadecimal string.");const t=[...A].reduce(((A,t,e)=>(A[e/2|0]=(A[e/2|0]||"")+t,A)),[]).map((A=>Number.parseInt(A,16)));return new Uint8Array(t).buffer}function a(A,t){if(A.byteLength!==t.byteLength)return A.byteLength-t.byteLength;const e=new Uint8Array(A),r=new Uint8Array(t);for(let A=0;AA+t.byteLength),0));let e=0;for(const r of A)t.set(new Uint8Array(r),e),e+=r.byteLength;return t}class o{constructor(A,t=(null==A?void 0:A.byteLength)||0){this._buffer=A||new ArrayBuffer(0),this._view=new Uint8Array(this._buffer,0,t)}get buffer(){return this._view.slice()}get byteLength(){return this._view.byteLength}read(A){const t=this._view.subarray(0,A);return this._view=this._view.subarray(A),t.slice().buffer}readUint8(){const A=this._view[0];return this._view=this._view.subarray(1),A}write(A){const t=new Uint8Array(A),e=this._view.byteLength;this._view.byteOffset+this._view.byteLength+t.byteLength>=this._buffer.byteLength?this.alloc(t.byteLength):this._view=new Uint8Array(this._buffer,this._view.byteOffset,this._view.byteLength+t.byteLength),this._view.set(t,e)}get end(){return 0===this._view.byteLength}alloc(A){const t=new ArrayBuffer(1.2*(this._buffer.byteLength+A)|0),e=new Uint8Array(t,0,this._view.byteLength+A);e.set(this._view),this._buffer=t,this._view=e}}function a(A){if(/^_\d+_$/.test(A)||/^_0x[0-9a-fA-F]+_$/.test(A)){const t=+A.slice(1,-1);if(Number.isSafeInteger(t)&&t>=0&&t<2**32)return t}return function(A){const t=(new TextEncoder).encode(A);let e=0;for(const A of t)e=(223*e+A)%2**32;return e}(A)}function s(){throw new Error("unexpected end of buffer")}function g(A,t){return A.byteLength=128);return r}function u(A){"number"==typeof A&&(A=BigInt(A));const t=A=0;A--)i=i*BigInt(128)+BigInt(128-(127&r[A])-1);return-i-BigInt(1)}function h(A,t){A=BigInt(A);const e=new o(new ArrayBuffer(Math.min(1,t)),0);let r=0,i=BigInt(256),n=BigInt(0),a=Number(A%i);for(e.write(new Uint8Array([a]));++re(A,t[r])))}class l{constructor(){this._typs=[],this._idx=new Map}has(A){return this._idx.has(A.name)}add(A,t){const e=this._typs.length;this._idx.set(A.name,e),this._typs.push(t)}merge(A,t){const e=this._idx.get(A.name),r=this._idx.get(t);if(void 0===e)throw new Error("Missing type index for "+A);if(void 0===r)throw new Error("Missing type index for "+t);this._typs[e]=this._typs[r],this._typs.splice(r,1),this._idx.delete(t)}encode(){const A=B(this._typs.length),t=n(...this._typs);return n(A,t)}indexOf(A){if(!this._idx.has(A))throw new Error("Missing type index for "+A);return u(this._idx.get(A)||0)}}class p{visitType(A,t){throw new Error("Not implemented")}visitPrimitive(A,t){return this.visitType(A,t)}visitEmpty(A,t){return this.visitPrimitive(A,t)}visitBool(A,t){return this.visitPrimitive(A,t)}visitNull(A,t){return this.visitPrimitive(A,t)}visitReserved(A,t){return this.visitPrimitive(A,t)}visitText(A,t){return this.visitPrimitive(A,t)}visitNumber(A,t){return this.visitPrimitive(A,t)}visitInt(A,t){return this.visitNumber(A,t)}visitNat(A,t){return this.visitNumber(A,t)}visitFloat(A,t){return this.visitPrimitive(A,t)}visitFixedInt(A,t){return this.visitNumber(A,t)}visitFixedNat(A,t){return this.visitNumber(A,t)}visitPrincipal(A,t){return this.visitPrimitive(A,t)}visitConstruct(A,t){return this.visitType(A,t)}visitVec(A,t,e){return this.visitConstruct(A,e)}visitOpt(A,t,e){return this.visitConstruct(A,e)}visitRecord(A,t,e){return this.visitConstruct(A,e)}visitTuple(A,t,e){const r=t.map(((A,t)=>[`_${t}_`,A]));return this.visitRecord(A,r,e)}visitVariant(A,t,e){return this.visitConstruct(A,e)}visitRec(A,t,e){return this.visitConstruct(t,e)}visitFunc(A,t){return this.visitConstruct(A,t)}visitService(A,t){return this.visitConstruct(A,t)}}class w{display(){return this.name}valueToString(A){return j(A)}buildTypeTable(A){A.has(this)||this._buildTypeTableImpl(A)}}class y extends w{checkType(A){if(this.name!==A.name)throw new Error(`type mismatch: type on the wire ${A.name}, expect type ${this.name}`);return A}_buildTypeTableImpl(A){}}class b extends w{checkType(A){if(A instanceof Y){const t=A.getType();if(void 0===t)throw new Error("type mismatch with uninitialized type");return t}throw new Error(`type mismatch: type on the wire ${A.name}, expect type ${this.name}`)}encodeType(A){return A.indexOf(this.name)}}class m extends y{accept(A,t){return A.visitEmpty(this,t)}covariant(A){throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(){throw new Error("Empty cannot appear as a function argument")}valueToString(){throw new Error("Empty cannot appear as a value")}encodeType(){return u(-17)}decodeValue(){throw new Error("Empty cannot appear as an output")}get name(){return"empty"}}class v extends w{checkType(A){throw new Error("Method not implemented for unknown.")}accept(A,t){throw A.visitType(this,t)}covariant(A){throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(){throw new Error("Unknown cannot appear as a function argument")}valueToString(){throw new Error("Unknown cannot appear as a value")}encodeType(){throw new Error("Unknown cannot be serialized")}decodeValue(A,t){let e,r=t.decodeValue(A,t);return Object(r)!==r&&(r=Object(r)),e=t instanceof Y?()=>t.getType():()=>t,Object.defineProperty(r,"type",{value:e,writable:!0,enumerable:!1,configurable:!0}),r}_buildTypeTableImpl(){throw new Error("Unknown cannot be serialized")}get name(){return"Unknown"}}class D extends y{accept(A,t){return A.visitBool(this,t)}covariant(A){if("boolean"==typeof A)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return new Uint8Array([A?1:0])}encodeType(){return u(-2)}decodeValue(A,t){switch(this.checkType(t),c(A)){case 0:return!1;case 1:return!0;default:throw new Error("Boolean value out of range")}}get name(){return"bool"}}class S extends y{accept(A,t){return A.visitNull(this,t)}covariant(A){if(null===A)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(){return new ArrayBuffer(0)}encodeType(){return u(-1)}decodeValue(A,t){return this.checkType(t),null}get name(){return"null"}}class k extends y{accept(A,t){return A.visitReserved(this,t)}covariant(A){return!0}encodeValue(){return new ArrayBuffer(0)}encodeType(){return u(-16)}decodeValue(A,t){return t.name!==this.name&&t.decodeValue(A,t),null}get name(){return"reserved"}}class M extends y{accept(A,t){return A.visitText(this,t)}covariant(A){if("string"==typeof A)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=(new TextEncoder).encode(A);return n(B(t.byteLength),t)}encodeType(){return u(-15)}decodeValue(A,t){this.checkType(t);const e=I(A),r=g(A,Number(e));return new TextDecoder("utf8",{fatal:!0}).decode(r)}get name(){return"text"}valueToString(A){return'"'+A+'"'}}class G extends y{accept(A,t){return A.visitInt(this,t)}covariant(A){if("bigint"==typeof A||Number.isInteger(A))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return u(A)}encodeType(){return u(-4)}decodeValue(A,t){return this.checkType(t),E(A)}get name(){return"int"}valueToString(A){return A.toString()}}class N extends y{accept(A,t){return A.visitNat(this,t)}covariant(A){if("bigint"==typeof A&&A>=BigInt(0)||Number.isInteger(A)&&A>=0)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return B(A)}encodeType(){return u(-3)}decodeValue(A,t){return this.checkType(t),I(A)}get name(){return"nat"}valueToString(A){return A.toString()}}class _ extends y{constructor(A){if(super(),this._bits=A,32!==A&&64!==A)throw new Error("not a valid float type")}accept(A,t){return A.visitFloat(this,t)}covariant(A){if("number"==typeof A||A instanceof Number)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=new ArrayBuffer(this._bits/8),e=new DataView(t);return 32===this._bits?e.setFloat32(0,A,!0):e.setFloat64(0,A,!0),t}encodeType(){return u(32===this._bits?-13:-14)}decodeValue(A,t){this.checkType(t);const e=g(A,this._bits/8),r=new DataView(e);return 32===this._bits?r.getFloat32(0,!0):r.getFloat64(0,!0)}get name(){return"float"+this._bits}valueToString(A){return A.toString()}}class R extends y{constructor(A){super(),this._bits=A}accept(A,t){return A.visitFixedInt(this,t)}covariant(A){const t=Q(this._bits-1)*BigInt(-1),e=Q(this._bits-1)-BigInt(1);let r=!1;if("bigint"==typeof A)r=A>=t&&A<=e;else if(Number.isInteger(A)){const i=BigInt(A);r=i>=t&&i<=e}else r=!1;if(r)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return h(A,this._bits/8)}encodeType(){return u(-9-(Math.log2(this._bits)-3))}decodeValue(A,t){this.checkType(t);const e=function(A,t){let e=f(A,t);const r=BigInt(2)**(BigInt(8)*BigInt(t-1)+BigInt(7));return e>=r&&(e-=r*BigInt(2)),e}(A,this._bits/8);return this._bits<=32?Number(e):e}get name(){return`int${this._bits}`}valueToString(A){return A.toString()}}class F extends y{constructor(A){super(),this._bits=A}accept(A,t){return A.visitFixedNat(this,t)}covariant(A){const t=Q(this._bits);let e=!1;if(e="bigint"==typeof A&&A>=BigInt(0)?A=0)&&BigInt(A){try{return this._type.covariant(A)}catch(A){throw new Error(`Invalid ${this.display()} argument: \n\nindex ${t} -> ${A.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=B(A.length);if(this._blobOptimization)return n(t,new Uint8Array(A));if(ArrayBuffer.isView(A))return n(t,new Uint8Array(A.buffer));const e=new o(new ArrayBuffer(t.byteLength+A.length),0);e.write(t);for(const t of A){const A=this._type.encodeValue(t);e.write(new Uint8Array(A))}return e.buffer}_buildTypeTableImpl(A){this._type.buildTypeTable(A);const t=u(-19),e=this._type.encodeType(A);A.add(this,n(t,e))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof U))throw new Error("Not a vector type");const r=Number(I(A));if(this._type instanceof F){if(8==this._type._bits)return new Uint8Array(A.read(r));if(16==this._type._bits)return new Uint16Array(A.read(2*r));if(32==this._type._bits)return new Uint32Array(A.read(4*r));if(64==this._type._bits)return new BigUint64Array(A.read(8*r))}if(this._type instanceof R){if(8==this._type._bits)return new Int8Array(A.read(r));if(16==this._type._bits)return new Int16Array(A.read(2*r));if(32==this._type._bits)return new Int32Array(A.read(4*r));if(64==this._type._bits)return new BigInt64Array(A.read(8*r))}const i=[];for(let t=0;tthis._type.valueToString(A))).join("; ")+"}"}}class x extends b{constructor(A){super(),this._type=A}accept(A,t){return A.visitOpt(this,this._type,t)}covariant(A){try{if(Array.isArray(A)&&(0===A.length||1===A.length&&this._type.covariant(A[0])))return!0}catch(t){throw new Error(`Invalid ${this.display()} argument: ${j(A)} \n\n-> ${t.message}`)}throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return 0===A.length?new Uint8Array([0]):n(new Uint8Array([1]),this._type.encodeValue(A[0]))}_buildTypeTableImpl(A){this._type.buildTypeTable(A);const t=u(-18),e=this._type.encodeType(A);A.add(this,n(t,e))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof x))throw new Error("Not an option type");switch(c(A)){case 0:return[];case 1:return[this._type.decodeValue(A,e._type)];default:throw new Error("Not an option value")}}get name(){return`opt ${this._type.name}`}display(){return`opt ${this._type.display()}`}valueToString(A){return 0===A.length?"null":`opt ${this._type.valueToString(A[0])}`}}class q extends b{constructor(A={}){super(),this._fields=Object.entries(A).sort(((A,t)=>a(A[0])-a(t[0])))}accept(A,t){return A.visitRecord(this,this._fields,t)}tryAsTuple(){const A=[];for(let t=0;t{if(!A.hasOwnProperty(t))throw new Error(`Record is missing key "${t}".`);try{return e.covariant(A[t])}catch(A){throw new Error(`Invalid ${this.display()} argument: \n\nfield ${t} -> ${A.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=this._fields.map((([t])=>A[t]));return n(...d(this._fields,t,(([,A],t)=>A.encodeValue(t))))}_buildTypeTableImpl(A){this._fields.forEach((([t,e])=>e.buildTypeTable(A)));const t=u(-20),e=B(this._fields.length),r=this._fields.map((([t,e])=>n(B(a(t)),e.encodeType(A))));A.add(this,n(t,e,n(...r)))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof q))throw new Error("Not a record type");const r={};let i=0,n=0;for(;n=this._fields.length){o.decodeValue(A,o),n++;continue}const[s,g]=this._fields[i],c=a(this._fields[i][0]),B=a(t);if(c===B)r[s]=g.decodeValue(A,o),i++,n++;else if(B>c){if(!(g instanceof x||g instanceof k))throw new Error("Cannot find required field "+s);r[s]=[],i++}else o.decodeValue(A,o),n++}for(const[A,t]of this._fields.slice(i)){if(!(t instanceof x||t instanceof k))throw new Error("Cannot find required field "+A);r[A]=[]}return r}get name(){return`record {${this._fields.map((([A,t])=>A+":"+t.name)).join("; ")}}`}display(){return`record {${this._fields.map((([A,t])=>A+":"+t.display())).join("; ")}}`}valueToString(A){const t=this._fields.map((([t])=>A[t]));return`record {${d(this._fields,t,(([A,t],e)=>A+"="+t.valueToString(e))).join("; ")}}`}}class L extends q{constructor(A){const t={};A.forEach(((A,e)=>t["_"+e+"_"]=A)),super(t),this._components=A}accept(A,t){return A.visitTuple(this,this._components,t)}covariant(A){if(Array.isArray(A)&&A.length>=this._fields.length&&this._components.every(((t,e)=>{try{return t.covariant(A[e])}catch(A){throw new Error(`Invalid ${this.display()} argument: \n\nindex ${e} -> ${A.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return n(...d(this._components,A,((A,t)=>A.encodeValue(t))))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof L))throw new Error("not a tuple type");if(e._components.length=this._components.length?i.decodeValue(A,i):r.push(this._components[t].decodeValue(A,i));return r}display(){return`record {${this._components.map((A=>A.display())).join("; ")}}`}valueToString(A){return`record {${d(this._components,A,((A,t)=>A.valueToString(t))).join("; ")}}`}}class H extends b{constructor(A={}){super(),this._fields=Object.entries(A).sort(((A,t)=>a(A[0])-a(t[0])))}accept(A,t){return A.visitVariant(this,this._fields,t)}covariant(A){if("object"==typeof A&&1===Object.entries(A).length&&this._fields.every((([t,e])=>{try{return!A.hasOwnProperty(t)||e.covariant(A[t])}catch(A){throw new Error(`Invalid ${this.display()} argument: \n\nvariant ${t} -> ${A.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){for(let t=0;t{t.buildTypeTable(A)}));const t=u(-21),e=B(this._fields.length),r=this._fields.map((([t,e])=>n(B(a(t)),e.encodeType(A))));A.add(this,n(t,e,...r))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof H))throw new Error("Not a variant type");const r=Number(I(A));if(r>=e._fields.length)throw Error("Invalid variant index: "+r);const[i,n]=e._fields[r];for(const[t,e]of this._fields)if(a(i)===a(t))return{[t]:e.decodeValue(A,n)};throw new Error("Cannot find field hash "+i)}get name(){return`variant {${this._fields.map((([A,t])=>A+":"+t.name)).join("; ")}}`}display(){return`variant {${this._fields.map((([A,t])=>A+("null"===t.name?"":`:${t.display()}`))).join("; ")}}`}valueToString(A){for(const[t,e]of this._fields)if(A.hasOwnProperty(t)){const r=e.valueToString(A[t]);return"null"===r?`variant {${t}}`:`variant {${t}=${r}}`}throw new Error("Variant has no data: "+A)}}class Y extends b{constructor(){super(...arguments),this._id=Y._counter++,this._type=void 0}accept(A,t){if(!this._type)throw Error("Recursive type uninitialized.");return A.visitRec(this,this._type,t)}fill(A){this._type=A}getType(){return this._type}covariant(A){if(this._type&&this._type.covariant(A))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.encodeValue(A)}_buildTypeTableImpl(A){if(!this._type)throw Error("Recursive type uninitialized.");A.add(this,new Uint8Array([])),this._type.buildTypeTable(A),A.merge(this,this._type.name)}decodeValue(A,t){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.decodeValue(A,t)}get name(){return`rec_${this._id}`}display(){if(!this._type)throw Error("Recursive type uninitialized.");return`μ${this.name}.${this._type.name}`}valueToString(A){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.valueToString(A)}}function J(A){if(1!==c(A))throw new Error("Cannot decode principal");const t=Number(I(A));return i.R.fromUint8Array(new Uint8Array(g(A,t)))}Y._counter=0;class T extends y{accept(A,t){return A.visitPrincipal(this,t)}covariant(A){if(A&&A._isPrincipal)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=A.toUint8Array(),e=B(t.byteLength);return n(new Uint8Array([1]),e,t)}encodeType(){return u(-24)}decodeValue(A,t){return this.checkType(t),J(A)}get name(){return"principal"}valueToString(A){return`${this.name} "${A.toText()}"`}}class O extends b{constructor(A,t,e=[]){super(),this.argTypes=A,this.retTypes=t,this.annotations=e}static argsToString(A,t){if(A.length!==t.length)throw new Error("arity mismatch");return"("+A.map(((A,e)=>A.valueToString(t[e]))).join(", ")+")"}accept(A,t){return A.visitFunc(this,t)}covariant(A){if(Array.isArray(A)&&2===A.length&&A[0]&&A[0]._isPrincipal&&"string"==typeof A[1])return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue([A,t]){const e=A.toUint8Array(),r=B(e.byteLength),i=n(new Uint8Array([1]),r,e),o=(new TextEncoder).encode(t),a=B(o.byteLength);return n(new Uint8Array([1]),i,a,o)}_buildTypeTableImpl(A){this.argTypes.forEach((t=>t.buildTypeTable(A))),this.retTypes.forEach((t=>t.buildTypeTable(A)));const t=u(-22),e=B(this.argTypes.length),r=n(...this.argTypes.map((t=>t.encodeType(A)))),i=B(this.retTypes.length),o=n(...this.retTypes.map((t=>t.encodeType(A)))),a=B(this.annotations.length),s=n(...this.annotations.map((A=>this.encodeAnnotation(A))));A.add(this,n(t,e,r,i,o,a,s))}decodeValue(A){if(1!==c(A))throw new Error("Cannot decode function reference");const t=J(A),e=g(A,Number(I(A)));return[t,new TextDecoder("utf8",{fatal:!0}).decode(e)]}get name(){return`(${this.argTypes.map((A=>A.name)).join(", ")}) -> (${this.retTypes.map((A=>A.name)).join(", ")})${" "+this.annotations.join(" ")}`}valueToString([A,t]){return`func "${A.toText()}".${t}`}display(){return`(${this.argTypes.map((A=>A.display())).join(", ")}) → (${this.retTypes.map((A=>A.display())).join(", ")})${" "+this.annotations.join(" ")}`}encodeAnnotation(A){if("query"===A)return new Uint8Array([1]);if("oneway"===A)return new Uint8Array([2]);throw new Error("Illegal function annotation")}}class K extends b{constructor(A){super(),this._fields=Object.entries(A).sort(((A,t)=>a(A[0])-a(t[0])))}accept(A,t){return A.visitService(this,t)}covariant(A){if(A&&A._isPrincipal)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=A.toUint8Array(),e=B(t.length);return n(new Uint8Array([1]),e,t)}_buildTypeTableImpl(A){this._fields.forEach((([t,e])=>e.buildTypeTable(A)));const t=u(-23),e=B(this._fields.length),r=this._fields.map((([t,e])=>{const r=(new TextEncoder).encode(t);return n(B(r.length),r,e.encodeType(A))}));A.add(this,n(t,e,...r))}decodeValue(A){return J(A)}get name(){return`service {${this._fields.map((([A,t])=>A+":"+t.name)).join("; ")}}`}valueToString(A){return`service "${A.toText()}"`}}function j(A){const t=JSON.stringify(A,((A,t)=>"bigint"==typeof t?`BigInt(${t})`:t));return t&&t.length>400?t.substring(0,397)+"...":t}function P(A,t){if(t.lengthA.buildTypeTable(e)));const r=(new TextEncoder).encode(C),i=e.encode(),o=B(t.length),a=n(...A.map((A=>A.encodeType(e)))),s=n(...d(A,t,((A,t)=>{try{A.covariant(t)}catch(A){throw new Error(A.message+"\n\n")}return A.encodeValue(t)})));return n(r,i,o,a,s)}function W(A,t){const e=new o(t);if(t.byteLength=Math.pow(2,32))throw new Error("field id out of 32-bit range");if("number"==typeof i&&i>=t)throw new Error("field id collision or not sorted");i=t;const e=Number(E(A));r.push([t,e])}t.push([e,r]);break}case-22:{const r=[];let i=Number(I(A));for(;i--;)r.push(Number(E(A)));const n=[];let o=Number(I(A));for(;o--;)n.push(Number(E(A)));const a=[];let s=Number(I(A));for(;s--;)switch(Number(I(A))){case 1:a.push("query");break;case 2:a.push("oneway");break;default:throw new Error("unknown annotation")}t.push([e,[r,n,a]]);break}case-23:{let r=Number(I(A));const i=[];for(;r--;){const t=Number(I(A)),e=(new TextDecoder).decode(g(A,t)),r=E(A);i.push([e,r])}t.push([e,i]);break}default:throw new Error("Illegal op_code: "+e)}}const r=[],i=Number(I(A));for(let t=0;tdA()));function c(A){if(A<-24)throw new Error("future value not supported");if(A<0)switch(A){case-1:return $;case-2:return X;case-3:return eA;case-4:return tA;case-5:return gA;case-6:return cA;case-7:return BA;case-8:return IA;case-9:return nA;case-10:return oA;case-11:return aA;case-12:return sA;case-13:return rA;case-14:return iA;case-15:return AA;case-16:return z;case-17:return V;case-24:return uA;default:throw new Error("Illegal op_code: "+A)}if(A>=n.length)throw new Error("type index out of range");return s[A]}n.forEach(((A,t)=>{const e=function(A){switch(A[0]){case-19:return hA(c(A[1]));case-18:return fA(c(A[1]));case-20:{const t={};for(const[e,r]of A[1])t[`_${e}_`]=c(r);const e=QA(t),r=e.tryAsTuple();return Array.isArray(r)?EA(...r):e}case-21:{const t={};for(const[e,r]of A[1])t[`_${e}_`]=c(r);return CA(t)}case-22:{const[t,e,r]=A[1];return lA(t.map((A=>c(A))),e.map((A=>c(A))),r)}case-23:{const t={},e=A[1];for(const[A,r]of e){let e=c(r);if(e instanceof Y&&(e=e.getType()),!(e instanceof O))throw new Error("Illegal service definition: services can only contain functions");t[A]=e}return pA(t)}default:throw new Error("Illegal op_code: "+A[0])}}(A);s[t].fill(e)}));const B=a.map((A=>c(A))),u=A.map(((A,t)=>A.decodeValue(e,B[t])));for(let t=A.length;t0)throw new Error("decode: Left-over bytes");return u}const V=new m,z=new k,Z=new v,X=new D,$=new S,AA=new M,tA=new G,eA=new N,rA=new _(32),iA=new _(64),nA=new R(8),oA=new R(16),aA=new R(32),sA=new R(64),gA=new F(8),cA=new F(16),BA=new F(32),IA=new F(64),uA=new T;function EA(...A){return new L(A)}function hA(A){return new U(A)}function fA(A){return new x(A)}function QA(A){return new q(A)}function CA(A){return new H(A)}function dA(){return new Y}function lA(A,t,e=[]){return new O(A,t,e)}function pA(A){return new K(A)}},60:function(A,t,e){"use strict";e.d(t,{R:function(){return a}});const r="abcdefghijklmnopqrstuvwxyz234567",i=Object.create(null);for(let A=0;A<32;A++)i[r[A]]=A;i[0]=i.o,i[1]=i.i;const n=new Uint32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);var o=e(2023);class a{constructor(A){this._arr=A,this._isPrincipal=!0}static anonymous(){return new this(new Uint8Array([4]))}static managementCanister(){return this.fromHex("aaaaa-aa")}static selfAuthenticating(A){const t=function(A){const t=o.sha224.create();return t.update(A),new Uint8Array(t.array())}(A);return new this(new Uint8Array([...t,2]))}static from(A){if("string"==typeof A)return a.fromText(A);if("object"==typeof A&&null!==A&&!0===A._isPrincipal)return new a(A._arr);throw new Error(`Impossible to convert ${JSON.stringify(A)} to Principal.`)}static fromHex(A){return new this(new Uint8Array((null!==(t=A.match(/.{1,2}/g))&&void 0!==t?t:[]).map((A=>parseInt(A,16)))));var t}static fromText(A){let t=function(A){let t=0,e=0;const r=new Uint8Array(4*A.length/3|0);let n=0;function o(A){let o=i[A.toLowerCase()];if(void 0===o)throw new Error(`Invalid character: ${JSON.stringify(A)}`);o<<=3,e|=o>>>t,t+=5,t>=8&&(r[n++]=e,t-=8,e=t>0?o<<5-t&255:0)}for(const t of A)o(t);return r.slice(0,n)}(A.toLowerCase().replace(/-/g,""));t=t.slice(4,t.length);const e=new this(t);if(e.toText()!==A)throw new Error(`Principal "${e.toText()}" does not have a valid checksum (original value "${A}" may not be a valid Principal ID).`);return e}static fromUint8Array(A){return new this(A)}isAnonymous(){return 1===this._arr.byteLength&&4===this._arr[0]}toUint8Array(){return this._arr}toHex(){return(A=this._arr,A.reduce(((A,t)=>A+t.toString(16).padStart(2,"0")),"")).toUpperCase();var A}toText(){const A=new ArrayBuffer(4);new DataView(A).setUint32(0,function(A){const t=new Uint8Array(A);let e=-1;for(let A=0;A>>8}return(-1^e)>>>0}(this._arr));const t=new Uint8Array(A),e=Uint8Array.from(this._arr),i=function(A){let t=0,e=0,i="";for(let o=0;o>-t:e=n<3?(t-=8,1):(t<4&&(i+=r[e>>3],t+=5),0));var n;return i+(t<0?r[e>>3]:"")}(new Uint8Array([...t,...e])).match(/.{1,5}/g);if(!i)throw new Error;return i.join("-")}toString(){return this.toText()}compareTo(A){for(let t=0;tA._arr[t])return"gt"}return this._arr.lengthA._arr.length?"gt":"eq"}ltEq(A){const t=this.compareTo(A);return"lt"==t||"eq"==t}gtEq(A){const t=this.compareTo(A);return"gt"==t||"eq"==t}}},6369:function(A,t,e){"use strict";e.r(t),e.d(t,{encodePath:function(){return c},request:function(){return g}});var r=e(1581),i=e(4798),n=e(5317),o=e(4524),a=e(4947),s=e(8069);const g=async A=>{const{canisterId:t,agent:e,paths:r}=A,i=[...new Set(r)],a=i.map((A=>c(A,t))),s=new Map,g=i.map(((A,r)=>(async()=>{var g;try{const n=await e.readState(t,{paths:[a[r]]}),g=(await o.KB.create({certificate:n.certificate,rootKey:e.rootKey,canisterId:t})).lookup(c(i[r],t));if(g)switch(A){case"time":s.set(A,h(g));break;case"controllers":s.set(A,f(g));break;case"module_hash":s.set(A,B(g));break;case"candid":s.set(A,(new TextDecoder).decode(g));break;default:if("string"!=typeof A&&"key"in A&&"path"in A)switch(A.decodeStrategy){case"raw":s.set(A.key,g);break;case"leb128":s.set(A.key,I(g));break;case"cbor":s.set(A.key,u(g));break;case"hex":s.set(A.key,B(g));break;case"utf-8":s.set(A.key,E(g))}}else console.warn(`Expected to find result for path ${A}, but instead found nothing.`),"string"==typeof A?s.set(A,null):s.set(A.key,null)}catch(t){if(null===(g=null==t?void 0:t.message)||void 0===g?void 0:g.includes("Invalid certificate"))throw new n.e(t.message);"string"!=typeof A&&"key"in A&&"path"in A?s.set(A.key,null):s.set(A,null),console.group(),console.warn(`Expected to find result for path ${A}, but instead found nothing.`),console.warn(t),console.groupEnd()}})()));return await Promise.all(g),s},c=(A,t)=>{const e=new TextEncoder,r=A=>new DataView(e.encode(A).buffer).buffer,i=new DataView(t.toUint8Array().buffer).buffer;switch(A){case"time":return[r("time")];case"controllers":return[r("canister"),i,r("controllers")];case"module_hash":return[r("canister"),i,r("module_hash")];case"subnet":return[r("subnet")];case"candid":return[r("canister"),i,r("metadata"),r("candid:service")];default:if("key"in A&&"path"in A){if("string"==typeof A.path||A.path instanceof ArrayBuffer){const t=A.path,e="string"==typeof t?r(t):t;return[r("canister"),i,r("metadata"),e]}return A.path}}throw new Error(`An unexpeected error was encountered while encoding your path for canister status. Please ensure that your path, ${A} was formatted correctly.`)},B=A=>(0,a.NC)(A),I=A=>(0,r.aC)(new r.P8(A)),u=A=>s.Jx(A),E=A=>(new TextDecoder).decode(A),h=A=>{const t=I(A);return new Date(Number(t/BigInt(1e6)))},f=A=>{const[t,...e]=u(A);return e.map((A=>i.R.fromUint8Array(new Uint8Array(A))))}},8069:function(A,t,e){"use strict";e.d(t,{Jx:function(){return B},cv:function(){return s}});var r=e(7756),i=e(8419),n=e(4947);const o=i.SelfDescribeCborSerializer.withDefaultEncoders(!0);var a;function s(A){return o.serialize(A)}function g(A){const t=A.byteLength;let e=BigInt(0);for(let r=0;rBigInt(0)?i.value.tagged(2,i.value.bytes((0,n.H_)(A.toString(16)))):i.value.tagged(3,i.value.bytes((0,n.H_)((BigInt("-1")*A).toString(16))))}}),function(A){A[A.Uint64LittleEndian=71]="Uint64LittleEndian",A[A.Semantic=55799]="Semantic"}(a||(a={}));class c extends r.Decoder{createByteString(A){return(0,n.zo)(...A)}createByteStringFromHeap(A,t){return A===t?new ArrayBuffer(0):new Uint8Array(this._heap.slice(A,t))}}function B(A){const t=new Uint8Array(A);return new c({size:t.byteLength,tags:{2:A=>g(A),3:A=>-g(A),[a.Semantic]:A=>A}}).decodeFirst(t)}},4524:function(A,t,e){"use strict";e.d(t,{KB:function(){return B}});var r=e(8069),i=e(5317),n=e(844),o=e(4947),a=e(4798),s=e(4e3);class g extends i.e{constructor(A){super(`Invalid certificate: ${A}`)}}function c(A,t){if(A.byteLength!==t.byteLength)return!1;const e=new Uint8Array(A),r=new Uint8Array(t);for(let A=0;A[a.R.fromUint8Array(A[0]),a.R.fromUint8Array(A[1])])).some((A=>A[0].ltEq(this._canisterId)&&A[1].gtEq(this._canisterId))))throw new g(`Canister ${this._canisterId} not in range of delegations for subnet 0x${(0,o.NC)(A.subnet_id)}`);const i=t.lookup(["subnet",A.subnet_id,"public_key"]);if(!i)throw new Error(`Could not find subnet key for subnet 0x${(0,o.NC)(A.subnet_id)}`);return i}}const I=(0,o.H_)("308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100"),u=96;async function E(A){switch(A[0]){case 0:return(0,n.vp)(h("ic-hashtree-empty"));case 4:return A[1];case 3:return(0,n.vp)((0,o.zo)(h("ic-hashtree-leaf"),A[1]));case 2:return(0,n.vp)((0,o.zo)(h("ic-hashtree-labeled"),A[1],await E(A[2])));case 1:return(0,n.vp)((0,o.zo)(h("ic-hashtree-fork"),await E(A[1]),await E(A[2])));default:throw new Error("unreachable")}}function h(A){const t=new Uint8Array([A.length]),e=(new TextEncoder).encode(A);return(0,o.zo)(t,e)}function f(A,t){if(0===A.length)return 3===t[0]?new Uint8Array(t[1]).buffer:void 0;const e=function(A,t){if(0!==t.length)for(const e of t)if(2===e[0]&&c(A,e[1]))return e[2]}("string"==typeof A[0]?(new TextEncoder).encode(A[0]):A[0],Q(t));return e?f(A.slice(1),e):void 0}function Q(A){switch(A[0]){case 0:return[];case 1:return Q(A[1]).concat(Q(A[2]));default:return[A]}}},5317:function(A,t,e){"use strict";e.d(t,{e:function(){return r}});class r extends Error{constructor(A){super(A),this.message=A,Object.setPrototypeOf(this,r.prototype)}}},844:function(A,t,e){"use strict";e.d(t,{vH:function(){return c},vp:function(){return a}});var r=e(1581),i=e(7756),n=e(2023),o=e(4947);function a(A){return n.sha256.create().update(new Uint8Array(A)).arrayBuffer()}function s(A){if(A instanceof i.Tagged)return s(A.value);if("string"==typeof A)return g(A);if("number"==typeof A)return a((0,r.dZ)(A));if(A instanceof ArrayBuffer||ArrayBuffer.isView(A))return a(A);if(Array.isArray(A)){const t=A.map(s);return a((0,o.zo)(...t))}if(A&&"object"==typeof A&&A._isPrincipal)return a(A.toUint8Array());if("object"==typeof A&&null!==A&&"function"==typeof A.toHash)return s(A.toHash());if("bigint"==typeof A)return a((0,r.dZ)(A));throw Object.assign(new Error(`Attempt to hash a value of unsupported type: ${A}`),{value:A})}const g=A=>a((new TextEncoder).encode(A));function c(A){const t=Object.entries(A).filter((([,A])=>void 0!==A)).map((([A,t])=>[g(A),s(t)])).sort((([A],[t])=>(0,o.qu)(A,t)));return a((0,o.zo)(...t.map((A=>(0,o.zo)(...A)))))}},4e3:function(A,t,e){"use strict";let r;e.d(t,{O:function(){return g}});const i=e(3704).J("AGFzbQEAAAABXg9gAn9/AGABfwBgAX8Bf2ADf39/AGACf38Bf2ADf39/AX9gBH9/f38AYAF/AX5gBX9/f39/AGAAAX9gBn9/f39/fwBgBn9/f39/fwF/YAJ/fwF+YAV/fn5+fgBgAAAD3wHdAQIAAAABAwoAAAAIBgQAAwEDAAEBAQAAAQAJAQMAAwEACAEDAwQAAwsADAIBAAEADQMEAAAAAgEBAAABAwABAQMEAAEBAQEBAQEAAAMBAgUABAEFBAEBAgIEAwQDAAAAAwAAAAABDgABAgAAAAEAAwMAAQMAAwYCAAAABAABAAABAQYBAwAAAgICAgIBAAMABAACAQAAAwAAAAAAAQEBAQIAAAEEAQMAAAABAAAEAgABAQEBAQEBAQEBBAQAAgMAAAABAAICAAIEBAEBAgICAgAEBQQEAgIJBwcHAQMDBAUBcAESEgUDAQARBgkBfwFBgIDAAAsHNwQGbWVtb3J5AgAIYmxzX2luaXQA1gEKYmxzX3ZlcmlmeQAnEV9fd2JpbmRnZW5fbWFsbG9jAGgJIQEAQQELEcgBQdoBTroBQH/XAdgBgAEcJVy7AccB2gHZAQr44QLdAd0hAg9/AX4jAEEQayIIJAACQAJAIABB9QFPBEBBgIB8QQhBCBCjAUEUQQgQowFqQRBBCBCjAWprQXdxQQNrIgJBAEEQQQgQowFBAnRrIgUgAiAFSRs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pBATYCACACQYAGakE4ENABGiACQQE2ArgGIAJBwAZqQTgQ0AEaIAJB+AZqQQE2AgAgAkGAB2pBOBDQARogAkG4B2pBATYCACACQcAHakE4ENABGiACQfgHakEBNgIAIAIgARAYAkAgASgCgAZBBEYNACAAKAKABkEERg0AIAJBgARqIgMgAEGAAmoQlgEgAyABQYACahAYDAYLIAJBwAxqIgdBOBDQARogAkEBNgL4DCACQYANakE4ENABGiACQbgNakEBNgIAIAJBgAhqIgRBOBDQARogAkEBNgK4CCACQcAIakE4ENABGiACQfgIakEBNgIAIAJBgApqIgMgAEGAA2oiBRBeIAQgAxCZASADIAFBgANqIgYQXiAEIAMQESAHELYBIAEoAoAGQQRHDQMMBAsgACABEAMMBgsgAkHADGoiAyABQYAFahBeIAJBgAxqIgQgA0HAABDRARogAkGABmogBBCnAQsgAkGABmoQZCACQYAIaiIDIAIQlgEgAxArIAJBgAJqIgQgAxCXASAGIAQQlgEgAkGABGoiByADEJYBIAMgABCWASADIAUQlwEgAxCwASACQYAKaiIEIAEQlgEgBCABQYAEahCXASAEELABIAMgBBAYIAcgAxCXASADIAUQlgECQCABKAKABkECRwRAIAJBwAxqIgMgAUGABWoQXiACQYAIaiADEKYBDAELIAJBwAxqIgMgAUGABWoQXiACQYAMaiIBIANBwAAQ0QEaIAJBgAhqIAEQpwELIAJBgAhqIgEQZCACQYAKaiIDIAEQlgEgAxArIAUgAkGABGoQlgEgBSADEJcBIAJBgAZqIgQgAxCXASABEGQgBiABEJcBIAQQsAEgBBBkIAAgAhCWASAAIAQQlwEMAwsgAkGACmoiAyAFEF4gAkHADGoiBCADEJkBIAMgAUGAAmoQXiAEIAMQEQsgACgCgAZBBEcEQCACQYAKaiIDIABBgAJqEF4gAkHADGoiBCADEJkBIAMgBhBeIAQgAxARCyACQYAEaiIDIAJBwAxqIAJBgAhqEKUBIAMQZAsgAkGACGoiAyAAEIwBIAJBgApqIgQgARCMASADIABBgAJqIgUQlwEgAxCwASAEIAFBgAJqIggQlwEg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QPSAEIAEQfSAEEEcgA0H4B2oiARBnIAEgAhB4IAEQRiADQcgcaiICIAEQkAEgA0G4CWogAhCQASACIANBuAhqEJABIANB+AlqIAIQkAEgA0G4CmoiARA9IANBuA1qEFUgASAEEH0gA0HAE2oiARA9IAEgBBB9IAEQogEgA0HAAWogA0GIAWoQUEECayECA0AgAkEBakEBTQRAIANBuA1qIgEQngEgACABQYgGENEBGgUgA0G4DWoQGiADQcAWaiADQbgKaiADQbgJaiADQfgJahALAkACQAJAIANBwAFqIAIQUyADQYgBaiACEFNrQQFqDgMBAgACCyADQcgcaiIBIANBuApqIANB+ARqIANBuAlqIANB+AlqEAogA0HAFmogARADDAELIANByBxqIgEgA0G4CmogA0HAE2ogA0G4CWogA0H4CWoQCiADQcAWaiABEAMLIAJBAWshAiADQbgNaiADQcAWahABDAELCwsgA0HQImokAAvBAwEVfwNAIANBwAFGBEACQCAAQShqIQsgAEEUaigCACIMIQggAEEQaigCACINIQIgAEEMaigCACIOIQEgACgCCCIPIQMgAEEYaigCACIQIQogAEEcaigCACIRIQQgAEEgaigCACISIQcgAEEkaigCACITIQYDQCAHIQkgBCEHIAohBCAFQYACRg0BIAEgAnEhFCABIAJzIRUgBSALaigCACAFQcCiwABqKAIAIAkgBEF/c3EgBCAHcXIgBmogBEEadyAEQRV3cyAEQQd3c2pqaiIGIAhqIQogBUEEaiEFIAIhCCABIQIgAyIBQR53IAFBE3dzIAFBCndzIBQgASAVcXNqIAZqIQMgCSEGDAALAAsFIAAgA2oiAkHoAGogAkEoaigCACACQcwAaigCACACQeAAaigCACIBQQ93IAFBDXdzIAFBCnZzamogAkEsaigCACIBQRl3IAFBDndzIAFBA3ZzajYCACADQQRqIQMMAQsLIAAgBiATajYCJCAAIAkgEmo2AiAgACAHIBFqNgIcIAAgBCAQajYCGCAAIAggDGo2AhQgACACIA1qNgIQIAAgASAOajYCDCAAIAMgD2o2AggL5AEBAn8jAEGAA2siAyQAIAMQPSAAIAEgAkEfdSIEIAJzIARBf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QFqIQZBACACQQN0ayEHQQshAwNAAkAgA0ECaiAGTQRAIAFBrAZPDQEgACACQQN0aiAAKQMAIAmGQv//////////A4M3AwADQCACRQ0HIABCADcDACACQQFrIQIgAEEIaiEADAALAAsgAyAFakEOTw0EIAQgBCAHaiIIQQhrKQMAIAqHIAgpAwAgCYZC//////////8Dg4Q3AwAgA0EBayEDIARBCGshBAwBCwsgAkEOQYCywAAQOwALIARBDkHQscAAEDsACyADQQ5B4LHAABA7AAtBf0EOQfCxwAAQOwALC6cCAQR/IABCADcCECAAAn9BACABQYACSQ0AGkEfIAFB////B0sNABogAUEGIAFBCHZnIgNrdkEBcSADQQF0a0E+agsiBDYCHCAEQQJ0Qey9wABqIQMgACECAkACQAJAAkBB4LvAACgCACIAQQEgBHQiBXEEQCADKAIAIQMgBBCfASEAIAMQywEgAUcNASADIQAMAgtB4LvAACAAIAVyNgIAIAMgAjYCAAwDCyABIAB0IQQDQCADIARBHXZBBHFqQRBqIgUoAgAiAEUNAiAEQQF0IQQgACIDEMsBIAFHDQALCyAAKAIIIgEgAjYCDCAAIAI2AgggAiAANgIMIAIgATYCCCACQQA2AhgPCyAFIAI2AgALIAIgAzYCGCACIAI2AgggAiACNgIMC7YCAQV/IAAoAhghBAJAAkAgACAAKAIMRgRAIABBFEEQIABBFGoiASgCACIDG2ooAgAiAg0BQQAhAQwCCyAAKAIIIgIgACgCDCIBNgIMIAEgAjYCCAwBCyABIABBEGogAxshAwNAIAMhBSACIgFBFGoiAygCACICRQRAIAFBEGohAyABKAIQIQILIAINAAsgBUEANgIACwJAIARFDQACQCAAIAAoAhxBAnRB7L3AAGoiAigCAEcEQCAEQRBBFCAEKAIQIABGG2ogATYCACABDQEMAgsgAiABNgIAIAENAEHgu8AAQeC7wAAoAgBBfiAAKAIcd3E2AgAPCyABIAQ2AhggACgCECICBEAgASACNgIQIAIgATYCGAsgAEEUaigCACIARQ0AIAFBFGogADYCACAAIAE2AhgLC+UBAQZ/IwBBgARrIgIkACACIAAQXiACQYABaiIFIABBgAFqIgYQXiACQYACaiIDQTgQ0AEaIAJBATYCuAIgAkHAAmpBOBDQARogAkH4AmpBATYCACACQYADaiIEIAYQXiACIAEQESAFIAFBgAFqIgcQESADIAcQmQEgAyABEJoBIAQgABCaASADEKkBIAQQqQEgBCADEBEgAyACEJkBIAMQNiAEIAMQmgEgBBCpASADIAUQmQEgAxA2IAYgBBCZASAGIAMQmgEgBRB8IAAgBRCZASAAIAIQmgEgABCwASACQYAEaiQAC28BDH9BjL/AACgCACICRQRAQZy/wABB/x82AgBBAA8LQYS/wAAhBgNAIAIiASgCCCECIAEoAgQhAyABKAIAIQQgAUEMaigCABogASEGIAVBAWohBSACDQALQZy/wAAgBUH/HyAFQf8fSxs2AgBBAAuAAgEGfyMAQYAIayIBJAAgACgCgAZBAUcEQCABIAAQjAEgAUGAAmoiAiAAQYACaiIEEIwBIAFBgARqIgUgAEGABGoiAxCMASABQYAGaiIGIAAQjAEgARAhIAIgAxAYIAIQswEgAhCwASAFECEgBiAEEBggBhCzASADIAAQlwEgAyAEEJcBIAMQsAEgAxAhIAAgARCWASABIAIQlwEgARCwASABIAUQlwEgASAGEJcBIAEQsAEgARArIAIQZCAFEGQgACACEJcBIAQgBRCWASAEIAYQlwEgAyABEJcBIABBBEEFIAAoAoAGQX5xQQJGGzYCgAYgABCdAQsgAUGACGokAAuZAgEBfyMAQYANayIDJAAgAyABEGkgAxCdASADQYgGaiIBIAIQXSABEEIgA0HABmoiAiABEF0gAkEDECkaIAIQQiADQfgGaiADEGkCQCACEFdFBEAgA0HABmoQKkECayECA0AgAkEBakEBTQRAIANB+AZqIgEQnAEMAwUgA0H4BmoQEwJAAkACQCADQcAGaiACEFMgA0GIBmogAhBTa0EBag4DAQIAAgsgA0H4BmogAxAHDAELIAMQngEgA0H4BmogAxAHIAMQngELIAJBAWshAgwBCwALAAsgA0H4BmoiARC3ASABQYABahC2ASABQYACahCxASABQYAEahCxASABQQE2AoAGCyAAIAFBiAYQ0QEaIAN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gASABIARJGyIBQQggAUEISxshAQJAIAIEQCADQRhqQQE2AgAgAyACNgIUIAMgACgCADYCEAwBCyADQQA2AhALIAMgASADQRBqECYgAygCAARAIANBCGooAgAiAEUNASADKAIEIAAQzwEACyADKAIEIQIgAEEEaiABNgIAIAAgAjYCACADQSBqJAAPCxBlAAusAQECfyMAQYADayIDJAAgA0EIaiABEJABAkAgAgRAIANBCGogAhCuAQwBCyADQQhqEDoLIANByABqIgJB8LTAABBJIANBgAFqIAIQjgEgA0HAAWoiAiADQQhqIgQQkAEgAhBMIAIgARBKIAAgARCQASAAIAQQSiADQYACaiACEJABIAAQViEBIANBwAJqIgIgABCQASACEEMgAhBCIAAgAiABEHIgA0GAA2okAAueAQEFfyMAQYABayICJAAgAkE4ENABIgJBATYCOCACQUBrIgNBOBDQARogAkEBNgJ4IAIgABCuASACIAFBgAFqIgUQSiADIAEQrgEgAyAAQYABaiIGEEoCQCACIAMQWEUNACACIABBQGsQrgEgAiAFEEogAkFAayIAIAFBQGsQrgEgACAGEEogAiAAEFhFDQBBASEECyACQYABaiQAIAQLpwEBA38jAEEwayICJAAgAUEEaiEDIAEoAgRFBEAgASgCACEBIAJBEGoiBEEANgIAIAJCATcDCCACIAJBCGo2AhQgAkEoaiABQRBqKQIANwMAIAJBIGogAUEIaikCADcDACACIAEpAgA3AxggAkEUaiACQRhqEAwaIANBCGogBCgCADYCACADIAIpAwg3AgALIABBhLfAADYCBCAAIAM2AgAgAkEwaiQAC5UBAQJ/AkACQAJAAkACfwJAAkACf0EBIgMgAUEASA0AGiACKAIAIgRFDQEgAigCBCICDQQgAQ0CQQEMAwshA0EAIQEMBgsgAQ0AQQEMAQsgAUEBELkBCyICRQ0BDAILIAQgARCsASICDQELIAAgATYCBEEBIQEMAQsgACACNgIEQQAhAwsgACADNgIAIABBCGogATYCAAvvMwISfwV+IwBBMGsiDiQAIA5BEGogACABEFsgDiAOKAIUIgA2AhwgDiAOKAIQIgg2AhggDkEIaiACIAMQWyAOIA4oA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IEED0gBCAIEH0gBBBHIABBsAxqIggQZyAIIAIQeCAIEEYgAEGILmoiASAFEJABIABB8A1qIAEQkAEgASAAQbAIahCQASAAQbAOaiABEJABIAEgCBCQASAAQfAOaiABEJABIAEgAEHwDGoQkAEgAEGwD2ogARCQASAAQfAPaiIBED0gAEHwEmoiBRA9IABB8BVqEFUgASADEH0gBSAEEH0gAEH4G2oiARA9IAEgAxB9IAEQogEgAEH4HmoiARA9IAEgBBB9IAEQogEgAEG4AWogAEGAAWoQUEECayEBA0AgAUEBakEBTQRAIABB8BVqIgEQngEgByABQYgGENEBGgwDBSAAQfAVaiIEEBogAEH4IWoiAyAAQfAPaiAAQfANaiAAQbAOahALIABBgChqIgUgAEHwEmogAEHwDmogAEGwD2oQCyADIAUQAyAEIAMQAQJAAkACQCAAQbgBaiABEFMgAEGAAWogARBTa0EBag4DAQIAAgsgAEGILmoiAyAAQfAPaiAAQfAEaiAAQfANaiAAQbAOahAKIABB+CFqIgQgA0GIBhDRARogAyAAQfASaiAAQbAJaiAAQfAOaiAAQbAPahAKIAQgAxADIABB8BVqIAQQAQwBCyAAQYguaiIDIABB8A9qIABB+BtqIABB8A1qIABBsA5qEAogAEH4IWoiBCADQYgGENEBGiADIABB8BJqIABB+B5qIABB8A5qIABBsA9qEAogBCADEAMgAEHwFWogBBABCyABQQFrIQEMAQsACwALIAcgCCACEA4LIABBkDRqJAAjAEHgH2siCCQAIAhB0BNqIgFByK3AABBJIAhB2BlqIg1BgK7AABBJIAggASANEEsgCEGAAWoiC0GQrcAAEEkgAkGID2oiACAHEGkgCEG4AWoiBSAAEGkjAEGACGsiAyQAIAMgBRCMASADQYACaiIJIAVBgAJqIg8QjAEgA0GABGoiCiAFEIwBIANBgAZqIgRBOBDQARogA0EBNgK4BiADQcAGakE4ENABGiADQfgGakEBNgIAIANBgAdqQTgQ0AEaIANBuAdqQQE2AgAgA0HAB2pBOBDQARogA0H4B2pBATYCACAFEJ0BIAMQISAJIAVBgARqIgwQGCAJEG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////8DgyEHIAMpAwAiBiAIhyEFDAELCxoLiAECA34DfyMAQRBrIgUkAAN+IAZBOEYEfiAFQRBqJAAgAwUgBSAAIAZqIgcpAwAiAiACQj+HIAGsIgIgAkI/hxAvIAcgBSkDACIEIAN8IgJC//////////8DgzcDACACIARUrSAFQQhqKQMAIANCP4d8fEIGhiACQjqIhCEDIAZBCGohBgwBCwsLigECA38BfiMAQUBqIgIkACACQQhqIgEgABBdIAEQQiACQThqIQFBBiEDQdwCIQACQAJAA0AgA0EATgRAIAEpAwAiBEIAUg0CIAFBCGshASAAQTprIQAgA0EBayEDDAELC0EAIQAMAQsDQCAEUA0BIABBAWohACAEQgJ/IQQMAAsACyACQUBrJAAgAAuHAQEDfyMAQYACayIBJAAgABCwASABIAAQXiABQYABaiICQTgQ0AEaIAFBATYCuAEgAUHAAWpBOBDQARogAUH4AWpBATYCACABIABBgAFqIgMQmgEgARA2IAIgARCZASACIAMQmgEgAyABEJkBIAMgABCaASAAIAIQmQEgABCwASABQYACaiQAC30CBH4BfyABQT9xrSECQTogAWtBP3GtIQRBACEBIAApAwAiBSEDA38gAUEwRgR/IAAgACkDMCAChzcDMCAFQn8gAoZCf4WDpwUgACABaiIGIAMgAocgBkEIaikDACIDIASGQv//////////A4OENwMAIAFBCGohAQwBCwsaC2kBBH8jAEHAAWsiASQAIAEgABCQASABQUBrIgIgABCQASABQYABaiIDIABBQGsiBBCQASABIAQQdyACIAAQdyACEEIgBCACEEogAxBDIAAgAxB3IAEQQiAAEEIgACABEEogAUHAAWokAAuCAQIBfwF+IABB8AAQ0AEhAANAIAJBOEYEQAJAIAAgASkDMCIDQjqHNwM4IAAgA0L//////////wODNwMwIABBQGshAEEAIQIDQCACQTBGDQEgACACakIANwMAIAJBCGohAgwACwALBSAAIAJqIAEgAmopAwA3AwAgAkEIaiECDAELCwtuAQZ+IAAgA0L/////D4MiBSABQv////8PgyIGfiIHIAUgAUIgiCIIfiIJIAYgA0IgiCIGfnwiBUIghnwiCjcDACAAI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AC5gBAQZ/IwBBwAFrIgMkACAAIAEQXiAAEC0gA0GIAWoiBkHop8AAEEkjAEFAaiIEJAAgA0EIaiICQTgQ0AEiBUEBNgI4IAVBQGtBOBDQASAFQfgAakEBNgIAIAQgBhCOASAFIAQQrgEQwQEgBEFAayQAIAIQqQEgAhB8IAIQqQEgACABEBEgACACEJoBIAAQtQEgA0HAAWokAAtZAQJ/IwBBQGoiAyQAIABBOBDQASIAQQE2AjgCQCABQQBOBEAgACABEJMBDAELIANBCGoiAkHAssAAEEkgAiABEJMBIAIQQiAAIAIQagsgABBUIANBQGskAAu9CAEKfyMAQYABayIHJAAgB0EIaiIDQcCywAAQSSADQQEQlAECQAJAA0AgAUEwRgRAIANBMGogAykDMEIBhzcDACADQThqIQEDQCACRQ0EIAFCADcDACACQQFrIQIgAUEIaiEBDAALAAsgAUE4Rg0BIAFBOEcEQCABIANqIAEgA2oiBEEIaikDAEI5hkL//////////wODIAQpAwBCAYeENwMAIAVBAWohBSABQQhqIQEMAQsLQQdBB0GEm8AAEDsACyAFQQdB9JrAABA7AAsgA0EBEJQBIANBARAsIAdBQGshBUEAIQIjAEGgCmsiASQAIAFBOBDQASIBQUBrQTgQ0AEhBiABQYABakE4ENABGiABQcABakE4ENABGiABQYACakE4ENABGiABQcACakE4ENABGiABQYADakE4ENABGiABQcADakE4ENABGiABQYAEakE4ENABGiABQcAEakE4ENABGiABQYAFakE4ENABGiABQcAFakE4ENABGiABQYAGakE4ENABGiABQcAGakE4ENABGiABQYAHakE4ENABGiABQcAHakE4ENABGiABQfgHakEBNgIAIAFBuAdqQQE2AgAgAUH4BmpBATYCACABQbgGakEBNgIAIAFB+AVqQQE2AgAgAUG4BWpBATYCACABQfgEakEBNgIAIAFBuARqQQE2AgAgAUH4A2pBATYCACABQbgDakEBNgIAIAFB+AJqQQE2AgAgAUG4AmpBATYCACABQfgBakEBNgIAIAFBuAFqQQE2AgAgAUH4AGpBATYCACABQQE2AjggAUGBCGpB5wAQ0AEaIAFB6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AQMyAAIAEQSiABEEMgARBCIAMgARBKIAFBgAFqJAALYQEBfyMAQYACayIDJAAgABA9IAAgARCZASAAQYABaiIBIAIQmQEgAEGAAmoQtwEgABCpASADIAAQOCADQYABaiICIAEQXiACEC0gAiADEHpFBEAgABCbAQsgA0GAAmokAAtUAQF/IwBBIGsiAiQAIAIgACgCADYCBCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCACQQRqIAJBCGoQDCACQSBqJAALZwAjAEEwayIBJABBpLvAAC0AAARAIAFBHGpBATYCACABQgI3AgwgAUGQtsAANgIIIAFBATYCJCABIAA2AiwgASABQSBqNgIYIAEgAUEsajYCICABQQhqQbi2wAAQZgALIAFBMGokAAtiAgF+An8gACkDACEBA34gACACaiIDIAFC//////////8DgzcDACABQjqHIQEgAkEoRgR+IAAgACkDMCABfCIBNwMwIAFCJIcFIAJBCGohAiADQQhqKQMAIAF8IQEMAQsLGgt8AQV/IwBBQGoiAyQAIANBCGoiAkHAssAAEEkgAiAAKAI4QQFrEDUiBBAoA0AgAUE4RwRAIAAgAWoiBSABIAJqKQMAIAUpAwB9NwMAIAFBCGohAQwBCwsgAEEBIARBAWp0IgI2AjggAkH///8PSgRAIAAQHgsgA0FAayQAC3sBAn8gAEEoaiECA0AgAUGAAkYEQCAAQufMp9DW0Ouzu383AgggAEIANwIAIABBIGpCq7OP/JGjs/DbADcCACAAQRhqQv+kuYjFkdqCm383AgAgAEEQakLy5rvjo6f9p6V/NwIABSABIAJqQQA2AgAgAUEEaiEBDAELCwtUACAAQTgQ0AEiAEEBNgI4IABBQGtBOBDQARogAEH4AGpBATYCACAAQYABakE4ENABGiAAQbgBakEBNgIAIABBwAFqQTgQ0AEaIABB+AFqQQE2AgALWAECfyMAQUBqIgEkAAJAIAAQhgENACABQQEQOSAAQYABaiICIAEQWA0AIAJBABAzIAAgAhBKIAAQHiAAQUBrIgAgAhBKIAAQHiACIAEQrgELIAFBQGskAAtZAQJ/IwBBgAFrIgEkAAJAIAAQigENACABEFEgAEGAAmoiAiABEHoNACACED4gACACEBEgABC1ASAAQYABaiIAIAIQESAAELUBIAIgARCZAQsgAUGAAWokAAtbAgF+An8gACkDACEBA0AgACACaiIDIAFC//////////8DgzcDACABQjqHIQEgAkHgAEYEQCAAIAApA2ggAXw3A2gFIAJBCGohAiADQQhqKQMAIAF8IQEMAQsLC08BAX8gAEE4ENABGgJAA0AgAkEHRwRAIAJBB0YNAiAAIAEpAwA3AwAgAEEIaiEAIAFBCGohASACQQFqIQIMAQsLDwtBB0EHQeSawAAQOwALVAECfyMAQbABayICJAAgATQCOCAANAI4fkL///8PVQRAIAAQHgsgAkEIaiIDIAAgARAFIAJB+ABqIgEgAxBrIAAgARBqIABBAjYCOCACQbABaiQAC1EBAn8jAEFAaiIDJAAgAEE4ENABIgBBATYCOCAAQUBrQTgQ0AEgAEH4AGpBATYCACADIAEQjgEgACADEK4BIAMgAhCOASADEK4BIANBQGskAAvwDAIRfwh+IwBBsAFrIg8kACAANAI4IhIgEn5C////D1YEQCAAEB4LIwBB0AFrIgEkACAPQQhqIgZBCGpB0AAQ0AEaIAFBwAFqIAApAwAiFyAXQj+HIhYgFyAWEC8gBiABKQPAASISQv//////////A4M3AwAgAUHIAWopAwAiFUIGhiASQjqIhCETIBVCOoghGCAAQQhqIgwhDSAAIQlBASEKQQEhBwJAA0AgCkEERgRAIABBGGohCiAAQRBqIQkgAEEoaiEMIAApAzAhF0EHIQUgAUHIAGohCwNAIAVBC0kEQCABQUBrIAVBA3QiCCAAakEwaykDACISIBJCP4cgFyAXQj+HIhYQLyAFQQFqIg1BAXYhByALKQMAIRUgASkDQCESIAkhAiAMIQQgBUEFayIOIQMDQCADIAdJBEAgASACKQMAIhQgFEI/hyAEKQMAIhQgFEI/hxAvIAEpAwAiFCASfCISIBRUrSABQQhqKQMAIBV8fCEVIAJBCGohAiAEQQhrIQQgA0EBaiEDDAELCyAGIAhqIBJCAYYiFCATfCITQv//////////A4M3AwAgAUE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AUHAtcAADAELIAMNASABKAIAIgMoAgQhASADKAIACyEDIAAgATYCBCAAIAM2AgAgAEG4t8AAIAIoAgggBCACLQAQECAACyAAQQA2AgQgACABNgIAIABBpLfAACACKAIIIAQgAi0AEBAgAAswACAAQTgQ0AEiAEEBNgI4IABBQGtBARA5IABBgAFqQTgQ0AEaIABBuAFqQQE2AgALKwACQCAAQXxLDQAgAEUEQEEEDwsgACAAQX1JQQJ0ELkBIgBFDQAgAA8LAAs4ACAAEIsBIAAgARCWASAAQYACaiABQYACahCWASAAQYAEaiABQYAEahCWASAAIAEoAoAGNgKABgsoAQF/A0AgAkE4RwRAIAAgAmogASACaikDADcDACACQQhqIQIMAQsLC4QJAg1/Cn4jAEFAaiILJAAgC0EIaiIJQcCywAAQSSMAQZACayICJAAgAEEwENABIQogAkHoAGpB8AAQ0AEaIAJB4AFqQTAQ0AEaIAoQcSACIAEiDCkDACIQQv3/8//P///5AX5C//////////8DgyISNwPYASACQdgAaiASQgAgCSkDACIXIBdCP4ciGBAvIBAgAikDWCIPfCITIA9UrSACQeAAaikDACAQQj+HfHwiEEI6hyABKQMIIg9CP4d8IA8gEEIGhiATQjqIhCITfCIQIBNUrXwhD0EBIQBCACETAkACQANAAkAgAEEHRgRAQQYhB0EAIQhBByEADAELIABBAXYiAUEBaiEGIAggAWshAyABQQN0IgFBCGohBCAHIAFrIQUgAkHIAGogCSAAQQN0Ig1qKQMAIhUgFUI/hyIWIBJCABAvIAJB0ABqKQMAIBAgECATfCIRVq0gDyAUfHx8IBEgAikDSHwiDyARVK18IRAgAEEBaiEBA0AgACAGTQRAIAJB2AFqIA1qIA9C/f/z/8////kBfkL//////////wODIhE3AwAgAkE4aiARQgAgFyAYEC8gAkEoaiARQgAgFSAWEC8gAkHoAGogAEEEdGoiACACQTBqKQMAIhE3AwggACACKQMoIhU3AwAgDyACKQM4IhZ8Ig8gFlStIAJBQGspAwAgEHx8IhBCOocgDCABQQN0aikDACIWQj+HfCAWIBBCBoYgD0I6iIQiD3wiECAPVK18IQ8gEyAVfCITIBVUrSARIBR8fCEUIAdBCGohByAIQQFqIQggASEADAMLIANBB08NAyACQRhqIAQgCWopAwAgBSAJaikDAH0iESARQj+HIAJB2AFqIg4gBWopAwAgBCAOaikDAH0iESARQj+HEC8gAikDGCIRIA98Ig8gEVStIAJBIGopAwAgEHx8IRAgBkEBaiEGIARBCGohBCAFQQhrIQUgA0EBayEDDAALAAsLA0ACQAJAIABBDUcEQCAHIABBAXYiBmshAyAIIAZBA3QiAWshBCABQQhqIQUgDyAUfCAQIBN8Ig8gEFStfCEQIABBAWohAQNAIAZBBUsNAyADQQdPDQIgAkEIaiAFIAlqKQMAIAQgCWpBMGopAwB9IhIgEkI/hyACIARqQYgCaikDACACQdgBaiAFaikDAH0iEiASQj+HEC8gAikDCCISIA98Ig8gElStIAJBEGopAwAgEHx8IRAgBkEBaiEGIARBCGshBCADQQFrIQMgBUEIaiEFDAALAAsgCiAQQv//////////A4M3AzAgAkGQAmokAAwECyADQQdBpJzAABA7AAsgAEEDdCAKakE4ayAPQv//////////A4M3AwAgEEI6hyAMIAFBA3RqKQMAIhJCP4d8IBIgEEIGhiAPQjqIhCIPfCIQIA9UrXwhDyAUIABBBHQgAmpBCGoiAEEIaikDAH0gEyAAKQMAIhJUrX0hFCAIQQhqIQggB0EBaiEHIBMgEn0hEyABIQAMAAsACyADQQdBlJzAABA7AAsgC0FAayQACy4BAX8jAEGAAWsiASQAIAAQRSABEFEgACABEJkBIABBgAFqELYBIAFBgAFqJAALMwAgACABEJYBIABBgAJqIAFBgAJqEJYBIABBgARqIAFBgARqEJYBIAAgASgCgAY2AoAGCygAIAAgASACEHIgAEFAayABQUBrIAIQciAAQYABaiABQYABaiACEHILLQAgACABIAIQjQEgAEGAAWogAUGAAWogAhCNASAAQYACaiABQYACaiACEI0BCycBAn8jAEFAaiICJAAgAkEIaiIDIAEQvgEgACADEI4BIAJBQGskAAsiAQF/A0AgAUE4RwRAIAAgAWpCADcDACABQQhqIQE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jYCBCAAIAFqIAE2AgALIgEBfyMAQfAAayICJAAgAiABEC4gACACEGsgAkHwAGokAAseACAAIAFBA3I2AgQgACABaiIAIAAoAgRBAXI2AgQLFgEBfyAAEHYEfyAAQYABahB2BUEACwsYAQF/IAAQiAEEfyAAQYABahCIAQVBAAsLFQEBfyAAEHYEfyAAQUBrEHYFQQALCxoBAX8gABBWIgEgAEFAaxBWIAFzIAAQdnFzCxgBAX8gABCIAQR/IABBgAJqEIgBBUEACwseACAAEEUgAEGAAmoQRSAAQYAEahBFIABBADYCgAYLHAAgABBFIAAgARCZASAAQYABaiABQYABahCZAQsYACAAIAEgAhByIABBQGsgAUFAayACEHILGgAgAEE4ENABIgBBATYCOCAAIAEQaiAAEFQLFAAgABBCIAAoAgBBfyABdEF/c3ELGQAgAEE4ENABIgAgARBqIAAgASgCODYCOAsZAQF/IAAoAhAiAQR/IAEFIABBFGooAgALCxgAIAAQwQEgAEFAaxDKASAAQYABahDBAQsUACAAEEIgACAAKQMAIAGsfDcDAAsUACAAEEIgACAAKQMAIAGsfTcDAAsYACAAEEUgACABEJkBIABBgAFqIAIQmQELGAAgACABEJkBIABBgAFqIAFBgAFqEJkBCxgAIAAgARCaASAAQYABaiABQYABahCaAQsYACAAEKQBIABBgAFqIgAQpAEgACABEBELFgAgACABEK4BIABBQGsgAUFAaxCuAQsUACAAIAEQdyAAQUBrIAFBQGsQdwsZACAAELYBIABBgAFqELcBIABBgAJqELYBCxkAIAAQrwEgAEGAAmoQrwEgAEGABGoQrwELGQAgABCwASAAQYACahCwASAAQYAEahCwAQsZACAAELIBIABBgAJqEMkBIABBgARqELIBCxIAQQBBGSAAQQF2ayAAQR9GGwsWACAAIAFBAXI2AgQgACABaiABNgIACxYAIAAQRSAAIAEQmQEgAEGAAWoQtgELFgAgAEGAAWoiABCpASAAEDYgABCpAQsQACAAIAFqQQFrQQAgAWtxCw8AIABBQGsiABBDIAAQQgsUACAAIAEQmQEgAEGAAWogAhCZAQsSACAAIAEQESAAQ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XNtLWJpbmRnZW4SMC4yLjgxICgwNjJhYTVmNzAp");let n=null;function o(A,t){const e=t(1*A.length);return(null!==n&&n.buffer===r.memory.buffer||(n=new Uint8Array(r.memory.buffer)),n).set(A,e/1),[e,A.length]}var a=async function A(){const{instance:t,module:e}=await async function(A,t){if("function"==typeof Response&&A instanceof Response){const e=await A.arrayBuffer();return await WebAssembly.instantiate(e,t)}{const e=await WebAssembly.instantiate(A,t);return e instanceof WebAssembly.Instance?{instance:e,module:A}:e}}(i,{});return r=t.exports,A.__wbindgen_wasm_module=e,r};let s;async function g(A,t,e){if(!s){if(await a(),0!==r.bls_init())throw new Error("Cannot initialize BLS");s=(A,t,e)=>0===function(A,t,e){const[i,n]=o(A,r.__wbindgen_malloc),[a,s]=o(t,r.__wbindgen_malloc),[g,c]=o(e,r.__wbindgen_malloc);return r.bls_verify(i,n,a,s,g,c)}(t,e,A)}return s(A,t,e)}},4947:function(A,t,e){"use strict";function r(...A){const t=new Uint8Array(A.reduce(((A,t)=>A+t.byteLength),0));let e=0;for(const r of A)t.set(new Uint8Array(r),e),e+=r.byteLength;return t.buffer}function i(A){return[...new Uint8Array(A)].map((A=>A.toString(16).padStart(2,"0"))).join("")}e.d(t,{H_:function(){return o},NC:function(){return i},qu:function(){return a},zo:function(){return r}});const n=new RegExp(/^([0-9A-F]{2})*$/i);function o(A){if(!n.test(A))throw new Error("Invalid hexadecimal string.");const t=[...A].reduce(((A,t,e)=>(A[e/2|0]=(A[e/2|0]||"")+t,A)),[]).map((A=>Number.parseInt(A,16)));return new Uint8Array(t).buffer}function a(A,t){if(A.byteLength!==t.byteLength)return A.byteLength-t.byteLength;const e=new Uint8Array(A),r=new Uint8Array(t);for(let A=0;AA+t.byteLength),0));let e=0;for(const r of A)t.set(new Uint8Array(r),e),e+=r.byteLength;return t}class o{constructor(A,t=(null==A?void 0:A.byteLength)||0){this._buffer=A||new ArrayBuffer(0),this._view=new Uint8Array(this._buffer,0,t)}get buffer(){return this._view.slice()}get byteLength(){return this._view.byteLength}read(A){const t=this._view.subarray(0,A);return this._view=this._view.subarray(A),t.slice().buffer}readUint8(){const A=this._view[0];return this._view=this._view.subarray(1),A}write(A){const t=new Uint8Array(A),e=this._view.byteLength;this._view.byteOffset+this._view.byteLength+t.byteLength>=this._buffer.byteLength?this.alloc(t.byteLength):this._view=new Uint8Array(this._buffer,this._view.byteOffset,this._view.byteLength+t.byteLength),this._view.set(t,e)}get end(){return 0===this._view.byteLength}alloc(A){const t=new ArrayBuffer(1.2*(this._buffer.byteLength+A)|0),e=new Uint8Array(t,0,this._view.byteLength+A);e.set(this._view),this._buffer=t,this._view=e}}function a(A){if(/^_\d+_$/.test(A)||/^_0x[0-9a-fA-F]+_$/.test(A)){const t=+A.slice(1,-1);if(Number.isSafeInteger(t)&&t>=0&&t<2**32)return t}return function(A){const t=(new TextEncoder).encode(A);let e=0;for(const A of t)e=(223*e+A)%2**32;return e}(A)}function s(){throw new Error("unexpected end of buffer")}function g(A,t){return A.byteLength=128);return r}function u(A){"number"==typeof A&&(A=BigInt(A));const t=A=0;A--)i=i*BigInt(128)+BigInt(128-(127&r[A])-1);return-i-BigInt(1)}function h(A,t){A=BigInt(A);const e=new o(new ArrayBuffer(Math.min(1,t)),0);let r=0,i=BigInt(256),n=BigInt(0),a=Number(A%i);for(e.write(new Uint8Array([a]));++re(A,t[r])))}class l{constructor(){this._typs=[],this._idx=new Map}has(A){return this._idx.has(A.name)}add(A,t){const e=this._typs.length;this._idx.set(A.name,e),this._typs.push(t)}merge(A,t){const e=this._idx.get(A.name),r=this._idx.get(t);if(void 0===e)throw new Error("Missing type index for "+A);if(void 0===r)throw new Error("Missing type index for "+t);this._typs[e]=this._typs[r],this._typs.splice(r,1),this._idx.delete(t)}encode(){const A=B(this._typs.length),t=n(...this._typs);return n(A,t)}indexOf(A){if(!this._idx.has(A))throw new Error("Missing type index for "+A);return u(this._idx.get(A)||0)}}class p{visitType(A,t){throw new Error("Not implemented")}visitPrimitive(A,t){return this.visitType(A,t)}visitEmpty(A,t){return this.visitPrimitive(A,t)}visitBool(A,t){return this.visitPrimitive(A,t)}visitNull(A,t){return this.visitPrimitive(A,t)}visitReserved(A,t){return this.visitPrimitive(A,t)}visitText(A,t){return this.visitPrimitive(A,t)}visitNumber(A,t){return this.visitPrimitive(A,t)}visitInt(A,t){return this.visitNumber(A,t)}visitNat(A,t){return this.visitNumber(A,t)}visitFloat(A,t){return this.visitPrimitive(A,t)}visitFixedInt(A,t){return this.visitNumber(A,t)}visitFixedNat(A,t){return this.visitNumber(A,t)}visitPrincipal(A,t){return this.visitPrimitive(A,t)}visitConstruct(A,t){return this.visitType(A,t)}visitVec(A,t,e){return this.visitConstruct(A,e)}visitOpt(A,t,e){return this.visitConstruct(A,e)}visitRecord(A,t,e){return this.visitConstruct(A,e)}visitTuple(A,t,e){const r=t.map(((A,t)=>[`_${t}_`,A]));return this.visitRecord(A,r,e)}visitVariant(A,t,e){return this.visitConstruct(A,e)}visitRec(A,t,e){return this.visitConstruct(t,e)}visitFunc(A,t){return this.visitConstruct(A,t)}visitService(A,t){return this.visitConstruct(A,t)}}class w{display(){return this.name}valueToString(A){return j(A)}buildTypeTable(A){A.has(this)||this._buildTypeTableImpl(A)}}class y extends w{checkType(A){if(this.name!==A.name)throw new Error(`type mismatch: type on the wire ${A.name}, expect type ${this.name}`);return A}_buildTypeTableImpl(A){}}class b extends w{checkType(A){if(A instanceof Y){const t=A.getType();if(void 0===t)throw new Error("type mismatch with uninitialized type");return t}throw new Error(`type mismatch: type on the wire ${A.name}, expect type ${this.name}`)}encodeType(A){return A.indexOf(this.name)}}class m extends y{accept(A,t){return A.visitEmpty(this,t)}covariant(A){throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(){throw new Error("Empty cannot appear as a function argument")}valueToString(){throw new Error("Empty cannot appear as a value")}encodeType(){return u(-17)}decodeValue(){throw new Error("Empty cannot appear as an output")}get name(){return"empty"}}class v extends w{checkType(A){throw new Error("Method not implemented for unknown.")}accept(A,t){throw A.visitType(this,t)}covariant(A){throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(){throw new Error("Unknown cannot appear as a function argument")}valueToString(){throw new Error("Unknown cannot appear as a value")}encodeType(){throw new Error("Unknown cannot be serialized")}decodeValue(A,t){let e,r=t.decodeValue(A,t);return Object(r)!==r&&(r=Object(r)),e=t instanceof Y?()=>t.getType():()=>t,Object.defineProperty(r,"type",{value:e,writable:!0,enumerable:!1,configurable:!0}),r}_buildTypeTableImpl(){throw new Error("Unknown cannot be serialized")}get name(){return"Unknown"}}class D extends y{accept(A,t){return A.visitBool(this,t)}covariant(A){if("boolean"==typeof A)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return new Uint8Array([A?1:0])}encodeType(){return u(-2)}decodeValue(A,t){switch(this.checkType(t),c(A)){case 0:return!1;case 1:return!0;default:throw new Error("Boolean value out of range")}}get name(){return"bool"}}class S extends y{accept(A,t){return A.visitNull(this,t)}covariant(A){if(null===A)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(){return new ArrayBuffer(0)}encodeType(){return u(-1)}decodeValue(A,t){return this.checkType(t),null}get name(){return"null"}}class k extends y{accept(A,t){return A.visitReserved(this,t)}covariant(A){return!0}encodeValue(){return new ArrayBuffer(0)}encodeType(){return u(-16)}decodeValue(A,t){return t.name!==this.name&&t.decodeValue(A,t),null}get name(){return"reserved"}}class M extends y{accept(A,t){return A.visitText(this,t)}covariant(A){if("string"==typeof A)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=(new TextEncoder).encode(A);return n(B(t.byteLength),t)}encodeType(){return u(-15)}decodeValue(A,t){this.checkType(t);const e=I(A),r=g(A,Number(e));return new TextDecoder("utf8",{fatal:!0}).decode(r)}get name(){return"text"}valueToString(A){return'"'+A+'"'}}class G extends y{accept(A,t){return A.visitInt(this,t)}covariant(A){if("bigint"==typeof A||Number.isInteger(A))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return u(A)}encodeType(){return u(-4)}decodeValue(A,t){return this.checkType(t),E(A)}get name(){return"int"}valueToString(A){return A.toString()}}class N extends y{accept(A,t){return A.visitNat(this,t)}covariant(A){if("bigint"==typeof A&&A>=BigInt(0)||Number.isInteger(A)&&A>=0)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return B(A)}encodeType(){return u(-3)}decodeValue(A,t){return this.checkType(t),I(A)}get name(){return"nat"}valueToString(A){return A.toString()}}class _ extends y{constructor(A){if(super(),this._bits=A,32!==A&&64!==A)throw new Error("not a valid float type")}accept(A,t){return A.visitFloat(this,t)}covariant(A){if("number"==typeof A||A instanceof Number)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=new ArrayBuffer(this._bits/8),e=new DataView(t);return 32===this._bits?e.setFloat32(0,A,!0):e.setFloat64(0,A,!0),t}encodeType(){return u(32===this._bits?-13:-14)}decodeValue(A,t){this.checkType(t);const e=g(A,this._bits/8),r=new DataView(e);return 32===this._bits?r.getFloat32(0,!0):r.getFloat64(0,!0)}get name(){return"float"+this._bits}valueToString(A){return A.toString()}}class R extends y{constructor(A){super(),this._bits=A}accept(A,t){return A.visitFixedInt(this,t)}covariant(A){const t=Q(this._bits-1)*BigInt(-1),e=Q(this._bits-1)-BigInt(1);let r=!1;if("bigint"==typeof A)r=A>=t&&A<=e;else if(Number.isInteger(A)){const i=BigInt(A);r=i>=t&&i<=e}else r=!1;if(r)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return h(A,this._bits/8)}encodeType(){return u(-9-(Math.log2(this._bits)-3))}decodeValue(A,t){this.checkType(t);const e=function(A,t){let e=f(A,t);const r=BigInt(2)**(BigInt(8)*BigInt(t-1)+BigInt(7));return e>=r&&(e-=r*BigInt(2)),e}(A,this._bits/8);return this._bits<=32?Number(e):e}get name(){return`int${this._bits}`}valueToString(A){return A.toString()}}class F extends y{constructor(A){super(),this._bits=A}accept(A,t){return A.visitFixedNat(this,t)}covariant(A){const t=Q(this._bits);let e=!1;if(e="bigint"==typeof A&&A>=BigInt(0)?A=0)&&BigInt(A){try{return this._type.covariant(A)}catch(A){throw new Error(`Invalid ${this.display()} argument: \n\nindex ${t} -> ${A.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=B(A.length);if(this._blobOptimization)return n(t,new Uint8Array(A));if(ArrayBuffer.isView(A))return n(t,new Uint8Array(A.buffer));const e=new o(new ArrayBuffer(t.byteLength+A.length),0);e.write(t);for(const t of A){const A=this._type.encodeValue(t);e.write(new Uint8Array(A))}return e.buffer}_buildTypeTableImpl(A){this._type.buildTypeTable(A);const t=u(-19),e=this._type.encodeType(A);A.add(this,n(t,e))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof U))throw new Error("Not a vector type");const r=Number(I(A));if(this._type instanceof F){if(8==this._type._bits)return new Uint8Array(A.read(r));if(16==this._type._bits)return new Uint16Array(A.read(2*r));if(32==this._type._bits)return new Uint32Array(A.read(4*r));if(64==this._type._bits)return new BigUint64Array(A.read(8*r))}if(this._type instanceof R){if(8==this._type._bits)return new Int8Array(A.read(r));if(16==this._type._bits)return new Int16Array(A.read(2*r));if(32==this._type._bits)return new Int32Array(A.read(4*r));if(64==this._type._bits)return new BigInt64Array(A.read(8*r))}const i=[];for(let t=0;tthis._type.valueToString(A))).join("; ")+"}"}}class x extends b{constructor(A){super(),this._type=A}accept(A,t){return A.visitOpt(this,this._type,t)}covariant(A){try{if(Array.isArray(A)&&(0===A.length||1===A.length&&this._type.covariant(A[0])))return!0}catch(t){throw new Error(`Invalid ${this.display()} argument: ${j(A)} \n\n-> ${t.message}`)}throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return 0===A.length?new Uint8Array([0]):n(new Uint8Array([1]),this._type.encodeValue(A[0]))}_buildTypeTableImpl(A){this._type.buildTypeTable(A);const t=u(-18),e=this._type.encodeType(A);A.add(this,n(t,e))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof x))throw new Error("Not an option type");switch(c(A)){case 0:return[];case 1:return[this._type.decodeValue(A,e._type)];default:throw new Error("Not an option value")}}get name(){return`opt ${this._type.name}`}display(){return`opt ${this._type.display()}`}valueToString(A){return 0===A.length?"null":`opt ${this._type.valueToString(A[0])}`}}class q extends b{constructor(A={}){super(),this._fields=Object.entries(A).sort(((A,t)=>a(A[0])-a(t[0])))}accept(A,t){return A.visitRecord(this,this._fields,t)}tryAsTuple(){const A=[];for(let t=0;t{if(!A.hasOwnProperty(t))throw new Error(`Record is missing key "${t}".`);try{return e.covariant(A[t])}catch(A){throw new Error(`Invalid ${this.display()} argument: \n\nfield ${t} -> ${A.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=this._fields.map((([t])=>A[t]));return n(...d(this._fields,t,(([,A],t)=>A.encodeValue(t))))}_buildTypeTableImpl(A){this._fields.forEach((([t,e])=>e.buildTypeTable(A)));const t=u(-20),e=B(this._fields.length),r=this._fields.map((([t,e])=>n(B(a(t)),e.encodeType(A))));A.add(this,n(t,e,n(...r)))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof q))throw new Error("Not a record type");const r={};let i=0,n=0;for(;n=this._fields.length){o.decodeValue(A,o),n++;continue}const[s,g]=this._fields[i],c=a(this._fields[i][0]),B=a(t);if(c===B)r[s]=g.decodeValue(A,o),i++,n++;else if(B>c){if(!(g instanceof x||g instanceof k))throw new Error("Cannot find required field "+s);r[s]=[],i++}else o.decodeValue(A,o),n++}for(const[A,t]of this._fields.slice(i)){if(!(t instanceof x||t instanceof k))throw new Error("Cannot find required field "+A);r[A]=[]}return r}get name(){return`record {${this._fields.map((([A,t])=>A+":"+t.name)).join("; ")}}`}display(){return`record {${this._fields.map((([A,t])=>A+":"+t.display())).join("; ")}}`}valueToString(A){const t=this._fields.map((([t])=>A[t]));return`record {${d(this._fields,t,(([A,t],e)=>A+"="+t.valueToString(e))).join("; ")}}`}}class L extends q{constructor(A){const t={};A.forEach(((A,e)=>t["_"+e+"_"]=A)),super(t),this._components=A}accept(A,t){return A.visitTuple(this,this._components,t)}covariant(A){if(Array.isArray(A)&&A.length>=this._fields.length&&this._components.every(((t,e)=>{try{return t.covariant(A[e])}catch(A){throw new Error(`Invalid ${this.display()} argument: \n\nindex ${e} -> ${A.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){return n(...d(this._components,A,((A,t)=>A.encodeValue(t))))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof L))throw new Error("not a tuple type");if(e._components.length=this._components.length?i.decodeValue(A,i):r.push(this._components[t].decodeValue(A,i));return r}display(){return`record {${this._components.map((A=>A.display())).join("; ")}}`}valueToString(A){return`record {${d(this._components,A,((A,t)=>A.valueToString(t))).join("; ")}}`}}class H extends b{constructor(A={}){super(),this._fields=Object.entries(A).sort(((A,t)=>a(A[0])-a(t[0])))}accept(A,t){return A.visitVariant(this,this._fields,t)}covariant(A){if("object"==typeof A&&1===Object.entries(A).length&&this._fields.every((([t,e])=>{try{return!A.hasOwnProperty(t)||e.covariant(A[t])}catch(A){throw new Error(`Invalid ${this.display()} argument: \n\nvariant ${t} -> ${A.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){for(let t=0;t{t.buildTypeTable(A)}));const t=u(-21),e=B(this._fields.length),r=this._fields.map((([t,e])=>n(B(a(t)),e.encodeType(A))));A.add(this,n(t,e,...r))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof H))throw new Error("Not a variant type");const r=Number(I(A));if(r>=e._fields.length)throw Error("Invalid variant index: "+r);const[i,n]=e._fields[r];for(const[t,e]of this._fields)if(a(i)===a(t))return{[t]:e.decodeValue(A,n)};throw new Error("Cannot find field hash "+i)}get name(){return`variant {${this._fields.map((([A,t])=>A+":"+t.name)).join("; ")}}`}display(){return`variant {${this._fields.map((([A,t])=>A+("null"===t.name?"":`:${t.display()}`))).join("; ")}}`}valueToString(A){for(const[t,e]of this._fields)if(A.hasOwnProperty(t)){const r=e.valueToString(A[t]);return"null"===r?`variant {${t}}`:`variant {${t}=${r}}`}throw new Error("Variant has no data: "+A)}}class Y extends b{constructor(){super(...arguments),this._id=Y._counter++,this._type=void 0}accept(A,t){if(!this._type)throw Error("Recursive type uninitialized.");return A.visitRec(this,this._type,t)}fill(A){this._type=A}getType(){return this._type}covariant(A){if(this._type&&this._type.covariant(A))return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.encodeValue(A)}_buildTypeTableImpl(A){if(!this._type)throw Error("Recursive type uninitialized.");A.add(this,new Uint8Array([])),this._type.buildTypeTable(A),A.merge(this,this._type.name)}decodeValue(A,t){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.decodeValue(A,t)}get name(){return`rec_${this._id}`}display(){if(!this._type)throw Error("Recursive type uninitialized.");return`μ${this.name}.${this._type.name}`}valueToString(A){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.valueToString(A)}}function J(A){if(1!==c(A))throw new Error("Cannot decode principal");const t=Number(I(A));return i.R.fromUint8Array(new Uint8Array(g(A,t)))}Y._counter=0;class T extends y{accept(A,t){return A.visitPrincipal(this,t)}covariant(A){if(A&&A._isPrincipal)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=A.toUint8Array(),e=B(t.byteLength);return n(new Uint8Array([1]),e,t)}encodeType(){return u(-24)}decodeValue(A,t){return this.checkType(t),J(A)}get name(){return"principal"}valueToString(A){return`${this.name} "${A.toText()}"`}}class O extends b{constructor(A,t,e=[]){super(),this.argTypes=A,this.retTypes=t,this.annotations=e}static argsToString(A,t){if(A.length!==t.length)throw new Error("arity mismatch");return"("+A.map(((A,e)=>A.valueToString(t[e]))).join(", ")+")"}accept(A,t){return A.visitFunc(this,t)}covariant(A){if(Array.isArray(A)&&2===A.length&&A[0]&&A[0]._isPrincipal&&"string"==typeof A[1])return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue([A,t]){const e=A.toUint8Array(),r=B(e.byteLength),i=n(new Uint8Array([1]),r,e),o=(new TextEncoder).encode(t),a=B(o.byteLength);return n(new Uint8Array([1]),i,a,o)}_buildTypeTableImpl(A){this.argTypes.forEach((t=>t.buildTypeTable(A))),this.retTypes.forEach((t=>t.buildTypeTable(A)));const t=u(-22),e=B(this.argTypes.length),r=n(...this.argTypes.map((t=>t.encodeType(A)))),i=B(this.retTypes.length),o=n(...this.retTypes.map((t=>t.encodeType(A)))),a=B(this.annotations.length),s=n(...this.annotations.map((A=>this.encodeAnnotation(A))));A.add(this,n(t,e,r,i,o,a,s))}decodeValue(A){if(1!==c(A))throw new Error("Cannot decode function reference");const t=J(A),e=g(A,Number(I(A)));return[t,new TextDecoder("utf8",{fatal:!0}).decode(e)]}get name(){return`(${this.argTypes.map((A=>A.name)).join(", ")}) -> (${this.retTypes.map((A=>A.name)).join(", ")})${" "+this.annotations.join(" ")}`}valueToString([A,t]){return`func "${A.toText()}".${t}`}display(){return`(${this.argTypes.map((A=>A.display())).join(", ")}) → (${this.retTypes.map((A=>A.display())).join(", ")})${" "+this.annotations.join(" ")}`}encodeAnnotation(A){if("query"===A)return new Uint8Array([1]);if("oneway"===A)return new Uint8Array([2]);throw new Error("Illegal function annotation")}}class K extends b{constructor(A){super(),this._fields=Object.entries(A).sort(((A,t)=>a(A[0])-a(t[0])))}accept(A,t){return A.visitService(this,t)}covariant(A){if(A&&A._isPrincipal)return!0;throw new Error(`Invalid ${this.display()} argument: ${j(A)}`)}encodeValue(A){const t=A.toUint8Array(),e=B(t.length);return n(new Uint8Array([1]),e,t)}_buildTypeTableImpl(A){this._fields.forEach((([t,e])=>e.buildTypeTable(A)));const t=u(-23),e=B(this._fields.length),r=this._fields.map((([t,e])=>{const r=(new TextEncoder).encode(t);return n(B(r.length),r,e.encodeType(A))}));A.add(this,n(t,e,...r))}decodeValue(A){return J(A)}get name(){return`service {${this._fields.map((([A,t])=>A+":"+t.name)).join("; ")}}`}valueToString(A){return`service "${A.toText()}"`}}function j(A){const t=JSON.stringify(A,((A,t)=>"bigint"==typeof t?`BigInt(${t})`:t));return t&&t.length>400?t.substring(0,397)+"...":t}function P(A,t){if(t.lengthA.buildTypeTable(e)));const r=(new TextEncoder).encode(C),i=e.encode(),o=B(t.length),a=n(...A.map((A=>A.encodeType(e)))),s=n(...d(A,t,((A,t)=>{try{A.covariant(t)}catch(A){throw new Error(A.message+"\n\n")}return A.encodeValue(t)})));return n(r,i,o,a,s)}function W(A,t){const e=new o(t);if(t.byteLength=Math.pow(2,32))throw new Error("field id out of 32-bit range");if("number"==typeof i&&i>=t)throw new Error("field id collision or not sorted");i=t;const e=Number(E(A));r.push([t,e])}t.push([e,r]);break}case-22:{const r=[];let i=Number(I(A));for(;i--;)r.push(Number(E(A)));const n=[];let o=Number(I(A));for(;o--;)n.push(Number(E(A)));const a=[];let s=Number(I(A));for(;s--;)switch(Number(I(A))){case 1:a.push("query");break;case 2:a.push("oneway");break;default:throw new Error("unknown annotation")}t.push([e,[r,n,a]]);break}case-23:{let r=Number(I(A));const i=[];for(;r--;){const t=Number(I(A)),e=(new TextDecoder).decode(g(A,t)),r=E(A);i.push([e,r])}t.push([e,i]);break}default:throw new Error("Illegal op_code: "+e)}}const r=[],i=Number(I(A));for(let t=0;tdA()));function c(A){if(A<-24)throw new Error("future value not supported");if(A<0)switch(A){case-1:return $;case-2:return X;case-3:return eA;case-4:return tA;case-5:return gA;case-6:return cA;case-7:return BA;case-8:return IA;case-9:return nA;case-10:return oA;case-11:return aA;case-12:return sA;case-13:return rA;case-14:return iA;case-15:return AA;case-16:return z;case-17:return V;case-24:return uA;default:throw new Error("Illegal op_code: "+A)}if(A>=n.length)throw new Error("type index out of range");return s[A]}n.forEach(((A,t)=>{const e=function(A){switch(A[0]){case-19:return hA(c(A[1]));case-18:return fA(c(A[1]));case-20:{const t={};for(const[e,r]of A[1])t[`_${e}_`]=c(r);const e=QA(t),r=e.tryAsTuple();return Array.isArray(r)?EA(...r):e}case-21:{const t={};for(const[e,r]of A[1])t[`_${e}_`]=c(r);return CA(t)}case-22:{const[t,e,r]=A[1];return lA(t.map((A=>c(A))),e.map((A=>c(A))),r)}case-23:{const t={},e=A[1];for(const[A,r]of e){let e=c(r);if(e instanceof Y&&(e=e.getType()),!(e instanceof O))throw new Error("Illegal service definition: services can only contain functions");t[A]=e}return pA(t)}default:throw new Error("Illegal op_code: "+A[0])}}(A);s[t].fill(e)}));const B=a.map((A=>c(A))),u=A.map(((A,t)=>A.decodeValue(e,B[t])));for(let t=A.length;t0)throw new Error("decode: Left-over bytes");return u}const V=new m,z=new k,Z=new v,X=new D,$=new S,AA=new M,tA=new G,eA=new N,rA=new _(32),iA=new _(64),nA=new R(8),oA=new R(16),aA=new R(32),sA=new R(64),gA=new F(8),cA=new F(16),BA=new F(32),IA=new F(64),uA=new T;function EA(...A){return new L(A)}function hA(A){return new U(A)}function fA(A){return new x(A)}function QA(A){return new q(A)}function CA(A){return new H(A)}function dA(){return new Y}function lA(A,t,e=[]){return new O(A,t,e)}function pA(A){return new K(A)}},4798:function(A,t,e){"use strict";e.d(t,{R:function(){return a}});const r="abcdefghijklmnopqrstuvwxyz234567",i=Object.create(null);for(let A=0;A<32;A++)i[r[A]]=A;i[0]=i.o,i[1]=i.i;const n=new Uint32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);var o=e(2023);class a{constructor(A){this._arr=A,this._isPrincipal=!0}static anonymous(){return new this(new Uint8Array([4]))}static managementCanister(){return this.fromHex("aaaaa-aa")}static selfAuthenticating(A){const t=function(A){const t=o.sha224.create();return t.update(A),new Uint8Array(t.array())}(A);return new this(new Uint8Array([...t,2]))}static from(A){if("string"==typeof A)return a.fromText(A);if("object"==typeof A&&null!==A&&!0===A._isPrincipal)return new a(A._arr);throw new Error(`Impossible to convert ${JSON.stringify(A)} to Principal.`)}static fromHex(A){return new this(new Uint8Array((null!==(t=A.match(/.{1,2}/g))&&void 0!==t?t:[]).map((A=>parseInt(A,16)))));var t}static fromText(A){let t=function(A){let t=0,e=0;const r=new Uint8Array(4*A.length/3|0);let n=0;function o(A){let o=i[A.toLowerCase()];if(void 0===o)throw new Error(`Invalid character: ${JSON.stringify(A)}`);o<<=3,e|=o>>>t,t+=5,t>=8&&(r[n++]=e,t-=8,e=t>0?o<<5-t&255:0)}for(const t of A)o(t);return r.slice(0,n)}(A.toLowerCase().replace(/-/g,""));t=t.slice(4,t.length);const e=new this(t);if(e.toText()!==A)throw new Error(`Principal "${e.toText()}" does not have a valid checksum (original value "${A}" may not be a valid Principal ID).`);return e}static fromUint8Array(A){return new this(A)}isAnonymous(){return 1===this._arr.byteLength&&4===this._arr[0]}toUint8Array(){return this._arr}toHex(){return(A=this._arr,A.reduce(((A,t)=>A+t.toString(16).padStart(2,"0")),"")).toUpperCase();var A}toText(){const A=new ArrayBuffer(4);new DataView(A).setUint32(0,function(A){const t=new Uint8Array(A);let e=-1;for(let A=0;A>>8}return(-1^e)>>>0}(this._arr));const t=new Uint8Array(A),e=Uint8Array.from(this._arr),i=function(A){let t=0,e=0,i="";for(let o=0;o>-t:e=n<3?(t-=8,1):(t<4&&(i+=r[e>>3],t+=5),0));var n;return i+(t<0?r[e>>3]:"")}(new Uint8Array([...t,...e])).match(/.{1,5}/g);if(!i)throw new Error;return i.join("-")}toString(){return this.toText()}compareTo(A){for(let t=0;tA._arr[t])return"gt"}return this._arr.lengthA._arr.length?"gt":"eq"}ltEq(A){const t=this.compareTo(A);return"lt"==t||"eq"==t}gtEq(A){const t=this.compareTo(A);return"gt"==t||"eq"==t}}},3704:function(A,t){!function(){"use strict";for(var A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=new Uint8Array(256),r=0;r<64;r++)e[A.charCodeAt(r)]=r;t.J=function(A){var t,r,i,n,o,a=.75*A.length,s=A.length,g=0;"="===A[A.length-1]&&(a--,"="===A[A.length-2]&&a--);var c=new ArrayBuffer(a),B=new Uint8Array(c);for(t=0;t>4,B[g++]=(15&i)<<4|n>>2,B[g++]=(3&n)<<6|63&o;return c}}()},9742:function(A,t){"use strict";t.byteLength=function(A){var t=a(A),e=t[0],r=t[1];return 3*(e+r)/4-r},t.toByteArray=function(A){var t,e,n=a(A),o=n[0],s=n[1],g=new i(function(A,t,e){return 3*(t+e)/4-e}(0,o,s)),c=0,B=s>0?o-4:o;for(e=0;e>16&255,g[c++]=t>>8&255,g[c++]=255&t;return 2===s&&(t=r[A.charCodeAt(e)]<<2|r[A.charCodeAt(e+1)]>>4,g[c++]=255&t),1===s&&(t=r[A.charCodeAt(e)]<<10|r[A.charCodeAt(e+1)]<<4|r[A.charCodeAt(e+2)]>>2,g[c++]=t>>8&255,g[c++]=255&t),g},t.fromByteArray=function(A){for(var t,r=A.length,i=r%3,n=[],o=16383,a=0,g=r-i;ag?g:a+o));return 1===i?(t=A[r-1],n.push(e[t>>2]+e[t<<4&63]+"==")):2===i&&(t=(A[r-2]<<8)+A[r-1],n.push(e[t>>10]+e[t>>4&63]+e[t<<2&63]+"=")),n.join("")};for(var e=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)e[o]=n[o],r[n.charCodeAt(o)]=o;function a(A){var t=A.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=A.indexOf("=");return-1===e&&(e=t),[e,e===t?0:4-e%4]}function s(A,t,r){for(var i,n,o=[],a=t;a>18&63]+e[n>>12&63]+e[n>>6&63]+e[63&n]);return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},4431:function(A,t,e){var r;!function(i){"use strict";var n,o=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,a=Math.ceil,s=Math.floor,g="[BigNumber Error] ",c=g+"Number primitive has more than 15 significant digits: ",B=1e14,I=14,u=9007199254740991,E=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],h=1e7,f=1e9;function Q(A){var t=0|A;return A>0||A===t?t:t-1}function C(A){for(var t,e,r=1,i=A.length,n=A[0]+"";rg^e?1:-1;for(a=(s=i.length)<(g=n.length)?s:g,o=0;on[o]^e?1:-1;return s==g?0:s>g^e?1:-1}function l(A,t,e,r){if(Ae||A!==s(A))throw Error(g+(r||"Argument")+("number"==typeof A?Ae?" out of range: ":" not an integer: ":" not a primitive number: ")+String(A))}function p(A){var t=A.c.length-1;return Q(A.e/I)==t&&A.c[t]%2!=0}function w(A,t){return(A.length>1?A.charAt(0)+"."+A.slice(1):A)+(t<0?"e":"e+")+t}function y(A,t,e){var r,i;if(t<0){for(i=e+".";++t;i+=e);A=i+A}else if(++t>(r=A.length)){for(i=e,t-=r;--t;i+=e);A+=i}else tx?Q.c=Q.e=null:A.e=10;B/=10,g++);return void(g>x?Q.c=Q.e=null:(Q.e=g,Q.c=[A]))}f=String(A)}else{if(!o.test(f=String(A)))return i(Q,f,E);Q.s=45==f.charCodeAt(0)?(f=f.slice(1),-1):1}(g=f.indexOf("."))>-1&&(f=f.replace(".","")),(B=f.search(/e/i))>0?(g<0&&(g=B),g+=+f.slice(B+1),f=f.substring(0,B)):g<0&&(g=f.length)}else{if(l(t,2,J.length,"Base"),10==t&&T)return W(Q=new O(A),N+Q.e+1,_);if(f=String(A),E="number"==typeof A){if(0*A!=0)return i(Q,f,E,t);if(Q.s=1/A<0?(f=f.slice(1),-1):1,O.DEBUG&&f.replace(/^0\.0*|\./,"").length>15)throw Error(c+A)}else Q.s=45===f.charCodeAt(0)?(f=f.slice(1),-1):1;for(e=J.slice(0,t),g=B=0,h=f.length;Bg){g=h;continue}}else if(!a&&(f==f.toUpperCase()&&(f=f.toLowerCase())||f==f.toLowerCase()&&(f=f.toUpperCase()))){a=!0,B=-1,g=0;continue}return i(Q,String(A),E,t)}E=!1,(g=(f=r(f,t,10,Q.s)).indexOf("."))>-1?f=f.replace(".",""):g=f.length}for(B=0;48===f.charCodeAt(B);B++);for(h=f.length;48===f.charCodeAt(--h););if(f=f.slice(B,++h)){if(h-=B,E&&O.DEBUG&&h>15&&(A>u||A!==s(A)))throw Error(c+Q.s*A);if((g=g-B-1)>x)Q.c=Q.e=null;else if(g=F)?w(s,o):y(s,o,"0");else if(n=(A=W(new O(A),t,e)).e,a=(s=C(A.c)).length,1==r||2==r&&(t<=n||n<=R)){for(;aa){if(--t>0)for(s+=".";t--;s+="0");}else if((t+=n-a)>0)for(n+1==a&&(s+=".");t--;s+="0");return A.s<0&&i?"-"+s:s}function j(A,t){for(var e,r=1,i=new O(A[0]);r=10;i/=10,r++);return(e=r+e*I-1)>x?A.c=A.e=null:e=10;g/=10,i++);if((n=t-i)<0)n+=I,o=t,h=(c=f[u=0])/Q[i-o-1]%10|0;else if((u=a((n+1)/I))>=f.length){if(!r)break A;for(;f.length<=u;f.push(0));c=h=0,i=1,o=(n%=I)-I+1}else{for(c=g=f[u],i=1;g>=10;g/=10,i++);h=(o=(n%=I)-I+i)<0?0:c/Q[i-o-1]%10|0}if(r=r||t<0||null!=f[u+1]||(o<0?c:c%Q[i-o-1]),r=e<4?(h||r)&&(0==e||e==(A.s<0?3:2)):h>5||5==h&&(4==e||r||6==e&&(n>0?o>0?c/Q[i-o]:0:f[u-1])%10&1||e==(A.s<0?8:7)),t<1||!f[0])return f.length=0,r?(t-=A.e+1,f[0]=Q[(I-t%I)%I],A.e=-t||0):f[0]=A.e=0,A;if(0==n?(f.length=u,g=1,u--):(f.length=u+1,g=Q[I-n],f[u]=o>0?s(c/Q[i-o]%Q[o])*g:0),r)for(;;){if(0==u){for(n=1,o=f[0];o>=10;o/=10,n++);for(o=f[0]+=g,g=1;o>=10;o/=10,g++);n!=g&&(A.e++,f[0]==B&&(f[0]=1));break}if(f[u]+=g,f[u]!=B)break;f[u--]=0,g=1}for(n=f.length;0===f[--n];f.pop());}A.e>x?A.c=A.e=null:A.e=F?w(t,e):y(t,e,"0"),A.s<0?"-"+t:t)}return O.clone=A,O.ROUND_UP=0,O.ROUND_DOWN=1,O.ROUND_CEIL=2,O.ROUND_FLOOR=3,O.ROUND_HALF_UP=4,O.ROUND_HALF_DOWN=5,O.ROUND_HALF_EVEN=6,O.ROUND_HALF_CEIL=7,O.ROUND_HALF_FLOOR=8,O.EUCLID=9,O.config=O.set=function(A){var t,e;if(null!=A){if("object"!=typeof A)throw Error(g+"Object expected: "+A);if(A.hasOwnProperty(t="DECIMAL_PLACES")&&(l(e=A[t],0,f,t),N=e),A.hasOwnProperty(t="ROUNDING_MODE")&&(l(e=A[t],0,8,t),_=e),A.hasOwnProperty(t="EXPONENTIAL_AT")&&((e=A[t])&&e.pop?(l(e[0],-f,0,t),l(e[1],0,f,t),R=e[0],F=e[1]):(l(e,-f,f,t),R=-(F=e<0?-e:e))),A.hasOwnProperty(t="RANGE"))if((e=A[t])&&e.pop)l(e[0],-f,-1,t),l(e[1],1,f,t),U=e[0],x=e[1];else{if(l(e,-f,f,t),!e)throw Error(g+t+" cannot be zero: "+e);U=-(x=e<0?-e:e)}if(A.hasOwnProperty(t="CRYPTO")){if((e=A[t])!==!!e)throw Error(g+t+" not true or false: "+e);if(e){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw q=!e,Error(g+"crypto unavailable");q=e}else q=e}if(A.hasOwnProperty(t="MODULO_MODE")&&(l(e=A[t],0,9,t),L=e),A.hasOwnProperty(t="POW_PRECISION")&&(l(e=A[t],0,f,t),H=e),A.hasOwnProperty(t="FORMAT")){if("object"!=typeof(e=A[t]))throw Error(g+t+" not an object: "+e);Y=e}if(A.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(e=A[t])||/^.?$|[+\-.\s]|(.).*\1/.test(e))throw Error(g+t+" invalid: "+e);T="0123456789"==e.slice(0,10),J=e}}return{DECIMAL_PLACES:N,ROUNDING_MODE:_,EXPONENTIAL_AT:[R,F],RANGE:[U,x],CRYPTO:q,MODULO_MODE:L,POW_PRECISION:H,FORMAT:Y,ALPHABET:J}},O.isBigNumber=function(A){if(!A||!0!==A._isBigNumber)return!1;if(!O.DEBUG)return!0;var t,e,r=A.c,i=A.e,n=A.s;A:if("[object Array]"=={}.toString.call(r)){if((1===n||-1===n)&&i>=-f&&i<=f&&i===s(i)){if(0===r[0]){if(0===i&&1===r.length)return!0;break A}if((t=(i+1)%I)<1&&(t+=I),String(r[0]).length==t){for(t=0;t=B||e!==s(e))break A;if(0!==e)return!0}}}else if(null===r&&null===i&&(null===n||1===n||-1===n))return!0;throw Error(g+"Invalid BigNumber: "+A)},O.maximum=O.max=function(){return j(arguments,M.lt)},O.minimum=O.min=function(){return j(arguments,M.gt)},O.random=(n=9007199254740992,b=Math.random()*n&2097151?function(){return s(Math.random()*n)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(A){var t,e,r,i,n,o=0,c=[],B=new O(G);if(null==A?A=N:l(A,0,f),i=a(A/I),q)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(i*=2));o>>11))>=9e15?(e=crypto.getRandomValues(new Uint32Array(2)),t[o]=e[0],t[o+1]=e[1]):(c.push(n%1e14),o+=2);o=i/2}else{if(!crypto.randomBytes)throw q=!1,Error(g+"crypto unavailable");for(t=crypto.randomBytes(i*=7);o=9e15?crypto.randomBytes(7).copy(t,o):(c.push(n%1e14),o+=7);o=i/7}if(!q)for(;o=10;n/=10,o++);oe-1&&(null==o[i+1]&&(o[i+1]=0),o[i+1]+=o[i]/e|0,o[i]%=e)}return o.reverse()}return function(r,i,n,o,a){var s,g,c,B,I,u,E,h,f=r.indexOf("."),Q=N,d=_;for(f>=0&&(B=H,H=0,r=r.replace(".",""),u=(h=new O(i)).pow(r.length-f),H=B,h.c=t(y(C(u.c),u.e,"0"),10,n,A),h.e=h.c.length),c=B=(E=t(r,i,n,a?(s=J,A):(s=A,J))).length;0==E[--B];E.pop());if(!E[0])return s.charAt(0);if(f<0?--c:(u.c=E,u.e=c,u.s=o,E=(u=e(u,h,Q,d,n)).c,I=u.r,c=u.e),f=E[g=c+Q+1],B=n/2,I=I||g<0||null!=E[g+1],I=d<4?(null!=f||I)&&(0==d||d==(u.s<0?3:2)):f>B||f==B&&(4==d||I||6==d&&1&E[g-1]||d==(u.s<0?8:7)),g<1||!E[0])r=I?y(s.charAt(1),-Q,s.charAt(0)):s.charAt(0);else{if(E.length=g,I)for(--n;++E[--g]>n;)E[g]=0,g||(++c,E=[1].concat(E));for(B=E.length;!E[--B];);for(f=0,r="";f<=B;r+=s.charAt(E[f++]));r=y(r,c,s.charAt(0))}return r}}(),e=function(){function A(A,t,e){var r,i,n,o,a=0,s=A.length,g=t%h,c=t/h|0;for(A=A.slice();s--;)a=((i=g*(n=A[s]%h)+(r=c*n+(o=A[s]/h|0)*g)%h*h+a)/e|0)+(r/h|0)+c*o,A[s]=i%e;return a&&(A=[a].concat(A)),A}function t(A,t,e,r){var i,n;if(e!=r)n=e>r?1:-1;else for(i=n=0;it[i]?1:-1;break}return n}function e(A,t,e,r){for(var i=0;e--;)A[e]-=i,i=A[e]1;A.splice(0,1));}return function(r,i,n,o,a){var g,c,u,E,h,f,C,d,l,p,w,y,b,m,v,D,S,k=r.s==i.s?1:-1,M=r.c,G=i.c;if(!(M&&M[0]&&G&&G[0]))return new O(r.s&&i.s&&(M?!G||M[0]!=G[0]:G)?M&&0==M[0]||!G?0*k:k/0:NaN);for(l=(d=new O(k)).c=[],k=n+(c=r.e-i.e)+1,a||(a=B,c=Q(r.e/I)-Q(i.e/I),k=k/I|0),u=0;G[u]==(M[u]||0);u++);if(G[u]>(M[u]||0)&&c--,k<0)l.push(1),E=!0;else{for(m=M.length,D=G.length,u=0,k+=2,(h=s(a/(G[0]+1)))>1&&(G=A(G,h,a),M=A(M,h,a),D=G.length,m=M.length),b=D,w=(p=M.slice(0,D)).length;w=a/2&&v++;do{if(h=0,(g=t(G,p,D,w))<0){if(y=p[0],D!=w&&(y=y*a+(p[1]||0)),(h=s(y/v))>1)for(h>=a&&(h=a-1),C=(f=A(G,h,a)).length,w=p.length;1==t(f,p,C,w);)h--,e(f,D=10;k/=10,u++);W(d,n+(d.e=u+c*I-1)+1,o,E)}else d.e=c,d.r=+E;return d}}(),m=/^(-?)0([xbo])(?=\w[\w.]*$)/i,v=/^([^.]+)\.$/,D=/^\.([^.]+)$/,S=/^-?(Infinity|NaN)$/,k=/^\s*\+(?=[\w.])|^\s+|\s+$/g,i=function(A,t,e,r){var i,n=e?t:t.replace(k,"");if(S.test(n))A.s=isNaN(n)?null:n<0?-1:1;else{if(!e&&(n=n.replace(m,(function(A,t,e){return i="x"==(e=e.toLowerCase())?16:"b"==e?2:8,r&&r!=i?A:t})),r&&(i=r,n=n.replace(v,"$1").replace(D,"0.$1")),t!=n))return new O(n,i);if(O.DEBUG)throw Error(g+"Not a"+(r?" base "+r:"")+" number: "+t);A.s=null}A.c=A.e=null},M.absoluteValue=M.abs=function(){var A=new O(this);return A.s<0&&(A.s=1),A},M.comparedTo=function(A,t){return d(this,new O(A,t))},M.decimalPlaces=M.dp=function(A,t){var e,r,i,n=this;if(null!=A)return l(A,0,f),null==t?t=_:l(t,0,8),W(new O(n),A+n.e+1,t);if(!(e=n.c))return null;if(r=((i=e.length-1)-Q(this.e/I))*I,i=e[i])for(;i%10==0;i/=10,r--);return r<0&&(r=0),r},M.dividedBy=M.div=function(A,t){return e(this,new O(A,t),N,_)},M.dividedToIntegerBy=M.idiv=function(A,t){return e(this,new O(A,t),0,1)},M.exponentiatedBy=M.pow=function(A,t){var e,r,i,n,o,c,B,u,E=this;if((A=new O(A)).c&&!A.isInteger())throw Error(g+"Exponent not an integer: "+V(A));if(null!=t&&(t=new O(t)),o=A.e>14,!E.c||!E.c[0]||1==E.c[0]&&!E.e&&1==E.c.length||!A.c||!A.c[0])return u=new O(Math.pow(+V(E),o?A.s*(2-p(A)):+V(A))),t?u.mod(t):u;if(c=A.s<0,t){if(t.c?!t.c[0]:!t.s)return new O(NaN);(r=!c&&E.isInteger()&&t.isInteger())&&(E=E.mod(t))}else{if(A.e>9&&(E.e>0||E.e<-1||(0==E.e?E.c[0]>1||o&&E.c[1]>=24e7:E.c[0]<8e13||o&&E.c[0]<=9999975e7)))return n=E.s<0&&p(A)?-0:0,E.e>-1&&(n=1/n),new O(c?1/n:n);H&&(n=a(H/I+2))}for(o?(e=new O(.5),c&&(A.s=1),B=p(A)):B=(i=Math.abs(+V(A)))%2,u=new O(G);;){if(B){if(!(u=u.times(E)).c)break;n?u.c.length>n&&(u.c.length=n):r&&(u=u.mod(t))}if(i){if(0===(i=s(i/2)))break;B=i%2}else if(W(A=A.times(e),A.e+1,1),A.e>14)B=p(A);else{if(0==(i=+V(A)))break;B=i%2}E=E.times(E),n?E.c&&E.c.length>n&&(E.c.length=n):r&&(E=E.mod(t))}return r?u:(c&&(u=G.div(u)),t?u.mod(t):n?W(u,H,_,void 0):u)},M.integerValue=function(A){var t=new O(this);return null==A?A=_:l(A,0,8),W(t,t.e+1,A)},M.isEqualTo=M.eq=function(A,t){return 0===d(this,new O(A,t))},M.isFinite=function(){return!!this.c},M.isGreaterThan=M.gt=function(A,t){return d(this,new O(A,t))>0},M.isGreaterThanOrEqualTo=M.gte=function(A,t){return 1===(t=d(this,new O(A,t)))||0===t},M.isInteger=function(){return!!this.c&&Q(this.e/I)>this.c.length-2},M.isLessThan=M.lt=function(A,t){return d(this,new O(A,t))<0},M.isLessThanOrEqualTo=M.lte=function(A,t){return-1===(t=d(this,new O(A,t)))||0===t},M.isNaN=function(){return!this.s},M.isNegative=function(){return this.s<0},M.isPositive=function(){return this.s>0},M.isZero=function(){return!!this.c&&0==this.c[0]},M.minus=function(A,t){var e,r,i,n,o=this,a=o.s;if(t=(A=new O(A,t)).s,!a||!t)return new O(NaN);if(a!=t)return A.s=-t,o.plus(A);var s=o.e/I,g=A.e/I,c=o.c,u=A.c;if(!s||!g){if(!c||!u)return c?(A.s=-t,A):new O(u?o:NaN);if(!c[0]||!u[0])return u[0]?(A.s=-t,A):new O(c[0]?o:3==_?-0:0)}if(s=Q(s),g=Q(g),c=c.slice(),a=s-g){for((n=a<0)?(a=-a,i=c):(g=s,i=u),i.reverse(),t=a;t--;i.push(0));i.reverse()}else for(r=(n=(a=c.length)<(t=u.length))?a:t,a=t=0;t0)for(;t--;c[e++]=0);for(t=B-1;r>a;){if(c[--r]=0;){for(e=0,E=y[i]%l,f=y[i]/l|0,n=i+(o=s);n>i;)e=((g=E*(g=w[--o]%l)+(a=f*g+(c=w[o]/l|0)*E)%l*l+C[n]+e)/d|0)+(a/l|0)+f*c,C[n--]=g%d;C[n]=e}return e?++r:C.splice(0,1),P(A,C,r)},M.negated=function(){var A=new O(this);return A.s=-A.s||null,A},M.plus=function(A,t){var e,r=this,i=r.s;if(t=(A=new O(A,t)).s,!i||!t)return new O(NaN);if(i!=t)return A.s=-t,r.minus(A);var n=r.e/I,o=A.e/I,a=r.c,s=A.c;if(!n||!o){if(!a||!s)return new O(i/0);if(!a[0]||!s[0])return s[0]?A:new O(a[0]?r:0*i)}if(n=Q(n),o=Q(o),a=a.slice(),i=n-o){for(i>0?(o=n,e=s):(i=-i,e=a),e.reverse();i--;e.push(0));e.reverse()}for((i=a.length)-(t=s.length)<0&&(e=s,s=a,a=e,t=i),i=0;t;)i=(a[--t]=a[t]+s[t]+i)/B|0,a[t]=B===a[t]?0:a[t]%B;return i&&(a=[i].concat(a),++o),P(A,a,o)},M.precision=M.sd=function(A,t){var e,r,i,n=this;if(null!=A&&A!==!!A)return l(A,1,f),null==t?t=_:l(t,0,8),W(new O(n),A,t);if(!(e=n.c))return null;if(r=(i=e.length-1)*I+1,i=e[i]){for(;i%10==0;i/=10,r--);for(i=e[0];i>=10;i/=10,r++);}return A&&n.e+1>r&&(r=n.e+1),r},M.shiftedBy=function(A){return l(A,-9007199254740991,u),this.times("1e"+A)},M.squareRoot=M.sqrt=function(){var A,t,r,i,n,o=this,a=o.c,s=o.s,g=o.e,c=N+4,B=new O("0.5");if(1!==s||!a||!a[0])return new O(!s||s<0&&(!a||a[0])?NaN:a?o:1/0);if(0==(s=Math.sqrt(+V(o)))||s==1/0?(((t=C(a)).length+g)%2==0&&(t+="0"),s=Math.sqrt(+t),g=Q((g+1)/2)-(g<0||g%2),r=new O(t=s==1/0?"5e"+g:(t=s.toExponential()).slice(0,t.indexOf("e")+1)+g)):r=new O(s+""),r.c[0])for((s=(g=r.e)+c)<3&&(s=0);;)if(n=r,r=B.times(n.plus(e(o,n,c,1))),C(n.c).slice(0,s)===(t=C(r.c)).slice(0,s)){if(r.e0&&h>0){for(n=h%a||a,B=E.substr(0,n);n0&&(B+=c+E.slice(n)),u&&(B="-"+B)}r=I?B+(e.decimalSeparator||"")+((s=+e.fractionGroupSize)?I.replace(new RegExp("\\d{"+s+"}\\B","g"),"$&"+(e.fractionGroupSeparator||"")):I):B}return(e.prefix||"")+r+(e.suffix||"")},M.toFraction=function(A){var t,r,i,n,o,a,s,c,B,u,h,f,Q=this,d=Q.c;if(null!=A&&(!(s=new O(A)).isInteger()&&(s.c||1!==s.s)||s.lt(G)))throw Error(g+"Argument "+(s.isInteger()?"out of range: ":"not an integer: ")+V(s));if(!d)return new O(Q);for(t=new O(G),B=r=new O(G),i=c=new O(G),f=C(d),o=t.e=f.length-Q.e-1,t.c[0]=E[(a=o%I)<0?I+a:a],A=!A||s.comparedTo(t)>0?o>0?t:B:s,a=x,x=1/0,s=new O(f),c.c[0]=0;u=e(s,t,0,1),1!=(n=r.plus(u.times(i))).comparedTo(A);)r=i,i=n,B=c.plus(u.times(n=B)),c=n,t=s.minus(u.times(n=t)),s=n;return n=e(A.minus(r),i,0,1),c=c.plus(n.times(B)),r=r.plus(n.times(i)),c.s=B.s=Q.s,h=e(B,i,o*=2,_).minus(Q).abs().comparedTo(e(c,r,o,_).minus(Q).abs())<1?[B,i]:[c,r],x=a,h},M.toNumber=function(){return+V(this)},M.toPrecision=function(A,t){return null!=A&&l(A,1,f),K(this,A,t,2)},M.toString=function(A){var t,e=this,i=e.s,n=e.e;return null===n?i?(t="Infinity",i<0&&(t="-"+t)):t="NaN":(null==A?t=n<=R||n>=F?w(C(e.c),n):y(C(e.c),n,"0"):10===A&&T?t=y(C((e=W(new O(e),N+n+1,_)).c),e.e,"0"):(l(A,2,J.length,"Base"),t=r(y(C(e.c),n,"0"),10,A,i,!0)),i<0&&e.c[0]&&(t="-"+t)),t},M.valueOf=M.toJSON=function(){return V(this)},M._isBigNumber=!0,null!=t&&O.set(t),O}(),n.default=n.BigNumber=n,void 0===(r=function(){return n}.call(t,e,t,A))||(A.exports=r)}()},3550:function(A,t,e){!function(A,t){"use strict";function r(A,t){if(!A)throw new Error(t||"Assertion failed")}function i(A,t){A.super_=t;var e=function(){};e.prototype=t.prototype,A.prototype=new e,A.prototype.constructor=A}function n(A,t,e){if(n.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,null!==A&&("le"!==t&&"be"!==t||(e=t,t=10),this._init(A||0,t||10,e||"be"))}var o;"object"==typeof A?A.exports=n:t.BN=n,n.BN=n,n.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e(6601).Buffer}catch(A){}function a(A,t){var e=A.charCodeAt(t);return e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:e-48&15}function s(A,t,e){var r=a(A,e);return e-1>=t&&(r|=a(A,e-1)<<4),r}function g(A,t,e,r){for(var i=0,n=Math.min(A.length,e),o=t;o=49?a-49+10:a>=17?a-17+10:a}return i}n.isBN=function(A){return A instanceof n||null!==A&&"object"==typeof A&&A.constructor.wordSize===n.wordSize&&Array.isArray(A.words)},n.max=function(A,t){return A.cmp(t)>0?A:t},n.min=function(A,t){return A.cmp(t)<0?A:t},n.prototype._init=function(A,t,e){if("number"==typeof A)return this._initNumber(A,t,e);if("object"==typeof A)return this._initArray(A,t,e);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(A=A.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)o=A[i]|A[i-1]<<8|A[i-2]<<16,this.words[n]|=o<>>26-a&67108863,(a+=24)>=26&&(a-=26,n++);else if("le"===e)for(i=0,n=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,n++);return this.strip()},n.prototype._parseHex=function(A,t,e){this.length=Math.ceil((A.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=s(A,t,r)<=18?(n-=18,o+=1,this.words[o]|=i>>>26):n+=8;else for(r=(A.length-t)%2==0?t+1:t;r=18?(n-=18,o+=1,this.words[o]|=i>>>26):n+=8;this.strip()},n.prototype._parseBase=function(A,t,e){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var n=A.length-e,o=n%r,a=Math.min(n,n-o)+e,s=0,c=e;c1&&0===this.words[this.length-1];)this.length--;return this._normSign()},n.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],B=[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],I=[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 u(A,t,e){e.negative=t.negative^A.negative;var r=A.length+t.length|0;e.length=r,r=r-1|0;var i=0|A.words[0],n=0|t.words[0],o=i*n,a=67108863&o,s=o/67108864|0;e.words[0]=a;for(var g=1;g>>26,B=67108863&s,I=Math.min(g,t.length-1),u=Math.max(0,g-A.length+1);u<=I;u++){var E=g-u|0;c+=(o=(i=0|A.words[E])*(n=0|t.words[u])+B)/67108864|0,B=67108863&o}e.words[g]=0|B,s=0|c}return 0!==s?e.words[g]=0|s:e.length--,e.strip()}n.prototype.toString=function(A,t){var e;if(t=0|t||1,16===(A=A||10)||"hex"===A){e="";for(var i=0,n=0,o=0;o>>24-i&16777215)||o!==this.length-1?c[6-s.length]+s+e:s+e,(i+=2)>=26&&(i-=26,o--)}for(0!==n&&(e=n.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(A===(0|A)&&A>=2&&A<=36){var g=B[A],u=I[A];e="";var E=this.clone();for(E.negative=0;!E.isZero();){var h=E.modn(u).toString(A);e=(E=E.idivn(u)).isZero()?h+e:c[g-h.length]+h+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}r(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var A=this.words[0];return 2===this.length?A+=67108864*this.words[1]:3===this.length&&1===this.words[2]?A+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-A:A},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(A,t){return r(void 0!==o),this.toArrayLike(o,A,t)},n.prototype.toArray=function(A,t){return this.toArrayLike(Array,A,t)},n.prototype.toArrayLike=function(A,t,e){var i=this.byteLength(),n=e||Math.max(1,i);r(i<=n,"byte array longer than desired length"),r(n>0,"Requested array length <= 0"),this.strip();var o,a,s="le"===t,g=new A(n),c=this.clone();if(s){for(a=0;!c.isZero();a++)o=c.andln(255),c.iushrn(8),g[a]=o;for(;a=4096&&(e+=13,t>>>=13),t>=64&&(e+=7,t>>>=7),t>=8&&(e+=4,t>>>=4),t>=2&&(e+=2,t>>>=2),e+t},n.prototype._zeroBits=function(A){if(0===A)return 26;var t=A,e=0;return 0==(8191&t)&&(e+=13,t>>>=13),0==(127&t)&&(e+=7,t>>>=7),0==(15&t)&&(e+=4,t>>>=4),0==(3&t)&&(e+=2,t>>>=2),0==(1&t)&&e++,e},n.prototype.bitLength=function(){var A=this.words[this.length-1],t=this._countBits(A);return 26*(this.length-1)+t},n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var A=0,t=0;tA.length?this.clone().ior(A):A.clone().ior(this)},n.prototype.uor=function(A){return this.length>A.length?this.clone().iuor(A):A.clone().iuor(this)},n.prototype.iuand=function(A){var t;t=this.length>A.length?A:this;for(var e=0;eA.length?this.clone().iand(A):A.clone().iand(this)},n.prototype.uand=function(A){return this.length>A.length?this.clone().iuand(A):A.clone().iuand(this)},n.prototype.iuxor=function(A){var t,e;this.length>A.length?(t=this,e=A):(t=A,e=this);for(var r=0;rA.length?this.clone().ixor(A):A.clone().ixor(this)},n.prototype.uxor=function(A){return this.length>A.length?this.clone().iuxor(A):A.clone().iuxor(this)},n.prototype.inotn=function(A){r("number"==typeof A&&A>=0);var t=0|Math.ceil(A/26),e=A%26;this._expand(t),e>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-e),this.strip()},n.prototype.notn=function(A){return this.clone().inotn(A)},n.prototype.setn=function(A,t){r("number"==typeof A&&A>=0);var e=A/26|0,i=A%26;return this._expand(e+1),this.words[e]=t?this.words[e]|1<A.length?(e=this,r=A):(e=A,r=this);for(var i=0,n=0;n>>26;for(;0!==i&&n>>26;if(this.length=e.length,0!==i)this.words[this.length]=i,this.length++;else if(e!==this)for(;nA.length?this.clone().iadd(A):A.clone().iadd(this)},n.prototype.isub=function(A){if(0!==A.negative){A.negative=0;var t=this.iadd(A);return A.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(A),this.negative=1,this._normSign();var e,r,i=this.cmp(A);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(e=this,r=A):(e=A,r=this);for(var n=0,o=0;o>26,this.words[o]=67108863&t;for(;0!==n&&o>26,this.words[o]=67108863&t;if(0===n&&o>>13,u=0|o[1],E=8191&u,h=u>>>13,f=0|o[2],Q=8191&f,C=f>>>13,d=0|o[3],l=8191&d,p=d>>>13,w=0|o[4],y=8191&w,b=w>>>13,m=0|o[5],v=8191&m,D=m>>>13,S=0|o[6],k=8191&S,M=S>>>13,G=0|o[7],N=8191&G,_=G>>>13,R=0|o[8],F=8191&R,U=R>>>13,x=0|o[9],q=8191&x,L=x>>>13,H=0|a[0],Y=8191&H,J=H>>>13,T=0|a[1],O=8191&T,K=T>>>13,j=0|a[2],P=8191&j,W=j>>>13,V=0|a[3],z=8191&V,Z=V>>>13,X=0|a[4],$=8191&X,AA=X>>>13,tA=0|a[5],eA=8191&tA,rA=tA>>>13,iA=0|a[6],nA=8191&iA,oA=iA>>>13,aA=0|a[7],sA=8191&aA,gA=aA>>>13,cA=0|a[8],BA=8191&cA,IA=cA>>>13,uA=0|a[9],EA=8191&uA,hA=uA>>>13;e.negative=A.negative^t.negative,e.length=19;var fA=(g+(r=Math.imul(B,Y))|0)+((8191&(i=(i=Math.imul(B,J))+Math.imul(I,Y)|0))<<13)|0;g=((n=Math.imul(I,J))+(i>>>13)|0)+(fA>>>26)|0,fA&=67108863,r=Math.imul(E,Y),i=(i=Math.imul(E,J))+Math.imul(h,Y)|0,n=Math.imul(h,J);var QA=(g+(r=r+Math.imul(B,O)|0)|0)+((8191&(i=(i=i+Math.imul(B,K)|0)+Math.imul(I,O)|0))<<13)|0;g=((n=n+Math.imul(I,K)|0)+(i>>>13)|0)+(QA>>>26)|0,QA&=67108863,r=Math.imul(Q,Y),i=(i=Math.imul(Q,J))+Math.imul(C,Y)|0,n=Math.imul(C,J),r=r+Math.imul(E,O)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(h,O)|0,n=n+Math.imul(h,K)|0;var CA=(g+(r=r+Math.imul(B,P)|0)|0)+((8191&(i=(i=i+Math.imul(B,W)|0)+Math.imul(I,P)|0))<<13)|0;g=((n=n+Math.imul(I,W)|0)+(i>>>13)|0)+(CA>>>26)|0,CA&=67108863,r=Math.imul(l,Y),i=(i=Math.imul(l,J))+Math.imul(p,Y)|0,n=Math.imul(p,J),r=r+Math.imul(Q,O)|0,i=(i=i+Math.imul(Q,K)|0)+Math.imul(C,O)|0,n=n+Math.imul(C,K)|0,r=r+Math.imul(E,P)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(h,P)|0,n=n+Math.imul(h,W)|0;var dA=(g+(r=r+Math.imul(B,z)|0)|0)+((8191&(i=(i=i+Math.imul(B,Z)|0)+Math.imul(I,z)|0))<<13)|0;g=((n=n+Math.imul(I,Z)|0)+(i>>>13)|0)+(dA>>>26)|0,dA&=67108863,r=Math.imul(y,Y),i=(i=Math.imul(y,J))+Math.imul(b,Y)|0,n=Math.imul(b,J),r=r+Math.imul(l,O)|0,i=(i=i+Math.imul(l,K)|0)+Math.imul(p,O)|0,n=n+Math.imul(p,K)|0,r=r+Math.imul(Q,P)|0,i=(i=i+Math.imul(Q,W)|0)+Math.imul(C,P)|0,n=n+Math.imul(C,W)|0,r=r+Math.imul(E,z)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(h,z)|0,n=n+Math.imul(h,Z)|0;var lA=(g+(r=r+Math.imul(B,$)|0)|0)+((8191&(i=(i=i+Math.imul(B,AA)|0)+Math.imul(I,$)|0))<<13)|0;g=((n=n+Math.imul(I,AA)|0)+(i>>>13)|0)+(lA>>>26)|0,lA&=67108863,r=Math.imul(v,Y),i=(i=Math.imul(v,J))+Math.imul(D,Y)|0,n=Math.imul(D,J),r=r+Math.imul(y,O)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(b,O)|0,n=n+Math.imul(b,K)|0,r=r+Math.imul(l,P)|0,i=(i=i+Math.imul(l,W)|0)+Math.imul(p,P)|0,n=n+Math.imul(p,W)|0,r=r+Math.imul(Q,z)|0,i=(i=i+Math.imul(Q,Z)|0)+Math.imul(C,z)|0,n=n+Math.imul(C,Z)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,AA)|0)+Math.imul(h,$)|0,n=n+Math.imul(h,AA)|0;var pA=(g+(r=r+Math.imul(B,eA)|0)|0)+((8191&(i=(i=i+Math.imul(B,rA)|0)+Math.imul(I,eA)|0))<<13)|0;g=((n=n+Math.imul(I,rA)|0)+(i>>>13)|0)+(pA>>>26)|0,pA&=67108863,r=Math.imul(k,Y),i=(i=Math.imul(k,J))+Math.imul(M,Y)|0,n=Math.imul(M,J),r=r+Math.imul(v,O)|0,i=(i=i+Math.imul(v,K)|0)+Math.imul(D,O)|0,n=n+Math.imul(D,K)|0,r=r+Math.imul(y,P)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(b,P)|0,n=n+Math.imul(b,W)|0,r=r+Math.imul(l,z)|0,i=(i=i+Math.imul(l,Z)|0)+Math.imul(p,z)|0,n=n+Math.imul(p,Z)|0,r=r+Math.imul(Q,$)|0,i=(i=i+Math.imul(Q,AA)|0)+Math.imul(C,$)|0,n=n+Math.imul(C,AA)|0,r=r+Math.imul(E,eA)|0,i=(i=i+Math.imul(E,rA)|0)+Math.imul(h,eA)|0,n=n+Math.imul(h,rA)|0;var wA=(g+(r=r+Math.imul(B,nA)|0)|0)+((8191&(i=(i=i+Math.imul(B,oA)|0)+Math.imul(I,nA)|0))<<13)|0;g=((n=n+Math.imul(I,oA)|0)+(i>>>13)|0)+(wA>>>26)|0,wA&=67108863,r=Math.imul(N,Y),i=(i=Math.imul(N,J))+Math.imul(_,Y)|0,n=Math.imul(_,J),r=r+Math.imul(k,O)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(M,O)|0,n=n+Math.imul(M,K)|0,r=r+Math.imul(v,P)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(D,P)|0,n=n+Math.imul(D,W)|0,r=r+Math.imul(y,z)|0,i=(i=i+Math.imul(y,Z)|0)+Math.imul(b,z)|0,n=n+Math.imul(b,Z)|0,r=r+Math.imul(l,$)|0,i=(i=i+Math.imul(l,AA)|0)+Math.imul(p,$)|0,n=n+Math.imul(p,AA)|0,r=r+Math.imul(Q,eA)|0,i=(i=i+Math.imul(Q,rA)|0)+Math.imul(C,eA)|0,n=n+Math.imul(C,rA)|0,r=r+Math.imul(E,nA)|0,i=(i=i+Math.imul(E,oA)|0)+Math.imul(h,nA)|0,n=n+Math.imul(h,oA)|0;var yA=(g+(r=r+Math.imul(B,sA)|0)|0)+((8191&(i=(i=i+Math.imul(B,gA)|0)+Math.imul(I,sA)|0))<<13)|0;g=((n=n+Math.imul(I,gA)|0)+(i>>>13)|0)+(yA>>>26)|0,yA&=67108863,r=Math.imul(F,Y),i=(i=Math.imul(F,J))+Math.imul(U,Y)|0,n=Math.imul(U,J),r=r+Math.imul(N,O)|0,i=(i=i+Math.imul(N,K)|0)+Math.imul(_,O)|0,n=n+Math.imul(_,K)|0,r=r+Math.imul(k,P)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(M,P)|0,n=n+Math.imul(M,W)|0,r=r+Math.imul(v,z)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(D,z)|0,n=n+Math.imul(D,Z)|0,r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,AA)|0)+Math.imul(b,$)|0,n=n+Math.imul(b,AA)|0,r=r+Math.imul(l,eA)|0,i=(i=i+Math.imul(l,rA)|0)+Math.imul(p,eA)|0,n=n+Math.imul(p,rA)|0,r=r+Math.imul(Q,nA)|0,i=(i=i+Math.imul(Q,oA)|0)+Math.imul(C,nA)|0,n=n+Math.imul(C,oA)|0,r=r+Math.imul(E,sA)|0,i=(i=i+Math.imul(E,gA)|0)+Math.imul(h,sA)|0,n=n+Math.imul(h,gA)|0;var bA=(g+(r=r+Math.imul(B,BA)|0)|0)+((8191&(i=(i=i+Math.imul(B,IA)|0)+Math.imul(I,BA)|0))<<13)|0;g=((n=n+Math.imul(I,IA)|0)+(i>>>13)|0)+(bA>>>26)|0,bA&=67108863,r=Math.imul(q,Y),i=(i=Math.imul(q,J))+Math.imul(L,Y)|0,n=Math.imul(L,J),r=r+Math.imul(F,O)|0,i=(i=i+Math.imul(F,K)|0)+Math.imul(U,O)|0,n=n+Math.imul(U,K)|0,r=r+Math.imul(N,P)|0,i=(i=i+Math.imul(N,W)|0)+Math.imul(_,P)|0,n=n+Math.imul(_,W)|0,r=r+Math.imul(k,z)|0,i=(i=i+Math.imul(k,Z)|0)+Math.imul(M,z)|0,n=n+Math.imul(M,Z)|0,r=r+Math.imul(v,$)|0,i=(i=i+Math.imul(v,AA)|0)+Math.imul(D,$)|0,n=n+Math.imul(D,AA)|0,r=r+Math.imul(y,eA)|0,i=(i=i+Math.imul(y,rA)|0)+Math.imul(b,eA)|0,n=n+Math.imul(b,rA)|0,r=r+Math.imul(l,nA)|0,i=(i=i+Math.imul(l,oA)|0)+Math.imul(p,nA)|0,n=n+Math.imul(p,oA)|0,r=r+Math.imul(Q,sA)|0,i=(i=i+Math.imul(Q,gA)|0)+Math.imul(C,sA)|0,n=n+Math.imul(C,gA)|0,r=r+Math.imul(E,BA)|0,i=(i=i+Math.imul(E,IA)|0)+Math.imul(h,BA)|0,n=n+Math.imul(h,IA)|0;var mA=(g+(r=r+Math.imul(B,EA)|0)|0)+((8191&(i=(i=i+Math.imul(B,hA)|0)+Math.imul(I,EA)|0))<<13)|0;g=((n=n+Math.imul(I,hA)|0)+(i>>>13)|0)+(mA>>>26)|0,mA&=67108863,r=Math.imul(q,O),i=(i=Math.imul(q,K))+Math.imul(L,O)|0,n=Math.imul(L,K),r=r+Math.imul(F,P)|0,i=(i=i+Math.imul(F,W)|0)+Math.imul(U,P)|0,n=n+Math.imul(U,W)|0,r=r+Math.imul(N,z)|0,i=(i=i+Math.imul(N,Z)|0)+Math.imul(_,z)|0,n=n+Math.imul(_,Z)|0,r=r+Math.imul(k,$)|0,i=(i=i+Math.imul(k,AA)|0)+Math.imul(M,$)|0,n=n+Math.imul(M,AA)|0,r=r+Math.imul(v,eA)|0,i=(i=i+Math.imul(v,rA)|0)+Math.imul(D,eA)|0,n=n+Math.imul(D,rA)|0,r=r+Math.imul(y,nA)|0,i=(i=i+Math.imul(y,oA)|0)+Math.imul(b,nA)|0,n=n+Math.imul(b,oA)|0,r=r+Math.imul(l,sA)|0,i=(i=i+Math.imul(l,gA)|0)+Math.imul(p,sA)|0,n=n+Math.imul(p,gA)|0,r=r+Math.imul(Q,BA)|0,i=(i=i+Math.imul(Q,IA)|0)+Math.imul(C,BA)|0,n=n+Math.imul(C,IA)|0;var vA=(g+(r=r+Math.imul(E,EA)|0)|0)+((8191&(i=(i=i+Math.imul(E,hA)|0)+Math.imul(h,EA)|0))<<13)|0;g=((n=n+Math.imul(h,hA)|0)+(i>>>13)|0)+(vA>>>26)|0,vA&=67108863,r=Math.imul(q,P),i=(i=Math.imul(q,W))+Math.imul(L,P)|0,n=Math.imul(L,W),r=r+Math.imul(F,z)|0,i=(i=i+Math.imul(F,Z)|0)+Math.imul(U,z)|0,n=n+Math.imul(U,Z)|0,r=r+Math.imul(N,$)|0,i=(i=i+Math.imul(N,AA)|0)+Math.imul(_,$)|0,n=n+Math.imul(_,AA)|0,r=r+Math.imul(k,eA)|0,i=(i=i+Math.imul(k,rA)|0)+Math.imul(M,eA)|0,n=n+Math.imul(M,rA)|0,r=r+Math.imul(v,nA)|0,i=(i=i+Math.imul(v,oA)|0)+Math.imul(D,nA)|0,n=n+Math.imul(D,oA)|0,r=r+Math.imul(y,sA)|0,i=(i=i+Math.imul(y,gA)|0)+Math.imul(b,sA)|0,n=n+Math.imul(b,gA)|0,r=r+Math.imul(l,BA)|0,i=(i=i+Math.imul(l,IA)|0)+Math.imul(p,BA)|0,n=n+Math.imul(p,IA)|0;var DA=(g+(r=r+Math.imul(Q,EA)|0)|0)+((8191&(i=(i=i+Math.imul(Q,hA)|0)+Math.imul(C,EA)|0))<<13)|0;g=((n=n+Math.imul(C,hA)|0)+(i>>>13)|0)+(DA>>>26)|0,DA&=67108863,r=Math.imul(q,z),i=(i=Math.imul(q,Z))+Math.imul(L,z)|0,n=Math.imul(L,Z),r=r+Math.imul(F,$)|0,i=(i=i+Math.imul(F,AA)|0)+Math.imul(U,$)|0,n=n+Math.imul(U,AA)|0,r=r+Math.imul(N,eA)|0,i=(i=i+Math.imul(N,rA)|0)+Math.imul(_,eA)|0,n=n+Math.imul(_,rA)|0,r=r+Math.imul(k,nA)|0,i=(i=i+Math.imul(k,oA)|0)+Math.imul(M,nA)|0,n=n+Math.imul(M,oA)|0,r=r+Math.imul(v,sA)|0,i=(i=i+Math.imul(v,gA)|0)+Math.imul(D,sA)|0,n=n+Math.imul(D,gA)|0,r=r+Math.imul(y,BA)|0,i=(i=i+Math.imul(y,IA)|0)+Math.imul(b,BA)|0,n=n+Math.imul(b,IA)|0;var SA=(g+(r=r+Math.imul(l,EA)|0)|0)+((8191&(i=(i=i+Math.imul(l,hA)|0)+Math.imul(p,EA)|0))<<13)|0;g=((n=n+Math.imul(p,hA)|0)+(i>>>13)|0)+(SA>>>26)|0,SA&=67108863,r=Math.imul(q,$),i=(i=Math.imul(q,AA))+Math.imul(L,$)|0,n=Math.imul(L,AA),r=r+Math.imul(F,eA)|0,i=(i=i+Math.imul(F,rA)|0)+Math.imul(U,eA)|0,n=n+Math.imul(U,rA)|0,r=r+Math.imul(N,nA)|0,i=(i=i+Math.imul(N,oA)|0)+Math.imul(_,nA)|0,n=n+Math.imul(_,oA)|0,r=r+Math.imul(k,sA)|0,i=(i=i+Math.imul(k,gA)|0)+Math.imul(M,sA)|0,n=n+Math.imul(M,gA)|0,r=r+Math.imul(v,BA)|0,i=(i=i+Math.imul(v,IA)|0)+Math.imul(D,BA)|0,n=n+Math.imul(D,IA)|0;var kA=(g+(r=r+Math.imul(y,EA)|0)|0)+((8191&(i=(i=i+Math.imul(y,hA)|0)+Math.imul(b,EA)|0))<<13)|0;g=((n=n+Math.imul(b,hA)|0)+(i>>>13)|0)+(kA>>>26)|0,kA&=67108863,r=Math.imul(q,eA),i=(i=Math.imul(q,rA))+Math.imul(L,eA)|0,n=Math.imul(L,rA),r=r+Math.imul(F,nA)|0,i=(i=i+Math.imul(F,oA)|0)+Math.imul(U,nA)|0,n=n+Math.imul(U,oA)|0,r=r+Math.imul(N,sA)|0,i=(i=i+Math.imul(N,gA)|0)+Math.imul(_,sA)|0,n=n+Math.imul(_,gA)|0,r=r+Math.imul(k,BA)|0,i=(i=i+Math.imul(k,IA)|0)+Math.imul(M,BA)|0,n=n+Math.imul(M,IA)|0;var MA=(g+(r=r+Math.imul(v,EA)|0)|0)+((8191&(i=(i=i+Math.imul(v,hA)|0)+Math.imul(D,EA)|0))<<13)|0;g=((n=n+Math.imul(D,hA)|0)+(i>>>13)|0)+(MA>>>26)|0,MA&=67108863,r=Math.imul(q,nA),i=(i=Math.imul(q,oA))+Math.imul(L,nA)|0,n=Math.imul(L,oA),r=r+Math.imul(F,sA)|0,i=(i=i+Math.imul(F,gA)|0)+Math.imul(U,sA)|0,n=n+Math.imul(U,gA)|0,r=r+Math.imul(N,BA)|0,i=(i=i+Math.imul(N,IA)|0)+Math.imul(_,BA)|0,n=n+Math.imul(_,IA)|0;var GA=(g+(r=r+Math.imul(k,EA)|0)|0)+((8191&(i=(i=i+Math.imul(k,hA)|0)+Math.imul(M,EA)|0))<<13)|0;g=((n=n+Math.imul(M,hA)|0)+(i>>>13)|0)+(GA>>>26)|0,GA&=67108863,r=Math.imul(q,sA),i=(i=Math.imul(q,gA))+Math.imul(L,sA)|0,n=Math.imul(L,gA),r=r+Math.imul(F,BA)|0,i=(i=i+Math.imul(F,IA)|0)+Math.imul(U,BA)|0,n=n+Math.imul(U,IA)|0;var NA=(g+(r=r+Math.imul(N,EA)|0)|0)+((8191&(i=(i=i+Math.imul(N,hA)|0)+Math.imul(_,EA)|0))<<13)|0;g=((n=n+Math.imul(_,hA)|0)+(i>>>13)|0)+(NA>>>26)|0,NA&=67108863,r=Math.imul(q,BA),i=(i=Math.imul(q,IA))+Math.imul(L,BA)|0,n=Math.imul(L,IA);var _A=(g+(r=r+Math.imul(F,EA)|0)|0)+((8191&(i=(i=i+Math.imul(F,hA)|0)+Math.imul(U,EA)|0))<<13)|0;g=((n=n+Math.imul(U,hA)|0)+(i>>>13)|0)+(_A>>>26)|0,_A&=67108863;var RA=(g+(r=Math.imul(q,EA))|0)+((8191&(i=(i=Math.imul(q,hA))+Math.imul(L,EA)|0))<<13)|0;return g=((n=Math.imul(L,hA))+(i>>>13)|0)+(RA>>>26)|0,RA&=67108863,s[0]=fA,s[1]=QA,s[2]=CA,s[3]=dA,s[4]=lA,s[5]=pA,s[6]=wA,s[7]=yA,s[8]=bA,s[9]=mA,s[10]=vA,s[11]=DA,s[12]=SA,s[13]=kA,s[14]=MA,s[15]=GA,s[16]=NA,s[17]=_A,s[18]=RA,0!==g&&(s[19]=g,e.length++),e};function h(A,t,e){return(new f).mulp(A,t,e)}function f(A,t){this.x=A,this.y=t}Math.imul||(E=u),n.prototype.mulTo=function(A,t){var e,r=this.length+A.length;return e=10===this.length&&10===A.length?E(this,A,t):r<63?u(this,A,t):r<1024?function(A,t,e){e.negative=t.negative^A.negative,e.length=A.length+t.length;for(var r=0,i=0,n=0;n>>26)|0)>>>26,o&=67108863}e.words[n]=a,r=o,o=i}return 0!==r?e.words[n]=r:e.length--,e.strip()}(this,A,t):h(this,A,t),e},f.prototype.makeRBT=function(A){for(var t=new Array(A),e=n.prototype._countBits(A)-1,r=0;r>=1;return r},f.prototype.permute=function(A,t,e,r,i,n){for(var o=0;o>>=1)i++;return 1<>>=13,e[2*o+1]=8191&n,n>>>=13;for(o=2*t;o>=26,t+=i/67108864|0,t+=n>>>26,this.words[e]=67108863&n}return 0!==t&&(this.words[e]=t,this.length++),this},n.prototype.muln=function(A){return this.clone().imuln(A)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(A){var t=function(A){for(var t=new Array(A.bitLength()),e=0;e>>i}return t}(A);if(0===t.length)return new n(1);for(var e=this,r=0;r=0);var t,e=A%26,i=(A-e)/26,n=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(t=0;t>>26-e}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var n=A%26,o=Math.min((A-n)/26,this.length),a=67108863^67108863>>>n<o)for(this.length-=o,g=0;g=0&&(0!==c||g>=i);g--){var B=0|this.words[g];this.words[g]=c<<26-n|B>>>n,c=B&a}return s&&0!==c&&(s.words[s.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(A,t,e){return r(0===this.negative),this.iushrn(A,t,e)},n.prototype.shln=function(A){return this.clone().ishln(A)},n.prototype.ushln=function(A){return this.clone().iushln(A)},n.prototype.shrn=function(A){return this.clone().ishrn(A)},n.prototype.ushrn=function(A){return this.clone().iushrn(A)},n.prototype.testn=function(A){r("number"==typeof A&&A>=0);var t=A%26,e=(A-t)/26,i=1<=0);var t=A%26,e=(A-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=e)return this;if(0!==t&&e++,this.length=Math.min(e,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},n.prototype.isubn=function(A){if(r("number"==typeof A),r(A<67108864),A<0)return this.iaddn(-A);if(0!==this.negative)return this.negative=0,this.iaddn(A),this.negative=1,this;if(this.words[0]-=A,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(s/67108864|0),this.words[i+e]=67108863&n}for(;i>26,this.words[i+e]=67108863&n;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&n;return this.negative=1,this.strip()},n.prototype._wordDiv=function(A,t){var e=(this.length,A.length),r=this.clone(),i=A,o=0|i.words[i.length-1];0!=(e=26-this._countBits(o))&&(i=i.ushln(e),r.iushln(e),o=0|i.words[i.length-1]);var a,s=r.length-i.length;if("mod"!==t){(a=new n(null)).length=s+1,a.words=new Array(a.length);for(var g=0;g=0;B--){var I=67108864*(0|r.words[i.length+B])+(0|r.words[i.length+B-1]);for(I=Math.min(I/o|0,67108863),r._ishlnsubmul(i,I,B);0!==r.negative;)I--,r.negative=0,r._ishlnsubmul(i,1,B),r.isZero()||(r.negative^=1);a&&(a.words[B]=I)}return a&&a.strip(),r.strip(),"div"!==t&&0!==e&&r.iushrn(e),{div:a||null,mod:r}},n.prototype.divmod=function(A,t,e){return r(!A.isZero()),this.isZero()?{div:new n(0),mod:new n(0)}:0!==this.negative&&0===A.negative?(a=this.neg().divmod(A,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(o=a.mod.neg(),e&&0!==o.negative&&o.iadd(A)),{div:i,mod:o}):0===this.negative&&0!==A.negative?(a=this.divmod(A.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&A.negative)?(a=this.neg().divmod(A.neg(),t),"div"!==t&&(o=a.mod.neg(),e&&0!==o.negative&&o.isub(A)),{div:a.div,mod:o}):A.length>this.length||this.cmp(A)<0?{div:new n(0),mod:this}:1===A.length?"div"===t?{div:this.divn(A.words[0]),mod:null}:"mod"===t?{div:null,mod:new n(this.modn(A.words[0]))}:{div:this.divn(A.words[0]),mod:new n(this.modn(A.words[0]))}:this._wordDiv(A,t);var i,o,a},n.prototype.div=function(A){return this.divmod(A,"div",!1).div},n.prototype.mod=function(A){return this.divmod(A,"mod",!1).mod},n.prototype.umod=function(A){return this.divmod(A,"mod",!0).mod},n.prototype.divRound=function(A){var t=this.divmod(A);if(t.mod.isZero())return t.div;var e=0!==t.div.negative?t.mod.isub(A):t.mod,r=A.ushrn(1),i=A.andln(1),n=e.cmp(r);return n<0||1===i&&0===n?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},n.prototype.modn=function(A){r(A<=67108863);for(var t=(1<<26)%A,e=0,i=this.length-1;i>=0;i--)e=(t*e+(0|this.words[i]))%A;return e},n.prototype.idivn=function(A){r(A<=67108863);for(var t=0,e=this.length-1;e>=0;e--){var i=(0|this.words[e])+67108864*t;this.words[e]=i/A|0,t=i%A}return this.strip()},n.prototype.divn=function(A){return this.clone().idivn(A)},n.prototype.egcd=function(A){r(0===A.negative),r(!A.isZero());var t=this,e=A.clone();t=0!==t.negative?t.umod(A):t.clone();for(var i=new n(1),o=new n(0),a=new n(0),s=new n(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var c=e.clone(),B=t.clone();!t.isZero();){for(var I=0,u=1;0==(t.words[0]&u)&&I<26;++I,u<<=1);if(I>0)for(t.iushrn(I);I-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(B)),i.iushrn(1),o.iushrn(1);for(var E=0,h=1;0==(e.words[0]&h)&&E<26;++E,h<<=1);if(E>0)for(e.iushrn(E);E-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(c),s.isub(B)),a.iushrn(1),s.iushrn(1);t.cmp(e)>=0?(t.isub(e),i.isub(a),o.isub(s)):(e.isub(t),a.isub(i),s.isub(o))}return{a:a,b:s,gcd:e.iushln(g)}},n.prototype._invmp=function(A){r(0===A.negative),r(!A.isZero());var t=this,e=A.clone();t=0!==t.negative?t.umod(A):t.clone();for(var i,o=new n(1),a=new n(0),s=e.clone();t.cmpn(1)>0&&e.cmpn(1)>0;){for(var g=0,c=1;0==(t.words[0]&c)&&g<26;++g,c<<=1);if(g>0)for(t.iushrn(g);g-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var B=0,I=1;0==(e.words[0]&I)&&B<26;++B,I<<=1);if(B>0)for(e.iushrn(B);B-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(e)>=0?(t.isub(e),o.isub(a)):(e.isub(t),a.isub(o))}return(i=0===t.cmpn(1)?o:a).cmpn(0)<0&&i.iadd(A),i},n.prototype.gcd=function(A){if(this.isZero())return A.abs();if(A.isZero())return this.abs();var t=this.clone(),e=A.clone();t.negative=0,e.negative=0;for(var r=0;t.isEven()&&e.isEven();r++)t.iushrn(1),e.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;e.isEven();)e.iushrn(1);var i=t.cmp(e);if(i<0){var n=t;t=e,e=n}else if(0===i||0===e.cmpn(1))break;t.isub(e)}return e.iushln(r)},n.prototype.invm=function(A){return this.egcd(A).a.umod(A)},n.prototype.isEven=function(){return 0==(1&this.words[0])},n.prototype.isOdd=function(){return 1==(1&this.words[0])},n.prototype.andln=function(A){return this.words[0]&A},n.prototype.bincn=function(A){r("number"==typeof A);var t=A%26,e=(A-t)/26,i=1<>>26,a&=67108863,this.words[o]=a}return 0!==n&&(this.words[o]=n,this.length++),this},n.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},n.prototype.cmpn=function(A){var t,e=A<0;if(0!==this.negative&&!e)return-1;if(0===this.negative&&e)return 1;if(this.strip(),this.length>1)t=1;else{e&&(A=-A),r(A<=67108863,"Number is too big");var i=0|this.words[0];t=i===A?0:iA.length)return 1;if(this.length=0;e--){var r=0|this.words[e],i=0|A.words[e];if(r!==i){ri&&(t=1);break}}return t},n.prototype.gtn=function(A){return 1===this.cmpn(A)},n.prototype.gt=function(A){return 1===this.cmp(A)},n.prototype.gten=function(A){return this.cmpn(A)>=0},n.prototype.gte=function(A){return this.cmp(A)>=0},n.prototype.ltn=function(A){return-1===this.cmpn(A)},n.prototype.lt=function(A){return-1===this.cmp(A)},n.prototype.lten=function(A){return this.cmpn(A)<=0},n.prototype.lte=function(A){return this.cmp(A)<=0},n.prototype.eqn=function(A){return 0===this.cmpn(A)},n.prototype.eq=function(A){return 0===this.cmp(A)},n.red=function(A){return new y(A)},n.prototype.toRed=function(A){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),A.convertTo(this)._forceRed(A)},n.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(A){return this.red=A,this},n.prototype.forceRed=function(A){return r(!this.red,"Already a number in reduction context"),this._forceRed(A)},n.prototype.redAdd=function(A){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,A)},n.prototype.redIAdd=function(A){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,A)},n.prototype.redSub=function(A){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,A)},n.prototype.redISub=function(A){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,A)},n.prototype.redShl=function(A){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,A)},n.prototype.redMul=function(A){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,A),this.red.mul(this,A)},n.prototype.redIMul=function(A){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,A),this.red.imul(this,A)},n.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(A){return r(this.red&&!A.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,A)};var Q={k256:null,p224:null,p192:null,p25519:null};function C(A,t){this.name=A,this.p=new n(t,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function d(){C.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function l(){C.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function p(){C.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){C.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function y(A){if("string"==typeof A){var t=n._prime(A);this.m=t.p,this.prime=t}else r(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}function b(A){y.call(this,A),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new n(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)}C.prototype._tmp=function(){var A=new n(null);return A.words=new Array(Math.ceil(this.n/13)),A},C.prototype.ireduce=function(A){var t,e=A;do{this.split(e,this.tmp),t=(e=(e=this.imulK(e)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?e.isub(this.p):void 0!==e.strip?e.strip():e._strip(),e},C.prototype.split=function(A,t){A.iushrn(this.n,0,t)},C.prototype.imulK=function(A){return A.imul(this.k)},i(d,C),d.prototype.split=function(A,t){for(var e=4194303,r=Math.min(A.length,9),i=0;i>>22,n=o}n>>>=22,A.words[i-10]=n,0===n&&A.length>10?A.length-=10:A.length-=9},d.prototype.imulK=function(A){A.words[A.length]=0,A.words[A.length+1]=0,A.length+=2;for(var t=0,e=0;e>>=26,A.words[e]=i,t=r}return 0!==t&&(A.words[A.length++]=t),A},n._prime=function(A){if(Q[A])return Q[A];var t;if("k256"===A)t=new d;else if("p224"===A)t=new l;else if("p192"===A)t=new p;else{if("p25519"!==A)throw new Error("Unknown prime "+A);t=new w}return Q[A]=t,t},y.prototype._verify1=function(A){r(0===A.negative,"red works only with positives"),r(A.red,"red works only with red numbers")},y.prototype._verify2=function(A,t){r(0==(A.negative|t.negative),"red works only with positives"),r(A.red&&A.red===t.red,"red works only with red numbers")},y.prototype.imod=function(A){return this.prime?this.prime.ireduce(A)._forceRed(this):A.umod(this.m)._forceRed(this)},y.prototype.neg=function(A){return A.isZero()?A.clone():this.m.sub(A)._forceRed(this)},y.prototype.add=function(A,t){this._verify2(A,t);var e=A.add(t);return e.cmp(this.m)>=0&&e.isub(this.m),e._forceRed(this)},y.prototype.iadd=function(A,t){this._verify2(A,t);var e=A.iadd(t);return e.cmp(this.m)>=0&&e.isub(this.m),e},y.prototype.sub=function(A,t){this._verify2(A,t);var e=A.sub(t);return e.cmpn(0)<0&&e.iadd(this.m),e._forceRed(this)},y.prototype.isub=function(A,t){this._verify2(A,t);var e=A.isub(t);return e.cmpn(0)<0&&e.iadd(this.m),e},y.prototype.shl=function(A,t){return this._verify1(A),this.imod(A.ushln(t))},y.prototype.imul=function(A,t){return this._verify2(A,t),this.imod(A.imul(t))},y.prototype.mul=function(A,t){return this._verify2(A,t),this.imod(A.mul(t))},y.prototype.isqr=function(A){return this.imul(A,A.clone())},y.prototype.sqr=function(A){return this.mul(A,A)},y.prototype.sqrt=function(A){if(A.isZero())return A.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var e=this.m.add(new n(1)).iushrn(2);return this.pow(A,e)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);r(!i.isZero());var a=new n(1).toRed(this),s=a.redNeg(),g=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new n(2*c*c).toRed(this);0!==this.pow(c,g).cmp(s);)c.redIAdd(s);for(var B=this.pow(c,i),I=this.pow(A,i.addn(1).iushrn(1)),u=this.pow(A,i),E=o;0!==u.cmp(a);){for(var h=u,f=0;0!==h.cmp(a);f++)h=h.redSqr();r(f=0;r--){for(var g=t.words[r],c=s-1;c>=0;c--){var B=g>>c&1;i!==e[0]&&(i=this.sqr(i)),0!==B||0!==o?(o<<=1,o|=B,(4==++a||0===r&&0===c)&&(i=this.mul(i,e[o]),a=0,o=0)):a=0}s=26}return i},y.prototype.convertTo=function(A){var t=A.umod(this.m);return t===A?t.clone():t},y.prototype.convertFrom=function(A){var t=A.clone();return t.red=null,t},n.mont=function(A){return new b(A)},i(b,y),b.prototype.convertTo=function(A){return this.imod(A.ushln(this.shift))},b.prototype.convertFrom=function(A){var t=this.imod(A.mul(this.rinv));return t.red=null,t},b.prototype.imul=function(A,t){if(A.isZero()||t.isZero())return A.words[0]=0,A.length=1,A;var e=A.imul(t),r=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=e.isub(r).iushrn(this.shift),n=i;return i.cmp(this.m)>=0?n=i.isub(this.m):i.cmpn(0)<0&&(n=i.iadd(this.m)),n._forceRed(this)},b.prototype.mul=function(A,t){if(A.isZero()||t.isZero())return new n(0)._forceRed(this);var e=A.mul(t),r=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=e.isub(r).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)},b.prototype.invm=function(A){return this.imod(A._invmp(this.m).mul(this.r2))._forceRed(this)}}(A=e.nmd(A),this)},6526:function(A,t,e){"use strict";var r=e(9742),i=e(645),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.SlowBuffer=function(A){return+A!=A&&(A=0),s.alloc(+A)},t.INSPECT_MAX_BYTES=50;var o=2147483647;function a(A){if(A>o)throw new RangeError('The value "'+A+'" is invalid for option "size"');var t=new Uint8Array(A);return Object.setPrototypeOf(t,s.prototype),t}function s(A,t,e){if("number"==typeof A){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return B(A)}return g(A,t,e)}function g(A,t,e){if("string"==typeof A)return function(A,t){if("string"==typeof t&&""!==t||(t="utf8"),!s.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var e=0|h(A,t),r=a(e),i=r.write(A,t);return i!==e&&(r=r.slice(0,i)),r}(A,t);if(ArrayBuffer.isView(A))return function(A){if(Y(A,Uint8Array)){var t=new Uint8Array(A);return u(t.buffer,t.byteOffset,t.byteLength)}return I(A)}(A);if(null==A)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A);if(Y(A,ArrayBuffer)||A&&Y(A.buffer,ArrayBuffer))return u(A,t,e);if("undefined"!=typeof SharedArrayBuffer&&(Y(A,SharedArrayBuffer)||A&&Y(A.buffer,SharedArrayBuffer)))return u(A,t,e);if("number"==typeof A)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=A.valueOf&&A.valueOf();if(null!=r&&r!==A)return s.from(r,t,e);var i=function(A){if(s.isBuffer(A)){var t=0|E(A.length),e=a(t);return 0===e.length||A.copy(e,0,0,t),e}return void 0!==A.length?"number"!=typeof A.length||J(A.length)?a(0):I(A):"Buffer"===A.type&&Array.isArray(A.data)?I(A.data):void 0}(A);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof A[Symbol.toPrimitive])return s.from(A[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A)}function c(A){if("number"!=typeof A)throw new TypeError('"size" argument must be of type number');if(A<0)throw new RangeError('The value "'+A+'" is invalid for option "size"')}function B(A){return c(A),a(A<0?0:0|E(A))}function I(A){for(var t=A.length<0?0:0|E(A.length),e=a(t),r=0;r=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|A}function h(A,t){if(s.isBuffer(A))return A.length;if(ArrayBuffer.isView(A)||Y(A,ArrayBuffer))return A.byteLength;if("string"!=typeof A)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof A);var e=A.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===e)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return q(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return L(A).length;default:if(i)return r?-1:q(A).length;t=(""+t).toLowerCase(),i=!0}}function f(A,t,e){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if((e>>>=0)<=(t>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":return M(this,t,e);case"utf8":case"utf-8":return v(this,t,e);case"ascii":return S(this,t,e);case"latin1":case"binary":return k(this,t,e);case"base64":return m(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,t,e);default:if(r)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),r=!0}}function Q(A,t,e){var r=A[t];A[t]=A[e],A[e]=r}function C(A,t,e,r,i){if(0===A.length)return-1;if("string"==typeof e?(r=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),J(e=+e)&&(e=i?0:A.length-1),e<0&&(e=A.length+e),e>=A.length){if(i)return-1;e=A.length-1}else if(e<0){if(!i)return-1;e=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:d(A,t,e,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(A,t,e):Uint8Array.prototype.lastIndexOf.call(A,t,e):d(A,[t],e,r,i);throw new TypeError("val must be string, number or Buffer")}function d(A,t,e,r,i){var n,o=1,a=A.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(A.length<2||t.length<2)return-1;o=2,a/=2,s/=2,e/=2}function g(A,t){return 1===o?A[t]:A.readUInt16BE(t*o)}if(i){var c=-1;for(n=e;na&&(e=a-s),n=e;n>=0;n--){for(var B=!0,I=0;Ii&&(r=i):r=i;var n=t.length;r>n/2&&(r=n/2);for(var o=0;o>8,i=e%256,n.push(i),n.push(r);return n}(t,A.length-e),A,e,r)}function m(A,t,e){return 0===t&&e===A.length?r.fromByteArray(A):r.fromByteArray(A.slice(t,e))}function v(A,t,e){e=Math.min(A.length,e);for(var r=[],i=t;i239?4:g>223?3:g>191?2:1;if(i+B<=e)switch(B){case 1:g<128&&(c=g);break;case 2:128==(192&(n=A[i+1]))&&(s=(31&g)<<6|63&n)>127&&(c=s);break;case 3:n=A[i+1],o=A[i+2],128==(192&n)&&128==(192&o)&&(s=(15&g)<<12|(63&n)<<6|63&o)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:n=A[i+1],o=A[i+2],a=A[i+3],128==(192&n)&&128==(192&o)&&128==(192&a)&&(s=(15&g)<<18|(63&n)<<12|(63&o)<<6|63&a)>65535&&s<1114112&&(c=s)}null===c?(c=65533,B=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=B}return function(A){var t=A.length;if(t<=D)return String.fromCharCode.apply(String,A);for(var e="",r=0;rr.length?s.from(n).copy(r,i):Uint8Array.prototype.set.call(r,n,i);else{if(!s.isBuffer(n))throw new TypeError('"list" argument must be an Array of Buffers');n.copy(r,i)}i+=n.length}return r},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var A=this.length;if(A%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;te&&(A+=" ... "),""},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(A,t,e,r,i){if(Y(A,Uint8Array)&&(A=s.from(A,A.offset,A.byteLength)),!s.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(void 0===t&&(t=0),void 0===e&&(e=A?A.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||e>A.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=e)return 0;if(r>=i)return-1;if(t>=e)return 1;if(this===A)return 0;for(var n=(i>>>=0)-(r>>>=0),o=(e>>>=0)-(t>>>=0),a=Math.min(n,o),g=this.slice(r,i),c=A.slice(t,e),B=0;B>>=0,isFinite(e)?(e>>>=0,void 0===r&&(r="utf8")):(r=e,e=void 0)}var i=this.length-t;if((void 0===e||e>i)&&(e=i),A.length>0&&(e<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var n=!1;;)switch(r){case"hex":return l(this,A,t,e);case"utf8":case"utf-8":return p(this,A,t,e);case"ascii":case"latin1":case"binary":return w(this,A,t,e);case"base64":return y(this,A,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,A,t,e);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),n=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function S(A,t,e){var r="";e=Math.min(A.length,e);for(var i=t;ir)&&(e=r);for(var i="",n=t;ne)throw new RangeError("Trying to access beyond buffer length")}function _(A,t,e,r,i,n){if(!s.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||tA.length)throw new RangeError("Index out of range")}function R(A,t,e,r,i,n){if(e+r>A.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function F(A,t,e,r,n){return t=+t,e>>>=0,n||R(A,0,e,4),i.write(A,t,e,r,23,4),e+4}function U(A,t,e,r,n){return t=+t,e>>>=0,n||R(A,0,e,8),i.write(A,t,e,r,52,8),e+8}s.prototype.slice=function(A,t){var e=this.length;(A=~~A)<0?(A+=e)<0&&(A=0):A>e&&(A=e),(t=void 0===t?e:~~t)<0?(t+=e)<0&&(t=0):t>e&&(t=e),t>>=0,t>>>=0,e||N(A,t,this.length);for(var r=this[A],i=1,n=0;++n>>=0,t>>>=0,e||N(A,t,this.length);for(var r=this[A+--t],i=1;t>0&&(i*=256);)r+=this[A+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(A,t){return A>>>=0,t||N(A,1,this.length),this[A]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(A,t){return A>>>=0,t||N(A,2,this.length),this[A]|this[A+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(A,t){return A>>>=0,t||N(A,2,this.length),this[A]<<8|this[A+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(A,t){return A>>>=0,t||N(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(A,t){return A>>>=0,t||N(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},s.prototype.readIntLE=function(A,t,e){A>>>=0,t>>>=0,e||N(A,t,this.length);for(var r=this[A],i=1,n=0;++n=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(A,t,e){A>>>=0,t>>>=0,e||N(A,t,this.length);for(var r=t,i=1,n=this[A+--r];r>0&&(i*=256);)n+=this[A+--r]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readInt8=function(A,t){return A>>>=0,t||N(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},s.prototype.readInt16LE=function(A,t){A>>>=0,t||N(A,2,this.length);var e=this[A]|this[A+1]<<8;return 32768&e?4294901760|e:e},s.prototype.readInt16BE=function(A,t){A>>>=0,t||N(A,2,this.length);var e=this[A+1]|this[A]<<8;return 32768&e?4294901760|e:e},s.prototype.readInt32LE=function(A,t){return A>>>=0,t||N(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},s.prototype.readInt32BE=function(A,t){return A>>>=0,t||N(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},s.prototype.readFloatLE=function(A,t){return A>>>=0,t||N(A,4,this.length),i.read(this,A,!0,23,4)},s.prototype.readFloatBE=function(A,t){return A>>>=0,t||N(A,4,this.length),i.read(this,A,!1,23,4)},s.prototype.readDoubleLE=function(A,t){return A>>>=0,t||N(A,8,this.length),i.read(this,A,!0,52,8)},s.prototype.readDoubleBE=function(A,t){return A>>>=0,t||N(A,8,this.length),i.read(this,A,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(A,t,e,r){A=+A,t>>>=0,e>>>=0,r||_(this,A,t,e,Math.pow(2,8*e)-1,0);var i=1,n=0;for(this[t]=255&A;++n>>=0,e>>>=0,r||_(this,A,t,e,Math.pow(2,8*e)-1,0);var i=e-1,n=1;for(this[t+i]=255&A;--i>=0&&(n*=256);)this[t+i]=A/n&255;return t+e},s.prototype.writeUint8=s.prototype.writeUInt8=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,1,255,0),this[t]=255&A,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,65535,0),this[t]=255&A,this[t+1]=A>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,65535,0),this[t]=A>>>8,this[t+1]=255&A,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,4294967295,0),this[t+3]=A>>>24,this[t+2]=A>>>16,this[t+1]=A>>>8,this[t]=255&A,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,4294967295,0),this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=255&A,t+4},s.prototype.writeIntLE=function(A,t,e,r){if(A=+A,t>>>=0,!r){var i=Math.pow(2,8*e-1);_(this,A,t,e,i-1,-i)}var n=0,o=1,a=0;for(this[t]=255&A;++n>0)-a&255;return t+e},s.prototype.writeIntBE=function(A,t,e,r){if(A=+A,t>>>=0,!r){var i=Math.pow(2,8*e-1);_(this,A,t,e,i-1,-i)}var n=e-1,o=1,a=0;for(this[t+n]=255&A;--n>=0&&(o*=256);)A<0&&0===a&&0!==this[t+n+1]&&(a=1),this[t+n]=(A/o>>0)-a&255;return t+e},s.prototype.writeInt8=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,1,127,-128),A<0&&(A=255+A+1),this[t]=255&A,t+1},s.prototype.writeInt16LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,32767,-32768),this[t]=255&A,this[t+1]=A>>>8,t+2},s.prototype.writeInt16BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,32767,-32768),this[t]=A>>>8,this[t+1]=255&A,t+2},s.prototype.writeInt32LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,2147483647,-2147483648),this[t]=255&A,this[t+1]=A>>>8,this[t+2]=A>>>16,this[t+3]=A>>>24,t+4},s.prototype.writeInt32BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=255&A,t+4},s.prototype.writeFloatLE=function(A,t,e){return F(this,A,t,!0,e)},s.prototype.writeFloatBE=function(A,t,e){return F(this,A,t,!1,e)},s.prototype.writeDoubleLE=function(A,t,e){return U(this,A,t,!0,e)},s.prototype.writeDoubleBE=function(A,t,e){return U(this,A,t,!1,e)},s.prototype.copy=function(A,t,e,r){if(!s.isBuffer(A))throw new TypeError("argument should be a Buffer");if(e||(e=0),r||0===r||(r=this.length),t>=A.length&&(t=A.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),A.length-t>>=0,e=void 0===e?this.length:e>>>0,A||(A=0),"number"==typeof A)for(n=t;n55295&&e<57344){if(!i){if(e>56319){(t-=3)>-1&&n.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&n.push(239,191,189);continue}i=e;continue}if(e<56320){(t-=3)>-1&&n.push(239,191,189),i=e;continue}e=65536+(i-55296<<10|e-56320)}else i&&(t-=3)>-1&&n.push(239,191,189);if(i=null,e<128){if((t-=1)<0)break;n.push(e)}else if(e<2048){if((t-=2)<0)break;n.push(e>>6|192,63&e|128)}else if(e<65536){if((t-=3)<0)break;n.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;n.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return n}function L(A){return r.toByteArray(function(A){if((A=(A=A.split("=")[0]).trim().replace(x,"")).length<2)return"";for(;A.length%4!=0;)A+="=";return A}(A))}function H(A,t,e,r){for(var i=0;i=t.length||i>=A.length);++i)t[i+e]=A[i];return i}function Y(A,t){return A instanceof t||null!=A&&null!=A.constructor&&null!=A.constructor.name&&A.constructor.name===t.name}function J(A){return A!=A}var T=function(){for(var A="0123456789abcdef",t=new Array(256),e=0;e<16;++e)for(var r=16*e,i=0;i<16;++i)t[r+i]=A[e]+A[i];return t}()},9478:function(A,t,e){"use strict";const r=e(4431).BigNumber;t.MT={POS_INT:0,NEG_INT:1,BYTE_STRING:2,UTF8_STRING:3,ARRAY:4,MAP:5,TAG:6,SIMPLE_FLOAT:7},t.TAG={DATE_STRING:0,DATE_EPOCH:1,POS_BIGINT:2,NEG_BIGINT:3,DECIMAL_FRAC:4,BIGFLOAT:5,BASE64URL_EXPECTED:21,BASE64_EXPECTED:22,BASE16_EXPECTED:23,CBOR:24,URI:32,BASE64URL:33,BASE64:34,REGEXP:35,MIME:36},t.NUMBYTES={ZERO:0,ONE:24,TWO:25,FOUR:26,EIGHT:27,INDEFINITE:31},t.SIMPLE={FALSE:20,TRUE:21,NULL:22,UNDEFINED:23},t.SYMS={NULL:Symbol("null"),UNDEFINED:Symbol("undef"),PARENT:Symbol("parent"),BREAK:Symbol("break"),STREAM:Symbol("stream")},t.SHIFT32=Math.pow(2,32),t.SHIFT16=Math.pow(2,16),t.MAX_SAFE_HIGH=2097151,t.NEG_ONE=new r(-1),t.TEN=new r(10),t.TWO=new r(2),t.PARENT={ARRAY:0,OBJECT:1,MAP:2,TAG:3,BYTE_STRING:4,UTF8_STRING:5}},5520:function(A){A.exports=function(A,t,e){"use asm";var r=new A.Uint8Array(e);var i=t.pushInt;var n=t.pushInt32;var o=t.pushInt32Neg;var a=t.pushInt64;var s=t.pushInt64Neg;var g=t.pushFloat;var c=t.pushFloatSingle;var B=t.pushFloatDouble;var I=t.pushTrue;var u=t.pushFalse;var E=t.pushUndefined;var h=t.pushNull;var f=t.pushInfinity;var Q=t.pushInfinityNeg;var C=t.pushNaN;var d=t.pushNaNNeg;var l=t.pushArrayStart;var p=t.pushArrayStartFixed;var w=t.pushArrayStartFixed32;var y=t.pushArrayStartFixed64;var b=t.pushObjectStart;var m=t.pushObjectStartFixed;var v=t.pushObjectStartFixed32;var D=t.pushObjectStartFixed64;var S=t.pushByteString;var k=t.pushByteStringStart;var M=t.pushUtf8String;var G=t.pushUtf8StringStart;var N=t.pushSimpleUnassigned;var _=t.pushTagStart;var R=t.pushTagStart4;var F=t.pushTagStart8;var U=t.pushTagUnassigned;var x=t.pushBreak;var q=A.Math.pow;var L=0;var H=0;var Y=0;function J(A){A=A|0;L=0;H=A;while((L|0)<(H|0)){Y=zA[r[L]&255](r[L]|0)|0;if((Y|0)>0){break}}return Y|0}function T(A){A=A|0;if(((L|0)+(A|0)|0)<(H|0)){return 0}return 1}function O(A){A=A|0;return r[A|0]<<8|r[A+1|0]|0}function K(A){A=A|0;return r[A|0]<<24|r[A+1|0]<<16|r[A+2|0]<<8|r[A+3|0]|0}function j(A){A=A|0;i(A|0);L=L+1|0;return 0}function P(A){A=A|0;if(T(1)|0){return 1}i(r[L+1|0]|0);L=L+2|0;return 0}function W(A){A=A|0;if(T(2)|0){return 1}i(O(L+1|0)|0);L=L+3|0;return 0}function V(A){A=A|0;if(T(4)|0){return 1}n(O(L+1|0)|0,O(L+3|0)|0);L=L+5|0;return 0}function z(A){A=A|0;if(T(8)|0){return 1}a(O(L+1|0)|0,O(L+3|0)|0,O(L+5|0)|0,O(L+7|0)|0);L=L+9|0;return 0}function Z(A){A=A|0;i(-1-(A-32|0)|0);L=L+1|0;return 0}function X(A){A=A|0;if(T(1)|0){return 1}i(-1-(r[L+1|0]|0)|0);L=L+2|0;return 0}function $(A){A=A|0;var t=0;if(T(2)|0){return 1}t=O(L+1|0)|0;i(-1-(t|0)|0);L=L+3|0;return 0}function AA(A){A=A|0;if(T(4)|0){return 1}o(O(L+1|0)|0,O(L+3|0)|0);L=L+5|0;return 0}function tA(A){A=A|0;if(T(8)|0){return 1}s(O(L+1|0)|0,O(L+3|0)|0,O(L+5|0)|0,O(L+7|0)|0);L=L+9|0;return 0}function eA(A){A=A|0;var t=0;var e=0;var r=0;r=A-64|0;if(T(r|0)|0){return 1}t=L+1|0;e=(L+1|0)+(r|0)|0;S(t|0,e|0);L=e|0;return 0}function rA(A){A=A|0;var t=0;var e=0;var i=0;if(T(1)|0){return 1}i=r[L+1|0]|0;t=L+2|0;e=(L+2|0)+(i|0)|0;if(T(i+1|0)|0){return 1}S(t|0,e|0);L=e|0;return 0}function iA(A){A=A|0;var t=0;var e=0;var r=0;if(T(2)|0){return 1}r=O(L+1|0)|0;t=L+3|0;e=(L+3|0)+(r|0)|0;if(T(r+2|0)|0){return 1}S(t|0,e|0);L=e|0;return 0}function nA(A){A=A|0;var t=0;var e=0;var r=0;if(T(4)|0){return 1}r=K(L+1|0)|0;t=L+5|0;e=(L+5|0)+(r|0)|0;if(T(r+4|0)|0){return 1}S(t|0,e|0);L=e|0;return 0}function oA(A){A=A|0;return 1}function aA(A){A=A|0;k();L=L+1|0;return 0}function sA(A){A=A|0;var t=0;var e=0;var r=0;r=A-96|0;if(T(r|0)|0){return 1}t=L+1|0;e=(L+1|0)+(r|0)|0;M(t|0,e|0);L=e|0;return 0}function gA(A){A=A|0;var t=0;var e=0;var i=0;if(T(1)|0){return 1}i=r[L+1|0]|0;t=L+2|0;e=(L+2|0)+(i|0)|0;if(T(i+1|0)|0){return 1}M(t|0,e|0);L=e|0;return 0}function cA(A){A=A|0;var t=0;var e=0;var r=0;if(T(2)|0){return 1}r=O(L+1|0)|0;t=L+3|0;e=(L+3|0)+(r|0)|0;if(T(r+2|0)|0){return 1}M(t|0,e|0);L=e|0;return 0}function BA(A){A=A|0;var t=0;var e=0;var r=0;if(T(4)|0){return 1}r=K(L+1|0)|0;t=L+5|0;e=(L+5|0)+(r|0)|0;if(T(r+4|0)|0){return 1}M(t|0,e|0);L=e|0;return 0}function IA(A){A=A|0;return 1}function uA(A){A=A|0;G();L=L+1|0;return 0}function EA(A){A=A|0;p(A-128|0);L=L+1|0;return 0}function hA(A){A=A|0;if(T(1)|0){return 1}p(r[L+1|0]|0);L=L+2|0;return 0}function fA(A){A=A|0;if(T(2)|0){return 1}p(O(L+1|0)|0);L=L+3|0;return 0}function QA(A){A=A|0;if(T(4)|0){return 1}w(O(L+1|0)|0,O(L+3|0)|0);L=L+5|0;return 0}function CA(A){A=A|0;if(T(8)|0){return 1}y(O(L+1|0)|0,O(L+3|0)|0,O(L+5|0)|0,O(L+7|0)|0);L=L+9|0;return 0}function dA(A){A=A|0;l();L=L+1|0;return 0}function lA(A){A=A|0;var t=0;t=A-160|0;if(T(t|0)|0){return 1}m(t|0);L=L+1|0;return 0}function pA(A){A=A|0;if(T(1)|0){return 1}m(r[L+1|0]|0);L=L+2|0;return 0}function wA(A){A=A|0;if(T(2)|0){return 1}m(O(L+1|0)|0);L=L+3|0;return 0}function yA(A){A=A|0;if(T(4)|0){return 1}v(O(L+1|0)|0,O(L+3|0)|0);L=L+5|0;return 0}function bA(A){A=A|0;if(T(8)|0){return 1}D(O(L+1|0)|0,O(L+3|0)|0,O(L+5|0)|0,O(L+7|0)|0);L=L+9|0;return 0}function mA(A){A=A|0;b();L=L+1|0;return 0}function vA(A){A=A|0;_(A-192|0|0);L=L+1|0;return 0}function DA(A){A|0;_(A|0);L=L+1|0;return 0}function SA(A){A|0;_(A|0);L=L+1|0;return 0}function kA(A){A|0;_(A|0);L=L+1|0;return 0}function MA(A){A|0;_(A|0);L=L+1|0;return 0}function GA(A){A=A|0;_(A-192|0|0);L=L+1|0;return 0}function NA(A){A|0;_(A|0);L=L+1|0;return 0}function _A(A){A|0;_(A|0);L=L+1|0;return 0}function RA(A){A|0;_(A|0);L=L+1|0;return 0}function FA(A){A=A|0;if(T(1)|0){return 1}_(r[L+1|0]|0);L=L+2|0;return 0}function UA(A){A=A|0;if(T(2)|0){return 1}_(O(L+1|0)|0);L=L+3|0;return 0}function xA(A){A=A|0;if(T(4)|0){return 1}R(O(L+1|0)|0,O(L+3|0)|0);L=L+5|0;return 0}function qA(A){A=A|0;if(T(8)|0){return 1}F(O(L+1|0)|0,O(L+3|0)|0,O(L+5|0)|0,O(L+7|0)|0);L=L+9|0;return 0}function LA(A){A=A|0;N((A|0)-224|0);L=L+1|0;return 0}function HA(A){A=A|0;u();L=L+1|0;return 0}function YA(A){A=A|0;I();L=L+1|0;return 0}function JA(A){A=A|0;h();L=L+1|0;return 0}function TA(A){A=A|0;E();L=L+1|0;return 0}function OA(A){A=A|0;if(T(1)|0){return 1}N(r[L+1|0]|0);L=L+2|0;return 0}function KA(A){A=A|0;var t=0;var e=0;var i=1.0;var n=0.0;var o=0.0;var a=0.0;if(T(2)|0){return 1}t=r[L+1|0]|0;e=r[L+2|0]|0;if((t|0)&0x80){i=-1.0}n=+(((t|0)&0x7C)>>2);o=+(((t|0)&0x03)<<8|e);if(+n==0.0){g(+(+i*+5.9604644775390625e-8*+o))}else if(+n==31.0){if(+i==1.0){if(+o>0.0){C()}else{f()}}else{if(+o>0.0){d()}else{Q()}}}else{g(+(+i*q(+2,+(+n-25.0))*+(1024.0+o)))}L=L+3|0;return 0}function jA(A){A=A|0;if(T(4)|0){return 1}c(r[L+1|0]|0,r[L+2|0]|0,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478),g=e(5649),c=e(794),{URL:B}=e(7745);class I{constructor(A){!(A=A||{}).size||A.size<65536?A.size=65536:A.size=a.nextPowerOf2(A.size),this._heap=new ArrayBuffer(A.size),this._heap8=new Uint8Array(this._heap),this._buffer=r.from(this._heap),this._reset(),this._knownTags=Object.assign({0:A=>new Date(A),1:A=>new Date(1e3*A),2:A=>a.arrayBufferToBignumber(A),3:A=>s.NEG_ONE.minus(a.arrayBufferToBignumber(A)),4:A=>s.TEN.pow(A[0]).times(A[1]),5:A=>s.TWO.pow(A[0]).times(A[1]),32:A=>new B(A),35:A=>new RegExp(A)},A.tags),this.parser=o(e.g,{log:console.log.bind(console),pushInt:this.pushInt.bind(this),pushInt32:this.pushInt32.bind(this),pushInt32Neg:this.pushInt32Neg.bind(this),pushInt64:this.pushInt64.bind(this),pushInt64Neg:this.pushInt64Neg.bind(this),pushFloat:this.pushFloat.bind(this),pushFloatSingle:this.pushFloatSingle.bind(this),pushFloatDouble:this.pushFloatDouble.bind(this),pushTrue:this.pushTrue.bind(this),pushFalse:this.pushFalse.bind(this),pushUndefined:this.pushUndefined.bind(this),pushNull:this.pushNull.bind(this),pushInfinity:this.pushInfinity.bind(this),pushInfinityNeg:this.pushInfinityNeg.bind(this),pushNaN:this.pushNaN.bind(this),pushNaNNeg:this.pushNaNNeg.bind(this),pushArrayStart:this.pushArrayStart.bind(this),pushArrayStartFixed:this.pushArrayStartFixed.bind(this),pushArrayStartFixed32:this.pushArrayStartFixed32.bind(this),pushArrayStartFixed64:this.pushArrayStartFixed64.bind(this),pushObjectStart:this.pushObjectStart.bind(this),pushObjectStartFixed:this.pushObjectStartFixed.bind(this),pushObjectStartFixed32:this.pushObjectStartFixed32.bind(this),pushObjectStartFixed64:this.pushObjectStartFixed64.bind(this),pushByteString:this.pushByteString.bind(this),pushByteStringStart:this.pushByteStringStart.bind(this),pushUtf8String:this.pushUtf8String.bind(this),pushUtf8StringStart:this.pushUtf8StringStart.bind(this),pushSimpleUnassigned:this.pushSimpleUnassigned.bind(this),pushTagUnassigned:this.pushTagUnassigned.bind(this),pushTagStart:this.pushTagStart.bind(this),pushTagStart4:this.pushTagStart4.bind(this),pushTagStart8:this.pushTagStart8.bind(this),pushBreak:this.pushBreak.bind(this)},this._heap)}get _depth(){return this._parents.length}get _currentParent(){return this._parents[this._depth-1]}get _ref(){return this._currentParent.ref}_closeParent(){var A=this._parents.pop();if(A.length>0)throw new Error(`Missing ${A.length} elements`);switch(A.type){case s.PARENT.TAG:this._push(this.createTag(A.ref[0],A.ref[1]));break;case s.PARENT.BYTE_STRING:this._push(this.createByteString(A.ref,A.length));break;case s.PARENT.UTF8_STRING:this._push(this.createUtf8String(A.ref,A.length));break;case s.PARENT.MAP:if(A.values%2>0)throw new Error("Odd number of elements in the map");this._push(this.createMap(A.ref,A.length));break;case s.PARENT.OBJECT:if(A.values%2>0)throw new Error("Odd number of elements in the map");this._push(this.createObject(A.ref,A.length));break;case s.PARENT.ARRAY:this._push(this.createArray(A.ref,A.length))}this._currentParent&&this._currentParent.type===s.PARENT.TAG&&this._dec()}_dec(){const A=this._currentParent;A.length<0||(A.length--,0===A.length&&this._closeParent())}_push(A,t){const e=this._currentParent;switch(e.values++,e.type){case s.PARENT.ARRAY:case s.PARENT.BYTE_STRING:case s.PARENT.UTF8_STRING:e.length>-1?this._ref[this._ref.length-e.length]=A:this._ref.push(A),this._dec();break;case s.PARENT.OBJECT:null!=e.tmpKey?(this._ref[e.tmpKey]=A,e.tmpKey=null,this._dec()):(e.tmpKey=A,"string"!=typeof e.tmpKey&&(e.type=s.PARENT.MAP,e.ref=a.buildMap(e.ref)));break;case s.PARENT.MAP:null!=e.tmpKey?(this._ref.set(e.tmpKey,A),e.tmpKey=null,this._dec()):e.tmpKey=A;break;case s.PARENT.TAG:this._ref.push(A),t||this._dec();break;default:throw new Error("Unknown parent type")}}_createParent(A,t,e){this._parents[this._depth]={type:t,length:e,ref:A,values:0,tmpKey:null}}_reset(){this._res=[],this._parents=[{type:s.PARENT.ARRAY,length:-1,ref:this._res,values:0,tmpKey:null}]}createTag(A,t){const e=this._knownTags[A];return e?e(t):new c(A,t)}createMap(A,t){return A}createObject(A,t){return A}createArray(A,t){return A}createByteString(A,t){return r.concat(A)}createByteStringFromHeap(A,t){return A===t?r.alloc(0):r.from(this._heap.slice(A,t))}createInt(A){return A}createInt32(A,t){return a.buildInt32(A,t)}createInt64(A,t,e,r){return a.buildInt64(A,t,e,r)}createFloat(A){return A}createFloatSingle(A,t,e,r){return i.read([A,t,e,r],0,!1,23,4)}createFloatDouble(A,t,e,r,n,o,a,s){return i.read([A,t,e,r,n,o,a,s],0,!1,52,8)}createInt32Neg(A,t){return-1-a.buildInt32(A,t)}createInt64Neg(A,t,e,r){const i=a.buildInt32(A,t),o=a.buildInt32(e,r);return i>s.MAX_SAFE_HIGH?s.NEG_ONE.minus(new n(i).times(s.SHIFT32).plus(o)):-1-(i*s.SHIFT32+o)}createTrue(){return!0}createFalse(){return!1}createNull(){return null}createUndefined(){}createInfinity(){return 1/0}createInfinityNeg(){return-1/0}createNaN(){return NaN}createNaNNeg(){return NaN}createUtf8String(A,t){return A.join("")}createUtf8StringFromHeap(A,t){return A===t?"":this._buffer.toString("utf8",A,t)}createSimpleUnassigned(A){return new g(A)}pushInt(A){this._push(this.createInt(A))}pushInt32(A,t){this._push(this.createInt32(A,t))}pushInt64(A,t,e,r){this._push(this.createInt64(A,t,e,r))}pushFloat(A){this._push(this.createFloat(A))}pushFloatSingle(A,t,e,r){this._push(this.createFloatSingle(A,t,e,r))}pushFloatDouble(A,t,e,r,i,n,o,a){this._push(this.createFloatDouble(A,t,e,r,i,n,o,a))}pushInt32Neg(A,t){this._push(this.createInt32Neg(A,t))}pushInt64Neg(A,t,e,r){this._push(this.createInt64Neg(A,t,e,r))}pushTrue(){this._push(this.createTrue())}pushFalse(){this._push(this.createFalse())}pushNull(){this._push(this.createNull())}pushUndefined(){this._push(this.createUndefined())}pushInfinity(){this._push(this.createInfinity())}pushInfinityNeg(){this._push(this.createInfinityNeg())}pushNaN(){this._push(this.createNaN())}pushNaNNeg(){this._push(this.createNaNNeg())}pushArrayStart(){this._createParent([],s.PARENT.ARRAY,-1)}pushArrayStartFixed(A){this._createArrayStartFixed(A)}pushArrayStartFixed32(A,t){const e=a.buildInt32(A,t);this._createArrayStartFixed(e)}pushArrayStartFixed64(A,t,e,r){const i=a.buildInt64(A,t,e,r);this._createArrayStartFixed(i)}pushObjectStart(){this._createObjectStartFixed(-1)}pushObjectStartFixed(A){this._createObjectStartFixed(A)}pushObjectStartFixed32(A,t){const e=a.buildInt32(A,t);this._createObjectStartFixed(e)}pushObjectStartFixed64(A,t,e,r){const i=a.buildInt64(A,t,e,r);this._createObjectStartFixed(i)}pushByteStringStart(){this._parents[this._depth]={type:s.PARENT.BYTE_STRING,length:-1,ref:[],values:0,tmpKey:null}}pushByteString(A,t){this._push(this.createByteStringFromHeap(A,t))}pushUtf8StringStart(){this._parents[this._depth]={type:s.PARENT.UTF8_STRING,length:-1,ref:[],values:0,tmpKey:null}}pushUtf8String(A,t){this._push(this.createUtf8StringFromHeap(A,t))}pushSimpleUnassigned(A){this._push(this.createSimpleUnassigned(A))}pushTagStart(A){this._parents[this._depth]={type:s.PARENT.TAG,length:1,ref:[A]}}pushTagStart4(A,t){this.pushTagStart(a.buildInt32(A,t))}pushTagStart8(A,t,e,r){this.pushTagStart(a.buildInt64(A,t,e,r))}pushTagUnassigned(A){this._push(this.createTag(A))}pushBreak(){if(this._currentParent.length>-1)throw new Error("Unexpected break");this._closeParent()}_createObjectStartFixed(A){0!==A?this._createParent({},s.PARENT.OBJECT,A):this._push(this.createObject({}))}_createArrayStartFixed(A){0!==A?this._createParent(new Array(A),s.PARENT.ARRAY,A):this._push(this.createArray([]))}_decode(A){if(0===A.byteLength)throw new Error("Input too short");this._reset(),this._heap8.set(A);const t=this.parser.parse(A.byteLength);if(this._depth>1){for(;0===this._currentParent.length;)this._closeParent();if(this._depth>1)throw new Error("Undeterminated nesting")}if(t>0)throw new Error("Failed to parse");if(0===this._res.length)throw new Error("No valid result")}decodeFirst(A){return this._decode(A),this._res[0]}decodeAll(A){return this._decode(A),this._res}static decode(A,t){return"string"==typeof A&&(A=r.from(A,t||"hex")),new I({size:A.length}).decodeFirst(A)}static decodeAll(A,t){return"string"==typeof A&&(A=r.from(A,t||"hex")),new I({size:A.length}).decodeAll(A)}}I.decodeFirst=I.decode,A.exports=I},3817:function(A,t,e){"use strict";const{Buffer:r}=e(6526),i=e(9988),n=e(1516);class o extends i{createTag(A,t){return`${A}(${t})`}createInt(A){return super.createInt(A).toString()}createInt32(A,t){return super.createInt32(A,t).toString()}createInt64(A,t,e,r){return super.createInt64(A,t,e,r).toString()}createInt32Neg(A,t){return super.createInt32Neg(A,t).toString()}createInt64Neg(A,t,e,r){return super.createInt64Neg(A,t,e,r).toString()}createTrue(){return"true"}createFalse(){return"false"}createFloat(A){const t=super.createFloat(A);return n.isNegativeZero(A)?"-0_1":`${t}_1`}createFloatSingle(A,t,e,r){return`${super.createFloatSingle(A,t,e,r)}_2`}createFloatDouble(A,t,e,r,i,n,o,a){return`${super.createFloatDouble(A,t,e,r,i,n,o,a)}_3`}createByteString(A,t){const e=A.join(", ");return-1===t?`(_ ${e})`:`h'${e}`}createByteStringFromHeap(A,t){return`h'${r.from(super.createByteStringFromHeap(A,t)).toString("hex")}'`}createInfinity(){return"Infinity_1"}createInfinityNeg(){return"-Infinity_1"}createNaN(){return"NaN_1"}createNaNNeg(){return"-NaN_1"}createNull(){return"null"}createUndefined(){return"undefined"}createSimpleUnassigned(A){return`simple(${A})`}createArray(A,t){const e=super.createArray(A,t);return-1===t?`[_ ${e.join(", ")}]`:`[${e.join(", ")}]`}createMap(A,t){const e=super.createMap(A),r=Array.from(e.keys()).reduce(a(e),"");return-1===t?`{_ ${r}}`:`{${r}}`}createObject(A,t){const e=super.createObject(A),r=Object.keys(e).reduce(a(e),"");return-1===t?`{_ ${r}}`:`{${r}}`}createUtf8String(A,t){const e=A.join(", ");return-1===t?`(_ ${e})`:`"${e}"`}createUtf8StringFromHeap(A,t){return`"${r.from(super.createUtf8StringFromHeap(A,t)).toString("utf8")}"`}static diagnose(A,t){return"string"==typeof A&&(A=r.from(A,t||"hex")),(new o).decodeFirst(A)}}function a(A){return(t,e)=>t?`${t}, ${e}: ${A[e]}`:`${e}: ${A[e]}`}A.exports=o},9199:function(A,t,e){"use strict";const{Buffer:r}=e(6526),{URL:i}=e(7745),n=e(4431).BigNumber,o=e(1516),a=e(9478),s=a.MT,g=a.NUMBYTES,c=a.SHIFT32,B=a.SYMS,I=a.TAG,u=a.MT.SIMPLE_FLOAT<<5|a.NUMBYTES.TWO,E=a.MT.SIMPLE_FLOAT<<5|a.NUMBYTES.FOUR,h=a.MT.SIMPLE_FLOAT<<5|a.NUMBYTES.EIGHT,f=a.MT.SIMPLE_FLOAT<<5|a.SIMPLE.TRUE,Q=a.MT.SIMPLE_FLOAT<<5|a.SIMPLE.FALSE,C=a.MT.SIMPLE_FLOAT<<5|a.SIMPLE.UNDEFINED,d=a.MT.SIMPLE_FLOAT<<5|a.SIMPLE.NULL,l=new n("0x20000000000000"),p=r.from("f97e00","hex"),w=r.from("f9fc00","hex"),y=r.from("f97c00","hex");class b{constructor(A){A=A||{},this.streaming="function"==typeof A.stream,this.onData=A.stream,this.semanticTypes=[[i,this._pushUrl],[n,this._pushBigNumber]];const t=A.genTypes||[],e=t.length;for(let A=0;A[t,A[t]])))}_pushRawMap(A,t){t=t.map((function(A){return A[0]=b.encode(A[0]),A})).sort(o.keySorter);for(var e=0;e255||(0|A)!==A)throw new Error("value must be a small positive integer: "+A);this.value=A}toString(){return"simple("+this.value+")"}inspect(){return"simple("+this.value+")"}encodeCBOR(A){return A._pushInt(this.value,i.SIMPLE_FLOAT)}static isSimple(A){return A instanceof a}static decode(A,t){switch(null==t&&(t=!0),A){case n.FALSE:return!1;case n.TRUE:return!0;case n.NULL:return t?null:o.NULL;case n.UNDEFINED:return t?void 0:o.UNDEFINED;case-1:if(!t)throw new Error("Invalid BREAK");return o.BREAK;default:return new a(A)}}}A.exports=a},794:function(A){"use strict";class t{constructor(A,t,e){if(this.tag=A,this.value=t,this.err=e,"number"!=typeof this.tag)throw new Error("Invalid tag type ("+typeof this.tag+")");if(this.tag<0||(0|this.tag)!==this.tag)throw new Error("Tag must be a positive integer: "+this.tag)}toString(){return`${this.tag}(${JSON.stringify(this.value)})`}encodeCBOR(A){return A._pushTag(this.tag),A.pushAny(this.value)}convert(A){var e,r;if("function"!=typeof(r=null!=A?A[this.tag]:void 0)&&"function"!=typeof(r=t["_tag"+this.tag]))return this;try{return r.call(t,this.value)}catch(A){return e=A,this.err=e,this}}}A.exports=t},1516:function(A,t,e){"use strict";const{Buffer:r}=e(6526),i=e(4431).BigNumber,n=e(9478),o=n.SHIFT32,a=n.SHIFT16;t.parseHalf=function(A){var t,e,r;return r=128&A[0]?-1:1,t=(124&A[0])>>2,e=(3&A[0])<<8|A[1],t?31===t?r*(e?NaN:Infinity):r*Math.pow(2,t-25)*(1024+e):5.960464477539063e-8*r*e},t.arrayBufferToBignumber=function(A){const t=A.byteLength;let e="";for(let i=0;i{const t=new Map,e=Object.keys(A),r=e.length;for(let i=0;iA*a+t,t.buildInt64=(A,e,r,n)=>{const a=t.buildInt32(A,e),s=t.buildInt32(r,n);return a>2097151?new i(a).times(o).plus(s):a*o+s},t.writeHalf=function(A,t){const e=r.allocUnsafe(4);e.writeFloatBE(t,0);const i=e.readUInt32BE(0);if(0!=(8191&i))return!1;var n=i>>16&32768;const o=i>>23&255,a=8388607&i;if(o>=113&&o<=142)n+=(o-112<<10)+(a>>13);else{if(!(o>=103&&o<113))return!1;if(a&(1<<126-o)-1)return!1;n+=a+8388608>>126-o}return A.writeUInt16BE(n,0),!0},t.keySorter=function(A,t){var e=A[0].byteLength,r=t[0].byteLength;return e>r?1:r>e?-1:A[0].compare(t[0])},t.isNegativeZero=A=>0===A&&1/A<0,t.nextPowerOf2=A=>{let t=0;if(A&&!(A&A-1))return A;for(;0!==A;)A>>=1,t+=1;return 1<>>8;return-1^e}function a(){return A=o.apply(null,arguments),(t=n(4)).writeInt32BE(A,0),t;var A,t}"undefined"!=typeof Int32Array&&(i=new Int32Array(i)),a.signed=function(){return o.apply(null,arguments)},a.unsigned=function(){return o.apply(null,arguments)>>>0},A.exports=a},8764:function(A,t,e){"use strict";const r=e(9742),i=e(645),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=s,t.h2=50;const o=2147483647;function a(A){if(A>o)throw new RangeError('The value "'+A+'" is invalid for option "size"');const t=new Uint8Array(A);return Object.setPrototypeOf(t,s.prototype),t}function s(A,t,e){if("number"==typeof A){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return B(A)}return g(A,t,e)}function g(A,t,e){if("string"==typeof A)return function(A,t){if("string"==typeof t&&""!==t||(t="utf8"),!s.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const e=0|h(A,t);let r=a(e);const i=r.write(A,t);return i!==e&&(r=r.slice(0,i)),r}(A,t);if(ArrayBuffer.isView(A))return function(A){if(V(A,Uint8Array)){const t=new Uint8Array(A);return u(t.buffer,t.byteOffset,t.byteLength)}return I(A)}(A);if(null==A)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A);if(V(A,ArrayBuffer)||A&&V(A.buffer,ArrayBuffer))return u(A,t,e);if("undefined"!=typeof SharedArrayBuffer&&(V(A,SharedArrayBuffer)||A&&V(A.buffer,SharedArrayBuffer)))return u(A,t,e);if("number"==typeof A)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=A.valueOf&&A.valueOf();if(null!=r&&r!==A)return s.from(r,t,e);const i=function(A){if(s.isBuffer(A)){const t=0|E(A.length),e=a(t);return 0===e.length||A.copy(e,0,0,t),e}return void 0!==A.length?"number"!=typeof A.length||z(A.length)?a(0):I(A):"Buffer"===A.type&&Array.isArray(A.data)?I(A.data):void 0}(A);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof A[Symbol.toPrimitive])return s.from(A[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A)}function c(A){if("number"!=typeof A)throw new TypeError('"size" argument must be of type number');if(A<0)throw new RangeError('The value "'+A+'" is invalid for option "size"')}function B(A){return c(A),a(A<0?0:0|E(A))}function I(A){const t=A.length<0?0:0|E(A.length),e=a(t);for(let r=0;r=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|A}function h(A,t){if(s.isBuffer(A))return A.length;if(ArrayBuffer.isView(A)||V(A,ArrayBuffer))return A.byteLength;if("string"!=typeof A)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof A);const e=A.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===e)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return j(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return P(A).length;default:if(i)return r?-1:j(A).length;t=(""+t).toLowerCase(),i=!0}}function f(A,t,e){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if((e>>>=0)<=(t>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":return M(this,t,e);case"utf8":case"utf-8":return v(this,t,e);case"ascii":return S(this,t,e);case"latin1":case"binary":return k(this,t,e);case"base64":return m(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,t,e);default:if(r)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),r=!0}}function Q(A,t,e){const r=A[t];A[t]=A[e],A[e]=r}function C(A,t,e,r,i){if(0===A.length)return-1;if("string"==typeof e?(r=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),z(e=+e)&&(e=i?0:A.length-1),e<0&&(e=A.length+e),e>=A.length){if(i)return-1;e=A.length-1}else if(e<0){if(!i)return-1;e=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:d(A,t,e,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(A,t,e):Uint8Array.prototype.lastIndexOf.call(A,t,e):d(A,[t],e,r,i);throw new TypeError("val must be string, number or Buffer")}function d(A,t,e,r,i){let n,o=1,a=A.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(A.length<2||t.length<2)return-1;o=2,a/=2,s/=2,e/=2}function g(A,t){return 1===o?A[t]:A.readUInt16BE(t*o)}if(i){let r=-1;for(n=e;na&&(e=a-s),n=e;n>=0;n--){let e=!0;for(let r=0;ri&&(r=i):r=i;const n=t.length;let o;for(r>n/2&&(r=n/2),o=0;o>8,i=e%256,n.push(i),n.push(r);return n}(t,A.length-e),A,e,r)}function m(A,t,e){return 0===t&&e===A.length?r.fromByteArray(A):r.fromByteArray(A.slice(t,e))}function v(A,t,e){e=Math.min(A.length,e);const r=[];let i=t;for(;i239?4:t>223?3:t>191?2:1;if(i+o<=e){let e,r,a,s;switch(o){case 1:t<128&&(n=t);break;case 2:e=A[i+1],128==(192&e)&&(s=(31&t)<<6|63&e,s>127&&(n=s));break;case 3:e=A[i+1],r=A[i+2],128==(192&e)&&128==(192&r)&&(s=(15&t)<<12|(63&e)<<6|63&r,s>2047&&(s<55296||s>57343)&&(n=s));break;case 4:e=A[i+1],r=A[i+2],a=A[i+3],128==(192&e)&&128==(192&r)&&128==(192&a)&&(s=(15&t)<<18|(63&e)<<12|(63&r)<<6|63&a,s>65535&&s<1114112&&(n=s))}}null===n?(n=65533,o=1):n>65535&&(n-=65536,r.push(n>>>10&1023|55296),n=56320|1023&n),r.push(n),i+=o}return function(A){const t=A.length;if(t<=D)return String.fromCharCode.apply(String,A);let e="",r=0;for(;rr.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!s.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){const A=this.length;if(A%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;te&&(A+=" ... "),""},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(A,t,e,r,i){if(V(A,Uint8Array)&&(A=s.from(A,A.offset,A.byteLength)),!s.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(void 0===t&&(t=0),void 0===e&&(e=A?A.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||e>A.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=e)return 0;if(r>=i)return-1;if(t>=e)return 1;if(this===A)return 0;let n=(i>>>=0)-(r>>>=0),o=(e>>>=0)-(t>>>=0);const a=Math.min(n,o),g=this.slice(r,i),c=A.slice(t,e);for(let A=0;A>>=0,isFinite(e)?(e>>>=0,void 0===r&&(r="utf8")):(r=e,e=void 0)}const i=this.length-t;if((void 0===e||e>i)&&(e=i),A.length>0&&(e<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let n=!1;for(;;)switch(r){case"hex":return l(this,A,t,e);case"utf8":case"utf-8":return p(this,A,t,e);case"ascii":case"latin1":case"binary":return w(this,A,t,e);case"base64":return y(this,A,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,A,t,e);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),n=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const D=4096;function S(A,t,e){let r="";e=Math.min(A.length,e);for(let i=t;ir)&&(e=r);let i="";for(let r=t;re)throw new RangeError("Trying to access beyond buffer length")}function _(A,t,e,r,i,n){if(!s.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||tA.length)throw new RangeError("Index out of range")}function R(A,t,e,r,i){J(t,r,i,A,e,7);let n=Number(t&BigInt(4294967295));A[e++]=n,n>>=8,A[e++]=n,n>>=8,A[e++]=n,n>>=8,A[e++]=n;let o=Number(t>>BigInt(32)&BigInt(4294967295));return A[e++]=o,o>>=8,A[e++]=o,o>>=8,A[e++]=o,o>>=8,A[e++]=o,e}function F(A,t,e,r,i){J(t,r,i,A,e,7);let n=Number(t&BigInt(4294967295));A[e+7]=n,n>>=8,A[e+6]=n,n>>=8,A[e+5]=n,n>>=8,A[e+4]=n;let o=Number(t>>BigInt(32)&BigInt(4294967295));return A[e+3]=o,o>>=8,A[e+2]=o,o>>=8,A[e+1]=o,o>>=8,A[e]=o,e+8}function U(A,t,e,r,i,n){if(e+r>A.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function x(A,t,e,r,n){return t=+t,e>>>=0,n||U(A,0,e,4),i.write(A,t,e,r,23,4),e+4}function q(A,t,e,r,n){return t=+t,e>>>=0,n||U(A,0,e,8),i.write(A,t,e,r,52,8),e+8}s.prototype.slice=function(A,t){const e=this.length;(A=~~A)<0?(A+=e)<0&&(A=0):A>e&&(A=e),(t=void 0===t?e:~~t)<0?(t+=e)<0&&(t=0):t>e&&(t=e),t>>=0,t>>>=0,e||N(A,t,this.length);let r=this[A],i=1,n=0;for(;++n>>=0,t>>>=0,e||N(A,t,this.length);let r=this[A+--t],i=1;for(;t>0&&(i*=256);)r+=this[A+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(A,t){return A>>>=0,t||N(A,1,this.length),this[A]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(A,t){return A>>>=0,t||N(A,2,this.length),this[A]|this[A+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(A,t){return A>>>=0,t||N(A,2,this.length),this[A]<<8|this[A+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(A,t){return A>>>=0,t||N(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(A,t){return A>>>=0,t||N(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},s.prototype.readBigUInt64LE=X((function(A){T(A>>>=0,"offset");const t=this[A],e=this[A+7];void 0!==t&&void 0!==e||O(A,this.length-8);const r=t+256*this[++A]+65536*this[++A]+this[++A]*2**24,i=this[++A]+256*this[++A]+65536*this[++A]+e*2**24;return BigInt(r)+(BigInt(i)<>>=0,"offset");const t=this[A],e=this[A+7];void 0!==t&&void 0!==e||O(A,this.length-8);const r=t*2**24+65536*this[++A]+256*this[++A]+this[++A],i=this[++A]*2**24+65536*this[++A]+256*this[++A]+e;return(BigInt(r)<>>=0,t>>>=0,e||N(A,t,this.length);let r=this[A],i=1,n=0;for(;++n=i&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(A,t,e){A>>>=0,t>>>=0,e||N(A,t,this.length);let r=t,i=1,n=this[A+--r];for(;r>0&&(i*=256);)n+=this[A+--r]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},s.prototype.readInt8=function(A,t){return A>>>=0,t||N(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},s.prototype.readInt16LE=function(A,t){A>>>=0,t||N(A,2,this.length);const e=this[A]|this[A+1]<<8;return 32768&e?4294901760|e:e},s.prototype.readInt16BE=function(A,t){A>>>=0,t||N(A,2,this.length);const e=this[A+1]|this[A]<<8;return 32768&e?4294901760|e:e},s.prototype.readInt32LE=function(A,t){return A>>>=0,t||N(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},s.prototype.readInt32BE=function(A,t){return A>>>=0,t||N(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},s.prototype.readBigInt64LE=X((function(A){T(A>>>=0,"offset");const t=this[A],e=this[A+7];void 0!==t&&void 0!==e||O(A,this.length-8);const r=this[A+4]+256*this[A+5]+65536*this[A+6]+(e<<24);return(BigInt(r)<>>=0,"offset");const t=this[A],e=this[A+7];void 0!==t&&void 0!==e||O(A,this.length-8);const r=(t<<24)+65536*this[++A]+256*this[++A]+this[++A];return(BigInt(r)<>>=0,t||N(A,4,this.length),i.read(this,A,!0,23,4)},s.prototype.readFloatBE=function(A,t){return A>>>=0,t||N(A,4,this.length),i.read(this,A,!1,23,4)},s.prototype.readDoubleLE=function(A,t){return A>>>=0,t||N(A,8,this.length),i.read(this,A,!0,52,8)},s.prototype.readDoubleBE=function(A,t){return A>>>=0,t||N(A,8,this.length),i.read(this,A,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(A,t,e,r){A=+A,t>>>=0,e>>>=0,r||_(this,A,t,e,Math.pow(2,8*e)-1,0);let i=1,n=0;for(this[t]=255&A;++n>>=0,e>>>=0,r||_(this,A,t,e,Math.pow(2,8*e)-1,0);let i=e-1,n=1;for(this[t+i]=255&A;--i>=0&&(n*=256);)this[t+i]=A/n&255;return t+e},s.prototype.writeUint8=s.prototype.writeUInt8=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,1,255,0),this[t]=255&A,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,65535,0),this[t]=255&A,this[t+1]=A>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,65535,0),this[t]=A>>>8,this[t+1]=255&A,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,4294967295,0),this[t+3]=A>>>24,this[t+2]=A>>>16,this[t+1]=A>>>8,this[t]=255&A,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,4294967295,0),this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=255&A,t+4},s.prototype.writeBigUInt64LE=X((function(A,t=0){return R(this,A,t,BigInt(0),BigInt("0xffffffffffffffff"))})),s.prototype.writeBigUInt64BE=X((function(A,t=0){return F(this,A,t,BigInt(0),BigInt("0xffffffffffffffff"))})),s.prototype.writeIntLE=function(A,t,e,r){if(A=+A,t>>>=0,!r){const r=Math.pow(2,8*e-1);_(this,A,t,e,r-1,-r)}let i=0,n=1,o=0;for(this[t]=255&A;++i>0)-o&255;return t+e},s.prototype.writeIntBE=function(A,t,e,r){if(A=+A,t>>>=0,!r){const r=Math.pow(2,8*e-1);_(this,A,t,e,r-1,-r)}let i=e-1,n=1,o=0;for(this[t+i]=255&A;--i>=0&&(n*=256);)A<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(A/n>>0)-o&255;return t+e},s.prototype.writeInt8=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,1,127,-128),A<0&&(A=255+A+1),this[t]=255&A,t+1},s.prototype.writeInt16LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,32767,-32768),this[t]=255&A,this[t+1]=A>>>8,t+2},s.prototype.writeInt16BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,32767,-32768),this[t]=A>>>8,this[t+1]=255&A,t+2},s.prototype.writeInt32LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,2147483647,-2147483648),this[t]=255&A,this[t+1]=A>>>8,this[t+2]=A>>>16,this[t+3]=A>>>24,t+4},s.prototype.writeInt32BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=255&A,t+4},s.prototype.writeBigInt64LE=X((function(A,t=0){return R(this,A,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),s.prototype.writeBigInt64BE=X((function(A,t=0){return F(this,A,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),s.prototype.writeFloatLE=function(A,t,e){return x(this,A,t,!0,e)},s.prototype.writeFloatBE=function(A,t,e){return x(this,A,t,!1,e)},s.prototype.writeDoubleLE=function(A,t,e){return q(this,A,t,!0,e)},s.prototype.writeDoubleBE=function(A,t,e){return q(this,A,t,!1,e)},s.prototype.copy=function(A,t,e,r){if(!s.isBuffer(A))throw new TypeError("argument should be a Buffer");if(e||(e=0),r||0===r||(r=this.length),t>=A.length&&(t=A.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),A.length-t>>=0,e=void 0===e?this.length:e>>>0,A||(A=0),"number"==typeof A)for(i=t;i=r+4;e-=3)t=`_${A.slice(e-3,e)}${t}`;return`${A.slice(0,e)}${t}`}function J(A,t,e,r,i,n){if(A>e||A3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${8*(n+1)}${r}`:`>= -(2${r} ** ${8*(n+1)-1}${r}) and < 2 ** ${8*(n+1)-1}${r}`:`>= ${t}${r} and <= ${e}${r}`,new L.ERR_OUT_OF_RANGE("value",i,A)}!function(A,t,e){T(t,"offset"),void 0!==A[t]&&void 0!==A[t+e]||O(t,A.length-(e+1))}(r,i,n)}function T(A,t){if("number"!=typeof A)throw new L.ERR_INVALID_ARG_TYPE(t,"number",A)}function O(A,t,e){if(Math.floor(A)!==A)throw T(A,e),new L.ERR_OUT_OF_RANGE(e||"offset","an integer",A);if(t<0)throw new L.ERR_BUFFER_OUT_OF_BOUNDS;throw new L.ERR_OUT_OF_RANGE(e||"offset",`>= ${e?1:0} and <= ${t}`,A)}H("ERR_BUFFER_OUT_OF_BOUNDS",(function(A){return A?`${A} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),H("ERR_INVALID_ARG_TYPE",(function(A,t){return`The "${A}" argument must be of type number. Received type ${typeof t}`}),TypeError),H("ERR_OUT_OF_RANGE",(function(A,t,e){let r=`The value of "${A}" is out of range.`,i=e;return Number.isInteger(e)&&Math.abs(e)>2**32?i=Y(String(e)):"bigint"==typeof e&&(i=String(e),(e>BigInt(2)**BigInt(32)||e<-(BigInt(2)**BigInt(32)))&&(i=Y(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r}),RangeError);const K=/[^+/0-9A-Za-z-_]/g;function j(A,t){let e;t=t||1/0;const r=A.length;let i=null;const n=[];for(let o=0;o55295&&e<57344){if(!i){if(e>56319){(t-=3)>-1&&n.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&n.push(239,191,189);continue}i=e;continue}if(e<56320){(t-=3)>-1&&n.push(239,191,189),i=e;continue}e=65536+(i-55296<<10|e-56320)}else i&&(t-=3)>-1&&n.push(239,191,189);if(i=null,e<128){if((t-=1)<0)break;n.push(e)}else if(e<2048){if((t-=2)<0)break;n.push(e>>6|192,63&e|128)}else if(e<65536){if((t-=3)<0)break;n.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;n.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return n}function P(A){return r.toByteArray(function(A){if((A=(A=A.split("=")[0]).trim().replace(K,"")).length<2)return"";for(;A.length%4!=0;)A+="=";return A}(A))}function W(A,t,e,r){let i;for(i=0;i=t.length||i>=A.length);++i)t[i+e]=A[i];return i}function V(A,t){return A instanceof t||null!=A&&null!=A.constructor&&null!=A.constructor.name&&A.constructor.name===t.name}function z(A){return A!=A}const Z=function(){const A="0123456789abcdef",t=new Array(256);for(let e=0;e<16;++e){const r=16*e;for(let i=0;i<16;++i)t[r+i]=A[e]+A[i]}return t}();function X(A){return"undefined"==typeof BigInt?$:A}function $(){throw new Error("BigInt not supported")}},3032:function(A,t,e){"use strict";var r=e(9742),i=e(645),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=s,t.h2=50;var o=2147483647;function a(A){if(A>o)throw new RangeError('The value "'+A+'" is invalid for option "size"');var t=new Uint8Array(A);return Object.setPrototypeOf(t,s.prototype),t}function s(A,t,e){if("number"==typeof A){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return B(A)}return g(A,t,e)}function g(A,t,e){if("string"==typeof A)return function(A,t){if("string"==typeof t&&""!==t||(t="utf8"),!s.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var e=0|h(A,t),r=a(e),i=r.write(A,t);return i!==e&&(r=r.slice(0,i)),r}(A,t);if(ArrayBuffer.isView(A))return function(A){if(Y(A,Uint8Array)){var t=new Uint8Array(A);return u(t.buffer,t.byteOffset,t.byteLength)}return I(A)}(A);if(null==A)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A);if(Y(A,ArrayBuffer)||A&&Y(A.buffer,ArrayBuffer))return u(A,t,e);if("undefined"!=typeof SharedArrayBuffer&&(Y(A,SharedArrayBuffer)||A&&Y(A.buffer,SharedArrayBuffer)))return u(A,t,e);if("number"==typeof A)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=A.valueOf&&A.valueOf();if(null!=r&&r!==A)return s.from(r,t,e);var i=function(A){if(s.isBuffer(A)){var t=0|E(A.length),e=a(t);return 0===e.length||A.copy(e,0,0,t),e}return void 0!==A.length?"number"!=typeof A.length||J(A.length)?a(0):I(A):"Buffer"===A.type&&Array.isArray(A.data)?I(A.data):void 0}(A);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof A[Symbol.toPrimitive])return s.from(A[Symbol.toPrimitive]("string"),t,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A)}function c(A){if("number"!=typeof A)throw new TypeError('"size" argument must be of type number');if(A<0)throw new RangeError('The value "'+A+'" is invalid for option "size"')}function B(A){return c(A),a(A<0?0:0|E(A))}function I(A){for(var t=A.length<0?0:0|E(A.length),e=a(t),r=0;r=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|A}function h(A,t){if(s.isBuffer(A))return A.length;if(ArrayBuffer.isView(A)||Y(A,ArrayBuffer))return A.byteLength;if("string"!=typeof A)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof A);var e=A.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===e)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return q(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return L(A).length;default:if(i)return r?-1:q(A).length;t=(""+t).toLowerCase(),i=!0}}function f(A,t,e){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if((e>>>=0)<=(t>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":return M(this,t,e);case"utf8":case"utf-8":return v(this,t,e);case"ascii":return S(this,t,e);case"latin1":case"binary":return k(this,t,e);case"base64":return m(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,t,e);default:if(r)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),r=!0}}function Q(A,t,e){var r=A[t];A[t]=A[e],A[e]=r}function C(A,t,e,r,i){if(0===A.length)return-1;if("string"==typeof e?(r=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),J(e=+e)&&(e=i?0:A.length-1),e<0&&(e=A.length+e),e>=A.length){if(i)return-1;e=A.length-1}else if(e<0){if(!i)return-1;e=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:d(A,t,e,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(A,t,e):Uint8Array.prototype.lastIndexOf.call(A,t,e):d(A,[t],e,r,i);throw new TypeError("val must be string, number or Buffer")}function d(A,t,e,r,i){var n,o=1,a=A.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(A.length<2||t.length<2)return-1;o=2,a/=2,s/=2,e/=2}function g(A,t){return 1===o?A[t]:A.readUInt16BE(t*o)}if(i){var c=-1;for(n=e;na&&(e=a-s),n=e;n>=0;n--){for(var B=!0,I=0;Ii&&(r=i):r=i;var n=t.length;r>n/2&&(r=n/2);for(var o=0;o>8,i=e%256,n.push(i),n.push(r);return n}(t,A.length-e),A,e,r)}function m(A,t,e){return 0===t&&e===A.length?r.fromByteArray(A):r.fromByteArray(A.slice(t,e))}function v(A,t,e){e=Math.min(A.length,e);for(var r=[],i=t;i239?4:g>223?3:g>191?2:1;if(i+B<=e)switch(B){case 1:g<128&&(c=g);break;case 2:128==(192&(n=A[i+1]))&&(s=(31&g)<<6|63&n)>127&&(c=s);break;case 3:n=A[i+1],o=A[i+2],128==(192&n)&&128==(192&o)&&(s=(15&g)<<12|(63&n)<<6|63&o)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:n=A[i+1],o=A[i+2],a=A[i+3],128==(192&n)&&128==(192&o)&&128==(192&a)&&(s=(15&g)<<18|(63&n)<<12|(63&o)<<6|63&a)>65535&&s<1114112&&(c=s)}null===c?(c=65533,B=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=B}return function(A){var t=A.length;if(t<=D)return String.fromCharCode.apply(String,A);for(var e="",r=0;rr.length?s.from(n).copy(r,i):Uint8Array.prototype.set.call(r,n,i);else{if(!s.isBuffer(n))throw new TypeError('"list" argument must be an Array of Buffers');n.copy(r,i)}i+=n.length}return r},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var A=this.length;if(A%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;te&&(A+=" ... "),""},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(A,t,e,r,i){if(Y(A,Uint8Array)&&(A=s.from(A,A.offset,A.byteLength)),!s.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(void 0===t&&(t=0),void 0===e&&(e=A?A.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||e>A.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=e)return 0;if(r>=i)return-1;if(t>=e)return 1;if(this===A)return 0;for(var n=(i>>>=0)-(r>>>=0),o=(e>>>=0)-(t>>>=0),a=Math.min(n,o),g=this.slice(r,i),c=A.slice(t,e),B=0;B>>=0,isFinite(e)?(e>>>=0,void 0===r&&(r="utf8")):(r=e,e=void 0)}var i=this.length-t;if((void 0===e||e>i)&&(e=i),A.length>0&&(e<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var n=!1;;)switch(r){case"hex":return l(this,A,t,e);case"utf8":case"utf-8":return p(this,A,t,e);case"ascii":case"latin1":case"binary":return w(this,A,t,e);case"base64":return y(this,A,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,A,t,e);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),n=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var D=4096;function S(A,t,e){var r="";e=Math.min(A.length,e);for(var i=t;ir)&&(e=r);for(var i="",n=t;ne)throw new RangeError("Trying to access beyond buffer length")}function _(A,t,e,r,i,n){if(!s.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||tA.length)throw new RangeError("Index out of range")}function R(A,t,e,r,i,n){if(e+r>A.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function F(A,t,e,r,n){return t=+t,e>>>=0,n||R(A,0,e,4),i.write(A,t,e,r,23,4),e+4}function U(A,t,e,r,n){return t=+t,e>>>=0,n||R(A,0,e,8),i.write(A,t,e,r,52,8),e+8}s.prototype.slice=function(A,t){var e=this.length;(A=~~A)<0?(A+=e)<0&&(A=0):A>e&&(A=e),(t=void 0===t?e:~~t)<0?(t+=e)<0&&(t=0):t>e&&(t=e),t>>=0,t>>>=0,e||N(A,t,this.length);for(var r=this[A],i=1,n=0;++n>>=0,t>>>=0,e||N(A,t,this.length);for(var r=this[A+--t],i=1;t>0&&(i*=256);)r+=this[A+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(A,t){return A>>>=0,t||N(A,1,this.length),this[A]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(A,t){return A>>>=0,t||N(A,2,this.length),this[A]|this[A+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(A,t){return A>>>=0,t||N(A,2,this.length),this[A]<<8|this[A+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(A,t){return A>>>=0,t||N(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(A,t){return A>>>=0,t||N(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},s.prototype.readIntLE=function(A,t,e){A>>>=0,t>>>=0,e||N(A,t,this.length);for(var r=this[A],i=1,n=0;++n=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(A,t,e){A>>>=0,t>>>=0,e||N(A,t,this.length);for(var r=t,i=1,n=this[A+--r];r>0&&(i*=256);)n+=this[A+--r]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readInt8=function(A,t){return A>>>=0,t||N(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},s.prototype.readInt16LE=function(A,t){A>>>=0,t||N(A,2,this.length);var e=this[A]|this[A+1]<<8;return 32768&e?4294901760|e:e},s.prototype.readInt16BE=function(A,t){A>>>=0,t||N(A,2,this.length);var e=this[A+1]|this[A]<<8;return 32768&e?4294901760|e:e},s.prototype.readInt32LE=function(A,t){return A>>>=0,t||N(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},s.prototype.readInt32BE=function(A,t){return A>>>=0,t||N(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},s.prototype.readFloatLE=function(A,t){return A>>>=0,t||N(A,4,this.length),i.read(this,A,!0,23,4)},s.prototype.readFloatBE=function(A,t){return A>>>=0,t||N(A,4,this.length),i.read(this,A,!1,23,4)},s.prototype.readDoubleLE=function(A,t){return A>>>=0,t||N(A,8,this.length),i.read(this,A,!0,52,8)},s.prototype.readDoubleBE=function(A,t){return A>>>=0,t||N(A,8,this.length),i.read(this,A,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(A,t,e,r){A=+A,t>>>=0,e>>>=0,r||_(this,A,t,e,Math.pow(2,8*e)-1,0);var i=1,n=0;for(this[t]=255&A;++n>>=0,e>>>=0,r||_(this,A,t,e,Math.pow(2,8*e)-1,0);var i=e-1,n=1;for(this[t+i]=255&A;--i>=0&&(n*=256);)this[t+i]=A/n&255;return t+e},s.prototype.writeUint8=s.prototype.writeUInt8=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,1,255,0),this[t]=255&A,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,65535,0),this[t]=255&A,this[t+1]=A>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,65535,0),this[t]=A>>>8,this[t+1]=255&A,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,4294967295,0),this[t+3]=A>>>24,this[t+2]=A>>>16,this[t+1]=A>>>8,this[t]=255&A,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,4294967295,0),this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=255&A,t+4},s.prototype.writeIntLE=function(A,t,e,r){if(A=+A,t>>>=0,!r){var i=Math.pow(2,8*e-1);_(this,A,t,e,i-1,-i)}var n=0,o=1,a=0;for(this[t]=255&A;++n>0)-a&255;return t+e},s.prototype.writeIntBE=function(A,t,e,r){if(A=+A,t>>>=0,!r){var i=Math.pow(2,8*e-1);_(this,A,t,e,i-1,-i)}var n=e-1,o=1,a=0;for(this[t+n]=255&A;--n>=0&&(o*=256);)A<0&&0===a&&0!==this[t+n+1]&&(a=1),this[t+n]=(A/o>>0)-a&255;return t+e},s.prototype.writeInt8=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,1,127,-128),A<0&&(A=255+A+1),this[t]=255&A,t+1},s.prototype.writeInt16LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,32767,-32768),this[t]=255&A,this[t+1]=A>>>8,t+2},s.prototype.writeInt16BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,2,32767,-32768),this[t]=A>>>8,this[t+1]=255&A,t+2},s.prototype.writeInt32LE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,2147483647,-2147483648),this[t]=255&A,this[t+1]=A>>>8,this[t+2]=A>>>16,this[t+3]=A>>>24,t+4},s.prototype.writeInt32BE=function(A,t,e){return A=+A,t>>>=0,e||_(this,A,t,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=255&A,t+4},s.prototype.writeFloatLE=function(A,t,e){return F(this,A,t,!0,e)},s.prototype.writeFloatBE=function(A,t,e){return F(this,A,t,!1,e)},s.prototype.writeDoubleLE=function(A,t,e){return U(this,A,t,!0,e)},s.prototype.writeDoubleBE=function(A,t,e){return U(this,A,t,!1,e)},s.prototype.copy=function(A,t,e,r){if(!s.isBuffer(A))throw new TypeError("argument should be a Buffer");if(e||(e=0),r||0===r||(r=this.length),t>=A.length&&(t=A.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),A.length-t>>=0,e=void 0===e?this.length:e>>>0,A||(A=0),"number"==typeof A)for(n=t;n55295&&e<57344){if(!i){if(e>56319){(t-=3)>-1&&n.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&n.push(239,191,189);continue}i=e;continue}if(e<56320){(t-=3)>-1&&n.push(239,191,189),i=e;continue}e=65536+(i-55296<<10|e-56320)}else i&&(t-=3)>-1&&n.push(239,191,189);if(i=null,e<128){if((t-=1)<0)break;n.push(e)}else if(e<2048){if((t-=2)<0)break;n.push(e>>6|192,63&e|128)}else if(e<65536){if((t-=3)<0)break;n.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;n.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return n}function L(A){return r.toByteArray(function(A){if((A=(A=A.split("=")[0]).trim().replace(x,"")).length<2)return"";for(;A.length%4!=0;)A+="=";return A}(A))}function H(A,t,e,r){for(var i=0;i=t.length||i>=A.length);++i)t[i+e]=A[i];return i}function Y(A,t){return A instanceof t||null!=A&&null!=A.constructor&&null!=A.constructor.name&&A.constructor.name===t.name}function J(A){return A!=A}var T=function(){for(var A="0123456789abcdef",t=new Array(256),e=0;e<16;++e)for(var r=16*e,i=0;i<16;++i)t[r+i]=A[e]+A[i];return t}()},452:function(A,t,e){var r;A.exports=(r=e(8249),e(8269),e(8214),e(888),e(5109),function(){var A=r,t=A.lib.BlockCipher,e=A.algo,i=[],n=[],o=[],a=[],s=[],g=[],c=[],B=[],I=[],u=[];!function(){for(var A=[],t=0;t<256;t++)A[t]=t<128?t<<1:t<<1^283;var e=0,r=0;for(t=0;t<256;t++){var E=r^r<<1^r<<2^r<<3^r<<4;E=E>>>8^255&E^99,i[e]=E,n[E]=e;var h=A[e],f=A[h],Q=A[f],C=257*A[E]^16843008*E;o[e]=C<<24|C>>>8,a[e]=C<<16|C>>>16,s[e]=C<<8|C>>>24,g[e]=C,C=16843009*Q^65537*f^257*h^16843008*e,c[E]=C<<24|C>>>8,B[E]=C<<16|C>>>16,I[E]=C<<8|C>>>24,u[E]=C,e?(e=h^A[A[A[Q^h]]],r^=A[A[r]]):e=r=1}}();var E=[0,1,2,4,8,16,32,64,128,27,54],h=e.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var A=this._keyPriorReset=this._key,t=A.words,e=A.sigBytes/4,r=4*((this._nRounds=e+6)+1),n=this._keySchedule=[],o=0;o6&&o%e==4&&(g=i[g>>>24]<<24|i[g>>>16&255]<<16|i[g>>>8&255]<<8|i[255&g]):(g=i[(g=g<<8|g>>>24)>>>24]<<24|i[g>>>16&255]<<16|i[g>>>8&255]<<8|i[255&g],g^=E[o/e|0]<<24),n[o]=n[o-e]^g);for(var a=this._invKeySchedule=[],s=0;s>>24]]^B[i[g>>>16&255]]^I[i[g>>>8&255]]^u[i[255&g]]}}},encryptBlock:function(A,t){this._doCryptBlock(A,t,this._keySchedule,o,a,s,g,i)},decryptBlock:function(A,t){var e=A[t+1];A[t+1]=A[t+3],A[t+3]=e,this._doCryptBlock(A,t,this._invKeySchedule,c,B,I,u,n),e=A[t+1],A[t+1]=A[t+3],A[t+3]=e},_doCryptBlock:function(A,t,e,r,i,n,o,a){for(var s=this._nRounds,g=A[t]^e[0],c=A[t+1]^e[1],B=A[t+2]^e[2],I=A[t+3]^e[3],u=4,E=1;E>>24]^i[c>>>16&255]^n[B>>>8&255]^o[255&I]^e[u++],f=r[c>>>24]^i[B>>>16&255]^n[I>>>8&255]^o[255&g]^e[u++],Q=r[B>>>24]^i[I>>>16&255]^n[g>>>8&255]^o[255&c]^e[u++],C=r[I>>>24]^i[g>>>16&255]^n[c>>>8&255]^o[255&B]^e[u++];g=h,c=f,B=Q,I=C}h=(a[g>>>24]<<24|a[c>>>16&255]<<16|a[B>>>8&255]<<8|a[255&I])^e[u++],f=(a[c>>>24]<<24|a[B>>>16&255]<<16|a[I>>>8&255]<<8|a[255&g])^e[u++],Q=(a[B>>>24]<<24|a[I>>>16&255]<<16|a[g>>>8&255]<<8|a[255&c])^e[u++],C=(a[I>>>24]<<24|a[g>>>16&255]<<16|a[c>>>8&255]<<8|a[255&B])^e[u++],A[t]=h,A[t+1]=f,A[t+2]=Q,A[t+3]=C},keySize:8});A.AES=t._createHelper(h)}(),r.AES)},5109:function(A,t,e){var r,i,n,o,a,s,g,c,B,I,u,E,h,f,Q,C,d,l,p;A.exports=(r=e(8249),e(888),void(r.lib.Cipher||(i=r,n=i.lib,o=n.Base,a=n.WordArray,s=n.BufferedBlockAlgorithm,g=i.enc,g.Utf8,c=g.Base64,B=i.algo.EvpKDF,I=n.Cipher=s.extend({cfg:o.extend(),createEncryptor:function(A,t){return this.create(this._ENC_XFORM_MODE,A,t)},createDecryptor:function(A,t){return this.create(this._DEC_XFORM_MODE,A,t)},init:function(A,t,e){this.cfg=this.cfg.extend(e),this._xformMode=A,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(A){return this._append(A),this._process()},finalize:function(A){return A&&this._append(A),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function A(A){return"string"==typeof A?p:d}return function(t){return{encrypt:function(e,r,i){return A(r).encrypt(t,e,r,i)},decrypt:function(e,r,i){return A(r).decrypt(t,e,r,i)}}}}()}),n.StreamCipher=I.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),u=i.mode={},E=n.BlockCipherMode=o.extend({createEncryptor:function(A,t){return this.Encryptor.create(A,t)},createDecryptor:function(A,t){return this.Decryptor.create(A,t)},init:function(A,t){this._cipher=A,this._iv=t}}),h=u.CBC=function(){var A=E.extend();function t(A,t,e){var r,i=this._iv;i?(r=i,this._iv=void 0):r=this._prevBlock;for(var n=0;n>>2];A.sigBytes-=t}},n.BlockCipher=I.extend({cfg:I.cfg.extend({mode:h,padding:f}),reset:function(){var A;I.reset.call(this);var t=this.cfg,e=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?A=r.createEncryptor:(A=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==A?this._mode.init(this,e&&e.words):(this._mode=A.call(r,this,e&&e.words),this._mode.__creator=A)},_doProcessBlock:function(A,t){this._mode.processBlock(A,t)},_doFinalize:function(){var A,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),A=this._process(!0)):(A=this._process(!0),t.unpad(A)),A},blockSize:4}),Q=n.CipherParams=o.extend({init:function(A){this.mixIn(A)},toString:function(A){return(A||this.formatter).stringify(this)}}),C=(i.format={}).OpenSSL={stringify:function(A){var t=A.ciphertext,e=A.salt;return(e?a.create([1398893684,1701076831]).concat(e).concat(t):t).toString(c)},parse:function(A){var t,e=c.parse(A),r=e.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=a.create(r.slice(2,4)),r.splice(0,4),e.sigBytes-=16),Q.create({ciphertext:e,salt:t})}},d=n.SerializableCipher=o.extend({cfg:o.extend({format:C}),encrypt:function(A,t,e,r){r=this.cfg.extend(r);var i=A.createEncryptor(e,r),n=i.finalize(t),o=i.cfg;return Q.create({ciphertext:n,key:e,iv:o.iv,algorithm:A,mode:o.mode,padding:o.padding,blockSize:A.blockSize,formatter:r.format})},decrypt:function(A,t,e,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),A.createDecryptor(e,r).finalize(t.ciphertext)},_parse:function(A,t){return"string"==typeof A?t.parse(A,this):A}}),l=(i.kdf={}).OpenSSL={execute:function(A,t,e,r){r||(r=a.random(8));var i=B.create({keySize:t+e}).compute(A,r),n=a.create(i.words.slice(t),4*e);return i.sigBytes=4*t,Q.create({key:i,iv:n,salt:r})}},p=n.PasswordBasedCipher=d.extend({cfg:d.cfg.extend({kdf:l}),encrypt:function(A,t,e,r){var i=(r=this.cfg.extend(r)).kdf.execute(e,A.keySize,A.ivSize);r.iv=i.iv;var n=d.encrypt.call(this,A,t,i.key,r);return n.mixIn(i),n},decrypt:function(A,t,e,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(e,A.keySize,A.ivSize,t.salt);return r.iv=i.iv,d.decrypt.call(this,A,t,i.key,r)}}))))},8249:function(A,t,e){var r;A.exports=(r=r||function(A,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==e.g&&e.g.crypto&&(r=e.g.crypto),!r)try{r=e(2480)}catch(A){}var i=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(A){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(A){}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function A(){}return function(t){var e;return A.prototype=t,e=new A,A.prototype=null,e}}(),o={},a=o.lib={},s=a.Base={extend:function(A){var t=n(this);return A&&t.mixIn(A),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var t in A)A.hasOwnProperty(t)&&(this[t]=A[t]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}},g=a.WordArray=s.extend({init:function(A,t){A=this.words=A||[],this.sigBytes=null!=t?t:4*A.length},toString:function(A){return(A||B).stringify(this)},concat:function(A){var t=this.words,e=A.words,r=this.sigBytes,i=A.sigBytes;if(this.clamp(),r%4)for(var n=0;n>>2]>>>24-n%4*8&255;t[r+n>>>2]|=o<<24-(r+n)%4*8}else for(var a=0;a>>2]=e[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=A.ceil(e/4)},clone:function(){var A=s.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var t=[],e=0;e>>2]>>>24-i%4*8&255;r.push((n>>>4).toString(16)),r.push((15&n).toString(16))}return r.join("")},parse:function(A){for(var t=A.length,e=[],r=0;r>>3]|=parseInt(A.substr(r,2),16)<<24-r%8*4;return new g.init(e,t/2)}},I=c.Latin1={stringify:function(A){for(var t=A.words,e=A.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(n))}return r.join("")},parse:function(A){for(var t=A.length,e=[],r=0;r>>2]|=(255&A.charCodeAt(r))<<24-r%4*8;return new g.init(e,t)}},u=c.Utf8={stringify:function(A){try{return decodeURIComponent(escape(I.stringify(A)))}catch(A){throw new Error("Malformed UTF-8 data")}},parse:function(A){return I.parse(unescape(encodeURIComponent(A)))}},E=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new g.init,this._nDataBytes=0},_append:function(A){"string"==typeof A&&(A=u.parse(A)),this._data.concat(A),this._nDataBytes+=A.sigBytes},_process:function(t){var e,r=this._data,i=r.words,n=r.sigBytes,o=this.blockSize,a=n/(4*o),s=(a=t?A.ceil(a):A.max((0|a)-this._minBufferSize,0))*o,c=A.min(4*s,n);if(s){for(var B=0;B>>2]>>>24-n%4*8&255)<<16|(t[n+1>>>2]>>>24-(n+1)%4*8&255)<<8|t[n+2>>>2]>>>24-(n+2)%4*8&255,a=0;a<4&&n+.75*a>>6*(3-a)&63));var s=r.charAt(64);if(s)for(;i.length%4;)i.push(s);return i.join("")},parse:function(A){var t=A.length,e=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var i=0;i>>6-o%4*2;r[i>>>2]|=a<<24-i%4*8,i++}return n.create(r,i)}(A,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},r.enc.Base64)},3786:function(A,t,e){var r,i,n;A.exports=(r=e(8249),n=(i=r).lib.WordArray,i.enc.Base64url={stringify:function(A,t=!0){var e=A.words,r=A.sigBytes,i=t?this._safe_map:this._map;A.clamp();for(var n=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s>>6*(3-s)&63));var g=i.charAt(64);if(g)for(;n.length%4;)n.push(g);return n.join("")},parse:function(A,t=!0){var e=A.length,r=t?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o>>6-o%4*2;r[i>>>2]|=a<<24-i%4*8,i++}return n.create(r,i)}(A,e,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},r.enc.Base64url)},298:function(A,t,e){var r;A.exports=(r=e(8249),function(){var A=r,t=A.lib.WordArray,e=A.enc;function i(A){return A<<8&4278255360|A>>>8&16711935}e.Utf16=e.Utf16BE={stringify:function(A){for(var t=A.words,e=A.sigBytes,r=[],i=0;i>>2]>>>16-i%4*8&65535;r.push(String.fromCharCode(n))}return r.join("")},parse:function(A){for(var e=A.length,r=[],i=0;i>>1]|=A.charCodeAt(i)<<16-i%2*16;return t.create(r,2*e)}},e.Utf16LE={stringify:function(A){for(var t=A.words,e=A.sigBytes,r=[],n=0;n>>2]>>>16-n%4*8&65535);r.push(String.fromCharCode(o))}return r.join("")},parse:function(A){for(var e=A.length,r=[],n=0;n>>1]|=i(A.charCodeAt(n)<<16-n%2*16);return t.create(r,2*e)}}}(),r.enc.Utf16)},888:function(A,t,e){var r,i,n,o,a,s,g,c;A.exports=(c=e(8249),e(2783),e(9824),n=(i=(r=c).lib).Base,o=i.WordArray,s=(a=r.algo).MD5,g=a.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(A){this.cfg=this.cfg.extend(A)},compute:function(A,t){for(var e,r=this.cfg,i=r.hasher.create(),n=o.create(),a=n.words,s=r.keySize,g=r.iterations;a.lengthr&&(t=A.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),o=this._iKey=t.clone(),a=i.words,s=o.words,g=0;g>>2]|=A[i]<<24-i%4*8;t.call(this,r,e)}else t.apply(this,arguments)};e.prototype=A}}(),r.lib.WordArray)},8214:function(A,t,e){var r;A.exports=(r=e(8249),function(A){var t=r,e=t.lib,i=e.WordArray,n=e.Hasher,o=t.algo,a=[];!function(){for(var t=0;t<64;t++)a[t]=4294967296*A.abs(A.sin(t+1))|0}();var s=o.MD5=n.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(A,t){for(var e=0;e<16;e++){var r=t+e,i=A[r];A[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var n=this._hash.words,o=A[t+0],s=A[t+1],u=A[t+2],E=A[t+3],h=A[t+4],f=A[t+5],Q=A[t+6],C=A[t+7],d=A[t+8],l=A[t+9],p=A[t+10],w=A[t+11],y=A[t+12],b=A[t+13],m=A[t+14],v=A[t+15],D=n[0],S=n[1],k=n[2],M=n[3];D=g(D,S,k,M,o,7,a[0]),M=g(M,D,S,k,s,12,a[1]),k=g(k,M,D,S,u,17,a[2]),S=g(S,k,M,D,E,22,a[3]),D=g(D,S,k,M,h,7,a[4]),M=g(M,D,S,k,f,12,a[5]),k=g(k,M,D,S,Q,17,a[6]),S=g(S,k,M,D,C,22,a[7]),D=g(D,S,k,M,d,7,a[8]),M=g(M,D,S,k,l,12,a[9]),k=g(k,M,D,S,p,17,a[10]),S=g(S,k,M,D,w,22,a[11]),D=g(D,S,k,M,y,7,a[12]),M=g(M,D,S,k,b,12,a[13]),k=g(k,M,D,S,m,17,a[14]),D=c(D,S=g(S,k,M,D,v,22,a[15]),k,M,s,5,a[16]),M=c(M,D,S,k,Q,9,a[17]),k=c(k,M,D,S,w,14,a[18]),S=c(S,k,M,D,o,20,a[19]),D=c(D,S,k,M,f,5,a[20]),M=c(M,D,S,k,p,9,a[21]),k=c(k,M,D,S,v,14,a[22]),S=c(S,k,M,D,h,20,a[23]),D=c(D,S,k,M,l,5,a[24]),M=c(M,D,S,k,m,9,a[25]),k=c(k,M,D,S,E,14,a[26]),S=c(S,k,M,D,d,20,a[27]),D=c(D,S,k,M,b,5,a[28]),M=c(M,D,S,k,u,9,a[29]),k=c(k,M,D,S,C,14,a[30]),D=B(D,S=c(S,k,M,D,y,20,a[31]),k,M,f,4,a[32]),M=B(M,D,S,k,d,11,a[33]),k=B(k,M,D,S,w,16,a[34]),S=B(S,k,M,D,m,23,a[35]),D=B(D,S,k,M,s,4,a[36]),M=B(M,D,S,k,h,11,a[37]),k=B(k,M,D,S,C,16,a[38]),S=B(S,k,M,D,p,23,a[39]),D=B(D,S,k,M,b,4,a[40]),M=B(M,D,S,k,o,11,a[41]),k=B(k,M,D,S,E,16,a[42]),S=B(S,k,M,D,Q,23,a[43]),D=B(D,S,k,M,l,4,a[44]),M=B(M,D,S,k,y,11,a[45]),k=B(k,M,D,S,v,16,a[46]),D=I(D,S=B(S,k,M,D,u,23,a[47]),k,M,o,6,a[48]),M=I(M,D,S,k,C,10,a[49]),k=I(k,M,D,S,m,15,a[50]),S=I(S,k,M,D,f,21,a[51]),D=I(D,S,k,M,y,6,a[52]),M=I(M,D,S,k,E,10,a[53]),k=I(k,M,D,S,p,15,a[54]),S=I(S,k,M,D,s,21,a[55]),D=I(D,S,k,M,d,6,a[56]),M=I(M,D,S,k,v,10,a[57]),k=I(k,M,D,S,Q,15,a[58]),S=I(S,k,M,D,b,21,a[59]),D=I(D,S,k,M,h,6,a[60]),M=I(M,D,S,k,w,10,a[61]),k=I(k,M,D,S,u,15,a[62]),S=I(S,k,M,D,l,21,a[63]),n[0]=n[0]+D|0,n[1]=n[1]+S|0,n[2]=n[2]+k|0,n[3]=n[3]+M|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;e[i>>>5]|=128<<24-i%32;var n=A.floor(r/4294967296),o=r;e[15+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e[14+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),t.sigBytes=4*(e.length+1),this._process();for(var a=this._hash,s=a.words,g=0;g<4;g++){var c=s[g];s[g]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return a},clone:function(){var A=n.clone.call(this);return A._hash=this._hash.clone(),A}});function g(A,t,e,r,i,n,o){var a=A+(t&e|~t&r)+i+o;return(a<>>32-n)+t}function c(A,t,e,r,i,n,o){var a=A+(t&r|e&~r)+i+o;return(a<>>32-n)+t}function B(A,t,e,r,i,n,o){var a=A+(t^e^r)+i+o;return(a<>>32-n)+t}function I(A,t,e,r,i,n,o){var a=A+(e^(t|~r))+i+o;return(a<>>32-n)+t}t.MD5=n._createHelper(s),t.HmacMD5=n._createHmacHelper(s)}(Math),r.MD5)},8568:function(A,t,e){var r;A.exports=(r=e(8249),e(5109),r.mode.CFB=function(){var A=r.lib.BlockCipherMode.extend();function t(A,t,e,r){var i,n=this._iv;n?(i=n.slice(0),this._iv=void 0):i=this._prevBlock,r.encryptBlock(i,0);for(var o=0;o>24&255)){var t=A>>16&255,e=A>>8&255,r=255&A;255===t?(t=0,255===e?(e=0,255===r?r=0:++r):++e):++t,A=0,A+=t<<16,A+=e<<8,A+=r}else A+=1<<24;return A}var e=A.Encryptor=A.extend({processBlock:function(A,e){var r=this._cipher,i=r.blockSize,n=this._iv,o=this._counter;n&&(o=this._counter=n.slice(0),this._iv=void 0),function(A){0===(A[0]=t(A[0]))&&(A[1]=t(A[1]))}(o);var a=o.slice(0);r.encryptBlock(a,0);for(var s=0;s>>2]|=i<<24-n%4*8,A.sigBytes+=i},unpad:function(A){var t=255&A.words[A.sigBytes-1>>>2];A.sigBytes-=t}},r.pad.Ansix923)},2807:function(A,t,e){var r;A.exports=(r=e(8249),e(5109),r.pad.Iso10126={pad:function(A,t){var e=4*t,i=e-A.sigBytes%e;A.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(A){var t=255&A.words[A.sigBytes-1>>>2];A.sigBytes-=t}},r.pad.Iso10126)},1077:function(A,t,e){var r;A.exports=(r=e(8249),e(5109),r.pad.Iso97971={pad:function(A,t){A.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(A,t)},unpad:function(A){r.pad.ZeroPadding.unpad(A),A.sigBytes--}},r.pad.Iso97971)},6991:function(A,t,e){var r;A.exports=(r=e(8249),e(5109),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding)},6475:function(A,t,e){var r;A.exports=(r=e(8249),e(5109),r.pad.ZeroPadding={pad:function(A,t){var e=4*t;A.clamp(),A.sigBytes+=e-(A.sigBytes%e||e)},unpad:function(A){var t=A.words,e=A.sigBytes-1;for(e=A.sigBytes-1;e>=0;e--)if(t[e>>>2]>>>24-e%4*8&255){A.sigBytes=e+1;break}}},r.pad.ZeroPadding)},2112:function(A,t,e){var r,i,n,o,a,s,g,c,B;A.exports=(B=e(8249),e(2783),e(9824),n=(i=(r=B).lib).Base,o=i.WordArray,s=(a=r.algo).SHA1,g=a.HMAC,c=a.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(A){this.cfg=this.cfg.extend(A)},compute:function(A,t){for(var e=this.cfg,r=g.create(e.hasher,A),i=o.create(),n=o.create([1]),a=i.words,s=n.words,c=e.keySize,B=e.iterations;a.length>>16,A[1],A[0]<<16|A[3]>>>16,A[2],A[1]<<16|A[0]>>>16,A[3],A[2]<<16|A[1]>>>16],r=this._C=[A[2]<<16|A[2]>>>16,4294901760&A[0]|65535&A[1],A[3]<<16|A[3]>>>16,4294901760&A[1]|65535&A[2],A[0]<<16|A[0]>>>16,4294901760&A[2]|65535&A[3],A[1]<<16|A[1]>>>16,4294901760&A[3]|65535&A[0]];this._b=0;for(var i=0;i<4;i++)s.call(this);for(i=0;i<8;i++)r[i]^=e[i+4&7];if(t){var n=t.words,o=n[0],a=n[1],g=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),B=g>>>16|4294901760&c,I=c<<16|65535&g;for(r[0]^=g,r[1]^=B,r[2]^=c,r[3]^=I,r[4]^=g,r[5]^=B,r[6]^=c,r[7]^=I,i=0;i<4;i++)s.call(this)}},_doProcessBlock:function(A,t){var e=this._X;s.call(this),i[0]=e[0]^e[5]>>>16^e[3]<<16,i[1]=e[2]^e[7]>>>16^e[5]<<16,i[2]=e[4]^e[1]>>>16^e[7]<<16,i[3]=e[6]^e[3]>>>16^e[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),A[t+r]^=i[r]},blockSize:4,ivSize:2});function s(){for(var A=this._X,t=this._C,e=0;e<8;e++)n[e]=t[e];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,e=0;e<8;e++){var r=A[e]+t[e],i=65535&r,a=r>>>16,s=((i*i>>>17)+i*a>>>15)+a*a,g=((4294901760&r)*r|0)+((65535&r)*r|0);o[e]=s^g}A[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,A[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,A[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,A[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,A[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,A[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,A[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,A[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}A.RabbitLegacy=t._createHelper(a)}(),r.RabbitLegacy)},4454:function(A,t,e){var r;A.exports=(r=e(8249),e(8269),e(8214),e(888),e(5109),function(){var A=r,t=A.lib.StreamCipher,e=A.algo,i=[],n=[],o=[],a=e.Rabbit=t.extend({_doReset:function(){for(var A=this._key.words,t=this.cfg.iv,e=0;e<4;e++)A[e]=16711935&(A[e]<<8|A[e]>>>24)|4278255360&(A[e]<<24|A[e]>>>8);var r=this._X=[A[0],A[3]<<16|A[2]>>>16,A[1],A[0]<<16|A[3]>>>16,A[2],A[1]<<16|A[0]>>>16,A[3],A[2]<<16|A[1]>>>16],i=this._C=[A[2]<<16|A[2]>>>16,4294901760&A[0]|65535&A[1],A[3]<<16|A[3]>>>16,4294901760&A[1]|65535&A[2],A[0]<<16|A[0]>>>16,4294901760&A[2]|65535&A[3],A[1]<<16|A[1]>>>16,4294901760&A[3]|65535&A[0]];for(this._b=0,e=0;e<4;e++)s.call(this);for(e=0;e<8;e++)i[e]^=r[e+4&7];if(t){var n=t.words,o=n[0],a=n[1],g=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),c=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),B=g>>>16|4294901760&c,I=c<<16|65535&g;for(i[0]^=g,i[1]^=B,i[2]^=c,i[3]^=I,i[4]^=g,i[5]^=B,i[6]^=c,i[7]^=I,e=0;e<4;e++)s.call(this)}},_doProcessBlock:function(A,t){var e=this._X;s.call(this),i[0]=e[0]^e[5]>>>16^e[3]<<16,i[1]=e[2]^e[7]>>>16^e[5]<<16,i[2]=e[4]^e[1]>>>16^e[7]<<16,i[3]=e[6]^e[3]>>>16^e[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),A[t+r]^=i[r]},blockSize:4,ivSize:2});function s(){for(var A=this._X,t=this._C,e=0;e<8;e++)n[e]=t[e];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,e=0;e<8;e++){var r=A[e]+t[e],i=65535&r,a=r>>>16,s=((i*i>>>17)+i*a>>>15)+a*a,g=((4294901760&r)*r|0)+((65535&r)*r|0);o[e]=s^g}A[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,A[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,A[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,A[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,A[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,A[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,A[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,A[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}A.Rabbit=t._createHelper(a)}(),r.Rabbit)},1857:function(A,t,e){var r;A.exports=(r=e(8249),e(8269),e(8214),e(888),e(5109),function(){var A=r,t=A.lib.StreamCipher,e=A.algo,i=e.RC4=t.extend({_doReset:function(){for(var A=this._key,t=A.words,e=A.sigBytes,r=this._S=[],i=0;i<256;i++)r[i]=i;i=0;for(var n=0;i<256;i++){var o=i%e,a=t[o>>>2]>>>24-o%4*8&255;n=(n+r[i]+a)%256;var s=r[i];r[i]=r[n],r[n]=s}this._i=this._j=0},_doProcessBlock:function(A,t){A[t]^=n.call(this)},keySize:8,ivSize:0});function n(){for(var A=this._S,t=this._i,e=this._j,r=0,i=0;i<4;i++){e=(e+A[t=(t+1)%256])%256;var n=A[t];A[t]=A[e],A[e]=n,r|=A[(A[t]+A[e])%256]<<24-8*i}return this._i=t,this._j=e,r}A.RC4=t._createHelper(i);var o=e.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var A=this.cfg.drop;A>0;A--)n.call(this)}});A.RC4Drop=t._createHelper(o)}(),r.RC4)},706:function(A,t,e){var r;A.exports=(r=e(8249),function(A){var t=r,e=t.lib,i=e.WordArray,n=e.Hasher,o=t.algo,a=i.create([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]),s=i.create([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=i.create([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]),c=i.create([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]),B=i.create([0,1518500249,1859775393,2400959708,2840853838]),I=i.create([1352829926,1548603684,1836072691,2053994217,0]),u=o.RIPEMD160=n.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(A,t){for(var e=0;e<16;e++){var r=t+e,i=A[r];A[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var n,o,u,l,p,w,y,b,m,v,D,S=this._hash.words,k=B.words,M=I.words,G=a.words,N=s.words,_=g.words,R=c.words;for(w=n=S[0],y=o=S[1],b=u=S[2],m=l=S[3],v=p=S[4],e=0;e<80;e+=1)D=n+A[t+G[e]]|0,D+=e<16?E(o,u,l)+k[0]:e<32?h(o,u,l)+k[1]:e<48?f(o,u,l)+k[2]:e<64?Q(o,u,l)+k[3]:C(o,u,l)+k[4],D=(D=d(D|=0,_[e]))+p|0,n=p,p=l,l=d(u,10),u=o,o=D,D=w+A[t+N[e]]|0,D+=e<16?C(y,b,m)+M[0]:e<32?Q(y,b,m)+M[1]:e<48?f(y,b,m)+M[2]:e<64?h(y,b,m)+M[3]:E(y,b,m)+M[4],D=(D=d(D|=0,R[e]))+v|0,w=v,v=m,m=d(b,10),b=y,y=D;D=S[1]+u+m|0,S[1]=S[2]+l+v|0,S[2]=S[3]+p+w|0,S[3]=S[4]+n+y|0,S[4]=S[0]+o+b|0,S[0]=D},_doFinalize:function(){var A=this._data,t=A.words,e=8*this._nDataBytes,r=8*A.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8),A.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,n=i.words,o=0;o<5;o++){var a=n[o];n[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var A=n.clone.call(this);return A._hash=this._hash.clone(),A}});function E(A,t,e){return A^t^e}function h(A,t,e){return A&t|~A&e}function f(A,t,e){return(A|~t)^e}function Q(A,t,e){return A&e|t&~e}function C(A,t,e){return A^(t|~e)}function d(A,t){return A<>>32-t}t.RIPEMD160=n._createHelper(u),t.HmacRIPEMD160=n._createHmacHelper(u)}(Math),r.RIPEMD160)},2783:function(A,t,e){var r,i,n,o,a,s,g,c;A.exports=(i=(r=c=e(8249)).lib,n=i.WordArray,o=i.Hasher,a=r.algo,s=[],g=a.SHA1=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(A,t){for(var e=this._hash.words,r=e[0],i=e[1],n=e[2],o=e[3],a=e[4],g=0;g<80;g++){if(g<16)s[g]=0|A[t+g];else{var c=s[g-3]^s[g-8]^s[g-14]^s[g-16];s[g]=c<<1|c>>>31}var B=(r<<5|r>>>27)+a+s[g];B+=g<20?1518500249+(i&n|~i&o):g<40?1859775393+(i^n^o):g<60?(i&n|i&o|n&o)-1894007588:(i^n^o)-899497514,a=o,o=n,n=i<<30|i>>>2,i=r,r=B}e[0]=e[0]+r|0,e[1]=e[1]+i|0,e[2]=e[2]+n|0,e[3]=e[3]+o|0,e[4]=e[4]+a|0},_doFinalize:function(){var A=this._data,t=A.words,e=8*this._nDataBytes,r=8*A.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(e/4294967296),t[15+(r+64>>>9<<4)]=e,A.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var A=o.clone.call(this);return A._hash=this._hash.clone(),A}}),r.SHA1=o._createHelper(g),r.HmacSHA1=o._createHmacHelper(g),c.SHA1)},7792:function(A,t,e){var r,i,n,o,a,s;A.exports=(s=e(8249),e(2153),i=(r=s).lib.WordArray,n=r.algo,o=n.SHA256,a=n.SHA224=o.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var A=o._doFinalize.call(this);return A.sigBytes-=4,A}}),r.SHA224=o._createHelper(a),r.HmacSHA224=o._createHmacHelper(a),s.SHA224)},2153:function(A,t,e){var r;A.exports=(r=e(8249),function(A){var t=r,e=t.lib,i=e.WordArray,n=e.Hasher,o=t.algo,a=[],s=[];!function(){function t(t){for(var e=A.sqrt(t),r=2;r<=e;r++)if(!(t%r))return!1;return!0}function e(A){return 4294967296*(A-(0|A))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(a[i]=e(A.pow(r,.5))),s[i]=e(A.pow(r,1/3)),i++),r++}();var g=[],c=o.SHA256=n.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(A,t){for(var e=this._hash.words,r=e[0],i=e[1],n=e[2],o=e[3],a=e[4],c=e[5],B=e[6],I=e[7],u=0;u<64;u++){if(u<16)g[u]=0|A[t+u];else{var E=g[u-15],h=(E<<25|E>>>7)^(E<<14|E>>>18)^E>>>3,f=g[u-2],Q=(f<<15|f>>>17)^(f<<13|f>>>19)^f>>>10;g[u]=h+g[u-7]+Q+g[u-16]}var C=r&i^r&n^i&n,d=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),l=I+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&c^~a&B)+s[u]+g[u];I=B,B=c,c=a,a=o+l|0,o=n,n=i,i=r,r=l+(d+C)|0}e[0]=e[0]+r|0,e[1]=e[1]+i|0,e[2]=e[2]+n|0,e[3]=e[3]+o|0,e[4]=e[4]+a|0,e[5]=e[5]+c|0,e[6]=e[6]+B|0,e[7]=e[7]+I|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[14+(i+64>>>9<<4)]=A.floor(r/4294967296),e[15+(i+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var A=n.clone.call(this);return A._hash=this._hash.clone(),A}});t.SHA256=n._createHelper(c),t.HmacSHA256=n._createHmacHelper(c)}(Math),r.SHA256)},3327:function(A,t,e){var r;A.exports=(r=e(8249),e(4938),function(A){var t=r,e=t.lib,i=e.WordArray,n=e.Hasher,o=t.x64.Word,a=t.algo,s=[],g=[],c=[];!function(){for(var A=1,t=0,e=0;e<24;e++){s[A+5*t]=(e+1)*(e+2)/2%64;var r=(2*A+3*t)%5;A=t%5,t=r}for(A=0;A<5;A++)for(t=0;t<5;t++)g[A+5*t]=t+(2*A+3*t)%5*5;for(var i=1,n=0;n<24;n++){for(var a=0,B=0,I=0;I<7;I++){if(1&i){var u=(1<>>24)|4278255360&(n<<24|n>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(S=e[i]).high^=o,S.low^=n}for(var a=0;a<24;a++){for(var I=0;I<5;I++){for(var u=0,E=0,h=0;h<5;h++)u^=(S=e[I+5*h]).high,E^=S.low;var f=B[I];f.high=u,f.low=E}for(I=0;I<5;I++){var Q=B[(I+4)%5],C=B[(I+1)%5],d=C.high,l=C.low;for(u=Q.high^(d<<1|l>>>31),E=Q.low^(l<<1|d>>>31),h=0;h<5;h++)(S=e[I+5*h]).high^=u,S.low^=E}for(var p=1;p<25;p++){var w=(S=e[p]).high,y=S.low,b=s[p];b<32?(u=w<>>32-b,E=y<>>32-b):(u=y<>>64-b,E=w<>>64-b);var m=B[g[p]];m.high=u,m.low=E}var v=B[0],D=e[0];for(v.high=D.high,v.low=D.low,I=0;I<5;I++)for(h=0;h<5;h++){var S=e[p=I+5*h],k=B[p],M=B[(I+1)%5+5*h],G=B[(I+2)%5+5*h];S.high=k.high^~M.high&G.high,S.low=k.low^~M.low&G.low}S=e[0];var N=c[a];S.high^=N.high,S.low^=N.low}},_doFinalize:function(){var t=this._data,e=t.words,r=(this._nDataBytes,8*t.sigBytes),n=32*this.blockSize;e[r>>>5]|=1<<24-r%32,e[(A.ceil((r+1)/n)*n>>>5)-1]|=128,t.sigBytes=4*e.length,this._process();for(var o=this._state,a=this.cfg.outputLength/8,s=a/8,g=[],c=0;c>>24)|4278255360&(I<<24|I>>>8),u=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),g.push(u),g.push(I)}return new i.init(g,a)},clone:function(){for(var A=n.clone.call(this),t=A._state=this._state.slice(0),e=0;e<25;e++)t[e]=t[e].clone();return A}});t.SHA3=n._createHelper(I),t.HmacSHA3=n._createHmacHelper(I)}(Math),r.SHA3)},7460:function(A,t,e){var r,i,n,o,a,s,g,c;A.exports=(c=e(8249),e(4938),e(34),i=(r=c).x64,n=i.Word,o=i.WordArray,a=r.algo,s=a.SHA512,g=a.SHA384=s.extend({_doReset:function(){this._hash=new o.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var A=s._doFinalize.call(this);return A.sigBytes-=16,A}}),r.SHA384=s._createHelper(g),r.HmacSHA384=s._createHmacHelper(g),c.SHA384)},34:function(A,t,e){var r;A.exports=(r=e(8249),e(4938),function(){var A=r,t=A.lib.Hasher,e=A.x64,i=e.Word,n=e.WordArray,o=A.algo;function a(){return i.create.apply(i,arguments)}var s=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],g=[];!function(){for(var A=0;A<80;A++)g[A]=a()}();var c=o.SHA512=t.extend({_doReset:function(){this._hash=new n.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(A,t){for(var e=this._hash.words,r=e[0],i=e[1],n=e[2],o=e[3],a=e[4],c=e[5],B=e[6],I=e[7],u=r.high,E=r.low,h=i.high,f=i.low,Q=n.high,C=n.low,d=o.high,l=o.low,p=a.high,w=a.low,y=c.high,b=c.low,m=B.high,v=B.low,D=I.high,S=I.low,k=u,M=E,G=h,N=f,_=Q,R=C,F=d,U=l,x=p,q=w,L=y,H=b,Y=m,J=v,T=D,O=S,K=0;K<80;K++){var j,P,W=g[K];if(K<16)P=W.high=0|A[t+2*K],j=W.low=0|A[t+2*K+1];else{var V=g[K-15],z=V.high,Z=V.low,X=(z>>>1|Z<<31)^(z>>>8|Z<<24)^z>>>7,$=(Z>>>1|z<<31)^(Z>>>8|z<<24)^(Z>>>7|z<<25),AA=g[K-2],tA=AA.high,eA=AA.low,rA=(tA>>>19|eA<<13)^(tA<<3|eA>>>29)^tA>>>6,iA=(eA>>>19|tA<<13)^(eA<<3|tA>>>29)^(eA>>>6|tA<<26),nA=g[K-7],oA=nA.high,aA=nA.low,sA=g[K-16],gA=sA.high,cA=sA.low;P=(P=(P=X+oA+((j=$+aA)>>>0<$>>>0?1:0))+rA+((j+=iA)>>>0>>0?1:0))+gA+((j+=cA)>>>0>>0?1:0),W.high=P,W.low=j}var BA,IA=x&L^~x&Y,uA=q&H^~q&J,EA=k&G^k&_^G&_,hA=M&N^M&R^N&R,fA=(k>>>28|M<<4)^(k<<30|M>>>2)^(k<<25|M>>>7),QA=(M>>>28|k<<4)^(M<<30|k>>>2)^(M<<25|k>>>7),CA=(x>>>14|q<<18)^(x>>>18|q<<14)^(x<<23|q>>>9),dA=(q>>>14|x<<18)^(q>>>18|x<<14)^(q<<23|x>>>9),lA=s[K],pA=lA.high,wA=lA.low,yA=T+CA+((BA=O+dA)>>>0>>0?1:0),bA=QA+hA;T=Y,O=J,Y=L,J=H,L=x,H=q,x=F+(yA=(yA=(yA=yA+IA+((BA+=uA)>>>0>>0?1:0))+pA+((BA+=wA)>>>0>>0?1:0))+P+((BA+=j)>>>0>>0?1:0))+((q=U+BA|0)>>>0>>0?1:0)|0,F=_,U=R,_=G,R=N,G=k,N=M,k=yA+(fA+EA+(bA>>>0>>0?1:0))+((M=BA+bA|0)>>>0>>0?1:0)|0}E=r.low=E+M,r.high=u+k+(E>>>0>>0?1:0),f=i.low=f+N,i.high=h+G+(f>>>0>>0?1:0),C=n.low=C+R,n.high=Q+_+(C>>>0>>0?1:0),l=o.low=l+U,o.high=d+F+(l>>>0>>0?1:0),w=a.low=w+q,a.high=p+x+(w>>>0>>0?1:0),b=c.low=b+H,c.high=y+L+(b>>>0>>0?1:0),v=B.low=v+J,B.high=m+Y+(v>>>0>>0?1:0),S=I.low=S+O,I.high=D+T+(S>>>0>>0?1:0)},_doFinalize:function(){var A=this._data,t=A.words,e=8*this._nDataBytes,r=8*A.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(e/4294967296),t[31+(r+128>>>10<<5)]=e,A.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var A=t.clone.call(this);return A._hash=this._hash.clone(),A},blockSize:32});A.SHA512=t._createHelper(c),A.HmacSHA512=t._createHmacHelper(c)}(),r.SHA512)},4253:function(A,t,e){var r;A.exports=(r=e(8249),e(8269),e(8214),e(888),e(5109),function(){var A=r,t=A.lib,e=t.WordArray,i=t.BlockCipher,n=A.algo,o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],g=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],B=n.DES=i.extend({_doReset:function(){for(var A=this._key.words,t=[],e=0;e<56;e++){var r=o[e]-1;t[e]=A[r>>>5]>>>31-r%32&1}for(var i=this._subKeys=[],n=0;n<16;n++){var g=i[n]=[],c=s[n];for(e=0;e<24;e++)g[e/6|0]|=t[(a[e]-1+c)%28]<<31-e%6,g[4+(e/6|0)]|=t[28+(a[e+24]-1+c)%28]<<31-e%6;for(g[0]=g[0]<<1|g[0]>>>31,e=1;e<7;e++)g[e]=g[e]>>>4*(e-1)+3;g[7]=g[7]<<5|g[7]>>>27}var B=this._invSubKeys=[];for(e=0;e<16;e++)B[e]=i[15-e]},encryptBlock:function(A,t){this._doCryptBlock(A,t,this._subKeys)},decryptBlock:function(A,t){this._doCryptBlock(A,t,this._invSubKeys)},_doCryptBlock:function(A,t,e){this._lBlock=A[t],this._rBlock=A[t+1],I.call(this,4,252645135),I.call(this,16,65535),u.call(this,2,858993459),u.call(this,8,16711935),I.call(this,1,1431655765);for(var r=0;r<16;r++){for(var i=e[r],n=this._lBlock,o=this._rBlock,a=0,s=0;s<8;s++)a|=g[s][((o^i[s])&c[s])>>>0];this._lBlock=o,this._rBlock=n^a}var B=this._lBlock;this._lBlock=this._rBlock,this._rBlock=B,I.call(this,1,1431655765),u.call(this,8,16711935),u.call(this,2,858993459),I.call(this,16,65535),I.call(this,4,252645135),A[t]=this._lBlock,A[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function I(A,t){var e=(this._lBlock>>>A^this._rBlock)&t;this._rBlock^=e,this._lBlock^=e<>>A^this._lBlock)&t;this._lBlock^=e,this._rBlock^=e<192.");var t=A.slice(0,2),r=A.length<4?A.slice(0,2):A.slice(2,4),i=A.length<6?A.slice(0,2):A.slice(4,6);this._des1=B.createEncryptor(e.create(t)),this._des2=B.createEncryptor(e.create(r)),this._des3=B.createEncryptor(e.create(i))},encryptBlock:function(A,t){this._des1.encryptBlock(A,t),this._des2.decryptBlock(A,t),this._des3.encryptBlock(A,t)},decryptBlock:function(A,t){this._des3.decryptBlock(A,t),this._des2.encryptBlock(A,t),this._des1.decryptBlock(A,t)},keySize:6,ivSize:2,blockSize:2});A.TripleDES=i._createHelper(E)}(),r.TripleDES)},4938:function(A,t,e){var r,i,n,o,a,s;A.exports=(r=e(8249),n=(i=r).lib,o=n.Base,a=n.WordArray,(s=i.x64={}).Word=o.extend({init:function(A,t){this.high=A,this.low=t}}),s.WordArray=o.extend({init:function(A,t){A=this.words=A||[],this.sigBytes=null!=t?t:8*A.length},toX32:function(){for(var A=this.words,t=A.length,e=[],r=0;r0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function g(A,t){this.curve=A,this.type=t,this.precomputed=null}A.exports=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(A,t){a(A.precomputed);var e=A._getDoubles(),r=n(t,1,this._bitLength),i=(1<=o;c--)s=(s<<1)+r[c];g.push(s)}for(var B=this.jpoint(null,null,null),I=this.jpoint(null,null,null),u=i;u>0;u--){for(o=0;o=0;g--){for(var c=0;g>=0&&0===o[g];g--)c++;if(g>=0&&c++,s=s.dblp(c),g<0)break;var B=o[g];a(0!==B),s="affine"===A.type?B>0?s.mixedAdd(i[B-1>>1]):s.mixedAdd(i[-B-1>>1].neg()):B>0?s.add(i[B-1>>1]):s.add(i[-B-1>>1].neg())}return"affine"===A.type?s.toP():s},s.prototype._wnafMulAdd=function(A,t,e,r,i){var a,s,g,c=this._wnafT1,B=this._wnafT2,I=this._wnafT3,u=0;for(a=0;a=1;a-=2){var h=a-1,f=a;if(1===c[h]&&1===c[f]){var Q=[t[h],null,null,t[f]];0===t[h].y.cmp(t[f].y)?(Q[1]=t[h].add(t[f]),Q[2]=t[h].toJ().mixedAdd(t[f].neg())):0===t[h].y.cmp(t[f].y.redNeg())?(Q[1]=t[h].toJ().mixedAdd(t[f]),Q[2]=t[h].add(t[f].neg())):(Q[1]=t[h].toJ().mixedAdd(t[f]),Q[2]=t[h].toJ().mixedAdd(t[f].neg()));var C=[-3,-1,-5,-7,0,7,5,1,3],d=o(e[h],e[f]);for(u=Math.max(d[0].length,u),I[h]=new Array(u),I[f]=new Array(u),s=0;s=0;a--){for(var b=0;a>=0;){var m=!0;for(s=0;s=0&&b++,w=w.dblp(b),a<0)break;for(s=0;s0?g=B[s][v-1>>1]:v<0&&(g=B[s][-v-1>>1].neg()),w="affine"===g.type?w.mixedAdd(g):w.add(g))}}for(a=0;a=Math.ceil((A.bitLength()+1)/t.step)},g.prototype._getDoubles=function(A,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var e=[this],r=this,i=0;i":""},g.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},g.prototype._extDbl=function(){var A=this.x.redSqr(),t=this.y.redSqr(),e=this.z.redSqr();e=e.redIAdd(e);var r=this.curve._mulA(A),i=this.x.redAdd(this.y).redSqr().redISub(A).redISub(t),n=r.redAdd(t),o=n.redSub(e),a=r.redSub(t),s=i.redMul(o),g=n.redMul(a),c=i.redMul(a),B=o.redMul(n);return this.curve.point(s,g,B,c)},g.prototype._projDbl=function(){var A,t,e,r,i,n,o=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var g=(r=this.curve._mulA(a)).redAdd(s);this.zOne?(A=o.redSub(a).redSub(s).redMul(g.redSub(this.curve.two)),t=g.redMul(r.redSub(s)),e=g.redSqr().redSub(g).redSub(g)):(i=this.z.redSqr(),n=g.redSub(i).redISub(i),A=o.redSub(a).redISub(s).redMul(n),t=g.redMul(r.redSub(s)),e=g.redMul(n))}else r=a.redAdd(s),i=this.curve._mulC(this.z).redSqr(),n=r.redSub(i).redSub(i),A=this.curve._mulC(o.redISub(r)).redMul(n),t=this.curve._mulC(r).redMul(a.redISub(s)),e=r.redMul(n);return this.curve.point(A,t,e)},g.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},g.prototype._extAdd=function(A){var t=this.y.redSub(this.x).redMul(A.y.redSub(A.x)),e=this.y.redAdd(this.x).redMul(A.y.redAdd(A.x)),r=this.t.redMul(this.curve.dd).redMul(A.t),i=this.z.redMul(A.z.redAdd(A.z)),n=e.redSub(t),o=i.redSub(r),a=i.redAdd(r),s=e.redAdd(t),g=n.redMul(o),c=a.redMul(s),B=n.redMul(s),I=o.redMul(a);return this.curve.point(g,c,I,B)},g.prototype._projAdd=function(A){var t,e,r=this.z.redMul(A.z),i=r.redSqr(),n=this.x.redMul(A.x),o=this.y.redMul(A.y),a=this.curve.d.redMul(n).redMul(o),s=i.redSub(a),g=i.redAdd(a),c=this.x.redAdd(this.y).redMul(A.x.redAdd(A.y)).redISub(n).redISub(o),B=r.redMul(s).redMul(c);return this.curve.twisted?(t=r.redMul(g).redMul(o.redSub(this.curve._mulA(n))),e=s.redMul(g)):(t=r.redMul(g).redMul(o.redSub(n)),e=this.curve._mulC(s).redMul(g)),this.curve.point(B,t,e)},g.prototype.add=function(A){return this.isInfinity()?A:A.isInfinity()?this:this.curve.extended?this._extAdd(A):this._projAdd(A)},g.prototype.mul=function(A){return this._hasDoubles(A)?this.curve._fixedNafMul(this,A):this.curve._wnafMul(this,A)},g.prototype.mulAdd=function(A,t,e){return this.curve._wnafMulAdd(1,[this,t],[A,e],2,!1)},g.prototype.jmulAdd=function(A,t,e){return this.curve._wnafMulAdd(1,[this,t],[A,e],2,!0)},g.prototype.normalize=function(){if(this.zOne)return this;var A=this.z.redInvm();return this.x=this.x.redMul(A),this.y=this.y.redMul(A),this.t&&(this.t=this.t.redMul(A)),this.z=this.curve.one,this.zOne=!0,this},g.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},g.prototype.getX=function(){return this.normalize(),this.x.fromRed()},g.prototype.getY=function(){return this.normalize(),this.y.fromRed()},g.prototype.eq=function(A){return this===A||0===this.getX().cmp(A.getX())&&0===this.getY().cmp(A.getY())},g.prototype.eqXToP=function(A){var t=A.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var e=A.clone(),r=this.curve.redN.redMul(this.z);;){if(e.iadd(this.curve.n),e.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},g.prototype.toP=g.prototype.normalize,g.prototype.mixedAdd=g.prototype.add},8254:function(A,t,e){"use strict";var r=t;r.base=e(4918),r.short=e(6673),r.mont=e(2881),r.edwards=e(1138)},2881:function(A,t,e){"use strict";var r=e(3550),i=e(5717),n=e(4918),o=e(953);function a(A){n.call(this,"mont",A),this.a=new r(A.a,16).toRed(this.red),this.b=new r(A.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function s(A,t,e){n.BasePoint.call(this,A,"projective"),null===t&&null===e?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(e,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(a,n),A.exports=a,a.prototype.validate=function(A){var t=A.normalize().x,e=t.redSqr(),r=e.redMul(t).redAdd(e.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(s,n.BasePoint),a.prototype.decodePoint=function(A,t){return this.point(o.toArray(A,t),1)},a.prototype.point=function(A,t){return new s(this,A,t)},a.prototype.pointFromJSON=function(A){return s.fromJSON(this,A)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(A,t){return new s(A,t[0],t[1]||A.one)},s.prototype.inspect=function(){return this.isInfinity()?"":""},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var A=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),e=A.redSub(t),r=A.redMul(t),i=e.redMul(t.redAdd(this.curve.a24.redMul(e)));return this.curve.point(r,i)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(A,t){var e=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=A.x.redAdd(A.z),n=A.x.redSub(A.z).redMul(e),o=i.redMul(r),a=t.z.redMul(n.redAdd(o).redSqr()),s=t.x.redMul(n.redISub(o).redSqr());return this.curve.point(a,s)},s.prototype.mul=function(A){for(var t=A.clone(),e=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var n=i.length-1;n>=0;n--)0===i[n]?(e=e.diffAdd(r,this),r=r.dbl()):(r=e.diffAdd(r,this),e=e.dbl());return r},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(A){return 0===this.getX().cmp(A.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},6673:function(A,t,e){"use strict";var r=e(953),i=e(3550),n=e(5717),o=e(4918),a=r.assert;function s(A){o.call(this,"short",A),this.a=new i(A.a,16).toRed(this.red),this.b=new i(A.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(A),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function g(A,t,e,r){o.BasePoint.call(this,A,"affine"),null===t&&null===e?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(e,16),r&&(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 c(A,t,e,r){o.BasePoint.call(this,A,"jacobian"),null===t&&null===e&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(e,16),this.z=new i(r,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}n(s,o),A.exports=s,s.prototype._getEndomorphism=function(A){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,e;if(A.beta)t=new i(A.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(A.lambda)e=new i(A.lambda,16);else{var n=this._getEndoRoots(this.n);0===this.g.mul(n[0]).x.cmp(this.g.x.redMul(t))?e=n[0]:(e=n[1],a(0===this.g.mul(e).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:e,basis:A.basis?A.basis.map((function(A){return{a:new i(A.a,16),b:new i(A.b,16)}})):this._getEndoBasis(e)}}},s.prototype._getEndoRoots=function(A){var t=A===this.p?this.red:i.mont(A),e=new i(2).toRed(t).redInvm(),r=e.redNeg(),n=new i(3).toRed(t).redNeg().redSqrt().redMul(e);return[r.redAdd(n).fromRed(),r.redSub(n).fromRed()]},s.prototype._getEndoBasis=function(A){for(var t,e,r,n,o,a,s,g,c,B=this.n.ushrn(Math.floor(this.n.bitLength()/2)),I=A,u=this.n.clone(),E=new i(1),h=new i(0),f=new i(0),Q=new i(1),C=0;0!==I.cmpn(0);){var d=u.div(I);g=u.sub(d.mul(I)),c=f.sub(d.mul(E));var l=Q.sub(d.mul(h));if(!r&&g.cmp(B)<0)t=s.neg(),e=E,r=g.neg(),n=c;else if(r&&2==++C)break;s=g,u=I,I=g,f=E,E=c,Q=h,h=l}o=g.neg(),a=c;var p=r.sqr().add(n.sqr());return o.sqr().add(a.sqr()).cmp(p)>=0&&(o=t,a=e),r.negative&&(r=r.neg(),n=n.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:r,b:n},{a:o,b:a}]},s.prototype._endoSplit=function(A){var t=this.endo.basis,e=t[0],r=t[1],i=r.b.mul(A).divRound(this.n),n=e.b.neg().mul(A).divRound(this.n),o=i.mul(e.a),a=n.mul(r.a),s=i.mul(e.b),g=n.mul(r.b);return{k1:A.sub(o).sub(a),k2:s.add(g).neg()}},s.prototype.pointFromX=function(A,t){(A=new i(A,16)).red||(A=A.toRed(this.red));var e=A.redSqr().redMul(A).redIAdd(A.redMul(this.a)).redIAdd(this.b),r=e.redSqrt();if(0!==r.redSqr().redSub(e).cmp(this.zero))throw new Error("invalid point");var n=r.fromRed().isOdd();return(t&&!n||!t&&n)&&(r=r.redNeg()),this.point(A,r)},s.prototype.validate=function(A){if(A.inf)return!0;var t=A.x,e=A.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===e.redSqr().redISub(i).cmpn(0)},s.prototype._endoWnafMulAdd=function(A,t,e){for(var r=this._endoWnafT1,i=this._endoWnafT2,n=0;n":""},g.prototype.isInfinity=function(){return this.inf},g.prototype.add=function(A){if(this.inf)return A;if(A.inf)return this;if(this.eq(A))return this.dbl();if(this.neg().eq(A))return this.curve.point(null,null);if(0===this.x.cmp(A.x))return this.curve.point(null,null);var t=this.y.redSub(A.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(A.x).redInvm()));var e=t.redSqr().redISub(this.x).redISub(A.x),r=t.redMul(this.x.redSub(e)).redISub(this.y);return this.curve.point(e,r)},g.prototype.dbl=function(){if(this.inf)return this;var A=this.y.redAdd(this.y);if(0===A.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,e=this.x.redSqr(),r=A.redInvm(),i=e.redAdd(e).redIAdd(e).redIAdd(t).redMul(r),n=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,o)},g.prototype.getX=function(){return this.x.fromRed()},g.prototype.getY=function(){return this.y.fromRed()},g.prototype.mul=function(A){return A=new i(A,16),this.isInfinity()?this:this._hasDoubles(A)?this.curve._fixedNafMul(this,A):this.curve.endo?this.curve._endoWnafMulAdd([this],[A]):this.curve._wnafMul(this,A)},g.prototype.mulAdd=function(A,t,e){var r=[this,t],i=[A,e];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},g.prototype.jmulAdd=function(A,t,e){var r=[this,t],i=[A,e];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},g.prototype.eq=function(A){return this===A||this.inf===A.inf&&(this.inf||0===this.x.cmp(A.x)&&0===this.y.cmp(A.y))},g.prototype.neg=function(A){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(A&&this.precomputed){var e=this.precomputed,r=function(A){return A.neg()};t.precomputed={naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t},g.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},n(c,o.BasePoint),s.prototype.jpoint=function(A,t,e){return new c(this,A,t,e)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var A=this.z.redInvm(),t=A.redSqr(),e=this.x.redMul(t),r=this.y.redMul(t).redMul(A);return this.curve.point(e,r)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(A){if(this.isInfinity())return A;if(A.isInfinity())return this;var t=A.z.redSqr(),e=this.z.redSqr(),r=this.x.redMul(t),i=A.x.redMul(e),n=this.y.redMul(t.redMul(A.z)),o=A.y.redMul(e.redMul(this.z)),a=r.redSub(i),s=n.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var g=a.redSqr(),c=g.redMul(a),B=r.redMul(g),I=s.redSqr().redIAdd(c).redISub(B).redISub(B),u=s.redMul(B.redISub(I)).redISub(n.redMul(c)),E=this.z.redMul(A.z).redMul(a);return this.curve.jpoint(I,u,E)},c.prototype.mixedAdd=function(A){if(this.isInfinity())return A.toJ();if(A.isInfinity())return this;var t=this.z.redSqr(),e=this.x,r=A.x.redMul(t),i=this.y,n=A.y.redMul(t).redMul(this.z),o=e.redSub(r),a=i.redSub(n);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=o.redSqr(),g=s.redMul(o),c=e.redMul(s),B=a.redSqr().redIAdd(g).redISub(c).redISub(c),I=a.redMul(c.redISub(B)).redISub(i.redMul(g)),u=this.z.redMul(o);return this.curve.jpoint(B,I,u)},c.prototype.dblp=function(A){if(0===A)return this;if(this.isInfinity())return this;if(!A)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var e=this;for(t=0;t=0)return!1;if(e.redIAdd(i),0===this.x.cmp(e))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},5427:function(A,t,e){"use strict";var r,i=t,n=e(3715),o=e(8254),a=e(953).assert;function s(A){"short"===A.type?this.curve=new o.short(A):"edwards"===A.type?this.curve=new o.edwards(A):this.curve=new o.mont(A),this.g=this.curve.g,this.n=this.curve.n,this.hash=A.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function g(A,t){Object.defineProperty(i,A,{configurable:!0,enumerable:!0,get:function(){var e=new s(t);return Object.defineProperty(i,A,{configurable:!0,enumerable:!0,value:e}),e}})}i.PresetCurve=s,g("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:n.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),g("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:n.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),g("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:n.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),g("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:n.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"]}),g("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:n.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"]}),g("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:n.sha256,gRed:!1,g:["9"]}),g("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:n.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=e(1037)}catch(A){r=void 0}g("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:n.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},7954:function(A,t,e){"use strict";var r=e(3550),i=e(2156),n=e(953),o=e(5427),a=e(9931),s=n.assert,g=e(1251),c=e(611);function B(A){if(!(this instanceof B))return new B(A);"string"==typeof A&&(s(Object.prototype.hasOwnProperty.call(o,A),"Unknown curve "+A),A=o[A]),A instanceof o.PresetCurve&&(A={curve:A}),this.curve=A.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=A.curve.g,this.g.precompute(A.curve.n.bitLength()+1),this.hash=A.hash||A.curve.hash}A.exports=B,B.prototype.keyPair=function(A){return new g(this,A)},B.prototype.keyFromPrivate=function(A,t){return g.fromPrivate(this,A,t)},B.prototype.keyFromPublic=function(A,t){return g.fromPublic(this,A,t)},B.prototype.genKeyPair=function(A){A||(A={});for(var t=new i({hash:this.hash,pers:A.pers,persEnc:A.persEnc||"utf8",entropy:A.entropy||a(this.hash.hmacStrength),entropyEnc:A.entropy&&A.entropyEnc||"utf8",nonce:this.n.toArray()}),e=this.n.byteLength(),n=this.n.sub(new r(2));;){var o=new r(t.generate(e));if(!(o.cmp(n)>0))return o.iaddn(1),this.keyFromPrivate(o)}},B.prototype._truncateToN=function(A,t){var e=8*A.byteLength()-this.n.bitLength();return e>0&&(A=A.ushrn(e)),!t&&A.cmp(this.n)>=0?A.sub(this.n):A},B.prototype.sign=function(A,t,e,n){"object"==typeof e&&(n=e,e=null),n||(n={}),t=this.keyFromPrivate(t,e),A=this._truncateToN(new r(A,16));for(var o=this.n.byteLength(),a=t.getPrivate().toArray("be",o),s=A.toArray("be",o),g=new i({hash:this.hash,entropy:a,nonce:s,pers:n.pers,persEnc:n.persEnc||"utf8"}),B=this.n.sub(new r(1)),I=0;;I++){var u=n.k?n.k(I):new r(g.generate(this.n.byteLength()));if(!((u=this._truncateToN(u,!0)).cmpn(1)<=0||u.cmp(B)>=0)){var E=this.g.mul(u);if(!E.isInfinity()){var h=E.getX(),f=h.umod(this.n);if(0!==f.cmpn(0)){var Q=u.invm(this.n).mul(f.mul(t.getPrivate()).iadd(A));if(0!==(Q=Q.umod(this.n)).cmpn(0)){var C=(E.getY().isOdd()?1:0)|(0!==h.cmp(f)?2:0);return n.canonical&&Q.cmp(this.nh)>0&&(Q=this.n.sub(Q),C^=1),new c({r:f,s:Q,recoveryParam:C})}}}}}},B.prototype.verify=function(A,t,e,i){A=this._truncateToN(new r(A,16)),e=this.keyFromPublic(e,i);var n=(t=new c(t,"hex")).r,o=t.s;if(n.cmpn(1)<0||n.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,s=o.invm(this.n),g=s.mul(A).umod(this.n),B=s.mul(n).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(g,e.getPublic(),B)).isInfinity()&&a.eqXToP(n):!(a=this.g.mulAdd(g,e.getPublic(),B)).isInfinity()&&0===a.getX().umod(this.n).cmp(n)},B.prototype.recoverPubKey=function(A,t,e,i){s((3&e)===e,"The recovery param is more than two bits"),t=new c(t,i);var n=this.n,o=new r(A),a=t.r,g=t.s,B=1&e,I=e>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&I)throw new Error("Unable to find sencond key candinate");a=I?this.curve.pointFromX(a.add(this.curve.n),B):this.curve.pointFromX(a,B);var u=t.r.invm(n),E=n.sub(o).mul(u).umod(n),h=g.mul(u).umod(n);return this.g.mulAdd(E,a,h)},B.prototype.getKeyRecoveryParam=function(A,t,e,r){if(null!==(t=new c(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var n;try{n=this.recoverPubKey(A,t,i)}catch(A){continue}if(n.eq(e))return i}throw new Error("Unable to find valid recovery factor")}},1251:function(A,t,e){"use strict";var r=e(3550),i=e(953).assert;function n(A,t){this.ec=A,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}A.exports=n,n.fromPublic=function(A,t,e){return t instanceof n?t:new n(A,{pub:t,pubEnc:e})},n.fromPrivate=function(A,t,e){return t instanceof n?t:new n(A,{priv:t,privEnc:e})},n.prototype.validate=function(){var A=this.getPublic();return A.isInfinity()?{result:!1,reason:"Invalid public key"}:A.validate()?A.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"}},n.prototype.getPublic=function(A,t){return"string"==typeof A&&(t=A,A=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,A):this.pub},n.prototype.getPrivate=function(A){return"hex"===A?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(A,t){this.priv=new r(A,t||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(A,t){if(A.x||A.y)return"mont"===this.ec.curve.type?i(A.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(A.x&&A.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(A.x,A.y));this.pub=this.ec.curve.decodePoint(A,t)},n.prototype.derive=function(A){return A.validate()||i(A.validate(),"public point not validated"),A.mul(this.priv).getX()},n.prototype.sign=function(A,t,e){return this.ec.sign(A,this,t,e)},n.prototype.verify=function(A,t){return this.ec.verify(A,t,this)},n.prototype.inspect=function(){return""}},611:function(A,t,e){"use strict";var r=e(3550),i=e(953),n=i.assert;function o(A,t){if(A instanceof o)return A;this._importDER(A,t)||(n(A.r&&A.s,"Signature without r or s"),this.r=new r(A.r,16),this.s=new r(A.s,16),void 0===A.recoveryParam?this.recoveryParam=null:this.recoveryParam=A.recoveryParam)}function a(){this.place=0}function s(A,t){var e=A[t.place++];if(!(128&e))return e;var r=15&e;if(0===r||r>4)return!1;for(var i=0,n=0,o=t.place;n>>=0;return!(i<=127)&&(t.place=o,i)}function g(A){for(var t=0,e=A.length-1;!A[t]&&!(128&A[t+1])&&t>>3);for(A.push(128|e);--e;)A.push(t>>>(e<<3)&255);A.push(t)}}A.exports=o,o.prototype._importDER=function(A,t){A=i.toArray(A,t);var e=new a;if(48!==A[e.place++])return!1;var n=s(A,e);if(!1===n)return!1;if(n+e.place!==A.length)return!1;if(2!==A[e.place++])return!1;var o=s(A,e);if(!1===o)return!1;var g=A.slice(e.place,o+e.place);if(e.place+=o,2!==A[e.place++])return!1;var c=s(A,e);if(!1===c)return!1;if(A.length!==c+e.place)return!1;var B=A.slice(e.place,c+e.place);if(0===g[0]){if(!(128&g[1]))return!1;g=g.slice(1)}if(0===B[0]){if(!(128&B[1]))return!1;B=B.slice(1)}return this.r=new r(g),this.s=new r(B),this.recoveryParam=null,!0},o.prototype.toDER=function(A){var t=this.r.toArray(),e=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&e[0]&&(e=[0].concat(e)),t=g(t),e=g(e);!(e[0]||128&e[1]);)e=e.slice(1);var r=[2];c(r,t.length),(r=r.concat(t)).push(2),c(r,e.length);var n=r.concat(e),o=[48];return c(o,n.length),o=o.concat(n),i.encode(o,A)}},5980:function(A,t,e){"use strict";var r=e(3715),i=e(5427),n=e(953),o=n.assert,a=n.parseBytes,s=e(9087),g=e(3622);function c(A){if(o("ed25519"===A,"only tested with ed25519 so far"),!(this instanceof c))return new c(A);A=i[A].curve,this.curve=A,this.g=A.g,this.g.precompute(A.n.bitLength()+1),this.pointClass=A.point().constructor,this.encodingLength=Math.ceil(A.n.bitLength()/8),this.hash=r.sha512}A.exports=c,c.prototype.sign=function(A,t){A=a(A);var e=this.keyFromSecret(t),r=this.hashInt(e.messagePrefix(),A),i=this.g.mul(r),n=this.encodePoint(i),o=this.hashInt(n,e.pubBytes(),A).mul(e.priv()),s=r.add(o).umod(this.curve.n);return this.makeSignature({R:i,S:s,Rencoded:n})},c.prototype.verify=function(A,t,e){A=a(A),t=this.makeSignature(t);var r=this.keyFromPublic(e),i=this.hashInt(t.Rencoded(),r.pubBytes(),A),n=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(n)},c.prototype.hashInt=function(){for(var A=this.hash(),t=0;t(i>>1)-1?(i>>1)-s:s,n.isubn(a)):a=0,r[o]=a,n.iushrn(1)}return r},r.getJSF=function(A,t){var e=[[],[]];A=A.clone(),t=t.clone();for(var r,i=0,n=0;A.cmpn(-i)>0||t.cmpn(-n)>0;){var o,a,s=A.andln(3)+i&3,g=t.andln(3)+n&3;3===s&&(s=-1),3===g&&(g=-1),o=0==(1&s)?0:3!=(r=A.andln(7)+i&7)&&5!==r||2!==g?s:-s,e[0].push(o),a=0==(1&g)?0:3!=(r=t.andln(7)+n&7)&&5!==r||2!==s?g:-g,e[1].push(a),2*i===o+1&&(i=1-i),2*n===a+1&&(n=1-n),A.iushrn(1),t.iushrn(1)}return e},r.cachedProperty=function(A,t,e){var r="_"+t;A.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=e.call(this)}},r.parseBytes=function(A){return"string"==typeof A?r.toArray(A,"hex"):A},r.intFromLE=function(A){return new i(A,"hex","le")}},3715:function(A,t,e){var r=t;r.utils=e(6436),r.common=e(5772),r.sha=e(9041),r.ripemd=e(2949),r.hmac=e(2344),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},5772:function(A,t,e){"use strict";var r=e(6436),i=e(9746);function n(){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}t.BlockHash=n,n.prototype.update=function(A,t){if(A=r.toArray(A,t),this.pending?this.pending=this.pending.concat(A):this.pending=A,this.pendingTotal+=A.length,this.pending.length>=this._delta8){var e=(A=this.pending).length%this._delta8;this.pending=A.slice(A.length-e,A.length),0===this.pending.length&&(this.pending=null),A=r.join32(A,0,A.length-e,this.endian);for(var i=0;i>>24&255,r[i++]=A>>>16&255,r[i++]=A>>>8&255,r[i++]=255&A}else for(r[i++]=255&A,r[i++]=A>>>8&255,r[i++]=A>>>16&255,r[i++]=A>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,n=8;nthis.blockSize&&(A=(new this.Hash).update(A).digest()),i(A.length<=this.blockSize);for(var t=A.length;t>>3},t.g1_256=function(A){return r(A,17)^r(A,19)^A>>>10}},6436:function(A,t,e){"use strict";var r=e(9746),i=e(5717);function n(A,t){return 55296==(64512&A.charCodeAt(t))&&!(t<0||t+1>=A.length)&&56320==(64512&A.charCodeAt(t+1))}function o(A){return(A>>>24|A>>>8&65280|A<<8&16711680|(255&A)<<24)>>>0}function a(A){return 1===A.length?"0"+A:A}function s(A){return 7===A.length?"0"+A:6===A.length?"00"+A:5===A.length?"000"+A:4===A.length?"0000"+A:3===A.length?"00000"+A:2===A.length?"000000"+A:1===A.length?"0000000"+A:A}t.inherits=i,t.toArray=function(A,t){if(Array.isArray(A))return A.slice();if(!A)return[];var e=[];if("string"==typeof A)if(t){if("hex"===t)for((A=A.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(A="0"+A),i=0;i>6|192,e[r++]=63&o|128):n(A,i)?(o=65536+((1023&o)<<10)+(1023&A.charCodeAt(++i)),e[r++]=o>>18|240,e[r++]=o>>12&63|128,e[r++]=o>>6&63|128,e[r++]=63&o|128):(e[r++]=o>>12|224,e[r++]=o>>6&63|128,e[r++]=63&o|128)}else for(i=0;i>>0}return o},t.split32=function(A,t){for(var e=new Array(4*A.length),r=0,i=0;r>>24,e[i+1]=n>>>16&255,e[i+2]=n>>>8&255,e[i+3]=255&n):(e[i+3]=n>>>24,e[i+2]=n>>>16&255,e[i+1]=n>>>8&255,e[i]=255&n)}return e},t.rotr32=function(A,t){return A>>>t|A<<32-t},t.rotl32=function(A,t){return A<>>32-t},t.sum32=function(A,t){return A+t>>>0},t.sum32_3=function(A,t,e){return A+t+e>>>0},t.sum32_4=function(A,t,e,r){return A+t+e+r>>>0},t.sum32_5=function(A,t,e,r,i){return A+t+e+r+i>>>0},t.sum64=function(A,t,e,r){var i=A[t],n=r+A[t+1]>>>0,o=(n>>0,A[t+1]=n},t.sum64_hi=function(A,t,e,r){return(t+r>>>0>>0},t.sum64_lo=function(A,t,e,r){return t+r>>>0},t.sum64_4_hi=function(A,t,e,r,i,n,o,a){var s=0,g=t;return s+=(g=g+r>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(A,t,e,r,i,n,o,a){return t+r+n+a>>>0},t.sum64_5_hi=function(A,t,e,r,i,n,o,a,s,g){var c=0,B=t;return c+=(B=B+r>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(A,t,e,r,i,n,o,a,s,g){return t+r+n+a+g>>>0},t.rotr64_hi=function(A,t,e){return(t<<32-e|A>>>e)>>>0},t.rotr64_lo=function(A,t,e){return(A<<32-e|t>>>e)>>>0},t.shr64_hi=function(A,t,e){return A>>>e},t.shr64_lo=function(A,t,e){return(A<<32-e|t>>>e)>>>0}},2156:function(A,t,e){"use strict";var r=e(3715),i=e(4504),n=e(9746);function o(A){if(!(this instanceof o))return new o(A);this.hash=A.hash,this.predResist=!!A.predResist,this.outLen=this.hash.outSize,this.minEntropy=A.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(A.entropy,A.entropyEnc||"hex"),e=i.toArray(A.nonce,A.nonceEnc||"hex"),r=i.toArray(A.pers,A.persEnc||"hex");n(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,e,r)}A.exports=o,o.prototype._init=function(A,t,e){var r=A.concat(t).concat(e);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(A.concat(e||[])),this._reseed=1},o.prototype.generate=function(A,t,e,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=e,e=t,t=null),e&&(e=i.toArray(e,r||"hex"),this._update(e));for(var n=[];n.length>1,c=-7,B=e?i-1:0,I=e?-1:1,u=A[t+B];for(B+=I,n=u&(1<<-c)-1,u>>=-c,c+=a;c>0;n=256*n+A[t+B],B+=I,c-=8);for(o=n&(1<<-c)-1,n>>=-c,c+=r;c>0;o=256*o+A[t+B],B+=I,c-=8);if(0===n)n=1-g;else{if(n===s)return o?NaN:1/0*(u?-1:1);o+=Math.pow(2,r),n-=g}return(u?-1:1)*o*Math.pow(2,n-r)},t.write=function(A,t,e,r,i,n){var o,a,s,g=8*n-i-1,c=(1<>1,I=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,u=r?0:n-1,E=r?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+B>=1?I/s:I*Math.pow(2,1-B))*s>=2&&(o++,s/=2),o+B>=c?(a=0,o=c):o+B>=1?(a=(t*s-1)*Math.pow(2,i),o+=B):(a=t*Math.pow(2,B-1)*Math.pow(2,i),o=0));i>=8;A[e+u]=255&a,u+=E,a/=256,i-=8);for(o=o<0;A[e+u]=255&o,u+=E,o/=256,g-=8);A[e+u-E]|=128*h}},5717:function(A){"function"==typeof Object.create?A.exports=function(A,t){t&&(A.super_=t,A.prototype=Object.create(t.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}))}:A.exports=function(A,t){if(t){A.super_=t;var e=function(){};e.prototype=t.prototype,A.prototype=new e,A.prototype.constructor=A}}},7745:function(A,t,e){"use strict";const{URLWithLegacySupport:r,format:i,URLSearchParams:n,defaultBase:o}=e(2049),a=e(5939);A.exports={URL:r,URLSearchParams:n,format:i,relative:a,defaultBase:o}},5939:function(A,t,e){"use strict";const{URLWithLegacySupport:r,format:i}=e(2049);A.exports=(A,t={},e={},n)=>{let o,a=t.protocol?t.protocol.replace(":",""):"http";a=(e[a]||n||a)+":";try{o=new r(A)}catch(A){o={}}const s=Object.assign({},t,{protocol:a||o.protocol,host:t.host||o.host});return new r(A,i(s)).toString()}},2049:function(A){"use strict";const t=self.location?self.location.protocol+"//"+self.location.host:"",e=self.URL;A.exports={URLWithLegacySupport:class{constructor(A="",r=t){this.super=new e(A,r),this.path=this.pathname+this.search,this.auth=this.username&&this.password?this.username+":"+this.password:null,this.query=this.search&&this.search.startsWith("?")?this.search.slice(1):null}get hash(){return this.super.hash}get host(){return this.super.host}get hostname(){return this.super.hostname}get href(){return this.super.href}get origin(){return this.super.origin}get password(){return this.super.password}get pathname(){return this.super.pathname}get port(){return this.super.port}get protocol(){return this.super.protocol}get search(){return this.super.search}get searchParams(){return this.super.searchParams}get username(){return this.super.username}set hash(A){this.super.hash=A}set host(A){this.super.host=A}set hostname(A){this.super.hostname=A}set href(A){this.super.href=A}set origin(A){this.super.origin=A}set password(A){this.super.password=A}set pathname(A){this.super.pathname=A}set port(A){this.super.port=A}set protocol(A){this.super.protocol=A}set search(A){this.super.search=A}set searchParams(A){this.super.searchParams=A}set username(A){this.super.username=A}createObjectURL(A){return this.super.createObjectURL(A)}revokeObjectURL(A){this.super.revokeObjectURL(A)}toJSON(){return this.super.toJSON()}toString(){return this.super.toString()}format(){return this.toString()}},URLSearchParams:self.URLSearchParams,defaultBase:t,format:function(A){if("string"==typeof A)return new e(A).toString();if(!(A instanceof e)){const t=A.username&&A.password?`${A.username}:${A.password}@`:"",e=A.auth?A.auth+"@":"",r=A.port?":"+A.port:"",i=A.protocol?A.protocol+"//":"",n=A.host||"",o=A.hostname||"",a=A.search||(A.query?"?"+A.query:""),s=A.hash||"",g=A.pathname||"";return`${i}${t||e}${n||o+r}${A.path||g+a}${s}`}}}},2023:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=__webpack_require__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[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],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(A){return"[object Array]"===Object.prototype.toString.call(A)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(A){return"object"==typeof A&&A.buffer&&A.buffer.constructor===ArrayBuffer});var createOutputMethod=function(A,t){return function(e){return new Sha256(t,!0).update(e)[A]()}},createMethod=function(A){var t=createOutputMethod("hex",A);NODE_JS&&(t=nodeWrap(t,A)),t.create=function(){return new Sha256(A)},t.update=function(A){return t.create().update(A)};for(var e=0;e>6,o[s++]=128|63&n):n<55296||n>=57344?(o[s++]=224|n>>12,o[s++]=128|n>>6&63,o[s++]=128|63&n):(n=65536+((1023&n)<<10|1023&A.charCodeAt(++r)),o[s++]=240|n>>18,o[s++]=128|n>>12&63,o[s++]=128|n>>6&63,o[s++]=128|63&n);A=o}else{if("object"!==i)throw new Error(ERROR);if(null===A)throw new Error(ERROR);if(ARRAY_BUFFER&&A.constructor===ArrayBuffer)A=new Uint8Array(A);else if(!(Array.isArray(A)||ARRAY_BUFFER&&ArrayBuffer.isView(A)))throw new Error(ERROR)}A.length>64&&(A=new Sha256(t,!0).update(A).array());var g=[],c=[];for(r=0;r<64;++r){var B=A[r]||0;g[r]=92^B,c[r]=54^B}Sha256.call(this,t,e),this.update(c),this.oKeyPad=g,this.inner=!0,this.sharedMemory=e}Sha256.prototype.update=function(A){if(!this.finalized){var t,e=typeof A;if("string"!==e){if("object"!==e)throw new Error(ERROR);if(null===A)throw new Error(ERROR);if(ARRAY_BUFFER&&A.constructor===ArrayBuffer)A=new Uint8Array(A);else if(!(Array.isArray(A)||ARRAY_BUFFER&&ArrayBuffer.isView(A)))throw new Error(ERROR);t=!0}for(var r,i,n=0,o=A.length,a=this.blocks;n>2]|=A[n]<>2]|=r<>2]|=(192|r>>6)<>2]|=(128|63&r)<=57344?(a[i>>2]|=(224|r>>12)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<>2]|=(240|r>>18)<>2]|=(128|r>>12&63)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<=64?(this.block=a[16],this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var A=this.blocks,t=this.lastByteIndex;A[16]=this.block,A[t>>2]|=EXTRA[3&t],this.block=A[16],t>=56&&(this.hashed||this.hash(),A[0]=this.block,A[16]=A[1]=A[2]=A[3]=A[4]=A[5]=A[6]=A[7]=A[8]=A[9]=A[10]=A[11]=A[12]=A[13]=A[14]=A[15]=0),A[14]=this.hBytes<<3|this.bytes>>>29,A[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var A,t,e,r,i,n,o,a,s,g=this.h0,c=this.h1,B=this.h2,I=this.h3,u=this.h4,E=this.h5,h=this.h6,f=this.h7,Q=this.blocks;for(A=16;A<64;++A)t=((i=Q[A-15])>>>7|i<<25)^(i>>>18|i<<14)^i>>>3,e=((i=Q[A-2])>>>17|i<<15)^(i>>>19|i<<13)^i>>>10,Q[A]=Q[A-16]+t+Q[A-7]+e<<0;for(s=c&B,A=0;A<64;A+=4)this.first?(this.is224?(n=300032,f=(i=Q[0]-1413257819)-150054599<<0,I=i+24177077<<0):(n=704751109,f=(i=Q[0]-210244248)-1521486534<<0,I=i+143694565<<0),this.first=!1):(t=(g>>>2|g<<30)^(g>>>13|g<<19)^(g>>>22|g<<10),r=(n=g&c)^g&B^s,f=I+(i=f+(e=(u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&E^~u&h)+K[A]+Q[A])<<0,I=i+(t+r)<<0),t=(I>>>2|I<<30)^(I>>>13|I<<19)^(I>>>22|I<<10),r=(o=I&g)^I&c^n,h=B+(i=h+(e=(f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&u^~f&E)+K[A+1]+Q[A+1])<<0,t=((B=i+(t+r)<<0)>>>2|B<<30)^(B>>>13|B<<19)^(B>>>22|B<<10),r=(a=B&I)^B&g^o,E=c+(i=E+(e=(h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&f^~h&u)+K[A+2]+Q[A+2])<<0,t=((c=i+(t+r)<<0)>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),r=(s=c&B)^c&I^a,u=g+(i=u+(e=(E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7))+(E&h^~E&f)+K[A+3]+Q[A+3])<<0,g=i+(t+r)<<0;this.h0=this.h0+g<<0,this.h1=this.h1+c<<0,this.h2=this.h2+B<<0,this.h3=this.h3+I<<0,this.h4=this.h4+u<<0,this.h5=this.h5+E<<0,this.h6=this.h6+h<<0,this.h7=this.h7+f<<0},Sha256.prototype.hex=function(){this.finalize();var A=this.h0,t=this.h1,e=this.h2,r=this.h3,i=this.h4,n=this.h5,o=this.h6,a=this.h7,s=HEX_CHARS[A>>28&15]+HEX_CHARS[A>>24&15]+HEX_CHARS[A>>20&15]+HEX_CHARS[A>>16&15]+HEX_CHARS[A>>12&15]+HEX_CHARS[A>>8&15]+HEX_CHARS[A>>4&15]+HEX_CHARS[15&A]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o];return this.is224||(s+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),s},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var A=this.h0,t=this.h1,e=this.h2,r=this.h3,i=this.h4,n=this.h5,o=this.h6,a=this.h7,s=[A>>24&255,A>>16&255,A>>8&255,255&A,t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,r>>24&255,r>>16&255,r>>8&255,255&r,i>>24&255,i>>16&255,i>>8&255,255&i,n>>24&255,n>>16&255,n>>8&255,255&n,o>>24&255,o>>16&255,o>>8&255,255&o];return this.is224||s.push(a>>24&255,a>>16&255,a>>8&255,255&a),s},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var A=new ArrayBuffer(this.is224?28:32),t=new DataView(A);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),A},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var A=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(A),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},9746:function(A){function t(A,t){if(!A)throw new Error(t||"Assertion failed")}A.exports=t,t.equal=function(A,t,e){if(A!=t)throw new Error(e||"Assertion failed: "+A+" != "+t)}},4504:function(A,t){"use strict";var e=t;function r(A){return 1===A.length?"0"+A:A}function i(A){for(var t="",e=0;e>8,o=255&i;n?e.push(n,o):e.push(o)}return e},e.zero2=r,e.toHex=i,e.encode=function(A,t){return"hex"===t?i(A):A}},7221:function(A,t,e){A.exports=e(9119)(e(8573))},8573:function(A,t,e){const r=new(0,e(6266).ec)("secp256k1"),i=r.curve,n=i.n.constructor;function o(A){const t=A[0];switch(t){case 2:case 3:return 33!==A.length?null:function(A,t){let e=new n(t);if(e.cmp(i.p)>=0)return null;e=e.toRed(i.red);let o=e.redSqr().redIMul(e).redIAdd(i.b).redSqrt();return 3===A!==o.isOdd()&&(o=o.redNeg()),r.keyPair({pub:{x:e,y:o}})}(t,A.subarray(1,33));case 4:case 6:case 7:return 65!==A.length?null:function(A,t,e){let o=new n(t),a=new n(e);if(o.cmp(i.p)>=0||a.cmp(i.p)>=0)return null;if(o=o.toRed(i.red),a=a.toRed(i.red),(6===A||7===A)&&a.isOdd()!==(7===A))return null;const s=o.redSqr().redIMul(o);return a.redSqr().redISub(s.redIAdd(i.b)).isZero()?r.keyPair({pub:{x:o,y:a}}):null}(t,A.subarray(1,33),A.subarray(33,65));default:return null}}function a(A,t){const e=t.encode(null,33===A.length);for(let t=0;t=0)return 1;if(e.iadd(new n(A)),e.cmp(i.n)>=0&&e.isub(i.n),e.isZero())return 1;const r=e.toArrayLike(Uint8Array,"be",32);return A.set(r),0},privateKeyTweakMul(A,t){let e=new n(t);if(e.cmp(i.n)>=0||e.isZero())return 1;e.imul(new n(A)),e.cmp(i.n)>=0&&(e=e.umod(i.n));const r=e.toArrayLike(Uint8Array,"be",32);return A.set(r),0},publicKeyVerify(A){return null===o(A)?1:0},publicKeyCreate(A,t){const e=new n(t);return e.cmp(i.n)>=0||e.isZero()?1:(a(A,r.keyFromPrivate(t).getPublic()),0)},publicKeyConvert(A,t){const e=o(t);return null===e?1:(a(A,e.getPublic()),0)},publicKeyNegate(A,t){const e=o(t);if(null===e)return 1;const r=e.getPublic();return r.y=r.y.redNeg(),a(A,r),0},publicKeyCombine(A,t){const e=new Array(t.length);for(let A=0;A=0)return 2;const s=r.getPublic().add(i.g.mul(e));return s.isInfinity()?2:(a(A,s),0)},publicKeyTweakMul(A,t,e){const r=o(t);return null===r?1:(e=new n(e)).cmp(i.n)>=0||e.isZero()?2:(a(A,r.getPublic().mul(e)),0)},signatureNormalize(A){const t=new n(A.subarray(0,32)),e=new n(A.subarray(32,64));return t.cmp(i.n)>=0||e.cmp(i.n)>=0?1:(1===e.cmp(r.nh)&&A.set(i.n.sub(e).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport(A,t){const e=t.subarray(0,32),r=t.subarray(32,64);if(new n(e).cmp(i.n)>=0)return 1;if(new n(r).cmp(i.n)>=0)return 1;const{output:o}=A;let a=o.subarray(4,37);a[0]=0,a.set(e,1);let s=33,g=0;for(;s>1&&0===a[g]&&!(128&a[g+1]);--s,++g);if(a=a.subarray(g),128&a[0])return 1;if(s>1&&0===a[0]&&!(128&a[1]))return 1;let c=o.subarray(39,72);c[0]=0,c.set(r,1);let B=33,I=0;for(;B>1&&0===c[I]&&!(128&c[I+1]);--B,++I);return c=c.subarray(I),128&c[0]||B>1&&0===c[0]&&!(128&c[1])?1:(A.outputlen=6+s+B,o[0]=48,o[1]=A.outputlen-2,o[2]=2,o[3]=a.length,o.set(a,4),o[4+s]=2,o[5+s]=c.length,o.set(c,6+s),0)},signatureImport(A,t){if(t.length<8)return 1;if(t.length>72)return 1;if(48!==t[0])return 1;if(t[1]!==t.length-2)return 1;if(2!==t[2])return 1;const e=t[3];if(0===e)return 1;if(5+e>=t.length)return 1;if(2!==t[4+e])return 1;const r=t[5+e];if(0===r)return 1;if(6+e+r!==t.length)return 1;if(128&t[4])return 1;if(e>1&&0===t[4]&&!(128&t[5]))return 1;if(128&t[e+6])return 1;if(r>1&&0===t[e+6]&&!(128&t[e+7]))return 1;let o=t.subarray(4,4+e);if(33===o.length&&0===o[0]&&(o=o.subarray(1)),o.length>32)return 1;let a=t.subarray(6+e);if(33===a.length&&0===a[0]&&(a=a.slice(1)),a.length>32)throw new Error("S length is too long");let s=new n(o);s.cmp(i.n)>=0&&(s=new n(0));let g=new n(t.subarray(6+e));return g.cmp(i.n)>=0&&(g=new n(0)),A.set(s.toArrayLike(Uint8Array,"be",32),0),A.set(g.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign(A,t,e,o,a){if(a){const A=a;a=r=>{const i=A(t,e,null,o,r);if(!(i instanceof Uint8Array&&32===i.length))throw new Error("This is the way");return new n(i)}}const s=new n(e);if(s.cmp(i.n)>=0||s.isZero())return 1;let g;try{g=r.sign(t,e,{canonical:!0,k:a,pers:o})}catch(A){return 1}return A.signature.set(g.r.toArrayLike(Uint8Array,"be",32),0),A.signature.set(g.s.toArrayLike(Uint8Array,"be",32),32),A.recid=g.recoveryParam,0},ecdsaVerify(A,t,e){const a={r:A.subarray(0,32),s:A.subarray(32,64)},s=new n(a.r),g=new n(a.s);if(s.cmp(i.n)>=0||g.cmp(i.n)>=0)return 1;if(1===g.cmp(r.nh)||s.isZero()||g.isZero())return 3;const c=o(e);if(null===c)return 2;const B=c.getPublic();return r.verify(t,a,B)?0:3},ecdsaRecover(A,t,e,o){const s={r:t.slice(0,32),s:t.slice(32,64)},g=new n(s.r),c=new n(s.s);if(g.cmp(i.n)>=0||c.cmp(i.n)>=0)return 1;if(g.isZero()||c.isZero())return 2;let B;try{B=r.recoverPubKey(o,s,e)}catch(A){return 2}return a(A,B),0},ecdh(A,t,e,a,s,g,c){const B=o(t);if(null===B)return 1;const I=new n(e);if(I.cmp(i.n)>=0||I.isZero())return 2;const u=B.getPublic().mul(I);if(void 0===s){const t=u.encode(null,!0),e=r.hash().update(t).digest();for(let t=0;t<32;++t)A[t]=e[t]}else{g||(g=new Uint8Array(32));const t=u.getX().toArray("be",32);for(let A=0;A<32;++A)g[A]=t[A];c||(c=new Uint8Array(32));const e=u.getY().toArray("be",32);for(let A=0;A<32;++A)c[A]=e[A];const r=s(g,c,a);if(!(r instanceof Uint8Array&&r.length===A.length))return 2;A.set(r)}return 0}}},9119:function(A){const t="Impossible case. Please create issue.",e="The tweak was out of range or the resulted private key is invalid",r="The tweak was out of range or equal to zero",i="Public Key could not be parsed",n="Public Key serialization error",o="Signature could not be parsed";function a(A,t){if(!A)throw new Error(t)}function s(A,t,e){if(a(t instanceof Uint8Array,`Expected ${A} to be an Uint8Array`),void 0!==e)if(Array.isArray(e)){const r=`Expected ${A} to be an Uint8Array with length [${e.join(", ")}]`;a(e.includes(t.length),r)}else{const r=`Expected ${A} to be an Uint8Array with length ${e}`;a(t.length===e,r)}}function g(A){a("Boolean"===B(A),"Expected compressed to be a Boolean")}function c(A=(A=>new Uint8Array(A)),t){return"function"==typeof A&&(A=A(t)),s("output",A,t),A}function B(A){return Object.prototype.toString.call(A).slice(8,-1)}A.exports=A=>({contextRandomize(t){if(a(null===t||t instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==t&&s("seed",t,32),1===A.contextRandomize(t))throw new Error("Unknow error on context randomization")},privateKeyVerify(t){return s("private key",t,32),0===A.privateKeyVerify(t)},privateKeyNegate(e){switch(s("private key",e,32),A.privateKeyNegate(e)){case 0:return e;case 1:throw new Error(t)}},privateKeyTweakAdd(t,r){switch(s("private key",t,32),s("tweak",r,32),A.privateKeyTweakAdd(t,r)){case 0:return t;case 1:throw new Error(e)}},privateKeyTweakMul(t,e){switch(s("private key",t,32),s("tweak",e,32),A.privateKeyTweakMul(t,e)){case 0:return t;case 1:throw new Error(r)}},publicKeyVerify(t){return s("public key",t,[33,65]),0===A.publicKeyVerify(t)},publicKeyCreate(t,e=!0,r){switch(s("private key",t,32),g(e),r=c(r,e?33:65),A.publicKeyCreate(r,t)){case 0:return r;case 1:throw new Error("Private Key is invalid");case 2:throw new Error(n)}},publicKeyConvert(t,e=!0,r){switch(s("public key",t,[33,65]),g(e),r=c(r,e?33:65),A.publicKeyConvert(r,t)){case 0:return r;case 1:throw new Error(i);case 2:throw new Error(n)}},publicKeyNegate(e,r=!0,o){switch(s("public key",e,[33,65]),g(r),o=c(o,r?33:65),A.publicKeyNegate(o,e)){case 0:return o;case 1:throw new Error(i);case 2:throw new Error(t);case 3:throw new Error(n)}},publicKeyCombine(t,e=!0,r){a(Array.isArray(t),"Expected public keys to be an Array"),a(t.length>0,"Expected public keys array will have more than zero items");for(const A of t)s("public key",A,[33,65]);switch(g(e),r=c(r,e?33:65),A.publicKeyCombine(r,t)){case 0:return r;case 1:throw new Error(i);case 2:throw new Error("The sum of the public keys is not valid");case 3:throw new Error(n)}},publicKeyTweakAdd(t,r,n=!0,o){switch(s("public key",t,[33,65]),s("tweak",r,32),g(n),o=c(o,n?33:65),A.publicKeyTweakAdd(o,t,r)){case 0:return o;case 1:throw new Error(i);case 2:throw new Error(e)}},publicKeyTweakMul(t,e,n=!0,o){switch(s("public key",t,[33,65]),s("tweak",e,32),g(n),o=c(o,n?33:65),A.publicKeyTweakMul(o,t,e)){case 0:return o;case 1:throw new Error(i);case 2:throw new Error(r)}},signatureNormalize(t){switch(s("signature",t,64),A.signatureNormalize(t)){case 0:return t;case 1:throw new Error(o)}},signatureExport(e,r){s("signature",e,64);const i={output:r=c(r,72),outputlen:72};switch(A.signatureExport(i,e)){case 0:return r.slice(0,i.outputlen);case 1:throw new Error(o);case 2:throw new Error(t)}},signatureImport(e,r){switch(s("signature",e),r=c(r,64),A.signatureImport(r,e)){case 0:return r;case 1:throw new Error(o);case 2:throw new Error(t)}},ecdsaSign(e,r,i={},n){s("message",e,32),s("private key",r,32),a("Object"===B(i),"Expected options to be an Object"),void 0!==i.data&&s("options.data",i.data),void 0!==i.noncefn&&a("Function"===B(i.noncefn),"Expected options.noncefn to be a Function");const o={signature:n=c(n,64),recid:null};switch(A.ecdsaSign(o,e,r,i.data,i.noncefn)){case 0:return o;case 1:throw new Error("The nonce generation function failed, or the private key was invalid");case 2:throw new Error(t)}},ecdsaVerify(t,e,r){switch(s("signature",t,64),s("message",e,32),s("public key",r,[33,65]),A.ecdsaVerify(t,e,r)){case 0:return!0;case 3:return!1;case 1:throw new Error(o);case 2:throw new Error(i)}},ecdsaRecover(e,r,i,n=!0,I){switch(s("signature",e,64),a("Number"===B(r)&&r>=0&&r<=3,"Expected recovery id to be a Number within interval [0, 3]"),s("message",i,32),g(n),I=c(I,n?33:65),A.ecdsaRecover(I,e,r,i)){case 0:return I;case 1:throw new Error(o);case 2:throw new Error("Public key could not be recover");case 3:throw new Error(t)}},ecdh(t,e,r={},n){switch(s("public key",t,[33,65]),s("private key",e,32),a("Object"===B(r),"Expected options to be an Object"),void 0!==r.data&&s("options.data",r.data),void 0!==r.hashfn?(a("Function"===B(r.hashfn),"Expected options.hashfn to be a Function"),void 0!==r.xbuf&&s("options.xbuf",r.xbuf,32),void 0!==r.ybuf&&s("options.ybuf",r.ybuf,32),s("output",n)):n=c(n,32),A.ecdh(n,t,e,r.data,r.hashfn,r.xbuf,r.ybuf)){case 0:return n;case 1:throw new Error(i);case 2:throw new Error("Scalar was invalid (zero or overflow)")}}})},8419:function(A,t,e){"use strict";var r=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(null!=A)for(var e in A)Object.hasOwnProperty.call(A,e)&&(t[e]=A[e]);return t.default=A,t};Object.defineProperty(t,"__esModule",{value:!0}),function(A){for(var e in A)t.hasOwnProperty(e)||(t[e]=A[e])}(e(4925));const i=r(e(7996));t.value=i},4925:function(A,t,e){"use strict";var r=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(null!=A)for(var e in A)Object.hasOwnProperty.call(A,e)&&(t[e]=A[e]);return t.default=A,t};Object.defineProperty(t,"__esModule",{value:!0});const i=r(e(7996)),n=[ArrayBuffer,Uint8Array,Uint16Array,Uint32Array,Int8Array,Int16Array,Int32Array,Float32Array,Float64Array];class o{constructor(A,t=!1){this._serializer=A,this._stable=t,this.name="jsonDefault",this.priority=-100}match(A){return-1!=["undefined","boolean","number","string","object"].indexOf(typeof A)}encode(A){switch(typeof A){case"undefined":return i.undefined_();case"boolean":return i.bool(A);case"number":return Math.floor(A)===A?i.number(A):i.doubleFloat(A);case"string":return i.string(A);case"object":if(null===A)return i.null_();if(Array.isArray(A))return i.array(A.map((A=>this._serializer.serializeValue(A))));if(n.find((t=>A instanceof t)))return i.bytes(A.buffer);if(-1!==Object.getOwnPropertyNames(A).indexOf("toJSON"))return this.encode(A.toJSON());if(A instanceof Map){const t=new Map;for(const[e,r]of A.entries())t.set(e,this._serializer.serializeValue(r));return i.map(t,this._stable)}{const t=new Map;for(const[e,r]of Object.entries(A))t.set(e,this._serializer.serializeValue(r));return i.map(t,this._stable)}default:throw new Error("Invalid value.")}}}t.JsonDefaultCborEncoder=o;class a{constructor(){this.name="cborEncoder",this.priority=-90}match(A){return"object"==typeof A&&"function"==typeof A.toCBOR}encode(A){return A.toCBOR()}}t.ToCborEncoder=a;class s{constructor(){this._encoders=new Set}static withDefaultEncoders(A=!1){const t=new this;return t.addEncoder(new o(t,A)),t.addEncoder(new a),t}removeEncoder(A){for(const t of this._encoders.values())t.name==A&&this._encoders.delete(t)}addEncoder(A){this._encoders.add(A)}getEncoderFor(A){let t=null;for(const e of this._encoders)(!t||e.priority>t.priority)&&e.match(A)&&(t=e);if(null===t)throw new Error("Could not find an encoder for value.");return t}serializeValue(A){return this.getEncoderFor(A).encode(A)}serialize(A){return this.serializeValue(A)}}t.CborSerializer=s,t.SelfDescribeCborSerializer=class extends s{serialize(A){return i.raw(new Uint8Array([...new Uint8Array([217,217,247]),...new Uint8Array(super.serializeValue(A))]))}}},7996:function(A,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const e=9007199254740992;function r(A,...t){const e=new Uint8Array(A.byteLength+t.reduce(((A,t)=>A+t.byteLength),0));e.set(new Uint8Array(A),0);let r=A.byteLength;for(const A of t)e.set(new Uint8Array(A),r),r+=A.byteLength;return e.buffer}function i(A,t,e){const r=2**(t-24);e=(e=e.replace(/[^0-9a-fA-F]/g,"")).slice(2*-r).padStart(2*r,"0");const i=[(A<<5)+t].concat(e.match(/../g).map((A=>parseInt(A,16))));return new Uint8Array(i).buffer}function n(A,t){return t<24?new Uint8Array([(A<<5)+t]).buffer:i(A,t<=255?24:t<=65535?25:t<=4294967295?26:27,t.toString(16))}function o(A){const t=[];for(let e=0;e>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(e++,r=(1023&r)<<10|1023&A.charCodeAt(e),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return r(new Uint8Array(n(3,A.length)),new Uint8Array(t))}function a(A){return new Uint8Array(A).buffer}function s(A){if(isNaN(A))throw new RangeError("Invalid number.");return A=Math.min(Math.max(0,A),23),new Uint8Array([0+A]).buffer}function g(A,t){if(A=parseInt(""+A,t),isNaN(A))throw new RangeError("Invalid number.");return i(0,24,A=(A=Math.min(Math.max(0,A),255)).toString(16))}function c(A,t){if(A=parseInt(""+A,t),isNaN(A))throw new RangeError("Invalid number.");return i(0,25,A=(A=Math.min(Math.max(0,A),65535)).toString(16))}function B(A,t){if(A=parseInt(""+A,t),isNaN(A))throw new RangeError("Invalid number.");return i(0,26,A=(A=Math.min(Math.max(0,A),4294967295)).toString(16))}function I(A,t){if("string"==typeof A&&16==t){if(A.match(/[^0-9a-fA-F]/))throw new RangeError("Invalid number.");return i(0,27,A)}if(A=parseInt(""+A,t),isNaN(A))throw new RangeError("Invalid number.");return i(0,27,A=(A=Math.min(Math.max(0,A),e)).toString(16))}function u(A){if(isNaN(A))throw new RangeError("Invalid number.");return 0===A?s(0):(A=Math.min(Math.max(0,-A),24)-1,new Uint8Array([32+A]).buffer)}function E(A,t){if(A=parseInt(""+A,t),isNaN(A))throw new RangeError("Invalid number.");return i(1,24,A=(A=Math.min(Math.max(0,-A-1),255)).toString(16))}function h(A,t){if(A=parseInt(""+A,t),isNaN(A))throw new RangeError("Invalid number.");return i(1,25,A=(A=Math.min(Math.max(0,-A-1),65535)).toString(16))}function f(A,t){if(A=parseInt(""+A,t),isNaN(A))throw new RangeError("Invalid number.");return i(1,26,A=(A=Math.min(Math.max(0,-A-1),4294967295)).toString(16))}function Q(A,t){if("string"==typeof A&&16==t){if((A=A.startsWith("-")?A.slice(1):"0").match(/[^0-9a-fA-F]/)||A.length>16)throw new RangeError("Invalid number.");let t=!1,e=A.split("").reduceRight(((A,e)=>{if(t)return e+A;let r=parseInt(e,16)-1;return r>=0?(t=!0,r.toString(16)+A):"f"+A}),"");return t?i(1,27,e):I(0)}if(A=parseInt(""+A,t),isNaN(A))throw new RangeError("Invalid number.");return i(1,27,A=(A=Math.min(Math.max(0,-A-1),9007199254740992)).toString(16))}function C(){return a(new Uint8Array([245]))}function d(){return a(new Uint8Array([244]))}t.tagged=function(A,t){if(14277111==A)return r(new Uint8Array([217,217,247]),t);if(A<24)return r(new Uint8Array([192+A]),t);{const t=A<=255?24:A<=65535?25:A<=4294967295?26:27,e=2**(t-24),r=A.toString(16).slice(2*-e).padStart(2*e,"0"),i=[192+t].concat(r.match(/../g).map((A=>parseInt(A,16))));return new Uint8Array(i).buffer}},t.raw=a,t.uSmall=s,t.u8=g,t.u16=c,t.u32=B,t.u64=I,t.iSmall=u,t.i8=E,t.i16=h,t.i32=f,t.i64=Q,t.number=function(A){return A>=0?A<24?s(A):A<=255?g(A):A<=65535?c(A):A<=4294967295?B(A):I(A):A>=-24?u(A):A>=-255?E(A):A>=-65535?h(A):A>=-4294967295?f(A):Q(A)},t.bytes=function(A){return r(n(2,A.byteLength),A)},t.string=function(A){return o(A)},t.array=function(A){return r(n(4,A.length),...A)},t.map=function(A,t=!1){A instanceof Map||(A=new Map(Object.entries(A)));let e=Array.from(A.entries());return t&&(e=e.sort((([A],[t])=>A.localeCompare(t)))),r(n(5,A.size),...e.map((([A,t])=>r(o(A),t))))},t.singleFloat=function(A){const t=new Float32Array([A]);return r(new Uint8Array([250]),new Uint8Array(t.buffer))},t.doubleFloat=function(A){const t=new Float64Array([A]);return r(new Uint8Array([251]),new Uint8Array(t.buffer))},t.bool=function(A){return A?C():d()},t.true_=C,t.false_=d,t.null_=function(){return a(new Uint8Array([246]))},t.undefined_=function(){return a(new Uint8Array([247]))}},780:function(A,t,e){!function(A){"use strict";var t=function(A){var t,e=new Float64Array(16);if(A)for(t=0;t>24&255,A[t+1]=e>>16&255,A[t+2]=e>>8&255,A[t+3]=255&e,A[t+4]=r>>24&255,A[t+5]=r>>16&255,A[t+6]=r>>8&255,A[t+7]=255&r}function h(A,t,e,r,i){var n,o=0;for(n=0;n>>8)-1}function f(A,t,e,r){return h(A,t,e,r,16)}function Q(A,t,e,r){return h(A,t,e,r,32)}function C(A,t,e,r){!function(A,t,e,r){for(var i,n=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,o=255&e[0]|(255&e[1])<<8|(255&e[2])<<16|(255&e[3])<<24,a=255&e[4]|(255&e[5])<<8|(255&e[6])<<16|(255&e[7])<<24,s=255&e[8]|(255&e[9])<<8|(255&e[10])<<16|(255&e[11])<<24,g=255&e[12]|(255&e[13])<<8|(255&e[14])<<16|(255&e[15])<<24,c=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,B=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,I=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,u=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,E=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,h=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,f=255&e[16]|(255&e[17])<<8|(255&e[18])<<16|(255&e[19])<<24,Q=255&e[20]|(255&e[21])<<8|(255&e[22])<<16|(255&e[23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0,F=F+d|0,U=U+l|0,A[0]=p>>>0&255,A[1]=p>>>8&255,A[2]=p>>>16&255,A[3]=p>>>24&255,A[4]=w>>>0&255,A[5]=w>>>8&255,A[6]=w>>>16&255,A[7]=w>>>24&255,A[8]=y>>>0&255,A[9]=y>>>8&255,A[10]=y>>>16&255,A[11]=y>>>24&255,A[12]=b>>>0&255,A[13]=b>>>8&255,A[14]=b>>>16&255,A[15]=b>>>24&255,A[16]=m>>>0&255,A[17]=m>>>8&255,A[18]=m>>>16&255,A[19]=m>>>24&255,A[20]=v>>>0&255,A[21]=v>>>8&255,A[22]=v>>>16&255,A[23]=v>>>24&255,A[24]=D>>>0&255,A[25]=D>>>8&255,A[26]=D>>>16&255,A[27]=D>>>24&255,A[28]=S>>>0&255,A[29]=S>>>8&255,A[30]=S>>>16&255,A[31]=S>>>24&255,A[32]=k>>>0&255,A[33]=k>>>8&255,A[34]=k>>>16&255,A[35]=k>>>24&255,A[36]=M>>>0&255,A[37]=M>>>8&255,A[38]=M>>>16&255,A[39]=M>>>24&255,A[40]=G>>>0&255,A[41]=G>>>8&255,A[42]=G>>>16&255,A[43]=G>>>24&255,A[44]=N>>>0&255,A[45]=N>>>8&255,A[46]=N>>>16&255,A[47]=N>>>24&255,A[48]=_>>>0&255,A[49]=_>>>8&255,A[50]=_>>>16&255,A[51]=_>>>24&255,A[52]=R>>>0&255,A[53]=R>>>8&255,A[54]=R>>>16&255,A[55]=R>>>24&255,A[56]=F>>>0&255,A[57]=F>>>8&255,A[58]=F>>>16&255,A[59]=F>>>24&255,A[60]=U>>>0&255,A[61]=U>>>8&255,A[62]=U>>>16&255,A[63]=U>>>24&255}(A,t,e,r)}function d(A,t,e,r){!function(A,t,e,r){for(var i,n=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,o=255&e[0]|(255&e[1])<<8|(255&e[2])<<16|(255&e[3])<<24,a=255&e[4]|(255&e[5])<<8|(255&e[6])<<16|(255&e[7])<<24,s=255&e[8]|(255&e[9])<<8|(255&e[10])<<16|(255&e[11])<<24,g=255&e[12]|(255&e[13])<<8|(255&e[14])<<16|(255&e[15])<<24,c=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,B=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,I=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,u=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,E=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,h=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,f=255&e[16]|(255&e[17])<<8|(255&e[18])<<16|(255&e[19])<<24,Q=255&e[20]|(255&e[21])<<8|(255&e[22])<<16|(255&e[23])<<24,C=255&e[24]|(255&e[25])<<8|(255&e[26])<<16|(255&e[27])<<24,d=255&e[28]|(255&e[29])<<8|(255&e[30])<<16|(255&e[31])<<24,l=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,p=0;p<20;p+=2)n^=(i=(Q^=(i=(u^=(i=(g^=(i=n+Q|0)<<7|i>>>25)+n|0)<<9|i>>>23)+g|0)<<13|i>>>19)+u|0)<<18|i>>>14,c^=(i=(o^=(i=(C^=(i=(E^=(i=c+o|0)<<7|i>>>25)+c|0)<<9|i>>>23)+E|0)<<13|i>>>19)+C|0)<<18|i>>>14,h^=(i=(B^=(i=(a^=(i=(d^=(i=h+B|0)<<7|i>>>25)+h|0)<<9|i>>>23)+d|0)<<13|i>>>19)+a|0)<<18|i>>>14,l^=(i=(f^=(i=(I^=(i=(s^=(i=l+f|0)<<7|i>>>25)+l|0)<<9|i>>>23)+s|0)<<13|i>>>19)+I|0)<<18|i>>>14,n^=(i=(s^=(i=(a^=(i=(o^=(i=n+s|0)<<7|i>>>25)+n|0)<<9|i>>>23)+o|0)<<13|i>>>19)+a|0)<<18|i>>>14,c^=(i=(g^=(i=(I^=(i=(B^=(i=c+g|0)<<7|i>>>25)+c|0)<<9|i>>>23)+B|0)<<13|i>>>19)+I|0)<<18|i>>>14,h^=(i=(E^=(i=(u^=(i=(f^=(i=h+E|0)<<7|i>>>25)+h|0)<<9|i>>>23)+f|0)<<13|i>>>19)+u|0)<<18|i>>>14,l^=(i=(d^=(i=(C^=(i=(Q^=(i=l+d|0)<<7|i>>>25)+l|0)<<9|i>>>23)+Q|0)<<13|i>>>19)+C|0)<<18|i>>>14;A[0]=n>>>0&255,A[1]=n>>>8&255,A[2]=n>>>16&255,A[3]=n>>>24&255,A[4]=c>>>0&255,A[5]=c>>>8&255,A[6]=c>>>16&255,A[7]=c>>>24&255,A[8]=h>>>0&255,A[9]=h>>>8&255,A[10]=h>>>16&255,A[11]=h>>>24&255,A[12]=l>>>0&255,A[13]=l>>>8&255,A[14]=l>>>16&255,A[15]=l>>>24&255,A[16]=B>>>0&255,A[17]=B>>>8&255,A[18]=B>>>16&255,A[19]=B>>>24&255,A[20]=I>>>0&255,A[21]=I>>>8&255,A[22]=I>>>16&255,A[23]=I>>>24&255,A[24]=u>>>0&255,A[25]=u>>>8&255,A[26]=u>>>16&255,A[27]=u>>>24&255,A[28]=E>>>0&255,A[29]=E>>>8&255,A[30]=E>>>16&255,A[31]=E>>>24&255}(A,t,e,r)}var l=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function p(A,t,e,r,i,n,o){var a,s,g=new Uint8Array(16),c=new Uint8Array(64);for(s=0;s<16;s++)g[s]=0;for(s=0;s<8;s++)g[s]=n[s];for(;i>=64;){for(C(c,g,o,l),s=0;s<64;s++)A[t+s]=e[r+s]^c[s];for(a=1,s=8;s<16;s++)a=a+(255&g[s])|0,g[s]=255&a,a>>>=8;i-=64,t+=64,r+=64}if(i>0)for(C(c,g,o,l),s=0;s=64;){for(C(s,a,i,l),o=0;o<64;o++)A[t+o]=s[o];for(n=1,o=8;o<16;o++)n=n+(255&a[o])|0,a[o]=255&n,n>>>=8;e-=64,t+=64}if(e>0)for(C(s,a,i,l),o=0;o>>13|e<<3),r=255&A[4]|(255&A[5])<<8,this.r[2]=7939&(e>>>10|r<<6),i=255&A[6]|(255&A[7])<<8,this.r[3]=8191&(r>>>7|i<<9),n=255&A[8]|(255&A[9])<<8,this.r[4]=255&(i>>>4|n<<12),this.r[5]=n>>>1&8190,o=255&A[10]|(255&A[11])<<8,this.r[6]=8191&(n>>>14|o<<2),a=255&A[12]|(255&A[13])<<8,this.r[7]=8065&(o>>>11|a<<5),s=255&A[14]|(255&A[15])<<8,this.r[8]=8191&(a>>>8|s<<8),this.r[9]=s>>>5&127,this.pad[0]=255&A[16]|(255&A[17])<<8,this.pad[1]=255&A[18]|(255&A[19])<<8,this.pad[2]=255&A[20]|(255&A[21])<<8,this.pad[3]=255&A[22]|(255&A[23])<<8,this.pad[4]=255&A[24]|(255&A[25])<<8,this.pad[5]=255&A[26]|(255&A[27])<<8,this.pad[6]=255&A[28]|(255&A[29])<<8,this.pad[7]=255&A[30]|(255&A[31])<<8};function v(A,t,e,r,i,n){var o=new m(n);return o.update(e,r,i),o.finish(A,t),0}function D(A,t,e,r,i,n){var o=new Uint8Array(16);return v(o,0,e,r,i,n),f(A,t,o,0)}function S(A,t,e,r,i){var n;if(e<32)return-1;for(b(A,0,t,0,e,r,i),v(A,16,A,32,e-32,A),n=0;n<16;n++)A[n]=0;return 0}function k(A,t,e,r,i){var n,o=new Uint8Array(32);if(e<32)return-1;if(y(o,0,32,r,i),0!==D(t,16,t,32,e-32,o))return-1;for(b(A,0,t,0,e,r,i),n=0;n<32;n++)A[n]=0;return 0}function M(A,t){var e;for(e=0;e<16;e++)A[e]=0|t[e]}function G(A){var t,e,r=1;for(t=0;t<16;t++)e=A[t]+r+65535,r=Math.floor(e/65536),A[t]=e-65536*r;A[0]+=r-1+37*(r-1)}function N(A,t,e){for(var r,i=~(e-1),n=0;n<16;n++)r=i&(A[n]^t[n]),A[n]^=r,t[n]^=r}function _(A,e){var r,i,n,o=t(),a=t();for(r=0;r<16;r++)a[r]=e[r];for(G(a),G(a),G(a),i=0;i<2;i++){for(o[0]=a[0]-65517,r=1;r<15;r++)o[r]=a[r]-65535-(o[r-1]>>16&1),o[r-1]&=65535;o[15]=a[15]-32767-(o[14]>>16&1),n=o[15]>>16&1,o[14]&=65535,N(a,o,1-n)}for(r=0;r<16;r++)A[2*r]=255&a[r],A[2*r+1]=a[r]>>8}function R(A,t){var e=new Uint8Array(32),r=new Uint8Array(32);return _(e,A),_(r,t),Q(e,0,r,0)}function F(A){var t=new Uint8Array(32);return _(t,A),1&t[0]}function U(A,t){var e;for(e=0;e<16;e++)A[e]=t[2*e]+(t[2*e+1]<<8);A[15]&=32767}function x(A,t,e){for(var r=0;r<16;r++)A[r]=t[r]+e[r]}function q(A,t,e){for(var r=0;r<16;r++)A[r]=t[r]-e[r]}function L(A,t,e){var r,i,n=0,o=0,a=0,s=0,g=0,c=0,B=0,I=0,u=0,E=0,h=0,f=0,Q=0,C=0,d=0,l=0,p=0,w=0,y=0,b=0,m=0,v=0,D=0,S=0,k=0,M=0,G=0,N=0,_=0,R=0,F=0,U=e[0],x=e[1],q=e[2],L=e[3],H=e[4],Y=e[5],J=e[6],T=e[7],O=e[8],K=e[9],j=e[10],P=e[11],W=e[12],V=e[13],z=e[14],Z=e[15];n+=(r=t[0])*U,o+=r*x,a+=r*q,s+=r*L,g+=r*H,c+=r*Y,B+=r*J,I+=r*T,u+=r*O,E+=r*K,h+=r*j,f+=r*P,Q+=r*W,C+=r*V,d+=r*z,l+=r*Z,o+=(r=t[1])*U,a+=r*x,s+=r*q,g+=r*L,c+=r*H,B+=r*Y,I+=r*J,u+=r*T,E+=r*O,h+=r*K,f+=r*j,Q+=r*P,C+=r*W,d+=r*V,l+=r*z,p+=r*Z,a+=(r=t[2])*U,s+=r*x,g+=r*q,c+=r*L,B+=r*H,I+=r*Y,u+=r*J,E+=r*T,h+=r*O,f+=r*K,Q+=r*j,C+=r*P,d+=r*W,l+=r*V,p+=r*z,w+=r*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*J,y+=r*T,b+=r*O,m+=r*K,v+=r*j,D+=r*P,S+=r*W,k+=r*V,M+=r*z,G+=r*Z,Q+=(r=t[12])*U,C+=r*x,d+=r*q,l+=r*L,p+=r*H,w+=r*Y,y+=r*J,b+=r*T,m+=r*O,v+=r*K,D+=r*j,S+=r*P,k+=r*W,M+=r*V,G+=r*z,N+=r*Z,C+=(r=t[13])*U,d+=r*x,l+=r*q,p+=r*L,w+=r*H,y+=r*Y,b+=r*J,m+=r*T,v+=r*O,D+=r*K,S+=r*j,k+=r*P,M+=r*W,G+=r*V,N+=r*z,_+=r*Z,d+=(r=t[14])*U,l+=r*x,p+=r*q,w+=r*L,y+=r*H,b+=r*Y,m+=r*J,v+=r*T,D+=r*O,S+=r*K,k+=r*j,M+=r*P,G+=r*W,N+=r*V,_+=r*z,R+=r*Z,l+=(r=t[15])*U,o+=38*(w+=r*q),a+=38*(y+=r*L),s+=38*(b+=r*H),g+=38*(m+=r*Y),c+=38*(v+=r*J),B+=38*(D+=r*T),I+=38*(S+=r*O),u+=38*(k+=r*K),E+=38*(M+=r*j),h+=38*(G+=r*P),f+=38*(N+=r*W),Q+=38*(_+=r*V),C+=38*(R+=r*z),d+=38*(F+=r*Z),n=(r=(n+=38*(p+=r*x))+(i=1)+65535)-65536*(i=Math.floor(r/65536)),o=(r=o+i+65535)-65536*(i=Math.floor(r/65536)),a=(r=a+i+65535)-65536*(i=Math.floor(r/65536)),s=(r=s+i+65535)-65536*(i=Math.floor(r/65536)),g=(r=g+i+65535)-65536*(i=Math.floor(r/65536)),c=(r=c+i+65535)-65536*(i=Math.floor(r/65536)),B=(r=B+i+65535)-65536*(i=Math.floor(r/65536)),I=(r=I+i+65535)-65536*(i=Math.floor(r/65536)),u=(r=u+i+65535)-65536*(i=Math.floor(r/65536)),E=(r=E+i+65535)-65536*(i=Math.floor(r/65536)),h=(r=h+i+65535)-65536*(i=Math.floor(r/65536)),f=(r=f+i+65535)-65536*(i=Math.floor(r/65536)),Q=(r=Q+i+65535)-65536*(i=Math.floor(r/65536)),C=(r=C+i+65535)-65536*(i=Math.floor(r/65536)),d=(r=d+i+65535)-65536*(i=Math.floor(r/65536)),l=(r=l+i+65535)-65536*(i=Math.floor(r/65536)),n=(r=(n+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(r/65536)),o=(r=o+i+65535)-65536*(i=Math.floor(r/65536)),a=(r=a+i+65535)-65536*(i=Math.floor(r/65536)),s=(r=s+i+65535)-65536*(i=Math.floor(r/65536)),g=(r=g+i+65535)-65536*(i=Math.floor(r/65536)),c=(r=c+i+65535)-65536*(i=Math.floor(r/65536)),B=(r=B+i+65535)-65536*(i=Math.floor(r/65536)),I=(r=I+i+65535)-65536*(i=Math.floor(r/65536)),u=(r=u+i+65535)-65536*(i=Math.floor(r/65536)),E=(r=E+i+65535)-65536*(i=Math.floor(r/65536)),h=(r=h+i+65535)-65536*(i=Math.floor(r/65536)),f=(r=f+i+65535)-65536*(i=Math.floor(r/65536)),Q=(r=Q+i+65535)-65536*(i=Math.floor(r/65536)),C=(r=C+i+65535)-65536*(i=Math.floor(r/65536)),d=(r=d+i+65535)-65536*(i=Math.floor(r/65536)),l=(r=l+i+65535)-65536*(i=Math.floor(r/65536)),n+=i-1+37*(i-1),A[0]=n,A[1]=o,A[2]=a,A[3]=s,A[4]=g,A[5]=c,A[6]=B,A[7]=I,A[8]=u,A[9]=E,A[10]=h,A[11]=f,A[12]=Q,A[13]=C,A[14]=d,A[15]=l}function H(A,t){L(A,t,t)}function Y(A,e){var r,i=t();for(r=0;r<16;r++)i[r]=e[r];for(r=253;r>=0;r--)H(i,i),2!==r&&4!==r&&L(i,i,e);for(r=0;r<16;r++)A[r]=i[r]}function J(A,e){var r,i=t();for(r=0;r<16;r++)i[r]=e[r];for(r=250;r>=0;r--)H(i,i),1!==r&&L(i,i,e);for(r=0;r<16;r++)A[r]=i[r]}function T(A,e,r){var i,n,o=new Uint8Array(32),a=new Float64Array(80),g=t(),c=t(),B=t(),I=t(),u=t(),E=t();for(n=0;n<31;n++)o[n]=e[n];for(o[31]=127&e[31]|64,o[0]&=248,U(a,r),n=0;n<16;n++)c[n]=a[n],I[n]=g[n]=B[n]=0;for(g[0]=I[0]=1,n=254;n>=0;--n)N(g,c,i=o[n>>>3]>>>(7&n)&1),N(B,I,i),x(u,g,B),q(g,g,B),x(B,c,I),q(c,c,I),H(I,u),H(E,g),L(g,B,g),L(B,c,u),x(u,g,B),q(g,g,B),H(c,g),q(B,I,E),L(g,B,s),x(g,g,I),L(B,B,g),L(g,I,E),L(I,c,a),H(c,u),N(g,c,i),N(B,I,i);for(n=0;n<16;n++)a[n+16]=g[n],a[n+32]=B[n],a[n+48]=c[n],a[n+64]=I[n];var h=a.subarray(32),f=a.subarray(16);return Y(h,h),L(f,f,h),_(A,f),0}function O(A,t){return T(A,t,n)}function K(A,t){return r(t,32),O(A,t)}function j(A,t,e){var r=new Uint8Array(32);return T(r,e,t),d(A,i,r,l)}m.prototype.blocks=function(A,t,e){for(var r,i,n,o,a,s,g,c,B,I,u,E,h,f,Q,C,d,l,p,w=this.fin?0:2048,y=this.h[0],b=this.h[1],m=this.h[2],v=this.h[3],D=this.h[4],S=this.h[5],k=this.h[6],M=this.h[7],G=this.h[8],N=this.h[9],_=this.r[0],R=this.r[1],F=this.r[2],U=this.r[3],x=this.r[4],q=this.r[5],L=this.r[6],H=this.r[7],Y=this.r[8],J=this.r[9];e>=16;)I=B=0,I+=(y+=8191&(r=255&A[t+0]|(255&A[t+1])<<8))*_,I+=(b+=8191&(r>>>13|(i=255&A[t+2]|(255&A[t+3])<<8)<<3))*(5*J),I+=(m+=8191&(i>>>10|(n=255&A[t+4]|(255&A[t+5])<<8)<<6))*(5*Y),I+=(v+=8191&(n>>>7|(o=255&A[t+6]|(255&A[t+7])<<8)<<9))*(5*H),B=(I+=(D+=8191&(o>>>4|(a=255&A[t+8]|(255&A[t+9])<<8)<<12))*(5*L))>>>13,I&=8191,I+=(S+=a>>>1&8191)*(5*q),I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>>13,l&=8191,l+=S*U,l+=k*F,l+=M*R,l+=G*_,p=B+=(l+=N*(5*J))>>>13,p+=y*J,p+=b*Y,p+=m*H,p+=v*L,B=(p+=D*q)>>>13,p&=8191,p+=S*x,p+=k*U,p+=M*F,p+=G*R,y=I=8191&(B=(B=((B+=(p+=N*_)>>>13)<<2)+B|0)+(I&=8191)|0),b=u+=B>>>=13,m=E&=8191,v=h&=8191,D=f&=8191,S=Q&=8191,k=C&=8191,M=d&=8191,G=l&=8191,N=p&=8191,t+=16,e-=16;this.h[0]=y,this.h[1]=b,this.h[2]=m,this.h[3]=v,this.h[4]=D,this.h[5]=S,this.h[6]=k,this.h[7]=M,this.h[8]=G,this.h[9]=N},m.prototype.finish=function(A,t){var e,r,i,n,o=new Uint16Array(10);if(this.leftover){for(n=this.leftover,this.buffer[n++]=1;n<16;n++)this.buffer[n]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(e=this.h[1]>>>13,this.h[1]&=8191,n=2;n<10;n++)this.h[n]+=e,e=this.h[n]>>>13,this.h[n]&=8191;for(this.h[0]+=5*e,e=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=e,e=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=e,o[0]=this.h[0]+5,e=o[0]>>>13,o[0]&=8191,n=1;n<10;n++)o[n]=this.h[n]+e,e=o[n]>>>13,o[n]&=8191;for(o[9]-=8192,r=(1^e)-1,n=0;n<10;n++)o[n]&=r;for(r=~r,n=0;n<10;n++)this.h[n]=this.h[n]&r|o[n];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,n=1;n<8;n++)i=(this.h[n]+this.pad[n]|0)+(i>>>16)|0,this.h[n]=65535&i;A[t+0]=this.h[0]>>>0&255,A[t+1]=this.h[0]>>>8&255,A[t+2]=this.h[1]>>>0&255,A[t+3]=this.h[1]>>>8&255,A[t+4]=this.h[2]>>>0&255,A[t+5]=this.h[2]>>>8&255,A[t+6]=this.h[3]>>>0&255,A[t+7]=this.h[3]>>>8&255,A[t+8]=this.h[4]>>>0&255,A[t+9]=this.h[4]>>>8&255,A[t+10]=this.h[5]>>>0&255,A[t+11]=this.h[5]>>>8&255,A[t+12]=this.h[6]>>>0&255,A[t+13]=this.h[6]>>>8&255,A[t+14]=this.h[7]>>>0&255,A[t+15]=this.h[7]>>>8&255},m.prototype.update=function(A,t,e){var r,i;if(this.leftover){for((i=16-this.leftover)>e&&(i=e),r=0;r=16&&(i=e-e%16,this.blocks(A,t,i),t+=i,e-=i),e){for(r=0;r=128;){for(w=0;w<16;w++)y=8*w+W,M[w]=e[y+0]<<24|e[y+1]<<16|e[y+2]<<8|e[y+3],G[w]=e[y+4]<<24|e[y+5]<<16|e[y+6]<<8|e[y+7];for(w=0;w<80;w++)if(i=N,n=_,o=R,a=F,s=U,g=x,c=q,I=H,u=Y,E=J,h=T,f=O,Q=K,C=j,v=65535&(m=P),D=m>>>16,S=65535&(b=L),k=b>>>16,v+=65535&(m=(O>>>14|U<<18)^(O>>>18|U<<14)^(U>>>9|O<<23)),D+=m>>>16,S+=65535&(b=(U>>>14|O<<18)^(U>>>18|O<<14)^(O>>>9|U<<23)),k+=b>>>16,v+=65535&(m=O&K^~O&j),D+=m>>>16,S+=65535&(b=U&x^~U&q),k+=b>>>16,b=V[2*w],v+=65535&(m=V[2*w+1]),D+=m>>>16,S+=65535&b,k+=b>>>16,b=M[w%16],D+=(m=G[w%16])>>>16,S+=65535&b,k+=b>>>16,S+=(D+=(v+=65535&m)>>>16)>>>16,v=65535&(m=p=65535&v|D<<16),D=m>>>16,S=65535&(b=l=65535&S|(k+=S>>>16)<<16),k=b>>>16,v+=65535&(m=(H>>>28|N<<4)^(N>>>2|H<<30)^(N>>>7|H<<25)),D+=m>>>16,S+=65535&(b=(N>>>28|H<<4)^(H>>>2|N<<30)^(H>>>7|N<<25)),k+=b>>>16,D+=(m=H&Y^H&J^Y&J)>>>16,S+=65535&(b=N&_^N&R^_&R),k+=b>>>16,B=65535&(S+=(D+=(v+=65535&m)>>>16)>>>16)|(k+=S>>>16)<<16,d=65535&v|D<<16,v=65535&(m=h),D=m>>>16,S=65535&(b=a),k=b>>>16,D+=(m=p)>>>16,S+=65535&(b=l),k+=b>>>16,_=i,R=n,F=o,U=a=65535&(S+=(D+=(v+=65535&m)>>>16)>>>16)|(k+=S>>>16)<<16,x=s,q=g,L=c,N=B,Y=I,J=u,T=E,O=h=65535&v|D<<16,K=f,j=Q,P=C,H=d,w%16==15)for(y=0;y<16;y++)b=M[y],v=65535&(m=G[y]),D=m>>>16,S=65535&b,k=b>>>16,b=M[(y+9)%16],v+=65535&(m=G[(y+9)%16]),D+=m>>>16,S+=65535&b,k+=b>>>16,l=M[(y+1)%16],v+=65535&(m=((p=G[(y+1)%16])>>>1|l<<31)^(p>>>8|l<<24)^(p>>>7|l<<25)),D+=m>>>16,S+=65535&(b=(l>>>1|p<<31)^(l>>>8|p<<24)^l>>>7),k+=b>>>16,l=M[(y+14)%16],D+=(m=((p=G[(y+14)%16])>>>19|l<<13)^(l>>>29|p<<3)^(p>>>6|l<<26))>>>16,S+=65535&(b=(l>>>19|p<<13)^(p>>>29|l<<3)^l>>>6),k+=b>>>16,k+=(S+=(D+=(v+=65535&m)>>>16)>>>16)>>>16,M[y]=65535&S|k<<16,G[y]=65535&v|D<<16;v=65535&(m=H),D=m>>>16,S=65535&(b=N),k=b>>>16,b=A[0],D+=(m=t[0])>>>16,S+=65535&b,k+=b>>>16,k+=(S+=(D+=(v+=65535&m)>>>16)>>>16)>>>16,A[0]=N=65535&S|k<<16,t[0]=H=65535&v|D<<16,v=65535&(m=Y),D=m>>>16,S=65535&(b=_),k=b>>>16,b=A[1],D+=(m=t[1])>>>16,S+=65535&b,k+=b>>>16,k+=(S+=(D+=(v+=65535&m)>>>16)>>>16)>>>16,A[1]=_=65535&S|k<<16,t[1]=Y=65535&v|D<<16,v=65535&(m=J),D=m>>>16,S=65535&(b=R),k=b>>>16,b=A[2],D+=(m=t[2])>>>16,S+=65535&b,k+=b>>>16,k+=(S+=(D+=(v+=65535&m)>>>16)>>>16)>>>16,A[2]=R=65535&S|k<<16,t[2]=J=65535&v|D<<16,v=65535&(m=T),D=m>>>16,S=65535&(b=F),k=b>>>16,b=A[3],D+=(m=t[3])>>>16,S+=65535&b,k+=b>>>16,k+=(S+=(D+=(v+=65535&m)>>>16)>>>16)>>>16,A[3]=F=65535&S|k<<16,t[3]=T=65535&v|D<<16,v=65535&(m=O),D=m>>>16,S=65535&(b=U),k=b>>>16,b=A[4],D+=(m=t[4])>>>16,S+=65535&b,k+=b>>>16,k+=(S+=(D+=(v+=65535&m)>>>16)>>>16)>>>16,A[4]=U=65535&S|k<<16,t[4]=O=65535&v|D<<16,v=65535&(m=K),D=m>>>16,S=65535&(b=x),k=b>>>16,b=A[5],D+=(m=t[5])>>>16,S+=65535&b,k+=b>>>16,k+=(S+=(D+=(v+=65535&m)>>>16)>>>16)>>>16,A[5]=x=65535&S|k<<16,t[5]=K=65535&v|D<<16,v=65535&(m=j),D=m>>>16,S=65535&(b=q),k=b>>>16,b=A[6],D+=(m=t[6])>>>16,S+=65535&b,k+=b>>>16,k+=(S+=(D+=(v+=65535&m)>>>16)>>>16)>>>16,A[6]=q=65535&S|k<<16,t[6]=j=65535&v|D<<16,v=65535&(m=P),D=m>>>16,S=65535&(b=L),k=b>>>16,b=A[7],D+=(m=t[7])>>>16,S+=65535&b,k+=b>>>16,k+=(S+=(D+=(v+=65535&m)>>>16)>>>16)>>>16,A[7]=L=65535&S|k<<16,t[7]=P=65535&v|D<<16,W+=128,r-=128}return r}function Z(A,t,e){var r,i=new Int32Array(8),n=new Int32Array(8),o=new Uint8Array(256),a=e;for(i[0]=1779033703,i[1]=3144134277,i[2]=1013904242,i[3]=2773480762,i[4]=1359893119,i[5]=2600822924,i[6]=528734635,i[7]=1541459225,n[0]=4089235720,n[1]=2227873595,n[2]=4271175723,n[3]=1595750129,n[4]=2917565137,n[5]=725511199,n[6]=4215389547,n[7]=327033209,z(i,n,t,e),e%=128,r=0;r=0;--i)$(A,t,r=e[i/8|0]>>(7&i)&1),X(t,A),X(A,A),$(A,t,r)}function eA(A,e){var r=[t(),t(),t(),t()];M(r[0],B),M(r[1],I),M(r[2],a),L(r[3],B,I),tA(A,r,e)}function rA(A,e,i){var n,o=new Uint8Array(64),a=[t(),t(),t(),t()];for(i||r(e,32),Z(o,e,32),o[0]&=248,o[31]&=127,o[31]|=64,eA(a,o),AA(A,a),n=0;n<32;n++)e[n+32]=A[n];return 0}var iA=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function nA(A,t){var e,r,i,n;for(r=63;r>=32;--r){for(e=0,i=r-32,n=r-12;i>4)*iA[i],e=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=e*iA[i];for(r=0;r<32;r++)t[r+1]+=t[r]>>8,A[r]=255&t[r]}function oA(A){var t,e=new Float64Array(64);for(t=0;t<64;t++)e[t]=A[t];for(t=0;t<64;t++)A[t]=0;nA(A,e)}function aA(A,e,r,i){var n,o,a=new Uint8Array(64),s=new Uint8Array(64),g=new Uint8Array(64),c=new Float64Array(64),B=[t(),t(),t(),t()];Z(a,i,32),a[0]&=248,a[31]&=127,a[31]|=64;var I=r+64;for(n=0;n>7&&q(A[0],o,A[0]),L(A[3],A[0],A[1]),0)}(I,i))return-1;for(n=0;n=0},A.sign.keyPair=function(){var A=new Uint8Array(cA),t=new Uint8Array(BA);return rA(A,t),{publicKey:A,secretKey:t}},A.sign.keyPair.fromSecretKey=function(A){if(uA(A),A.length!==BA)throw new Error("bad secret key size");for(var t=new Uint8Array(cA),e=0;eparseInt(A,16)))));var t}static fromText(A){let t=function(A){let t=0,e=0;const r=new Uint8Array(4*A.length/3|0);let n=0;function o(A){let o=i[A.toLowerCase()];if(void 0===o)throw new Error(`Invalid character: ${JSON.stringify(A)}`);o<<=3,e|=o>>>t,t+=5,t>=8&&(r[n++]=e,t-=8,e=t>0?o<<5-t&255:0)}for(const t of A)o(t);return r.slice(0,n)}(A.toLowerCase().replace(/-/g,""));t=t.slice(4,t.length);const e=new this(t);if(e.toText()!==A)throw new Error(`Principal "${e.toText()}" does not have a valid checksum (original value "${A}" may not be a valid Principal ID).`);return e}static fromUint8Array(A){return new this(A)}isAnonymous(){return 1===this._arr.byteLength&&4===this._arr[0]}toUint8Array(){return this._arr}toHex(){return(A=this._arr,A.reduce(((A,t)=>A+t.toString(16).padStart(2,"0")),"")).toUpperCase();var A}toText(){const A=new ArrayBuffer(4);new DataView(A).setUint32(0,function(A){const t=new Uint8Array(A);let e=-1;for(let A=0;A>>8}return(-1^e)>>>0}(this._arr));const t=new Uint8Array(A),e=Uint8Array.from(this._arr),i=function(A){let t=0,e=0,i="";for(let o=0;o>-t:e=n<3?(t-=8,1):(t<4&&(i+=r[e>>3],t+=5),0));var n;return i+(t<0?r[e>>3]:"")}(new Uint8Array([...t,...e])).match(/.{1,5}/g);if(!i)throw new Error;return i.join("-")}toString(){return this.toText()}compareTo(A){for(let t=0;tA._arr[t])return"gt"}return this._arr.lengthA._arr.length?"gt":"eq"}ltEq(A){const t=this.compareTo(A);return"lt"==t||"eq"==t}gtEq(A){const t=this.compareTo(A);return"gt"==t||"eq"==t}}class s extends Error{constructor(A){super(A),this.message=A,Object.setPrototypeOf(this,s.prototype)}}function g(...A){const t=new Uint8Array(A.reduce(((A,t)=>A+t.byteLength),0));let e=0;for(const r of A)t.set(new Uint8Array(r),e),e+=r.byteLength;return t}class c{constructor(A,t=(null==A?void 0:A.byteLength)||0){this._buffer=A||new ArrayBuffer(0),this._view=new Uint8Array(this._buffer,0,t)}get buffer(){return this._view.slice()}get byteLength(){return this._view.byteLength}read(A){const t=this._view.subarray(0,A);return this._view=this._view.subarray(A),t.slice().buffer}readUint8(){const A=this._view[0];return this._view=this._view.subarray(1),A}write(A){const t=new Uint8Array(A),e=this._view.byteLength;this._view.byteOffset+this._view.byteLength+t.byteLength>=this._buffer.byteLength?this.alloc(t.byteLength):this._view=new Uint8Array(this._buffer,this._view.byteOffset,this._view.byteLength+t.byteLength),this._view.set(t,e)}get end(){return 0===this._view.byteLength}alloc(A){const t=new ArrayBuffer(1.2*(this._buffer.byteLength+A)|0),e=new Uint8Array(t,0,this._view.byteLength+A);e.set(this._view),this._buffer=t,this._view=e}}function B(A){if(/^_\d+_$/.test(A)||/^_0x[0-9a-fA-F]+_$/.test(A)){const t=+A.slice(1,-1);if(Number.isSafeInteger(t)&&t>=0&&t<2**32)return t}return function(A){const t=(new TextEncoder).encode(A);let e=0;for(const A of t)e=(223*e+A)%2**32;return e}(A)}function I(){throw new Error("unexpected end of buffer")}function u(A,t){return A.byteLength=128);return r}function Q(A){"number"==typeof A&&(A=BigInt(A));const t=A=0;A--)i=i*BigInt(128)+BigInt(128-(127&r[A])-1);return-i-BigInt(1)}function d(A,t){A=BigInt(A);const e=new c(new ArrayBuffer(Math.min(1,t)),0);let r=0,i=BigInt(256),n=BigInt(0),o=Number(A%i);for(e.write(new Uint8Array([o]));++re(A,t[r])))}class b{constructor(){this._typs=[],this._idx=new Map}has(A){return this._idx.has(A.name)}add(A,t){const e=this._typs.length;this._idx.set(A.name,e),this._typs.push(t)}merge(A,t){const e=this._idx.get(A.name),r=this._idx.get(t);if(void 0===e)throw new Error("Missing type index for "+A);if(void 0===r)throw new Error("Missing type index for "+t);this._typs[e]=this._typs[r],this._typs.splice(r,1),this._idx.delete(t)}encode(){const A=h(this._typs.length),t=g(...this._typs);return g(A,t)}indexOf(A){if(!this._idx.has(A))throw new Error("Missing type index for "+A);return Q(this._idx.get(A)||0)}}class m{visitType(A,t){throw new Error("Not implemented")}visitPrimitive(A,t){return this.visitType(A,t)}visitEmpty(A,t){return this.visitPrimitive(A,t)}visitBool(A,t){return this.visitPrimitive(A,t)}visitNull(A,t){return this.visitPrimitive(A,t)}visitReserved(A,t){return this.visitPrimitive(A,t)}visitText(A,t){return this.visitPrimitive(A,t)}visitNumber(A,t){return this.visitPrimitive(A,t)}visitInt(A,t){return this.visitNumber(A,t)}visitNat(A,t){return this.visitNumber(A,t)}visitFloat(A,t){return this.visitPrimitive(A,t)}visitFixedInt(A,t){return this.visitNumber(A,t)}visitFixedNat(A,t){return this.visitNumber(A,t)}visitPrincipal(A,t){return this.visitPrimitive(A,t)}visitConstruct(A,t){return this.visitType(A,t)}visitVec(A,t,e){return this.visitConstruct(A,e)}visitOpt(A,t,e){return this.visitConstruct(A,e)}visitRecord(A,t,e){return this.visitConstruct(A,e)}visitTuple(A,t,e){const r=t.map(((A,t)=>[`_${t}_`,A]));return this.visitRecord(A,r,e)}visitVariant(A,t,e){return this.visitConstruct(A,e)}visitRec(A,t,e){return this.visitConstruct(t,e)}visitFunc(A,t){return this.visitConstruct(A,t)}visitService(A,t){return this.visitConstruct(A,t)}}class v{display(){return this.name}valueToString(A){return z(A)}buildTypeTable(A){A.has(this)||this._buildTypeTableImpl(A)}}class D extends v{checkType(A){if(this.name!==A.name)throw new Error(`type mismatch: type on the wire ${A.name}, expect type ${this.name}`);return A}_buildTypeTableImpl(A){}}class S extends v{checkType(A){if(A instanceof K){const t=A.getType();if(void 0===t)throw new Error("type mismatch with uninitialized type");return t}throw new Error(`type mismatch: type on the wire ${A.name}, expect type ${this.name}`)}encodeType(A){return A.indexOf(this.name)}}class k extends D{accept(A,t){return A.visitEmpty(this,t)}covariant(A){return!1}encodeValue(){throw new Error("Empty cannot appear as a function argument")}valueToString(){throw new Error("Empty cannot appear as a value")}encodeType(){return Q(-17)}decodeValue(){throw new Error("Empty cannot appear as an output")}get name(){return"empty"}}class M extends v{checkType(A){throw new Error("Method not implemented for unknown.")}accept(A,t){throw A.visitType(this,t)}covariant(A){return!1}encodeValue(){throw new Error("Unknown cannot appear as a function argument")}valueToString(){throw new Error("Unknown cannot appear as a value")}encodeType(){throw new Error("Unknown cannot be serialized")}decodeValue(A,t){let e,r=t.decodeValue(A,t);return Object(r)!==r&&(r=Object(r)),e=t instanceof K?()=>t.getType():()=>t,Object.defineProperty(r,"type",{value:e,writable:!0,enumerable:!1,configurable:!0}),r}_buildTypeTableImpl(){throw new Error("Unknown cannot be serialized")}get name(){return"Unknown"}}class G extends D{accept(A,t){return A.visitBool(this,t)}covariant(A){return"boolean"==typeof A}encodeValue(A){return new Uint8Array([A?1:0])}encodeType(){return Q(-2)}decodeValue(A,t){switch(this.checkType(t),E(A)){case 0:return!1;case 1:return!0;default:throw new Error("Boolean value out of range")}}get name(){return"bool"}}class N extends D{accept(A,t){return A.visitNull(this,t)}covariant(A){return null===A}encodeValue(){return new ArrayBuffer(0)}encodeType(){return Q(-1)}decodeValue(A,t){return this.checkType(t),null}get name(){return"null"}}class _ extends D{accept(A,t){return A.visitReserved(this,t)}covariant(A){return!0}encodeValue(){return new ArrayBuffer(0)}encodeType(){return Q(-16)}decodeValue(A,t){return t.name!==this.name&&t.decodeValue(A,t),null}get name(){return"reserved"}}class R extends D{accept(A,t){return A.visitText(this,t)}covariant(A){return"string"==typeof A}encodeValue(A){const t=(new TextEncoder).encode(A);return g(h(t.byteLength),t)}encodeType(){return Q(-15)}decodeValue(A,t){this.checkType(t);const e=f(A),r=u(A,Number(e));return new TextDecoder("utf8",{fatal:!0}).decode(r)}get name(){return"text"}valueToString(A){return'"'+A+'"'}}class F extends D{accept(A,t){return A.visitInt(this,t)}covariant(A){return"bigint"==typeof A||Number.isInteger(A)}encodeValue(A){return Q(A)}encodeType(){return Q(-4)}decodeValue(A,t){return this.checkType(t),C(A)}get name(){return"int"}valueToString(A){return A.toString()}}class U extends D{accept(A,t){return A.visitNat(this,t)}covariant(A){return"bigint"==typeof A&&A>=BigInt(0)||Number.isInteger(A)&&A>=0}encodeValue(A){return h(A)}encodeType(){return Q(-3)}decodeValue(A,t){return this.checkType(t),f(A)}get name(){return"nat"}valueToString(A){return A.toString()}}class x extends D{constructor(A){if(super(),this._bits=A,32!==A&&64!==A)throw new Error("not a valid float type")}accept(A,t){return A.visitFloat(this,t)}covariant(A){return"number"==typeof A||A instanceof Number}encodeValue(A){const t=new ArrayBuffer(this._bits/8),e=new DataView(t);return 32===this._bits?e.setFloat32(0,A,!0):e.setFloat64(0,A,!0),t}encodeType(){return Q(32===this._bits?-13:-14)}decodeValue(A,t){this.checkType(t);const e=u(A,this._bits/8),r=new DataView(e);return 32===this._bits?r.getFloat32(0,!0):r.getFloat64(0,!0)}get name(){return"float"+this._bits}valueToString(A){return A.toString()}}class q extends D{constructor(A){super(),this._bits=A}accept(A,t){return A.visitFixedInt(this,t)}covariant(A){const t=p(this._bits-1)*BigInt(-1),e=p(this._bits-1)-BigInt(1);if("bigint"==typeof A)return A>=t&&A<=e;if(Number.isInteger(A)){const r=BigInt(A);return r>=t&&r<=e}return!1}encodeValue(A){return d(A,this._bits/8)}encodeType(){return Q(-9-(Math.log2(this._bits)-3))}decodeValue(A,t){this.checkType(t);const e=function(A,t){let e=l(A,t);const r=BigInt(2)**(BigInt(8)*BigInt(t-1)+BigInt(7));return e>=r&&(e-=r*BigInt(2)),e}(A,this._bits/8);return this._bits<=32?Number(e):e}get name(){return`int${this._bits}`}valueToString(A){return A.toString()}}class L extends D{constructor(A){super(),this._bits=A}accept(A,t){return A.visitFixedNat(this,t)}covariant(A){const t=p(this._bits);return"bigint"==typeof A&&A>=BigInt(0)?A=0)&&BigInt(A)this._type.covariant(A)))}encodeValue(A){const t=h(A.length);if(this._blobOptimization)return g(t,new Uint8Array(A));if(ArrayBuffer.isView(A))return g(t,new Uint8Array(A.buffer));const e=new c(new ArrayBuffer(t.byteLength+A.length),0);e.write(t);for(const t of A){const A=this._type.encodeValue(t);e.write(new Uint8Array(A))}return e.buffer}_buildTypeTableImpl(A){this._type.buildTypeTable(A);const t=Q(-19),e=this._type.encodeType(A);A.add(this,g(t,e))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof H))throw new Error("Not a vector type");const r=Number(f(A));if(this._type instanceof L){if(8==this._type._bits)return new Uint8Array(A.read(r));if(16==this._type._bits)return new Uint16Array(A.read(2*r));if(32==this._type._bits)return new Uint32Array(A.read(4*r));if(64==this._type._bits)return new BigUint64Array(A.read(8*r))}if(this._type instanceof q){if(8==this._type._bits)return new Int8Array(A.read(r));if(16==this._type._bits)return new Int16Array(A.read(2*r));if(32==this._type._bits)return new Int32Array(A.read(4*r));if(64==this._type._bits)return new BigInt64Array(A.read(8*r))}const i=[];for(let t=0;tthis._type.valueToString(A))).join("; ")+"}"}}class Y extends S{constructor(A){super(),this._type=A}accept(A,t){return A.visitOpt(this,this._type,t)}covariant(A){return Array.isArray(A)&&(0===A.length||1===A.length&&this._type.covariant(A[0]))}encodeValue(A){return 0===A.length?new Uint8Array([0]):g(new Uint8Array([1]),this._type.encodeValue(A[0]))}_buildTypeTableImpl(A){this._type.buildTypeTable(A);const t=Q(-18),e=this._type.encodeType(A);A.add(this,g(t,e))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof Y))throw new Error("Not an option type");switch(E(A)){case 0:return[];case 1:return[this._type.decodeValue(A,e._type)];default:throw new Error("Not an option value")}}get name(){return`opt ${this._type.name}`}display(){return`opt ${this._type.display()}`}valueToString(A){return 0===A.length?"null":`opt ${this._type.valueToString(A[0])}`}}class J extends S{constructor(A={}){super(),this._fields=Object.entries(A).sort(((A,t)=>B(A[0])-B(t[0])))}accept(A,t){return A.visitRecord(this,this._fields,t)}tryAsTuple(){const A=[];for(let t=0;t{if(!A.hasOwnProperty(t))throw new Error(`Record is missing key "${t}".`);return e.covariant(A[t])}))}encodeValue(A){const t=this._fields.map((([t])=>A[t]));return g(...y(this._fields,t,(([,A],t)=>A.encodeValue(t))))}_buildTypeTableImpl(A){this._fields.forEach((([t,e])=>e.buildTypeTable(A)));const t=Q(-20),e=h(this._fields.length),r=this._fields.map((([t,e])=>g(h(B(t)),e.encodeType(A))));A.add(this,g(t,e,g(...r)))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof J))throw new Error("Not a record type");const r={};let i=0,n=0;for(;n=this._fields.length){o.decodeValue(A,o),n++;continue}const[a,s]=this._fields[i];if(B(this._fields[i][0])===B(t))r[a]=s.decodeValue(A,o),i++,n++;else{if(s instanceof Y||s instanceof _){r[a]=[],i++;continue}o.decodeValue(A,o),n++}}for(const[A,t]of this._fields.slice(i)){if(!(t instanceof Y||t instanceof _))throw new Error("Cannot find required field "+A);r[A]=[]}return r}get name(){return`record {${this._fields.map((([A,t])=>A+":"+t.name)).join("; ")}}`}display(){return`record {${this._fields.map((([A,t])=>A+":"+t.display())).join("; ")}}`}valueToString(A){const t=this._fields.map((([t])=>A[t]));return`record {${y(this._fields,t,(([A,t],e)=>A+"="+t.valueToString(e))).join("; ")}}`}}class T extends J{constructor(A){const t={};A.forEach(((A,e)=>t["_"+e+"_"]=A)),super(t),this._components=A}accept(A,t){return A.visitTuple(this,this._components,t)}covariant(A){return Array.isArray(A)&&A.length>=this._fields.length&&this._components.every(((t,e)=>t.covariant(A[e])))}encodeValue(A){return g(...y(this._components,A,((A,t)=>A.encodeValue(t))))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof T))throw new Error("not a tuple type");if(e._components.length=this._components.length?i.decodeValue(A,i):r.push(this._components[t].decodeValue(A,i));return r}display(){return`record {${this._components.map((A=>A.display())).join("; ")}}`}valueToString(A){return`record {${y(this._components,A,((A,t)=>A.valueToString(t))).join("; ")}}`}}class O extends S{constructor(A={}){super(),this._fields=Object.entries(A).sort(((A,t)=>B(A[0])-B(t[0])))}accept(A,t){return A.visitVariant(this,this._fields,t)}covariant(A){return"object"==typeof A&&1===Object.entries(A).length&&this._fields.every((([t,e])=>!A.hasOwnProperty(t)||e.covariant(A[t])))}encodeValue(A){for(let t=0;t{t.buildTypeTable(A)}));const t=Q(-21),e=h(this._fields.length),r=this._fields.map((([t,e])=>g(h(B(t)),e.encodeType(A))));A.add(this,g(t,e,...r))}decodeValue(A,t){const e=this.checkType(t);if(!(e instanceof O))throw new Error("Not a variant type");const r=Number(f(A));if(r>=e._fields.length)throw Error("Invalid variant index: "+r);const[i,n]=e._fields[r];for(const[t,e]of this._fields)if(B(i)===B(t))return{[t]:e.decodeValue(A,n)};throw new Error("Cannot find field hash "+i)}get name(){return`variant {${this._fields.map((([A,t])=>A+":"+t.name)).join("; ")}}`}display(){return`variant {${this._fields.map((([A,t])=>A+("null"===t.name?"":`:${t.display()}`))).join("; ")}}`}valueToString(A){for(const[t,e]of this._fields)if(A.hasOwnProperty(t)){const r=e.valueToString(A[t]);return"null"===r?`variant {${t}}`:`variant {${t}=${r}}`}throw new Error("Variant has no data: "+A)}}class K extends S{constructor(){super(...arguments),this._id=K._counter++,this._type=void 0}accept(A,t){if(!this._type)throw Error("Recursive type uninitialized.");return A.visitRec(this,this._type,t)}fill(A){this._type=A}getType(){return this._type}covariant(A){return!!this._type&&this._type.covariant(A)}encodeValue(A){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.encodeValue(A)}_buildTypeTableImpl(A){if(!this._type)throw Error("Recursive type uninitialized.");A.add(this,new Uint8Array([])),this._type.buildTypeTable(A),A.merge(this,this._type.name)}decodeValue(A,t){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.decodeValue(A,t)}get name(){return`rec_${this._id}`}display(){if(!this._type)throw Error("Recursive type uninitialized.");return`μ${this.name}.${this._type.name}`}valueToString(A){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.valueToString(A)}}function j(A){if(1!==E(A))throw new Error("Cannot decode principal");const t=Number(f(A));return a.fromUint8Array(new Uint8Array(u(A,t)))}K._counter=0;class P extends D{accept(A,t){return A.visitPrincipal(this,t)}covariant(A){return A&&A._isPrincipal}encodeValue(A){const t=A.toUint8Array(),e=h(t.byteLength);return g(new Uint8Array([1]),e,t)}encodeType(){return Q(-24)}decodeValue(A,t){return this.checkType(t),j(A)}get name(){return"principal"}valueToString(A){return`${this.name} "${A.toText()}"`}}class W extends S{constructor(A,t,e=[]){super(),this.argTypes=A,this.retTypes=t,this.annotations=e}static argsToString(A,t){if(A.length!==t.length)throw new Error("arity mismatch");return"("+A.map(((A,e)=>A.valueToString(t[e]))).join(", ")+")"}accept(A,t){return A.visitFunc(this,t)}covariant(A){return Array.isArray(A)&&2===A.length&&A[0]&&A[0]._isPrincipal&&"string"==typeof A[1]}encodeValue([A,t]){const e=A.toUint8Array(),r=h(e.byteLength),i=g(new Uint8Array([1]),r,e),n=(new TextEncoder).encode(t),o=h(n.byteLength);return g(new Uint8Array([1]),i,o,n)}_buildTypeTableImpl(A){this.argTypes.forEach((t=>t.buildTypeTable(A))),this.retTypes.forEach((t=>t.buildTypeTable(A)));const t=Q(-22),e=h(this.argTypes.length),r=g(...this.argTypes.map((t=>t.encodeType(A)))),i=h(this.retTypes.length),n=g(...this.retTypes.map((t=>t.encodeType(A)))),o=h(this.annotations.length),a=g(...this.annotations.map((A=>this.encodeAnnotation(A))));A.add(this,g(t,e,r,i,n,o,a))}decodeValue(A){if(1!==E(A))throw new Error("Cannot decode function reference");const t=j(A),e=u(A,Number(f(A)));return[t,new TextDecoder("utf8",{fatal:!0}).decode(e)]}get name(){return`(${this.argTypes.map((A=>A.name)).join(", ")}) -> (${this.retTypes.map((A=>A.name)).join(", ")})${" "+this.annotations.join(" ")}`}valueToString([A,t]){return`func "${A.toText()}".${t}`}display(){return`(${this.argTypes.map((A=>A.display())).join(", ")}) → (${this.retTypes.map((A=>A.display())).join(", ")})${" "+this.annotations.join(" ")}`}encodeAnnotation(A){if("query"===A)return new Uint8Array([1]);if("oneway"===A)return new Uint8Array([2]);throw new Error("Illegal function annotation")}}class V extends S{constructor(A){super(),this._fields=Object.entries(A).sort(((A,t)=>B(A[0])-B(t[0])))}accept(A,t){return A.visitService(this,t)}covariant(A){return A&&A._isPrincipal}encodeValue(A){const t=A.toUint8Array(),e=h(t.length);return g(new Uint8Array([1]),e,t)}_buildTypeTableImpl(A){this._fields.forEach((([t,e])=>e.buildTypeTable(A)));const t=Q(-23),e=h(this._fields.length),r=this._fields.map((([t,e])=>{const r=(new TextEncoder).encode(t);return g(h(r.length),r,e.encodeType(A))}));A.add(this,g(t,e,...r))}decodeValue(A){return j(A)}get name(){return`service {${this._fields.map((([A,t])=>A+":"+t.name)).join("; ")}}`}valueToString(A){return`service "${A.toText()}"`}}function z(A){return JSON.stringify(A,((A,t)=>"bigint"==typeof t?`BigInt(${t})`:t))}function Z(A,t){if(t.lengthA.buildTypeTable(e)));const r=(new TextEncoder).encode(w),i=e.encode(),n=h(t.length),o=g(...A.map((A=>A.encodeType(e)))),a=g(...y(A,t,((A,t)=>{if(!A.covariant(t))throw new Error(`Invalid ${A.display()} argument: ${z(t)}`);return A.encodeValue(t)})));return g(r,i,n,o,a)}function X(A,t){const e=new c(t);if(t.byteLength=Math.pow(2,32))throw new Error("field id out of 32-bit range");if("number"==typeof i&&i>=t)throw new Error("field id collision or not sorted");i=t;const e=Number(C(A));r.push([t,e])}t.push([e,r]);break}case-22:{const r=[];let i=Number(f(A));for(;i--;)r.push(Number(C(A)));const n=[];let o=Number(f(A));for(;o--;)n.push(Number(C(A)));const a=[];let s=Number(f(A));for(;s--;)switch(Number(f(A))){case 1:a.push("query");break;case 2:a.push("oneway");break;default:throw new Error("unknown annotation")}t.push([e,[r,n,a]]);break}case-23:{let r=Number(f(A));const i=[];for(;r--;){const t=Number(f(A)),e=(new TextDecoder).decode(u(A,t)),r=C(A);i.push([e,r])}t.push([e,i]);break}default:throw new Error("Illegal op_code: "+e)}}const r=[],i=Number(f(A));for(let t=0;tyA()));function s(A){if(A<-24)throw new Error("future value not supported");if(A<0)switch(A){case-1:return rA;case-2:return eA;case-3:return oA;case-4:return nA;case-5:return uA;case-6:return EA;case-7:return hA;case-8:return fA;case-9:return gA;case-10:return cA;case-11:return BA;case-12:return IA;case-13:return aA;case-14:return sA;case-15:return iA;case-16:return AA;case-17:return $;case-24:return QA;default:throw new Error("Illegal op_code: "+A)}if(A>=n.length)throw new Error("type index out of range");return a[A]}n.forEach(((A,t)=>{const e=function(A){switch(A[0]){case-19:return dA(s(A[1]));case-18:return lA(s(A[1]));case-20:{const t={};for(const[e,r]of A[1])t[`_${e}_`]=s(r);const e=pA(t),r=e.tryAsTuple();return Array.isArray(r)?CA(...r):e}case-21:{const t={};for(const[e,r]of A[1])t[`_${e}_`]=s(r);return wA(t)}case-22:{const[t,e,r]=A[1];return bA(t.map((A=>s(A))),e.map((A=>s(A))),r)}case-23:{const t={},e=A[1];for(const[A,r]of e){let e=s(r);if(e instanceof K&&(e=e.getType()),!(e instanceof W))throw new Error("Illegal service definition: services can only contain functions");t[A]=e}return mA(t)}default:throw new Error("Illegal op_code: "+A[0])}}(A);a[t].fill(e)}));const g=o.map((A=>s(A))),B=A.map(((A,t)=>A.decodeValue(e,g[t])));for(let t=A.length;t0)throw new Error("decode: Left-over bytes");return B}const $=new k,AA=new _,tA=new M,eA=new G,rA=new N,iA=new R,nA=new F,oA=new U,aA=new x(32),sA=new x(64),gA=new q(8),cA=new q(16),BA=new q(32),IA=new q(64),uA=new L(8),EA=new L(16),hA=new L(32),fA=new L(64),QA=new P;function CA(...A){return new T(A)}function dA(A){return new H(A)}function lA(A){return new Y(A)}function pA(A){return new J(A)}function wA(A){return new O(A)}function yA(){return new K}function bA(A,t,e=[]){return new W(A,t,e)}function mA(A){return new V(A)}var vA=__webpack_require__(7756);function DA(...A){const t=new Uint8Array(A.reduce(((A,t)=>A+t.byteLength),0));let e=0;for(const r of A)t.set(new Uint8Array(r),e),e+=r.byteLength;return t.buffer}function SA(A){return[...new Uint8Array(A)].map((A=>A.toString(16).padStart(2,"0"))).join("")}const kA=new RegExp(/^([0-9A-F]{2})*$/i);function MA(A){if(!kA.test(A))throw new Error("Invalid hexadecimal string.");const t=[...A].reduce(((A,t,e)=>(A[e/2|0]=(A[e/2|0]||"")+t,A)),[]).map((A=>Number.parseInt(A,16)));return new Uint8Array(t).buffer}function GA(A){return o.sha256.create().update(new Uint8Array(A)).arrayBuffer()}function NA(A){if(A instanceof vA.Tagged)return NA(A.value);if("string"==typeof A)return _A(A);if("number"==typeof A)return GA(h(A));if(A instanceof ArrayBuffer||ArrayBuffer.isView(A))return GA(A);if(Array.isArray(A))return GA(DA(...A.map(NA)));if(A&&"object"==typeof A&&A._isPrincipal)return GA(A.toUint8Array());if("object"==typeof A&&null!==A&&"function"==typeof A.toHash)return NA(A.toHash());if("bigint"==typeof A)return GA(h(A));throw Object.assign(new Error(`Attempt to hash a value of unsupported type: ${A}`),{value:A})}const _A=A=>GA((new TextEncoder).encode(A));function RA(A){return GA(DA(...Object.entries(A).filter((([,A])=>void 0!==A)).map((([A,t])=>[_A(A),NA(t)])).sort((([A],[t])=>function(A,t){if(A.byteLength!==t.byteLength)return A.byteLength-t.byteLength;const e=new Uint8Array(A),r=new Uint8Array(t);for(let A=0;ADA(...A)))))}const FA=(new TextEncoder).encode("\nic-request");class UA{getPrincipal(){return this._principal||(this._principal=a.selfAuthenticating(new Uint8Array(this.getPublicKey().toDer()))),this._principal}async transformRequest(A){const{body:t}=A,e=function(A,t){var e={};for(var r in A)Object.prototype.hasOwnProperty.call(A,r)&&t.indexOf(r)<0&&(e[r]=A[r]);if(null!=A&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(A);iBigInt(0)?qA.value.tagged(2,qA.value.bytes(MA(A.toString(16)))):qA.value.tagged(3,qA.value.bytes(MA((BigInt("-1")*A).toString(16))))}}),function(A){A[A.Uint64LittleEndian=71]="Uint64LittleEndian",A[A.Semantic=55799]="Semantic"}(HA||(HA={}));class OA extends vA.Decoder{createByteString(A){return DA(...A)}createByteStringFromHeap(A,t){return A===t?new ArrayBuffer(0):new Uint8Array(this._heap.slice(A,t))}}function KA(A){const t=new Uint8Array(A);return new OA({size:t.byteLength,tags:{2:A=>TA(A),3:A=>-TA(A),[HA.Semantic]:A=>A}}).decodeFirst(t)}function jA(){const A=new ArrayBuffer(16),t=new DataView(A),e=BigInt(+Date.now()),r=Math.floor(4294967295*Math.random()),i=Math.floor(4294967295*Math.random());if("function"==typeof t.setBigUint64)t.setBigUint64(0,e);else{const A=BigInt(1)<>BigInt(32))),t.setUint32(4,Number(e%A))}return t.setUint32(8,r),t.setUint32(12,i),A}!function(A){A.Call="call"}(YA||(YA={}));const PA=BigInt(1e6),WA=BigInt(6e4);class VA{constructor(A){this._value=(BigInt(Date.now())+BigInt(A)-WA)*PA}toCBOR(){return qA.value.u64(this._value.toString(16),16)}toHash(){return h(this._value)}}var zA;!function(A){A.Received="received",A.Processing="processing",A.Replied="replied",A.Rejected="rejected",A.Unknown="unknown",A.Done="done"}(zA||(zA={}));const ZA=3e5;class XA extends s{constructor(A){super(A),this.message=A}}class $A extends s{constructor(A){super(A),this.message=A}}class At{constructor(A={}){if(this.rootKey=MA("308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100814c0e6ec71fab583b08bd81373c255c3c371b2e84863c98a4f1e08b74235d14fb5d9c0cd546d9685f913a0c0b2cc5341583bf4b4392e467db96d65b9bb4cb717112f8472e0d5a4d14505ffd7484b01291091c5f87b98883463f98091a0baaae"),this._pipeline=[],this._rootKeyFetched=!1,A.source){if(!(A.source instanceof At))throw new Error("An Agent's source can only be another HttpAgent");this._pipeline=[...A.source._pipeline],this._identity=A.source._identity,this._fetch=A.source._fetch,this._host=A.source._host,this._credentials=A.source._credentials}else this._fetch=A.fetch||function(){let A;if("undefined"!=typeof window){if(!window.fetch)throw new XA("Fetch implementation was not available. You appear to be in a browser context, but window.fetch was not present.");A=window.fetch.bind(window)}else if(void 0!==__webpack_require__.g){if(!__webpack_require__.g.fetch)throw new XA("Fetch implementation was not available. You appear to be in a Node.js context, but global.fetch was not available.");A=__webpack_require__.g.fetch.bind(__webpack_require__.g)}else"undefined"!=typeof self&&self.fetch&&(A=self.fetch.bind(self));if(A)return A;throw new XA("Fetch implementation was not available. Please provide fetch to the HttpAgent constructor, or ensure it is available in the window or global context.")}()||fetch.bind(__webpack_require__.g);if(void 0!==A.host)A.host.match(/^[a-z]+:/)||"undefined"==typeof window?this._host=new URL(A.host):this._host=new URL(window.location.protocol+"//"+A.host);else if(void 0!==A.source)this._host=A.source._host;else{const A="undefined"!=typeof window?window.location:void 0;if(!A)throw new Error("Must specify a host to connect to.");this._host=new URL(A+"")}if(this._host.hostname.endsWith(".ic0.app")&&(this._host.hostname="ic0.app"),A.credentials){const{name:t,password:e}=A.credentials;this._credentials=`${t}${e?":"+e:""}`}this._identity=Promise.resolve(A.identity||new xA),A.disableNonce||this.addTransform(function(A=jA){return async t=>{"call"===t.endpoint&&(t.body.nonce=A())}}(jA))}addTransform(A,t=A.priority||0){const e=this._pipeline.findIndex((A=>(A.priority||0)=0?e:this._pipeline.length,0,Object.assign(A,{priority:t}))}async getPrincipal(){if(!this._identity)throw new $A("This identity has expired due this application's security policy. Please refresh your authentication.");return(await this._identity).getPrincipal()}async call(A,t,e){const r=await(void 0!==e?await e:await this._identity);if(!r)throw new $A("This identity has expired due this application's security policy. Please refresh your authentication.");const i=a.from(A),n=t.effectiveCanisterId?a.from(t.effectiveCanisterId):i,o=r.getPrincipal()||a.anonymous(),s={request_type:YA.Call,canister_id:i,method_name:t.methodName,arg:t.arg,sender:o,ingress_expiry:new VA(ZA)};let g=await this._transform({request:{body:null,method:"POST",headers:Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{})},endpoint:"call",body:s});g=await r.transformRequest(g);const c=JA(g.body),[B,I]=await Promise.all([this._fetch(""+new URL(`/api/v2/canister/${n.toText()}/call`,this._host),Object.assign(Object.assign({},g.request),{body:c})),RA(s)]);if(!B.ok)throw new Error(`Server returned an error:\n Code: ${B.status} (${B.statusText})\n Body: ${await B.text()}\n`);return{requestId:I,response:{ok:B.ok,status:B.status,statusText:B.statusText}}}async query(A,t,e){const r=await(void 0!==e?await e:await this._identity);if(!r)throw new $A("This identity has expired due this application's security policy. Please refresh your authentication.");const i="string"==typeof A?a.fromText(A):A,n=(null==r?void 0:r.getPrincipal())||a.anonymous(),o={request_type:"query",canister_id:i,method_name:t.methodName,arg:t.arg,sender:n,ingress_expiry:new VA(ZA)};let s=await this._transform({request:{method:"POST",headers:Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{})},endpoint:"read",body:o});s=await(null==r?void 0:r.transformRequest(s));const g=JA(s.body),c=await this._fetch(""+new URL(`/api/v2/canister/${i.toText()}/query`,this._host),Object.assign(Object.assign({},s.request),{body:g}));if(!c.ok)throw new Error(`Server returned an error:\n Code: ${c.status} (${c.statusText})\n Body: ${await c.text()}\n`);return KA(await c.arrayBuffer())}async createReadStateRequest(A,t){const e=await(void 0!==t?await t:await this._identity);if(!e)throw new $A("This identity has expired due this application's security policy. Please refresh your authentication.");const r=(null==e?void 0:e.getPrincipal())||a.anonymous(),i=await this._transform({request:{method:"POST",headers:Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{})},endpoint:"read_state",body:{request_type:"read_state",paths:A.paths,sender:r,ingress_expiry:new VA(ZA)}});return null==e?void 0:e.transformRequest(i)}async readState(A,t,e,r){const i="string"==typeof A?a.fromText(A):A,n=null!=r?r:await this.createReadStateRequest(t,e),o=JA(n.body),s=await this._fetch(""+new URL(`/api/v2/canister/${i}/read_state`,this._host),Object.assign(Object.assign({},n.request),{body:o}));if(!s.ok)throw new Error(`Server returned an error:\n Code: ${s.status} (${s.statusText})\n Body: ${await s.text()}\n`);return KA(await s.arrayBuffer())}async status(){const A=this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{},t=await this._fetch(""+new URL("/api/v2/status",this._host),{headers:A});if(!t.ok)throw new Error(`Server returned an error:\n Code: ${t.status} (${t.statusText})\n Body: ${await t.text()}\n`);return KA(await t.arrayBuffer())}async fetchRootKey(){return this._rootKeyFetched||(this.rootKey=(await this.status()).root_key,this._rootKeyFetched=!0),this.rootKey}invalidateIdentity(){this._identity=null}replaceIdentity(A){this._identity=Promise.resolve(A)}_transform(A){let t=Promise.resolve(A);for(const A of this._pipeline)t=t.then((t=>A(t).then((A=>A||t))));return t}}var tt;function et(){const A="undefined"==typeof window?void 0===__webpack_require__.g?"undefined"==typeof self?void 0:self.ic.agent:__webpack_require__.g.ic.agent:window.ic.agent;if(!A)throw new Error("No Agent could be found.");return A}!function(A){A.Error="err",A.GetPrincipal="gp",A.GetPrincipalResponse="gpr",A.Query="q",A.QueryResponse="qr",A.Call="c",A.CallResponse="cr",A.ReadState="rs",A.ReadStateResponse="rsr",A.Status="s",A.StatusResponse="sr"}(tt||(tt={}));var rt=({IDL:A})=>{const t=A.Principal,e=A.Record({controllers:A.Vec(A.Principal),freezing_threshold:A.Nat,memory_allocation:A.Nat,compute_allocation:A.Nat}),r=A.Record({controllers:A.Opt(A.Vec(A.Principal)),freezing_threshold:A.Opt(A.Nat),memory_allocation:A.Opt(A.Nat),compute_allocation:A.Opt(A.Nat)}),i=A.Vec(A.Nat8);return A.Service({canister_status:A.Func([A.Record({canister_id:t})],[A.Record({status:A.Variant({stopped:A.Null,stopping:A.Null,running:A.Null}),memory_size:A.Nat,cycles:A.Nat,settings:e,module_hash:A.Opt(A.Vec(A.Nat8))})],[]),create_canister:A.Func([A.Record({settings:A.Opt(r)})],[A.Record({canister_id:t})],[]),delete_canister:A.Func([A.Record({canister_id:t})],[],[]),deposit_cycles:A.Func([A.Record({canister_id:t})],[],[]),install_code:A.Func([A.Record({arg:A.Vec(A.Nat8),wasm_module:i,mode:A.Variant({reinstall:A.Null,upgrade:A.Null,install:A.Null}),canister_id:t})],[],[]),provisional_create_canister_with_cycles:A.Func([A.Record({settings:A.Opt(r),amount:A.Opt(A.Nat)})],[A.Record({canister_id:t})],[]),provisional_top_up_canister:A.Func([A.Record({canister_id:t,amount:A.Nat})],[],[]),raw_rand:A.Func([],[A.Vec(A.Nat8)],[]),start_canister:A.Func([A.Record({canister_id:t})],[],[]),stop_canister:A.Func([A.Record({canister_id:t})],[],[]),uninstall_code:A.Func([A.Record({canister_id:t})],[],[]),update_settings:A.Func([A.Record({canister_id:A.Principal,settings:r})],[],[])})};function it(A){function t(A,t,e){const r=t[0];let i=a.fromHex("");return r&&"object"==typeof r&&r.canister_id&&(i=a.from(r.canister_id)),{effectiveCanisterId:i}}return Dt.createActor(rt,Object.assign(Object.assign(Object.assign({},A),{canisterId:a.fromHex("")}),{callTransform:t,queryTransform:t}))}let nt;const ot=__webpack_require__(3704).J("AGFzbQEAAAABXg9gAn9/AGABfwBgAX8Bf2ADf39/AGACf38Bf2ADf39/AX9gBH9/f38AYAF/AX5gBX9/f39/AGAAAX9gBn9/f39/fwBgBn9/f39/fwF/YAJ/fwF+YAV/fn5+fgBgAAAD3wHdAQIAAAABAwoAAAAIBgQAAwEDAAEBAQAAAQAJAQMAAwEACAEDAwQAAwsADAIBAAEADQMEAAAAAgEBAAABAwABAQMEAAEBAQEBAQEAAAMBAgUABAEFBAEBAgIEAwQDAAAAAwAAAAABDgABAgAAAAEAAwMAAQMAAwYCAAAABAABAAABAQYBAwAAAgICAgIBAAMABAACAQAAAwAAAAAAAQEBAQIAAAEEAQMAAAABAAAEAgABAQEBAQEBAQEBBAQAAgMAAAABAAICAAIEBAEBAgICAgAEBQQEAgIJBwcHAQMDBAUBcAESEgUDAQARBgkBfwFBgIDAAAsHNwQGbWVtb3J5AgAIYmxzX2luaXQA1gEKYmxzX3ZlcmlmeQAnEV9fd2JpbmRnZW5fbWFsbG9jAGgJIQEAQQELEcgBQdoBTroBQH/XAdgBgAEcJVy7AccB2gHZAQr44QLdAd0hAg9/AX4jAEEQayIIJAACQAJAIABB9QFPBEBBgIB8QQhBCBCjAUEUQQgQowFqQRBBCBC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gQ0AEaIAJBuAVqQQE2AgAgAkHABWpBOBDQARogAkH4BWpBATYCACACQYAGakE4ENABGiACQQE2ArgGIAJBwAZqQTgQ0AEaIAJB+AZqQQE2AgAgAkGAB2pBOBDQARogAkG4B2pBATYCACACQcAHakE4ENABGiACQfgHakEBNgIAIAIgARAYAkAgASgCgAZBBEYNACAAKAKABkEERg0AIAJBgARqIgMgAEGAAmoQlgEgAyABQYACahAYDAYLIAJBwAxqIgdBOBDQARogAkEBNgL4DCACQYANakE4ENABGiACQbgNakEBNgIAIAJBgAhqIgRBOBDQARogAkEBNgK4CCACQcAIakE4ENABGiACQfgIakEBNgIAIAJBgApqIgMgAEGAA2oiBRBeIAQgAxCZASADIAFBgANqIgYQXiAEIAMQESAHELYBIAEoAoAGQQRHDQMMBAsgACABEAMMBgsgAkHADGoiAyABQYAFahBeIAJBgAxqIgQgA0HAABDRARogAkGABmogBBCnAQsgAkGABmoQZCACQYAIaiIDIAIQlgEgAxArIAJBgAJqIgQgAxCXASAGIAQQlgEgAkGABGoiByADEJYBIAMgABCWASADIAUQlwEgAxCwASACQYAKaiIEIAEQlgEgBCABQYAEahCXASAEELABIAMgBBAYIAcgAxCXASADIAUQlgECQCABKAKABkECRwRAIAJBwAxqIgMgAUGABWoQXiACQYAIaiADEKYBDAELIAJBwAxqIgMgAUGABWoQXiACQYAMaiIBIANBwAAQ0QEaIAJBgAhqIAEQpwELIAJBgAhqIgEQZCACQYAKaiIDIAEQlgEgAxArIAUgAkGABGoQlgEgBSADEJcBIAJBgAZqIgQgAxCXASABEGQgBiABEJcBIAQQsAEgBBBkIAAgAhCWASAAIAQQlwEMAwsgAkGACmoiAyAFEF4gAkHADGoiBCADEJkBIAMgAUGAAmoQXiAEIAMQEQsgACgCgAZBBEcEQCACQYAKaiIDIABBgAJqEF4gAkHADGoiBCADEJkBIAMgBhBeIAQgAxARCyACQYAEaiIDIAJBwAxqIAJBgAhqEKUBIAMQZAsgAkGACGoiAyAAEIwBIAJBgApqIgQg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pASACQYAHaiIBIAcQXiABIAYQmgEgARCpASAHIAYQeyAHEKkBIARBDBCrASAEEHwgBBCpASADIAQQmQEgAyAFEBEgBiAIEJkBIAYgBxARIAMgBhC/ASAEIAIQESAHIAEQESAEIAcQmgEgAiAIEBEgASAFEBEgASACEJoBIAAgAxCZASAAEKkBIAkgBBCZASAJEKkBIAogARCZASAKEKkBIAJBgAhqJAAL8gMBCn8jAEGABGsiAiQAIAIgABCQASACIAEQSiACQUBrIgYgAEFAayIJEJABIAYgAUFAayIEEEogAkGAAWoiByAAQYABaiIKEJABIAcgAUGAAWoiCxBKIAJBwAFqIgggABCQASAIIAkQdyAIEEIgAkGAAmoiBSABEJABIAUgBBB3IAUQQiAIIAUQSiAFIAIQrgEgBSAGEHcgCCAFEH4gAkHAAWoQQiAFIAkQrgEgBSAKEHcgAkGAAmoQQiACQcACaiIDIAQQkAEgAyALEHcgAxBCIAUgAxBKIAMgBhCuASADIAcQdyAFIAMQfiACQYACahBCIAMgABCuASADIAoQdyACQcACahBCIAJBgANqIgQgARCQASAEIAsQdyAEEEIgAyAEEEogBCACEK4BIAQgBxB3IAQgAxDCASACQYADahBCIAMgAhCuASADIAIQdyACIAMQdyACEEIgB0EMEDQgAkHAA2oiASAGEJABIAEgBxB3IAEQQiAGIAcQfiAGEEIgBEEMEDQgAyAEEK4BIAMgBRBKIAcgCBCuASAHIAYQSiADIAcQwgEgBCACEEogBiABEEogBCAGEHcgAiAIEEogASAFEEogASACEHcgACADEK4BIAAQQiAJIAQQrgEgCRBCIAogARCuASAKEEIgAkGABGokAAu/BQEJfyMAQYALayIHJAAgB0E4ENABIgVBATYCOCAFQUBrQTgQ0AEaIAVB+ABqQQE2AgAgBUGAAWpBOBDQARogBUG4AWpBATYCACAFQcABakE4ENABGiAFQfgBakEBNgIAIAVBgAJqIg1BOBDQARogBUEBNgK4AiAFQcACakE4ENABGiAFQfgCakEBNgIAIAVBgANqQTgQ0AEaIAVBuANqQQE2AgAgBUHAA2pBOBDQAR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0AEaIANB+AFqED0CQCACEIYBBEAgABBVDAELIANB+ARqIgQQPSAEIAEQfSAEEEcgA0H4B2oiARBnIAEgAhB4IAEQRiADQcgcaiICIAEQkAEgA0G4CWogAhCQASACIANBuAhqEJABIANB+AlqIAIQkAEgA0G4CmoiARA9IANBuA1qEFUgASAEEH0gA0HAE2oiARA9IAEgBBB9IAEQogEgA0HAAWogA0GIAWoQUEECayECA0AgAkEBakEBTQRAIANBuA1qIgEQngEgACABQYgGENEBGgUgA0G4DWoQGiADQcAWaiADQbgKaiADQbgJaiADQfgJahALAkACQAJAIANBwAFqIAIQUyADQYgBaiACEFNrQQFqDgMBAgACCyADQcgcaiIBIANBuApqIANB+ARqIANBuAlqIANB+AlqEAogA0HAFmogARADDAELIANByBxqIgEgA0G4CmogA0HAE2ogA0G4CWogA0H4CWoQCiADQcAWaiABEAMLIAJBAWshAiADQbgNaiADQcAWahABDAELCwsgA0HQImokAAvBAwEVfwNAIANBwAFGBEACQCAAQShqIQsgAEEUaigCACIMIQggAEEQaigCACINIQIgAEEMaigCACIOIQEgACgCCCIPIQMgAEEYaigCACIQIQogAEEcaigCACIRIQQgAEEgaigCACISIQcgAEEkaigCACITIQYDQCAHIQkgBCEHIAohBCAFQYACRg0BIAEgAnEhFCABIAJzIRUgBSALaigCACAFQcCiwABqKAIAIAkgBEF/c3EgBCAHcXIgBmogBEEadyAEQRV3cyAEQQd3c2pqaiIGIAhqIQogBUEEaiEFIAIhCCABIQIgAyIBQR53IAFBE3dzIAFBCndzIBQgASAVcXNqIAZqIQMgCSEGDAALAAsFIAAgA2oiAkHoAGogAkEoaigCACACQcwAaigCACACQeAAaigCACIBQQ93IAFBDXdzIAFBCnZzamogAkEsaigCACIBQRl3IAFBDndzIAFBA3ZzajYCACADQQRqIQMMAQsLIAAgBiATajYCJCAAIAkgEmo2AiAgACAHIBFqNgIcIAAgBCAQajYCGCAAIAggDGo2AhQgACACIA1qNgIQIAAgASAOajYCDCAAIAMgD2o2AggL5AEBA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RqKQMAIAOtIgmGhDcDaCAEQQ1rIQUgAEHgAGohBCACQQFqIQZBACACQQN0ayEHQQshAwNAAkAgA0ECaiAGTQRAIAFBrAZPDQEgACACQQN0aiAAKQMAIAmGQv//////////A4M3AwADQCACRQ0HIABCADcDACACQQFrIQIgAEEIaiEADAALAAsgAyAFakEOTw0EIAQgBCAHaiIIQQhrKQMAIAqHIAgpAwAgCYZC//////////8Dg4Q3AwAgA0EBayEDIARBCGshBAwBCwsgAkEOQYCywAAQOwALIARBDkHQscAAEDsACyADQQ5B4LHAABA7AAtBf0EOQfCxwAAQOwALC6cCAQR/IABCADcCECAAAn9BACABQYACSQ0AGkEfIAFB////B0sNABogAUEGIAFBCHZnIgNrdkEBcSADQQF0a0E+agsiBDYCHCAEQQJ0Qey9wABqIQMgACECAkACQAJAAkBB4LvAACgCACIAQQEgBHQiBXEEQCADKAIAIQMgBBCfASEAIAMQywEgAUcNASADIQAMAgtB4LvAACAAIAVyNgIAIAMgAjYCAAwDCyABIAB0IQQDQCADIARBHXZBBHFqQRBqIgUoAgAiAEUNAiAEQQF0IQQgACIDEMsBIAFHDQALCyAAKAIIIgEgAjYCDCAAIAI2AgggAiAANgIMIAIgATYCCCACQQA2AhgPCyAFIAI2AgALIAIgAzYCGCACIAI2AgggAiACNgIMC7YCAQV/IAAoAhghBAJAAkAgACAAKAIMRgRAIABBFEEQIABBFGoiASgCACIDG2ooAgAiAg0BQQAhAQwCCyAAKAIIIgIgACgCDCIBNgIMIAEgAjYCCAwBCyABIABBEGogAxshAwNAIAMhBSACIgFBFGoiAygCACICRQRAIAFBEGohAyABKAIQIQILIAINAAsgBUEANgIACwJAIARFDQACQCAAIAAoAhxBAnRB7L3AAGoiAigCAEcEQCAEQRBBFCAEKAIQIABGG2ogATYCACABDQEMAgsgAiABNgIAIAENAEHgu8AAQeC7wAAoAgBBfiAAKAIcd3E2AgAPCyABIAQ2AhggACgCECICBEAgASACNgIQIAIgATYCGAsgAEEUaigCACIARQ0AIAFBFGogADYCACAAIAE2AhgLC+UBAQZ/IwBBgARrIgIkACACIAAQXiACQYABaiIFIABBgAFqIgYQXiACQYACaiIDQTgQ0AEaIAJBATYCuAIgAkHAAmpBOBDQARogAkH4AmpBATYCACACQYADaiIEIAYQXiACIAEQESAFIAFBgAFqIgcQESADIAcQmQEgAyABEJoBIAQgABCaASADEKkBIAQQqQEgBCADEBEgAyACEJkBIAMQNiAEIAMQmgEgBBCpASADIAUQmQEgAxA2IAYgBBCZASAGIAMQmgEgBRB8IAAgBRCZASAAIAIQmgEgABCwASACQYAEaiQAC28BDH9BjL/AACgCACICRQRAQZy/wABB/x82AgBBAA8LQYS/wAAhBgNAIAIiASgCCCECIAEoAgQhAyABKAIAIQQgAUEMaigCABogASEGIAVBAWohBSACDQALQZy/wAAgBUH/HyAFQf8fSxs2AgBBAAuAAgEGfyMAQYAIayIBJAAgACgCgAZBAUcEQCABIAAQjAEgAUGAAmoiAiAAQYACaiIEEIwBIAFBgARqIgUgAEGABGoiAxCMASABQYAGaiIGIAAQjAEgARAhIAIgAxAYIAIQswEgAhCwASAFECEgBiAEEBggBhCzASADIAAQlwEgAyAEEJcBIAMQsAEgAxAhIAAgARCWASABIAIQlwEgARCwASABIAUQlwEgASAGEJcBIAEQsAEgARArIAIQZCAFEGQgACACEJcBIAQgBRCWASAEIAYQlwEgAyABEJcBIABBBEEFIAAoAoAGQX5xQQJGGzYCgAYgABCdAQsgAUGACGokAAuZAgEBfyMAQYANayIDJAAgAyABEGkgAxCdASADQYgGaiIBIAIQXSABEEIgA0HABmoiAiABEF0gAkEDECkaIAIQQiADQfgGaiADEGkCQCACEFdFBEAgA0HABmoQKkECayECA0AgAkEBakEBTQRAIANB+AZqIgEQnAEMAwUgA0H4BmoQEwJAAkACQCADQcAGaiACEFMgA0GIBmogAhBTa0EBag4DAQIAAgsgA0H4BmogAxAHDAELIAMQngEgA0H4BmogAxAHIAMQngELIAJBAWshAgwBCwALAAsgA0H4BmoiARC3ASABQYABahC2ASABQY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IGsiAyQAAkAgASABIAJqIgFLDQAgAEEEaigCACICQQF0IgQgASABIARJGyIBQQggAUEISxshAQJAIAIEQCADQRhqQQE2AgAgAyACNgIUIAMgACgCADYCEAwBCyADQQA2AhALIAMgASADQRBqECYgAygCAARAIANBCGooAgAiAEUNASADKAIEIAAQzwEACyADKAIEIQIgAEEEaiABNgIAIAAgAjYCACADQSBqJAAPCxBlAAusAQECfyMAQYADayIDJAAgA0EIaiABEJABAkAgAgRAIANBCGogAhCuAQwBCyADQQhqEDoLIANByABqIgJB8LTAABBJIANBgAFqIAIQjgEgA0HAAWoiAiADQQhqIgQQkAEgAhBMIAIgARBKIAAgARCQASAAIAQQSiADQYACaiACEJABIAAQViEBIANBwAJqIgIgABCQASACEEMgAhBCIAAgAiABEHIgA0GAA2okAAueAQEFfyMAQYABayICJAAgAkE4ENABIgJBATYCOCACQUBrIgNBOBDQARogAkEBNgJ4IAIgABCuASACIAFBgAFqIgUQSiADIAEQrgEgAyAAQYABaiIGEEoCQCACIAMQWEUNACACIABBQGsQrgEgAiAFEEogAkFAayIAIAFBQGsQrgEgACAGEEogAiAAEFhFDQBBASEECyACQYABaiQAIAQLpwEBA38jAEEwayICJAAgAUEEaiEDIAEoAgRFBEAgASgCACEBIAJBEGoiBEEANgIAIAJCATcDCCACIAJBCGo2AhQgAkEoaiABQRBqKQIANwMAIAJBIGogAUEIaikCADcDACACIAEpAgA3AxggAkEUaiACQRhqEAwaIANBCGogBCgCADYCACADIAIpAwg3AgALIABBhLfAADYCBCAAIAM2AgAgAkEwaiQAC5UBAQJ/AkACQAJAAkACfwJAAkACf0EBIgMgAUEASA0AGiACKAIAIgRFDQEgAigCBCICDQQgAQ0CQQEMAwshA0EAIQEMBgsgAQ0AQQEMAQsgAUEBELkBCyICRQ0BDAILIAQgARCsASICDQELIAAgATYCBEEBIQEMAQsgACACNgIEQQAhAwsgACADNgIAIABBCGogATYCAAvvMwISfwV+IwBBMGsiDiQAIA5BEGogACABEFsgDiAOKAIUI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QfSADEEcgAEHwB2oiBRBnIAUgBBB4IAUQRiAAQbAJaiIEED0gBCAIEH0gBBBHIABBsAxqIggQZyAIIAIQeCAIEEYgAEGILmoiASAFEJABIABB8A1qIAEQkAEgASAAQbAIahCQASAAQbAOaiABEJABIAEgCBCQASAAQfAOaiABEJABIAEgAEHwDGoQkAEgAEGwD2ogARCQASAAQfAPaiIBED0gAEHwEmoiBRA9IABB8BVqEFUgASADEH0gBSAEEH0gAEH4G2oiARA9IAEgAxB9IAEQogEgAEH4HmoiARA9IAEgBBB9IAEQogEgAEG4AWogAEGAAWoQUEECayEBA0AgAUEBakEBTQRAIABB8BVqIgEQngEgByABQYgGENEBGgwDBSAAQfAVaiIEEBogAEH4IWoiAyAAQfAPaiAAQfANaiAAQbAOahALIABBgChqIgUgAEHwEmogAEHwDmogAEGwD2oQCyADIAUQAyAEIAMQAQJAAkACQCAAQbgBaiABEFMgAEGAAWogARBTa0EBag4DAQIAAgsgAEGILmoiAyAAQfAPaiAAQfAEaiAAQfANaiAAQbAOahAKIABB+CFqIgQgA0GIBhDRARogAyAAQfASaiAAQbAJaiAAQfAOaiAAQbAPahAKIAQgAxADIABB8BVqIAQQAQwBCyAAQYguaiIDIABB8A9qIABB+BtqIABB8A1qIABBsA5qEAogAEH4IWoiBCADQYgGENEBGiADIABB8BJqIABB+B5qIABB8A5qIABBsA9qEAogBCADEAMgAEHwFWogBBABCyABQQFrIQEMAQsACwALIAcgCCACEA4LIABBkDRqJAAjAEHgH2siCCQAIAhB0BNqIgFByK3AABBJIAhB2BlqIg1BgK7AABBJIAggASANEEsgCEGAAWoiC0GQrcAAEEkgAkGID2oiACAHEGkgCEG4AWoiBSAAEGkjAEGACGsiAyQAIAMgBRCMASADQYACaiIJIAVBgAJqIg8QjAEgA0GABGoiCiAFEIwBIANBgAZqIgRBOBDQARogA0EBNgK4BiADQcAGakE4ENABGiADQfgGakEBNgIAIANBgAdqQTgQ0AEaIANBuAdqQQE2AgAgA0HAB2pBOBDQARogA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MwQiSHpwUgAUEBayEBIAJBEGsiA0EIaiECIAYgBIZC//////////8DgyEHIAMpAwAiBiAIhyEFDAELCxoLiAECA34DfyMAQRBrIgUkAAN+IAZBOEYEfiAFQRBqJAAgAwUgBSAAIAZqIgcpAwAiAiACQj+HIAGsIgIgAkI/hxAvIAcgBSkDACIEIAN8IgJC//////////8DgzcDACACIARUrSAFQQhqKQMAIANCP4d8fEIGhiACQjqIhCEDIAZBCGohBgwBCwsLigECA38BfiMAQUBqIgIkACACQQhqIgEgABBdIAEQQiACQThqIQFBBiEDQdwCIQACQAJAA0AgA0EATgRAIAEpAwAiBEIAUg0CIAFBCGshASAAQTprIQAgA0EBayEDDAELC0EAIQAMAQsDQCAEUA0BIABBAWohACAEQgJ/IQQMAAsACyACQUBrJAAgAAuHAQEDfyMAQYACayIBJAAgABCwASABIAAQXiABQYABaiICQTgQ0AEaIAFBATYCuAEgAUHAAWpBOBDQARogAUH4AWpBATYCACABIABBgAFqIgMQmgEgARA2IAIgARCZASACIAMQmgEgAyABEJkBIAMgABCaASAAIAIQmQEgABCwASABQYACaiQAC30CBH4BfyABQT9xrSECQTogAWtBP3GtIQRBACEBIAApAwAiBSEDA38gAUEwRgR/IAAgACkDMCAChzcDMCAFQn8gAoZCf4WDpwUgACABaiIGIAMgAocgBkEIaikDACIDIASGQv//////////A4OENwMAIAFBCGohAQwBCwsaC2kBBH8jAEHAAWsiASQAIAEgABCQASABQUBrIgIgABCQASABQYABaiIDIABBQGsiBBCQASABIAQQdyACIAAQdyACEEIgBCACEEogAxBDIAAgAxB3IAEQQiAAEEIgACABEEogAUHAAWokAAuCAQIBfwF+IABB8AAQ0AEhAANAIAJBOEYEQAJAIAAgASkDMCIDQjqHNwM4IAAgA0L//////////wODNwMwIABBQGshAEEAIQIDQCACQTBGDQEgACACakIANwMAIAJBCGohAgwACwALBSAAIAJqIAEgAmopAwA3AwAgAkEIaiECDAELCwtuAQZ+IAAgA0L/////D4MiBSABQv////8PgyIGfiIHIAUgA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AIgARBgIAIQQiACQQEQLCAAIAIgA0ICgacQMCABQfAAaiQAC5gBAQZ/IwBBwAFrIgMkACAAIAEQXiAAEC0gA0GIAWoiBkHop8AAEEkjAEFAaiIEJAAgA0EIaiICQTgQ0AEiBUEBNgI4IAVBQGtBOBDQASAFQfgAakEBNgIAIAQgBhCOASAFIAQQrgEQwQEgBEFAayQAIAIQqQEgAhB8IAIQqQEgACABEBEgACACEJoBIAAQtQEgA0HAAWokAAtZAQJ/IwBBQGoiAyQAIABBOBDQASIAQQE2AjgCQCABQQBOBEAgACABEJMBDAELIANBCGoiAkHAssAAEEkgAiABEJMBIAIQQiAAIAIQagsgABBUIANBQGskAAu9CAEKfyMAQYABayIHJAAgB0EIaiIDQcCywAAQSSADQQEQlAECQAJAA0AgAUEwRgRAIANBMGogAykDMEIBhzcDACADQThqIQEDQCACRQ0EIAFCADcDACACQQFrIQIgAUEIaiEBDAALAAsgAUE4Rg0BIAFBOEcEQCABIANqIAEgA2oiBEEIaikDAEI5hkL//////////wODIAQpAwBCAYeENwMAIAVBAWohBSABQQhqIQEMAQsLQQdBB0GEm8AAEDsACyAFQQdB9JrAABA7AAsgA0EBEJQBIANBARAsIAdBQGshBUEAIQIjAEGgCmsiASQAIAFBOBDQASIBQUBrQTgQ0AEhBiABQYABakE4ENABGiABQcABakE4ENABGiABQYACakE4ENABGiABQcACakE4ENABGiABQYADakE4ENABGiABQcADakE4ENABGiABQYAEakE4ENABGiABQcAEakE4ENABGiABQYAFakE4ENABGiABQcAFakE4ENABGiABQYAGakE4ENABGiABQcAGakE4ENABGiABQYAHakE4ENABGiABQcAHakE4ENABGiABQfgHakEBNgIAIAFBuAdqQQE2AgAgAUH4BmpBATYCACABQbgGakEBNgIAIAFB+AVqQQE2AgAgAUG4BWpBATYCACABQfgEakEBNgIAIAFBuARqQQE2AgAgAUH4A2pBATYCACABQbgDakEBNgIAIAFB+AJqQQE2AgAgAUG4AmpBATYCACABQfgBakEBNgIAIAFBuAFqQQE2AgAg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AFBQGsiAiAAQUBrIgMQkAEgARBMIAIQTCABIAIQdyABQQAQMyAAIAEQSiABEEMgARBCIAMgARBKIAFBgAFqJAALYQEBfyMAQYACayIDJAAgABA9IAAgARCZASAAQYABaiIBIAIQmQEgAEGAAmoQtwEgABCpASADIAAQOCADQYABaiICIAEQXiACEC0gAiADEHpFBEAgABCbAQsgA0GAAmokAAtUAQF/IwBBIGsiAiQAIAIgACgCADYCBCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCACQQRqIAJBCGoQDCACQSBqJAALZwAjAEEwayIBJABBpLvAAC0AAARAIAFBHGpBATYCACABQgI3AgwgAUGQtsAANgIIIAFBATYCJCABIAA2AiwgASABQSBqNgIYIAEgAUEsajYCICABQQhqQbi2wAAQZgALIAFBMGokAAtiAgF+An8gACkDACEBA34gACACaiIDIAFC//////////8DgzcDACABQjqHIQEgAkEoRgR+IAAgACkDMCABfCIBNwMwIAFCJIcFIAJBCGohAiADQQhqKQMAIAF8IQEMAQsLGgt8AQV/IwBBQGoiAyQAIANBCGoiAkHAssAAEEkgAiAAKAI4QQFrEDUiBBAoA0AgAUE4RwRAIAAgAWoiBSABIAJqKQMAIAUpAwB9NwMAIAFBCGohAQwBCwsgAEEBIARBAWp0IgI2AjggAkH///8PSgRAIAAQHgsgA0FAayQAC3sBAn8gAEEoaiECA0AgAUGAAkYEQCAAQufMp9DW0Ouzu383AgggAEIANwIAIABBIGpCq7OP/JGjs/DbADcCACAAQRhqQv+kuYjFkdqCm383AgAgAEEQakLy5rvjo6f9p6V/NwIABSABIAJqQQA2AgAgAUEEaiEBDAELCwtUACAAQTgQ0AEiAEEBNgI4IABBQGtBOBDQARogAEH4AGpBATYCACAAQYABakE4ENABGiAAQbgBakEBNgIAIABBwAFqQTgQ0AEaIABB+AFqQQE2AgALWAECfyMAQUBqIgEkAAJAIAAQhgENACABQQEQOSAAQYABaiICIAEQWA0AIAJBABAzIAAgAhBKIAAQHiAAQUBrIgAgAhBKIAAQHiACIAEQrgELIAFBQGskAAtZAQJ/IwBBgAFrIgEkAAJAIAAQigENACABEFEgAEGAAmoiAiABEHoNACACED4gACACEBEgABC1ASAAQYABaiIAIAIQESAAELUBIAIgARCZAQsgAUGAAWokAAtbAgF+An8gACkDACEBA0AgACACaiIDIAFC//////////8DgzcDACABQjqHIQEgAkHgAEYEQCAAIAApA2ggAXw3A2gFIAJBCGohAiADQQhqKQMAIAF8IQEMAQsLC08BAX8gAEE4ENABGgJAA0AgAkEHRwRAIAJBB0YNAiAAIAEpAwA3AwAgAEEIaiEAIAFBCGohASACQQFqIQIMAQsLDwtBB0EHQeSawAAQOwALVAECfyMAQbABayICJAAgATQCOCAANAI4fkL///8PVQRAIAAQHgsgAkEIaiIDIAAgARAFIAJB+ABqIgEgAxBrIAAgARBqIABBAjYCOCACQbABaiQAC1EBAn8jAEFAaiIDJAAgAEE4ENABIgBBATYCOCAAQUBrQTgQ0AEgAEH4AGpBATYCACADIAEQjgEgACADEK4BIAMgAhCOASADEK4BIANBQGskAAvwDAIRfwh+IwBBsAFrIg8kACAANAI4IhIgEn5C////D1YEQCAAEB4LIwBB0AFrIgEkACAPQQhqIgZBCGpB0AAQ0AEaIAFBwAFqIAApAwAiFyAXQj+HIhYgFyAWEC8gBiABKQPAASISQv//////////A4M3AwAgAUHIAWopAwAiFUIGhiASQjqIhCETIBVCOoghGCAAQQhqIgwhDSAAIQlBASEKQQEhBwJAA0AgCkEERgRAIABBGGohCiAAQRBqIQkgAEEoaiEMIAApAzAhF0EHIQUgAUHIAGohCwNAIAVBC0kEQCABQUBrIAVBA3QiCCAAakEwaykDACISIBJCP4cgFyAXQj+HIhYQLyAFQQFqIg1BAXYhByALKQMAIRUgASkDQCESIAkhAiAMIQQgBUEFayIOIQMDQCADIAdJBEAgASACKQMAIhQgFEI/hyAEKQMAIhQgFEI/hxAvIAEpAwAiFCASfCISIBRUrSABQQhqKQMAIBV8fCEVIAJBCGohAiAEQQhrIQQgA0EBaiE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AgAhAwJAAn8CQAJAIAFBBGooAgAOAgABAwsgAw0CQQAhAUHAtcAADAELIAMNASABKAIAIgMoAgQhASADKAIACyEDIAAgATYCBCAAIAM2AgAgAEG4t8AAIAIoAgggBCACLQAQECAACyAAQQA2AgQgACABNgIAIABBpLfAACACKAIIIAQgAi0AEBAgAAswACAAQTgQ0AEiAEEBNgI4IABBQGtBARA5IABBgAFqQTgQ0AEaIABBuAFqQQE2AgALKwACQCAAQXxLDQAgAEUEQEEEDwsgACAAQX1JQQJ0ELkBIgBFDQAgAA8LAAs4ACAAEIsBIAAgARCWASAAQYACaiABQYACahCWASAAQYAEaiABQYAEahCWASAAIAEoAoAGNgKABgsoAQF/A0AgAkE4RwRAIAAgAmogASACaikDADcDACACQQhqIQIMAQsLC4QJAg1/Cn4jAEFAaiILJAAgC0EIaiIJQcCywAAQSSMAQZACayICJAAgAEEwENABIQogAkHoAGpB8AAQ0AEaIAJB4AFqQTAQ0AEaIAoQcSACIAEiDCkDACIQQv3/8//P///5AX5C//////////8DgyISNwPYASACQdgAaiASQgAgCSkDACIXIBdCP4ciGBAvIBAgAikDWCIPfCITIA9UrSACQeAAaikDACAQQj+HfHwiEEI6hyABKQMIIg9CP4d8IA8gEEIGhiATQjqIhCITfCIQIBNUrXwhD0EBIQBCACETAkACQANAAkAgAEEHRgRAQQYhB0EAIQhBByEADAELIABBAXYiAUEBaiEGIAggAWshAyABQQN0IgFBCGohBCAHIAFrIQUgAkHIAGogCSAAQQN0Ig1qKQMAIhUgFUI/hyIWIBJCABAvIAJB0ABqKQMAIBAgECATfCIRVq0gDyAUfHx8IBEgAikDSHwiDyARVK18IRAgAEEBaiEBA0AgACAGTQRAIAJB2AFqIA1qIA9C/f/z/8////kBfkL//////////wODIhE3AwAgAkE4aiARQgAgFyAYEC8gAkEoaiARQgAgFSAWEC8gAkHoAGogAEEEdGoiACACQTBqKQMAIhE3AwggACACKQMoIhU3AwAgDyACKQM4IhZ8Ig8gFlStIAJBQGspAwAgEHx8IhBCOocgDCABQQN0aikDACIWQj+HfCAWIBBCBoYgD0I6iIQiD3wiECAPVK18IQ8gEyAVfCITIBVUrSARIBR8fCEUIAdBCGohByAIQQFqIQggASEADAMLIANBB08NAyACQRhqIAQgCWopAwAgBSAJaikDAH0iESARQj+HIAJB2AFqIg4gBWopAwAgBCAOaikDAH0iESARQj+HEC8gAikDGCIRIA98Ig8gEVStIAJBIGopAwAgEHx8IRAgBkEBaiEGIARBCGohBCAFQQhrIQUgA0EBayEDDAALAAsLA0ACQAJAIABBDUcEQCAHIABBAXYiBmshAyAIIAZBA3QiAWshBCABQQhqIQUgDyAUfCAQIBN8Ig8gEFStfCEQIABBAWohAQNAIAZBBUsNAyADQQdPDQIgAkEIaiAFIAlqKQMAIAQgCWpBMGopAwB9IhIgEkI/hyACIARqQYgCaikDACACQdgBaiAFaikDAH0iEiASQj+HEC8gAikDCCISIA98Ig8gElStIAJBEGopAwAgEHx8IRAgBkEBaiEGIARBCGshBCADQQFrIQMgBUEIaiEFDAALAAsgCiAQQv//////////A4M3AzAgAkGQAmokAAwECyADQQdBpJzAABA7AAsgAEEDdCAKakE4ayAPQv//////////A4M3AwAgEEI6hyAMIAFBA3RqKQMAIhJCP4d8IBIgEEIGhiAPQjqIhCIPfCIQIA9UrXwhDyAUIABBBHQgAmpBCGoiAEEIaikDAH0gEyAAKQMAIhJUrX0hFCAIQQhqIQggB0EBaiEHIBMgEn0hEyABIQAMAAsACyADQQdBlJzAABA7AAsgC0FAayQACy4BAX8jAEGAAWsiASQAIAAQRSABEFEgACABEJkBIABBgAFqELYBIAFBgAFqJAALMwAgACABEJYBIABBgAJqIAFBgAJqEJYBIABBgARqIAFBgARqEJYBIAAgASgCgAY2AoAGCygAIAAgASACEHIgAEFAayABQUBrIAIQciAAQYABaiABQYABaiACEHILLQAgACABIAIQjQEgAEGAAWogAUGAAWogAhCNASAAQYACaiABQYACaiACEI0BCycBAn8jAEFAaiICJAAgAkEIaiIDIAEQvgEgACADEI4BIAJBQ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8PSgRAIAAQHgsLIwAgAiACKAIEQX5xNgIEIAAgAUEBcjYCBCAAIAFqIAE2AgALIgEBfyMAQfAAayICJAAgAiABEC4gACACEGsgAkHwAGokAAseACAAIAFBA3I2AgQgACABaiIAIAAoAgRBAXI2AgQLFgEBfyAAEHYEfyAAQYABahB2BUEACwsYAQF/IAAQiAEEfyAAQYABahCIAQVBAAsLFQEBfyAAEHYEfyAAQUBrEHYFQQALCxoBAX8gABBWIgEgAEFAaxBWIAFzIAAQdnFzCxgBAX8gABCIAQR/IABBgAJqEIgBBUEACwseACAAEEUgAEGAAmoQRSAAQYAEahBFIABBADYCgAYLHAAgABBFIAAgARCZASAAQYABaiABQYABahCZAQsYACAAIAEgAhByIABBQGsgAUFAayACEHILGgAgAEE4ENABIgBBATYCOCAAIAEQaiAAEFQLFAAgABBCIAAoAgBBfyABdEF/c3ELGQAgAEE4ENABIgAgARBqIAAgASgCODYCOAsZAQF/IAAoAhAiAQR/IAEFIABBFGooAgALCxgAIAAQwQEgAEFAaxDKASAAQYABahDBAQsUACAAEEIgACAAKQMAIAGsfDcDAAsUACAAEEIgACAAKQMAIAGsfTcDAAsYACAAEEUgACABEJkBIABBgAFqIAIQmQELGAAgACABEJkBIABBgAFqIAFBgAFqEJkBCxgAIAAgARCaASAAQYABaiABQYABahCaAQsYACAAEKQBIABBgAFqIgAQpAEgACABEBELFgAgACABEK4BIABBQGsgAUFAaxCuAQsUACAAIAEQdyAAQUBrIAFBQGsQdwsZACAAELYBIABBgAFqELcBIABBgAJqELYBCxkAIAAQrwEgAEGAAmoQrwEgAEGABGoQrwELGQAgABCwASAAQYACahCwASAAQYAEahCwAQsZACAAELIBIABBgAJqEMkBIABBgARqELIBCxIAQQBBGSAAQQF2ayAAQR9GGwsWACAAIAFBAXI2AgQgACABaiABNgIACxYAIAAQRSAAIAEQmQEgAEGAAWoQtgELFgAgAEGAAWoiABCpASAAEDYgABCpAQsQACAAIAFqQQFrQQAgAWtxCw8AIABBQGsiABBDIAA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TNkNjggMjAyMi0wNS0xOCkGd2FscnVzBjAuMTkuMAx3YXNtLWJpbmRnZW4SMC4yLjgxICgwNjJhYTVmNzAp");let at=null;function st(A,t){const e=t(1*A.length);return(null!==at&&at.buffer===nt.memory.buffer||(at=new Uint8Array(nt.memory.buffer)),at).set(A,e/1),[e,A.length]}var gt=async function A(){const{instance:t,module:e}=await async function(A,t){if("function"==typeof Response&&A instanceof Response){const e=await A.arrayBuffer();return await WebAssembly.instantiate(e,t)}{const e=await WebAssembly.instantiate(A,t);return e instanceof WebAssembly.Instance?{instance:e,module:A}:e}}(ot,{});return nt=t.exports,A.__wbindgen_wasm_module=e,nt};let ct;async function Bt(A,t,e){if(!ct){if(await gt(),0!==nt.bls_init())throw new Error("Cannot initialize BLS");ct=(A,t,e)=>0===function(A,t,e){const[r,i]=st(A,nt.__wbindgen_malloc),[n,o]=st(t,nt.__wbindgen_malloc),[a,s]=st(e,nt.__wbindgen_malloc);return nt.bls_verify(r,i,n,o,a,s)}(t,e,A)}return ct(A,t,e)}class It extends s{constructor(A){super(`Invalid certificate: ${A}`)}}function ut(A,t){if(A.byteLength!==t.byteLength)return!1;const e=new Uint8Array(A),r=new Uint8Array(t);for(let A=0;A[a.fromUint8Array(A[0]),a.fromUint8Array(A[1])])).some((A=>A[0].ltEq(this._canisterId)&&A[1].gtEq(this._canisterId))))throw new It(`Canister ${this._canisterId} not in range of delegations for subnet 0x${SA(A.subnet_id)}`)}const e=t.lookup(["subnet",A.subnet_id,"public_key"]);if(!e)throw new Error(`Could not find subnet key for subnet 0x${SA(A.subnet_id)}`);return e}}const ht=MA("308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100"),ft=96;async function Qt(A){switch(A[0]){case 0:return GA(Ct("ic-hashtree-empty"));case 4:return A[1];case 3:return GA(DA(Ct("ic-hashtree-leaf"),A[1]));case 2:return GA(DA(Ct("ic-hashtree-labeled"),A[1],await Qt(A[2])));case 1:return GA(DA(Ct("ic-hashtree-fork"),await Qt(A[1]),await Qt(A[2])));default:throw new Error("unreachable")}}function Ct(A){return DA(new Uint8Array([A.length]),(new TextEncoder).encode(A))}function dt(A,t){if(0===A.length)return 3===t[0]?new Uint8Array(t[1]).buffer:void 0;const e=function(A,t){if(0!==t.length)for(const e of t)if(2===e[0]&&ut(A,e[1]))return e[2]}("string"==typeof A[0]?(new TextEncoder).encode(A[0]):A[0],lt(t));return e?dt(A.slice(1),e):void 0}function lt(A){switch(A[0]){case 0:return[];case 1:return lt(A[1]).concat(lt(A[2]));default:return[A]}}async function pt(A,t,e,r,i){var n;const o=[(new TextEncoder).encode("request_status"),e],a=null!=i?i:await(null===(n=A.createReadStateRequest)||void 0===n?void 0:n.call(A,{paths:[o]})),s=await A.readState(t,{paths:[o]},void 0,a);if(null==A.rootKey)throw new Error("Agent root key not initialized before polling");const g=await Et.create({certificate:s.certificate,rootKey:A.rootKey,canisterId:t}),c=g.lookup([...o,(new TextEncoder).encode("status")]);let B;switch(B=void 0===c?zA.Unknown:(new TextDecoder).decode(c),B){case zA.Replied:return g.lookup([...o,"reply"]);case zA.Received:case zA.Unknown:case zA.Processing:return await r(t,e,B),pt(A,t,e,r,a);case zA.Rejected:{const A=new Uint8Array(g.lookup([...o,"reject_code"]))[0],t=(new TextDecoder).decode(g.lookup([...o,"reject_message"]));throw new Error(`Call was rejected:\n Request ID: ${SA(e)}\n Reject code: ${A}\n Reject text: ${t}\n`)}case zA.Done:throw new Error(`Call was marked as done but we never saw the reply:\n Request ID: ${SA(e)}\n`)}throw new Error("unreachable")}class wt extends s{constructor(A,t,e,r){super(["Call failed:",` Canister: ${A.toText()}`,` Method: ${t} (${e})`,...Object.getOwnPropertyNames(r).map((A=>` "${A}": ${JSON.stringify(r[A])}`))].join("\n")),this.canisterId=A,this.methodName=t,this.type=e,this.props=r}}class yt extends wt{constructor(A,e,r){var i;super(A,e,"query",{Status:r.status,Code:null!==(i=t[r.reject_code])&&void 0!==i?i:`Unknown Code "${r.reject_code}"`,Message:r.reject_message}),this.result=r}}class bt extends wt{constructor(A,t,e,r){super(A,t,"update",{"Request ID":SA(e),"HTTP status code":r.status.toString(),"HTTP status text":r.statusText}),this.requestId=e,this.response=r}}var mt;!function(A){A.Install="install",A.Reinstall="reinstall",A.Upgrade="upgrade"}(mt||(mt={}));const vt=Symbol.for("ic-agent-metadata");class Dt{constructor(A){this[vt]=Object.freeze(A)}static agentOf(A){return A[vt].config.agent}static interfaceOf(A){return A[vt].service}static canisterIdOf(A){return a.from(A[vt].config.canisterId)}static async install(A,t){const e=void 0===A.mode?mt.Install:A.mode,r=A.arg?[...new Uint8Array(A.arg)]:[],i=[...new Uint8Array(A.module)],n="string"==typeof t.canisterId?a.fromText(t.canisterId):t.canisterId;await it(t).install_code({mode:{[e]:null},arg:r,wasm_module:i,canister_id:n})}static async createCanister(A){const{canister_id:t}=await it(A||{}).provisional_create_canister_with_cycles({amount:[],settings:[]});return t}static async createAndInstallCanister(A,t,e){const r=await this.createCanister(e);return await this.install(Object.assign({},t),Object.assign(Object.assign({},e),{canisterId:r})),this.createActor(A,Object.assign(Object.assign({},e),{canisterId:r}))}static createActorClass(t){const e=t({IDL:A});return class extends Dt{constructor(A){const t="string"==typeof A.canisterId?a.fromText(A.canisterId):A.canisterId;super({config:Object.assign(Object.assign(Object.assign({},kt),A),{canisterId:t}),service:e});for(const[A,t]of e._fields)this[A]=Mt(this,A,t)}}}static createActor(A,t){return new(this.createActorClass(A))(t)}}function St(A,t){const r=X(A,e.lW.from(t));switch(r.length){case 0:return;case 1:return r[0];default:return r}}const kt={pollingStrategyFactory:function(){return function(...A){return async(t,e,r)=>{for(const i of A)await i(t,e,r)}}((A=function(){let A=!0;return async()=>!!A&&(A=!1,!0)}(),1e3,async(t,e,r)=>{if(await A(t,e,r))return new Promise((A=>setTimeout(A,1e3)))}),function(A,t){let e=1e3;return()=>new Promise((A=>setTimeout((()=>{e*=1.2,A()}),e)))}(),function(A){const t=Date.now()+A;return async(A,e,r)=>{if(Date.now()>t)throw new Error(`Request timed out after 300000 msec:\n Request ID: ${SA(e)}\n Request status: ${r}\n`)}}(3e5));var A}};function Mt(A,t,e){let r;r=e.annotations.includes("query")?async(r,...i)=>{var n,o;const s=(r=Object.assign(Object.assign({},r),null===(o=(n=A[vt].config).queryTransform)||void 0===o?void 0:o.call(n,t,i,Object.assign(Object.assign({},A[vt].config),r)))).agent||A[vt].config.agent||et(),g=a.from(r.canisterId||A[vt].config.canisterId),c=Z(e.argTypes,i),B=await s.query(g,{methodName:t,arg:c});switch(B.status){case"rejected":throw new yt(g,t,B);case"replied":return St(e.retTypes,B.reply.arg)}}:async(r,...i)=>{var n,o;const s=(r=Object.assign(Object.assign({},r),null===(o=(n=A[vt].config).callTransform)||void 0===o?void 0:o.call(n,t,i,Object.assign(Object.assign({},A[vt].config),r)))).agent||A[vt].config.agent||et(),{canisterId:g,effectiveCanisterId:c,pollingStrategyFactory:B}=Object.assign(Object.assign(Object.assign({},kt),A[vt].config),r),I=a.from(g),u=void 0!==c?a.from(c):I,E=Z(e.argTypes,i),{requestId:h,response:f}=await s.call(I,{methodName:t,arg:E,effectiveCanisterId:u});if(!f.ok)throw new bt(I,t,h,f);const Q=B(),C=await pt(s,u,h,Q);if(void 0!==C)return St(e.retTypes,C);if(0!==e.retTypes.length)throw new Error(`Call was returned undefined, but type [${e.retTypes.join(",")}].`)};const i=(...A)=>r({},...A);return i.withOptions=A=>(...t)=>r(A,...t),i}const Gt=({IDL:A})=>{const t=A.Record({e8s:A.Nat64}),e=A.Record({secs:A.Nat64,nanos:A.Nat32}),r=A.Record({owner:A.Principal,subaccount:A.Opt(A.Vec(A.Nat8))}),i=A.Record({num_blocks_to_archive:A.Nat64,max_transactions_per_response:A.Opt(A.Nat64),trigger_threshold:A.Nat64,max_message_size_bytes:A.Opt(A.Nat64),cycles_for_archive_creation:A.Opt(A.Nat64),node_max_memory_size_bytes:A.Opt(A.Nat64),controller_id:A.Principal}),n=(A.Record({send_whitelist:A.Vec(A.Principal),token_symbol:A.Opt(A.Text),transfer_fee:A.Opt(t),minting_account:A.Text,transaction_window:A.Opt(e),max_message_size_bytes:A.Opt(A.Nat64),icrc1_minting_account:A.Opt(r),archive_options:A.Opt(i),initial_values:A.Vec(A.Tuple(A.Text,t)),token_name:A.Opt(A.Text)}),A.Record({account:A.Vec(A.Nat8)})),o=A.Record({account:A.Text}),a=A.Record({canister_id:A.Principal}),s=A.Record({archives:A.Vec(a)}),g=A.Record({decimals:A.Nat32}),c=A.Variant({Int:A.Int,Nat:A.Nat,Blob:A.Vec(A.Nat8),Text:A.Text}),B=A.Record({url:A.Text,name:A.Text}),I=A.Record({to:r,fee:A.Opt(A.Nat),memo:A.Opt(A.Vec(A.Nat8)),from_subaccount:A.Opt(A.Vec(A.Nat8)),created_at_time:A.Opt(A.Nat64),amount:A.Nat}),u=A.Variant({GenericError:A.Record({message:A.Text,error_code:A.Nat}),TemporarilyUnavailable:A.Null,BadBurn:A.Record({min_burn_amount:A.Nat}),Duplicate:A.Record({duplicate_of:A.Nat}),BadFee:A.Record({expected_fee:A.Nat}),CreatedInFuture:A.Record({ledger_time:A.Nat64}),TooOld:A.Null,InsufficientFunds:A.Record({balance:A.Nat})}),E=A.Variant({Ok:A.Nat,Err:u}),h=A.Record({name:A.Text}),f=A.Record({start:A.Nat64,length:A.Nat64}),Q=A.Record({timestamp_nanos:A.Nat64}),C=A.Variant({Approve:A.Record({fee:t,from:A.Vec(A.Nat8),allowance_e8s:A.Int,expires_at:A.Opt(Q),spender:A.Vec(A.Nat8)}),Burn:A.Record({from:A.Vec(A.Nat8),amount:t}),Mint:A.Record({to:A.Vec(A.Nat8),amount:t}),Transfer:A.Record({to:A.Vec(A.Nat8),fee:t,from:A.Vec(A.Nat8),amount:t}),TransferFrom:A.Record({to:A.Vec(A.Nat8),fee:t,from:A.Vec(A.Nat8),amount:t,spender:A.Vec(A.Nat8)})}),d=A.Record({memo:A.Nat64,icrc1_memo:A.Opt(A.Vec(A.Nat8)),operation:A.Opt(C),created_at_time:Q}),l=A.Record({transaction:d,timestamp:Q,parent_hash:A.Opt(A.Vec(A.Nat8))}),p=A.Record({blocks:A.Vec(l)}),w=A.Variant({BadFirstBlockIndex:A.Record({requested_index:A.Nat64,first_valid_index:A.Nat64}),Other:A.Record({error_message:A.Text,error_code:A.Nat64})}),y=A.Record({callback:A.Func([f],[A.Variant({Ok:p,Err:w})],["query"]),start:A.Nat64,length:A.Nat64}),b=A.Record({certificate:A.Opt(A.Vec(A.Nat8)),blocks:A.Vec(l),chain_length:A.Nat64,first_block_index:A.Nat64,archived_blocks:A.Vec(y)}),m=A.Record({to:A.Text,fee:t,memo:A.Nat64,from_subaccount:A.Opt(A.Vec(A.Nat8)),created_at_time:A.Opt(Q),amount:t}),v=A.Record({symbol:A.Text}),D=A.Record({to:A.Vec(A.Nat8),fee:t,memo:A.Nat64,from_subaccount:A.Opt(A.Vec(A.Nat8)),created_at_time:A.Opt(Q),amount:t}),S=A.Variant({TxTooOld:A.Record({allowed_window_nanos:A.Nat64}),BadFee:A.Record({expected_fee:t}),TxDuplicate:A.Record({duplicate_of:A.Nat64}),TxCreatedInFuture:A.Null,InsufficientFunds:A.Record({balance:t})}),k=A.Variant({Ok:A.Nat64,Err:S}),M=A.Record({transfer_fee:t});return A.Service({account_balance:A.Func([n],[t],["query"]),account_balance_dfx:A.Func([o],[t],["query"]),archives:A.Func([],[s],["query"]),decimals:A.Func([],[g],["query"]),icrc1_balance_of:A.Func([r],[A.Nat],["query"]),icrc1_decimals:A.Func([],[A.Nat8],["query"]),icrc1_fee:A.Func([],[A.Nat],["query"]),icrc1_metadata:A.Func([],[A.Vec(A.Tuple(A.Text,c))],["query"]),icrc1_minting_account:A.Func([],[A.Opt(r)],["query"]),icrc1_name:A.Func([],[A.Text],["query"]),icrc1_supported_standards:A.Func([],[A.Vec(B)],["query"]),icrc1_symbol:A.Func([],[A.Text],["query"]),icrc1_total_supply:A.Func([],[A.Nat],["query"]),icrc1_transfer:A.Func([I],[E],[]),name:A.Func([],[h],["query"]),query_blocks:A.Func([f],[b],["query"]),send_dfx:A.Func([m],[A.Nat64],[]),symbol:A.Func([],[v],["query"]),transfer:A.Func([D],[k],[]),transfer_fee:A.Func([A.Record({})],[M],["query"])})},Nt=window.ic&&window.ic.bitfinityWallet?{readyState:"Installed",connectWallet:async function(A={whitelist:[],host:""}){await window.ic.bitfinityWallet.isConnected()||await window.ic.bitfinityWallet.requestConnect(A),window.ic.bitfinityWallet.agent||await window.ic.bitfinityWallet.requestConnect(A),this.agent=window.ic.bitfinityWallet.agent,this.getPrincipal=async function(){return window.ic.bitfinityWallet.getPrincipal()},this.createActor=async function(A){return window.ic.bitfinityWallet.createActor(A)},this.batchTransactions=async function(A){return window.ic.bitfinityWallet.batchTransactions(A)};var t=await this.getPrincipal();return{accountId:await window.ic.bitfinityWallet.getAccountID(),principalId:t.toString()}},disConnectWallet:async function(){await window.ic.bitfinityWallet.disconnect()}}:{readyState:"NotDetected",url:"https://wallet.infinityswap.one/"};var _t=__webpack_require__(2779),Rt=__webpack_require__.n(_t),Ft=__webpack_require__(1354),Ut=__webpack_require__.n(Ft);window.Buffer=e.lW;const xt=e.lW.alloc(32),qt=A=>{const t=[];let e;for(e=0;e{const e=[];return t>0&&e.push(A>>>24),t>1&&e.push(A>>>16&255),t>2&&e.push(A>>>8&255),t>3&&e.push(255&A),e},Ht=(A,t="")=>{try{var r=a.from(A);const i=Ut().algo.SHA224.create();i.update("\naccount-id"),i.update(qt(r.toUint8Array()));const n=e.lW.from(xt);t&&n.writeUInt32BE(t),i.update(qt(n));const o=i.finalize(),s=(A=>{var t;return((t=Rt().unsigned(e.lW.from(A)))<0?(Number(t)>>>0).toString(16):Number(t).toString(16)).padStart(8,"0")})(((A,t)=>{A.hasOwnProperty("sigBytes")&&A.hasOwnProperty("words")&&(t=A.sigBytes,A=A.words);let e,r=[],i=0;for(;t>0;)e=Lt(A[i],Math.min(4,t)),t-=e.length,r=[...r,e],i++;return[].concat.apply([],r)})(o,28));return s+o.toString()}catch(A){return console.log(A),!1}};var Yt=__webpack_require__(780);function Jt(A){var t;return new Uint8Array((null!==(t=A.match(/.{1,2}/g))&&void 0!==t?t:[]).map((A=>parseInt(A,16)))).buffer}function Tt(A){return new Uint8Array(A).reduce(((A,t)=>A+t.toString(16).padStart(2,"0")),"")}const Ot=A=>{if(A<=127)return 1;if(A<=255)return 2;if(A<=65535)return 3;if(A<=16777215)return 4;throw new Error("Length too long (> 4 bytes)")},Kt=(A,t,e)=>{if(e<=127)return A[t]=e,1;if(e<=255)return A[t]=129,A[t+1]=e,2;if(e<=65535)return A[t]=130,A[t+1]=e>>8,A[t+2]=e,3;if(e<=16777215)return A[t]=131,A[t+1]=e>>16,A[t+2]=e>>8,A[t+3]=e,4;throw new Error("Length too long (> 4 bytes)")},jt=(A,t)=>{if(A[t]<128)return 1;if(128===A[t])throw new Error("Invalid length 0");if(129===A[t])return 2;if(130===A[t])return 3;if(131===A[t])return 4;throw new Error("Length too long (> 4 bytes)")},Pt=(Uint8Array.from([48,12,6,10,43,6,1,4,1,131,184,67,1,1]),Uint8Array.from([48,5,6,3,43,101,112]));Uint8Array.from([48,16,6,7,42,134,72,206,61,2,1,6,5,43,129,4,0,10]);class Wt{constructor(A){this.rawKey=A,this.derKey=Wt.derEncode(A)}static from(A){return this.fromDer(A.toDer())}static fromRaw(A){return new Wt(A)}static fromDer(A){return new Wt(this.derDecode(A))}static derEncode(A){return function(A,t){const e=2+Ot(A.byteLength+1),r=t.byteLength+e+A.byteLength;let i=0;const n=new Uint8Array(1+Ot(r)+r);return n[i++]=48,i+=Kt(n,i,r),n.set(t,i),i+=t.byteLength,n[i++]=3,i+=Kt(n,i,A.byteLength+1),n[i++]=0,n.set(new Uint8Array(A),i),n}(A,Pt).buffer}static derDecode(A){const t=((A,t)=>{let e=0;const r=(A,t)=>{if(i[e++]!==A)throw new Error("Expected: "+t)},i=new Uint8Array(A);if(r(48,"sequence"),e+=jt(i,e),!((A,t)=>{if(A.byteLength!==t.byteLength)return!1;const e=new Uint8Array(A),r=new Uint8Array(t);for(let A=0;A{const e=jt(A,t);if(1===e)return A[t];if(2===e)return A[t+1];if(3===e)return(A[t+1]<<8)+A[t+2];if(4===e)return(A[t+1]<<16)+(A[t+2]<<8)+A[t+3];throw new Error("Length too long (> 4 bytes)")})(i,e)-1;e+=jt(i,e),r(0,"0 padding");const o=i.slice(e);if(n!==o.length)throw new Error(`DER payload mismatch: Expected length ${n} actual length ${o.length}`);return o})(A,Pt);if(t.length!==this.RAW_KEY_LENGTH)throw new Error("An Ed25519 public key must be exactly 32bytes long");return t}toDer(){return this.derKey}toRaw(){return this.rawKey}}Wt.RAW_KEY_LENGTH=32;class Vt extends UA{constructor(A,t){super(),this._privateKey=t,this._publicKey=Wt.from(A)}static generate(A){if(A&&32!==A.length)throw new Error("Ed25519 Seed needs to be 32 bytes long.");const{publicKey:t,secretKey:e}=void 0===A?Yt.sign.keyPair():Yt.sign.keyPair.fromSeed(A);return new this(Wt.fromRaw(t),e)}static fromParsedJson(A){const[t,e]=A;return new Vt(Wt.fromDer(Jt(t)),Jt(e))}static fromJSON(A){const t=JSON.parse(A);if(Array.isArray(t)){if("string"==typeof t[0]&&"string"==typeof t[1])return this.fromParsedJson([t[0],t[1]]);throw new Error("Deserialization error: JSON must have at least 2 items.")}throw new Error(`Deserialization error: Invalid JSON type for string: ${JSON.stringify(A)}`)}static fromKeyPair(A,t){return new Vt(Wt.fromRaw(A),t)}static fromSecretKey(A){const t=Yt.sign.keyPair.fromSecretKey(new Uint8Array(A));return Vt.fromKeyPair(t.publicKey,t.secretKey)}toJSON(){return[Tt(this._publicKey.toDer()),Tt(this._privateKey)]}getKeyPair(){return{secretKey:this._privateKey,publicKey:this._publicKey}}getPublicKey(){return this._publicKey}async sign(A){const t=new Uint8Array(A);return Yt.sign.detached(t,new Uint8Array(this._privateKey)).buffer}}class zt extends Error{constructor(A){super(A),this.message=A,Object.setPrototypeOf(this,zt.prototype)}}__webpack_require__(7221);const Zt=(new TextEncoder).encode("ic-request-auth-delegation"),Xt=(new TextEncoder).encode("\nic-request");function $t(A){if("string"!=typeof A||A.length<64)throw new Error("Invalid public key.");return Jt(A)}class Ae{constructor(A,t,e){this.pubkey=A,this.expiration=t,this.targets=e}toCBOR(){return qA.value.map(Object.assign({pubkey:qA.value.bytes(this.pubkey),expiration:qA.value.u64(this.expiration.toString(16),16)},this.targets&&{targets:qA.value.array(this.targets.map((A=>qA.value.bytes(A.toUint8Array()))))}))}toJSON(){return Object.assign({expiration:this.expiration.toString(16),pubkey:Tt(this.pubkey)},this.targets&&{targets:this.targets.map((A=>A.toHex()))})}}class te{constructor(A,t){this.delegations=A,this.publicKey=t}static async create(A,t,e=new Date(Date.now()+9e5),r={}){var i,n;const o=await async function(A,t,e,r){const i=new Ae(t.toDer(),BigInt(+e)*BigInt(1e6),r),n=new Uint8Array([...Zt,...new Uint8Array(RA(i))]);return{delegation:i,signature:await A.sign(n)}}(A,t,e,r.targets);return new te([...(null===(i=r.previous)||void 0===i?void 0:i.delegations)||[],o],(null===(n=r.previous)||void 0===n?void 0:n.publicKey)||A.getPublicKey().toDer())}static fromJSON(A){const{publicKey:t,delegations:e}="string"==typeof A?JSON.parse(A):A;if(!Array.isArray(e))throw new Error("Invalid delegations.");return new this(e.map((A=>{const{delegation:t,signature:e}=A,{pubkey:r,expiration:i,targets:n}=t;if(void 0!==n&&!Array.isArray(n))throw new Error("Invalid targets.");return{delegation:new Ae($t(r),BigInt(`0x${i}`),n&&n.map((A=>{if("string"!=typeof A)throw new Error("Invalid target.");return a.fromHex(A)}))),signature:$t(e)}})),$t(t))}static fromDelegations(A,t){return new this(A,t)}toJSON(){return{delegations:this.delegations.map((A=>{const{delegation:t,signature:e}=A,{targets:r}=t;return{delegation:Object.assign({expiration:t.expiration.toString(16),pubkey:Tt(t.pubkey)},r&&{targets:r.map((A=>A.toHex()))}),signature:Tt(e)}})),publicKey:Tt(this.publicKey)}}}class ee extends UA{constructor(A,t){super(),this._inner=A,this._delegation=t}static fromDelegation(A,t){return new this(A,t)}getDelegation(){return this._delegation}getPublicKey(){return{toDer:()=>this._delegation.publicKey}}sign(A){return this._inner.sign(A)}async transformRequest(A){const{body:t}=A,e=function(A,t){var e={};for(var r in A)Object.prototype.hasOwnProperty.call(A,r)&&t.indexOf(r)<0&&(e[r]=A[r]);if(null!=A&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(A);i{let e;return(...r)=>{const i=this;clearTimeout(e),e=window.setTimeout((function(){e=void 0,A.apply(i,r)}),t)}};if(null==A?void 0:A.captureScroll){const e=n(i,null!==(t=null==A?void 0:A.scrollDebounce)&&void 0!==t?t:100);window.addEventListener("scroll",e,!0)}i()}static create(A={}){return new this(A)}registerCallback(A){this.callbacks.push(A)}exit(){clearTimeout(this.timeoutID),window.removeEventListener("load",this._resetTimer,!0);const A=this._resetTimer.bind(this);ie.forEach((function(t){document.removeEventListener(t,A,!0)})),this.callbacks.forEach((A=>A()))}_resetTimer(){const A=this.exit.bind(this);window.clearTimeout(this.timeoutID),this.timeoutID=window.setTimeout(A,this.idleTimeout)}}const oe="identity",ae="delegation";async function se(A){await A.remove(oe),await A.remove(ae)}class ge{constructor(A="ic-",t){this.prefix=A,this._localStorage=t}get(A){return Promise.resolve(this._getLocalStorage().getItem(this.prefix+A))}set(A,t){return this._getLocalStorage().setItem(this.prefix+A,t),Promise.resolve()}remove(A){return this._getLocalStorage().removeItem(this.prefix+A),Promise.resolve()}_getLocalStorage(){if(this._localStorage)return this._localStorage;const A="undefined"==typeof window?void 0===__webpack_require__.g?"undefined"==typeof self?void 0:self.localStorage:__webpack_require__.g.localStorage:window.localStorage;if(!A)throw new Error("Could not find local storage.");return A}}class ce{constructor(A,t,e,r,i,n,o,a){var s;this._identity=A,this._key=t,this._chain=e,this._storage=r,this.idleManager=i,this._createOptions=n,this._idpWindow=o,this._eventHandler=a;const g=this.logout.bind(this),c=null==n?void 0:n.idleOptions;(null==c?void 0:c.onIdle)||(null==c?void 0:c.disableDefaultIdleCallback)||null===(s=this.idleManager)||void 0===s||s.registerCallback((()=>{g(),location.reload()}))}static async create(A={}){var t,e;const r=null!==(t=A.storage)&&void 0!==t?t:new ge("ic-");let i=null;if(A.identity)i=A.identity;else{const A=await r.get(oe);if(A)try{i=Vt.fromJSON(A)}catch(A){}}let n=new xA,o=null;if(i)try{const t=await r.get(ae);A.identity?n=A.identity:t&&(o=te.fromJSON(t),function(A,t){for(const{delegation:t}of A.delegations)if(+new Date(Number(t.expiration/BigInt(1e6)))<=+Date.now())return!1;const e=[],r=void 0;r&&(Array.isArray(r)?e.push(...r.map((A=>"string"==typeof A?a.fromText(A):A))):e.push("string"==typeof r?a.fromText(r):r));for(const t of e){const e=t.toText();for(const{delegation:t}of A.delegations){if(void 0===t.targets)continue;let A=!0;for(const r of t.targets)if(r.toText()===e){A=!1;break}if(A)return!1}}return!0}(o)?n=ee.fromDelegation(i,o):(await se(r),i=null))}catch(A){console.error(A),await se(r),i=null}return new this(n,i,o,r,(null===(e=A.idleOptions)||void 0===e?void 0:e.disableIdle)?void 0:ne.create(A.idleOptions),A)}_handleSuccess(A,t){var e;const r=A.delegations.map((A=>({delegation:new Ae(A.delegation.pubkey,A.delegation.expiration,A.delegation.targets),signature:A.signature.buffer}))),i=te.fromDelegations(r,A.userPublicKey.buffer),n=this._key;n&&(this._chain=i,this._identity=ee.fromDelegation(n,this._chain),null===(e=this._idpWindow)||void 0===e||e.close(),null==t||t(),this._removeEventListener(),delete this._idpWindow)}getIdentity(){return this._identity}async isAuthenticated(){return!this.getIdentity().getPrincipal().isAnonymous()&&null!==this._chain}async login(A){var t,e,r,i;let n=this._key;n||(n=Vt.generate(),this._key=n,await this._storage.set(oe,JSON.stringify(n)));const o=BigInt(8)*BigInt(36e11),a=new URL((null===(t=null==A?void 0:A.identityProvider)||void 0===t?void 0:t.toString())||"https://identity.ic0.app");a.hash="#authorize",null===(e=this._idpWindow)||void 0===e||e.close(),this._removeEventListener(),this._eventHandler=this._getEventHandler(a,Object.assign({maxTimeToLive:null!==(r=null==A?void 0:A.maxTimeToLive)&&void 0!==r?r:o},A)),window.addEventListener("message",this._eventHandler),this._idpWindow=null!==(i=window.open(a.toString(),"idpWindow",null==A?void 0:A.windowOpenerFeatures))&&void 0!==i?i:void 0;const s=()=>{this._idpWindow&&(this._idpWindow.closed?this._handleFailure("UserInterrupt",null==A?void 0:A.onError):setTimeout(s,500))};s()}_getEventHandler(A,t){return async e=>{var r,i,n;if(e.origin!==A.origin)return void console.warn(`WARNING: expected origin '${A.origin}', got '${e.origin}' (ignoring)`);const o=e.data;switch(o.kind){case"authorize-ready":{const e={kind:"authorize-client",sessionPublicKey:new Uint8Array(null===(r=this._key)||void 0===r?void 0:r.getPublicKey().toDer()),maxTimeToLive:null==t?void 0:t.maxTimeToLive,derivationOrigin:null===(i=null==t?void 0:t.derivationOrigin)||void 0===i?void 0:i.toString()};null===(n=this._idpWindow)||void 0===n||n.postMessage(e,A.origin);break}case"authorize-client-success":try{this._handleSuccess(o,null==t?void 0:t.onSuccess),this._chain&&await this._storage.set(ae,JSON.stringify(this._chain.toJSON()))}catch(A){this._handleFailure(A.message,null==t?void 0:t.onError)}break;case"authorize-client-failure":this._handleFailure(o.text,null==t?void 0:t.onError)}}}_handleFailure(A,t){var e;null===(e=this._idpWindow)||void 0===e||e.close(),null==t||t(A),this._removeEventListener(),delete this._idpWindow}_removeEventListener(){this._eventHandler&&window.removeEventListener("message",this._eventHandler),this._eventHandler=void 0}async logout(A={}){if(se(this._storage),this._identity=new xA,this._key=null,this._chain=null,A.returnTo)try{window.history.pushState({},"",A.returnTo)}catch(t){window.location.href=A.returnTo}}}const Be={readyState:"Loadable",url:"https://identity.ic0.app",authClient:!1,connectWallet:async function(A={whitelist:[],host:""}){var t=this,e={};return t.authClient=await ce.create(),new Promise((async(r,i)=>{async function n(){var e=await t.authClient.getIdentity(),r=await(e?.getPrincipal());t.agent=new At({identity:e,host:A.host});var i=await Ht(e?.getPrincipal().toString());return t.createActor=async function(A={canisterId:"",interfaceFactory:!1}){return!(!A.canisterId||!A.interfaceFactory)&&await Dt.createActor(A.interfaceFactory,{agent:this.agent,canisterId:A.canisterId})},t.createAgent=async function(){return new At({identity:e,host:A.host})},t.getPrincipal=async function(){return e.getPrincipal()},t.disConnectWallet=async function(){await t.authClient.logout()},{accountId:i,principalId:r.toString()}}await t.authClient.isAuthenticated()?(e=await n(),r(e)):t.authClient.login({identityProvider:"https://identity.ic0.app",onSuccess:async()=>{e=await n(),r(e)}})}))}};window.ic&&window.ic.plug&&window.ic.plug.init();const Ie=window.ic&&window.ic.plug?{readyState:"Installed",connectWallet:async function(A={whitelist:[],host:""}){var t=!1,e=!1;try{e=await window.ic.plug.isConnected()}catch(A){}try{e?await window.ic.plug.createAgent(A):await window.ic.plug.requestConnect(A),t=await window.ic.plug.agent.getPrincipal();var r=await window.ic.plug.sessionManager.getSession();return this.agent=window.ic.plug.agent,this.getPrincipal=async function(){return window.ic.plug.getPrincipal()},this.createActor=async function(A,t){return window.ic.plug.createActor(A,t)},this.batchTransactions=async function(A,t={state:"init",txList:[]}){return t&&t.txList>0&&A.forEach(((e,r)=>{A[r].onSuccess=()=>{t.state=txList[r],e.onSuccess()}})),window.ic.plug.batchTransactions(A)},{accountId:r.accountId,principalId:t.toString()}}catch(A){return!1}},disConnectWallet:async function(){await window.ic.plug.disconnect()}}:{readyState:"NotDetected",url:"https://plugwallet.ooo/"};window.Buffer=e.lW;const ue=e.lW.from((new TextEncoder).encode("\nic-request"));var Ee="https://www.stoicwallet.com";class he{constructor(A,t){this._der=A,this._type=t}getType(){return this._type}toDer(){return this._der}}class fe extends UA{constructor(A,t){super(),this._principal=A,this._publicKey=t}static disconnect(){return me()}static connect(A){return new Promise((async(t,e)=>{A&&(Ee=A),ve(Ee).then((A=>{t(new fe(a.fromText(A.principal),new he(A.key,A.type)))})).catch(e)}))}static load(A){return new Promise((async(t,e)=>{A&&(Ee=A);var r=be();if(!1===r)t(!1);else{var i=new fe(a.fromText(r.principal),new he(r.key,r.type));i.accounts().then((A=>{t(i)})).catch((A=>{console.log(A),t(!1)}))}}))}getPublicKey(){return this._publicKey}sign(A){return this._transport(Se(A))}_transport(A){return De("sign",A,this.getPrincipal().toText())}accounts(){return De("accounts","accounts",this.getPrincipal().toText())}transformRequest(A){return new Promise((async(t,r)=>{try{const{body:r,...o}=A,a=await RA(r),s=this.getPublicKey();var i={...o,body:{content:r}};const g=JSON.parse(await this.sign(e.lW.from(e.lW.concat([ue,new Uint8Array(a)]))));if(i.body.sender_sig=function(A){const t=new Uint8Array(A.length/2);for(let e=0;e(le=JSON.parse(localStorage.getItem("_scApp")))||!1,me=()=>{localStorage.removeItem("_scApp"),de="",le=null},ve=A=>new Promise((async(t,e)=>{var r=await new Promise((async(A,t)=>{var e=await window.crypto.subtle.generateKey({name:"ECDSA",namedCurve:"P-384"},!0,["sign","verify"]),r=await window.crypto.subtle.exportKey("spki",e.publicKey);A({principal:"",key:"",type:"",secretkey:await window.crypto.subtle.exportKey("jwk",e.privateKey),apikey:Se(r)})}));de=r.apikey,Qe=window.open(A+"?authorizeApp","stoic"),Ce=[A=>{r.principal=A.principal,r.key=A.key,r.type=A.type,le=r,localStorage.setItem("_scApp",JSON.stringify(r)),t(r)},e]})),De=(A,t,e)=>new Promise((async function(r,i){var n=(new TextEncoder).encode(t),o=await window.crypto.subtle.importKey("jwk",le.secretkey,{name:"ECDSA",namedCurve:"P-384"},!0,["sign"]),a=Se(await window.crypto.subtle.sign({name:"ECDSA",hash:{name:"SHA-384"}},o,n));!function(A,t,e){var r=pe;pe+=1,we[r]=[t,e];var i=document.createElement("iframe");i.setAttribute("id","connect_iframe"+r),i.setAttribute("width","0"),i.setAttribute("height","0"),i.setAttribute("border","0"),document.body.appendChild(i),ye[r]=document.getElementById("connect_iframe"+r),ye[r].addEventListener("load",(function(){A.listener=r,ye[r].contentWindow.postMessage(A,"*")})),i.setAttribute("src",Ee+"/?stoicTunnel")}({target:"STOIC-IFRAME",action:A,payload:t,principal:e,apikey:le.apikey,sig:a},r,i)}));function Se(A){return[...new Uint8Array(A)].map((A=>A.toString(16).padStart(2,"0"))).join("")}window.addEventListener("message",(function(A){var t;A.origin==Ee&&(A&&A.data&&"STOIC-EXT"===A.data.target?(void 0!==A.data.success&&A.data.success?we[A.data.listener][0](A.data.data):we[A.data.listener][1](A.data.data),t=A.data.listener,ye[t].parentNode.removeChild(ye[t])):"initiateStoicConnect"==A.data.action?Qe.postMessage({action:"requestAuthorization",apikey:de},"*"):"rejectAuthorization"==A.data.action?(Ce[1]("Authorization Rejected"),Ce=null,Qe.close()):"confirmAuthorization"==A.data.action&&(Ce[0](A.data),Ce=null,Qe.close()))}),!1);const ke={readyState:"Loadable",url:"https://www.stoicwallet.com/",connectWallet:async function(A={whitelist:[],host:""}){var t=await fe.load();t||(t=await fe.connect());let e=await t.accounts();return e=JSON.parse(e),this.agent=new At({identity:t,host:A.host}),this.createActor=async function(A={canisterId:"",interfaceFactory:!1}){return!(!A.canisterId||!A.interfaceFactory)&&await Dt.createActor(A.interfaceFactory,{agent:this.agent,canisterId:A.canisterId})},this.createAgent=function(){return new At({identity:t,host:A.host})},this.getPrincipal=function(){return t.getPrincipal()},this.disConnectWallet=async function(){await fe.disconnect()},{stoicAccounts:e,accountId:e[0].address,principalId:t._principal.toString()}}};var Me,Ge=__webpack_require__(1602),Ne=__webpack_require__.n(Ge);!function(A){A[A.SysFatal=1]="SysFatal",A[A.SysTransient=2]="SysTransient",A[A.DestinationInvalid=3]="DestinationInvalid",A[A.CanisterReject=4]="CanisterReject",A[A.CanisterError=5]="CanisterError"}(Me||(Me={}));var _e=__webpack_require__(60),Re=__webpack_require__(144),Fe=__webpack_require__(349),Ue=__webpack_require__(939);const xe=(new TextEncoder).encode("\nic-request");class qe{getPrincipal(){return this._principal||(this._principal=_e.R.selfAuthenticating(new Uint8Array(this.getPublicKey().toDer()))),this._principal}async transformRequest(A){const{body:t}=A,e=function(A,t){var e={};for(var r in A)Object.prototype.hasOwnProperty.call(A,r)&&t.indexOf(r)<0&&(e[r]=A[r]);if(null!=A&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(A);i>BigInt(32))),t.setUint32(4,Number(e%A))}return t.setUint32(8,r),t.setUint32(12,i),A}!function(A){A.Call="call"}(He||(He={}));const Oe=BigInt(1e6),Ke=BigInt(6e4);class je{constructor(A){this._value=(BigInt(Date.now())+BigInt(A)-Ke)*Oe}toCBOR(){return qA.value.u64(this._value.toString(16),16)}toHash(){return(0,Je.dZ)(this._value)}}var Pe;!function(A){A.Received="received",A.Processing="processing",A.Replied="replied",A.Rejected="rejected",A.Unknown="unknown",A.Done="done"}(Pe||(Pe={}));const We=3e5;class Ve extends Re.e{constructor(A){super(A),this.message=A}}class ze extends Re.e{constructor(A){super(A),this.message=A}}class Ze{constructor(A={}){if(this.rootKey=(0,Ue.H_)("308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100814c0e6ec71fab583b08bd81373c255c3c371b2e84863c98a4f1e08b74235d14fb5d9c0cd546d9685f913a0c0b2cc5341583bf4b4392e467db96d65b9bb4cb717112f8472e0d5a4d14505ffd7484b01291091c5f87b98883463f98091a0baaae"),this._pipeline=[],this._timeDiffMsecs=0,this._rootKeyFetched=!1,this._retryTimes=3,this._isAgent=!0,A.source){if(!(A.source instanceof Ze))throw new Error("An Agent's source can only be another HttpAgent");this._pipeline=[...A.source._pipeline],this._identity=A.source._identity,this._fetch=A.source._fetch,this._host=A.source._host,this._credentials=A.source._credentials}else this._fetch=A.fetch||function(){let A;if("undefined"!=typeof window){if(!window.fetch)throw new Ve("Fetch implementation was not available. You appear to be in a browser context, but window.fetch was not present.");A=window.fetch.bind(window)}else if(void 0!==__webpack_require__.g){if(!__webpack_require__.g.fetch)throw new Ve("Fetch implementation was not available. You appear to be in a Node.js context, but global.fetch was not available.");A=__webpack_require__.g.fetch.bind(__webpack_require__.g)}else"undefined"!=typeof self&&self.fetch&&(A=self.fetch.bind(self));if(A)return A;throw new Ve("Fetch implementation was not available. Please provide fetch to the HttpAgent constructor, or ensure it is available in the window or global context.")}()||fetch.bind(__webpack_require__.g),this._fetchOptions=A.fetchOptions,this._callOptions=A.callOptions;if(void 0!==A.host)A.host.match(/^[a-z]+:/)||"undefined"==typeof window?this._host=new URL(A.host):this._host=new URL(window.location.protocol+"//"+A.host);else if(void 0!==A.source)this._host=A.source._host;else{const A="undefined"!=typeof window?window.location:void 0;if(!A)throw new Error("Must specify a host to connect to.");this._host=new URL(A+"")}if(void 0!==A.retryTimes&&(this._retryTimes=A.retryTimes),this._host.hostname.endsWith(".ic0.app")?this._host.hostname="ic0.app":this._host.hostname.endsWith(".icp0.io")?this._host.hostname="icp0.io":this._host.hostname.endsWith(".icp-api.io")&&(this._host.hostname="icp-api.io"),A.credentials){const{name:t,password:e}=A.credentials;this._credentials=`${t}${e?":"+e:""}`}this._identity=Promise.resolve(A.identity||new Le),A.disableNonce||this.addTransform(function(A=Te){return async t=>{A();const e=t.request.headers?new Headers(t.request.headers):new Headers;t.request.headers=e,"call"===t.endpoint&&(t.body.nonce=A())}}(Te))}isLocal(){const A=this._host.hostname;return"127.0.0.1"===A||A.endsWith("localhost")}addTransform(A,t=A.priority||0){const e=this._pipeline.findIndex((A=>(A.priority||0)=0?e:this._pipeline.length,0,Object.assign(A,{priority:t}))}async getPrincipal(){if(!this._identity)throw new ze("This identity has expired due this application's security policy. Please refresh your authentication.");return(await this._identity).getPrincipal()}async call(A,t,e){const r=await(void 0!==e?await e:await this._identity);if(!r)throw new ze("This identity has expired due this application's security policy. Please refresh your authentication.");const i=_e.R.from(A),n=t.effectiveCanisterId?_e.R.from(t.effectiveCanisterId):i,o=r.getPrincipal()||_e.R.anonymous();let a=new je(We);Math.abs(this._timeDiffMsecs)>3e4&&(a=new je(We+this._timeDiffMsecs));const s={request_type:He.Call,canister_id:i,method_name:t.methodName,arg:t.arg,sender:o,ingress_expiry:a};let g=await this._transform({request:{body:null,method:"POST",headers:new Headers(Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{}))},endpoint:"call",body:s});g=await r.transformRequest(g);const c=Ye.cv(g.body),B=this._requestAndRetry((()=>this._fetch(""+new URL(`/api/v2/canister/${n.toText()}/call`,this._host),Object.assign(Object.assign(Object.assign({},this._callOptions),g.request),{body:c})))),[I,u]=await Promise.all([B,(0,Fe.vH)(s)]);return{requestId:u,response:{ok:I.ok,status:I.status,statusText:I.statusText}}}async _requestAndRetry(A,t=0){if(t>this._retryTimes&&0!==this._retryTimes)throw new Error(`AgentError: Exceeded configured limit of ${this._retryTimes} retry attempts. Please check your network connection or try again in a few moments`);const e=await A();if(!e.ok){const r=await e.clone().text(),i=`Server returned an error:\n Code: ${e.status} (${e.statusText})\n Body: ${r}\n`;if(this._retryTimes>t)return console.warn(i+" Retrying request."),await this._requestAndRetry(A,t+1);throw new Error(i)}return e}async query(A,t,e){const r=await(void 0!==e?await e:await this._identity);if(!r)throw new ze("This identity has expired due this application's security policy. Please refresh your authentication.");const i="string"==typeof A?_e.R.fromText(A):A,n=(null==r?void 0:r.getPrincipal())||_e.R.anonymous(),o={request_type:"query",canister_id:i,method_name:t.methodName,arg:t.arg,sender:n,ingress_expiry:new je(We)};let a=await this._transform({request:{method:"POST",headers:new Headers(Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{}))},endpoint:"read",body:o});a=await(null==r?void 0:r.transformRequest(a));const s=Ye.cv(a.body),g=await this._requestAndRetry((()=>this._fetch(""+new URL(`/api/v2/canister/${i.toText()}/query`,this._host),Object.assign(Object.assign(Object.assign({},this._fetchOptions),a.request),{body:s}))));return Ye.Jx(await g.arrayBuffer())}async createReadStateRequest(A,t){const e=await(void 0!==t?await t:await this._identity);if(!e)throw new ze("This identity has expired due this application's security policy. Please refresh your authentication.");const r=(null==e?void 0:e.getPrincipal())||_e.R.anonymous(),i=await this._transform({request:{method:"POST",headers:new Headers(Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{}))},endpoint:"read_state",body:{request_type:"read_state",paths:A.paths,sender:r,ingress_expiry:new je(We)}});return null==e?void 0:e.transformRequest(i)}async readState(A,t,e,r){const i="string"==typeof A?_e.R.fromText(A):A,n=null!=r?r:await this.createReadStateRequest(t,e),o=Ye.cv(n.body),a=await this._requestAndRetry((()=>this._fetch(""+new URL(`/api/v2/canister/${i}/read_state`,this._host),Object.assign(Object.assign(Object.assign({},this._fetchOptions),n.request),{body:o}))));if(!a.ok)throw new Error(`Server returned an error:\n Code: ${a.status} (${a.statusText})\n Body: ${await a.text()}\n`);return Ye.Jx(await a.arrayBuffer())}async syncTime(A){const t=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,6146)),e=Date.now();try{A||console.log("Syncing time with the IC. No canisterId provided, so falling back to ryjl3-tyaaa-aaaaa-aaaba-cai");const r=(await t.request({canisterId:null!=A?A:_e.R.from("ryjl3-tyaaa-aaaaa-aaaba-cai"),agent:this,paths:["time"]})).get("time");r&&(this._timeDiffMsecs=Number(r)-Number(e))}catch(A){console.error("Caught exception while attempting to sync time:",A)}}async status(){const A=this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{},t=await this._requestAndRetry((()=>this._fetch(""+new URL("/api/v2/status",this._host),Object.assign({headers:A},this._fetchOptions))));return Ye.Jx(await t.arrayBuffer())}async fetchRootKey(){return this._rootKeyFetched||(this.rootKey=(await this.status()).root_key,this._rootKeyFetched=!0),this.rootKey}invalidateIdentity(){this._identity=null}replaceIdentity(A){this._identity=Promise.resolve(A)}_transform(A){let t=Promise.resolve(A);for(const A of this._pipeline)t=t.then((t=>A(t).then((A=>A||t))));return t}}var Xe;function $e(){const A="undefined"==typeof window?void 0===__webpack_require__.g?"undefined"==typeof self?void 0:self.ic.agent:__webpack_require__.g.ic.agent:window.ic.agent;if(!A)throw new Error("No Agent could be found.");return A}!function(A){A.Error="err",A.GetPrincipal="gp",A.GetPrincipalResponse="gpr",A.Query="q",A.QueryResponse="qr",A.Call="c",A.CallResponse="cr",A.ReadState="rs",A.ReadStateResponse="rsr",A.Status="s",A.StatusResponse="sr"}(Xe||(Xe={}));var Ar=__webpack_require__(2030);async function tr(A,t,e,r,i,n){var o;const a=[(new TextEncoder).encode("request_status"),e],s=null!=i?i:await(null===(o=A.createReadStateRequest)||void 0===o?void 0:o.call(A,{paths:[a]})),g=await A.readState(t,{paths:[a]},void 0,s);if(null==A.rootKey)throw new Error("Agent root key not initialized before polling");const c=await Ar.KB.create({certificate:g.certificate,rootKey:A.rootKey,canisterId:t,blsVerify:n}),B=c.lookup([...a,(new TextEncoder).encode("status")]);let I;switch(I=void 0===B?Pe.Unknown:(new TextDecoder).decode(B),I){case Pe.Replied:return c.lookup([...a,"reply"]);case Pe.Received:case Pe.Unknown:case Pe.Processing:return await r(t,e,I),tr(A,t,e,r,s);case Pe.Rejected:{const A=new Uint8Array(c.lookup([...a,"reject_code"]))[0],t=(new TextDecoder).decode(c.lookup([...a,"reject_message"]));throw new Error(`Call was rejected:\n Request ID: ${(0,Ue.NC)(e)}\n Reject code: ${A}\n Reject text: ${t}\n`)}case Pe.Done:throw new Error(`Call was marked as done but we never saw the reply:\n Request ID: ${(0,Ue.NC)(e)}\n`)}throw new Error("unreachable")}var er,rr=({IDL:A})=>{const t=A.Principal,e=A.Record({controllers:A.Vec(A.Principal),freezing_threshold:A.Nat,memory_allocation:A.Nat,compute_allocation:A.Nat}),r=A.Record({controllers:A.Opt(A.Vec(A.Principal)),freezing_threshold:A.Opt(A.Nat),memory_allocation:A.Opt(A.Nat),compute_allocation:A.Opt(A.Nat)}),i=A.Vec(A.Nat8);return A.Service({canister_status:A.Func([A.Record({canister_id:t})],[A.Record({status:A.Variant({stopped:A.Null,stopping:A.Null,running:A.Null}),memory_size:A.Nat,cycles:A.Nat,settings:e,module_hash:A.Opt(A.Vec(A.Nat8))})],[]),create_canister:A.Func([A.Record({settings:A.Opt(r)})],[A.Record({canister_id:t})],[]),delete_canister:A.Func([A.Record({canister_id:t})],[],[]),deposit_cycles:A.Func([A.Record({canister_id:t})],[],[]),install_code:A.Func([A.Record({arg:A.Vec(A.Nat8),wasm_module:i,mode:A.Variant({reinstall:A.Null,upgrade:A.Null,install:A.Null}),canister_id:t})],[],[]),provisional_create_canister_with_cycles:A.Func([A.Record({settings:A.Opt(r),amount:A.Opt(A.Nat)})],[A.Record({canister_id:t})],[]),provisional_top_up_canister:A.Func([A.Record({canister_id:t,amount:A.Nat})],[],[]),raw_rand:A.Func([],[A.Vec(A.Nat8)],[]),start_canister:A.Func([A.Record({canister_id:t})],[],[]),stop_canister:A.Func([A.Record({canister_id:t})],[],[]),uninstall_code:A.Func([A.Record({canister_id:t})],[],[]),update_settings:A.Func([A.Record({canister_id:A.Principal,settings:r})],[],[])})};class ir extends Re.e{constructor(A,t,e,r){super(["Call failed:",` Canister: ${A.toText()}`,` Method: ${t} (${e})`,...Object.getOwnPropertyNames(r).map((A=>` "${A}": ${JSON.stringify(r[A])}`))].join("\n")),this.canisterId=A,this.methodName=t,this.type=e,this.props=r}}class nr extends ir{constructor(A,t,e){var r;super(A,t,"query",{Status:e.status,Code:null!==(r=Me[e.reject_code])&&void 0!==r?r:`Unknown Code "${e.reject_code}"`,Message:e.reject_message}),this.result=e}}class or extends ir{constructor(A,t,e,r){super(A,t,"update",{"Request ID":(0,Ue.NC)(e),"HTTP status code":r.status.toString(),"HTTP status text":r.statusText}),this.requestId=e,this.response=r}}!function(A){A.Install="install",A.Reinstall="reinstall",A.Upgrade="upgrade"}(er||(er={}));const ar=Symbol.for("ic-agent-metadata");class sr{constructor(A){this[ar]=Object.freeze(A)}static agentOf(A){return A[ar].config.agent}static interfaceOf(A){return A[ar].service}static canisterIdOf(A){return _e.R.from(A[ar].config.canisterId)}static async install(A,t){const e=void 0===A.mode?er.Install:A.mode,r=A.arg?[...new Uint8Array(A.arg)]:[],i=[...new Uint8Array(A.module)],n="string"==typeof t.canisterId?_e.R.fromText(t.canisterId):t.canisterId;await Ir(t).install_code({mode:{[e]:null},arg:r,wasm_module:i,canister_id:n})}static async createCanister(A){const{canister_id:t}=await Ir(A||{}).provisional_create_canister_with_cycles({amount:[],settings:[]});return t}static async createAndInstallCanister(A,t,e){const r=await this.createCanister(e);return await this.install(Object.assign({},t),Object.assign(Object.assign({},e),{canisterId:r})),this.createActor(A,Object.assign(Object.assign({},e),{canisterId:r}))}static createActorClass(A){const t=A({IDL:Je.xO});return class extends sr{constructor(A){const e="string"==typeof A.canisterId?_e.R.fromText(A.canisterId):A.canisterId;super({config:Object.assign(Object.assign(Object.assign({},cr),A),{canisterId:e}),service:t});for(const[e,r]of t._fields)this[e]=Br(this,e,r,A.blsVerify)}}}static createActor(A,t){return new(this.createActorClass(A))(t)}}function gr(A,t){const r=Je.xO.decode(A,e.lW.from(t));switch(r.length){case 0:return;case 1:return r[0];default:return r}}const cr={pollingStrategyFactory:function(){return function(...A){return async(t,e,r)=>{for(const i of A)await i(t,e,r)}}((A=function(){let A=!0;return async()=>!!A&&(A=!1,!0)}(),1e3,async(t,e,r)=>{if(await A(t,e,r))return new Promise((A=>setTimeout(A,1e3)))}),function(A,t){let e=1e3;return()=>new Promise((A=>setTimeout((()=>{e*=1.2,A()}),e)))}(),function(A){const t=Date.now()+A;return async(A,e,r)=>{if(Date.now()>t)throw new Error(`Request timed out after 300000 msec:\n Request ID: ${(0,Ue.NC)(e)}\n Request status: ${r}\n`)}}(3e5));var A}};function Br(A,t,e,r){let i;i=e.annotations.includes("query")?async(r,...i)=>{var n,o;const a=(r=Object.assign(Object.assign({},r),null===(o=(n=A[ar].config).queryTransform)||void 0===o?void 0:o.call(n,t,i,Object.assign(Object.assign({},A[ar].config),r)))).agent||A[ar].config.agent||$e(),s=_e.R.from(r.canisterId||A[ar].config.canisterId),g=Je.xO.encode(e.argTypes,i),c=await a.query(s,{methodName:t,arg:g});switch(c.status){case"rejected":throw new nr(s,t,c);case"replied":return gr(e.retTypes,c.reply.arg)}}:async(i,...n)=>{var o,a;const s=(i=Object.assign(Object.assign({},i),null===(a=(o=A[ar].config).callTransform)||void 0===a?void 0:a.call(o,t,n,Object.assign(Object.assign({},A[ar].config),i)))).agent||A[ar].config.agent||$e(),{canisterId:g,effectiveCanisterId:c,pollingStrategyFactory:B}=Object.assign(Object.assign(Object.assign({},cr),A[ar].config),i),I=_e.R.from(g),u=void 0!==c?_e.R.from(c):I,E=Je.xO.encode(e.argTypes,n),{requestId:h,response:f}=await s.call(I,{methodName:t,arg:E,effectiveCanisterId:u});if(!f.ok)throw new or(I,t,h,f);const Q=B(),C=await tr(s,u,h,Q,r);if(void 0!==C)return gr(e.retTypes,C);if(0!==e.retTypes.length)throw new Error(`Call was returned undefined, but type [${e.retTypes.join(",")}].`)};const n=(...A)=>i({},...A);return n.withOptions=A=>(...t)=>i(A,...t),n}function Ir(A){function t(A,t,e){const r=t[0];let i=_e.R.fromHex("");return r&&"object"==typeof r&&r.canister_id&&(i=_e.R.from(r.canister_id)),{effectiveCanisterId:i}}return sr.createActor(rr,Object.assign(Object.assign(Object.assign({},A),{canisterId:_e.R.fromHex("")}),{callTransform:t,queryTransform:t}))}function ur(A){var t;return new Uint8Array((null!==(t=A.match(/.{1,2}/g))&&void 0!==t?t:[]).map((A=>parseInt(A,16)))).buffer}function Er(A){return new Uint8Array(A).reduce(((A,t)=>A+t.toString(16).padStart(2,"0")),"")}__webpack_require__(6146),__webpack_require__(7091);const hr=A=>{if(A<=127)return 1;if(A<=255)return 2;if(A<=65535)return 3;if(A<=16777215)return 4;throw new Error("Length too long (> 4 bytes)")},fr=(A,t,e)=>{if(e<=127)return A[t]=e,1;if(e<=255)return A[t]=129,A[t+1]=e,2;if(e<=65535)return A[t]=130,A[t+1]=e>>8,A[t+2]=e,3;if(e<=16777215)return A[t]=131,A[t+1]=e>>16,A[t+2]=e>>8,A[t+3]=e,4;throw new Error("Length too long (> 4 bytes)")},Qr=(A,t)=>{if(A[t]<128)return 1;if(128===A[t])throw new Error("Invalid length 0");if(129===A[t])return 2;if(130===A[t])return 3;if(131===A[t])return 4;throw new Error("Length too long (> 4 bytes)")},Cr=(Uint8Array.from([48,12,6,10,43,6,1,4,1,131,184,67,1,1]),Uint8Array.from([48,5,6,3,43,101,112]));Uint8Array.from([48,16,6,7,42,134,72,206,61,2,1,6,5,43,129,4,0,10]);class dr{constructor(A){this.rawKey=A,this.derKey=dr.derEncode(A)}static from(A){return this.fromDer(A.toDer())}static fromRaw(A){return new dr(A)}static fromDer(A){return new dr(this.derDecode(A))}static derEncode(A){return function(A,t){const e=2+hr(A.byteLength+1),r=t.byteLength+e+A.byteLength;let i=0;const n=new Uint8Array(1+hr(r)+r);return n[i++]=48,i+=fr(n,i,r),n.set(t,i),i+=t.byteLength,n[i++]=3,i+=fr(n,i,A.byteLength+1),n[i++]=0,n.set(new Uint8Array(A),i),n}(A,Cr).buffer}static derDecode(A){const t=((A,t)=>{let e=0;const r=(A,t)=>{if(i[e++]!==A)throw new Error("Expected: "+t)},i=new Uint8Array(A);if(r(48,"sequence"),e+=Qr(i,e),!((A,t)=>{if(A.byteLength!==t.byteLength)return!1;const e=new Uint8Array(A),r=new Uint8Array(t);for(let A=0;A{const e=Qr(A,t);if(1===e)return A[t];if(2===e)return A[t+1];if(3===e)return(A[t+1]<<8)+A[t+2];if(4===e)return(A[t+1]<<16)+(A[t+2]<<8)+A[t+3];throw new Error("Length too long (> 4 bytes)")})(i,e)-1;e+=Qr(i,e),r(0,"0 padding");const o=i.slice(e);if(n!==o.length)throw new Error(`DER payload mismatch: Expected length ${n} actual length ${o.length}`);return o})(A,Cr);if(t.length!==this.RAW_KEY_LENGTH)throw new Error("An Ed25519 public key must be exactly 32bytes long");return t}toDer(){return this.derKey}toRaw(){return this.rawKey}}dr.RAW_KEY_LENGTH=32;class lr extends qe{constructor(A,t){super(),this._privateKey=t,this._publicKey=dr.from(A)}static generate(A){if(A&&32!==A.length)throw new Error("Ed25519 Seed needs to be 32 bytes long.");const{publicKey:t,secretKey:e}=void 0===A?Yt.sign.keyPair():Yt.sign.keyPair.fromSeed(A);return new this(dr.fromRaw(t),e)}static fromParsedJson(A){const[t,e]=A;return new lr(dr.fromDer(ur(t)),ur(e))}static fromJSON(A){const t=JSON.parse(A);if(Array.isArray(t)){if("string"==typeof t[0]&&"string"==typeof t[1])return this.fromParsedJson([t[0],t[1]]);throw new Error("Deserialization error: JSON must have at least 2 items.")}throw new Error(`Deserialization error: Invalid JSON type for string: ${JSON.stringify(A)}`)}static fromKeyPair(A,t){return new lr(dr.fromRaw(A),t)}static fromSecretKey(A){const t=Yt.sign.keyPair.fromSecretKey(new Uint8Array(A));return lr.fromKeyPair(t.publicKey,t.secretKey)}toJSON(){return[Er(this._publicKey.toDer()),Er(this._privateKey)]}getKeyPair(){return{secretKey:this._privateKey,publicKey:this._publicKey}}getPublicKey(){return this._publicKey}async sign(A){const t=new Uint8Array(A);return Yt.sign.detached(t,new Uint8Array(this._privateKey)).buffer}}class pr extends Error{constructor(A){super(A),this.message=A,Object.setPrototypeOf(this,pr.prototype)}}const wr=(new TextEncoder).encode("ic-request-auth-delegation"),yr=(new TextEncoder).encode("\nic-request");function br(A){if("string"!=typeof A||A.length<64)throw new Error("Invalid public key.");return ur(A)}class mr{constructor(A,t,e){this.pubkey=A,this.expiration=t,this.targets=e}toCBOR(){return qA.value.map(Object.assign({pubkey:qA.value.bytes(this.pubkey),expiration:qA.value.u64(this.expiration.toString(16),16)},this.targets&&{targets:qA.value.array(this.targets.map((A=>qA.value.bytes(A.toUint8Array()))))}))}toJSON(){return Object.assign({expiration:this.expiration.toString(16),pubkey:Er(this.pubkey)},this.targets&&{targets:this.targets.map((A=>A.toHex()))})}}class vr{constructor(A,t){this.delegations=A,this.publicKey=t}static async create(A,t,e=new Date(Date.now()+9e5),r={}){var i,n;const o=await async function(A,t,e,r){const i=new mr(t.toDer(),BigInt(+e)*BigInt(1e6),r),n=new Uint8Array([...wr,...new Uint8Array((0,Fe.vH)(i))]);return{delegation:i,signature:await A.sign(n)}}(A,t,e,r.targets);return new vr([...(null===(i=r.previous)||void 0===i?void 0:i.delegations)||[],o],(null===(n=r.previous)||void 0===n?void 0:n.publicKey)||A.getPublicKey().toDer())}static fromJSON(A){const{publicKey:t,delegations:e}="string"==typeof A?JSON.parse(A):A;if(!Array.isArray(e))throw new Error("Invalid delegations.");return new this(e.map((A=>{const{delegation:t,signature:e}=A,{pubkey:r,expiration:i,targets:n}=t;if(void 0!==n&&!Array.isArray(n))throw new Error("Invalid targets.");return{delegation:new mr(br(r),BigInt(`0x${i}`),n&&n.map((A=>{if("string"!=typeof A)throw new Error("Invalid target.");return _e.R.fromHex(A)}))),signature:br(e)}})),br(t))}static fromDelegations(A,t){return new this(A,t)}toJSON(){return{delegations:this.delegations.map((A=>{const{delegation:t,signature:e}=A,{targets:r}=t;return{delegation:Object.assign({expiration:t.expiration.toString(16),pubkey:Er(t.pubkey)},r&&{targets:r.map((A=>A.toHex()))}),signature:Er(e)}})),publicKey:Er(this.publicKey)}}}class Dr extends qe{constructor(A,t){super(),this._inner=A,this._delegation=t}static fromDelegation(A,t){return new this(A,t)}getDelegation(){return this._delegation}getPublicKey(){return{toDer:()=>this._delegation.publicKey}}sign(A){return this._inner.sign(A)}async transformRequest(A){const{body:t}=A,e=function(A,t){var e={};for(var r in A)Object.prototype.hasOwnProperty.call(A,r)&&t.indexOf(r)<0&&(e[r]=A[r]);if(null!=A&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(A);i"string"==typeof A?_e.R.fromText(A):A))):e.push("string"==typeof r?_e.R.fromText(r):r));for(const t of e){const e=t.toText();for(const{delegation:t}of A.delegations){if(void 0===t.targets)continue;let A=!0;for(const r of t.targets)if(r.toText()===e){A=!1;break}if(A)return!1}}return!0}var kr;function Mr(A,t,e,r,i,n,o){try{var a=A[n](o),s=a.value}catch(A){return void e(A)}a.done?t(s):Promise.resolve(s).then(r,i)}function Gr(A){return function(){var t=this,e=arguments;return new Promise((function(r,i){var n=A.apply(t,e);function o(A){Mr(n,r,i,o,a,"next",A)}function a(A){Mr(n,r,i,o,a,"throw",A)}o(void 0)}))}}!function(A){A[A.ECDSA_WITH_SHA256=-7]="ECDSA_WITH_SHA256"}(kr||(kr={}));var Nr,_r=(Nr=Gr(Ne().mark((function A(t,e){var r,i,n,o;return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return r=e.canisterId,i=e.date,n=lr.generate(),A.next=4,vr.create(t,n.getPublicKey(),i||new Date(Date.parse("2100-01-01")),{targets:null!=r?[_e.R.fromText(r)]:void 0});case 4:return o=A.sent,A.abrupt("return",Dr.fromDelegation(n,o));case 6:case"end":return A.stop()}}),A)}))),function(A,t){return Nr.apply(this,arguments)});function Rr(A,t,e,r){return Fr.apply(this,arguments)}function Fr(){return(Fr=Gr(Ne().mark((function A(t,e,r,i){var n,o,a,s;return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(a=new Ze({identity:r,host:i}),!process||"development"!==(null===(n=process.env)||void 0===n?void 0:"production")&&"development"!==(null===(o=process.env)||void 0===o?void 0:o.II_ENV)){A.next=5;break}return A.next=5,a.fetchRootKey();case 5:return s=sr.createActor(t,{agent:a,canisterId:e}),A.abrupt("return",{actor:s,agent:a});case 7:case"end":return A.stop()}}),A)})))).apply(this,arguments)}var Ur=function(){function A(t,e,r,i,n,o){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.identity=t,this.delegationIdentity=e,this.canisterId=r,this.interfaceFactory=i,this.actor=n,this.agent=o}var t=A.prototype;return t.getActor=function(){return Gr(Ne().mark((function A(){return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:throw new Error("Method not implemented.");case 1:case"end":return A.stop()}}),A)})))()},t._getActor=function(A,t,e){var r=this;return Gr(Ne().mark((function i(){var n,o,a,s,g,c,B,I;return Ne().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(!r.delegationIdentity){i.next=26;break}n=!0,o=!1,a=void 0,i.prev=2,s=r.delegationIdentity.getDelegation().delegations[Symbol.iterator]();case 4:if(n=(g=s.next()).done){i.next=12;break}if(c=g.value.delegation,!(+new Date(Number(c.expiration/BigInt(1e6)))<=+Date.now())){i.next=9;break}return r.actor=void 0,i.abrupt("break",12);case 9:n=!0,i.next=4;break;case 12:i.next=18;break;case 14:i.prev=14,i.t0=i.catch(2),o=!0,a=i.t0;case 18:i.prev=18,i.prev=19,n||null==s.return||s.return();case 21:if(i.prev=21,!o){i.next=24;break}throw a;case 24:return i.finish(21);case 25:return i.finish(18);case 26:if(void 0!==r.actor){i.next=35;break}return i.next=30,_r(r.identity,{canisterId:null!==(B=r.canisterId)&&void 0!==B?B:A,date:null!=e?e:void 0});case 30:return r.delegationIdentity=i.sent,i.next=34,Rr(t,null!==(I=r.canisterId)&&void 0!==I?I:A,r.delegationIdentity);case 34:r.actor=i.sent.actor;case 35:return i.abrupt("return",r.actor);case 36:case"end":return i.stop()}}),i,null,[[2,14,18,26],[19,,21,25]])})))()},A}(),xr=function(){var A=Gr(Ne().mark((function A(t){return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.prev=0,A.next=3,t();case 3:return A.abrupt("return",A.sent);case 6:throw A.prev=6,A.t0=A.catch(0),console.log(A.t0),A.t0;case 10:case"end":return A.stop()}}),A,null,[[0,6]])})));return function(t){return A.apply(this,arguments)}}();function qr(A){var t=A.IDL,e=t.Text,r=t.Record({secs:t.Nat64,nanos:t.Nat32}),i=t.Record({max_message_size_bytes:t.Opt(t.Nat32),node_max_memory_size_bytes:t.Opt(t.Nat32),controller_id:t.Principal}),n=t.Record({e8s:t.Nat64}),o=(t.Record({send_whitelist:t.Vec(t.Tuple(t.Principal)),minting_account:e,transaction_window:t.Opt(r),max_message_size_bytes:t.Opt(t.Nat32),archive_options:t.Opt(i),initial_values:t.Vec(t.Tuple(e,n))}),t.Record({account:e})),a=t.Principal,s=t.Tuple(t.Text,t.Text),g=t.Record({url:t.Text,method:t.Text,body:t.Vec(t.Nat8),headers:t.Vec(s)}),c=t.Record({body:t.Vec(t.Nat8),headers:t.Vec(s),status_code:t.Nat16}),B=t.Vec(t.Nat8),I=t.Nat64,u=t.Record({to_subaccount:t.Opt(B),from_subaccount:t.Opt(B),to_canister:t.Principal,max_fee:n,block_height:I}),E=t.Nat64,h=t.Record({timestamp_nanos:t.Nat64}),f=t.Record({to:e,fee:n,memo:E,from_subaccount:t.Opt(B),created_at_time:t.Opt(h),amount:n});return t.Service({account_balance_dfx:t.Func([o],[n],["query"]),get_nodes:t.Func([],[t.Vec(a)],["query"]),http_request:t.Func([g],[c],["query"]),notify_dfx:t.Func([u],[],[]),send_dfx:t.Func([f],[I],[])})}var Lr="ryjl3-tyaaa-aaaaa-aaaba-cai";function Hr(A,t,e,r,i,n,o){try{var a=A[n](o),s=a.value}catch(A){return void e(A)}a.done?t(s):Promise.resolve(s).then(r,i)}function Yr(A){return function(){var t=this,e=arguments;return new Promise((function(r,i){var n=A.apply(t,e);function o(A){Hr(n,r,i,o,a,"next",A)}function a(A){Hr(n,r,i,o,a,"throw",A)}o(void 0)}))}}function Jr(A){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},Jr(A)}function Tr(A,t){return Tr=Object.setPrototypeOf||function(A,t){return A.__proto__=t,A},Tr(A,t)}BigInt(1095062083),BigInt(1347768404),BigInt(1e4);var Or=function(A){return A&&"undefined"!=typeof Symbol&&A.constructor===Symbol?"symbol":typeof A};function Kr(A){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var e,r=Jr(A);if(t){var i=Jr(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return function(A,t){return!t||"object"!==Or(t)&&"function"!=typeof t?function(A){if(void 0===A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(A):t}(this,e)}}var jr,Pr=function(A){!function(A,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(t&&t.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),t&&Tr(A,t)}(e,A);var t=Kr(e);function e(A,r,i,n,o){var a;return function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(a=t.call(this,A,r,null!=o?o:Lr,qr,i,n)).identity=A,a.delegationIdentity=r,a.actor=i,a.agent=n,a}var r=e.prototype;return r.getLedgerActor=function(A){var t=this;return Yr(Ne().mark((function e(){var r;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t._getActor(null!=A?A:Lr,qr);case 2:return r=e.sent,e.abrupt("return",r);case 4:case"end":return e.stop()}}),e)})))()},r.getBalance=function(A){var t=this;return Yr(Ne().mark((function e(){var r,i;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getLedgerActor();case 2:return r=e.sent,e.next=5,xr((function(){return r.account_balance_dfx({account:A})}));case 5:return i=e.sent,e.abrupt("return",i.e8s);case 7:case"end":return e.stop()}}),e)})))()},r.send=function(A){var t=A.to,e=A.amount,r=A.sendOpts,i=this;return Yr(Ne().mark((function A(){var n,o;return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,i.getLedgerActor();case 2:return n=A.sent,A.next=5,xr((function(){var A,i,o,a=BigInt(1e4),s=BigInt(Math.floor(1e4*Math.random())),g=void 0===(null==r?void 0:r.from_subaccount)?[]:Array.from([null==r?void 0:r.from_subaccount]),c=void 0===(null==r?void 0:r.created_at_time)?[]:Array.from([{timestamp_nanos:BigInt(null==r||null===(A=r.created_at_time)||void 0===A?void 0:A.getTime())}]),B={to:t,fee:{e8s:null!==(i=null==r?void 0:r.fee)&&void 0!==i?i:a},amount:{e8s:e},memo:null!==(o=null==r?void 0:r.memo)&&void 0!==o?o:s,from_subaccount:g,created_at_time:c};return n.send_dfx(B)}));case 5:return o=A.sent,A.abrupt("return",o);case 7:case"end":return A.stop()}}),A)})))()},e.createConnection=function(A,t,r,i,n){return new e(A,t,i,n,null!=r?r:Lr)},e.createActor=function(A,t,e){return Yr(Ne().mark((function r(){var i;return Ne().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Rr(qr,null!=t?t:Lr,A,e);case 2:return i=r.sent,r.abrupt("return",i);case 4:case"end":return r.stop()}}),r)})))()},e.createConnectionWithII=function(A,t,r){return Yr(Ne().mark((function i(){var n;return Ne().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.createActor(t);case 2:return n=i.sent,i.abrupt("return",e.createConnection(A,t,null!=r?r:Lr,n.actor,n.agent));case 4:case"end":return i.stop()}}),i)})))()},e.actorGetBalance=function(A,t){return Yr(Ne().mark((function e(){var r;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xr((function(){return A.account_balance_dfx({account:t})}));case 2:return r=e.sent,e.abrupt("return",r.e8s);case 4:case"end":return e.stop()}}),e)})))()},e.actorSend=function(A,t){var e=t.to,r=t.amount,i=t.sendOpts;return Yr(Ne().mark((function t(){var n;return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,xr((function(){var t,n,o,a=BigInt(1e4),s=BigInt(Math.floor(1e4*Math.random())),g=void 0===(null==i?void 0:i.from_subaccount)?[]:Array.from([null==i?void 0:i.from_subaccount]),c=void 0===(null==i?void 0:i.created_at_time)?[]:Array.from([{timestamp_nanos:BigInt(null==i||null===(t=i.created_at_time)||void 0===t?void 0:t.getTime())}]),B={to:e,fee:{e8s:null!==(n=null==i?void 0:i.fee)&&void 0!==n?n:a},amount:{e8s:r},memo:null!==(o=null==i?void 0:i.memo)&&void 0!==o?o:s,from_subaccount:g,created_at_time:c};return A.send_dfx(B)}));case 2:return n=t.sent,t.abrupt("return",n);case 4:case"end":return t.stop()}}),t)})))()},e}(Ur);!function(A){A.nns="nns",A.plug="plug",A.stoic="stoic",A.me="me",A.unknown="unknown"}(jr||(jr={}));var Wr=__webpack_require__(3032),Vr=Wr.lW.from&&Wr.lW.alloc&&Wr.lW.allocUnsafe&&Wr.lW.allocUnsafeSlow?Wr.lW.from:A=>new Wr.lW(A);function zr(A,t){const e=(A,e)=>t(A,e)>>>0;return e.signed=t,e.unsigned=e,e.model=A,e}zr("crc1",(function(A,t){Wr.lW.isBuffer(A)||(A=Vr(A));let e=~~t,r=0;for(let t=0;t>8)}return e}));let Ai=[0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920];"undefined"!=typeof Int32Array&&(Ai=new Int32Array(Ai)),zr("ccitt",(function(A,t){Wr.lW.isBuffer(A)||(A=Vr(A));let e=void 0!==t?~~t:65535;for(let t=0;t>8^r)]^e<<8)}return e}));let ti=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];"undefined"!=typeof Int32Array&&(ti=new Int32Array(ti)),zr("crc-16-modbus",(function(A,t){Wr.lW.isBuffer(A)||(A=Vr(A));let e=void 0!==t?~~t:65535;for(let t=0;t>8)}return e})),zr("xmodem",(function(A,t){Wr.lW.isBuffer(A)||(A=Vr(A));let e=void 0!==t?~~t:0;for(let t=0;t>>8&255;r^=255&A[t],r^=r>>>4,e=e<<8&65535,e^=r,r=r<<5&65535,e^=r,r=r<<7&65535,e^=r}return e}));let ei=[0,4489,8978,12955,17956,22445,25910,29887,35912,40385,44890,48851,51820,56293,59774,63735,4225,264,13203,8730,22181,18220,30135,25662,40137,36160,49115,44626,56045,52068,63999,59510,8450,12427,528,5017,26406,30383,17460,21949,44362,48323,36440,40913,60270,64231,51324,55797,12675,8202,4753,792,30631,26158,21685,17724,48587,44098,40665,36688,64495,60006,55549,51572,16900,21389,24854,28831,1056,5545,10034,14011,52812,57285,60766,64727,34920,39393,43898,47859,21125,17164,29079,24606,5281,1320,14259,9786,57037,53060,64991,60502,39145,35168,48123,43634,25350,29327,16404,20893,9506,13483,1584,6073,61262,65223,52316,56789,43370,47331,35448,39921,29575,25102,20629,16668,13731,9258,5809,1848,65487,60998,56541,52564,47595,43106,39673,35696,33800,38273,42778,46739,49708,54181,57662,61623,2112,6601,11090,15067,20068,24557,28022,31999,38025,34048,47003,42514,53933,49956,61887,57398,6337,2376,15315,10842,24293,20332,32247,27774,42250,46211,34328,38801,58158,62119,49212,53685,10562,14539,2640,7129,28518,32495,19572,24061,46475,41986,38553,34576,62383,57894,53437,49460,14787,10314,6865,2904,32743,28270,23797,19836,50700,55173,58654,62615,32808,37281,41786,45747,19012,23501,26966,30943,3168,7657,12146,16123,54925,50948,62879,58390,37033,33056,46011,41522,23237,19276,31191,26718,7393,3432,16371,11898,59150,63111,50204,54677,41258,45219,33336,37809,27462,31439,18516,23005,11618,15595,3696,8185,63375,58886,54429,50452,45483,40994,37561,33584,31687,27214,22741,18780,15843,11370,7921,3960];"undefined"!=typeof Int32Array&&(ei=new Int32Array(ei)),zr("kermit",(function(A,t){Wr.lW.isBuffer(A)||(A=Vr(A));let e=void 0!==t?~~t:0;for(let t=0;t>8)}return e}));let ri=[0,8801531,9098509,825846,9692897,1419802,1651692,10452759,10584377,2608578,2839604,11344079,3303384,11807523,12104405,4128302,12930697,4391538,5217156,13227903,5679208,13690003,14450021,5910942,6606768,14844747,15604413,6837830,16197969,7431594,8256604,16494759,840169,9084178,8783076,18463,10434312,1670131,1434117,9678590,11358416,2825259,2590173,10602790,4109873,12122826,11821884,3289031,13213536,5231515,4409965,12912278,5929345,14431610,13675660,5693559,6823513,15618722,14863188,6588335,16513208,8238147,7417269,16212302,1680338,10481449,9664223,1391140,9061683,788936,36926,8838341,12067563,4091408,3340262,11844381,2868234,11372785,10555655,2579964,14478683,5939616,5650518,13661357,5180346,13190977,12967607,4428364,8219746,16457881,16234863,7468436,15633027,6866552,6578062,14816117,1405499,9649856,10463030,1698765,8819930,55329,803287,9047340,11858690,3325945,4072975,12086004,2561507,10574104,11387118,2853909,13647026,5664841,5958079,14460228,4446803,12949160,13176670,5194661,7454091,16249200,16476294,8201341,14834538,6559633,6852199,15647388,3360676,11864927,12161705,4185682,10527045,2551230,2782280,11286707,9619101,1346150,1577872,10379115,73852,8875143,9172337,899466,16124205,7357910,8182816,16421083,6680524,14918455,15678145,6911546,5736468,13747439,14507289,5968354,12873461,4334094,5159928,13170435,4167245,12180150,11879232,3346363,11301036,2767959,2532769,10545498,10360692,1596303,1360505,9604738,913813,9157998,8856728,92259,16439492,8164415,7343561,16138546,6897189,15692510,14936872,6662099,5986813,14488838,13733104,5750795,13156124,5174247,4352529,12855018,2810998,11315341,10498427,2522496,12124823,4148844,3397530,11901793,9135439,862644,110658,8912057,1606574,10407765,9590435,1317464,15706879,6940164,6651890,14889737,8145950,16384229,16161043,7394792,5123014,13133629,12910283,4370992,14535975,5997020,5707818,13718737,2504095,10516836,11329682,2796649,11916158,3383173,4130419,12143240,8893606,129117,876971,9121104,1331783,9576124,10389322,1625009,14908182,6633453,6925851,15721184,7380471,16175372,16402682,8127489,4389423,12891860,13119266,5137369,13704398,5722165,6015427,14517560];"undefined"!=typeof Int32Array&&(ri=new Int32Array(ri)),zr("crc-24",(function(A,t){Wr.lW.isBuffer(A)||(A=Vr(A));let e=void 0!==t?~~t:11994318;for(let t=0;t>16^r)]^e<<8)}return e}));let ii=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];"undefined"!=typeof Int32Array&&(ii=new Int32Array(ii)),zr("crc-32",(function(A,t){Wr.lW.isBuffer(A)||(A=Vr(A));let e=0===t?0:-1^~~t;for(let t=0;t>>8}return-1^e}));let ni=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];var oi,ai,si,gi,ci;function Bi(A,t,e,r,i,n,o){try{var a=A[n](o),s=a.value}catch(A){return void e(A)}a.done?t(s):Promise.resolve(s).then(r,i)}"undefined"!=typeof Int32Array&&(ni=new Int32Array(ni)),zr("jam",(function(A,t=-1){Wr.lW.isBuffer(A)||(A=Vr(A));let e=0===t?0:~~t;for(let t=0;t>>8}return e})),BigInt(1),BigInt(32),function(A){A.ICP="ICP"}(oi||(oi={})),function(A){A.PRINCIPAL="principal",A.ACCOUNT="accountId",A.CANISTER="canister",A.ERC20="erc20",A.INVALID="invalid"}(ai||(ai={})),function(A){A.identity="permissions-identity",A.wallet="permissions-wallet"}(si||(si={})),function(A){A.client="signer-client",A.ready="signer-ready",A.success="signer-client-success",A.fail="signer-client-failure"}(gi||(gi={})),function(A){A.client="transaction-client",A.ready="transaction-ready",A.success="transaction-client-success",A.fail="transaction-client-failure"}(ci||(ci={}));var Ii="identity",ui="delegation",Ei="wallet",hi="delegation_params",fi="https://identity.ic0.app";function Qi(A){return Ci.apply(this,arguments)}function Ci(){var A;return A=Ne().mark((function A(t){return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,t.remove(Ii);case 2:return A.next=4,t.remove(ui);case 4:return A.next=6,t.remove(Ei);case 6:return A.next=8,t.remove(hi);case 8:case"end":return A.stop()}}),A)})),Ci=function(){var t=this,e=arguments;return new Promise((function(r,i){var n=A.apply(t,e);function o(A){Bi(n,r,i,o,a,"next",A)}function a(A){Bi(n,r,i,o,a,"throw",A)}o(void 0)}))},Ci.apply(this,arguments)}var di=function(){function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"astrox-",e=arguments.length>1?arguments[1]:void 0;!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.prefix=t,this._localStorage=e}var t=A.prototype;return t.get=function(A){return Promise.resolve(this._getICStorage().getItem(this.prefix+A))},t.set=function(A,t){return this._getICStorage().setItem(this.prefix+A,t),Promise.resolve()},t.remove=function(A){return this._getICStorage().removeItem(this.prefix+A),Promise.resolve()},t._getICStorage=function(){if(this._localStorage)return this._localStorage;var A="undefined"==typeof window?void 0===__webpack_require__.g?"undefined"==typeof self?void 0:self.localStorage:__webpack_require__.g.localStorage:window.localStorage;if(!A)throw new Error("Could not find local storage.");return A},A}();function li(A,t){(null==t||t>A.length)&&(t=A.length);for(var e=0,r=new Array(t);e7&&void 0!==arguments[7]?arguments[7]:[],g=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,B=arguments.length>10?arguments[10]:void 0,I=arguments.length>11?arguments[11]:void 0,u=arguments.length>12?arguments[12]:void 0;!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this._identity=t,this._key=e,this._chain=r,this._storage=i,this._wallet=n,this._appId=o,this._delegationIdentity=a,this._delegationTargets=s,this._lastRequest=g,this._confirm=c,this._idpWindowOption=B,this._idpWindow=I,this._eventHandler=u}var t,e,r=A.prototype;return r._handleSuccess=function(A,t){var e=this;return wi(Ne().mark((function r(){var i,n,o,a,s,g;return Ne().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0!==A.identity?(n=A.identity.delegations.map((function(A){var t,r=A.delegation.targets&&A.delegation.targets.length>0?null===(t=A.delegation.targets)||void 0===t?void 0:t.map((function(A){return _e.R.fromText(A)})):void 0;return r&&(e._delegationTargets=Di(new Set(e._delegationTargets.concat(r.map((function(A){return A.toText()})))))),{delegation:new mr(A.delegation.pubkey.buffer,A.delegation.expiration,r),signature:A.signature.buffer}})),o=vr.fromDelegations(n,A.identity.userPublicKey.buffer),e._chain=o,e._wallet=A.wallet,e._confirm=A.confirm):(a=A.delegations.map((function(A){var t,r=A.delegation.targets&&A.delegation.targets.length>0?null===(t=A.delegation.targets)||void 0===t?void 0:t.map((function(A){return _e.R.fromText(A)})):void 0;return r&&(e._delegationTargets=Di(new Set(e._delegationTargets.concat(r.map((function(A){return A.toText()})))))),{delegation:new mr(A.delegation.pubkey.buffer,A.delegation.expiration,r),signature:A.signature.buffer}})),s=vr.fromDelegations(a,A.userPublicKey.buffer),e._chain=s),g=e._key){r.next=5;break}return r.abrupt("return",e);case 5:return e._delegationIdentity=Dr.fromDelegation(g,e._chain),e._identity=e._delegationIdentity,null===(i=e._idpWindow)||void 0===i||i.close(),r.next=10,null==t?void 0:t();case 10:return e._removeEventListener(),r.abrupt("return",e);case 12:case"end":return r.stop()}}),r)})))()},r.getIdentity=function(){return this._identity},r.getLastRequest=function(){return this._lastRequest},r.getDelegationIdentity=function(){return this._delegationIdentity},r.getInnerKey=function(){return this._key},r.getDelegationChain=function(){return this._chain},r.getConfirm=function(){return this._confirm},r.setWallet=function(A){this._wallet=A},r.getDelegateTargets=function(){return this._delegationTargets},r.setDelegationTargets=function(A){this._delegationTargets=Di(new Set(this._delegationTargets.concat(A)))},r.isAuthenticated=function(){var A=this;return wi(Ne().mark((function t(){return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",!A.getIdentity().getPrincipal().isAnonymous()&&null!==A._chain);case 1:case"end":return t.stop()}}),t)})))()},r.login=function(A){var t=this;return wi(Ne().mark((function e(){var r,i,n,o,a;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t._key){e.next=7;break}return n=lr.generate(),t._key=n,e.next=7,t._storage.set(Ii,JSON.stringify(n));case 7:return(o=new URL((null==A||null===(r=A.identityProvider)||void 0===r?void 0:r.toString())||fi)).hash="#authorize",null===(i=t._idpWindow)||void 0===i||i.close(),t._removeEventListener(),t._idpWindow=null!==(a=window.open(o.toString(),"idpWindow",t._idpWindowOption))&&void 0!==a?a:void 0,e.abrupt("return",new Promise((function(e,r){t._eventHandler=t._getEventHandler(o,e,r,A),window.addEventListener("message",t._eventHandler)})));case 14:case"end":return e.stop()}}),e)})))()},r._getEventHandler=function(A,t,e,r){var i=this;return function(){var n=wi(Ne().mark((function n(o){var a,s,g,c,B,I,u,E,h,f;return Ne().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o.origin===A.origin){n.next=2;break}return n.abrupt("return");case 2:a=o.data,n.t0=a.kind,n.next="authorize-ready"===n.t0?6:"authorize-client-success"===n.t0?12:"authorize-client-failure"===n.t0?35:37;break;case 6:return E="authorize-append"===(null==r?void 0:r.authType)&&i._lastRequest?vi(mi({},i._lastRequest),{delegationTargets:null!==(B=null==r?void 0:r.delegationTargets)&&void 0!==B?B:[],sessionPublicKey:new Uint8Array(null===(s=i._key)||void 0===s?void 0:s.getPublicKey().toDer()),kind:"authorize-append"}):{kind:"authorize-client",sessionPublicKey:new Uint8Array(null===(g=i._key)||void 0===g?void 0:g.getPublicKey().toDer()),maxTimeToLive:null==r?void 0:r.maxTimeToLive,permissions:null!==(I=null==r?void 0:r.permissions)&&void 0!==I?I:[si.identity],delegationTargets:null!==(u=null==r?void 0:r.delegationTargets)&&void 0!==u?u:[],delegationModes:null==r?void 0:r.delegationModes,appId:i._appId,noUnify:null==r?void 0:r.noUnify,host:(null==r?void 0:r.customDomain)||(null==r?void 0:r.host)},i._lastRequest=E,null===(c=i._idpWindow)||void 0===c||c.postMessage(E,A.origin),n.abrupt("break",38);case 12:return n.prev=12,n.t1=t,n.next=16,i._handleSuccess(a,null==r?void 0:r.onSuccess);case 16:if(n.t2=n.sent,(0,n.t1)(n.t2),!i._chain){n.next=21;break}return n.next=21,i._storage.set(ui,JSON.stringify(i._chain.toJSON()));case 21:if(void 0===i._wallet){n.next=24;break}return n.next=24,i._storage.set(Ei,JSON.stringify(i._wallet));case 24:if(void 0===i._lastRequest){n.next=29;break}return f={lastRequest:vi(mi({},i._lastRequest),{maxTimeToLive:null===(h=i._lastRequest.maxTimeToLive)||void 0===h?void 0:h.toString()}),confirm:i._confirm},n.next=29,i._storage.set(hi,JSON.stringify(f));case 29:n.next=34;break;case 31:n.prev=31,n.t3=n.catch(12),e(i._handleFailure(n.t3.message,null==r?void 0:r.onError));case 34:return n.abrupt("break",38);case 35:return e(i._handleFailure(a.text,null==r?void 0:r.onError)),n.abrupt("break",38);case 37:return n.abrupt("break",38);case 38:case"end":return n.stop()}}),n,null,[[12,31]])})));return function(A){return n.apply(this,arguments)}}()},r._handleFailure=function(A,t){var e;return null===(e=this._idpWindow)||void 0===e||e.close(),null==t||t(A),this._removeEventListener(),A},r._removeEventListener=function(){this._eventHandler&&window.removeEventListener("message",this._eventHandler),this._eventHandler=void 0},r.logout=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this;return wi(Ne().mark((function e(){return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Qi(t._storage),t._identity=new Le,t._key=null,t._chain=null,t._delegationTargets=[],t._wallet=void 0,t._delegationIdentity=void 0,t._lastRequest=void 0,t._confirm=void 0,A.returnTo)try{window.history.pushState({},"",A.returnTo)}catch(t){window.location.href=A.returnTo}case 10:case"end":return e.stop()}}),e)})))()},A.create=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{appId:""},t=this;return wi(Ne().mark((function e(){var r,i,n,o,a,s,g,c,B,I,u,E,h,f,Q,C;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=null!==(r=A.storage)&&void 0!==r?r:new di("astrox-"),n=null,!A.identity){e.next=7;break}n=A.identity,e.next=11;break;case 7:return e.next=9,i.get(Ii);case 9:if(o=e.sent)try{n=lr.fromJSON(o)}catch(A){}case 11:if(a=new Le,s=null,c=[],B=void 0,I=!0,u=void 0,!n){e.next=45;break}return e.prev=19,e.next=22,i.get(ui);case 22:return E=e.sent,e.next=25,i.get(Ei);case 25:if((h=e.sent)&&(g=JSON.parse(h)),!E){e.next=37;break}if((s=vr.fromJSON(E)).delegations.forEach((function(A){var t=A.delegation.targets&&A.delegation.targets.length>0?A.delegation.targets:void 0;t&&(c=Di(new Set(c.concat(t.map((function(A){return A.toText()}))))))})),Sr(s)){e.next=36;break}return e.next=33,Qi(i);case 33:n=null,e.next=37;break;case 36:a=Dr.fromDelegation(n,s);case 37:e.next=45;break;case 39:return e.prev=39,e.t0=e.catch(19),console.error(e.t0),e.next=44,Qi(i);case 44:n=null;case 45:return e.next=48,i.get(hi);case 48:return(Q=e.sent)&&(f=JSON.parse(Q),B=vi(mi({},f.lastRequest),{maxTimeToLive:void 0!==f.lastRequest.maxTimeToLive?BigInt(f.lastRequest.maxTimeToLive):void 0}),I=f.confirm,u=Dr.fromDelegation(n,s)),C=new t(a,n,s,i,g,A.appId,u,c,B,I,A.idpWindowOption),e.abrupt("return",C);case 52:case"end":return e.stop()}}),e,null,[[19,39]])})))()},t=A,(e=[{key:"wallet",get:function(){return this._wallet}}])&&yi(t.prototype,e),A}(),ki=function(){function A(){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A)}var t=A.prototype;return t._removeEventListener=function(){this._eventHandler&&window.removeEventListener("message",this._eventHandler),this._eventHandler=void 0},t._openWindow=function(A,t,e){var r;this._remove(),this._window=null!==(r=window.open(A,null!=t?t:"icWindow",e))&&void 0!==r?r:void 0},t._remove=function(){var A;null===(A=this._window)||void 0===A||A.close(),this._removeEventListener()},A}();function Mi(A,t){(null==t||t>A.length)&&(t=A.length);for(var e=0,r=new Array(t);e0&&void 0!==e[0]?e[0]:{},xi(n,$i,void 0),xi(n,An,void 0),xi(n,tn,void 0),xi(n,en,void 0),xi(n,nn,void 0),xi(n,on,void 0),A.next=9,n.getAuthClient().logout(t);case 9:case"end":return A.stop()}}),A)})));var o=Gi(e);e.queryBalance=_i(Ne().mark((function A(){var t,e;return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(void 0!==o.wallet){A.next=3;break}throw Error("Wallet address is not found");case 3:if(void 0!==Fi(o,An)){A.next=5;break}throw Error("Ledger connection failed");case 5:return A.next=7,null===(t=Fi(o,An))||void 0===t?void 0:t.getBalance(o.wallet.accountId);case 7:return e=A.sent,A.abrupt("return",e);case 9:case"end":return A.stop()}}),A)})));var a=Gi(e);e.handleAuthenticated=function(){var A=_i(Ne().mark((function A(t){var e,r,i;return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return e=t.ledgerCanisterId,r=t.ledgerHost,A.next=3,Pr.createActor(a.getAuthClient().getDelegationIdentity(),e,r);case 3:i=A.sent,xi(a,An,Pr.createConnection(a.getAuthClient().getInnerKey(),a.getAuthClient().getDelegationIdentity(),e,i.actor,Fi(a,$i)));case 5:case"end":return A.stop()}}),A)})));return function(t){return A.apply(this,arguments)}}();var s=Gi(e);e.createActor=function(){var A=_i(Ne().mark((function A(t,e){return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!0!==Fi(s,Xi).getConfirm()||void 0===e||""===e){A.next=3;break}return A.next=3,s._appendAuth(e);case 3:if(!Fi(s,on).dev){A.next=6;break}return A.next=6,Fi(s,$i).fetchRootKey();case 6:return A.abrupt("return",sr.createActor(t,{agent:Fi(s,$i),canisterId:e}));case 7:case"end":return A.stop()}}),A)})));return function(t,e){return A.apply(this,arguments)}}();var g=Gi(e);e.requestTransfer=function(){var A=_i(Ne().mark((function A(t){var e,r,i,n,o;return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(!(i=null===(e=t.sendOpts)||void 0===e?void 0:e.memo)){A.next=8;break}if("EXT"!==(n=t.standard.toUpperCase())||Array.isArray(i)){A.next=6;break}throw new Error("`sendOpts.memo` only supports `Array` type when the standard is `EXT`");case 6:if("ICP"!==n||"bigint"===(void 0===i?"undefined":Ki(i))){A.next=8;break}throw new Error("`sendOpts.memo` only supports `bigint` type when the standard is `ICP`");case 8:return console.assert(void 0!==g.wallet,"wallet address is not found"),(o=new URL((null==t||null===(r=t.walletProvider)||void 0===r?void 0:r.toString())||Fi(g,tn)||"https://63k2f-nyaaa-aaaah-aakla-cai.raw.ic0.app")).hash="#transaction",g._openWindow(o.toString(),"icWindow",Fi(g,rn)?Zi:void 0),A.abrupt("return",new Promise((function(A,e){g._eventHandler=g._getEventHandler(o,A,e,t),window.addEventListener("message",g._eventHandler)})));case 13:case"end":return A.stop()}}),A)})));return function(t){return A.apply(this,arguments)}}();var c=Gi(e);return e.signMessage=function(){var A=_i(Ne().mark((function A(t){var e,r;return Ne().wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return console.assert(void 0!==c.wallet,"wallet address is not found"),(r=new URL((null==t||null===(e=t.signerProvider)||void 0===e?void 0:e.toString())||Fi(c,en)||"https://63k2f-nyaaa-aaaah-aakla-cai.raw.ic0.app")).hash="#signer",c._openWindow(r.toString(),"icWindow",Fi(c,rn)?Zi:void 0),A.abrupt("return",new Promise((function(A,e){c._eventHandler=c._getSignerHandler(r,A,e,t),window.addEventListener("message",c._eventHandler)})));case 6:case"end":return A.stop()}}),A)})));return function(t){return A.apply(this,arguments)}}(),xi(Gi(e),Xi,A),xi(Gi(e),$i,t),e.injectWindow(),e}var n,o,a=i.prototype;return a.connect=function(A){var t=this;return _i(Ne().mark((function e(){var r,i,n,o,a,s,g;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=A.delegationModes)||!r.length){e.next=7;break}if(i=["global","domain"],!r.some((function(A){return!i.includes(A)}))){e.next=6;break}throw new Error("`delegationModes` elements only support `global` and `private`");case 6:r=Oi(new Set(r));case 7:return o=null!==(n=null==A?void 0:A.identityProvider)&&void 0!==n?n:fi,a=["ryjl3-tyaaa-aaaaa-aaaba-cai"],A&&(null==A?void 0:A.delegationTargets)&&(a=Oi(new Set(a.concat(null==A?void 0:A.delegationTargets)))),A&&(null==A?void 0:A.ledgerCanisterId)&&(a=Oi(new Set(a.concat(null==A?void 0:A.ledgerCanisterId)))),A&&(null==A?void 0:A.whitelist)&&(a=Oi(new Set(a.concat(null==A?void 0:A.whitelist)))),a=Vi(Oi(new Set(a))),t._setConnectOptions(Ji(Yi({},A),{delegationTargets:a})),t._setLoginOptions(Ji(Yi({},A),{identityProvider:o,maxTimeToLive:null!==(s=null==A?void 0:A.maxTimeToLive)&&void 0!==s?s:ji*Pi*Wi,permissions:null!==(g=null==A?void 0:A.permissions)&&void 0!==g?g:[si.identity],delegationTargets:a,delegationModes:r})),e.next=19,new Promise((function(e,r){t.getAuthClient().login(Ji(Yi({},Fi(t,nn)),{onSuccess:_i(Ne().mark((function r(){var i,n,o,a,s;return Ne().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=t.getAuthClient().getIdentity(),xi(t,$i,new Ze({identity:o,host:null!==(a=A.host)&&void 0!==a?a:window.location.origin})),!A.dev){r.next=7;break}return r.next=7,Fi(t,$i).fetchRootKey();case 7:return r.next=10,t.handleAuthenticated({ledgerCanisterId:A.ledgerCanisterId,ledgerHost:null!==(s=A.ledgerHost)&&void 0!==s?s:"https://boundary.ic0.app/"});case 10:if(!(null==A?void 0:A.onSuccess)){r.next=15;break}return r.next=13,null==A||null===(i=A.onSuccess)||void 0===i?void 0:i.call(A);case 13:r.next=17;break;case 15:return r.next=17,null==A||null===(n=A.onAuthenticated)||void 0===n?void 0:n.call(A,t);case 17:e(t);case 18:case"end":return r.stop()}}),r)}))),onError:t.handleError}))}));case 19:return e.abrupt("return",t);case 20:case"end":return e.stop()}}),e)})))()},a.isAuthenticated=function(){var A=this;return _i(Ne().mark((function t(){var e;return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Fi(A,Xi).isAuthenticated();case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)})))()},a._setWalletProvider=function(A){xi(this,tn,A)},a._setSignerProvider=function(A){xi(this,en,A)},a._setUseFrame=function(A){xi(this,rn,A)},a._setConnectOptions=function(A){xi(this,on,A)},a._setLoginOptions=function(A){xi(this,nn,A)},a.getAuthClient=function(){return Fi(this,Xi)},a.injectWindow=function(){void 0!==window.ic?window.ic.astrox=this:window.ic={astrox:this}},a._appendAuth=function(A){var t=this;return _i(Ne().mark((function e(){var r,i;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=Vi(Fi(t,Xi).getDelegateTargets())).includes(A)){e.next=5;break}return e.abrupt("return",t);case 5:return i=Vi(i=Oi(r).concat([A])),t._setConnectOptions(Ji(Yi({},Fi(t,on)),{delegationTargets:i})),t._setLoginOptions(Ji(Yi({},Fi(t,nn)),{delegationTargets:i})),e.next=11,new Promise((function(A,e){t.getAuthClient().login(Ji(Yi({},Fi(t,nn)),{authType:"authorize-append",delegationTargets:i,onSuccess:_i(Ne().mark((function e(){var r,i,n,o,a,s,g,c,B,I;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=t.getAuthClient().getIdentity(),xi(t,$i,new Ze({identity:c,host:null!==(B=Fi(t,on).host)&&void 0!==B?B:window.location.origin})),!Fi(t,on).dev){e.next=7;break}return e.next=7,Fi(t,$i).fetchRootKey();case 7:return e.next=10,t.handleAuthenticated({ledgerCanisterId:null===(r=Fi(t,on))||void 0===r?void 0:r.ledgerCanisterId,ledgerHost:null!==(I=null===(i=Fi(t,on))||void 0===i?void 0:i.ledgerHost)&&void 0!==I?I:"https://boundary.ic0.app/"});case 10:return e.next=12,null===(n=Fi(t,on))||void 0===n?void 0:n.onSuccess;case 12:if(!e.sent){e.next=17;break}return e.next=15,null===(o=Fi(t,on))||void 0===o||null===(a=o.onSuccess)||void 0===a?void 0:a.call(o);case 15:e.next=19;break;case 17:return e.next=19,null===(s=Fi(t,on))||void 0===s||null===(g=s.onAuthenticated)||void 0===g?void 0:g.call(s,t);case 19:A(t);case 20:case"end":return e.stop()}}),e)}))),onError:t.handleError}))}));case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}}),e)})))()},a.handleError=function(A){throw new Error(A)},a._getSignerHandler=function(A,t,e,r){var i=this;return function(){var n=_i(Ne().mark((function n(o){var a,s,g,c,B,I,u;return Ne().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o.origin===A.origin){n.next=2;break}return n.abrupt("return");case 2:a=o.data,n.t0=a.kind,n.next=n.t0===gi.ready?6:n.t0===gi.success?11:n.t0===gi.fail?13:15;break;case 6:return I={kind:gi.client,from:null!==(g=r.from)&&void 0!==g?g:i.wallet.accountId,message:r.message,maxTimeout:null!==(c=r.maxTimeout)&&void 0!==c?c:90,successTimeout:null!==(B=r.successTimeout)&&void 0!==B?B:10},null===(s=i._window)||void 0===s||s.postMessage(I,A.origin),n.abrupt("break",16);case 11:try{t(i._handleSuccess(a,r.onSuccess,null!==(u=r.successTimeout)&&void 0!==u?u:10))}catch(A){e(i._handleFailure(A.message,r.onError))}return n.abrupt("break",16);case 13:return e(i._handleFailure(a.text,r.onError)),n.abrupt("break",16);case 15:return n.abrupt("break",16);case 16:case"end":return n.stop()}}),n)})));return function(A){return n.apply(this,arguments)}}()},a._getEventHandler=function(A,t,e,r){var i=this;return function(){var n=_i(Ne().mark((function n(o){var a,s,g,c;return Ne().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o.origin===A.origin){n.next=2;break}return n.abrupt("return");case 2:a=o.data,n.t0=a.kind,n.next=n.t0===ci.ready?6:n.t0===ci.success?10:n.t0===ci.fail?12:14;break;case 6:return g={kind:ci.client,sendData:Yi({},r)},null===(s=i._window)||void 0===s||s.postMessage(g,A.origin),n.abrupt("break",15);case 10:try{t(i._handleSuccess(a,r.onSuccess,null!==(c=r.successTimeout)&&void 0!==c?c:10))}catch(A){e(i._handleFailure(A.message,r.onError))}return n.abrupt("break",15);case 12:return e(i._handleFailure(a.text,r.onError)),n.abrupt("break",15);case 14:return n.abrupt("break",15);case 15:case"end":return n.stop()}}),n)})));return function(A){return n.apply(this,arguments)}}()},a._handleFailure=function(A,t){return this._remove(),null==t||t(A),A},a._handleSuccess=function(A,t,e){var r=this;return e?setTimeout((function(){return r._remove()}),1e3*e):this._remove(),null==t||t(A),A},i.create=function(A){return _i(Ne().mark((function t(){var e,r,n,o,a,s,g,c,B,I,u,E,h;return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=["ryjl3-tyaaa-aaaaa-aaaba-cai"],A&&(null==A?void 0:A.delegationTargets)&&(e=Oi(new Set(e.concat(null==A?void 0:A.delegationTargets)))),A&&(null==A?void 0:A.ledgerCanisterId)&&(e=Oi(new Set(e.concat(null==A?void 0:A.ledgerCanisterId)))),A&&(null==A?void 0:A.whitelist)&&(e=Oi(new Set(e.concat(null==A?void 0:A.whitelist)))),e=Vi(Oi(new Set(e))),t.next=7,Si.create(Ji(Yi({},A),{delegationTargets:e,idpWindowOption:!0===A.useFrame?"height=600, width=800, top=0, right=0, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no":void 0}));case 7:if(r=t.sent,n=r.getIdentity(),a=new Ze({identity:n,host:null!==(o=A.host)&&void 0!==o?o:window.location.origin}),!A.dev){t.next=14;break}return t.next=14,a.fetchRootKey();case 14:return(s=new i(r,a))._setWalletProvider(null==A?void 0:A.walletProviderUrl),s._setSignerProvider(null==A?void 0:A.signerProviderUrl),s._setUseFrame(null==A?void 0:A.useFrame),t.next=20,s.isAuthenticated();case 20:if(!t.sent){t.next=27;break}return t.next=25,s.handleAuthenticated({ledgerCanisterId:null!==(c=A.ledgerCanisterId)&&void 0!==c?c:"ryjl3-tyaaa-aaaaa-aaaba-cai",ledgerHost:null!==(B=A.ledgerHost)&&void 0!==B?B:"https://boundary.ic0.app/"});case 25:return t.next=27,null==A||null===(g=A.onAuthenticated)||void 0===g?void 0:g.call(A,s);case 27:return u=null!==(I=null==A?void 0:A.identityProvider)&&void 0!==I?I:fi,s._setConnectOptions(Ji(Yi({},A),{dev:A.dev,delegationTargets:e})),s._setLoginOptions(Ji(Yi({},A),{identityProvider:u,maxTimeToLive:null!==(E=null==A?void 0:A.maxTimeToLive)&&void 0!==E?E:ji*Pi*Wi,permissions:null!==(h=null==A?void 0:A.permissions)&&void 0!==h?h:[si.identity],delegationTargets:e})),t.abrupt("return",s);case 33:case"end":return t.stop()}}),t)})))()},n=i,(o=[{key:"identity",get:function(){return Fi(this,Xi).getIdentity()}},{key:"principal",get:function(){return this.identity.getPrincipal()}},{key:"wallet",get:function(){return Fi(this,Xi).wallet}},{key:"delegationTargets",get:function(){return Fi(this,Xi).getDelegateTargets()}},{key:"loginOption",get:function(){return Fi(this,nn)}},{key:"connectOptions",get:function(){return Fi(this,on)}}])&&qi(n.prototype,o),i}(ki);!function(A){A[A.SysFatal=1]="SysFatal",A[A.SysTransient=2]="SysTransient",A[A.DestinationInvalid=3]="DestinationInvalid",A[A.CanisterReject=4]="CanisterReject",A[A.CanisterError=5]="CanisterError"}(zi||(zi={}));var sn=__webpack_require__(4798),gn=__webpack_require__(5317),cn=__webpack_require__(844),Bn=__webpack_require__(4947);const In=(new TextEncoder).encode("\nic-request");class un{getPrincipal(){return this._principal||(this._principal=sn.R.selfAuthenticating(new Uint8Array(this.getPublicKey().toDer()))),this._principal}async transformRequest(A){const{body:t}=A,e=function(A,t){var e={};for(var r in A)Object.prototype.hasOwnProperty.call(A,r)&&t.indexOf(r)<0&&(e[r]=A[r]);if(null!=A&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(A);i>BigInt(32))),t.setUint32(4,Number(e%A))}return t.setUint32(8,r),t.setUint32(12,i),A}!function(A){A.Call="call"}(hn||(hn={}));const dn=BigInt(1e6),ln=BigInt(6e4);class pn{constructor(A){this._value=(BigInt(Date.now())+BigInt(A)-ln)*dn}toCBOR(){return qA.value.u64(this._value.toString(16),16)}toHash(){return(0,Qn.dZ)(this._value)}}var wn;!function(A){A.Received="received",A.Processing="processing",A.Replied="replied",A.Rejected="rejected",A.Unknown="unknown",A.Done="done"}(wn||(wn={}));const yn=3e5;class bn extends gn.e{constructor(A){super(A),this.message=A}}class mn extends gn.e{constructor(A){super(A),this.message=A}}class vn{constructor(A={}){if(this.rootKey=(0,Bn.H_)("308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100814c0e6ec71fab583b08bd81373c255c3c371b2e84863c98a4f1e08b74235d14fb5d9c0cd546d9685f913a0c0b2cc5341583bf4b4392e467db96d65b9bb4cb717112f8472e0d5a4d14505ffd7484b01291091c5f87b98883463f98091a0baaae"),this._pipeline=[],this._timeDiffMsecs=0,this._rootKeyFetched=!1,this._retryTimes=3,this._isAgent=!0,A.source){if(!(A.source instanceof vn))throw new Error("An Agent's source can only be another HttpAgent");this._pipeline=[...A.source._pipeline],this._identity=A.source._identity,this._fetch=A.source._fetch,this._host=A.source._host,this._credentials=A.source._credentials}else this._fetch=A.fetch||function(){let A;if("undefined"!=typeof window){if(!window.fetch)throw new bn("Fetch implementation was not available. You appear to be in a browser context, but window.fetch was not present.");A=window.fetch.bind(window)}else if(void 0!==__webpack_require__.g){if(!__webpack_require__.g.fetch)throw new bn("Fetch implementation was not available. You appear to be in a Node.js context, but global.fetch was not available.");A=__webpack_require__.g.fetch.bind(__webpack_require__.g)}else"undefined"!=typeof self&&self.fetch&&(A=self.fetch.bind(self));if(A)return A;throw new bn("Fetch implementation was not available. Please provide fetch to the HttpAgent constructor, or ensure it is available in the window or global context.")}()||fetch.bind(__webpack_require__.g),this._fetchOptions=A.fetchOptions,this._callOptions=A.callOptions;if(void 0!==A.host)A.host.match(/^[a-z]+:/)||"undefined"==typeof window?this._host=new URL(A.host):this._host=new URL(window.location.protocol+"//"+A.host);else if(void 0!==A.source)this._host=A.source._host;else{const A="undefined"!=typeof window?window.location:void 0;if(!A)throw new Error("Must specify a host to connect to.");this._host=new URL(A+"")}if(void 0!==A.retryTimes&&(this._retryTimes=A.retryTimes),this._host.hostname.endsWith(".ic0.app")?this._host.hostname="ic0.app":this._host.hostname.endsWith(".icp0.io")?this._host.hostname="icp0.io":this._host.hostname.endsWith(".icp-api.io")&&(this._host.hostname="icp-api.io"),A.credentials){const{name:t,password:e}=A.credentials;this._credentials=`${t}${e?":"+e:""}`}this._identity=Promise.resolve(A.identity||new En),A.disableNonce||this.addTransform(function(A=Cn){return async t=>{A();const e=t.request.headers?new Headers(t.request.headers):new Headers;t.request.headers=e,"call"===t.endpoint&&(t.body.nonce=A())}}(Cn))}isLocal(){const A=this._host.hostname;return"127.0.0.1"===A||A.endsWith("localhost")}addTransform(A,t=A.priority||0){const e=this._pipeline.findIndex((A=>(A.priority||0)=0?e:this._pipeline.length,0,Object.assign(A,{priority:t}))}async getPrincipal(){if(!this._identity)throw new mn("This identity has expired due this application's security policy. Please refresh your authentication.");return(await this._identity).getPrincipal()}async call(A,t,e){const r=await(void 0!==e?await e:await this._identity);if(!r)throw new mn("This identity has expired due this application's security policy. Please refresh your authentication.");const i=sn.R.from(A),n=t.effectiveCanisterId?sn.R.from(t.effectiveCanisterId):i,o=r.getPrincipal()||sn.R.anonymous();let a=new pn(yn);Math.abs(this._timeDiffMsecs)>3e4&&(a=new pn(yn+this._timeDiffMsecs));const s={request_type:hn.Call,canister_id:i,method_name:t.methodName,arg:t.arg,sender:o,ingress_expiry:a};let g=await this._transform({request:{body:null,method:"POST",headers:new Headers(Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{}))},endpoint:"call",body:s});g=await r.transformRequest(g);const c=fn.cv(g.body),B=this._requestAndRetry((()=>this._fetch(""+new URL(`/api/v2/canister/${n.toText()}/call`,this._host),Object.assign(Object.assign(Object.assign({},this._callOptions),g.request),{body:c})))),[I,u]=await Promise.all([B,(0,cn.vH)(s)]);return{requestId:u,response:{ok:I.ok,status:I.status,statusText:I.statusText}}}async _requestAndRetry(A,t=0){if(t>this._retryTimes&&0!==this._retryTimes)throw new Error(`AgentError: Exceeded configured limit of ${this._retryTimes} retry attempts. Please check your network connection or try again in a few moments`);const e=await A();if(!e.ok){const r=await e.clone().text(),i=`Server returned an error:\n Code: ${e.status} (${e.statusText})\n Body: ${r}\n`;if(this._retryTimes>t)return console.warn(i+" Retrying request."),await this._requestAndRetry(A,t+1);throw new Error(i)}return e}async query(A,t,e){const r=await(void 0!==e?await e:await this._identity);if(!r)throw new mn("This identity has expired due this application's security policy. Please refresh your authentication.");const i="string"==typeof A?sn.R.fromText(A):A,n=(null==r?void 0:r.getPrincipal())||sn.R.anonymous(),o={request_type:"query",canister_id:i,method_name:t.methodName,arg:t.arg,sender:n,ingress_expiry:new pn(yn)};let a=await this._transform({request:{method:"POST",headers:new Headers(Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{}))},endpoint:"read",body:o});a=await(null==r?void 0:r.transformRequest(a));const s=fn.cv(a.body),g=await this._requestAndRetry((()=>this._fetch(""+new URL(`/api/v2/canister/${i.toText()}/query`,this._host),Object.assign(Object.assign(Object.assign({},this._fetchOptions),a.request),{body:s}))));return fn.Jx(await g.arrayBuffer())}async createReadStateRequest(A,t){const e=await(void 0!==t?await t:await this._identity);if(!e)throw new mn("This identity has expired due this application's security policy. Please refresh your authentication.");const r=(null==e?void 0:e.getPrincipal())||sn.R.anonymous(),i=await this._transform({request:{method:"POST",headers:new Headers(Object.assign({"Content-Type":"application/cbor"},this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{}))},endpoint:"read_state",body:{request_type:"read_state",paths:A.paths,sender:r,ingress_expiry:new pn(yn)}});return null==e?void 0:e.transformRequest(i)}async readState(A,t,e,r){const i="string"==typeof A?sn.R.fromText(A):A,n=null!=r?r:await this.createReadStateRequest(t,e),o=fn.cv(n.body),a=await this._requestAndRetry((()=>this._fetch(""+new URL(`/api/v2/canister/${i}/read_state`,this._host),Object.assign(Object.assign(Object.assign({},this._fetchOptions),n.request),{body:o}))));if(!a.ok)throw new Error(`Server returned an error:\n Code: ${a.status} (${a.statusText})\n Body: ${await a.text()}\n`);return fn.Jx(await a.arrayBuffer())}async syncTime(A){const t=await Promise.resolve().then(__webpack_require__.bind(__webpack_require__,6369)),e=Date.now();try{A||console.log("Syncing time with the IC. No canisterId provided, so falling back to ryjl3-tyaaa-aaaaa-aaaba-cai");const r=(await t.request({canisterId:null!=A?A:sn.R.from("ryjl3-tyaaa-aaaaa-aaaba-cai"),agent:this,paths:["time"]})).get("time");r&&(this._timeDiffMsecs=Number(r)-Number(e))}catch(A){console.error("Caught exception while attempting to sync time:",A)}}async status(){const A=this._credentials?{Authorization:"Basic "+btoa(this._credentials)}:{},t=await this._requestAndRetry((()=>this._fetch(""+new URL("/api/v2/status",this._host),Object.assign({headers:A},this._fetchOptions))));return fn.Jx(await t.arrayBuffer())}async fetchRootKey(){return this._rootKeyFetched||(this.rootKey=(await this.status()).root_key,this._rootKeyFetched=!0),this.rootKey}invalidateIdentity(){this._identity=null}replaceIdentity(A){this._identity=Promise.resolve(A)}_transform(A){let t=Promise.resolve(A);for(const A of this._pipeline)t=t.then((t=>A(t).then((A=>A||t))));return t}}var Dn;function Sn(){const A="undefined"==typeof window?void 0===__webpack_require__.g?"undefined"==typeof self?void 0:self.ic.agent:__webpack_require__.g.ic.agent:window.ic.agent;if(!A)throw new Error("No Agent could be found.");return A}!function(A){A.Error="err",A.GetPrincipal="gp",A.GetPrincipalResponse="gpr",A.Query="q",A.QueryResponse="qr",A.Call="c",A.CallResponse="cr",A.ReadState="rs",A.ReadStateResponse="rsr",A.Status="s",A.StatusResponse="sr"}(Dn||(Dn={}));var kn=__webpack_require__(4524);async function Mn(A,t,e,r,i,n){var o;const a=[(new TextEncoder).encode("request_status"),e],s=null!=i?i:await(null===(o=A.createReadStateRequest)||void 0===o?void 0:o.call(A,{paths:[a]})),g=await A.readState(t,{paths:[a]},void 0,s);if(null==A.rootKey)throw new Error("Agent root key not initialized before polling");const c=await kn.KB.create({certificate:g.certificate,rootKey:A.rootKey,canisterId:t,blsVerify:n}),B=c.lookup([...a,(new TextEncoder).encode("status")]);let I;switch(I=void 0===B?wn.Unknown:(new TextDecoder).decode(B),I){case wn.Replied:return c.lookup([...a,"reply"]);case wn.Received:case wn.Unknown:case wn.Processing:return await r(t,e,I),Mn(A,t,e,r,s);case wn.Rejected:{const A=new Uint8Array(c.lookup([...a,"reject_code"]))[0],t=(new TextDecoder).decode(c.lookup([...a,"reject_message"]));throw new Error(`Call was rejected:\n Request ID: ${(0,Bn.NC)(e)}\n Reject code: ${A}\n Reject text: ${t}\n`)}case wn.Done:throw new Error(`Call was marked as done but we never saw the reply:\n Request ID: ${(0,Bn.NC)(e)}\n`)}throw new Error("unreachable")}var Gn,Nn=({IDL:A})=>{const t=A.Principal,e=A.Record({controllers:A.Vec(A.Principal),freezing_threshold:A.Nat,memory_allocation:A.Nat,compute_allocation:A.Nat}),r=A.Record({controllers:A.Opt(A.Vec(A.Principal)),freezing_threshold:A.Opt(A.Nat),memory_allocation:A.Opt(A.Nat),compute_allocation:A.Opt(A.Nat)}),i=A.Vec(A.Nat8);return A.Service({canister_status:A.Func([A.Record({canister_id:t})],[A.Record({status:A.Variant({stopped:A.Null,stopping:A.Null,running:A.Null}),memory_size:A.Nat,cycles:A.Nat,settings:e,module_hash:A.Opt(A.Vec(A.Nat8))})],[]),create_canister:A.Func([A.Record({settings:A.Opt(r)})],[A.Record({canister_id:t})],[]),delete_canister:A.Func([A.Record({canister_id:t})],[],[]),deposit_cycles:A.Func([A.Record({canister_id:t})],[],[]),install_code:A.Func([A.Record({arg:A.Vec(A.Nat8),wasm_module:i,mode:A.Variant({reinstall:A.Null,upgrade:A.Null,install:A.Null}),canister_id:t})],[],[]),provisional_create_canister_with_cycles:A.Func([A.Record({settings:A.Opt(r),amount:A.Opt(A.Nat)})],[A.Record({canister_id:t})],[]),provisional_top_up_canister:A.Func([A.Record({canister_id:t,amount:A.Nat})],[],[]),raw_rand:A.Func([],[A.Vec(A.Nat8)],[]),start_canister:A.Func([A.Record({canister_id:t})],[],[]),stop_canister:A.Func([A.Record({canister_id:t})],[],[]),uninstall_code:A.Func([A.Record({canister_id:t})],[],[]),update_settings:A.Func([A.Record({canister_id:A.Principal,settings:r})],[],[])})};class _n extends gn.e{constructor(A,t,e,r){super(["Call failed:",` Canister: ${A.toText()}`,` Method: ${t} (${e})`,...Object.getOwnPropertyNames(r).map((A=>` "${A}": ${JSON.stringify(r[A])}`))].join("\n")),this.canisterId=A,this.methodName=t,this.type=e,this.props=r}}class Rn extends _n{constructor(A,t,e){var r;super(A,t,"query",{Status:e.status,Code:null!==(r=zi[e.reject_code])&&void 0!==r?r:`Unknown Code "${e.reject_code}"`,Message:e.reject_message}),this.result=e}}class Fn extends _n{constructor(A,t,e,r){super(A,t,"update",{"Request ID":(0,Bn.NC)(e),"HTTP status code":r.status.toString(),"HTTP status text":r.statusText}),this.requestId=e,this.response=r}}!function(A){A.Install="install",A.Reinstall="reinstall",A.Upgrade="upgrade"}(Gn||(Gn={}));const Un=Symbol.for("ic-agent-metadata");class xn{constructor(A){this[Un]=Object.freeze(A)}static agentOf(A){return A[Un].config.agent}static interfaceOf(A){return A[Un].service}static canisterIdOf(A){return sn.R.from(A[Un].config.canisterId)}static async install(A,t){const e=void 0===A.mode?Gn.Install:A.mode,r=A.arg?[...new Uint8Array(A.arg)]:[],i=[...new Uint8Array(A.module)],n="string"==typeof t.canisterId?sn.R.fromText(t.canisterId):t.canisterId;await Yn(t).install_code({mode:{[e]:null},arg:r,wasm_module:i,canister_id:n})}static async createCanister(A){const{canister_id:t}=await Yn(A||{}).provisional_create_canister_with_cycles({amount:[],settings:[]});return t}static async createAndInstallCanister(A,t,e){const r=await this.createCanister(e);return await this.install(Object.assign({},t),Object.assign(Object.assign({},e),{canisterId:r})),this.createActor(A,Object.assign(Object.assign({},e),{canisterId:r}))}static createActorClass(A){const t=A({IDL:Qn.xO});return class extends xn{constructor(A){const e="string"==typeof A.canisterId?sn.R.fromText(A.canisterId):A.canisterId;super({config:Object.assign(Object.assign(Object.assign({},Ln),A),{canisterId:e}),service:t});for(const[e,r]of t._fields)this[e]=Hn(this,e,r,A.blsVerify)}}}static createActor(A,t){return new(this.createActorClass(A))(t)}}function qn(A,t){const r=Qn.xO.decode(A,e.lW.from(t));switch(r.length){case 0:return;case 1:return r[0];default:return r}}const Ln={pollingStrategyFactory:function(){return function(...A){return async(t,e,r)=>{for(const i of A)await i(t,e,r)}}((A=function(){let A=!0;return async()=>!!A&&(A=!1,!0)}(),1e3,async(t,e,r)=>{if(await A(t,e,r))return new Promise((A=>setTimeout(A,1e3)))}),function(A,t){let e=1e3;return()=>new Promise((A=>setTimeout((()=>{e*=1.2,A()}),e)))}(),function(A){const t=Date.now()+A;return async(A,e,r)=>{if(Date.now()>t)throw new Error(`Request timed out after 300000 msec:\n Request ID: ${(0,Bn.NC)(e)}\n Request status: ${r}\n`)}}(3e5));var A}};function Hn(A,t,e,r){let i;i=e.annotations.includes("query")?async(r,...i)=>{var n,o;const a=(r=Object.assign(Object.assign({},r),null===(o=(n=A[Un].config).queryTransform)||void 0===o?void 0:o.call(n,t,i,Object.assign(Object.assign({},A[Un].config),r)))).agent||A[Un].config.agent||Sn(),s=sn.R.from(r.canisterId||A[Un].config.canisterId),g=Qn.xO.encode(e.argTypes,i),c=await a.query(s,{methodName:t,arg:g});switch(c.status){case"rejected":throw new Rn(s,t,c);case"replied":return qn(e.retTypes,c.reply.arg)}}:async(i,...n)=>{var o,a;const s=(i=Object.assign(Object.assign({},i),null===(a=(o=A[Un].config).callTransform)||void 0===a?void 0:a.call(o,t,n,Object.assign(Object.assign({},A[Un].config),i)))).agent||A[Un].config.agent||Sn(),{canisterId:g,effectiveCanisterId:c,pollingStrategyFactory:B}=Object.assign(Object.assign(Object.assign({},Ln),A[Un].config),i),I=sn.R.from(g),u=void 0!==c?sn.R.from(c):I,E=Qn.xO.encode(e.argTypes,n),{requestId:h,response:f}=await s.call(I,{methodName:t,arg:E,effectiveCanisterId:u});if(!f.ok)throw new Fn(I,t,h,f);const Q=B(),C=await Mn(s,u,h,Q,r);if(void 0!==C)return qn(e.retTypes,C);if(0!==e.retTypes.length)throw new Error(`Call was returned undefined, but type [${e.retTypes.join(",")}].`)};const n=(...A)=>i({},...A);return n.withOptions=A=>(...t)=>i(A,...t),n}function Yn(A){function t(A,t,e){const r=t[0];let i=sn.R.fromHex("");return r&&"object"==typeof r&&r.canister_id&&(i=sn.R.from(r.canister_id)),{effectiveCanisterId:i}}return xn.createActor(Nn,Object.assign(Object.assign(Object.assign({},A),{canisterId:sn.R.fromHex("")}),{callTransform:t,queryTransform:t}))}__webpack_require__(6369),__webpack_require__(4e3);const Jn=A=>{if(A<=127)return 1;if(A<=255)return 2;if(A<=65535)return 3;if(A<=16777215)return 4;throw new Error("Length too long (> 4 bytes)")},Tn=(A,t,e)=>{if(e<=127)return A[t]=e,1;if(e<=255)return A[t]=129,A[t+1]=e,2;if(e<=65535)return A[t]=130,A[t+1]=e>>8,A[t+2]=e,3;if(e<=16777215)return A[t]=131,A[t+1]=e>>16,A[t+2]=e>>8,A[t+3]=e,4;throw new Error("Length too long (> 4 bytes)")},On=(A,t)=>{if(A[t]<128)return 1;if(128===A[t])throw new Error("Invalid length 0");if(129===A[t])return 2;if(130===A[t])return 3;if(131===A[t])return 4;throw new Error("Length too long (> 4 bytes)")},Kn=(Uint8Array.from([48,12,6,10,43,6,1,4,1,131,184,67,1,1]),Uint8Array.from([48,5,6,3,43,101,112]));Uint8Array.from([48,16,6,7,42,134,72,206,61,2,1,6,5,43,129,4,0,10]);class jn{constructor(A){this.rawKey=A,this.derKey=jn.derEncode(A)}static from(A){return this.fromDer(A.toDer())}static fromRaw(A){return new jn(A)}static fromDer(A){return new jn(this.derDecode(A))}static derEncode(A){return function(A,t){const e=2+Jn(A.byteLength+1),r=t.byteLength+e+A.byteLength;let i=0;const n=new Uint8Array(1+Jn(r)+r);return n[i++]=48,i+=Tn(n,i,r),n.set(t,i),i+=t.byteLength,n[i++]=3,i+=Tn(n,i,A.byteLength+1),n[i++]=0,n.set(new Uint8Array(A),i),n}(A,Kn).buffer}static derDecode(A){const t=((A,t)=>{let e=0;const r=(A,t)=>{if(i[e++]!==A)throw new Error("Expected: "+t)},i=new Uint8Array(A);if(r(48,"sequence"),e+=On(i,e),!((A,t)=>{if(A.byteLength!==t.byteLength)return!1;const e=new Uint8Array(A),r=new Uint8Array(t);for(let A=0;A{const e=On(A,t);if(1===e)return A[t];if(2===e)return A[t+1];if(3===e)return(A[t+1]<<8)+A[t+2];if(4===e)return(A[t+1]<<16)+(A[t+2]<<8)+A[t+3];throw new Error("Length too long (> 4 bytes)")})(i,e)-1;e+=On(i,e),r(0,"0 padding");const o=i.slice(e);if(n!==o.length)throw new Error(`DER payload mismatch: Expected length ${n} actual length ${o.length}`);return o})(A,Kn);if(t.length!==this.RAW_KEY_LENGTH)throw new Error("An Ed25519 public key must be exactly 32bytes long");return t}toDer(){return this.derKey}toRaw(){return this.rawKey}}jn.RAW_KEY_LENGTH=32;class Pn extends Error{constructor(A){super(A),this.message=A,Object.setPrototypeOf(this,Pn.prototype)}}function Wn(A){return new Uint8Array(A).reduce(((A,t)=>A+t.toString(16).padStart(2,"0")),"")}const Vn=(new TextEncoder).encode("ic-request-auth-delegation");function zn(A){if("string"!=typeof A||A.length<64)throw new Error("Invalid public key.");return new Uint8Array((null!==(t=A.match(/.{1,2}/g))&&void 0!==t?t:[]).map((A=>parseInt(A,16)))).buffer;var t}(new TextEncoder).encode("\nic-request");class Zn{constructor(A,t,e){this.pubkey=A,this.expiration=t,this.targets=e}toCBOR(){return qA.value.map(Object.assign({pubkey:qA.value.bytes(this.pubkey),expiration:qA.value.u64(this.expiration.toString(16),16)},this.targets&&{targets:qA.value.array(this.targets.map((A=>qA.value.bytes(A.toUint8Array()))))}))}toJSON(){return Object.assign({expiration:this.expiration.toString(16),pubkey:Wn(this.pubkey)},this.targets&&{targets:this.targets.map((A=>A.toHex()))})}}class Xn{constructor(A,t){this.delegations=A,this.publicKey=t}static async create(A,t,e=new Date(Date.now()+9e5),r={}){var i,n;const o=await async function(A,t,e,r){const i=new Zn(t.toDer(),BigInt(+e)*BigInt(1e6),r),n=new Uint8Array([...Vn,...new Uint8Array((0,cn.vH)(i))]);return{delegation:i,signature:await A.sign(n)}}(A,t,e,r.targets);return new Xn([...(null===(i=r.previous)||void 0===i?void 0:i.delegations)||[],o],(null===(n=r.previous)||void 0===n?void 0:n.publicKey)||A.getPublicKey().toDer())}static fromJSON(A){const{publicKey:t,delegations:e}="string"==typeof A?JSON.parse(A):A;if(!Array.isArray(e))throw new Error("Invalid delegations.");return new this(e.map((A=>{const{delegation:t,signature:e}=A,{pubkey:r,expiration:i,targets:n}=t;if(void 0!==n&&!Array.isArray(n))throw new Error("Invalid targets.");return{delegation:new Zn(zn(r),BigInt(`0x${i}`),n&&n.map((A=>{if("string"!=typeof A)throw new Error("Invalid target.");return sn.R.fromHex(A)}))),signature:zn(e)}})),zn(t))}static fromDelegations(A,t){return new this(A,t)}toJSON(){return{delegations:this.delegations.map((A=>{const{delegation:t,signature:e}=A,{targets:r}=t;return{delegation:Object.assign({expiration:t.expiration.toString(16),pubkey:Wn(t.pubkey)},r&&{targets:r.map((A=>A.toHex()))}),signature:Wn(e)}})),publicKey:Wn(this.publicKey)}}}var $n;function Ao(A){if(!A||!(null==A?void 0:A.delegations))return!1;var t=!0,e=!1,r=void 0;try{for(var i,n=A.delegations[Symbol.iterator]();!(t=(i=n.next()).done);t=!0){var o=i.value.delegation;if(parseInt(o.expiration,16)/1e6<=+Date.now())return!1}}catch(A){e=!0,r=A}finally{try{t||null==n.return||n.return()}finally{if(e)throw r}}return!0}!function(A){A[A.ECDSA_WITH_SHA256=-7]="ECDSA_WITH_SHA256"}($n||($n={}));var to=function(){function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"astrox-",e=arguments.length>1?arguments[1]:void 0;!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.prefix=t,this._localStorage=e}var t=A.prototype;return t.get=function(A){return Promise.resolve(this._getICStorage().getItem(this.prefix+A))},t.set=function(A,t){return this._getICStorage().setItem(this.prefix+A,t),Promise.resolve()},t.remove=function(A){return this._getICStorage().removeItem(this.prefix+A),Promise.resolve()},t._getICStorage=function(){if(this._localStorage)return this._localStorage;var A="undefined"==typeof window?void 0===__webpack_require__.g?"undefined"==typeof self?void 0:self.localStorage:__webpack_require__.g.localStorage:window.localStorage;if(!A)throw new Error("Could not find local storage.");return A},A}();function eo(A,t){(null==t||t>A.length)&&(t=A.length);for(var e=0,r=new Array(t);eA.length)&&(t=A.length);for(var e=0,r=new Array(t);eBigInt(0)?qA.value.tagged(2,qA.value.bytes(no(A.toString(16)))):qA.value.tagged(3,qA.value.bytes(no((BigInt("-1")*A).toString(16))))},go(A,[{key:"name",get:function(){return"BigInt"}},{key:"priority",get:function(){return 1}}]),A}(),Co=qA.SelfDescribeCborSerializer.withDefaultEncoders(!0);function lo(A){for(var t=A.byteLength,e=BigInt(0),r=0;r1?t-1:0),r=1;rA.length)&&(t=A.length);for(var e=0,r=new Array(t);eA.length)&&(t=A.length);for(var e=0,r=new Array(t);e=0||(i[e]=A[e]);return i}(A,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(A,e)&&(i[e]=A[e])}return i}function Xo(A,t){return Xo=Object.setPrototypeOf||function(A,t){return A.__proto__=t,A},Xo(A,t)}function $o(A){return function(A){if(Array.isArray(A))return Yo(A)}(A)||function(A){if("undefined"!=typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(A)||function(A,t){if(A){if("string"==typeof A)return Yo(A,t);var e=Object.prototype.toString.call(A).slice(8,-1);return"Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e?Array.from(e):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Yo(A,t):void 0}}(A)||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(A){A.success="transaction-client-success",A.fail="transaction-client-failure"}(ko||(ko={})),function(A){A.token="token",A.nft="nft"}(Mo||(Mo={}));function Aa(A){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var e,r=Wo(A);if(t){var i=Wo(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return function(A,t){return!t||"object"!=((e=t)&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)&&"function"!=typeof t?Jo(A):t;var e}(this,e)}}var ta=new WeakMap,ea=function(A){!function(A,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(t&&t.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),t&&Xo(A,t)}(e,A);var t=Aa(e);function e(A,r){var i,n,o,a;return function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n=Jo(i=t.call(this)),a={writable:!0,value:void 0},function(A,t){if(t.has(A))throw new TypeError("Cannot initialize the same private elements twice on an object")}(n,o=ta),o.set(n,a),i._cacheKey=A,i._chain=r,i}var r=e.prototype;return r.getPublicKey=function(){var A=this;return{toDer:function(){return A._chain.publicKey}}},r.getPrincipal=function(){return jo(this,ta)||(A=this,t=ta,e=sn.R.selfAuthenticating(new Uint8Array(this.getPublicKey().toDer())),function(A,t,e){if(t.set)t.set.call(A,e);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=e}}(A,Ko(A,t,"set"),e)),jo(this,ta);var A,t,e},r.sign=function(A){var t=this;return Oo(Ne().mark((function e(){var r,i;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=yo(A),e.next=4,Uo.invoke(t._cacheKey,r);case 4:return i=e.sent,e.abrupt("return",wo(i));case 8:throw e.prev=8,e.t0=e.catch(0),new Error("signing message error: ".concat(e.t0.message));case 11:case"end":return e.stop()}}),e,null,[[0,8]])})))()},r.transformRequest=function(A){var t=this;return Oo(Ne().mark((function e(){var r,i,n,o;return Ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=A.body,i=Zo(A,["body"]),e.next=3,(0,cn.vH)(r);case 3:return n=e.sent,o=(new TextEncoder).encode("\nic-request"),e.t0=zo,e.t1=Vo({},i),e.t2=r,e.next=10,t.sign(new Uint8Array($o(o).concat($o(new Uint8Array(n)))));case 10:return e.t3=e.sent,e.t4=t._chain.delegations,e.t5=t._chain.publicKey,e.t6={content:e.t2,sender_sig:e.t3,sender_delegation:e.t4,sender_pubkey:e.t5},e.t7={body:e.t6},e.abrupt("return",(0,e.t0)(e.t1,e.t7));case 16:case"end":return e.stop()}}),e)})))()},e}(un),ra=function(){function A(){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A)}return A.fromErrorCode=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.defaultErrorKind,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A.defaultErrorMessage,i={kind:e,text:"Unknown Error"};switch(t){case A.bridgeUnknownError:return{kind:e,text:"Unknown Error: ".concat(r)};case A.bridgeIllegalArguments:return{kind:e,text:"Illegal Arguments: ".concat(r)};case A.bridgeIllegalState:return{kind:e,text:"Illegal State: ".concat(r)};case A.bridgeUnsupportedError:return{kind:e,text:"Unsupported Error: ".concat(r)};case A.bridgeIdentityNotFound:return{kind:e,text:"Identity Not Found: ".concat(r)};case A.bridgeIdentityExpired:return{kind:e,text:"Identity Expired: ".concat(r)};case A.bridgeWalletNotFound:return{kind:e,text:"Wallet Not Found: ".concat(r)};case A.bridgeOperationCancelled:return{kind:e,text:"Operation Cancelled: ".concat(r)};case A.bridgeNFTIdentifierError:return{kind:e,text:"NFT Identifier Error: ".concat(r)};case A.bridgeUnknownMethod:return{kind:e,text:"Unknown method: ".concat(r)};default:return i}},A}();function ia(A,t){(null==t||t>A.length)&&(t=A.length);for(var e=0,r=new Array(t);e` type when the standard is `EXT`");case 13:if("ICP"!==o||"bigint"==(void 0===n?"undefined":(h=n)&&"undefined"!=typeof Symbol&&h.constructor===Symbol?"symbol":typeof h)){e.next=15;break}throw new Error("`sendOpts.memo` only supports `bigint` type when the standard is `ICP`");case 15:a=r.created_at_time,i=ga({},r),a&&(u=a,(null!=(E=Date)&&"undefined"!=typeof Symbol&&E[Symbol.hasInstance]?E[Symbol.hasInstance](u):u instanceof E)&&(i.created_at_time=a.getTime()));case 18:return e.prev=18,s=void 0!==A.symbol?Mo.token:Mo.nft,e.next=22,xo.invoke(t.cacheKey,ca(ga({},A),{sendOpts:i}),t._wallet);case 22:g=e.sent,e.t0=s,e.next=e.t0===Mo.token?26:e.t0===Mo.nft?27:28;break;case 26:return e.abrupt("return",{kind:ko.success,type:s,payload:ca(ga({},g),{originPayload:A})});case 27:return e.abrupt("return",{kind:ko.success,type:s,payload:{success:!0,originPayload:A}});case 28:return e.abrupt("break",29);case 29:e.next=35;break;case 31:return e.prev=31,e.t1=e.catch(18),c=JSON.parse(e.t1.message),B=c.code,I=c.message,e.abrupt("return",ra.fromErrorCode(B,ko.fail,I));case 35:case"end":return e.stop()}var u,E,h}),e,null,[[18,31]])})))()},r.queryBalance=function(){var A=this;return oa(Ne().mark((function t(){return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A._assertEnv(),t.next=3,qo.invoke(ga({},A.wallet));case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t)})))()},r.address=function(){return ga({},this.wallet)},r.init=function(){var A=this;return oa(Ne().mark((function t(){return Ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,A._initBridge();case 2:A._assertEnv();case 3:case"end":return t.stop()}}),t)})))()},t=A,(e=[{key:"cacheKey",get:function(){return this._cacheKey}},{key:"wallet",get:function(){return this._wallet}},{key:"chain",get:function(){return this._chain}},{key:"confirm",get:function(){return this._confirm}},{key:"identity",get:function(){return this._identity}},{key:"agent",get:function(){return this._agent}},{key:"storage",get:function(){return this._storage}}])&&aa(t.prototype,e),A}();window.icx=new Qa;const Ca={providerUrl:"https://63k2f-nyaaa-aaaah-aakla-cai.raw.ic0.app",delegationModes:["global"],ledgerHost:"https://icp0.io/"},da=async(A="",t=[])=>await an.create({useFrame:!(window.innerWidth<768),signerProviderUrl:`${Ca.providerUrl}/#signer`,walletProviderUrl:`${Ca.providerUrl}/#transaction`,identityProvider:`${Ca.providerUrl}/#authorize`,host:A||Ca.ledgerHost,ledgerHost:A||Ca.ledgerHost,ledgerCanisterId:"ryjl3-tyaaa-aaaaa-aaaba-cai",permissions:["permissions-identity","permissions-wallet"],delegationTargets:t,noUnify:!1});window.ic?.astrox||da();const la=[{id:"dfinity",name:"Internet Identity",icon:"https://d15bmhsw4m27if.cloudfront.net/artemis/dfinity.svg",adapter:Be},{id:"plug",name:"Plug Wallet",icon:"https://d15bmhsw4m27if.cloudfront.net/artemis/plug.jpg",adapter:Ie},{id:"astrox",name:"AstroX ME",icon:"https://d15bmhsw4m27if.cloudfront.net/artemis/astroxme.webp",adapter:{readyState:"Loadable",url:"https://63k2f-nyaaa-aaaah-aakla-cai.raw.ic0.app",connectWallet:async function(A={whitelist:[],host:""}){console.log(A);var t=this;return new Promise((async(e,r)=>{try{await window.icx.init()}catch(A){window.icx=!1}if(window.icx._isReady){await da(A.host,A.whitelist),await window.icx.isConnected()||await window.icx.connect({...Ca,delegationTargets:A.whitelist,ledgerHost:A.host});var i=window.icx.wallet.accountId;t.agent=new At({identity:window.icx.identity,host:A.host}),t.createActor=async function(A={canisterId:"",interfaceFactory:!1}){return!(!A.canisterId||!A.interfaceFactory)&&await window.icx.createActor(A.canisterId,A.interfaceFactory)},t.getPrincipal=async function(A){return a.fromText(window.icx.wallet.principal)},t.disConnectWallet=async function(){await window.icx.disconnect()},e({accountId:i,principalId:window.icx.wallet.principal})}else{if(!window.ic?.astrox&&(await da(),!window.ic?.astrox))return!1;await window.ic.astrox.isAuthenticated()||await window.ic.astrox.connect({...window.ic.astrox.connectOptions,delegationTargets:A.whitelist,ledgerHost:A.host}),i=await Ht(window.ic.astrox.principal.toString()),t.agent=new At({identity:window.ic.astrox.identity,host:A.host}),t.createActor=async function(A={canisterId:"",interfaceFactory:!1}){return!(!A.canisterId||!A.interfaceFactory)&&await window.ic.astrox.createActor(A.interfaceFactory,A.canisterId)},t.getPrincipal=async function(A){return window.ic.astrox.principal},t.disConnectWallet=async function(){await window.ic.astrox.disconnect()},e({accountId:i,principalId:window.ic.astrox.principal.toString()})}}))}}},{id:"bitfinity",name:"Bitfinity Wallet",icon:"https://d15bmhsw4m27if.cloudfront.net/artemis/bitfinity.svg",adapter:Nt},{id:"stoic",name:"Stoic Wallet",icon:"https://d15bmhsw4m27if.cloudfront.net/artemis/stoic.png",adapter:ke}],pa=class{state="idle";transactionLlist={};stepsList=[];completed=[];activeStep="";FailedSteps=[];transactionResults={};trxArray=[];_adapterObj=!1;constructor(A={},t){return!(!t||!t.provider)&&(Object.entries(A).forEach((([A,t])=>{"object"==typeof t&&(this.transactionLlist[A]=t)})),Object.keys(this.transactionLlist).length>0&&(this.stepsList=Object.keys(this.transactionLlist),void(this._adapterObj=t)))}_prepareTrxArry=function(){var A=this;A.trxArray=[];var t=[];Object.values(this.transactionLlist).forEach((e=>{t.push(e),e.updateNextStep&&(A.trxArray.push(t),t=[])})),t.length>0&&A.trxArray.push(t);var e=0;return A.trxArray.forEach(((t,r)=>{t.forEach(((t,i)=>{A.trxArray[r][i].stepIndex=e,A.trxArray[r][i].state="idle",A.trxArray[r][i].onSuccess=async t=>{const e=A.trxArray[r][i].stepIndex;if(t.err||t.Err||t.ERR)return A.FailedSteps.push(A.stepsList[e]),A.transactionResults[A.stepsList[e]]=t,A.state="error",A.trxArray[r][i].state="error",!1;A.completed.push(A.stepsList[e]),A.activeStep=A.stepsList[e+1],A.transactionResults[A.stepsList[e]]=t,A.trxArray[r][i].state="done",A.trxArray[r][i].updateNextStep&&A.trxArray[r+1]&&await A.trxArray[r][i].updateNextStep(t,A.trxArray[r+1][0])},A.trxArray[r][i].onFail=t=>{const e=A.trxArray[r][i].stepIndex;return console.error(`error in ${A.stepsList[e]} `,A.trxArray[r][i]),console.error(t),A.FailedSteps.push(A.stepsList[e]),A.activeStep=A.stepsList[e],A.state="error",A.trxArray[r][i].state="error",!1},e++}))})),A.trxArray};async retryExecute(){return"error"==this.state&&(this.trxArray=this.trxArray.map((A=>A.filter((A=>"done"!==A.state)))),this.state="running",this.FailedSteps=[],await this._processBatch())}async execute(){return!("running"==this.state||!this._adapterObj||0==Object.keys(this.transactionLlist).length)&&("done"==this.state?this.transactionResults:(this.state="running",this.FailedSteps=[],this.trxArray=this._prepareTrxArry(),await this._processBatch()))}async _processBatch(){if(!this.trxArray.length)return!1;var A=this;if(A.activeStep=A.completed.length>0?A.stepsList[A.completed.length]:A.stepsList[0],["plug","bitfinity"].includes(this._adapterObj.walletActive)){for(const e of A.trxArray){if("error"==A.state||"done"==A.state)break;if(e.length)var t=await this._adapterObj.provider.batchTransactions(e)}return 0==A.FailedSteps.length?(A.state="done",A.transactionResults):(A.state="error",!1)}if(!["stoic","dfinity","astrox"].includes(this._adapterObj.walletActive))return A.state="error",!1;try{for(const r of A.trxArray){if("error"==A.state||"done"==A.state)break;if(r.length)for(const i of r){if("error"==A.state||"done"==A.state)break;var e=await A._adapterObj.getCanisterActor(i.canisterId,i.idl);t=!1,i.methodName?t=i.args?await e[i.methodName](...i.args):await e[i.methodName]():await i.onFail(t),t?await i.onSuccess(t):await i.onFail(t)}}return 0==A.FailedSteps.length?(A.state="done",A.transactionResults):(A.state="error",!1)}catch(t){return A.state="error",!1}}},wa="https://icp0.io",ya="ryjl3-tyaaa-aaaaa-aaaba-cai",ba="dfinityWallet";if(window){const A=new class{accountId=!1;principalId=!1;walletActive="";provider=!1;balance=0;hostUrl=wa;canisterActors={};anoncanisterActors=[];connectedWalletInfo={};wallets=la;_cleanUpConnObj(A){return A.whitelist.push(ya),A.whitelist=Array.from(new Set([...A.whitelist])),A}async connect(A,t={whitelist:[],host:wa}){if(t=this._cleanUpConnObj(t),this.hostUrl=t.host,!A)return!1;try{var e=this.wallets.find((t=>t.id==A));if(!e)return!1;if("Installed"==e.adapter.readyState||"Loadable"==e.adapter.readyState){var r=await e.adapter.connectWallet(t);if(!r)return!1;this.principalId=r.principalId,this.accountId=r.accountId,this.walletActive=A,this.provider=e.adapter,this.connectedWalletInfo={id:e.id,icon:e.icon,name:e.name},r.stoicAccounts&&localStorage.setItem("stoicAccounts",r.stoicAccounts.length||0),localStorage.setItem(ba,this.walletActive);var i=new CustomEvent("dfinityWalletConnected");window.dispatchEvent(i,A),this.getWalletBalance()}else"NotDetected"==e.adapter.readyState&&window.open(e.adapter.url,"_blank");return this.principalId}catch(A){return!1}}async disconnect(){return this.provider.disConnectWallet(),localStorage.removeItem(ba),this.provider=!1,this.address=!1,this.wallet="",!0}async isLoaded(){return new Promise(((A,t)=>{var e=setInterval((()=>{this.provider&&(clearInterval(e),A(!0))}),500)}))}async getWalletBalance(A="number"){if(!this.accountId)return 0;var t=await this.getCanisterActor(ya,Gt,!1);const e=(await t.account_balance_dfx({account:this.accountId})).e8s;return this.balance="number"==A?parseFloat(e)/1e8:e,this.balance}async requestICPTransfer(A){return new Promise((async(t,e)=>{var r=await this.getCanisterActor(ya,(()=>{}));const i=await r.send_dfx(A).catch((A=>{e(A)}));i&&t(i),e(!1)}))}async getCanisterActor(A,t,e=!1){let r=!1;if(e){if(this.anoncanisterActors[A])return this.canisterActors[A];{const e=new At({AnonymousIdentity:xA,host:this.hostUrl});return await Dt.createActor(t,{agent:e,canisterId:A})}}return this.canisterActors[A]?r=this.canisterActors[A]:(r=await this.provider.createActor({canisterId:A,interfaceFactory:t}),this.canisterActors[A]=r),r}async autoConnect(A={whitelist:[ya],host:wa}){A=this._cleanUpConnObj(A);var t=localStorage.getItem(ba);return!!this.wallets.find((A=>A.id==t))&&await this.connect(t,A)}constructor(A={whitelist:[ya],host:wa}){localStorage.getItem(ba),A=this._cleanUpConnObj(A)}}({whitelist:[ya],host:wa});window.artemis=A,window.artemis.BatchTransact=pa}}()})(); \ No newline at end of file +(function(){var __webpack_modules__={9251:function(e,t,n){"use strict";n.r(t),n.d(t,{encodePath:function(){return l},request:function(){return c}});var r=n(7897),i=n(4192),o=n(3080),a=n(2995),s=n(1723),u=n(8870);const c=async e=>{const{canisterId:t,agent:n,paths:r}=e,a=[...new Set(r)],s=a.map((e=>l(e,t))),c=new Map,p=a.map(((e,r)=>(async()=>{var p;try{const i=await n.readState(t,{paths:[s[r]]}),p=(await o.us.create({certificate:i.certificate,rootKey:n.rootKey,canisterId:t})).lookup(l(a[r],t));if(p)switch(e){case"time":c.set(e,(0,u.A)(p));break;case"controllers":c.set(e,h(p));break;case"module_hash":c.set(e,f(p));break;case"candid":c.set(e,(new TextDecoder).decode(p));break;default:if("string"!=typeof e&&"key"in e&&"path"in e)switch(e.decodeStrategy){case"raw":c.set(e.key,p);break;case"leb128":c.set(e.key,(0,u.b)(p));break;case"cbor":c.set(e.key,d(p));break;case"hex":c.set(e.key,f(p));break;case"utf-8":c.set(e.key,A(p))}}else console.warn(`Expected to find result for path ${e}, but instead found nothing.`),"string"==typeof e?c.set(e,null):c.set(e.key,null)}catch(t){if(null===(p=null==t?void 0:t.message)||void 0===p?void 0:p.includes("Invalid certificate"))throw new i.Y(t.message);"string"!=typeof e&&"key"in e&&"path"in e?c.set(e.key,null):c.set(e,null),console.group(),console.warn(`Expected to find result for path ${e}, but instead found nothing.`),console.warn(t),console.groupEnd()}})()));return await Promise.all(p),c},l=(e,t)=>{const n=new TextEncoder,r=e=>new DataView(n.encode(e).buffer).buffer,i=new DataView(t.toUint8Array().buffer).buffer;switch(e){case"time":return[r("time")];case"controllers":return[r("canister"),i,r("controllers")];case"module_hash":return[r("canister"),i,r("module_hash")];case"subnet":return[r("subnet")];case"candid":return[r("canister"),i,r("metadata"),r("candid:service")];default:if("key"in e&&"path"in e){if("string"==typeof e.path||e.path instanceof ArrayBuffer){const t=e.path,n="string"==typeof t?r(t):t;return[r("canister"),i,r("metadata"),n]}return e.path}}throw new Error(`An unexpeected error was encountered while encoding your path for canister status. Please ensure that your path, ${e} was formatted correctly.`)},f=e=>(0,a.nj)(e),d=e=>s.D4(e),A=e=>(new TextDecoder).decode(e),h=e=>{const[t,...n]=d(e);return n.map((e=>r.p.fromUint8Array(new Uint8Array(e))))}},1723:function(e,t,n){"use strict";n.d(t,{D4:function(){return f},lF:function(){return u}});var r=n(7516),i=n(9283),o=n(2995);const a=i.SelfDescribeCborSerializer.withDefaultEncoders(!0);var s;function u(e){return a.serialize(e)}function c(e){const t=e.byteLength;let n=BigInt(0);for(let r=0;rBigInt(0)?i.value.tagged(2,i.value.bytes((0,o.aD)(e.toString(16)))):i.value.tagged(3,i.value.bytes((0,o.aD)((BigInt("-1")*e).toString(16))))}}),function(e){e[e.Uint64LittleEndian=71]="Uint64LittleEndian",e[e.Semantic=55799]="Semantic"}(s||(s={}));class l extends r.Decoder{createByteString(e){return(0,o.xW)(...e)}createByteStringFromHeap(e,t){return e===t?new ArrayBuffer(0):new Uint8Array(this._heap.slice(e,t))}}function f(e){const t=new Uint8Array(e);return new l({size:t.byteLength,tags:{2:e=>c(e),3:e=>-c(e),[s.Semantic]:e=>e}}).decodeFirst(t)}},3080:function(e,t,n){"use strict";n.d(t,{us:function(){return d}});var r=n(1723),i=n(4192),o=n(6968),a=n(2995),s=n(7897),u=n(4104),c=n(8870);class l extends i.Y{constructor(e){super(`Invalid certificate: ${e}`)}}function f(e,t){if(e.byteLength!==t.byteLength)return!1;const n=new Uint8Array(e),r=new Uint8Array(t);for(let e=0;em)throw new l("Certificate is signed more than 5 minutes in the future. Certificate time: "+b.toISOString()+" Current time: "+new Date(d).toISOString());try{o=await this._blsVerify(new Uint8Array(r),new Uint8Array(n),new Uint8Array(i))}catch(e){o=!1}if(!o)throw new l("Signature verification failed")}async _checkDelegationAndGetKey(e){if(!e)return this._rootKey;const t=await d.create({certificate:e.certificate,rootKey:this._rootKey,canisterId:this._canisterId,blsVerify:this._blsVerify,maxAgeInMinutes:43200}),n=t.lookup(["subnet",e.subnet_id,"canister_ranges"]);if(!n)throw new l(`Could not find canister ranges for subnet 0x${(0,a.nj)(e.subnet_id)}`);if(!r.D4(n).map((e=>[s.p.fromUint8Array(e[0]),s.p.fromUint8Array(e[1])])).some((e=>e[0].ltEq(this._canisterId)&&e[1].gtEq(this._canisterId))))throw new l(`Canister ${this._canisterId} not in range of delegations for subnet 0x${(0,a.nj)(e.subnet_id)}`);const i=t.lookup(["subnet",e.subnet_id,"public_key"]);if(!i)throw new Error(`Could not find subnet key for subnet 0x${(0,a.nj)(e.subnet_id)}`);return i}}const A=(0,a.aD)("308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100"),h=96;async function p(e){switch(e[0]){case 0:return(0,o.tW)(g("ic-hashtree-empty"));case 4:return e[1];case 3:return(0,o.tW)((0,a.xW)(g("ic-hashtree-leaf"),e[1]));case 2:return(0,o.tW)((0,a.xW)(g("ic-hashtree-labeled"),e[1],await p(e[2])));case 1:return(0,o.tW)((0,a.xW)(g("ic-hashtree-fork"),await p(e[1]),await p(e[2])));default:throw new Error("unreachable")}}function g(e){const t=new Uint8Array([e.length]),n=(new TextEncoder).encode(e);return(0,a.xW)(t,n)}function y(e,t){if(0===e.length)return 3===t[0]?new Uint8Array(t[1]).buffer:void 0;const n=function(e,t){if(0!==t.length)for(const n of t)if(2===n[0]&&f(e,n[1]))return n[2]}("string"==typeof e[0]?(new TextEncoder).encode(e[0]):e[0],m(t));return n?y(e.slice(1),n):void 0}function m(e){switch(e[0]){case 0:return[];case 1:return m(e[1]).concat(m(e[2]));default:return[e]}}},4192:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});class r extends Error{constructor(e){super(e),this.message=e,Object.setPrototypeOf(this,r.prototype)}}},6968:function(e,t,n){"use strict";n.d(t,{Gb:function(){return l},tW:function(){return s}});var r=n(467),i=n(7516),o=n(8226),a=n(2995);function s(e){return(0,a.Nn)(o.s.create().update(new Uint8Array(e)).digest())}function u(e){if(e instanceof i.Tagged)return u(e.value);if("string"==typeof e)return c(e);if("number"==typeof e)return s((0,r.kk)(e));if(e instanceof ArrayBuffer||ArrayBuffer.isView(e))return s(e);if(Array.isArray(e)){const t=e.map(u);return s((0,a.xW)(...t))}if(e&&"object"==typeof e&&e._isPrincipal)return s(e.toUint8Array());if("object"==typeof e&&null!==e&&"function"==typeof e.toHash)return u(e.toHash());if("bigint"==typeof e)return s((0,r.kk)(e));throw Object.assign(new Error(`Attempt to hash a value of unsupported type: ${e}`),{value:e})}const c=e=>s((new TextEncoder).encode(e));function l(e){const t=Object.entries(e).filter((([,e])=>void 0!==e)).map((([e,t])=>[c(e),u(t)])).sort((([e],[t])=>(0,a.UD)(e,t)));return s((0,a.xW)(...t.map((e=>(0,a.xW)(...e)))))}},4104:function(e,t,n){"use strict";let r;n.d(t,{r:function(){return c}});const i=n(3371).D("AGFzbQEAAAABXg9gAn9/AGABfwBgAX8Bf2ADf39/AGACf38Bf2ADf39/AX9gBH9/f38AYAF/AX5gBX9/f39/AGAAAX9gBn9/f39/fwBgBn9/f39/fwF/YAJ/fwF+YAV/fn5+fgBgAAAD3wHdAQIAAAABAwoAAAAIBgQAAwEDAAEBAQAAAQAJAQMAAwEAC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ACQfgHakEBNgIAIAJBgAhqIgMgABCMASACQYAKakE4ENABGiACQQE2ArgKIAJBwApqQTgQ0AEaIAJB+ApqQQE2AgAgAkGAC2pBOBDQARogAkG4C2pBATYCACACQcALakE4ENABGiACQfgLakEBNgIAIAIgARAYIAMgAEGAAmoiBhCXASADELABIAQgAxCWASAEIAEQGCADIAYQlgEgAyAAQYAEaiIFEJcBIAMQsAEgByADEJYBIAEoAoAGQQJGDQMgAkHADGoiAyABQYAFahBeIAJBgAZqIAMQpgEMBAsgACABEG0MCAsgAiAAEIwBIAJBgAJqQTgQ0AEaIAJBATYCuAIgAkHAAmpBOBDQARogAkH4AmpBATYCACACQYADakE4ENABGiACQbgDakEBNgIAIAJBwANqQTgQ0AEaIAJB+ANqQQE2AgAgAkGABGpBOBDQARogAkEBNgK4BCACQcAEakE4ENABGiACQfgEakEBNgIAIAJBgAVqQTgQ0AEaIAJBuAVqQQE2AgAgAkHABWpBOBDQARogAkH4BWpBATYCACACQYAGakE4ENABGiACQQE2ArgGIAJBwAZqQTgQ0AEaIAJB+AZqQQE2AgAgAkGAB2pBOBDQARogAkG4B2pBATYCACACQcAHakE4ENABGiACQfgHakEBNgIAIAIgARAYAkAgASgCgAZBBEYNACAAKAKABkEERg0AIAJBgARqIgMgAEGAAmoQlgEgAyABQYACahAYDAYLIAJBwAxqIgdBOBDQARogAkEBNgL4DCACQYANakE4ENABGiACQbgNakEBNgIAIAJBgAhqIgRBOBDQARogAkEBNgK4CCACQcAIakE4ENABGiACQfgIakEBNgIAIAJBgApqIgMgAEGAA2oiBRBeIAQgAxCZASADIAFBgANqIgYQXiAEIAMQESAHELYBIAEoAoAGQQRHDQMMBAsgACABEAMMBgsgAkHADGoiAyABQYAFahBeIAJBgAxqIgQgA0HAABDRARogAkGABmogBBCnAQsgAkGABmoQZCACQYAIaiIDIAIQlgEgAxArIAJBgAJqIgQgAxCXASAGIAQQlgEgAkGABGoiByADEJYBIAMgABCWASADIAUQlwEgAxCwASACQYAKaiIE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IaiIDIAJBiANqEEogAkHICWoiBCABQZCJwABqEEkgAUE4aiEBIAJBiApqIgUgBBCOASACQYgGaiIEIAUQrgEgAyAEEHcgAxBCDAELCyACQYgKaiIBQYiNwAAQSSACQYgJaiABEI4BQQAhAQNAIAFByAZGRQRAIAJBiAlqIgMgAkGIA2oQSiACQcgJaiIEIAFBwI3AAGoQSSABQThqIQEgAkGICmoiBSAEEI4BIAJBiAZqIgQgBRCuASADIAQQdyADEEIMAQsLIAJByAlqIgEgAkGIA2oQkAEgAkHICmoiA0GIlMAAEEkgAkGICmoiBCADEI4BIAJBiAZqIgMgBBCuASABIAMQdyABEEJBACEBA0AgAUGQBkYEQCACQYgJaiIDIAJByARqEEogAkGIBmoiASACQYgIahCuASABIAJByAlqIgQQSiACQQhqIgUgARCuASABIAMQrgEgASACQcgIaiIDEEogAkHIAGogARCuASABIAMQrgEgASAEEEogAkGIAWogARCuASAAIAVBwAEQ0QEaIAJBgAtqJAAFIAJByAlqIgMgAkGIA2oQSiACQcgKaiIEIAFBwJTAAGoQSSABQThqIQEgAkGICmoiBSAEEI4BIAJBiAZqIgQgBRCuASADIAQQdyADEEIMAQsLC/oGAQx/IwBBgAlrIgMkACADQYAIaiICIAAQXiADIAIQXiACIABBgAFqIgoQXiADQYABaiIEIAIQXiACIAEQXiADIAIQESACIAFBgAFqIgsQXiAEIAIQEQJAIAEoAoAGIgJBAkYgACgCgAYiBEECRnJFBEAgA0GACGoiAiAAQYAFahBeIANBgAJqIgQgAhBeIAIgAUGABWoQXiAEIAIQEQwBCyACQQJGIARBAkZxRQRAIAJBAkYEQCADQYAIaiICIABBgAVqEF4gA0GAAmoiBCACEF4gAiABQYAFahBeIANBgAdqIgUgAkHAABDRARogBCAFEKoBDAILIANBgAhqIgIgAUGABWoQXiADQYACaiIEIAIQXiACIABBgAVqEF4gA0GAB2oiBSACQcAAENEBGiAEIAUQqgEMAQsgA0GACGoiAiAAQYAFahBeIANBgAdqIgQgAkHAABDRARogA0GABmoiBS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AAKAIAIAFqIgE2AgAgACABQQFyNgIEIABB9L7AACgCAEcNAUHsvsAAQQA2AgBB9L7AAEEANgIADwsgAhDLASIDIAFqIQECQCADQYACTwRAIAIQFwwBCyACQQxqKAIAIgQgAkEIaigCACICRwRAIAIgBDYCDCAEIAI2AggMAQtB3LvAAEHcu8AAKAIAQX4gA0EDdndxNgIACyAAIAEQoAEgAEH0vsAAKAIARw0BQey+wAAgATYCAAsPCyABQYACTwRAIAAgARAWDwsgAUEDdiICQQN0QeS7wABqIQECf0Hcu8AAKAIAIgNBASACdCICcQRAIAEoAggMAQtB3LvAACACIANyNgIAIAELIQIgASAANgIIIAIgADYCDCAAIAE2AgwgACACNgIIC+UDAQN/IwBB0CJrIgMkACADQcAWaiIEQcitwAAQSSADQcgcaiIFQYCuwAAQSSADQQhqIAQgBRBLIANBiAFqQTgQ0AEaIANBwAFqQTgQ0AEaIANB+AFqED0CQCACEIYBBEAgABBVDAELIANB+ARqIgQQPSAEIAEQfSAEEEcgA0H4B2oiARBnIAEgAhB4IAEQRiADQcgcaiICIAEQkAEgA0G4CWogAhCQASACIANBuAhqEJABIANB+AlqIAIQkAEgA0G4CmoiARA9IANBuA1qEFUgASAEEH0gA0HAE2oiARA9IAEgBBB9IAEQogEgA0HAAWogA0GIAWoQUEECayECA0AgAkEBakEBTQRAIANBuA1qIgEQngEgACABQYgGENEBGgUgA0G4DWoQGiADQcAWaiADQbgKaiADQbgJaiADQfgJahALAkACQAJAIANBwAFqIAIQUyADQYgBaiACEFNrQQFqDgMBAgACCyADQcgcaiIBIANBuApqIANB+ARqIANBuAlqIANB+AlqEAogA0HAFmogARADDAELIANByBxqIgEgA0G4CmogA0HAE2ogA0G4CWogA0H4CWoQCiADQcAWaiABEAMLIAJBAWshAiADQbgNaiADQcAWahABDAELCwsgA0HQImokAAvBAwEVfwNAIANBwAFGBEACQCAAQShqIQsgAEEUaigCACIMIQggAEEQaigCACINIQIgAEEMaigCACIOIQEgACgCCCIPIQMgAEEYaigC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BiADEJcBIAUgBBCXASAAQQU2AoAGIAAQnAEgAUGACGokAAv/AQEHfyMAQcACayIBJAAgASAAQUBrIgYQkAEgARBMIAFBQGsiAyAGEJABIAMgAEGAAWoiAhBKIAFBgAFqIgQgAhCQASAEEEwgAiABEK4BIAIgARB3IAIQQiACEIIBIAIQggEgAhBCIARBDBA0IAFBwAFqIgcgBBCQASAHIAIQSiABQYACaiIFIAEQkAEgBSAEEHcgBRBCIAIgAxBKIAMgBBCuASADIAQQdyAEIAMQdyABIAQQfiABEEIgBSABEEogBSAHEHcgAyAAEK4BIAMgBhBKIAAgARCuASAAEEIgACADEEogABCCASAAEEIgBiAFEK4BIAYQQiABQcACaiQAC84CAgd/An4CQAJAAkBBDSABQTpuIgJrIgRBDU0EQEEMIAJrIgNBDk8NASAAIAAgA0EDdGopAwBBOiABIAJBOmxrIgNrrSIKhyAAIARBA3RqKQMAIAOtIgmGhDcDaCAEQQ1rIQUgAEHgAGohBCACQQFqIQZBACACQQN0ayEHQQshAwNAAkAgA0ECaiAGTQRAIAFBrAZPDQEgACACQQN0aiAAKQMAIAmGQv//////////A4M3AwADQCACRQ0HIABCADcDACACQQFrIQIgAEEIaiEADAALAAsgAyAFakEOTw0EIAQgBCAHaiIIQQhrKQMAIAqHIAgpAwAgCYZC//////////8Dg4Q3AwAgA0EBayEDIARBCGshBAwBCwsgAkEOQYCywAAQOwALIARBDkHQscAAEDsACyADQQ5B4LHAABA7AAtBf0EOQfCxwAAQOwALC6cCAQR/IABCADcCECAAAn9BACABQYACSQ0AGkEfIAFB////B0sNABogAUEGIAFBCHZnIgNrdkEBcSADQQF0a0E+agsiBDYCHCAEQQJ0Qey9wABqIQMgACECAkACQAJAAkBB4LvAACgCACIAQQEgBHQiBXEEQCADKAIAIQMgBBCfASEAIAMQywEgAUcNASADIQAMAgtB4LvAACAAIAVyNgIAIAMgAjYCAAwDCyABIAB0IQQDQCADIARBHXZBBHFqQRBqIgUoAgAiAEUNAiAEQQF0IQQgACIDEMsBIAFHDQALCyAAKAIIIgEgAjYCDCAAIAI2AgggAiAANgIMIAIgATYCCCACQQA2AhgPCyAFIAI2AgALIAIgAzYCGCACIAI2AgggAiACNgIMC7YCAQV/IAAoAhghBAJAAkAgACAAKAIMRgRAIABBFEEQIABBFGoiASgCACIDG2ooAgAiAg0BQQAhAQwCCyAAKAIIIgIgACgCDCIBNgIMIAEgAjYCCAwBCyABIABBEGogAxshAwNAIAMhBSACIgFBFGoiAygCACICRQRAIAFBEGohAyABKAIQIQILIAINAAsgBUEANgIACwJAIARFDQACQCAAIAAoAhxBAnRB7L3AAGoiAigCAEcEQCAEQRBBFCAEKAIQIABGG2ogATYCACABDQEMAgsgAiABNgIAIAENAEHgu8AAQeC7wAAoAgBBfiAAKAIcd3E2AgAPCyABIAQ2AhggACgCECICBEAgASACNgIQIAIgATYCGAsgAEEUaigCACIARQ0AIAFBFGogADYCACAAIAE2AhgLC+UBAQZ/IwBBgARrIgIkACACIAAQXiACQYABaiIFIABBgAFqIgYQXiACQYACaiIDQTgQ0AEaIAJBATYCuAIgAkHAAmpBOBDQARogAkH4AmpBATYCACACQYADaiIEIAYQXiACIAEQESAFIAFBgAFqIgcQESADIAcQmQEgAyABEJoBIAQgABCaASADEKkBIAQQqQEgBCADEBEgAyACEJkBIAMQNiAEIAMQmgEgBBCpASADIAUQmQEgAxA2IAYgBBCZASAGIAMQmgEgBRB8IAAgBRCZASAAIAIQmgEgABCwASACQYAEaiQAC28BDH9BjL/AACgCACICRQRAQZy/wABB/x82AgBBAA8LQYS/wAAhBgNAIAIiASgCCCECIAEoAgQhAyABKAIAIQQgAUEMaigCABogASEGIAVBAWohBSACDQALQZy/wAAgBUH/HyAFQf8fSxs2AgBBAAuAAgEGfyMAQYAIayIBJAAgACgCgAZBAUcEQCABIAAQjAEgAUGAAmoiAiAAQYACaiIEEIwBIAFBgARqIgUgAEGABGoiAxCMASABQYAGaiIGIAAQjAEgARAhIAIgAxAYIAIQswEgAhCwASAFECEgBiAEEBggB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ABBAToAAAtBpL/AACAGNgIAAkACQCAHQQBIIAZBAktyDQAgBSAEOgAYIAUgAzYCFCAFIAI2AhBBzLvAACgCACICQQBIDQBBzLvAACACQQFqIgI2AgBBzLvAAEHUu8AAKAIAIgMEf0HQu8AAKAIAIAUgACABKAIQEQAAIAUgBSkDADcDCCAFQQhqIAMoAhQRAABBzLvAACgCAAUgAgtBAWs2AgAgBkEBSw0AIAQNAQsACyMAQRBrIgIkACACIAE2AgwgAiAANgIIAAucAQEEfyMAQYADayICJAAgAiAAEF4gAkGAAWoiASAAQYABaiIEEF4gAkGAAmoiAyAAEF4gAyAEEBEgAiAEEJoBIAEQfCABIAAQmgEgAhCpASABEKkBIAAgAhCZASAAIAEQESABIAMQmQEgARB8IAEgAxCaASABEKkBIAEQNiAAIAEQmgEgAxC4ASAEIAMQmQEgABCwASACQYADaiQAC7kBAQJ/IwBBIGsiAyQAAkAgASABIAJqIgFLDQAgAEEEaigCACICQQF0IgQgASABIARJGyIBQQggAUEISxshAQJAIAIEQCADQRhqQQE2AgAgAyACNgIUIAMgACgCADYCEAwBCyADQQA2AhALIAMgASADQRBqECYgAygCAARAIANBCGooAgAiAEUNASADKAIEIAAQzwEACyADKAIEIQIgAEEEaiABNgIAIAAgAjYCACADQSBqJAAPCxBlAAusAQECfyMAQYADayIDJAAgA0EIaiABEJABAkAgAgRAIANBCGogAhCuAQwBCyADQQhqEDoLIANByABqIgJB8LTAABBJIANBgAFqIAIQjgEgA0HAAWoiAiADQQhqIgQQkAEgAhBMIAIgARBKIAAgARCQASAAIAQQSiADQYACaiACEJABIAAQViEBIANBwAJqIgIgABCQASACEEMgAhBCIAAgAiABEHIgA0GAA2okAAueAQEFfyMAQYABayICJAAgAkE4ENABIgJBATYCOCACQUBrIgNBOBDQARogAkEBNgJ4IAIgABCuASACIAFBgAFqIgUQSiADIAEQrgEgAyAAQYABaiIGEEoCQCACIAMQWEUNACACIABBQGsQrgEgAiAFEEogAkFAayIAIAFBQGsQrgEgACAGEEogAiAAEFhFDQBBASEECyACQYABaiQAIAQLpwEBA38jAEEwayICJAAgAUEEaiEDIAEoAgRFBEAgASgCACEBIAJBEGoiBEEANgIAIAJCATcDCCACIAJBCGo2AhQgAkEoaiABQRBqKQIANwMAIAJBIGogAUEIaikCADcDACACIAEpAgA3AxggAkEUaiACQRhqEAwaIANBCGogBCgCADYCACADIAIpAwg3AgALIABBhLfAADYCBCAAIAM2AgAgAkEwaiQAC5UBAQJ/AkACQAJAAkACfwJAAkACf0EBIgMgAUEASA0AGiACKAIAIgRFDQEgAigCBCICDQQgAQ0CQQEMAwshA0EAIQEMBgsgAQ0AQQEMAQsgAUEBELkBCyICRQ0BDAILIAQgARCsASICDQELIAAgATYCBEEBIQEMAQsgACACNgIEQQAhAwsgACADNgIAIABBCGogATYCAAvvMwISfwV+IwBBMGsiDiQAIA5BEGogACABEFsgDiAOKAIUIgA2AhwgDiAOKAIQIgg2AhggDkEIaiACIAMQWyAOIA4oAgwiATYCJCAOIA4oAggiAzYCICAOIAQgBRBbIA4gDigCBCIFNgIsIA4gDigCACINNgIoIAAhBCMAQZAVayICJAAjAEGwBmsiCiQAIApBEGpBOBDQARogCkHQAGpBOBDQASEVIApBiAFqQQE2AgAgCkEBNgJIIApBkAFqIgBB2KTAABBJIAAQKiEPIApByAFqIhNBgAIQ0AEaIApByANqQYABENABGiMAQdAAayIRJAAgEUEQakHAABDQARogASEJQQAhACMAQYAEayIHJAAgB0EvakGBAhDQARogB0GwAmpBwAAQ0AEaIAdB8AJqQcAAENABGiAHQbADakHAABDQARogByAPQf8AakEDdkEBaiISQQF0IgFBCHQgAUGA/gNxQQh2cjsALCABQQFrQQV2QQFqIQsCQANAIAYgB2pBLmogADoAACAGQStGBEAgB0EsaiIGQS5qQSs6AAAgB0EgaiAGQS8QX0EAIQAgB0GwAmpBwAAgAyAJIAcoAiAgBygCJBAGIAdBADoA+AMgByALNgL0A0EAIAFrIRQgB0EBNgLwAyAGQSxqIRYMAgsgBkGBAkcEQCA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BoAFqIgQgABC+ASMAQYABayIDJAAgARBnIAEgAEHoAGoQwAEgAUFAayIIIAQQwAEgAUGAAWoQygEgARBCIAMgARBPIANBQGsiBCAIEJABIAQQTCAEIAMQWEUEQCABEJIBCyADQYABaiQADAULIAggDEYNAiAAIAxqIAMgDGotAAA6AAAgDEEBaiEMDAALAAsgBCAEQYiBwAAQOwALIAxBMGogBEGogcAAEDsACyMAQcABayIDJAAgAEGgAWoiBBBnIANBOBDQASIDQQE2AjggBCAAQegAahDAASAEEEIgBEGAAWoQygEgA0FAayIIIAQQTwJAAkACQCAIIAMQWkEBRgRAIANBgAFqIgggA0FAayADECMgCBBWDQEMAgsgBBCSAQwCCyADQYABaiIIEEMgCBBCCyAEQUBrIANBgAFqEK4BCyADQcABaiQAIAlBIHEiA0EAIABB4AFqEE0iBEEBRxtBASADIARBAUdyGwRAIABBoAFqEKQBCyABIABBoAFqQcABENEBGgsgAEHgAmokAAJ/QQAhAyMAQcAFayIAJAACQCABEIYBDQAgAEEIaiIIQZCtwAAQSSAAQYAEaiIEQbiuwAAQSSAAQUBrIgkgBBCOASAAQYABaiIEEGcgBCABEHggBCAJEEogAEHAAmoiBCABIAgQvQEgASAEECQNACAAQYAEaiIEIABBwAJqIgEgAEEIahC9ASABIARBwAEQ0QEaIAEQpAEgAEGAAWogARAkRQ0AQQEhAwsgAEHABWokAEF/IANFDQAaIAJBwAFqEKQBIAJBgANqIQhBACEAIwBB4ARrIgEkACABQeAAENABIQECQCAFBEADQCAAQeAARgRAIAEgAS0AAEEfcToAACABQeAAaiABEB9BACEAAkAgDSwAACILQQBOBEAgDUHgAGohAyAFQeAAIAVB4ABLG0HgAGshBANAIABB4ABGBEAgAUHgAWoiACABEB8gCCABQeAAaiAAED8MAwsgACAERwRAIAAgAWogACADai0AADoAACAAQQFqIQAMAQsLIABB4ABqIAVB1KfAABA7AAsjAEHAAWsiAyQAIAFB4AFqIgAQPSADQTgQ0AEiDUEBNgI4IAAgAUHgAGoQmQEgAEGA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gCxAbIAMgDRBtIAMQngEgASAAEG0gASAIEDIgACADEG0gACABEAcgDSAAIAsQGyADIA0QbSANIAMgCxAbIAMgDRBtIAEgABBtIAEgCBAyIAEgCBAyIAMgARAHIAEgABBtIAEQngEgACADEG0gACABEAcgACAEEAcgABCcASAIQeAfaiQAIAcgAEGIBhDRARpBACEAIwBBgAJrIgEkACABEGwCQCAHIAEQegR/IAdBgAFqIAFBgAFqEHoFQQALRQ0AIAdBgAJqEIcBRQ0AIAdBgARqEIcBIQALIAFBgAJqJABBACAADQAaQX8LIAJBkBVqJAAgDkEoahC0ASAOQSBqELQBIA5BGGoQtAEgDkEwaiQAC58BAgJ/BX4gAEEwaiICKQMAIAFBP3GtIgSGIQUgACkDKCIGQTogAWtBP3GtIgiHIQdBBiEBA38gAiAFIAeENwMAIAFBAU0EfyAAIAApAwAgBIZC//////////8DgzcDACAAKQMwQiSHpwUgAUEBayEBIAJBEGsiA0EIaiECIAYgBIZC//////////8DgyEHIAMpAwAiBiAIhyEFDAELCxoLiAECA34DfyMAQRBrIgUkAAN+IAZBOEYEfiAFQRBqJAAgAwUgBSAAIAZqIgcpAwAiAiACQj+HIAGsIgIgAkI/hxAvIAcgBSkDACIEIAN8IgJC//////////8DgzcDACACIARUrSAFQQhqKQMAIANCP4d8fEIGhiACQjqIhCEDIAZBCGohBgwBCwsLigECA38BfiMAQUBqIgIkACACQQhqIgEgABBdIAEQQiACQThqIQFBBiEDQdwCIQACQAJAA0AgA0EATgRAIAEpAwAiBEIAUg0CIAFBCGshASAAQTprIQAgA0EBayEDDAELC0EAIQAMAQsDQCAEUA0BIABBAWohACAEQgJ/IQQMAAsACyACQUBrJAAgAAuHAQEDfyMAQYACayIBJAAgABCwASABIAAQXiABQYABaiICQTgQ0AEaIAFBATYCuAEgAUHAAWpBOBDQARogAUH4AWpBATYCACABIABBgAFqIgMQmgEgARA2IAIgARCZASACIAMQmgEgAyABEJkBIAMgABCaASAAIAIQmQEgABCwASABQYACaiQAC30CBH4BfyABQT9xrSECQTogAWtBP3GtIQRBACEBIAApAwAiBSEDA38gAUEwRgR/IAAgACkDMCAChzcDMCAFQn8gAoZCf4WDpwUgACABaiIGIAMgAocgBkEIaikDACIDIASGQv//////////A4OENwMAIAFBCGohAQwBCwsaC2kBBH8jAEHAAWsiASQAIAEgABCQASABQUBrIgIgABCQASABQYABaiIDIABBQGsiBBCQASABIAQQdyACIAAQdyACEEIgBCACEEogAxBDIAAgAxB3IAEQQiAAEEIgACABEEogAUHAAWokAAuCAQIBfwF+IABB8AAQ0AEhAANAIAJBOEYEQAJAIAAgASkDMCIDQjqHNwM4IAAgA0L//////////wODNwMwIABBQGshAEEAIQIDQCACQTBGDQEgACACakIANwMAIAJBCGohAgwACwALBSAAIAJqIAEgAmopAwA3AwAgAkEIaiECDAELCwtuAQZ+IAAgA0L/////D4MiBSABQv////8PgyIGfiIHIAUgAUIgiCIIfiIJIAYgA0IgiCIGfnwiBUIghnwiCjcDACAAIAcgClatIAYgCH4gBSAJVK1CIIYgBUIgiIR8fCABIAR+IAIgA358fDcDCAtqAgF/BX4gASkDCCAAKQMAhSIGQgGGQgGHIQdBACACa6whCAN+IANBOEYEfiAFBSAAIANqIgIgAikDACIEIAaFIAEgA2opAwAgBIUgCIOFIgQgB4U3AwAgBCAFhSEFIANBCGohAwwBCwsaC18CAX8EfkIBIQNBMCECA38gAkF4RgR/IARCAYYgA3ynQQFrBSABIAJqKQMAIgUgACACaikDACIGfUI6hyADgyAEhCEEIAJBCGshAiAFIAaFQgF9QjqHIAODIQMMAQsLC2kBBH8jAEGAAmsiAiQAIAIgARBeIAJBgAFqIgMgARBeIAIQLSADIAIQESAAIAMQmAEgAEGAAmoiBCADEJgBIABBgARqIgUgAxCYASAEIAEQpgEgBSACEKYBIABBBTYCgAYgAkGAAmokAAtiAQJ/IwBBQGoiAiQAIAAQQiACIAAQkAECQCABBEAgACABEK4BDAELIAAQOgtBACEBA0AgA0UEQCAAEExBASABQQFqIAFBAUYiAxshAQwBCw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8AAEDsACyAFQQdB9JrAABA7AAsgA0EBEJQBIANBARAsIAdBQGshBUEAIQIjAEGgCmsiASQAIAFBOBDQASIBQUBrQTgQ0AEhBiABQYABakE4ENABGiABQcABakE4ENABGiABQYACakE4ENABGiABQcACakE4ENABGiABQYADakE4ENABGiABQcADakE4ENABGiABQYAEakE4ENABGiABQcAEakE4ENABGiABQYAFakE4ENABGiABQcAFakE4ENABGiABQYAGakE4ENABGiABQcAGakE4ENABGiABQYAHakE4ENABGiABQcAHakE4ENABGiABQfgHakEBNgIAIAFBuAdqQQE2AgAgAUH4BmpBATYCACABQbgGakEBNgIAIAFB+AVqQQE2AgAgAUG4BWpBATYCACABQfgEakEBNgIAIAFBuARqQQE2AgAgAUH4A2pBATYCACABQbgDakEBNgIAIAFB+AJqQQE2AgAgAUG4AmpBATYCACABQfgBakEBNgIAIAFBuAFqQQE2AgAgAUH4AGpBATYCACABQQE2AjggAUGBCGpB5wAQ0AEaIAFB6AhqIgQgABCQASAEEEIgAUGoCWoiBCADEF0gBBBCIAQQKkEDaiIIQQJ2IgNBAWohCQJAA0AgAiAJRgRAIAEQygEgBiABQegIahCuASABQeAJakE4ENABGiABQQE2ApgKQYB5IQIMAgsgAUGoCWoiBCAEQQQQjwEiChCUASAEEEIgAkHnAEcEQCABQYEIaiACaiAKOgAAIAFBqAlqQQQQLCACQQFqIQIMAQsLQecAQecAQaC0wAAQOwALA0AgAgRAIAFB4AlqIgQgASACaiIGQcAHahCuASAGQYAIaiIGIAQQrgEgBiABQegIahBKIAJBQGshAgwBCwsCQAJAAkACQCAIQZwDSQRAIAFBgQhqIANqLAAAIgJBEE8NASAFIAEgAkEGdGoQkAEgA0EBayICQeYASyEEA0AgAkF/Rg0DIAUQTCAFEEwgBRBMIAUQTCAEDQQgAUGBCGogAmotAAAiA0EQSQRAIAUgASADQQZ0ahBKIAJBAWshAgwBCwsgA0EYdEEYdUEQQeC0wAAQOwALIANB5wBBsLTAABA7AAsgAkEQQcC0wAAQOwALIAUQHiABQaAKaiQADAELIAJB5wBB0LTAABA7AAsgACAFEK4BIAdBgAFqJAALbAEBfyMAQTBrIgMkACADIAE2AgQgAyAANgIAIANBHGpBAjYCACADQSxqQQE2AgAgA0ICNwIMIANB2LjAADYCCCADQQE2AiQgAyADQSBqNgIYIAMgAzYCKCADIANBBGo2AiAgA0EIaiACEGYAC2UBAn8gACAAKAIAIgJBCGoiAzYCACAAIAJBA3ZBPHFqQShqIgIgAUH/AXEgAigCAEEIdHI2AgACQAJAIANFBEAgAEEANgIAIAAgACgCBEEBajYCBAwBCyADQf8DcQ0BCyAAEA8LC1wAIABBOBDQASIAQQE2AjggAEFAa0E4ENABGiAAQfgAakEBNgIAIABBgAFqEFEgAEGAAmpBOBDQARogAEG4AmpBATYCACAAQcACakE4ENABGiAAQfgCakEBNgIAC1sBA38jAEGAAWsiASQAIAAQqQEgASAAEJABIAFBQGsiAiAAQUBrIgMQkAEgARBMIAIQTCABIAIQdyABQQAQMyAAIAEQSiABEEMgARBCIAMgARBKIAFBgAFqJAALYQEBfyMAQYACayIDJAAgABA9IAAgARCZASAAQYABaiIBIAIQmQEgAEGAAmoQtwEgABCpASADIAAQOCADQYABaiICIAEQXiACEC0gAiADEHpFBEAgABCbAQsgA0GAAmokAAtUAQF/IwBBIGsiAiQAIAIgACgCADYCBCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCACQQRqIAJBCGoQDCACQSBqJAALZwAjAEEwayIBJABBpLvAAC0AAARAIAFBHGpBATYCACABQgI3AgwgAUGQtsAANgIIIAFBATYCJCABIAA2AiwgASABQSBqNgIYIAEgAUEsajYCICABQQhqQbi2wAAQZgALIAFBMGokAAtiAgF+An8gACkDACEBA34gACACaiIDIAFC//////////8DgzcDACABQjqHIQEgAkEoRgR+IAAgACkDMCABfCIBNwMwIAFCJIcFIAJBCGohAiADQQhqKQMAIAF8IQEMAQsLGgt8AQV/IwBBQGoiAyQAIANBCGoiAkHAssAAEEkgAiAAKAI4QQFrEDUiBBAoA0AgAUE4RwRAIAAgAWoiBSABIAJqKQMAIAUpAwB9NwMAIAFBCGohAQwBCwsgAEEBIARBAWp0IgI2AjggAkH///8PSgRAIAAQHgsgA0FAayQAC3sBAn8gAEEoaiECA0AgAUGAAkYEQCAAQufMp9DW0Ouzu383AgggAEIANwIAIABBIGpCq7OP/JGjs/DbADcCACAAQRhqQv+kuYjFkdqCm383AgAgAEEQakLy5rvjo6f9p6V/NwIABSABIAJqQQA2AgAgAUEEaiEBDAELCwtUACAAQTgQ0AEiAEEBNgI4IABBQGtBOBDQARogAEH4AGpBATYCACAAQYABakE4ENABGiAAQbgBakEBNgIAIABBwAFqQTgQ0AEaIABB+AFqQQE2AgALWAECfyMAQUBqIgEkAAJAIAAQhgENACABQQEQOSAAQYABaiICIAEQWA0AIAJBABAzIAAgAhBKIAAQHiAAQUBrIgAgAhBKIAAQHiACIAEQrgELIAFBQGskAAtZAQJ/IwBBgAFrIgEkAAJAIAAQigENACABEFEgAEGAAmoiAiABEHoNACACED4gACACEBEgABC1ASAAQYABaiIAIAIQESAAELUBIAIgARCZAQsgAUGAAWokAAtbAgF+An8gACkDACEBA0AgACACaiIDIAFC//////////8DgzcDACABQjqHIQEgAkHgAEYEQCAAIAApA2ggAXw3A2gFIAJBCGohAiADQQhqKQMAIAF8IQEMAQsLC08BAX8gAEE4ENABGgJAA0AgAkEHRwRAIAJBB0YNAiAAIAEpAwA3AwAgAEEIaiEAIAFBCGohASACQQFqIQIMAQsLDwtBB0EHQeSawAAQOwALVAECfyMAQbABayICJAAgATQCOCAANAI4fkL///8PVQRAIAAQHgsgAkEIaiIDIAAgARAFIAJB+ABqIgEgAxBrIAAgARBqIABBAjYCOCACQbABaiQAC1EBAn8jAEFAaiIDJAAgAEE4ENABIgBBATYCOCAAQUBrQTgQ0AEgAEH4AGpBATYCACADIAEQjgEgACADEK4BIAMgAhCOASADEK4BIANBQGskAAvwDAIRfwh+IwBBsAFrIg8kACAANAI4IhIg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BIAAgAygCCDYCACAAIAE2AgQgA0EQaiQACwsAIAAgAUE4ENsBCwsAIAAgAUE4ENwBCwwAIAAgAUHwABDbAQsMACAAIAFB8AAQ3AELOQECfyMAQYABayIBJAAgASAAQYABaiICEF4gAiAAEJkBIAEQfCAAIAEQmQEgABCwASABQYABaiQACz8BAX8jAEEgayIAJAAgAEEcakEANgIAIABBzLfAADYCGCAAQgE3AgwgAEH8t8AANgIIIABBCGpBhLjAABBmAAu8AgEDfyMAQSBrIgIkACACQQE6ABggAiABNgIUIAIgADYCECACQZS4wAA2AgwgAkGUuMAANgIIIwBBEGsiACQAIAJBCGoiASgCDCICRQRAQcC1wABBK0HktsAAEFkACyABKAIIIgRFBEBBwLXAAEErQfS2wAAQWQALIAAgAjYCCCAAIAE2AgQgACAENgIAIAAoAgAhASAAKAIEIQIgACgCCCEEIwBBEGsiACQAIAFBFGooAgAhAwJAAn8CQAJAIAFBBGooAgAOAgABAwsgAw0CQQAhAUHAtcAADAELIAMNASABKAIAIgMoAgQhASADKAIACyEDIAAgATYCBCAAIAM2AgAgAEG4t8AAIAIoAgggBCACLQAQECAACyAAQQA2AgQgACABNgIAIABBpLfAACACKAIIIAQgAi0AEBAgAAswACAAQTgQ0AEiAEEBNgI4IABBQGtBARA5IABBgAFqQTgQ0AEaIABBuAFqQQE2AgALKwACQCAAQXxLDQAgAEUEQEEEDwsgACAAQX1JQQJ0ELkBIgBFDQAgAA8LAAs4ACAAEIsBIAAgARCWASAAQYACaiABQYACahCWASAAQYAEaiABQYAEahCWASAAIAEoAoAGNgKABgsoAQF/A0AgAkE4RwRAIAAgAmogASACaikDADcDACACQQhqIQIMAQsLC4QJAg1/Cn4jAEFAaiILJAAgC0EIaiIJQcCywAAQSSMAQZACayICJAAgAEEwENABIQogAkHoAGpB8AAQ0AEaIAJB4AFqQTAQ0AEaIAoQcSACIAEiDCkDACIQQv3/8//P///5AX5C//////////8DgyISNwPYASACQdgAaiASQgAgCSkDACIXIBdCP4ciGBAvIBAgAikDWCIPfCITIA9UrSACQeAAaikDACAQQj+HfHwiEEI6hyABKQMIIg9CP4d8IA8gEEIGhiATQjqIhCITfCIQIBNUrXwhD0EBIQBCACETAkACQANAAkAgAEEHRgRAQQYhB0EAIQhBByEADAELIABBAXYiAUEBaiEGIAggAWshAyABQQN0IgFBCGohBCAHIAFrIQUgAkHIAGogCSAAQQN0Ig1qKQMAIhUgFUI/hyIWIBJCABAvIAJB0ABqKQMAIBAgECATfCIRVq0gDyAUfHx8IBEgAikDSHwiDyARVK18IRAgAEEBaiEBA0AgACAGTQRAIAJB2AFqIA1qIA9C/f/z/8////kBfkL//////////wODIhE3AwAgAkE4aiARQgAgFyAYEC8gAkEoaiARQgAgFSAWEC8gAkHoAGogAEEEdGoiACACQTBqKQMAIhE3AwggACACKQMoIhU3AwAgDyACKQM4IhZ8Ig8gFlStIAJBQGspAwAgEHx8IhBCOocgDCABQQN0aikDACIWQj+HfCAWIBBCBoYgD0I6iIQiD3wiECAPVK18IQ8gEyAVfCITIBVUrSARIBR8fCEUIAdBCGohByAIQQFqIQggASEADAMLIANBB08NAyACQRhqIAQgCWopAwAgBSAJaikDAH0iESARQj+HIAJB2AFqIg4gBWopAwAgBCAOaikDAH0iESARQj+HEC8gAikDGCIRIA98Ig8gEVStIAJBIGopAwAgEHx8IRAgBkEBaiEGIARBCGohBCAFQQhrIQUgA0EBayEDDAALAAsLA0ACQAJAIABBDUcEQCAHIABBAXYiBmshAyAIIAZBA3QiAWshBCABQQhqIQUgDyAUfCAQIBN8Ig8gEFStfCEQIABBAWohAQNAIAZBBUsNAyADQQdPDQIgAkEIaiAFIAlqKQMAIAQgCWpBMGopAwB9IhIgEkI/hyACIARqQYgCaikDACACQdgBaiAFaikDAH0iEiASQj+HEC8gAikDCCISIA98Ig8gElStIAJBEGopAwAgEHx8IRAgBkEBaiEGIARBCGshBCADQQFrIQMgBUEIaiEFDAALAAsgCiAQQv//////////A4M3AzAgAkGQAmokAAwECyADQQdBpJzAABA7AAsgAEEDdCAKakE4ayAPQv//////////A4M3AwAgEEI6hyAMIAFBA3RqKQMAIhJCP4d8IBIgEEIGhiAPQjqIhCIPfCIQIA9UrXwhDyAUIABBBHQgAmpBCGoiAEEIaikDAH0gEyAAKQMAIhJUrX0hFCAIQQhqIQggB0EBaiEHIBMgEn0hEyABIQAMAAsACyADQQdBlJzAABA7AAsgC0FAayQACy4BAX8jAEGAAWsiASQAIAAQRSABEFEgACABEJkBIABBgAFqELYBIAFBgAFqJAALMwAgACABEJYBIABBgAJqIAFBgAJqEJYBIABBgARqIAFBgARqEJYBIAAgASgCgAY2AoAGCygAIAAgASACEHIgAEFAayABQUBrIAIQciAAQYABaiABQYABaiACEHILLQAgACABIAIQjQEgAEGAAWogAUGAAWogAhCNASAAQYACaiABQYACaiACEI0BCycBAn8jAEFAaiICJAAgAkEIaiIDIAEQvgEgACADEI4BIAJBQGskAAsiAQF/A0AgAUE4RwRAIAAgAWpCADcDACABQQhqIQEMAQsLCyUAIAAgASACEDAgAEEAIAJrIAAoAjgiACABKAI4c3EgAHM2AjgLJwAgACAAKAIEQQFxIAFyQQJyNgIEIAAgAWoiACAAKAIEQQFyNgIECyMAA0AgAgRAIAAgAS0AABA8IAJBAWshAiABQQFqIQEMAQsLCywAIAAQiwEgACABEJYBIABBgAJqIAIQlgEgAEGABGogAxCWASAAQQU2AoAGCyMBAX8jAEFAaiIBJAAgASAAEJABIAEQHiABEFcgAUFAayQACykAIAAgARBgIAAgACgCOCABKAI4aiIBNgI4IAFB////D0oEQCAAEB4LCyUAIAAgARCuASAAQUBrIAFBQGsQrgEgAEGAAWogAUGAAWoQrgELKAEBfyMAQYACayICJAAgAiABEIwBIAIQKyAAIAIQlwEgAkGAAmokAAscAQF/IAAgARBYBH8gAEFAayABQUBrEFgFQQALCycBAX8jAEGAAWsiAiQAIAIgARBeIAIQNiAAIAIQmgEgAkGAAWokAAtRAQN/IwBBgAFrIgEkACABIAAQXiMAQUBqIgIkACACIAAQkAEgACAAQUBrIgMQrgEgABBDIAMgAhCuASACQUBrJAAgACABEJoBIAFBgAFqJAALJwAgACABEJkBIABBgAFqIAFBgAFqEJkBIABBgAJqIAFBgAJqEJkBCyUBAX8jAEFAaiICJAAgAiABEJABIAIQQyAAIAIQdyACQUBrJAALHgACQCAAQQRqKAIARQ0AIAAoAgAiAEUNACAAEAQLCyABAX8CQCAAKAIEIgFFDQAgAEEIaigCAEUNACABEAQLC4MBACACIANJBEAjAEEwayIAJAAgACACNgIEIAAgAzYCACAAQRxqQQI2AgAgAEEsakEBNgIAIABCAjcCDCAAQYS7wAA2AgggAEEBNgIkIAAgAEEgajYCGCAAIABBBGo2AiggACAANgIgIABBCGpBlLvAABBmAAsgACADNgIEIAAgATYCAAtIAQJ/A0AgAUE4RwRAIAAgAWoiAiACKQMAQgGGNwMAIAFBCGohAQwBCwsgACAAKAI4QQF0IgE2AjggAUH///8PSgRAIAAQHgsLIwAgAiACKAIEQX5xNgIEIAAgAUEBcjYCBCAAIAFqIAE2AgALIgEBfyMAQfAAayICJAAgAiABEC4gACACEGsgAkHwAGokAAseACAAIAFBA3I2AgQgACABaiIAIAAoAgRBAXI2AgQLFgEBfyAAEHYEfyAAQYABahB2BUEACwsYAQF/IAAQiAEEfyAAQYABahCIAQVBAAsLFQEBfyAAEHYEfyAAQUBrEHYFQQALCxoBAX8gABBWIgEgAEFAaxBWIAFzIAAQdnFzCxgBAX8gABCIAQR/IABBgAJqEIgBBUEACwseACAAEEUgAEGAAmoQRSAAQYAEahBFIABBADYCgAYLHAAgABBFIAAgARCZASAAQYABaiABQYABahCZAQsYACAAIAEgAhByIABBQGsgAUFAayACEHILGgAgAEE4ENABIgBBATYCOCAAIAEQaiAAEFQLFAAgABBCIAAoAgBBfyABdEF/c3ELGQAgAEE4ENABIgAgARBqIAAgASgCODYCOAsZAQF/IAAoAhAiAQR/IAEFIABBFGooAgALCxgAIAAQwQEgAEFAaxDKASAAQYABahDBAQsUACAAEEIgACAAKQMAIAGsfDcDAAsUACAAE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FFBEAgASADEHMgACACEHMgACACEA0MAQsgACgCACEAIAEgAzYCBCABIAAgAmo2AgALIAEQxAENASABEMsBIgJBEEEIEKMBIARqTQ0BIAEgBBDSASEAIAEgBBBzIAAgAiAEayIEEHMgACAEEA0MAQsgAwwBCyABENQBIAEQxAEaCwuOBAEFfyAAKAIAIQAjAEEQayIEJAACQAJ/AkAgAUGAAU8EQCAEQQA2AgwgAUGAEE8NASAEIAFBP3FBgAFyOgANIAQgAUEGdkHAAXI6AAxBAgwCCyAAKAIIIgIgAEEEaigCAEYEQCMAQSBrIgMkAAJAAkAgAiACQQFqIgVLDQAgAEEEaigCACICQQF0IgYgBSAFIAZJGyIFQQggBUEISxshBQJAIAIEQCADQRhqQQE2AgAgAyACNgIUIAMgACgCADYCEAwBCyADQQA2AhALIAMgBSADQRBqECYgAygCAARAIANBCGooAgAiAEUNASADKAIEIAAQzwEACyADKAIEIQIgAEEEaiAFNgIAIAAgAjYCACADQSBqJAAMAQsQZQALIAAoAgghAgsgACACQQFqNgIIIAAoAgAgAmogAToAAAwCCyABQYCABE8EQCAEIAFBP3FBgAFyOgAPIAQgAUESdkHwAXI6AAwgBCABQQZ2QT9xQYABcjoADiAEIAFBDHZBP3FBgAFyOgANQQQMAQsgBCABQT9xQYABcjoADiAEIAFBDHZB4AFyOgAMIAQgAUEGdkE/cUGAAXI6AA1BAwshASABIABBBGooAgAgAEEIaiIDKAIAIgJrSwRAIAAgAiABECIgAygCACECCyAAKAIAIAJqIARBDGogARDRARogAyABIAJqNgIACyAEQRBqJABBAAsTACAAQZS3wAA2AgQgACABNgIACw0AIAAtAARBAnFBAXYL5QYCDH8CfiMAQbAcayIDJAACQAJAAkAgAhBXDQAgARCGAQ0AIANBCGoQZyADQcgBaiIFIAIQXQNAIARBOEcEQCAEIAVqIgYgBikDACACIARqKQMAhDcDACAEQQhqIQQMAQsLIAUQKiEHQQAhBCADQYACakE4ENABGiADQbgCakE4ENABGiADQfACaiIFEGcgA0GwBGoQZyADQfAR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AAQcSAAQQE2AjgLDAAgABBDIAAgARB3CwoAQQAgAGsgAHELCwAgAC0ABEEDcUULDAAgACABQQNyNgIECw0AIAAoAgAgACgCBGoLDgAgACgCABoDQAwACwALgQgCCX8CfiAANQIAIQsjAEEwayIGJABBJyEAAkAgC0KQzgBUBEAgCyEMDAELA0AgBkEJaiAAaiICQQRrIAsgC0KQzgCAIgxCkM4Afn2nIgNB//8DcUHkAG4iBEEBdEHouMAAai8AADsAACACQQJrIAMgBEHkAGxrQf//A3FBAXRB6LjAAGovAAA7AAAgAEEEayEAIAtC/8HXL1YgDCELDQALCyAMpyICQeMASwRAIABBAmsiACAGQQlqaiAMpyICIAJB//8DcUHkAG4iAkHkAGxrQf//A3FBAXRB6LjAAGovAAA7AAALAkAgAkEKTwRAIABBAmsiACAGQQlqaiACQQF0Qei4wABqLwAAOwAADAELIABBAWsiACAGQQlqaiACQTBqOgAACwJ/IAZBCWogAGohCEErQYCAxAAgASgCACIDQQFxIgIbIQQgAkEnIABrIglqIQJBlLjAAEEAIANBBHEbIQUCQAJAIAEoAghFBEBBASEAIAEgBCAFEFINAQwCCwJAAkACQAJAIAIgAUEMaigCACIDSQRAIAEtAABBCHENBEEAIQAgAyACayICIQNBASABLQAgIgcgB0EDRhtBA3FBAWsOAgECAwtBASEAIAEgBCAFEFINBAwFC0EAIQMgAiEADAELIAJBAXYhACACQQFqQQF2IQMLIABBAWohACABQRxqKAIAIQcgASgCBCECIAEoAhghCgJAA0AgAEEBayIARQ0BIAogAiAHKAIQEQQARQ0AC0EBDAQLQQEhACACQYCAxABGDQEgASAEIAUQUg0BIAEoAhggCCAJIAEoAhwoAgwRBQANASABKAIcIQQgASgCGCEBQQAhAAJ/A0AgAyAAIANGDQEaIABBAWohACABIAIgBCgCEBEEAEUNAAsgAEEBawsgA0khAAwBCyABKAIEIQcgAUEwNgIEIAEtACAhCkEBIQAgAUEBOgAgIAEgBCAFEFINAEEAIQAgAyACayICIQMCQAJAAkBBASABLQAgIgQgBEE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0MTUxNjE3MTgxOTIwMjEyMjIzMjQyNTI2MjcyODI5MzAzMTMyMzMzNDM1MzYzNzM4Mzk0MDQxNDI0MzQ0NDU0NjQ3NDg0OTUwNTE1MjUzNTQ1NTU2NTc1ODU5NjA2MTYyNjM2NDY1NjY2NzY4Njk3MDcxNzI3Mzc0NzU3Njc3Nzg3OTgwODE4MjgzODQ4NTg2ODc4ODg5OTA5MTkyOTM5NDk1OTY5Nzk4OTkgb3V0IG9mIHJhbmdlIGZvciBzbGljZSBvZiBsZW5ndGggbGlicmFyeS9jb3JlL3NyYy9zbGljZS9pbmRleC5yc3JhbmdlIGVuZCBpbmRleCAAAABxHRAAEAAAADAdEAAiAAAAUh0QAB8AAABJAAAABQB7CXByb2R1Y2VycwIIbGFuZ3VhZ2UBBFJ1c3QADHByb2Nlc3NlZC1ieQMFcnVzdGMdMS42MS4wIChmZTViMTNkNjggMjAyMi0wNS0xOCkGd2FscnVzBjAuMTkuMAx3YXNtLWJpbmRnZW4SMC4yLjgxICgwNjJhYTVmNzAp");let o=null;function a(e,t){const n=t(1*e.length);return(null!==o&&o.buffer===r.memory.buffer||(o=new Uint8Array(r.memory.buffer)),o).set(e,n/1),[n,e.length]}var s=async function e(){const{instance:t,module:n}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}(i,{});return r=t.exports,e.__wbindgen_wasm_module=n,r};let u;async function c(e,t,n){if(!u){if(await s(),0!==r.bls_init())throw new Error("Cannot initialize BLS");u=(e,t,n)=>0===function(e,t,n){const[i,o]=a(e,r.__wbindgen_malloc),[s,u]=a(t,r.__wbindgen_malloc),[c,l]=a(n,r.__wbindgen_malloc);return r.bls_verify(i,o,s,u,c,l)}(t,n,e)}return u(e,t,n)}},2995:function(e,t,n){"use strict";function r(...e){const t=new Uint8Array(e.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const r of e)t.set(new Uint8Array(r),n),n+=r.byteLength;return t.buffer}function i(e){return[...new Uint8Array(e)].map((e=>e.toString(16).padStart(2,"0"))).join("")}n.d(t,{Nn:function(){return u},UD:function(){return s},aD:function(){return a},nj:function(){return i},xW:function(){return r}});const o=new RegExp(/^([0-9A-F]{2})*$/i);function a(e){if(!o.test(e))throw new Error("Invalid hexadecimal string.");const t=[...e].reduce(((e,t,n)=>(e[n/2|0]=(e[n/2|0]||"")+t,e)),[]).map((e=>Number.parseInt(e,16)));return new Uint8Array(t).buffer}function s(e,t){if(e.byteLength!==t.byteLength)return e.byteLength-t.byteLength;const n=new Uint8Array(e),r=new Uint8Array(t);for(let e=0;e(0,r.Ui)(new r.Ki(e)),o=e=>{const t=i(e);return new Date(Number(t)/1e6)}},467:function(e,t,n){"use strict";n.d(t,{Ih:function(){return r},Ki:function(){return a},Ui:function(){return d},kk:function(){return f}});var r={};n.r(r),n.d(r,{Bool:function(){return Z},BoolClass:function(){return S},ConstructType:function(){return B},Empty:function(){return J},EmptyClass:function(){return C},FixedIntClass:function(){return T},FixedNatClass:function(){return N},Float32:function(){return re},Float64:function(){return ie},FloatClass:function(){return D},Func:function(){return ve},FuncClass:function(){return H},Int:function(){return te},Int16:function(){return ae},Int32:function(){return se},Int64:function(){return ue},Int8:function(){return oe},IntClass:function(){return x},Nat:function(){return ne},Nat16:function(){return le},Nat32:function(){return fe},Nat64:function(){return de},Nat8:function(){return ce},NatClass:function(){return R},Null:function(){return X},NullClass:function(){return Q},Opt:function(){return ge},OptClass:function(){return L},PrimitiveType:function(){return I},Principal:function(){return Ae},PrincipalClass:function(){return G},Rec:function(){return be},RecClass:function(){return j},Record:function(){return ye},RecordClass:function(){return P},Reserved:function(){return W},ReservedClass:function(){return k},Service:function(){return we},ServiceClass:function(){return Y},Text:function(){return ee},TextClass:function(){return M},Tuple:function(){return he},TupleClass:function(){return U},Type:function(){return E},Unknown:function(){return $},UnknownClass:function(){return _},Variant:function(){return me},VariantClass:function(){return F},Vec:function(){return pe},VecClass:function(){return O},Visitor:function(){return w},decode:function(){return V},encode:function(){return z}});var i=n(7897);function o(...e){const t=new Uint8Array(e.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const r of e)t.set(new Uint8Array(r),n),n+=r.byteLength;return t}class a{constructor(e,t=(null==e?void 0:e.byteLength)||0){this._buffer=e||new ArrayBuffer(0),this._view=new Uint8Array(this._buffer,0,t)}get buffer(){return this._view.slice()}get byteLength(){return this._view.byteLength}read(e){const t=this._view.subarray(0,e);return this._view=this._view.subarray(e),t.slice().buffer}readUint8(){const e=this._view[0];return this._view=this._view.subarray(1),e}write(e){const t=new Uint8Array(e),n=this._view.byteLength;this._view.byteOffset+this._view.byteLength+t.byteLength>=this._buffer.byteLength?this.alloc(t.byteLength):this._view=new Uint8Array(this._buffer,this._view.byteOffset,this._view.byteLength+t.byteLength),this._view.set(t,n)}get end(){return 0===this._view.byteLength}alloc(e){const t=new ArrayBuffer(1.2*(this._buffer.byteLength+e)|0),n=new Uint8Array(t,0,this._view.byteLength+e);n.set(this._view),this._buffer=t,this._view=n}}function s(e){if(/^_\d+_$/.test(e)||/^_0x[0-9a-fA-F]+_$/.test(e)){const t=+e.slice(1,-1);if(Number.isSafeInteger(t)&&t>=0&&t<2**32)return t}return function(e){const t=(new TextEncoder).encode(e);let n=0;for(const e of t)n=(223*n+e)%2**32;return n}(e)}function u(){throw new Error("unexpected end of buffer")}function c(e,t){return e.byteLength=128);return r}function A(e){"number"==typeof e&&(e=BigInt(e));const t=e=0;e--)i=i*BigInt(128)+BigInt(128-(127&r[e])-1);return-i-BigInt(1)}function p(e,t){e=BigInt(e);const n=new a(new ArrayBuffer(Math.min(1,t)),0);let r=0,i=BigInt(256),o=BigInt(0),s=Number(e%i);for(n.write(new Uint8Array([s]));++rn(e,t[r])))}class v{constructor(){this._typs=[],this._idx=new Map}has(e){return this._idx.has(e.name)}add(e,t){const n=this._typs.length;this._idx.set(e.name,n),this._typs.push(t)}merge(e,t){const n=this._idx.get(e.name),r=this._idx.get(t);if(void 0===n)throw new Error("Missing type index for "+e);if(void 0===r)throw new Error("Missing type index for "+t);this._typs[n]=this._typs[r],this._typs.splice(r,1),this._idx.delete(t)}encode(){const e=f(this._typs.length),t=o(...this._typs);return o(e,t)}indexOf(e){if(!this._idx.has(e))throw new Error("Missing type index for "+e);return A(this._idx.get(e)||0)}}class w{visitType(e,t){throw new Error("Not implemented")}visitPrimitive(e,t){return this.visitType(e,t)}visitEmpty(e,t){return this.visitPrimitive(e,t)}visitBool(e,t){return this.visitPrimitive(e,t)}visitNull(e,t){return this.visitPrimitive(e,t)}visitReserved(e,t){return this.visitPrimitive(e,t)}visitText(e,t){return this.visitPrimitive(e,t)}visitNumber(e,t){return this.visitPrimitive(e,t)}visitInt(e,t){return this.visitNumber(e,t)}visitNat(e,t){return this.visitNumber(e,t)}visitFloat(e,t){return this.visitPrimitive(e,t)}visitFixedInt(e,t){return this.visitNumber(e,t)}visitFixedNat(e,t){return this.visitNumber(e,t)}visitPrincipal(e,t){return this.visitPrimitive(e,t)}visitConstruct(e,t){return this.visitType(e,t)}visitVec(e,t,n){return this.visitConstruct(e,n)}visitOpt(e,t,n){return this.visitConstruct(e,n)}visitRecord(e,t,n){return this.visitConstruct(e,n)}visitTuple(e,t,n){const r=t.map(((e,t)=>[`_${t}_`,e]));return this.visitRecord(e,r,n)}visitVariant(e,t,n){return this.visitConstruct(e,n)}visitRec(e,t,n){return this.visitConstruct(t,n)}visitFunc(e,t){return this.visitConstruct(e,t)}visitService(e,t){return this.visitConstruct(e,t)}}class E{display(){return this.name}valueToString(e){return K(e)}buildTypeTable(e){e.has(this)||this._buildTypeTableImpl(e)}}class I extends E{checkType(e){if(this.name!==e.name)throw new Error(`type mismatch: type on the wire ${e.name}, expect type ${this.name}`);return e}_buildTypeTableImpl(e){}}class B extends E{checkType(e){if(e instanceof j){const t=e.getType();if(void 0===t)throw new Error("type mismatch with uninitialized type");return t}throw new Error(`type mismatch: type on the wire ${e.name}, expect type ${this.name}`)}encodeType(e){return e.indexOf(this.name)}}class C extends I{accept(e,t){return e.visitEmpty(this,t)}covariant(e){throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(){throw new Error("Empty cannot appear as a function argument")}valueToString(){throw new Error("Empty cannot appear as a value")}encodeType(){return A(-17)}decodeValue(){throw new Error("Empty cannot appear as an output")}get name(){return"empty"}}class _ extends E{checkType(e){throw new Error("Method not implemented for unknown.")}accept(e,t){throw e.visitType(this,t)}covariant(e){throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(){throw new Error("Unknown cannot appear as a function argument")}valueToString(){throw new Error("Unknown cannot appear as a value")}encodeType(){throw new Error("Unknown cannot be serialized")}decodeValue(e,t){let n,r=t.decodeValue(e,t);return Object(r)!==r&&(r=Object(r)),n=t instanceof j?()=>t.getType():()=>t,Object.defineProperty(r,"type",{value:n,writable:!0,enumerable:!1,configurable:!0}),r}_buildTypeTableImpl(){throw new Error("Unknown cannot be serialized")}get name(){return"Unknown"}}class S extends I{accept(e,t){return e.visitBool(this,t)}covariant(e){if("boolean"==typeof e)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return new Uint8Array([e?1:0])}encodeType(){return A(-2)}decodeValue(e,t){switch(this.checkType(t),l(e)){case 0:return!1;case 1:return!0;default:throw new Error("Boolean value out of range")}}get name(){return"bool"}}class Q extends I{accept(e,t){return e.visitNull(this,t)}covariant(e){if(null===e)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(){return new ArrayBuffer(0)}encodeType(){return A(-1)}decodeValue(e,t){return this.checkType(t),null}get name(){return"null"}}class k extends I{accept(e,t){return e.visitReserved(this,t)}covariant(e){return!0}encodeValue(){return new ArrayBuffer(0)}encodeType(){return A(-16)}decodeValue(e,t){return t.name!==this.name&&t.decodeValue(e,t),null}get name(){return"reserved"}}class M extends I{accept(e,t){return e.visitText(this,t)}covariant(e){if("string"==typeof e)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=(new TextEncoder).encode(e);return o(f(t.byteLength),t)}encodeType(){return A(-15)}decodeValue(e,t){this.checkType(t);const n=d(e),r=c(e,Number(n));return new TextDecoder("utf8",{fatal:!0}).decode(r)}get name(){return"text"}valueToString(e){return'"'+e+'"'}}class x extends I{accept(e,t){return e.visitInt(this,t)}covariant(e){if("bigint"==typeof e||Number.isInteger(e))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return A(e)}encodeType(){return A(-4)}decodeValue(e,t){return this.checkType(t),h(e)}get name(){return"int"}valueToString(e){return e.toString()}}class R extends I{accept(e,t){return e.visitNat(this,t)}covariant(e){if("bigint"==typeof e&&e>=BigInt(0)||Number.isInteger(e)&&e>=0)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return f(e)}encodeType(){return A(-3)}decodeValue(e,t){return this.checkType(t),d(e)}get name(){return"nat"}valueToString(e){return e.toString()}}class D extends I{constructor(e){if(super(),this._bits=e,32!==e&&64!==e)throw new Error("not a valid float type")}accept(e,t){return e.visitFloat(this,t)}covariant(e){if("number"==typeof e||e instanceof Number)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=new ArrayBuffer(this._bits/8),n=new DataView(t);return 32===this._bits?n.setFloat32(0,e,!0):n.setFloat64(0,e,!0),t}encodeType(){return A(32===this._bits?-13:-14)}decodeValue(e,t){this.checkType(t);const n=c(e,this._bits/8),r=new DataView(n);return 32===this._bits?r.getFloat32(0,!0):r.getFloat64(0,!0)}get name(){return"float"+this._bits}valueToString(e){return e.toString()}}class T extends I{constructor(e){super(),this._bits=e}accept(e,t){return e.visitFixedInt(this,t)}covariant(e){const t=y(this._bits-1)*BigInt(-1),n=y(this._bits-1)-BigInt(1);let r=!1;if("bigint"==typeof e)r=e>=t&&e<=n;else if(Number.isInteger(e)){const i=BigInt(e);r=i>=t&&i<=n}else r=!1;if(r)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return p(e,this._bits/8)}encodeType(){return A(-9-(Math.log2(this._bits)-3))}decodeValue(e,t){this.checkType(t);const n=function(e,t){let n=g(e,t);const r=BigInt(2)**(BigInt(8)*BigInt(t-1)+BigInt(7));return n>=r&&(n-=r*BigInt(2)),n}(e,this._bits/8);return this._bits<=32?Number(n):n}get name(){return`int${this._bits}`}valueToString(e){return e.toString()}}class N extends I{constructor(e){super(),this._bits=e}accept(e,t){return e.visitFixedNat(this,t)}covariant(e){const t=y(this._bits);let n=!1;if(n="bigint"==typeof e&&e>=BigInt(0)?e=0)&&BigInt(e){try{return this._type.covariant(e)}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nindex ${t} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=f(e.length);if(this._blobOptimization)return o(t,new Uint8Array(e));if(ArrayBuffer.isView(e))return o(t,new Uint8Array(e.buffer));const n=new a(new ArrayBuffer(t.byteLength+e.length),0);n.write(t);for(const t of e){const e=this._type.encodeValue(t);n.write(new Uint8Array(e))}return n.buffer}_buildTypeTableImpl(e){this._type.buildTypeTable(e);const t=A(-19),n=this._type.encodeType(e);e.add(this,o(t,n))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof O))throw new Error("Not a vector type");const r=Number(d(e));if(this._type instanceof N){if(8==this._type._bits)return new Uint8Array(e.read(r));if(16==this._type._bits)return new Uint16Array(e.read(2*r));if(32==this._type._bits)return new Uint32Array(e.read(4*r));if(64==this._type._bits)return new BigUint64Array(e.read(8*r))}if(this._type instanceof T){if(8==this._type._bits)return new Int8Array(e.read(r));if(16==this._type._bits)return new Int16Array(e.read(2*r));if(32==this._type._bits)return new Int32Array(e.read(4*r));if(64==this._type._bits)return new BigInt64Array(e.read(8*r))}const i=[];for(let t=0;tthis._type.valueToString(e))).join("; ")+"}"}}class L extends B{constructor(e){super(),this._type=e}accept(e,t){return e.visitOpt(this,this._type,t)}covariant(e){try{if(Array.isArray(e)&&(0===e.length||1===e.length&&this._type.covariant(e[0])))return!0}catch(t){throw new Error(`Invalid ${this.display()} argument: ${K(e)} \n\n-> ${t.message}`)}throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return 0===e.length?new Uint8Array([0]):o(new Uint8Array([1]),this._type.encodeValue(e[0]))}_buildTypeTableImpl(e){this._type.buildTypeTable(e);const t=A(-18),n=this._type.encodeType(e);e.add(this,o(t,n))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof L))throw new Error("Not an option type");switch(l(e)){case 0:return[];case 1:return[this._type.decodeValue(e,n._type)];default:throw new Error("Not an option value")}}get name(){return`opt ${this._type.name}`}display(){return`opt ${this._type.display()}`}valueToString(e){return 0===e.length?"null":`opt ${this._type.valueToString(e[0])}`}}class P extends B{constructor(e={}){super(),this._fields=Object.entries(e).sort(((e,t)=>s(e[0])-s(t[0])))}accept(e,t){return e.visitRecord(this,this._fields,t)}tryAsTuple(){const e=[];for(let t=0;t{if(!e.hasOwnProperty(t))throw new Error(`Record is missing key "${t}".`);try{return n.covariant(e[t])}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nfield ${t} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=this._fields.map((([t])=>e[t]));return o(...b(this._fields,t,(([,e],t)=>e.encodeValue(t))))}_buildTypeTableImpl(e){this._fields.forEach((([t,n])=>n.buildTypeTable(e)));const t=A(-20),n=f(this._fields.length),r=this._fields.map((([t,n])=>o(f(s(t)),n.encodeType(e))));e.add(this,o(t,n,o(...r)))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof P))throw new Error("Not a record type");const r={};let i=0,o=0;for(;o=this._fields.length){a.decodeValue(e,a),o++;continue}const[u,c]=this._fields[i],l=s(this._fields[i][0]),f=s(t);if(l===f)r[u]=c.decodeValue(e,a),i++,o++;else if(f>l){if(!(c instanceof L||c instanceof k))throw new Error("Cannot find required field "+u);r[u]=[],i++}else a.decodeValue(e,a),o++}for(const[e,t]of this._fields.slice(i)){if(!(t instanceof L||t instanceof k))throw new Error("Cannot find required field "+e);r[e]=[]}return r}get name(){return`record {${this._fields.map((([e,t])=>e+":"+t.name)).join("; ")}}`}display(){return`record {${this._fields.map((([e,t])=>e+":"+t.display())).join("; ")}}`}valueToString(e){const t=this._fields.map((([t])=>e[t]));return`record {${b(this._fields,t,(([e,t],n)=>e+"="+t.valueToString(n))).join("; ")}}`}}class U extends P{constructor(e){const t={};e.forEach(((e,n)=>t["_"+n+"_"]=e)),super(t),this._components=e}accept(e,t){return e.visitTuple(this,this._components,t)}covariant(e){if(Array.isArray(e)&&e.length>=this._fields.length&&this._components.every(((t,n)=>{try{return t.covariant(e[n])}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nindex ${n} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return o(...b(this._components,e,((e,t)=>e.encodeValue(t))))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof U))throw new Error("not a tuple type");if(n._components.length=this._components.length?i.decodeValue(e,i):r.push(this._components[t].decodeValue(e,i));return r}display(){return`record {${this._components.map((e=>e.display())).join("; ")}}`}valueToString(e){return`record {${b(this._components,e,((e,t)=>e.valueToString(t))).join("; ")}}`}}class F extends B{constructor(e={}){super(),this._fields=Object.entries(e).sort(((e,t)=>s(e[0])-s(t[0])))}accept(e,t){return e.visitVariant(this,this._fields,t)}covariant(e){if("object"==typeof e&&1===Object.entries(e).length&&this._fields.every((([t,n])=>{try{return!e.hasOwnProperty(t)||n.covariant(e[t])}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nvariant ${t} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){for(let t=0;t{t.buildTypeTable(e)}));const t=A(-21),n=f(this._fields.length),r=this._fields.map((([t,n])=>o(f(s(t)),n.encodeType(e))));e.add(this,o(t,n,...r))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof F))throw new Error("Not a variant type");const r=Number(d(e));if(r>=n._fields.length)throw Error("Invalid variant index: "+r);const[i,o]=n._fields[r];for(const[t,n]of this._fields)if(s(i)===s(t)){const r=n.decodeValue(e,o);return{[t]:r}}throw new Error("Cannot find field hash "+i)}get name(){return`variant {${this._fields.map((([e,t])=>e+":"+t.name)).join("; ")}}`}display(){return`variant {${this._fields.map((([e,t])=>e+("null"===t.name?"":`:${t.display()}`))).join("; ")}}`}valueToString(e){for(const[t,n]of this._fields)if(e.hasOwnProperty(t)){const r=n.valueToString(e[t]);return"null"===r?`variant {${t}}`:`variant {${t}=${r}}`}throw new Error("Variant has no data: "+e)}}class j extends B{constructor(){super(...arguments),this._id=j._counter++,this._type=void 0}accept(e,t){if(!this._type)throw Error("Recursive type uninitialized.");return e.visitRec(this,this._type,t)}fill(e){this._type=e}getType(){return this._type}covariant(e){if(this._type&&this._type.covariant(e))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.encodeValue(e)}_buildTypeTableImpl(e){if(!this._type)throw Error("Recursive type uninitialized.");e.add(this,new Uint8Array([])),this._type.buildTypeTable(e),e.merge(this,this._type.name)}decodeValue(e,t){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.decodeValue(e,t)}get name(){return`rec_${this._id}`}display(){if(!this._type)throw Error("Recursive type uninitialized.");return`μ${this.name}.${this._type.name}`}valueToString(e){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.valueToString(e)}}function q(e){if(1!==l(e))throw new Error("Cannot decode principal");const t=Number(d(e));return i.p.fromUint8Array(new Uint8Array(c(e,t)))}j._counter=0;class G extends I{accept(e,t){return e.visitPrincipal(this,t)}covariant(e){if(e&&e._isPrincipal)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=e.toUint8Array(),n=f(t.byteLength);return o(new Uint8Array([1]),n,t)}encodeType(){return A(-24)}decodeValue(e,t){return this.checkType(t),q(e)}get name(){return"principal"}valueToString(e){return`${this.name} "${e.toText()}"`}}class H extends B{constructor(e,t,n=[]){super(),this.argTypes=e,this.retTypes=t,this.annotations=n}static argsToString(e,t){if(e.length!==t.length)throw new Error("arity mismatch");return"("+e.map(((e,n)=>e.valueToString(t[n]))).join(", ")+")"}accept(e,t){return e.visitFunc(this,t)}covariant(e){if(Array.isArray(e)&&2===e.length&&e[0]&&e[0]._isPrincipal&&"string"==typeof e[1])return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue([e,t]){const n=e.toUint8Array(),r=f(n.byteLength),i=o(new Uint8Array([1]),r,n),a=(new TextEncoder).encode(t),s=f(a.byteLength);return o(new Uint8Array([1]),i,s,a)}_buildTypeTableImpl(e){this.argTypes.forEach((t=>t.buildTypeTable(e))),this.retTypes.forEach((t=>t.buildTypeTable(e)));const t=A(-22),n=f(this.argTypes.length),r=o(...this.argTypes.map((t=>t.encodeType(e)))),i=f(this.retTypes.length),a=o(...this.retTypes.map((t=>t.encodeType(e)))),s=f(this.annotations.length),u=o(...this.annotations.map((e=>this.encodeAnnotation(e))));e.add(this,o(t,n,r,i,a,s,u))}decodeValue(e){if(1!==l(e))throw new Error("Cannot decode function reference");const t=q(e),n=c(e,Number(d(e)));return[t,new TextDecoder("utf8",{fatal:!0}).decode(n)]}get name(){return`(${this.argTypes.map((e=>e.name)).join(", ")}) -> (${this.retTypes.map((e=>e.name)).join(", ")})${" "+this.annotations.join(" ")}`}valueToString([e,t]){return`func "${e.toText()}".${t}`}display(){return`(${this.argTypes.map((e=>e.display())).join(", ")}) → (${this.retTypes.map((e=>e.display())).join(", ")})${" "+this.annotations.join(" ")}`}encodeAnnotation(e){if("query"===e)return new Uint8Array([1]);if("oneway"===e)return new Uint8Array([2]);if("composite_query"===e)return new Uint8Array([3]);throw new Error("Illegal function annotation")}}class Y extends B{constructor(e){super(),this._fields=Object.entries(e).sort(((e,t)=>s(e[0])-s(t[0])))}accept(e,t){return e.visitService(this,t)}covariant(e){if(e&&e._isPrincipal)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=e.toUint8Array(),n=f(t.length);return o(new Uint8Array([1]),n,t)}_buildTypeTableImpl(e){this._fields.forEach((([t,n])=>n.buildTypeTable(e)));const t=A(-23),n=f(this._fields.length),r=this._fields.map((([t,n])=>{const r=(new TextEncoder).encode(t);return o(f(r.length),r,n.encodeType(e))}));e.add(this,o(t,n,...r))}decodeValue(e){return q(e)}get name(){return`service {${this._fields.map((([e,t])=>e+":"+t.name)).join("; ")}}`}valueToString(e){return`service "${e.toText()}"`}}function K(e){const t=JSON.stringify(e,((e,t)=>"bigint"==typeof t?`BigInt(${t})`:t));return t&&t.length>400?t.substring(0,397)+"...":t}function z(e,t){if(t.lengthe.buildTypeTable(n)));const r=(new TextEncoder).encode(m),i=n.encode(),a=f(t.length),s=o(...e.map((e=>e.encodeType(n)))),u=o(...b(e,t,((e,t)=>{try{e.covariant(t)}catch(e){throw new Error(e.message+"\n\n")}return e.encodeValue(t)})));return o(r,i,a,s,u)}function V(e,t){const n=new a(t);if(t.byteLength=Math.pow(2,32))throw new Error("field id out of 32-bit range");if("number"==typeof i&&i>=t)throw new Error("field id collision or not sorted");i=t;const n=Number(h(e));r.push([t,n])}t.push([n,r]);break}case-22:{const r=[];let i=Number(d(e));for(;i--;)r.push(Number(h(e)));const o=[];let a=Number(d(e));for(;a--;)o.push(Number(h(e)));const s=[];let u=Number(d(e));for(;u--;)switch(Number(d(e))){case 1:s.push("query");break;case 2:s.push("oneway");break;case 3:s.push("composite_query");break;default:throw new Error("unknown annotation")}t.push([n,[r,o,s]]);break}case-23:{let r=Number(d(e));const i=[];for(;r--;){const t=Number(d(e)),n=(new TextDecoder).decode(c(e,t)),r=h(e);i.push([n,r])}t.push([n,i]);break}default:throw new Error("Illegal op_code: "+n)}}const r=[],i=Number(d(e));for(let t=0;tbe()));function l(e){if(e<-24)throw new Error("future value not supported");if(e<0)switch(e){case-1:return X;case-2:return Z;case-3:return ne;case-4:return te;case-5:return ce;case-6:return le;case-7:return fe;case-8:return de;case-9:return oe;case-10:return ae;case-11:return se;case-12:return ue;case-13:return re;case-14:return ie;case-15:return ee;case-16:return W;case-17:return J;case-24:return Ae;default:throw new Error("Illegal op_code: "+e)}if(e>=o.length)throw new Error("type index out of range");return u[e]}function f(e){switch(e[0]){case-19:return pe(l(e[1]));case-18:return ge(l(e[1]));case-20:{const t={};for(const[n,r]of e[1])t[`_${n}_`]=l(r);const n=ye(t),r=n.tryAsTuple();return Array.isArray(r)?he(...r):n}case-21:{const t={};for(const[n,r]of e[1])t[`_${n}_`]=l(r);return me(t)}case-22:{const[t,n,r]=e[1];return ve(t.map((e=>l(e))),n.map((e=>l(e))),r)}case-23:{const t={},n=e[1];for(const[e,r]of n){let n=l(r);if(n instanceof j&&(n=n.getType()),!(n instanceof H))throw new Error("Illegal service definition: services can only contain functions");t[e]=n}return we(t)}default:throw new Error("Illegal op_code: "+e[0])}}o.forEach(((e,t)=>{if(-22===e[0]){const n=f(e);u[t].fill(n)}})),o.forEach(((e,t)=>{if(-22!==e[0]){const n=f(e);u[t].fill(n)}}));const A=s.map((e=>l(e))),p=e.map(((e,t)=>e.decodeValue(n,A[t])));for(let t=e.length;t0)throw new Error("decode: Left-over bytes");return p}const J=new C,W=new k,$=new _,Z=new S,X=new Q,ee=new M,te=new x,ne=new R,re=new D(32),ie=new D(64),oe=new T(8),ae=new T(16),se=new T(32),ue=new T(64),ce=new N(8),le=new N(16),fe=new N(32),de=new N(64),Ae=new G;function he(...e){return new U(e)}function pe(e){return new O(e)}function ge(e){return new L(e)}function ye(e){return new P(e)}function me(e){return new F(e)}function be(){return new j}function ve(e,t,n=[]){return new H(e,t,n)}function we(e){return new Y(e)}},7897:function(e,t,n){"use strict";n.d(t,{p:function(){return u}});const r="abcdefghijklmnopqrstuvwxyz234567",i=Object.create(null);for(let e=0;e<32;e++)i[r[e]]=e;i[0]=i.o,i[1]=i.i;const o=new Uint32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);var a=n(8226);const s="__principal__";class u{constructor(e){this._arr=e,this._isPrincipal=!0}static anonymous(){return new this(new Uint8Array([4]))}static managementCanister(){return this.fromHex("aaaaa-aa")}static selfAuthenticating(e){const t=(n=e,a.Z.create().update(new Uint8Array(n)).digest());var n;return new this(new Uint8Array([...t,2]))}static from(e){if("string"==typeof e)return u.fromText(e);if("object"==typeof e&&null!==e&&!0===e._isPrincipal)return new u(e._arr);throw new Error(`Impossible to convert ${JSON.stringify(e)} to Principal.`)}static fromHex(e){return new this(new Uint8Array((null!==(t=e.match(/.{1,2}/g))&&void 0!==t?t:[]).map((e=>parseInt(e,16)))));var t}static fromText(e){let t=e;if(e.includes(s)){const n=JSON.parse(e);s in n&&(t=n[s])}let n=function(e){let t=0,n=0;const r=new Uint8Array(4*e.length/3|0);let o=0;function a(e){let a=i[e.toLowerCase()];if(void 0===a)throw new Error(`Invalid character: ${JSON.stringify(e)}`);a<<=3,n|=a>>>t,t+=5,t>=8&&(r[o++]=n,t-=8,n=t>0?a<<5-t&255:0)}for(const t of e)a(t);return r.slice(0,o)}(t.toLowerCase().replace(/-/g,""));n=n.slice(4,n.length);const r=new this(n);if(r.toText()!==t)throw new Error(`Principal "${r.toText()}" does not have a valid checksum (original value "${t}" may not be a valid Principal ID).`);return r}static fromUint8Array(e){return new this(e)}isAnonymous(){return 1===this._arr.byteLength&&4===this._arr[0]}toUint8Array(){return this._arr}toHex(){return(e=this._arr,e.reduce(((e,t)=>e+t.toString(16).padStart(2,"0")),"")).toUpperCase();var e}toText(){const e=new ArrayBuffer(4);new DataView(e).setUint32(0,function(e){const t=new Uint8Array(e);let n=-1;for(let e=0;e>>8}return~n>>>0}(this._arr));const t=new Uint8Array(e),n=Uint8Array.from(this._arr),i=function(e){let t=0,n=0,i="";for(let a=0;a>-t:n=o<3?(t-=8,1):(t<4&&(i+=r[n>>3],t+=5),0));var o;return i+(t<0?r[n>>3]:"")}(new Uint8Array([...t,...n])).match(/.{1,5}/g);if(!i)throw new Error;return i.join("-")}toString(){return this.toText()}toJSON(){return{[s]:this.toText()}}compareTo(e){for(let t=0;te._arr[t])return"gt"}return this._arr.lengthe._arr.length?"gt":"eq"}ltEq(e){const t=this.compareTo(e);return"lt"==t||"eq"==t}gtEq(e){const t=this.compareTo(e);return"gt"==t||"eq"==t}}},7880:function(e,t,n){"use strict";n.r(t),n.d(t,{encodePath:function(){return l},request:function(){return c}});var r=n(6489),i=n(9847),o=n(421),a=n(9548),s=n(2696),u=n(8563);const c=async e=>{const{canisterId:t,agent:n,paths:r}=e,a=[...new Set(r)],s=a.map((e=>l(e,t))),c=new Map,p=a.map(((e,r)=>(async()=>{var p;try{const i=await n.readState(t,{paths:[s[r]]}),p=(await o.us.create({certificate:i.certificate,rootKey:n.rootKey,canisterId:t})).lookup(l(a[r],t));if(p)switch(e){case"time":c.set(e,(0,u.A)(p));break;case"controllers":c.set(e,h(p));break;case"module_hash":c.set(e,f(p));break;case"candid":c.set(e,(new TextDecoder).decode(p));break;default:if("string"!=typeof e&&"key"in e&&"path"in e)switch(e.decodeStrategy){case"raw":c.set(e.key,p);break;case"leb128":c.set(e.key,(0,u.b)(p));break;case"cbor":c.set(e.key,d(p));break;case"hex":c.set(e.key,f(p));break;case"utf-8":c.set(e.key,A(p))}}else console.warn(`Expected to find result for path ${e}, but instead found nothing.`),"string"==typeof e?c.set(e,null):c.set(e.key,null)}catch(t){if(null===(p=null==t?void 0:t.message)||void 0===p?void 0:p.includes("Invalid certificate"))throw new i.Y(t.message);"string"!=typeof e&&"key"in e&&"path"in e?c.set(e.key,null):c.set(e,null),console.group(),console.warn(`Expected to find result for path ${e}, but instead found nothing.`),console.warn(t),console.groupEnd()}})()));return await Promise.all(p),c},l=(e,t)=>{const n=new TextEncoder,r=e=>new DataView(n.encode(e).buffer).buffer,i=new DataView(t.toUint8Array().buffer).buffer;switch(e){case"time":return[r("time")];case"controllers":return[r("canister"),i,r("controllers")];case"module_hash":return[r("canister"),i,r("module_hash")];case"subnet":return[r("subnet")];case"candid":return[r("canister"),i,r("metadata"),r("candid:service")];default:if("key"in e&&"path"in e){if("string"==typeof e.path||e.path instanceof ArrayBuffer){const t=e.path,n="string"==typeof t?r(t):t;return[r("canister"),i,r("metadata"),n]}return e.path}}throw new Error(`An unexpeected error was encountered while encoding your path for canister status. Please ensure that your path, ${e} was formatted correctly.`)},f=e=>(0,a.nj)(e),d=e=>s.D4(e),A=e=>(new TextDecoder).decode(e),h=e=>{const[t,...n]=d(e);return n.map((e=>r.p.fromUint8Array(new Uint8Array(e))))}},2696:function(e,t,n){"use strict";n.d(t,{D4:function(){return f},lF:function(){return u}});var r=n(7516),i=n(9283),o=n(9548);const a=i.SelfDescribeCborSerializer.withDefaultEncoders(!0);var s;function u(e){return a.serialize(e)}function c(e){const t=e.byteLength;let n=BigInt(0);for(let r=0;rBigInt(0)?i.value.tagged(2,i.value.bytes((0,o.aD)(e.toString(16)))):i.value.tagged(3,i.value.bytes((0,o.aD)((BigInt("-1")*e).toString(16))))}}),function(e){e[e.Uint64LittleEndian=71]="Uint64LittleEndian",e[e.Semantic=55799]="Semantic"}(s||(s={}));class l extends r.Decoder{createByteString(e){return(0,o.xW)(...e)}createByteStringFromHeap(e,t){return e===t?new ArrayBuffer(0):new Uint8Array(this._heap.slice(e,t))}}function f(e){const t=new Uint8Array(e);return new l({size:t.byteLength,tags:{2:e=>c(e),3:e=>-c(e),[s.Semantic]:e=>e}}).decodeFirst(t)}},421:function(e,t,n){"use strict";n.d(t,{us:function(){return d}});var r=n(2696),i=n(9847),o=n(3635),a=n(9548),s=n(6489),u=n(6912),c=n(8563);class l extends i.Y{constructor(e){super(`Invalid certificate: ${e}`)}}function f(e,t){if(e.byteLength!==t.byteLength)return!1;const n=new Uint8Array(e),r=new Uint8Array(t);for(let e=0;em)throw new l("Certificate is signed more than 5 minutes in the future. Certificate time: "+b.toISOString()+" Current time: "+new Date(d).toISOString());try{o=await this._blsVerify(new Uint8Array(r),new Uint8Array(n),new Uint8Array(i))}catch(e){o=!1}if(!o)throw new l("Signature verification failed")}async _checkDelegationAndGetKey(e){if(!e)return this._rootKey;const t=await d.create({certificate:e.certificate,rootKey:this._rootKey,canisterId:this._canisterId,blsVerify:this._blsVerify,maxAgeInMinutes:43200}),n=t.lookup(["subnet",e.subnet_id,"canister_ranges"]);if(!n)throw new l(`Could not find canister ranges for subnet 0x${(0,a.nj)(e.subnet_id)}`);if(!r.D4(n).map((e=>[s.p.fromUint8Array(e[0]),s.p.fromUint8Array(e[1])])).some((e=>e[0].ltEq(this._canisterId)&&e[1].gtEq(this._canisterId))))throw new l(`Canister ${this._canisterId} not in range of delegations for subnet 0x${(0,a.nj)(e.subnet_id)}`);const i=t.lookup(["subnet",e.subnet_id,"public_key"]);if(!i)throw new Error(`Could not find subnet key for subnet 0x${(0,a.nj)(e.subnet_id)}`);return i}}const A=(0,a.aD)("308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100"),h=96;async function p(e){switch(e[0]){case 0:return(0,o.tW)(g("ic-hashtree-empty"));case 4:return e[1];case 3:return(0,o.tW)((0,a.xW)(g("ic-hashtree-leaf"),e[1]));case 2:return(0,o.tW)((0,a.xW)(g("ic-hashtree-labeled"),e[1],await p(e[2])));case 1:return(0,o.tW)((0,a.xW)(g("ic-hashtree-fork"),await p(e[1]),await p(e[2])));default:throw new Error("unreachable")}}function g(e){const t=new Uint8Array([e.length]),n=(new TextEncoder).encode(e);return(0,a.xW)(t,n)}function y(e,t){if(0===e.length)return 3===t[0]?new Uint8Array(t[1]).buffer:void 0;const n=function(e,t){if(0!==t.length)for(const n of t)if(2===n[0]&&f(e,n[1]))return n[2]}("string"==typeof e[0]?(new TextEncoder).encode(e[0]):e[0],m(t));return n?y(e.slice(1),n):void 0}function m(e){switch(e[0]){case 0:return[];case 1:return m(e[1]).concat(m(e[2]));default:return[e]}}},9847:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});class r extends Error{constructor(e){super(e),this.message=e,Object.setPrototypeOf(this,r.prototype)}}},3635:function(e,t,n){"use strict";n.d(t,{Gb:function(){return l},tW:function(){return s}});var r=n(2734),i=n(7516),o=n(8226),a=n(9548);function s(e){return(0,a.Nn)(o.s.create().update(new Uint8Array(e)).digest())}function u(e){if(e instanceof i.Tagged)return u(e.value);if("string"==typeof e)return c(e);if("number"==typeof e)return s((0,r.kk)(e));if(e instanceof ArrayBuffer||ArrayBuffer.isView(e))return s(e);if(Array.isArray(e)){const t=e.map(u);return s((0,a.xW)(...t))}if(e&&"object"==typeof e&&e._isPrincipal)return s(e.toUint8Array());if("object"==typeof e&&null!==e&&"function"==typeof e.toHash)return u(e.toHash());if("bigint"==typeof e)return s((0,r.kk)(e));throw Object.assign(new Error(`Attempt to hash a value of unsupported type: ${e}`),{value:e})}const c=e=>s((new TextEncoder).encode(e));function l(e){const t=Object.entries(e).filter((([,e])=>void 0!==e)).map((([e,t])=>[c(e),u(t)])).sort((([e],[t])=>(0,a.UD)(e,t)));return s((0,a.xW)(...t.map((e=>(0,a.xW)(...e)))))}},6912:function(e,t,n){"use strict";let r;n.d(t,{r:function(){return c}});const i=n(3371).D("AGFzbQEAAAABXg9gAn9/AGABfwBgAX8Bf2ADf39/AGACf38Bf2ADf39/AX9gBH9/f38AYAF/AX5gBX9/f39/AGAAAX9gBn9/f39/fwBgBn9/f39/fwF/YAJ/fwF+YAV/fn5+fgBgAAAD3wHdAQIAAAABAwoAAAAIBgQAAwEDAAEBAQAAAQAJAQMAAwEACAEDAwQAAwsADAIBA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BgAhqIgMgABCMASACQYAKakE4ENABGiACQQE2ArgKIAJBwApqQTgQ0AEaIAJB+ApqQQE2AgAgAkGAC2pBOBDQARogAkG4C2pBATYCACACQcALakE4ENABGiACQfgLakEBNgIAIAIgARAYIAMgAEGAAmoiBhCXASADELABIAQgAxCWASAEIAEQGCADIAYQlgEgAyAAQYAEaiIFEJcBIAMQsAEgByADEJYBIAEoAoAGQQJGDQMgAkHADGoiAyABQYAFahBeIAJBgAZqIAMQpgEMBAsgACABEG0MCAsgAiAAEIwBIAJBgAJqQTgQ0AEaIAJBATYCuAIgAkHAAmpBOBDQARogAkH4AmpBATYCACACQYADakE4ENABGiACQbgDakEBNgIAIAJBwANqQTgQ0AEaIAJB+ANqQQE2AgAgAkGABGpBOBDQARogAkEBNgK4BCACQcAEakE4ENABGiACQfgEakEBNgIAIAJBgAVqQTgQ0AEaIAJBuAVqQQE2AgAgAkHABWpBOBDQARogAkH4BWpBATYCACACQYAGakE4ENABGiACQQE2ArgGIAJBwAZqQTgQ0AEaIAJB+AZqQQE2AgAgAkGAB2pBOBDQARogAkG4B2pBATYCACACQcAHakE4ENABGiACQfgHakEBNgIAIAIgARAYAkAgASgCgAZBBEYNACAAKAKABkEERg0AIAJBgARqIgMgAEGAAmoQlgEgAyABQYACahAYDAYLIAJBwAxqIgdBOBDQARogAkEBNgL4DCACQYANakE4ENABGiACQbgNakEBNgIAIAJBgAhqIgRBOBDQARogAkEBNgK4CCACQcAIakE4ENABGiACQfgIakEBNgIAIAJBgApqIgMgAEGAA2oiBRBeIAQgAxCZASADIAFBgANqIgYQXiAEIAMQESAHELYBIAEoAoAGQQRHDQMMBAsgACABEAMMBgsgAkHADGoiAyABQYAFahBeIAJBgAxqIgQgA0HAABDRARogAkGABmogBBCnAQsgAkGABmoQZCACQYAIaiIDIAIQlgEgAxArIAJBgAJqIgQgAxCXASAGIAQQlgEgAkGABGoiByADEJYBIAMgABCWASADIAUQlwEgAxCwASACQYAKaiIEIAEQlgEgBCABQYAE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AkHICWoiBCABQZCJwABqEEkgAUE4aiEBIAJBiApqIgUgBBCOASACQYgGaiIEIAUQrgEgAyAEEHcgAxBCDAELCyACQYgKaiIBQYiNwAAQSSACQYgJaiABEI4BQQAhAQNAIAFByAZGRQRAIAJBiAlqIgMgAkGIA2oQSiACQcgJaiIEIAFBwI3AAGoQSSABQThqIQEgAkGICmoiBSAEEI4BIAJBiAZqIgQgBRCuASADIAQQdyADEEIMAQsLIAJByAlqIgEgAkGIA2oQkAEgAkHICmoiA0GIlMAAEEkgAkGICmoiBCADEI4BIAJBiAZqIgMgBBCuASABIAMQdyABEEJBACEBA0AgAUGQBkYEQCACQYgJaiIDIAJByARqEEogAkGIBmoiASACQYgIahCuASABIAJByAlqIgQQSiACQQhqIgUgARCuASABIAMQrgEgASACQcgIaiIDEEogAkHIAGogARCuASABIAMQrgEgASAEEEogAkGIAWogARCuASAAIAVBwAEQ0QEaIAJBgAtqJAAFIAJByAlqIgMgAkGIA2oQSiACQcgKaiIEIAFBwJTAAGoQSSABQThqIQEgAkGICmoiBSAEEI4BIAJBiAZqIgQgBRCuASADIAQQdyADEEIMAQsLC/oGAQx/IwBBgAlrIgMkACADQYAIaiICIAAQXiADIAIQXiACIABBgAFqIgoQXiADQYABaiIEIAIQXiACIAEQXiADIAIQESACIAFBgAFqIgsQXiAEIAIQEQJAIAEoAoAGIgJBAkYgACgCgAYiBEECRnJFBEAgA0GACGoiAiAAQYAFahBeIANBgAJqIgQgAhBeIAIgAUGABWoQXiAEIAIQEQwBCyACQQJGIARBAkZxRQRAIAJBAkYEQCADQYAIaiICIABBgAVqEF4gA0GAAmoiBCACEF4gAiABQYAFahBeIANBgAdqIgUgAkHAABDRARogBCAFEKoBDAILIANBgAhqIgIgAUGABWoQXiADQYACaiIEIAIQXiACIABBgAVqEF4gA0GAB2oiBSACQcAAENEBGiAEIAUQqgEMAQsgA0GACGoiAiAAQYAFahBeIANBgAdqIgQgAkHAABDRARogA0GABmoiBSAEEJABIAIgAUGABWo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gAgACABQQFyNgIEIABB9L7AACgCAEcNAUHsvsAAQQA2AgBB9L7AAEEANgIADwsgAhDLASIDIAFqIQECQCADQYACTwRAIAIQFwwBCyACQQxqKAIAIgQgAkEIaigCACICRwRAIAIgBDYCDCAEIAI2AggMAQtB3LvAAEHcu8AAKAIAQX4gA0EDdndxNgIACyAAIAEQoAEgAEH0vsAAKAIARw0BQey+wAAgATYCAAsPCyABQYACTwRAIAAgARAWDwsgAUEDdiICQQN0QeS7wABqIQECf0Hcu8AAKAIAIgNBASACdCICcQRAIAEoAggMAQtB3LvAACACIANyNgIAIAELIQIgASAANgIIIAIgADYCDCAAIAE2AgwgACACNgIIC+UDAQN/IwBB0CJrIgMkACADQcAWaiIEQcitwAAQSSADQcgcaiIFQYCuwAAQSSADQQhqIAQgBRBLIANBiAFqQTgQ0AEaIANBwAFqQTgQ0AEaIANB+AFqED0CQCACEIYBBEAgABBVDAELIANB+ARqIgQQPSAEIAEQfSAEEEcgA0H4B2oiARBnIAEgAhB4IAEQRiADQcgcaiICIAEQkAEgA0G4CWogAhCQASACIANBuAhqEJABIANB+AlqIAIQkAEgA0G4CmoiARA9IANBuA1qEFUgASAEEH0gA0HAE2oiARA9IAEgBBB9IAEQogEgA0HAAWogA0GIAWoQUEECayECA0AgAkEBakEBTQRAIANBuA1qIgEQngEgACABQYgGENEBGgUgA0G4DWoQGiADQcAWaiADQbgKaiADQbgJaiADQfgJahALAkACQAJAIANBwAFqIAIQUyADQYgBaiACEFNrQQFqDgMBAgACCyADQcgcaiIBIANBuApqIANB+ARqIANBuAlqIANB+AlqEAogA0HAFmogARADDAELIANByBxqIgEgA0G4CmogA0HAE2ogA0G4CWogA0H4CWoQCiADQcAWaiABEAMLIAJBAWshAiADQbgNaiADQcAWahABDAELCwsgA0HQImokAAvBAwEVfwNAIANBwAFGBEACQCAAQShqIQsgAEEUaigCACIMIQggAEEQaigCACINIQIgAEEMaigCACIOIQEgACgCCCIPIQMgAEEYaigCACIQIQogAEEcaigCACI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ASAAQQU2AoAGIAAQnAEgAUGACGokAAv/AQEHfyMAQcACayIBJAAgASAAQUBrIgYQkAEgARBMIAFBQGsiAyAGEJABIAMgAEGAAWoiAhBKIAFBgAFqIgQgAhCQASAEEEwgAiABEK4BIAIgARB3IAIQQiACEIIBIAIQggEgAhBCIARBDBA0IAFBwAFqIgcgBBCQASAHIAIQSiABQYACaiIFIAEQkAEgBSAEEHcgBRBCIAIgAxBKIAMgBBCuASADIAQQdyAEIAMQdyABIAQQfiABEEIgBSABEEogBSAHEHcgAyAAEK4BIAMgBhBKIAAgARCuASAAEEIgACADEEogABCCASAAEEIgBiAFEK4BIAYQQiABQcACaiQAC84CAgd/An4CQAJAAkBBDSABQTpuIgJrIgRBDU0EQEEMIAJrIgNBDk8NASAAIAAgA0EDdGopAwBBOiABIAJBOmxrIgNrrSIKhyAAIARBA3RqKQMAIAOtIgmGhDcDaCAEQQ1rIQUgAEHgAGohBCACQQFqIQZBACACQQN0ayEHQQshAwNAAkAgA0ECaiAGTQRAIAFBrAZPDQEgACACQQN0aiAAKQMAIAmGQv//////////A4M3AwADQCACRQ0HIABCADcDACACQQFrIQIgAEEIaiEADAALAAsgAyAFakEOTw0EIAQgBCAHaiIIQQhrKQMAIAqHIAgpAwAgCYZC//////////8Dg4Q3AwAgA0EBayEDIARBCGshBAwBCwsgAkEOQYCywAAQOwALIARBDkHQscAAEDsACyADQQ5B4LHAABA7AAtBf0EOQfCxwAAQOwALC6cCAQR/IABCADcCECAAAn9BACABQYACSQ0AGkEfIAFB////B0sNABogAUEGIAFBCHZnIgNrdkEBcSADQQF0a0E+agsiBDYCHCAEQQJ0Qey9wABqIQMgACECAkACQAJAAkBB4LvAACgCACIAQQEgBHQiBXEEQCADKAIAIQMgBBCfASEAIAMQywEgAUcNASADIQAMAgtB4LvAACAAIAVyNgIAIAMgAjYCAAwDCyABIAB0IQQDQCADIARBHXZBBHFqQRBqIgUoAgAiAEUNAiAEQQF0IQQgACIDEMsBIAFHDQALCyAAKAIIIgEgAjYCDCAAIAI2AgggAiAANgIMIAIgATYCCCACQQA2AhgPCyAFIAI2AgALIAIgAzYCGCACIAI2AgggAiACNgIMC7YCAQV/IAAoAhghBAJAAkAgACAAKAIMRgRAIABBFEEQIABBFGoiASgCACIDG2ooAgAiAg0BQQAhAQwCCyAAKAIIIgIgACgCDCIBNgIMIAEgAjYCCAwBCyABIABBEGogAxshAwNAIAMhBSACIgFBFGoiAygCACICRQRAIAFBEGohAyABKAIQIQILIAINAAsgBUEANgIACwJAIARFDQACQCAAIAAoAhxBAnRB7L3AAGoiAigCAEcEQCAEQRBBFCAEKAIQIABGG2ogATYCACABDQEMAgsgAiABNgIAIAENAEHgu8AAQeC7wAAoAgBBfiAAKAIcd3E2AgAPCyABIAQ2AhggACgCECICBEAgASACNgIQIAIgATYCGAsgAEEUaigCACIARQ0AIAFBFGogADYCACAAIAE2AhgLC+UBAQZ/IwBBgARrIgIkACACIAAQXiACQYABaiIFIABBgAFqIgYQXiACQYACaiIDQTgQ0AEaIAJBATYCuAIgAkHAAmpBOBDQARogAkH4AmpBATYCACACQYADaiIEIAYQXiACIAEQESAFIAFBgAFqIgcQESADIAcQmQEgAyABEJoBIAQgABCaASADEKkBIAQQqQEgBCADEBEgAyACEJkBIAMQNiAEIAMQmgEgBBCpASADIAUQmQEgAxA2IAYgBBCZASAGIAMQmgEgBRB8IAAgBRCZASAAIAIQmgEgABCwASACQYAEaiQAC28BDH9BjL/AACgCACICRQRAQZy/wABB/x82AgBBAA8LQYS/wAAhBgNAIAIiASgCCCECIAEoAgQhAyABKAIAIQQgAUEMaigCABogASEGIAVBAWohBSACDQALQZy/wAAgBUH/HyAFQf8fSxs2AgBBAAuAAgEGfyMAQYAIayIBJAAgACgCgAZBAUcEQCABIAAQjAEgAUGAAmoiAiAAQYACaiIEEIwBIAFBgARqIgUgAEGABGoiAxCMASABQYAGaiIGIAAQjAEgARAhIAIgAxAYIAIQswEgAhCwASAFECEgBiAEEBggBhCzASADIAAQlwEgAy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GNgIAAkACQCAHQQBIIAZBAktyDQAgBSAEOgAYIAUgAzYCFCAFIAI2AhBBzLvAACgCACICQQBIDQBBzLvAACACQQFqIgI2AgBBzLvAAEHUu8AAKAIAIgMEf0HQu8AAKAIAIAUgACABKAIQEQAAIAUgBSkDADcDCCAFQQhqIAMoAhQRAABBzLvAACgCAAUgAgtBAWs2AgAgBkEBSw0AIAQNAQsACyMAQRBrIgIkACACIAE2AgwgAiAANgIIAAucAQEEfyMAQYADayICJAAgAiAAEF4gAkGAAWoiASAAQYABaiIEEF4gAkGAAmoiAyAAEF4gAyAEEBEgAiAEEJoBIAEQfCABIAAQmgEgAhCpASABEKkBIAAgAhCZASAAIAEQESABIAMQmQEgARB8IAEgAxCaASABEKkBIAEQNiAAIAEQmgEgAxC4ASAEIAMQmQEgABCwASACQYADaiQAC7kBAQJ/IwBBIGsiAyQAAkAgASABIAJqIgFLDQAgAEEEaigCACICQQF0IgQgASABIARJGyIBQQggAUEISxshAQJAIAIEQCADQRhqQQE2AgAgAyACNgIUIAMgACgCADYCEAwBCyADQQA2AhALIAMgASADQRBqECYgAygCAARAIANBCGooAgAiAEUNASADKAIEIAAQzwEACyADKAIEIQIgAEEEaiABNgIAIAAgAjYCACADQSBqJAAPCxBlAAusAQECfyMAQYADayIDJAAgA0EIaiABEJABAkAgAgRAIANBCGogAhCuAQwBCyADQQhqEDoLIANByABqIgJB8LTAABBJIANBgAFqIAIQjgEgA0HAAWoiAiADQQhqIgQQkAEgAhBMIAIgARBKIAAgARCQASAAIAQQSiADQYACaiACEJABIAAQViEBIANBwAJqIgIgABCQASACEEMgAhBCIAAgAiABEHIgA0GAA2okAAueAQEFfyMAQYABayICJAAgAkE4ENABIgJBATYCOCACQUBrIgNBOBDQARogAkEBNgJ4IAIgABCuASACIAFBgAFqIgUQSiADIAEQrgEgAyAAQYABaiIGEEoCQCACIAMQWEUNACACIABBQGsQrgEgAiAFEEogAkFAayIAIAFBQGsQrgEgACAGEEogAiAAEFhFDQBBASEECyACQYABaiQAIAQLpwEBA38jAEEwayICJAAgAUEEaiEDIAEoAgRFBEAgASgCACEBIAJBEGoiBEEANgIAIAJCATcDCCACIAJBCGo2AhQgAkEoaiABQRBqKQIANwMAIAJBIGogAUEIaikCADcDACACIAEpAgA3AxggAkEUaiACQRhqEAwaIANBCGogBCgCADYCACADIAIpAwg3AgALIABBhLfAADYCBCAAIAM2AgAgAkEwaiQAC5UBAQJ/AkACQAJAAkACfwJAAkACf0EBIgMgAUEASA0AGiACKAIAIgRFDQEgAigCBCICDQQgAQ0CQQEMAwshA0EAIQEMBgsgAQ0AQQEMAQsgAUEBELkBCyICRQ0BDAILIAQgARCsASICDQELIAAgATYCBEEBIQEMAQsgACACNgIEQQAhAwsgACADNgIAIABBCGogATYCAAvvMwISfwV+IwBBMGsiDiQAIA5BEGogACABEFsgDiAOKAIUIgA2AhwgDiAOKAIQIgg2AhggDkEIaiACIAMQWyAOIA4oAgwiATYCJCAOIA4oAggiAzYCICAOIAQgBRBbIA4gDigCBCIFNgIsIA4gDigCACINNgIoIAAhBCMAQZAVayICJAAjAEGwBmsiCiQAIApBEGpBOBDQARogCkHQAGpBOBDQASEVIApBiAFqQQE2AgAgCkEBNgJIIApBkAFqIgBB2KTAABBJIAAQKiEPIApByAFqIhNBgAIQ0AEaIApByANqQYABENABGiMAQdAAayIRJAAgEUEQakHAABDQARogASEJQQAhACMAQYAEayIHJAAgB0EvakGBAhDQARogB0GwAmpBwAAQ0AEaIAdB8AJqQcAAENABGiAHQbADakHAABDQARogByAPQf8AakEDdkEBaiISQQF0IgFBCHQgAUGA/gNxQQh2cjsALCABQQFrQQV2QQFqIQsCQANAIAYgB2pBLmogADoAACAGQStGBEAgB0EsaiIGQS5qQSs6AAAgB0EgaiAGQS8QX0EAIQAgB0GwAmpBwAAgAyAJIAcoAiAgBygCJBAGIAdBADoA+AMgByALNgL0A0EAIAFrIRQgB0EBNgLwAyAGQSxqIRYMAgsgBkGBAkcEQCAGQcClwABqLQAAIQAg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AQYABayIDJAAgARBnIAEgAEHoAGoQwAEgAUFAayIIIAQQwAEgAUGAAWoQygEgARBCIAMgARBPIANBQGsiBCAIEJABIAQQTCAEIAMQWEUEQCABEJIBCyADQYABaiQADAULIAggDEYNAiAAIAxqIAMgDGotAAA6AAAgDEEBaiEMDAALAAsgBCAEQYiBwAAQOwALIAxBMGogBEGogcAAEDsACyMAQcABayIDJAAgAEGgAWoiBBBnIANBOBDQASIDQQE2AjggBCAAQegAahDAASAEEEIgBEGAAWoQygEgA0FAayIIIAQQTwJAAkACQCAIIAMQWkEBRgRAIANBgAFqIgggA0FAayADECMgCBBWDQEMAgsgBBCSAQwCCyADQYABaiIIEEMgCBBCCyAEQUBrIANBgAFqEK4BCyADQcABaiQAIAlBIHEiA0EAIABB4AFqEE0iBEEBRxtBASADIARBAUdyGwRAIABBoAFqEKQBCyABIABBoAFqQcABENEBGgsgAEHgAmokAAJ/QQAhAyMAQcAFayIAJAACQCABEIYBDQAgAEEIaiIIQZCtwAAQSSAAQYAEaiIEQbiuwAAQSSAAQUBrIgkgBBCOASAAQYABaiIEEGcgBCABEHggBCAJEEogAEHAAmoiBCABIAgQvQEgASAEECQNACAAQYAEaiIEIABBwAJqIgEgAEEIahC9ASABIARBwAEQ0QEaIAEQpAEgAEGAAWogARAkRQ0AQQEhAwsgAEHABWokAEF/IANFDQAaIAJBwAFqEKQBIAJBgANqIQhBACEAIwBB4ARrIgEkACABQeAAENABIQECQCAFBEADQCAAQeAARgRAIAEgAS0AAEEfcToAACABQeAAaiABEB9BACEAAkAgDSwAACILQQBOBEAgDUHgAGohAyAFQeAAIAVB4ABLG0HgAGshBANAIABB4ABGBEAgAUHgAWoiACABEB8gCCABQeAAaiAAED8MAwsgACAERwRAIAAgAWogACADai0AADoAACAAQQFqIQAMAQsLIABB4ABqIAVB1KfAABA7AAsjAEHAAWsiAyQAIAFB4AFqIgAQPSADQTgQ0AEiDUEBNgI4IAAgAUHgAGoQmQEgAEGAAWoiDxC3ASAAQYAC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MQngEgASAAEG0gASAIEDIgACADEG0gACABEAcgDSAAIAsQGyADIA0QbSANIAMgCxAbIAMgDRBtIAEgABBtIAEgCBAyIAEgCBAyIAMgARAHIAEgABBtIAEQngEgACADEG0gACABEAcgACAEEAcgABCcASAIQeAfaiQAIAcgAEGIBhDRARpBACEAIwBBgAJrIgEkACABEGwCQCAHIAEQegR/IAdBgAFqIAFBgAFqEHoFQQALRQ0AIAdBgAJqEIcBRQ0AIAdBgARqEIcBIQALIAFBgAJqJABBACAADQAaQX8LIAJBkBVqJAAgDkEoahC0ASAOQSBqELQBIA5BGGoQtAEgDkEwaiQAC58BAgJ/BX4gAEEwaiICKQMAIAFBP3GtIgSGIQUgACkDKCIGQTogAWtBP3GtIgiHIQdBBiEBA38gAiAFIAeENwMAIAFBAU0EfyAAIAApAwAgBIZC//////////8DgzcDACAAKQMwQiSHpwUgAUEBayEBIAJBEGsiA0EIaiECIAYgBIZC//////////8DgyEHIAMpAwAiBiAIhyEFDAELCxoLiAECA34DfyMAQRBrIgUkAAN+IAZBOEYEfiAFQRBqJAAgAwUgBSAAIAZqIgcpAwAiAiACQj+HIAGsIgIgAkI/hxAvIAcgBSkDACIEIAN8IgJC//////////8DgzcDACACIARUrSAFQQhqKQMAIANCP4d8fEIGhiACQjqIhCEDIAZBCGohBgwBCwsLigECA38BfiMAQUBqIgIkACACQQhqIgEgABBdIAEQQiACQThqIQFBBiEDQdwCIQACQAJAA0AgA0EATgRAIAEpAwAiBEIAUg0CIAFBCGshASAAQTprIQAgA0EBayEDDAELC0EAIQAMAQsDQCAEUA0BIABBAWohACAEQgJ/IQQMAAsACyACQUBrJAAgAAuHAQEDfyMAQYACayIBJAAgABCwASABIAAQXiABQYABaiICQTgQ0AEaIAFBATYCuAEgAUHAAWpBOBDQARogAUH4AWpBATYCACABIABBgAFqIgMQmgEgARA2IAIgARCZASACIAMQmgEgAyABEJkBIAMgABCaASAAIAIQmQEgABCwASABQYACaiQAC30CBH4BfyABQT9xrSECQTogAWtBP3GtIQRBACEBIAApAwAiBSEDA38gAUEwRgR/IAAgACkDMCAChzcDMCAFQn8gAoZCf4WDpwUgACABaiIGIAMgAocgBkEIaikDACIDIASGQv//////////A4OENwMAIAFBCGohAQwBCwsaC2kBBH8jAEHAAWsiASQAIAEgABCQASABQUBrIgIgABCQASABQYABaiIDIABBQGsiBBCQASABIAQQdyACIAAQdyACEEIgBCACEEogAxBDIAAgAxB3IAEQQiAAEEIgACABEEogAUHAAWokAAuCAQIBfwF+IABB8AAQ0AEhAANAIAJBOEYEQAJAIAAgASkDMCIDQjqHNwM4IAAgA0L//////////wODNwMwIABBQGshAEEAIQIDQCACQTBGDQEgACACakIANwMAIAJBCGohAgwACwALBSAAIAJqIAEgAmopAwA3AwAgAkEIaiECDAELCwtuAQZ+IAAgA0L/////D4MiBSABQv////8PgyIGfiIHIAUgAUIgiCIIfiIJIAYgA0IgiCIGfnwiBUIghnwiCjcDACAAIAcgClatIAYgCH4gBSAJVK1CIIYgBUIgiIR8fCABIAR+IAIgA358fDcDCAtqAgF/BX4gASkDCCAAKQMAhSIGQgGGQgGHIQdBACACa6whCAN+IANBOEYEfiAFBSAAIANqIgIgAikDACIEIAaFIAEgA2opAwAgBIUgCIOFIgQgB4U3AwAgBCAFhSEFIANBCGohAwwBCwsaC18CAX8EfkIBIQNBMCECA38gAkF4RgR/IARCAYYgA3ynQQFrBSABIAJqKQMAIgUgACACaikDACIGfUI6hyADgyAEhCEEIAJBCGshAiAFIAaFQgF9QjqHIAODIQMMAQsLC2kBBH8jAEGAAmsiAiQAIAIgARBeIAJBgAFqIgMgARBeIAIQLSADIAIQESAAIAMQmAEgAEGAAmoiBCADEJgBIABBgARqIgUgAxCYASAEIAEQpgEgBSACEKYBIABBBTYCgAYgAkGAAmokAAtiAQJ/IwBBQGoiAiQAIAAQQiACIAAQkAECQCABBEAgACABEK4BDAELIAAQOgtBACEBA0AgA0UEQCAAEExBASABQQFqIAFBAUYiAxshAQwBCwsgACACEEogABAeIAJBQ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JrAABA7AAsgA0EBEJQBIANBARAsIAdBQGshBUEAIQIjAEGgCmsiASQAIAFBOBDQASIBQUBrQTgQ0AEhBiABQYABakE4ENABGiABQcABakE4ENABGiABQYACakE4ENABGiABQcACakE4ENABGiABQYADakE4ENABGiABQcADakE4ENABGiABQYAEakE4ENABGiABQcAEakE4ENABGiABQYAFakE4ENABGiABQcAFakE4ENABGiABQYAGakE4ENABGiABQcAGakE4ENABGiABQYAHakE4ENABGiABQcAHakE4ENABGiABQfgHakEBNgIAIAFBuAdqQQE2AgAgAUH4BmpBATYCACABQbgGakEBNgIAIAFB+AVqQQE2AgAgAUG4BWpBATYCACABQfgEakEBNgIAIAFBuARqQQE2AgAgAUH4A2pBATYCACABQbgDakEBNgIAIAFB+AJqQQE2AgAgAUG4AmpBATYCACABQfgBakEBNgIAIAFBuAFqQQE2AgAgAUH4AGpBATYCACABQQE2AjggAUGBCGpB5wAQ0AEaIAFB6AhqIgQgABCQASAEEEIgAUGoCWoiBCADEF0gBBBCIAQQKkEDaiIIQQJ2IgNBAWohCQJAA0AgAiAJRgRAIAEQygEgBiABQegIahCuASABQeAJakE4ENABGiABQQE2ApgKQYB5IQIMAgsgAUGoCWoiBCAEQQQQjwEiChCUASAEEEIgAkHnAEcEQCABQYEIaiACaiAKOgAAIAFBqAlqQQQQLCACQQFqIQIMAQsLQecAQecAQaC0wAAQOwALA0AgAgRAIAFB4AlqIgQgASACaiIGQcAHahCuASAGQYAIaiIGIAQQrgEgBiABQegIahBKIAJBQGshAgwBCwsCQAJAAkACQCAIQZwDSQRAIAFBgQhqIANqLAAAIgJBEE8NASAFIAEgAkEGdGoQkAEgA0EBayICQeYASyEEA0AgAkF/Rg0DIAUQTCAFEEwgBRBMIAUQTCAEDQQgAUGBCGogAmotAAAiA0EQSQRAIAUgASADQQZ0ahBKIAJBAWshAgwBCwsgA0EYdEEYdUEQQeC0wAAQOwALIANB5wBBsLTAABA7AAsgAkEQQcC0wAAQOwALIAUQHiABQaAKaiQADAELIAJB5wBB0LTAABA7AAsgACAFEK4BIAdBgAFqJAALbAEBfyMAQTBrIgMkACADIAE2AgQgAyAANgIAIANBHGpBAjYCACADQSxqQQE2AgAgA0ICNwIMIANB2LjAADYCCCADQQE2AiQgAyADQSBqNgIYIAMgAzYCKCADIANBBGo2AiAgA0EIaiACEGYAC2UBAn8gACAAKAIAIgJBCGoiAzYCACAAIAJBA3ZBPHFqQShqIgIgAUH/AXEgAigCAEEIdHI2AgACQAJAIANFBEAgAEEANgIAIAAgACgCBEEBajYCBAwBCyADQf8DcQ0BCyAAEA8LC1wAIABBOBDQASIAQQE2AjggAEFAa0E4ENABGiAAQfgAakEBNgIAIABBgAFqEFEgAEGAAmpBOBDQARogAEG4AmpBATYCACAAQcACakE4ENABGiAAQfgCakEBNgIAC1sBA38jAEGAAWsiASQAIAAQqQEgASAAEJABIAFBQGsiAiAAQUBrIgMQkAEgARBMIAIQTCABIAIQdyABQQAQMyAAIAEQSiABEEMgARBCIAMgARBKIAFBgAFqJAALYQEBfyMAQYACayIDJAAgABA9IAAgARCZASAAQYABaiIBIAIQmQEgAEGAAmoQtwEgABCpASADIAAQOCADQYABaiICIAEQXiACEC0gAiADEHpFBEAgABCbAQsgA0GAAmokAAtUAQF/IwBBIGsiAiQAIAIgACgCADYCBCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCACQQRqIAJBCGoQDCACQSBqJAALZwAjAEEwayIBJABBpLvAAC0AAARAIAFBHGpBATYCACABQgI3AgwgAUGQtsAANgIIIAFBATYCJCABIAA2AiwgASABQSBqNgIYIAEgAUEsajYCICABQQhqQbi2wAAQZgALIAFBMGokAAtiAgF+An8gACkDACEBA34gACACaiIDIAFC//////////8DgzcDACABQjqHIQEgAkEoRgR+IAAgACkDMCABfCIBNwMwIAFCJIcFIAJBCGohAiADQQhqKQMAIAF8IQEMAQsLGgt8AQV/IwBBQGoiAyQAIANBCGoiAkHAssAAEEkgAiAAKAI4QQFrEDUiBBAoA0AgAUE4RwRAIAAgAWoiBSABIAJqKQMAIAUpAwB9NwMAIAFBCGohAQwBCwsgAEEBIARBAWp0IgI2AjggAkH///8PSgRAIAAQHgsgA0FAayQAC3sBAn8gAEEoaiECA0AgAUGAAkYEQCAAQufMp9DW0Ouzu383AgggAEIANwIAIABBIGpCq7OP/JGjs/DbADcCACAAQRhqQv+kuYjFkdqCm383AgAgAEEQakLy5rvjo6f9p6V/NwIABSABIAJqQQA2AgAgAUEEaiEBDAELCwtUACAAQTgQ0AEiAEEBNgI4IABBQGtBOBDQARogAEH4AGpBATYCACAAQYABakE4ENABGiAAQbgBakEBNgIAIABBwAFqQTgQ0AEaIABB+AFqQQE2AgALWAECfyMAQUBqIgEkAAJAIAAQhgENACABQQEQOSAAQYABaiICIAEQWA0AIAJBABAzIAAgAhBKIAAQHiAAQUBrIgAgAhBKIAAQHiACIAEQrgELIAFBQGskAAtZAQJ/IwBBgAFrIgEkAAJAIAAQigENACABEFEgAEGAAmoiAiABEHoNACACED4gACACEBEgABC1ASAAQYABaiIAIAIQESAAELUBIAIgARCZAQsgAUGAAWokAAtbAgF+An8gACkDACEBA0AgACACaiIDIAFC//////////8DgzcDACABQjqHIQEgAkHgAEYEQCAAIAApA2ggAXw3A2gFIAJBCGohAiADQQhqKQMAIAF8IQEMAQsLC08BAX8gAEE4ENABGgJAA0AgAkEHRwRAIAJBB0YNAiAAIAEpAwA3AwAgAEEIaiEAIAFBCGohASACQQFqIQIMAQsLDwtBB0EHQeSawAAQOwALVAECfyMAQbABayICJAAgATQCOCAANAI4fkL///8PVQRAIAAQHgsgAkEIaiIDIAAgARAFIAJB+ABqIgEgAxBrIAAgARBqIABBAjYCOCACQbABaiQAC1EBAn8jAEFAaiIDJAAgAEE4ENABIgBBATYCOCAAQUBrQTgQ0AEgAEH4AGpBATYCACADIAEQjgEgACADEK4BIAMgAhCOASADEK4BIANBQGskAAvwDAIRfwh+IwBBsAFrIg8kACAANAI4IhIgEn5C////D1YEQCAAEB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IAE2AgQgA0EQaiQACwsAIAAgAUE4ENsBCwsAIAAgAUE4ENwBCwwAIAAgAUHwABDbAQsMACAAIAFB8AAQ3AELOQECfyMAQYABayIBJAAgASAAQYABaiICEF4gAiAAEJkBIAEQfCAAIAEQmQEgABCwASABQYABaiQACz8BAX8jAEEgayIAJAAgAEEcakEANgIAIABBzLfAADYCGCAAQgE3AgwgAEH8t8AANgIIIABBCGpBhLjAABBmAAu8AgEDfyMAQSBrIgIkACACQQE6ABggAiABNgIUIAIgADYCECACQZS4wAA2AgwgAkGUuMAANgIIIwBBEGsiACQAIAJBCGoiASgCDCICRQRAQcC1wABBK0HktsAAEFkACyABKAIIIgRFBEBBwLXAAEErQfS2wAAQWQALIAAgAjYCCCAAIAE2AgQgACAENgIAIAAoAgAhASAAKAIEIQIgACgCCCEEIwBBEGsiACQAIAFBFGooAgAhAwJAAn8CQAJAIAFBBGooAgAOAgABAwsgAw0CQQAhAUHAtcAADAELIAMNASABKAIAIgMoAgQhASADKAIACyEDIAAgATYCBCAAIAM2AgAgAEG4t8AAIAIoAgggBCACLQAQECAACyAAQQA2AgQgACABNgIAIABBpLfAACACKAIIIAQgAi0AEBAgAAswACAAQTgQ0AEiAEEBNgI4IABBQGtBARA5IABBgAFqQTgQ0AEaIABBuAFqQQE2AgALKwACQCAAQXxLDQAgAEUEQEEEDwsgACAAQX1JQQJ0ELkBIgBFDQAgAA8LAAs4ACAAEIsBIAAgARCWASAAQYACaiABQYACahCWASAAQYAEaiABQYAEahCWASAAIAEoAoAGNgKABgsoAQF/A0AgAkE4RwRAIAAgAmogASACaikDADcDACACQQhqIQIMAQsLC4QJAg1/Cn4jAEFAaiILJAAgC0EIaiIJQcCywAAQSSMAQZACayICJAAgAEEwENABIQogAkHoAGpB8AAQ0AEaIAJB4AFqQTAQ0AEaIAoQcSACIAEiDCkDACIQQv3/8//P///5AX5C//////////8DgyISNwPYASACQdgAaiASQgAgCSkDACIXIBdCP4ciGBAvIBAgAikDWCIPfCITIA9UrSACQeAAaikDACAQQj+HfHwiEEI6hyABKQMIIg9CP4d8IA8gEEIGhiATQjqIhCITfCIQIBNUrXwhD0EBIQBCACETAkACQANAAkAgAEEHRgRAQQYhB0EAIQhBByEADAELIABBAXYiAUEBaiEGIAggAWshAyABQQN0IgFBCGohBCAHIAFrIQUgAkHIAGogCSAAQQN0Ig1qKQMAIhUgFUI/hyIWIBJCABAvIAJB0ABqKQMAIBAgECATfCIRVq0gDyAUfHx8IBEgAikDSHwiDyARVK18IRAgAEEBaiEBA0AgACAGTQRAIAJB2AFqIA1qIA9C/f/z/8////kBfkL//////////wODIhE3AwAgAkE4aiARQgAgFyAYEC8gAkEoaiARQgAgFSAWEC8gAkHoAGogAEEEdGoiACACQTBqKQMAIhE3AwggACACKQMoIhU3AwAgDyACKQM4IhZ8Ig8gFlStIAJBQGspAwAgEHx8IhBCOocgDCABQQN0aikDACIWQj+HfCAWIBBCBoYgD0I6iIQiD3wiECAPVK18IQ8gEyAVfCITIBVUrSARIBR8fCEUIAdBCGohByAIQQFqIQggASEADAMLIANBB08NAyACQRhqIAQgCWopAwAgBSAJaikDAH0iESARQj+HIAJB2AFqIg4gBWopAwAgBCAOaikDAH0iESARQj+HEC8gAikDGCIRIA98Ig8gEVStIAJBIGopAwAgEHx8IRAgBkEBaiEGIARBCGohBCAFQQhrIQUgA0EBayEDDAALAAsLA0ACQAJAIABBDUcEQCAHIABBAXYiBmshAyAIIAZBA3QiAWshBCABQQhqIQUgDyAUfCAQIBN8Ig8gEFStfCEQIABBAWohAQNAIAZBBUsNAyADQQdPDQIgAkEIaiAFIAlqKQMAIAQgCWpBMGopAwB9IhIgEkI/hyACIARqQYgCaikDACACQdgBaiAFaikDAH0iEiASQj+HEC8gAikDCCISIA98Ig8gElStIAJBEGopAwAgEHx8IRAgBkEBaiEGIARBCGshBCADQQFrIQMgBUEIaiEFDAALAAsgCiAQQv//////////A4M3AzAgAkGQAmokAAwECyADQQdBpJzAABA7AAsgAEEDdCAKakE4ayAPQv//////////A4M3AwAgEEI6hyAMIAFBA3RqKQMAIhJCP4d8IBIgEEIGhiAPQjqIhCIPfCIQIA9UrXwhDyAUIABBBHQgAmpBCGoiAEEIaikDAH0gEyAAKQMAIhJUrX0hFCAIQQhqIQggB0EBaiEHIBMgEn0hEyABIQAMAAsACyADQQdBlJzAABA7AAsgC0FAayQACy4BAX8jAEGAAWsiASQAIAAQRSABEFEgACABEJkBIABBgAFqELYBIAFBgAFqJAALMwAgACABEJYBIABBgAJqIAFBgAJqEJYBIABBgARqIAFBgARqEJYBIAAgASgCgAY2AoAGCygAIAAgASACEHIgAEFAayABQUBrIAIQciAAQYABaiABQYABaiACEHILLQAgACABIAIQjQEgAEGAAWogAUGAAWogAhCNASAAQYACaiABQYACaiACEI0BCycBAn8jAEFAaiICJAAgAkEIaiIDIAEQvgEgACADEI4BIAJBQGskAAsiAQF/A0AgAUE4RwRAIAAgAWpCADcDACABQQhqIQEMAQsLCyUAIAAgASACEDAgAEEAIAJrIAAoAjgiACABKAI4c3EgAHM2AjgLJwAgACAAKAIEQQFxIAFyQQJyNgIEIAAgAWoiACAAKAIEQQFyNgIECyMAA0AgAgRAIAAgAS0AABA8IAJBAWshAiABQQFqIQEMAQsLCywAIAAQiwEgACABEJYBIABBgAJqIAIQlgEgAEGABGogAxCWASAAQQU2AoAGCyMBAX8jAEFAaiIBJAAgASAAEJABIAEQHiABEFcgAUFAayQACykAIAAgARBgIAAgACgCOCABKAI4aiIBNgI4IAFB////D0oEQCAAEB4LCyUAIAAgARCuASAAQUBrIAFBQGsQrgEgAEGAAWogAUGAAWoQrgELKAEBfyMAQYACayICJAAgAiABEIwBIAIQKyAAIAIQlwEgAkGAAmokAAscAQF/IAAgARBYBH8gAEFAayABQUBrEFgFQQALCycBAX8jAEGAAWsiAiQAIAIgARBeIAIQNiAAIAIQmgEgAkGAAWokAAtRAQN/IwBBgAFrIgEkACABIAAQXiMAQUBqIgIkACACIAAQkAEgACAAQUBrIgMQrgEgABBDIAMgAhCuASACQUBrJAAgACABEJoBIAFBgAFqJAALJwAgACABEJkBIABBgAFqIAFBgAFqEJkBIABBgAJqIAFBgAJqEJkBCyUBAX8jAEFAaiICJAAgAiABEJABIAIQQyAAIAIQdyACQUBrJAALHgACQCAAQQRqKAIARQ0AIAAoAgAiAEUNACAAEAQLCyABAX8CQCAAKAIEIgFFDQAgAEEIaigCAEUNACABEAQLC4MBACACIANJBEAjAEEwayIAJAAgACACNgIEIAAgAzYCACAAQRxqQQI2AgAgAEEsakEBNgIAIABCAjcCDCAAQYS7wAA2AgggAEEBNgIkIAAgAEEgajYCGCAAIABBBGo2AiggACAANgIgIABBCGpBlLvAABBmAAsgACADNgIEIAAgATYCAAtIAQJ/A0AgAUE4RwRAIAAgAWoiAiACKQMAQgGGNwMAIAFBCGohAQwBCwsgACAAKAI4QQF0IgE2AjggAUH///8PSgRAIAAQHgsLIwAgAiACKAIEQX5xNgIEIAAgAUEBcjYCBCAAIAFqIAE2AgALIgEBfyMAQfAAayICJAAgAiABEC4gACACEGsgAkHwAGokAAseACAAIAFBA3I2AgQgACABaiIAIAAoAgRBAXI2AgQLFgEBfyAAEHYEfyAAQYABahB2BUEACwsYAQF/IAAQiAEEfyAAQYABahCIAQVBAAsLFQEBfyAAEHYEfyAAQUBrEHYFQQALCxoBAX8gABBWIgEgAEFAaxBWIAFzIAAQdnFzCxgBAX8gABCIAQR/IABBgAJqEIgBBUEACwseACAAEEUgAEGAAmoQRSAAQYAEahBFIABBADYCgAYLHAAgABBFIAAgARCZASAAQYABaiABQYABahCZAQsYACAAIAEgAhByIABBQGsgAUFAayACEHILGgAgAEE4ENABIgBBATYCOCAAIAEQaiAAEFQLFAAgABBCIAAoAgBBfyABdEF/c3ELGQAgAEE4ENABIgAgARBqIAAgASgCODYCOAsZAQF/IAAoAhAiAQR/IAEFIABBFGooAgALCxgAIAAQwQEgAEFAaxDKASAAQYABahDBAQsUACAAEEIgACAAKQMAIAGsfDcDAAsUACAAEEIgACAAKQMAIAGsf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DAAgABBDIAAgARB3CwoAQQAgAGsgAHELCwAgAC0ABEEDcUULDAAgACABQQNyNgIECw0AIAAoAgAgACgCBGoLDgAgACgCABoDQAwACwALgQgCCX8CfiAANQIAIQsjAEEwayIGJABBJyEAAkAgC0KQzgBUBEAgCyEMDAELA0AgBkEJaiAAaiICQQRrIAsgC0KQzgCAIgxCkM4Afn2nIgNB//8DcUHkAG4iBEEBdEHouMAAai8AADsAACACQQJrIAMgBEHkAGxrQf//A3FBAXRB6LjAAGovAAA7AAAgAEEEayEAIAtC/8HXL1YgDCELDQALCyAMpyICQeMASwRAIABBAmsiACAGQQlqaiAMpyICIAJB//8DcUHkAG4iAkHkAGxrQf//A3FBAXRB6LjAAGovAAA7AAALAkAgAkEKTwRAIABBAmsiACAGQQlqaiACQQF0Qei4wABqLwAAOwAADAELIABBAWsiACAGQQlqaiACQTBqOgAACwJ/IAZBCWogAGohCEErQYCAxAAgASgCACIDQQFxIgIbIQQgAkEnIABrIglqIQJBlLjAAEEAIANBBHEbIQUCQAJAIAEoAghFBEBBASEAIAEgBCAFEFINAQwCCwJAAkACQAJAIAIgAUEMaigCACIDSQRAIAEtAABBCHENBEEAIQAgAyACayICIQNBASABLQAgIgcgB0EDRhtBA3FBAWsOAgECAwtBASEAIAEgBCAFEFINBAwFC0EAIQMgAiEADAELIAJBAXYhACACQQFqQQF2IQMLIABBAWohACABQRxqKAIAIQcgASgCBCECIAEoAhghCgJAA0AgAEEBayIARQ0BIAogAiAHKAIQEQQARQ0AC0EBDAQLQQEhACACQYCAxABGDQEgASAEIAUQUg0BIAEoAhggCCAJIAEoAhwoAgwRBQANASABKAIcIQQgASgCGCEBQQAhAAJ/A0AgAyAAIANGDQEaIABBAWohACABIAIgBCgCEBEEAEUNAAsgAEEBawsgA0khAAwBCyABKAIEIQcgAUEwNgIEIAEtACAhCkEBIQAgAUEBOgAgIAEgBCAFEFINAEEAIQAgAyACayICIQMCQAJAAkBBASABLQAgIgQgBEEDRhtBA3FBAWsOAg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IwMjEyMjIzMjQyNTI2MjcyODI5MzAzMTMyMzMzNDM1MzYzNzM4Mzk0MDQxNDI0MzQ0NDU0NjQ3NDg0OTUwNTE1MjUzNTQ1NTU2NTc1ODU5NjA2MTYyNjM2NDY1NjY2NzY4Njk3MDcxNzI3Mzc0NzU3Njc3Nzg3OTgwODE4MjgzODQ4NTg2ODc4ODg5OTA5MTkyOTM5NDk1OTY5Nzk4OTkgb3V0IG9mIHJhbmdlIGZvciBzbGljZSBvZiBsZW5ndGggbGlicmFyeS9jb3JlL3NyYy9zbGljZS9pbmRleC5yc3JhbmdlIGVuZCBpbmRleCAAAABxHRAAEAAAADAdEAAiAAAAUh0QAB8AAABJAAAABQB7CXByb2R1Y2VycwIIbGFuZ3VhZ2UBBFJ1c3QADHByb2Nlc3NlZC1ieQMFcnVzdGMdMS42MS4wIChmZTViMTNkNjggMjAyMi0wNS0xOCkGd2FscnVzBjAuMTkuMAx3YXNtLWJpbmRnZW4SMC4yLjgxICgwNjJhYTVmNzAp");let o=null;function a(e,t){const n=t(1*e.length);return(null!==o&&o.buffer===r.memory.buffer||(o=new Uint8Array(r.memory.buffer)),o).set(e,n/1),[n,e.length]}var s=async function e(){const{instance:t,module:n}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}(i,{});return r=t.exports,e.__wbindgen_wasm_module=n,r};let u;async function c(e,t,n){if(!u){if(await s(),0!==r.bls_init())throw new Error("Cannot initialize BLS");u=(e,t,n)=>0===function(e,t,n){const[i,o]=a(e,r.__wbindgen_malloc),[s,u]=a(t,r.__wbindgen_malloc),[c,l]=a(n,r.__wbindgen_malloc);return r.bls_verify(i,o,s,u,c,l)}(t,n,e)}return u(e,t,n)}},9548:function(e,t,n){"use strict";function r(...e){const t=new Uint8Array(e.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const r of e)t.set(new Uint8Array(r),n),n+=r.byteLength;return t.buffer}function i(e){return[...new Uint8Array(e)].map((e=>e.toString(16).padStart(2,"0"))).join("")}n.d(t,{Nn:function(){return u},UD:function(){return s},aD:function(){return a},nj:function(){return i},xW:function(){return r}});const o=new RegExp(/^([0-9A-F]{2})*$/i);function a(e){if(!o.test(e))throw new Error("Invalid hexadecimal string.");const t=[...e].reduce(((e,t,n)=>(e[n/2|0]=(e[n/2|0]||"")+t,e)),[]).map((e=>Number.parseInt(e,16)));return new Uint8Array(t).buffer}function s(e,t){if(e.byteLength!==t.byteLength)return e.byteLength-t.byteLength;const n=new Uint8Array(e),r=new Uint8Array(t);for(let e=0;e(0,r.Ui)(new r.Ki(e)),o=e=>{const t=i(e);return new Date(Number(t)/1e6)}},2734:function(e,t,n){"use strict";n.d(t,{Ih:function(){return r},Ki:function(){return a},Ui:function(){return d},kk:function(){return f}});var r={};n.r(r),n.d(r,{Bool:function(){return Z},BoolClass:function(){return S},ConstructType:function(){return B},Empty:function(){return J},EmptyClass:function(){return C},FixedIntClass:function(){return T},FixedNatClass:function(){return N},Float32:function(){return re},Float64:function(){return ie},FloatClass:function(){return D},Func:function(){return ve},FuncClass:function(){return H},Int:function(){return te},Int16:function(){return ae},Int32:function(){return se},Int64:function(){return ue},Int8:function(){return oe},IntClass:function(){return x},Nat:function(){return ne},Nat16:function(){return le},Nat32:function(){return fe},Nat64:function(){return de},Nat8:function(){return ce},NatClass:function(){return R},Null:function(){return X},NullClass:function(){return Q},Opt:function(){return ge},OptClass:function(){return L},PrimitiveType:function(){return I},Principal:function(){return Ae},PrincipalClass:function(){return G},Rec:function(){return be},RecClass:function(){return j},Record:function(){return ye},RecordClass:function(){return P},Reserved:function(){return W},ReservedClass:function(){return k},Service:function(){return we},ServiceClass:function(){return Y},Text:function(){return ee},TextClass:function(){return M},Tuple:function(){return he},TupleClass:function(){return U},Type:function(){return E},Unknown:function(){return $},UnknownClass:function(){return _},Variant:function(){return me},VariantClass:function(){return F},Vec:function(){return pe},VecClass:function(){return O},Visitor:function(){return w},decode:function(){return V},encode:function(){return z}});var i=n(6489);function o(...e){const t=new Uint8Array(e.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const r of e)t.set(new Uint8Array(r),n),n+=r.byteLength;return t}class a{constructor(e,t=(null==e?void 0:e.byteLength)||0){this._buffer=e||new ArrayBuffer(0),this._view=new Uint8Array(this._buffer,0,t)}get buffer(){return this._view.slice()}get byteLength(){return this._view.byteLength}read(e){const t=this._view.subarray(0,e);return this._view=this._view.subarray(e),t.slice().buffer}readUint8(){const e=this._view[0];return this._view=this._view.subarray(1),e}write(e){const t=new Uint8Array(e),n=this._view.byteLength;this._view.byteOffset+this._view.byteLength+t.byteLength>=this._buffer.byteLength?this.alloc(t.byteLength):this._view=new Uint8Array(this._buffer,this._view.byteOffset,this._view.byteLength+t.byteLength),this._view.set(t,n)}get end(){return 0===this._view.byteLength}alloc(e){const t=new ArrayBuffer(1.2*(this._buffer.byteLength+e)|0),n=new Uint8Array(t,0,this._view.byteLength+e);n.set(this._view),this._buffer=t,this._view=n}}function s(e){if(/^_\d+_$/.test(e)||/^_0x[0-9a-fA-F]+_$/.test(e)){const t=+e.slice(1,-1);if(Number.isSafeInteger(t)&&t>=0&&t<2**32)return t}return function(e){const t=(new TextEncoder).encode(e);let n=0;for(const e of t)n=(223*n+e)%2**32;return n}(e)}function u(){throw new Error("unexpected end of buffer")}function c(e,t){return e.byteLength=128);return r}function A(e){"number"==typeof e&&(e=BigInt(e));const t=e=0;e--)i=i*BigInt(128)+BigInt(128-(127&r[e])-1);return-i-BigInt(1)}function p(e,t){e=BigInt(e);const n=new a(new ArrayBuffer(Math.min(1,t)),0);let r=0,i=BigInt(256),o=BigInt(0),s=Number(e%i);for(n.write(new Uint8Array([s]));++rn(e,t[r])))}class v{constructor(){this._typs=[],this._idx=new Map}has(e){return this._idx.has(e.name)}add(e,t){const n=this._typs.length;this._idx.set(e.name,n),this._typs.push(t)}merge(e,t){const n=this._idx.get(e.name),r=this._idx.get(t);if(void 0===n)throw new Error("Missing type index for "+e);if(void 0===r)throw new Error("Missing type index for "+t);this._typs[n]=this._typs[r],this._typs.splice(r,1),this._idx.delete(t)}encode(){const e=f(this._typs.length),t=o(...this._typs);return o(e,t)}indexOf(e){if(!this._idx.has(e))throw new Error("Missing type index for "+e);return A(this._idx.get(e)||0)}}class w{visitType(e,t){throw new Error("Not implemented")}visitPrimitive(e,t){return this.visitType(e,t)}visitEmpty(e,t){return this.visitPrimitive(e,t)}visitBool(e,t){return this.visitPrimitive(e,t)}visitNull(e,t){return this.visitPrimitive(e,t)}visitReserved(e,t){return this.visitPrimitive(e,t)}visitText(e,t){return this.visitPrimitive(e,t)}visitNumber(e,t){return this.visitPrimitive(e,t)}visitInt(e,t){return this.visitNumber(e,t)}visitNat(e,t){return this.visitNumber(e,t)}visitFloat(e,t){return this.visitPrimitive(e,t)}visitFixedInt(e,t){return this.visitNumber(e,t)}visitFixedNat(e,t){return this.visitNumber(e,t)}visitPrincipal(e,t){return this.visitPrimitive(e,t)}visitConstruct(e,t){return this.visitType(e,t)}visitVec(e,t,n){return this.visitConstruct(e,n)}visitOpt(e,t,n){return this.visitConstruct(e,n)}visitRecord(e,t,n){return this.visitConstruct(e,n)}visitTuple(e,t,n){const r=t.map(((e,t)=>[`_${t}_`,e]));return this.visitRecord(e,r,n)}visitVariant(e,t,n){return this.visitConstruct(e,n)}visitRec(e,t,n){return this.visitConstruct(t,n)}visitFunc(e,t){return this.visitConstruct(e,t)}visitService(e,t){return this.visitConstruct(e,t)}}class E{display(){return this.name}valueToString(e){return K(e)}buildTypeTable(e){e.has(this)||this._buildTypeTableImpl(e)}}class I extends E{checkType(e){if(this.name!==e.name)throw new Error(`type mismatch: type on the wire ${e.name}, expect type ${this.name}`);return e}_buildTypeTableImpl(e){}}class B extends E{checkType(e){if(e instanceof j){const t=e.getType();if(void 0===t)throw new Error("type mismatch with uninitialized type");return t}throw new Error(`type mismatch: type on the wire ${e.name}, expect type ${this.name}`)}encodeType(e){return e.indexOf(this.name)}}class C extends I{accept(e,t){return e.visitEmpty(this,t)}covariant(e){throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(){throw new Error("Empty cannot appear as a function argument")}valueToString(){throw new Error("Empty cannot appear as a value")}encodeType(){return A(-17)}decodeValue(){throw new Error("Empty cannot appear as an output")}get name(){return"empty"}}class _ extends E{checkType(e){throw new Error("Method not implemented for unknown.")}accept(e,t){throw e.visitType(this,t)}covariant(e){throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(){throw new Error("Unknown cannot appear as a function argument")}valueToString(){throw new Error("Unknown cannot appear as a value")}encodeType(){throw new Error("Unknown cannot be serialized")}decodeValue(e,t){let n,r=t.decodeValue(e,t);return Object(r)!==r&&(r=Object(r)),n=t instanceof j?()=>t.getType():()=>t,Object.defineProperty(r,"type",{value:n,writable:!0,enumerable:!1,configurable:!0}),r}_buildTypeTableImpl(){throw new Error("Unknown cannot be serialized")}get name(){return"Unknown"}}class S extends I{accept(e,t){return e.visitBool(this,t)}covariant(e){if("boolean"==typeof e)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return new Uint8Array([e?1:0])}encodeType(){return A(-2)}decodeValue(e,t){switch(this.checkType(t),l(e)){case 0:return!1;case 1:return!0;default:throw new Error("Boolean value out of range")}}get name(){return"bool"}}class Q extends I{accept(e,t){return e.visitNull(this,t)}covariant(e){if(null===e)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(){return new ArrayBuffer(0)}encodeType(){return A(-1)}decodeValue(e,t){return this.checkType(t),null}get name(){return"null"}}class k extends I{accept(e,t){return e.visitReserved(this,t)}covariant(e){return!0}encodeValue(){return new ArrayBuffer(0)}encodeType(){return A(-16)}decodeValue(e,t){return t.name!==this.name&&t.decodeValue(e,t),null}get name(){return"reserved"}}class M extends I{accept(e,t){return e.visitText(this,t)}covariant(e){if("string"==typeof e)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=(new TextEncoder).encode(e);return o(f(t.byteLength),t)}encodeType(){return A(-15)}decodeValue(e,t){this.checkType(t);const n=d(e),r=c(e,Number(n));return new TextDecoder("utf8",{fatal:!0}).decode(r)}get name(){return"text"}valueToString(e){return'"'+e+'"'}}class x extends I{accept(e,t){return e.visitInt(this,t)}covariant(e){if("bigint"==typeof e||Number.isInteger(e))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return A(e)}encodeType(){return A(-4)}decodeValue(e,t){return this.checkType(t),h(e)}get name(){return"int"}valueToString(e){return e.toString()}}class R extends I{accept(e,t){return e.visitNat(this,t)}covariant(e){if("bigint"==typeof e&&e>=BigInt(0)||Number.isInteger(e)&&e>=0)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return f(e)}encodeType(){return A(-3)}decodeValue(e,t){return this.checkType(t),d(e)}get name(){return"nat"}valueToString(e){return e.toString()}}class D extends I{constructor(e){if(super(),this._bits=e,32!==e&&64!==e)throw new Error("not a valid float type")}accept(e,t){return e.visitFloat(this,t)}covariant(e){if("number"==typeof e||e instanceof Number)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=new ArrayBuffer(this._bits/8),n=new DataView(t);return 32===this._bits?n.setFloat32(0,e,!0):n.setFloat64(0,e,!0),t}encodeType(){return A(32===this._bits?-13:-14)}decodeValue(e,t){this.checkType(t);const n=c(e,this._bits/8),r=new DataView(n);return 32===this._bits?r.getFloat32(0,!0):r.getFloat64(0,!0)}get name(){return"float"+this._bits}valueToString(e){return e.toString()}}class T extends I{constructor(e){super(),this._bits=e}accept(e,t){return e.visitFixedInt(this,t)}covariant(e){const t=y(this._bits-1)*BigInt(-1),n=y(this._bits-1)-BigInt(1);let r=!1;if("bigint"==typeof e)r=e>=t&&e<=n;else if(Number.isInteger(e)){const i=BigInt(e);r=i>=t&&i<=n}else r=!1;if(r)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return p(e,this._bits/8)}encodeType(){return A(-9-(Math.log2(this._bits)-3))}decodeValue(e,t){this.checkType(t);const n=function(e,t){let n=g(e,t);const r=BigInt(2)**(BigInt(8)*BigInt(t-1)+BigInt(7));return n>=r&&(n-=r*BigInt(2)),n}(e,this._bits/8);return this._bits<=32?Number(n):n}get name(){return`int${this._bits}`}valueToString(e){return e.toString()}}class N extends I{constructor(e){super(),this._bits=e}accept(e,t){return e.visitFixedNat(this,t)}covariant(e){const t=y(this._bits);let n=!1;if(n="bigint"==typeof e&&e>=BigInt(0)?e=0)&&BigInt(e){try{return this._type.covariant(e)}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nindex ${t} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=f(e.length);if(this._blobOptimization)return o(t,new Uint8Array(e));if(ArrayBuffer.isView(e))return o(t,new Uint8Array(e.buffer));const n=new a(new ArrayBuffer(t.byteLength+e.length),0);n.write(t);for(const t of e){const e=this._type.encodeValue(t);n.write(new Uint8Array(e))}return n.buffer}_buildTypeTableImpl(e){this._type.buildTypeTable(e);const t=A(-19),n=this._type.encodeType(e);e.add(this,o(t,n))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof O))throw new Error("Not a vector type");const r=Number(d(e));if(this._type instanceof N){if(8==this._type._bits)return new Uint8Array(e.read(r));if(16==this._type._bits)return new Uint16Array(e.read(2*r));if(32==this._type._bits)return new Uint32Array(e.read(4*r));if(64==this._type._bits)return new BigUint64Array(e.read(8*r))}if(this._type instanceof T){if(8==this._type._bits)return new Int8Array(e.read(r));if(16==this._type._bits)return new Int16Array(e.read(2*r));if(32==this._type._bits)return new Int32Array(e.read(4*r));if(64==this._type._bits)return new BigInt64Array(e.read(8*r))}const i=[];for(let t=0;tthis._type.valueToString(e))).join("; ")+"}"}}class L extends B{constructor(e){super(),this._type=e}accept(e,t){return e.visitOpt(this,this._type,t)}covariant(e){try{if(Array.isArray(e)&&(0===e.length||1===e.length&&this._type.covariant(e[0])))return!0}catch(t){throw new Error(`Invalid ${this.display()} argument: ${K(e)} \n\n-> ${t.message}`)}throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return 0===e.length?new Uint8Array([0]):o(new Uint8Array([1]),this._type.encodeValue(e[0]))}_buildTypeTableImpl(e){this._type.buildTypeTable(e);const t=A(-18),n=this._type.encodeType(e);e.add(this,o(t,n))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof L))throw new Error("Not an option type");switch(l(e)){case 0:return[];case 1:return[this._type.decodeValue(e,n._type)];default:throw new Error("Not an option value")}}get name(){return`opt ${this._type.name}`}display(){return`opt ${this._type.display()}`}valueToString(e){return 0===e.length?"null":`opt ${this._type.valueToString(e[0])}`}}class P extends B{constructor(e={}){super(),this._fields=Object.entries(e).sort(((e,t)=>s(e[0])-s(t[0])))}accept(e,t){return e.visitRecord(this,this._fields,t)}tryAsTuple(){const e=[];for(let t=0;t{if(!e.hasOwnProperty(t))throw new Error(`Record is missing key "${t}".`);try{return n.covariant(e[t])}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nfield ${t} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=this._fields.map((([t])=>e[t]));return o(...b(this._fields,t,(([,e],t)=>e.encodeValue(t))))}_buildTypeTableImpl(e){this._fields.forEach((([t,n])=>n.buildTypeTable(e)));const t=A(-20),n=f(this._fields.length),r=this._fields.map((([t,n])=>o(f(s(t)),n.encodeType(e))));e.add(this,o(t,n,o(...r)))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof P))throw new Error("Not a record type");const r={};let i=0,o=0;for(;o=this._fields.length){a.decodeValue(e,a),o++;continue}const[u,c]=this._fields[i],l=s(this._fields[i][0]),f=s(t);if(l===f)r[u]=c.decodeValue(e,a),i++,o++;else if(f>l){if(!(c instanceof L||c instanceof k))throw new Error("Cannot find required field "+u);r[u]=[],i++}else a.decodeValue(e,a),o++}for(const[e,t]of this._fields.slice(i)){if(!(t instanceof L||t instanceof k))throw new Error("Cannot find required field "+e);r[e]=[]}return r}get name(){return`record {${this._fields.map((([e,t])=>e+":"+t.name)).join("; ")}}`}display(){return`record {${this._fields.map((([e,t])=>e+":"+t.display())).join("; ")}}`}valueToString(e){const t=this._fields.map((([t])=>e[t]));return`record {${b(this._fields,t,(([e,t],n)=>e+"="+t.valueToString(n))).join("; ")}}`}}class U extends P{constructor(e){const t={};e.forEach(((e,n)=>t["_"+n+"_"]=e)),super(t),this._components=e}accept(e,t){return e.visitTuple(this,this._components,t)}covariant(e){if(Array.isArray(e)&&e.length>=this._fields.length&&this._components.every(((t,n)=>{try{return t.covariant(e[n])}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nindex ${n} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){return o(...b(this._components,e,((e,t)=>e.encodeValue(t))))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof U))throw new Error("not a tuple type");if(n._components.length=this._components.length?i.decodeValue(e,i):r.push(this._components[t].decodeValue(e,i));return r}display(){return`record {${this._components.map((e=>e.display())).join("; ")}}`}valueToString(e){return`record {${b(this._components,e,((e,t)=>e.valueToString(t))).join("; ")}}`}}class F extends B{constructor(e={}){super(),this._fields=Object.entries(e).sort(((e,t)=>s(e[0])-s(t[0])))}accept(e,t){return e.visitVariant(this,this._fields,t)}covariant(e){if("object"==typeof e&&1===Object.entries(e).length&&this._fields.every((([t,n])=>{try{return!e.hasOwnProperty(t)||n.covariant(e[t])}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nvariant ${t} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){for(let t=0;t{t.buildTypeTable(e)}));const t=A(-21),n=f(this._fields.length),r=this._fields.map((([t,n])=>o(f(s(t)),n.encodeType(e))));e.add(this,o(t,n,...r))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof F))throw new Error("Not a variant type");const r=Number(d(e));if(r>=n._fields.length)throw Error("Invalid variant index: "+r);const[i,o]=n._fields[r];for(const[t,n]of this._fields)if(s(i)===s(t)){const r=n.decodeValue(e,o);return{[t]:r}}throw new Error("Cannot find field hash "+i)}get name(){return`variant {${this._fields.map((([e,t])=>e+":"+t.name)).join("; ")}}`}display(){return`variant {${this._fields.map((([e,t])=>e+("null"===t.name?"":`:${t.display()}`))).join("; ")}}`}valueToString(e){for(const[t,n]of this._fields)if(e.hasOwnProperty(t)){const r=n.valueToString(e[t]);return"null"===r?`variant {${t}}`:`variant {${t}=${r}}`}throw new Error("Variant has no data: "+e)}}class j extends B{constructor(){super(...arguments),this._id=j._counter++,this._type=void 0}accept(e,t){if(!this._type)throw Error("Recursive type uninitialized.");return e.visitRec(this,this._type,t)}fill(e){this._type=e}getType(){return this._type}covariant(e){if(this._type&&this._type.covariant(e))return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.encodeValue(e)}_buildTypeTableImpl(e){if(!this._type)throw Error("Recursive type uninitialized.");e.add(this,new Uint8Array([])),this._type.buildTypeTable(e),e.merge(this,this._type.name)}decodeValue(e,t){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.decodeValue(e,t)}get name(){return`rec_${this._id}`}display(){if(!this._type)throw Error("Recursive type uninitialized.");return`μ${this.name}.${this._type.name}`}valueToString(e){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.valueToString(e)}}function q(e){if(1!==l(e))throw new Error("Cannot decode principal");const t=Number(d(e));return i.p.fromUint8Array(new Uint8Array(c(e,t)))}j._counter=0;class G extends I{accept(e,t){return e.visitPrincipal(this,t)}covariant(e){if(e&&e._isPrincipal)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=e.toUint8Array(),n=f(t.byteLength);return o(new Uint8Array([1]),n,t)}encodeType(){return A(-24)}decodeValue(e,t){return this.checkType(t),q(e)}get name(){return"principal"}valueToString(e){return`${this.name} "${e.toText()}"`}}class H extends B{constructor(e,t,n=[]){super(),this.argTypes=e,this.retTypes=t,this.annotations=n}static argsToString(e,t){if(e.length!==t.length)throw new Error("arity mismatch");return"("+e.map(((e,n)=>e.valueToString(t[n]))).join(", ")+")"}accept(e,t){return e.visitFunc(this,t)}covariant(e){if(Array.isArray(e)&&2===e.length&&e[0]&&e[0]._isPrincipal&&"string"==typeof e[1])return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue([e,t]){const n=e.toUint8Array(),r=f(n.byteLength),i=o(new Uint8Array([1]),r,n),a=(new TextEncoder).encode(t),s=f(a.byteLength);return o(new Uint8Array([1]),i,s,a)}_buildTypeTableImpl(e){this.argTypes.forEach((t=>t.buildTypeTable(e))),this.retTypes.forEach((t=>t.buildTypeTable(e)));const t=A(-22),n=f(this.argTypes.length),r=o(...this.argTypes.map((t=>t.encodeType(e)))),i=f(this.retTypes.length),a=o(...this.retTypes.map((t=>t.encodeType(e)))),s=f(this.annotations.length),u=o(...this.annotations.map((e=>this.encodeAnnotation(e))));e.add(this,o(t,n,r,i,a,s,u))}decodeValue(e){if(1!==l(e))throw new Error("Cannot decode function reference");const t=q(e),n=c(e,Number(d(e)));return[t,new TextDecoder("utf8",{fatal:!0}).decode(n)]}get name(){return`(${this.argTypes.map((e=>e.name)).join(", ")}) -> (${this.retTypes.map((e=>e.name)).join(", ")})${" "+this.annotations.join(" ")}`}valueToString([e,t]){return`func "${e.toText()}".${t}`}display(){return`(${this.argTypes.map((e=>e.display())).join(", ")}) → (${this.retTypes.map((e=>e.display())).join(", ")})${" "+this.annotations.join(" ")}`}encodeAnnotation(e){if("query"===e)return new Uint8Array([1]);if("oneway"===e)return new Uint8Array([2]);if("composite_query"===e)return new Uint8Array([3]);throw new Error("Illegal function annotation")}}class Y extends B{constructor(e){super(),this._fields=Object.entries(e).sort(((e,t)=>s(e[0])-s(t[0])))}accept(e,t){return e.visitService(this,t)}covariant(e){if(e&&e._isPrincipal)return!0;throw new Error(`Invalid ${this.display()} argument: ${K(e)}`)}encodeValue(e){const t=e.toUint8Array(),n=f(t.length);return o(new Uint8Array([1]),n,t)}_buildTypeTableImpl(e){this._fields.forEach((([t,n])=>n.buildTypeTable(e)));const t=A(-23),n=f(this._fields.length),r=this._fields.map((([t,n])=>{const r=(new TextEncoder).encode(t);return o(f(r.length),r,n.encodeType(e))}));e.add(this,o(t,n,...r))}decodeValue(e){return q(e)}get name(){return`service {${this._fields.map((([e,t])=>e+":"+t.name)).join("; ")}}`}valueToString(e){return`service "${e.toText()}"`}}function K(e){const t=JSON.stringify(e,((e,t)=>"bigint"==typeof t?`BigInt(${t})`:t));return t&&t.length>400?t.substring(0,397)+"...":t}function z(e,t){if(t.lengthe.buildTypeTable(n)));const r=(new TextEncoder).encode(m),i=n.encode(),a=f(t.length),s=o(...e.map((e=>e.encodeType(n)))),u=o(...b(e,t,((e,t)=>{try{e.covariant(t)}catch(e){throw new Error(e.message+"\n\n")}return e.encodeValue(t)})));return o(r,i,a,s,u)}function V(e,t){const n=new a(t);if(t.byteLength=Math.pow(2,32))throw new Error("field id out of 32-bit range");if("number"==typeof i&&i>=t)throw new Error("field id collision or not sorted");i=t;const n=Number(h(e));r.push([t,n])}t.push([n,r]);break}case-22:{const r=[];let i=Number(d(e));for(;i--;)r.push(Number(h(e)));const o=[];let a=Number(d(e));for(;a--;)o.push(Number(h(e)));const s=[];let u=Number(d(e));for(;u--;)switch(Number(d(e))){case 1:s.push("query");break;case 2:s.push("oneway");break;case 3:s.push("composite_query");break;default:throw new Error("unknown annotation")}t.push([n,[r,o,s]]);break}case-23:{let r=Number(d(e));const i=[];for(;r--;){const t=Number(d(e)),n=(new TextDecoder).decode(c(e,t)),r=h(e);i.push([n,r])}t.push([n,i]);break}default:throw new Error("Illegal op_code: "+n)}}const r=[],i=Number(d(e));for(let t=0;tbe()));function l(e){if(e<-24)throw new Error("future value not supported");if(e<0)switch(e){case-1:return X;case-2:return Z;case-3:return ne;case-4:return te;case-5:return ce;case-6:return le;case-7:return fe;case-8:return de;case-9:return oe;case-10:return ae;case-11:return se;case-12:return ue;case-13:return re;case-14:return ie;case-15:return ee;case-16:return W;case-17:return J;case-24:return Ae;default:throw new Error("Illegal op_code: "+e)}if(e>=o.length)throw new Error("type index out of range");return u[e]}function f(e){switch(e[0]){case-19:return pe(l(e[1]));case-18:return ge(l(e[1]));case-20:{const t={};for(const[n,r]of e[1])t[`_${n}_`]=l(r);const n=ye(t),r=n.tryAsTuple();return Array.isArray(r)?he(...r):n}case-21:{const t={};for(const[n,r]of e[1])t[`_${n}_`]=l(r);return me(t)}case-22:{const[t,n,r]=e[1];return ve(t.map((e=>l(e))),n.map((e=>l(e))),r)}case-23:{const t={},n=e[1];for(const[e,r]of n){let n=l(r);if(n instanceof j&&(n=n.getType()),!(n instanceof H))throw new Error("Illegal service definition: services can only contain functions");t[e]=n}return we(t)}default:throw new Error("Illegal op_code: "+e[0])}}o.forEach(((e,t)=>{if(-22===e[0]){const n=f(e);u[t].fill(n)}})),o.forEach(((e,t)=>{if(-22!==e[0]){const n=f(e);u[t].fill(n)}}));const A=s.map((e=>l(e))),p=e.map(((e,t)=>e.decodeValue(n,A[t])));for(let t=e.length;t0)throw new Error("decode: Left-over bytes");return p}const J=new C,W=new k,$=new _,Z=new S,X=new Q,ee=new M,te=new x,ne=new R,re=new D(32),ie=new D(64),oe=new T(8),ae=new T(16),se=new T(32),ue=new T(64),ce=new N(8),le=new N(16),fe=new N(32),de=new N(64),Ae=new G;function he(...e){return new U(e)}function pe(e){return new O(e)}function ge(e){return new L(e)}function ye(e){return new P(e)}function me(e){return new F(e)}function be(){return new j}function ve(e,t,n=[]){return new H(e,t,n)}function we(e){return new Y(e)}},6489:function(e,t,n){"use strict";n.d(t,{p:function(){return u}});const r="abcdefghijklmnopqrstuvwxyz234567",i=Object.create(null);for(let e=0;e<32;e++)i[r[e]]=e;i[0]=i.o,i[1]=i.i;const o=new Uint32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);var a=n(8226);const s="__principal__";class u{constructor(e){this._arr=e,this._isPrincipal=!0}static anonymous(){return new this(new Uint8Array([4]))}static managementCanister(){return this.fromHex("aaaaa-aa")}static selfAuthenticating(e){const t=(n=e,a.Z.create().update(new Uint8Array(n)).digest());var n;return new this(new Uint8Array([...t,2]))}static from(e){if("string"==typeof e)return u.fromText(e);if("object"==typeof e&&null!==e&&!0===e._isPrincipal)return new u(e._arr);throw new Error(`Impossible to convert ${JSON.stringify(e)} to Principal.`)}static fromHex(e){return new this(new Uint8Array((null!==(t=e.match(/.{1,2}/g))&&void 0!==t?t:[]).map((e=>parseInt(e,16)))));var t}static fromText(e){let t=e;if(e.includes(s)){const n=JSON.parse(e);s in n&&(t=n[s])}let n=function(e){let t=0,n=0;const r=new Uint8Array(4*e.length/3|0);let o=0;function a(e){let a=i[e.toLowerCase()];if(void 0===a)throw new Error(`Invalid character: ${JSON.stringify(e)}`);a<<=3,n|=a>>>t,t+=5,t>=8&&(r[o++]=n,t-=8,n=t>0?a<<5-t&255:0)}for(const t of e)a(t);return r.slice(0,o)}(t.toLowerCase().replace(/-/g,""));n=n.slice(4,n.length);const r=new this(n);if(r.toText()!==t)throw new Error(`Principal "${r.toText()}" does not have a valid checksum (original value "${t}" may not be a valid Principal ID).`);return r}static fromUint8Array(e){return new this(e)}isAnonymous(){return 1===this._arr.byteLength&&4===this._arr[0]}toUint8Array(){return this._arr}toHex(){return(e=this._arr,e.reduce(((e,t)=>e+t.toString(16).padStart(2,"0")),"")).toUpperCase();var e}toText(){const e=new ArrayBuffer(4);new DataView(e).setUint32(0,function(e){const t=new Uint8Array(e);let n=-1;for(let e=0;e>>8}return~n>>>0}(this._arr));const t=new Uint8Array(e),n=Uint8Array.from(this._arr),i=function(e){let t=0,n=0,i="";for(let a=0;a>-t:n=o<3?(t-=8,1):(t<4&&(i+=r[n>>3],t+=5),0));var o;return i+(t<0?r[n>>3]:"")}(new Uint8Array([...t,...n])).match(/.{1,5}/g);if(!i)throw new Error;return i.join("-")}toString(){return this.toText()}toJSON(){return{[s]:this.toText()}}compareTo(e){for(let t=0;te._arr[t])return"gt"}return this._arr.lengthe._arr.length?"gt":"eq"}ltEq(e){const t=this.compareTo(e);return"lt"==t||"eq"==t}gtEq(e){const t=this.compareTo(e);return"gt"==t||"eq"==t}}},9438:function(e,t,n){"use strict";n.r(t),n.d(t,{CustomPath:function(){return c},encodePath:function(){return d},fetchNodeKeys:function(){return f},request:function(){return l}});var r=n(2336),i=n(7857),o=n(3638),a=n(2338),s=n(8358),u=n(9345);class c{constructor(e,t,n){this.key=e,this.path=t,this.decodeStrategy=n}}const l=async e=>{const{agent:t,paths:n}=e,a=r.p.from(e.canisterId),s=[...new Set(n)],c=s.map((e=>d(e,a))),l=new Map,y=s.map(((e,n)=>(async()=>{var r;try{const e=await t.readState(a,{paths:[c[n]]}),r=await o.us.create({certificate:e.certificate,rootKey:t.rootKey,canisterId:a}),i=(n,r)=>"subnet"===r?{path:r,data:f(e.certificate,a,t.rootKey)}:{path:r,data:(0,o.Xr)(n.lookup(d(r,a)))},{path:y,data:m}=i(r,s[n]);if(m)switch(y){case"time":l.set(y,(0,u.A)(m));break;case"controllers":l.set(y,g(m));break;case"module_hash":l.set(y,A(m));break;case"subnet":l.set(y,m);break;case"candid":l.set(y,(new TextDecoder).decode(m));break;default:if("string"!=typeof y&&"key"in y&&"path"in y)switch(y.decodeStrategy){case"raw":l.set(y.key,m);break;case"leb128":l.set(y.key,(0,u.b)(m));break;case"cbor":l.set(y.key,h(m));break;case"hex":l.set(y.key,A(m));break;case"utf-8":l.set(y.key,p(m))}}else console.warn(`Expected to find result for path ${y}, but instead found nothing.`),"string"==typeof y?l.set(y,null):l.set(y.key,null)}catch(t){if(null===(r=null==t?void 0:t.message)||void 0===r?void 0:r.includes("Invalid certificate"))throw new i.Y(t.message);"string"!=typeof e&&"key"in e&&"path"in e?l.set(e.key,null):l.set(e,null),console.group(),console.warn(`Expected to find result for path ${e}, but instead found nothing.`),console.warn(t),console.groupEnd()}})()));return await Promise.all(y),l},f=(e,t,n)=>{if(!t._isPrincipal)throw new Error("Invalid canisterId");const i=s.D4(new Uint8Array(e)),a=i.tree;let u,c=i.delegation;if(c&&c.subnet_id?u=r.p.fromUint8Array(new Uint8Array(c.subnet_id)):c||void 0===n?(u=r.p.selfAuthenticating(r.p.fromText("tdb26-jop6k-aogll-7ltgs-eruif-6kk7m-qpktf-gdiqx-mxtrf-vb5e6-eqe").toUint8Array()),c={subnet_id:u.toUint8Array(),certificate:new ArrayBuffer(0)}):(u=r.p.selfAuthenticating(new Uint8Array(n)),c={subnet_id:u.toUint8Array(),certificate:new ArrayBuffer(0)}),!(0,o.Gk)({canisterId:t,subnetId:u,tree:a}))throw new Error("Canister not in range");const l=(0,o.hV)(["subnet",null==c?void 0:c.subnet_id,"node"],a),f=(0,o.Bx)(l);f.length;const d=new Map;return f.forEach((e=>{Object.getPrototypeOf(new Uint8Array(e[1]));const t=r.p.from(new Uint8Array(e[1])).toText(),n=(0,o.hV)(["public_key"],e[2]);if(44!==n.byteLength)throw new Error("Invalid public key length");d.set(t,n)})),{subnetId:r.p.fromUint8Array(new Uint8Array(c.subnet_id)).toText(),nodeKeys:d}},d=(e,t)=>{const n=new TextEncoder,r=e=>new DataView(n.encode(e).buffer).buffer,i=new DataView(t.toUint8Array().buffer).buffer;switch(e){case"time":return[r("time")];case"controllers":return[r("canister"),i,r("controllers")];case"module_hash":return[r("canister"),i,r("module_hash")];case"subnet":return[r("subnet")];case"candid":return[r("canister"),i,r("metadata"),r("candid:service")];default:if("key"in e&&"path"in e){if("string"==typeof e.path||e.path instanceof ArrayBuffer){const t=e.path,n="string"==typeof t?r(t):t;return[r("canister"),i,r("metadata"),n]}return e.path}}throw new Error(`An unexpeected error was encountered while encoding your path for canister status. Please ensure that your path, ${e} was formatted correctly.`)},A=e=>(0,a.nj)(e),h=e=>s.D4(e),p=e=>(new TextDecoder).decode(e),g=e=>h(e).map((e=>r.p.fromUint8Array(new Uint8Array(e))))},8358:function(e,t,n){"use strict";n.d(t,{D4:function(){return f},lF:function(){return u}});var r=n(7516),i=n(9283),o=n(2338);const a=i.SelfDescribeCborSerializer.withDefaultEncoders(!0);var s;function u(e){return a.serialize(e)}function c(e){const t=e.byteLength;let n=BigInt(0);for(let r=0;rBigInt(0)?i.value.tagged(2,i.value.bytes((0,o.aD)(e.toString(16)))):i.value.tagged(3,i.value.bytes((0,o.aD)((BigInt("-1")*e).toString(16))))}}),function(e){e[e.Uint64LittleEndian=71]="Uint64LittleEndian",e[e.Semantic=55799]="Semantic"}(s||(s={}));class l extends r.Decoder{createByteString(e){return(0,o.xW)(...e)}createByteStringFromHeap(e,t){return e===t?new ArrayBuffer(0):new Uint8Array(this._heap.slice(e,t))}}function f(e){const t=new Uint8Array(e),n=new l({size:t.byteLength,tags:{2:e=>c(e),3:e=>-c(e),[s.Semantic]:e=>e}});try{return n.decodeFirst(t)}catch(e){throw new Error(`Failed to decode CBOR: ${e}, input: ${(0,o.nj)(t)}`)}}},3638:function(e,t,n){"use strict";n.d(t,{us:function(){return Oe},bK:function(){return De},Gk:function(){return He},Bx:function(){return Ge},Xr:function(){return Ue},hV:function(){return qe}});var r=n(8358),i=n(7857),o=n(4141),a=n(2338),s=n(2336),u=n(8226),c=n(2531),l=n(8030),f=n(8293);const d=f.bytesToNumberBE;function A(e,t){if(e<0||e>=1<<8*t)throw new Error(`bad I2OSP call: value=${e} length=${t}`);const n=Array.from({length:t}).fill(0);for(let r=t-1;r>=0;r--)n[r]=255&e,e>>>=8;return new Uint8Array(n)}function h(e,t){const n=new Uint8Array(e.length);for(let r=0;r255&&(t=r((0,f.Id)((0,f.AI)("H2C-OVERSIZE-DST-"),t)));const{outputLen:i,blockLen:o}=r,a=Math.ceil(n/i);if(a>255)throw new Error("Invalid xmd length");const s=(0,f.Id)(t,A(t.length,1)),u=A(0,o),c=A(n,2),l=new Array(a),d=r((0,f.Id)(u,e,c,A(0,1),s));l[0]=r((0,f.Id)(d,A(1,1),s));for(let e=1;e<=a;e++){const t=[h(d,l[e-1]),A(e+1,1),s];l[e]=r((0,f.Id)(...t))}return(0,f.Id)(...l).slice(0,n)}(e,c,m,a);else if("xof"===s)b=function(e,t,n,r,i){if((0,f.DO)(e),(0,f.DO)(t),p(n),t.length>255){const e=Math.ceil(2*r/8);t=i.create({dkLen:e}).update((0,f.AI)("H2C-OVERSIZE-DST-")).update(t).digest()}if(n>65535||t.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return i.create({dkLen:n}).update(e).update(A(n,2)).update(t).update(A(t.length,1)).digest()}(e,c,m,i,a);else{if("_internal_pass"!==s)throw new Error('expand must be "xmd" or "xof"');b=e}const v=new Array(t);for(let e=0;eArray.from(e).reverse()));return(t,r)=>{const[i,o,a,s]=n.map((n=>n.reduce(((n,r)=>e.add(e.mul(n,t),r)))));return t=e.div(i,o),r=e.mul(r,e.div(a,s)),{x:t,y:r}}}function m(e,t,n){if("function"!=typeof t)throw new Error("mapToCurve() must be defined");return{hashToCurve(r,i){const o=g(r,2,{...n,DST:n.DST,...i}),a=e.fromAffine(t(o[0])),s=e.fromAffine(t(o[1])),u=a.add(s).clearCofactor();return u.assertValidity(),u},encodeToCurve(r,i){const o=g(r,1,{...n,DST:n.encodeDST,...i}),a=e.fromAffine(t(o[0])).clearCofactor();return a.assertValidity(),a}}}var b=n(615);const{bytesToNumberBE:v,hexToBytes:w}=f,E={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){const{Err:t}=E;if(e.length<2||2!==e[0])throw new t("Invalid signature integer tag");const n=e[1],r=e.subarray(2,n+2);if(!n||r.length!==n)throw new t("Invalid signature integer: wrong length");if(128&r[0])throw new t("Invalid signature integer: negative");if(0===r[0]&&!(128&r[1]))throw new t("Invalid signature integer: unnecessary leading zero");return{d:v(r),l:e.subarray(n+2)}},toSig(e){const{Err:t}=E,n="string"==typeof e?w(e):e;f.DO(n);let r=n.length;if(r<2||48!=n[0])throw new t("Invalid signature tag");if(n[1]!==r-2)throw new t("Invalid signature: incorrect length");const{d:i,l:o}=E._parseInt(n.subarray(2)),{d:a,l:s}=E._parseInt(o);if(s.length)throw new t("Invalid signature: left bytes after parsing");return{r:i,s:a}},hexFromSig(e){const t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,n=e=>{const t=e.toString(16);return 1&t.length?`0${t}`:t},r=t(n(e.s)),i=t(n(e.r)),o=r.length/2,a=i.length/2,s=n(o),u=n(a);return`30${n(a+o+4)}02${u}${i}02${s}${r}`}},I=BigInt(0),B=BigInt(1),C=BigInt(2),_=BigInt(3),S=BigInt(4);function Q(e){const t=function(e){const t=(0,b.h)(e);f.Q5(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:n,Fp:r,a:i}=t;if(n){if(!r.eql(i,r.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof n||"bigint"!=typeof n.beta||"function"!=typeof n.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:n}=t,r=t.toBytes||((e,t,r)=>{const i=t.toAffine();return f.Id(Uint8Array.from([4]),n.toBytes(i.x),n.toBytes(i.y))}),i=t.fromBytes||(e=>{const t=e.subarray(1);return{x:n.fromBytes(t.subarray(0,n.BYTES)),y:n.fromBytes(t.subarray(n.BYTES,2*n.BYTES))}});function o(e){const{a:r,b:i}=t,o=n.sqr(e),a=n.mul(o,e);return n.add(n.add(a,n.mul(e,r)),i)}if(!n.eql(n.sqr(t.Gy),o(t.Gx)))throw new Error("bad generator point: equation left != right");function a(e){return"bigint"==typeof e&&In.eql(e,n.ZERO);return i(t)&&i(r)?A.ZERO:new A(t,r,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){const t=n.invertBatch(e.map((e=>e.pz)));return e.map(((e,n)=>e.toAffine(t[n]))).map(A.fromAffine)}static fromHex(e){const t=A.fromAffine(i((0,f.qj)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return A.BASE.multiply(u(e))}_setWindowSize(e){this._WINDOW_SIZE=e,c.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint&&!n.is0(this.py))return;throw new Error("bad point: ZERO")}const{x:e,y:r}=this.toAffine();if(!n.isValid(e)||!n.isValid(r))throw new Error("bad point: x or y not FE");const i=n.sqr(r),a=o(e);if(!n.eql(i,a))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){const{y:e}=this.toAffine();if(n.isOdd)return!n.isOdd(e);throw new Error("Field doesn't support isOdd")}equals(e){d(e);const{px:t,py:r,pz:i}=this,{px:o,py:a,pz:s}=e,u=n.eql(n.mul(t,s),n.mul(o,i)),c=n.eql(n.mul(r,s),n.mul(a,i));return u&&c}negate(){return new A(this.px,n.neg(this.py),this.pz)}double(){const{a:e,b:r}=t,i=n.mul(r,_),{px:o,py:a,pz:s}=this;let u=n.ZERO,c=n.ZERO,l=n.ZERO,f=n.mul(o,o),d=n.mul(a,a),h=n.mul(s,s),p=n.mul(o,a);return p=n.add(p,p),l=n.mul(o,s),l=n.add(l,l),u=n.mul(e,l),c=n.mul(i,h),c=n.add(u,c),u=n.sub(d,c),c=n.add(d,c),c=n.mul(u,c),u=n.mul(p,u),l=n.mul(i,l),h=n.mul(e,h),p=n.sub(f,h),p=n.mul(e,p),p=n.add(p,l),l=n.add(f,f),f=n.add(l,f),f=n.add(f,h),f=n.mul(f,p),c=n.add(c,f),h=n.mul(a,s),h=n.add(h,h),f=n.mul(h,p),u=n.sub(u,f),l=n.mul(h,d),l=n.add(l,l),l=n.add(l,l),new A(u,c,l)}add(e){d(e);const{px:r,py:i,pz:o}=this,{px:a,py:s,pz:u}=e;let c=n.ZERO,l=n.ZERO,f=n.ZERO;const h=t.a,p=n.mul(t.b,_);let g=n.mul(r,a),y=n.mul(i,s),m=n.mul(o,u),b=n.add(r,i),v=n.add(a,s);b=n.mul(b,v),v=n.add(g,y),b=n.sub(b,v),v=n.add(r,o);let w=n.add(a,u);return v=n.mul(v,w),w=n.add(g,m),v=n.sub(v,w),w=n.add(i,o),c=n.add(s,u),w=n.mul(w,c),c=n.add(y,m),w=n.sub(w,c),f=n.mul(h,v),c=n.mul(p,m),f=n.add(c,f),c=n.sub(y,f),f=n.add(y,f),l=n.mul(c,f),y=n.add(g,g),y=n.add(y,g),m=n.mul(h,m),v=n.mul(p,v),y=n.add(y,m),m=n.sub(g,m),m=n.mul(h,m),v=n.add(v,m),g=n.mul(y,v),l=n.add(l,g),g=n.mul(w,v),c=n.mul(b,c),c=n.sub(c,g),g=n.mul(b,y),f=n.mul(w,f),f=n.add(f,g),new A(c,l,f)}subtract(e){return this.add(e.negate())}is0(){return this.equals(A.ZERO)}wNAF(e){return p.wNAFCached(this,c,e,(e=>{const t=n.invertBatch(e.map((e=>e.pz)));return e.map(((e,n)=>e.toAffine(t[n]))).map(A.fromAffine)}))}multiplyUnsafe(e){const r=A.ZERO;if(e===I)return r;if(s(e),e===B)return this;const{endo:i}=t;if(!i)return p.unsafeLadder(this,e);let{k1neg:o,k1:a,k2neg:u,k2:c}=i.splitScalar(e),l=r,f=r,d=this;for(;a>I||c>I;)a&B&&(l=l.add(d)),c&B&&(f=f.add(d)),d=d.double(),a>>=B,c>>=B;return o&&(l=l.negate()),u&&(f=f.negate()),f=new A(n.mul(f.px,i.beta),f.py,f.pz),l.add(f)}multiply(e){s(e);let r,i,o=e;const{endo:a}=t;if(a){const{k1neg:e,k1:t,k2neg:s,k2:u}=a.splitScalar(o);let{p:c,f:l}=this.wNAF(t),{p:f,f:d}=this.wNAF(u);c=p.constTimeNegate(e,c),f=p.constTimeNegate(s,f),f=new A(n.mul(f.px,a.beta),f.py,f.pz),r=c.add(f),i=l.add(d)}else{const{p:e,f:t}=this.wNAF(o);r=e,i=t}return A.normalizeZ([r,i])[0]}multiplyAndAddUnsafe(e,t,n){const r=A.BASE,i=(e,t)=>t!==I&&t!==B&&e.equals(r)?e.multiply(t):e.multiplyUnsafe(t),o=i(this,t).add(i(e,n));return o.is0()?void 0:o}toAffine(e){const{px:t,py:r,pz:i}=this,o=this.is0();null==e&&(e=o?n.ONE:n.inv(i));const a=n.mul(t,e),s=n.mul(r,e),u=n.mul(i,e);if(o)return{x:n.ZERO,y:n.ZERO};if(!n.eql(u,n.ONE))throw new Error("invZ was invalid");return{x:a,y:s}}isTorsionFree(){const{h:e,isTorsionFree:n}=t;if(e===B)return!0;if(n)return n(A,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:e,clearCofactor:n}=t;return e===B?this:n?n(A,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),r(A,this,e)}toHex(e=!0){return f.My(this.toRawBytes(e))}}A.BASE=new A(t.Gx,t.Gy,n.ONE),A.ZERO=new A(n.ZERO,n.ONE,n.ZERO);const h=t.nBitLength,p=(0,b.A)(A,t.endo?Math.ceil(h/2):h);return{CURVE:t,ProjectivePoint:A,normPrivateKeyToScalar:u,weierstrassEquation:o,isWithinCurveOrder:a}}function k(e,t){if(l.jr(e),!e.isValid(t.A)||!e.isValid(t.B)||!e.isValid(t.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");const n=function(e,t){const n=e.ORDER;let r=I;for(let e=n-B;e%C===I;e/=C)r+=B;const i=r,o=C<{let r=f,o=e.pow(n,c),a=e.sqr(o);a=e.mul(a,n);let s=e.mul(t,a);s=e.pow(s,u),s=e.mul(s,o),o=e.mul(s,n),a=e.mul(s,t);let A=e.mul(a,o);s=e.pow(A,l);let h=e.eql(s,e.ONE);o=e.mul(a,d),s=e.mul(A,r),a=e.cmov(o,a,h),A=e.cmov(s,A,h);for(let t=i;t>B;t--){let n=t-C;n=C<{let o=e.sqr(i);const a=e.mul(t,i);o=e.mul(o,a);let s=e.pow(o,n);s=e.mul(s,a);const u=e.mul(s,r),c=e.mul(e.sqr(s),i),l=e.eql(c,t);return{isValid:l,value:e.cmov(u,s,l)}}}return A}(e,t.Z);if(!e.isOdd)throw new Error("Fp.isOdd is not implemented!");return r=>{let i,o,a,s,u,c,l,f;i=e.sqr(r),i=e.mul(i,t.Z),o=e.sqr(i),o=e.add(o,i),a=e.add(o,e.ONE),a=e.mul(a,t.B),s=e.cmov(t.Z,e.neg(o),!e.eql(o,e.ZERO)),s=e.mul(s,t.A),o=e.sqr(a),c=e.sqr(s),u=e.mul(c,t.A),o=e.add(o,u),o=e.mul(o,a),c=e.mul(c,s),u=e.mul(c,t.B),o=e.add(o,u),l=e.mul(i,a);const{isValid:d,value:A}=n(o,c);f=e.mul(i,r),f=e.mul(f,A),l=e.cmov(l,a,d),f=e.cmov(f,A,d);const h=e.isOdd(r)===e.isOdd(f);return f=e.cmov(e.neg(f),f,h),l=e.div(l,s),{x:l,y:f}}}const M=BigInt(2),x=BigInt(3),R=BigInt(0),D=BigInt(1),T=BigInt(2),N=BigInt(3),O=BigInt(4),L=BigInt(8),P=BigInt(16),U=BigInt("0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab"),F=l.D0(U),j=l.D0(BigInt("0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001")),q=({c0:e,c1:t},{c0:n,c1:r})=>({c0:F.add(e,n),c1:F.add(t,r)}),G=({c0:e,c1:t},{c0:n,c1:r})=>({c0:F.sub(e,n),c1:F.sub(t,r)}),H=({c0:e,c1:t},n)=>{if("bigint"==typeof n)return{c0:F.mul(e,n),c1:F.mul(t,n)};const{c0:r,c1:i}=n;let o=F.mul(e,r),a=F.mul(t,i);return{c0:F.sub(o,a),c1:F.sub(F.mul(F.add(e,t),F.add(r,i)),F.add(o,a))}},Y=({c0:e,c1:t})=>{const n=F.add(e,t),r=F.sub(e,t),i=F.add(e,e);return{c0:F.mul(n,r),c1:F.mul(i,t)}},K=U*U,z={ORDER:K,BITS:(0,f.dJ)(K),BYTES:Math.ceil((0,f.dJ)(K)/8),MASK:(0,f.OG)((0,f.dJ)(K)),ZERO:{c0:F.ZERO,c1:F.ZERO},ONE:{c0:F.ONE,c1:F.ZERO},create:e=>e,isValid:({c0:e,c1:t})=>"bigint"==typeof e&&"bigint"==typeof t,is0:({c0:e,c1:t})=>F.is0(e)&&F.is0(t),eql:({c0:e,c1:t},{c0:n,c1:r})=>F.eql(e,n)&&F.eql(t,r),neg:({c0:e,c1:t})=>({c0:F.neg(e),c1:F.neg(t)}),pow:(e,t)=>l.f4(z,e,t),invertBatch:e=>l.pS(z,e),add:q,sub:G,mul:H,sqr:Y,addN:q,subN:G,mulN:H,sqrN:Y,div:(e,t)=>z.mul(e,"bigint"==typeof t?F.inv(F.create(t)):z.inv(t)),inv:({c0:e,c1:t})=>{const n=F.inv(F.create(e*e+t*t));return{c0:F.mul(n,F.create(e)),c1:F.mul(n,F.create(-t))}},sqrt:e=>{if(z.eql(e,z.ZERO))return z.ZERO;const t=z.pow(e,(z.ORDER+L)/P),n=z.div(z.sqr(t),e),r=W,i=[r[0],r[2],r[4],r[6]].find((e=>z.eql(e,n)));if(!i)throw new Error("No root");const o=r.indexOf(i),a=r[o/2];if(!a)throw new Error("Invalid root");const s=z.div(t,a),u=z.neg(s),{re:c,im:l}=z.reim(s),{re:f,im:d}=z.reim(u);return l>d||l===d&&c>f?s:u},isOdd:e=>{const{re:t,im:n}=z.reim(e);return BigInt(t%T||t===R&&n%T)==D},fromBytes(e){if(e.length!==z.BYTES)throw new Error(`fromBytes wrong length=${e.length}`);return{c0:F.fromBytes(e.subarray(0,F.BYTES)),c1:F.fromBytes(e.subarray(F.BYTES))}},toBytes:({c0:e,c1:t})=>(0,f.Id)(F.toBytes(e),F.toBytes(t)),cmov:({c0:e,c1:t},{c0:n,c1:r},i)=>({c0:F.cmov(e,n,i),c1:F.cmov(t,r,i)}),reim:({c0:e,c1:t})=>({re:e,im:t}),mulByNonresidue:({c0:e,c1:t})=>({c0:F.sub(e,t),c1:F.add(e,t)}),multiplyByB:({c0:e,c1:t})=>{let n=F.mul(e,O),r=F.mul(t,O);return{c0:F.sub(n,r),c1:F.add(n,r)}},fromBigTuple:e=>{if(2!==e.length)throw new Error("Invalid tuple");const t=e.map((e=>F.create(e)));return{c0:t[0],c1:t[1]}},frobeniusMap:({c0:e,c1:t},n)=>({c0:e,c1:F.mul(t,V[n%2])})},V=[BigInt("0x1"),BigInt("0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaaa")].map((e=>F.create(e))),J=BigInt("0x6af0e0437ff400b6831e36d6bd17ffe48395dabc2d3435e77f76e17009241c5ee67992f72ec05f4c81084fbede3cc09"),W=[[D,R],[J,-J],[R,D],[J,J],[-D,R],[-J,J],[R,-D],[-J,-J]].map((e=>z.fromBigTuple(e))),$=({c0:e,c1:t,c2:n},{c0:r,c1:i,c2:o})=>({c0:z.add(e,r),c1:z.add(t,i),c2:z.add(n,o)}),Z=({c0:e,c1:t,c2:n},{c0:r,c1:i,c2:o})=>({c0:z.sub(e,r),c1:z.sub(t,i),c2:z.sub(n,o)}),X=({c0:e,c1:t,c2:n},r)=>{if("bigint"==typeof r)return{c0:z.mul(e,r),c1:z.mul(t,r),c2:z.mul(n,r)};const{c0:i,c1:o,c2:a}=r,s=z.mul(e,i),u=z.mul(t,o),c=z.mul(n,a);return{c0:z.add(s,z.mulByNonresidue(z.sub(z.mul(z.add(t,n),z.add(o,a)),z.add(u,c)))),c1:z.add(z.sub(z.mul(z.add(e,t),z.add(i,o)),z.add(s,u)),z.mulByNonresidue(c)),c2:z.sub(z.add(u,z.mul(z.add(e,n),z.add(i,a))),z.add(s,c))}},ee=({c0:e,c1:t,c2:n})=>{let r=z.sqr(e),i=z.mul(z.mul(e,t),T),o=z.mul(z.mul(t,n),T),a=z.sqr(n);return{c0:z.add(z.mulByNonresidue(o),r),c1:z.add(z.mulByNonresidue(a),i),c2:z.sub(z.sub(z.add(z.add(i,z.sqr(z.add(z.sub(e,t),n))),o),r),a)}},te={ORDER:z.ORDER,BITS:3*z.BITS,BYTES:3*z.BYTES,MASK:(0,f.OG)(3*z.BITS),ZERO:{c0:z.ZERO,c1:z.ZERO,c2:z.ZERO},ONE:{c0:z.ONE,c1:z.ZERO,c2:z.ZERO},create:e=>e,isValid:({c0:e,c1:t,c2:n})=>z.isValid(e)&&z.isValid(t)&&z.isValid(n),is0:({c0:e,c1:t,c2:n})=>z.is0(e)&&z.is0(t)&&z.is0(n),neg:({c0:e,c1:t,c2:n})=>({c0:z.neg(e),c1:z.neg(t),c2:z.neg(n)}),eql:({c0:e,c1:t,c2:n},{c0:r,c1:i,c2:o})=>z.eql(e,r)&&z.eql(t,i)&&z.eql(n,o),sqrt:()=>{throw new Error("Not implemented")},div:(e,t)=>te.mul(e,"bigint"==typeof t?F.inv(F.create(t)):te.inv(t)),pow:(e,t)=>l.f4(te,e,t),invertBatch:e=>l.pS(te,e),add:$,sub:Z,mul:X,sqr:ee,addN:$,subN:Z,mulN:X,sqrN:ee,inv:({c0:e,c1:t,c2:n})=>{let r=z.sub(z.sqr(e),z.mulByNonresidue(z.mul(n,t))),i=z.sub(z.mulByNonresidue(z.sqr(n)),z.mul(e,t)),o=z.sub(z.sqr(t),z.mul(e,n)),a=z.inv(z.add(z.mulByNonresidue(z.add(z.mul(n,i),z.mul(t,o))),z.mul(e,r)));return{c0:z.mul(a,r),c1:z.mul(a,i),c2:z.mul(a,o)}},fromBytes:e=>{if(e.length!==te.BYTES)throw new Error(`fromBytes wrong length=${e.length}`);return{c0:z.fromBytes(e.subarray(0,z.BYTES)),c1:z.fromBytes(e.subarray(z.BYTES,2*z.BYTES)),c2:z.fromBytes(e.subarray(2*z.BYTES))}},toBytes:({c0:e,c1:t,c2:n})=>(0,f.Id)(z.toBytes(e),z.toBytes(t),z.toBytes(n)),cmov:({c0:e,c1:t,c2:n},{c0:r,c1:i,c2:o},a)=>({c0:z.cmov(e,r,a),c1:z.cmov(t,i,a),c2:z.cmov(n,o,a)}),fromBigSix:e=>{if(!Array.isArray(e)||6!==e.length)throw new Error("Invalid Fp6 usage");return{c0:z.fromBigTuple(e.slice(0,2)),c1:z.fromBigTuple(e.slice(2,4)),c2:z.fromBigTuple(e.slice(4,6))}},frobeniusMap:({c0:e,c1:t,c2:n},r)=>({c0:z.frobeniusMap(e,r),c1:z.mul(z.frobeniusMap(t,r),ne[r%6]),c2:z.mul(z.frobeniusMap(n,r),re[r%6])}),mulByNonresidue:({c0:e,c1:t,c2:n})=>({c0:z.mulByNonresidue(n),c1:e,c2:t}),multiplyBy1:({c0:e,c1:t,c2:n},r)=>({c0:z.mulByNonresidue(z.mul(n,r)),c1:z.mul(e,r),c2:z.mul(t,r)}),multiplyBy01({c0:e,c1:t,c2:n},r,i){let o=z.mul(e,r),a=z.mul(t,i);return{c0:z.add(z.mulByNonresidue(z.sub(z.mul(z.add(t,n),i),a)),o),c1:z.sub(z.sub(z.mul(z.add(r,i),z.add(e,t)),o),a),c2:z.add(z.sub(z.mul(z.add(e,n),r),o),a)}},multiplyByFp2:({c0:e,c1:t,c2:n},r)=>({c0:z.mul(e,r),c1:z.mul(t,r),c2:z.mul(n,r)})},ne=[[BigInt("0x1"),BigInt("0x0")],[BigInt("0x0"),BigInt("0x1a0111ea397fe699ec02408663d4de85aa0d857d89759ad4897d29650fb85f9b409427eb4f49fffd8bfd00000000aaac")],[BigInt("0x00000000000000005f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffefffe"),BigInt("0x0")],[BigInt("0x0"),BigInt("0x1")],[BigInt("0x1a0111ea397fe699ec02408663d4de85aa0d857d89759ad4897d29650fb85f9b409427eb4f49fffd8bfd00000000aaac"),BigInt("0x0")],[BigInt("0x0"),BigInt("0x00000000000000005f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffefffe")]].map((e=>z.fromBigTuple(e))),re=[[BigInt("0x1"),BigInt("0x0")],[BigInt("0x1a0111ea397fe699ec02408663d4de85aa0d857d89759ad4897d29650fb85f9b409427eb4f49fffd8bfd00000000aaad"),BigInt("0x0")],[BigInt("0x1a0111ea397fe699ec02408663d4de85aa0d857d89759ad4897d29650fb85f9b409427eb4f49fffd8bfd00000000aaac"),BigInt("0x0")],[BigInt("0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaaa"),BigInt("0x0")],[BigInt("0x00000000000000005f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffefffe"),BigInt("0x0")],[BigInt("0x00000000000000005f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffeffff"),BigInt("0x0")]].map((e=>z.fromBigTuple(e))),ie=BigInt("0xd201000000010000"),oe=(0,f.dJ)(ie),ae=({c0:e,c1:t},{c0:n,c1:r})=>({c0:te.add(e,n),c1:te.add(t,r)}),se=({c0:e,c1:t},{c0:n,c1:r})=>({c0:te.sub(e,n),c1:te.sub(t,r)}),ue=({c0:e,c1:t},n)=>{if("bigint"==typeof n)return{c0:te.mul(e,n),c1:te.mul(t,n)};let{c0:r,c1:i}=n,o=te.mul(e,r),a=te.mul(t,i);return{c0:te.add(o,te.mulByNonresidue(a)),c1:te.sub(te.mul(te.add(e,t),te.add(r,i)),te.add(o,a))}},ce=({c0:e,c1:t})=>{let n=te.mul(e,t);return{c0:te.sub(te.sub(te.mul(te.add(te.mulByNonresidue(t),e),te.add(e,t)),n),te.mulByNonresidue(n)),c1:te.add(n,n)}};function le(e,t){const n=z.sqr(e),r=z.sqr(t);return{first:z.add(z.mulByNonresidue(r),n),second:z.sub(z.sub(z.sqr(z.add(e,t)),n),r)}}const fe={ORDER:z.ORDER,BITS:2*z.BITS,BYTES:2*z.BYTES,MASK:(0,f.OG)(2*z.BITS),ZERO:{c0:te.ZERO,c1:te.ZERO},ONE:{c0:te.ONE,c1:te.ZERO},create:e=>e,isValid:({c0:e,c1:t})=>te.isValid(e)&&te.isValid(t),is0:({c0:e,c1:t})=>te.is0(e)&&te.is0(t),neg:({c0:e,c1:t})=>({c0:te.neg(e),c1:te.neg(t)}),eql:({c0:e,c1:t},{c0:n,c1:r})=>te.eql(e,n)&&te.eql(t,r),sqrt:()=>{throw new Error("Not implemented")},inv:({c0:e,c1:t})=>{let n=te.inv(te.sub(te.sqr(e),te.mulByNonresidue(te.sqr(t))));return{c0:te.mul(e,n),c1:te.neg(te.mul(t,n))}},div:(e,t)=>fe.mul(e,"bigint"==typeof t?F.inv(F.create(t)):fe.inv(t)),pow:(e,t)=>l.f4(fe,e,t),invertBatch:e=>l.pS(fe,e),add:ae,sub:se,mul:ue,sqr:ce,addN:ae,subN:se,mulN:ue,sqrN:ce,fromBytes:e=>{if(e.length!==fe.BYTES)throw new Error(`fromBytes wrong length=${e.length}`);return{c0:te.fromBytes(e.subarray(0,te.BYTES)),c1:te.fromBytes(e.subarray(te.BYTES))}},toBytes:({c0:e,c1:t})=>(0,f.Id)(te.toBytes(e),te.toBytes(t)),cmov:({c0:e,c1:t},{c0:n,c1:r},i)=>({c0:te.cmov(e,n,i),c1:te.cmov(t,r,i)}),fromBigTwelve:e=>({c0:te.fromBigSix(e.slice(0,6)),c1:te.fromBigSix(e.slice(6,12))}),frobeniusMap(e,t){const n=te.frobeniusMap(e.c0,t),{c0:r,c1:i,c2:o}=te.frobeniusMap(e.c1,t),a=de[t%12];return{c0:n,c1:te.create({c0:z.mul(r,a),c1:z.mul(i,a),c2:z.mul(o,a)})}},multiplyBy014:({c0:e,c1:t},n,r,i)=>{let o=te.multiplyBy01(e,n,r),a=te.multiplyBy1(t,i);return{c0:te.add(te.mulByNonresidue(a),o),c1:te.sub(te.sub(te.multiplyBy01(te.add(t,e),n,z.add(r,i)),o),a)}},multiplyByFp2:({c0:e,c1:t},n)=>({c0:te.multiplyByFp2(e,n),c1:te.multiplyByFp2(t,n)}),conjugate:({c0:e,c1:t})=>({c0:e,c1:te.neg(t)}),_cyclotomicSquare:({c0:e,c1:t})=>{const{c0:n,c1:r,c2:i}=e,{c0:o,c1:a,c2:s}=t,{first:u,second:c}=le(n,a),{first:l,second:f}=le(o,i),{first:d,second:A}=le(r,s);let h=z.mulByNonresidue(A);return{c0:te.create({c0:z.add(z.mul(z.sub(u,n),T),u),c1:z.add(z.mul(z.sub(l,r),T),l),c2:z.add(z.mul(z.sub(d,i),T),d)}),c1:te.create({c0:z.add(z.mul(z.add(h,o),T),h),c1:z.add(z.mul(z.add(c,a),T),c),c2:z.add(z.mul(z.add(f,s),T),f)})}},_cyclotomicExp(e,t){let n=fe.ONE;for(let r=oe-1;r>=0;r--)n=fe._cyclotomicSquare(n),(0,f.GU)(t,r)&&(n=fe.mul(n,e));return n},finalExponentiate:e=>{const t=ie,n=fe.div(fe.frobeniusMap(e,6),e),r=fe.mul(fe.frobeniusMap(n,2),n),i=fe.conjugate(fe._cyclotomicExp(r,t)),o=fe.mul(fe.conjugate(fe._cyclotomicSquare(r)),i),a=fe.conjugate(fe._cyclotomicExp(o,t)),s=fe.conjugate(fe._cyclotomicExp(a,t)),u=fe.mul(fe.conjugate(fe._cyclotomicExp(s,t)),fe._cyclotomicSquare(i)),c=fe.conjugate(fe._cyclotomicExp(u,t)),l=fe.frobeniusMap(fe.mul(i,s),2),f=fe.frobeniusMap(fe.mul(a,r),3),d=fe.frobeniusMap(fe.mul(u,fe.conjugate(r)),1),A=fe.mul(fe.mul(c,fe.conjugate(o)),r);return fe.mul(fe.mul(fe.mul(l,f),d),A)}},de=[[BigInt("0x1"),BigInt("0x0")],[BigInt("0x1904d3bf02bb0667c231beb4202c0d1f0fd603fd3cbd5f4f7b2443d784bab9c4f67ea53d63e7813d8d0775ed92235fb8"),BigInt("0x00fc3e2b36c4e03288e9e902231f9fb854a14787b6c7b36fec0c8ec971f63c5f282d5ac14d6c7ec22cf78a126ddc4af3")],[BigInt("0x00000000000000005f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffeffff"),BigInt("0x0")],[BigInt("0x135203e60180a68ee2e9c448d77a2cd91c3dedd930b1cf60ef396489f61eb45e304466cf3e67fa0af1ee7b04121bdea2"),BigInt("0x06af0e0437ff400b6831e36d6bd17ffe48395dabc2d3435e77f76e17009241c5ee67992f72ec05f4c81084fbede3cc09")],[BigInt("0x00000000000000005f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffefffe"),BigInt("0x0")],[BigInt("0x144e4211384586c16bd3ad4afa99cc9170df3560e77982d0db45f3536814f0bd5871c1908bd478cd1ee605167ff82995"),BigInt("0x05b2cfd9013a5fd8df47fa6b48b1e045f39816240c0b8fee8beadf4d8e9c0566c63a3e6e257f87329b18fae980078116")],[BigInt("0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaaa"),BigInt("0x0")],[BigInt("0x00fc3e2b36c4e03288e9e902231f9fb854a14787b6c7b36fec0c8ec971f63c5f282d5ac14d6c7ec22cf78a126ddc4af3"),BigInt("0x1904d3bf02bb0667c231beb4202c0d1f0fd603fd3cbd5f4f7b2443d784bab9c4f67ea53d63e7813d8d0775ed92235fb8")],[BigInt("0x1a0111ea397fe699ec02408663d4de85aa0d857d89759ad4897d29650fb85f9b409427eb4f49fffd8bfd00000000aaac"),BigInt("0x0")],[BigInt("0x06af0e0437ff400b6831e36d6bd17ffe48395dabc2d3435e77f76e17009241c5ee67992f72ec05f4c81084fbede3cc09"),BigInt("0x135203e60180a68ee2e9c448d77a2cd91c3dedd930b1cf60ef396489f61eb45e304466cf3e67fa0af1ee7b04121bdea2")],[BigInt("0x1a0111ea397fe699ec02408663d4de85aa0d857d89759ad4897d29650fb85f9b409427eb4f49fffd8bfd00000000aaad"),BigInt("0x0")],[BigInt("0x05b2cfd9013a5fd8df47fa6b48b1e045f39816240c0b8fee8beadf4d8e9c0566c63a3e6e257f87329b18fae980078116"),BigInt("0x144e4211384586c16bd3ad4afa99cc9170df3560e77982d0db45f3536814f0bd5871c1908bd478cd1ee605167ff82995")]].map((e=>z.fromBigTuple(e))),Ae=y(z,[[["0x5c759507e8e333ebb5b7a9a47d7ed8532c52d39fd3a042a88b58423c50ae15d5c2638e343d9c71c6238aaaaaaaa97d6","0x5c759507e8e333ebb5b7a9a47d7ed8532c52d39fd3a042a88b58423c50ae15d5c2638e343d9c71c6238aaaaaaaa97d6"],["0x0","0x11560bf17baa99bc32126fced787c88f984f87adf7ae0c7f9a208c6b4f20a4181472aaa9cb8d555526a9ffffffffc71a"],["0x11560bf17baa99bc32126fced787c88f984f87adf7ae0c7f9a208c6b4f20a4181472aaa9cb8d555526a9ffffffffc71e","0x8ab05f8bdd54cde190937e76bc3e447cc27c3d6fbd7063fcd104635a790520c0a395554e5c6aaaa9354ffffffffe38d"],["0x171d6541fa38ccfaed6dea691f5fb614cb14b4e7f4e810aa22d6108f142b85757098e38d0f671c7188e2aaaaaaaa5ed1","0x0"]],[["0x0","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaa63"],["0xc","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaa9f"],["0x1","0x0"]],[["0x1530477c7ab4113b59a4c18b076d11930f7da5d4a07f649bf54439d87d27e500fc8c25ebf8c92f6812cfc71c71c6d706","0x1530477c7ab4113b59a4c18b076d11930f7da5d4a07f649bf54439d87d27e500fc8c25ebf8c92f6812cfc71c71c6d706"],["0x0","0x5c759507e8e333ebb5b7a9a47d7ed8532c52d39fd3a042a88b58423c50ae15d5c2638e343d9c71c6238aaaaaaaa97be"],["0x11560bf17baa99bc32126fced787c88f984f87adf7ae0c7f9a208c6b4f20a4181472aaa9cb8d555526a9ffffffffc71c","0x8ab05f8bdd54cde190937e76bc3e447cc27c3d6fbd7063fcd104635a790520c0a395554e5c6aaaa9354ffffffffe38f"],["0x124c9ad43b6cf79bfbf7043de3811ad0761b0f37a1e26286b0e977c69aa274524e79097a56dc4bd9e1b371c71c718b10","0x0"]],[["0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffa8fb","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffa8fb"],["0x0","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffa9d3"],["0x12","0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaa99"],["0x1","0x0"]]].map((e=>e.map((e=>z.fromBigTuple(e.map(BigInt))))))),he=y(F,[["0x11a05f2b1e833340b809101dd99815856b303e88a2d7005ff2627b56cdb4e2c85610c2d5f2e62d6eaeac1662734649b7","0x17294ed3e943ab2f0588bab22147a81c7c17e75b2f6a8417f565e33c70d1e86b4838f2a6f318c356e834eef1b3cb83bb","0xd54005db97678ec1d1048c5d10a9a1bce032473295983e56878e501ec68e25c958c3e3d2a09729fe0179f9dac9edcb0","0x1778e7166fcc6db74e0609d307e55412d7f5e4656a8dbf25f1b33289f1b330835336e25ce3107193c5b388641d9b6861","0xe99726a3199f4436642b4b3e4118e5499db995a1257fb3f086eeb65982fac18985a286f301e77c451154ce9ac8895d9","0x1630c3250d7313ff01d1201bf7a74ab5db3cb17dd952799b9ed3ab9097e68f90a0870d2dcae73d19cd13c1c66f652983","0xd6ed6553fe44d296a3726c38ae652bfb11586264f0f8ce19008e218f9c86b2a8da25128c1052ecaddd7f225a139ed84","0x17b81e7701abdbe2e8743884d1117e53356de5ab275b4db1a682c62ef0f2753339b7c8f8c8f475af9ccb5618e3f0c88e","0x80d3cf1f9a78fc47b90b33563be990dc43b756ce79f5574a2c596c928c5d1de4fa295f296b74e956d71986a8497e317","0x169b1f8e1bcfa7c42e0c37515d138f22dd2ecb803a0c5c99676314baf4bb1b7fa3190b2edc0327797f241067be390c9e","0x10321da079ce07e272d8ec09d2565b0dfa7dccdde6787f96d50af36003b14866f69b771f8c285decca67df3f1605fb7b","0x6e08c248e260e70bd1e962381edee3d31d79d7e22c837bc23c0bf1bc24c6b68c24b1b80b64d391fa9c8ba2e8ba2d229"],["0x8ca8d548cff19ae18b2e62f4bd3fa6f01d5ef4ba35b48ba9c9588617fc8ac62b558d681be343df8993cf9fa40d21b1c","0x12561a5deb559c4348b4711298e536367041e8ca0cf0800c0126c2588c48bf5713daa8846cb026e9e5c8276ec82b3bff","0xb2962fe57a3225e8137e629bff2991f6f89416f5a718cd1fca64e00b11aceacd6a3d0967c94fedcfcc239ba5cb83e19","0x3425581a58ae2fec83aafef7c40eb545b08243f16b1655154cca8abc28d6fd04976d5243eecf5c4130de8938dc62cd8","0x13a8e162022914a80a6f1d5f43e7a07dffdfc759a12062bb8d6b44e833b306da9bd29ba81f35781d539d395b3532a21e","0xe7355f8e4e667b955390f7f0506c6e9395735e9ce9cad4d0a43bcef24b8982f7400d24bc4228f11c02df9a29f6304a5","0x772caacf16936190f3e0c63e0596721570f5799af53a1894e2e073062aede9cea73b3538f0de06cec2574496ee84a3a","0x14a7ac2a9d64a8b230b3f5b074cf01996e7f63c21bca68a81996e1cdf9822c580fa5b9489d11e2d311f7d99bbdcc5a5e","0xa10ecf6ada54f825e920b3dafc7a3cce07f8d1d7161366b74100da67f39883503826692abba43704776ec3a79a1d641","0x95fc13ab9e92ad4476d6e3eb3a56680f682b4ee96f7d03776df533978f31c1593174e4b4b7865002d6384d168ecdd0a","0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"],["0x90d97c81ba24ee0259d1f094980dcfa11ad138e48a869522b52af6c956543d3cd0c7aee9b3ba3c2be9845719707bb33","0x134996a104ee5811d51036d776fb46831223e96c254f383d0f906343eb67ad34d6c56711962fa8bfe097e75a2e41c696","0xcc786baa966e66f4a384c86a3b49942552e2d658a31ce2c344be4b91400da7d26d521628b00523b8dfe240c72de1f6","0x1f86376e8981c217898751ad8746757d42aa7b90eeb791c09e4a3ec03251cf9de405aba9ec61deca6355c77b0e5f4cb","0x8cc03fdefe0ff135caf4fe2a21529c4195536fbe3ce50b879833fd221351adc2ee7f8dc099040a841b6daecf2e8fedb","0x16603fca40634b6a2211e11db8f0a6a074a7d0d4afadb7bd76505c3d3ad5544e203f6326c95a807299b23ab13633a5f0","0x4ab0b9bcfac1bbcb2c977d027796b3ce75bb8ca2be184cb5231413c4d634f3747a87ac2460f415ec961f8855fe9d6f2","0x987c8d5333ab86fde9926bd2ca6c674170a05bfe3bdd81ffd038da6c26c842642f64550fedfe935a15e4ca31870fb29","0x9fc4018bd96684be88c9e221e4da1bb8f3abd16679dc26c1e8b6e6a1f20cabe69d65201c78607a360370e577bdba587","0xe1bba7a1186bdb5223abde7ada14a23c42a0ca7915af6fe06985e7ed1e4d43b9b3f7055dd4eba6f2bafaaebca731c30","0x19713e47937cd1be0dfd0b8f1d43fb93cd2fcbcb6caf493fd1183e416389e61031bf3a5cce3fbafce813711ad011c132","0x18b46a908f36f6deb918c143fed2edcc523559b8aaf0c2462e6bfe7f911f643249d9cdf41b44d606ce07c8a4d0074d8e","0xb182cac101b9399d155096004f53f447aa7b12a3426b08ec02710e807b4633f06c851c1919211f20d4c04f00b971ef8","0x245a394ad1eca9b72fc00ae7be315dc757b3b080d4c158013e6632d3c40659cc6cf90ad1c232a6442d9d3f5db980133","0x5c129645e44cf1102a159f748c4a3fc5e673d81d7e86568d9ab0f5d396a7ce46ba1049b6579afb7866b1e715475224b","0x15e6be4e990f03ce4ea50b3b42df2eb5cb181d8f84965a3957add4fa95af01b2b665027efec01c7704b456be69c8b604"],["0x16112c4c3a9c98b252181140fad0eae9601a6de578980be6eec3232b5be72e7a07f3688ef60c206d01479253b03663c1","0x1962d75c2381201e1a0cbd6c43c348b885c84ff731c4d59ca4a10356f453e01f78a4260763529e3532f6102c2e49a03d","0x58df3306640da276faaae7d6e8eb15778c4855551ae7f310c35a5dd279cd2eca6757cd636f96f891e2538b53dbf67f2","0x16b7d288798e5395f20d23bf89edb4d1d115c5dbddbcd30e123da489e726af41727364f2c28297ada8d26d98445f5416","0xbe0e079545f43e4b00cc912f8228ddcc6d19c9f0f69bbb0542eda0fc9dec916a20b15dc0fd2ededda39142311a5001d","0x8d9e5297186db2d9fb266eaac783182b70152c65550d881c5ecd87b6f0f5a6449f38db9dfa9cce202c6477faaf9b7ac","0x166007c08a99db2fc3ba8734ace9824b5eecfdfa8d0cf8ef5dd365bc400a0051d5fa9c01a58b1fb93d1a1399126a775c","0x16a3ef08be3ea7ea03bcddfabba6ff6ee5a4375efa1f4fd7feb34fd206357132b920f5b00801dee460ee415a15812ed9","0x1866c8ed336c61231a1be54fd1d74cc4f9fb0ce4c6af5920abc5750c4bf39b4852cfe2f7bb9248836b233d9d55535d4a","0x167a55cda70a6e1cea820597d94a84903216f763e13d87bb5308592e7ea7d4fbc7385ea3d529b35e346ef48bb8913f55","0x4d2f259eea405bd48f010a01ad2911d9c6dd039bb61a6290e591b36e636a5c871a5c29f4f83060400f8b49cba8f6aa8","0xaccbb67481d033ff5852c1e48c50c477f94ff8aefce42d28c0f9a88cea7913516f968986f7ebbea9684b529e2561092","0xad6b9514c767fe3c3613144b45f1496543346d98adf02267d5ceef9a00d9b8693000763e3b90ac11e99b138573345cc","0x2660400eb2e4f3b628bdd0d53cd76f2bf565b94e72927c1cb748df27942480e420517bd8714cc80d1fadc1326ed06f7","0xe0fa1d816ddc03e6b24255e0d7819c171c40f65e273b853324efcd6356caa205ca2f570f13497804415473a1d634b8f","0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"]].map((e=>e.map((e=>BigInt(e)))))),pe=k(z,{A:z.create({c0:F.create(R),c1:F.create(BigInt(240))}),B:z.create({c0:F.create(BigInt(1012)),c1:F.create(BigInt(1012))}),Z:z.create({c0:F.create(BigInt(-2)),c1:F.create(BigInt(-1))})}),ge=k(F,{A:F.create(BigInt("0x144698a3b8e9433d693a02c96d4982b0ea985383ee66a8d8e8981aefd881ac98936f8da0e0f97f5cf428082d584c1d")),B:F.create(BigInt("0x12e2908d11688030018b12e8753eee3b2016c1f0f24f4070a0b9c14fcef35ef55a23215a316ceaa5d1cc48e98e172be0")),Z:F.create(BigInt(11))}),ye=te.create({c0:z.ZERO,c1:z.ONE,c2:z.ZERO}),me=fe.create({c0:ye,c1:te.ZERO}),be=fe.create({c0:te.ZERO,c1:ye}),[ve,we]=fe.invertBatch([me,be]);function Ee(e,t){const n=t.toAffine(),r=(i=n.x,o=n.y,[fe.mul(fe.frobeniusMap(fe.multiplyByFp2(ve,i),1),me).c0.c0,fe.mul(fe.frobeniusMap(fe.multiplyByFp2(we,o),1),be).c0.c0]);var i,o;return new e(r[0],r[1],z.ONE)}const Ie=BigInt("0x1a0111ea397fe699ec02408663d4de85aa0d857d89759ad4897d29650fb85f9b409427eb4f49fffd8bfd00000000aaac");const Be=Object.freeze({DST:"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_",encodeDST:"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_",p:F.ORDER,m:2,k:128,expand:"xmd",hash:u.s}),Ce=Se(F.toBytes(R),{infinity:!0,compressed:!0});function _e(e){const t=224&(e=e.slice())[0],n=!!(t>>7&1),r=!!(t>>6&1),i=!!(t>>5&1);return e[0]&=31,{compressed:n,infinity:r,sort:i,value:e}}function Se(e,t){if(224&e[0])throw new Error("setMask: non-empty mask");return t.compressed&&(e[0]|=128),t.infinity&&(e[0]|=64),t.sort&&(e[0]|=32),e}function Qe(e){e.assertValidity();const t=e.equals(Me.G1.ProjectivePoint.ZERO),{x:n,y:r}=e.toAffine();if(t)return Ce.slice();const i=F.ORDER,o=Boolean(r*T/i);return Se((0,f.lq)(n,F.BYTES),{compressed:!0,sort:o})}function ke(e){e.assertValidity();const t=F.BYTES;if(e.equals(Me.G2.ProjectivePoint.ZERO))return(0,f.Id)(Ce,(0,f.lq)(R,t));const{x:n,y:r}=e.toAffine(),{re:i,im:o}=z.reim(n),{re:a,im:s}=z.reim(r),u=Boolean((s>R?s*T:a*T)/F.ORDER&D),c=i;return(0,f.Id)(Se((0,f.lq)(o,t),{sort:u,compressed:!0}),(0,f.lq)(c,t))}const Me=function(e){const{Fp:t,Fr:n,Fp2:r,Fp6:i,Fp12:o}=e.fields,a=(0,f.dJ)(e.params.x);function s(t){const{x:n,y:i}=t,o=n,s=i;let u=o,c=s,l=r.ONE,d=[];for(let t=a-2;t>=0;t--){let n=r.sqr(c),i=r.sqr(l),a=r.multiplyByB(r.mul(i,x)),A=r.mul(a,x),h=r.sub(r.sub(r.sqr(r.add(c,l)),i),n);if(d.push([r.sub(a,n),r.mul(r.sqr(u),x),r.neg(h)]),u=r.div(r.mul(r.mul(r.sub(n,A),u),c),M),c=r.sub(r.sqr(r.div(r.add(n,A),M)),r.mul(r.sqr(a),x)),l=r.mul(n,h),(0,f.GU)(e.params.x,t)){let e=r.sub(c,r.mul(s,l)),t=r.sub(u,r.mul(o,l));d.push([r.sub(r.mul(e,o),r.mul(t,s)),r.neg(e),t]);let n=r.sqr(t),i=r.mul(n,t),a=r.mul(n,u),f=r.add(r.sub(i,r.mul(a,M)),r.mul(r.sqr(e),l));u=r.mul(t,f),c=r.sub(r.mul(r.sub(a,f),e),r.mul(i,c)),l=r.mul(l,i)}}return d}function u(t,n){const{x:i}=e.params,s=n[0],u=n[1];let c=o.ONE;for(let e=0,n=a-2;n>=0;n--,e++){const a=t[e];if(c=o.multiplyBy014(c,a[0],r.mul(a[1],s),r.mul(a[2],u)),(0,f.GU)(i,n)){e+=1;const n=t[e];c=o.multiplyBy014(c,n[0],r.mul(n[1],s),r.mul(n[2],u))}0!==n&&(c=o.sqr(c))}return o.conjugate(c)}const c={randomPrivateKey:()=>{const t=(0,l.Tp)(n.ORDER);return(0,l.qy)(e.randomBytes(t),n.ORDER)},calcPairingPrecomputes:s},d=Q({n:n.ORDER,...e.G1}),A=Object.assign(d,m(d.ProjectivePoint,e.G1.mapToCurve,{...e.htfDefaults,...e.G1.htfDefaults})),h=Q({n:n.ORDER,...e.G2}),p=Object.assign(h,m(h.ProjectivePoint,e.G2.mapToCurve,{...e.htfDefaults,...e.G2.htfDefaults})),{ShortSignature:g}=e.G1,{Signature:y}=e.G2;function b(e,t,n=!0){if(e.equals(A.ProjectivePoint.ZERO)||t.equals(p.ProjectivePoint.ZERO))throw new Error("pairing is not available for ZERO point");e.assertValidity(),t.assertValidity();const r=e.toAffine(),i=u(function(e){const t=e;return t._PPRECOMPUTES||(t._PPRECOMPUTES=s(e.toAffine())),t._PPRECOMPUTES}(t),[r.x,r.y]);return n?o.finalExponentiate(i):i}function v(e){return e instanceof A.ProjectivePoint?e:A.ProjectivePoint.fromHex(e)}function w(e,t){return e instanceof A.ProjectivePoint?e:A.hashToCurve((0,f.qj)("point",e),t)}function E(e){return e instanceof p.ProjectivePoint?e:y.fromHex(e)}function I(e,t){return e instanceof p.ProjectivePoint?e:p.hashToCurve((0,f.qj)("point",e),t)}return A.ProjectivePoint.BASE._setWindowSize(4),{getPublicKey:function(e){return A.ProjectivePoint.fromPrivateKey(e).toRawBytes(!0)},getPublicKeyForShortSignatures:function(e){return p.ProjectivePoint.fromPrivateKey(e).toRawBytes(!0)},sign:function(e,t,n){const r=I(e,n);r.assertValidity();const i=r.multiply(A.normPrivateKeyToScalar(t));return e instanceof p.ProjectivePoint?i:y.toRawBytes(i)},signShortSignature:function(e,t,n){const r=w(e,n);r.assertValidity();const i=r.multiply(A.normPrivateKeyToScalar(t));return e instanceof A.ProjectivePoint?i:g.toRawBytes(i)},verify:function(e,t,n,r){const i=v(n),a=I(t,r),s=A.ProjectivePoint.BASE,u=E(e),c=b(i.negate(),a,!1),l=b(s,u,!1),f=o.finalExponentiate(o.mul(l,c));return o.eql(f,o.ONE)},verifyBatch:function(e,t,n,r){if(!t.length)throw new Error("Expected non-empty messages array");if(n.length!==t.length)throw new Error("Pubkey count should equal msg count");const i=E(e),a=t.map((e=>I(e,r))),s=n.map(v);try{const e=[];for(const t of new Set(a)){const n=a.reduce(((e,n,r)=>n===t?e.add(s[r]):e),A.ProjectivePoint.ZERO);e.push(b(n,t,!1))}e.push(b(A.ProjectivePoint.BASE.negate(),i,!1));const t=e.reduce(((e,t)=>o.mul(e,t)),o.ONE),n=o.finalExponentiate(t);return o.eql(n,o.ONE)}catch{return!1}},verifyShortSignature:function(e,t,n,r){const i=E(n),a=w(t,r),s=p.ProjectivePoint.BASE,u=v(e),c=b(a,i,!1),l=b(u,s.negate(),!1),f=o.finalExponentiate(o.mul(l,c));return o.eql(f,o.ONE)},aggregatePublicKeys:function(e){if(!e.length)throw new Error("Expected non-empty array");const t=e.map(v).reduce(((e,t)=>e.add(t)),A.ProjectivePoint.ZERO);return e[0]instanceof A.ProjectivePoint?(t.assertValidity(),t):t.toRawBytes(!0)},aggregateSignatures:function(e){if(!e.length)throw new Error("Expected non-empty array");const t=e.map(E).reduce(((e,t)=>e.add(t)),p.ProjectivePoint.ZERO);return e[0]instanceof p.ProjectivePoint?(t.assertValidity(),t):y.toRawBytes(t)},aggregateShortSignatures:function(e){if(!e.length)throw new Error("Expected non-empty array");const t=e.map(v).reduce(((e,t)=>e.add(t)),A.ProjectivePoint.ZERO);return e[0]instanceof A.ProjectivePoint?(t.assertValidity(),t):g.toRawBytes(t)},millerLoop:u,pairing:b,G1:A,G2:p,Signature:y,ShortSignature:g,fields:{Fr:n,Fp:t,Fp2:r,Fp6:i,Fp12:o},params:{x:e.params.x,r:e.params.r,G1b:e.G1.b,G2b:e.G2.b},utils:c}}({fields:{Fp:F,Fp2:z,Fp6:te,Fp12:fe,Fr:j},G1:{Fp:F,h:BigInt("0x396c8c005555e1568c00aaab0000aaab"),Gx:BigInt("0x17f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb"),Gy:BigInt("0x08b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e1"),a:F.ZERO,b:O,htfDefaults:{...Be,m:1,DST:"BLS_SIG_BLS12381G1_XMD:SHA-256_SSWU_RO_NUL_"},wrapPrivateKey:!0,allowInfinityPoint:!0,isTorsionFree:(e,t)=>{const n=BigInt("0x5f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffefffe"),r=new e(F.mul(t.px,n),t.py,t.pz);return t.multiplyUnsafe(Me.params.x).negate().multiplyUnsafe(Me.params.x).equals(r)},clearCofactor:(e,t)=>t.multiplyUnsafe(Me.params.x).add(t),mapToCurve:e=>{const{x:t,y:n}=ge(F.create(e[0]));return he(t,n)},fromBytes:e=>{const{compressed:t,infinity:n,sort:r,value:i}=_e(e);if(48===i.length&&t){const e=F.ORDER,t=(0,f.bytesToNumberBE)(i),o=F.create(t&F.MASK);if(n){if(o!==R)throw new Error("G1: non-empty compressed point at infinity");return{x:R,y:R}}const a=F.add(F.pow(o,N),F.create(Me.params.G1b));let s=F.sqrt(a);if(!s)throw new Error("Invalid compressed G1 point");return s*T/e!==BigInt(r)&&(s=F.neg(s)),{x:F.create(o),y:F.create(s)}}if(96!==i.length||t)throw new Error("Invalid point G1, expected 48/96 bytes");{const e=(0,f.bytesToNumberBE)(i.subarray(0,F.BYTES)),t=(0,f.bytesToNumberBE)(i.subarray(F.BYTES));if(n){if(e!==R||t!==R)throw new Error("G1: non-empty point at infinity");return Me.G1.ProjectivePoint.ZERO.toAffine()}return{x:F.create(e),y:F.create(t)}}},toBytes:(e,t,n)=>{const r=t.equals(e.ZERO),{x:i,y:o}=t.toAffine();if(n){if(r)return Ce.slice();const e=F.ORDER,t=Boolean(o*T/e);return Se((0,f.lq)(i,F.BYTES),{compressed:!0,sort:t})}return r?(0,f.Id)(new Uint8Array([64]),new Uint8Array(2*F.BYTES-1)):(0,f.Id)((0,f.lq)(i,F.BYTES),(0,f.lq)(o,F.BYTES))},ShortSignature:{fromHex(e){const{infinity:t,sort:n,value:r}=_e((0,f.qj)("signatureHex",e,48)),i=F.ORDER,o=(0,f.bytesToNumberBE)(r);if(t)return Me.G1.ProjectivePoint.ZERO;const a=F.create(o&F.MASK),s=F.add(F.pow(a,N),F.create(Me.params.G1b));let u=F.sqrt(s);if(!u)throw new Error("Invalid compressed G1 point");const c=BigInt(n);u*T/i!==c&&(u=F.neg(u));const l=Me.G1.ProjectivePoint.fromAffine({x:a,y:u});return l.assertValidity(),l},toRawBytes(e){return Qe(e)},toHex(e){return(0,f.My)(Qe(e))}}},G2:{Fp:z,h:BigInt("0x5d543a95414e7f1091d50792876a202cd91de4547085abaa68a205b2e5a7ddfa628f1cb4d9e82ef21537e293a6691ae1616ec6e786f0c70cf1c38e31c7238e5"),Gx:z.fromBigTuple([BigInt("0x024aa2b2f08f0a91260805272dc51051c6e47ad4fa403b02b4510b647ae3d1770bac0326a805bbefd48056c8c121bdb8"),BigInt("0x13e02b6052719f607dacd3a088274f65596bd0d09920b61ab5da61bbdc7f5049334cf11213945d57e5ac7d055d042b7e")]),Gy:z.fromBigTuple([BigInt("0x0ce5d527727d6e118cc9cdc6da2e351aadfd9baa8cbdd3a76d429a695160d12c923ac9cc3baca289e193548608b82801"),BigInt("0x0606c4a02ea734cc32acd2b02bc28b99cb3e287e85a763af267492ab572e99ab3f370d275cec1da1aaa9075ff05f79be")]),a:z.ZERO,b:z.fromBigTuple([O,O]),hEff:BigInt("0xbc69f08f2ee75b3584c6a0ea91b352888e2a8e9145ad7689986ff031508ffe1329c2f178731db956d82bf015d1212b02ec0ec69d7477c1ae954cbc06689f6a359894c0adebbf6b4e8020005aaa95551"),htfDefaults:{...Be},wrapPrivateKey:!0,allowInfinityPoint:!0,mapToCurve:e=>{const{x:t,y:n}=pe(z.fromBigTuple(e));return Ae(t,n)},isTorsionFree:(e,t)=>t.multiplyUnsafe(Me.params.x).negate().equals(Ee(e,t)),clearCofactor:(e,t)=>{const n=Me.params.x;let r=t.multiplyUnsafe(n).negate(),i=Ee(e,t),o=t.double();return o=function(e,t){const n=t.toAffine(),r=(i=n.x,o=n.y,[z.mul(i,Ie),z.neg(o)]);var i,o;return new e(r[0],r[1],z.ONE)}(e,o),o=o.subtract(i),i=r.add(i),i=i.multiplyUnsafe(n).negate(),o=o.add(i),o=o.subtract(r),o.subtract(t)},fromBytes:e=>{const{compressed:t,infinity:n,sort:r,value:i}=_e(e);if(!t&&!n&&r||!t&&n&&r||r&&n&&t)throw new Error("Invalid encoding flag: "+(224&e[0]));const o=F.BYTES,a=(e,t,n)=>(0,f.bytesToNumberBE)(e.slice(t,n));if(96===i.length&&t){const e=Me.params.G2b,t=F.ORDER;if(n){if(i.reduce(((e,t)=>0!==e?t+1:t),0)>0)throw new Error("Invalid compressed G2 point");return{x:z.ZERO,y:z.ZERO}}const s=a(i,0,o),u=a(i,o,2*o),c=z.create({c0:F.create(u),c1:F.create(s)}),l=z.add(z.pow(c,N),e);let f=z.sqrt(l);const d=f.c1===R?f.c0*T/t:f.c1*T/t?D:R;return f=r&&d>0?f:z.neg(f),{x:c,y:f}}if(192!==i.length||t)throw new Error("Invalid point G2, expected 96/192 bytes");{if(n){if(i.reduce(((e,t)=>0!==e?t+1:t),0)>0)throw new Error("Invalid uncompressed G2 point");return{x:z.ZERO,y:z.ZERO}}const e=a(i,0,o),t=a(i,o,2*o),r=a(i,2*o,3*o),s=a(i,3*o,4*o);return{x:z.fromBigTuple([t,e]),y:z.fromBigTuple([s,r])}}},toBytes:(e,t,n)=>{const{BYTES:r,ORDER:i}=F,o=t.equals(e.ZERO),{x:a,y:s}=t.toAffine();if(n){if(o)return(0,f.Id)(Ce,(0,f.lq)(R,r));const e=Boolean(s.c1===R?s.c0*T/i:s.c1*T/i);return(0,f.Id)(Se((0,f.lq)(a.c1,r),{compressed:!0,sort:e}),(0,f.lq)(a.c0,r))}{if(o)return(0,f.Id)(new Uint8Array([64]),new Uint8Array(4*r-1));const{re:e,im:t}=z.reim(a),{re:n,im:i}=z.reim(s);return(0,f.Id)((0,f.lq)(t,r),(0,f.lq)(e,r),(0,f.lq)(i,r),(0,f.lq)(n,r))}},Signature:{fromHex(e){const{infinity:t,sort:n,value:r}=_e((0,f.qj)("signatureHex",e)),i=F.ORDER,o=r.length/2;if(48!==o&&96!==o)throw new Error("Invalid compressed signature length, must be 96 or 192");const a=(0,f.bytesToNumberBE)(r.slice(0,o)),s=(0,f.bytesToNumberBE)(r.slice(o));if(t)return Me.G2.ProjectivePoint.ZERO;const u=F.create(a&F.MASK),c=F.create(s),l=z.create({c0:c,c1:u}),d=z.add(z.pow(l,N),Me.params.G2b);let A=z.sqrt(d);if(!A)throw new Error("Failed to find a square root");const{re:h,im:p}=z.reim(A),g=BigInt(n);(p>R&&p*T/i!==g||p===R&&h*T/i!==g)&&(A=z.neg(A));const y=Me.G2.ProjectivePoint.fromAffine({x:l,y:A});return y.assertValidity(),y},toRawBytes(e){return ke(e)},toHex(e){return(0,f.My)(ke(e))}}},params:{x:ie,r:j.ORDER},htfDefaults:Be,hash:u.s,randomBytes:c.po});function xe(e,t,n){const r="string"==typeof e?e:(0,a.nj)(e),i="string"==typeof t?t:(0,a.nj)(t),o="string"==typeof n?n:(0,a.nj)(n);return Me.verifyShortSignature(i,o,r)}var Re=n(9345);class De extends i.Y{constructor(e){super(`Invalid certificate: ${e}`)}}const Te={Empty:0,Fork:1,Labeled:2,Leaf:3,Pruned:4};function Ne(e,t){if(e.byteLength!==t.byteLength)return!1;const n=new Uint8Array(e),r=new Uint8Array(t);for(let e=0;ef)throw new De("Certificate is signed more than 5 minutes in the future. Certificate time: "+d.toISOString()+" Current time: "+new Date(c).toISOString());try{o=await this._blsVerify(new Uint8Array(r),new Uint8Array(n),new Uint8Array(i))}catch(e){o=!1}if(!o)throw new De("Signature verification failed")}async _checkDelegationAndGetKey(e){if(!e)return this._rootKey;const t=await Oe.createUnverified({certificate:e.certificate,rootKey:this._rootKey,canisterId:this._canisterId,blsVerify:this._blsVerify,maxAgeInMinutes:1/0});if(t.cert.delegation)throw new De("Delegation certificates cannot be nested");if(await t.verify(),!He({canisterId:this._canisterId,subnetId:s.p.fromUint8Array(new Uint8Array(e.subnet_id)),tree:t.cert.tree}))throw new De(`Canister ${this._canisterId} not in range of delegations for subnet 0x${(0,a.nj)(e.subnet_id)}`);const n=t.lookup(["subnet",e.subnet_id,"public_key"]);if(!n)throw new Error(`Could not find subnet key for subnet 0x${(0,a.nj)(e.subnet_id)}`);return n}}const Le=(0,a.aD)("308182301d060d2b0601040182dc7c0503010201060c2b0601040182dc7c05030201036100"),Pe=96;function Ue(e){return e instanceof ArrayBuffer?e:e instanceof Uint8Array?e.buffer:void 0}async function Fe(e){switch(e[0]){case Te.Empty:return(0,o.tW)(je("ic-hashtree-empty"));case Te.Pruned:return e[1];case Te.Leaf:return(0,o.tW)((0,a.xW)(je("ic-hashtree-leaf"),e[1]));case Te.Labeled:return(0,o.tW)((0,a.xW)(je("ic-hashtree-labeled"),e[1],await Fe(e[2])));case Te.Fork:return(0,o.tW)((0,a.xW)(je("ic-hashtree-fork"),await Fe(e[1]),await Fe(e[2])));default:throw new Error("unreachable")}}function je(e){const t=new Uint8Array([e.length]),n=(new TextEncoder).encode(e);return(0,a.xW)(t,n)}function qe(e,t){if(0===e.length)switch(t[0]){case Te.Leaf:if(!t[1])throw new Error("Invalid tree structure for leaf");return t[1]instanceof ArrayBuffer?t[1]:t[1]instanceof Uint8Array?t[1].buffer:t[1];case Te.Fork:default:return t}const n=function(e,t){if(0!==t.length)for(const n of t)if(n[0]===Te.Labeled&&Ne(e,n[1]))return n[2]}("string"==typeof e[0]?(new TextEncoder).encode(e[0]):e[0],Ge(t));if(n)return qe(e.slice(1),n)}function Ge(e){switch(e[0]){case Te.Empty:return[];case Te.Fork:return Ge(e[1]).concat(Ge(e[2]));default:return[e]}}function He(e){const{canisterId:t,subnetId:n,tree:i}=e,o=qe(["subnet",n.toUint8Array(),"canister_ranges"],i);if(!(o&&o instanceof ArrayBuffer))throw new Error(`Could not find canister ranges for subnet ${n}`);return r.D4(o).map((e=>[s.p.fromUint8Array(e[0]),s.p.fromUint8Array(e[1])])).some((e=>e[0].ltEq(t)&&e[1].gtEq(t)))}},7857:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});class r extends Error{constructor(e){super(e),this.message=e,Object.setPrototypeOf(this,r.prototype)}}},4141:function(e,t,n){"use strict";n.d(t,{Gb:function(){return l},tW:function(){return s},uF:function(){return f}});var r=n(4664),i=n(7516),o=n(8226),a=n(2338);function s(e){return(0,a.Nn)(o.s.create().update(new Uint8Array(e)).digest())}function u(e){if(e instanceof i.Tagged)return u(e.value);if("string"==typeof e)return c(e);if("number"==typeof e)return s((0,r.kk)(e));if(e instanceof ArrayBuffer||ArrayBuffer.isView(e))return s(e);if(Array.isArray(e)){const t=e.map(u);return s((0,a.xW)(...t))}if(e&&"object"==typeof e&&e._isPrincipal)return s(e.toUint8Array());if("object"==typeof e&&null!==e&&"function"==typeof e.toHash)return u(e.toHash());if("object"==typeof e)return f(e);if("bigint"==typeof e)return s((0,r.kk)(e));throw Object.assign(new Error(`Attempt to hash a value of unsupported type: ${e}`),{value:e})}const c=e=>s((new TextEncoder).encode(e));function l(e){return f(e)}function f(e){const t=Object.entries(e).filter((([,e])=>void 0!==e)).map((([e,t])=>[c(e),u(t)])).sort((([e],[t])=>(0,a.UD)(e,t)));return s((0,a.xW)(...t.map((e=>(0,a.xW)(...e)))))}},2338:function(e,t,n){"use strict";function r(...e){const t=new Uint8Array(e.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const r of e)t.set(new Uint8Array(r),n),n+=r.byteLength;return t.buffer}function i(e){return[...new Uint8Array(e)].map((e=>e.toString(16).padStart(2,"0"))).join("")}n.d(t,{HA:function(){return u},Nn:function(){return c},UD:function(){return s},aD:function(){return a},em:function(){return l},nj:function(){return i},xW:function(){return r}});const o=new RegExp(/^[0-9a-fA-F]+$/);function a(e){if(!o.test(e))throw new Error("Invalid hexadecimal string.");const t=[...e].reduce(((e,t,n)=>(e[n/2|0]=(e[n/2|0]||"")+t,e)),[]).map((e=>Number.parseInt(e,16)));return new Uint8Array(t).buffer}function s(e,t){if(e.byteLength!==t.byteLength)return e.byteLength-t.byteLength;const n=new Uint8Array(e),r=new Uint8Array(t);for(let e=0;e(0,r.Ui)(new r.Ki(e)),o=e=>{const t=i(e);return new Date(Number(t)/1e6)}},4664:function(e,t,n){"use strict";n.d(t,{Ih:function(){return r},Ki:function(){return a},em:function(){return u},Ui:function(){return h},kk:function(){return A}});var r={};n.r(r),n.d(r,{Bool:function(){return ee},BoolClass:function(){return k},ConstructType:function(){return _},Empty:function(){return $},EmptyClass:function(){return S},FixedIntClass:function(){return O},FixedNatClass:function(){return L},Float32:function(){return oe},Float64:function(){return ae},FloatClass:function(){return N},Func:function(){return Ee},FuncClass:function(){return K},Int:function(){return re},Int16:function(){return ue},Int32:function(){return ce},Int64:function(){return le},Int8:function(){return se},IntClass:function(){return D},Nat:function(){return ie},Nat16:function(){return de},Nat32:function(){return Ae},Nat64:function(){return he},Nat8:function(){return fe},NatClass:function(){return T},Null:function(){return te},NullClass:function(){return M},Opt:function(){return me},OptClass:function(){return U},PrimitiveType:function(){return C},Principal:function(){return pe},PrincipalClass:function(){return Y},Rec:function(){return we},RecClass:function(){return G},Record:function(){return be},RecordClass:function(){return F},Reserved:function(){return Z},ReservedClass:function(){return x},Service:function(){return Ie},ServiceClass:function(){return z},Text:function(){return ne},TextClass:function(){return R},Tuple:function(){return ge},TupleClass:function(){return j},Type:function(){return B},Unknown:function(){return X},UnknownClass:function(){return Q},Variant:function(){return ve},VariantClass:function(){return q},Vec:function(){return ye},VecClass:function(){return P},Visitor:function(){return I},decode:function(){return W},encode:function(){return J}});var i=n(2336);function o(...e){const t=new Uint8Array(e.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const r of e)t.set(new Uint8Array(r),n),n+=r.byteLength;return t}class a{constructor(e,t=(null==e?void 0:e.byteLength)||0){this._buffer=u(e||new ArrayBuffer(0)),this._view=new Uint8Array(this._buffer,0,t)}get buffer(){return u(this._view.slice())}get byteLength(){return this._view.byteLength}read(e){const t=this._view.subarray(0,e);return this._view=this._view.subarray(e),t.slice().buffer}readUint8(){const e=this._view[0];return this._view=this._view.subarray(1),e}write(e){const t=new Uint8Array(e),n=this._view.byteLength;this._view.byteOffset+this._view.byteLength+t.byteLength>=this._buffer.byteLength?this.alloc(t.byteLength):this._view=new Uint8Array(this._buffer,this._view.byteOffset,this._view.byteLength+t.byteLength),this._view.set(t,n)}get end(){return 0===this._view.byteLength}alloc(e){const t=new ArrayBuffer(1.2*(this._buffer.byteLength+e)|0),n=new Uint8Array(t,0,this._view.byteLength+e);n.set(this._view),this._buffer=t,this._view=n}}function s(e){return new DataView(e.buffer,e.byteOffset,e.byteLength).buffer}function u(e){return e instanceof Uint8Array?s(e):e instanceof ArrayBuffer?e:Array.isArray(e)?s(new Uint8Array(e)):"buffer"in e?u(e.buffer):s(new Uint8Array(e))}function c(e){if(/^_\d+_$/.test(e)||/^_0x[0-9a-fA-F]+_$/.test(e)){const t=+e.slice(1,-1);if(Number.isSafeInteger(t)&&t>=0&&t<2**32)return t}return function(e){const t=(new TextEncoder).encode(e);let n=0;for(const e of t)n=(223*n+e)%2**32;return n}(e)}function l(){throw new Error("unexpected end of buffer")}function f(e,t){return e.byteLength=128);return r}function p(e){"number"==typeof e&&(e=BigInt(e));const t=e=0;e--)i=i*BigInt(128)+BigInt(128-(127&r[e])-1);return-i-BigInt(1)}function y(e,t){e=BigInt(e);const n=new a(new ArrayBuffer(Math.min(1,t)),0);let r=0,i=BigInt(256),o=BigInt(0),s=Number(e%i);for(n.write(new Uint8Array([s]));++rn(e,t[r])))}class E{constructor(){this._typs=[],this._idx=new Map}has(e){return this._idx.has(e.name)}add(e,t){const n=this._typs.length;this._idx.set(e.name,n),this._typs.push(t)}merge(e,t){const n=this._idx.get(e.name),r=this._idx.get(t);if(void 0===n)throw new Error("Missing type index for "+e);if(void 0===r)throw new Error("Missing type index for "+t);this._typs[n]=this._typs[r],this._typs.splice(r,1),this._idx.delete(t)}encode(){const e=A(this._typs.length),t=o(...this._typs);return o(e,t)}indexOf(e){if(!this._idx.has(e))throw new Error("Missing type index for "+e);return p(this._idx.get(e)||0)}}class I{visitType(e,t){throw new Error("Not implemented")}visitPrimitive(e,t){return this.visitType(e,t)}visitEmpty(e,t){return this.visitPrimitive(e,t)}visitBool(e,t){return this.visitPrimitive(e,t)}visitNull(e,t){return this.visitPrimitive(e,t)}visitReserved(e,t){return this.visitPrimitive(e,t)}visitText(e,t){return this.visitPrimitive(e,t)}visitNumber(e,t){return this.visitPrimitive(e,t)}visitInt(e,t){return this.visitNumber(e,t)}visitNat(e,t){return this.visitNumber(e,t)}visitFloat(e,t){return this.visitPrimitive(e,t)}visitFixedInt(e,t){return this.visitNumber(e,t)}visitFixedNat(e,t){return this.visitNumber(e,t)}visitPrincipal(e,t){return this.visitPrimitive(e,t)}visitConstruct(e,t){return this.visitType(e,t)}visitVec(e,t,n){return this.visitConstruct(e,n)}visitOpt(e,t,n){return this.visitConstruct(e,n)}visitRecord(e,t,n){return this.visitConstruct(e,n)}visitTuple(e,t,n){const r=t.map(((e,t)=>[`_${t}_`,e]));return this.visitRecord(e,r,n)}visitVariant(e,t,n){return this.visitConstruct(e,n)}visitRec(e,t,n){return this.visitConstruct(t,n)}visitFunc(e,t){return this.visitConstruct(e,t)}visitService(e,t){return this.visitConstruct(e,t)}}class B{display(){return this.name}valueToString(e){return V(e)}buildTypeTable(e){e.has(this)||this._buildTypeTableImpl(e)}}class C extends B{checkType(e){if(this.name!==e.name)throw new Error(`type mismatch: type on the wire ${e.name}, expect type ${this.name}`);return e}_buildTypeTableImpl(e){}}class _ extends B{checkType(e){if(e instanceof G){const t=e.getType();if(void 0===t)throw new Error("type mismatch with uninitialized type");return t}throw new Error(`type mismatch: type on the wire ${e.name}, expect type ${this.name}`)}encodeType(e){return e.indexOf(this.name)}}class S extends C{accept(e,t){return e.visitEmpty(this,t)}covariant(e){throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(){throw new Error("Empty cannot appear as a function argument")}valueToString(){throw new Error("Empty cannot appear as a value")}encodeType(){return p(-17)}decodeValue(){throw new Error("Empty cannot appear as an output")}get name(){return"empty"}}class Q extends B{checkType(e){throw new Error("Method not implemented for unknown.")}accept(e,t){throw e.visitType(this,t)}covariant(e){throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(){throw new Error("Unknown cannot appear as a function argument")}valueToString(){throw new Error("Unknown cannot appear as a value")}encodeType(){throw new Error("Unknown cannot be serialized")}decodeValue(e,t){let n,r=t.decodeValue(e,t);return Object(r)!==r&&(r=Object(r)),n=t instanceof G?()=>t.getType():()=>t,Object.defineProperty(r,"type",{value:n,writable:!0,enumerable:!1,configurable:!0}),r}_buildTypeTableImpl(){throw new Error("Unknown cannot be serialized")}get name(){return"Unknown"}}class k extends C{accept(e,t){return e.visitBool(this,t)}covariant(e){if("boolean"==typeof e)return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){return new Uint8Array([e?1:0])}encodeType(){return p(-2)}decodeValue(e,t){switch(this.checkType(t),d(e)){case 0:return!1;case 1:return!0;default:throw new Error("Boolean value out of range")}}get name(){return"bool"}}class M extends C{accept(e,t){return e.visitNull(this,t)}covariant(e){if(null===e)return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(){return new ArrayBuffer(0)}encodeType(){return p(-1)}decodeValue(e,t){return this.checkType(t),null}get name(){return"null"}}class x extends C{accept(e,t){return e.visitReserved(this,t)}covariant(e){return!0}encodeValue(){return new ArrayBuffer(0)}encodeType(){return p(-16)}decodeValue(e,t){return t.name!==this.name&&t.decodeValue(e,t),null}get name(){return"reserved"}}class R extends C{accept(e,t){return e.visitText(this,t)}covariant(e){if("string"==typeof e)return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){const t=(new TextEncoder).encode(e);return o(A(t.byteLength),t)}encodeType(){return p(-15)}decodeValue(e,t){this.checkType(t);const n=h(e),r=f(e,Number(n));return new TextDecoder("utf8",{fatal:!0}).decode(r)}get name(){return"text"}valueToString(e){return'"'+e+'"'}}class D extends C{accept(e,t){return e.visitInt(this,t)}covariant(e){if("bigint"==typeof e||Number.isInteger(e))return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){return p(e)}encodeType(){return p(-4)}decodeValue(e,t){return this.checkType(t),g(e)}get name(){return"int"}valueToString(e){return e.toString()}}class T extends C{accept(e,t){return e.visitNat(this,t)}covariant(e){if("bigint"==typeof e&&e>=BigInt(0)||Number.isInteger(e)&&e>=0)return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){return A(e)}encodeType(){return p(-3)}decodeValue(e,t){return this.checkType(t),h(e)}get name(){return"nat"}valueToString(e){return e.toString()}}class N extends C{constructor(e){if(super(),this._bits=e,32!==e&&64!==e)throw new Error("not a valid float type")}accept(e,t){return e.visitFloat(this,t)}covariant(e){if("number"==typeof e||e instanceof Number)return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){const t=new ArrayBuffer(this._bits/8),n=new DataView(t);return 32===this._bits?n.setFloat32(0,e,!0):n.setFloat64(0,e,!0),t}encodeType(){return p(32===this._bits?-13:-14)}decodeValue(e,t){this.checkType(t);const n=f(e,this._bits/8),r=new DataView(n);return 32===this._bits?r.getFloat32(0,!0):r.getFloat64(0,!0)}get name(){return"float"+this._bits}valueToString(e){return e.toString()}}class O extends C{constructor(e){super(),this._bits=e}accept(e,t){return e.visitFixedInt(this,t)}covariant(e){const t=b(this._bits-1)*BigInt(-1),n=b(this._bits-1)-BigInt(1);let r=!1;if("bigint"==typeof e)r=e>=t&&e<=n;else if(Number.isInteger(e)){const i=BigInt(e);r=i>=t&&i<=n}else r=!1;if(r)return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){return y(e,this._bits/8)}encodeType(){return p(-9-(Math.log2(this._bits)-3))}decodeValue(e,t){this.checkType(t);const n=function(e,t){let n=m(e,t);const r=BigInt(2)**(BigInt(8)*BigInt(t-1)+BigInt(7));return n>=r&&(n-=r*BigInt(2)),n}(e,this._bits/8);return this._bits<=32?Number(n):n}get name(){return`int${this._bits}`}valueToString(e){return e.toString()}}class L extends C{constructor(e){super(),this._bits=e}accept(e,t){return e.visitFixedNat(this,t)}covariant(e){const t=b(this._bits);let n=!1;if(n="bigint"==typeof e&&e>=BigInt(0)?e=0)&&BigInt(e){try{return this._type.covariant(e)}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nindex ${t} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){const t=A(e.length);if(this._blobOptimization)return o(t,new Uint8Array(e));if(ArrayBuffer.isView(e))return o(t,new Uint8Array(e.buffer));const n=new a(new ArrayBuffer(t.byteLength+e.length),0);n.write(t);for(const t of e){const e=this._type.encodeValue(t);n.write(new Uint8Array(e))}return n.buffer}_buildTypeTableImpl(e){this._type.buildTypeTable(e);const t=p(-19),n=this._type.encodeType(e);e.add(this,o(t,n))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof P))throw new Error("Not a vector type");const r=Number(h(e));if(this._type instanceof L){if(8==this._type._bits)return new Uint8Array(e.read(r));if(16==this._type._bits)return new Uint16Array(e.read(2*r));if(32==this._type._bits)return new Uint32Array(e.read(4*r));if(64==this._type._bits)return new BigUint64Array(e.read(8*r))}if(this._type instanceof O){if(8==this._type._bits)return new Int8Array(e.read(r));if(16==this._type._bits)return new Int16Array(e.read(2*r));if(32==this._type._bits)return new Int32Array(e.read(4*r));if(64==this._type._bits)return new BigInt64Array(e.read(8*r))}const i=[];for(let t=0;tthis._type.valueToString(e))).join("; ")+"}"}}class U extends _{constructor(e){super(),this._type=e}accept(e,t){return e.visitOpt(this,this._type,t)}covariant(e){try{if(Array.isArray(e)&&(0===e.length||1===e.length&&this._type.covariant(e[0])))return!0}catch(t){throw new Error(`Invalid ${this.display()} argument: ${V(e)} \n\n-> ${t.message}`)}throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){return 0===e.length?new Uint8Array([0]):o(new Uint8Array([1]),this._type.encodeValue(e[0]))}_buildTypeTableImpl(e){this._type.buildTypeTable(e);const t=p(-18),n=this._type.encodeType(e);e.add(this,o(t,n))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof U))throw new Error("Not an option type");switch(d(e)){case 0:return[];case 1:return[this._type.decodeValue(e,n._type)];default:throw new Error("Not an option value")}}get name(){return`opt ${this._type.name}`}display(){return`opt ${this._type.display()}`}valueToString(e){return 0===e.length?"null":`opt ${this._type.valueToString(e[0])}`}}class F extends _{constructor(e={}){super(),this._fields=Object.entries(e).sort(((e,t)=>c(e[0])-c(t[0])))}accept(e,t){return e.visitRecord(this,this._fields,t)}tryAsTuple(){const e=[];for(let t=0;t{if(!e.hasOwnProperty(t))throw new Error(`Record is missing key "${t}".`);try{return n.covariant(e[t])}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nfield ${t} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){const t=this._fields.map((([t])=>e[t]));return o(...w(this._fields,t,(([,e],t)=>e.encodeValue(t))))}_buildTypeTableImpl(e){this._fields.forEach((([t,n])=>n.buildTypeTable(e)));const t=p(-20),n=A(this._fields.length),r=this._fields.map((([t,n])=>o(A(c(t)),n.encodeType(e))));e.add(this,o(t,n,o(...r)))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof F))throw new Error("Not a record type");const r={};let i=0,o=0;for(;o=this._fields.length){a.decodeValue(e,a),o++;continue}const[s,u]=this._fields[i],l=c(this._fields[i][0]),f=c(t);if(l===f)r[s]=u.decodeValue(e,a),i++,o++;else if(f>l){if(!(u instanceof U||u instanceof x))throw new Error("Cannot find required field "+s);r[s]=[],i++}else a.decodeValue(e,a),o++}for(const[e,t]of this._fields.slice(i)){if(!(t instanceof U||t instanceof x))throw new Error("Cannot find required field "+e);r[e]=[]}return r}get name(){return`record {${this._fields.map((([e,t])=>e+":"+t.name)).join("; ")}}`}display(){return`record {${this._fields.map((([e,t])=>e+":"+t.display())).join("; ")}}`}valueToString(e){const t=this._fields.map((([t])=>e[t]));return`record {${w(this._fields,t,(([e,t],n)=>e+"="+t.valueToString(n))).join("; ")}}`}}class j extends F{constructor(e){const t={};e.forEach(((e,n)=>t["_"+n+"_"]=e)),super(t),this._components=e}accept(e,t){return e.visitTuple(this,this._components,t)}covariant(e){if(Array.isArray(e)&&e.length>=this._fields.length&&this._components.every(((t,n)=>{try{return t.covariant(e[n])}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nindex ${n} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){return o(...w(this._components,e,((e,t)=>e.encodeValue(t))))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof j))throw new Error("not a tuple type");if(n._components.length=this._components.length?i.decodeValue(e,i):r.push(this._components[t].decodeValue(e,i));return r}display(){return`record {${this._components.map((e=>e.display())).join("; ")}}`}valueToString(e){return`record {${w(this._components,e,((e,t)=>e.valueToString(t))).join("; ")}}`}}class q extends _{constructor(e={}){super(),this._fields=Object.entries(e).sort(((e,t)=>c(e[0])-c(t[0])))}accept(e,t){return e.visitVariant(this,this._fields,t)}covariant(e){if("object"==typeof e&&1===Object.entries(e).length&&this._fields.every((([t,n])=>{try{return!e.hasOwnProperty(t)||n.covariant(e[t])}catch(e){throw new Error(`Invalid ${this.display()} argument: \n\nvariant ${t} -> ${e.message}`)}})))return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){for(let t=0;t{t.buildTypeTable(e)}));const t=p(-21),n=A(this._fields.length),r=this._fields.map((([t,n])=>o(A(c(t)),n.encodeType(e))));e.add(this,o(t,n,...r))}decodeValue(e,t){const n=this.checkType(t);if(!(n instanceof q))throw new Error("Not a variant type");const r=Number(h(e));if(r>=n._fields.length)throw Error("Invalid variant index: "+r);const[i,o]=n._fields[r];for(const[t,n]of this._fields)if(c(i)===c(t)){const r=n.decodeValue(e,o);return{[t]:r}}throw new Error("Cannot find field hash "+i)}get name(){return`variant {${this._fields.map((([e,t])=>e+":"+t.name)).join("; ")}}`}display(){return`variant {${this._fields.map((([e,t])=>e+("null"===t.name?"":`:${t.display()}`))).join("; ")}}`}valueToString(e){for(const[t,n]of this._fields)if(e.hasOwnProperty(t)){const r=n.valueToString(e[t]);return"null"===r?`variant {${t}}`:`variant {${t}=${r}}`}throw new Error("Variant has no data: "+e)}}class G extends _{constructor(){super(...arguments),this._id=G._counter++,this._type=void 0}accept(e,t){if(!this._type)throw Error("Recursive type uninitialized.");return e.visitRec(this,this._type,t)}fill(e){this._type=e}getType(){return this._type}covariant(e){if(this._type&&this._type.covariant(e))return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.encodeValue(e)}_buildTypeTableImpl(e){if(!this._type)throw Error("Recursive type uninitialized.");e.add(this,new Uint8Array([])),this._type.buildTypeTable(e),e.merge(this,this._type.name)}decodeValue(e,t){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.decodeValue(e,t)}get name(){return`rec_${this._id}`}display(){if(!this._type)throw Error("Recursive type uninitialized.");return`μ${this.name}.${this._type.name}`}valueToString(e){if(!this._type)throw Error("Recursive type uninitialized.");return this._type.valueToString(e)}}function H(e){if(1!==d(e))throw new Error("Cannot decode principal");const t=Number(h(e));return i.p.fromUint8Array(new Uint8Array(f(e,t)))}G._counter=0;class Y extends C{accept(e,t){return e.visitPrincipal(this,t)}covariant(e){if(e&&e._isPrincipal)return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){const t=e.toUint8Array(),n=A(t.byteLength);return o(new Uint8Array([1]),n,t)}encodeType(){return p(-24)}decodeValue(e,t){return this.checkType(t),H(e)}get name(){return"principal"}valueToString(e){return`${this.name} "${e.toText()}"`}}class K extends _{constructor(e,t,n=[]){super(),this.argTypes=e,this.retTypes=t,this.annotations=n}static argsToString(e,t){if(e.length!==t.length)throw new Error("arity mismatch");return"("+e.map(((e,n)=>e.valueToString(t[n]))).join(", ")+")"}accept(e,t){return e.visitFunc(this,t)}covariant(e){if(Array.isArray(e)&&2===e.length&&e[0]&&e[0]._isPrincipal&&"string"==typeof e[1])return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue([e,t]){const n=e.toUint8Array(),r=A(n.byteLength),i=o(new Uint8Array([1]),r,n),a=(new TextEncoder).encode(t),s=A(a.byteLength);return o(new Uint8Array([1]),i,s,a)}_buildTypeTableImpl(e){this.argTypes.forEach((t=>t.buildTypeTable(e))),this.retTypes.forEach((t=>t.buildTypeTable(e)));const t=p(-22),n=A(this.argTypes.length),r=o(...this.argTypes.map((t=>t.encodeType(e)))),i=A(this.retTypes.length),a=o(...this.retTypes.map((t=>t.encodeType(e)))),s=A(this.annotations.length),u=o(...this.annotations.map((e=>this.encodeAnnotation(e))));e.add(this,o(t,n,r,i,a,s,u))}decodeValue(e){if(1!==d(e))throw new Error("Cannot decode function reference");const t=H(e),n=f(e,Number(h(e)));return[t,new TextDecoder("utf8",{fatal:!0}).decode(n)]}get name(){return`(${this.argTypes.map((e=>e.name)).join(", ")}) -> (${this.retTypes.map((e=>e.name)).join(", ")})${" "+this.annotations.join(" ")}`}valueToString([e,t]){return`func "${e.toText()}".${t}`}display(){return`(${this.argTypes.map((e=>e.display())).join(", ")}) → (${this.retTypes.map((e=>e.display())).join(", ")})${" "+this.annotations.join(" ")}`}encodeAnnotation(e){if("query"===e)return new Uint8Array([1]);if("oneway"===e)return new Uint8Array([2]);if("composite_query"===e)return new Uint8Array([3]);throw new Error("Illegal function annotation")}}class z extends _{constructor(e){super(),this._fields=Object.entries(e).sort(((e,t)=>e[0]t[0]?1:0))}accept(e,t){return e.visitService(this,t)}covariant(e){if(e&&e._isPrincipal)return!0;throw new Error(`Invalid ${this.display()} argument: ${V(e)}`)}encodeValue(e){const t=e.toUint8Array(),n=A(t.length);return o(new Uint8Array([1]),n,t)}_buildTypeTableImpl(e){this._fields.forEach((([t,n])=>n.buildTypeTable(e)));const t=p(-23),n=A(this._fields.length),r=this._fields.map((([t,n])=>{const r=(new TextEncoder).encode(t);return o(A(r.length),r,n.encodeType(e))}));e.add(this,o(t,n,...r))}decodeValue(e){return H(e)}get name(){return`service {${this._fields.map((([e,t])=>e+":"+t.name)).join("; ")}}`}valueToString(e){return`service "${e.toText()}"`}}function V(e){const t=JSON.stringify(e,((e,t)=>"bigint"==typeof t?`BigInt(${t})`:t));return t&&t.length>400?t.substring(0,397)+"...":t}function J(e,t){if(t.lengthe.buildTypeTable(n)));const r=(new TextEncoder).encode(v),i=n.encode(),a=A(t.length),s=o(...e.map((e=>e.encodeType(n)))),u=o(...w(e,t,((e,t)=>{try{e.covariant(t)}catch(e){throw new Error(e.message+"\n\n")}return e.encodeValue(t)})));return o(r,i,a,s,u)}function W(e,t){const n=new a(t);if(t.byteLength=Math.pow(2,32))throw new Error("field id out of 32-bit range");if("number"==typeof i&&i>=t)throw new Error("field id collision or not sorted");i=t;const n=Number(g(e));r.push([t,n])}t.push([n,r]);break}case-22:{const r=[];let i=Number(h(e));for(;i--;)r.push(Number(g(e)));const o=[];let a=Number(h(e));for(;a--;)o.push(Number(g(e)));const s=[];let u=Number(h(e));for(;u--;)switch(Number(h(e))){case 1:s.push("query");break;case 2:s.push("oneway");break;case 3:s.push("composite_query");break;default:throw new Error("unknown annotation")}t.push([n,[r,o,s]]);break}case-23:{let r=Number(h(e));const i=[];for(;r--;){const t=Number(h(e)),n=(new TextDecoder).decode(f(e,t)),r=g(e);i.push([n,r])}t.push([n,i]);break}default:throw new Error("Illegal op_code: "+n)}}const r=[],i=Number(h(e));for(let t=0;twe()));function c(e){if(e<-24)throw new Error("future value not supported");if(e<0)switch(e){case-1:return te;case-2:return ee;case-3:return ie;case-4:return re;case-5:return fe;case-6:return de;case-7:return Ae;case-8:return he;case-9:return se;case-10:return ue;case-11:return ce;case-12:return le;case-13:return oe;case-14:return ae;case-15:return ne;case-16:return Z;case-17:return $;case-24:return pe;default:throw new Error("Illegal op_code: "+e)}if(e>=o.length)throw new Error("type index out of range");return u[e]}function l(e){switch(e[0]){case-19:return ye(c(e[1]));case-18:return me(c(e[1]));case-20:{const t={};for(const[n,r]of e[1])t[`_${n}_`]=c(r);const n=be(t),r=n.tryAsTuple();return Array.isArray(r)?ge(...r):n}case-21:{const t={};for(const[n,r]of e[1])t[`_${n}_`]=c(r);return ve(t)}case-22:{const[t,n,r]=e[1];return Ee(t.map((e=>c(e))),n.map((e=>c(e))),r)}case-23:{const t={},n=e[1];for(const[e,r]of n){let n=c(r);if(n instanceof G&&(n=n.getType()),!(n instanceof K))throw new Error("Illegal service definition: services can only contain functions");t[e]=n}return Ie(t)}default:throw new Error("Illegal op_code: "+e[0])}}o.forEach(((e,t)=>{if(-22===e[0]){const n=l(e);u[t].fill(n)}})),o.forEach(((e,t)=>{if(-22!==e[0]){const n=l(e);u[t].fill(n)}}));const d=s.map((e=>c(e))),A=e.map(((e,t)=>e.decodeValue(n,d[t])));for(let t=e.length;t0)throw new Error("decode: Left-over bytes");return A}const $=new S,Z=new x,X=new Q,ee=new k,te=new M,ne=new R,re=new D,ie=new T,oe=new N(32),ae=new N(64),se=new O(8),ue=new O(16),ce=new O(32),le=new O(64),fe=new L(8),de=new L(16),Ae=new L(32),he=new L(64),pe=new Y;function ge(...e){return new j(e)}function ye(e){return new P(e)}function me(e){return new U(e)}function be(e){return new F(e)}function ve(e){return new q(e)}function we(){return new G}function Ee(e,t,n=[]){return new K(e,t,n)}function Ie(e){return new z(e)}},2336:function(e,t,n){"use strict";n.d(t,{p:function(){return u}});const r="abcdefghijklmnopqrstuvwxyz234567",i=Object.create(null);for(let e=0;e<32;e++)i[r[e]]=e;i[0]=i.o,i[1]=i.i;const o=new Uint32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);var a=n(8226);const s="__principal__";class u{constructor(e){this._arr=e,this._isPrincipal=!0}static anonymous(){return new this(new Uint8Array([4]))}static managementCanister(){return this.fromHex("aaaaa-aa")}static selfAuthenticating(e){const t=(n=e,a.Z.create().update(new Uint8Array(n)).digest());var n;return new this(new Uint8Array([...t,2]))}static from(e){if("string"==typeof e)return u.fromText(e);if(Object.getPrototypeOf(e)===Uint8Array.prototype)return new u(e);if("object"==typeof e&&null!==e&&!0===e._isPrincipal)return new u(e._arr);throw new Error(`Impossible to convert ${JSON.stringify(e)} to Principal.`)}static fromHex(e){return new this(new Uint8Array((null!==(t=e.match(/.{1,2}/g))&&void 0!==t?t:[]).map((e=>parseInt(e,16)))));var t}static fromText(e){let t=e;if(e.includes(s)){const n=JSON.parse(e);s in n&&(t=n[s])}let n=function(e){let t=0,n=0;const r=new Uint8Array(4*e.length/3|0);let o=0;function a(e){let a=i[e.toLowerCase()];if(void 0===a)throw new Error(`Invalid character: ${JSON.stringify(e)}`);a<<=3,n|=a>>>t,t+=5,t>=8&&(r[o++]=n,t-=8,n=t>0?a<<5-t&255:0)}for(const t of e)a(t);return r.slice(0,o)}(t.toLowerCase().replace(/-/g,""));n=n.slice(4,n.length);const r=new this(n);if(r.toText()!==t)throw new Error(`Principal "${r.toText()}" does not have a valid checksum (original value "${t}" may not be a valid Principal ID).`);return r}static fromUint8Array(e){return new this(e)}isAnonymous(){return 1===this._arr.byteLength&&4===this._arr[0]}toUint8Array(){return this._arr}toHex(){return(e=this._arr,e.reduce(((e,t)=>e+t.toString(16).padStart(2,"0")),"")).toUpperCase();var e}toText(){const e=new ArrayBuffer(4);new DataView(e).setUint32(0,function(e){const t=new Uint8Array(e);let n=-1;for(let e=0;e>>8}return~n>>>0}(this._arr));const t=new Uint8Array(e),n=Uint8Array.from(this._arr),i=function(e){let t=0,n=0,i="";for(let a=0;a>-t:n=o<3?(t-=8,1):(t<4&&(i+=r[n>>3],t+=5),0));var o;return i+(t<0?r[n>>3]:"")}(new Uint8Array([...t,...n])).match(/.{1,5}/g);if(!i)throw new Error;return i.join("-")}toString(){return this.toText()}toJSON(){return{[s]:this.toText()}}compareTo(e){for(let t=0;te._arr[t])return"gt"}return this._arr.lengthe._arr.length?"gt":"eq"}ltEq(e){const t=this.compareTo(e);return"lt"==t||"eq"==t}gtEq(e){const t=this.compareTo(e);return"gt"==t||"eq"==t}}},3094:function(e,t,n){!function(e){"use strict";var t=void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var a={exports:{}};!function(e,t){var n="undefined"!=typeof self?self:r,i=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function d(e){this.map={},e instanceof d?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function A(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&i&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=A(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?A(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=A(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=h(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function v(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new d(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},y.call(b.prototype),y.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var E=[301,302,303,307,308];w.redirect=function(e,t){if(-1===E.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function I(e,n){return new Promise((function(r,o){var a=new b(e,n);if(a.signal&&a.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function u(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new d,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new w(i,n))},s.onerror=function(){o(new TypeError("Network request failed"))},s.ontimeout=function(){o(new TypeError("Network request failed"))},s.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",u),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",u)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}I.polyfill=!0,e.fetch||(e.fetch=I,e.Headers=d,e.Request=b,e.Response=w),t.Headers=d,t.Request=b,t.Response=w,t.fetch=I,Object.defineProperty(t,"__esModule",{value:!0})}({})}(i),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var o=i;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t}(a,a.exports);var s=i(a.exports);function u(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}var l=u,f=c;function d(e){if(l===setTimeout)return setTimeout(e,0);if((l===u||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}"function"==typeof t.setTimeout&&(l=setTimeout),"function"==typeof t.clearTimeout&&(f=clearTimeout);var A,h=[],p=!1,g=-1;function y(){p&&A&&(p=!1,A.length?h=A.concat(h):g=-1,h.length&&m())}function m(){if(!p){var e=d(y);p=!0;for(var t=h.length;t;){for(A=h,h=[];++g1)for(var n=1;n0;)if(o===e[a])return r;i(t)}}Object.assign(h.prototype,{subscribe:function(e,t,n){var r=this,i=this._target,o=this._emitter,a=this._listeners,s=function(){var r=d.apply(null,arguments),a={data:r,name:t,original:e};n?!1!==n.call(i,a)&&o.emit.apply(o,[a.name].concat(r)):o.emit.apply(o,[t].concat(r))};if(a[e])throw Error("Event '"+e+"' is already listening");this._listenersCount++,o._newListener&&o._removeListener&&!r._onNewListener?(this._onNewListener=function(n){n===t&&null===a[e]&&(a[e]=s,r._on.call(i,e,s))},o.on("newListener",this._onNewListener),this._onRemoveListener=function(n){n===t&&!o.hasListeners(n)&&a[e]&&(a[e]=null,r._off.call(i,e,s))},a[e]=null,o.on("removeListener",this._onRemoveListener)):(a[e]=s,r._on.call(i,e,s))},unsubscribe:function(e){var t,n,r,i=this,o=this._listeners,a=this._emitter,s=this._off,c=this._target;if(e&&"string"!=typeof e)throw TypeError("event must be a string");function l(){i._onNewListener&&(a.off("newListener",i._onNewListener),a.off("removeListener",i._onRemoveListener),i._onNewListener=null,i._onRemoveListener=null);var e=E.call(a,i);a._observers.splice(e,1)}if(e){if(!(t=o[e]))return;s.call(c,e,t),delete o[e],--this._listenersCount||l()}else{for(r=(n=u(o)).length;r-- >0;)e=n[r],s.call(c,e,o[e]);this._listeners={},this._listenersCount=0,l()}}});var m=y(["function"]),v=y(["object","function"]);function w(e,t,n){var r,i,o,a=0,s=new e((function(u,c,l){function f(){i&&(i=null),a&&(clearTimeout(a),a=0)}n=p(n,{timeout:0,overload:!1},{timeout:function(e,t){return("number"!=typeof(e*=1)||e<0||!Number.isFinite(e))&&t("timeout must be a positive number"),e}}),r=!n.overload&&"function"==typeof e.prototype.cancel&&"function"==typeof l;var d=function(e){f(),u(e)},A=function(e){f(),c(e)};r?t(d,A,l):(i=[function(e){A(e||Error("canceled"))}],t(d,A,(function(e){if(o)throw Error("Unable to subscribe on cancel event asynchronously");if("function"!=typeof e)throw TypeError("onCancel callback must be a function");i.push(e)})),o=!0),n.timeout>0&&(a=setTimeout((function(){var e=Error("timeout");e.code="ETIMEDOUT",a=0,s.cancel(e),c(e)}),n.timeout))}));return r||(s.cancel=function(e){if(i){for(var t=i.length,n=1;n0;)"_listeners"!==(A=m[s])&&(b=I(e,t,n[A],r+1,i))&&(v?v.push.apply(v,b):v=b);return v}if("**"===w){for((y=r+1===i||r+2===i&&"*"===E)&&n._listeners&&(v=I(e,t,n,i,i)),s=(m=u(n)).length;s-- >0;)"_listeners"!==(A=m[s])&&("*"===A||"**"===A?(n[A]._listeners&&!y&&(b=I(e,t,n[A],i,i))&&(v?v.push.apply(v,b):v=b),b=I(e,t,n[A],r,i)):b=I(e,t,n[A],A===E?r+2:r,i),b&&(v?v.push.apply(v,b):v=b));return v}n[w]&&(v=I(e,t,n[w],r+1,i))}if((h=n["*"])&&I(e,t,h,r+1,i),p=n["**"])if(r0;)"_listeners"!==(A=m[s])&&(A===E?I(e,t,p[A],r+2,i):A===w?I(e,t,p[A],r+1,i):((g={})[A]=p[A],I(e,t,{"**":g},r+1,i)));else p._listeners?I(e,t,p,i,i):p["*"]&&p["*"]._listeners&&I(e,t,p["*"],i,i);return v}function B(e,t,n){var r,i,o=0,a=0,s=this.delimiter,u=s.length;if("string"==typeof e)if(-1!==(r=e.indexOf(s))){i=new Array(5);do{i[o++]=e.slice(a,r),a=r+u}while(-1!==(r=e.indexOf(s,a)));i[o++]=e.slice(a)}else i=[e],o=1;else i=e,o=e.length;if(o>1)for(r=0;r+10&&l._listeners.length>this._maxListeners&&(l._listeners.warned=!0,f.call(this,l._listeners.length,c))):l._listeners=t,!0;return!0}function C(e,t,n,r){for(var i,o,a,s,c=u(e),l=c.length,f=e._listeners;l-- >0;)i=e[o=c[l]],a="_listeners"===o?n:n?n.concat(o):[o],s=r||"symbol"==typeof o,f&&t.push(s?a:a.join(this.delimiter)),"object"==typeof i&&C.call(this,i,t,a,s);return t}function _(e){for(var t,n,r,i=u(e),o=i.length;o-- >0;)(t=e[n=i[o]])&&(r=!0,"_listeners"===n||_(t)||delete e[n]);return r}function S(e,t,n){this.emitter=e,this.event=t,this.listener=n}function Q(e,n,r){if(!0===r)a=!0;else if(!1===r)o=!0;else{if(!r||"object"!=typeof r)throw TypeError("options should be an object or true");var o=r.async,a=r.promisify,u=r.nextTick,c=r.objectify}if(o||u||a){var l=n,f=n._origin||n;if(u&&!i)throw Error("process.nextTick is not supported");a===t&&(a="AsyncFunction"===n.constructor.name),n=function(){var e=arguments,t=this,n=this.event;return a?u?Promise.resolve():new Promise((function(e){s(e)})).then((function(){return t.event=n,l.apply(t,e)})):(u?b:s)((function(){t.event=n,l.apply(t,e)}))},n._async=!0,n._origin=f}return[n,c?new S(this,e,n):this]}function k(e){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,l.call(this,e)}S.prototype.off=function(){return this.emitter.off(this.event,this.listener),this},k.EventEmitter2=k,k.prototype.listenTo=function(e,n,i){if("object"!=typeof e)throw TypeError("target musts be an object");var o=this;function a(t){if("object"!=typeof t)throw TypeError("events must be an object");var n,r=i.reducers,a=E.call(o,e);n=-1===a?new h(o,e,i):o._observers[a];for(var s,c=u(t),l=c.length,f="function"==typeof r,d=0;d0;)r=n[i],e&&r._target!==e||(r.unsubscribe(t),o=!0);return o},k.prototype.delimiter=".",k.prototype.setMaxListeners=function(e){e!==t&&(this._maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},k.prototype.getMaxListeners=function(){return this._maxListeners},k.prototype.event="",k.prototype.once=function(e,t,n){return this._once(e,t,!1,n)},k.prototype.prependOnceListener=function(e,t,n){return this._once(e,t,!0,n)},k.prototype._once=function(e,t,n,r){return this._many(e,1,t,n,r)},k.prototype.many=function(e,t,n,r){return this._many(e,t,n,!1,r)},k.prototype.prependMany=function(e,t,n,r){return this._many(e,t,n,!0,r)},k.prototype._many=function(e,t,n,r,i){var o=this;if("function"!=typeof n)throw new Error("many only accepts instances of Function");function a(){return 0==--t&&o.off(e,a),n.apply(this,arguments)}return a._origin=n,this._on(e,a,r,i)},k.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var e,t,n,r,i,a,s=arguments[0],u=this.wildcard;if("newListener"===s&&!this._newListener&&!this._events.newListener)return!1;if(u&&(e=s,"newListener"!==s&&"removeListener"!==s&&"object"==typeof s)){if(n=s.length,o)for(r=0;r3)for(t=new Array(f-1),i=1;i3)for(n=new Array(d-1),a=1;a0&&this._events[e].length>this._maxListeners&&(this._events[e].warned=!0,f.call(this,this._events[e].length,e))):this._events[e]=n,a)},k.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var n,i=[];if(this.wildcard){var o="string"==typeof e?e.split(this.delimiter):e.slice();if(!(i=I.call(this,null,o,this.listenerTree,0)))return this}else{if(!this._events[e])return this;n=this._events[e],i.push({_listeners:n})}for(var a=0;a0){for(n=0,r=(t=this._all).length;n0;)"function"==typeof(r=s[n[o]])?i.push(r):i.push.apply(i,r);return i}if(this.wildcard){if(!(a=this.listenerTree))return[];var c=[],l="string"==typeof e?e.split(this.delimiter):e.slice();return I.call(this,c,l,a,0),c}return s&&(r=s[e])?"function"==typeof r?[r]:r:[]},k.prototype.eventNames=function(e){var t=this._events;return this.wildcard?C.call(this,this.listenerTree,[],null,e):t?u(t):[]},k.prototype.listenerCount=function(e){return this.listeners(e).length},k.prototype.hasListeners=function(e){if(this.wildcard){var n=[],r="string"==typeof e?e.split(this.delimiter):e.slice();return I.call(this,n,r,this.listenerTree,0),n.length>0}var i=this._events,o=this._all;return!!(o&&o.length||i&&(e===t?u(i).length:i[e]))},k.prototype.listenersAny=function(){return this._all?this._all:[]},k.prototype.waitFor=function(e,n){var r=this,i=typeof n;return"number"===i?n={timeout:n}:"function"===i&&(n={filter:n}),w((n=p(n,{timeout:0,filter:t,handleError:!1,Promise:Promise,overload:!1},{filter:m,Promise:g})).Promise,(function(t,i,o){function a(){var o=n.filter;if(!o||o.apply(r,arguments))if(r.off(e,a),n.handleError){var s=arguments[0];s?i(s):t(d.apply(null,arguments).slice(1))}else t(d.apply(null,arguments))}o((function(){r.off(e,a)})),r._on(e,a,!1)}),{timeout:n.timeout,overload:n.overload})};var M=k.prototype;Object.defineProperties(k,{defaultMaxListeners:{get:function(){return M._maxListeners},set:function(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw TypeError("n must be a non-negative number");M._maxListeners=e},enumerable:!0},once:{value:function(e,t,n){return w((n=p(n,{Promise:Promise,timeout:0,overload:!1},{Promise:g})).Promise,(function(n,r,i){var o;if("function"==typeof e.addEventListener)return o=function(){n(d.apply(null,arguments))},i((function(){e.removeEventListener(t,o)})),void e.addEventListener(t,o,{once:!0});var a,s=function(){a&&e.removeListener("error",a),n(d.apply(null,arguments))};"error"!==t&&(a=function(n){e.removeListener(t,s),r(n)},e.once("error",a)),i((function(){a&&e.removeListener("error",a),e.removeListener(t,s)})),e.once(t,s)}),{timeout:n.timeout,overload:n.overload})},writable:!0,configurable:!0}}),Object.defineProperties(M,{_maxListeners:{value:10,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),"function"==typeof t&&t.amd?t((function(){return k})):e.exports=k}()}(D);var T,N=D.exports,O=new Uint8Array(16);function L(){if(!T&&!(T="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return T(O)}var P=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function U(e){return"string"==typeof e&&P.test(e)}for(var F=[],j=0;j<256;++j)F.push((j+256).toString(16).substr(1));function q(e,t,n){var r=(e=e||{}).random||(e.rng||L)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(F[e[t+0]]+F[e[t+1]]+F[e[t+2]]+F[e[t+3]]+"-"+F[e[t+4]]+F[e[t+5]]+"-"+F[e[t+6]]+F[e[t+7]]+"-"+F[e[t+8]]+F[e[t+9]]+"-"+F[e[t+10]]+F[e[t+11]]+F[e[t+12]]+F[e[t+13]]+F[e[t+14]]+F[e[t+15]]).toLowerCase();if(!U(n))throw TypeError("Stringified UUID is invalid");return n}(r)}const G=Object.create(null);G.open="0",G.close="1",G.ping="2",G.pong="3",G.message="4",G.upgrade="5",G.noop="6";const H=Object.create(null);Object.keys(G).forEach((e=>{H[G[e]]=e}));const Y={type:"error",data:"parser error"},K="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),z="function"==typeof ArrayBuffer,V=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,J=({type:e,data:t},n,r)=>K&&t instanceof Blob?n?r(t):W(t,r):z&&(t instanceof ArrayBuffer||V(t))?n?r(t):W(new Blob([t]),r):r(G[e]+(t||"")),W=(e,t)=>{const n=new FileReader;return n.onload=function(){const e=n.result.split(",")[1];t("b"+(e||""))},n.readAsDataURL(e)};function $(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let Z;function X(e,t){return K&&e.data instanceof Blob?e.data.arrayBuffer().then($).then(t):z&&(e.data instanceof ArrayBuffer||V(e.data))?t($(e.data)):void J(e,!1,(e=>{Z||(Z=new TextEncoder),t(Z.encode(e))}))}const ee="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e<64;e++)ee["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e)]=e;const te="function"==typeof ArrayBuffer,ne=(e,t)=>{if("string"!=typeof e)return{type:"message",data:ie(e,t)};const n=e.charAt(0);return"b"===n?{type:"message",data:re(e.substring(1),t)}:H[n]?e.length>1?{type:H[n],data:e.substring(1)}:{type:H[n]}:Y},re=(e,t)=>{if(te){const n=(e=>{let t,n,r,i,o,a=.75*e.length,s=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);const c=new ArrayBuffer(a),l=new Uint8Array(c);for(t=0;t>4,l[u++]=(15&r)<<4|i>>2,l[u++]=(3&i)<<6|63&o;return c})(e);return ie(n,t)}return{base64:!0,data:e}},ie=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer,oe=String.fromCharCode(30);let ae;function se(e){if(e)return function(e){for(var t in se.prototype)e[t]=se.prototype[t];return e}(e)}se.prototype.on=se.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},se.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},se.prototype.off=se.prototype.removeListener=se.prototype.removeAllListeners=se.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})}const le=ue.setTimeout,fe=ue.clearTimeout;function de(e,t){t.useNativeTimers?(e.setTimeoutFn=le.bind(ue),e.clearTimeoutFn=fe.bind(ue)):(e.setTimeoutFn=ue.setTimeout.bind(ue),e.clearTimeoutFn=ue.clearTimeout.bind(ue))}class Ae extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class he extends se{constructor(e){super(),this.writable=!1,de(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,t,n){return super.emitReserved("error",new Ae(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=ne(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return-1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){const t=function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}const pe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),ge=64,ye={};let me,be=0,ve=0;function we(e){let t="";do{t=pe[e%ge]+t,e=Math.floor(e/ge)}while(e>0);return t}function Ee(){const e=we(+new Date);return e!==me?(be=0,me=e):e+"."+we(be++)}for(;ve{var e;3===n.readyState&&(null===(e=this.opts.cookieJar)||void 0===e||e.parseCookies(n)),4===n.readyState&&(200===n.status||1223===n.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof n.status?n.status:0)}),0))},n.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=Qe.requestsCount++,Qe.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=_e,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete Qe.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}function ke(){for(let e in Qe.requests)Qe.requests.hasOwnProperty(e)&&Qe.requests[e].abort()}Qe.requestsCount=0,Qe.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",ke):"function"==typeof addEventListener&&addEventListener("onpagehide"in ue?"pagehide":"unload",ke,!1));var Me=[],xe=[],Re="undefined"!=typeof Uint8Array?Uint8Array:Array,De=!1;function Te(){De=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Me[t]=e[t],xe[e.charCodeAt(t)]=t;xe["-".charCodeAt(0)]=62,xe["_".charCodeAt(0)]=63}function Ne(e,t,n){for(var r,i,o=[],a=t;a>18&63]+Me[i>>12&63]+Me[i>>6&63]+Me[63&i]);return o.join("")}function Oe(e){var t;De||Te();for(var n=e.length,r=n%3,i="",o=[],a=16383,s=0,u=n-r;su?u:s+a));return 1===r?(t=e[n-1],i+=Me[t>>2],i+=Me[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=Me[t>>10],i+=Me[t>>4&63],i+=Me[t<<2&63],i+="="),o.push(i),o.join("")}function Le(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,f=n?i-1:0,d=n?-1:1,A=e[t+f];for(f+=d,o=A&(1<<-l)-1,A>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(A?-1:1);a+=Math.pow(2,r),o-=c}return(A?-1:1)*a*Math.pow(2,o-r)}function Pe(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,A=r?0:o-1,h=r?1:-1,p=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+A]=255&s,A+=h,s/=256,i-=8);for(a=a<0;e[n+A]=255&a,A+=h,a/=256,c-=8);e[n+A-h]|=128*p}var Ue={}.toString,Fe=Array.isArray||function(e){return"[object Array]"==Ue.call(e)};He.TYPED_ARRAY_SUPPORT=void 0===t.TYPED_ARRAY_SUPPORT||t.TYPED_ARRAY_SUPPORT;var je=qe();function qe(){return He.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ge(e,t){if(qe()=qe())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+qe().toString(16)+" bytes");return 0|e}function We(e){return!(null==e||!e._isBuffer)}function $e(e,t){if(We(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Bt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Ct(e).length;default:if(r)return Bt(e).length;t=(""+t).toLowerCase(),r=!0}}function Ze(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return At(this,t,n);case"utf8":case"utf-8":return ct(this,t,n);case"ascii":return ft(this,t,n);case"latin1":case"binary":return dt(this,t,n);case"base64":return ut(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ht(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Xe(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function et(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=He.from(t,r)),We(t))return 0===t.length?-1:tt(e,t,n,r,i);if("number"==typeof t)return t&=255,He.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):tt(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function tt(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function ut(e,t,n){return 0===t&&n===e.length?Oe(e):Oe(e.slice(t,n))}function ct(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[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&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=lt)return String.fromCharCode.apply(String,e);for(var n="",r=0;r0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},He.prototype.compare=function(e,t,n,r,i){if(!We(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=e.slice(t,n),l=0;li)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return nt(this,e,t,n);case"utf8":case"utf-8":return rt(this,e,t,n);case"ascii":return it(this,e,t,n);case"latin1":case"binary":return ot(this,e,t,n);case"base64":return at(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return st(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},He.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var lt=4096;function ft(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function gt(e,t,n,r,i,o){if(!We(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function yt(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function mt(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function bt(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function vt(e,t,n,r,i){return i||bt(e,0,n,4),Pe(e,t,n,r,23,4),n+4}function wt(e,t,n,r,i){return i||bt(e,0,n,8),Pe(e,t,n,r,52,8),n+8}He.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},He.prototype.readUInt8=function(e,t){return t||pt(e,1,this.length),this[e]},He.prototype.readUInt16LE=function(e,t){return t||pt(e,2,this.length),this[e]|this[e+1]<<8},He.prototype.readUInt16BE=function(e,t){return t||pt(e,2,this.length),this[e]<<8|this[e+1]},He.prototype.readUInt32LE=function(e,t){return t||pt(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},He.prototype.readUInt32BE=function(e,t){return t||pt(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},He.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||pt(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},He.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||pt(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},He.prototype.readInt8=function(e,t){return t||pt(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},He.prototype.readInt16LE=function(e,t){t||pt(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},He.prototype.readInt16BE=function(e,t){t||pt(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},He.prototype.readInt32LE=function(e,t){return t||pt(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},He.prototype.readInt32BE=function(e,t){return t||pt(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},He.prototype.readFloatLE=function(e,t){return t||pt(e,4,this.length),Le(this,e,!0,23,4)},He.prototype.readFloatBE=function(e,t){return t||pt(e,4,this.length),Le(this,e,!1,23,4)},He.prototype.readDoubleLE=function(e,t){return t||pt(e,8,this.length),Le(this,e,!0,52,8)},He.prototype.readDoubleBE=function(e,t){return t||pt(e,8,this.length),Le(this,e,!1,52,8)},He.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||gt(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},He.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||gt(this,e,t,1,255,0),He.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},He.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||gt(this,e,t,2,65535,0),He.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):yt(this,e,t,!0),t+2},He.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||gt(this,e,t,2,65535,0),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):yt(this,e,t,!1),t+2},He.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||gt(this,e,t,4,4294967295,0),He.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):mt(this,e,t,!0),t+4},He.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||gt(this,e,t,4,4294967295,0),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):mt(this,e,t,!1),t+4},He.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);gt(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},He.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||gt(this,e,t,1,127,-128),He.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},He.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||gt(this,e,t,2,32767,-32768),He.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):yt(this,e,t,!0),t+2},He.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||gt(this,e,t,2,32767,-32768),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):yt(this,e,t,!1),t+2},He.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||gt(this,e,t,4,2147483647,-2147483648),He.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):mt(this,e,t,!0),t+4},He.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||gt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),He.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):mt(this,e,t,!1),t+4},He.prototype.writeFloatLE=function(e,t,n){return vt(this,e,t,!0,n)},He.prototype.writeFloatBE=function(e,t,n){return vt(this,e,t,!1,n)},He.prototype.writeDoubleLE=function(e,t,n){return wt(this,e,t,!0,n)},He.prototype.writeDoubleBE=function(e,t,n){return wt(this,e,t,!1,n)},He.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!He.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Ct(e){return function(e){var t,n,r,i,o,a;De||Te();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new Re(3*s/4-o),r=o>0?s-4:s;var u=0;for(t=0,n=0;t>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=xe[e.charCodeAt(t)]<<2|xe[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=xe[e.charCodeAt(t)]<<10|xe[e.charCodeAt(t+1)]<<4|xe[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Et,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function _t(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function St(e){return null!=e&&(!!e._isBuffer||Qt(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Qt(e.slice(0,0))}(e))}function Qt(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var kt=Object.freeze({__proto__:null,Buffer:He,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return+e!=e&&(e=0),He.alloc(+e)},isBuffer:St,kMaxLength:je});const Mt="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),xt=ue.WebSocket||ue.MozWebSocket,Rt="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();function Dt(e,t){return"message"===e.type&&"string"!=typeof e.data&&t[0]>=48&&t[0]<=54}const Tt={websocket:class extends he{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=Rt?{}:ce(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=Rt?new xt(e,t,n):t?new xt(e,t):new xt(e)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType||"arraybuffer",this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t{try{this.ws.send(e)}catch(e){}r&&Mt((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=Ee()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!xt}},webtransport:class extends he{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((()=>{this.onClose()})).catch((e=>{this.onError("webtransport error",e)})),this.transport.ready.then((()=>{this.transport.createBidirectionalStream().then((e=>{const t=e.readable.getReader();let n;this.writer=e.writable.getWriter();const r=()=>{t.read().then((({done:e,value:t})=>{e||(n||1!==t.byteLength||54!==t[0]?(this.onPacket(function(e,t,n){ae||(ae=new TextDecoder);const r=t||e[0]<48||e[0]>54;return ne(r?e:ae.decode(e),"arraybuffer")}(t,n)),n=!1):n=!0,r())})).catch((e=>{}))};r();const i=this.query.sid?`0{"sid":"${this.query.sid}"}`:"0";this.writer.write((new TextEncoder).encode(i)).then((()=>this.onOpen()))}))})))}write(e){this.writable=!1;for(let t=0;t{Dt(n,e)&&this.writer.write(Uint8Array.of(54)),this.writer.write(e).then((()=>{r&&Mt((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}))}}doClose(){var e;null===(e=this.transport)||void 0===e||e.close()}},polling:class extends he{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port}const t=e&&e.forceBase64;this.supportsBinary=Se&&!t,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",(function(){--e||t()}))),this.writable||(e++,this.once("drain",(function(){--e||t()})))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){((e,t)=>{const n=e.split(oe),r=[];for(let e=0;e{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach(((e,o)=>{J(e,!1,(e=>{r[o]=e,++i===n&&t(r.join(oe))}))}))})(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=Ee()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Qe(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}},Nt=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Ot=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Lt(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=Nt.exec(e||""),o={},a=14;for(;a--;)o[Ot[a]]=i[a]||"";return-1!=n&&-1!=r&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=function(e,t){const n=t.replace(/\/{2,9}/g,"/").split("/");return"/"!=t.slice(0,1)&&0!==t.length||n.splice(0,1),"/"==t.slice(-1)&&n.splice(n.length-1,1),n}(0,o.path),o.queryKey=function(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,r){t&&(n[t]=r)})),n}(0,o.query),o}let Pt=class e extends se{constructor(e,t={}){super(),this.writeBuffer=[],e&&"object"==typeof e&&(t=e,e=null),e?(e=Lt(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=Lt(t.host).host),de(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let e=0,r=n.length;e{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new Tt[e](n)}open(){let t;if(this.opts.rememberUpgrade&&e.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(e){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(t){let n=this.createTransport(t),r=!1;e.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",(t=>{if(!r)if("pong"===t.type&&"probe"===t.data){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;e.priorWebsocketSuccess="websocket"===n.name,this.transport.pause((()=>{r||"closed"!==this.readyState&&(l(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())}))}else{const e=new Error("probe error");e.transport=n.name,this.emitReserved("upgradeError",e)}})))};function o(){r||(r=!0,l(),n.close(),n=null)}const a=e=>{const t=new Error("probe error: "+e);t.transport=n.name,o(),this.emitReserved("upgradeError",t)};function s(){a("transport closed")}function u(){a("socket closed")}function c(e){n&&e.name!==n.name&&o()}const l=()=>{n.removeListener("open",i),n.removeListener("error",a),n.removeListener("close",s),this.off("close",u),this.off("upgrading",c)};n.once("open",i),n.once("error",a),n.once("close",s),this.once("close",u),this.once("upgrading",c),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==t?this.setTimeoutFn((()=>{r||n.open()}),200):n.open()}onOpen(){if(this.readyState="open",e.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let n=0;n=57344?n+=3:(r++,n+=4);return n}(t):Math.ceil(1.33*(t.byteLength||t.size))),n>0&&e>this.maxPayload)return this.writeBuffer.slice(0,n);e+=2}var t;return this.writeBuffer}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;const i={type:e,data:t,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?n():e()})):this.upgrading?n():e()),this}onError(t){e.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const r=e.length;for(;n"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,jt=Object.prototype.toString,qt="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===jt.call(Blob),Gt="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===jt.call(File);function Ht(e){return Ut&&(e instanceof ArrayBuffer||Ft(e))||qt&&e instanceof Blob||Gt&&e instanceof File}function Yt(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t=0&&e.num{delete this.acks[e];for(let t=0;t{this.io.clearTimeoutFn(i),t.apply(this,[null,...e])}}emitWithAck(e,...t){const n=void 0!==this.flags.timeout||void 0!==this._opts.ackTimeout;return new Promise(((r,i)=>{t.push(((e,t)=>n?e?i(e):r(t):r(e))),this.emit(e,...t)}))}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push(((e,...r)=>{if(n===this._queue[0])return null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue()})),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth((e=>{this._sendConnectPacket(e)})):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:$t.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case $t.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case $t.EVENT:case $t.BINARY_EVENT:this.onevent(e);break;case $t.ACK:case $t.BINARY_ACK:this.onack(e);break;case $t.DISCONNECT:this.ondisconnect();break;case $t.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...r){n||(n=!0,t.packet({type:$t.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];"function"==typeof t&&(t.apply(this,e.data),delete this.acks[e.id])}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:$t.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n0&&e.jitter<=1?e.jitter:0,this.attempts=0}an.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=1&Math.floor(10*t)?e+n:e-n}return 0|Math.min(e,this.max)},an.prototype.reset=function(){this.attempts=0},an.prototype.setMin=function(e){this.ms=e},an.prototype.setMax=function(e){this.max=e},an.prototype.setJitter=function(e){this.jitter=e};class sn extends se{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,de(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new an({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||tn;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Pt(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=nn(t,"open",(function(){n.onopen(),e&&e()})),i=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},o=nn(t,"error",i);if(!1!==this._timeout){const e=this._timeout,n=this.setTimeoutFn((()=>{r(),i(new Error("timeout")),t.close()}),e);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}return this.subs.push(r),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(nn(e,"ping",this.onping.bind(this)),nn(e,"data",this.ondata.bind(this)),nn(e,"error",this.onerror.bind(this)),nn(e,"close",this.onclose.bind(this)),nn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){Mt((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new on(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const e of t)if(this.nsps[e].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;ne())),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn((()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()})))}),t);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const un={};function cn(e,t){"object"==typeof e&&(t=e,e=void 0);const n=function(e,t="",n){let r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=Lt(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const i=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),r=n.source,i=n.id,o=n.path,a=un[i]&&o in un[i].nsps;let s;return t.forceNew||t["force new connection"]||!1===t.multiplex||a?s=new sn(r,t):(un[i]||(un[i]=new sn(r,t)),s=un[i]),n.query&&!t.query&&(t.query=n.queryKey),s.socket(n.path,t)}function ln(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}Object.assign(cn,{Manager:sn,Socket:on,io:cn,connect:cn}),"function"==typeof SuppressedError&&SuppressedError;const fn=(e,t)=>ln(void 0,void 0,void 0,(function*(){const n=t.endsWith("/")?`${t}debug`:`${t}/debug`,r=JSON.stringify(e),i=yield s(n,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:r});return yield i.text()}));var dn=void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},An=[],hn=[],pn="undefined"!=typeof Uint8Array?Uint8Array:Array,gn=!1;function yn(){gn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)An[t]=e[t],hn[e.charCodeAt(t)]=t;hn["-".charCodeAt(0)]=62,hn["_".charCodeAt(0)]=63}function mn(e,t,n){for(var r,i,o=[],a=t;a>18&63]+An[i>>12&63]+An[i>>6&63]+An[63&i]);return o.join("")}function bn(e){var t;gn||yn();for(var n=e.length,r=n%3,i="",o=[],a=16383,s=0,u=n-r;su?u:s+a));return 1===r?(t=e[n-1],i+=An[t>>2],i+=An[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=An[t>>10],i+=An[t>>4&63],i+=An[t<<2&63],i+="="),o.push(i),o.join("")}function vn(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,f=n?i-1:0,d=n?-1:1,A=e[t+f];for(f+=d,o=A&(1<<-l)-1,A>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(A?-1:1);a+=Math.pow(2,r),o-=c}return(A?-1:1)*a*Math.pow(2,o-r)}function wn(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,A=r?0:o-1,h=r?1:-1,p=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+A]=255&s,A+=h,s/=256,i-=8);for(a=a<0;e[n+A]=255&a,A+=h,a/=256,c-=8);e[n+A-h]|=128*p}var En={}.toString,In=Array.isArray||function(e){return"[object Array]"==En.call(e)};Sn.TYPED_ARRAY_SUPPORT=void 0===dn.TYPED_ARRAY_SUPPORT||dn.TYPED_ARRAY_SUPPORT;var Bn=Cn();function Cn(){return Sn.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function _n(e,t){if(Cn()=Cn())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Cn().toString(16)+" bytes");return 0|e}function Dn(e){return!(null==e||!e._isBuffer)}function Tn(e,t){if(Dn(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return sr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ur(e).length;default:if(r)return sr(e).length;t=(""+t).toLowerCase(),r=!0}}function Nn(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Wn(this,t,n);case"utf8":case"utf-8":return Kn(this,t,n);case"ascii":return Vn(this,t,n);case"latin1":case"binary":return Jn(this,t,n);case"base64":return Yn(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $n(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function On(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Ln(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Sn.from(t,r)),Dn(t))return 0===t.length?-1:Pn(e,t,n,r,i);if("number"==typeof t)return t&=255,Sn.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Pn(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function Pn(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function Yn(e,t,n){return 0===t&&n===e.length?bn(e):bn(e.slice(t,n))}function Kn(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],a=e[i+2],s=e[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&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=zn)return String.fromCharCode.apply(String,e);for(var n="",r=0;r0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},Sn.prototype.compare=function(e,t,n,r,i){if(!Dn(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=e.slice(t,n),l=0;li)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return Un(this,e,t,n);case"utf8":case"utf-8":return Fn(this,e,t,n);case"ascii":return jn(this,e,t,n);case"latin1":case"binary":return qn(this,e,t,n);case"base64":return Gn(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Hn(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},Sn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var zn=4096;function Vn(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function Xn(e,t,n,r,i,o){if(!Dn(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function er(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function tr(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function nr(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function rr(e,t,n,r,i){return i||nr(e,0,n,4),wn(e,t,n,r,23,4),n+4}function ir(e,t,n,r,i){return i||nr(e,0,n,8),wn(e,t,n,r,52,8),n+8}Sn.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},Sn.prototype.readUInt8=function(e,t){return t||Zn(e,1,this.length),this[e]},Sn.prototype.readUInt16LE=function(e,t){return t||Zn(e,2,this.length),this[e]|this[e+1]<<8},Sn.prototype.readUInt16BE=function(e,t){return t||Zn(e,2,this.length),this[e]<<8|this[e+1]},Sn.prototype.readUInt32LE=function(e,t){return t||Zn(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Sn.prototype.readUInt32BE=function(e,t){return t||Zn(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Sn.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Zn(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},Sn.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Zn(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},Sn.prototype.readInt8=function(e,t){return t||Zn(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Sn.prototype.readInt16LE=function(e,t){t||Zn(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Sn.prototype.readInt16BE=function(e,t){t||Zn(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Sn.prototype.readInt32LE=function(e,t){return t||Zn(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Sn.prototype.readInt32BE=function(e,t){return t||Zn(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Sn.prototype.readFloatLE=function(e,t){return t||Zn(e,4,this.length),vn(this,e,!0,23,4)},Sn.prototype.readFloatBE=function(e,t){return t||Zn(e,4,this.length),vn(this,e,!1,23,4)},Sn.prototype.readDoubleLE=function(e,t){return t||Zn(e,8,this.length),vn(this,e,!0,52,8)},Sn.prototype.readDoubleBE=function(e,t){return t||Zn(e,8,this.length),vn(this,e,!1,52,8)},Sn.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Xn(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},Sn.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Xn(this,e,t,1,255,0),Sn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Sn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Xn(this,e,t,2,65535,0),Sn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):er(this,e,t,!0),t+2},Sn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Xn(this,e,t,2,65535,0),Sn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):er(this,e,t,!1),t+2},Sn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Xn(this,e,t,4,4294967295,0),Sn.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):tr(this,e,t,!0),t+4},Sn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Xn(this,e,t,4,4294967295,0),Sn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):tr(this,e,t,!1),t+4},Sn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Xn(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},Sn.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Xn(this,e,t,1,127,-128),Sn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Sn.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Xn(this,e,t,2,32767,-32768),Sn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):er(this,e,t,!0),t+2},Sn.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Xn(this,e,t,2,32767,-32768),Sn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):er(this,e,t,!1),t+2},Sn.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Xn(this,e,t,4,2147483647,-2147483648),Sn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):tr(this,e,t,!0),t+4},Sn.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Xn(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Sn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):tr(this,e,t,!1),t+4},Sn.prototype.writeFloatLE=function(e,t,n){return rr(this,e,t,!0,n)},Sn.prototype.writeFloatBE=function(e,t,n){return rr(this,e,t,!1,n)},Sn.prototype.writeDoubleLE=function(e,t,n){return ir(this,e,t,!0,n)},Sn.prototype.writeDoubleBE=function(e,t,n){return ir(this,e,t,!1,n)},Sn.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!Sn.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function ur(e){return function(e){var t,n,r,i,o,a;gn||yn();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new pn(3*s/4-o),r=o>0?s-4:s;var u=0;for(t=0,n=0;t>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=hn[e.charCodeAt(t)]<<2|hn[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=hn[e.charCodeAt(t)]<<10|hn[e.charCodeAt(t+1)]<<4|hn[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(or,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function cr(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function lr(e){return null!=e&&(!!e._isBuffer||fr(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&fr(e.slice(0,0))}(e))}function fr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var dr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function Ar(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var hr={},pr={},gr={},yr=Ar(Object.freeze({__proto__:null,Buffer:Sn,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return+e!=e&&(e=0),Sn.alloc(+e)},isBuffer:lr,kMaxLength:Bn})),mr={};function br(){throw new Error("setTimeout has not been defined")}function vr(){throw new Error("clearTimeout has not been defined")}var wr=br,Er=vr;function Ir(e){if(wr===setTimeout)return setTimeout(e,0);if((wr===br||!wr)&&setTimeout)return wr=setTimeout,setTimeout(e,0);try{return wr(e,0)}catch(t){try{return wr.call(null,e,0)}catch(t){return wr.call(this,e,0)}}}"function"==typeof dn.setTimeout&&(wr=setTimeout),"function"==typeof dn.clearTimeout&&(Er=clearTimeout);var Br,Cr=[],_r=!1,Sr=-1;function Qr(){_r&&Br&&(_r=!1,Br.length?Cr=Br.concat(Cr):Sr=-1,Cr.length&&kr())}function kr(){if(!_r){var e=Ir(Qr);_r=!0;for(var t=Cr.length;t;){for(Br=Cr,Cr=[];++Sr1)for(var n=1;n4294967295)throw new RangeError("requested too many random bytes");var n=Vr.allocUnsafe(e);if(e>0)if(e>zr)for(var r=0;r0&&a.length>i){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,"function"==typeof console.warn?console.warn(s):console.log(s)}}else a=o[t]=n,++e._eventsCount;return e}function ii(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}function oi(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function ai(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}ei.prototype=Object.create(null),ti.EventEmitter=ti,ti.usingDomains=!1,ti.prototype.domain=void 0,ti.prototype._events=void 0,ti.prototype._maxListeners=void 0,ti.defaultMaxListeners=10,ti.init=function(){this.domain=null,ti.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new ei,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ti.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},ti.prototype.getMaxListeners=function(){return ni(this)},ti.prototype.emit=function(e){var t,n,r,i,o,a,s,u="error"===e;if(a=this._events)u=u&&null==a.error;else if(!u)return!1;if(s=this.domain,u){if(t=arguments[1],!s){if(t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var l="function"==typeof n;switch(r=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var r=e.length,i=ai(e,r),o=0;o0;)if(n[o]===t||n[o].listener&&n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;if(1===n.length){if(n[0]=void 0,0==--this._eventsCount)return this._events=new ei,this;delete r[e]}else!function(e,t){for(var n=t,r=n+1,i=e.length;r0?Reflect.ownKeys(this._events):[]};var si=Ar(Object.freeze({__proto__:null,EventEmitter:ti,default:ti})),ui=si.EventEmitter,ci="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},li=/%[sdj%]/g;function fi(e){if(!Qi(e)){for(var t=[],n=0;n=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Bi(t)?n.showHidden=t:t&&qi(n,t),Mi(n.showHidden)&&(n.showHidden=!1),Mi(n.depth)&&(n.depth=2),Mi(n.colors)&&(n.colors=!1),Mi(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=yi),bi(n,e,n.depth)}function yi(e,t){var n=gi.styles[t];return n?"["+gi.colors[n][0]+"m"+e+"["+gi.colors[n][1]+"m":e}function mi(e,t){return e}function bi(e,t,n){if(e.customInspect&&t&&Ni(t.inspect)&&t.inspect!==gi&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Qi(r)||(r=bi(e,r,n)),r}var i=function(e,t){if(Mi(t))return e.stylize("undefined","undefined");if(Qi(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return Si(t)?e.stylize(""+t,"number"):Bi(t)?e.stylize(""+t,"boolean"):Ci(t)?e.stylize("null","null"):void 0}(e,t);if(i)return i;var o=Object.keys(t),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),Ti(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return wi(t);if(0===o.length){if(Ni(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(xi(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Di(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Ti(t))return wi(t)}var u,c="",l=!1,f=["{","}"];return Ii(t)&&(l=!0,f=["[","]"]),Ni(t)&&(c=" [Function"+(t.name?": "+t.name:"")+"]"),xi(t)&&(c=" "+RegExp.prototype.toString.call(t)),Di(t)&&(c=" "+Date.prototype.toUTCString.call(t)),Ti(t)&&(c=" "+wi(t)),0!==o.length||l&&0!=t.length?n<0?xi(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=l?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(u,c,f)):f[0]+c+f[1]}function wi(e){return"["+Error.prototype.toString.call(e)+"]"}function Ei(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),Gi(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=Ci(n)?bi(e,u.value,null):bi(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),Mi(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function Ii(e){return Array.isArray(e)}function Bi(e){return"boolean"==typeof e}function Ci(e){return null===e}function _i(e){return null==e}function Si(e){return"number"==typeof e}function Qi(e){return"string"==typeof e}function ki(e){return"symbol"==typeof e}function Mi(e){return void 0===e}function xi(e){return Ri(e)&&"[object RegExp]"===Pi(e)}function Ri(e){return"object"==typeof e&&null!==e}function Di(e){return Ri(e)&&"[object Date]"===Pi(e)}function Ti(e){return Ri(e)&&("[object Error]"===Pi(e)||e instanceof Error)}function Ni(e){return"function"==typeof e}function Oi(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Li(e){return lr(e)}function Pi(e){return Object.prototype.toString.call(e)}function Ui(e){return e<10?"0"+e.toString(10):e.toString(10)}gi.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},gi.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Fi=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ji(){var e,t;console.log("%s - %s",(t=[Ui((e=new Date).getHours()),Ui(e.getMinutes()),Ui(e.getSeconds())].join(":"),[e.getDate(),Fi[e.getMonth()],t].join(" ")),fi.apply(null,arguments))}function qi(e,t){if(!t||!Ri(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function Gi(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Hi,Yi,Ki={inherits:ci,_extend:qi,log:ji,isBuffer:Li,isPrimitive:Oi,isFunction:Ni,isError:Ti,isDate:Di,isObject:Ri,isRegExp:xi,isUndefined:Mi,isSymbol:ki,isString:Qi,isNumber:Si,isNullOrUndefined:_i,isNull:Ci,isBoolean:Bi,isArray:Ii,inspect:gi,deprecate:di,format:fi,debuglog:pi},zi=Ar(Object.freeze({__proto__:null,_extend:qi,debuglog:pi,default:Ki,deprecate:di,format:fi,inherits:ci,inspect:gi,isArray:Ii,isBoolean:Bi,isBuffer:Li,isDate:Di,isError:Ti,isFunction:Ni,isNull:Ci,isNullOrUndefined:_i,isNumber:Si,isObject:Ri,isPrimitive:Oi,isRegExp:xi,isString:Qi,isSymbol:ki,isUndefined:Mi,log:ji}));function Vi(e,t){Wi(e,t),Ji(e)}function Ji(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function Wi(e,t){e.emit("error",t)}var $i={destroy:function(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return r||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Mr(Wi,this,e)):Mr(Wi,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted?Mr(Ji,n):(n._writableState.errorEmitted=!0,Mr(Vi,n,e)):Mr(Vi,n,e):t?(Mr(Ji,n),t(e)):Mr(Ji,n)})),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(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}},Zi={},Xi={};function eo(e,t,n){n||(n=Error);var r=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);r.prototype.name=n.name,r.prototype.code=e,Xi[e]=r}function to(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}eo("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),eo("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i;if("string"==typeof t&&("not ","not "===t.substr(0,4))?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length)," argument"===e.substring(n-9,n)}(e))i="The ".concat(e," ").concat(r," ").concat(to(t,"type"));else{var o=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+1>e.length)&&-1!==e.indexOf(".",n)}(e)?"property":"argument";i='The "'.concat(e,'" ').concat(o," ").concat(r," ").concat(to(t,"type"))}return i+". Received type ".concat(typeof n)}),TypeError),eo("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),eo("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),eo("ERR_STREAM_PREMATURE_CLOSE","Premature close"),eo("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),eo("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),eo("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),eo("ERR_STREAM_WRITE_AFTER_END","write after end"),eo("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),eo("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),eo("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Zi.codes=Xi;var no,ro,io,oo,ao,so,uo=Zi.codes.ERR_INVALID_OPT_VALUE,co={getHighWaterMark:function(e,t,n,r){var i=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,r,n);if(null!=i){if(!isFinite(i)||Math.floor(i)!==i||i<0)throw new uo(r?n:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}};function lo(){if(ro)return no;function e(e){try{if(!dr.localStorage)return!1}catch(e){return!1}var t=dr.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}return ro=1,no=function(t,n){if(e("noDeprecation"))return t;var r=!1;return function(){if(!r){if(e("throwDeprecation"))throw new Error(n);e("traceDeprecation")?console.trace(n):console.warn(n),r=!0}return t.apply(this,arguments)}},no}function fo(){if(oo)return io;function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(void 0),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var t;oo=1,io=w,w.WritableState=v;var n,r={deprecate:lo()},i=ui,o=yr.Buffer,a=(void 0!==dr?dr:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},s=$i,u=co.getHighWaterMark,c=Zi.codes,l=c.ERR_INVALID_ARG_TYPE,f=c.ERR_METHOD_NOT_IMPLEMENTED,d=c.ERR_MULTIPLE_CALLBACK,A=c.ERR_STREAM_CANNOT_PIPE,h=c.ERR_STREAM_DESTROYED,p=c.ERR_STREAM_NULL_VALUES,g=c.ERR_STREAM_WRITE_AFTER_END,y=c.ERR_UNKNOWN_ENCODING,m=s.errorOrDestroy;function b(){}function v(n,r,i){t=t||Ao(),n=n||{},"boolean"!=typeof i&&(i=r instanceof t),this.objectMode=!!n.objectMode,i&&(this.objectMode=this.objectMode||!!n.writableObjectMode),this.highWaterMark=u(this,n,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===n.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new d;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(Mr(i,r),Mr(S,e,t),e._writableState.errorEmitted=!0,m(e,r)):(i(r),e._writableState.errorEmitted=!0,m(e,r),S(e,t))}(e,n,r,t,i);else{var o=C(n)||e.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||B(e,n),r?Mr(I,e,n,o,i):I(e,n,o,i)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==n.emitClose,this.autoDestroy=!!n.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function w(e){var r=this instanceof(t=t||Ao());if(!r&&!n.call(w,this))return new w(e);this._writableState=new v(e,this,r),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),i.call(this)}function E(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new h("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function I(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function B(t,n){n.bufferProcessing=!0;var r=n.bufferedRequest;if(t._writev&&r&&r.next){var i=n.bufferedRequestCount,o=new Array(i),a=n.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,E(t,n,!0,n.length,o,"",a.finish),n.pendingcb++,n.lastBufferedRequest=null,a.next?(n.corkedRequestsFree=a.next,a.next=null):n.corkedRequestsFree=new e(n),n.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(E(t,n,!1,n.objectMode?1:c.length,c,l,f),r=r.next,n.bufferedRequestCount--,n.writing)break}null===r&&(n.lastBufferedRequest=null)}n.bufferedRequest=r,n.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final((function(n){t.pendingcb--,n&&m(e,n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=C(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,Mr(_,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}return Zr(w,i),v.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(v.prototype,"buffer",{get:r.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(n=Function.prototype[Symbol.hasInstance],Object.defineProperty(w,Symbol.hasInstance,{value:function(e){return!!n.call(this,e)||this===w&&e&&e._writableState instanceof v}})):n=function(e){return e instanceof this},w.prototype.pipe=function(){m(this,new A)},w.prototype.write=function(e,t,n){var r,i=this._writableState,s=!1,u=!i.objectMode&&(r=e,o.isBuffer(r)||r instanceof a);return u&&!o.isBuffer(e)&&(e=function(e){return o.from(e)}(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=b),i.ending?function(e,t){var n=new g;m(e,n),Mr(t,n)}(this,n):(u||function(e,t,n,r){var i;return null===n?i=new p:"string"==typeof n||t.objectMode||(i=new l("chunk",["string","Buffer"],n)),!i||(m(e,i),Mr(r,i),!1)}(this,i,e,n))&&(i.pendingcb++,s=function(e,t,n,r,i,a){if(!n){var s=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=o.from(t,n)),t}(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var u=t.objectMode?1:r.length;t.length+=u;var c=t.length-1))throw new y(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(w.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),w.prototype._write=function(e,t,n){n(new f("_write()"))},w.prototype._writev=null,w.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?Mr(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(w.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(w.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),w.prototype.destroy=s.destroy,w.prototype._undestroy=s.undestroy,w.prototype._destroy=function(e,t){t(e)},io}function Ao(){if(so)return ao;so=1;var e=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};ao=a;var t=_o(),n=fo();Zr(a,t);for(var r=e(n.prototype),i=0;i>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function o(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function s(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function c(e){return e.toString(this.encoding)}function l(e){return e&&e.length?this.write(e):""}return po.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(o>0&&(e.lastNeed=o-1),o):--i=0?(o>0&&(e.lastNeed=o-2),o):--i=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},po}var yo=Zi.codes.ERR_STREAM_PREMATURE_CLOSE;function mo(){}var bo,vo,wo,Eo,Io,Bo,Co=function e(t,n,r){if("function"==typeof n)return e(t,null,n);n||(n={}),r=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,n,r,i=o.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=i,r=s,o.prototype.copy.call(t,n,r),s+=a.data.length,a=a.next;return i}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0==(e-=a)){a===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,t}},{key:s,value:function(e,n){return a(this,t(t({},n),{},{depth:0,customInspect:!1}))}}],i&&r(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),e}(),Hi}(),f=$i,d=co.getHighWaterMark,A=Zi.codes,h=A.ERR_INVALID_ARG_TYPE,p=A.ERR_STREAM_PUSH_AFTER_EOF,g=A.ERR_METHOD_NOT_IMPLEMENTED,y=A.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;Zr(w,r);var m=f.errorOrDestroy,b=["error","close","destroy","pause","resume"];function v(t,n,r){e=e||Ao(),t=t||{},"boolean"!=typeof r&&(r=n instanceof e),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=d(this,t,"readableHighWaterMark",r),this.buffer=new l,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&&(s||(s=go().StringDecoder),this.decoder=new s(t.encoding),this.encoding=t.encoding)}function w(t){if(e=e||Ao(),!(this instanceof w))return new w(t);var n=this instanceof e;this._readableState=new v(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),r.call(this)}function E(e,n,r,a,s){t("readableAddChunk",n);var u,c=e._readableState;if(null===n)c.reading=!1,function(e,n){if(t("onEofChunk"),!n.ended){if(n.decoder){var r=n.decoder.end();r&&r.length&&(n.buffer.push(r),n.length+=n.objectMode?1:r.length)}n.ended=!0,n.sync?_(e):(n.needReadable=!1,n.emittedReadable||(n.emittedReadable=!0,S(e)))}}(e,c);else if(s||(u=function(e,t){var n,r;return r=t,i.isBuffer(r)||r instanceof o||"string"==typeof t||void 0===t||e.objectMode||(n=new h("chunk",["string","Buffer","Uint8Array"],t)),n}(c,n)),u)m(e,u);else if(c.objectMode||n&&n.length>0)if("string"==typeof n||c.objectMode||Object.getPrototypeOf(n)===i.prototype||(n=function(e){return i.from(e)}(n)),a)c.endEmitted?m(e,new y):I(e,c,n,!0);else if(c.ended)m(e,new p);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!r?(n=c.decoder.write(n),c.objectMode||0!==n.length?I(e,c,n,!1):Q(e,c)):I(e,c,n,!1)}else a||(c.reading=!1,Q(e,c));return!c.ended&&(c.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=B?e=B:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(e){var n=e._readableState;t("emitReadable",n.needReadable,n.emittedReadable),n.needReadable=!1,n.emittedReadable||(t("emitReadable",n.flowing),n.emittedReadable=!0,Mr(S,e))}function S(e){var n=e._readableState;t("emitReadable_",n.destroyed,n.length,n.ended),n.destroyed||!n.length&&!n.ended||(e.emit("readable"),n.emittedReadable=!1),n.needReadable=!n.flowing&&!n.ended&&n.length<=n.highWaterMark,D(e)}function Q(e,t){t.readingMore||(t.readingMore=!0,Mr(k,e,t))}function k(e,n){for(;!n.reading&&!n.ended&&(n.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function x(e){t("readable nexttick read 0"),e.read(0)}function R(e,n){t("resume",n.reading),n.reading||e.read(0),n.resumeScheduled=!1,e.emit("resume"),D(e),n.flowing&&!n.reading&&e.read(0)}function D(e){var n=e._readableState;for(t("flow",n.flowing);n.flowing&&null!==e.read(););}function T(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function N(e){var n=e._readableState;t("endReadable",n.endEmitted),n.endEmitted||(n.ended=!0,Mr(O,n,e))}function O(e,n){if(t("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,n.readable=!1,n.emit("end"),e.autoDestroy)){var r=n._writableState;(!r||r.autoDestroy&&r.finished)&&n.destroy()}}function L(e,t){for(var n=0,r=e.length;n=n.highWaterMark:n.length>0)||n.ended))return t("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?N(this):_(this),null;if(0===(e=C(e,n))&&n.ended)return 0===n.length&&N(this),null;var i,o=n.needReadable;return t("need readable",o),(0===n.length||n.length-e0?T(e,n):null)?(n.needReadable=n.length<=n.highWaterMark,e=0):(n.length-=e,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),r!==e&&n.ended&&N(this)),null!==i&&this.emit("data",i),i},w.prototype._read=function(e){m(this,new g("_read()"))},w.prototype.pipe=function(e,r){var i=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,t("pipe count=%d opts=%j",o.pipesCount,r);var a=r&&!1===r.end||e===Gr.stdout||e===Gr.stderr?h:s;function s(){t("onend"),e.end()}o.endEmitted?Mr(a):i.once("end",a),e.on("unpipe",(function n(r,a){t("onunpipe"),r===i&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,t("cleanup"),e.removeListener("close",d),e.removeListener("finish",A),e.removeListener("drain",u),e.removeListener("error",f),e.removeListener("unpipe",n),i.removeListener("end",s),i.removeListener("end",h),i.removeListener("data",l),c=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}));var u=function(e){return function(){var r=e._readableState;t("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&n(e,"data")&&(r.flowing=!0,D(e))}}(i);e.on("drain",u);var c=!1;function l(n){t("ondata");var r=e.write(n);t("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==L(o.pipes,e))&&!c&&(t("false write response, pause",o.awaitDrain),o.awaitDrain++),i.pause())}function f(r){t("onerror",r),h(),e.removeListener("error",f),0===n(e,"error")&&m(e,r)}function d(){e.removeListener("finish",A),h()}function A(){t("onfinish"),e.removeListener("close",d),h()}function h(){t("unpipe"),i.unpipe(e)}return i.on("data",l),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",d),e.once("finish",A),e.emit("pipe",i),o.flowing||(t("pipe resume"),i.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,t("on readable",o.length,o.reading),o.length?_(this):o.reading||Mr(x,this))),i},w.prototype.addListener=w.prototype.on,w.prototype.removeListener=function(e,t){var n=r.prototype.removeListener.call(this,e,t);return"readable"===e&&Mr(M,this),n},w.prototype.removeAllListeners=function(e){var t=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||Mr(M,this),t},w.prototype.resume=function(){var e=this._readableState;return e.flowing||(t("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Mr(R,e,t))}(this,e)),e.paused=!1,this},w.prototype.pause=function(){return t("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(t("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},w.prototype.wrap=function(e){var n=this,r=this._readableState,i=!1;for(var o in e.on("end",(function(){if(t("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&n.push(e)}n.push(null)})),e.on("data",(function(o){t("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o||(r.objectMode||o&&o.length)&&(n.push(o)||(i=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var a=0;a0,(function(e){r||(r=e),e&&o.forEach(Ko),a||(o.forEach(Ko),i(r))}))}));return t.reduce(zo)};var Jo=Xr.exports,Wo=Kr.Buffer,$o=Jo.Transform;function Zo(e){$o.call(this),this._block=Wo.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}Zr(Zo,$o),Zo.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},Zo.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},Zo.prototype.update=function(e,t){if(function(e,t){if(!Wo.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer")}(e),this._finalized)throw new Error("Digest already called");Wo.isBuffer(e)||(e=Wo.from(e,t));for(var n=this._block,r=0;this._blockOffset+e.length-r>=this._blockSize;){for(var i=this._blockOffset;i0;++o)this._length[o]+=a,(a=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*a);return this},Zo.prototype._update=function(){throw new Error("_update is not implemented")},Zo.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},Zo.prototype._digest=function(){throw new Error("_digest is not implemented")};var Xo=Zo,ea=Zr,ta=Xo,na=Kr.Buffer,ra=new Array(16);function ia(){ta.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function oa(e,t){return e<>>32-t}function aa(e,t,n,r,i,o,a){return oa(e+(t&n|~t&r)+i+o|0,a)+t|0}function sa(e,t,n,r,i,o,a){return oa(e+(t&r|n&~r)+i+o|0,a)+t|0}function ua(e,t,n,r,i,o,a){return oa(e+(t^n^r)+i+o|0,a)+t|0}function ca(e,t,n,r,i,o,a){return oa(e+(n^(t|~r))+i+o|0,a)+t|0}ea(ia,ta),ia.prototype._update=function(){for(var e=ra,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=aa(n,r,i,o,e[0],3614090360,7),o=aa(o,n,r,i,e[1],3905402710,12),i=aa(i,o,n,r,e[2],606105819,17),r=aa(r,i,o,n,e[3],3250441966,22),n=aa(n,r,i,o,e[4],4118548399,7),o=aa(o,n,r,i,e[5],1200080426,12),i=aa(i,o,n,r,e[6],2821735955,17),r=aa(r,i,o,n,e[7],4249261313,22),n=aa(n,r,i,o,e[8],1770035416,7),o=aa(o,n,r,i,e[9],2336552879,12),i=aa(i,o,n,r,e[10],4294925233,17),r=aa(r,i,o,n,e[11],2304563134,22),n=aa(n,r,i,o,e[12],1804603682,7),o=aa(o,n,r,i,e[13],4254626195,12),i=aa(i,o,n,r,e[14],2792965006,17),n=sa(n,r=aa(r,i,o,n,e[15],1236535329,22),i,o,e[1],4129170786,5),o=sa(o,n,r,i,e[6],3225465664,9),i=sa(i,o,n,r,e[11],643717713,14),r=sa(r,i,o,n,e[0],3921069994,20),n=sa(n,r,i,o,e[5],3593408605,5),o=sa(o,n,r,i,e[10],38016083,9),i=sa(i,o,n,r,e[15],3634488961,14),r=sa(r,i,o,n,e[4],3889429448,20),n=sa(n,r,i,o,e[9],568446438,5),o=sa(o,n,r,i,e[14],3275163606,9),i=sa(i,o,n,r,e[3],4107603335,14),r=sa(r,i,o,n,e[8],1163531501,20),n=sa(n,r,i,o,e[13],2850285829,5),o=sa(o,n,r,i,e[2],4243563512,9),i=sa(i,o,n,r,e[7],1735328473,14),n=ua(n,r=sa(r,i,o,n,e[12],2368359562,20),i,o,e[5],4294588738,4),o=ua(o,n,r,i,e[8],2272392833,11),i=ua(i,o,n,r,e[11],1839030562,16),r=ua(r,i,o,n,e[14],4259657740,23),n=ua(n,r,i,o,e[1],2763975236,4),o=ua(o,n,r,i,e[4],1272893353,11),i=ua(i,o,n,r,e[7],4139469664,16),r=ua(r,i,o,n,e[10],3200236656,23),n=ua(n,r,i,o,e[13],681279174,4),o=ua(o,n,r,i,e[0],3936430074,11),i=ua(i,o,n,r,e[3],3572445317,16),r=ua(r,i,o,n,e[6],76029189,23),n=ua(n,r,i,o,e[9],3654602809,4),o=ua(o,n,r,i,e[12],3873151461,11),i=ua(i,o,n,r,e[15],530742520,16),n=ca(n,r=ua(r,i,o,n,e[2],3299628645,23),i,o,e[0],4096336452,6),o=ca(o,n,r,i,e[7],1126891415,10),i=ca(i,o,n,r,e[14],2878612391,15),r=ca(r,i,o,n,e[5],4237533241,21),n=ca(n,r,i,o,e[12],1700485571,6),o=ca(o,n,r,i,e[3],2399980690,10),i=ca(i,o,n,r,e[10],4293915773,15),r=ca(r,i,o,n,e[1],2240044497,21),n=ca(n,r,i,o,e[8],1873313359,6),o=ca(o,n,r,i,e[15],4264355552,10),i=ca(i,o,n,r,e[6],2734768916,15),r=ca(r,i,o,n,e[13],1309151649,21),n=ca(n,r,i,o,e[4],4149444226,6),o=ca(o,n,r,i,e[11],3174756917,10),i=ca(i,o,n,r,e[2],718787259,15),r=ca(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},ia.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 e=na.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e};var la=ia,fa=yr.Buffer,da=Zr,Aa=Xo,ha=new Array(16),pa=[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],ga=[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],ya=[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],ma=[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],ba=[0,1518500249,1859775393,2400959708,2840853838],va=[1352829926,1548603684,1836072691,2053994217,0];function wa(){Aa.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function Ea(e,t){return e<>>32-t}function Ia(e,t,n,r,i,o,a,s){return Ea(e+(t^n^r)+o+a|0,s)+i|0}function Ba(e,t,n,r,i,o,a,s){return Ea(e+(t&n|~t&r)+o+a|0,s)+i|0}function Ca(e,t,n,r,i,o,a,s){return Ea(e+((t|~n)^r)+o+a|0,s)+i|0}function _a(e,t,n,r,i,o,a,s){return Ea(e+(t&r|n&~r)+o+a|0,s)+i|0}function Sa(e,t,n,r,i,o,a,s){return Ea(e+(t^(n|~r))+o+a|0,s)+i|0}da(wa,Aa),wa.prototype._update=function(){for(var e=ha,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,a=0|this._e,s=0|this._a,u=0|this._b,c=0|this._c,l=0|this._d,f=0|this._e,d=0;d<80;d+=1){var A,h;d<16?(A=Ia(n,r,i,o,a,e[pa[d]],ba[0],ya[d]),h=Sa(s,u,c,l,f,e[ga[d]],va[0],ma[d])):d<32?(A=Ba(n,r,i,o,a,e[pa[d]],ba[1],ya[d]),h=_a(s,u,c,l,f,e[ga[d]],va[1],ma[d])):d<48?(A=Ca(n,r,i,o,a,e[pa[d]],ba[2],ya[d]),h=Ca(s,u,c,l,f,e[ga[d]],va[2],ma[d])):d<64?(A=_a(n,r,i,o,a,e[pa[d]],ba[3],ya[d]),h=Ba(s,u,c,l,f,e[ga[d]],va[3],ma[d])):(A=Sa(n,r,i,o,a,e[pa[d]],ba[4],ya[d]),h=Ia(s,u,c,l,f,e[ga[d]],va[4],ma[d])),n=a,a=o,o=Ea(i,10),i=r,r=A,s=f,f=l,l=Ea(c,10),c=u,u=h}var p=this._b+i+l|0;this._b=this._c+o+f|0,this._c=this._d+a+s|0,this._d=this._e+n+u|0,this._e=this._a+r+c|0,this._a=p},wa.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 e=fa.alloc?fa.alloc(20):new fa(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e};var Qa=wa,ka={exports:{}},Ma=Kr.Buffer;function xa(e,t){this._block=Ma.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}xa.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=Ma.from(e,t));for(var n=this._block,r=this._blockSize,i=e.length,o=this._len,a=0;a=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},xa.prototype._update=function(){throw new Error("_update must be implemented by subclass")};var Ra=xa,Da=Zr,Ta=Ra,Na=Kr.Buffer,Oa=[1518500249,1859775393,-1894007588,-899497514],La=new Array(80);function Pa(){this.init(),this._w=La,Ta.call(this,64,56)}function Ua(e){return e<<30|e>>>2}function Fa(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}Da(Pa,Ta),Pa.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},Pa.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,s=0|this._e,u=0;u<16;++u)n[u]=e.readInt32BE(4*u);for(;u<80;++u)n[u]=n[u-3]^n[u-8]^n[u-14]^n[u-16];for(var c=0;c<80;++c){var l=~~(c/20),f=0|((t=r)<<5|t>>>27)+Fa(l,i,o,a)+s+n[c]+Oa[l];s=a,a=o,o=Ua(i),i=r,r=f}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},Pa.prototype._hash=function(){var e=Na.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e};var ja=Pa,qa=Zr,Ga=Ra,Ha=Kr.Buffer,Ya=[1518500249,1859775393,-1894007588,-899497514],Ka=new Array(80);function za(){this.init(),this._w=Ka,Ga.call(this,64,56)}function Va(e){return e<<5|e>>>27}function Ja(e){return e<<30|e>>>2}function Wa(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}qa(za,Ga),za.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},za.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,s=0|this._e,u=0;u<16;++u)n[u]=e.readInt32BE(4*u);for(;u<80;++u)n[u]=(t=n[u-3]^n[u-8]^n[u-14]^n[u-16])<<1|t>>>31;for(var c=0;c<80;++c){var l=~~(c/20),f=Va(r)+Wa(l,i,o,a)+s+n[c]+Ya[l]|0;s=a,a=o,o=Ja(i),i=r,r=f}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},za.prototype._hash=function(){var e=Ha.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e};var $a=za,Za=Zr,Xa=Ra,es=Kr.Buffer,ts=[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],ns=new Array(64);function rs(){this.init(),this._w=ns,Xa.call(this,64,56)}function is(e,t,n){return n^e&(t^n)}function os(e,t,n){return e&t|n&(e|t)}function as(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function ss(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function us(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}Za(rs,Xa),rs.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},rs.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,s=0|this._e,u=0|this._f,c=0|this._g,l=0|this._h,f=0;f<16;++f)n[f]=e.readInt32BE(4*f);for(;f<64;++f)n[f]=0|(((t=n[f-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[f-7]+us(n[f-15])+n[f-16];for(var d=0;d<64;++d){var A=l+ss(s)+is(s,u,c)+ts[d]+n[d]|0,h=as(r)+os(r,i,o)|0;l=c,c=u,u=s,s=a+A|0,a=o,o=i,i=r,r=A+h|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0,this._f=u+this._f|0,this._g=c+this._g|0,this._h=l+this._h|0},rs.prototype._hash=function(){var e=es.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e};var cs=rs,ls=Zr,fs=cs,ds=Ra,As=Kr.Buffer,hs=new Array(64);function ps(){this.init(),this._w=hs,ds.call(this,64,56)}ls(ps,fs),ps.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},ps.prototype._hash=function(){var e=As.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e};var gs=ps,ys=Zr,ms=Ra,bs=Kr.Buffer,vs=[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],ws=new Array(160);function Es(){this.init(),this._w=ws,ms.call(this,128,112)}function Is(e,t,n){return n^e&(t^n)}function Bs(e,t,n){return e&t|n&(e|t)}function Cs(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function _s(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function Ss(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function Qs(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function ks(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function Ms(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function xs(e,t){return e>>>0>>0?1:0}ys(Es,ms),Es.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},Es.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,a=0|this._eh,s=0|this._fh,u=0|this._gh,c=0|this._hh,l=0|this._al,f=0|this._bl,d=0|this._cl,A=0|this._dl,h=0|this._el,p=0|this._fl,g=0|this._gl,y=0|this._hl,m=0;m<32;m+=2)t[m]=e.readInt32BE(4*m),t[m+1]=e.readInt32BE(4*m+4);for(;m<160;m+=2){var b=t[m-30],v=t[m-30+1],w=Ss(b,v),E=Qs(v,b),I=ks(b=t[m-4],v=t[m-4+1]),B=Ms(v,b),C=t[m-14],_=t[m-14+1],S=t[m-32],Q=t[m-32+1],k=E+_|0,M=w+C+xs(k,E)|0;M=(M=M+I+xs(k=k+B|0,B)|0)+S+xs(k=k+Q|0,Q)|0,t[m]=M,t[m+1]=k}for(var x=0;x<160;x+=2){M=t[x],k=t[x+1];var R=Bs(n,r,i),D=Bs(l,f,d),T=Cs(n,l),N=Cs(l,n),O=_s(a,h),L=_s(h,a),P=vs[x],U=vs[x+1],F=Is(a,s,u),j=Is(h,p,g),q=y+L|0,G=c+O+xs(q,y)|0;G=(G=(G=G+F+xs(q=q+j|0,j)|0)+P+xs(q=q+U|0,U)|0)+M+xs(q=q+k|0,k)|0;var H=N+D|0,Y=T+R+xs(H,N)|0;c=u,y=g,u=s,g=p,s=a,p=h,a=o+G+xs(h=A+q|0,A)|0,o=i,A=d,i=r,d=f,r=n,f=l,n=G+Y+xs(l=q+H|0,q)|0}this._al=this._al+l|0,this._bl=this._bl+f|0,this._cl=this._cl+d|0,this._dl=this._dl+A|0,this._el=this._el+h|0,this._fl=this._fl+p|0,this._gl=this._gl+g|0,this._hl=this._hl+y|0,this._ah=this._ah+n+xs(this._al,l)|0,this._bh=this._bh+r+xs(this._bl,f)|0,this._ch=this._ch+i+xs(this._cl,d)|0,this._dh=this._dh+o+xs(this._dl,A)|0,this._eh=this._eh+a+xs(this._el,h)|0,this._fh=this._fh+s+xs(this._fl,p)|0,this._gh=this._gh+u+xs(this._gl,g)|0,this._hh=this._hh+c+xs(this._hl,y)|0},Es.prototype._hash=function(){var e=bs.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e};var Rs=Es,Ds=Zr,Ts=Rs,Ns=Ra,Os=Kr.Buffer,Ls=new Array(160);function Ps(){this.init(),this._w=Ls,Ns.call(this,128,112)}Ds(Ps,Ts),Ps.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},Ps.prototype._hash=function(){var e=Os.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e};var Us=Ps,Fs=ka.exports=function(e){e=e.toLowerCase();var t=Fs[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};Fs.sha=ja,Fs.sha1=$a,Fs.sha224=gs,Fs.sha256=cs,Fs.sha384=Us,Fs.sha512=Rs;var js=ka.exports;function qs(){this.head=null,this.tail=null,this.length=0}qs.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},qs.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},qs.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},qs.prototype.clear=function(){this.head=this.tail=null,this.length=0},qs.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},qs.prototype.concat=function(e){if(0===this.length)return Sn.alloc(0);if(1===this.length)return this.head.data;for(var t=Sn.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var Gs=Sn.isEncoding||function(e){switch(e&&e.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 Hs(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!Gs(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=Ks;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=zs;break;default:return void(this.write=Ys)}this.charBuffer=new Sn(6),this.charReceived=0,this.charLength=0}function Ys(e){return e.toString(this.encoding)}function Ks(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function zs(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}Hs.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r,i=e.length;if(this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),i=(t+=e.toString(this.encoding,0,i)).length-1,(r=t.charCodeAt(i))>=55296&&r<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,i)}return t},Hs.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},Hs.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t};var Vs=Object.freeze({__proto__:null,StringDecoder:Hs});$s.ReadableState=Ws;var Js=pi("stream");function Ws(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Cu&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new qs,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.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new Hs(e.encoding),this.encoding=e.encoding)}function $s(e){if(!(this instanceof $s))return new $s(e);this._readableState=new Ws(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),ti.call(this)}function Zs(e,t,n,r,i){var o=function(e,t){var n=null;return lr(t)||"string"==typeof t||null==t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(t,n);if(o)e.emit("error",o);else if(null===n)t.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,tu(e)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var u;!t.decoder||i||r||(n=t.decoder.write(n),u=!t.objectMode&&0===n.length),i||(t.reading=!1),u||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&tu(e))),function(e,t){t.readingMore||(t.readingMore=!0,Mr(ru,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=Xs?e=Xs:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function tu(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Js("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Mr(nu,e):nu(e))}function nu(e){Js("emit readable"),e.emit("readable"),au(e)}function ru(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;return eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0==(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=Sn.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0==(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t),r}(e,t.buffer,t.decoder),n);var n}function uu(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Mr(cu,t,e))}function cu(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function lu(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return Js("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?uu(this):tu(this),null;if(0===(e=eu(e,t))&&t.ended)return 0===t.length&&uu(this),null;var r,i=t.needReadable;return Js("need readable",i),(0===t.length||t.length-e0?su(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&uu(this)),null!==r&&this.emit("data",r),r},$s.prototype._read=function(e){this.emit("error",new Error("not implemented"))},$s.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,Js("pipe count=%d opts=%j",r.pipesCount,t);var i=t&&!1===t.end?c:a;function o(e){Js("onunpipe"),e===n&&c()}function a(){Js("onend"),e.end()}r.endEmitted?Mr(i):n.once("end",i),e.on("unpipe",o);var s=function(e){return function(){var t=e._readableState;Js("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,au(e))}}(n);e.on("drain",s);var u=!1;function c(){Js("cleanup"),e.removeListener("close",A),e.removeListener("finish",h),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",o),n.removeListener("end",a),n.removeListener("end",c),n.removeListener("data",f),u=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var l=!1;function f(t){Js("ondata"),l=!1,!1!==e.write(t)||l||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==lu(r.pipes,e))&&!u&&(Js("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,l=!0),n.pause())}function d(t){Js("onerror",t),p(),e.removeListener("error",d),0===e.listeners("error").length&&e.emit("error",t)}function A(){e.removeListener("finish",h),p()}function h(){Js("onfinish"),e.removeListener("close",A),p()}function p(){Js("unpipe"),n.unpipe(e)}return n.on("data",f),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",d),e.once("close",A),e.once("finish",h),e.emit("pipe",n),r.flowing||(Js("pipe resume"),n.resume()),e},$s.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},hu.prototype._write=function(e,t,n){n(new Error("not implemented"))},hu.prototype._writev=null,hu.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,vu(e,t),n&&(t.finished?Mr(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,r,n)},ci(Cu,$s);for(var Eu=Object.keys(hu.prototype),Iu=0;IuWu?t=e(t):t.lengthn?t=("rmd160"===e?new oc:ac(e)).update(t).digest():t.lengthAc||t!=t)throw new TypeError("Bad key length")},pc=dr.process&&dr.process.browser?"utf-8":dr.process&&dr.process.version?parseInt(Gr.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",gc=Kr.Buffer,yc=function(e,t,n){if(gc.isBuffer(e))return e;if("string"==typeof e)return gc.from(e,t);if(ArrayBuffer.isView(e))return gc.from(e.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")},mc=Xu,bc=Qa,vc=js,wc=Kr.Buffer,Ec=hc,Ic=pc,Bc=yc,Cc=wc.alloc(128),_c={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function Sc(e,t,n){var r=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new bc).update(e).digest()}:"md5"===e?mc:function(t){return vc(e).update(t).digest()}}(e),i="sha512"===e||"sha384"===e?128:64;t.length>i?t=r(t):t.length>>0},writeUInt32BE:function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},ip:function(e,t,n,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var 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=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1}n[r+0]=i>>>0,n[r+1]=o>>>0},rip:function(e,t,n,r){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+a&1,i<<=1,i|=e>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},pc1:function(e,t,n,r){for(var i=0,o=0,a=7;a>=5;a--){for(var 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(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},r28shl:function(e,t){return e<>>28-t}},Hc=[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];Gc.pc2=function(e,t,n,r){for(var i=0,o=0,a=Hc.length>>>1,s=0;s>>Hc[s]&1;for(s=a;s>>Hc[s]&1;n[r+0]=i>>>0,n[r+1]=o>>>0},Gc.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var Yc=[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];Gc.substitute=function(e,t){for(var n=0,r=0;r<4;r++)n<<=4,n|=Yc[64*r+(e>>>18-6*r&63)];for(r=0;r<4;r++)n<<=4,n|=Yc[256+64*r+(t>>>18-6*r&63)];return n>>>0};var Kc=[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];Gc.permute=function(e){for(var t=0,n=0;n>>Kc[n]&1;return t>>>0},Gc.padSplit=function(e,t,n){for(var r=e.toString(2);r.length0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},Wc.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},Wc.prototype._pad=function(e,t){if(0===t)return!1;for(;t>>1];n=Xc.r28shl(n,o),r=Xc.r28shl(r,o),Xc.pc2(n,r,e.keys,i)}},nl.prototype._update=function(e,t,n,r){var i=this._desState,o=Xc.readUInt32BE(e,t),a=Xc.readUInt32BE(e,t+4);Xc.ip(o,a,i.tmp,0),o=i.tmp[0],a=i.tmp[1],"encrypt"===this.type?this._encrypt(i,o,a,i.tmp,0):this._decrypt(i,o,a,i.tmp,0),o=i.tmp[0],a=i.tmp[1],Xc.writeUInt32BE(n,o,r),Xc.writeUInt32BE(n,a,r+4)},nl.prototype._pad=function(e,t){if(!1===this.padding)return!1;for(var n=e.length-t,r=t;r>>0,o=f}Xc.rip(a,o,r,i)},nl.prototype._decrypt=function(e,t,n,r,i){for(var o=n,a=t,s=e.keys.length-2;s>=0;s-=2){var u=e.keys[s],c=e.keys[s+1];Xc.expand(o,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var l=Xc.substitute(u,c),f=o;o=(a^Xc.permute(l))>>>0,a=f}Xc.rip(o,a,r,i)};var ol={},al=zc,sl=Zr,ul={};function cl(e){al.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t>o%8,e._prev=Pl(e._prev,n?r:i);return a}function Pl(e,t){var n=e.length,r=-1,i=Ol.allocUnsafe(e.length);for(e=Ol.concat([e,Ol.from([t])]);++r>7;return i}Nl.encrypt=function(e,t,n){for(var r=t.length,i=Ol.allocUnsafe(r),o=-1;++o>>24]^l[h>>>16&255]^f[p>>>8&255]^d[255&g]^t[y++],a=c[h>>>24]^l[p>>>16&255]^f[g>>>8&255]^d[255&A]^t[y++],s=c[p>>>24]^l[g>>>16&255]^f[A>>>8&255]^d[255&h]^t[y++],u=c[g>>>24]^l[A>>>16&255]^f[h>>>8&255]^d[255&p]^t[y++],A=o,h=a,p=s,g=u;return o=(r[A>>>24]<<24|r[h>>>16&255]<<16|r[p>>>8&255]<<8|r[255&g])^t[y++],a=(r[h>>>24]<<24|r[p>>>16&255]<<16|r[g>>>8&255]<<8|r[255&A])^t[y++],s=(r[p>>>24]<<24|r[g>>>16&255]<<16|r[A>>>8&255]<<8|r[255&h])^t[y++],u=(r[g>>>24]<<24|r[A>>>16&255]<<16|r[h>>>8&255]<<8|r[255&p])^t[y++],[o>>>=0,a>>>=0,s>>>=0,u>>>=0]}var of=[0,1,2,4,8,16,32,64,128,27,54],af=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],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,n[a]=c,r[c]=a;var l=e[a],f=e[l],d=e[f],A=257*e[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*d^65537*f^257*l^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=l^e[e[e[d^l]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function sf(e){this._key=tf(e),this._reset()}sf.blockSize=16,sf.keySize=32,sf.prototype.blockSize=sf.blockSize,sf.prototype.keySize=sf.keySize,sf.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o>>24,a=af.SBOX[a>>>24]<<24|af.SBOX[a>>>16&255]<<16|af.SBOX[a>>>8&255]<<8|af.SBOX[255&a],a^=of[o/t|0]<<24):t>6&&o%t==4&&(a=af.SBOX[a>>>24]<<24|af.SBOX[a>>>16&255]<<16|af.SBOX[a>>>8&255]<<8|af.SBOX[255&a]),i[o]=i[o-t]^a}for(var s=[],u=0;u>>24]]^af.INV_SUB_MIX[1][af.SBOX[l>>>16&255]]^af.INV_SUB_MIX[2][af.SBOX[l>>>8&255]]^af.INV_SUB_MIX[3][af.SBOX[255&l]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=s},sf.prototype.encryptBlockRaw=function(e){return rf(e=tf(e),this._keySchedule,af.SUB_MIX,af.SBOX,this._nRounds)},sf.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=ef.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},sf.prototype.decryptBlock=function(e){var t=(e=tf(e))[1];e[1]=e[3],e[3]=t;var n=rf(e,this._invKeySchedule,af.INV_SUB_MIX,af.INV_SBOX,this._nRounds),r=ef.allocUnsafe(16);return r.writeUInt32BE(n[0],0),r.writeUInt32BE(n[3],4),r.writeUInt32BE(n[2],8),r.writeUInt32BE(n[1],12),r},sf.prototype.scrub=function(){nf(this._keySchedule),nf(this._invKeySchedule),nf(this._key)},Xl.AES=sf;var uf=Kr.Buffer,cf=uf.alloc(16,0);function lf(e){var t=uf.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function ff(e){this.h=e,this.state=uf.alloc(16,0),this.cache=uf.allocUnsafe(0)}ff.prototype.ghash=function(e){for(var t=-1;++t0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=lf(i)},ff.prototype.update=function(e){var t;for(this.cache=uf.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},ff.prototype.final=function(e,t){return this.cache.length&&this.ghash(uf.concat([this.cache,cf],16)),this.ghash(lf([0,e,0,t])),this.state};var df=ff,Af=Xl,hf=Kr.Buffer,pf=Uu,gf=df,yf=_l,mf=Gl;function bf(e,t,n,r){pf.call(this);var i=hf.alloc(4,0);this._cipher=new Af.AES(t);var o=this._cipher.encryptBlock(i);this._ghash=new gf(o),n=function(e,t,n){if(12===t.length)return e._finID=hf.concat([t,hf.from([0,0,0,1])]),hf.concat([t,hf.from([0,0,0,2])]);var r=new gf(n),i=t.length,o=i%16;r.update(t),o&&(o=16-o,r.update(hf.alloc(o,0))),r.update(hf.alloc(8,0));var a=8*i,s=hf.alloc(8);s.writeUIntBE(a,0,8),r.update(s),e._finID=r.state;var u=hf.from(e._finID);return mf(u),u}(this,n,o),this._prev=hf.from(n),this._cache=hf.allocUnsafe(0),this._secCache=hf.allocUnsafe(0),this._decrypt=r,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}Zr(bf,pf),bf.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=hf.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},bf.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=yf(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i0||r>0;){var u=new Sf;u.update(s),u.update(e),t&&u.update(t),s=u.digest();var c=0;if(i>0){var l=o.length-i;c=Math.min(i,s.length),s.copy(o,l,0,c),i-=c}if(c0){var f=a.length-r,d=Math.min(r,s.length-c);s.copy(a,f,c,c+d),r-=d}}return s.fill(0),{key:o,iv:a}},kf=Zl,Mf=vf,xf=Kr.Buffer,Rf=Cf,Df=Uu,Tf=Xl,Nf=Qf;function Of(e,t,n){Df.call(this),this._cache=new Pf,this._cipher=new Tf.AES(t),this._prev=xf.from(n),this._mode=e,this._autopadding=!0}Zr(Of,Df),Of.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return xf.concat(r)};var Lf=xf.alloc(16,16);function Pf(){this.cache=xf.allocUnsafe(0)}function Uf(e,t,n){var r=kf[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=xf.from(t)),t.length!==r.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof n&&(n=xf.from(n)),"GCM"!==r.mode&&n.length!==r.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===r.type?new Rf(r.module,t,n):"auth"===r.type?new Mf(r.module,t,n):new Of(r.module,t,n)}Of.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(Lf))throw this._cipher.scrub(),new Error("data not multiple of block length")},Of.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},Pf.prototype.add=function(e){this.cache=xf.concat([this.cache,e])},Pf.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},Pf.prototype.flush=function(){for(var e=16-this.cache.length,t=xf.allocUnsafe(e),n=-1;++n16)throw new Error("unable to decrypt data");for(var n=-1;++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},Jf.prototype.flush=function(){if(this.cache.length)return this.cache},Ff.createDecipher=function(e,t){var n=Gf[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=zf(t,!1,n.key,n.iv);return Wf(e,r.key,r.iv)},Ff.createDecipheriv=Wf;var $f=Bl,Zf=Ff,Xf=Vl;Il.createCipher=Il.Cipher=$f.createCipher,Il.createCipheriv=Il.Cipheriv=$f.createCipheriv,Il.createDecipher=Il.Decipher=Zf.createDecipher,Il.createDecipheriv=Il.Decipheriv=Zf.createDecipheriv,Il.listCiphers=Il.getCiphers=function(){return Object.keys(Xf)};var ed={};!function(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}}(ed);var td=wl,nd=Il,rd=Zl,id=ed,od=Qf;function ad(e,t,n){if(e=e.toLowerCase(),rd[e])return nd.createCipheriv(e,t,n);if(id[e])return new td({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function sd(e,t,n){if(e=e.toLowerCase(),rd[e])return nd.createDecipheriv(e,t,n);if(id[e])return new td({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}jc.createCipher=jc.Cipher=function(e,t){var n,r;if(e=e.toLowerCase(),rd[e])n=rd[e].key,r=rd[e].iv;else{if(!id[e])throw new TypeError("invalid suite type");n=8*id[e].key,r=id[e].iv}var i=od(t,!1,n,r);return ad(e,i.key,i.iv)},jc.createCipheriv=jc.Cipheriv=ad,jc.createDecipher=jc.Decipher=function(e,t){var n,r;if(e=e.toLowerCase(),rd[e])n=rd[e].key,r=rd[e].iv;else{if(!id[e])throw new TypeError("invalid suite type");n=8*id[e].key,r=id[e].iv}var i=od(t,!1,n,r);return sd(e,i.key,i.iv)},jc.createDecipheriv=jc.Decipheriv=sd,jc.listCiphers=jc.getCiphers=function(){return Object.keys(id).concat(nd.getCiphers())};var ud={},cd={exports:{}};!function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function i(e,t,n){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:yr.Buffer}catch(e){}function a(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function s(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},i.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=s(e,t,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},i.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],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],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 d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,f=67108863&u,d=Math.min(c,t.length-1),A=Math.max(0,c-e.length+1);A<=d;A++){var h=c-A|0;l+=(a=(i=0|e.words[h])*(o=0|t.words[A])+f)/67108864|0,f=67108863&a}n.words[c]=0|f,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n.strip()}i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var d=l[e],A=f[e];r="";var h=this.clone();for(h.negative=0;!h.isZero();){var p=h.modn(A).toString(e);r=(h=h.idivn(A)).isZero()?p+r:c[d-p.length]+p+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return n(void 0!==o),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,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"===t,c=new e(o),l=this.clone();if(u){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),c[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return!(8191&t)&&(n+=13,t>>>=13),!(127&t)&&(n+=7,t>>>=7),!(15&t)&&(n+=4,t>>>=4),!(3&t)&&(n+=2,t>>>=2),!(1&t)&&n++,n},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,A=0|a[1],h=8191&A,p=A>>>13,g=0|a[2],y=8191&g,m=g>>>13,b=0|a[3],v=8191&b,w=b>>>13,E=0|a[4],I=8191&E,B=E>>>13,C=0|a[5],_=8191&C,S=C>>>13,Q=0|a[6],k=8191&Q,M=Q>>>13,x=0|a[7],R=8191&x,D=x>>>13,T=0|a[8],N=8191&T,O=T>>>13,L=0|a[9],P=8191&L,U=L>>>13,F=0|s[0],j=8191&F,q=F>>>13,G=0|s[1],H=8191&G,Y=G>>>13,K=0|s[2],z=8191&K,V=K>>>13,J=0|s[3],W=8191&J,$=J>>>13,Z=0|s[4],X=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,ce=se>>>13,le=0|s[8],fe=8191&le,de=le>>>13,Ae=0|s[9],he=8191&Ae,pe=Ae>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(c+(r=Math.imul(f,j))|0)+((8191&(i=(i=Math.imul(f,q))+Math.imul(d,j)|0))<<13)|0;c=((o=Math.imul(d,q))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(h,j),i=(i=Math.imul(h,q))+Math.imul(p,j)|0,o=Math.imul(p,q);var ye=(c+(r=r+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(d,H)|0))<<13)|0;c=((o=o+Math.imul(d,Y)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,j),i=(i=Math.imul(y,q))+Math.imul(m,j)|0,o=Math.imul(m,q),r=r+Math.imul(h,H)|0,i=(i=i+Math.imul(h,Y)|0)+Math.imul(p,H)|0,o=o+Math.imul(p,Y)|0;var me=(c+(r=r+Math.imul(f,z)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(d,z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,r=Math.imul(v,j),i=(i=Math.imul(v,q))+Math.imul(w,j)|0,o=Math.imul(w,q),r=r+Math.imul(y,H)|0,i=(i=i+Math.imul(y,Y)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,Y)|0,r=r+Math.imul(h,z)|0,i=(i=i+Math.imul(h,V)|0)+Math.imul(p,z)|0,o=o+Math.imul(p,V)|0;var be=(c+(r=r+Math.imul(f,W)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,W)|0))<<13)|0;c=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(I,j),i=(i=Math.imul(I,q))+Math.imul(B,j)|0,o=Math.imul(B,q),r=r+Math.imul(v,H)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(w,H)|0,o=o+Math.imul(w,Y)|0,r=r+Math.imul(y,z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,W)|0,i=(i=i+Math.imul(h,$)|0)+Math.imul(p,W)|0,o=o+Math.imul(p,$)|0;var ve=(c+(r=r+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;c=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(_,j),i=(i=Math.imul(_,q))+Math.imul(S,j)|0,o=Math.imul(S,q),r=r+Math.imul(I,H)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(B,H)|0,o=o+Math.imul(B,Y)|0,r=r+Math.imul(v,z)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(w,z)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,$)|0,r=r+Math.imul(h,X)|0,i=(i=i+Math.imul(h,ee)|0)+Math.imul(p,X)|0,o=o+Math.imul(p,ee)|0;var we=(c+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;c=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,j),i=(i=Math.imul(k,q))+Math.imul(M,j)|0,o=Math.imul(M,q),r=r+Math.imul(_,H)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(S,H)|0,o=o+Math.imul(S,Y)|0,r=r+Math.imul(I,z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(B,z)|0,o=o+Math.imul(B,V)|0,r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(y,X)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=(i=i+Math.imul(h,re)|0)+Math.imul(p,ne)|0,o=o+Math.imul(p,re)|0;var Ee=(c+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;c=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(R,j),i=(i=Math.imul(R,q))+Math.imul(D,j)|0,o=Math.imul(D,q),r=r+Math.imul(k,H)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(M,H)|0,o=o+Math.imul(M,Y)|0,r=r+Math.imul(_,z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,z)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(I,W)|0,i=(i=i+Math.imul(I,$)|0)+Math.imul(B,W)|0,o=o+Math.imul(B,$)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=(i=i+Math.imul(h,ae)|0)+Math.imul(p,oe)|0,o=o+Math.imul(p,ae)|0;var Ie=(c+(r=r+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,ce)|0)+Math.imul(d,ue)|0))<<13)|0;c=((o=o+Math.imul(d,ce)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(N,j),i=(i=Math.imul(N,q))+Math.imul(O,j)|0,o=Math.imul(O,q),r=r+Math.imul(R,H)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(D,H)|0,o=o+Math.imul(D,Y)|0,r=r+Math.imul(k,z)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(_,W)|0,i=(i=i+Math.imul(_,$)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(I,X)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(B,X)|0,o=o+Math.imul(B,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=(i=i+Math.imul(h,ce)|0)+Math.imul(p,ue)|0,o=o+Math.imul(p,ce)|0;var Be=(c+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;c=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,r=Math.imul(P,j),i=(i=Math.imul(P,q))+Math.imul(U,j)|0,o=Math.imul(U,q),r=r+Math.imul(N,H)|0,i=(i=i+Math.imul(N,Y)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(R,z)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(D,z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(k,W)|0,i=(i=i+Math.imul(k,$)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(_,X)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(B,ne)|0,o=o+Math.imul(B,re)|0,r=r+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,r=r+Math.imul(y,ue)|0,i=(i=i+Math.imul(y,ce)|0)+Math.imul(m,ue)|0,o=o+Math.imul(m,ce)|0,r=r+Math.imul(h,fe)|0,i=(i=i+Math.imul(h,de)|0)+Math.imul(p,fe)|0,o=o+Math.imul(p,de)|0;var Ce=(c+(r=r+Math.imul(f,he)|0)|0)+((8191&(i=(i=i+Math.imul(f,pe)|0)+Math.imul(d,he)|0))<<13)|0;c=((o=o+Math.imul(d,pe)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(P,H),i=(i=Math.imul(P,Y))+Math.imul(U,H)|0,o=Math.imul(U,Y),r=r+Math.imul(N,z)|0,i=(i=i+Math.imul(N,V)|0)+Math.imul(O,z)|0,o=o+Math.imul(O,V)|0,r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(M,X)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(B,oe)|0,o=o+Math.imul(B,ae)|0,r=r+Math.imul(v,ue)|0,i=(i=i+Math.imul(v,ce)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var _e=(c+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,pe)|0)+Math.imul(p,he)|0))<<13)|0;c=((o=o+Math.imul(p,pe)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(P,z),i=(i=Math.imul(P,V))+Math.imul(U,z)|0,o=Math.imul(U,V),r=r+Math.imul(N,W)|0,i=(i=i+Math.imul(N,$)|0)+Math.imul(O,W)|0,o=o+Math.imul(O,$)|0,r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(I,ue)|0,i=(i=i+Math.imul(I,ce)|0)+Math.imul(B,ue)|0,o=o+Math.imul(B,ce)|0,r=r+Math.imul(v,fe)|0,i=(i=i+Math.imul(v,de)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,de)|0;var Se=(c+(r=r+Math.imul(y,he)|0)|0)+((8191&(i=(i=i+Math.imul(y,pe)|0)+Math.imul(m,he)|0))<<13)|0;c=((o=o+Math.imul(m,pe)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(P,W),i=(i=Math.imul(P,$))+Math.imul(U,W)|0,o=Math.imul(U,$),r=r+Math.imul(N,X)|0,i=(i=i+Math.imul(N,ee)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,ce)|0)+Math.imul(S,ue)|0,o=o+Math.imul(S,ce)|0,r=r+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,de)|0)+Math.imul(B,fe)|0,o=o+Math.imul(B,de)|0;var Qe=(c+(r=r+Math.imul(v,he)|0)|0)+((8191&(i=(i=i+Math.imul(v,pe)|0)+Math.imul(w,he)|0))<<13)|0;c=((o=o+Math.imul(w,pe)|0)+(i>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,r=Math.imul(P,X),i=(i=Math.imul(P,ee))+Math.imul(U,X)|0,o=Math.imul(U,ee),r=r+Math.imul(N,ne)|0,i=(i=i+Math.imul(N,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,r=r+Math.imul(k,ue)|0,i=(i=i+Math.imul(k,ce)|0)+Math.imul(M,ue)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(S,fe)|0,o=o+Math.imul(S,de)|0;var ke=(c+(r=r+Math.imul(I,he)|0)|0)+((8191&(i=(i=i+Math.imul(I,pe)|0)+Math.imul(B,he)|0))<<13)|0;c=((o=o+Math.imul(B,pe)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(P,ne),i=(i=Math.imul(P,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(N,oe)|0,i=(i=i+Math.imul(N,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,r=r+Math.imul(R,ue)|0,i=(i=i+Math.imul(R,ce)|0)+Math.imul(D,ue)|0,o=o+Math.imul(D,ce)|0,r=r+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,de)|0)+Math.imul(M,fe)|0,o=o+Math.imul(M,de)|0;var Me=(c+(r=r+Math.imul(_,he)|0)|0)+((8191&(i=(i=i+Math.imul(_,pe)|0)+Math.imul(S,he)|0))<<13)|0;c=((o=o+Math.imul(S,pe)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(P,oe),i=(i=Math.imul(P,ae))+Math.imul(U,oe)|0,o=Math.imul(U,ae),r=r+Math.imul(N,ue)|0,i=(i=i+Math.imul(N,ce)|0)+Math.imul(O,ue)|0,o=o+Math.imul(O,ce)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(D,fe)|0,o=o+Math.imul(D,de)|0;var xe=(c+(r=r+Math.imul(k,he)|0)|0)+((8191&(i=(i=i+Math.imul(k,pe)|0)+Math.imul(M,he)|0))<<13)|0;c=((o=o+Math.imul(M,pe)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,ue),i=(i=Math.imul(P,ce))+Math.imul(U,ue)|0,o=Math.imul(U,ce),r=r+Math.imul(N,fe)|0,i=(i=i+Math.imul(N,de)|0)+Math.imul(O,fe)|0,o=o+Math.imul(O,de)|0;var Re=(c+(r=r+Math.imul(R,he)|0)|0)+((8191&(i=(i=i+Math.imul(R,pe)|0)+Math.imul(D,he)|0))<<13)|0;c=((o=o+Math.imul(D,pe)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(P,fe),i=(i=Math.imul(P,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var De=(c+(r=r+Math.imul(N,he)|0)|0)+((8191&(i=(i=i+Math.imul(N,pe)|0)+Math.imul(O,he)|0))<<13)|0;c=((o=o+Math.imul(O,pe)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Te=(c+(r=Math.imul(P,he))|0)+((8191&(i=(i=Math.imul(P,pe))+Math.imul(U,he)|0))<<13)|0;return c=((o=Math.imul(U,pe))+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,u[0]=ge,u[1]=ye,u[2]=me,u[3]=be,u[4]=ve,u[5]=we,u[6]=Ee,u[7]=Ie,u[8]=Be,u[9]=Ce,u[10]=_e,u[11]=Se,u[12]=Qe,u[13]=ke,u[14]=Me,u[15]=xe,u[16]=Re,u[17]=De,u[18]=Te,0!==c&&(u[19]=c,n.length++),n};function h(e,t,n){return(new p).mulp(e,t,n)}function p(e,t){this.x=e,this.y=t}Math.imul||(A=d),i.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?A(this,e,t):r<63?d(this,e,t):r<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):h(this,e,t),n},p.prototype.makeRBT=function(e){for(var t=new Array(e),n=i.prototype._countBits(e)-1,r=0;r>=1;return r},p.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new i(1);for(var n=this,r=0;r=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var f=0|this.words[c];this.words[c]=l<<26-o|f>>>o,l=f&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),o=e,a=0|o.words[o.length-1];0!=(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,u=r.length-o.length;if("mod"!==t){(s=new i(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[o.length+f])+(0|r.words[o.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(o,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(o,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(o=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:o,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(o=s.div.neg()),{div:o,mod:s.mod}):this.negative&e.negative?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,a,s},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},i.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),a=new i(0),s=new i(0),u=new i(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,A=1;!(t.words[0]&A)&&d<26;++d,A<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(l),a.isub(f)),o.iushrn(1),a.iushrn(1);for(var h=0,p=1;!(r.words[0]&p)&&h<26;++h,p<<=1);if(h>0)for(r.iushrn(h);h-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(f)),s.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(s),a.isub(u)):(r.isub(t),s.isub(o),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,a=new i(1),s=new i(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;!(t.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(t.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,d=1;!(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(o=0===t.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return!(1&this.words[0])},i.prototype.isOdd=function(){return!(1&~this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var g={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(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 b(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function I(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(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 e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},r(m,y),m.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},m.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(g[e])return g[e];var t;if("k256"===e)t=new m;else if("p224"===e)t=new b;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return g[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n(!(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},E.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new i(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),A=this.pow(e,o),h=a;0!==A.cmp(s);){for(var p=A,g=0;0!==p.cmp(s);g++)p=p.redSqr();n(g=0;r--){for(var c=t.words[r],l=u-1;l>=0;l--){var f=c>>l&1;o!==n[0]&&(o=this.sqr(o)),0!==f||0!==a?(a<<=1,a|=f,(4==++s||0===r&&0===l)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}u=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new I(e)},r(I,E),I.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},I.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},I.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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)},I.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},I.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(cd,dr);var ld,fd,dd,Ad,hd,pd=cd.exports,gd={exports:{}};function yd(){if(ld)return gd.exports;var e;function t(e){this.rand=e}if(ld=1,gd.exports=function(n){return e||(e=new t(null)),e.generate(n)},gd.exports.Rand=t,t.prototype.generate=function(e){return this._rand(e)},t.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n=0);return i},n.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},n.prototype.test=function(t,n,r){var i=t.bitLength(),o=e.mont(t),a=new e(1).toRed(o);n||(n=Math.max(1,i/48|0));for(var s=t.subn(1),u=0;!s.testn(u);u++);for(var c=t.shrn(u),l=s.toRed(o);n>0;n--){var f=this._randrange(new e(2),s);r&&r(f);var d=f.toRed(o).redPow(c);if(0!==d.cmp(a)&&0!==d.cmp(l)){for(var A=1;A0;n--){var l=this._randrange(new e(2),a),f=t.gcd(l);if(0!==f.cmpn(1))return f;var d=l.toRed(i).redPow(u);if(0!==d.cmp(o)&&0!==d.cmp(c)){for(var A=1;Af;)p.ishrn(1);if(p.isEven()&&p.iadd(i),p.testn(1)||p.iadd(o),h.cmp(o)){if(!h.cmp(a))for(;p.mod(s).cmp(u);)p.iadd(l)}else for(;p.mod(n).cmp(c);)p.iadd(l);if(d(g=p.shrn(1))&&d(p)&&A(g)&&A(p)&&r.test(g)&&r.test(p))return p}}return Ad}var vd,wd,Ed,Id,Bd,Cd={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"}},_d={exports:{}},Sd=si.EventEmitter;function Qd(e,t){Md(e,t),kd(e)}function kd(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function Md(e,t){e.emit("error",t)}var xd={destroy:function(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return r||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,Mr(Md,this,e)):Mr(Md,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted?Mr(kd,n):(n._writableState.errorEmitted=!0,Mr(Qd,n,e)):Mr(Qd,n,e):t?(Mr(kd,n),t(e)):Mr(kd,n)})),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(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}},Rd={},Dd={};function Td(e,t,n){n||(n=Error);var r=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);r.prototype.name=n.name,r.prototype.code=e,Dd[e]=r}function Nd(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}Td("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),Td("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i;if("string"==typeof t&&("not ","not "===t.substr(0,4))?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length)," argument"===e.substring(n-9,n)}(e))i="The ".concat(e," ").concat(r," ").concat(Nd(t,"type"));else{var o=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+1>e.length)&&-1!==e.indexOf(".",n)}(e)?"property":"argument";i='The "'.concat(e,'" ').concat(o," ").concat(r," ").concat(Nd(t,"type"))}return i+". Received type ".concat(typeof n)}),TypeError),Td("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),Td("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),Td("ERR_STREAM_PREMATURE_CLOSE","Premature close"),Td("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),Td("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),Td("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),Td("ERR_STREAM_WRITE_AFTER_END","write after end"),Td("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),Td("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),Td("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Rd.codes=Dd;var Od,Ld,Pd,Ud,Fd=Rd.codes.ERR_INVALID_OPT_VALUE,jd={getHighWaterMark:function(e,t,n,r){var i=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,r,n);if(null!=i){if(!isFinite(i)||Math.floor(i)!==i||i<0)throw new Fd(r?n:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}};function qd(){if(Ld)return Od;function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(void 0),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var t;Ld=1,Od=w,w.WritableState=v;var n,r={deprecate:lo()},i=Sd,o=yr.Buffer,a=(void 0!==dr?dr:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},s=xd,u=jd.getHighWaterMark,c=Rd.codes,l=c.ERR_INVALID_ARG_TYPE,f=c.ERR_METHOD_NOT_IMPLEMENTED,d=c.ERR_MULTIPLE_CALLBACK,A=c.ERR_STREAM_CANNOT_PIPE,h=c.ERR_STREAM_DESTROYED,p=c.ERR_STREAM_NULL_VALUES,g=c.ERR_STREAM_WRITE_AFTER_END,y=c.ERR_UNKNOWN_ENCODING,m=s.errorOrDestroy;function b(){}function v(n,r,i){t=t||Gd(),n=n||{},"boolean"!=typeof i&&(i=r instanceof t),this.objectMode=!!n.objectMode,i&&(this.objectMode=this.objectMode||!!n.writableObjectMode),this.highWaterMark=u(this,n,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===n.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!=typeof i)throw new d;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(Mr(i,r),Mr(S,e,t),e._writableState.errorEmitted=!0,m(e,r)):(i(r),e._writableState.errorEmitted=!0,m(e,r),S(e,t))}(e,n,r,t,i);else{var o=C(n)||e.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||B(e,n),r?Mr(I,e,n,o,i):I(e,n,o,i)}}(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==n.emitClose,this.autoDestroy=!!n.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function w(e){var r=this instanceof(t=t||Gd());if(!r&&!n.call(w,this))return new w(e);this._writableState=new v(e,this,r),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),i.call(this)}function E(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new h("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function I(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function B(t,n){n.bufferProcessing=!0;var r=n.bufferedRequest;if(t._writev&&r&&r.next){var i=n.bufferedRequestCount,o=new Array(i),a=n.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,E(t,n,!0,n.length,o,"",a.finish),n.pendingcb++,n.lastBufferedRequest=null,a.next?(n.corkedRequestsFree=a.next,a.next=null):n.corkedRequestsFree=new e(n),n.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,f=r.callback;if(E(t,n,!1,n.objectMode?1:c.length,c,l,f),r=r.next,n.bufferedRequestCount--,n.writing)break}null===r&&(n.lastBufferedRequest=null)}n.bufferedRequest=r,n.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final((function(n){t.pendingcb--,n&&m(e,n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=C(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,Mr(_,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}return Zr(w,i),v.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(v.prototype,"buffer",{get:r.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(n=Function.prototype[Symbol.hasInstance],Object.defineProperty(w,Symbol.hasInstance,{value:function(e){return!!n.call(this,e)||this===w&&e&&e._writableState instanceof v}})):n=function(e){return e instanceof this},w.prototype.pipe=function(){m(this,new A)},w.prototype.write=function(e,t,n){var r,i=this._writableState,s=!1,u=!i.objectMode&&(r=e,o.isBuffer(r)||r instanceof a);return u&&!o.isBuffer(e)&&(e=function(e){return o.from(e)}(e)),"function"==typeof t&&(n=t,t=null),u?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=b),i.ending?function(e,t){var n=new g;m(e,n),Mr(t,n)}(this,n):(u||function(e,t,n,r){var i;return null===n?i=new p:"string"==typeof n||t.objectMode||(i=new l("chunk",["string","Buffer"],n)),!i||(m(e,i),Mr(r,i),!1)}(this,i,e,n))&&(i.pendingcb++,s=function(e,t,n,r,i,a){if(!n){var s=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=o.from(t,n)),t}(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var u=t.objectMode?1:r.length;t.length+=u;var c=t.length-1))throw new y(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(w.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),w.prototype._write=function(e,t,n){n(new f("_write()"))},w.prototype._writev=null,w.prototype.end=function(e,t,n){var r=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?Mr(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(w.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(w.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),w.prototype.destroy=s.destroy,w.prototype._undestroy=s.undestroy,w.prototype._destroy=function(e,t){t(e)},Od}function Gd(){if(Ud)return Pd;Ud=1;var e=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};Pd=a;var t=nA(),n=qd();Zr(a,t);for(var r=e(n.prototype),i=0;i>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function o(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function s(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function c(e){return e.toString(this.encoding)}function l(e){return e&&e.length?this.write(e):""}return Yd.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(o>0&&(e.lastNeed=o-1),o):--i=0?(o>0&&(e.lastNeed=o-2),o):--i=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},Yd}var zd=Rd.codes.ERR_STREAM_PREMATURE_CLOSE;function Vd(){}var Jd,Wd,$d,Zd,Xd,eA,tA=function e(t,n,r){if("function"==typeof n)return e(t,null,n);n||(n={}),r=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,n,r,i=o.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=i,r=s,o.prototype.copy.call(t,n,r),s+=a.data.length,a=a.next;return i}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0==(e-=a)){a===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,t}},{key:s,value:function(e,n){return a(this,t(t({},n),{},{depth:0,customInspect:!1}))}}],i&&r(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),e}(),Id}(),f=xd,d=jd.getHighWaterMark,A=Rd.codes,h=A.ERR_INVALID_ARG_TYPE,p=A.ERR_STREAM_PUSH_AFTER_EOF,g=A.ERR_METHOD_NOT_IMPLEMENTED,y=A.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;Zr(w,r);var m=f.errorOrDestroy,b=["error","close","destroy","pause","resume"];function v(t,n,r){e=e||Gd(),t=t||{},"boolean"!=typeof r&&(r=n instanceof e),this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=d(this,t,"readableHighWaterMark",r),this.buffer=new l,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&&(s||(s=Kd().StringDecoder),this.decoder=new s(t.encoding),this.encoding=t.encoding)}function w(t){if(e=e||Gd(),!(this instanceof w))return new w(t);var n=this instanceof e;this._readableState=new v(t,this,n),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),r.call(this)}function E(e,n,r,a,s){t("readableAddChunk",n);var u,c=e._readableState;if(null===n)c.reading=!1,function(e,n){if(t("onEofChunk"),!n.ended){if(n.decoder){var r=n.decoder.end();r&&r.length&&(n.buffer.push(r),n.length+=n.objectMode?1:r.length)}n.ended=!0,n.sync?_(e):(n.needReadable=!1,n.emittedReadable||(n.emittedReadable=!0,S(e)))}}(e,c);else if(s||(u=function(e,t){var n,r;return r=t,i.isBuffer(r)||r instanceof o||"string"==typeof t||void 0===t||e.objectMode||(n=new h("chunk",["string","Buffer","Uint8Array"],t)),n}(c,n)),u)m(e,u);else if(c.objectMode||n&&n.length>0)if("string"==typeof n||c.objectMode||Object.getPrototypeOf(n)===i.prototype||(n=function(e){return i.from(e)}(n)),a)c.endEmitted?m(e,new y):I(e,c,n,!0);else if(c.ended)m(e,new p);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!r?(n=c.decoder.write(n),c.objectMode||0!==n.length?I(e,c,n,!1):Q(e,c)):I(e,c,n,!1)}else a||(c.reading=!1,Q(e,c));return!c.ended&&(c.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=B?e=B:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function _(e){var n=e._readableState;t("emitReadable",n.needReadable,n.emittedReadable),n.needReadable=!1,n.emittedReadable||(t("emitReadable",n.flowing),n.emittedReadable=!0,Mr(S,e))}function S(e){var n=e._readableState;t("emitReadable_",n.destroyed,n.length,n.ended),n.destroyed||!n.length&&!n.ended||(e.emit("readable"),n.emittedReadable=!1),n.needReadable=!n.flowing&&!n.ended&&n.length<=n.highWaterMark,D(e)}function Q(e,t){t.readingMore||(t.readingMore=!0,Mr(k,e,t))}function k(e,n){for(;!n.reading&&!n.ended&&(n.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function x(e){t("readable nexttick read 0"),e.read(0)}function R(e,n){t("resume",n.reading),n.reading||e.read(0),n.resumeScheduled=!1,e.emit("resume"),D(e),n.flowing&&!n.reading&&e.read(0)}function D(e){var n=e._readableState;for(t("flow",n.flowing);n.flowing&&null!==e.read(););}function T(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function N(e){var n=e._readableState;t("endReadable",n.endEmitted),n.endEmitted||(n.ended=!0,Mr(O,n,e))}function O(e,n){if(t("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,n.readable=!1,n.emit("end"),e.autoDestroy)){var r=n._writableState;(!r||r.autoDestroy&&r.finished)&&n.destroy()}}function L(e,t){for(var n=0,r=e.length;n=n.highWaterMark:n.length>0)||n.ended))return t("read: emitReadable",n.length,n.ended),0===n.length&&n.ended?N(this):_(this),null;if(0===(e=C(e,n))&&n.ended)return 0===n.length&&N(this),null;var i,o=n.needReadable;return t("need readable",o),(0===n.length||n.length-e0?T(e,n):null)?(n.needReadable=n.length<=n.highWaterMark,e=0):(n.length-=e,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),r!==e&&n.ended&&N(this)),null!==i&&this.emit("data",i),i},w.prototype._read=function(e){m(this,new g("_read()"))},w.prototype.pipe=function(e,r){var i=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,t("pipe count=%d opts=%j",o.pipesCount,r);var a=r&&!1===r.end||e===Gr.stdout||e===Gr.stderr?h:s;function s(){t("onend"),e.end()}o.endEmitted?Mr(a):i.once("end",a),e.on("unpipe",(function n(r,a){t("onunpipe"),r===i&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,t("cleanup"),e.removeListener("close",d),e.removeListener("finish",A),e.removeListener("drain",u),e.removeListener("error",f),e.removeListener("unpipe",n),i.removeListener("end",s),i.removeListener("end",h),i.removeListener("data",l),c=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}));var u=function(e){return function(){var r=e._readableState;t("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&n(e,"data")&&(r.flowing=!0,D(e))}}(i);e.on("drain",u);var c=!1;function l(n){t("ondata");var r=e.write(n);t("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==L(o.pipes,e))&&!c&&(t("false write response, pause",o.awaitDrain),o.awaitDrain++),i.pause())}function f(r){t("onerror",r),h(),e.removeListener("error",f),0===n(e,"error")&&m(e,r)}function d(){e.removeListener("finish",A),h()}function A(){t("onfinish"),e.removeListener("close",d),h()}function h(){t("unpipe"),i.unpipe(e)}return i.on("data",l),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",f),e.once("close",d),e.once("finish",A),e.emit("pipe",i),o.flowing||(t("pipe resume"),i.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,t("on readable",o.length,o.reading),o.length?_(this):o.reading||Mr(x,this))),i},w.prototype.addListener=w.prototype.on,w.prototype.removeListener=function(e,t){var n=r.prototype.removeListener.call(this,e,t);return"readable"===e&&Mr(M,this),n},w.prototype.removeAllListeners=function(e){var t=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||Mr(M,this),t},w.prototype.resume=function(){var e=this._readableState;return e.flowing||(t("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Mr(R,e,t))}(this,e)),e.paused=!1,this},w.prototype.pause=function(){return t("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(t("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},w.prototype.wrap=function(e){var n=this,r=this._readableState,i=!1;for(var o in e.on("end",(function(){if(t("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&n.push(e)}n.push(null)})),e.on("data",(function(o){t("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o||(r.objectMode||o&&o.length)&&(n.push(o)||(i=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var a=0;a0,(function(e){r||(r=e),e&&o.forEach(EA),a||(o.forEach(EA),i(r))}))}));return t.reduce(IA)};!function(e,t){(t=_d.exports=nA()).Stream=t,t.Readable=t,t.Writable=qd(),t.Duplex=Gd(),t.Transform=rA,t.PassThrough=pA,t.finished=tA,t.pipeline=BA}(0,_d.exports);var CA=_d.exports,_A={exports:{}},SA={exports:{}};!function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function i(e,t,n){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:yr.Buffer}catch(e){}function a(e,t){var r=e.charCodeAt(t);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+e)}function s(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function u(e,t,r,i){for(var o=0,a=0,s=Math.min(e.length,r),u=t;u=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},i.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=s(e,t,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},i.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(e){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[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];function h(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,f=67108863&u,d=Math.min(c,t.length-1),A=Math.max(0,c-e.length+1);A<=d;A++){var h=c-A|0;l+=(a=(i=0|e.words[h])*(o=0|t.words[A])+f)/67108864|0,f=67108863&a}n.words[c]=0|f,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?f[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=d[e],l=A[e];r="";var h=this.clone();for(h.negative=0;!h.isZero();){var p=h.modrn(l).toString(e);r=(h=h.idivn(l)).isZero()?p+r:f[c-p.length]+p+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,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(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},i.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===o?(n>=0&&(e[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return!(8191&t)&&(n+=13,t>>>=13),!(127&t)&&(n+=7,t>>>=7),!(15&t)&&(n+=4,t>>>=4),!(3&t)&&(n+=2,t>>>=2),!(1&t)&&n++,n},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,A=0|a[1],h=8191&A,p=A>>>13,g=0|a[2],y=8191&g,m=g>>>13,b=0|a[3],v=8191&b,w=b>>>13,E=0|a[4],I=8191&E,B=E>>>13,C=0|a[5],_=8191&C,S=C>>>13,Q=0|a[6],k=8191&Q,M=Q>>>13,x=0|a[7],R=8191&x,D=x>>>13,T=0|a[8],N=8191&T,O=T>>>13,L=0|a[9],P=8191&L,U=L>>>13,F=0|s[0],j=8191&F,q=F>>>13,G=0|s[1],H=8191&G,Y=G>>>13,K=0|s[2],z=8191&K,V=K>>>13,J=0|s[3],W=8191&J,$=J>>>13,Z=0|s[4],X=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,ce=se>>>13,le=0|s[8],fe=8191&le,de=le>>>13,Ae=0|s[9],he=8191&Ae,pe=Ae>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(c+(r=Math.imul(f,j))|0)+((8191&(i=(i=Math.imul(f,q))+Math.imul(d,j)|0))<<13)|0;c=((o=Math.imul(d,q))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(h,j),i=(i=Math.imul(h,q))+Math.imul(p,j)|0,o=Math.imul(p,q);var ye=(c+(r=r+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(d,H)|0))<<13)|0;c=((o=o+Math.imul(d,Y)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,j),i=(i=Math.imul(y,q))+Math.imul(m,j)|0,o=Math.imul(m,q),r=r+Math.imul(h,H)|0,i=(i=i+Math.imul(h,Y)|0)+Math.imul(p,H)|0,o=o+Math.imul(p,Y)|0;var me=(c+(r=r+Math.imul(f,z)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(d,z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,r=Math.imul(v,j),i=(i=Math.imul(v,q))+Math.imul(w,j)|0,o=Math.imul(w,q),r=r+Math.imul(y,H)|0,i=(i=i+Math.imul(y,Y)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,Y)|0,r=r+Math.imul(h,z)|0,i=(i=i+Math.imul(h,V)|0)+Math.imul(p,z)|0,o=o+Math.imul(p,V)|0;var be=(c+(r=r+Math.imul(f,W)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,W)|0))<<13)|0;c=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(I,j),i=(i=Math.imul(I,q))+Math.imul(B,j)|0,o=Math.imul(B,q),r=r+Math.imul(v,H)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(w,H)|0,o=o+Math.imul(w,Y)|0,r=r+Math.imul(y,z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,W)|0,i=(i=i+Math.imul(h,$)|0)+Math.imul(p,W)|0,o=o+Math.imul(p,$)|0;var ve=(c+(r=r+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;c=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(_,j),i=(i=Math.imul(_,q))+Math.imul(S,j)|0,o=Math.imul(S,q),r=r+Math.imul(I,H)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(B,H)|0,o=o+Math.imul(B,Y)|0,r=r+Math.imul(v,z)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(w,z)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,$)|0,r=r+Math.imul(h,X)|0,i=(i=i+Math.imul(h,ee)|0)+Math.imul(p,X)|0,o=o+Math.imul(p,ee)|0;var we=(c+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;c=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,j),i=(i=Math.imul(k,q))+Math.imul(M,j)|0,o=Math.imul(M,q),r=r+Math.imul(_,H)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(S,H)|0,o=o+Math.imul(S,Y)|0,r=r+Math.imul(I,z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(B,z)|0,o=o+Math.imul(B,V)|0,r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(y,X)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=(i=i+Math.imul(h,re)|0)+Math.imul(p,ne)|0,o=o+Math.imul(p,re)|0;var Ee=(c+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;c=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(R,j),i=(i=Math.imul(R,q))+Math.imul(D,j)|0,o=Math.imul(D,q),r=r+Math.imul(k,H)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(M,H)|0,o=o+Math.imul(M,Y)|0,r=r+Math.imul(_,z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,z)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(I,W)|0,i=(i=i+Math.imul(I,$)|0)+Math.imul(B,W)|0,o=o+Math.imul(B,$)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=(i=i+Math.imul(h,ae)|0)+Math.imul(p,oe)|0,o=o+Math.imul(p,ae)|0;var Ie=(c+(r=r+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,ce)|0)+Math.imul(d,ue)|0))<<13)|0;c=((o=o+Math.imul(d,ce)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(N,j),i=(i=Math.imul(N,q))+Math.imul(O,j)|0,o=Math.imul(O,q),r=r+Math.imul(R,H)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(D,H)|0,o=o+Math.imul(D,Y)|0,r=r+Math.imul(k,z)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(_,W)|0,i=(i=i+Math.imul(_,$)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(I,X)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(B,X)|0,o=o+Math.imul(B,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=(i=i+Math.imul(h,ce)|0)+Math.imul(p,ue)|0,o=o+Math.imul(p,ce)|0;var Be=(c+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;c=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,r=Math.imul(P,j),i=(i=Math.imul(P,q))+Math.imul(U,j)|0,o=Math.imul(U,q),r=r+Math.imul(N,H)|0,i=(i=i+Math.imul(N,Y)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(R,z)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(D,z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(k,W)|0,i=(i=i+Math.imul(k,$)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(_,X)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(B,ne)|0,o=o+Math.imul(B,re)|0,r=r+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,r=r+Math.imul(y,ue)|0,i=(i=i+Math.imul(y,ce)|0)+Math.imul(m,ue)|0,o=o+Math.imul(m,ce)|0,r=r+Math.imul(h,fe)|0,i=(i=i+Math.imul(h,de)|0)+Math.imul(p,fe)|0,o=o+Math.imul(p,de)|0;var Ce=(c+(r=r+Math.imul(f,he)|0)|0)+((8191&(i=(i=i+Math.imul(f,pe)|0)+Math.imul(d,he)|0))<<13)|0;c=((o=o+Math.imul(d,pe)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(P,H),i=(i=Math.imul(P,Y))+Math.imul(U,H)|0,o=Math.imul(U,Y),r=r+Math.imul(N,z)|0,i=(i=i+Math.imul(N,V)|0)+Math.imul(O,z)|0,o=o+Math.imul(O,V)|0,r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(M,X)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(B,oe)|0,o=o+Math.imul(B,ae)|0,r=r+Math.imul(v,ue)|0,i=(i=i+Math.imul(v,ce)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var _e=(c+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,pe)|0)+Math.imul(p,he)|0))<<13)|0;c=((o=o+Math.imul(p,pe)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(P,z),i=(i=Math.imul(P,V))+Math.imul(U,z)|0,o=Math.imul(U,V),r=r+Math.imul(N,W)|0,i=(i=i+Math.imul(N,$)|0)+Math.imul(O,W)|0,o=o+Math.imul(O,$)|0,r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(I,ue)|0,i=(i=i+Math.imul(I,ce)|0)+Math.imul(B,ue)|0,o=o+Math.imul(B,ce)|0,r=r+Math.imul(v,fe)|0,i=(i=i+Math.imul(v,de)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,de)|0;var Se=(c+(r=r+Math.imul(y,he)|0)|0)+((8191&(i=(i=i+Math.imul(y,pe)|0)+Math.imul(m,he)|0))<<13)|0;c=((o=o+Math.imul(m,pe)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(P,W),i=(i=Math.imul(P,$))+Math.imul(U,W)|0,o=Math.imul(U,$),r=r+Math.imul(N,X)|0,i=(i=i+Math.imul(N,ee)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,ce)|0)+Math.imul(S,ue)|0,o=o+Math.imul(S,ce)|0,r=r+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,de)|0)+Math.imul(B,fe)|0,o=o+Math.imul(B,de)|0;var Qe=(c+(r=r+Math.imul(v,he)|0)|0)+((8191&(i=(i=i+Math.imul(v,pe)|0)+Math.imul(w,he)|0))<<13)|0;c=((o=o+Math.imul(w,pe)|0)+(i>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,r=Math.imul(P,X),i=(i=Math.imul(P,ee))+Math.imul(U,X)|0,o=Math.imul(U,ee),r=r+Math.imul(N,ne)|0,i=(i=i+Math.imul(N,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,r=r+Math.imul(k,ue)|0,i=(i=i+Math.imul(k,ce)|0)+Math.imul(M,ue)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(S,fe)|0,o=o+Math.imul(S,de)|0;var ke=(c+(r=r+Math.imul(I,he)|0)|0)+((8191&(i=(i=i+Math.imul(I,pe)|0)+Math.imul(B,he)|0))<<13)|0;c=((o=o+Math.imul(B,pe)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(P,ne),i=(i=Math.imul(P,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(N,oe)|0,i=(i=i+Math.imul(N,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,r=r+Math.imul(R,ue)|0,i=(i=i+Math.imul(R,ce)|0)+Math.imul(D,ue)|0,o=o+Math.imul(D,ce)|0,r=r+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,de)|0)+Math.imul(M,fe)|0,o=o+Math.imul(M,de)|0;var Me=(c+(r=r+Math.imul(_,he)|0)|0)+((8191&(i=(i=i+Math.imul(_,pe)|0)+Math.imul(S,he)|0))<<13)|0;c=((o=o+Math.imul(S,pe)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(P,oe),i=(i=Math.imul(P,ae))+Math.imul(U,oe)|0,o=Math.imul(U,ae),r=r+Math.imul(N,ue)|0,i=(i=i+Math.imul(N,ce)|0)+Math.imul(O,ue)|0,o=o+Math.imul(O,ce)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(D,fe)|0,o=o+Math.imul(D,de)|0;var xe=(c+(r=r+Math.imul(k,he)|0)|0)+((8191&(i=(i=i+Math.imul(k,pe)|0)+Math.imul(M,he)|0))<<13)|0;c=((o=o+Math.imul(M,pe)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,ue),i=(i=Math.imul(P,ce))+Math.imul(U,ue)|0,o=Math.imul(U,ce),r=r+Math.imul(N,fe)|0,i=(i=i+Math.imul(N,de)|0)+Math.imul(O,fe)|0,o=o+Math.imul(O,de)|0;var Re=(c+(r=r+Math.imul(R,he)|0)|0)+((8191&(i=(i=i+Math.imul(R,pe)|0)+Math.imul(D,he)|0))<<13)|0;c=((o=o+Math.imul(D,pe)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(P,fe),i=(i=Math.imul(P,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var De=(c+(r=r+Math.imul(N,he)|0)|0)+((8191&(i=(i=i+Math.imul(N,pe)|0)+Math.imul(O,he)|0))<<13)|0;c=((o=o+Math.imul(O,pe)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Te=(c+(r=Math.imul(P,he))|0)+((8191&(i=(i=Math.imul(P,pe))+Math.imul(U,he)|0))<<13)|0;return c=((o=Math.imul(U,pe))+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,u[0]=ge,u[1]=ye,u[2]=me,u[3]=be,u[4]=ve,u[5]=we,u[6]=Ee,u[7]=Ie,u[8]=Be,u[9]=Ce,u[10]=_e,u[11]=Se,u[12]=Qe,u[13]=ke,u[14]=Me,u[15]=xe,u[16]=Re,u[17]=De,u[18]=Te,0!==c&&(u[19]=c,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(e,t,n){return g(e,t,n)}Math.imul||(p=h),i.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):n<63?h(this,e,t):n<1024?g(this,e,t):y(this,e,t)},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),y(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,i=0;i>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}(e);if(0===t.length)return new i(1);for(var n=this,r=0;r=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var f=0|this.words[c];this.words[c]=l<<26-o|f>>>o,l=f&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),o=e,a=0|o.words[o.length-1];0!=(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,u=r.length-o.length;if("mod"!==t){(s=new i(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[o.length+f])+(0|r.words[o.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(o,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(o,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(o=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:o,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(o=s.div.neg()),{div:o,mod:s.mod}):this.negative&e.negative?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,a,s},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%e;return t?-i:i},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),a=new i(0),s=new i(0),u=new i(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,A=1;!(t.words[0]&A)&&d<26;++d,A<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(l),a.isub(f)),o.iushrn(1),a.iushrn(1);for(var h=0,p=1;!(r.words[0]&p)&&h<26;++h,p<<=1);if(h>0)for(r.iushrn(h);h-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(f)),s.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(s),a.isub(u)):(r.isub(t),s.isub(o),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,a=new i(1),s=new i(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;!(t.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(t.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,d=1;!(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(o=0===t.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return!(1&this.words[0])},i.prototype.isOdd=function(){return!(1&~this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new B(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var m={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function I(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function B(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){B.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(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 e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},r(v,b),v.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(m[e])return m[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new w;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new I}return m[e]=t,t},B.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},B.prototype._verify2=function(e,t){n(!(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},B.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},B.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},B.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},B.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},B.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},B.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},B.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},B.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},B.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},B.prototype.isqr=function(e){return this.imul(e,e.clone())},B.prototype.sqr=function(e){return this.mul(e,e)},B.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new i(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),A=this.pow(e,o),h=a;0!==A.cmp(s);){for(var p=A,g=0;0!==p.cmp(s);g++)p=p.redSqr();n(g=0;r--){for(var c=t.words[r],l=u-1;l>=0;l--){var f=c>>l&1;o!==n[0]&&(o=this.sqr(o)),0!==f||0!==a?(a<<=1,a|=f,(4==++s||0===r&&0===l)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}u=26}return o},B.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},B.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new C(e)},r(C,B),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},C.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(SA,dr);var QA=SA.exports,kA=Wr;function MA(e){var t,n=e.modulus.byteLength();do{t=new QA(kA(n))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function xA(e,t){var n=function(e){var t=MA(e);return{blinder:t.toRed(QA.mont(e.modulus)).redPow(new QA(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),r=t.modulus.byteLength(),i=new QA(e).mul(n.blinder).umod(t.modulus),o=i.toRed(QA.mont(t.prime1)),a=i.toRed(QA.mont(t.prime2)),s=t.coefficient,u=t.prime1,c=t.prime2,l=o.redPow(t.exponent1).fromRed(),f=a.redPow(t.exponent2).fromRed(),d=l.isub(f).imul(s).umod(u).imul(c);return f.iadd(d).imul(n.unblinder).umod(t.modulus).toArrayLike(Sn,"be",r)}xA.getr=MA;var RA=xA,DA={},TA={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 ",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"}},NA={},OA={};!function(e){var t=OA;function n(e){return 1===e.length?"0"+e:e}function r(e){for(var t="",r=0;r>8,a=255&i;o?n.push(o,a):n.push(a)}return n},t.zero2=n,t.toHex=r,t.encode=function(e,t){return"hex"===t?r(e):e}}(),function(e){var t=NA,n=pd,r=zc,i=OA;t.assert=r,t.toArray=i.toArray,t.zero2=i.zero2,t.toHex=i.toHex,t.encode=i.encode,t.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<(i>>1)-1?(i>>1)-u:u,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},t.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r,i=0,o=0;e.cmpn(-i)>0||t.cmpn(-o)>0;){var a,s,u=e.andln(3)+i&3,c=t.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),a=1&u?3!=(r=e.andln(7)+i&7)&&5!==r||2!==c?u:-u:0,n[0].push(a),s=1&c?3!=(r=t.andln(7)+o&7)&&5!==r||2!==u?c:-c:0,n[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return n},t.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},t.parseBytes=function(e){return"string"==typeof e?t.toArray(e,"hex"):e},t.intFromLE=function(e){return new n(e,"hex","le")}}();var LA={},PA=pd,UA=NA,FA=UA.getNAF,jA=UA.getJSF,qA=UA.assert;function GA(e,t){this.type=e,this.p=new PA(t.p,16),this.red=t.prime?PA.red(t.prime):PA.mont(this.p),this.zero=new PA(0).toRed(this.red),this.one=new PA(1).toRed(this.red),this.two=new PA(2).toRed(this.red),this.n=t.n&&new PA(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.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 n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var HA=GA;function YA(e,t){this.curve=e,this.type=t,this.precomputed=null}GA.prototype.point=function(){throw new Error("Not implemented")},GA.prototype.validate=function(){throw new Error("Not implemented")},GA.prototype._fixedNafMul=function(e,t){qA(e.precomputed);var n=e._getDoubles(),r=FA(t,1,this._bitLength),i=(1<=o;u--)a=(a<<1)+r[u];s.push(a)}for(var c=this.jpoint(null,null,null),l=this.jpoint(null,null,null),f=i;f>0;f--){for(o=0;o=0;s--){for(var u=0;s>=0&&0===o[s];s--)u++;if(s>=0&&u++,a=a.dblp(u),s<0)break;var c=o[s];qA(0!==c),a="affine"===e.type?c>0?a.mixedAdd(i[c-1>>1]):a.mixedAdd(i[-c-1>>1].neg()):c>0?a.add(i[c-1>>1]):a.add(i[-c-1>>1].neg())}return"affine"===e.type?a.toP():a},GA.prototype._wnafMulAdd=function(e,t,n,r,i){var o,a,s,u=this._wnafT1,c=this._wnafT2,l=this._wnafT3,f=0;for(o=0;o=1;o-=2){var A=o-1,h=o;if(1===u[A]&&1===u[h]){var p=[t[A],null,null,t[h]];0===t[A].y.cmp(t[h].y)?(p[1]=t[A].add(t[h]),p[2]=t[A].toJ().mixedAdd(t[h].neg())):0===t[A].y.cmp(t[h].y.redNeg())?(p[1]=t[A].toJ().mixedAdd(t[h]),p[2]=t[A].add(t[h].neg())):(p[1]=t[A].toJ().mixedAdd(t[h]),p[2]=t[A].toJ().mixedAdd(t[h].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=jA(n[A],n[h]);for(f=Math.max(y[0].length,f),l[A]=new Array(f),l[h]=new Array(f),a=0;a=0;o--){for(var E=0;o>=0;){var I=!0;for(a=0;a=0&&E++,v=v.dblp(E),o<0)break;for(a=0;a0?s=c[a][B-1>>1]:B<0&&(s=c[a][-B-1>>1].neg()),v="affine"===s.type?v.mixedAdd(s):v.add(s))}}for(o=0;o=Math.ceil((e.bitLength()+1)/t.step)},YA.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i=0&&(o=t,a=n),r.negative&&(r=r.neg(),i=i.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:r,b:i},{a:o,b:a}]},WA.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),u=i.mul(n.b),c=o.mul(r.b);return{k1:e.sub(a).sub(s),k2:u.add(c).neg()}},WA.prototype.pointFromX=function(e,t){(e=new KA(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var i=r.fromRed().isOdd();return(t&&!i||!t&&i)&&(r=r.redNeg()),this.point(e,r)},WA.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},WA.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},ZA.prototype.isInfinity=function(){return this.inf},ZA.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},ZA.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),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)},ZA.prototype.getX=function(){return this.x.fromRed()},ZA.prototype.getY=function(){return this.y.fromRed()},ZA.prototype.mul=function(e){return e=new KA(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},ZA.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},ZA.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},ZA.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},ZA.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},ZA.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},zA(XA,VA.BasePoint),WA.prototype.jpoint=function(e,t,n){return new XA(this,e,t,n)},XA.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},XA.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},XA.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.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(),l=c.redMul(s),f=r.redMul(c),d=u.redSqr().redIAdd(l).redISub(f).redISub(f),A=u.redMul(f.redISub(d)).redISub(o.redMul(l)),h=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,A,h)},XA.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=n.redSub(r),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),l=n.redMul(u),f=s.redSqr().redIAdd(c).redISub(l).redISub(l),d=s.redMul(l.redISub(f)).redISub(i.redMul(c)),A=this.z.redMul(a);return this.curve.jpoint(f,d,A)},XA.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var n=this;for(t=0;t=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},XA.prototype.inspect=function(){return this.isInfinity()?"":""},XA.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var eh=pd,th=Zr,nh=HA,rh=NA;function ih(e){nh.call(this,"mont",e),this.a=new eh(e.a,16).toRed(this.red),this.b=new eh(e.b,16).toRed(this.red),this.i4=new eh(4).toRed(this.red).redInvm(),this.two=new eh(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}th(ih,nh);var oh=ih;function ah(e,t,n){nh.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new eh(t,16),this.z=new eh(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}ih.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},th(ah,nh.BasePoint),ih.prototype.decodePoint=function(e,t){return this.point(rh.toArray(e,t),1)},ih.prototype.point=function(e,t){return new ah(this,e,t)},ih.prototype.pointFromJSON=function(e){return ah.fromJSON(this,e)},ah.prototype.precompute=function(){},ah.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},ah.fromJSON=function(e,t){return new ah(e,t[0],t[1]||e.one)},ah.prototype.inspect=function(){return this.isInfinity()?"":""},ah.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},ah.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},ah.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},ah.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(n),a=i.redMul(r),s=t.z.redMul(o.redAdd(a).redSqr()),u=t.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,u)},ah.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},ah.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},ah.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},ah.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},ah.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},ah.prototype.getX=function(){return this.normalize(),this.x.fromRed()};var sh=pd,uh=Zr,ch=HA,lh=NA.assert;function fh(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,ch.call(this,"edwards",e),this.a=new sh(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new sh(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new sh(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),lh(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}uh(fh,ch);var dh=fh;function Ah(e,t,n,r,i){ch.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(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 sh(t,16),this.y=new sh(n,16),this.z=r?new sh(r,16):this.curve.one,this.t=i&&new sh(i,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()))))}fh.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},fh.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},fh.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},fh.prototype.pointFromX=function(e,t){(e=new sh(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),i=this.one.redSub(this.c2.redMul(this.d).redMul(n)),o=r.redMul(i.redInvm()),a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");var s=a.fromRed().isOdd();return(t&&!s||!t&&s)&&(a=a.redNeg()),this.point(e,a)},fh.prototype.pointFromY=function(e,t){(e=new sh(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),i=n.redMul(this.d).redMul(this.c2).redSub(this.a),o=r.redMul(i.redInvm());if(0===o.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=o.redSqrt();if(0!==a.redSqr().redSub(o).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},fh.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},uh(Ah,ch.BasePoint),fh.prototype.pointFromJSON=function(e){return Ah.fromJSON(this,e)},fh.prototype.point=function(e,t,n,r){return new Ah(this,e,t,n,r)},Ah.fromJSON=function(e,t){return new Ah(e,t[0],t[1],t[2])},Ah.prototype.inspect=function(){return this.isInfinity()?"":""},Ah.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},Ah.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),a=o.redSub(n),s=r.redSub(t),u=i.redMul(a),c=o.redMul(s),l=i.redMul(s),f=a.redMul(o);return this.curve.point(u,c,f,l)},Ah.prototype._projDbl=function(){var e,t,n,r,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){var c=(r=this.curve._mulA(s)).redAdd(u);this.zOne?(e=a.redSub(s).redSub(u).redMul(c.redSub(this.curve.two)),t=c.redMul(r.redSub(u)),n=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),e=a.redSub(s).redISub(u).redMul(o),t=c.redMul(r.redSub(u)),n=c.redMul(o))}else r=s.redAdd(u),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),e=this.curve._mulC(a.redISub(r)).redMul(o),t=this.curve._mulC(r).redMul(s.redISub(u)),n=r.redMul(o);return this.curve.point(e,t,n)},Ah.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},Ah.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),a=i.redSub(r),s=i.redAdd(r),u=n.redAdd(t),c=o.redMul(a),l=s.redMul(u),f=o.redMul(u),d=a.redMul(s);return this.curve.point(c,l,d,f)},Ah.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),u=i.redSub(s),c=i.redAdd(s),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),f=r.redMul(u).redMul(l);return this.curve.twisted?(t=r.redMul(c).redMul(a.redSub(this.curve._mulA(o))),n=u.redMul(c)):(t=r.redMul(c).redMul(a.redSub(o)),n=this.curve._mulC(u).redMul(c)),this.curve.point(f,t,n)},Ah.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},Ah.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},Ah.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},Ah.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},Ah.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},Ah.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},Ah.prototype.getX=function(){return this.normalize(),this.x.fromRed()},Ah.prototype.getY=function(){return this.normalize(),this.y.fromRed()},Ah.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},Ah.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},Ah.prototype.toP=Ah.prototype.normalize,Ah.prototype.mixedAdd=Ah.prototype.add,function(e){var t=e;t.base=HA,t.short=$A,t.mont=oh,t.edwards=dh}(LA);var hh={},ph={},gh={},yh=zc,mh=Zr;function bh(e,t){return 55296==(64512&e.charCodeAt(t))&&!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1))}function vh(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function wh(e){return 1===e.length?"0"+e:e}function Eh(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}gh.inherits=mh,gh.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i>6|192,n[r++]=63&o|128):bh(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i>>0}return o},gh.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},gh.rotr32=function(e,t){return e>>>t|e<<32-t},gh.rotl32=function(e,t){return e<>>32-t},gh.sum32=function(e,t){return e+t>>>0},gh.sum32_3=function(e,t,n){return e+t+n>>>0},gh.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},gh.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},gh.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,a=(o>>0,e[t+1]=o},gh.sum64_hi=function(e,t,n,r){return(t+r>>>0>>0},gh.sum64_lo=function(e,t,n,r){return t+r>>>0},gh.sum64_4_hi=function(e,t,n,r,i,o,a,s){var u=0,c=t;return u+=(c=c+r>>>0)>>0)>>0)>>0},gh.sum64_4_lo=function(e,t,n,r,i,o,a,s){return t+r+o+s>>>0},gh.sum64_5_hi=function(e,t,n,r,i,o,a,s,u,c){var l=0,f=t;return l+=(f=f+r>>>0)>>0)>>0)>>0)>>0},gh.sum64_5_lo=function(e,t,n,r,i,o,a,s,u,c){return t+r+o+s+c>>>0},gh.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},gh.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},gh.shr64_hi=function(e,t,n){return e>>>n},gh.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0};var Ih={},Bh=gh,Ch=zc;function _h(){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}Ih.BlockHash=_h,_h.prototype.update=function(e,t){if(e=Bh.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=Bh.join32(e,0,e.length-n,this.endian);for(var r=0;r>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o>>3},Qh.g1_256=function(e){return kh(e,17)^kh(e,19)^e>>>10};var Dh=gh,Th=Ih,Nh=Qh,Oh=Dh.rotl32,Lh=Dh.sum32,Ph=Dh.sum32_5,Uh=Nh.ft_1,Fh=Th.BlockHash,jh=[1518500249,1859775393,2400959708,3395469782];function qh(){if(!(this instanceof qh))return new qh;Fh.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Dh.inherits(qh,Fh);var Gh=qh;qh.blockSize=512,qh.outSize=160,qh.hmacStrength=80,qh.padLength=64,qh.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;rthis.blockSize&&(e=(new this.Hash).update(e).digest()),ug(e.length<=this.blockSize);for(var t=e.length;t=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}var yg=gg;gg.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},gg.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=hg.toArray(n,r||"hex"),this._update(n));for(var i=[];i.length"};var Eg=pd,Ig=NA,Bg=Ig.assert;function Cg(e,t){if(e instanceof Cg)return e;this._importDER(e,t)||(Bg(e.r&&e.s,"Signature without r or s"),this.r=new Eg(e.r,16),this.s=new Eg(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var _g,Sg,Qg=Cg;function kg(){this.place=0}function Mg(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return!(i<=127)&&(t.place=a,i)}function xg(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}Cg.prototype._importDER=function(e,t){e=Ig.toArray(e,t);var n=new kg;if(48!==e[n.place++])return!1;var r=Mg(e,n);if(!1===r)return!1;if(r+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var i=Mg(e,n);if(!1===i)return!1;var o=e.slice(n.place,i+n.place);if(n.place+=i,2!==e[n.place++])return!1;var a=Mg(e,n);if(!1===a)return!1;if(e.length!==a+n.place)return!1;var s=e.slice(n.place,a+n.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new Eg(o),this.s=new Eg(s),this.recoveryParam=null,!0},Cg.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=xg(t),n=xg(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];Rg(r,t.length),(r=r.concat(t)).push(2),Rg(r,n.length);var i=r.concat(n),o=[48];return Rg(o,i.length),o=o.concat(i),Ig.encode(o,e)};var Dg=NA,Tg=Dg.assert,Ng=Dg.parseBytes,Og=Dg.cachedProperty;function Lg(e,t){this.eddsa=e,this._secret=Ng(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=Ng(t.pub)}Lg.fromPublic=function(e,t){return t instanceof Lg?t:new Lg(e,{pub:t})},Lg.fromSecret=function(e,t){return t instanceof Lg?t:new Lg(e,{secret:t})},Lg.prototype.secret=function(){return this._secret},Og(Lg,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),Og(Lg,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),Og(Lg,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),Og(Lg,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),Og(Lg,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),Og(Lg,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),Lg.prototype.sign=function(e){return Tg(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},Lg.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},Lg.prototype.getSecret=function(e){return Tg(this._secret,"KeyPair is public only"),Dg.encode(this.secret(),e)},Lg.prototype.getPublic=function(e){return Dg.encode(this.pubBytes(),e)};var Pg=Lg,Ug=pd,Fg=NA,jg=Fg.assert,qg=Fg.cachedProperty,Gg=Fg.parseBytes;function Hg(e,t){this.eddsa=e,"object"!=typeof t&&(t=Gg(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),jg(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof Ug&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}qg(Hg,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),qg(Hg,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),qg(Hg,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),qg(Hg,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),Hg.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},Hg.prototype.toHex=function(){return Fg.encode(this.toBytes(),"hex").toUpperCase()};var Yg=Hg,Kg=ph,zg=hh,Vg=NA,Jg=Vg.assert,Wg=Vg.parseBytes,$g=Pg,Zg=Yg;function Xg(e){if(Jg("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof Xg))return new Xg(e);e=zg[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=Kg.sha512}var ey,ty=Xg;function ny(){return ey||(ey=1,function(e){var t=DA;t.version=TA.version,t.utils=NA,t.rand=yd(),t.curve=LA,t.curves=hh,t.ec=function(){if(Sg)return _g;Sg=1;var e=pd,t=yg,n=NA,r=hh,i=yd(),o=n.assert,a=wg,s=Qg;function u(e){if(!(this instanceof u))return new u(e);"string"==typeof e&&(o(Object.prototype.hasOwnProperty.call(r,e),"Unknown curve "+e),e=r[e]),e instanceof r.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}return _g=u,u.prototype.keyPair=function(e){return new a(this,e)},u.prototype.keyFromPrivate=function(e,t){return a.fromPrivate(this,e,t)},u.prototype.keyFromPublic=function(e,t){return a.fromPublic(this,e,t)},u.prototype.genKeyPair=function(n){n||(n={});for(var r=new t({hash:this.hash,pers:n.pers,persEnc:n.persEnc||"utf8",entropy:n.entropy||i(this.hash.hmacStrength),entropyEnc:n.entropy&&n.entropyEnc||"utf8",nonce:this.n.toArray()}),o=this.n.byteLength(),a=this.n.sub(new e(2));;){var s=new e(r.generate(o));if(!(s.cmp(a)>0))return s.iaddn(1),this.keyFromPrivate(s)}},u.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},u.prototype.sign=function(n,r,i,o){"object"==typeof i&&(o=i,i=null),o||(o={}),r=this.keyFromPrivate(r,i),n=this._truncateToN(new e(n,16));for(var a=this.n.byteLength(),u=r.getPrivate().toArray("be",a),c=n.toArray("be",a),l=new t({hash:this.hash,entropy:u,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new e(1)),d=0;;d++){var A=o.k?o.k(d):new e(l.generate(this.n.byteLength()));if(!((A=this._truncateToN(A,!0)).cmpn(1)<=0||A.cmp(f)>=0)){var h=this.g.mul(A);if(!h.isInfinity()){var p=h.getX(),g=p.umod(this.n);if(0!==g.cmpn(0)){var y=A.invm(this.n).mul(g.mul(r.getPrivate()).iadd(n));if(0!==(y=y.umod(this.n)).cmpn(0)){var m=(h.getY().isOdd()?1:0)|(0!==p.cmp(g)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),m^=1),new s({r:g,s:y,recoveryParam:m})}}}}}},u.prototype.verify=function(t,n,r,i){t=this._truncateToN(new e(t,16)),r=this.keyFromPublic(r,i);var o=(n=new s(n,"hex")).r,a=n.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 u,c=a.invm(this.n),l=c.mul(t).umod(this.n),f=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(u=this.g.jmulAdd(l,r.getPublic(),f)).isInfinity()&&u.eqXToP(o):!(u=this.g.mulAdd(l,r.getPublic(),f)).isInfinity()&&0===u.getX().umod(this.n).cmp(o)},u.prototype.recoverPubKey=function(t,n,r,i){o((3&r)===r,"The recovery param is more than two bits"),n=new s(n,i);var a=this.n,u=new e(t),c=n.r,l=n.s,f=1&r,d=r>>1;if(c.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");c=d?this.curve.pointFromX(c.add(this.curve.n),f):this.curve.pointFromX(c,f);var A=n.r.invm(a),h=a.sub(u).mul(A).umod(a),p=l.mul(A).umod(a);return this.g.mulAdd(h,c,p)},u.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new s(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")},_g}(),t.eddsa=ty}()),DA}Xg.prototype.sign=function(e,t){e=Wg(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,n.pubBytes(),e).mul(n.priv()),s=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:s,Rencoded:o})},Xg.prototype.verify=function(e,t,n){e=Wg(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(o)},Xg.prototype.hashInt=function(){for(var e=this.hash(),t=0;t=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+e)}function s(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function u(e,t,r,i){for(var o=0,a=0,s=Math.min(e.length,r),u=t;u=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},i.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=s(e,t,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},i.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(e){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[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];function h(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,f=67108863&u,d=Math.min(c,t.length-1),A=Math.max(0,c-e.length+1);A<=d;A++){var h=c-A|0;l+=(a=(i=0|e.words[h])*(o=0|t.words[A])+f)/67108864|0,f=67108863&a}n.words[c]=0|f,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?f[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=d[e],l=A[e];r="";var h=this.clone();for(h.negative=0;!h.isZero();){var p=h.modrn(l).toString(e);r=(h=h.idivn(l)).isZero()?p+r:f[c-p.length]+p+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,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(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},i.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===o?(n>=0&&(e[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return!(8191&t)&&(n+=13,t>>>=13),!(127&t)&&(n+=7,t>>>=7),!(15&t)&&(n+=4,t>>>=4),!(3&t)&&(n+=2,t>>>=2),!(1&t)&&n++,n},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,A=0|a[1],h=8191&A,p=A>>>13,g=0|a[2],y=8191&g,m=g>>>13,b=0|a[3],v=8191&b,w=b>>>13,E=0|a[4],I=8191&E,B=E>>>13,C=0|a[5],_=8191&C,S=C>>>13,Q=0|a[6],k=8191&Q,M=Q>>>13,x=0|a[7],R=8191&x,D=x>>>13,T=0|a[8],N=8191&T,O=T>>>13,L=0|a[9],P=8191&L,U=L>>>13,F=0|s[0],j=8191&F,q=F>>>13,G=0|s[1],H=8191&G,Y=G>>>13,K=0|s[2],z=8191&K,V=K>>>13,J=0|s[3],W=8191&J,$=J>>>13,Z=0|s[4],X=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,ce=se>>>13,le=0|s[8],fe=8191&le,de=le>>>13,Ae=0|s[9],he=8191&Ae,pe=Ae>>>13;n.negative=e.negative^t.negative,n.length=19;var ge=(c+(r=Math.imul(f,j))|0)+((8191&(i=(i=Math.imul(f,q))+Math.imul(d,j)|0))<<13)|0;c=((o=Math.imul(d,q))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(h,j),i=(i=Math.imul(h,q))+Math.imul(p,j)|0,o=Math.imul(p,q);var ye=(c+(r=r+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(d,H)|0))<<13)|0;c=((o=o+Math.imul(d,Y)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,j),i=(i=Math.imul(y,q))+Math.imul(m,j)|0,o=Math.imul(m,q),r=r+Math.imul(h,H)|0,i=(i=i+Math.imul(h,Y)|0)+Math.imul(p,H)|0,o=o+Math.imul(p,Y)|0;var me=(c+(r=r+Math.imul(f,z)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(d,z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,r=Math.imul(v,j),i=(i=Math.imul(v,q))+Math.imul(w,j)|0,o=Math.imul(w,q),r=r+Math.imul(y,H)|0,i=(i=i+Math.imul(y,Y)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,Y)|0,r=r+Math.imul(h,z)|0,i=(i=i+Math.imul(h,V)|0)+Math.imul(p,z)|0,o=o+Math.imul(p,V)|0;var be=(c+(r=r+Math.imul(f,W)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,W)|0))<<13)|0;c=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(I,j),i=(i=Math.imul(I,q))+Math.imul(B,j)|0,o=Math.imul(B,q),r=r+Math.imul(v,H)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(w,H)|0,o=o+Math.imul(w,Y)|0,r=r+Math.imul(y,z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,W)|0,i=(i=i+Math.imul(h,$)|0)+Math.imul(p,W)|0,o=o+Math.imul(p,$)|0;var ve=(c+(r=r+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;c=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(_,j),i=(i=Math.imul(_,q))+Math.imul(S,j)|0,o=Math.imul(S,q),r=r+Math.imul(I,H)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(B,H)|0,o=o+Math.imul(B,Y)|0,r=r+Math.imul(v,z)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(w,z)|0,o=o+Math.imul(w,V)|0,r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,$)|0,r=r+Math.imul(h,X)|0,i=(i=i+Math.imul(h,ee)|0)+Math.imul(p,X)|0,o=o+Math.imul(p,ee)|0;var we=(c+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;c=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(k,j),i=(i=Math.imul(k,q))+Math.imul(M,j)|0,o=Math.imul(M,q),r=r+Math.imul(_,H)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(S,H)|0,o=o+Math.imul(S,Y)|0,r=r+Math.imul(I,z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(B,z)|0,o=o+Math.imul(B,V)|0,r=r+Math.imul(v,W)|0,i=(i=i+Math.imul(v,$)|0)+Math.imul(w,W)|0,o=o+Math.imul(w,$)|0,r=r+Math.imul(y,X)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=(i=i+Math.imul(h,re)|0)+Math.imul(p,ne)|0,o=o+Math.imul(p,re)|0;var Ee=(c+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;c=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(R,j),i=(i=Math.imul(R,q))+Math.imul(D,j)|0,o=Math.imul(D,q),r=r+Math.imul(k,H)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(M,H)|0,o=o+Math.imul(M,Y)|0,r=r+Math.imul(_,z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,z)|0,o=o+Math.imul(S,V)|0,r=r+Math.imul(I,W)|0,i=(i=i+Math.imul(I,$)|0)+Math.imul(B,W)|0,o=o+Math.imul(B,$)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=(i=i+Math.imul(h,ae)|0)+Math.imul(p,oe)|0,o=o+Math.imul(p,ae)|0;var Ie=(c+(r=r+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,ce)|0)+Math.imul(d,ue)|0))<<13)|0;c=((o=o+Math.imul(d,ce)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(N,j),i=(i=Math.imul(N,q))+Math.imul(O,j)|0,o=Math.imul(O,q),r=r+Math.imul(R,H)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(D,H)|0,o=o+Math.imul(D,Y)|0,r=r+Math.imul(k,z)|0,i=(i=i+Math.imul(k,V)|0)+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(_,W)|0,i=(i=i+Math.imul(_,$)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(I,X)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(B,X)|0,o=o+Math.imul(B,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=(i=i+Math.imul(h,ce)|0)+Math.imul(p,ue)|0,o=o+Math.imul(p,ce)|0;var Be=(c+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;c=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,r=Math.imul(P,j),i=(i=Math.imul(P,q))+Math.imul(U,j)|0,o=Math.imul(U,q),r=r+Math.imul(N,H)|0,i=(i=i+Math.imul(N,Y)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(R,z)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(D,z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(k,W)|0,i=(i=i+Math.imul(k,$)|0)+Math.imul(M,W)|0,o=o+Math.imul(M,$)|0,r=r+Math.imul(_,X)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(I,ne)|0,i=(i=i+Math.imul(I,re)|0)+Math.imul(B,ne)|0,o=o+Math.imul(B,re)|0,r=r+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,ae)|0,r=r+Math.imul(y,ue)|0,i=(i=i+Math.imul(y,ce)|0)+Math.imul(m,ue)|0,o=o+Math.imul(m,ce)|0,r=r+Math.imul(h,fe)|0,i=(i=i+Math.imul(h,de)|0)+Math.imul(p,fe)|0,o=o+Math.imul(p,de)|0;var Ce=(c+(r=r+Math.imul(f,he)|0)|0)+((8191&(i=(i=i+Math.imul(f,pe)|0)+Math.imul(d,he)|0))<<13)|0;c=((o=o+Math.imul(d,pe)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(P,H),i=(i=Math.imul(P,Y))+Math.imul(U,H)|0,o=Math.imul(U,Y),r=r+Math.imul(N,z)|0,i=(i=i+Math.imul(N,V)|0)+Math.imul(O,z)|0,o=o+Math.imul(O,V)|0,r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(D,W)|0,o=o+Math.imul(D,$)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(M,X)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(B,oe)|0,o=o+Math.imul(B,ae)|0,r=r+Math.imul(v,ue)|0,i=(i=i+Math.imul(v,ce)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,ce)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var _e=(c+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,pe)|0)+Math.imul(p,he)|0))<<13)|0;c=((o=o+Math.imul(p,pe)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(P,z),i=(i=Math.imul(P,V))+Math.imul(U,z)|0,o=Math.imul(U,V),r=r+Math.imul(N,W)|0,i=(i=i+Math.imul(N,$)|0)+Math.imul(O,W)|0,o=o+Math.imul(O,$)|0,r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,ee)|0,r=r+Math.imul(k,ne)|0,i=(i=i+Math.imul(k,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(I,ue)|0,i=(i=i+Math.imul(I,ce)|0)+Math.imul(B,ue)|0,o=o+Math.imul(B,ce)|0,r=r+Math.imul(v,fe)|0,i=(i=i+Math.imul(v,de)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,de)|0;var Se=(c+(r=r+Math.imul(y,he)|0)|0)+((8191&(i=(i=i+Math.imul(y,pe)|0)+Math.imul(m,he)|0))<<13)|0;c=((o=o+Math.imul(m,pe)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(P,W),i=(i=Math.imul(P,$))+Math.imul(U,W)|0,o=Math.imul(U,$),r=r+Math.imul(N,X)|0,i=(i=i+Math.imul(N,ee)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(D,ne)|0,o=o+Math.imul(D,re)|0,r=r+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,ce)|0)+Math.imul(S,ue)|0,o=o+Math.imul(S,ce)|0,r=r+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,de)|0)+Math.imul(B,fe)|0,o=o+Math.imul(B,de)|0;var Qe=(c+(r=r+Math.imul(v,he)|0)|0)+((8191&(i=(i=i+Math.imul(v,pe)|0)+Math.imul(w,he)|0))<<13)|0;c=((o=o+Math.imul(w,pe)|0)+(i>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,r=Math.imul(P,X),i=(i=Math.imul(P,ee))+Math.imul(U,X)|0,o=Math.imul(U,ee),r=r+Math.imul(N,ne)|0,i=(i=i+Math.imul(N,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,r=r+Math.imul(k,ue)|0,i=(i=i+Math.imul(k,ce)|0)+Math.imul(M,ue)|0,o=o+Math.imul(M,ce)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(S,fe)|0,o=o+Math.imul(S,de)|0;var ke=(c+(r=r+Math.imul(I,he)|0)|0)+((8191&(i=(i=i+Math.imul(I,pe)|0)+Math.imul(B,he)|0))<<13)|0;c=((o=o+Math.imul(B,pe)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(P,ne),i=(i=Math.imul(P,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(N,oe)|0,i=(i=i+Math.imul(N,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,r=r+Math.imul(R,ue)|0,i=(i=i+Math.imul(R,ce)|0)+Math.imul(D,ue)|0,o=o+Math.imul(D,ce)|0,r=r+Math.imul(k,fe)|0,i=(i=i+Math.imul(k,de)|0)+Math.imul(M,fe)|0,o=o+Math.imul(M,de)|0;var Me=(c+(r=r+Math.imul(_,he)|0)|0)+((8191&(i=(i=i+Math.imul(_,pe)|0)+Math.imul(S,he)|0))<<13)|0;c=((o=o+Math.imul(S,pe)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(P,oe),i=(i=Math.imul(P,ae))+Math.imul(U,oe)|0,o=Math.imul(U,ae),r=r+Math.imul(N,ue)|0,i=(i=i+Math.imul(N,ce)|0)+Math.imul(O,ue)|0,o=o+Math.imul(O,ce)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(D,fe)|0,o=o+Math.imul(D,de)|0;var xe=(c+(r=r+Math.imul(k,he)|0)|0)+((8191&(i=(i=i+Math.imul(k,pe)|0)+Math.imul(M,he)|0))<<13)|0;c=((o=o+Math.imul(M,pe)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(P,ue),i=(i=Math.imul(P,ce))+Math.imul(U,ue)|0,o=Math.imul(U,ce),r=r+Math.imul(N,fe)|0,i=(i=i+Math.imul(N,de)|0)+Math.imul(O,fe)|0,o=o+Math.imul(O,de)|0;var Re=(c+(r=r+Math.imul(R,he)|0)|0)+((8191&(i=(i=i+Math.imul(R,pe)|0)+Math.imul(D,he)|0))<<13)|0;c=((o=o+Math.imul(D,pe)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(P,fe),i=(i=Math.imul(P,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var De=(c+(r=r+Math.imul(N,he)|0)|0)+((8191&(i=(i=i+Math.imul(N,pe)|0)+Math.imul(O,he)|0))<<13)|0;c=((o=o+Math.imul(O,pe)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Te=(c+(r=Math.imul(P,he))|0)+((8191&(i=(i=Math.imul(P,pe))+Math.imul(U,he)|0))<<13)|0;return c=((o=Math.imul(U,pe))+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,u[0]=ge,u[1]=ye,u[2]=me,u[3]=be,u[4]=ve,u[5]=we,u[6]=Ee,u[7]=Ie,u[8]=Be,u[9]=Ce,u[10]=_e,u[11]=Se,u[12]=Qe,u[13]=ke,u[14]=Me,u[15]=xe,u[16]=Re,u[17]=De,u[18]=Te,0!==c&&(u[19]=c,n.length++),n};function g(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(e,t,n){return g(e,t,n)}Math.imul||(p=h),i.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):n<63?h(this,e,t):n<1024?g(this,e,t):y(this,e,t)},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),y(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,i=0;i>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}(e);if(0===t.length)return new i(1);for(var n=this,r=0;r=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var f=0|this.words[c];this.words[c]=l<<26-o|f>>>o,l=f&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),o=e,a=0|o.words[o.length-1];0!=(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,u=r.length-o.length;if("mod"!==t){(s=new i(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[o.length+f])+(0|r.words[o.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(o,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(o,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(o=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:o,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(o=s.div.neg()),{div:o,mod:s.mod}):this.negative&e.negative?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,a,s},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%e;return t?-i:i},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),a=new i(0),s=new i(0),u=new i(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,A=1;!(t.words[0]&A)&&d<26;++d,A<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(l),a.isub(f)),o.iushrn(1),a.iushrn(1);for(var h=0,p=1;!(r.words[0]&p)&&h<26;++h,p<<=1);if(h>0)for(r.iushrn(h);h-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(f)),s.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(s),a.isub(u)):(r.isub(t),s.isub(o),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,a=new i(1),s=new i(0),u=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;!(t.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(t.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var f=0,d=1;!(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(o=0===t.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return!(1&this.words[0])},i.prototype.isOdd=function(){return!(1&~this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new B(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var m={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function I(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function B(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function C(e){B.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(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 e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},r(v,b),v.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(m[e])return m[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new w;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new I}return m[e]=t,t},B.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},B.prototype._verify2=function(e,t){n(!(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},B.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},B.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},B.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},B.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},B.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},B.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},B.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},B.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},B.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},B.prototype.isqr=function(e){return this.imul(e,e.clone())},B.prototype.sqr=function(e){return this.mul(e,e)},B.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new i(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),A=this.pow(e,o),h=a;0!==A.cmp(s);){for(var p=A,g=0;0!==p.cmp(s);g++)p=p.redSqr();n(g=0;r--){for(var c=t.words[r],l=u-1;l>=0;l--){var f=c>>l&1;o!==n[0]&&(o=this.sqr(o)),0!==f||0!==a?(a<<=1,a|=f,(4==++s||0===r&&0===l)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}u=26}return o},B.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},B.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new C(e)},r(C,B),C.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},C.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},C.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},C.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(ry,dr);var iy,oy=ry.exports,ay={},sy={},uy={},cy={},ly=yr,fy=ly.Buffer,dy={};for(iy in ly)ly.hasOwnProperty(iy)&&"SlowBuffer"!==iy&&"Buffer"!==iy&&(dy[iy]=ly[iy]);var Ay=dy.Buffer={};for(iy in fy)fy.hasOwnProperty(iy)&&"allocUnsafe"!==iy&&"allocUnsafeSlow"!==iy&&(Ay[iy]=fy[iy]);if(dy.Buffer.prototype=fy.prototype,Ay.from&&Ay.from!==Uint8Array.from||(Ay.from=function(e,t,n){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return fy(e,t,n)}),Ay.alloc||(Ay.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=fy(e);return t&&0!==t.length?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r}),!dy.kStringMaxLength)try{dy.kStringMaxLength=Gr.binding("buffer").kStringMaxLength}catch(s){}dy.constants||(dy.constants={MAX_LENGTH:dy.kMaxLength},dy.kStringMaxLength&&(dy.constants.MAX_STRING_LENGTH=dy.kStringMaxLength));var hy=dy,py={};const gy=Zr;function yy(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function my(e,t){this.path=e,this.rethrow(t)}py.Reporter=yy,yy.prototype.isError=function(e){return e instanceof my},yy.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},yy.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},yy.prototype.enterKey=function(e){return this._reporterState.path.push(e)},yy.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},yy.prototype.leaveKey=function(e,t,n){const r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},yy.prototype.path=function(){return this._reporterState.path.join("/")},yy.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},yy.prototype.leaveObject=function(e){const t=this._reporterState,n=t.obj;return t.obj=e,n},yy.prototype.error=function(e){let t;const n=this._reporterState,r=e instanceof my;if(t=r?e:new my(n.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},yy.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},gy(my,Error),my.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,my),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this};var by={};const vy=Zr,wy=py.Reporter,Ey=hy.Buffer;function Iy(e,t){wy.call(this,t),Ey.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function By(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return By.isEncoderBuffer(e)||(e=new By(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=Ey.byteLength(e);else{if(!Ey.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}vy(Iy,wy),by.DecoderBuffer=Iy,Iy.isDecoderBuffer=function(e){return e instanceof Iy||"object"==typeof e&&Ey.isBuffer(e.base)&&"DecoderBuffer"===e.constructor.name&&"number"==typeof e.offset&&"number"==typeof e.length&&"function"==typeof e.save&&"function"==typeof e.restore&&"function"==typeof e.isEmpty&&"function"==typeof e.readUInt8&&"function"==typeof e.skip&&"function"==typeof e.raw},Iy.prototype.save=function(){return{offset:this.offset,reporter:wy.prototype.save.call(this)}},Iy.prototype.restore=function(e){const t=new Iy(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,wy.prototype.restore.call(this,e.reporter),t},Iy.prototype.isEmpty=function(){return this.offset===this.length},Iy.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},Iy.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");const n=new Iy(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},Iy.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},by.EncoderBuffer=By,By.isEncoderBuffer=function(e){return e instanceof By||"object"==typeof e&&"EncoderBuffer"===e.constructor.name&&"number"==typeof e.length&&"function"==typeof e.join},By.prototype.join=function(e,t){return e||(e=Ey.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):Ey.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e};const Cy=py.Reporter,_y=by.EncoderBuffer,Sy=by.DecoderBuffer,Qy=zc,ky=["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"],My=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(ky);function xy(e,t,n){const r={};this._baseState=r,r.name=n,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}var Ry=xy;const Dy=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];xy.prototype.clone=function(){const e=this._baseState,t={};Dy.forEach((function(n){t[n]=e[n]}));const n=new this.constructor(t.parent);return n._baseState=t,n},xy.prototype._wrap=function(){const e=this._baseState;My.forEach((function(t){this[t]=function(){const n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},xy.prototype._init=function(e){const t=this._baseState;Qy(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),Qy.equal(t.children.length,1,"Root node can have only one child")},xy.prototype._useArgs=function(e){const t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(Qy(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(Qy(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0);const r=e[n];t[r]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){xy.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),ky.forEach((function(e){xy.prototype[e]=function(){const t=this._baseState,n=Array.prototype.slice.call(arguments);return Qy(null===t.tag),t.tag=e,this._useArgs(n),this}})),xy.prototype.use=function(e){Qy(e);const t=this._baseState;return Qy(null===t.use),t.use=e,this},xy.prototype.optional=function(){return this._baseState.optional=!0,this},xy.prototype.def=function(e){const t=this._baseState;return Qy(null===t.default),t.default=e,t.optional=!0,this},xy.prototype.explicit=function(e){const t=this._baseState;return Qy(null===t.explicit&&null===t.implicit),t.explicit=e,this},xy.prototype.implicit=function(e){const t=this._baseState;return Qy(null===t.explicit&&null===t.implicit),t.implicit=e,this},xy.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},xy.prototype.key=function(e){const t=this._baseState;return Qy(null===t.key),t.key=e,this},xy.prototype.any=function(){return this._baseState.any=!0,this},xy.prototype.choice=function(e){const t=this._baseState;return Qy(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},xy.prototype.contains=function(e){const t=this._baseState;return Qy(null===t.use),t.contains=e,this},xy.prototype._decode=function(e,t){const n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));let r,i=n.default,o=!0,a=null;if(null!==n.key&&(a=e.enterKey(n.key)),n.optional){let r=null;if(null!==n.explicit?r=n.explicit:null!==n.implicit?r=n.implicit:null!==n.tag&&(r=n.tag),null!==r||n.any){if(o=this._peekTag(e,r,n.any),e.isError(o))return o}else{const r=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),o=!0}catch(e){o=!1}e.restore(r)}}if(n.obj&&o&&(r=e.enterObject()),o){if(null!==n.explicit){const t=this._decodeTag(e,n.explicit);if(e.isError(t))return t;e=t}const r=e.offset;if(null===n.use&&null===n.choice){let t;n.any&&(t=e.save());const r=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(r))return r;n.any?i=e.raw(t):e=r}if(t&&t.track&&null!==n.tag&&t.track(e.path(),r,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){const r=new Sy(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(r,t)}}return n.obj&&o&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==o?null!==a&&e.exitKey(a):e.leaveKey(a,n.key,i),i},xy.prototype._decodeGeneric=function(e,t,n){const r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},xy.prototype._getUse=function(e,t){const n=this._baseState;return n.useDecoder=this._use(e,t),Qy(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},xy.prototype._decodeChoice=function(e,t){const n=this._baseState;let r=null,i=!1;return Object.keys(n.choice).some((function(o){const a=e.save(),s=n.choice[o];try{const n=s._decode(e,t);if(e.isError(n))return!1;r={type:o,value:n},i=!0}catch(t){return e.restore(a),!1}return!0}),this),i?r:e.error("Choice not matched")},xy.prototype._createEncoderBuffer=function(e){return new _y(e,this.reporter)},xy.prototype._encode=function(e,t,n){const r=this._baseState;if(null!==r.default&&r.default===e)return;const i=this._encodeValue(e,t,n);return void 0===i||this._skipDefault(i,t,n)?void 0:i},xy.prototype._encodeValue=function(e,t,n){const r=this._baseState;if(null===r.parent)return r.children[0]._encode(e,t||new Cy);let i=null;if(this.reporter=t,r.optional&&void 0===e){if(null===r.default)return;e=r.default}let o=null,a=!1;if(r.any)i=this._createEncoderBuffer(e);else if(r.choice)i=this._encodeChoice(e,t);else if(r.contains)o=this._getUse(r.contains,n)._encode(e,t),a=!0;else if(r.children)o=r.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");const r=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),o=this._createEncoderBuffer(o);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return t.error("Too many args for : "+r.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const n=this.clone();n._baseState.implicit=null,o=this._createEncoderBuffer(e.map((function(n){const r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),n))}else null!==r.use?i=this._getUse(r.use,n)._encode(e,t):(o=this._encodePrimitive(r.tag,e),a=!0);if(!r.any&&null===r.choice){const e=null!==r.implicit?r.implicit:r.tag,n=null===r.implicit?"universal":"context";null===e?null===r.use&&t.error("Tag could be omitted only for .use()"):null===r.use&&(i=this._encodeComposite(e,a,n,o))}return null!==r.explicit&&(i=this._encodeComposite(r.explicit,!1,"context",i)),i},xy.prototype._encodeChoice=function(e,t){const n=this._baseState,r=n.choice[e.type];return r||Qy(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},xy.prototype._encodePrimitive=function(e,t){const n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},xy.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},xy.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)};var Ty={};!function(e){function t(e){const t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);const r=e[n];t[r]=n})),t}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=t(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=t(e.tag)}(Ty);const Ny=Zr,Oy=hy.Buffer,Ly=Ry,Py=Ty;function Uy(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new jy,this.tree._init(e.body)}var Fy=Uy;function jy(e){Ly.call(this,"der",e)}function qy(e){return e<10?"0"+e:e}Uy.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},Ny(jy,Ly),jy.prototype._encodeComposite=function(e,t,n,r){const i=function(e,t,n,r){let i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),Py.tagByName.hasOwnProperty(e))i=Py.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}return i>=31?r.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=Py.tagClassByName[n||"universal"]<<6,i)}(e,t,n,this.reporter);if(r.length<128){const e=Oy.alloc(2);return e[0]=i,e[1]=r.length,this._createEncoderBuffer([e,r])}let o=1;for(let e=r.length;e>=256;e>>=8)o++;const a=Oy.alloc(2+o);a[0]=i,a[1]=128|o;for(let e=1+o,t=r.length;t>0;e--,t>>=8)a[e]=255&t;return this._createEncoderBuffer([a,r])},jy.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=Oy.alloc(2*e.length);for(let n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let r=0;for(let t=0;t=128;n>>=7)r++}const i=Oy.alloc(r);let o=i.length-1;for(let t=e.length-1;t>=0;t--){let n=e[t];for(i[o--]=127&n;(n>>=7)>0;)i[o--]=128|127&n}return this._createEncoderBuffer(i)},jy.prototype._encodeTime=function(e,t){let n;const r=new Date(e);return"gentime"===t?n=[qy(r.getUTCFullYear()),qy(r.getUTCMonth()+1),qy(r.getUTCDate()),qy(r.getUTCHours()),qy(r.getUTCMinutes()),qy(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[qy(r.getUTCFullYear()%100),qy(r.getUTCMonth()+1),qy(r.getUTCDate()),qy(r.getUTCHours()),qy(r.getUTCMinutes()),qy(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},jy.prototype._encodeNull=function(){return this._createEncoderBuffer("")},jy.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!Oy.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=Oy.from(t)}if(Oy.isBuffer(e)){let t=e.length;0===e.length&&t++;const n=Oy.alloc(t);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let n=1;for(let t=e;t>=256;t>>=8)n++;const r=new Array(n);for(let t=r.length-1;t>=0;t--)r[t]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(Oy.from(r))},jy.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},jy.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},jy.prototype._skipDefault=function(e,t,n){const r=this._baseState;let i;if(null===r.default)return!1;const o=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i>6],i=!(32&n);if(31&~n)n&=31;else{let r=n;for(n=0;!(128&~r);){if(r=e.readUInt8(t),e.isError(r))return r;n<<=7,n|=127&r}}return{cls:r,primitive:i,tag:n,tagStr:$y.tag[n]}}function nm(e,t,n){let r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(!(128&r))return r;const i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(let t=0;tn-a-2)throw new Error("message too long");var s=gb.alloc(n-r-a-2),u=n-o-1,c=cb(o),l=db(gb.concat([i,s,gb.alloc(1,1),t],u),fb(c,u)),f=db(c,fb(l,o));return new Ab(gb.concat([gb.alloc(1),f,l],n))}(o,t);else if(1===r)i=function(e,t,n){var r,i=t.length,o=e.modulus.byteLength();if(i>o-11)throw new Error("message too long");return r=n?gb.alloc(o-i-3,255):function(e){for(var t,n=gb.allocUnsafe(e),r=0,i=cb(2*e),o=0;r=0)throw new Error("data too long for modulus")}return n?pb(i,o):hb(i,o)},mb=Gm,bb=nb,vb=ib,wb=pd,Eb=RA,Ib=Yu,Bb=sb,Cb=Kr.Buffer,_b=function(e,t,n){var r;r=e.padding?e.padding:n?1:4;var i,o=mb(e),a=o.modulus.byteLength();if(t.length>a||new wb(t).cmp(o.modulus)>=0)throw new Error("decryption error");i=n?Bb(new wb(t),o):Eb(t,o);var s=Cb.alloc(a-i.length);if(i=Cb.concat([s,i],a),4===r)return function(e,t){var n=e.modulus.byteLength(),r=Ib("sha1").update(Cb.alloc(0)).digest(),i=r.length;if(0!==t[0])throw new Error("decryption error");var o=t.slice(1,i+1),a=t.slice(i+1),s=vb(o,bb(a,i)),u=vb(a,bb(s,n-i-1));if(function(e,t){e=Cb.from(e),t=Cb.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));for(var i=-1;++i=t.length){o++;break}var a=t.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}(0,i,n);if(3===r)return i;throw new Error("unknown padding")};!function(e){e.publicEncrypt=yb,e.privateDecrypt=_b,e.privateEncrypt=function(t,n){return e.publicEncrypt(t,n,!0)},e.publicDecrypt=function(t,n){return e.privateDecrypt(t,n,!0)}}(Xm);var Sb={};function Qb(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var kb,Mb=Kr,xb=Mb.Buffer,Rb=Mb.kMaxLength,Db=dr.crypto||dr.msCrypto,Tb=Math.pow(2,32)-1;function Nb(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>Tb||e<0)throw new TypeError("offset must be a uint32");if(e>Rb||e>t)throw new RangeError("offset out of range")}function Ob(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>Tb||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>Rb)throw new RangeError("buffer too small")}function Lb(e,t,n,r){var i=e.buffer,o=new Uint8Array(i,t,n);return Db.getRandomValues(o),r?void Mr((function(){r(null,e)})):e}function Pb(){if(kb)return mr;kb=1,mr.randomBytes=mr.rng=mr.pseudoRandomBytes=mr.prng=Wr,mr.createHash=mr.Hash=Yu,mr.createHmac=mr.Hmac=cc;var e=fc,t=Object.keys(e),n=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);mr.getHashes=function(){return n};var r=dc;mr.pbkdf2=r.pbkdf2,mr.pbkdf2Sync=r.pbkdf2Sync;var i=jc;mr.Cipher=i.Cipher,mr.createCipher=i.createCipher,mr.Cipheriv=i.Cipheriv,mr.createCipheriv=i.createCipheriv,mr.Decipher=i.Decipher,mr.createDecipher=i.createDecipher,mr.Decipheriv=i.Decipheriv,mr.createDecipheriv=i.createDecipheriv,mr.getCiphers=i.getCiphers,mr.listCiphers=i.listCiphers;var o=function(){if(Ed)return ud;Ed=1;var e=bd(),t=Cd,n=function(){if(wd)return vd;wd=1;var e=pd,t=new(md()),n=new e(24),r=new e(11),i=new e(10),o=new e(3),a=new e(7),s=bd(),u=Wr;function c(t,n){return n=n||"utf8",lr(t)||(t=new Sn(t,n)),this._pub=new e(t),this}function l(t,n){return n=n||"utf8",lr(t)||(t=new Sn(t,n)),this._priv=new e(t),this}vd=d;var f={};function d(t,n,r){this.setGenerator(n),this.__prime=new e(t),this._prime=e.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=c,this.setPrivateKey=l):this._primeCode=8}function A(e,t){var n=new Sn(e.toArray());return t?n.toString(t):n}return Object.defineProperty(d.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,u){var c=u.toString("hex"),l=[c,e.toString(16)].join("_");if(l in f)return f[l];var d,A=0;if(e.isEven()||!s.simpleSieve||!s.fermatTest(e)||!t.test(e))return A+=1,A+="02"===c||"05"===c?8:4,f[l]=A,A;switch(t.test(e.shrn(1))||(A+=2),c){case"02":e.mod(n).cmp(r)&&(A+=8);break;case"05":(d=e.mod(i)).cmp(o)&&d.cmp(a)&&(A+=8);break;default:A+=4}return f[l]=A,A}(this.__prime,this.__gen)),this._primeCode}}),d.prototype.generateKeys=function(){return this._priv||(this._priv=new e(u(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},d.prototype.computeSecret=function(t){var n=new Sn((t=(t=new e(t)).toRed(this._prime)).redPow(this._priv).fromRed().toArray()),r=this.getPrime();if(n.length0&&n.ishrn(r),n}function c(n,r,i){var o,a;do{for(o=e.alloc(0);8*o.length=t)throw new Error("invalid sig")}return Km=function(a,s,u,c,l){var f=r(u);if("ec"===f.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,r){var o=i[r.data.algorithm.curve.join(".")];if(!o)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var a=new n(o),s=r.data.subjectPrivateKey.data;return a.verify(t,e,s)}(a,s,f)}if("dsa"===f.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,n,i){var a=i.data.p,s=i.data.q,u=i.data.g,c=i.data.pub_key,l=r.signature.decode(e,"der"),f=l.s,d=l.r;o(f,s),o(d,s);var A=t.mont(a),h=f.invm(s);return 0===u.toRed(A).redPow(new t(n).mul(h).mod(s)).fromRed().mul(c.toRed(A).redPow(d.mul(h).mod(s)).fromRed()).mod(a).mod(s).cmp(d)}(a,s,f)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");s=e.concat([l,s]);for(var d=f.modulus.byteLength(),A=[1],h=0;s.length+A.length+2{switch(e){case"sha256":case"sha3-256":case"blake2s256":return 32;case"sha512":case"sha3-512":case"blake2b512":return 64;case"sha224":case"sha3-224":return 28;case"sha384":case"sha3-384":return 48;case"sha1":return 20;case"md5":return 16;default:{let t=qb[e];return void 0===t&&(t=Fb(e).digest().length,qb[e]=t),t}}},Hb=(e,t,n,r)=>{const i=Ub.isBuffer(n)?n:Ub.from(n),o=r&&r.length?Ub.from(r):Ub.alloc(t,0);return jb(e,o).update(i).digest()},Yb=(e,t,n,r,i)=>{const o=Ub.isBuffer(i)?i:Ub.from(i||""),a=o.length,s=Math.ceil(r/t);if(s>255)throw new Error(`OKM length ${r} is too long for ${e} hash`);const u=Ub.alloc(t*s+a+1);for(let r=1,i=0,c=0;r<=s;++r)o.copy(u,c),u[c+a]=r,jb(e,n).update(u.slice(i,c+a+1)).digest().copy(u,c),i=c,c+=t;return u.slice(0,r)};function Kb(e,t,{salt:n="",info:r="",hash:i="SHA-256"}={}){i=i.toLowerCase().replace("-","");const o=Gb(i),a=Hb(i,o,e,n);return Yb(i,o,a,t,r)}Object.defineProperties(Kb,{hash_length:{configurable:!1,enumerable:!1,writable:!1,value:Gb},extract:{configurable:!1,enumerable:!1,writable:!1,value:Hb},expand:{configurable:!1,enumerable:!1,writable:!1,value:Yb}});var zb=Kb;const Vb="Impossible case. Please create issue.",Jb="The tweak was out of range or the resulted private key is invalid",Wb="The tweak was out of range or equal to zero",$b="Public Key could not be parsed",Zb="Public Key serialization error",Xb="Signature could not be parsed";function ev(e,t){if(!e)throw new Error(t)}function tv(e,t,n){if(ev(t instanceof Uint8Array,`Expected ${e} to be an Uint8Array`),void 0!==n)if(Array.isArray(n)){const r=`Expected ${e} to be an Uint8Array with length [${n.join(", ")}]`;ev(n.includes(t.length),r)}else{const r=`Expected ${e} to be an Uint8Array with length ${n}`;ev(t.length===n,r)}}function nv(e){ev("Boolean"===iv(e),"Expected compressed to be a Boolean")}function rv(e=(e=>new Uint8Array(e)),t){return"function"==typeof e&&(e=e(t)),tv("output",e,t),e}function iv(e){return Object.prototype.toString.call(e).slice(8,-1)}const ov=new(ny().ec)("secp256k1"),av=ov.curve,sv=av.n.constructor;function uv(e){const t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){let n=new sv(t);if(n.cmp(av.p)>=0)return null;n=n.toRed(av.red);let r=n.redSqr().redIMul(n).redIAdd(av.b).redSqrt();return 3===e!==r.isOdd()&&(r=r.redNeg()),ov.keyPair({pub:{x:n,y:r}})}(t,e.subarray(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,n){let r=new sv(t),i=new sv(n);if(r.cmp(av.p)>=0||i.cmp(av.p)>=0)return null;if(r=r.toRed(av.red),i=i.toRed(av.red),(6===e||7===e)&&i.isOdd()!==(7===e))return null;const o=r.redSqr().redIMul(r);return i.redSqr().redISub(o.redIAdd(av.b)).isZero()?ov.keyPair({pub:{x:r,y:i}}):null}(t,e.subarray(1,33),e.subarray(33,65));default:return null}}function cv(e,t){const n=t.encode(null,33===e.length);for(let t=0;t0,privateKeyVerify(e){const t=new sv(e);return t.cmp(av.n)<0&&!t.isZero()?0:1},privateKeyNegate(e){const t=new sv(e),n=av.n.sub(t).umod(av.n).toArrayLike(Uint8Array,"be",32);return e.set(n),0},privateKeyTweakAdd(e,t){const n=new sv(t);if(n.cmp(av.n)>=0)return 1;if(n.iadd(new sv(e)),n.cmp(av.n)>=0&&n.isub(av.n),n.isZero())return 1;const r=n.toArrayLike(Uint8Array,"be",32);return e.set(r),0},privateKeyTweakMul(e,t){let n=new sv(t);if(n.cmp(av.n)>=0||n.isZero())return 1;n.imul(new sv(e)),n.cmp(av.n)>=0&&(n=n.umod(av.n));const r=n.toArrayLike(Uint8Array,"be",32);return e.set(r),0},publicKeyVerify:e=>null===uv(e)?1:0,publicKeyCreate(e,t){const n=new sv(t);return n.cmp(av.n)>=0||n.isZero()?1:(cv(e,ov.keyFromPrivate(t).getPublic()),0)},publicKeyConvert(e,t){const n=uv(t);return null===n?1:(cv(e,n.getPublic()),0)},publicKeyNegate(e,t){const n=uv(t);if(null===n)return 1;const r=n.getPublic();return r.y=r.y.redNeg(),cv(e,r),0},publicKeyCombine(e,t){const n=new Array(t.length);for(let e=0;e=0)return 2;const i=r.getPublic().add(av.g.mul(n));return i.isInfinity()?2:(cv(e,i),0)},publicKeyTweakMul(e,t,n){const r=uv(t);return null===r?1:(n=new sv(n)).cmp(av.n)>=0||n.isZero()?2:(cv(e,r.getPublic().mul(n)),0)},signatureNormalize(e){const t=new sv(e.subarray(0,32)),n=new sv(e.subarray(32,64));return t.cmp(av.n)>=0||n.cmp(av.n)>=0?1:(1===n.cmp(ov.nh)&&e.set(av.n.sub(n).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport(e,t){const n=t.subarray(0,32),r=t.subarray(32,64);if(new sv(n).cmp(av.n)>=0)return 1;if(new sv(r).cmp(av.n)>=0)return 1;const{output:i}=e;let o=i.subarray(4,37);o[0]=0,o.set(n,1);let a=33,s=0;for(;a>1&&0===o[s]&&!(128&o[s+1]);--a,++s);if(o=o.subarray(s),128&o[0])return 1;if(a>1&&0===o[0]&&!(128&o[1]))return 1;let u=i.subarray(39,72);u[0]=0,u.set(r,1);let c=33,l=0;for(;c>1&&0===u[l]&&!(128&u[l+1]);--c,++l);return u=u.subarray(l),128&u[0]||c>1&&0===u[0]&&!(128&u[1])?1:(e.outputlen=6+a+c,i[0]=48,i[1]=e.outputlen-2,i[2]=2,i[3]=o.length,i.set(o,4),i[4+a]=2,i[5+a]=u.length,i.set(u,6+a),0)},signatureImport(e,t){if(t.length<8)return 1;if(t.length>72)return 1;if(48!==t[0])return 1;if(t[1]!==t.length-2)return 1;if(2!==t[2])return 1;const n=t[3];if(0===n)return 1;if(5+n>=t.length)return 1;if(2!==t[4+n])return 1;const r=t[5+n];if(0===r)return 1;if(6+n+r!==t.length)return 1;if(128&t[4])return 1;if(n>1&&0===t[4]&&!(128&t[5]))return 1;if(128&t[n+6])return 1;if(r>1&&0===t[n+6]&&!(128&t[n+7]))return 1;let i=t.subarray(4,4+n);if(33===i.length&&0===i[0]&&(i=i.subarray(1)),i.length>32)return 1;let o=t.subarray(6+n);if(33===o.length&&0===o[0]&&(o=o.slice(1)),o.length>32)throw new Error("S length is too long");let a=new sv(i);a.cmp(av.n)>=0&&(a=new sv(0));let s=new sv(t.subarray(6+n));return s.cmp(av.n)>=0&&(s=new sv(0)),e.set(a.toArrayLike(Uint8Array,"be",32),0),e.set(s.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign(e,t,n,r,i){if(i){const e=i;i=i=>{const o=e(t,n,null,r,i);if(!(o instanceof Uint8Array&&32===o.length))throw new Error("This is the way");return new sv(o)}}const o=new sv(n);if(o.cmp(av.n)>=0||o.isZero())return 1;let a;try{a=ov.sign(t,n,{canonical:!0,k:i,pers:r})}catch(e){return 1}return e.signature.set(a.r.toArrayLike(Uint8Array,"be",32),0),e.signature.set(a.s.toArrayLike(Uint8Array,"be",32),32),e.recid=a.recoveryParam,0},ecdsaVerify(e,t,n){const r={r:e.subarray(0,32),s:e.subarray(32,64)},i=new sv(r.r),o=new sv(r.s);if(i.cmp(av.n)>=0||o.cmp(av.n)>=0)return 1;if(1===o.cmp(ov.nh)||i.isZero()||o.isZero())return 3;const a=uv(n);if(null===a)return 2;const s=a.getPublic();return ov.verify(t,r,s)?0:3},ecdsaRecover(e,t,n,r){const i={r:t.slice(0,32),s:t.slice(32,64)},o=new sv(i.r),a=new sv(i.s);if(o.cmp(av.n)>=0||a.cmp(av.n)>=0)return 1;if(o.isZero()||a.isZero())return 2;let s;try{s=ov.recoverPubKey(r,i,n)}catch(e){return 2}return cv(e,s),0},ecdh(e,t,n,r,i,o,a){const s=uv(t);if(null===s)return 1;const u=new sv(n);if(u.cmp(av.n)>=0||u.isZero())return 2;const c=s.getPublic().mul(u);if(void 0===i){const t=c.encode(null,!0),n=ov.hash().update(t).digest();for(let t=0;t<32;++t)e[t]=n[t]}else{o||(o=new Uint8Array(32));const t=c.getX().toArray("be",32);for(let e=0;e<32;++e)o[e]=t[e];a||(a=new Uint8Array(32));const n=c.getY().toArray("be",32);for(let e=0;e<32;++e)a[e]=n[e];const s=i(o,a,r);if(!(s instanceof Uint8Array&&s.length===e.length))return 2;e.set(s)}return 0}},fv=(e=>({contextRandomize(t){if(ev(null===t||t instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==t&&tv("seed",t,32),1===e.contextRandomize(t))throw new Error("Unknow error on context randomization")},privateKeyVerify:t=>(tv("private key",t,32),0===e.privateKeyVerify(t)),privateKeyNegate(t){switch(tv("private key",t,32),e.privateKeyNegate(t)){case 0:return t;case 1:throw new Error(Vb)}},privateKeyTweakAdd(t,n){switch(tv("private key",t,32),tv("tweak",n,32),e.privateKeyTweakAdd(t,n)){case 0:return t;case 1:throw new Error(Jb)}},privateKeyTweakMul(t,n){switch(tv("private key",t,32),tv("tweak",n,32),e.privateKeyTweakMul(t,n)){case 0:return t;case 1:throw new Error(Wb)}},publicKeyVerify:t=>(tv("public key",t,[33,65]),0===e.publicKeyVerify(t)),publicKeyCreate(t,n=!0,r){switch(tv("private key",t,32),nv(n),r=rv(r,n?33:65),e.publicKeyCreate(r,t)){case 0:return r;case 1:throw new Error("Private Key is invalid");case 2:throw new Error(Zb)}},publicKeyConvert(t,n=!0,r){switch(tv("public key",t,[33,65]),nv(n),r=rv(r,n?33:65),e.publicKeyConvert(r,t)){case 0:return r;case 1:throw new Error($b);case 2:throw new Error(Zb)}},publicKeyNegate(t,n=!0,r){switch(tv("public key",t,[33,65]),nv(n),r=rv(r,n?33:65),e.publicKeyNegate(r,t)){case 0:return r;case 1:throw new Error($b);case 2:throw new Error(Vb);case 3:throw new Error(Zb)}},publicKeyCombine(t,n=!0,r){ev(Array.isArray(t),"Expected public keys to be an Array"),ev(t.length>0,"Expected public keys array will have more than zero items");for(const e of t)tv("public key",e,[33,65]);switch(nv(n),r=rv(r,n?33:65),e.publicKeyCombine(r,t)){case 0:return r;case 1:throw new Error($b);case 2:throw new Error("The sum of the public keys is not valid");case 3:throw new Error(Zb)}},publicKeyTweakAdd(t,n,r=!0,i){switch(tv("public key",t,[33,65]),tv("tweak",n,32),nv(r),i=rv(i,r?33:65),e.publicKeyTweakAdd(i,t,n)){case 0:return i;case 1:throw new Error($b);case 2:throw new Error(Jb)}},publicKeyTweakMul(t,n,r=!0,i){switch(tv("public key",t,[33,65]),tv("tweak",n,32),nv(r),i=rv(i,r?33:65),e.publicKeyTweakMul(i,t,n)){case 0:return i;case 1:throw new Error($b);case 2:throw new Error(Wb)}},signatureNormalize(t){switch(tv("signature",t,64),e.signatureNormalize(t)){case 0:return t;case 1:throw new Error(Xb)}},signatureExport(t,n){tv("signature",t,64);const r={output:n=rv(n,72),outputlen:72};switch(e.signatureExport(r,t)){case 0:return n.slice(0,r.outputlen);case 1:throw new Error(Xb);case 2:throw new Error(Vb)}},signatureImport(t,n){switch(tv("signature",t),n=rv(n,64),e.signatureImport(n,t)){case 0:return n;case 1:throw new Error(Xb);case 2:throw new Error(Vb)}},ecdsaSign(t,n,r={},i){tv("message",t,32),tv("private key",n,32),ev("Object"===iv(r),"Expected options to be an Object"),void 0!==r.data&&tv("options.data",r.data),void 0!==r.noncefn&&ev("Function"===iv(r.noncefn),"Expected options.noncefn to be a Function");const o={signature:i=rv(i,64),recid:null};switch(e.ecdsaSign(o,t,n,r.data,r.noncefn)){case 0:return o;case 1:throw new Error("The nonce generation function failed, or the private key was invalid");case 2:throw new Error(Vb)}},ecdsaVerify(t,n,r){switch(tv("signature",t,64),tv("message",n,32),tv("public key",r,[33,65]),e.ecdsaVerify(t,n,r)){case 0:return!0;case 3:return!1;case 1:throw new Error(Xb);case 2:throw new Error($b)}},ecdsaRecover(t,n,r,i=!0,o){switch(tv("signature",t,64),ev("Number"===iv(n)&&n>=0&&n<=3,"Expected recovery id to be a Number within interval [0, 3]"),tv("message",r,32),nv(i),o=rv(o,i?33:65),e.ecdsaRecover(o,t,n,r)){case 0:return o;case 1:throw new Error(Xb);case 2:throw new Error("Public key could not be recover");case 3:throw new Error(Vb)}},ecdh(t,n,r={},i){switch(tv("public key",t,[33,65]),tv("private key",n,32),ev("Object"===iv(r),"Expected options to be an Object"),void 0!==r.data&&tv("options.data",r.data),void 0!==r.hashfn?(ev("Function"===iv(r.hashfn),"Expected options.hashfn to be a Function"),void 0!==r.xbuf&&tv("options.xbuf",r.xbuf,32),void 0!==r.ybuf&&tv("options.ybuf",r.ybuf,32),tv("output",i)):i=rv(i,32),e.ecdh(i,t,n,r.data,r.hashfn,r.xbuf,r.ybuf)){case 0:return i;case 1:throw new Error($b);case 2:throw new Error("Scalar was invalid (zero or overflow)")}}}))(lv),dv={},Av={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SECRET_KEY_LENGTH=e.AES_IV_PLUS_TAG_LENGTH=e.AES_TAG_LENGTH=e.AES_IV_LENGTH=e.UNCOMPRESSED_PUBLIC_KEY_SIZE=void 0,e.UNCOMPRESSED_PUBLIC_KEY_SIZE=65,e.AES_IV_LENGTH=16,e.AES_TAG_LENGTH=16,e.AES_IV_PLUS_TAG_LENGTH=e.AES_IV_LENGTH+e.AES_TAG_LENGTH,e.SECRET_KEY_LENGTH=32}(Av);var hv=dr&&dr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(dv,"__esModule",{value:!0}),dv.aesDecrypt=dv.aesEncrypt=dv.getValidSecret=dv.decodeHex=dv.remove0x=void 0;var pv=Pb(),gv=hv(fv),yv=Av;function mv(e){return e.startsWith("0x")||e.startsWith("0X")?e.slice(2):e}dv.remove0x=mv,dv.decodeHex=function(e){return Sn.from(mv(e),"hex")},dv.getValidSecret=function(){var e;do{e=(0,pv.randomBytes)(yv.SECRET_KEY_LENGTH)}while(!gv.default.privateKeyVerify(e));return e},dv.aesEncrypt=function(e,t){var n=(0,pv.randomBytes)(yv.AES_IV_LENGTH),r=(0,pv.createCipheriv)("aes-256-gcm",e,n),i=Sn.concat([r.update(t),r.final()]),o=r.getAuthTag();return Sn.concat([n,o,i])},dv.aesDecrypt=function(e,t){var n=t.slice(0,yv.AES_IV_LENGTH),r=t.slice(yv.AES_IV_LENGTH,yv.AES_IV_PLUS_TAG_LENGTH),i=t.slice(yv.AES_IV_PLUS_TAG_LENGTH),o=(0,pv.createDecipheriv)("aes-256-gcm",e,n);return o.setAuthTag(r),Sn.concat([o.update(i),o.final()])};var bv={},vv=dr&&dr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bv,"__esModule",{value:!0});var wv=vv(zb),Ev=vv(fv),Iv=dv,Bv=Av,Cv=function(){function e(e){this.uncompressed=Sn.from(Ev.default.publicKeyConvert(e,!1)),this.compressed=Sn.from(Ev.default.publicKeyConvert(e,!0))}return e.fromHex=function(t){var n=(0,Iv.decodeHex)(t);if(n.length===Bv.UNCOMPRESSED_PUBLIC_KEY_SIZE-1){var r=Sn.from([4]);return new e(Sn.concat([r,n]))}return new e(n)},e.prototype.toHex=function(e){return void 0===e&&(e=!0),e?this.compressed.toString("hex"):this.uncompressed.toString("hex")},e.prototype.decapsulate=function(e){var t=Sn.concat([this.uncompressed,e.multiply(this)]);return(0,wv.default)(t,32,{hash:"SHA-256"})},e.prototype.equals=function(e){return this.uncompressed.equals(e.uncompressed)},e}();bv.default=Cv;var _v=dr&&dr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(gr,"__esModule",{value:!0});var Sv=_v(zb),Qv=_v(fv),kv=dv,Mv=_v(bv),xv=function(){function e(e){if(this.secret=e||(0,kv.getValidSecret)(),!Qv.default.privateKeyVerify(this.secret))throw new Error("Invalid private key");this.publicKey=new Mv.default(Sn.from(Qv.default.publicKeyCreate(this.secret)))}return e.fromHex=function(t){return new e((0,kv.decodeHex)(t))},e.prototype.toHex=function(){return"0x".concat(this.secret.toString("hex"))},e.prototype.encapsulate=function(e){var t=Sn.concat([this.publicKey.uncompressed,this.multiply(e)]);return(0,Sv.default)(t,32,{hash:"SHA-256"})},e.prototype.multiply=function(e){return Sn.from(Qv.default.publicKeyTweakMul(e.compressed,this.secret,!1))},e.prototype.equals=function(e){return this.secret.equals(e.secret)},e}();gr.default=xv,function(e){var t=dr&&dr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.PublicKey=e.PrivateKey=void 0;var n=gr;Object.defineProperty(e,"PrivateKey",{enumerable:!0,get:function(){return t(n).default}});var r=bv;Object.defineProperty(e,"PublicKey",{enumerable:!0,get:function(){return t(r).default}})}(pr),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.utils=e.PublicKey=e.PrivateKey=e.decrypt=e.encrypt=void 0;var t=pr,n=dv,r=Av;e.encrypt=function(e,r){var i=new t.PrivateKey,o=e instanceof Sn?new t.PublicKey(e):t.PublicKey.fromHex(e),a=i.encapsulate(o),s=(0,n.aesEncrypt)(a,r);return Sn.concat([i.publicKey.uncompressed,s])},e.decrypt=function(e,i){var o=e instanceof Sn?new t.PrivateKey(e):t.PrivateKey.fromHex(e),a=new t.PublicKey(i.slice(0,r.UNCOMPRESSED_PUBLIC_KEY_SIZE)),s=i.slice(r.UNCOMPRESSED_PUBLIC_KEY_SIZE),u=a.decapsulate(o);return(0,n.aesDecrypt)(u,s)};var i=pr;Object.defineProperty(e,"PrivateKey",{enumerable:!0,get:function(){return i.PrivateKey}}),Object.defineProperty(e,"PublicKey",{enumerable:!0,get:function(){return i.PublicKey}}),e.utils={aesDecrypt:n.aesDecrypt,aesEncrypt:n.aesEncrypt,decodeHex:n.decodeHex,getValidSecret:n.getValidSecret,remove0x:n.remove0x}}(hr);class Rv{constructor(e){this.enabled=!0,this.debug=!1,(null==e?void 0:e.debug)&&(this.debug=e.debug),(null==e?void 0:e.pkey)?this.ecies=hr.PrivateKey.fromHex(e.pkey):this.ecies=new hr.PrivateKey,this.debug&&(console.info("[ECIES] initialized secret: ",this.ecies.toHex()),console.info("[ECIES] initialized public: ",this.ecies.publicKey.toHex()),console.info("[ECIES] init with",this))}generateECIES(){this.ecies=new hr.PrivateKey}getPublicKey(){return this.ecies.publicKey.toHex()}encrypt(e,t){let n=e;if(this.enabled)try{this.debug&&console.debug("ECIES::encrypt() using otherPublicKey",t);const r=Sn.from(e),i=hr.encrypt(t,r);n=Sn.from(i).toString("base64")}catch(n){throw this.debug&&(console.error("error encrypt:",n),console.error("private: ",this.ecies.toHex()),console.error("data: ",e),console.error("otherkey: ",t)),n}return n}decrypt(e){let t=e;if(this.enabled)try{this.debug&&console.debug("ECIES::decrypt() using privateKey",this.ecies.toHex());const n=Sn.from(e.toString(),"base64");t=hr.decrypt(this.ecies.toHex(),n).toString()}catch(t){throw this.debug&&(console.error("error decrypt",t),console.error("private: ",this.ecies.toHex()),console.error("encryptedData: ",e)),t}return t}getKeyInfo(){return{private:this.ecies.toHex(),public:this.ecies.publicKey.toHex()}}toString(){console.debug("ECIES::toString()",this.getKeyInfo())}}var Dv="0.14.3";const Tv="https://metamask-sdk-socket.metafi.codefi.network/",Nv=["websocket","polling"],Ov=6048e5,Lv="eth_requestAccounts";function Pv(e){const{debug:t,context:n}=e;t&&console.debug(`RemoteCommunication::${n}::clean()`),e.channelConfig=void 0,e.ready=!1,e.originatorConnectStarted=!1}var Uv,Fv;e.ConnectionStatus=void 0,e.EventType=void 0,e.MessageType=void 0,function(e){e.DISCONNECTED="disconnected",e.WAITING="waiting",e.TIMEOUT="timeout",e.LINKED="linked",e.PAUSED="paused",e.TERMINATED="terminated"}(e.ConnectionStatus||(e.ConnectionStatus={})),function(e){e.KEY_INFO="key_info",e.SERVICE_STATUS="service_status",e.PROVIDER_UPDATE="provider_update",e.RPC_UPDATE="rpc_update",e.KEYS_EXCHANGED="keys_exchanged",e.JOIN_CHANNEL="join_channel",e.CHANNEL_CREATED="channel_created",e.CLIENTS_CONNECTED="clients_connected",e.CLIENTS_DISCONNECTED="clients_disconnected",e.CLIENTS_WAITING="clients_waiting",e.CLIENTS_READY="clients_ready",e.SOCKET_DISCONNECTED="socket_disconnected",e.SOCKET_RECONNECT="socket_reconnect",e.OTP="otp",e.SDK_RPC_CALL="sdk_rpc_call",e.AUTHORIZED="authorized",e.CONNECTION_STATUS="connection_status",e.MESSAGE="message",e.TERMINATE="terminate"}(e.EventType||(e.EventType={})),function(e){e.KEY_EXCHANGE="key_exchange"}(Uv||(Uv={})),function(e){e.KEY_HANDSHAKE_START="key_handshake_start",e.KEY_HANDSHAKE_CHECK="key_handshake_check",e.KEY_HANDSHAKE_SYN="key_handshake_SYN",e.KEY_HANDSHAKE_SYNACK="key_handshake_SYNACK",e.KEY_HANDSHAKE_ACK="key_handshake_ACK",e.KEY_HANDSHAKE_NONE="none"}(Fv||(Fv={}));class jv extends N.EventEmitter2{constructor({communicationLayer:e,otherPublicKey:t,context:n,ecies:r,logging:i}){super(),this.keysExchanged=!1,this.step=Fv.KEY_HANDSHAKE_NONE,this.debug=!1,this.context=n,this.myECIES=new Rv(Object.assign(Object.assign({},r),{debug:null==i?void 0:i.eciesLayer})),this.communicationLayer=e,this.myPublicKey=this.myECIES.getPublicKey(),this.debug=!0===(null==i?void 0:i.keyExchangeLayer),t&&this.setOtherPublicKey(t),this.communicationLayer.on(Uv.KEY_EXCHANGE,this.onKeyExchangeMessage.bind(this))}onKeyExchangeMessage(t){this.debug&&console.debug(`KeyExchange::${this.context}::onKeyExchangeMessage() keysExchanged=${this.keysExchanged}`,t);const{message:n}=t;this.keysExchanged&&this.debug&&console.log(`KeyExchange::${this.context}::onKeyExchangeMessage received handshake while already exchanged. step=${this.step} otherPubKey=${this.otherPublicKey}`),this.emit(e.EventType.KEY_INFO,n.type),n.type===Fv.KEY_HANDSHAKE_SYN?(this.checkStep([Fv.KEY_HANDSHAKE_NONE,Fv.KEY_HANDSHAKE_ACK]),this.debug&&console.debug("KeyExchange::KEY_HANDSHAKE_SYN",n),n.pubkey&&this.setOtherPublicKey(n.pubkey),this.communicationLayer.sendMessage({type:Fv.KEY_HANDSHAKE_SYNACK,pubkey:this.myPublicKey}),this.setStep(Fv.KEY_HANDSHAKE_ACK)):n.type===Fv.KEY_HANDSHAKE_SYNACK?(this.checkStep([Fv.KEY_HANDSHAKE_SYNACK,Fv.KEY_HANDSHAKE_ACK,Fv.KEY_HANDSHAKE_NONE]),this.debug&&console.debug("KeyExchange::KEY_HANDSHAKE_SYNACK"),n.pubkey&&this.setOtherPublicKey(n.pubkey),this.communicationLayer.sendMessage({type:Fv.KEY_HANDSHAKE_ACK}),this.keysExchanged=!0,this.setStep(Fv.KEY_HANDSHAKE_ACK),this.emit(e.EventType.KEYS_EXCHANGED)):n.type===Fv.KEY_HANDSHAKE_ACK&&(this.debug&&console.debug("KeyExchange::KEY_HANDSHAKE_ACK set keysExchanged to true!"),this.checkStep([Fv.KEY_HANDSHAKE_ACK,Fv.KEY_HANDSHAKE_NONE]),this.keysExchanged=!0,this.setStep(Fv.KEY_HANDSHAKE_ACK),this.emit(e.EventType.KEYS_EXCHANGED))}resetKeys(e){this.clean(),this.myECIES=new Rv(e)}clean(){this.debug&&console.debug(`KeyExchange::${this.context}::clean reset handshake state`),this.setStep(Fv.KEY_HANDSHAKE_NONE),this.emit(e.EventType.KEY_INFO,this.step),this.keysExchanged=!1}start({isOriginator:e,force:t}){this.debug&&console.debug(`KeyExchange::${this.context}::start isOriginator=${e} step=${this.step} force=${t} keysExchanged=${this.keysExchanged}`),e?!(this.keysExchanged||this.step!==Fv.KEY_HANDSHAKE_NONE&&this.step!==Fv.KEY_HANDSHAKE_SYNACK)||t?(this.debug&&console.debug(`KeyExchange::${this.context}::start -- start key exchange (force=${t}) -- step=${this.step}`,this.step),this.clean(),this.setStep(Fv.KEY_HANDSHAKE_SYNACK),this.communicationLayer.sendMessage({type:Fv.KEY_HANDSHAKE_SYN,pubkey:this.myPublicKey})):this.debug&&console.debug(`KeyExchange::${this.context}::start -- key exchange already ${this.keysExchanged?"done":"in progress"} -- aborted.`,this.step):this.keysExchanged&&!0!==t?this.debug&&console.debug("KeyExchange::start don't send KEY_HANDSHAKE_START -- exchange already done."):(this.communicationLayer.sendMessage({type:Fv.KEY_HANDSHAKE_START}),this.clean())}setStep(t){this.step=t,this.emit(e.EventType.KEY_INFO,t)}checkStep(e){e.length>0&&-1===e.indexOf(this.step.toString())&&console.warn(`[KeyExchange] Wrong Step "${this.step}" not within ${e}`)}setKeysExchanged(e){this.keysExchanged=e}areKeysExchanged(){return this.keysExchanged}getMyPublicKey(){return this.myPublicKey}getOtherPublicKey(){return this.otherPublicKey}setOtherPublicKey(e){this.debug&&console.debug("KeyExchange::setOtherPubKey()",e),this.otherPublicKey=e}encryptMessage(e){if(!this.otherPublicKey)throw new Error("encryptMessage: Keys not exchanged - missing otherPubKey");return this.myECIES.encrypt(e,this.otherPublicKey)}decryptMessage(e){if(!this.otherPublicKey)throw new Error("decryptMessage: Keys not exchanged - missing otherPubKey");return this.myECIES.decrypt(e)}getKeyInfo(){return{ecies:Object.assign(Object.assign({},this.myECIES.getKeyInfo()),{otherPubKey:this.otherPublicKey}),step:this.step,keysExchanged:this.areKeysExchanged()}}toString(){const e={keyInfo:this.getKeyInfo(),keysExchanged:this.keysExchanged,step:this.step};return JSON.stringify(e)}}!function(e){e.TERMINATE="terminate",e.ANSWER="answer",e.OFFER="offer",e.CANDIDATE="candidate",e.JSONRPC="jsonrpc",e.WALLET_INFO="wallet_info",e.ORIGINATOR_INFO="originator_info",e.PAUSE="pause",e.OTP="otp",e.AUTHORIZED="authorized",e.PING="ping",e.READY="ready"}(e.MessageType||(e.MessageType={}));const qv=e=>new Promise((t=>{setTimeout(t,e)})),Gv=(e,t,n=200)=>ln(void 0,void 0,void 0,(function*(){let r;const i=Date.now();let o=!1;for(;!o;){if(o=Date.now()-i>3e5,r=t[e],void 0!==r.elapsedTime)return r;yield qv(n)}throw new Error(`RPC ${e} timed out`)})),Hv=t=>ln(void 0,void 0,void 0,(function*(){var n,r,i,o,a;return t.state.debug&&console.debug(`SocketService::connectAgain instance.state.socket?.connected=${null===(n=t.state.socket)||void 0===n?void 0:n.connected} trying to reconnect after socketio disconnection`,t),yield qv(200),(null===(r=t.state.socket)||void 0===r?void 0:r.connected)||(t.state.resumed=!0,null===(i=t.state.socket)||void 0===i||i.connect(),t.emit(e.EventType.SOCKET_RECONNECT),null===(o=t.state.socket)||void 0===o||o.emit(e.EventType.JOIN_CHANNEL,t.state.channelId,`${t.state.context}connect_again`)),yield qv(100),null===(a=t.state.socket)||void 0===a?void 0:a.connected})),Yv=[{event:"clients_connected",handler:function(t,n){return r=>ln(this,void 0,void 0,(function*(){var r,i,o,a,s,u,c,l;t.state.debug&&console.debug(`SocketService::${t.state.context}::setupChannelListener::on 'clients_connected-${n}' resumed=${t.state.resumed} clientsPaused=${t.state.clientsPaused} keysExchanged=${null===(r=t.state.keyExchange)||void 0===r?void 0:r.areKeysExchanged()} isOriginator=${t.state.isOriginator}`),t.emit(e.EventType.CLIENTS_CONNECTED,{isOriginator:t.state.isOriginator,keysExchanged:null===(i=t.state.keyExchange)||void 0===i?void 0:i.areKeysExchanged(),context:t.state.context}),t.state.resumed?(t.state.isOriginator||(t.state.debug&&console.debug(`SocketService::${t.state.context}::on 'clients_connected' / keysExchanged=${null===(o=t.state.keyExchange)||void 0===o?void 0:o.areKeysExchanged()} -- backward compatibility`),null===(a=t.state.keyExchange)||void 0===a||a.start({isOriginator:null!==(s=t.state.isOriginator)&&void 0!==s&&s})),t.state.resumed=!1):t.state.clientsPaused?console.debug("SocketService::on 'clients_connected' skip sending originatorInfo on pause"):t.state.isOriginator||(t.state.debug&&console.debug(`SocketService::${t.state.context}::on 'clients_connected' / keysExchanged=${null===(u=t.state.keyExchange)||void 0===u?void 0:u.areKeysExchanged()} -- backward compatibility`),null===(c=t.state.keyExchange)||void 0===c||c.start({isOriginator:null!==(l=t.state.isOriginator)&&void 0!==l&&l,force:!0})),t.state.clientsConnected=!0,t.state.clientsPaused=!1}))}},{event:"channel_created",handler:function(t,n){return r=>{t.state.debug&&console.debug(`SocketService::${t.state.context}::setupChannelListener::on 'channel_created-${n}'`,r),t.emit(e.EventType.CHANNEL_CREATED,r)}}},{event:"clients_disconnected",handler:function(t,n){return()=>{var r;t.state.clientsConnected=!1,t.state.debug&&console.debug(`SocketService::${t.state.context}::setupChannelListener::on 'clients_disconnected-${n}'`),t.state.isOriginator&&!t.state.clientsPaused&&(null===(r=t.state.keyExchange)||void 0===r||r.clean()),t.emit(e.EventType.CLIENTS_DISCONNECTED,n)}}},{event:"message",handler:function(t,n){return({id:r,message:i,error:o})=>{var a,s,u,c,l,f,d,A,h,p,g,y,m,b,v;if(t.state.debug&&console.debug(`SocketService::${t.state.context}::on 'message' ${n} keysExchanged=${null===(a=t.state.keyExchange)||void 0===a?void 0:a.areKeysExchanged()}`,i),o)throw t.state.debug&&console.debug(`\n SocketService::${t.state.context}::on 'message' error=${o}`),new Error(o);try{!function(e,t){if(t!==e.channelId)throw e.debug&&console.error(`Wrong id ${t} - should be ${e.channelId}`),new Error("Wrong id")}(t.state,r)}catch(e){return void console.error("ignore message --- wrong id ",i)}if(t.state.isOriginator&&(null==i?void 0:i.type)===Fv.KEY_HANDSHAKE_START)return t.state.debug&&console.debug(`SocketService::${t.state.context}::on 'message' received HANDSHAKE_START isOriginator=${t.state.isOriginator}`,i),void(null===(s=t.state.keyExchange)||void 0===s||s.start({isOriginator:null!==(u=t.state.isOriginator)&&void 0!==u&&u,force:!0}));if((null==i?void 0:i.type)===e.MessageType.PING)return t.state.debug&&console.debug(`SocketService::${t.state.context}::on 'message' ping `),void t.emit(e.EventType.MESSAGE,{message:{type:"ping"}});if(t.state.debug&&console.debug(`SocketService::${t.state.context}::on 'message' originator=${t.state.isOriginator}, type=${null==i?void 0:i.type}, keysExchanged=${null===(c=t.state.keyExchange)||void 0===c?void 0:c.areKeysExchanged()}`),null===(l=null==i?void 0:i.type)||void 0===l?void 0:l.startsWith("key_handshake"))return t.state.debug&&console.debug(`SocketService::${t.state.context}::on 'message' emit KEY_EXCHANGE`,i),void t.emit(Uv.KEY_EXCHANGE,{message:i,context:t.state.context});if(null===(f=t.state.keyExchange)||void 0===f?void 0:f.areKeysExchanged()){if(-1!==i.toString().indexOf("type"))return console.warn("SocketService::on 'message' received non encrypted unkwown message"),void t.emit(e.EventType.MESSAGE,i)}else{let e=!1;try{null===(d=t.state.keyExchange)||void 0===d||d.decryptMessage(i),e=!0}catch(e){}if(!e)return t.state.isOriginator?null===(h=t.state.keyExchange)||void 0===h||h.start({isOriginator:null!==(p=t.state.isOriginator)&&void 0!==p&&p}):t.sendMessage({type:Fv.KEY_HANDSHAKE_START}),void console.warn(`Message ignored because invalid key exchange status. step=${null===(g=t.state.keyExchange)||void 0===g?void 0:g.getKeyInfo().step}`,null===(y=t.state.keyExchange)||void 0===y?void 0:y.getKeyInfo(),i);console.warn("Invalid key exchange status detected --- updating it."),null===(A=t.state.keyExchange)||void 0===A||A.setKeysExchanged(!0)}const w=null===(m=t.state.keyExchange)||void 0===m?void 0:m.decryptMessage(i),E=JSON.parse(null!=w?w:"{}");if((null==E?void 0:E.type)===e.MessageType.PAUSE?t.state.clientsPaused=!0:t.state.clientsPaused=!1,t.state.isOriginator&&E.data){const n=E.data,r=t.state.rpcMethodTracker[n.id];if(r){const i=Date.now()-r.timestamp;t.state.debug&&console.debug(`SocketService::${t.state.context}::on 'message' received answer for id=${n.id} method=${r.method} responseTime=${i}`,E);const o=Object.assign(Object.assign({},r),{result:n.result,error:n.error?{code:null===(b=n.error)||void 0===b?void 0:b.code,message:null===(v=n.error)||void 0===v?void 0:v.message}:void 0,elapsedTime:i});t.state.rpcMethodTracker[n.id]=o,t.emit(e.EventType.RPC_UPDATE,o),t.state.debug&&console.debug("HACK (wallet <7.3) update rpcMethodTracker",o),t.emit(e.EventType.AUTHORIZED)}}t.emit(e.EventType.MESSAGE,{message:E})}}},{event:"clients_waiting_to_join",handler:function(t,n){return r=>{t.state.debug&&console.debug(`SocketService::${t.state.context}::setupChannelListener::on 'clients_waiting_to_join-${n}'`,r),t.emit(e.EventType.CLIENTS_WAITING,r)}}}],Kv=[{event:e.EventType.KEY_INFO,handler:function(t){return n=>{t.state.debug&&console.debug("SocketService::on 'KEY_INFO'",n),t.emit(e.EventType.KEY_INFO,n)}}},{event:e.EventType.KEYS_EXCHANGED,handler:function(t){return()=>{var n,r;t.state.debug&&console.debug(`SocketService::on 'keys_exchanged' keyschanged=${null===(n=t.state.keyExchange)||void 0===n?void 0:n.areKeysExchanged()}`),t.emit(e.EventType.KEYS_EXCHANGED,{keysExchanged:null===(r=t.state.keyExchange)||void 0===r?void 0:r.areKeysExchanged(),isOriginator:t.state.isOriginator});const i={keyInfo:t.getKeyInfo()};t.emit(e.EventType.SERVICE_STATUS,i)}}}];function zv(t,n){t.state.debug&&console.debug(`SocketService::${t.state.context}::setupChannelListener setting socket listeners for channel ${n}...`);const{socket:r}=t.state,{keyExchange:i}=t.state;t.state.setupChannelListeners&&console.warn(`SocketService::${t.state.context}::setupChannelListener socket listeners already set up for channel ${n}`),r&&t.state.isOriginator&&(t.state.debug&&(null==r||r.io.on("error",(e=>{console.debug(`SocketService::${t.state.context}::setupChannelListener socket event=error`,e)})),null==r||r.io.on("reconnect",(e=>{console.debug(`SocketService::${t.state.context}::setupChannelListener socket event=reconnect`,e)})),null==r||r.io.on("reconnect_error",(e=>{console.debug(`SocketService::${t.state.context}::setupChannelListener socket event=reconnect_error`,e)})),null==r||r.io.on("reconnect_failed",(()=>{console.debug(`SocketService::${t.state.context}::setupChannelListener socket event=reconnect_failed`)})),null==r||r.io.on("ping",(()=>{console.debug(`SocketService::${t.state.context}::setupChannelListener socket event=ping`)}))),null==r||r.on("disconnect",(n=>(console.log(`MetaMaskSDK socket disconnected '${n}' begin recovery...`),function(t){return n=>{t.state.debug&&console.debug(`SocketService::on 'disconnect' manualDisconnect=${t.state.manualDisconnect}`,n),t.state.manualDisconnect||(t.emit(e.EventType.SOCKET_DISCONNECTED),function(e){"undefined"!=typeof window&&"undefined"!=typeof document&&(e.state.debug&&console.debug(`SocketService::checkFocus hasFocus=${document.hasFocus()}`,e),document.hasFocus()?Hv(e).then((t=>{e.state.debug&&console.debug(`SocketService::checkFocus reconnectSocket success=${t}`,e)})).catch((e=>{console.error("SocketService::checkFocus Error reconnecting socket",e)})):window.addEventListener("focus",(()=>{Hv(e).catch((e=>{console.error("SocketService::checkFocus Error reconnecting socket",e)}))}),{once:!0}))}(t))}}(t)(n))))),Yv.forEach((({event:e,handler:i})=>{const o=`${e}-${n}`;null==r||r.on(o,i(t,n))})),Kv.forEach((({event:e,handler:n})=>{null==i||i.on(e,n(t))})),t.state.setupChannelListeners=!0}var Vv,Jv,Wv;function $v(t,n){var r,i;if(!t.state.channelId)throw new Error("Create a channel first");t.state.debug&&console.debug(`SocketService::${t.state.context}::sendMessage() areKeysExchanged=${null===(r=t.state.keyExchange)||void 0===r?void 0:r.areKeysExchanged()}`,n),(null===(i=null==n?void 0:n.type)||void 0===i?void 0:i.startsWith("key_handshake"))?function(t,n){var r;t.state.debug&&console.debug(`SocketService::${t.state.context}::sendMessage()`,n),null===(r=t.state.socket)||void 0===r||r.emit(e.EventType.MESSAGE,{id:t.state.channelId,context:t.state.context,message:n})}(t,n):(function(e,t){var n;if(!(null===(n=e.state.keyExchange)||void 0===n?void 0:n.areKeysExchanged()))throw e.state.debug&&console.debug(`SocketService::${e.state.context}::sendMessage() ERROR keys not exchanged`,t),new Error("Keys not exchanged BBB")}(t,n),function(t,n){var r;const i=null!==(r=null==n?void 0:n.method)&&void 0!==r?r:"",o=null==n?void 0:n.id;t.state.isOriginator&&o&&(t.state.rpcMethodTracker[o]={id:o,timestamp:Date.now(),method:i},t.emit(e.EventType.RPC_UPDATE,t.state.rpcMethodTracker[o]))}(t,n),function(t,n){var r,i;const o=null===(r=t.state.keyExchange)||void 0===r?void 0:r.encryptMessage(JSON.stringify(n)),a={id:t.state.channelId,context:t.state.context,message:o,plaintext:t.state.hasPlaintext?JSON.stringify(n):void 0};t.state.debug&&console.debug(`SocketService::${t.state.context}::sendMessage()`,a),n.type===e.MessageType.TERMINATE&&(t.state.manualDisconnect=!0),null===(i=t.state.socket)||void 0===i||i.emit(e.EventType.MESSAGE,a)}(t,n),function(t,n){var r;return ln(this,void 0,void 0,(function*(){const i=null==n?void 0:n.id,o=null!==(r=null==n?void 0:n.method)&&void 0!==r?r:"";if(t.state.isOriginator&&i)try{const r=Gv(i,t.state.rpcMethodTracker,200).then((e=>({type:Vv.RPC_CHECK,result:e}))),a=(()=>ln(this,void 0,void 0,(function*(){const e=yield(({rpcId:e,instance:t})=>ln(void 0,void 0,void 0,(function*(){for(;t.state.lastRpcId===e||void 0===t.state.lastRpcId;)yield qv(200);return t.state.lastRpcId})))({instance:t,rpcId:i}),n=yield Gv(e,t.state.rpcMethodTracker,200);return{type:Vv.SKIPPED_RPC,result:n}})))(),s=yield Promise.race([r,a]);if(s.type===Vv.RPC_CHECK){const e=s.result;t.state.debug&&console.debug(`SocketService::waitForRpc id=${n.id} ${o} ( ${e.elapsedTime} ms)`,e.result)}else{if(s.type!==Vv.SKIPPED_RPC)throw new Error(`Error handling RPC replies for ${i}`);{const{result:n}=s;console.warn(`[handleRpcReplies] RPC METHOD HAS BEEN SKIPPED rpcid=${i} method=${o}`,n);const r=Object.assign(Object.assign({},t.state.rpcMethodTracker[i]),{error:new Error("SDK_CONNECTION_ISSUE")});t.emit(e.EventType.RPC_UPDATE,r);const a={data:Object.assign(Object.assign({},r),{jsonrpc:"2.0"}),name:"metamask-provider"};t.emit(e.EventType.MESSAGE,{message:a})}}}catch(e){throw console.warn(`[handleRpcReplies] Error rpcId=${n.id} ${o}`,e),e}}))}(t,n).catch((e=>{console.warn("Error handleRpcReplies",e)})))}e.CommunicationLayerPreference=void 0,e.PlatformType=void 0,function(e){e.RPC_CHECK="rpcCheck",e.SKIPPED_RPC="skippedRpc"}(Vv||(Vv={}));class Zv extends N.EventEmitter2{constructor({otherPublicKey:e,reconnect:t,communicationLayerPreference:n,transports:r,communicationServerUrl:i,context:o,ecies:a,logging:s}){super(),this.state={clientsConnected:!1,clientsPaused:!1,manualDisconnect:!1,lastRpcId:void 0,rpcMethodTracker:{},hasPlaintext:!1,communicationServerUrl:""},this.state.resumed=t,this.state.context=o,this.state.communicationLayerPreference=n,this.state.debug=!0===(null==s?void 0:s.serviceLayer),this.state.communicationServerUrl=i,this.state.hasPlaintext=this.state.communicationServerUrl!==Tv&&!0===(null==s?void 0:s.plaintext);const u={autoConnect:!1,transports:Nv,withCredentials:!0};r&&(u.transports=r),this.state.debug&&console.debug(`SocketService::constructor() Socket IO url: ${this.state.communicationServerUrl}`),this.state.socket=cn(i,u);const c={communicationLayer:this,otherPublicKey:e,sendPublicKey:!1,context:this.state.context,ecies:a,logging:s};this.state.keyExchange=new jv(c)}resetKeys(){return this.state.debug&&console.debug("SocketService::resetKeys()"),void(null===(e=this.state.keyExchange)||void 0===e||e.resetKeys());var e}createChannel(){return function(t){var n,r,i,o;t.state.debug&&console.debug(`SocketService::${t.state.context}::createChannel()`),(null===(n=t.state.socket)||void 0===n?void 0:n.connected)||null===(r=t.state.socket)||void 0===r||r.connect(),t.state.manualDisconnect=!1,t.state.isOriginator=!0;const a=q();return t.state.channelId=a,zv(t,a),null===(i=t.state.socket)||void 0===i||i.emit(e.EventType.JOIN_CHANNEL,a,`${t.state.context}createChannel`),{channelId:a,pubKey:(null===(o=t.state.keyExchange)||void 0===o?void 0:o.getMyPublicKey())||""}}(this)}connectToChannel({channelId:t,isOriginator:n=!1,withKeyExchange:r=!1}){return function({options:t,instance:n}){var r,i,o,a;const{channelId:s,withKeyExchange:u,isOriginator:c}=t;if(n.state.debug&&console.debug(`SocketService::${n.state.context}::connectToChannel() channelId=${s} isOriginator=${c}`,null===(r=n.state.keyExchange)||void 0===r?void 0:r.toString()),null===(i=n.state.socket)||void 0===i?void 0:i.connected)throw new Error("socket already connected");n.state.manualDisconnect=!1,null===(o=n.state.socket)||void 0===o||o.connect(),n.state.withKeyExchange=u,n.state.isOriginator=c,n.state.channelId=s,zv(n,s),null===(a=n.state.socket)||void 0===a||a.emit(e.EventType.JOIN_CHANNEL,s,`${n.state.context}_connectToChannel`)}({options:{channelId:t,isOriginator:n,withKeyExchange:r},instance:this})}getKeyInfo(){return this.state.keyExchange.getKeyInfo()}keyCheck(){var t,n;null===(n=(t=this).state.socket)||void 0===n||n.emit(e.EventType.MESSAGE,{id:t.state.channelId,context:t.state.context,message:{type:Fv.KEY_HANDSHAKE_CHECK,pubkey:t.getKeyInfo().ecies.otherPubKey}})}getKeyExchange(){return this.state.keyExchange}sendMessage(e){return $v(this,e)}ping(){return(t=this).state.debug&&console.debug(`SocketService::${t.state.context}::ping() originator=${t.state.isOriginator} keysExchanged=${null===(n=t.state.keyExchange)||void 0===n?void 0:n.areKeysExchanged()}`),t.state.isOriginator&&((null===(r=t.state.keyExchange)||void 0===r?void 0:r.areKeysExchanged())?(console.warn(`SocketService::${t.state.context}::ping() sending READY message`),t.sendMessage({type:e.MessageType.READY})):(console.warn(`SocketService::${t.state.context}::ping() starting key exchange`),null===(i=t.state.keyExchange)||void 0===i||i.start({isOriginator:null!==(o=t.state.isOriginator)&&void 0!==o&&o}))),void(null===(a=t.state.socket)||void 0===a||a.emit(e.EventType.MESSAGE,{id:t.state.channelId,context:t.state.context,message:{type:e.MessageType.PING}}));var t,n,r,i,o,a}pause(){return(t=this).state.debug&&console.debug(`SocketService::${t.state.context}::pause()`),t.state.manualDisconnect=!0,(null===(n=t.state.keyExchange)||void 0===n?void 0:n.areKeysExchanged())&&t.sendMessage({type:e.MessageType.PAUSE}),void(null===(r=t.state.socket)||void 0===r||r.disconnect());var t,n,r}isConnected(){var e;return null===(e=this.state.socket)||void 0===e?void 0:e.connected}resume(){return(t=this).state.debug&&console.debug(`SocketService::${t.state.context}::resume() connected=${null===(n=t.state.socket)||void 0===n?void 0:n.connected} manualDisconnect=${t.state.manualDisconnect} resumed=${t.state.resumed} keysExchanged=${null===(r=t.state.keyExchange)||void 0===r?void 0:r.areKeysExchanged()}`),(null===(i=t.state.socket)||void 0===i?void 0:i.connected)?t.state.debug&&console.debug("SocketService::resume() already connected."):(null===(o=t.state.socket)||void 0===o||o.connect(),t.state.debug&&console.debug(`SocketService::resume() after connecting socket --\x3e connected=${null===(a=t.state.socket)||void 0===a?void 0:a.connected}`),null===(s=t.state.socket)||void 0===s||s.emit(e.EventType.JOIN_CHANNEL,t.state.channelId,`${t.state.context}_resume`)),(null===(u=t.state.keyExchange)||void 0===u?void 0:u.areKeysExchanged())?t.state.isOriginator||t.sendMessage({type:e.MessageType.READY}):t.state.isOriginator||null===(c=t.state.keyExchange)||void 0===c||c.start({isOriginator:null!==(l=t.state.isOriginator)&&void 0!==l&&l}),t.state.manualDisconnect=!1,void(t.state.resumed=!0);var t,n,r,i,o,a,s,u,c,l}getRPCMethodTracker(){return this.state.rpcMethodTracker}disconnect(e){return function(e,t){var n,r;e.state.debug&&console.debug(`SocketService::${e.state.context}::disconnect()`,t),(null==t?void 0:t.terminate)&&(e.state.channelId=t.channelId,null===(n=e.state.keyExchange)||void 0===n||n.clean()),e.state.rpcMethodTracker={},e.state.manualDisconnect=!0,null===(r=e.state.socket)||void 0===r||r.disconnect()}(this,e)}}function Xv(t){return()=>ln(this,void 0,void 0,(function*(){var n,r,i;const{state:o}=t;if(o.authorized)return;yield(()=>ln(this,void 0,void 0,(function*(){for(;!o.walletInfo;)yield qv(500)})))();const a="7.3".localeCompare((null===(n=o.walletInfo)||void 0===n?void 0:n.version)||"");if(o.debug&&console.debug(`RemoteCommunication HACK 'authorized' version=${null===(r=o.walletInfo)||void 0===r?void 0:r.version} compareValue=${a}`),1!==a)return;const s=o.platformType===e.PlatformType.MobileWeb||o.platformType===e.PlatformType.ReactNative||o.platformType===e.PlatformType.MetaMaskMobileWebview;o.debug&&console.debug(`RemoteCommunication HACK 'authorized' platform=${o.platformType} secure=${s} channel=${o.channelId} walletVersion=${null===(i=o.walletInfo)||void 0===i?void 0:i.version}`),s&&(o.authorized=!0,t.emit(e.EventType.AUTHORIZED))}))}function ew(t){return n=>{const{state:r}=t;r.debug&&console.debug(`RemoteCommunication::${r.context}::on 'channel_created' channelId=${n}`),t.emit(e.EventType.CHANNEL_CREATED,n)}}function tw(t,n){return()=>{var r,i,o,a;const{state:s}=t;if(s.debug&&console.debug(`RemoteCommunication::on 'clients_connected' channel=${s.channelId} keysExchanged=${null===(i=null===(r=s.communicationLayer)||void 0===r?void 0:r.getKeyInfo())||void 0===i?void 0:i.keysExchanged}`),s.analytics){const e=s.isOriginator?Jv.REQUEST:Jv.REQUEST_MOBILE;fn(Object.assign(Object.assign({id:null!==(o=s.channelId)&&void 0!==o?o:"",event:s.reconnection?Jv.RECONNECT:e},s.originatorInfo),{commLayer:n,sdkVersion:s.sdkVersion,walletVersion:null===(a=s.walletInfo)||void 0===a?void 0:a.version,commLayerVersion:Dv}),s.communicationServerUrl).catch((e=>{console.error("Cannot send analytics",e)}))}s.clientsConnected=!0,s.originatorInfoSent=!1,t.emit(e.EventType.CLIENTS_CONNECTED)}}function nw(t,n){return r=>{var i;const{state:o}=t;o.debug&&console.debug(`RemoteCommunication::${o.context}]::on 'clients_disconnected' channelId=${r}`),o.clientsConnected=!1,t.emit(e.EventType.CLIENTS_DISCONNECTED,o.channelId),t.setConnectionStatus(e.ConnectionStatus.DISCONNECTED),o.ready=!1,o.authorized=!1,o.analytics&&o.channelId&&fn({id:o.channelId,event:Jv.DISCONNECTED,sdkVersion:o.sdkVersion,commLayer:n,commLayerVersion:Dv,walletVersion:null===(i=o.walletInfo)||void 0===i?void 0:i.version},o.communicationServerUrl).catch((e=>{console.error("Cannot send analytics",e)}))}}function rw(t){return n=>{var r;const{state:i}=t;if(i.debug&&console.debug(`RemoteCommunication::${i.context}::on 'clients_waiting' numberUsers=${n} ready=${i.ready} autoStarted=${i.originatorConnectStarted}`),t.setConnectionStatus(e.ConnectionStatus.WAITING),t.emit(e.EventType.CLIENTS_WAITING,n),i.originatorConnectStarted){i.debug&&console.debug(`RemoteCommunication::on 'clients_waiting' watch autoStarted=${i.originatorConnectStarted} timeout`,i.autoConnectOptions);const n=(null===(r=i.autoConnectOptions)||void 0===r?void 0:r.timeout)||3e3,o=setTimeout((()=>{i.debug&&console.debug(`RemoteCommunication::on setTimeout(${n}) terminate channelConfig`,i.autoConnectOptions),i.originatorConnectStarted=!1,i.ready||t.setConnectionStatus(e.ConnectionStatus.TIMEOUT),clearTimeout(o)}),n)}}}function iw(t,n){return r=>{var i,o,a,s,u;const{state:c}=t;c.debug&&console.debug(`RemoteCommunication::${c.context}::on commLayer.'keys_exchanged' channel=${c.channelId}`,r),(null===(o=null===(i=c.communicationLayer)||void 0===i?void 0:i.getKeyInfo())||void 0===o?void 0:o.keysExchanged)&&t.setConnectionStatus(e.ConnectionStatus.LINKED),function(e,t){var n,r,i,o;const{state:a}=e;a.debug&&console.debug(`RemoteCommunication::setLastActiveDate() channel=${a.channelId}`,t);const s={channelId:null!==(n=a.channelId)&&void 0!==n?n:"",validUntil:null!==(i=null===(r=a.channelConfig)||void 0===r?void 0:r.validUntil)&&void 0!==i?i:0,lastActive:t.getTime()};null===(o=a.storageManager)||void 0===o||o.persistChannelConfig(s)}(t,new Date),c.analytics&&c.channelId&&fn({id:c.channelId,event:r.isOriginator?Jv.CONNECTED:Jv.CONNECTED_MOBILE,sdkVersion:c.sdkVersion,commLayer:n,commLayerVersion:Dv,walletVersion:null===(a=c.walletInfo)||void 0===a?void 0:a.version},c.communicationServerUrl).catch((e=>{console.error("Cannot send analytics",e)})),c.isOriginator=r.isOriginator,r.isOriginator||(null===(s=c.communicationLayer)||void 0===s||s.sendMessage({type:e.MessageType.READY}),c.ready=!0,c.paused=!1),r.isOriginator&&!c.originatorInfoSent&&(null===(u=c.communicationLayer)||void 0===u||u.sendMessage({type:e.MessageType.ORIGINATOR_INFO,originatorInfo:c.originatorInfo,originator:c.originatorInfo}),c.originatorInfoSent=!0)}}function ow(t){return n=>{let r=n;n.message&&(r=r.message),function(t,n){const{state:r}=n;if(r.debug&&console.debug(`RemoteCommunication::${r.context}::on 'message' typeof=${typeof t}`,t),n.state.ready=!0,r.isOriginator||t.type!==e.MessageType.ORIGINATOR_INFO)if(r.isOriginator&&t.type===e.MessageType.WALLET_INFO)!function(e,t){const{state:n}=e;n.walletInfo=t.walletInfo,n.paused=!1}(n,t);else{if(t.type===e.MessageType.TERMINATE)!function(t){const{state:n}=t;n.isOriginator&&(uw({options:{terminate:!0,sendMessage:!1},instance:t}),console.debug(),t.emit(e.EventType.TERMINATE))}(n);else if(t.type===e.MessageType.PAUSE)!function(t){const{state:n}=t;n.paused=!0,t.setConnectionStatus(e.ConnectionStatus.PAUSED)}(n);else if(t.type===e.MessageType.READY&&r.isOriginator)!function(t){const{state:n}=t;t.setConnectionStatus(e.ConnectionStatus.LINKED);const r=n.paused;n.paused=!1,t.emit(e.EventType.CLIENTS_READY,{isOriginator:n.isOriginator,walletInfo:n.walletInfo}),r&&(n.authorized=!0,t.emit(e.EventType.AUTHORIZED))}(n);else{if(t.type===e.MessageType.OTP&&r.isOriginator)return void function(t,n){var r;const{state:i}=t;t.emit(e.EventType.OTP,n.otpAnswer),1==="6.6".localeCompare((null===(r=i.walletInfo)||void 0===r?void 0:r.version)||"")&&(console.warn("RemoteCommunication::on 'otp' -- backward compatibility <6.6 -- triger eth_requestAccounts"),t.emit(e.EventType.SDK_RPC_CALL,{method:Lv,params:[]}))}(n,t);t.type===e.MessageType.AUTHORIZED&&r.isOriginator&&function(t){const{state:n}=t;n.authorized=!0,t.emit(e.EventType.AUTHORIZED)}(n)}n.emit(e.EventType.MESSAGE,t)}else!function(t,n){var r;const{state:i}=t;null===(r=i.communicationLayer)||void 0===r||r.sendMessage({type:e.MessageType.WALLET_INFO,walletInfo:i.walletInfo}),i.originatorInfo=n.originatorInfo||n.originator,t.emit(e.EventType.CLIENTS_READY,{isOriginator:i.isOriginator,originatorInfo:i.originatorInfo}),i.paused=!1}(n,t)}(r,t)}}function aw(e){return()=>{const{state:t}=e;t.debug&&console.debug("RemoteCommunication::on 'socket_reconnect' -- reset key exchange status / set ready to false"),t.ready=!1,t.authorized=!1,Pv(t),e.emitServiceStatusEvent()}}function sw(e){return()=>{const{state:t}=e;t.debug&&console.debug("RemoteCommunication::on 'socket_Disconnected' set ready to false"),t.ready=!1}}function uw({options:t,instance:n}){var r,i,o,a,s,u;const{state:c}=n;c.debug&&console.debug(`RemoteCommunication::disconnect() channel=${c.channelId}`,t),c.ready=!1,c.paused=!1,(null==t?void 0:t.terminate)?(null===(r=c.storageManager)||void 0===r||r.terminate(null!==(i=c.channelId)&&void 0!==i?i:""),(null===(o=c.communicationLayer)||void 0===o?void 0:o.getKeyInfo().keysExchanged)&&(null==t?void 0:t.sendMessage)&&(null===(a=c.communicationLayer)||void 0===a||a.sendMessage({type:e.MessageType.TERMINATE})),c.channelId=q(),t.channelId=c.channelId,c.channelConfig=void 0,c.originatorConnectStarted=!1,null===(s=c.communicationLayer)||void 0===s||s.disconnect(t),n.setConnectionStatus(e.ConnectionStatus.TERMINATED)):(null===(u=c.communicationLayer)||void 0===u||u.disconnect(t),n.setConnectionStatus(e.ConnectionStatus.DISCONNECTED))}!function(e){e.SOCKET="socket"}(e.CommunicationLayerPreference||(e.CommunicationLayerPreference={})),function(e){e.NonBrowser="nodejs",e.MetaMaskMobileWebview="in-app-browser",e.DesktopWeb="web-desktop",e.MobileWeb="web-mobile",e.ReactNative="react-native"}(e.PlatformType||(e.PlatformType={})),function(e){e.REQUEST="sdk_connect_request_started",e.REQUEST_MOBILE="sdk_connect_request_started_mobile",e.RECONNECT="sdk_reconnect_request_started",e.CONNECTED="sdk_connection_established",e.CONNECTED_MOBILE="sdk_connection_established_mobile",e.AUTHORIZED="sdk_connection_authorized",e.REJECTED="sdk_connection_rejected",e.TERMINATED="sdk_connection_terminated",e.DISCONNECTED="sdk_disconnected",e.SDK_USE_EXTENSION="sdk_use_extension",e.SDK_EXTENSION_UTILIZED="sdk_extension_utilized",e.SDK_USE_INAPP_BROWSER="sdk_use_inapp_browser"}(Jv||(Jv={}));class cw extends N.EventEmitter2{constructor({platformType:t,communicationLayerPreference:n,otherPublicKey:r,reconnect:i,walletInfo:o,dappMetadata:a,transports:s,context:u,ecies:c,analytics:l=!1,storage:f,sdkVersion:d,communicationServerUrl:A=Tv,logging:h,autoConnect:p={timeout:3e3}}){super(),this.state={ready:!1,authorized:!1,isOriginator:!1,paused:!1,platformType:"metamask-mobile",analytics:!1,reconnection:!1,originatorInfoSent:!1,communicationServerUrl:Tv,context:"",clientsConnected:!1,sessionDuration:Ov,originatorConnectStarted:!1,debug:!1,_connectionStatus:e.ConnectionStatus.DISCONNECTED},this.state.otherPublicKey=r,this.state.dappMetadata=a,this.state.walletInfo=o,this.state.transports=s,this.state.platformType=t,this.state.analytics=l,this.state.isOriginator=!r,this.state.communicationServerUrl=A,this.state.context=u,this.state.sdkVersion=d,this.setMaxListeners(50),this.setConnectionStatus(e.ConnectionStatus.DISCONNECTED),(null==f?void 0:f.duration)&&(this.state.sessionDuration=Ov),this.state.storageOptions=f,this.state.autoConnectOptions=p,this.state.debug=!0===(null==h?void 0:h.remoteLayer),this.state.logging=h,(null==f?void 0:f.storageManager)&&(this.state.storageManager=f.storageManager),this.initCommunicationLayer({communicationLayerPreference:n,otherPublicKey:r,reconnect:i,ecies:c,communicationServerUrl:A}),this.emitServiceStatusEvent()}initCommunicationLayer({communicationLayerPreference:t,otherPublicKey:n,reconnect:r,ecies:i,communicationServerUrl:o=Tv}){return function({communicationLayerPreference:t,otherPublicKey:n,reconnect:r,ecies:i,communicationServerUrl:o=Tv,instance:a}){var s,u,c,l,f;const{state:d}=a;if(t!==e.CommunicationLayerPreference.SOCKET)throw new Error("Invalid communication protocol");d.communicationLayer=new Zv({communicationLayerPreference:t,otherPublicKey:n,reconnect:r,transports:d.transports,communicationServerUrl:o,context:d.context,ecies:i,logging:d.logging});let A="undefined"!=typeof document&&document.URL||"",h="undefined"!=typeof document&&document.title||"";(null===(s=d.dappMetadata)||void 0===s?void 0:s.url)&&(A=d.dappMetadata.url),(null===(u=d.dappMetadata)||void 0===u?void 0:u.name)&&(h=d.dappMetadata.name);const p={url:A,title:h,source:null===(c=d.dappMetadata)||void 0===c?void 0:c.source,icon:(null===(l=d.dappMetadata)||void 0===l?void 0:l.iconUrl)||(null===(f=d.dappMetadata)||void 0===f?void 0:f.base64Icon),platform:d.platformType,apiVersion:Dv};d.originatorInfo=p;const g={[e.EventType.AUTHORIZED]:Xv(a),[e.EventType.MESSAGE]:ow(a),[e.EventType.CLIENTS_CONNECTED]:tw(a,t),[e.EventType.KEYS_EXCHANGED]:iw(a,t),[e.EventType.SOCKET_DISCONNECTED]:sw(a),[e.EventType.SOCKET_RECONNECT]:aw(a),[e.EventType.CLIENTS_DISCONNECTED]:nw(a,t),[e.EventType.KEY_INFO]:()=>{a.emitServiceStatusEvent()},[e.EventType.CHANNEL_CREATED]:ew(a),[e.EventType.CLIENTS_WAITING]:rw(a),[e.EventType.RPC_UPDATE]:t=>{a.emit(e.EventType.RPC_UPDATE,t)}};for(const[e,t]of Object.entries(g))try{d.communicationLayer.on(e,t)}catch(n){console.error(`Error registering handler for ${e}:`,n)}}({communicationLayerPreference:t,otherPublicKey:n,reconnect:r,ecies:i,communicationServerUrl:o,instance:this})}originatorSessionConnect(){return ln(this,void 0,void 0,(function*(){const e=yield function(e){var t,n,r;return ln(this,void 0,void 0,(function*(){const{state:i}=e;if(!i.storageManager)return void(i.debug&&console.debug("RemoteCommunication::connect() no storage manager defined - skip"));const o=yield i.storageManager.getPersistedChannelConfig(null!==(t=i.channelId)&&void 0!==t?t:"");if(i.debug&&console.debug(`RemoteCommunication::connect() autoStarted=${i.originatorConnectStarted} channelConfig`,o),null===(n=i.communicationLayer)||void 0===n?void 0:n.isConnected())return i.debug&&console.debug("RemoteCommunication::connect() socket already connected - skip"),o;if(o){if(o.validUntil>Date.now())return i.channelConfig=o,i.originatorConnectStarted=!0,i.channelId=null==o?void 0:o.channelId,i.reconnection=!0,null===(r=i.communicationLayer)||void 0===r||r.connectToChannel({channelId:o.channelId,isOriginator:!0}),o;i.debug&&console.log("RemoteCommunication::autoConnect Session has expired")}i.originatorConnectStarted=!1}))}(this);return e}))}generateChannelIdConnect(){return ln(this,void 0,void 0,(function*(){return function(e){var t,n,r,i,o;if(!e.communicationLayer)throw new Error("communication layer not initialized");if(e.ready)throw new Error("Channel already connected");if(e.channelId&&(null===(t=e.communicationLayer)||void 0===t?void 0:t.isConnected()))return console.warn("Channel already exists -- interrupt generateChannelId",e.channelConfig),e.channelConfig={channelId:e.channelId,validUntil:Date.now()+e.sessionDuration},null===(n=e.storageManager)||void 0===n||n.persistChannelConfig(e.channelConfig),{channelId:e.channelId,pubKey:null===(i=null===(r=e.communicationLayer)||void 0===r?void 0:r.getKeyInfo())||void 0===i?void 0:i.ecies.public};e.debug&&console.debug("RemoteCommunication::generateChannelId()"),Pv(e);const a=e.communicationLayer.createChannel();e.debug&&console.debug("RemoteCommunication::generateChannelId() channel created",a);const s={channelId:a.channelId,validUntil:Date.now()+e.sessionDuration};return e.channelId=a.channelId,e.channelConfig=s,null===(o=e.storageManager)||void 0===o||o.persistChannelConfig(s),{channelId:e.channelId,pubKey:a.pubKey}}(this.state)}))}clean(){return Pv(this.state)}connectToChannel(e,t){return function({channelId:e,withKeyExchange:t,state:n}){var r,i,o;if(!U(e))throw console.debug(`RemoteCommunication::${n.context}::connectToChannel() invalid channel channelId=${e}`),new Error(`Invalid channel ${e}`);if(n.debug&&console.debug(`RemoteCommunication::${n.context}::connectToChannel() channelId=${e}`),null===(r=n.communicationLayer)||void 0===r?void 0:r.isConnected())return void console.debug(`RemoteCommunication::${n.context}::connectToChannel() already connected - interrup connection.`);n.channelId=e,null===(i=n.communicationLayer)||void 0===i||i.connectToChannel({channelId:e,withKeyExchange:t});const a={channelId:e,validUntil:Date.now()+n.sessionDuration};n.channelConfig=a,null===(o=n.storageManager)||void 0===o||o.persistChannelConfig(a)}({channelId:e,withKeyExchange:t,state:this.state})}sendMessage(t){return function(t,n){var r,i;return ln(this,void 0,void 0,(function*(){const{state:o}=t;o.debug&&console.log(`RemoteCommunication::${o.context}::sendMessage paused=${o.paused} ready=${o.ready} authorized=${o.authorized} socket=${null===(r=o.communicationLayer)||void 0===r?void 0:r.isConnected()} clientsConnected=${o.clientsConnected} status=${o._connectionStatus}`,n),!o.paused&&o.ready&&(null===(i=o.communicationLayer)||void 0===i?void 0:i.isConnected())&&o.clientsConnected||(o.debug&&console.log(`RemoteCommunication::${o.context}::sendMessage SKIP message waiting for MM mobile readiness.`),yield new Promise((n=>{t.once(e.EventType.CLIENTS_READY,n)})),o.debug&&console.log(`RemoteCommunication::${o.context}::sendMessage AFTER SKIP / READY -- sending pending message`));try{yield function(t,n){return ln(this,void 0,void 0,(function*(){return new Promise((r=>{var i,o,a,s;const{state:u}=t;if(u.debug&&console.log(`RemoteCommunication::${u.context}::sendMessage::handleAuthorization ready=${u.ready} authorized=${u.authorized} method=${n.method}`),1==="7.3".localeCompare((null===(i=u.walletInfo)||void 0===i?void 0:i.version)||""))return u.debug&&console.debug(`compatibility hack wallet version > ${null===(o=u.walletInfo)||void 0===o?void 0:o.version}`),null===(a=u.communicationLayer)||void 0===a||a.sendMessage(n),void r();!u.isOriginator||u.authorized?(null===(s=u.communicationLayer)||void 0===s||s.sendMessage(n),r()):t.once(e.EventType.AUTHORIZED,(()=>{var e;u.debug&&console.log(`RemoteCommunication::${u.context}::sendMessage AFTER SKIP / AUTHORIZED -- sending pending message`),null===(e=u.communicationLayer)||void 0===e||e.sendMessage(n),r()}))}))}))}(t,n)}catch(e){throw console.error(`RemoteCommunication::${o.context}::sendMessage ERROR`,e),e}}))}(this,t)}testStorage(){return ln(this,void 0,void 0,(function*(){return function(e){var t,n;return ln(this,void 0,void 0,(function*(){const r=yield null===(t=e.storageManager)||void 0===t?void 0:t.getPersistedChannelConfig(null!==(n=e.channelId)&&void 0!==n?n:"");console.debug("RemoteCommunication.testStorage() res",r)}))}(this.state)}))}getChannelConfig(){return this.state.channelConfig}isReady(){return this.state.ready}isConnected(){var e;return null===(e=this.state.communicationLayer)||void 0===e?void 0:e.isConnected()}isAuthorized(){return this.state.authorized}isPaused(){return this.state.paused}getCommunicationLayer(){return this.state.communicationLayer}ping(){var e;this.state.debug&&console.debug(`RemoteCommunication::ping() channel=${this.state.channelId}`),null===(e=this.state.communicationLayer)||void 0===e||e.ping()}keyCheck(){var e;this.state.debug&&console.debug(`RemoteCommunication::keyCheck() channel=${this.state.channelId}`),null===(e=this.state.communicationLayer)||void 0===e||e.keyCheck()}setConnectionStatus(t){this.state._connectionStatus!==t&&(this.state._connectionStatus=t,this.emit(e.EventType.CONNECTION_STATUS,t),this.emitServiceStatusEvent())}emitServiceStatusEvent(){this.emit(e.EventType.SERVICE_STATUS,this.getServiceStatus())}getConnectionStatus(){return this.state._connectionStatus}getServiceStatus(){return{originatorInfo:this.state.originatorInfo,keyInfo:this.getKeyInfo(),connectionStatus:this.state._connectionStatus,channelConfig:this.state.channelConfig,channelId:this.state.channelId}}getKeyInfo(){var e;return null===(e=this.state.communicationLayer)||void 0===e?void 0:e.getKeyInfo()}resetKeys(){var e;null===(e=this.state.communicationLayer)||void 0===e||e.resetKeys()}setOtherPublicKey(e){var t;const n=null===(t=this.state.communicationLayer)||void 0===t?void 0:t.getKeyExchange();if(!n)throw new Error("KeyExchange is not initialized.");n.getOtherPublicKey()!==e&&n.setOtherPublicKey(e)}pause(){var t;this.state.debug&&console.debug(`RemoteCommunication::pause() channel=${this.state.channelId}`),null===(t=this.state.communicationLayer)||void 0===t||t.pause(),this.setConnectionStatus(e.ConnectionStatus.PAUSED)}getVersion(){return Dv}resume(){return function(t){var n;const{state:r}=t;r.debug&&console.debug(`RemoteCommunication::resume() channel=${r.channelId}`),null===(n=r.communicationLayer)||void 0===n||n.resume(),t.setConnectionStatus(e.ConnectionStatus.LINKED)}(this)}getChannelId(){return this.state.channelId}getRPCMethodTracker(){var e;return null===(e=this.state.communicationLayer)||void 0===e?void 0:e.getRPCMethodTracker()}disconnect(e){return uw({options:e,instance:this})}}function lw(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function fw(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function dw(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}!function(e){e.RENEW="renew",e.LINK="link"}(Wv||(Wv={})),"function"==typeof SuppressedError&&SuppressedError;var Aw={},hw={},pw={};function gw(){}function yw(){yw.init.call(this)}function mw(e){return void 0===e._maxListeners?yw.defaultMaxListeners:e._maxListeners}function bw(e,t,n,r){var i,o,a;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((o=e._events)?(o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]):(o=e._events=new gw,e._eventsCount=0),a){if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),!a.warned&&(i=mw(e))&&i>0&&a.length>i){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,function(e){"function"==typeof console.warn?console.warn(e):console.log(e)}(s)}}else a=o[t]=n,++e._eventsCount;return e}function vw(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}function ww(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function Ew(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}gw.prototype=Object.create(null),yw.EventEmitter=yw,yw.usingDomains=!1,yw.prototype.domain=void 0,yw.prototype._events=void 0,yw.prototype._maxListeners=void 0,yw.defaultMaxListeners=10,yw.init=function(){this.domain=null,yw.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new gw,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},yw.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},yw.prototype.getMaxListeners=function(){return mw(this)},yw.prototype.emit=function(e){var t,n,r,i,o,a,s,u="error"===e;if(a=this._events)u=u&&null==a.error;else if(!u)return!1;if(s=this.domain,u){if(t=arguments[1],!s){if(t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var l="function"==typeof n;switch(r=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var r=e.length,i=Ew(e,r),o=0;o0;)if(n[o]===t||n[o].listener&&n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;if(1===n.length){if(n[0]=void 0,0==--this._eventsCount)return this._events=new gw,this;delete r[e]}else!function(e,t){for(var n=t,r=n+1,i=e.length;r0?Reflect.ownKeys(this._events):[]};var Iw=o(Object.freeze({__proto__:null,EventEmitter:yw,default:yw}));Object.defineProperty(pw,"__esModule",{value:!0});const Bw=Iw;function Cw(e,t,n){try{Reflect.apply(e,t,n)}catch(e){setTimeout((()=>{throw e}))}}let _w=class extends Bw.EventEmitter{emit(e,...t){let n="error"===e;const r=this._events;if(void 0!==r)n=n&&void 0===r.error;else if(!n)return!1;if(n){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;const n=new Error("Unhandled error."+(e?` (${e.message})`:""));throw n.context=e,n}const i=r[e];if(void 0===i)return!1;if("function"==typeof i)Cw(i,this,t);else{const e=i.length,n=function(e){const t=e.length,n=new Array(t);for(let r=0;ra.depthLimit)return void Ow(Mw,e,t,i);if(void 0!==a.edgesLimit&&n+1>a.edgesLimit)return void Ow(Mw,e,t,i);if(r.push(e),Array.isArray(e))for(s=0;st?1:0}function Uw(e,t,n,r){void 0===r&&(r=Tw());var i,o=Fw(e,"",0,[],void 0,0,r)||e;try{i=0===Dw.length?JSON.stringify(o,t,n):JSON.stringify(o,jw(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==Rw.length;){var a=Rw.pop();4===a.length?Object.defineProperty(a[0],a[1],a[3]):a[0][a[1]]=a[2]}}return i}function Fw(e,t,n,r,i,o,a){var s;if(o+=1,"object"==typeof e&&null!==e){for(s=0;sa.depthLimit)return void Ow(Mw,e,t,i);if(void 0!==a.edgesLimit&&n+1>a.edgesLimit)return void Ow(Mw,e,t,i);if(r.push(e),Array.isArray(e))for(s=0;s0)for(var r=0;r=1e3&&e<=4999}(e))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,t,n)}};var Yw={},Kw={};Object.defineProperty(Kw,"__esModule",{value:!0}),Kw.errorValues=Kw.errorCodes=void 0,Kw.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},Kw.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.serializeError=e.isValidCode=e.getMessageFromCode=e.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;const t=Kw,n=Qw,r=t.errorCodes.rpc.internal,i={code:r,message:o(r)};function o(n,r="Unspecified error message. This is a bug, please report it."){if(Number.isInteger(n)){const r=n.toString();if(c(t.errorValues,r))return t.errorValues[r].message;if(s(n))return e.JSON_RPC_SERVER_ERROR_MESSAGE}return r}function a(e){if(!Number.isInteger(e))return!1;const n=e.toString();return!!t.errorValues[n]||!!s(e)}function s(e){return e>=-32099&&e<=-32e3}function u(e){return e&&"object"==typeof e&&!Array.isArray(e)?Object.assign({},e):e}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.",e.getMessageFromCode=o,e.isValidCode=a,e.serializeError=function(e,{fallbackError:t=i,shouldIncludeStack:r=!1}={}){var s,l;if(!t||!Number.isInteger(t.code)||"string"!=typeof t.message)throw new Error("Must provide fallback error with integer number code and string message.");if(e instanceof n.EthereumRpcError)return e.serialize();const f={};if(e&&"object"==typeof e&&!Array.isArray(e)&&c(e,"code")&&a(e.code)){const t=e;f.code=t.code,t.message&&"string"==typeof t.message?(f.message=t.message,c(t,"data")&&(f.data=t.data)):(f.message=o(f.code),f.data={originalError:u(e)})}else{f.code=t.code;const n=null===(s=e)||void 0===s?void 0:s.message;f.message=n&&"string"==typeof n?n:t.message,f.data={originalError:u(e)}}const d=null===(l=e)||void 0===l?void 0:l.stack;return r&&e&&d&&"string"==typeof d&&(f.stack=d),f}}(Yw);var zw={};Object.defineProperty(zw,"__esModule",{value:!0}),zw.ethErrors=void 0;const Vw=Qw,Jw=Yw,Ww=Kw;function $w(e,t){const[n,r]=Xw(t);return new Vw.EthereumRpcError(e,n||Jw.getMessageFromCode(e),r)}function Zw(e,t){const[n,r]=Xw(t);return new Vw.EthereumProviderError(e,n||Jw.getMessageFromCode(e),r)}function Xw(e){if(e){if("string"==typeof e)return[e];if("object"==typeof e&&!Array.isArray(e)){const{message:t,data:n}=e;if(t&&"string"!=typeof t)throw new Error("Must specify string message.");return[t||void 0,n]}}return[]}zw.ethErrors={rpc:{parse:e=>$w(Ww.errorCodes.rpc.parse,e),invalidRequest:e=>$w(Ww.errorCodes.rpc.invalidRequest,e),invalidParams:e=>$w(Ww.errorCodes.rpc.invalidParams,e),methodNotFound:e=>$w(Ww.errorCodes.rpc.methodNotFound,e),internal:e=>$w(Ww.errorCodes.rpc.internal,e),server:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return $w(t,e)},invalidInput:e=>$w(Ww.errorCodes.rpc.invalidInput,e),resourceNotFound:e=>$w(Ww.errorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>$w(Ww.errorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>$w(Ww.errorCodes.rpc.transactionRejected,e),methodNotSupported:e=>$w(Ww.errorCodes.rpc.methodNotSupported,e),limitExceeded:e=>$w(Ww.errorCodes.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>Zw(Ww.errorCodes.provider.userRejectedRequest,e),unauthorized:e=>Zw(Ww.errorCodes.provider.unauthorized,e),unsupportedMethod:e=>Zw(Ww.errorCodes.provider.unsupportedMethod,e),disconnected:e=>Zw(Ww.errorCodes.provider.disconnected,e),chainDisconnected:e=>Zw(Ww.errorCodes.provider.chainDisconnected,e),custom:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:t,message:n,data:r}=e;if(!n||"string"!=typeof n)throw new Error('"message" must be a nonempty string');return new Vw.EthereumProviderError(t,n,r)}}},function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getMessageFromCode=e.serializeError=e.EthereumProviderError=e.EthereumRpcError=e.ethErrors=e.errorCodes=void 0;const t=Qw;Object.defineProperty(e,"EthereumRpcError",{enumerable:!0,get:function(){return t.EthereumRpcError}}),Object.defineProperty(e,"EthereumProviderError",{enumerable:!0,get:function(){return t.EthereumProviderError}});const n=Yw;Object.defineProperty(e,"serializeError",{enumerable:!0,get:function(){return n.serializeError}}),Object.defineProperty(e,"getMessageFromCode",{enumerable:!0,get:function(){return n.getMessageFromCode}});const r=zw;Object.defineProperty(e,"ethErrors",{enumerable:!0,get:function(){return r.ethErrors}});const i=Kw;Object.defineProperty(e,"errorCodes",{enumerable:!0,get:function(){return i.errorCodes}})}(Sw);var eE=Array.isArray,tE=Object.keys,nE=Object.prototype.hasOwnProperty,rE={},iE={},oE={};Object.defineProperty(oE,"__esModule",{value:!0}),oE.getUniqueId=void 0;const aE=4294967295;let sE=Math.floor(Math.random()*aE);oE.getUniqueId=function(){return sE=(sE+1)%aE,sE},Object.defineProperty(iE,"__esModule",{value:!0}),iE.createIdRemapMiddleware=void 0;const uE=oE;iE.createIdRemapMiddleware=function(){return(e,t,n,r)=>{const i=e.id,o=uE.getUniqueId();e.id=o,t.id=o,n((n=>{e.id=i,t.id=i,n()}))}};var cE={};Object.defineProperty(cE,"__esModule",{value:!0}),cE.createAsyncMiddleware=void 0,cE.createAsyncMiddleware=function(e){return async(t,n,r,i)=>{let o;const a=new Promise((e=>{o=e}));let s=null,u=!1;const c=async()=>{u=!0,r((e=>{s=e,o()})),await a};try{await e(t,n,c),u?(await a,s(null)):i(null)}catch(e){s?s(e):i(e)}}};var lE={};Object.defineProperty(lE,"__esModule",{value:!0}),lE.createScaffoldMiddleware=void 0,lE.createScaffoldMiddleware=function(e){return(t,n,r,i)=>{const o=e[t.method];return void 0===o?r():"function"==typeof o?o(t,n,r,i):(n.result=o,i())}};var fE={},dE=r&&r.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(fE,"__esModule",{value:!0}),fE.JsonRpcEngine=void 0;const AE=dE(pw),hE=Sw;class pE extends AE.default{constructor(){super(),this._middleware=[]}push(e){this._middleware.push(e)}handle(e,t){if(t&&"function"!=typeof t)throw new Error('"callback" must be a function if provided.');return Array.isArray(e)?t?this._handleBatch(e,t):this._handleBatch(e):t?this._handle(e,t):this._promiseHandle(e)}asMiddleware(){return async(e,t,n,r)=>{try{const[i,o,a]=await pE._runAllMiddleware(e,t,this._middleware);return o?(await pE._runReturnHandlers(a),r(i)):n((async e=>{try{await pE._runReturnHandlers(a)}catch(t){return e(t)}return e()}))}catch(e){return r(e)}}}async _handleBatch(e,t){try{const n=await Promise.all(e.map(this._promiseHandle.bind(this)));return t?t(null,n):n}catch(e){if(t)return t(e);throw e}}_promiseHandle(e){return new Promise((t=>{this._handle(e,((e,n)=>{t(n)}))}))}async _handle(e,t){if(!e||Array.isArray(e)||"object"!=typeof e){const n=new hE.EthereumRpcError(hE.errorCodes.rpc.invalidRequest,"Requests must be plain objects. Received: "+typeof e,{request:e});return t(n,{id:void 0,jsonrpc:"2.0",error:n})}if("string"!=typeof e.method){const n=new hE.EthereumRpcError(hE.errorCodes.rpc.invalidRequest,"Must specify a string method. Received: "+typeof e.method,{request:e});return t(n,{id:e.id,jsonrpc:"2.0",error:n})}const n=Object.assign({},e),r={id:n.id,jsonrpc:n.jsonrpc};let i=null;try{await this._processRequest(n,r)}catch(e){i=e}return i&&(delete r.result,r.error||(r.error=hE.serializeError(i))),t(i,r)}async _processRequest(e,t){const[n,r,i]=await pE._runAllMiddleware(e,t,this._middleware);if(pE._checkForCompletion(e,t,r),await pE._runReturnHandlers(i),n)throw n}static async _runAllMiddleware(e,t,n){const r=[];let i=null,o=!1;for(const a of n)if([i,o]=await pE._runMiddleware(e,t,a,r),o)break;return[i,o,r.reverse()]}static _runMiddleware(e,t,n,r){return new Promise((i=>{const o=e=>{const n=e||t.error;n&&(t.error=hE.serializeError(n)),i([n,!0])},a=n=>{t.error?o(t.error):(n&&("function"!=typeof n&&o(new hE.EthereumRpcError(hE.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof n}" for request:\n${gE(e)}`,{request:e})),r.push(n)),i([null,!1]))};try{n(e,t,a,o)}catch(e){o(e)}}))}static async _runReturnHandlers(e){for(const t of e)await new Promise(((e,n)=>{t((t=>t?n(t):e()))}))}static _checkForCompletion(e,t,n){if(!("result"in t)&&!("error"in t))throw new hE.EthereumRpcError(hE.errorCodes.rpc.internal,`JsonRpcEngine: Response has no error or result for request:\n${gE(e)}`,{request:e});if(!n)throw new hE.EthereumRpcError(hE.errorCodes.rpc.internal,`JsonRpcEngine: Nothing ended request:\n${gE(e)}`,{request:e})}}function gE(e){return JSON.stringify(e,null,2)}fE.JsonRpcEngine=pE;var yE={};Object.defineProperty(yE,"__esModule",{value:!0}),yE.mergeMiddleware=void 0;const mE=fE;yE.mergeMiddleware=function(e){const t=new mE.JsonRpcEngine;return e.forEach((e=>t.push(e))),t.asMiddleware()},function(e){var t=r&&r.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=r&&r.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(iE,e),n(cE,e),n(lE,e),n(oE,e),n(fE,e),n(yE,e)}(rE);var bE={};Object.defineProperty(bE,"__esModule",{value:!0});bE.default={errors:{disconnected:()=>"MetaMask: Disconnected from chain. Attempting to connect.",permanentlyDisconnected:()=>"MetaMask: Disconnected from MetaMask background. Page reload required.",sendSiteMetadata:()=>"MetaMask: Failed to send site metadata. This is an internal error, please report this bug.",unsupportedSync:e=>`MetaMask: The MetaMask Ethereum provider does not support synchronous methods like ${e} without a callback parameter.`,invalidDuplexStream:()=>"Must provide a Node.js-style duplex stream.",invalidNetworkParams:()=>"MetaMask: Received invalid network parameters. Please report this bug.",invalidRequestArgs:()=>"Expected a single, non-array, object argument.",invalidRequestMethod:()=>"'args.method' must be a non-empty string.",invalidRequestParams:()=>"'args.params' must be an object or array if provided.",invalidLoggerObject:()=>"'args.logger' must be an object if provided.",invalidLoggerMethod:e=>`'args.logger' must include required method '${e}'.`},info:{connected:e=>`MetaMask: Connected to chain with ID "${e}".`},warnings:{enableDeprecation:"MetaMask: 'ethereum.enable()' is deprecated and may be removed in the future. Please use the 'eth_requestAccounts' RPC method instead.\nFor more information, see: https://eips.ethereum.org/EIPS/eip-1102",sendDeprecation:"MetaMask: 'ethereum.send(...)' is deprecated and may be removed in the future. Please use 'ethereum.sendAsync(...)' or 'ethereum.request(...)' instead.\nFor more information, see: https://eips.ethereum.org/EIPS/eip-1193",events:{close:"MetaMask: The event 'close' is deprecated and may be removed in the future. Please use 'disconnect' instead.\nFor more information, see: https://eips.ethereum.org/EIPS/eip-1193#disconnect",data:"MetaMask: The event 'data' is deprecated and will be removed in the future. Use 'message' instead.\nFor more information, see: https://eips.ethereum.org/EIPS/eip-1193#message",networkChanged:"MetaMask: The event 'networkChanged' is deprecated and may be removed in the future. Use 'chainChanged' instead.\nFor more information, see: https://eips.ethereum.org/EIPS/eip-1193#chainchanged",notification:"MetaMask: The event 'notification' is deprecated and may be removed in the future. Use 'message' instead.\nFor more information, see: https://eips.ethereum.org/EIPS/eip-1193#message"},rpc:{ethDecryptDeprecation:"MetaMask: The RPC method 'eth_decrypt' is deprecated and may be removed in the future.\nFor more information, see: https://medium.com/metamask/metamask-api-method-deprecation-2b0564a84686",ethGetEncryptionPublicKeyDeprecation:"MetaMask: The RPC method 'eth_getEncryptionPublicKey' is deprecated and may be removed in the future.\nFor more information, see: https://medium.com/metamask/metamask-api-method-deprecation-2b0564a84686"},experimentalMethods:"MetaMask: 'ethereum._metamask' exposes non-standard, experimental methods. They may be removed or changed without warning."}};var vE={},wE={},EE=r&&r.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wE,"__esModule",{value:!0}),wE.createRpcWarningMiddleware=void 0;const IE=EE(bE);wE.createRpcWarningMiddleware=function(e){const t={ethDecryptDeprecation:!1,ethGetEncryptionPublicKeyDeprecation:!1};return(n,r,i)=>{!1===t.ethDecryptDeprecation&&"eth_decrypt"===n.method?(e.warn(IE.default.warnings.rpc.ethDecryptDeprecation),t.ethDecryptDeprecation=!0):!1===t.ethGetEncryptionPublicKeyDeprecation&&"eth_getEncryptionPublicKey"===n.method&&(e.warn(IE.default.warnings.rpc.ethGetEncryptionPublicKeyDeprecation),t.ethGetEncryptionPublicKeyDeprecation=!0),i()}},Object.defineProperty(vE,"__esModule",{value:!0}),vE.NOOP=vE.isValidNetworkVersion=vE.isValidChainId=vE.getRpcPromiseCallback=vE.getDefaultExternalMiddleware=vE.EMITTED_NOTIFICATIONS=void 0;const BE=rE,CE=Sw,_E=wE;function SE(e){return(t,n,r)=>{"string"==typeof t.method&&t.method||(n.error=CE.ethErrors.rpc.invalidRequest({message:"The request 'method' must be a non-empty string.",data:t})),r((t=>{const{error:r}=n;return r?(e.error(`MetaMask - RPC Error: ${r.message}`,r),t()):t()}))}}vE.EMITTED_NOTIFICATIONS=Object.freeze(["eth_subscription"]),vE.getDefaultExternalMiddleware=(e=console)=>[BE.createIdRemapMiddleware(),SE(e),_E.createRpcWarningMiddleware(e)],vE.getRpcPromiseCallback=(e,t,n=!0)=>(r,i)=>{r||i.error?t(r||i.error):!n||Array.isArray(i)?e(i):e(i.result)},vE.isValidChainId=e=>Boolean(e)&&"string"==typeof e&&e.startsWith("0x"),vE.isValidNetworkVersion=e=>Boolean(e)&&"string"==typeof e,vE.NOOP=()=>{};var QE=r&&r.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hw,"__esModule",{value:!0}),hw.BaseProvider=void 0;const kE=QE(pw),ME=Sw,xE=QE((function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var r,i,o,a=eE(t),s=eE(n);if(a&&s){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(a!=s)return!1;var u=t instanceof Date,c=n instanceof Date;if(u!=c)return!1;if(u&&c)return t.getTime()==n.getTime();var l=t instanceof RegExp,f=n instanceof RegExp;if(l!=f)return!1;if(l&&f)return t.toString()==n.toString();var d=tE(t);if((i=d.length)!==tE(n).length)return!1;for(r=i;0!=r--;)if(!nE.call(n,d[r]))return!1;for(r=i;0!=r--;)if(!e(t[o=d[r]],n[o]))return!1;return!0}return t!=t&&n!=n})),RE=rE,DE=QE(bE),TE=vE;class NE extends kE.default{constructor({logger:e=console,maxEventListeners:t=100,rpcMiddleware:n=[]}={}){super(),this._log=e,this.setMaxListeners(t),this._state=Object.assign({},NE._defaultState),this.selectedAddress=null,this.chainId=null,this._handleAccountsChanged=this._handleAccountsChanged.bind(this),this._handleConnect=this._handleConnect.bind(this),this._handleChainChanged=this._handleChainChanged.bind(this),this._handleDisconnect=this._handleDisconnect.bind(this),this._handleUnlockStateChanged=this._handleUnlockStateChanged.bind(this),this._rpcRequest=this._rpcRequest.bind(this),this.request=this.request.bind(this);const r=new RE.JsonRpcEngine;n.forEach((e=>r.push(e))),this._rpcEngine=r}isConnected(){return this._state.isConnected}async request(e){if(!e||"object"!=typeof e||Array.isArray(e))throw ME.ethErrors.rpc.invalidRequest({message:DE.default.errors.invalidRequestArgs(),data:e});const{method:t,params:n}=e;if("string"!=typeof t||0===t.length)throw ME.ethErrors.rpc.invalidRequest({message:DE.default.errors.invalidRequestMethod(),data:e});if(void 0!==n&&!Array.isArray(n)&&("object"!=typeof n||null===n))throw ME.ethErrors.rpc.invalidRequest({message:DE.default.errors.invalidRequestParams(),data:e});return new Promise(((e,r)=>{this._rpcRequest({method:t,params:n},TE.getRpcPromiseCallback(e,r))}))}_initializeState(e){if(!0===this._state.initialized)throw new Error("Provider already initialized.");if(e){const{accounts:t,chainId:n,isUnlocked:r,networkVersion:i}=e;this._handleConnect(n),this._handleChainChanged({chainId:n,networkVersion:i}),this._handleUnlockStateChanged({accounts:t,isUnlocked:r}),this._handleAccountsChanged(t)}this._state.initialized=!0,this.emit("_initialized")}_rpcRequest(e,t){let n=t;return Array.isArray(e)||(e.jsonrpc||(e.jsonrpc="2.0"),"eth_accounts"!==e.method&&"eth_requestAccounts"!==e.method||(n=(n,r)=>{this._handleAccountsChanged(r.result||[],"eth_accounts"===e.method),t(n,r)})),this._rpcEngine.handle(e,n)}_handleConnect(e){this._state.isConnected||(this._state.isConnected=!0,this.emit("connect",{chainId:e}),this._log.debug(DE.default.info.connected(e)))}_handleDisconnect(e,t){if(this._state.isConnected||!this._state.isPermanentlyDisconnected&&!e){let n;this._state.isConnected=!1,e?(n=new ME.EthereumRpcError(1013,t||DE.default.errors.disconnected()),this._log.debug(n)):(n=new ME.EthereumRpcError(1011,t||DE.default.errors.permanentlyDisconnected()),this._log.error(n),this.chainId=null,this._state.accounts=null,this.selectedAddress=null,this._state.isUnlocked=!1,this._state.isPermanentlyDisconnected=!0),this.emit("disconnect",n)}}_handleChainChanged({chainId:e}={}){TE.isValidChainId(e)?(this._handleConnect(e),e!==this.chainId&&(this.chainId=e,this._state.initialized&&this.emit("chainChanged",this.chainId))):this._log.error(DE.default.errors.invalidNetworkParams(),{chainId:e})}_handleAccountsChanged(e,t=!1){let n=e;Array.isArray(e)||(this._log.error("MetaMask: Received invalid accounts parameter. Please report this bug.",e),n=[]);for(const t of e)if("string"!=typeof t){this._log.error("MetaMask: Received non-string account. Please report this bug.",e),n=[];break}xE.default(this._state.accounts,n)||(t&&null!==this._state.accounts&&this._log.error("MetaMask: 'eth_accounts' unexpectedly updated accounts. Please report this bug.",n),this._state.accounts=n,this.selectedAddress!==n[0]&&(this.selectedAddress=n[0]||null),this._state.initialized&&this.emit("accountsChanged",n))}_handleUnlockStateChanged({accounts:e,isUnlocked:t}={}){"boolean"==typeof t?t!==this._state.isUnlocked&&(this._state.isUnlocked=t,this._handleAccountsChanged(e||[])):this._log.error("MetaMask: Received invalid isUnlocked parameter. Please report this bug.")}}hw.BaseProvider=NE,NE._defaultState={accounts:null,isConnected:!1,isUnlocked:!1,initialized:!1,isPermanentlyDisconnected:!1};var OE={},LE={},PE="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},UE=/%[sdj%]/g;function FE(e){if(!nI(e)){for(var t=[],n=0;n=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),ZE(t)?n.showHidden=t:t&&gI(n,t),iI(n.showHidden)&&(n.showHidden=!1),iI(n.depth)&&(n.depth=2),iI(n.colors)&&(n.colors=!1),iI(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=KE),VE(n,e,n.depth)}function KE(e,t){var n=YE.styles[t];return n?"["+YE.colors[n][0]+"m"+e+"["+YE.colors[n][1]+"m":e}function zE(e,t){return e}function VE(e,t,n){if(e.customInspect&&t&&cI(t.inspect)&&t.inspect!==YE&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return nI(r)||(r=VE(e,r,n)),r}var i=function(e,t){if(iI(t))return e.stylize("undefined","undefined");if(nI(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return tI(t)?e.stylize(""+t,"number"):ZE(t)?e.stylize(""+t,"boolean"):XE(t)?e.stylize("null","null"):void 0}(e,t);if(i)return i;var o=Object.keys(t),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),uI(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return JE(t);if(0===o.length){if(cI(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(oI(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(sI(t))return e.stylize(Date.prototype.toString.call(t),"date");if(uI(t))return JE(t)}var u,c="",l=!1,f=["{","}"];return $E(t)&&(l=!0,f=["[","]"]),cI(t)&&(c=" [Function"+(t.name?": "+t.name:"")+"]"),oI(t)&&(c=" "+RegExp.prototype.toString.call(t)),sI(t)&&(c=" "+Date.prototype.toUTCString.call(t)),uI(t)&&(c=" "+JE(t)),0!==o.length||l&&0!=t.length?n<0?oI(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=l?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(u,c,f)):f[0]+c+f[1]}function JE(e){return"["+Error.prototype.toString.call(e)+"]"}function WE(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),yI(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=XE(n)?VE(e,u.value,null):VE(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),iI(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function $E(e){return Array.isArray(e)}function ZE(e){return"boolean"==typeof e}function XE(e){return null===e}function eI(e){return null==e}function tI(e){return"number"==typeof e}function nI(e){return"string"==typeof e}function rI(e){return"symbol"==typeof e}function iI(e){return void 0===e}function oI(e){return aI(e)&&"[object RegExp]"===dI(e)}function aI(e){return"object"==typeof e&&null!==e}function sI(e){return aI(e)&&"[object Date]"===dI(e)}function uI(e){return aI(e)&&("[object Error]"===dI(e)||e instanceof Error)}function cI(e){return"function"==typeof e}function lI(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function fI(e){return St(e)}function dI(e){return Object.prototype.toString.call(e)}function AI(e){return e<10?"0"+e.toString(10):e.toString(10)}YE.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},YE.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var hI=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function pI(){console.log("%s - %s",function(){var e=new Date,t=[AI(e.getHours()),AI(e.getMinutes()),AI(e.getSeconds())].join(":");return[e.getDate(),hI[e.getMonth()],t].join(" ")}(),FE.apply(null,arguments))}function gI(e,t){if(!t||!aI(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function yI(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var mI={inherits:PE,_extend:gI,log:pI,isBuffer:fI,isPrimitive:lI,isFunction:cI,isError:uI,isDate:sI,isObject:aI,isRegExp:oI,isUndefined:iI,isSymbol:rI,isString:nI,isNumber:tI,isNullOrUndefined:eI,isNull:XE,isBoolean:ZE,isArray:$E,inspect:YE,deprecate:jE,format:FE,debuglog:HE},bI=Object.freeze({__proto__:null,_extend:gI,debuglog:HE,default:mI,deprecate:jE,format:FE,inherits:PE,inspect:YE,isArray:$E,isBoolean:ZE,isBuffer:fI,isDate:sI,isError:uI,isFunction:cI,isNull:XE,isNullOrUndefined:eI,isNumber:tI,isObject:aI,isPrimitive:lI,isRegExp:oI,isString:nI,isSymbol:rI,isUndefined:iI,log:pI});function vI(){this.head=null,this.tail=null,this.length=0}vI.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},vI.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},vI.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},vI.prototype.clear=function(){this.head=this.tail=null,this.length=0},vI.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},vI.prototype.concat=function(e){if(0===this.length)return He.alloc(0);if(1===this.length)return this.head.data;for(var t=He.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var wI=He.isEncoding||function(e){switch(e&&e.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 EI(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!wI(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=BI;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=CI;break;default:return void(this.write=II)}this.charBuffer=new He(6),this.charReceived=0,this.charLength=0}function II(e){return e.toString(this.encoding)}function BI(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function CI(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}EI.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r,i=e.length;if(this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),i=(t+=e.toString(this.encoding,0,i)).length-1,(r=t.charCodeAt(i))>=55296&&r<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,i)}return t},EI.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},EI.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t},QI.ReadableState=SI;var _I=HE("stream");function SI(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof nB&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new vI,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.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new EI(e.encoding),this.encoding=e.encoding)}function QI(e){if(!(this instanceof QI))return new QI(e);this._readableState=new SI(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),yw.call(this)}function kI(e,t,n,r,i){var o=function(e,t){var n=null;return St(t)||"string"==typeof t||null==t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(t,n);if(o)e.emit("error",o);else if(null===n)t.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,RI(e)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var u;!t.decoder||i||r||(n=t.decoder.write(n),u=!t.objectMode&&0===n.length),i||(t.reading=!1),u||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&RI(e))),function(e,t){t.readingMore||(t.readingMore=!0,b(TI,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=MI?e=MI:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function RI(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(_I("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?b(DI,e):DI(e))}function DI(e){_I("emit readable"),e.emit("readable"),LI(e)}function TI(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;return eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0==(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=He.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0==(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t),r}(e,t.buffer,t.decoder),n);var n}function UI(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,b(FI,t,e))}function FI(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function jI(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return _I("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?UI(this):RI(this),null;if(0===(e=xI(e,t))&&t.ended)return 0===t.length&&UI(this),null;var r,i=t.needReadable;return _I("need readable",i),(0===t.length||t.length-e0?PI(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&UI(this)),null!==r&&this.emit("data",r),r},QI.prototype._read=function(e){this.emit("error",new Error("not implemented"))},QI.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,_I("pipe count=%d opts=%j",r.pipesCount,t);var i=t&&!1===t.end?c:a;function o(e){_I("onunpipe"),e===n&&c()}function a(){_I("onend"),e.end()}r.endEmitted?b(i):n.once("end",i),e.on("unpipe",o);var s=function(e){return function(){var t=e._readableState;_I("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,LI(e))}}(n);e.on("drain",s);var u=!1;function c(){_I("cleanup"),e.removeListener("close",A),e.removeListener("finish",h),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",o),n.removeListener("end",a),n.removeListener("end",c),n.removeListener("data",f),u=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var l=!1;function f(t){_I("ondata"),l=!1,!1!==e.write(t)||l||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==jI(r.pipes,e))&&!u&&(_I("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,l=!0),n.pause())}function d(t){_I("onerror",t),p(),e.removeListener("error",d),0===("error",e.listeners("error").length)&&e.emit("error",t)}function A(){e.removeListener("finish",h),p()}function h(){_I("onfinish"),e.removeListener("close",A),p()}function p(){_I("unpipe"),n.unpipe(e)}return n.on("data",f),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",d),e.once("close",A),e.once("finish",h),e.emit("pipe",n),r.flowing||(_I("pipe resume"),n.resume()),e},QI.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},YI.prototype._write=function(e,t,n){n(new Error("not implemented"))},YI.prototype._writev=null,YI.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,$I(e,t),n&&(t.finished?b(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,r,n)},PE(nB,QI);for(var XI=Object.keys(YI.prototype),eB=0;eBthis._onMessage(e))),this._port.onDisconnect.addListener((()=>this._onDisconnect())),this._log=()=>null}_onMessage(e){if(St(e)){const t=He.from(e);this._log(t,!1),this.push(t)}else this._log(e,!1),this.push(e)}_onDisconnect(){this.destroy()}_read(){}_write(e,t,n){try{if(St(e)){const t=e.toJSON();t._isBuffer=!0,this._log(t,!0),this._port.postMessage(t)}else this._log(e,!0),this._port.postMessage(e)}catch(e){return n(new Error("PortDuplexStream - disconnected"))}return n()}_setLogger(e){this._log=e}}LE.default=dB;var AB=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i meta[property="og:site_name"]');if(n)return n.content;const r=t.querySelector('head > meta[name="title"]');return r?r.content:t.title&&t.title.length>0?t.title:window.location.hostname}async function TB(e){const{document:t}=e,n=t.querySelectorAll('head > link[rel~="icon"]');for(const e of n)if(e&&await NB(e.href))return e.href;return null}function NB(e){return new Promise(((t,n)=>{try{const n=document.createElement("img");n.onload=()=>t(!0),n.onerror=()=>t(!1),n.src=e}catch(e){n(e)}}))}kB.sendSiteMetadata=async function(e,t){try{const t=await async function(){return{name:DB(window),icon:await TB(window)}}();e.handle({jsonrpc:"2.0",id:1,method:"metamask_sendDomainMetadata",params:t},RB.NOOP)}catch(e){t.error({message:xB.default.errors.sendSiteMetadata(),originalError:e})}};var OB={},LB={},PB={exports:{}},UB={exports:{}};void 0===R||!R.version||0===R.version.indexOf("v0.")||0===R.version.indexOf("v1.")&&0!==R.version.indexOf("v1.8.")?UB.exports={nextTick:function(e,t,n,r){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,o,a=arguments.length;switch(a){case 0:case 1:return b(e);case 2:return b((function(){e.call(null,t)}));case 3:return b((function(){e.call(null,t,n)}));case 4:return b((function(){e.call(null,t,n,r)}));default:for(i=new Array(a-1),o=0;o-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),h.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},h.prototype._writev=null,h.prototype.end=function(t,n,r){var i=this._writableState;"function"==typeof t?(r=t,t=null,n=null):"function"==typeof n&&(r=n,n=null),null!=t&&this.write(t,n),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,n,r){n.ending=!0,v(t,n),r&&(n.finished?e.nextTick(r):t.once("finish",r)),n.ended=!0,t.writable=!1}(this,i,r)},Object.defineProperty(h.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),h.prototype.destroy=f.destroy,h.prototype._undestroy=f.undestroy,h.prototype._destroy=function(e,t){this.end(),t(e)},nC}function lC(){if(oC)return iC;oC=1;var e=FB,t=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};iC=u;var n=Object.create(zB);n.inherits=$B;var r=gC(),i=cC();n.inherits(u,r);for(var o=t(i.prototype),a=0;a>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function o(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function s(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function c(e){return e.toString(this.encoding)}function l(e){return e&&e.length?this.write(e):""}return hC.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(o>0&&(e.lastNeed=o-1),o):--i=0?(o>0&&(e.lastNeed=o-2),o):--i=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},hC}function gC(){if(AC)return dC;AC=1;var e=FB;dC=g;var t,n=qB;g.ReadableState=p,Iw.EventEmitter;var i=function(e,t){return e.listeners(t).length},o=GB,a=KB.Buffer,s=(void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=Object.create(zB);u.inherits=$B;var c=ZB,l=void 0;l=c&&c.debuglog?c.debuglog("stream"):function(){};var f,d=(WB||(WB=1,function(e){var t=KB.Buffer,n=ZB;e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return t.alloc(0);for(var n,r,i=t.allocUnsafe(e>>>0),o=this.head,a=0;o;)n=i,r=a,o.data.copy(n,r),a+=o.data.length,o=o.next;return i},e}(),n&&n.inspect&&n.inspect.custom&&(e.exports.prototype[n.inspect.custom]=function(){var e=n.inspect({length:this.length});return this.constructor.name+" "+e})}(XB)),XB.exports),A=aC;u.inherits(g,o);var h=["error","close","destroy","pause","resume"];function p(e,n){e=e||{};var r=n instanceof(t=t||lC());this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(o||0===o)?o:a,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=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=pC().StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function g(e){if(t=t||lC(),!(this instanceof g))return new g(e);this._readableState=new p(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),o.call(this)}function y(e,t,n,r,i){var o,u=e._readableState;return null===t?(u.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,w(e)}}(e,u)):(i||(o=function(e,t){var n,r;return r=t,a.isBuffer(r)||r instanceof s||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(u,t)),o?e.emit("error",o):u.objectMode||t&&t.length>0?("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),r?u.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):m(e,u,t,!0):u.ended?e.emit("error",new Error("stream.push() after EOF")):(u.reading=!1,u.decoder&&!n?(t=u.decoder.write(t),u.objectMode||0!==t.length?m(e,u,t,!1):I(e,u)):m(e,u,t,!1))):r||(u.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=b?e=b:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function w(t){var n=t._readableState;n.needReadable=!1,n.emittedReadable||(l("emitReadable",n.flowing),n.emittedReadable=!0,n.sync?e.nextTick(E,t):E(t))}function E(e){l("emit readable"),e.emit("readable"),S(e)}function I(t,n){n.readingMore||(n.readingMore=!0,e.nextTick(B,t,n))}function B(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;return eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0==(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=a.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var o=r.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),0==(e-=s)){s===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++i}return t.length-=i,n}(e,t),r}(e,t.buffer,t.decoder),n);var n}function k(t){var n=t._readableState;if(n.length>0)throw new Error('"endReadable()" called on non-empty stream');n.endEmitted||(n.ended=!0,e.nextTick(M,n,t))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function x(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?k(this):w(this),null;if(0===(e=v(e,t))&&t.ended)return 0===t.length&&k(this),null;var r,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e0?Q(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&k(this)),null!==r&&this.emit("data",r),r},g.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},g.prototype.pipe=function(t,r){var o=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=t;break;case 1:a.pipes=[a.pipes,t];break;default:a.pipes.push(t)}a.pipesCount+=1,l("pipe count=%d opts=%j",a.pipesCount,r);var s=r&&!1===r.end||t===R.stdout||t===R.stderr?y:u;function u(){l("onend"),t.end()}a.endEmitted?e.nextTick(s):o.once("end",s),t.on("unpipe",(function e(n,r){l("onunpipe"),n===o&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),t.removeListener("close",p),t.removeListener("finish",g),t.removeListener("drain",c),t.removeListener("error",h),t.removeListener("unpipe",e),o.removeListener("end",u),o.removeListener("end",y),o.removeListener("data",A),f=!0,!a.awaitDrain||t._writableState&&!t._writableState.needDrain||c())}));var c=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,S(e))}}(o);t.on("drain",c);var f=!1,d=!1;function A(e){l("ondata"),d=!1,!1!==t.write(e)||d||((1===a.pipesCount&&a.pipes===t||a.pipesCount>1&&-1!==x(a.pipes,t))&&!f&&(l("false write response, pause",a.awaitDrain),a.awaitDrain++,d=!0),o.pause())}function h(e){l("onerror",e),y(),t.removeListener("error",h),0===i(t,"error")&&t.emit("error",e)}function p(){t.removeListener("finish",g),y()}function g(){l("onfinish"),t.removeListener("close",p),y()}function y(){l("unpipe"),o.unpipe(t)}return o.on("data",A),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?n(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(t,"error",h),t.once("close",p),t.once("finish",g),t.emit("pipe",o),a.flowing||(l("pipe resume"),o.resume()),t},g.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;ot.destroy(e||void 0))),t}ignoreStream(e){if(!e)throw new Error("ObjectMultiplex - name must not be empty");if(this._substreams[e])throw new Error(`ObjectMultiplex - Substream for name "${e}" already exists`);this._substreams[e]=KC}_read(){}_write(e,t,n){const{name:r,data:i}=e;if(!r)return console.warn(`ObjectMultiplex - malformed chunk without name "${e}"`),n();const o=this._substreams[r];return o?(o!==KC&&o.push(i),n()):(console.warn(`ObjectMultiplex - orphaned data for stream "${r}"`),n())}}LB.ObjectMultiplex=zC;var VC=LB.ObjectMultiplex;const JC=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;JC.writable=e=>JC(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,JC.readable=e=>JC(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,JC.duplex=e=>JC.writable(e)&&JC.readable(e),JC.transform=e=>JC.duplex(e)&&"function"==typeof e._transform;var WC=JC,$C={},ZC={};Object.defineProperty(ZC,"__esModule",{value:!0});const XC=QC;ZC.default=function(e){if(!e||!e.engine)throw new Error("Missing engine parameter!");const{engine:t}=e,n=new XC.Duplex({objectMode:!0,read:()=>{},write:function(e,r,i){t.handle(e,((e,t)=>{n.push(t)})),i()}});return t.on&&t.on("notification",(e=>{n.push(e)})),n};var e_={},t_={};Object.defineProperty(t_,"__esModule",{value:!0});const n_=Iw;function r_(e,t,n){try{Reflect.apply(e,t,n)}catch(e){setTimeout((()=>{throw e}))}}class i_ extends n_.EventEmitter{emit(e,...t){let n="error"===e;const r=this._events;if(void 0!==r)n=n&&void 0===r.error;else if(!n)return!1;if(n){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;const n=new Error("Unhandled error."+(e?` (${e.message})`:""));throw n.context=e,n}const i=r[e];if(void 0===i)return!1;if("function"==typeof i)r_(i,this,t);else{const e=i.length,n=function(e){const t=e.length,n=new Array(t);for(let r=0;r{},write:function(n,o,a){let s=null;try{n.id?function(e){const n=t[e.id];n?(delete t[e.id],Object.assign(n.res,e),setTimeout(n.end)):console.warn(`StreamMiddleware - Unknown response id "${e.id}"`)}(n):function(n){(null==e?void 0:e.retryOnMessage)&&n.method===e.retryOnMessage&&Object.values(t).forEach((({req:e,retryCount:n=0})=>{if(e.id){if(n>=3)throw new Error(`StreamMiddleware - Retry limit exceeded for request id "${e.id}"`);t[e.id].retryCount=n+1,i(e)}})),r.emit("notification",n)}(n)}catch(e){s=e}a(s)}}),r=new a_.default;return{events:r,middleware:(e,n,r,o)=>{t[e.id]={req:e,res:n,next:r,end:o},i(e)},stream:n};function i(e){n.push(e)}};var u_=r&&r.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($C,"__esModule",{value:!0}),$C.createStreamMiddleware=$C.createEngineStream=void 0;const c_=u_(ZC);$C.createEngineStream=c_.default;const l_=u_(e_);$C.createStreamMiddleware=l_.default;var f_=DC,d_=LC,A_=o(Object.freeze({__proto__:null,default:{}})),h_=function(){},p_=/^v?\.0/.test(R.version),g_=function(e){return"function"==typeof e},y_=function(e){e()},m_=function(e,t){return e.pipe(t)},b_=r&&r.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(OB,"__esModule",{value:!0}),OB.StreamProvider=OB.AbstractStreamProvider=void 0;const v_=b_(VC),w_=WC,E_=$C,I_=b_((function(){var e,t=Array.prototype.slice.call(arguments),n=g_(t[t.length-1]||h_)&&t.pop()||h_;if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new Error("pump requires two streams per minimum");var r=t.map((function(i,o){var a=o0,(function(t){e||(e=t),t&&r.forEach(y_),a||(r.forEach(y_),n(e))}))}));return t.reduce(m_)})),B_=b_(bE),C_=vE,__=hw;class S_ extends __.BaseProvider{constructor(e,{jsonRpcStreamName:t,logger:n,maxEventListeners:r,rpcMiddleware:i}){if(super({logger:n,maxEventListeners:r,rpcMiddleware:i}),!w_.duplex(e))throw new Error(B_.default.errors.invalidDuplexStream());this._handleStreamDisconnect=this._handleStreamDisconnect.bind(this);const o=new v_.default;I_.default(e,o,e,this._handleStreamDisconnect.bind(this,"MetaMask")),this._jsonRpcConnection=E_.createStreamMiddleware({retryOnMessage:"METAMASK_EXTENSION_CONNECT_CAN_RETRY"}),I_.default(this._jsonRpcConnection.stream,o.createStream(t),this._jsonRpcConnection.stream,this._handleStreamDisconnect.bind(this,"MetaMask RpcProvider")),this._rpcEngine.push(this._jsonRpcConnection.middleware),this._jsonRpcConnection.events.on("notification",(t=>{const{method:n,params:r}=t;"metamask_accountsChanged"===n?this._handleAccountsChanged(r):"metamask_unlockStateChanged"===n?this._handleUnlockStateChanged(r):"metamask_chainChanged"===n?this._handleChainChanged(r):C_.EMITTED_NOTIFICATIONS.includes(n)?this.emit("message",{type:n,data:r}):"METAMASK_STREAM_FAILURE"===n&&e.destroy(new Error(B_.default.errors.permanentlyDisconnected()))}))}async _initializeStateAsync(){let e;try{e=await this.request({method:"metamask_getProviderState"})}catch(e){this._log.error("MetaMask: Failed to get initial state. Please report this bug.",e)}this._initializeState(e)}_handleStreamDisconnect(e,t){let n=`MetaMask: Lost connection to "${e}".`;(null==t?void 0:t.stack)&&(n+=`\n${t.stack}`),this._log.warn(n),this.listenerCount("error")>0&&this.emit("error",n),this._handleDisconnect(!1,t?t.message:void 0)}_handleChainChanged({chainId:e,networkVersion:t}={}){C_.isValidChainId(e)&&C_.isValidNetworkVersion(t)?"loading"===t?this._handleDisconnect(!0):super._handleChainChanged({chainId:e}):this._log.error(B_.default.errors.invalidNetworkParams(),{chainId:e,networkVersion:t})}}OB.AbstractStreamProvider=S_,OB.StreamProvider=class extends S_{async initialize(){return this._initializeStateAsync()}},function(e){var t=r&&r.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.MetaMaskInpageProvider=e.MetaMaskInpageProviderStreamName=void 0;const n=Sw,i=kB,o=t(bE),a=vE,s=OB;e.MetaMaskInpageProviderStreamName="metamask-provider";class u extends s.AbstractStreamProvider{constructor(t,{jsonRpcStreamName:n=e.MetaMaskInpageProviderStreamName,logger:r=console,maxEventListeners:o,shouldSendMetadata:s}={}){if(super(t,{jsonRpcStreamName:n,logger:r,maxEventListeners:o,rpcMiddleware:a.getDefaultExternalMiddleware(r)}),this._sentWarnings={enable:!1,experimentalMethods:!1,send:!1,events:{close:!1,data:!1,networkChanged:!1,notification:!1}},this._initializeStateAsync(),this.networkVersion=null,this.isMetaMask=!0,this._sendSync=this._sendSync.bind(this),this.enable=this.enable.bind(this),this.send=this.send.bind(this),this.sendAsync=this.sendAsync.bind(this),this._warnOfDeprecation=this._warnOfDeprecation.bind(this),this._metamask=this._getExperimentalApi(),this._jsonRpcConnection.events.on("notification",(e=>{const{method:t}=e;a.EMITTED_NOTIFICATIONS.includes(t)&&(this.emit("data",e),this.emit("notification",e.params.result))})),s)if("complete"===document.readyState)i.sendSiteMetadata(this._rpcEngine,this._log);else{const e=()=>{i.sendSiteMetadata(this._rpcEngine,this._log),window.removeEventListener("DOMContentLoaded",e)};window.addEventListener("DOMContentLoaded",e)}}sendAsync(e,t){this._rpcRequest(e,t)}addListener(e,t){return this._warnOfDeprecation(e),super.addListener(e,t)}on(e,t){return this._warnOfDeprecation(e),super.on(e,t)}once(e,t){return this._warnOfDeprecation(e),super.once(e,t)}prependListener(e,t){return this._warnOfDeprecation(e),super.prependListener(e,t)}prependOnceListener(e,t){return this._warnOfDeprecation(e),super.prependOnceListener(e,t)}_handleDisconnect(e,t){super._handleDisconnect(e,t),this.networkVersion&&!e&&(this.networkVersion=null)}_warnOfDeprecation(e){var t;!1===(null===(t=this._sentWarnings)||void 0===t?void 0:t.events[e])&&(this._log.warn(o.default.warnings.events[e]),this._sentWarnings.events[e]=!0)}enable(){return this._sentWarnings.enable||(this._log.warn(o.default.warnings.enableDeprecation),this._sentWarnings.enable=!0),new Promise(((e,t)=>{try{this._rpcRequest({method:"eth_requestAccounts",params:[]},a.getRpcPromiseCallback(e,t))}catch(e){t(e)}}))}send(e,t){return this._sentWarnings.send||(this._log.warn(o.default.warnings.sendDeprecation),this._sentWarnings.send=!0),"string"!=typeof e||t&&!Array.isArray(t)?e&&"object"==typeof e&&"function"==typeof t?this._rpcRequest(e,t):this._sendSync(e):new Promise(((n,r)=>{try{this._rpcRequest({method:e,params:t},a.getRpcPromiseCallback(n,r,!1))}catch(e){r(e)}}))}_sendSync(e){let t;switch(e.method){case"eth_accounts":t=this.selectedAddress?[this.selectedAddress]:[];break;case"eth_coinbase":t=this.selectedAddress||null;break;case"eth_uninstallFilter":this._rpcRequest(e,a.NOOP),t=!0;break;case"net_version":t=this.networkVersion||null;break;default:throw new Error(o.default.errors.unsupportedSync(e.method))}return{id:e.id,jsonrpc:e.jsonrpc,result:t}}_getExperimentalApi(){return new Proxy({isUnlocked:async()=>(this._state.initialized||await new Promise((e=>{this.on("_initialized",(()=>e()))})),this._state.isUnlocked),requestBatch:async e=>{if(!Array.isArray(e))throw n.ethErrors.rpc.invalidRequest({message:"Batch requests must be made with an array of request objects.",data:e});return new Promise(((t,n)=>{this._rpcRequest(e,a.getRpcPromiseCallback(t,n))}))}},{get:(e,t,...n)=>(this._sentWarnings.experimentalMethods||(this._log.warn(o.default.warnings.experimentalMethods),this._sentWarnings.experimentalMethods=!0),Reflect.get(e,t,...n))})}_handleChainChanged({chainId:e,networkVersion:t}={}){super._handleChainChanged({chainId:e,networkVersion:t}),this._state.isConnected&&t!==this.networkVersion&&(this.networkVersion=t,this._state.initialized&&this.emit("networkChanged",this.networkVersion))}}e.MetaMaskInpageProvider=u}(QB);var Q_=r&&r.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(OE,"__esModule",{value:!0}),OE.createExternalExtensionProvider=void 0;const k_=Q_(LE),M_=SB,x_=QB,R_=OB,D_=vE,T_=Q_({CHROME_ID:"nkbihfbeogaeaoehlefnkodbefgpgknn",FIREFOX_ID:"webextension@metamask.io"}),N_=M_.detect();OE.createExternalExtensionProvider=function(){let e;try{const t=function(){switch(null==N_?void 0:N_.name){case"chrome":default:return T_.default.CHROME_ID;case"firefox":return T_.default.FIREFOX_ID}}(),n=chrome.runtime.connect(t),r=new k_.default(n);e=new R_.StreamProvider(r,{jsonRpcStreamName:x_.MetaMaskInpageProviderStreamName,logger:console,rpcMiddleware:D_.getDefaultExternalMiddleware(console)}),e.initialize()}catch(e){throw console.dir("MetaMask connect error.",e),e}return e};var O_={},L_={};Object.defineProperty(L_,"__esModule",{value:!0}),L_.shimWeb3=void 0,L_.shimWeb3=function(e,t=console){let n=!1,r=!1;if(!window.web3){const i="__isMetaMaskShim__";let o={currentProvider:e};Object.defineProperty(o,i,{value:!0,enumerable:!0,configurable:!1,writable:!1}),o=new Proxy(o,{get:(o,a,...s)=>("currentProvider"!==a||n?"currentProvider"===a||a===i||r||(r=!0,t.error("MetaMask no longer injects web3. For details, see: https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3"),e.request({method:"metamask_logWeb3ShimUsage"}).catch((e=>{t.debug("MetaMask: Failed to log web3 shim usage.",e)}))):(n=!0,t.warn("You are accessing the MetaMask window.web3.currentProvider shim. This property is deprecated; use window.ethereum instead. For details, see: https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3")),Reflect.get(o,a,...s)),set:(...e)=>(t.warn("You are accessing the MetaMask window.web3 shim. This object is deprecated; use window.ethereum instead. For details, see: https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3"),Reflect.set(...e))}),Object.defineProperty(window,"web3",{value:o,enumerable:!1,configurable:!0,writable:!0})}},Object.defineProperty(O_,"__esModule",{value:!0}),O_.setGlobalProvider=O_.initializeProvider=void 0;const P_=QB,U_=L_;function F_(e){window.ethereum=e,window.dispatchEvent(new Event("ethereum#initialized"))}O_.initializeProvider=function({connectionStream:e,jsonRpcStreamName:t,logger:n=console,maxEventListeners:r=100,shouldSendMetadata:i=!0,shouldSetOnWindow:o=!0,shouldShimWeb3:a=!1}){const s=new P_.MetaMaskInpageProvider(e,{jsonRpcStreamName:t,logger:n,maxEventListeners:r,shouldSendMetadata:i}),u=new Proxy(s,{deleteProperty:()=>!0});return o&&F_(u),a&&U_.shimWeb3(u,n),u},O_.setGlobalProvider=F_,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.StreamProvider=e.shimWeb3=e.setGlobalProvider=e.MetaMaskInpageProvider=e.MetaMaskInpageProviderStreamName=e.initializeProvider=e.createExternalExtensionProvider=e.BaseProvider=void 0;const t=hw;Object.defineProperty(e,"BaseProvider",{enumerable:!0,get:function(){return t.BaseProvider}});const n=OE;Object.defineProperty(e,"createExternalExtensionProvider",{enumerable:!0,get:function(){return n.createExternalExtensionProvider}});const r=O_;Object.defineProperty(e,"initializeProvider",{enumerable:!0,get:function(){return r.initializeProvider}}),Object.defineProperty(e,"setGlobalProvider",{enumerable:!0,get:function(){return r.setGlobalProvider}});const i=QB;Object.defineProperty(e,"MetaMaskInpageProvider",{enumerable:!0,get:function(){return i.MetaMaskInpageProvider}}),Object.defineProperty(e,"MetaMaskInpageProviderStreamName",{enumerable:!0,get:function(){return i.MetaMaskInpageProviderStreamName}});const o=L_;Object.defineProperty(e,"shimWeb3",{enumerable:!0,get:function(){return o.shimWeb3}});const a=OB;Object.defineProperty(e,"StreamProvider",{enumerable:!0,get:function(){return a.StreamProvider}})}(Aw);class j_ extends Aw.MetaMaskInpageProvider{constructor({connectionStream:e,shouldSendMetadata:t,debug:n=!1,autoRequestAccounts:r=!1}){super(e,{logger:console,maxEventListeners:100,shouldSendMetadata:t}),this.state={debug:!1,autoRequestAccounts:!1,providerStateRequested:!1},n&&console.debug(`SDKProvider::constructor debug=${n} autoRequestAccounts=${r}`),this.state.autoRequestAccounts=r,this.state.debug=n}forceInitializeState(){return lw(this,void 0,void 0,(function*(){return this.state.debug&&console.debug(`SDKProvider::forceInitializeState() autoRequestAccounts=${this.state.autoRequestAccounts}`),this._initializeStateAsync()}))}_setConnected(){this.state.debug&&console.debug("SDKProvider::_setConnected()"),this._state.isConnected=!0}getState(){return this._state}getSDKProviderState(){return this.state}setSDKProviderState(e){this.state=Object.assign(Object.assign({},this.state),e)}handleDisconnect({terminate:e=!1}){!function({terminate:e=!1,instance:t}){const{state:n}=t;t.isConnected()?(n.debug&&console.debug(`SDKProvider::handleDisconnect() cleaning up provider state terminate=${e}`,t),e&&(t.chainId=null,t._state.accounts=null,t.selectedAddress=null,t._state.isUnlocked=!1,t._state.isPermanentlyDisconnected=!0,t._state.initialized=!1),t._handleAccountsChanged([]),t._state.isConnected=!1,t.emit("disconnect",Sw.ethErrors.provider.disconnected()),n.providerStateRequested=!1):n.debug&&console.debug("SDKProvider::handleDisconnect() not connected --- interrup disconnection")}({terminate:e,instance:this})}_initializeStateAsync(){return lw(this,void 0,void 0,(function*(){return function(e){var t;return lw(this,void 0,void 0,(function*(){void 0===e.state&&(e.state={debug:!1,autoRequestAccounts:!1,providerStateRequested:!1});const{state:n}=e;if(n.debug&&console.debug("SDKProvider::_initializeStateAsync()"),n.providerStateRequested)n.debug&&console.debug("SDKProvider::_initializeStateAsync() initialization already in progress");else{let r;n.providerStateRequested=!0;try{r=yield e.request({method:"metamask_getProviderState"})}catch(t){return e._log.error("MetaMask: Failed to get initial state. Please report this bug.",t),void(n.providerStateRequested=!1)}if(n.debug&&console.debug(`SDKProvider::_initializeStateAsync state selectedAddress=${e.selectedAddress} `,r),0===(null===(t=null==r?void 0:r.accounts)||void 0===t?void 0:t.length))if(n.debug&&console.debug("SDKProvider::_initializeStateAsync initial state doesn't contain accounts"),e.selectedAddress)n.debug&&console.debug("SDKProvider::_initializeStateAsync using instance.selectedAddress instead"),r.accounts=[e.selectedAddress];else{n.debug&&console.debug("SDKProvider::_initializeStateAsync Fetch accounts remotely.");const t=yield e.request({method:"eth_requestAccounts",params:[]});r.accounts=t}e._initializeState(r),n.providerStateRequested=!1}}))}(this)}))}_initializeState(e){return function(e,t,n){const{state:r}=e;return r.debug&&console.debug("SDKProvider::_initializeState() set state._initialized to false"),e._state.initialized=!1,t(n)}(this,super._initializeState.bind(this),e)}_handleChainChanged({chainId:e,networkVersion:t}={}){!function({instance:e,chainId:t,networkVersion:n,superHandleChainChanged:r}){const{state:i}=e;i.debug&&console.debug(`SDKProvider::_handleChainChanged chainId=${t} networkVersion=${n}`);let o=n;n||(console.info("forced network version to prevent provider error"),o="1"),e._state.isConnected=!0,e.emit("connect",{chainId:t}),r({chainId:t,networkVersion:o})}({instance:this,chainId:e,networkVersion:t,superHandleChainChanged:super._handleChainChanged.bind(this)})}}var q_={exports:{}};!function(e,t){!function(t){var n=Object.hasOwnProperty,r=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},i="object"==typeof R&&!0,o="function"==typeof Symbol,a="object"==typeof Reflect,s="function"==typeof setImmediate?setImmediate:setTimeout,u=o?a&&"function"==typeof Reflect.ownKeys?Reflect.ownKeys:function(e){var t=Object.getOwnPropertyNames(e);return t.push.apply(t,Object.getOwnPropertySymbols(e)),t}:Object.keys;function c(){this._events={},this._conf&&l.call(this,this._conf)}function l(e){e&&(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),e.maxListeners!==t&&(this._maxListeners=e.maxListeners),e.wildcard&&(this.wildcard=e.wildcard),e.newListener&&(this._newListener=e.newListener),e.removeListener&&(this._removeListener=e.removeListener),e.verboseMemoryLeak&&(this.verboseMemoryLeak=e.verboseMemoryLeak),e.ignoreErrors&&(this.ignoreErrors=e.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function f(e,t){var n="(node) warning: possible EventEmitter memory leak detected. "+e+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(n+=" Event name: "+t+"."),void 0!==R&&R.emitWarning){var r=new Error(n);r.name="MaxListenersExceededWarning",r.emitter=this,r.count=e,R.emitWarning(r)}else console.error(n),console.trace&&console.trace()}var d=function(e,t,n){var r=arguments.length;switch(r){case 0:return[];case 1:return[e];case 2:return[e,t];case 3:return[e,t,n];default:for(var i=new Array(r);r--;)i[r]=arguments[r];return i}};function A(e,n){for(var r={},i=e.length,o=n?n.length:0,a=0;a0;)if(o===e[a])return r;i(t)}}Object.assign(h.prototype,{subscribe:function(e,t,n){var r=this,i=this._target,o=this._emitter,a=this._listeners,s=function(){var r=d.apply(null,arguments),a={data:r,name:t,original:e};n?!1!==n.call(i,a)&&o.emit.apply(o,[a.name].concat(r)):o.emit.apply(o,[t].concat(r))};if(a[e])throw Error("Event '"+e+"' is already listening");this._listenersCount++,o._newListener&&o._removeListener&&!r._onNewListener?(this._onNewListener=function(n){n===t&&null===a[e]&&(a[e]=s,r._on.call(i,e,s))},o.on("newListener",this._onNewListener),this._onRemoveListener=function(n){n===t&&!o.hasListeners(n)&&a[e]&&(a[e]=null,r._off.call(i,e,s))},a[e]=null,o.on("removeListener",this._onRemoveListener)):(a[e]=s,r._on.call(i,e,s))},unsubscribe:function(e){var t,n,r,i=this,o=this._listeners,a=this._emitter,s=this._off,c=this._target;if(e&&"string"!=typeof e)throw TypeError("event must be a string");function l(){i._onNewListener&&(a.off("newListener",i._onNewListener),a.off("removeListener",i._onRemoveListener),i._onNewListener=null,i._onRemoveListener=null);var e=E.call(a,i);a._observers.splice(e,1)}if(e){if(!(t=o[e]))return;s.call(c,e,t),delete o[e],--this._listenersCount||l()}else{for(r=(n=u(o)).length;r-- >0;)e=n[r],s.call(c,e,o[e]);this._listeners={},this._listenersCount=0,l()}}});var m=y(["function"]),v=y(["object","function"]);function w(e,t,n){var r,i,o,a=0,s=new e((function(u,c,l){function f(){i&&(i=null),a&&(clearTimeout(a),a=0)}n=p(n,{timeout:0,overload:!1},{timeout:function(e,t){return("number"!=typeof(e*=1)||e<0||!Number.isFinite(e))&&t("timeout must be a positive number"),e}}),r=!n.overload&&"function"==typeof e.prototype.cancel&&"function"==typeof l;var d=function(e){f(),u(e)},A=function(e){f(),c(e)};r?t(d,A,l):(i=[function(e){A(e||Error("canceled"))}],t(d,A,(function(e){if(o)throw Error("Unable to subscribe on cancel event asynchronously");if("function"!=typeof e)throw TypeError("onCancel callback must be a function");i.push(e)})),o=!0),n.timeout>0&&(a=setTimeout((function(){var e=Error("timeout");e.code="ETIMEDOUT",a=0,s.cancel(e),c(e)}),n.timeout))}));return r||(s.cancel=function(e){if(i){for(var t=i.length,n=1;n0;)"_listeners"!==(A=m[s])&&(b=I(e,t,n[A],r+1,i))&&(v?v.push.apply(v,b):v=b);return v}if("**"===w){for((y=r+1===i||r+2===i&&"*"===E)&&n._listeners&&(v=I(e,t,n,i,i)),s=(m=u(n)).length;s-- >0;)"_listeners"!==(A=m[s])&&("*"===A||"**"===A?(n[A]._listeners&&!y&&(b=I(e,t,n[A],i,i))&&(v?v.push.apply(v,b):v=b),b=I(e,t,n[A],r,i)):b=I(e,t,n[A],A===E?r+2:r,i),b&&(v?v.push.apply(v,b):v=b));return v}n[w]&&(v=I(e,t,n[w],r+1,i))}if((h=n["*"])&&I(e,t,h,r+1,i),p=n["**"])if(r0;)"_listeners"!==(A=m[s])&&(A===E?I(e,t,p[A],r+2,i):A===w?I(e,t,p[A],r+1,i):((g={})[A]=p[A],I(e,t,{"**":g},r+1,i)));else p._listeners?I(e,t,p,i,i):p["*"]&&p["*"]._listeners&&I(e,t,p["*"],i,i);return v}function B(e,t,n){var r,i,o=0,a=0,s=this.delimiter,u=s.length;if("string"==typeof e)if(-1!==(r=e.indexOf(s))){i=new Array(5);do{i[o++]=e.slice(a,r),a=r+u}while(-1!==(r=e.indexOf(s,a)));i[o++]=e.slice(a)}else i=[e],o=1;else i=e,o=e.length;if(o>1)for(r=0;r+10&&l._listeners.length>this._maxListeners&&(l._listeners.warned=!0,f.call(this,l._listeners.length,c))):l._listeners=t,!0;return!0}function C(e,t,n,r){for(var i,o,a,s,c=u(e),l=c.length,f=e._listeners;l-- >0;)i=e[o=c[l]],a="_listeners"===o?n:n?n.concat(o):[o],s=r||"symbol"==typeof o,f&&t.push(s?a:a.join(this.delimiter)),"object"==typeof i&&C.call(this,i,t,a,s);return t}function _(e){for(var t,n,r,i=u(e),o=i.length;o-- >0;)(t=e[n=i[o]])&&(r=!0,"_listeners"===n||_(t)||delete e[n]);return r}function S(e,t,n){this.emitter=e,this.event=t,this.listener=n}function Q(e,n,r){if(!0===r)a=!0;else if(!1===r)o=!0;else{if(!r||"object"!=typeof r)throw TypeError("options should be an object or true");var o=r.async,a=r.promisify,u=r.nextTick,c=r.objectify}if(o||u||a){var l=n,f=n._origin||n;if(u&&!i)throw Error("process.nextTick is not supported");a===t&&(a="AsyncFunction"===n.constructor.name),n=function(){var e=arguments,t=this,n=this.event;return a?u?Promise.resolve():new Promise((function(e){s(e)})).then((function(){return t.event=n,l.apply(t,e)})):(u?b:s)((function(){t.event=n,l.apply(t,e)}))},n._async=!0,n._origin=f}return[n,c?new S(this,e,n):this]}function k(e){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,l.call(this,e)}S.prototype.off=function(){return this.emitter.off(this.event,this.listener),this},k.EventEmitter2=k,k.prototype.listenTo=function(e,n,i){if("object"!=typeof e)throw TypeError("target musts be an object");var o=this;function a(t){if("object"!=typeof t)throw TypeError("events must be an object");var n,r=i.reducers,a=E.call(o,e);n=-1===a?new h(o,e,i):o._observers[a];for(var s,c=u(t),l=c.length,f="function"==typeof r,d=0;d0;)r=n[i],e&&r._target!==e||(r.unsubscribe(t),o=!0);return o},k.prototype.delimiter=".",k.prototype.setMaxListeners=function(e){e!==t&&(this._maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},k.prototype.getMaxListeners=function(){return this._maxListeners},k.prototype.event="",k.prototype.once=function(e,t,n){return this._once(e,t,!1,n)},k.prototype.prependOnceListener=function(e,t,n){return this._once(e,t,!0,n)},k.prototype._once=function(e,t,n,r){return this._many(e,1,t,n,r)},k.prototype.many=function(e,t,n,r){return this._many(e,t,n,!1,r)},k.prototype.prependMany=function(e,t,n,r){return this._many(e,t,n,!0,r)},k.prototype._many=function(e,t,n,r,i){var o=this;if("function"!=typeof n)throw new Error("many only accepts instances of Function");function a(){return 0==--t&&o.off(e,a),n.apply(this,arguments)}return a._origin=n,this._on(e,a,r,i)},k.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var e,t,n,r,i,a,s=arguments[0],u=this.wildcard;if("newListener"===s&&!this._newListener&&!this._events.newListener)return!1;if(u&&(e=s,"newListener"!==s&&"removeListener"!==s&&"object"==typeof s)){if(n=s.length,o)for(r=0;r3)for(t=new Array(f-1),i=1;i3)for(n=new Array(d-1),a=1;a0&&this._events[e].length>this._maxListeners&&(this._events[e].warned=!0,f.call(this,this._events[e].length,e))):this._events[e]=n,a)},k.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var n,i=[];if(this.wildcard){var o="string"==typeof e?e.split(this.delimiter):e.slice();if(!(i=I.call(this,null,o,this.listenerTree,0)))return this}else{if(!this._events[e])return this;n=this._events[e],i.push({_listeners:n})}for(var a=0;a0){for(n=0,r=(t=this._all).length;n0;)"function"==typeof(r=s[n[o]])?i.push(r):i.push.apply(i,r);return i}if(this.wildcard){if(!(a=this.listenerTree))return[];var c=[],l="string"==typeof e?e.split(this.delimiter):e.slice();return I.call(this,c,l,a,0),c}return s&&(r=s[e])?"function"==typeof r?[r]:r:[]},k.prototype.eventNames=function(e){var t=this._events;return this.wildcard?C.call(this,this.listenerTree,[],null,e):t?u(t):[]},k.prototype.listenerCount=function(e){return this.listeners(e).length},k.prototype.hasListeners=function(e){if(this.wildcard){var n=[],r="string"==typeof e?e.split(this.delimiter):e.slice();return I.call(this,n,r,this.listenerTree,0),n.length>0}var i=this._events,o=this._all;return!!(o&&o.length||i&&(e===t?u(i).length:i[e]))},k.prototype.listenersAny=function(){return this._all?this._all:[]},k.prototype.waitFor=function(e,n){var r=this,i=typeof n;return"number"===i?n={timeout:n}:"function"===i&&(n={filter:n}),w((n=p(n,{timeout:0,filter:t,handleError:!1,Promise:Promise,overload:!1},{filter:m,Promise:g})).Promise,(function(t,i,o){function a(){var o=n.filter;if(!o||o.apply(r,arguments))if(r.off(e,a),n.handleError){var s=arguments[0];s?i(s):t(d.apply(null,arguments).slice(1))}else t(d.apply(null,arguments))}o((function(){r.off(e,a)})),r._on(e,a,!1)}),{timeout:n.timeout,overload:n.overload})};var M=k.prototype;Object.defineProperties(k,{defaultMaxListeners:{get:function(){return M._maxListeners},set:function(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw TypeError("n must be a non-negative number");M._maxListeners=e},enumerable:!0},once:{value:function(e,t,n){return w((n=p(n,{Promise:Promise,timeout:0,overload:!1},{Promise:g})).Promise,(function(n,r,i){var o;if("function"==typeof e.addEventListener)return o=function(){n(d.apply(null,arguments))},i((function(){e.removeEventListener(t,o)})),void e.addEventListener(t,o,{once:!0});var a,s=function(){a&&e.removeListener("error",a),n(d.apply(null,arguments))};"error"!==t&&(a=function(n){e.removeListener(t,s),r(n)},e.once("error",a)),i((function(){a&&e.removeListener("error",a),e.removeListener(t,s)})),e.once(t,s)}),{timeout:n.timeout,overload:n.overload})},writable:!0,configurable:!0}}),Object.defineProperties(M,{_maxListeners:{value:10,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),"function"==typeof t&&t.amd?t((function(){return k})):e.exports=k}()}(q_);var G_=i(q_.exports);function H_(e){return H_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H_(e)}function Y_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K_(e){var t=function(e,t){if("object"!==H_(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==H_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===H_(t)?t:String(t)}function z_(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};Y_(this,e),this.init(t,n)}return V_(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||iS,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),r=1;r-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function fS(e,t,n){var r=lS(e,t,Object);r.obj[r.k]=n}function dS(e,t){var n=lS(e,t),r=n.obj,i=n.k;if(r)return r[i]}function AS(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):AS(e[r],t[r],n):e[r]=t[r]);return e}function hS(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var pS={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function gS(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return pS[e]})):e}var yS="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,mS=[" ",",","?","!",";"];function bS(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;oo+a;)a++,u=i[s=r.slice(o,o+a).join(n)];if(void 0===u)return;if(null===u)return null;if(t.endsWith(s)){if("string"==typeof u)return u;if(s&&"string"==typeof u[s])return u[s]}var c=r.slice(o+a).join(n);return c?bS(u,c,n):void 0}i=i[r[o]]}return i}}function vS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wS(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Y_(this,n),r=t.call(this),yS&&sS.call(J_(r)),r.data=e||{},r.options=i,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return V_(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=dS(this.data,a);return s||!o||"string"!=typeof n?s:bS(this.data&&this.data[e]&&this.data[e][t],n,i)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),fS(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=dS(this.data,a)||{};r?AS(s,n,i):s=wS(wS({},s),n),fS(this.data,a,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?wS(wS({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(sS),IS={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))})),t}};function BS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function CS(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return Y_(this,n),r=t.call(this),yS&&sS.call(J_(r)),function(e,t,n){["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(e){t[e]&&(n[e]=t[e])}))}(0,e,J_(r)),r.options=i,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=aS.create("translator"),r}return V_(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=mS.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var i=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}(e,n,r));if(o&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:i};var u=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),e=u.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,t,r){var i=this;if("object"!==H_(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"===H_(t)&&(t=CS({},t)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),u=s.key,c=s.namespaces,l=c[c.length-1],f=t.lng||this.language,d=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(d){var A=t.nsSeparator||this.options.nsSeparator;return o?{res:"".concat(l).concat(A).concat(u),usedKey:u,exactUsedKey:u,usedLng:f,usedNS:l}:"".concat(l).concat(A).concat(u)}return o?{res:u,usedKey:u,exactUsedKey:u,usedLng:f,usedNS:l}:u}var h=this.resolve(e,t),p=h&&h.res,g=h&&h.usedKey||u,y=h&&h.exactUsedKey||u,m=Object.prototype.toString.apply(p),b=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject;if(v&&p&&"string"!=typeof p&&"boolean"!=typeof p&&"number"!=typeof p&&["[object Number]","[object Function]","[object RegExp]"].indexOf(m)<0&&("string"!=typeof b||"[object Array]"!==m)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,p,CS(CS({},t),{},{ns:c})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");return o?(h.res=w,h):w}if(a){var E="[object Array]"===m,I=E?[]:{},B=E?y:g;for(var C in p)if(Object.prototype.hasOwnProperty.call(p,C)){var _="".concat(B).concat(a).concat(C);I[C]=this.translate(_,CS(CS({},t),{joinArrays:!1,ns:c})),I[C]===_&&(I[C]=p[C])}p=I}}else if(v&&"string"==typeof b&&"[object Array]"===m)(p=p.join(b))&&(p=this.extendTranslation(p,e,t,r));else{var S=!1,Q=!1,k=void 0!==t.count&&"string"!=typeof t.count,M=n.hasDefaultValue(t),x=k?this.pluralResolver.getSuffix(f,t.count,t):"",R=t["defaultValue".concat(x)]||t.defaultValue;!this.isValidLookup(p)&&M&&(S=!0,p=R),this.isValidLookup(p)||(Q=!0,p=u);var D=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&Q?void 0:p,T=M&&R!==p&&this.options.updateMissing;if(Q||S||T){if(this.logger.log(T?"updateKey":"missingKey",f,l,u,T?R:p),a){var N=this.resolve(u,CS(CS({},t),{},{keySeparator:!1}));N&&N.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var O=[],L=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&L&&L[0])for(var P=0;P1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var u=a.extractFromKey(e,s),c=u.key;n=c;var l=u.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,d=f&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),A=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach((function(e){a.isValidLookup(t)||(o=e,!_S["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(_S["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!a.isValidLookup(t)){i=n;var o,u=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(u,c,n,e,s);else{var l;f&&(l=a.pluralResolver.getSuffix(n,s.count,s));var h="".concat(a.options.pluralSeparator,"zero");if(f&&(u.push(c+l),d&&u.push(c+h)),A){var p="".concat(c).concat(a.options.contextSeparator).concat(s.context);u.push(p),f&&(u.push(p+l),d&&u.push(p+h))}}for(;o=u.pop();)a.isValidLookup(t)||(r=o,t=a.getResource(n,e,o,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}]),n}(sS);function QS(e){return e.charAt(0).toUpperCase()+e.slice(1)}var kS=function(){function e(t){Y_(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=aS.create("languageUtils")}return V_(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=QS(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=QS(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=QS(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){return e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:0===e.indexOf(r)?e:void 0}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&o(n.formatLanguageCode(e))})),i}}]),e}(),MS=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],xS={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},RS=["v1","v2","v3"],DS={zero:0,one:1,two:2,few:3,many:4,other:5},TS=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Y_(this,e),this.languageUtils=t,this.options=r,this.logger=aS.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},MS.forEach((function(e){e.lngs.forEach((function(t){n[t]={numbers:e.nr,plurals:xS[e.fc]}}))})),n)}return V_(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return DS[e]-DS[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!RS.includes(this.options.compatibilityJSON)}}]),e}();function NS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function OS(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=function(e,t,n){var r=dS(e,n);return void 0!==r?r:dS(t,n)}(e,t,n);return!o&&i&&"string"==typeof n&&void 0===(o=bS(e,n,r))&&(o=bS(t,n,r)),o}var PS=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Y_(this,e),this.logger=aS.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return V_(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:gS,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?hS(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?hS(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?hS(t.nestingPrefix):t.nestingPrefixEscaped||hS("$t("),this.nestingSuffix=t.nestingSuffix?hS(t.nestingSuffix):t.nestingSuffixEscaped||hS(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,o,a,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(e.indexOf(s.formatSeparator)<0){var i=LS(t,u,e,s.options.keySeparator,s.options.ignoreJSONStructure);return s.alwaysFormat?s.format(i,void 0,n,OS(OS(OS({},r),t),{},{interpolationkey:e})):i}var o=e.split(s.formatSeparator),a=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format(LS(t,u,a,s.options.keySeparator,s.options.ignoreJSONStructure),c,n,OS(OS(OS({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(a=0;i=t.regex.exec(e);){var n=i[1].trim();if(void 0===(o=l(n)))if("function"==typeof f){var u=f(e,i,r);o="string"==typeof u?u:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))o="";else{if(d){o=i[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"==typeof o||s.useRawValueToEscape||(o=cS(o));var c=t.safeValue(o);if(e=e.replace(i[0],c),d?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,i,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0];var a=(o=this.interpolate(o,i)).match(/'/g),s=o.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(o=o.replace(/'/g,'"'));try{i=JSON.parse(o),t&&(i=OS(OS({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete i.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){var u=[];(i=(i=OS({},a)).replace&&"string"!=typeof i.replace?i.replace:i).applyPostProcessor=!1,delete i.defaultValue;var c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var l=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=l.shift(),u=l,c=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=cS(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=u.reduce((function(e,t){return o.format(e,t,a.lng,OS(OS({},a),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function US(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FS(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};Y_(this,e),this.logger=aS.create("formatter"),this.options=t,this.formats={number:jS((function(e,t){var n=new Intl.NumberFormat(e,FS({},t));return function(e){return n.format(e)}})),currency:jS((function(e,t){var n=new Intl.NumberFormat(e,FS(FS({},t),{},{style:"currency"}));return function(e){return n.format(e)}})),datetime:jS((function(e,t){var n=new Intl.DateTimeFormat(e,FS({},t));return function(e){return n.format(e)}})),relativetime:jS((function(e,t){var n=new Intl.RelativeTimeFormat(e,FS({},t));return function(e){return n.format(e,t.range||"day")}})),list:jS((function(e,t){var n=new Intl.ListFormat(e,FS({},t));return function(e){return n.format(e)}}))},this.init(t)}return V_(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=jS(t)}},{key:"format",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.split(this.formatSeparator).reduce((function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((function(e){if(e){var t=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return tS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tS(e,t):void 0}}(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.")}()}(e.split(":")),r=t[0],i=t.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=i),"false"===i&&(n[r.trim()]=!1),"true"===i&&(n[r.trim()]=!0),isNaN(i)||(n[r.trim()]=parseInt(i,10))}}))}return{formatName:t,formatOptions:n}}(t),a=o.formatName,s=o.formatOptions;if(r.formats[a]){var u=e;try{var c=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},l=c.locale||c.lng||i.locale||i.lng||n;u=r.formats[a](e,l,FS(FS(FS({},s),i),c))}catch(e){r.logger.warn(e)}return u}return r.logger.warn("there was no format function for ".concat(a)),e}),e);return o}}]),e}();function GS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function HS(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{};return Y_(this,n),o=t.call(this),yS&&sS.call(J_(o)),o.backend=e,o.store=r,o.services=i,o.languageUtils=i.languageUtils,o.options=a,o.logger=aS.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=a.maxParallelReads||10,o.readingCalls=0,o.maxRetries=a.maxRetries>=0?a.maxRetries:5,o.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(i,a.backend,a),o}return V_(n,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o={},a={},s={},u={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?void 0===a[s]&&(a[s]=!0):(i.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===u[t]&&(u[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(u)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var i=lS(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],o[a].push(n)}(n.loaded,[i],o),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:e,ns:t,fcName:n,tried:i,wait:o,callback:a});else{this.readingCalls++;var s=function(s,u){if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}s&&u&&i2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){var s=HS(HS({},o),{},{isUpdate:i}),u=this.backend.create.bind(this.backend);if(u.length<6)try{var c;(c=5===u.length?u(e,t,n,r,s):u(e,t,n,r))&&"function"==typeof c.then?c.then((function(e){return a(null,e)})).catch(a):a(null,c)}catch(e){a(e)}else u(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}]),n}(sS);function KS(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===H_(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===H_(e[2])||"object"===H_(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function zS(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function VS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function JS(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(Y_(this,n),e=t.call(this),yS&&sS.call(J_(e)),e.options=zS(i),e.services={},e.logger=aS,e.modules={external:[]},r=J_(e),Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((function(e){"function"==typeof r[e]&&(r[e]=r[e].bind(r))})),o&&!e.isInitialized&&!i.isClone){if(!e.options.initImmediate)return e.init(i,o),Z_(e,J_(e));setTimeout((function(){e.init(i,o)}),0)}return e}return V_(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=KS();function i(e){return e?"function"==typeof e?new e:e:null}if(this.options=JS(JS(JS({},r),this.options),zS(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=JS(JS({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var o;this.modules.logger?aS.init(i(this.modules.logger),this.options):aS.init(null,this.options),this.modules.formatter?o=this.modules.formatter:"undefined"!=typeof Intl&&(o=qS);var a=new kS(this.options);this.store=new ES(this.options.resources,this.options);var s=this.services;s.logger=aS,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new TS(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!o||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(s.formatter=i(o),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new PS(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new YS(i(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i0&&"dev"!==u[0]&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var c=uS(),l=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:WS,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var i=[],o=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};r?o(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return o(e)})),this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(i,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=uS();return e||(e=this.languages),t||(t=this.options.ns),n||(n=WS),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&IS.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=uS();this.emit("languageChanging",e);var i=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(o){e||o||!n.services.languageDetector||(o=[]);var a="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);a&&(n.language||i(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,o){o?(i(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,i=function e(t,i){var o;if("object"!==H_(i)){for(var a=arguments.length,s=new Array(a>2?a-2:0),u=2;u1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=n.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!(!this.hasResourceBundle(r,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!a(r,e)||i&&!a(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=uS();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=uS();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";var t=this.services&&this.services.languageUtils||new kS(KS());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:WS,i=JS(JS(JS({},this.options),t),{isClone:!0}),o=new n(i);return void 0===t.debug&&void 0===t.prefix||(o.logger=o.logger.clone(t)),["store","services","language"].forEach((function(t){o[t]=e[t]})),o.services=JS({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new SS(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var ZS=$S.createInstance();ZS.createInstance=$S.createInstance;var XS=ZS.createInstance;ZS.dir,ZS.init,ZS.loadResources,ZS.reloadResources,ZS.use,ZS.changeLanguage,ZS.getFixedT,ZS.t,ZS.exists,ZS.setDefaultNamespace,ZS.hasLoadedNamespace,ZS.loadNamespaces,ZS.loadLanguages;var eQ="0.14.3";const tQ={eth_requestAccounts:!0,eth_sendTransaction:!0,eth_signTransaction:!0,eth_sign:!0,eth_accounts:!0,personal_sign:!0,eth_signTypedData:!0,eth_signTypedData_v3:!0,eth_signTypedData_v4:!0,wallet_watchAsset:!0,wallet_addEthereumChain:!0,wallet_switchEthereumChain:!0,metamask_connectSign:!0,metamask_connectWith:!0,metamask_batch:!0,metamask_open:!0},nQ=".sdk-comm",rQ="providerType",iQ={METAMASK_GETPROVIDERSTATE:"metamask_getProviderState",METAMASK_CONNECTSIGN:"metamask_connectSign",METAMASK_CONNECTWITH:"metamask_connectWith",METAMASK_OPEN:"metamask_open",METAMASK_BATCH:"metamask_batch",PERSONAL_SIGN:"personal_sign",ETH_REQUESTACCOUNTS:"eth_requestAccounts",ETH_ACCOUNTS:"eth_accounts",ETH_CHAINID:"eth_chainId"},oQ="chainChanged",aQ="accountsChanged",sQ="disconnect",uQ="connect",cQ="connected";var lQ,fQ,dQ,AQ,hQ;function pQ(t){var n,r;return lw(this,void 0,void 0,(function*(){t.debug&&console.debug("SDK::connectWithExtensionProvider()",t),t.sdkProvider=t.activeProvider,t.activeProvider=window.extension,window.ethereum=window.extension;try{const e=yield null===(n=window.extension)||void 0===n?void 0:n.request({method:"eth_requestAccounts"});t.debug&&console.debug("SDK::connectWithExtensionProvider() accounts",e)}catch(e){return void console.warn("SDK::connectWithExtensionProvider() can't request accounts error",e)}localStorage.setItem(rQ,"extension"),t.extensionActive=!0,t.emit(e.EventType.PROVIDER_UPDATE,e.PROVIDER_UPDATE_TYPE.EXTENSION),t.options.enableAnalytics&&(null===(r=t.analytics)||void 0===r||r.send({event:Jv.SDK_USE_EXTENSION}))}))}e.PROVIDER_UPDATE_TYPE=void 0,(lQ=e.PROVIDER_UPDATE_TYPE||(e.PROVIDER_UPDATE_TYPE={})).TERMINATE="terminate",lQ.EXTENSION="extension",lQ.INITIALIZED="initialized";const gQ="sdk",yQ="NONE";class mQ{constructor(e){var t;fQ.set(this,void 0),dQ.set(this,Tv),AQ.set(this,void 0),hQ.set(this,void 0),dw(this,fQ,e.debug,"f"),dw(this,dQ,e.serverURL,"f"),dw(this,hQ,e.metadata||void 0,"f"),dw(this,AQ,null===(t=e.enabled)||void 0===t||t,"f")}send({event:e}){fw(this,AQ,"f")&&fn({id:gQ,event:e,commLayerVersion:yQ,originationInfo:fw(this,hQ,"f")},fw(this,dQ,"f")).catch((e=>{fw(this,fQ,"f")&&console.error(e)}))}}var bQ;fQ=new WeakMap,dQ=new WeakMap,AQ=new WeakMap,hQ=new WeakMap,function(e){e.INPAGE="metamask-inpage",e.CONTENT_SCRIPT="metamask-contentscript",e.PROVIDER="metamask-provider"}(bQ||(bQ={}));const vQ="https://metamask.app.link/connect",wQ="metamask://connect",EQ={NAME:"MetaMask Main",RDNS:"io.metamask"},IQ=/(?:^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}$)|(?:^0{8}-0{4}-0{4}-0{4}-0{12}$)/u,BQ=36e5;class CQ{constructor({shouldSetOnWindow:e,connectionStream:t,shouldSendMetadata:n=!1,shouldShimWeb3:r,debug:i=!1}){this.debug=!1,this.debug=i;const o=new j_({connectionStream:t,shouldSendMetadata:n,shouldSetOnWindow:e,shouldShimWeb3:r,autoRequestAccounts:!1,debug:i});this.debug=i;const a=new Proxy(o,{deleteProperty:()=>!0});this.provider=a,e&&"undefined"!=typeof window&&Aw.setGlobalProvider(this.provider),r&&"undefined"!=typeof window&&Aw.shimWeb3(this.provider),this.provider.on("_initialized",(()=>{const e={chainId:this.provider.chainId,isConnected:this.provider.isConnected(),isMetaNask:this.provider.isMetaMask,selectedAddress:this.provider.selectedAddress,networkVersion:this.provider.networkVersion};this.debug&&console.info("Ethereum provider initialized",e)}))}static init(e){var t;return e.debug&&console.debug("Ethereum::init()"),this.instance=new CQ(e),null===(t=this.instance)||void 0===t?void 0:t.provider}static destroy(){CQ.instance=void 0}static getInstance(){var e;if(!(null===(e=this.instance)||void 0===e?void 0:e.provider))throw new Error("Ethereum instance not intiialized - call Ethereum.factory first.");return this.instance}static getProvider(){var e;if(!(null===(e=this.instance)||void 0===e?void 0:e.provider))throw new Error("Ethereum instance not intiialized - call Ethereum.factory first.");return this.instance.provider}}class _Q extends nB{constructor({name:t,remote:n,platformManager:r,debug:i}){super({objectMode:!0}),this.state={_name:null,remote:null,platformManager:null,debug:!1},this.state._name=t,this.state.remote=n,this.state.debug=i,this.state.platformManager=r,this._onMessage=this._onMessage.bind(this),this.state.remote.on(e.EventType.MESSAGE,this._onMessage)}_write(e,t,n){return lw(this,void 0,void 0,(function*(){return function(e,t,n,r){var i,o,a,s,u,c,l,f,d,A,h,p,g,y;return lw(this,void 0,void 0,(function*(){const n=null===(i=e.state.remote)||void 0===i?void 0:i.isReady(),m=null===(o=e.state.remote)||void 0===o?void 0:o.isConnected(),b=null===(a=e.state.remote)||void 0===a?void 0:a.isPaused(),v=CQ.getProvider(),w=null===(s=e.state.remote)||void 0===s?void 0:s.getChannelId(),E=null===(u=e.state.remote)||void 0===u?void 0:u.isAuthorized(),{method:I,data:B}=(e=>{var t;let n;return He.isBuffer(e)?(n=e.toJSON(),n._isBuffer=!0):n=e,{method:null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.method,data:n}})(t);if(e.state.debug&&console.debug(`RPCMS::_write method='${I}' isRemoteReady=${n} channelId=${w} isSocketConnected=${m} isRemotePaused=${b} providerConnected=${v.isConnected()}`,t),!w)return e.state.debug&&I!==iQ.METAMASK_GETPROVIDERSTATE&&console.warn("RPCMS::_write Invalid channel id -- undefined"),r();e.state.debug&&console.debug(`RPCMS::_write remote.isPaused()=${null===(c=e.state.remote)||void 0===c?void 0:c.isPaused()} authorized=${E} ready=${n} socketConnected=${m}`,t);try{if(null===(l=e.state.remote)||void 0===l||l.sendMessage(null==B?void 0:B.data).then((()=>{e.state.debug&&console.debug(`RCPMS::_write ${I} sent successfully`)})).catch((e=>{console.error("RCPMS::_write error sending message",e)})),!(null===(f=e.state.platformManager)||void 0===f?void 0:f.isSecure()))return e.state.debug&&console.log(`RCPMS::_write unsecure platform for method ${I} -- return callback`),r();if(!m&&!n)return e.state.debug&&console.debug(`RCPMS::_write invalid connection status targetMethod=${I} socketConnected=${m} ready=${n} providerConnected=${v.isConnected()}\n\n`),r();if(!m&&n)return console.warn("RCPMS::_write invalid socket status -- shouln't happen"),r();const t=null!==(h=null===(A=null===(d=e.state.remote)||void 0===d?void 0:d.getKeyInfo())||void 0===A?void 0:A.ecies.public)&&void 0!==h?h:"",i=encodeURI(`channelId=${w}&pubkey=${t}&comm=socket&t=d`);tQ[I]?(e.state.debug&&console.debug(`RCPMS::_write redirect link for '${I}' socketConnected=${m}`,`connect?${i}`),null===(p=e.state.platformManager)||void 0===p||p.openDeeplink(`${vQ}?${i}`,`${wQ}?${i}`,"_self")):(null===(g=e.state.remote)||void 0===g?void 0:g.isPaused())?(e.state.debug&&console.debug(`RCPMS::_write MM is PAUSED! deeplink with connect! targetMethod=${I}`),null===(y=e.state.platformManager)||void 0===y||y.openDeeplink(`${vQ}?redirect=true&${i}`,`${wQ}?redirect=true&${i}`,"_self")):console.debug(`RCPMS::_write method ${I} doesn't need redirect.`)}catch(t){return e.state.debug&&console.error("RCPMS::_write error",t),r(new Error("RemoteCommunicationPostMessageStream - disconnected"))}return r()}))}(this,e,0,n)}))}_read(){}_onMessage(e){return function(e,t){try{if(e.state.debug&&console.debug("[RCPMS] _onMessage ",t),!t||"object"!=typeof t)return;if("object"!=typeof(null==t?void 0:t.data))return;if(!(null==t?void 0:t.name))return;if((null==t?void 0:t.name)!==bQ.PROVIDER)return;if(He.isBuffer(t)){const n=He.from(t);e.push(n)}else e.push(t)}catch(t){e.state.debug&&console.debug("RCPMS ignore message error",t)}}(this,e)}start(){}}var SQ={exports:{}};!function(e,t){var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,i=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==n&&n,r="URLSearchParams"in n,i="Symbol"in n&&"iterator"in Symbol,o="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in n,s="ArrayBuffer"in n;if(s)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function A(e){this.map={},e instanceof A?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function p(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function g(e){var t=new FileReader,n=p(t);return t.readAsArrayBuffer(e),n}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&o&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(g)}),this.text=function(){var e,t,n,r=h(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=p(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;r.test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function E(e,t){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new A(t.headers),this.url=t.url||"",this._initBody(e)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new A(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var I=[301,302,303,307,308];E.redirect=function(e,t){if(-1===I.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},t.DOMException=n.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function B(e,r){return new Promise((function(i,a){var u=new v(e,r);if(u.signal&&u.signal.aborted)return a(new t.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function l(){c.abort()}c.onload=function(){var e,t,n={status:c.status,statusText:c.statusText,headers:(e=c.getAllResponseHeaders()||"",t=new A,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};n.url="responseURL"in c?c.responseURL:n.headers.get("X-Request-URL");var r="response"in c?c.response:c.responseText;setTimeout((function(){i(new E(r,n))}),0)},c.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},c.onabort=function(){setTimeout((function(){a(new t.DOMException("Aborted","AbortError"))}),0)},c.open(u.method,function(e){try{return""===e&&n.location.href?n.location.href:e}catch(t){return e}}(u.url),!0),"include"===u.credentials?c.withCredentials=!0:"omit"===u.credentials&&(c.withCredentials=!1),"responseType"in c&&(o?c.responseType="blob":s&&u.headers.get("Content-Type")&&-1!==u.headers.get("Content-Type").indexOf("application/octet-stream")&&(c.responseType="arraybuffer")),!r||"object"!=typeof r.headers||r.headers instanceof A?u.headers.forEach((function(e,t){c.setRequestHeader(t,e)})):Object.getOwnPropertyNames(r.headers).forEach((function(e){c.setRequestHeader(e,f(r.headers[e]))})),u.signal&&(u.signal.addEventListener("abort",l),c.onreadystatechange=function(){4===c.readyState&&u.signal.removeEventListener("abort",l)}),c.send(void 0===u._bodyInit?null:u._bodyInit)}))}B.polyfill=!0,n.fetch||(n.fetch=B,n.Headers=A,n.Request=v,n.Response=E),t.Headers=A,t.Request=v,t.Response=E,t.fetch=B}({})}(i),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var o=n.fetch?n:i;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t}(SQ,SQ.exports);var QQ=i(SQ.exports);let kQ=1;const MQ=e=>new Promise((t=>{setTimeout((()=>{t(!0)}),e)})),xQ=({checkInstallationOnAllCalls:t=!1,communicationLayerPreference:n,injectProvider:r,shouldShimWeb3:i,platformManager:o,installer:a,sdk:s,remoteConnection:u,debug:c})=>{var l;const f=(({name:e,remoteConnection:t,debug:n})=>{if(!t||!(null==t?void 0:t.getConnector()))throw new Error("Missing remote connection parameter");return new _Q({name:e,remote:null==t?void 0:t.getConnector(),platformManager:null==t?void 0:t.getPlatformManager(),debug:n})})({name:bQ.INPAGE,target:bQ.CONTENT_SCRIPT,platformManager:o,communicationLayerPreference:n,remoteConnection:u,debug:c}),d=o.getPlatformType(),A=s.options.dappMetadata,h=`Sdk/Javascript SdkVersion/${eQ} Platform/${d} dApp/${null!==(l=A.url)&&void 0!==l?l:A.name} dAppTitle/${A.name}`;let p=null,g=null;const y=!(!r||d===e.PlatformType.NonBrowser||d===e.PlatformType.ReactNative),m=CQ.init({shouldSetOnWindow:y,connectionStream:f,shouldShimWeb3:i,debug:c});let b=!1;const v=e=>{b=e},w=()=>b,E=(n,r,i,l)=>lw(void 0,void 0,void 0,(function*(){var f,d,A,y,m,E,I,B,C,_,S;if(b){null==u||u.showActiveModal();let e=w();for(;e;)yield MQ(1e3),e=w();return c&&console.debug("initializeProvider::sendRequest() initial method completed -- prevent installation and call provider"),i(...r)}const Q=o.isMetaMaskInstalled(),k=null==u?void 0:u.isConnected();let{selectedAddress:M,chainId:x}=CQ.getProvider();if(M=null!=M?M:p,x=null!==(f=null!=x?x:g)&&void 0!==f?f:s.defaultReadOnlyChainId,M&&(p=M),x&&(g=x),l&&console.debug(`initializeProvider::sendRequest() method=${n} ongoing=${b} selectedAddress=${M} isInstalled=${Q} checkInstallationOnAllCalls=${t} socketConnected=${k}`),M&&n.toLowerCase()===iQ.ETH_ACCOUNTS.toLowerCase())return[M];if(x&&n.toLowerCase()===iQ.ETH_CHAINID.toLowerCase())return x;const R=[iQ.ETH_REQUESTACCOUNTS,iQ.METAMASK_CONNECTSIGN,iQ.METAMASK_CONNECTWITH],D=!tQ[n],T=null===(d=s.options.readonlyRPCMap)||void 0===d?void 0:d[x];if(T&&D)try{const e=null===(A=null==r?void 0:r[0])||void 0===A?void 0:A.params,t=yield(({rpcEndpoint:e,method:t,sdkInfo:n,params:r})=>lw(void 0,void 0,void 0,(function*(){const i=JSON.stringify({jsonrpc:"2.0",method:t,params:r,id:(kQ+=1,kQ)}),o={Accept:"application/json","Content-Type":"application/json"};let a;e.includes("infura")&&(o["Metamask-Sdk-Info"]=n);try{a=yield QQ(e,{method:"POST",headers:o,body:i})}catch(e){throw e instanceof Error?new Error(`Failed to fetch from RPC: ${e.message}`):new Error(`Failed to fetch from RPC: ${e}`)}if(!a.ok)throw new Error(`Server responded with a status of ${a.status}`);return(yield a.json()).result})))({rpcEndpoint:T,sdkInfo:h,method:n,params:e||[]});return l&&console.log("initializeProvider::ReadOnlyRPCResponse",t),t}catch(e){console.warn(`initializeProvider::sendRequest() method=${n} readOnlyRPCRequest failed:`,e)}if((!Q||Q&&!k)&&n!==iQ.METAMASK_GETPROVIDERSTATE){if(-1!==R.indexOf(n)||t){v(!0);try{yield a.start({wait:!1})}catch(t){if(v(!1),e.PROVIDER_UPDATE_TYPE.EXTENSION===t){if(c&&console.debug(`initializeProvider extension provider detect: re-create ${n} on the active provider`),n.toLowerCase()===iQ.METAMASK_CONNECTSIGN.toLowerCase()){const[e]=r,{params:t}=e,n=yield null===(y=s.getProvider())||void 0===y?void 0:y.request({method:iQ.ETH_REQUESTACCOUNTS,params:[]});if(!n.length)throw new Error("SDK state invalid -- undefined accounts");return yield null===(m=s.getProvider())||void 0===m?void 0:m.request({method:iQ.PERSONAL_SIGN,params:[t[0],n[0]]})}if(n.toLowerCase()===iQ.METAMASK_CONNECTWITH.toLowerCase()){const e=yield null===(E=s.getProvider())||void 0===E?void 0:E.request({method:iQ.ETH_REQUESTACCOUNTS,params:[]});if(!e.length)throw new Error("SDK state invalid -- undefined accounts");const[t]=r;console.log("connectWith:: initialMethod",t);const{params:n}=t,[i]=n;if(console.warn("FIXME:: handle CONNECT_WITH",i),(null===(I=i.method)||void 0===I?void 0:I.toLowerCase())===iQ.PERSONAL_SIGN.toLowerCase()){const t={method:i.method,params:[i.params[0],e[0]]};return console.log("connectWith:: connectedRpc",t),yield null===(B=s.getProvider())||void 0===B?void 0:B.request(t)}console.warn("FIXME:: handle CONNECT_WITH",i)}return yield null===(C=s.getProvider())||void 0===C?void 0:C.request({method:n,params:r})}throw c&&console.debug(`initializeProvider failed to start installer: ${t}`),t}const t=i(...r);try{yield new Promise(((t,n)=>{null==u||u.getConnector().once(e.EventType.AUTHORIZED,(()=>{t(!0)})),s.once(e.EventType.PROVIDER_UPDATE,(t=>{c&&console.debug("initializeProvider::sendRequest() PROVIDER_UPDATE --- remote provider request interupted",t),t===e.PROVIDER_UPDATE_TYPE.EXTENSION?n(e.EventType.PROVIDER_UPDATE):n(new Error("Connection Terminated"))}))}))}catch(t){if(v(!1),t===e.EventType.PROVIDER_UPDATE)return yield null===(_=s.getProvider())||void 0===_?void 0:_.request({method:n,params:r});throw t}return v(!1),t}if(o.isSecure()&&tQ[n])return i(...r);if(s.isExtensionActive())return c&&console.debug(`initializeProvider::sendRequest() EXTENSION active - redirect request '${n}' to it`),yield null===(S=s.getProvider())||void 0===S?void 0:S.request({method:n,params:r});throw c&&console.debug(`initializeProvider::sendRequest() method=${n} --- skip --- not connected/installed`),new Error("MetaMask is not connected/installed, please call eth_requestAccounts to connect first.")}const N=yield i(...r);return c&&console.debug(`initializeProvider::sendRequest() method=${n} rpcResponse:`,N),N})),{request:I}=m;m.request=(...e)=>lw(void 0,void 0,void 0,(function*(){return E(null==e?void 0:e[0].method,e,I,c)}));const{send:B}=m;return m.send=(...e)=>lw(void 0,void 0,void 0,(function*(){return E(null==e?void 0:e[0],e,B,c)})),c&&console.debug("initializeProvider metamaskStream.start()"),f.start(),m};const RQ=({provider:e,debug:t})=>{if("state"in e)throw new Error("INVALID EXTENSION PROVIDER");return new Proxy(e,{get:(n,r)=>"request"===r?function(r){return lw(this,void 0,void 0,(function*(){t&&console.debug("[wrapExtensionProvider] Overwriting request method, args:",r);const{method:i,params:o}=r;if(i===iQ.METAMASK_BATCH&&Array.isArray(o)){const t=[];for(const n of o){const r=yield null==e?void 0:e.request({method:n.method,params:n.params});t.push(r)}return t}return n.request(r)}))}:n[r]})};var DQ;!function(e){e.Announce="eip6963:announceProvider",e.Request="eip6963:requestProvider"}(DQ||(DQ={}));var TQ={exports:{}};!function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=90)}({17:function(e,t,n){t.__esModule=!0,t.default=void 0;var r=n(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,r){void 0===r&&(r=!1);var i=e.getVersionPrecision(t),o=e.getVersionPrecision(n),a=Math.max(i,o),s=0,u=e.map([t,n],(function(t){var n=a-e.getVersionPrecision(t),r=t+new Array(n+1).join(".0");return e.map(r.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===s)return 0;a-=1}else if(u[0][a]1?i-1:0),a=1;a0){var a=Object.keys(n),u=s.default.find(a,(function(e){return t.isOS(e)}));if(u){var c=this.satisfies(n[u]);if(void 0!==c)return c}var l=s.default.find(a,(function(e){return t.isPlatform(e)}));if(l){var f=this.satisfies(n[l]);if(void 0!==f)return f}}if(o>0){var d=Object.keys(i),A=s.default.find(d,(function(e){return t.isBrowser(e,!0)}));if(void 0!==A)return this.compareVersion(i[A])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=s.default.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n},t.compareVersion=function(e){var t=[0],n=e,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),t.indexOf(s.default.compareVersions(i,n,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=c,e.exports=t.default},92:function(e,t,n){t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,n){t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=i.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=i.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:o.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,n){t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,n){t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=a,e.exports=t.default}})}(TQ);var NQ,OQ=i(TQ.exports);!function(e){e.Disabled="Disabled",e.Temporary="Temporary",e.UntilResponse="UntilResponse"}(NQ||(NQ={}));const LQ=()=>"wakeLock"in navigator,PQ=()=>{if("undefined"==typeof navigator)return!1;const{userAgent:e}=navigator,t=/CPU (?:iPhone )?OS (\d+)(?:_\d+)?_?\d+ like Mac OS X/iu.exec(e);return!!t&&parseInt(t[1],10)<10&&!window.MSStream};class UQ{constructor(e){this.enabled=!1,this._eventsAdded=!1,this.debug=null!=e&&e}start(){if(this.enabled=!1,LQ()&&!this._eventsAdded){this._eventsAdded=!0,this._wakeLock=void 0;const e=()=>lw(this,void 0,void 0,(function*(){null!==this._wakeLock&&"visible"===document.visibilityState&&(yield this.enable())}));document.addEventListener("visibilitychange",e),document.addEventListener("fullscreenchange",e)}else PQ()?this.noSleepTimer=void 0:(this.noSleepVideo=document.createElement("video"),this.noSleepVideo.setAttribute("title","MetaMask SDK - Listening for responses"),this.noSleepVideo.setAttribute("playsinline",""),this._addSourceToVideo(this.noSleepVideo,"webm","data:video/webm;base64,GkXfowEAAAAAAAAfQoaBAUL3gQFC8oEEQvOBCEKChHdlYm1Ch4EEQoWBAhhTgGcBAAAAAAAVkhFNm3RALE27i1OrhBVJqWZTrIHfTbuMU6uEFlSua1OsggEwTbuMU6uEHFO7a1OsghV17AEAAAAAAACkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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SjHmnHPOSSkZc8w556SUzjnnnHNSSuacc845KaVzzjnnnJRSSuecc05KKSWEzkEnpZTSOeecEwAAVOAAABBgo8jmBCNBhYasBABSAQAMjmNZmuZ5omialiRpmud5niiapiZJmuZ5nieKqsnzPE8URdE0VZXneZ4oiqJpqirXFUXTNE1VVV2yLIqmaZqq6rowTdNUVdd1XZimaaqq67oubFtVVdV1ZRm2raqq6rqyDFzXdWXZloEsu67s2rIAAPAEBwCgAhtWRzgpGgssNGQlAJABAEAYg5BCCCFlEEIKIYSUUggJAAAYcAAACDChDBQashIASAUAAIyx1lprrbXWQGettdZaa62AzFprrbXWWmuttdZaa6211lJrrbXWWmuttdZaa6211lprrbXWWmuttdZaa6211lprrbXWWmuttdZaa6211lprrbXWWmstpZRSSimllFJKKaWUUkoppZRSSgUA+lU4APg/2LA6wknRWGChISsBgHAAAMAYpRhzDEIppVQIMeacdFRai7FCiDHnJKTUWmzFc85BKCGV1mIsnnMOQikpxVZjUSmEUlJKLbZYi0qho5JSSq3VWIwxqaTWWoutxmKMSSm01FqLMRYjbE2ptdhqq7EYY2sqLbQYY4zFCF9kbC2m2moNxggjWywt1VprMMYY3VuLpbaaizE++NpSLDHWXAAAd4MDAESCjTOsJJ0VjgYXGrISAAgJACAQUooxxhhzzjnnpFKMOeaccw5CCKFUijHGnHMOQgghlIwx5pxzEEIIIYRSSsaccxBCCCGEkFLqnHMQQgghhBBKKZ1zDkIIIYQQQimlgxBCCCGEEEoopaQUQgghhBBCCKmklEIIIYRSQighlZRSCCGEEEIpJaSUUgohhFJCCKGElFJKKYUQQgillJJSSimlEkoJJYQSUikppRRKCCGUUkpKKaVUSgmhhBJKKSWllFJKIYQQSikFAAAcOAAABBhBJxlVFmGjCRcegEJDVgIAZAAAkKKUUiktRYIipRikGEtGFXNQWoqocgxSzalSziDmJJaIMYSUk1Qy5hRCDELqHHVMKQYtlRhCxhik2HJLoXMOAAAAQQCAgJAAAAMEBTMAwOAA4XMQdAIERxsAgCBEZohEw0J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AAATYAAAE9AAABRAAAAUjAAAFPwAABVIAAAVuAAAFgQAABZ0AAAWwAAAFzAAABegAAAX7AAAGFwAAAGJ1ZHRhAAAAWm1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALWlsc3QAAAAlqXRvbwAAAB1kYXRhAAAAAQAAAABMYXZmNTUuMzMuMTAw"),this.noSleepVideo.addEventListener("loadedmetadata",(()=>{this.debug&&console.debug("WakeLockManager::start() video loadedmetadata",this.noSleepVideo),this.noSleepVideo&&(this.noSleepVideo.duration<=1?this.noSleepVideo.setAttribute("loop",""):this.noSleepVideo.addEventListener("timeupdate",(()=>{this.noSleepVideo&&this.noSleepVideo.currentTime>.5&&(this.noSleepVideo.currentTime=Math.random())})))})))}_addSourceToVideo(e,t,n){const r=document.createElement("source");r.src=n,r.type=`video/${t}`,e.appendChild(r)}isEnabled(){return this.enabled}setDebug(e){e&&!this.debug&&console.debug("WakeLockManager::setDebug() activate debug mode"),this.debug=e}enable(){return lw(this,void 0,void 0,(function*(){this.enabled&&this.disable("from_enable");const e=LQ(),t=PQ();if(this.debug&&console.debug(`WakeLockManager::enable() hasWakelock=${e} isOldIos=${t}`,this.noSleepVideo),this.start(),LQ())try{const e=yield navigator.wakeLock.request("screen");this._wakeLock=e,this.enabled=!0}catch(e){return this.debug&&console.error("WakeLockManager::enable() failed to enable wake lock",e),this.enabled=!1,!1}else if(PQ())return this.disable("from_enable_old_ios"),this.noSleepTimer=window.setInterval((()=>{document.hidden||(window.location.href=window.location.href.split("#")[0],window.setTimeout(window.stop,0))}),15e3),this.enabled=!0,!0;return!!this.noSleepVideo&&(this.noSleepVideo.play().then((()=>{this.debug&&console.debug("WakeLockManager::enable() video started playing successfully")})).catch((e=>{console.warn("WakeLockManager::enable() video failed to play",e)})),this.enabled=!0,!0)}))}disable(e){if(this.enabled){if(this.debug&&console.debug(`WakeLockManager::disable() context=${e}`),LQ())this._wakeLock&&(this.debug&&console.debug("WakeLockManager::disable() release wake lock"),this._wakeLock.release()),this._wakeLock=void 0;else if(PQ())this.noSleepTimer&&(console.warn("\n NoSleep now disabled for older iOS devices.\n "),window.clearInterval(this.noSleepTimer),this.noSleepTimer=void 0);else try{if(!this.noSleepVideo)return void(this.debug&&console.debug("WakeLockManager::disable() noSleepVideo is undefined"));this.debug&&console.debug("WakeLockManager::disable() pause noSleepVideo"),this.noSleepVideo.firstChild&&(this.noSleepVideo.removeChild(this.noSleepVideo.firstChild),this.noSleepVideo.load()),this.noSleepVideo.pause(),this.noSleepVideo.src="",this.noSleepVideo.remove()}catch(e){console.log(e)}this.enabled=!1}}}class FQ{constructor({useDeepLink:e,preferredOpenLink:t,wakeLockStatus:n=NQ.UntilResponse,debug:r=!1}){this.state={wakeLock:new UQ,wakeLockStatus:NQ.UntilResponse,wakeLockTimer:void 0,wakeLockFeatureActive:!1,platformType:void 0,useDeeplink:!1,preferredOpenLink:void 0,debug:!1},this.state.platformType=this.getPlatformType(),this.state.useDeeplink=e,this.state.preferredOpenLink=t,this.state.wakeLockStatus=n,this.state.debug=r,this.state.wakeLock.setDebug(r)}enableWakeLock(){return function(e){const{state:t}=e;if(t.wakeLockStatus===NQ.Disabled)return void(t.debug&&console.debug("WakeLock is disabled"));t.wakeLock.enable().catch((e=>{console.error("WakeLock is not supported",e)}));const n=t.wakeLockStatus===NQ.Temporary?2e3:4e4;t.wakeLockTimer=setTimeout((()=>{e.disableWakeLock()}),n),t.wakeLockFeatureActive||t.wakeLockStatus!==NQ.UntilResponse||(t.wakeLockFeatureActive=!0,window.addEventListener("focus",(()=>{e.disableWakeLock()})))}(this)}disableWakeLock(){return function(e){const{state:t}=e;t.wakeLockStatus!==NQ.Disabled&&(t.wakeLockTimer&&clearTimeout(t.wakeLockTimer),t.wakeLock.disable("disableWakeLock"))}(this)}openDeeplink(e,t,n){return function(e,t,n,r){const{state:i}=e;i.debug&&(console.debug(`Platform::openDeepLink universalLink --\x3e ${t}`),console.debug(`Platform::openDeepLink deepLink --\x3e ${n}`)),e.isBrowser()&&e.enableWakeLock();try{if(i.preferredOpenLink)return void i.preferredOpenLink(i.useDeeplink?n:t,r);if(i.debug&&console.warn(`Platform::openDeepLink() open link now useDeepLink=${i.useDeeplink}`,i.useDeeplink?n:t),"undefined"!=typeof window){let e;e=i.useDeeplink?window.open(n,"_blank"):window.open(t,"_blank"),setTimeout((()=>{var t;return null===(t=null==e?void 0:e.close)||void 0===t?void 0:t.call(e)}),500)}}catch(e){console.log("Platform::openDeepLink() can't open link",e)}}(this,e,t,n)}isReactNative(){var e;return this.isNotBrowser()&&"undefined"!=typeof window&&(null===window||void 0===window?void 0:window.navigator)&&"ReactNative"===(null===(e=window.navigator)||void 0===e?void 0:e.product)}isMetaMaskInstalled(){return function(e){const{state:t}=e,n=CQ.getProvider()||(null===window||void 0===window?void 0:window.ethereum);return t.debug&&console.debug(`Platform::isMetaMaskInstalled isMetaMask=${null==n?void 0:n.isMetaMask} isConnected=${null==n?void 0:n.isConnected()}`),(null==n?void 0:n.isMetaMask)&&(null==n?void 0:n.isConnected())}(this)}isDesktopWeb(){return this.isBrowser()&&!this.isMobileWeb()}isMobile(){var e,t;const n=OQ.parse(window.navigator.userAgent);return"mobile"===(null===(e=null==n?void 0:n.platform)||void 0===e?void 0:e.type)||"tablet"===(null===(t=null==n?void 0:n.platform)||void 0===t?void 0:t.type)}isSecure(){return this.isReactNative()||this.isMobileWeb()}isMetaMaskMobileWebView(){return"undefined"!=typeof window&&Boolean(window.ReactNativeWebView)&&Boolean(navigator.userAgent.endsWith("MetaMaskMobile"))}isMobileWeb(){return this.state.platformType===e.PlatformType.MobileWeb}isNotBrowser(){var e;return"undefined"==typeof window||!(null===window||void 0===window?void 0:window.navigator)||void 0!==n.g&&"ReactNative"===(null===(e=null===n.g||void 0===n.g?void 0:n.g.navigator)||void 0===e?void 0:e.product)||"ReactNative"===(null===navigator||void 0===navigator?void 0:navigator.product)}isNodeJS(){return this.isNotBrowser()&&!this.isReactNative()}isBrowser(){return!this.isNotBrowser()}isUseDeepLink(){return this.state.useDeeplink}getPlatformType(){return function(t){const{state:n}=t;return n.platformType?n.platformType:t.isReactNative()?e.PlatformType.ReactNative:t.isNotBrowser()?e.PlatformType.NonBrowser:t.isMetaMaskMobileWebView()?e.PlatformType.MetaMaskMobileWebview:t.isMobile()?e.PlatformType.MobileWeb:e.PlatformType.DesktopWeb}(this)}}var jQ="INSTALLED",qQ="NOT_INSTALLED",GQ="REGISTERED",HQ="REGISTERING",YQ="RELOADING",KQ={CHROME:"https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn",FIREFOX:"https://addons.mozilla.org/firefox/addon/ether-metamask/",DEFAULT:"https://metamask.io"},zQ="REGISTRATION_IN_PROGRESS",VQ="FORWARDER_ID",JQ=function(){function e(t){var n=void 0===t?{}:t,r=n.forwarderOrigin,i=void 0===r?"https://fwd.metamask.io":r,o=n.forwarderMode,a=void 0===o?e.FORWARDER_MODE.INJECT:o;this.forwarderOrigin=i,this.forwarderMode=a,this.state=e.isMetaMaskInstalled()?jQ:qQ;var s=e._detectBrowser();this.downloadUrl=s?KQ[s]:KQ.DEFAULT,this._onMessage=this._onMessage.bind(this),this._onMessageFromForwarder=this._onMessageFromForwarder.bind(this),this._openForwarder=this._openForwarder.bind(this),this._openDownloadPage=this._openDownloadPage.bind(this),this.startOnboarding=this.startOnboarding.bind(this),this.stopOnboarding=this.stopOnboarding.bind(this),window.addEventListener("message",this._onMessage),a===e.FORWARDER_MODE.INJECT&&"true"===sessionStorage.getItem(zQ)&&e._injectForwarder(this.forwarderOrigin)}return e.prototype._onMessage=function(e){if(e.origin===this.forwarderOrigin)return"metamask:reload"===e.data.type?this._onMessageFromForwarder(e):void console.debug("Unknown message from '"+e.origin+"' with data "+JSON.stringify(e.data))},e.prototype._onMessageUnknownStateError=function(e){throw new Error("Unknown state: '"+e+"'")},e.prototype._onMessageFromForwarder=function(t){return function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))}(this,void 0,void 0,(function(){return function(e,t){var n,r,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(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=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++,r=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]{var e={192:(e,t)=>{var n,r,i=function(){var e=function(e,t){var n=e,r=a[t],i=null,o=0,u=null,g=[],y={},b=function(e,t){i=function(e){for(var t=new Array(e),n=0;n=7&&I(e),null==u&&(u=_(n,r,g)),C(u,t)},v=function(e,t){for(var n=-1;n<=7;n+=1)if(!(e+n<=-1||o<=e+n))for(var r=-1;r<=7;r+=1)t+r<=-1||o<=t+r||(i[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},w=function(){for(var e=8;e>r&1);i[Math.floor(r/3)][r%3+o-8-3]=a}for(r=0;r<18;r+=1)a=!e&&1==(t>>r&1),i[r%3+o-8-3][Math.floor(r/3)]=a},B=function(e,t){for(var n=r<<3|t,a=s.getBCHTypeInfo(n),u=0;u<15;u+=1){var c=!e&&1==(a>>u&1);u<6?i[u][8]=c:u<8?i[u+1][8]=c:i[o-15+u][8]=c}for(u=0;u<15;u+=1)c=!e&&1==(a>>u&1),u<8?i[8][o-u-1]=c:u<9?i[8][15-u-1+1]=c:i[8][15-u-1]=c;i[o-8][8]=!e},C=function(e,t){for(var n=-1,r=o-1,a=7,u=0,c=s.getMaskFunction(t),l=o-1;l>0;l-=2)for(6==l&&(l-=1);;){for(var f=0;f<2;f+=1)if(null==i[r][l-f]){var d=!1;u>>a&1)),c(r,l-f)&&(d=!d),i[r][l-f]=d,-1==(a-=1)&&(u+=1,a=7)}if((r+=n)<0||o<=r){r-=n,n=-n;break}}},_=function(e,t,n){for(var r=l.getRSBlocks(e,t),i=f(),o=0;o8*u)throw"code length overflow. ("+i.getLengthInBits()+">"+8*u+")";for(i.getLengthInBits()+4<=8*u&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*u||(i.put(236,8),i.getLengthInBits()>=8*u));)i.put(17,8);return function(e,t){for(var n=0,r=0,i=0,o=new Array(t.length),a=new Array(t.length),u=0;u=0?h.getAt(p):0}}var g=0;for(d=0;dr)&&(e=r,t=n)}return t}())},y.createTableTag=function(e,t){e=e||2;var n="";n+='',n+="";for(var r=0;r";for(var i=0;i';n+=""}return(n+="")+"
"},y.createSvgTag=function(e,t,n,r){var i={};"object"==typeof arguments[0]&&(e=(i=arguments[0]).cellSize,t=i.margin,n=i.alt,r=i.title),e=e||2,t=void 0===t?4*e:t,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-description":null,(r="string"==typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-title":null;var o,a,s,u,c=y.getModuleCount()*e+2*t,l="";for(u="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",l+=''+S(r.text)+"":"",l+=n.text?''+S(n.text)+"":"",l+='',l+='"},y.createDataURL=function(e,t){e=e||2,t=void 0===t?4*e:t;var n=y.getModuleCount()*e+2*t,r=t,i=n-t;return m(n,n,(function(t,n){if(r<=t&&t"};var S=function(e){for(var t="",n=0;n":t+=">";break;case"&":t+="&";break;case'"':t+=""";break;default:t+=r}}return t};return y.createASCII=function(e,t){if((e=e||1)<2)return function(e){e=void 0===e?2:e;var t,n,r,i,o,a=1*y.getModuleCount()+2*e,s=e,u=a-e,c={"██":"█","█ ":"▀"," █":"▄"," ":" "},l={"██":"▀","█ ":"▀"," █":" "," ":" "},f="";for(t=0;t=u?l[o]:c[o];f+="\n"}return a%2&&e>0?f.substring(0,f.length-a-1)+Array(a+1).join("▀"):f.substring(0,f.length-1)}(t);e-=1,t=void 0===t?2*e:t;var n,r,i,o,a=y.getModuleCount()*e+2*t,s=t,u=a-t,c=Array(e+1).join("██"),l=Array(e+1).join(" "),f="",d="";for(n=0;n>>8),t.push(255&a)):t.push(r)}}return t}};var t,n,r,i,o,a={L:1,M:0,Q:3,H:2},s=(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]],n=1335,r=7973,o=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t},(i={}).getBCHTypeInfo=function(e){for(var t=e<<10;o(t)-o(n)>=0;)t^=n<=0;)t^=r<5&&(n+=3+o-5)}for(r=0;r=256;)t-=255;return e[t]}}}();function c(e,t){if(void 0===e.length)throw e.length+"/"+t;var n=function(){for(var n=0;n>>7-t%8&1)},put:function(e,t){for(var r=0;r>>t-r-1&1))},getLengthInBits:function(){return t},putBit:function(n){var r=Math.floor(t/8);e.length<=r&&e.push(0),n&&(e[r]|=128>>>t%8),t+=1}};return n},d=function(e){var t=e,n={getMode:function(){return 1},getLength:function(e){return t.length},write:function(e){for(var n=t,i=0;i+2>>8&255)+(255&i),e.put(i,13),n+=2}if(n>>8)},writeBytes:function(e,n,r){n=n||0,r=r||e.length;for(var i=0;i0&&(t+=","),t+=e[n];return t+"]"}};return t},y=function(e){var t=e,n=0,r=0,i=0,o={read:function(){for(;i<8;){if(n>=t.length){if(0==i)return-1;throw"unexpected end of file./"+i}var e=t.charAt(n);if(n+=1,"="==e)return i=0,-1;e.match(/^\s$/)||(r=r<<6|a(e.charCodeAt(0)),i+=6)}var o=r>>>i-8&255;return i-=8,o}},a=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return o},m=function(e,t,n){for(var r=function(e,t){var n=e,r=t,i=new Array(e*t),o={setPixel:function(e,t,r){i[t*n+e]=r},write:function(e){e.writeString("GIF87a"),e.writeShort(n),e.writeShort(r),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(n),e.writeShort(r),e.writeByte(0);var t=a(2);e.writeByte(2);for(var i=0;t.length-i>255;)e.writeByte(255),e.writeBytes(t,i,255),i+=255;e.writeByte(t.length-i),e.writeBytes(t,i,t.length-i),e.writeByte(0),e.writeString(";")}},a=function(e){for(var t=1<>>t!=0)throw"length over";for(;c+t>=8;)u.writeByte(255&(e<>>=8-c,l=0,c=0;l|=e<0&&u.writeByte(l)}});d.write(t,r);var A=0,h=String.fromCharCode(i[A]);for(A+=1;A=6;)o(e>>>t-6),t-=6},i.flush=function(){if(t>0&&(o(e<<6-t),e=0,t=0),n%3!=0)for(var i=3-n%3,a=0;a>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t}(e)},void 0===(r="function"==typeof(n=function(){return i})?n.apply(t,[]):n)||(e.exports=r)},676:(e,t,n)=>{n.d(t,{default:()=>R});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2||o&&a||s&&u)this._basicSquare({x:t,y:n,size:r,rotation:0});else{if(2===c){var l=0;return o&&s?l=Math.PI/2:s&&a?l=Math.PI:a&&u&&(l=-Math.PI/2),void this._basicCornerRounded({x:t,y:n,size:r,rotation:l})}if(1===c)return l=0,s?l=Math.PI/2:a?l=Math.PI:u&&(l=-Math.PI/2),void this._basicSideRounded({x:t,y:n,size:r,rotation:l})}else this._basicDot({x:t,y:n,size:r,rotation:0})},e.prototype._drawExtraRounded=function(e){var t=e.x,n=e.y,r=e.size,i=e.getNeighbor,o=i?+i(-1,0):0,a=i?+i(1,0):0,s=i?+i(0,-1):0,u=i?+i(0,1):0,c=o+a+s+u;if(0!==c)if(c>2||o&&a||s&&u)this._basicSquare({x:t,y:n,size:r,rotation:0});else{if(2===c){var l=0;return o&&s?l=Math.PI/2:s&&a?l=Math.PI:a&&u&&(l=-Math.PI/2),void this._basicCornerExtraRounded({x:t,y:n,size:r,rotation:l})}if(1===c)return l=0,s?l=Math.PI/2:a?l=Math.PI:u&&(l=-Math.PI/2),void this._basicSideRounded({x:t,y:n,size:r,rotation:l})}else this._basicDot({x:t,y:n,size:r,rotation:0})},e.prototype._drawClassy=function(e){var t=e.x,n=e.y,r=e.size,i=e.getNeighbor,o=i?+i(-1,0):0,a=i?+i(1,0):0,s=i?+i(0,-1):0,u=i?+i(0,1):0;0!==o+a+s+u?o||s?a||u?this._basicSquare({x:t,y:n,size:r,rotation:0}):this._basicCornerRounded({x:t,y:n,size:r,rotation:Math.PI/2}):this._basicCornerRounded({x:t,y:n,size:r,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:n,size:r,rotation:Math.PI/2})},e.prototype._drawClassyRounded=function(e){var t=e.x,n=e.y,r=e.size,i=e.getNeighbor,o=i?+i(-1,0):0,a=i?+i(1,0):0,s=i?+i(0,-1):0,u=i?+i(0,1):0;0!==o+a+s+u?o||s?a||u?this._basicSquare({x:t,y:n,size:r,rotation:0}):this._basicCornerExtraRounded({x:t,y:n,size:r,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:t,y:n,size:r,rotation:-Math.PI/2}):this._basicCornersRounded({x:t,y:n,size:r,rotation:Math.PI/2})},e}();var f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]r||i&&i=(t-o.hideXDots)/2&&e<(t+o.hideXDots)/2&&n>=(t-o.hideYDots)/2&&n<(t+o.hideYDots)/2||(null===(r=m[e])||void 0===r?void 0:r[n])||(null===(i=m[e-t+7])||void 0===i?void 0:i[n])||(null===(a=m[e])||void 0===a?void 0:a[n-t+7])||(null===(s=b[e])||void 0===s?void 0:s[n])||(null===(u=b[e-t+7])||void 0===u?void 0:u[n])||(null===(c=b[e])||void 0===c?void 0:c[n-t+7]))})),this.drawCorners(),this._options.image?[4,this.drawImage({width:o.width,height:o.height,count:t,dotSize:i})]:[3,4];case 3:A.sent(),A.label=4;case 4:return[2]}}))}))},e.prototype.drawBackground=function(){var e,t,n,r=this._element,i=this._options;if(r){var o=null===(e=i.backgroundOptions)||void 0===e?void 0:e.gradient,a=null===(t=i.backgroundOptions)||void 0===t?void 0:t.color;if((o||a)&&this._createColor({options:o,color:a,additionalRotation:0,x:0,y:0,height:i.height,width:i.width,name:"background-color"}),null===(n=i.backgroundOptions)||void 0===n?void 0:n.round){var s=Math.min(i.width,i.height),u=document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id","clip-path-background-color"),this._defs.appendChild(this._backgroundClipPath),u.setAttribute("x",String((i.width-s)/2)),u.setAttribute("y",String((i.height-s)/2)),u.setAttribute("width",String(s)),u.setAttribute("height",String(s)),u.setAttribute("rx",String(s/2*i.backgroundOptions.round)),this._backgroundClipPath.appendChild(u)}}},e.prototype.drawDots=function(e){var t,n,r=this;if(!this._qr)throw"QR code is not defined";var i=this._options,o=this._qr.getModuleCount();if(o>i.width||o>i.height)throw"The canvas is too small.";var a=Math.min(i.width,i.height)-2*i.margin,s=i.shape===p?a/Math.sqrt(2):a,u=Math.floor(s/o),c=Math.floor((i.width-o*u)/2),f=Math.floor((i.height-o*u)/2),d=new l({svg:this._element,type:i.dotsOptions.type});this._dotsClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color"),this._defs.appendChild(this._dotsClipPath),this._createColor({options:null===(t=i.dotsOptions)||void 0===t?void 0:t.gradient,color:i.dotsOptions.color,additionalRotation:0,x:0,y:0,height:i.height,width:i.width,name:"dot-color"});for(var A=function(t){for(var i=function(i){return e&&!e(t,i)?"continue":(null===(n=h._qr)||void 0===n?void 0:n.isDark(t,i))?(d.draw(c+t*u,f+i*u,u,(function(n,a){return!(t+n<0||i+a<0||t+n>=o||i+a>=o)&&!(e&&!e(t+n,i+a))&&!!r._qr&&r._qr.isDark(t+n,i+a)})),void(d._element&&h._dotsClipPath&&h._dotsClipPath.appendChild(d._element))):"continue"},a=0;a=y-1&&g<=m-y&&I>=y-1&&I<=m-y||Math.sqrt((g-E)*(g-E)+(I-E)*(I-E))>E?w[g][I]=0:w[g][I]=this._qr.isDark(I-2*y<0?I:I>=o?I-2*y:I-y,g-2*y<0?g:g>=o?g-2*y:g-y)?1:0}var B=function(e){for(var t=function(t){if(!w[e][t])return"continue";d.draw(b+e*u,v+t*u,u,(function(n,r){var i;return!!(null===(i=w[e+n])||void 0===i?void 0:i[t+r])})),d._element&&C._dotsClipPath&&C._dotsClipPath.appendChild(d._element)},n=0;na?s:a,l=document.createElementNS("http://www.w3.org/2000/svg","rect");if(l.setAttribute("x",String(i)),l.setAttribute("y",String(o)),l.setAttribute("height",String(a)),l.setAttribute("width",String(s)),l.setAttribute("clip-path","url('#clip-path-"+u+"')"),t){var f;if("radial"===t.type)(f=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",u),f.setAttribute("gradientUnits","userSpaceOnUse"),f.setAttribute("fx",String(i+s/2)),f.setAttribute("fy",String(o+a/2)),f.setAttribute("cx",String(i+s/2)),f.setAttribute("cy",String(o+a/2)),f.setAttribute("r",String(c/2));else{var d=((t.rotation||0)+r)%(2*Math.PI),A=(d+2*Math.PI)%(2*Math.PI),h=i+s/2,p=o+a/2,g=i+s/2,y=o+a/2;A>=0&&A<=.25*Math.PI||A>1.75*Math.PI&&A<=2*Math.PI?(h-=s/2,p-=a/2*Math.tan(d),g+=s/2,y+=a/2*Math.tan(d)):A>.25*Math.PI&&A<=.75*Math.PI?(p-=a/2,h-=s/2/Math.tan(d),y+=a/2,g+=s/2/Math.tan(d)):A>.75*Math.PI&&A<=1.25*Math.PI?(h+=s/2,p+=a/2*Math.tan(d),g-=s/2,y-=a/2*Math.tan(d)):A>1.25*Math.PI&&A<=1.75*Math.PI&&(p+=a/2,h+=s/2/Math.tan(d),y-=a/2,g-=s/2/Math.tan(d)),(f=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",u),f.setAttribute("gradientUnits","userSpaceOnUse"),f.setAttribute("x1",String(Math.round(h))),f.setAttribute("y1",String(Math.round(p))),f.setAttribute("x2",String(Math.round(g))),f.setAttribute("y2",String(Math.round(y)))}t.colorStops.forEach((function(e){var t=e.offset,n=e.color,r=document.createElementNS("http://www.w3.org/2000/svg","stop");r.setAttribute("offset",100*t+"%"),r.setAttribute("stop-color",n),f.appendChild(r)})),l.setAttribute("fill","url('#"+u+"')"),this._defs.appendChild(f)}else n&&l.setAttribute("fill",n);this._element.appendChild(l)},e}(),w="canvas";for(var E={},I=0;I<=40;I++)E[I]=I;const B={type:w,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:E[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{round:0,color:"#fff"}};var C=function(){return(C=Object.assign||function(e){for(var t,n=1,r=arguments.length;nMath.min(t.width,t.height)&&(t.margin=Math.min(t.width,t.height)),t.dotsOptions=C({},t.dotsOptions),t.dotsOptions.gradient&&(t.dotsOptions.gradient=_(t.dotsOptions.gradient)),t.cornersSquareOptions&&(t.cornersSquareOptions=C({},t.cornersSquareOptions),t.cornersSquareOptions.gradient&&(t.cornersSquareOptions.gradient=_(t.cornersSquareOptions.gradient))),t.cornersDotOptions&&(t.cornersDotOptions=C({},t.cornersDotOptions),t.cornersDotOptions.gradient&&(t.cornersDotOptions.gradient=_(t.cornersDotOptions.gradient))),t.backgroundOptions&&(t.backgroundOptions=C({},t.backgroundOptions),t.backgroundOptions.gradient&&(t.backgroundOptions.gradient=_(t.backgroundOptions.gradient))),t}var Q=n(192),k=n.n(Q),M=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},x=function(e,t){var n,r,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(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=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++,r=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]\r\n'+r],{type:"image/svg+xml"})]):[2,new Promise((function(n){return t.toBlob(n,"image/"+e,1)}))]:[2,null]}}))}))},e.prototype.download=function(e){return M(this,void 0,void 0,(function(){var t,n,r,i,o;return x(this,(function(s){switch(s.label){case 0:if(!this._qr)throw"QR code is empty";return t="png",n="qr","string"==typeof e?(t=e,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):"object"==typeof e&&null!==e&&(e.name&&(n=e.name),e.extension&&(t=e.extension)),[4,this._getElement(t)];case 1:return(r=s.sent())?("svg"===t.toLowerCase()?(i=new XMLSerializer,o='\r\n'+(o=i.serializeToString(r)),a("data:image/svg+xml;charset=utf-8,"+encodeURIComponent(o),n+".svg")):a(r.toDataURL("image/"+t),n+"."+t),[2]):[2]}}))}))},e}()}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n(676)})().default}(XQ)),XQ.exports}!function(e,t){!function(e){var t,n,i={exports:{}},o={},a={exports:{}};"production"===R.env.NODE_ENV?i.exports=function(){if(t)return o;t=1;var e=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),A=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function m(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=y.prototype;var v=b.prototype=new m;v.constructor=b,p(v,y.prototype),v.isPureReactComponent=!0;var w=Array.isArray,E=Object.prototype.hasOwnProperty,I={current:null},B={key:!0,ref:!0,__self:!0,__source:!0};function C(t,n,r){var i,o={},a=null,s=null;if(null!=n)for(i in void 0!==n.ref&&(s=n.ref),void 0!==n.key&&(a=""+n.key),n)E.call(n,i)&&!B.hasOwnProperty(i)&&(o[i]=n[i]);var u=arguments.length-2;if(1===u)o.children=r;else if(11?t-1:0),r=1;r1?t-1:0),r=1;r1){for(var l=Array(c),f=0;f1){for(var d=Array(f),A=0;A import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",r),"default"in r||R("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",r),r.default}throw e._result}function be(e){return"string"==typeof e||"function"==typeof e||!!(e===i||e===a||k||e===o||e===l||e===f||Q||e===h||C||_||S)||"object"==typeof e&&null!==e&&(e.$$typeof===A||e.$$typeof===d||e.$$typeof===s||e.$$typeof===u||e.$$typeof===c||e.$$typeof===ye||void 0!==e.getModuleId)}function ve(){var e=m.current;return null===e&&R("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}ye=Symbol.for("react.module.reference");var we,Ee,Ie,Be,Ce,_e,Se,Qe=0;function ke(){}ke.__reactDisabledLog=!0;var Me,xe=M.ReactCurrentDispatcher;function Re(e,t,n){if(void 0===Me)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);Me=r&&r[1]||""}return"\n"+Me+e}var De,Te=!1,Ne="function"==typeof WeakMap?WeakMap:Map;function Oe(e,t){if(!e||Te)return"";var n,r=De.get(e);if(void 0!==r)return r;Te=!0;var i,o=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=xe.current,xe.current=null,function(){if(0===Qe){we=console.log,Ee=console.info,Ie=console.warn,Be=console.error,Ce=console.group,_e=console.groupCollapsed,Se=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Qe++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){n=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){n=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),u=n.stack.split("\n"),c=s.length-1,l=u.length-1;c>=1&&l>=0&&s[c]!==u[l];)l--;for(;c>=1&&l>=0;c--,l--)if(s[c]!==u[l]){if(1!==c||1!==l)do{if(c--,--l<0||s[c]!==u[l]){var f="\n"+s[c].replace(" at new "," at ");return e.displayName&&f.includes("")&&(f=f.replace("",e.displayName)),"function"==typeof e&&De.set(e,f),f}}while(c>=1&&l>=0);break}}}finally{Te=!1,xe.current=i,function(){if(0==--Qe){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},e,{value:we}),info:L({},e,{value:Ee}),warn:L({},e,{value:Ie}),error:L({},e,{value:Be}),group:L({},e,{value:Ce}),groupCollapsed:L({},e,{value:_e}),groupEnd:L({},e,{value:Se})})}Qe<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=o}var d=e?e.displayName||e.name:"",A=d?Re(d):"";return"function"==typeof e&&De.set(e,A),A}function Le(e,t,n){if(null==e)return"";if("function"==typeof e)return Oe(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Re(e);switch(e){case l:return Re("Suspense");case f:return Re("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return Oe(e.render,!1);case d:return Le(e.type,t,n);case A:var r=e,i=r._payload,o=r._init;try{return Le(o(i),t,n)}catch(e){}}return""}De=new Ne;var Pe,Ue={},Fe=M.ReactDebugCurrentFrame;function je(e){if(e){var t=e._owner,n=Le(e.type,e._source,t?t.type:null);Fe.setExtraStackFrame(n)}else Fe.setExtraStackFrame(null)}function qe(e){if(e){var t=e._owner;B(Le(e.type,e._source,t?t.type:null))}else B(null)}function Ge(){if(w.current){var e=$(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Pe=!1;var He={};function Ye(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=Ge();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!He[n]){He[n]=!0;var r="";e&&e._owner&&e._owner!==w.current&&(r=" It was passed a child from "+$(e._owner.type)+"."),qe(e),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),qe(null)}}}function Ke(e,t){if("object"==typeof e)if(z(e))for(var n=0;n",c=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,R("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,c)}var l=ae.apply(this,arguments);if(null==l)return l;if(s)for(var f=2;f ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}$e(t)}((function(){0===i.length?(v.current=null,n(t)):tt(t,n,r)}))}catch(e){r(e)}else n(t)}var nt=!1;function rt(e){if(!nt){nt=!0;var t=0;try{for(;t is not supported and will be removed in a future major release. Did you mean to render instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return n||(n=!0,R("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){i||(x("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),i=!0)}}}),t.Consumer=o,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=it,t.createFactory=function(e){var t=Ve.bind(null,e);return t.type=e,Je||(Je=!0,x("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return x("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===d?R("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?R("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&R("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||R("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,n={$$typeof:c,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,e.name||e.displayName||(e.displayName=n)}}),n},t.isValidElement=ue,t.lazy=function(e){var t,n,r={$$typeof:A,_payload:{_status:-1,_result:e},_init:me};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){R("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){R("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},t.memo=function(e,t){be(e)||R("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var n,r={$$typeof:d,type:e,compare:void 0===t?null:t};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(e.displayName=t)}}),r},t.startTransition=function(e,t){var n=b.transition;b.transition={};var r=b.transition;b.transition._updatedFibers=new Set;try{e()}finally{b.transition=n,null===n&&r._updatedFibers&&(r._updatedFibers.size>10&&x("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),r._updatedFibers.clear())}},t.unstable_act=function(e){var t=Ze;Ze++,null===v.current&&(v.current=[]);var n,r=v.isBatchingLegacy;try{if(v.isBatchingLegacy=!0,n=e(),!r&&v.didScheduleLegacyUpdate){var i=v.current;null!==i&&(v.didScheduleLegacyUpdate=!1,rt(i))}}catch(e){throw et(t),e}finally{v.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var o=n,a=!1,s={then:function(e,n){a=!0,o.then((function(r){et(t),0===Ze?tt(r,e,n):e(r)}),(function(e){et(t),n(e)}))}};return Xe||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){a||(Xe=!0,R("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),s}var u=n;if(et(t),0===Ze){var c=v.current;return null!==c&&(rt(c),v.current=null),{then:function(e,t){null===v.current?(v.current=[],tt(u,e,t)):e(u)}}}return{then:function(e,t){e(u)}}},t.useCallback=function(e,t){return ve().useCallback(e,t)},t.useContext=function(e){var t=ve();if(void 0!==e._context){var n=e._context;n.Consumer===e?R("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&R("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return ve().useDebugValue(e,t)},t.useDeferredValue=function(e){return ve().useDeferredValue(e)},t.useEffect=function(e,t){return ve().useEffect(e,t)},t.useId=function(){return ve().useId()},t.useImperativeHandle=function(e,t,n){return ve().useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return ve().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return ve().useLayoutEffect(e,t)},t.useMemo=function(e,t){return ve().useMemo(e,t)},t.useReducer=function(e,t,n){return ve().useReducer(e,t,n)},t.useRef=function(e){return ve().useRef(e)},t.useState=function(e){return ve().useState(e)},t.useSyncExternalStore=function(e,t,n){return ve().useSyncExternalStore(e,t,n)},t.useTransition=function(){return ve().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(a,a.exports)),a.exports);var s,u,c,l,f=i.exports,d=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(f),A=function(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}({__proto__:null,default:d},[f]),h={exports:{}},p={},g={exports:{}},y={},m={};function b(){return c||(c=1,"production"===R.env.NODE_ENV?g.exports=(s||(s=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0>>1,o=e[r];if(!(0>>1;ri(u,n))ci(l,u)?(e[r]=l,e[c]=n,r=c):(e[r]=u,e[s]=n,r=s);else{if(!(ci(l,n)))break e;e[r]=l,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var u=[],c=[],l=1,f=null,d=3,A=!1,h=!1,p=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,m="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var i=n(c);null!==i;){if(null===i.callback)r(c);else{if(!(i.startTime<=e))break;r(c),i.sortIndex=i.expirationTime,t(u,i)}i=n(c)}}function v(e){if(p=!1,b(e),!h)if(null!==n(u))h=!0,R(w);else{var t=n(c);null!==t&&D(v,t.startTime-e)}}function w(t,i){h=!1,p&&(p=!1,y(C),C=-1),A=!0;var o=d;try{for(b(i),f=n(u);null!==f&&(!(f.expirationTime>i)||t&&!Q());){var a=f.callback;if("function"==typeof a){f.callback=null,d=f.priorityLevel;var s=a(f.expirationTime<=i);i=e.unstable_now(),"function"==typeof s?f.callback=s:f===n(u)&&r(u),b(i)}else r(u);f=n(u)}if(null!==f)var l=!0;else{var g=n(c);null!==g&&D(v,g.startTime-i),l=!1}return l}finally{f=null,d=o,A=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,I=!1,B=null,C=-1,_=5,S=-1;function Q(){return!(e.unstable_now()-S<_)}function k(){if(null!==B){var t=e.unstable_now();S=t;var n=!0;try{n=B(!0,t)}finally{n?E():(I=!1,B=null)}}else I=!1}if("function"==typeof m)E=function(){m(k)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,x=M.port2;M.port1.onmessage=k,E=function(){x.postMessage(null)}}else E=function(){g(k,0)};function R(e){B=e,I||(I=!0,E())}function D(t,n){C=g((function(){t(e.unstable_now())}),n)}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(e){e.callback=null},e.unstable_continueExecution=function(){h||A||(h=!0,R(w))},e.unstable_forceFrameRate=function(e){0>e||125a?(r.sortIndex=o,t(c,r),null===n(u)&&r===n(c)&&(p?(y(C),C=-1):p=!0,D(v,o-a))):(r.sortIndex=s,t(u,r),h||A||(h=!0,R(w))),r},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}}(y)),y):g.exports=(u||(u=1,function(e){"production"!==R.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=!1,n=!1;function r(e,t){var n=e.length;e.push(t),function(e,t,n){for(var r=n;r>0;){var i=r-1>>>1,o=e[i];if(!(a(o,t)>0))return;e[i]=t,e[r]=o,r=i}}(e,t,n)}function i(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();return n!==t&&(e[0]=n,function(e,t,n){for(var r=0,i=e.length,o=i>>>1;ra)||n&&!k());){var s=A.callback;if("function"==typeof s){A.callback=null,h=A.priorityLevel;var u=s(A.expirationTime<=a);a=e.unstable_now(),"function"==typeof u?A.callback=u:A===i(l)&&o(l),w(a)}else o(l);A=i(l)}if(null!==A)return!0;var c=i(f);return null!==c&&N(E,c.startTime-a),!1}(r,a)}finally{A=null,h=s,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var B=!1,C=null,_=-1,S=5,Q=-1;function k(){return!(e.unstable_now()-Q125?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=e>0?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return i(l)},e.unstable_next=function(e){var t;switch(h){case 1:case 2:case 3:t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},e.unstable_scheduleCallback=function(t,n,o){var a,s,u=e.unstable_now();if("object"==typeof o&&null!==o){var c=o.delay;a="number"==typeof c&&c>0?u+c:u}else a=u;switch(t){case 1:s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}var A=a+s,h={id:d++,callback:n,priorityLevel:t,startTime:a,expirationTime:A,sortIndex:-1};return a>u?(h.sortIndex=a,r(f,h),null===i(l)&&h===i(f)&&(y?O():y=!0,N(E,a-u))):(h.sortIndex=A,r(l,h),g||p||(g=!0,T(I))),h},e.unstable_shouldYield=k,e.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(m)),m)),g.exports}var v,w={};"production"===R.env.NODE_ENV?(function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==R.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),h.exports=function(){if(l)return p;l=1;var e=f,t=b();function n(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n",t=le.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return fe(e,t)}))}:fe);function Ae(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!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},pe=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ye(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var me=P({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 be(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){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}}var we=null;function Ee(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ie=null,Be=null,Ce=null;function _e(e){if(e=yi(e)){if("function"!=typeof Ie)throw Error(n(280));var t=e.stateNode;t&&(t=bi(t),Ie(e.stateNode,e.type,t))}}function Se(e){Be?Ce?Ce.push(e):Ce=[e]:Be=e}function Qe(){if(Be){var e=Be,t=Ce;if(Ce=Be=null,_e(e),t)for(e=0;e>>=0)?32:31-(ut(e)/ct|0)|0},ut=Math.log,ct=Math.LN2,lt=64,ft=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function At(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=dt(s):0!=(o&=a)&&(r=dt(o))}else 0!=(a=n&~i)?r=dt(a):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&!(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&4194240&o))return t;if(!!(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-st(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),i=1<=Dn),On=String.fromCharCode(32),Ln=!1;function Pn(e,t){switch(e){case"keyup":return-1!==xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Fn=!1,jn={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 qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!jn[e.type]:"textarea"===t}function Gn(e,t,n,r){Se(r),0<(t=Hr(t,"onChange")).length&&(n=new fn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Hn=null,Yn=null;function Kn(e){Or(e,0)}function zn(e){if(V(mi(e)))return e}function Vn(e,t){if("change"===e)return t}var Jn=!1;if(s){var Wn;if(s){var $n="oninput"in document;if(!$n){var Zn=document.createElement("div");Zn.setAttribute("oninput","return;"),$n="function"==typeof Zn.oninput}Wn=$n}else Wn=!1;Jn=Wn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function cr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?cr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function lr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function dr(e){var t=lr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&cr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=ur(n,o);var a=ur(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n=document.documentMode,hr=null,pr=null,gr=null,yr=!1;function mr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==hr||hr!==J(r)||(r="selectionStart"in(r=hr)&&fr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&ar(gr,r)||(gr=r,0<(r=Hr(pr,"onSelect")).length&&(t=new fn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hr)))}function br(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var vr={animationend:br("Animation","AnimationEnd"),animationiteration:br("Animation","AnimationIteration"),animationstart:br("Animation","AnimationStart"),transitionend:br("Transition","TransitionEnd")},wr={},Er={};function Ir(e){if(wr[e])return wr[e];if(!vr[e])return e;var t,n=vr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return wr[e]=n[t];return e}s&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete vr.animationend.animation,delete vr.animationiteration.animation,delete vr.animationstart.animation),"TransitionEvent"in window||delete vr.transitionend.transition);var Br=Ir("animationend"),Cr=Ir("animationiteration"),_r=Ir("animationstart"),Sr=Ir("transitionend"),Qr=new Map,kr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){Qr.set(e,t),o(t,[e])}for(var xr=0;xrwi||(e.current=vi[wi],vi[wi]=null,wi--)}function Bi(e,t){wi++,vi[wi]=e.current,e.current=t}var Ci={},_i=Ei(Ci),Si=Ei(!1),Qi=Ci;function ki(e,t){var n=e.type.contextTypes;if(!n)return Ci;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Mi(e){return null!=e.childContextTypes}function xi(){Ii(Si),Ii(_i)}function Ri(e,t,r){if(_i.current!==Ci)throw Error(n(168));Bi(_i,t),Bi(Si,r)}function Di(e,t,r){var i=e.stateNode;if(t=t.childContextTypes,"function"!=typeof i.getChildContext)return r;for(var o in i=i.getChildContext())if(!(o in t))throw Error(n(108,H(e)||"Unknown",o));return P({},r,i)}function Ti(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ci,Qi=_i.current,Bi(_i,e),Bi(Si,Si.current),!0}function Ni(e,t,r){var i=e.stateNode;if(!i)throw Error(n(169));r?(e=Di(e,t,Qi),i.__reactInternalMemoizedMergedChildContext=e,Ii(Si),Ii(_i),Bi(_i,e)):Ii(Si),Bi(Si,r)}var Oi=null,Li=!1,Pi=!1;function Ui(e){null===Oi?Oi=[e]:Oi.push(e)}function Fi(){if(!Pi&&null!==Oi){Pi=!0;var e=0,t=vt;try{var n=Oi;for(vt=1;e>=a,i-=a,Vi=1<<32-st(t)+i|n<p?(g=f,f=null):g=f.sibling;var y=A(n,f,s[p],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(n,f),o=a(y,o,p),null===l?c=y:l.sibling=y,l=y,f=g}if(p===s.length)return r(n,f),no&&Wi(n,p),c;if(null===f){for(;pg?(y=p,p=null):y=p.sibling;var b=A(o,p,m.value,c);if(null===b){null===p&&(p=y);break}e&&p&&null===b.alternate&&t(o,p),s=a(b,s,g),null===f?l=b:f.sibling=b,f=b,p=y}if(m.done)return r(o,p),no&&Wi(o,g),l;if(null===p){for(;!m.done;g++,m=u.next())null!==(m=d(o,m.value,c))&&(s=a(m,s,g),null===f?l=m:f.sibling=m,f=m);return no&&Wi(o,g),l}for(p=i(o,p);!m.done;g++,m=u.next())null!==(m=h(p,o,g,m.value,c))&&(e&&null!==m.alternate&&p.delete(null===m.key?g:m.key),s=a(m,s,g),null===f?l=m:f.sibling=m,f=m);return e&&p.forEach((function(e){return t(o,e)})),no&&Wi(o,g),l}return function e(n,i,a,u){if("object"==typeof a&&null!==a&&a.type===B&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case E:e:{for(var c=a.key,l=i;null!==l;){if(l.key===c){if((c=a.type)===B){if(7===l.tag){r(n,l.sibling),(i=o(l,a.props.children)).return=n,n=i;break e}}else if(l.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===D&&zo(c)===l.type){r(n,l.sibling),(i=o(l,a.props)).ref=Yo(n,l,a),i.return=n,n=i;break e}r(n,l);break}t(n,l),l=l.sibling}a.type===B?((i=Tc(a.props.children,n.mode,u,a.key)).return=n,n=i):((u=Dc(a.type,a.key,a.props,null,n.mode,u)).ref=Yo(n,i,a),u.return=n,n=u)}return s(n);case I:e:{for(l=a.key;null!==i;){if(i.key===l){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){r(n,i.sibling),(i=o(i,a.children||[])).return=n,n=i;break e}r(n,i);break}t(n,i),i=i.sibling}(i=Lc(a,n.mode,u)).return=n,n=i}return s(n);case D:return e(n,i,(l=a._init)(a._payload),u)}if(ne(a))return p(n,i,a,u);if(O(a))return g(n,i,a,u);Ko(n,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(r(n,i.sibling),(i=o(i,a)).return=n,n=i):(r(n,i),(i=Oc(a,n.mode,u)).return=n,n=i),s(n)):r(n,i)}}var Jo=Vo(!0),Wo=Vo(!1),$o={},Zo=Ei($o),Xo=Ei($o),ea=Ei($o);function ta(e){if(e===$o)throw Error(n(174));return e}function na(e,t){switch(Bi(ea,t),Bi(Xo,e),Bi(Zo,$o),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ce(null,"");break;default:t=ce(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ii(Zo),Bi(Zo,t)}function ra(){Ii(Zo),Ii(Xo),Ii(ea)}function ia(e){ta(ea.current);var t=ta(Zo.current),n=ce(t,e.type);t!==n&&(Bi(Xo,e),Bi(Zo,n))}function oa(e){Xo.current===e&&(Ii(Zo),Ii(Xo))}var aa=Ei(0);function sa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ua=[];function ca(){for(var e=0;en?n:4,e(!0);var r=fa.transition;fa.transition={};try{e(!1),t()}finally{vt=n,fa.transition=r}}function Za(){return Ca().memoizedState}function Xa(e,t,n){var r=ec(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ts(e)?ns(t,n):null!==(n=So(e,t,n,r))&&(tc(n,e,r,Xu()),rs(n,t,r))}function es(e,t,n){var r=ec(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ts(e))ns(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,or(s,a)){var u=t.interleaved;return null===u?(i.next=i,_o(t)):(i.next=u.next,u.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=So(e,t,i,r))&&(tc(n,e,r,i=Xu()),rs(n,t,r))}}function ts(e){var t=e.alternate;return e===Aa||null!==t&&t===Aa}function ns(e,t){ya=ga=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function rs(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var is={readContext:Bo,useCallback:va,useContext:va,useEffect:va,useImperativeHandle:va,useInsertionEffect:va,useLayoutEffect:va,useMemo:va,useReducer:va,useRef:va,useState:va,useDebugValue:va,useDeferredValue:va,useTransition:va,useMutableSource:va,useSyncExternalStore:va,useId:va,unstable_isNewReconciler:!1},os={readContext:Bo,useCallback:function(e,t){return Ba().memoizedState=[e,void 0===t?null:t],e},useContext:Bo,useEffect:ja,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ua(4194308,4,Ya.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ua(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ua(4,2,e,t)},useMemo:function(e,t){var n=Ba();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ba();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Xa.bind(null,Aa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ba().memoizedState=e},useState:Oa,useDebugValue:za,useDeferredValue:function(e){return Ba().memoizedState=e},useTransition:function(){var e=Oa(!1),t=e[0];return e=$a.bind(null,e[1]),Ba().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var i=Aa,o=Ba();if(no){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Qu)throw Error(n(349));30&da||xa(i,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,ja(Da.bind(null,i,a,e),[e]),i.flags|=2048,La(9,Ra.bind(null,i,a,r,t),void 0,null),r},useId:function(){var e=Ba(),t=Qu.identifierPrefix;if(no){var n=Ji;t=":"+t+"R"+(n=(Vi&~(1<<32-st(Vi)-1)).toString(32)+n),0<(n=ma++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ba++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},as={readContext:Bo,useCallback:Va,useContext:Bo,useEffect:qa,useImperativeHandle:Ka,useInsertionEffect:Ga,useLayoutEffect:Ha,useMemo:Ja,useReducer:Sa,useRef:Pa,useState:function(){return Sa(_a)},useDebugValue:za,useDeferredValue:function(e){return Wa(Ca(),ha.memoizedState,e)},useTransition:function(){return[Sa(_a)[0],Ca().memoizedState]},useMutableSource:ka,useSyncExternalStore:Ma,useId:Za,unstable_isNewReconciler:!1},ss={readContext:Bo,useCallback:Va,useContext:Bo,useEffect:qa,useImperativeHandle:Ka,useInsertionEffect:Ga,useLayoutEffect:Ha,useMemo:Ja,useReducer:Qa,useRef:Pa,useState:function(){return Qa(_a)},useDebugValue:za,useDeferredValue:function(e){var t=Ca();return null===ha?t.memoizedState=e:Wa(t,ha.memoizedState,e)},useTransition:function(){return[Qa(_a)[0],Ca().memoizedState]},useMutableSource:ka,useSyncExternalStore:Ma,useId:Za,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function cs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ls(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fs="function"==typeof WeakMap?WeakMap:Map;function ds(e,t,n){(n=Ro(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Gu||(Gu=!0,Hu=r),ls(0,t)},n}function As(e,t,n){(n=Ro(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ls(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ls(0,t),"function"!=typeof r&&(null===Yu?Yu=new Set([this]):Yu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Bc.bind(null,e,t,n),t.then(e,e))}function ps(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ro(-1,1)).tag=2,Do(n,t,1))),n.lanes|=1),e)}var ys=w.ReactCurrentOwner,ms=!1;function bs(e,t,n,r){t.child=null===e?Wo(t,null,n,r):Jo(t,e.child,n,r)}function vs(e,t,n,r,i){n=n.render;var o=t.ref;return Io(t,i),r=Ea(e,t,n,r,o,i),n=Ia(),null===e||ms?(no&&n&&Zi(t),t.flags|=1,bs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Gs(e,t,i))}function ws(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||xc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Dc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Es(e,t,o,r,i))}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:ar)(a,r)&&e.ref===t.ref)return Gs(e,t,i)}return t.flags|=1,(e=Rc(o,r)).ref=t.ref,e.return=t,t.child=e}function Es(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(ar(o,r)&&e.ref===t.ref){if(ms=!1,t.pendingProps=r=o,!(e.lanes&i))return t.lanes=e.lanes,Gs(e,t,i);131072&e.flags&&(ms=!0)}}return Cs(e,t,n,r,i)}function Is(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Bi(Ru,xu),xu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Bi(Ru,xu),xu|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Bi(Ru,xu),xu|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Bi(Ru,xu),xu|=r;return bs(e,t,i,n),t.child}function Bs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Cs(e,t,n,r,i){var o=Mi(n)?Qi:_i.current;return o=ki(t,o),Io(t,i),n=Ea(e,t,n,r,o,i),r=Ia(),null===e||ms?(no&&r&&Zi(t),t.flags|=1,bs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Gs(e,t,i))}function _s(e,t,n,r,i){if(Mi(n)){var o=!0;Ti(t)}else o=!1;if(Io(t,i),null===t.stateNode)qs(e,t),qo(t,n,r),Ho(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,c=n.contextType;c="object"==typeof c&&null!==c?Bo(c):ki(t,c=Mi(n)?Qi:_i.current);var l=n.getDerivedStateFromProps,f="function"==typeof l||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==c)&&Go(t,a,r,c),ko=!1;var d=t.memoizedState;a.state=d,Oo(t,r,a,i),u=t.memoizedState,s!==r||d!==u||Si.current||ko?("function"==typeof l&&(Uo(t,n,l,r),u=t.memoizedState),(s=ko||jo(t,n,s,r,d,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&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,xo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:po(t.type,s),a.props=c,f=t.pendingProps,d=a.context,u="object"==typeof(u=n.contextType)&&null!==u?Bo(u):ki(t,u=Mi(n)?Qi:_i.current);var A=n.getDerivedStateFromProps;(l="function"==typeof A||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||d!==u)&&Go(t,a,r,u),ko=!1,d=t.memoizedState,a.state=d,Oo(t,r,a,i);var h=t.memoizedState;s!==f||d!==h||Si.current||ko?("function"==typeof A&&(Uo(t,n,A,r),h=t.memoizedState),(c=ko||jo(t,n,c,r,d,h,u)||!1)?(l||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,u)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=u,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Ss(e,t,n,r,o,i)}function Ss(e,t,n,r,i,o){Bs(e,t);var a=!!(128&t.flags);if(!r&&!a)return i&&Ni(t,n,!1),Gs(e,t,o);r=t.stateNode,ys.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Jo(t,e.child,null,o),t.child=Jo(t,null,s,o)):bs(e,t,s,o),t.memoizedState=r.state,i&&Ni(t,n,!0),t.child}function Qs(e){var t=e.stateNode;t.pendingContext?Ri(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ri(0,t.context,!1),na(e,t.containerInfo)}function ks(e,t,n,r,i){return fo(),Ao(i),t.flags|=256,bs(e,t,n,r),t.child}var Ms,xs,Rs,Ds,Ts={dehydrated:null,treeContext:null,retryLane:0};function Ns(e){return{baseLanes:e,cachePool:null,transitions:null}}function Os(e,t,r){var i,o=t.pendingProps,a=aa.current,s=!1,u=!!(128&t.flags);if((i=u)||(i=(null===e||null!==e.memoizedState)&&!!(2&a)),i?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Bi(aa,1&a),null===e)return so(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(u=o.children,e=o.fallback,s?(o=t.mode,s=t.child,u={mode:"hidden",children:u},1&o||null===s?s=Nc(u,o,0,null):(s.childLanes=0,s.pendingProps=u),e=Tc(e,o,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ns(r),t.memoizedState=Ts,e):Ls(t,u));if(null!==(a=e.memoizedState)&&null!==(i=a.dehydrated))return function(e,t,r,i,o,a,s){if(r)return 256&t.flags?(t.flags&=-257,Ps(e,t,s,i=cs(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=Nc({mode:"visible",children:i.children},o,0,null),(a=Tc(a,o,s,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,!!(1&t.mode)&&Jo(t,e.child,null,s),t.child.memoizedState=Ns(s),t.memoizedState=Ts,a);if(!(1&t.mode))return Ps(e,t,s,null);if("$!"===o.data){if(i=o.nextSibling&&o.nextSibling.dataset)var u=i.dgst;return i=u,Ps(e,t,s,i=cs(a=Error(n(419)),i,void 0))}if(u=!!(s&e.childLanes),ms||u){if(null!==(i=Qu)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=o&(i.suspendedLanes|s)?0:o)&&o!==a.retryLane&&(a.retryLane=o,Qo(e,o),tc(i,e,o,-1))}return hc(),Ps(e,t,s,i=cs(Error(n(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=_c.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,to=si(o.nextSibling),eo=t,no=!0,ro=null,null!==e&&(Yi[Ki++]=Vi,Yi[Ki++]=Ji,Yi[Ki++]=zi,Vi=e.id,Ji=e.overflow,zi=t),(t=Ls(t,i.children)).flags|=4096,t)}(e,t,u,o,i,a,r);if(s){s=o.fallback,u=t.mode,i=(a=e.child).sibling;var c={mode:"hidden",children:o.children};return 1&u||t.child===a?(o=Rc(a,c)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null),null!==i?s=Rc(i,s):(s=Tc(s,u,r,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,u=null===(u=e.child.memoizedState)?Ns(r):{baseLanes:u.baseLanes|r,cachePool:null,transitions:u.transitions},s.memoizedState=u,s.childLanes=e.childLanes&~r,t.memoizedState=Ts,o}return e=(s=e.child).sibling,o=Rc(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Ls(e,t){return(t=Nc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ps(e,t,n,r){return null!==r&&Ao(r),Jo(t,e.child,null,n),(e=Ls(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Us(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function Fs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function js(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(bs(e,t,r.children,n),2&(r=aa.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Us(e,n,t);else if(19===e.tag)Us(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Bi(aa,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===sa(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Fs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===sa(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Fs(t,!0,n,null,o);break;case"together":Fs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function qs(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Gs(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Nu|=t.lanes,!(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Rc(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Rc(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Hs(e,t){if(!no)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ys(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ks(e,t,r){var o=t.pendingProps;switch(Xi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ys(t),null;case 1:case 17:return Mi(t.type)&&xi(),Ys(t),null;case 3:return o=t.stateNode,ra(),Ii(Si),Ii(_i),ca(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(co(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ro&&(oc(ro),ro=null))),xs(e,t),Ys(t),null;case 5:oa(t);var a=ta(ea.current);if(r=t.type,null!==e&&null!=t.stateNode)Rs(e,t,r,o,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(null===t.stateNode)throw Error(n(166));return Ys(t),null}if(e=ta(Zo.current),co(t)){o=t.stateNode,r=t.type;var s=t.memoizedProps;switch(o[li]=t,o[fi]=s,e=!!(1&t.mode),r){case"dialog":Lr("cancel",o),Lr("close",o);break;case"iframe":case"object":case"embed":Lr("load",o);break;case"video":case"audio":for(a=0;a<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=u.createElement(r,{is:o.is}):(e=u.createElement(r),"select"===r&&(u=e,o.multiple?u.multiple=!0:o.size&&(u.size=o.size))):e=u.createElementNS(e,r),e[li]=t,e[fi]=o,Ms(e,t,!1,!1),t.stateNode=e;e:{switch(u=ve(r,o),r){case"dialog":Lr("cancel",e),Lr("close",e),a=o;break;case"iframe":case"object":case"embed":Lr("load",e),a=o;break;case"video":case"audio":for(a=0;aju&&(t.flags|=128,o=!0,Hs(s,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=sa(u))){if(t.flags|=128,o=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Hs(s,!0),null===s.tail&&"hidden"===s.tailMode&&!u.alternate&&!no)return Ys(t),null}else 2*Ze()-s.renderingStartTime>ju&&1073741824!==r&&(t.flags|=128,o=!0,Hs(s,!1),t.lanes=4194304);s.isBackwards?(u.sibling=t.child,t.child=u):(null!==(r=s.last)?r.sibling=u:t.child=u,s.last=u)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ze(),t.sibling=null,r=aa.current,Bi(aa,o?1&r|2:1&r),t):(Ys(t),null);case 22:case 23:return lc(),o=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==o&&(t.flags|=8192),o&&1&t.mode?!!(1073741824&xu)&&(Ys(t),6&t.subtreeFlags&&(t.flags|=8192)):Ys(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function zs(e,t){switch(Xi(t),t.tag){case 1:return Mi(t.type)&&xi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ra(),Ii(Si),Ii(_i),ca(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oa(t),null;case 13:if(Ii(aa),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));fo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ii(aa),null;case 4:return ra(),null;case 10:return wo(t.type._context),null;case 22:case 23:return lc(),null;default:return null}}Ms=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},xs=function(){},Rs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ta(Zo.current);var a,s=null;switch(n){case"input":o=W(e,o),r=W(e,r),s=[];break;case"select":o=P({},o,{value:void 0}),r=P({},r,{value:void 0}),s=[];break;case"textarea":o=ie(e,o),r=ie(e,r),s=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=$r)}for(l in be(n,r),n=null,o)if(!r.hasOwnProperty(l)&&o.hasOwnProperty(l)&&null!=o[l])if("style"===l){var u=o[l];for(a in u)u.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(i.hasOwnProperty(l)?s||(s=[]):(s=s||[]).push(l,null));for(l in r){var c=r[l];if(u=null!=o?o[l]:void 0,r.hasOwnProperty(l)&&c!==u&&(null!=c||null!=u))if("style"===l)if(u){for(a in u)!u.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&u[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(s||(s=[]),s.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(s=s||[]).push(l,c)):"children"===l?"string"!=typeof c&&"number"!=typeof c||(s=s||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(i.hasOwnProperty(l)?(null!=c&&"onScroll"===l&&Lr("scroll",e),s||u===c||(s=[])):(s=s||[]).push(l,c))}n&&(s=s||[]).push("style",n);var l=s;(t.updateQueue=l)&&(t.flags|=4)}},Ds=function(e,t,n,r){n!==r&&(t.flags|=4)};var Vs=!1,Js=!1,Ws="function"==typeof WeakSet?WeakSet:Set,$s=null;function Zs(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Ic(e,t,n)}else n.current=null}function Xs(e,t,n){try{n()}catch(n){Ic(e,t,n)}}var eu=!1;function tu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&Xs(t,n,o)}i=i.next}while(i!==r)}}function nu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ru(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function iu(e){var t=e.alternate;null!==t&&(e.alternate=null,iu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[li],delete t[fi],delete t[Ai],delete t[hi],delete t[pi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ou(e){return 5===e.tag||3===e.tag||4===e.tag}function au(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ou(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=$r));else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function uu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(uu(e,t,n),e=e.sibling;null!==e;)uu(e,t,n),e=e.sibling}var cu=null,lu=!1;function fu(e,t,n){for(n=n.child;null!==n;)du(e,t,n),n=n.sibling}function du(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Js||Zs(n,t);case 6:var r=cu,i=lu;cu=null,fu(e,t,n),lu=i,null!==(cu=r)&&(lu?(e=cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cu.removeChild(n.stateNode));break;case 18:null!==cu&&(lu?(e=cu,n=n.stateNode,8===e.nodeType?ai(e.parentNode,n):1===e.nodeType&&ai(e,n),Gt(e)):ai(cu,n.stateNode));break;case 4:r=cu,i=lu,cu=n.stateNode.containerInfo,lu=!0,fu(e,t,n),cu=r,lu=i;break;case 0:case 11:case 14:case 15:if(!Js&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(!!(2&o)||!!(4&o))&&Xs(n,t,a),i=i.next}while(i!==r)}fu(e,t,n);break;case 1:if(!Js&&(Zs(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Ic(n,t,e)}fu(e,t,n);break;case 21:fu(e,t,n);break;case 22:1&n.mode?(Js=(r=Js)||null!==n.memoizedState,fu(e,t,n),Js=r):fu(e,t,n);break;default:fu(e,t,n)}}function Au(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ws),t.forEach((function(t){var r=Sc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hu(e,t){var r=t.deletions;if(null!==r)for(var i=0;io&&(o=s),i&=~a}if(i=o,10<(i=(120>(i=Ze()-i)?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Iu(i/1960))-i)){e.timeoutHandle=ti(vc.bind(null,e,Uu,qu),i);break}vc(e,Uu,qu);break;default:throw Error(n(329))}}}return nc(e,Ze()),e.callbackNode===r?rc.bind(null,e):null}function ic(e,t){var n=Pu;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=pc(e,t))&&(t=Uu,Uu=n,null!==t&&oc(t)),e}function oc(e){null===Uu?Uu=e:Uu.push.apply(Uu,e)}function ac(e,t){for(t&=~Lu,t&=~Ou,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===zu)var i=!1;else{if(e=zu,zu=null,Vu=0,6&Su)throw Error(n(331));var o=Su;for(Su|=4,$s=e.current;null!==$s;){var a=$s,s=a.child;if(16&$s.flags){var u=a.deletions;if(null!==u){for(var c=0;cZe()-Fu?fc(e,0):Lu|=n),nc(e,t)}function Cc(e,t){0===t&&(1&e.mode?(t=ft,!(130023424&(ft<<=1))&&(ft=4194304)):t=1);var n=Xu();null!==(e=Qo(e,t))&&(mt(e,t,n),nc(e,n))}function _c(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Cc(e,n)}function Sc(e,t){var r=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(n(314))}null!==i&&i.delete(t),Cc(e,r)}function Qc(e,t){return Ve(e,t)}function kc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mc(e,t,n,r){return new kc(e,t,n,r)}function xc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var n=e.alternate;return null===n?((n=Mc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Dc(e,t,r,i,o,a){var s=2;if(i=e,"function"==typeof e)xc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case B:return Tc(r.children,o,a,t);case C:s=8,o|=8;break;case _:return(e=Mc(12,r,t,2|o)).elementType=_,e.lanes=a,e;case M:return(e=Mc(13,r,t,o)).elementType=M,e.lanes=a,e;case x:return(e=Mc(19,r,t,o)).elementType=x,e.lanes=a,e;case T:return Nc(r,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:s=10;break e;case Q:s=9;break e;case k:s=11;break e;case R:s=14;break e;case D:s=16,i=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Mc(s,r,t,o)).elementType=e,t.type=i,t.lanes=a,t}function Tc(e,t,n,r){return(e=Mc(7,e,r,t)).lanes=n,e}function Nc(e,t,n,r){return(e=Mc(22,e,r,t)).elementType=T,e.lanes=n,e.stateNode={isHidden:!1},e}function Oc(e,t,n){return(e=Mc(6,e,null,t)).lanes=n,e}function Lc(e,t,n){return(t=Mc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Pc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yt(0),this.expirationTimes=yt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Uc(e,t,n,r,i,o,a,s,u){return e=new Pc(e,t,n,s,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Mc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mo(o),e}function Fc(e){if(!e)return Ci;e:{if(Ge(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Mi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Mi(r))return Di(e,r,t)}return t}function jc(e,t,n,r,i,o,a,s,u){return(e=Uc(n,r,!0,e,0,o,0,s,u)).context=Fc(null),n=e.current,(o=Ro(r=Xu(),i=ec(n))).callback=null!=t?t:null,Do(n,o,i),e.current.lanes=i,mt(e,i,r),nc(e,r),e}function qc(e,t,n,r){var i=t.current,o=Xu(),a=ec(i);return n=Fc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ro(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Do(i,t,a))&&(tc(e,i,a,o),To(e,i,a)),a}function Gc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n1?t-1:0),i=1;i1?t-1:0),i=1;i2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])}function pe(e,t,n,r){if(null!==n&&n.type===re)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;var i=e.toLowerCase().slice(0,5);return"data-"!==i&&"aria-"!==i;default:return!1}}function ge(e,t,n,r){if(null==t)return!0;if(pe(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case ie:return!t;case oe:return!1===t;case ae:return isNaN(t);case se:return isNaN(t)||t<1}return!1}function ye(e){return be.hasOwnProperty(e)?be[e]:null}function me(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||t===ie||t===oe,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var be={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){be[e]=new me(e,re,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0],n=e[1];be[t]=new me(t,1,!1,n,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){be[e]=new me(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){be[e]=new me(e,2,!1,e,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"].forEach((function(e){be[e]=new me(e,ie,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){be[e]=new me(e,ie,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){be[e]=new me(e,oe,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){be[e]=new me(e,se,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){be[e]=new me(e,ae,!1,e.toLowerCase(),null,!1,!1)}));var ve=/[\-\:]([a-z])/g,we=function(e){return e[1].toUpperCase()};["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"].forEach((function(e){var t=e.replace(ve,we);be[t]=new me(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(ve,we);be[t]=new me(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(ve,we);be[t]=new me(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){be[e]=new me(e,1,!1,e.toLowerCase(),null,!1,!1)})),be.xlinkHref=new me("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){be[e]=new me(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Ee=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Ie=!1;function Be(e){!Ie&&Ee.test(e)&&(Ie=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ce(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];te(n,t),r.sanitizeURL&&Be(""+n);var i=r.attributeName,o=null;if(r.type===oe){if(e.hasAttribute(i)){var a=e.getAttribute(i);return""===a||(ge(t,n,r,!1)?a:a===""+n?n:a)}}else if(e.hasAttribute(i)){if(ge(t,n,r,!1))return e.getAttribute(i);if(r.type===ie)return n;o=e.getAttribute(i)}return ge(t,n,r,!1)?null===o?n:o:o===""+n?n:o}function _e(e,t,n,r){if(Ae(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var i=e.getAttribute(t);return te(n,t),i===""+n?n:i}}function Se(e,t,n,r){var i=ye(t);if(!he(t,i,r))if(ge(t,n,i,r)&&(n=null),r||null===i){if(Ae(t)){var o=t;null===n?e.removeAttribute(o):(te(n,t),e.setAttribute(o,""+n))}}else if(i.mustUseProperty){var a=i.propertyName;if(null===n){var s=i.type;e[a]=s!==ie&&""}else e[a]=n}else{var u=i.attributeName,c=i.attributeNamespace;if(null===n)e.removeAttribute(u);else{var l,f=i.type;f===ie||f===oe&&!0===n?l="":(te(n,u),l=""+n,i.sanitizeURL&&Be(l.toString())),c?e.setAttributeNS(c,u,l):e.setAttribute(u,l)}}}var Qe=Symbol.for("react.element"),ke=Symbol.for("react.portal"),Me=Symbol.for("react.fragment"),xe=Symbol.for("react.strict_mode"),Re=Symbol.for("react.profiler"),De=Symbol.for("react.provider"),Te=Symbol.for("react.context"),Ne=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Le=Symbol.for("react.suspense_list"),Pe=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),Fe=Symbol.for("react.offscreen"),je=Symbol.iterator,qe="@@iterator";function Ge(e){if(null===e||"object"!=typeof e)return null;var t=je&&e[je]||e[qe];return"function"==typeof t?t:null}var He,Ye,Ke,ze,Ve,Je,We,$e=Object.assign,Ze=0;function Xe(){}Xe.__reactDisabledLog=!0;var et,tt=n.ReactCurrentDispatcher;function nt(e,t,n){if(void 0===et)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);et=r&&r[1]||""}return"\n"+et+e}var rt,it=!1,ot="function"==typeof WeakMap?WeakMap:Map;function at(e,t){if(!e||it)return"";var n,r=rt.get(e);if(void 0!==r)return r;it=!0;var i,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=tt.current,tt.current=null,function(){if(0===Ze){He=console.log,Ye=console.info,Ke=console.warn,ze=console.error,Ve=console.group,Je=console.groupCollapsed,We=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Xe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ze++}();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(e){n=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){n=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var u=t.stack.split("\n"),c=n.stack.split("\n"),l=u.length-1,f=c.length-1;l>=1&&f>=0&&u[l]!==c[f];)f--;for(;l>=1&&f>=0;l--,f--)if(u[l]!==c[f]){if(1!==l||1!==f)do{if(l--,--f<0||u[l]!==c[f]){var d="\n"+u[l].replace(" at new "," at ");return e.displayName&&d.includes("")&&(d=d.replace("",e.displayName)),"function"==typeof e&&rt.set(e,d),d}}while(l>=1&&f>=0);break}}}finally{it=!1,tt.current=i,function(){if(0==--Ze){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$e({},e,{value:He}),info:$e({},e,{value:Ye}),warn:$e({},e,{value:Ke}),error:$e({},e,{value:ze}),group:$e({},e,{value:Ve}),groupCollapsed:$e({},e,{value:Je}),groupEnd:$e({},e,{value:We})})}Ze<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var A=e?e.displayName||e.name:"",h=A?nt(A):"";return"function"==typeof e&&rt.set(e,h),h}function st(e,t,n){return at(e,!1)}function ut(e,t,n){if(null==e)return"";if("function"==typeof e)return at(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return nt(e);switch(e){case Oe:return nt("Suspense");case Le:return nt("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case Ne:return st(e.render);case Pe:return ut(e.type,t,n);case Ue:var i=e,o=i._payload,a=i._init;try{return ut(a(o),t,n)}catch(e){}}return""}function ct(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case A:return nt(e.type);case _:return nt("Lazy");case I:return nt("Suspense");case k:return nt("SuspenseList");case s:case c:case C:return st(e.type);case v:return st(e.type.render);case u:return at(e.type,!0);default:return""}}function lt(e){try{var t="",n=e;do{t+=ct(n),n=n.return}while(n);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function ft(e){return e.displayName||"Context"}function dt(e){if(null==e)return null;if("number"==typeof e.tag&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Me:return"Fragment";case ke:return"Portal";case Re:return"Profiler";case xe:return"StrictMode";case Oe:return"Suspense";case Le:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Te:return ft(e)+".Consumer";case De:return ft(e._context)+".Provider";case Ne:return function(e,t,n){var r=e.displayName;if(r)return r;var i=t.displayName||t.name||"";return""!==i?n+"("+i+")":n}(e,e.render,"ForwardRef");case Pe:var t=e.displayName||null;return null!==t?t:dt(e.type)||"Memo";case Ue:var n=e,r=n._payload,i=n._init;try{return dt(i(r))}catch(e){return null}}return null}function At(e){return e.displayName||"Context"}function ht(e){var t,n,r,i,o=e.tag,a=e.type;switch(o){case D:return"Cache";case y:return At(a)+".Consumer";case m:return At(a._context)+".Provider";case Q:return"DehydratedFragment";case v:return t=a,r="ForwardRef",i=(n=a.render).displayName||n.name||"",t.displayName||(""!==i?r+"("+i+")":r);case p:return"Fragment";case A:return a;case d:return"Portal";case l:return"Root";case h:return"Text";case _:return dt(a);case g:return a===xe?"StrictMode":"Mode";case x:return"Offscreen";case E:return"Profiler";case M:return"Scope";case I:return"Suspense";case k:return"SuspenseList";case T:return"TracingMarker";case u:case s:case S:case c:case B:case C:if("function"==typeof a)return a.displayName||a.name||null;if("string"==typeof a)return a}return null}rt=new ot;var pt=n.ReactDebugCurrentFrame,gt=null,yt=!1;function mt(){if(null===gt)return null;var e=gt._debugOwner;return null!=e?ht(e):null}function bt(){return null===gt?"":lt(gt)}function vt(){pt.getCurrentStack=null,gt=null,yt=!1}function wt(e){pt.getCurrentStack=null===e?null:bt,gt=e,yt=!1}function Et(e){yt=e}function It(e){return""+e}function Bt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return ne(e),e;default:return""}}var Ct={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function _t(e,t){Ct[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function St(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function Qt(e){return e._valueTracker}function kt(e){Qt(e)||(e._valueTracker=function(e){var t=St(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);ne(e[t]);var r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){ne(e),r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var a={getValue:function(){return r},setValue:function(e){ne(e),r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return a}}(e))}function Mt(e){if(!e)return!1;var t=Qt(e);if(!t)return!0;var n=t.getValue(),r=function(e){var t="";return e?t=St(e)?e.checked?"true":"false":e.value:t}(e);return r!==n&&(t.setValue(r),!0)}function xt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var Rt=!1,Dt=!1,Tt=!1,Nt=!1;function Ot(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function Lt(e,t){var n=e,r=t.checked;return $e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:n._wrapperState.initialChecked})}function Pt(e,t){_t(0,t),void 0===t.checked||void 0===t.defaultChecked||Dt||(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",mt()||"A component",t.type),Dt=!0),void 0===t.value||void 0===t.defaultValue||Rt||(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",mt()||"A component",t.type),Rt=!0);var n=e,r=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:Bt(null!=t.value?t.value:r),controlled:Ot(t)}}function Ut(e,t){var n=e,r=t.checked;null!=r&&Se(n,"checked",r,!1)}function Ft(e,t){var n=e,r=Ot(t);n._wrapperState.controlled||!r||Nt||(o("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Nt=!0),!n._wrapperState.controlled||r||Tt||(o("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Tt=!0),Ut(e,t);var i=Bt(t.value),a=t.type;if(null!=i)"number"===a?(0===i&&""===n.value||n.value!=i)&&(n.value=It(i)):n.value!==It(i)&&(n.value=It(i));else if("submit"===a||"reset"===a)return void n.removeAttribute("value");t.hasOwnProperty("value")?qt(n,t.type,i):t.hasOwnProperty("defaultValue")&&qt(n,t.type,Bt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function jt(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!("submit"!==i&&"reset"!==i||void 0!==t.value&&null!==t.value))return;var o=It(r._wrapperState.initialValue);n||o!==r.value&&(r.value=o),r.defaultValue=o}var a=r.name;""!==a&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==a&&(r.name=a)}function qt(e,t,n){"number"===t&&xt(e.ownerDocument)===e||(null==n?e.defaultValue=It(e._wrapperState.initialValue):e.defaultValue!==It(n)&&(e.defaultValue=It(n)))}var Gt=!1,Ht=!1,Yt=!1;function Kt(t,n){null==n.value&&("object"==typeof n.children&&null!==n.children?e.Children.forEach(n.children,(function(e){null!=e&&"string"!=typeof e&&"number"!=typeof e&&(Ht||(Ht=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to