@reown/walletkit 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +17 -15
- package/dist/index.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/constants/client.d.ts +1 -1
- package/dist/types/constants/client.d.ts.map +1 -1
- package/dist/types/types/client.d.ts +3 -0
- package/dist/types/types/client.d.ts.map +1 -1
- package/dist/types/types/engine.d.ts +1 -0
- package/dist/types/types/engine.d.ts.map +1 -1
- package/dist/types/types/pay.d.ts +2 -2
- package/dist/types/types/pay.d.ts.map +1 -1
- package/dist/types/utils/notifications.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(ze,mn){typeof exports=="object"&&typeof module<"u"?mn(exports):typeof define=="function"&&define.amd?define(["exports"],mn):(ze=typeof globalThis<"u"?globalThis:ze||self,mn(ze["@reown/walletkit"]={}))})(this,function(ze){"use strict";var mn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kh(t){var e=t.default;if(typeof e=="function"){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var Qe={exports:{}},Vi=typeof Reflect=="object"?Reflect:null,Gh=Vi&&typeof Vi.apply=="function"?Vi.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},Go;Vi&&typeof Vi.ownKeys=="function"?Go=Vi.ownKeys:Object.getOwnPropertySymbols?Go=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Go=function(e){return Object.getOwnPropertyNames(e)};function f2(t){console&&console.warn&&console.warn(t)}var Zh=Number.isNaN||function(e){return e!==e};function ge(){ge.init.call(this)}Qe.exports=ge,Qe.exports.once=d2,ge.EventEmitter=ge,ge.prototype._events=void 0,ge.prototype._eventsCount=0,ge.prototype._maxListeners=void 0;var Wh=10;function Zo(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(ge,"defaultMaxListeners",{enumerable:!0,get:function(){return Wh},set:function(t){if(typeof t!="number"||t<0||Zh(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");Wh=t}}),ge.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ge.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Zh(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Yh(t){return t._maxListeners===void 0?ge.defaultMaxListeners:t._maxListeners}ge.prototype.getMaxListeners=function(){return Yh(this)},ge.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",s=this._events;if(s!==void 0)i=i&&s.error===void 0;else if(!i)return!1;if(i){var o;if(n.length>0&&(o=n[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=s[e];if(c===void 0)return!1;if(typeof c=="function")Gh(c,this,n);else for(var f=c.length,u=td(c,f),r=0;r<f;++r)Gh(u[r],this,n);return!0};function Xh(t,e,n,r){var i,s,o;if(Zo(n),s=t._events,s===void 0?(s=t._events=Object.create(null),t._eventsCount=0):(s.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),s=t._events),o=s[e]),o===void 0)o=s[e]=n,++t._eventsCount;else if(typeof o=="function"?o=s[e]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),i=Yh(t),i>0&&o.length>i&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=o.length,f2(a)}return t}ge.prototype.addListener=function(e,n){return Xh(this,e,n,!1)},ge.prototype.on=ge.prototype.addListener,ge.prototype.prependListener=function(e,n){return Xh(this,e,n,!0)};function u2(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Jh(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=u2.bind(r);return i.listener=n,r.wrapFn=i,i}ge.prototype.once=function(e,n){return Zo(n),this.on(e,Jh(this,e,n)),this},ge.prototype.prependOnceListener=function(e,n){return Zo(n),this.prependListener(e,Jh(this,e,n)),this},ge.prototype.removeListener=function(e,n){var r,i,s,o,a;if(Zo(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(s=-1,o=r.length-1;o>=0;o--)if(r[o]===n||r[o].listener===n){a=r[o].listener,s=o;break}if(s<0)return this;s===0?r.shift():l2(r,s),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||n)}return this},ge.prototype.off=ge.prototype.removeListener,ge.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var s=Object.keys(r),o;for(i=0;i<s.length;++i)o=s[i],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function Qh(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?h2(i):td(i,i.length)}ge.prototype.listeners=function(e){return Qh(this,e,!0)},ge.prototype.rawListeners=function(e){return Qh(this,e,!1)},ge.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):ed.call(t,e)},ge.prototype.listenerCount=ed;function ed(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}ge.prototype.eventNames=function(){return this._eventsCount>0?Go(this._events):[]};function td(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function l2(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function h2(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function d2(t,e){return new Promise(function(n,r){function i(o){t.removeListener(e,s),r(o)}function s(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}nd(t,e,s,{once:!0}),e!=="error"&&p2(t,i,{once:!0})})}function p2(t,e,n){typeof t.on=="function"&&nd(t,"error",e,n)}function nd(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(s){r.once&&t.removeEventListener(e,i),n(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}var vn={exports:{}};function g2(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}var y2=b2;function b2(t,e,n){var r=n&&n.stringify||g2,i=1;if(typeof t=="object"&&t!==null){var s=e.length+i;if(s===1)return t;var o=new Array(s);o[0]=r(t);for(var a=1;a<s;a++)o[a]=r(e[a]);return o.join(" ")}if(typeof t!="string")return t;var c=e.length;if(c===0)return t;for(var f="",u=1-i,h=-1,l=t&&t.length||0,d=0;d<l;){if(t.charCodeAt(d)===37&&d+1<l){switch(h=h>-1?h:0,t.charCodeAt(d+1)){case 100:case 102:if(u>=c||e[u]==null)break;h<d&&(f+=t.slice(h,d)),f+=Number(e[u]),h=d+2,d++;break;case 105:if(u>=c||e[u]==null)break;h<d&&(f+=t.slice(h,d)),f+=Math.floor(Number(e[u])),h=d+2,d++;break;case 79:case 111:case 106:if(u>=c||e[u]===void 0)break;h<d&&(f+=t.slice(h,d));var p=typeof e[u];if(p==="string"){f+="'"+e[u]+"'",h=d+2,d++;break}if(p==="function"){f+=e[u].name||"<anonymous>",h=d+2,d++;break}f+=r(e[u]),h=d+2,d++;break;case 115:if(u>=c)break;h<d&&(f+=t.slice(h,d)),f+=String(e[u]),h=d+2,d++;break;case 37:h<d&&(f+=t.slice(h,d)),f+="%",h=d+2,d++,u--;break}++u}++d}return h===-1?t:(h<l&&(f+=t.slice(h)),f)}const rd=y2;vn.exports=Nn;const Ts=R2().console||{},w2={mapHttpRequest:Wo,mapHttpResponse:Wo,wrapRequestSerializer:Jc,wrapResponseSerializer:Jc,wrapErrorSerializer:Jc,req:Wo,res:Wo,err:sd,errWithCause:sd};function hr(t,e){return t==="silent"?1/0:e.levels.values[t]}const Zc=Symbol("pino.logFuncs"),Wc=Symbol("pino.hierarchy"),m2={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function id(t,e){const n={logger:e,parent:t[Wc]};e[Wc]=n}function v2(t,e,n){const r={};e.forEach(i=>{r[i]=n[i]?n[i]:Ts[i]||Ts[m2[i]||"log"]||Ki}),t[Zc]=r}function E2(t,e){return Array.isArray(t)?t.filter(function(n){return n!=="!stdSerializers.err"}):t===!0?Object.keys(e):!1}function Nn(t){t=t||{},t.browser=t.browser||{};const e=t.browser.transmit;if(e&&typeof e.send!="function")throw Error("pino: transmit option must have a send function");const n=t.browser.write||Ts;t.browser.write&&(t.browser.asObject=!0);const r=t.serializers||{},i=E2(t.browser.serialize,r);let s=t.browser.serialize;Array.isArray(t.browser.serialize)&&t.browser.serialize.indexOf("!stdSerializers.err")>-1&&(s=!1);const o=Object.keys(t.customLevels||{}),a=["error","fatal","warn","info","debug","trace"].concat(o);typeof n=="function"&&a.forEach(function(b){n[b]=n}),(t.enabled===!1||t.browser.disabled)&&(t.level="silent");const c=t.level||"info",f=Object.create(n);f.log||(f.log=Ki),v2(f,a,n),id({},f),Object.defineProperty(f,"levelVal",{get:h}),Object.defineProperty(f,"level",{get:l,set:d});const u={transmit:e,serialize:i,asObject:t.browser.asObject,asObjectBindingsOnly:t.browser.asObjectBindingsOnly,formatters:t.browser.formatters,levels:a,timestamp:O2(t),messageKey:t.messageKey||"msg",onChild:t.onChild||Ki};f.levels=x2(t),f.level=c,f.isLevelEnabled=function(b){return this.levels.values[b]?this.levels.values[b]>=this.levels.values[this.level]:!1},f.setMaxListeners=f.getMaxListeners=f.emit=f.addListener=f.on=f.prependListener=f.once=f.prependOnceListener=f.removeListener=f.removeAllListeners=f.listeners=f.listenerCount=f.eventNames=f.write=f.flush=Ki,f.serializers=r,f._serialize=i,f._stdErrSerialize=s,f.child=function(...b){return p.call(this,u,...b)},e&&(f._logEvent=Xc());function h(){return hr(this.level,this)}function l(){return this._level}function d(b){if(b!=="silent"&&!this.levels.values[b])throw Error("unknown level "+b);this._level=b,hi(this,u,f,"error"),hi(this,u,f,"fatal"),hi(this,u,f,"warn"),hi(this,u,f,"info"),hi(this,u,f,"debug"),hi(this,u,f,"trace"),o.forEach(v=>{hi(this,u,f,v)})}function p(b,v,O){if(!v)throw new Error("missing bindings for child Pino");O=O||{},i&&v.serializers&&(O.serializers=v.serializers);const P=O.serializers;if(i&&P){var x=Object.assign({},r,P),S=t.browser.serialize===!0?Object.keys(x):i;delete v.serializers,Yc([v],S,x,this._stdErrSerialize)}function R(L){this._childLevel=(L._childLevel|0)+1,this.bindings=v,x&&(this.serializers=x,this._serialize=S),e&&(this._logEvent=Xc([].concat(L._logEvent.bindings,v)))}R.prototype=this;const U=new R(this);return id(this,U),U.child=function(...L){return p.call(this,b,...L)},U.level=O.level||this.level,b.onChild(U),U}return f}function x2(t){const e=t.customLevels||{},n=Object.assign({},Nn.levels.values,e),r=Object.assign({},Nn.levels.labels,_2(e));return{values:n,labels:r}}function _2(t){const e={};return Object.keys(t).forEach(function(n){e[t[n]]=n}),e}Nn.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},Nn.stdSerializers=w2,Nn.stdTimeFunctions=Object.assign({},{nullTime:od,epochTime:ad,unixTime:D2,isoTime:P2});function I2(t){const e=[];t.bindings&&e.push(t.bindings);let n=t[Wc];for(;n.parent;)n=n.parent,n.logger.bindings&&e.push(n.logger.bindings);return e.reverse()}function hi(t,e,n,r){if(Object.defineProperty(t,r,{value:hr(t.level,n)>hr(r,n)?Ki:n[Zc][r],writable:!0,enumerable:!0,configurable:!0}),t[r]===Ki){if(!e.transmit)return;const s=e.transmit.level||t.level,o=hr(s,n);if(hr(r,n)<o)return}t[r]=B2(t,e,n,r);const i=I2(t);i.length!==0&&(t[r]=S2(i,t[r]))}function S2(t,e){return function(){return e.apply(this,[...t,...arguments])}}function B2(t,e,n,r){return function(i){return function(){const s=e.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===Ts?Ts:this;for(var c=0;c<o.length;c++)o[c]=arguments[c];var f=!1;if(e.serialize&&(Yc(o,this._serialize,this.serializers,this._stdErrSerialize),f=!0),e.asObject||e.formatters?i.call(a,...$2(this,r,o,s,e)):i.apply(a,o),e.transmit){const u=e.transmit.level||t._level,h=hr(u,n),l=hr(r,n);if(l<h)return;A2(this,{ts:s,methodLevel:r,methodValue:l,transmitLevel:u,transmitValue:n.levels.values[e.transmit.level||t._level],send:e.transmit.send,val:hr(t._level,n)},o,f)}}}(t[Zc][r])}function $2(t,e,n,r,i){const{level:s,log:o=h=>h}=i.formatters||{},a=n.slice();let c=a[0];const f={};let u=(t._childLevel|0)+1;if(u<1&&(u=1),r&&(f.time=r),s){const h=s(e,t.levels.values[e]);Object.assign(f,h)}else f.level=t.levels.values[e];if(i.asObjectBindingsOnly){if(c!==null&&typeof c=="object")for(;u--&&typeof a[0]=="object";)Object.assign(f,a.shift());return[o(f),...a]}else{if(c!==null&&typeof c=="object"){for(;u--&&typeof a[0]=="object";)Object.assign(f,a.shift());c=a.length?rd(a.shift(),a):void 0}else typeof c=="string"&&(c=rd(a.shift(),a));return c!==void 0&&(f[i.messageKey]=c),[o(f)]}}function Yc(t,e,n,r){for(const i in t)if(r&&t[i]instanceof Error)t[i]=Nn.stdSerializers.err(t[i]);else if(typeof t[i]=="object"&&!Array.isArray(t[i])&&e)for(const s in t[i])e.indexOf(s)>-1&&s in n&&(t[i][s]=n[s](t[i][s]))}function A2(t,e,n,r=!1){const i=e.send,s=e.ts,o=e.methodLevel,a=e.methodValue,c=e.val,f=t._logEvent.bindings;r||Yc(n,t._serialize||Object.keys(t.serializers),t.serializers,t._stdErrSerialize===void 0?!0:t._stdErrSerialize),t._logEvent.ts=s,t._logEvent.messages=n.filter(function(u){return f.indexOf(u)===-1}),t._logEvent.level.label=o,t._logEvent.level.value=a,i(o,t._logEvent,c),t._logEvent=Xc(f)}function Xc(t){return{ts:0,messages:[],bindings:t||[],level:{label:"",value:0}}}function sd(t){const e={type:t.constructor.name,msg:t.message,stack:t.stack};for(const n in t)e[n]===void 0&&(e[n]=t[n]);return e}function O2(t){return typeof t.timestamp=="function"?t.timestamp:t.timestamp===!1?od:ad}function Wo(){return{}}function Jc(t){return t}function Ki(){}function od(){return!1}function ad(){return Date.now()}function D2(){return Math.round(Date.now()/1e3)}function P2(){return new Date(Date.now()).toISOString()}function R2(){function t(e){return typeof e<"u"&&e}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return t(self)||t(window)||t(this)||{}}}vn.exports.default=Nn;var cd=vn.exports.pino=Nn;const T2={level:"info"},Yo="custom_context",Qc=1e3*1024;var N2=Object.defineProperty,U2=(t,e,n)=>e in t?N2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,dr=(t,e,n)=>U2(t,typeof e!="symbol"?e+"":e,n);class C2{constructor(e){dr(this,"nodeValue"),dr(this,"sizeInBytes"),dr(this,"next"),this.nodeValue=e,this.sizeInBytes=new TextEncoder().encode(this.nodeValue).length,this.next=null}get value(){return this.nodeValue}get size(){return this.sizeInBytes}}class fd{constructor(e){dr(this,"lengthInNodes"),dr(this,"sizeInBytes"),dr(this,"head"),dr(this,"tail"),dr(this,"maxSizeInBytes"),this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){const n=new C2(e);if(n.size>this.maxSizeInBytes)throw new Error(`[LinkedList] Value too big to insert into list: ${e} with size ${n.size}`);for(;this.size+n.size>this.maxSizeInBytes;)this.shift();this.head?(this.tail&&(this.tail.next=n),this.tail=n):(this.head=n,this.tail=n),this.lengthInNodes++,this.sizeInBytes+=n.size}shift(){if(!this.head)return;const e=this.head;this.head=this.head.next,this.head||(this.tail=null),this.lengthInNodes--,this.sizeInBytes-=e.size}toArray(){const e=[];let n=this.head;for(;n!==null;)e.push(n.value),n=n.next;return e}get length(){return this.lengthInNodes}get size(){return this.sizeInBytes}toOrderedArray(){return Array.from(this)}[Symbol.iterator](){let e=this.head;return{next:()=>{if(!e)return{done:!0,value:null};const n=e.value;return e=e.next,{done:!1,value:n}}}}}const F2=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n);function ud(t){return typeof t=="string"?t:F2(t)||""}var L2=Object.defineProperty,k2=(t,e,n)=>e in t?L2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Xo=(t,e,n)=>k2(t,typeof e!="symbol"?e+"":e,n);class ld{constructor(e,n=Qc){Xo(this,"logs"),Xo(this,"level"),Xo(this,"levelValue"),Xo(this,"MAX_LOG_SIZE_IN_BYTES"),this.level=e??"error",this.levelValue=vn.exports.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=n,this.logs=new fd(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,n){n===vn.exports.levels.values.error?console.error(e):n===vn.exports.levels.values.warn?console.warn(e):n===vn.exports.levels.values.debug?console.debug(e):n===vn.exports.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append(ud({timestamp:new Date().toISOString(),log:e}));const n=typeof e=="string"?JSON.parse(e).level:e.level;n>=this.levelValue&&this.forwardToConsole(e,n)}getLogs(){return this.logs}clearLogs(){this.logs=new fd(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){const n=this.getLogArray();return n.push(ud({extraMetadata:e})),new Blob(n,{type:"application/json"})}}var q2=Object.defineProperty,M2=(t,e,n)=>e in t?q2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,j2=(t,e,n)=>M2(t,typeof e!="symbol"?e+"":e,n);class z2{constructor(e,n=Qc){j2(this,"baseChunkLogger"),this.baseChunkLogger=new ld(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}downloadLogsBlobInBrowser(e){const n=URL.createObjectURL(this.logsToBlob(e)),r=document.createElement("a");r.href=n,r.download=`walletconnect-logs-${new Date().toISOString()}.txt`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n)}}var H2=Object.defineProperty,V2=(t,e,n)=>e in t?H2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,K2=(t,e,n)=>V2(t,typeof e!="symbol"?e+"":e,n);class G2{constructor(e,n=Qc){K2(this,"baseChunkLogger"),this.baseChunkLogger=new ld(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}}var Z2=Object.defineProperty,W2=Object.defineProperties,Y2=Object.getOwnPropertyDescriptors,hd=Object.getOwnPropertySymbols,X2=Object.prototype.hasOwnProperty,J2=Object.prototype.propertyIsEnumerable,dd=(t,e,n)=>e in t?Z2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,pr=(t,e)=>{for(var n in e||(e={}))X2.call(e,n)&&dd(t,n,e[n]);if(hd)for(var n of hd(e))J2.call(e,n)&&dd(t,n,e[n]);return t},gr=(t,e)=>W2(t,Y2(e));function ef(t){return gr(pr({},t),{level:t?.level||T2.level})}function Q2(t,e,n=Yo){return t[n]=e,t}function xt(t,e=Yo){return t[e]||""}function e3(t,e,n=Yo){const r=xt(t,n);return r.trim()?`${r}/${e}`:e}function Ft(t,e,n=Yo){const r=e3(t,e,n),i=t.child({context:r});return Q2(i,r,n)}function t3(t){var e,n;const r=new z2((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:vn.exports(gr(pr({},t.opts),{level:"trace",browser:gr(pr({},(n=t.opts)==null?void 0:n.browser),{write:i=>r.write(i)})})),chunkLoggerController:r}}function n3(t){var e,n;const r=new G2((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:vn.exports(gr(pr({},t.opts),{level:"trace",browser:gr(pr({},(n=t.opts)==null?void 0:n.browser),{write:i=>r.write(i)})}),r),chunkLoggerController:r}}function pd(t){var e;if(typeof t.loggerOverride<"u"&&typeof t.loggerOverride!="string")return{logger:t.loggerOverride,chunkLoggerController:null};const n=gr(pr({},t.opts),{level:typeof t.loggerOverride=="string"?t.loggerOverride:(e=t.opts)==null?void 0:e.level});return typeof window<"u"?t3(gr(pr({},t),{opts:n})):n3(gr(pr({},t),{opts:n}))}var gd=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,s;r<i;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))},r3=function(){function t(e,n,r){this.name=e,this.version=n,this.os=r,this.type="browser"}return t}(),i3=function(){function t(e){this.version=e,this.type="node",this.name="node",this.os=process.platform}return t}(),s3=function(){function t(e,n,r,i){this.name=e,this.version=n,this.os=r,this.bot=i,this.type="bot-device"}return t}(),o3=function(){function t(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return t}(),a3=function(){function t(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return t}(),c3=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,f3=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,yd=3,u3=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",c3]],bd=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function l3(t){return t?wd(t):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new a3:typeof navigator<"u"?wd(navigator.userAgent):p3()}function h3(t){return t!==""&&u3.reduce(function(e,n){var r=n[0],i=n[1];if(e)return e;var s=i.exec(t);return!!s&&[r,s]},!1)}function wd(t){var e=h3(t);if(!e)return null;var n=e[0],r=e[1];if(n==="searchbot")return new o3;var i=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);i?i.length<yd&&(i=gd(gd([],i,!0),g3(yd-i.length),!0)):i=[];var s=i.join("."),o=d3(t),a=f3.exec(t);return a&&a[1]?new s3(n,s,o,a[1]):new r3(n,s,o)}function d3(t){for(var e=0,n=bd.length;e<n;e++){var r=bd[e],i=r[0],s=r[1],o=s.exec(t);if(o)return i}return null}function p3(){var t=typeof process<"u"&&process.version;return t?new i3(process.version.slice(1)):null}function g3(t){for(var e=[],n=0;n<t;n++)e.push("0");return e}var Z={};/*! *****************************************************************************
|
|
1
|
+
(function(_e,Bn){typeof exports=="object"&&typeof module<"u"?Bn(exports):typeof define=="function"&&define.amd?define(["exports"],Bn):(_e=typeof globalThis<"u"?globalThis:_e||self,Bn(_e["@reown/walletkit"]={}))})(this,function(_e){"use strict";var Bn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Fh(t){var e=t.default;if(typeof e=="function"){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var ut={exports:{}},Ki=typeof Reflect=="object"?Reflect:null,qh=Ki&&typeof Ki.apply=="function"?Ki.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},Yo;Ki&&typeof Ki.ownKeys=="function"?Yo=Ki.ownKeys:Object.getOwnPropertySymbols?Yo=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Yo=function(e){return Object.getOwnPropertyNames(e)};function Em(t){console&&console.warn&&console.warn(t)}var kh=Number.isNaN||function(e){return e!==e};function Ie(){Ie.init.call(this)}ut.exports=Ie,ut.exports.once=Bm,Ie.EventEmitter=Ie,Ie.prototype._events=void 0,Ie.prototype._eventsCount=0,Ie.prototype._maxListeners=void 0;var Lh=10;function Xo(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(Ie,"defaultMaxListeners",{enumerable:!0,get:function(){return Lh},set:function(t){if(typeof t!="number"||t<0||kh(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");Lh=t}}),Ie.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ie.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||kh(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Mh(t){return t._maxListeners===void 0?Ie.defaultMaxListeners:t._maxListeners}Ie.prototype.getMaxListeners=function(){return Mh(this)},Ie.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=e==="error",s=this._events;if(s!==void 0)i=i&&s.error===void 0;else if(!i)return!1;if(i){var o;if(n.length>0&&(o=n[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=s[e];if(c===void 0)return!1;if(typeof c=="function")qh(c,this,n);else for(var u=c.length,l=Hh(c,u),r=0;r<u;++r)qh(l[r],this,n);return!0};function jh(t,e,n,r){var i,s,o;if(Xo(n),s=t._events,s===void 0?(s=t._events=Object.create(null),t._eventsCount=0):(s.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),s=t._events),o=s[e]),o===void 0)o=s[e]=n,++t._eventsCount;else if(typeof o=="function"?o=s[e]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),i=Mh(t),i>0&&o.length>i&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=o.length,Em(a)}return t}Ie.prototype.addListener=function(e,n){return jh(this,e,n,!1)},Ie.prototype.on=Ie.prototype.addListener,Ie.prototype.prependListener=function(e,n){return jh(this,e,n,!0)};function xm(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function zh(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=xm.bind(r);return i.listener=n,r.wrapFn=i,i}Ie.prototype.once=function(e,n){return Xo(n),this.on(e,zh(this,e,n)),this},Ie.prototype.prependOnceListener=function(e,n){return Xo(n),this.prependListener(e,zh(this,e,n)),this},Ie.prototype.removeListener=function(e,n){var r,i,s,o,a;if(Xo(n),i=this._events,i===void 0)return this;if(r=i[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(s=-1,o=r.length-1;o>=0;o--)if(r[o]===n||r[o].listener===n){a=r[o].listener,s=o;break}if(s<0)return this;s===0?r.shift():Im(r,s),r.length===1&&(i[e]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",e,a||n)}return this},Ie.prototype.off=Ie.prototype.removeListener,Ie.prototype.removeAllListeners=function(e){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var s=Object.keys(r),o;for(i=0;i<s.length;++i)o=s[i],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(e,n[i]);return this};function Kh(t,e,n){var r=t._events;if(r===void 0)return[];var i=r[e];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?Sm(i):Hh(i,i.length)}Ie.prototype.listeners=function(e){return Kh(this,e,!0)},Ie.prototype.rawListeners=function(e){return Kh(this,e,!1)},Ie.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Vh.call(t,e)},Ie.prototype.listenerCount=Vh;function Vh(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}Ie.prototype.eventNames=function(){return this._eventsCount>0?Yo(this._events):[]};function Hh(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function Im(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function Sm(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function Bm(t,e){return new Promise(function(n,r){function i(o){t.removeListener(e,s),r(o)}function s(){typeof t.removeListener=="function"&&t.removeListener("error",i),n([].slice.call(arguments))}Gh(t,e,s,{once:!0}),e!=="error"&&Om(t,i,{once:!0})})}function Om(t,e,n){typeof t.on=="function"&&Gh(t,"error",e,n)}function Gh(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function i(s){r.once&&t.removeEventListener(e,i),n(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}var On={exports:{}};function Am(t){try{return JSON.stringify(t)}catch{return'"[Circular]"'}}var Pm=Dm;function Dm(t,e,n){var r=n&&n.stringify||Am,i=1;if(typeof t=="object"&&t!==null){var s=e.length+i;if(s===1)return t;var o=new Array(s);o[0]=r(t);for(var a=1;a<s;a++)o[a]=r(e[a]);return o.join(" ")}if(typeof t!="string")return t;var c=e.length;if(c===0)return t;for(var u="",l=1-i,f=-1,d=t&&t.length||0,h=0;h<d;){if(t.charCodeAt(h)===37&&h+1<d){switch(f=f>-1?f:0,t.charCodeAt(h+1)){case 100:case 102:if(l>=c||e[l]==null)break;f<h&&(u+=t.slice(f,h)),u+=Number(e[l]),f=h+2,h++;break;case 105:if(l>=c||e[l]==null)break;f<h&&(u+=t.slice(f,h)),u+=Math.floor(Number(e[l])),f=h+2,h++;break;case 79:case 111:case 106:if(l>=c||e[l]===void 0)break;f<h&&(u+=t.slice(f,h));var p=typeof e[l];if(p==="string"){u+="'"+e[l]+"'",f=h+2,h++;break}if(p==="function"){u+=e[l].name||"<anonymous>",f=h+2,h++;break}u+=r(e[l]),f=h+2,h++;break;case 115:if(l>=c)break;f<h&&(u+=t.slice(f,h)),u+=String(e[l]),f=h+2,h++;break;case 37:f<h&&(u+=t.slice(f,h)),u+="%",f=h+2,h++,l--;break}++l}++h}return f===-1?t:(f<d&&(u+=t.slice(f)),u)}const Wh=Pm;On.exports=zn;const Ns=Hm().console||{},Rm={mapHttpRequest:Jo,mapHttpResponse:Jo,wrapRequestSerializer:Yc,wrapResponseSerializer:Yc,wrapErrorSerializer:Yc,req:Jo,res:Jo,err:Yh,errWithCause:Yh};function br(t,e){return t==="silent"?1/0:e.levels.values[t]}const Hc=Symbol("pino.logFuncs"),Gc=Symbol("pino.hierarchy"),Tm={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function Zh(t,e){const n={logger:e,parent:t[Gc]};e[Gc]=n}function Nm(t,e,n){const r={};e.forEach(i=>{r[i]=n[i]?n[i]:Ns[i]||Ns[Tm[i]||"log"]||Vi}),t[Hc]=r}function Um(t,e){return Array.isArray(t)?t.filter(function(n){return n!=="!stdSerializers.err"}):t===!0?Object.keys(e):!1}function zn(t){t=t||{},t.browser=t.browser||{};const e=t.browser.transmit;if(e&&typeof e.send!="function")throw Error("pino: transmit option must have a send function");const n=t.browser.write||Ns;t.browser.write&&(t.browser.asObject=!0);const r=t.serializers||{},i=Um(t.browser.serialize,r);let s=t.browser.serialize;Array.isArray(t.browser.serialize)&&t.browser.serialize.indexOf("!stdSerializers.err")>-1&&(s=!1);const o=Object.keys(t.customLevels||{}),a=["error","fatal","warn","info","debug","trace"].concat(o);typeof n=="function"&&a.forEach(function(w){n[w]=n}),(t.enabled===!1||t.browser.disabled)&&(t.level="silent");const c=t.level||"info",u=Object.create(n);u.log||(u.log=Vi),Nm(u,a,n),Zh({},u),Object.defineProperty(u,"levelVal",{get:f}),Object.defineProperty(u,"level",{get:d,set:h});const l={transmit:e,serialize:i,asObject:t.browser.asObject,asObjectBindingsOnly:t.browser.asObjectBindingsOnly,formatters:t.browser.formatters,levels:a,timestamp:zm(t),messageKey:t.messageKey||"msg",onChild:t.onChild||Vi};u.levels=Cm(t),u.level=c,u.isLevelEnabled=function(w){return this.levels.values[w]?this.levels.values[w]>=this.levels.values[this.level]:!1},u.setMaxListeners=u.getMaxListeners=u.emit=u.addListener=u.on=u.prependListener=u.once=u.prependOnceListener=u.removeListener=u.removeAllListeners=u.listeners=u.listenerCount=u.eventNames=u.write=u.flush=Vi,u.serializers=r,u._serialize=i,u._stdErrSerialize=s,u.child=function(...w){return p.call(this,l,...w)},e&&(u._logEvent=Zc());function f(){return br(this.level,this)}function d(){return this._level}function h(w){if(w!=="silent"&&!this.levels.values[w])throw Error("unknown level "+w);this._level=w,si(this,l,u,"error"),si(this,l,u,"fatal"),si(this,l,u,"warn"),si(this,l,u,"info"),si(this,l,u,"debug"),si(this,l,u,"trace"),o.forEach(m=>{si(this,l,u,m)})}function p(w,m,P){if(!m)throw new Error("missing bindings for child Pino");P=P||{},i&&m.serializers&&(P.serializers=m.serializers);const T=P.serializers;if(i&&T){var I=Object.assign({},r,T),x=t.browser.serialize===!0?Object.keys(I):i;delete m.serializers,Wc([m],x,I,this._stdErrSerialize)}function S(k){this._childLevel=(k._childLevel|0)+1,this.bindings=m,I&&(this.serializers=I,this._serialize=x),e&&(this._logEvent=Zc([].concat(k._logEvent.bindings,m)))}S.prototype=this;const U=new S(this);return Zh(this,U),U.child=function(...k){return p.call(this,w,...k)},U.level=P.level||this.level,w.onChild(U),U}return u}function Cm(t){const e=t.customLevels||{},n=Object.assign({},zn.levels.values,e),r=Object.assign({},zn.levels.labels,Fm(e));return{values:n,labels:r}}function Fm(t){const e={};return Object.keys(t).forEach(function(n){e[t[n]]=n}),e}zn.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},zn.stdSerializers=Rm,zn.stdTimeFunctions=Object.assign({},{nullTime:Xh,epochTime:Jh,unixTime:Km,isoTime:Vm});function qm(t){const e=[];t.bindings&&e.push(t.bindings);let n=t[Gc];for(;n.parent;)n=n.parent,n.logger.bindings&&e.push(n.logger.bindings);return e.reverse()}function si(t,e,n,r){if(Object.defineProperty(t,r,{value:br(t.level,n)>br(r,n)?Vi:n[Hc][r],writable:!0,enumerable:!0,configurable:!0}),t[r]===Vi){if(!e.transmit)return;const s=e.transmit.level||t.level,o=br(s,n);if(br(r,n)<o)return}t[r]=Lm(t,e,n,r);const i=qm(t);i.length!==0&&(t[r]=km(i,t[r]))}function km(t,e){return function(){return e.apply(this,[...t,...arguments])}}function Lm(t,e,n,r){return function(i){return function(){const s=e.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===Ns?Ns:this;for(var c=0;c<o.length;c++)o[c]=arguments[c];var u=!1;if(e.serialize&&(Wc(o,this._serialize,this.serializers,this._stdErrSerialize),u=!0),e.asObject||e.formatters?i.call(a,...Mm(this,r,o,s,e)):i.apply(a,o),e.transmit){const l=e.transmit.level||t._level,f=br(l,n),d=br(r,n);if(d<f)return;jm(this,{ts:s,methodLevel:r,methodValue:d,transmitLevel:l,transmitValue:n.levels.values[e.transmit.level||t._level],send:e.transmit.send,val:br(t._level,n)},o,u)}}}(t[Hc][r])}function Mm(t,e,n,r,i){const{level:s,log:o=f=>f}=i.formatters||{},a=n.slice();let c=a[0];const u={};let l=(t._childLevel|0)+1;if(l<1&&(l=1),r&&(u.time=r),s){const f=s(e,t.levels.values[e]);Object.assign(u,f)}else u.level=t.levels.values[e];if(i.asObjectBindingsOnly){if(c!==null&&typeof c=="object")for(;l--&&typeof a[0]=="object";)Object.assign(u,a.shift());return[o(u),...a]}else{if(c!==null&&typeof c=="object"){for(;l--&&typeof a[0]=="object";)Object.assign(u,a.shift());c=a.length?Wh(a.shift(),a):void 0}else typeof c=="string"&&(c=Wh(a.shift(),a));return c!==void 0&&(u[i.messageKey]=c),[o(u)]}}function Wc(t,e,n,r){for(const i in t)if(r&&t[i]instanceof Error)t[i]=zn.stdSerializers.err(t[i]);else if(typeof t[i]=="object"&&!Array.isArray(t[i])&&e)for(const s in t[i])e.indexOf(s)>-1&&s in n&&(t[i][s]=n[s](t[i][s]))}function jm(t,e,n,r=!1){const i=e.send,s=e.ts,o=e.methodLevel,a=e.methodValue,c=e.val,u=t._logEvent.bindings;r||Wc(n,t._serialize||Object.keys(t.serializers),t.serializers,t._stdErrSerialize===void 0?!0:t._stdErrSerialize),t._logEvent.ts=s,t._logEvent.messages=n.filter(function(l){return u.indexOf(l)===-1}),t._logEvent.level.label=o,t._logEvent.level.value=a,i(o,t._logEvent,c),t._logEvent=Zc(u)}function Zc(t){return{ts:0,messages:[],bindings:t||[],level:{label:"",value:0}}}function Yh(t){const e={type:t.constructor.name,msg:t.message,stack:t.stack};for(const n in t)e[n]===void 0&&(e[n]=t[n]);return e}function zm(t){return typeof t.timestamp=="function"?t.timestamp:t.timestamp===!1?Xh:Jh}function Jo(){return{}}function Yc(t){return t}function Vi(){}function Xh(){return!1}function Jh(){return Date.now()}function Km(){return Math.round(Date.now()/1e3)}function Vm(){return new Date(Date.now()).toISOString()}function Hm(){function t(e){return typeof e<"u"&&e}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return t(self)||t(window)||t(this)||{}}}On.exports.default=zn;var Qh=On.exports.pino=zn;const Gm={level:"info"},Qo="custom_context",Xc=1e3*1024;var Wm=Object.defineProperty,Zm=(t,e,n)=>e in t?Wm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,wr=(t,e,n)=>Zm(t,typeof e!="symbol"?e+"":e,n);class Ym{constructor(e){wr(this,"nodeValue"),wr(this,"sizeInBytes"),wr(this,"next"),this.nodeValue=e,this.sizeInBytes=new TextEncoder().encode(this.nodeValue).length,this.next=null}get value(){return this.nodeValue}get size(){return this.sizeInBytes}}class _h{constructor(e){wr(this,"lengthInNodes"),wr(this,"sizeInBytes"),wr(this,"head"),wr(this,"tail"),wr(this,"maxSizeInBytes"),this.head=null,this.tail=null,this.lengthInNodes=0,this.maxSizeInBytes=e,this.sizeInBytes=0}append(e){const n=new Ym(e);if(n.size>this.maxSizeInBytes)throw new Error(`[LinkedList] Value too big to insert into list: ${e} with size ${n.size}`);for(;this.size+n.size>this.maxSizeInBytes;)this.shift();this.head?(this.tail&&(this.tail.next=n),this.tail=n):(this.head=n,this.tail=n),this.lengthInNodes++,this.sizeInBytes+=n.size}shift(){if(!this.head)return;const e=this.head;this.head=this.head.next,this.head||(this.tail=null),this.lengthInNodes--,this.sizeInBytes-=e.size}toArray(){const e=[];let n=this.head;for(;n!==null;)e.push(n.value),n=n.next;return e}get length(){return this.lengthInNodes}get size(){return this.sizeInBytes}toOrderedArray(){return Array.from(this)}[Symbol.iterator](){let e=this.head;return{next:()=>{if(!e)return{done:!0,value:null};const n=e.value;return e=e.next,{done:!1,value:n}}}}}const Xm=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n);function $h(t){return typeof t=="string"?t:Xm(t)||""}var Jm=Object.defineProperty,Qm=(t,e,n)=>e in t?Jm(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_o=(t,e,n)=>Qm(t,typeof e!="symbol"?e+"":e,n);class ed{constructor(e,n=Xc){_o(this,"logs"),_o(this,"level"),_o(this,"levelValue"),_o(this,"MAX_LOG_SIZE_IN_BYTES"),this.level=e??"error",this.levelValue=On.exports.levels.values[this.level],this.MAX_LOG_SIZE_IN_BYTES=n,this.logs=new _h(this.MAX_LOG_SIZE_IN_BYTES)}forwardToConsole(e,n){n===On.exports.levels.values.error?console.error(e):n===On.exports.levels.values.warn?console.warn(e):n===On.exports.levels.values.debug?console.debug(e):n===On.exports.levels.values.trace?console.trace(e):console.log(e)}appendToLogs(e){this.logs.append($h({timestamp:new Date().toISOString(),log:e}));const n=typeof e=="string"?JSON.parse(e).level:e.level;n>=this.levelValue&&this.forwardToConsole(e,n)}getLogs(){return this.logs}clearLogs(){this.logs=new _h(this.MAX_LOG_SIZE_IN_BYTES)}getLogArray(){return Array.from(this.logs)}logsToBlob(e){const n=this.getLogArray();return n.push($h({extraMetadata:e})),new Blob(n,{type:"application/json"})}}var _m=Object.defineProperty,$m=(t,e,n)=>e in t?_m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,e2=(t,e,n)=>$m(t,typeof e!="symbol"?e+"":e,n);class t2{constructor(e,n=Xc){e2(this,"baseChunkLogger"),this.baseChunkLogger=new ed(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}downloadLogsBlobInBrowser(e){const n=URL.createObjectURL(this.logsToBlob(e)),r=document.createElement("a");r.href=n,r.download=`walletconnect-logs-${new Date().toISOString()}.txt`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(n)}}var n2=Object.defineProperty,r2=(t,e,n)=>e in t?n2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,i2=(t,e,n)=>r2(t,typeof e!="symbol"?e+"":e,n);class s2{constructor(e,n=Xc){i2(this,"baseChunkLogger"),this.baseChunkLogger=new ed(e,n)}write(e){this.baseChunkLogger.appendToLogs(e)}getLogs(){return this.baseChunkLogger.getLogs()}clearLogs(){this.baseChunkLogger.clearLogs()}getLogArray(){return this.baseChunkLogger.getLogArray()}logsToBlob(e){return this.baseChunkLogger.logsToBlob(e)}}var o2=Object.defineProperty,a2=Object.defineProperties,c2=Object.getOwnPropertyDescriptors,td=Object.getOwnPropertySymbols,u2=Object.prototype.hasOwnProperty,l2=Object.prototype.propertyIsEnumerable,nd=(t,e,n)=>e in t?o2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,yr=(t,e)=>{for(var n in e||(e={}))u2.call(e,n)&&nd(t,n,e[n]);if(td)for(var n of td(e))l2.call(e,n)&&nd(t,n,e[n]);return t},mr=(t,e)=>a2(t,c2(e));function Jc(t){return mr(yr({},t),{level:t?.level||Gm.level})}function f2(t,e,n=Qo){return t[n]=e,t}function Rt(t,e=Qo){return t[e]||""}function h2(t,e,n=Qo){const r=Rt(t,n);return r.trim()?`${r}/${e}`:e}function Gt(t,e,n=Qo){const r=h2(t,e,n),i=t.child({context:r});return f2(i,r,n)}function d2(t){var e,n;const r=new t2((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:On.exports(mr(yr({},t.opts),{level:"trace",browser:mr(yr({},(n=t.opts)==null?void 0:n.browser),{write:i=>r.write(i)})})),chunkLoggerController:r}}function p2(t){var e,n;const r=new s2((e=t.opts)==null?void 0:e.level,t.maxSizeInBytes);return{logger:On.exports(mr(yr({},t.opts),{level:"trace",browser:mr(yr({},(n=t.opts)==null?void 0:n.browser),{write:i=>r.write(i)})}),r),chunkLoggerController:r}}function rd(t){var e;if(typeof t.loggerOverride<"u"&&typeof t.loggerOverride!="string")return{logger:t.loggerOverride,chunkLoggerController:null};const n=mr(yr({},t.opts),{level:typeof t.loggerOverride=="string"?t.loggerOverride:(e=t.opts)==null?void 0:e.level});return typeof window<"u"?d2(mr(yr({},t),{opts:n})):p2(mr(yr({},t),{opts:n}))}var id=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,s;r<i;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))},g2=function(){function t(e,n,r){this.name=e,this.version=n,this.os=r,this.type="browser"}return t}(),b2=function(){function t(e){this.version=e,this.type="node",this.name="node",this.os=process.platform}return t}(),w2=function(){function t(e,n,r,i){this.name=e,this.version=n,this.os=r,this.bot=i,this.type="bot-device"}return t}(),y2=function(){function t(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return t}(),m2=function(){function t(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return t}(),v2=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,E2=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,sd=3,x2=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",v2]],od=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function I2(t){return t?ad(t):typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new m2:typeof navigator<"u"?ad(navigator.userAgent):O2()}function S2(t){return t!==""&&x2.reduce(function(e,n){var r=n[0],i=n[1];if(e)return e;var s=i.exec(t);return!!s&&[r,s]},!1)}function ad(t){var e=S2(t);if(!e)return null;var n=e[0],r=e[1];if(n==="searchbot")return new y2;var i=r[1]&&r[1].split(".").join("_").split("_").slice(0,3);i?i.length<sd&&(i=id(id([],i,!0),A2(sd-i.length),!0)):i=[];var s=i.join("."),o=B2(t),a=E2.exec(t);return a&&a[1]?new w2(n,s,o,a[1]):new g2(n,s,o)}function B2(t){for(var e=0,n=od.length;e<n;e++){var r=od[e],i=r[0],s=r[1],o=s.exec(t);if(o)return i}return null}function O2(){var t=typeof process<"u"&&process.version;return t?new b2(process.version.slice(1)):null}function A2(t){for(var e=[],n=0;n<t;n++)e.push("0");return e}var J={};/*! *****************************************************************************
|
|
2
2
|
Copyright (c) Microsoft Corporation.
|
|
3
3
|
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -11,20 +11,22 @@
|
|
|
11
11
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
12
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
13
|
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */var tf=function(t,e){return tf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},tf(t,e)};function y3(t,e){tf(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var nf=function(){return nf=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},nf.apply(this,arguments)};function b3(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function w3(t,e,n,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function m3(t,e){return function(n,r){e(n,r,t)}}function v3(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function E3(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(u){try{f(r.next(u))}catch(h){o(h)}}function c(u){try{f(r.throw(u))}catch(h){o(h)}}function f(u){u.done?s(u.value):i(u.value).then(a,c)}f((r=r.apply(t,e||[])).next())})}function x3(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(f){return function(u){return c([f,u])}}function c(f){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=f[0]&2?i.return:f[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,f[1])).done)return s;switch(i=0,s&&(f=[f[0]&2,s.value]),f[0]){case 0:case 1:s=f;break;case 4:return n.label++,{value:f[1],done:!1};case 5:n.label++,i=f[1],f=[0];continue;case 7:f=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(f[0]===6||f[0]===2)){n=0;continue}if(f[0]===3&&(!s||f[1]>s[0]&&f[1]<s[3])){n.label=f[1];break}if(f[0]===6&&n.label<s[1]){n.label=s[1],s=f;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(f);break}s[2]&&n.ops.pop(),n.trys.pop();continue}f=e.call(t,n)}catch(u){f=[6,u],i=0}finally{r=s=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}function _3(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}function I3(t,e){for(var n in t)n!=="default"&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function rf(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function md(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function S3(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(md(arguments[e]));return t}function B3(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function Ns(t){return this instanceof Ns?(this.v=t,this):new Ns(t)}function $3(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(l){r[l]&&(i[l]=function(d){return new Promise(function(p,b){s.push([l,d,p,b])>1||a(l,d)})})}function a(l,d){try{c(r[l](d))}catch(p){h(s[0][3],p)}}function c(l){l.value instanceof Ns?Promise.resolve(l.value.v).then(f,u):h(s[0][2],l)}function f(l){a("next",l)}function u(l){a("throw",l)}function h(l,d){l(d),s.shift(),s.length&&a(s[0][0],s[0][1])}}function A3(t){var e,n;return e={},r("next"),r("throw",function(i){throw i}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(i,s){e[i]=t[i]?function(o){return(n=!n)?{value:Ns(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function O3(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof rf=="function"?rf(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(o){return new Promise(function(a,c){o=t[s](o),i(a,c,o.done,o.value)})}}function i(s,o,a,c){Promise.resolve(c).then(function(f){s({value:f,done:a})},o)}}function D3(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function P3(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function R3(t){return t&&t.__esModule?t:{default:t}}function T3(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function N3(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var U3=Object.freeze({__proto__:null,__extends:y3,get __assign(){return nf},__rest:b3,__decorate:w3,__param:m3,__metadata:v3,__awaiter:E3,__generator:x3,__createBinding:_3,__exportStar:I3,__values:rf,__read:md,__spread:S3,__spreadArrays:B3,__await:Ns,__asyncGenerator:$3,__asyncDelegator:A3,__asyncValues:O3,__makeTemplateObject:D3,__importStar:P3,__importDefault:R3,__classPrivateFieldGet:T3,__classPrivateFieldSet:N3}),Jo=Kh(U3),sf={},Us={},vd;function C3(){if(vd)return Us;vd=1,Object.defineProperty(Us,"__esModule",{value:!0}),Us.delay=void 0;function t(e){return new Promise(n=>{setTimeout(()=>{n(!0)},e)})}return Us.delay=t,Us}var di={},of={},pi={},Ed;function F3(){return Ed||(Ed=1,Object.defineProperty(pi,"__esModule",{value:!0}),pi.ONE_THOUSAND=pi.ONE_HUNDRED=void 0,pi.ONE_HUNDRED=100,pi.ONE_THOUSAND=1e3),pi}var af={},xd;function L3(){return xd||(xd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ONE_YEAR=t.FOUR_WEEKS=t.THREE_WEEKS=t.TWO_WEEKS=t.ONE_WEEK=t.THIRTY_DAYS=t.SEVEN_DAYS=t.FIVE_DAYS=t.THREE_DAYS=t.ONE_DAY=t.TWENTY_FOUR_HOURS=t.TWELVE_HOURS=t.SIX_HOURS=t.THREE_HOURS=t.ONE_HOUR=t.SIXTY_MINUTES=t.THIRTY_MINUTES=t.TEN_MINUTES=t.FIVE_MINUTES=t.ONE_MINUTE=t.SIXTY_SECONDS=t.THIRTY_SECONDS=t.TEN_SECONDS=t.FIVE_SECONDS=t.ONE_SECOND=void 0,t.ONE_SECOND=1,t.FIVE_SECONDS=5,t.TEN_SECONDS=10,t.THIRTY_SECONDS=30,t.SIXTY_SECONDS=60,t.ONE_MINUTE=t.SIXTY_SECONDS,t.FIVE_MINUTES=t.ONE_MINUTE*5,t.TEN_MINUTES=t.ONE_MINUTE*10,t.THIRTY_MINUTES=t.ONE_MINUTE*30,t.SIXTY_MINUTES=t.ONE_MINUTE*60,t.ONE_HOUR=t.SIXTY_MINUTES,t.THREE_HOURS=t.ONE_HOUR*3,t.SIX_HOURS=t.ONE_HOUR*6,t.TWELVE_HOURS=t.ONE_HOUR*12,t.TWENTY_FOUR_HOURS=t.ONE_HOUR*24,t.ONE_DAY=t.TWENTY_FOUR_HOURS,t.THREE_DAYS=t.ONE_DAY*3,t.FIVE_DAYS=t.ONE_DAY*5,t.SEVEN_DAYS=t.ONE_DAY*7,t.THIRTY_DAYS=t.ONE_DAY*30,t.ONE_WEEK=t.SEVEN_DAYS,t.TWO_WEEKS=t.ONE_WEEK*2,t.THREE_WEEKS=t.ONE_WEEK*3,t.FOUR_WEEKS=t.ONE_WEEK*4,t.ONE_YEAR=t.ONE_DAY*365}(af)),af}var _d;function Id(){return _d||(_d=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=Jo;e.__exportStar(F3(),t),e.__exportStar(L3(),t)}(of)),of}var Sd;function k3(){if(Sd)return di;Sd=1,Object.defineProperty(di,"__esModule",{value:!0}),di.fromMiliseconds=di.toMiliseconds=void 0;const t=Id();function e(r){return r*t.ONE_THOUSAND}di.toMiliseconds=e;function n(r){return Math.floor(r/t.ONE_THOUSAND)}return di.fromMiliseconds=n,di}var Bd;function q3(){return Bd||(Bd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=Jo;e.__exportStar(C3(),t),e.__exportStar(k3(),t)}(sf)),sf}var Gi={},$d;function M3(){if($d)return Gi;$d=1,Object.defineProperty(Gi,"__esModule",{value:!0}),Gi.Watch=void 0;class t{constructor(){this.timestamps=new Map}start(n){if(this.timestamps.has(n))throw new Error(`Watch already started for label: ${n}`);this.timestamps.set(n,{started:Date.now()})}stop(n){const r=this.get(n);if(typeof r.elapsed<"u")throw new Error(`Watch already stopped for label: ${n}`);const i=Date.now()-r.started;this.timestamps.set(n,{started:r.started,elapsed:i})}get(n){const r=this.timestamps.get(n);if(typeof r>"u")throw new Error(`No timestamp found for label: ${n}`);return r}elapsed(n){const r=this.get(n);return r.elapsed||Date.now()-r.started}}return Gi.Watch=t,Gi.default=t,Gi}var cf={},Cs={},Ad;function j3(){if(Ad)return Cs;Ad=1,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.IWatch=void 0;class t{}return Cs.IWatch=t,Cs}var Od;function z3(){return Od||(Od=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Jo.__exportStar(j3(),t)}(cf)),cf}(function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=Jo;e.__exportStar(q3(),t),e.__exportStar(M3(),t),e.__exportStar(z3(),t),e.__exportStar(Id(),t)})(Z);var Ee={};Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.getLocalStorage=Ee.getLocalStorageOrThrow=Ee.getCrypto=Ee.getCryptoOrThrow=Dd=Ee.getLocation=Ee.getLocationOrThrow=Fs=Ee.getNavigator=Ee.getNavigatorOrThrow=Un=Ee.getDocument=Ee.getDocumentOrThrow=Ee.getFromWindowOrThrow=Ee.getFromWindow=void 0;function gi(t){let e;return typeof window<"u"&&typeof window[t]<"u"&&(e=window[t]),e}Ee.getFromWindow=gi;function Zi(t){const e=gi(t);if(!e)throw new Error(`${t} is not defined in Window`);return e}Ee.getFromWindowOrThrow=Zi;function H3(){return Zi("document")}Ee.getDocumentOrThrow=H3;function V3(){return gi("document")}var Un=Ee.getDocument=V3;function K3(){return Zi("navigator")}Ee.getNavigatorOrThrow=K3;function G3(){return gi("navigator")}var Fs=Ee.getNavigator=G3;function Z3(){return Zi("location")}Ee.getLocationOrThrow=Z3;function W3(){return gi("location")}var Dd=Ee.getLocation=W3;function Y3(){return Zi("crypto")}Ee.getCryptoOrThrow=Y3;function X3(){return gi("crypto")}Ee.getCrypto=X3;function J3(){return Zi("localStorage")}Ee.getLocalStorageOrThrow=J3;function Q3(){return gi("localStorage")}Ee.getLocalStorage=Q3;var ff={};Object.defineProperty(ff,"__esModule",{value:!0});var Pd=ff.getWindowMetadata=void 0;const Rd=Ee;function ev(){let t,e;try{t=Rd.getDocumentOrThrow(),e=Rd.getLocationOrThrow()}catch{return null}function n(){const h=t.getElementsByTagName("link"),l=[];for(let d=0;d<h.length;d++){const p=h[d],b=p.getAttribute("rel");if(b&&b.toLowerCase().indexOf("icon")>-1){const v=p.getAttribute("href");if(v)if(v.toLowerCase().indexOf("https:")===-1&&v.toLowerCase().indexOf("http:")===-1&&v.indexOf("//")!==0){let O=e.protocol+"//"+e.host;if(v.indexOf("/")===0)O+=v;else{const P=e.pathname.split("/");P.pop();const x=P.join("/");O+=x+"/"+v}l.push(O)}else if(v.indexOf("//")===0){const O=e.protocol+v;l.push(O)}else l.push(v)}}return l}function r(...h){const l=t.getElementsByTagName("meta");for(let d=0;d<l.length;d++){const p=l[d],b=["itemprop","property","name"].map(v=>p.getAttribute(v)).filter(v=>v?h.includes(v):!1);if(b.length&&b){const v=p.getAttribute("content");if(v)return v}}return""}function i(){let h=r("name","og:site_name","og:title","twitter:title");return h||(h=t.title),h}function s(){return r("description","og:description","twitter:description","keywords")}const o=i(),a=s(),c=e.origin,f=n();return{description:a,url:c,icons:f,name:o}}Pd=ff.getWindowMetadata=ev;const tv="0.1.1";function nv(){return tv}class me extends Error{constructor(e,n={}){const r=(()=>{if(n.cause instanceof me){if(n.cause.details)return n.cause.details;if(n.cause.shortMessage)return n.cause.shortMessage}return n.cause&&"details"in n.cause&&typeof n.cause.details=="string"?n.cause.details:n.cause?.message?n.cause.message:n.details})(),i=n.cause instanceof me&&n.cause.docsPath||n.docsPath,o=`https://oxlib.sh${i??""}`,a=[e||"An error occurred.",...n.metaMessages?["",...n.metaMessages]:[],...r||i?["",r?`Details: ${r}`:void 0,i?`See: ${o}`:void 0]:[]].filter(c=>typeof c=="string").join(`
|
|
15
|
-
`);super(a,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:`ox@${nv()}`}),this.cause=n.cause,this.details=r,this.docs=o,this.docsPath=i,this.shortMessage=e}walk(e){return Td(this,e)}}function Td(t,e){return e?.(t)?t:t&&typeof t=="object"&&"cause"in t&&t.cause?Td(t.cause,e):e?null:t}const Wi=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function rv(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Ls(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function yi(t,...e){if(!rv(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function iv(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");Ls(t.outputLen),Ls(t.blockLen)}function Yi(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Nd(t,e){yi(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function sv(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function yr(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function uf(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function En(t,e){return t<<32-e|t>>>e}const ov=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function av(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}function cv(t){for(let e=0;e<t.length;e++)t[e]=av(t[e]);return t}const Ud=ov?t=>t:cv;function fv(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Qo(t){return typeof t=="string"&&(t=fv(t)),yi(t),t}function uv(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];yi(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class lf{}function ea(t){const e=r=>t().update(Qo(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function Cd(t=32){if(Wi&&typeof Wi.getRandomValues=="function")return Wi.getRandomValues(new Uint8Array(t));if(Wi&&typeof Wi.randomBytes=="function")return Uint8Array.from(Wi.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}function lv(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,f=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+f,a,r)}function hv(t,e,n){return t&e^~t&n}function dv(t,e,n){return t&e^t&n^e&n}class Fd extends lf{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=uf(this.buffer)}update(e){Yi(this),e=Qo(e),yi(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=uf(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Yi(this),Nd(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,yr(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let h=o;h<i;h++)n[h]=0;lv(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=uf(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const f=c/4,u=this.get();if(f>u.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<f;h++)a.setUint32(4*h,u[h],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const Cn=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),et=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),tt=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),ta=BigInt(2**32-1),Ld=BigInt(32);function pv(t,e=!1){return e?{h:Number(t&ta),l:Number(t>>Ld&ta)}:{h:Number(t>>Ld&ta)|0,l:Number(t&ta)|0}}function kd(t,e=!1){const n=t.length;let r=new Uint32Array(n),i=new Uint32Array(n);for(let s=0;s<n;s++){const{h:o,l:a}=pv(t[s],e);[r[s],i[s]]=[o,a]}return[r,i]}const qd=(t,e,n)=>t>>>n,Md=(t,e,n)=>t<<32-n|e>>>n,Xi=(t,e,n)=>t>>>n|e<<32-n,Ji=(t,e,n)=>t<<32-n|e>>>n,na=(t,e,n)=>t<<64-n|e>>>n-32,ra=(t,e,n)=>t>>>n-32|e<<64-n,gv=(t,e,n)=>t<<n|e>>>32-n,yv=(t,e,n)=>e<<n|t>>>32-n,bv=(t,e,n)=>e<<n-32|t>>>64-n,wv=(t,e,n)=>t<<n-32|e>>>64-n;function Fn(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const mv=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),vv=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,Ev=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),xv=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,_v=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),Iv=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,Sv=BigInt(0),ks=BigInt(1),Bv=BigInt(2),$v=BigInt(7),Av=BigInt(256),Ov=BigInt(113),jd=[],zd=[],Hd=[];for(let t=0,e=ks,n=1,r=0;t<24;t++){[n,r]=[r,(2*n+3*r)%5],jd.push(2*(5*r+n)),zd.push((t+1)*(t+2)/2%64);let i=Sv;for(let s=0;s<7;s++)e=(e<<ks^(e>>$v)*Ov)%Av,e&Bv&&(i^=ks<<(ks<<BigInt(s))-ks);Hd.push(i)}const Vd=kd(Hd,!0),Dv=Vd[0],Pv=Vd[1],Kd=(t,e,n)=>n>32?bv(t,e,n):gv(t,e,n),Gd=(t,e,n)=>n>32?wv(t,e,n):yv(t,e,n);function Rv(t,e=24){const n=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let o=0;o<10;o++)n[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,f=n[c],u=n[c+1],h=Kd(f,u,1)^n[a],l=Gd(f,u,1)^n[a+1];for(let d=0;d<50;d+=10)t[o+d]^=h,t[o+d+1]^=l}let i=t[2],s=t[3];for(let o=0;o<24;o++){const a=zd[o],c=Kd(i,s,a),f=Gd(i,s,a),u=jd[o];i=t[u],s=t[u+1],t[u]=c,t[u+1]=f}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=t[o+a];for(let a=0;a<10;a++)t[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}t[0]^=Dv[r],t[1]^=Pv[r]}yr(n)}class hf extends lf{constructor(e,n,r,i=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=s,Ls(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=sv(this.state)}clone(){return this._cloneInto()}keccak(){Ud(this.state32),Rv(this.state32,this.rounds),Ud(this.state32),this.posOut=0,this.pos=0}update(e){Yi(this),e=Qo(e),yi(e);const{blockLen:n,state:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(n-this.pos,i-s);for(let a=0;a<o;a++)r[this.pos++]^=e[s++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:n,pos:r,blockLen:i}=this;e[r]^=n,(n&128)!==0&&r===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){Yi(this,!1),yi(e),this.finish();const n=this.state,{blockLen:r}=this;for(let i=0,s=e.length;i<s;){this.posOut>=r&&this.keccak();const o=Math.min(r-this.posOut,s-i);e.set(n.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return Ls(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(Nd(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,yr(this.state)}_cloneInto(e){const{blockLen:n,suffix:r,outputLen:i,rounds:s,enableXOF:o}=this;return e||(e=new hf(n,r,i,o,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=i,e.enableXOF=o,e.destroyed=this.destroyed,e}}const Tv=(t,e,n)=>ea(()=>new hf(e,t,n)),Nv=Tv(1,136,256/8),Uv=Uint32Array.from([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]),br=new Uint32Array(64);class Cv extends Fd{constructor(e=32){super(64,e,8,!1),this.A=Cn[0]|0,this.B=Cn[1]|0,this.C=Cn[2]|0,this.D=Cn[3]|0,this.E=Cn[4]|0,this.F=Cn[5]|0,this.G=Cn[6]|0,this.H=Cn[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let h=0;h<16;h++,n+=4)br[h]=e.getUint32(n,!1);for(let h=16;h<64;h++){const l=br[h-15],d=br[h-2],p=En(l,7)^En(l,18)^l>>>3,b=En(d,17)^En(d,19)^d>>>10;br[h]=b+br[h-7]+p+br[h-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:f,H:u}=this;for(let h=0;h<64;h++){const l=En(a,6)^En(a,11)^En(a,25),d=u+l+hv(a,c,f)+Uv[h]+br[h]|0,b=(En(r,2)^En(r,13)^En(r,22))+dv(r,i,s)|0;u=f,f=c,c=a,a=o+d|0,o=s,s=i,i=r,r=d+b|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,f=f+this.G|0,u=u+this.H|0,this.set(r,i,s,o,a,c,f,u)}roundClean(){yr(br)}destroy(){this.set(0,0,0,0,0,0,0,0),yr(this.buffer)}}const Zd=kd(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),Fv=Zd[0],Lv=Zd[1],wr=new Uint32Array(80),mr=new Uint32Array(80);class Wd extends Fd{constructor(e=64){super(128,e,16,!1),this.Ah=tt[0]|0,this.Al=tt[1]|0,this.Bh=tt[2]|0,this.Bl=tt[3]|0,this.Ch=tt[4]|0,this.Cl=tt[5]|0,this.Dh=tt[6]|0,this.Dl=tt[7]|0,this.Eh=tt[8]|0,this.El=tt[9]|0,this.Fh=tt[10]|0,this.Fl=tt[11]|0,this.Gh=tt[12]|0,this.Gl=tt[13]|0,this.Hh=tt[14]|0,this.Hl=tt[15]|0}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:f,El:u,Fh:h,Fl:l,Gh:d,Gl:p,Hh:b,Hl:v}=this;return[e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v]}set(e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=f|0,this.El=u|0,this.Fh=h|0,this.Fl=l|0,this.Gh=d|0,this.Gl=p|0,this.Hh=b|0,this.Hl=v|0}process(e,n){for(let x=0;x<16;x++,n+=4)wr[x]=e.getUint32(n),mr[x]=e.getUint32(n+=4);for(let x=16;x<80;x++){const S=wr[x-15]|0,R=mr[x-15]|0,U=Xi(S,R,1)^Xi(S,R,8)^qd(S,R,7),L=Ji(S,R,1)^Ji(S,R,8)^Md(S,R,7),C=wr[x-2]|0,A=mr[x-2]|0,j=Xi(C,A,19)^na(C,A,61)^qd(C,A,6),q=Ji(C,A,19)^ra(C,A,61)^Md(C,A,6),E=Ev(L,q,mr[x-7],mr[x-16]),y=xv(E,U,j,wr[x-7],wr[x-16]);wr[x]=y|0,mr[x]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:f,Dl:u,Eh:h,El:l,Fh:d,Fl:p,Gh:b,Gl:v,Hh:O,Hl:P}=this;for(let x=0;x<80;x++){const S=Xi(h,l,14)^Xi(h,l,18)^na(h,l,41),R=Ji(h,l,14)^Ji(h,l,18)^ra(h,l,41),U=h&d^~h&b,L=l&p^~l&v,C=_v(P,R,L,Lv[x],mr[x]),A=Iv(C,O,S,U,Fv[x],wr[x]),j=C|0,q=Xi(r,i,28)^na(r,i,34)^na(r,i,39),E=Ji(r,i,28)^ra(r,i,34)^ra(r,i,39),y=r&s^r&a^s&a,w=i&o^i&c^o&c;O=b|0,P=v|0,b=d|0,v=p|0,d=h|0,p=l|0,{h,l}=Fn(f|0,u|0,A|0,j|0),f=a|0,u=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=mv(j,E,w);r=vv(g,A,q,y),i=g|0}({h:r,l:i}=Fn(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=Fn(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=Fn(this.Ch|0,this.Cl|0,a|0,c|0),{h:f,l:u}=Fn(this.Dh|0,this.Dl|0,f|0,u|0),{h,l}=Fn(this.Eh|0,this.El|0,h|0,l|0),{h:d,l:p}=Fn(this.Fh|0,this.Fl|0,d|0,p|0),{h:b,l:v}=Fn(this.Gh|0,this.Gl|0,b|0,v|0),{h:O,l:P}=Fn(this.Hh|0,this.Hl|0,O|0,P|0),this.set(r,i,s,o,a,c,f,u,h,l,d,p,b,v,O,P)}roundClean(){yr(wr,mr)}destroy(){yr(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class kv extends Wd{constructor(){super(48),this.Ah=et[0]|0,this.Al=et[1]|0,this.Bh=et[2]|0,this.Bl=et[3]|0,this.Ch=et[4]|0,this.Cl=et[5]|0,this.Dh=et[6]|0,this.Dl=et[7]|0,this.Eh=et[8]|0,this.El=et[9]|0,this.Fh=et[10]|0,this.Fl=et[11]|0,this.Gh=et[12]|0,this.Gl=et[13]|0,this.Hh=et[14]|0,this.Hl=et[15]|0}}const ia=ea(()=>new Cv),qv=ea(()=>new Wd),Mv=ea(()=>new kv);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const df=BigInt(0),sa=BigInt(1);function qs(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function vr(t){if(!qs(t))throw new Error("Uint8Array expected")}function Ms(t,e){if(typeof e!="boolean")throw new Error(t+" boolean expected, got "+e)}function oa(t){const e=t.toString(16);return e.length&1?"0"+e:e}function Yd(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?df:BigInt("0x"+t)}const Xd=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",jv=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function bi(t){if(vr(t),Xd)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=jv[t[n]];return e}const Ln={_0:48,_9:57,A:65,F:70,a:97,f:102};function Jd(t){if(t>=Ln._0&&t<=Ln._9)return t-Ln._0;if(t>=Ln.A&&t<=Ln.F)return t-(Ln.A-10);if(t>=Ln.a&&t<=Ln.f)return t-(Ln.a-10)}function aa(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(Xd)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=Jd(t.charCodeAt(s)),a=Jd(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function pt(t){return Yd(bi(t))}function Qd(t){return vr(t),Yd(bi(Uint8Array.from(t).reverse()))}function Re(t,e){return aa(t.toString(16).padStart(e*2,"0"))}function e0(t,e){return Re(t,e).reverse()}function nt(t,e,n){let r;if(typeof e=="string")try{r=aa(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(qs(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}function Be(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];vr(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}function pf(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}const gf=t=>typeof t=="bigint"&&df<=t;function yf(t,e,n){return gf(t)&&gf(e)&&gf(n)&&e<=t&&t<n}function Qi(t,e,n,r){if(!yf(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function js(t){let e;for(e=0;t>df;t>>=sa,e+=1);return e}function zv(t,e){return t>>BigInt(e)&sa}const wi=t=>(sa<<BigInt(t))-sa,bf=t=>new Uint8Array(t),t0=t=>Uint8Array.from(t);function Hv(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");let r=bf(t),i=bf(t),s=0;const o=()=>{r.fill(1),i.fill(0),s=0},a=(...h)=>n(i,r,...h),c=(h=bf(0))=>{i=a(t0([0]),h),r=a(),h.length!==0&&(i=a(t0([1]),h),r=a())},f=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let h=0;const l=[];for(;h<e;){r=a();const d=r.slice();l.push(d),h+=r.length}return Be(...l)};return(h,l)=>{o(),c(h);let d;for(;!(d=l(f()));)c();return o(),d}}const Vv={bigint:t=>typeof t=="bigint",function:t=>typeof t=="function",boolean:t=>typeof t=="boolean",string:t=>typeof t=="string",stringOrUint8Array:t=>typeof t=="string"||qs(t),isSafeInteger:t=>Number.isSafeInteger(t),array:t=>Array.isArray(t),field:(t,e)=>e.Fp.isValid(t),hash:t=>typeof t=="function"&&Number.isSafeInteger(t.outputLen)};function zs(t,e,n={}){const r=(i,s,o)=>{const a=Vv[s];if(typeof a!="function")throw new Error("invalid validator function");const c=t[i];if(!(o&&c===void 0)&&!a(c,t))throw new Error("param "+String(i)+" is invalid. Expected "+s+", got "+c)};for(const[i,s]of Object.entries(e))r(i,s,!1);for(const[i,s]of Object.entries(n))r(i,s,!0);return t}const n0=()=>{throw new Error("not implemented")};function wf(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}function Kv(t,e){if(c0(t)>e)throw new pE({givenSize:c0(t),maxSize:e})}const kn={zero:48,nine:57,A:65,F:70,a:97,f:102};function r0(t){if(t>=kn.zero&&t<=kn.nine)return t-kn.zero;if(t>=kn.A&&t<=kn.F)return t-(kn.A-10);if(t>=kn.a&&t<=kn.f)return t-(kn.a-10)}function Gv(t,e={}){const{dir:n,size:r=32}=e;if(r===0)return t;if(t.length>r)throw new gE({size:t.length,targetSize:r,type:"Bytes"});const i=new Uint8Array(r);for(let s=0;s<r;s++){const o=n==="right";i[o?s:r-s-1]=t[o?s:t.length-s-1]}return i}function mf(t,e){if(Mn(t)>e)throw new iE({givenSize:Mn(t),maxSize:e})}function Zv(t,e){if(typeof e=="number"&&e>0&&e>Mn(t)-1)throw new a0({offset:e,position:"start",size:Mn(t)})}function Wv(t,e,n){if(typeof e=="number"&&typeof n=="number"&&Mn(t)!==n-e)throw new a0({offset:n,position:"end",size:Mn(t)})}function i0(t,e={}){const{dir:n,size:r=32}=e;if(r===0)return t;const i=t.replace("0x","");if(i.length>r*2)throw new sE({size:Math.ceil(i.length/2),targetSize:r,type:"Hex"});return`0x${i[n==="right"?"padEnd":"padStart"](r*2,"0")}`}const Yv="#__bigint";function vf(t,e,n){return JSON.stringify(t,(r,i)=>typeof e=="function"?e(r,i):typeof i=="bigint"?i.toString()+Yv:i,n)}const Xv=new TextEncoder,Jv=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function Qv(t,e={}){const{strict:n=!1}=e;if(!t)throw new s0(t);if(typeof t!="string")throw new s0(t);if(n&&!/^0x[0-9a-fA-F]*$/.test(t))throw new o0(t);if(!t.startsWith("0x"))throw new o0(t)}function Ef(...t){return`0x${t.reduce((e,n)=>e+n.replace("0x",""),"")}`}function xf(t){return t instanceof Uint8Array?Hs(t):Array.isArray(t)?Hs(new Uint8Array(t)):t}function eE(t,e={}){const n=`0x${Number(t)}`;return typeof e.size=="number"?(mf(n,e.size),fa(n,e.size)):n}function Hs(t,e={}){let n="";for(let i=0;i<t.length;i++)n+=Jv[t[i]];const r=`0x${n}`;return typeof e.size=="number"?(mf(r,e.size),_f(r,e.size)):r}function ca(t,e={}){const{signed:n,size:r}=e,i=BigInt(t);let s;r?n?s=(1n<<BigInt(r)*8n-1n)-1n:s=2n**(BigInt(r)*8n)-1n:typeof t=="number"&&(s=BigInt(Number.MAX_SAFE_INTEGER));const o=typeof s=="bigint"&&n?-s-1n:0;if(s&&i>s||i<o){const f=typeof t=="bigint"?"n":"";throw new rE({max:s?`${s}${f}`:void 0,min:`${o}${f}`,signed:n,size:r,value:`${t}${f}`})}const c=`0x${(n&&i<0?(1n<<BigInt(r*8))+BigInt(i):i).toString(16)}`;return r?fa(c,r):c}function tE(t,e={}){return Hs(Xv.encode(t),e)}function fa(t,e){return i0(t,{dir:"left",size:e})}function _f(t,e){return i0(t,{dir:"right",size:e})}function qn(t,e,n,r={}){const{strict:i}=r;Zv(t,e);const s=`0x${t.replace("0x","").slice((e??0)*2,(n??t.length)*2)}`;return i&&Wv(s,e,n),s}function Mn(t){return Math.ceil((t.length-2)/2)}function nE(t,e={}){const{strict:n=!1}=e;try{return Qv(t,{strict:n}),!0}catch{return!1}}class rE extends me{constructor({max:e,min:n,signed:r,size:i,value:s}){super(`Number \`${s}\` is not in safe${i?` ${i*8}-bit`:""}${r?" signed":" unsigned"} integer range ${e?`(\`${n}\` to \`${e}\`)`:`(above \`${n}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}class s0 extends me{constructor(e){super(`Value \`${typeof e=="object"?vf(e):e}\` of type \`${typeof e}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class o0 extends me{constructor(e){super(`Value \`${e}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class iE extends me{constructor({givenSize:e,maxSize:n}){super(`Size cannot exceed \`${n}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class a0 extends me{constructor({offset:e,position:n,size:r}){super(`Slice ${n==="start"?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${r}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class sE extends me{constructor({size:e,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}const oE=new TextEncoder;function aE(t){if(!(t instanceof Uint8Array)){if(!t)throw new ua(t);if(typeof t!="object")throw new ua(t);if(!("BYTES_PER_ELEMENT"in t))throw new ua(t);if(t.BYTES_PER_ELEMENT!==1||t.constructor.name!=="Uint8Array")throw new ua(t)}}function cE(t){return t instanceof Uint8Array?t:typeof t=="string"?uE(t):fE(t)}function fE(t){return t instanceof Uint8Array?t:new Uint8Array(t)}function uE(t,e={}){const{size:n}=e;let r=t;n&&(mf(t,n),r=_f(t,n));let i=r.slice(2);i.length%2&&(i=`0${i}`);const s=i.length/2,o=new Uint8Array(s);for(let a=0,c=0;a<s;a++){const f=r0(i.charCodeAt(c++)),u=r0(i.charCodeAt(c++));if(f===void 0||u===void 0)throw new me(`Invalid byte sequence ("${i[c-2]}${i[c-1]}" in "${i}").`);o[a]=f*16+u}return o}function lE(t,e={}){const{size:n}=e,r=oE.encode(t);return typeof n=="number"?(Kv(r,n),hE(r,n)):r}function hE(t,e){return Gv(t,{dir:"right",size:e})}function c0(t){return t.length}function dE(t){try{return aE(t),!0}catch{return!1}}class ua extends me{constructor(e){super(`Value \`${typeof e=="object"?vf(e):e}\` of type \`${typeof e}\` is an invalid Bytes value.`,{metaMessages:["Bytes values must be of type `Bytes`."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesTypeError"})}}class pE extends me{constructor({givenSize:e,maxSize:n}){super(`Size cannot exceed \`${n}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}}class gE extends me{constructor({size:e,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}}function f0(t,e={}){const{as:n=typeof t=="string"?"Hex":"Bytes"}=e,r=Nv(cE(t));return n==="Bytes"?r:Hs(r)}class yE extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){const n=super.get(e);return super.has(e)&&n!==void 0&&(this.delete(e),super.set(e,n)),n}set(e,n){if(super.set(e,n),this.maxSize&&this.size>this.maxSize){const r=this.keys().next().value;r&&this.delete(r)}return this}}const If={checksum:new yE(8192)}.checksum;function u0(t,e={}){const{compressed:n}=e,{prefix:r,x:i,y:s}=t;if(n===!1||typeof i=="bigint"&&typeof s=="bigint"){if(r!==4)throw new h0({prefix:r,cause:new xE});return}if(n===!0||typeof i=="bigint"&&typeof s>"u"){if(r!==3&&r!==2)throw new h0({prefix:r,cause:new EE});return}throw new vE({publicKey:t})}function bE(t){const e=(()=>{if(nE(t))return l0(t);if(dE(t))return wE(t);const{prefix:n,x:r,y:i}=t;return typeof r=="bigint"&&typeof i=="bigint"?{prefix:n??4,x:r,y:i}:{prefix:n,x:r}})();return u0(e),e}function wE(t){return l0(Hs(t))}function l0(t){if(t.length!==132&&t.length!==130&&t.length!==68)throw new _E({publicKey:t});if(t.length===130){const r=BigInt(qn(t,0,32)),i=BigInt(qn(t,32,64));return{prefix:4,x:r,y:i}}if(t.length===132){const r=Number(qn(t,0,1)),i=BigInt(qn(t,1,33)),s=BigInt(qn(t,33,65));return{prefix:r,x:i,y:s}}const e=Number(qn(t,0,1)),n=BigInt(qn(t,1,33));return{prefix:e,x:n}}function mE(t,e={}){u0(t);const{prefix:n,x:r,y:i}=t,{includePrefix:s=!0}=e;return Ef(s?ca(n,{size:1}):"0x",ca(r,{size:32}),typeof i=="bigint"?ca(i,{size:32}):"0x")}class vE extends me{constructor({publicKey:e}){super(`Value \`${vf(e)}\` is not a valid public key.`,{metaMessages:["Public key must contain:","- an `x` and `prefix` value (compressed)","- an `x`, `y`, and `prefix` value (uncompressed)"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidError"})}}class h0 extends me{constructor({prefix:e,cause:n}){super(`Prefix "${e}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidPrefixError"})}}class EE extends me{constructor(){super("Prefix must be 2 or 3 for compressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidCompressedPrefixError"})}}class xE extends me{constructor(){super("Prefix must be 4 for uncompressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidUncompressedPrefixError"})}}class _E extends me{constructor({publicKey:e}){super(`Value \`${e}\` is an invalid public key size.`,{metaMessages:["Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).",`Received ${Mn(xf(e))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidSerializedSizeError"})}}const IE=/^0x[a-fA-F0-9]{40}$/;function Sf(t,e={}){const{strict:n=!0}=e;if(!IE.test(t))throw new p0({address:t,cause:new $E});if(n){if(t.toLowerCase()===t)return;if(d0(t)!==t)throw new p0({address:t,cause:new AE})}}function d0(t){if(If.has(t))return If.get(t);Sf(t,{strict:!1});const e=t.substring(2).toLowerCase(),n=f0(lE(e),{as:"Bytes"}),r=e.split("");for(let s=0;s<40;s+=2)n[s>>1]>>4>=8&&r[s]&&(r[s]=r[s].toUpperCase()),(n[s>>1]&15)>=8&&r[s+1]&&(r[s+1]=r[s+1].toUpperCase());const i=`0x${r.join("")}`;return If.set(t,i),i}function SE(t,e={}){const{checksum:n=!1}=e;return Sf(t),n?d0(t):t}function BE(t,e={}){const n=f0(`0x${mE(t).slice(4)}`).substring(26);return SE(`0x${n}`,e)}class p0 extends me{constructor({address:e,cause:n}){super(`Address "${e}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class $E extends me{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class AE extends me{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}const OE=/^(.*)\[([0-9]*)\]$/,DE=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,PE=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;function Bf(t,e){if(t.length!==e.length)throw new TE({expectedLength:t.length,givenLength:e.length});const n=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[r];n.push(Bf.encode(i,s))}return Ef(...n)}(function(t){function e(n,r,i=!1){if(n==="address"){const c=r;return Sf(c),fa(c.toLowerCase(),i?32:0)}if(n==="string")return tE(r);if(n==="bytes")return r;if(n==="bool")return fa(eE(r),i?32:1);const s=n.match(PE);if(s){const[c,f,u="256"]=s,h=Number.parseInt(u,10)/8;return ca(r,{size:i?32:h,signed:f==="int"})}const o=n.match(DE);if(o){const[c,f]=o;if(Number.parseInt(f,10)!==(r.length-2)/2)throw new RE({expectedSize:Number.parseInt(f,10),value:r});return _f(r,i?32:0)}const a=n.match(OE);if(a&&Array.isArray(r)){const[c,f]=a,u=[];for(let h=0;h<r.length;h++)u.push(e(f,r[h],!0));return u.length===0?"0x":Ef(...u)}throw new NE(n)}t.encode=e})(Bf||(Bf={}));class RE extends me{constructor({expectedSize:e,value:n}){super(`Size of bytes "${n}" (bytes${Mn(n)}) does not match expected size (bytes${e}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class TE extends me{constructor({expectedLength:e,givenLength:n}){super(["ABI encoding parameters/values length mismatch.",`Expected length (parameters): ${e}`,`Given length (values): ${n}`].join(`
|
|
16
|
-
`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}class NE extends me{constructor(e){super(`Type \`${e}\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}class g0 extends lf{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,iv(e);const r=Qo(n);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),yr(s)}update(e){return Yi(this),this.iHash.update(e),this}digestInto(e){Yi(this),yi(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const y0=(t,e,n)=>new g0(t,e).update(n).digest();y0.create=(t,e)=>new g0(t,e);const _t=BigInt(0),gt=BigInt(1),mi=BigInt(2),UE=BigInt(3),b0=BigInt(4),w0=BigInt(5),m0=BigInt(8);function yt(t,e){const n=t%e;return n>=_t?n:e+n}function Kt(t,e,n){let r=t;for(;e-- >_t;)r*=r,r%=n;return r}function $f(t,e){if(t===_t)throw new Error("invert: expected non-zero number");if(e<=_t)throw new Error("invert: expected positive modulus, got "+e);let n=yt(t,e),r=e,i=_t,s=gt;for(;n!==_t;){const a=r/n,c=r%n,f=i-s*a;r=n,n=c,i=s,s=f}if(r!==gt)throw new Error("invert: does not exist");return yt(i,e)}function v0(t,e){const n=(t.ORDER+gt)/b0,r=t.pow(e,n);if(!t.eql(t.sqr(r),e))throw new Error("Cannot find square root");return r}function CE(t,e){const n=(t.ORDER-w0)/m0,r=t.mul(e,mi),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,mi),i),a=t.mul(s,t.sub(o,t.ONE));if(!t.eql(t.sqr(a),e))throw new Error("Cannot find square root");return a}function FE(t){if(t<BigInt(3))throw new Error("sqrt is not defined for small field");let e=t-gt,n=0;for(;e%mi===_t;)e/=mi,n++;let r=mi;const i=Er(t);for(;ha(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return v0;let s=i.pow(r,e);const o=(e+gt)/mi;return function(c,f){if(c.is0(f))return f;if(ha(c,f)!==1)throw new Error("Cannot find square root");let u=n,h=c.mul(c.ONE,s),l=c.pow(f,e),d=c.pow(f,o);for(;!c.eql(l,c.ONE);){if(c.is0(l))return c.ZERO;let p=1,b=c.sqr(l);for(;!c.eql(b,c.ONE);)if(p++,b=c.sqr(b),p===u)throw new Error("Cannot find square root");const v=gt<<BigInt(u-p-1),O=c.pow(h,v);u=p,h=c.sqr(O),l=c.mul(l,h),d=c.mul(d,O)}return d}}function LE(t){return t%b0===UE?v0:t%m0===w0?CE:FE(t)}const kE=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function E0(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=kE.reduce((r,i)=>(r[i]="function",r),e);return zs(t,n)}function la(t,e,n){if(n<_t)throw new Error("invalid exponent, negatives unsupported");if(n===_t)return t.ONE;if(n===gt)return e;let r=t.ONE,i=e;for(;n>_t;)n>&&(r=t.mul(r,i)),i=t.sqr(i),n>>=gt;return r}function vi(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function ha(t,e){const n=(t.ORDER-gt)/mi,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function x0(t,e){e!==void 0&&Ls(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Er(t,e,n=!1,r={}){if(t<=_t)throw new Error("invalid field: expected ORDER > 0, got "+t);const{nBitLength:i,nByteLength:s}=x0(t,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const a=Object.freeze({ORDER:t,isLE:n,BITS:i,BYTES:s,MASK:wi(i),ZERO:_t,ONE:gt,create:c=>yt(c,t),isValid:c=>{if(typeof c!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof c);return _t<=c&&c<t},is0:c=>c===_t,isOdd:c=>(c>)===gt,neg:c=>yt(-c,t),eql:(c,f)=>c===f,sqr:c=>yt(c*c,t),add:(c,f)=>yt(c+f,t),sub:(c,f)=>yt(c-f,t),mul:(c,f)=>yt(c*f,t),pow:(c,f)=>la(a,c,f),div:(c,f)=>yt(c*$f(f,t),t),sqrN:c=>c*c,addN:(c,f)=>c+f,subN:(c,f)=>c-f,mulN:(c,f)=>c*f,inv:c=>$f(c,t),sqrt:r.sqrt||(c=>(o||(o=LE(t)),o(a,c))),toBytes:c=>n?e0(c,s):Re(c,s),fromBytes:c=>{if(c.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+c.length);return n?Qd(c):pt(c)},invertBatch:c=>vi(a,c),cmov:(c,f,u)=>u?f:c});return Object.freeze(a)}function _0(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function Af(t){const e=_0(t);return e+Math.ceil(e/2)}function I0(t,e,n=!1){const r=t.length,i=_0(e),s=Af(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?Qd(t):pt(t),a=yt(o,e-gt)+gt;return n?e0(a,i):Re(a,i)}const S0=BigInt(0),Of=BigInt(1);function Df(t,e){const n=e.negate();return t?n:e}function B0(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function Pf(t,e){B0(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=wi(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function $0(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=Of);const f=e*r,u=f+Math.abs(a)-1,h=a===0,l=a<0,d=e%2!==0;return{nextN:c,offset:u,isZero:h,isNeg:l,isNegF:d,offsetF:f}}function qE(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function ME(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const Rf=new WeakMap,A0=new WeakMap;function Tf(t){return A0.get(t)||1}function jE(t,e){return{constTimeNegate:Df,hasPrecomputes(n){return Tf(n)!==1},unsafeLadder(n,r,i=t.ZERO){let s=n;for(;r>S0;)r&Of&&(i=i.add(s)),s=s.double(),r>>=Of;return i},precomputeWindow(n,r){const{windows:i,windowSize:s}=Pf(r,e),o=[];let a=n,c=a;for(let f=0;f<i;f++){c=a,o.push(c);for(let u=1;u<s;u++)c=c.add(a),o.push(c);a=c.double()}return o},wNAF(n,r,i){let s=t.ZERO,o=t.BASE;const a=Pf(n,e);for(let c=0;c<a.windows;c++){const{nextN:f,offset:u,isZero:h,isNeg:l,isNegF:d,offsetF:p}=$0(i,c,a);i=f,h?o=o.add(Df(d,r[p])):s=s.add(Df(l,r[u]))}return{p:s,f:o}},wNAFUnsafe(n,r,i,s=t.ZERO){const o=Pf(n,e);for(let a=0;a<o.windows&&i!==S0;a++){const{nextN:c,offset:f,isZero:u,isNeg:h}=$0(i,a,o);if(i=c,!u){const l=r[f];s=s.add(h?l.negate():l)}}return s},getPrecomputes(n,r,i){let s=Rf.get(r);return s||(s=this.precomputeWindow(r,n),n!==1&&Rf.set(r,i(s))),s},wNAFCached(n,r,i){const s=Tf(n);return this.wNAF(s,this.getPrecomputes(s,n,i),r)},wNAFCachedUnsafe(n,r,i,s){const o=Tf(n);return o===1?this.unsafeLadder(n,r,s):this.wNAFUnsafe(o,this.getPrecomputes(o,n,i),r,s)},setWindowSize(n,r){B0(r,e),A0.set(n,r),Rf.delete(n)}}}function zE(t,e,n,r){qE(n,t),ME(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=js(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const f=wi(c),u=new Array(Number(f)+1).fill(o),h=Math.floor((e.BITS-1)/c)*c;let l=o;for(let d=h;d>=0;d-=c){u.fill(o);for(let b=0;b<s;b++){const v=r[b],O=Number(v>>BigInt(d)&f);u[O]=u[O].add(n[b])}let p=o;for(let b=u.length-1,v=o;b>0;b--)v=v.add(u[b]),p=p.add(v);if(l=l.add(p),d!==0)for(let b=0;b<c;b++)l=l.double()}return l}function O0(t){return E0(t.Fp),zs(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...x0(t.n,t.nBitLength),...t,p:t.Fp.ORDER})}function D0(t){t.lowS!==void 0&&Ms("lowS",t.lowS),t.prehash!==void 0&&Ms("prehash",t.prehash)}function HE(t){const e=O0(t);zs(e,{a:"field",b:"field"},{allowInfinityPoint:"boolean",allowedPrivateKeyLengths:"array",clearCofactor:"function",fromBytes:"function",isTorsionFree:"function",toBytes:"function",wrapPrivateKey:"boolean"});const{endo:n,Fp:r,a:i}=e;if(n){if(!r.eql(i,r.ZERO))throw new Error("invalid endo: CURVE.a must be 0");if(typeof n!="object"||typeof n.beta!="bigint"||typeof n.splitScalar!="function")throw new Error('invalid endo: expected "beta": bigint and "splitScalar": function')}return Object.freeze({...e})}class VE extends Error{constructor(e=""){super(e)}}const jn={Err:VE,_tlv:{encode:(t,e)=>{const{Err:n}=jn;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=oa(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?oa(i.length/2|128):"";return oa(t)+s+i+e},decode(t,e){const{Err:n}=jn;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const f=e.subarray(r,r+c);if(f.length!==c)throw new n("tlv.decode: length bytes not complete");if(f[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const u of f)o=o<<8|u;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=jn;if(t<rn)throw new e("integer: negative integers are not allowed");let n=oa(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=jn;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return pt(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=jn,i=nt("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:f,l:u}=r.decode(2,c);if(u.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(f)}},hexFromSig(t){const{_tlv:e,_int:n}=jn,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}};function Nf(t,e){return bi(Re(t,e))}const rn=BigInt(0),ye=BigInt(1),xr=BigInt(2),Vs=BigInt(3),Uf=BigInt(4);function Cf(t){const e=HE(t),{Fp:n}=e,r=Er(e.n,e.nBitLength),i=e.toBytes||((x,S,R)=>{const U=S.toAffine();return Be(Uint8Array.from([4]),n.toBytes(U.x),n.toBytes(U.y))}),s=e.fromBytes||(x=>{const S=x.subarray(1),R=n.fromBytes(S.subarray(0,n.BYTES)),U=n.fromBytes(S.subarray(n.BYTES,2*n.BYTES));return{x:R,y:U}});function o(x){const{a:S,b:R}=e,U=n.sqr(x),L=n.mul(U,x);return n.add(n.add(L,n.mul(x,S)),R)}function a(x,S){const R=n.sqr(S),U=o(x);return n.eql(R,U)}if(!a(e.Gx,e.Gy))throw new Error("bad curve params: generator point");const c=n.mul(n.pow(e.a,Vs),Uf),f=n.mul(n.sqr(e.b),BigInt(27));if(n.is0(n.add(c,f)))throw new Error("bad curve params: a or b");function u(x){return yf(x,ye,e.n)}function h(x){const{allowedPrivateKeyLengths:S,nByteLength:R,wrapPrivateKey:U,n:L}=e;if(S&&typeof x!="bigint"){if(qs(x)&&(x=bi(x)),typeof x!="string"||!S.includes(x.length))throw new Error("invalid private key");x=x.padStart(R*2,"0")}let C;try{C=typeof x=="bigint"?x:pt(nt("private key",x,R))}catch{throw new Error("invalid private key, expected hex or "+R+" bytes, got "+typeof x)}return U&&(C=yt(C,L)),Qi("private key",C,ye,L),C}function l(x){if(!(x instanceof b))throw new Error("ProjectivePoint expected")}const d=wf((x,S)=>{const{px:R,py:U,pz:L}=x;if(n.eql(L,n.ONE))return{x:R,y:U};const C=x.is0();S==null&&(S=C?n.ONE:n.inv(L));const A=n.mul(R,S),j=n.mul(U,S),q=n.mul(L,S);if(C)return{x:n.ZERO,y:n.ZERO};if(!n.eql(q,n.ONE))throw new Error("invZ was invalid");return{x:A,y:j}}),p=wf(x=>{if(x.is0()){if(e.allowInfinityPoint&&!n.is0(x.py))return;throw new Error("bad point: ZERO")}const{x:S,y:R}=x.toAffine();if(!n.isValid(S)||!n.isValid(R))throw new Error("bad point: x or y not FE");if(!a(S,R))throw new Error("bad point: equation left != right");if(!x.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class b{constructor(S,R,U){if(S==null||!n.isValid(S))throw new Error("x required");if(R==null||!n.isValid(R)||n.is0(R))throw new Error("y required");if(U==null||!n.isValid(U))throw new Error("z required");this.px=S,this.py=R,this.pz=U,Object.freeze(this)}static fromAffine(S){const{x:R,y:U}=S||{};if(!S||!n.isValid(R)||!n.isValid(U))throw new Error("invalid affine point");if(S instanceof b)throw new Error("projective point not allowed");const L=C=>n.eql(C,n.ZERO);return L(R)&&L(U)?b.ZERO:new b(R,U,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(S){const R=vi(n,S.map(U=>U.pz));return S.map((U,L)=>U.toAffine(R[L])).map(b.fromAffine)}static fromHex(S){const R=b.fromAffine(s(nt("pointHex",S)));return R.assertValidity(),R}static fromPrivateKey(S){return b.BASE.multiply(h(S))}static msm(S,R){return zE(b,r,S,R)}_setWindowSize(S){P.setWindowSize(this,S)}assertValidity(){p(this)}hasEvenY(){const{y:S}=this.toAffine();if(n.isOdd)return!n.isOdd(S);throw new Error("Field doesn't support isOdd")}equals(S){l(S);const{px:R,py:U,pz:L}=this,{px:C,py:A,pz:j}=S,q=n.eql(n.mul(R,j),n.mul(C,L)),E=n.eql(n.mul(U,j),n.mul(A,L));return q&&E}negate(){return new b(this.px,n.neg(this.py),this.pz)}double(){const{a:S,b:R}=e,U=n.mul(R,Vs),{px:L,py:C,pz:A}=this;let j=n.ZERO,q=n.ZERO,E=n.ZERO,y=n.mul(L,L),w=n.mul(C,C),g=n.mul(A,A),m=n.mul(L,C);return m=n.add(m,m),E=n.mul(L,A),E=n.add(E,E),j=n.mul(S,E),q=n.mul(U,g),q=n.add(j,q),j=n.sub(w,q),q=n.add(w,q),q=n.mul(j,q),j=n.mul(m,j),E=n.mul(U,E),g=n.mul(S,g),m=n.sub(y,g),m=n.mul(S,m),m=n.add(m,E),E=n.add(y,y),y=n.add(E,y),y=n.add(y,g),y=n.mul(y,m),q=n.add(q,y),g=n.mul(C,A),g=n.add(g,g),y=n.mul(g,m),j=n.sub(j,y),E=n.mul(g,w),E=n.add(E,E),E=n.add(E,E),new b(j,q,E)}add(S){l(S);const{px:R,py:U,pz:L}=this,{px:C,py:A,pz:j}=S;let q=n.ZERO,E=n.ZERO,y=n.ZERO;const w=e.a,g=n.mul(e.b,Vs);let m=n.mul(R,C),_=n.mul(U,A),B=n.mul(L,j),I=n.add(R,U),$=n.add(C,A);I=n.mul(I,$),$=n.add(m,_),I=n.sub(I,$),$=n.add(R,L);let D=n.add(C,j);return $=n.mul($,D),D=n.add(m,B),$=n.sub($,D),D=n.add(U,L),q=n.add(A,j),D=n.mul(D,q),q=n.add(_,B),D=n.sub(D,q),y=n.mul(w,$),q=n.mul(g,B),y=n.add(q,y),q=n.sub(_,y),y=n.add(_,y),E=n.mul(q,y),_=n.add(m,m),_=n.add(_,m),B=n.mul(w,B),$=n.mul(g,$),_=n.add(_,B),B=n.sub(m,B),B=n.mul(w,B),$=n.add($,B),m=n.mul(_,$),E=n.add(E,m),m=n.mul(D,$),q=n.mul(I,q),q=n.sub(q,m),m=n.mul(I,_),y=n.mul(D,y),y=n.add(y,m),new b(q,E,y)}subtract(S){return this.add(S.negate())}is0(){return this.equals(b.ZERO)}wNAF(S){return P.wNAFCached(this,S,b.normalizeZ)}multiplyUnsafe(S){const{endo:R,n:U}=e;Qi("scalar",S,rn,U);const L=b.ZERO;if(S===rn)return L;if(this.is0()||S===ye)return this;if(!R||P.hasPrecomputes(this))return P.wNAFCachedUnsafe(this,S,b.normalizeZ);let{k1neg:C,k1:A,k2neg:j,k2:q}=R.splitScalar(S),E=L,y=L,w=this;for(;A>rn||q>rn;)A&ye&&(E=E.add(w)),q&ye&&(y=y.add(w)),w=w.double(),A>>=ye,q>>=ye;return C&&(E=E.negate()),j&&(y=y.negate()),y=new b(n.mul(y.px,R.beta),y.py,y.pz),E.add(y)}multiply(S){const{endo:R,n:U}=e;Qi("scalar",S,ye,U);let L,C;if(R){const{k1neg:A,k1:j,k2neg:q,k2:E}=R.splitScalar(S);let{p:y,f:w}=this.wNAF(j),{p:g,f:m}=this.wNAF(E);y=P.constTimeNegate(A,y),g=P.constTimeNegate(q,g),g=new b(n.mul(g.px,R.beta),g.py,g.pz),L=y.add(g),C=w.add(m)}else{const{p:A,f:j}=this.wNAF(S);L=A,C=j}return b.normalizeZ([L,C])[0]}multiplyAndAddUnsafe(S,R,U){const L=b.BASE,C=(j,q)=>q===rn||q===ye||!j.equals(L)?j.multiplyUnsafe(q):j.multiply(q),A=C(this,R).add(C(S,U));return A.is0()?void 0:A}toAffine(S){return d(this,S)}isTorsionFree(){const{h:S,isTorsionFree:R}=e;if(S===ye)return!0;if(R)return R(b,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:S,clearCofactor:R}=e;return S===ye?this:R?R(b,this):this.multiplyUnsafe(e.h)}toRawBytes(S=!0){return Ms("isCompressed",S),this.assertValidity(),i(b,this,S)}toHex(S=!0){return Ms("isCompressed",S),bi(this.toRawBytes(S))}}b.BASE=new b(e.Gx,e.Gy,n.ONE),b.ZERO=new b(n.ZERO,n.ONE,n.ZERO);const{endo:v,nBitLength:O}=e,P=jE(b,v?Math.ceil(O/2):O);return{CURVE:e,ProjectivePoint:b,normPrivateKeyToScalar:h,weierstrassEquation:o,isWithinCurveOrder:u}}function KE(t){const e=O0(t);return zs(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}function GE(t){const e=KE(t),{Fp:n,n:r,nByteLength:i,nBitLength:s}=e,o=n.BYTES+1,a=2*n.BYTES+1;function c(g){return yt(g,r)}function f(g){return $f(g,r)}const{ProjectivePoint:u,normPrivateKeyToScalar:h,weierstrassEquation:l,isWithinCurveOrder:d}=Cf({...e,toBytes(g,m,_){const B=m.toAffine(),I=n.toBytes(B.x),$=Be;return Ms("isCompressed",_),_?$(Uint8Array.from([m.hasEvenY()?2:3]),I):$(Uint8Array.from([4]),I,n.toBytes(B.y))},fromBytes(g){const m=g.length,_=g[0],B=g.subarray(1);if(m===o&&(_===2||_===3)){const I=pt(B);if(!yf(I,ye,n.ORDER))throw new Error("Point is not on curve");const $=l(I);let D;try{D=n.sqrt($)}catch(k){const N=k instanceof Error?": "+k.message:"";throw new Error("Point is not on curve"+N)}const T=(D&ye)===ye;return(_&1)===1!==T&&(D=n.neg(D)),{x:I,y:D}}else if(m===a&&_===4){const I=n.fromBytes(B.subarray(0,n.BYTES)),$=n.fromBytes(B.subarray(n.BYTES,2*n.BYTES));return{x:I,y:$}}else{const I=o,$=a;throw new Error("invalid Point, expected length of "+I+", or uncompressed "+$+", got "+m)}}});function p(g){const m=r>>ye;return g>m}function b(g){return p(g)?c(-g):g}const v=(g,m,_)=>pt(g.slice(m,_));class O{constructor(m,_,B){Qi("r",m,ye,r),Qi("s",_,ye,r),this.r=m,this.s=_,B!=null&&(this.recovery=B),Object.freeze(this)}static fromCompact(m){const _=i;return m=nt("compactSignature",m,_*2),new O(v(m,0,_),v(m,_,2*_))}static fromDER(m){const{r:_,s:B}=jn.toSig(nt("DER",m));return new O(_,B)}assertValidity(){}addRecoveryBit(m){return new O(this.r,this.s,m)}recoverPublicKey(m){const{r:_,s:B,recovery:I}=this,$=L(nt("msgHash",m));if(I==null||![0,1,2,3].includes(I))throw new Error("recovery id invalid");const D=I===2||I===3?_+e.n:_;if(D>=n.ORDER)throw new Error("recovery id 2 or 3 invalid");const T=(I&1)===0?"02":"03",F=u.fromHex(T+Nf(D,n.BYTES)),k=f(D),N=c(-$*k),M=c(B*k),z=u.BASE.multiplyAndAddUnsafe(F,N,M);if(!z)throw new Error("point at infinify");return z.assertValidity(),z}hasHighS(){return p(this.s)}normalizeS(){return this.hasHighS()?new O(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return aa(this.toDERHex())}toDERHex(){return jn.hexFromSig(this)}toCompactRawBytes(){return aa(this.toCompactHex())}toCompactHex(){const m=i;return Nf(this.r,m)+Nf(this.s,m)}}const P={isValidPrivateKey(g){try{return h(g),!0}catch{return!1}},normPrivateKeyToScalar:h,randomPrivateKey:()=>{const g=Af(e.n);return I0(e.randomBytes(g),e.n)},precompute(g=8,m=u.BASE){return m._setWindowSize(g),m.multiply(BigInt(3)),m}};function x(g,m=!0){return u.fromPrivateKey(g).toRawBytes(m)}function S(g){if(typeof g=="bigint")return!1;if(g instanceof u)return!0;const _=nt("key",g).length,B=n.BYTES,I=B+1,$=2*B+1;if(!(e.allowedPrivateKeyLengths||i===I))return _===I||_===$}function R(g,m,_=!0){if(S(g)===!0)throw new Error("first arg must be private key");if(S(m)===!1)throw new Error("second arg must be public key");return u.fromHex(m).multiply(h(g)).toRawBytes(_)}const U=e.bits2int||function(g){if(g.length>8192)throw new Error("input is too large");const m=pt(g),_=g.length*8-s;return _>0?m>>BigInt(_):m},L=e.bits2int_modN||function(g){return c(U(g))},C=wi(s);function A(g){return Qi("num < 2^"+s,g,rn,C),Re(g,i)}function j(g,m,_=q){if(["recovered","canonical"].some(H=>H in _))throw new Error("sign() legacy options not supported");const{hash:B,randomBytes:I}=e;let{lowS:$,prehash:D,extraEntropy:T}=_;$==null&&($=!0),g=nt("msgHash",g),D0(_),D&&(g=nt("prehashed msgHash",B(g)));const F=L(g),k=h(m),N=[A(k),A(F)];if(T!=null&&T!==!1){const H=T===!0?I(n.BYTES):T;N.push(nt("extraEntropy",H))}const M=Be(...N),z=F;function K(H){const G=U(H);if(!d(G))return;const ee=f(G),te=u.BASE.multiply(G).toAffine(),re=c(te.x);if(re===rn)return;const ce=c(ee*c(z+re*k));if(ce===rn)return;let Ie=(te.x===re?0:2)|Number(te.y&ye),lr=ce;return $&&p(ce)&&(lr=b(ce),Ie^=1),new O(re,lr,Ie)}return{seed:M,k2sig:K}}const q={lowS:e.lowS,prehash:!1},E={lowS:e.lowS,prehash:!1};function y(g,m,_=q){const{seed:B,k2sig:I}=j(g,m,_),$=e;return Hv($.hash.outputLen,$.nByteLength,$.hmac)(B,I)}u.BASE._setWindowSize(8);function w(g,m,_,B=E){const I=g;m=nt("msgHash",m),_=nt("publicKey",_);const{lowS:$,prehash:D,format:T}=B;if(D0(B),"strict"in B)throw new Error("options.strict was renamed to lowS");if(T!==void 0&&T!=="compact"&&T!=="der")throw new Error("format must be compact or der");const F=typeof I=="string"||qs(I),k=!F&&!T&&typeof I=="object"&&I!==null&&typeof I.r=="bigint"&&typeof I.s=="bigint";if(!F&&!k)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let N,M;try{if(k&&(N=new O(I.r,I.s)),F){try{T!=="compact"&&(N=O.fromDER(I))}catch(Ie){if(!(Ie instanceof jn.Err))throw Ie}!N&&T!=="der"&&(N=O.fromCompact(I))}M=u.fromHex(_)}catch{return!1}if(!N||$&&N.hasHighS())return!1;D&&(m=e.hash(m));const{r:z,s:K}=N,H=L(m),G=f(K),ee=c(H*G),te=c(z*G),re=u.BASE.multiplyAndAddUnsafe(M,ee,te)?.toAffine();return re?c(re.x)===z:!1}return{CURVE:e,getPublicKey:x,getSharedSecret:R,sign:y,verify:w,ProjectivePoint:u,Signature:O,utils:P}}function ZE(t,e){const n=t.ORDER;let r=rn;for(let p=n-ye;p%xr===rn;p/=xr)r+=ye;const i=r,s=xr<<i-ye-ye,o=s*xr,a=(n-ye)/o,c=(a-ye)/xr,f=o-ye,u=s,h=t.pow(e,a),l=t.pow(e,(a+ye)/xr);let d=(p,b)=>{let v=h,O=t.pow(b,f),P=t.sqr(O);P=t.mul(P,b);let x=t.mul(p,P);x=t.pow(x,c),x=t.mul(x,O),O=t.mul(x,b),P=t.mul(x,p);let S=t.mul(P,O);x=t.pow(S,u);let R=t.eql(x,t.ONE);O=t.mul(P,l),x=t.mul(S,v),P=t.cmov(O,P,R),S=t.cmov(x,S,R);for(let U=i;U>ye;U--){let L=U-xr;L=xr<<L-ye;let C=t.pow(S,L);const A=t.eql(C,t.ONE);O=t.mul(P,v),v=t.mul(v,v),C=t.mul(S,v),P=t.cmov(O,P,A),S=t.cmov(C,S,A)}return{isValid:R,value:P}};if(t.ORDER%Uf===Vs){const p=(t.ORDER-Vs)/Uf,b=t.sqrt(t.neg(e));d=(v,O)=>{let P=t.sqr(O);const x=t.mul(v,O);P=t.mul(P,x);let S=t.pow(P,p);S=t.mul(S,x);const R=t.mul(S,b),U=t.mul(t.sqr(S),O),L=t.eql(U,v);let C=t.cmov(R,S,L);return{isValid:L,value:C}}}return d}function P0(t,e){if(E0(t),!t.isValid(e.A)||!t.isValid(e.B)||!t.isValid(e.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");const n=ZE(t,e.Z);if(!t.isOdd)throw new Error("Fp.isOdd is not implemented!");return r=>{let i,s,o,a,c,f,u,h;i=t.sqr(r),i=t.mul(i,e.Z),s=t.sqr(i),s=t.add(s,i),o=t.add(s,t.ONE),o=t.mul(o,e.B),a=t.cmov(e.Z,t.neg(s),!t.eql(s,t.ZERO)),a=t.mul(a,e.A),s=t.sqr(o),f=t.sqr(a),c=t.mul(f,e.A),s=t.add(s,c),s=t.mul(s,o),f=t.mul(f,a),c=t.mul(f,e.B),s=t.add(s,c),u=t.mul(i,o);const{isValid:l,value:d}=n(s,f);h=t.mul(i,r),h=t.mul(h,d),u=t.cmov(u,o,l),h=t.cmov(h,d,l);const p=t.isOdd(r)===t.isOdd(h);h=t.cmov(t.neg(h),h,p);const b=vi(t,[a],!0)[0];return u=t.mul(u,b),{x:u,y:h}}}function WE(t){return{hash:t,hmac:(e,...n)=>y0(t,e,uv(...n)),randomBytes:Cd}}function da(t,e){const n=r=>GE({...t,...WE(r)});return{...n(e),create:n}}const YE=pt;function _r(t,e){if(Ks(t),Ks(e),t<0||t>=1<<8*e)throw new Error("invalid I2OSP input: "+t);const n=Array.from({length:e}).fill(0);for(let r=e-1;r>=0;r--)n[r]=t&255,t>>>=8;return new Uint8Array(n)}function XE(t,e){const n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r]^e[r];return n}function Ks(t){if(!Number.isSafeInteger(t))throw new Error("number expected")}function JE(t,e,n,r){vr(t),vr(e),Ks(n),e.length>255&&(e=r(Be(pf("H2C-OVERSIZE-DST-"),e)));const{outputLen:i,blockLen:s}=r,o=Math.ceil(n/i);if(n>65535||o>255)throw new Error("expand_message_xmd: invalid lenInBytes");const a=Be(e,_r(e.length,1)),c=_r(0,s),f=_r(n,2),u=new Array(o),h=r(Be(c,t,f,_r(0,1),a));u[0]=r(Be(h,_r(1,1),a));for(let d=1;d<=o;d++){const p=[XE(h,u[d-1]),_r(d+1,1),a];u[d]=r(Be(...p))}return Be(...u).slice(0,n)}function QE(t,e,n,r,i){if(vr(t),vr(e),Ks(n),e.length>255){const s=Math.ceil(2*r/8);e=i.create({dkLen:s}).update(pf("H2C-OVERSIZE-DST-")).update(e).digest()}if(n>65535||e.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return i.create({dkLen:n}).update(t).update(_r(n,2)).update(e).update(_r(e.length,1)).digest()}function R0(t,e,n){zs(n,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});const{p:r,k:i,m:s,hash:o,expand:a,DST:c}=n;vr(t),Ks(e);const f=typeof c=="string"?pf(c):c,u=r.toString(2).length,h=Math.ceil((u+i)/8),l=e*s*h;let d;if(a==="xmd")d=JE(t,f,l,o);else if(a==="xof")d=QE(t,f,l,i,o);else if(a==="_internal_pass")d=t;else throw new Error('expand must be "xmd" or "xof"');const p=new Array(e);for(let b=0;b<e;b++){const v=new Array(s);for(let O=0;O<s;O++){const P=h*(O+b*s),x=d.subarray(P,P+h);v[O]=yt(YE(x),r)}p[b]=v}return p}function T0(t,e){const n=e.map(r=>Array.from(r).reverse());return(r,i)=>{const[s,o,a,c]=n.map(h=>h.reduce((l,d)=>t.add(t.mul(l,r),d))),[f,u]=vi(t,[o,c],!0);return r=t.mul(s,f),i=t.mul(i,t.mul(a,u)),{x:r,y:i}}}function N0(t,e,n){if(typeof e!="function")throw new Error("mapToCurve() must be defined");function r(s){return t.fromAffine(e(s))}function i(s){const o=s.clearCofactor();return o.equals(t.ZERO)?t.ZERO:(o.assertValidity(),o)}return{defaults:n,hashToCurve(s,o){const a=R0(s,2,{...n,DST:n.DST,...o}),c=r(a[0]),f=r(a[1]);return i(c.add(f))},encodeToCurve(s,o){const a=R0(s,1,{...n,DST:n.encodeDST,...o});return i(r(a[0]))},mapToCurve(s){if(!Array.isArray(s))throw new Error("expected array of bigints");for(const o of s)if(typeof o!="bigint")throw new Error("expected array of bigints");return i(r(s))}}}const U0=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),C0=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),e8=BigInt(0),t8=BigInt(1),Ff=BigInt(2),F0=(t,e)=>(t+e/Ff)/e;function n8(t){const e=U0,n=BigInt(3),r=BigInt(6),i=BigInt(11),s=BigInt(22),o=BigInt(23),a=BigInt(44),c=BigInt(88),f=t*t*t%e,u=f*f*t%e,h=Kt(u,n,e)*u%e,l=Kt(h,n,e)*u%e,d=Kt(l,Ff,e)*f%e,p=Kt(d,i,e)*d%e,b=Kt(p,s,e)*p%e,v=Kt(b,a,e)*b%e,O=Kt(v,c,e)*v%e,P=Kt(O,a,e)*b%e,x=Kt(P,n,e)*u%e,S=Kt(x,o,e)*p%e,R=Kt(S,r,e)*f%e,U=Kt(R,Ff,e);if(!Lf.eql(Lf.sqr(U),t))throw new Error("Cannot find square root");return U}const Lf=Er(U0,void 0,void 0,{sqrt:n8}),r8=da({a:e8,b:BigInt(7),Fp:Lf,n:C0,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:t=>{const e=C0,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-t8*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=n,o=BigInt("0x100000000000000000000000000000000"),a=F0(s*t,e),c=F0(-r*t,e);let f=yt(t-a*n-c*i,e),u=yt(-a*r-c*s,e);const h=f>o,l=u>o;if(h&&(f=e-f),l&&(u=e-u),f>o||u>o)throw new Error("splitScalar: Endomorphism failed, k="+t);return{k1neg:h,k1:f,k2neg:l,k2:u}}}},ia);function i8(t){if(t.length!==130&&t.length!==132)throw new o8({signature:t});const e=BigInt(qn(t,0,32)),n=BigInt(qn(t,32,64)),r=(()=>{const i=+`0x${t.slice(130)}`;if(!Number.isNaN(i))try{return s8(i)}catch{throw new a8({value:i})}})();return typeof r>"u"?{r:e,s:n}:{r:e,s:n,yParity:r}}function s8(t){if(t===0||t===27)return 0;if(t===1||t===28)return 1;if(t>=35)return t%2===0?1:0;throw new c8({value:t})}class o8 extends me{constructor({signature:e}){super(`Value \`${e}\` is an invalid signature size.`,{metaMessages:["Expected: 64 bytes or 65 bytes.",`Received ${Mn(xf(e))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSerializedSizeError"})}}class a8 extends me{constructor({value:e}){super(`Value \`${e}\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidYParityError"})}}class c8 extends me{constructor({value:e}){super(`Value \`${e}\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidVError"})}}Object.freeze({1:0n,2:1n,3:2n,4:3n,5:4n,6:5n,7:6n,8:7n,9:8n,A:9n,B:10n,C:11n,D:12n,E:13n,F:14n,G:15n,H:16n,J:17n,K:18n,L:19n,M:20n,N:21n,P:22n,Q:23n,R:24n,S:25n,T:26n,U:27n,V:28n,W:29n,X:30n,Y:31n,Z:32n,a:33n,b:34n,c:35n,d:36n,e:37n,f:38n,g:39n,h:40n,i:41n,j:42n,k:43n,m:44n,n:45n,o:46n,p:47n,q:48n,r:49n,s:50n,t:51n,u:52n,v:53n,w:54n,x:55n,y:56n,z:57n}),Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((t,e)=>[e,t.charCodeAt(0)]),{...Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((t,e)=>[t.charCodeAt(0),e]))},Cn.slice();const f8=BigInt(0),pa=BigInt(1),L0=BigInt(2),es=BigInt(3);function u8(t){const e=[];for(;t>pa;t>>=pa)(t&pa)===f8?e.unshift(0):(t&es)===es?(e.unshift(-1),t+=pa):e.unshift(1);return e}function l8(t){const{Fp:e,Fr:n,Fp2:r,Fp6:i,Fp12:s}=t.fields,o=t.params.xNegative,a=t.params.twistType,c=Cf({n:n.ORDER,...t.G1}),f=Object.assign(c,N0(c.ProjectivePoint,t.G1.mapToCurve,{...t.htfDefaults,...t.G1.htfDefaults})),u=Cf({n:n.ORDER,...t.G2}),h=Object.assign(u,N0(u.ProjectivePoint,t.G2.mapToCurve,{...t.htfDefaults,...t.G2.htfDefaults}));let l;if(a==="multiplicative")l=(F,k,N,M,z,K)=>s.mul014(M,F,r.mul(k,z),r.mul(N,K));else if(a==="divisive")l=(F,k,N,M,z,K)=>s.mul034(M,r.mul(N,K),r.mul(k,z),F);else throw new Error("bls: unknown twist type");const d=r.div(r.ONE,r.mul(r.ONE,L0));function p(F,k,N,M){const z=r.sqr(N),K=r.sqr(M),H=r.mulByB(r.mul(K,es)),G=r.mul(H,es),ee=r.sub(r.sub(r.sqr(r.add(N,M)),K),z),te=r.sub(H,z),re=r.mul(r.sqr(k),es),ce=r.neg(ee);return F.push([te,re,ce]),k=r.mul(r.mul(r.mul(r.sub(z,G),k),N),d),N=r.sub(r.sqr(r.mul(r.add(z,G),d)),r.mul(r.sqr(H),es)),M=r.mul(z,ee),{Rx:k,Ry:N,Rz:M}}function b(F,k,N,M,z,K){const H=r.sub(N,r.mul(K,M)),G=r.sub(k,r.mul(z,M)),ee=r.sub(r.mul(H,z),r.mul(G,K)),te=r.neg(H),re=G;F.push([ee,te,re]);const ce=r.sqr(G),Ie=r.mul(ce,G),lr=r.mul(ce,k),Gc=r.add(r.sub(Ie,r.mul(lr,L0)),r.mul(r.sqr(H),M));return k=r.mul(G,Gc),N=r.sub(r.mul(r.sub(lr,Gc),H),r.mul(Ie,N)),M=r.mul(M,Ie),{Rx:k,Ry:N,Rz:M}}const v=u8(t.params.ateLoopSize),O=wf(F=>{const k=F,{x:N,y:M}=k.toAffine(),z=N,K=M,H=r.neg(M);let G=z,ee=K,te=r.ONE;const re=[];for(const ce of v){const Ie=[];({Rx:G,Ry:ee,Rz:te}=p(Ie,G,ee,te)),ce&&({Rx:G,Ry:ee,Rz:te}=b(Ie,G,ee,te,z,ce===-1?H:K)),re.push(Ie)}if(t.postPrecompute){const ce=re[re.length-1];t.postPrecompute(G,ee,te,z,K,b.bind(null,ce))}return re});function P(F,k=!1){let N=s.ONE;if(F.length){const M=F[0][0].length;for(let z=0;z<M;z++){N=s.sqr(N);for(const[K,H,G]of F)for(const[ee,te,re]of K[z])N=l(ee,te,re,N,H,G)}}return o&&(N=s.conjugate(N)),k?s.finalExponentiate(N):N}function x(F,k=!0){const N=[];f.ProjectivePoint.normalizeZ(F.map(({g1:M})=>M)),h.ProjectivePoint.normalizeZ(F.map(({g2:M})=>M));for(const{g1:M,g2:z}of F){if(M.equals(f.ProjectivePoint.ZERO)||z.equals(h.ProjectivePoint.ZERO))throw new Error("pairing is not available for ZERO point");M.assertValidity(),z.assertValidity();const K=M.toAffine();N.push([O(z),K.x,K.y])}return P(N,k)}function S(F,k,N=!0){return x([{g1:F,g2:k}],N)}const R={randomPrivateKey:()=>{const F=Af(n.ORDER);return I0(t.randomBytes(F),n.ORDER)},calcPairingPrecomputes:O},{ShortSignature:U}=t.G1,{Signature:L}=t.G2;function C(F){return F instanceof f.ProjectivePoint?F:f.ProjectivePoint.fromHex(F)}function A(F,k){return F instanceof f.ProjectivePoint?F:f.hashToCurve(nt("point",F),k)}function j(F){return F instanceof h.ProjectivePoint?F:L.fromHex(F)}function q(F,k){return F instanceof h.ProjectivePoint?F:h.hashToCurve(nt("point",F),k)}function E(F){return f.ProjectivePoint.fromPrivateKey(F).toRawBytes(!0)}function y(F){return h.ProjectivePoint.fromPrivateKey(F).toRawBytes(!0)}function w(F,k,N){const M=q(F,N);M.assertValidity();const z=M.multiply(f.normPrivateKeyToScalar(k));return F instanceof h.ProjectivePoint?z:L.toRawBytes(z)}function g(F,k,N){const M=A(F,N);M.assertValidity();const z=M.multiply(f.normPrivateKeyToScalar(k));return F instanceof f.ProjectivePoint?z:U.toRawBytes(z)}function m(F,k,N,M){const z=C(N),K=q(k,M),H=f.ProjectivePoint.BASE,G=j(F),ee=x([{g1:z.negate(),g2:K},{g1:H,g2:G}]);return s.eql(ee,s.ONE)}function _(F,k,N,M){const z=j(N),K=A(k,M),H=h.ProjectivePoint.BASE,G=C(F),ee=x([{g1:K,g2:z},{g1:G,g2:H.negate()}]);return s.eql(ee,s.ONE)}function B(F){if(!Array.isArray(F)||F.length===0)throw new Error("expected non-empty array")}function I(F){B(F);const N=F.map(C).reduce((M,z)=>M.add(z),f.ProjectivePoint.ZERO);return F[0]instanceof f.ProjectivePoint?(N.assertValidity(),N):N.toRawBytes(!0)}function $(F){B(F);const N=F.map(j).reduce((M,z)=>M.add(z),h.ProjectivePoint.ZERO);return F[0]instanceof h.ProjectivePoint?(N.assertValidity(),N):L.toRawBytes(N)}function D(F){B(F);const N=F.map(C).reduce((M,z)=>M.add(z),f.ProjectivePoint.ZERO);return F[0]instanceof f.ProjectivePoint?(N.assertValidity(),N):U.toRawBytes(N)}function T(F,k,N,M){if(B(k),N.length!==k.length)throw new Error("amount of public keys and messages should be equal");const z=j(F),K=k.map(te=>q(te,M)),H=N.map(C),G=new Map;for(let te=0;te<H.length;te++){const re=H[te],ce=K[te];let Ie=G.get(ce);Ie===void 0&&(Ie=[],G.set(ce,Ie)),Ie.push(re)}const ee=[];try{for(const[te,re]of G){const ce=re.reduce((Ie,lr)=>Ie.add(lr));ee.push({g1:ce,g2:te})}return ee.push({g1:f.ProjectivePoint.BASE.negate(),g2:z}),s.eql(x(ee),s.ONE)}catch{return!1}}return f.ProjectivePoint.BASE._setWindowSize(4),{getPublicKey:E,getPublicKeyForShortSignatures:y,sign:w,signShortSignature:g,verify:m,verifyBatch:T,verifyShortSignature:_,aggregatePublicKeys:I,aggregateSignatures:$,aggregateShortSignatures:D,millerLoopBatch:P,pairing:S,pairingBatch:x,G1:f,G2:h,Signature:L,ShortSignature:U,fields:{Fr:n,Fp:e,Fp2:r,Fp6:i,Fp12:s},params:{ateLoopSize:t.params.ateLoopSize,r:t.params.r,G1b:t.G1.b,G2b:t.G2.b},utils:R}}const h8=BigInt(0),ts=BigInt(1),zn=BigInt(2),k0=BigInt(3);function kf(t,e,n,r,i=1,s){const o=BigInt(s===void 0?r:s),a=n**BigInt(r),c=[];for(let f=0;f<i;f++){const u=BigInt(f+1),h=[];for(let l=0,d=ts;l<r;l++){const p=(u*d-u)/o%a;h.push(t.pow(e,p)),d*=n}c.push(h)}return c}function d8(t,e,n){const r=e.pow(n,(t.ORDER-ts)/k0),i=e.pow(n,(t.ORDER-ts)/zn);function s(l,d){const p=e.mul(e.frobeniusMap(l,1),r),b=e.mul(e.frobeniusMap(d,1),i);return[p,b]}const o=e.pow(n,(t.ORDER**zn-ts)/k0),a=e.pow(n,(t.ORDER**zn-ts)/zn);if(!e.eql(a,e.neg(e.ONE)))throw new Error("psiFrobenius: PSI2_Y!==-1");function c(l,d){return[e.mul(l,o),e.neg(d)]}const f=l=>(d,p)=>{const b=p.toAffine(),v=l(b.x,b.y);return d.fromAffine({x:v[0],y:v[1]})},u=f(s),h=f(c);return{psi:s,psi2:c,G2psi:u,G2psi2:h,PSI_X:r,PSI_Y:i,PSI2_X:o,PSI2_Y:a}}function p8(t){const{ORDER:e}=t,n=Er(e),r=n.create(t.NONRESIDUE||BigInt(-1)),i=n.div(n.ONE,zn),s=kf(n,r,n.ORDER,2)[0],o=({c0:E,c1:y},{c0:w,c1:g})=>({c0:n.add(E,w),c1:n.add(y,g)}),a=({c0:E,c1:y},{c0:w,c1:g})=>({c0:n.sub(E,w),c1:n.sub(y,g)}),c=({c0:E,c1:y},w)=>{if(typeof w=="bigint")return{c0:n.mul(E,w),c1:n.mul(y,w)};const{c0:g,c1:m}=w;let _=n.mul(E,g),B=n.mul(y,m);const I=n.sub(_,B),$=n.sub(n.mul(n.add(E,y),n.add(g,m)),n.add(_,B));return{c0:I,c1:$}},f=({c0:E,c1:y})=>{const w=n.add(E,y),g=n.sub(E,y),m=n.add(E,E);return{c0:n.mul(w,g),c1:n.mul(m,y)}},u=E=>{if(E.length!==2)throw new Error("invalid tuple");const y=E.map(w=>n.create(w));return{c0:y[0],c1:y[1]}},h=e*e,l=u(t.FP2_NONRESIDUE),d={ORDER:h,isLE:n.isLE,NONRESIDUE:l,BITS:js(h),BYTES:Math.ceil(js(h)/8),MASK:wi(js(h)),ZERO:{c0:n.ZERO,c1:n.ZERO},ONE:{c0:n.ONE,c1:n.ZERO},create:E=>E,isValid:({c0:E,c1:y})=>typeof E=="bigint"&&typeof y=="bigint",is0:({c0:E,c1:y})=>n.is0(E)&&n.is0(y),eql:({c0:E,c1:y},{c0:w,c1:g})=>n.eql(E,w)&&n.eql(y,g),neg:({c0:E,c1:y})=>({c0:n.neg(E),c1:n.neg(y)}),pow:(E,y)=>la(d,E,y),invertBatch:E=>vi(d,E),add:o,sub:a,mul:c,sqr:f,addN:o,subN:a,mulN:c,sqrN:f,div:(E,y)=>d.mul(E,typeof y=="bigint"?n.inv(n.create(y)):d.inv(y)),inv:({c0:E,c1:y})=>{const w=n.inv(n.create(E*E+y*y));return{c0:n.mul(w,n.create(E)),c1:n.mul(w,n.create(-y))}},sqrt:E=>{if(t.Fp2sqrt)return t.Fp2sqrt(E);const{c0:y,c1:w}=E;if(n.is0(w))return ha(n,y)===1?d.create({c0:n.sqrt(y),c1:n.ZERO}):d.create({c0:n.ZERO,c1:n.sqrt(n.div(y,r))});const g=n.sqrt(n.sub(n.sqr(y),n.mul(n.sqr(w),r)));let m=n.mul(n.add(g,y),i);ha(n,m)===-1&&(m=n.sub(m,g));const B=n.sqrt(m),I=d.create({c0:B,c1:n.div(n.mul(w,i),B)});if(!d.eql(d.sqr(I),E))throw new Error("Cannot find square root");const $=I,D=d.neg($),{re:T,im:F}=d.reim($),{re:k,im:N}=d.reim(D);return F>N||F===N&&T>k?$:D},isOdd:E=>{const{re:y,im:w}=d.reim(E),g=y%zn,m=y===h8,_=w%zn;return BigInt(g||m&&_)==ts},fromBytes(E){if(E.length!==d.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:n.fromBytes(E.subarray(0,n.BYTES)),c1:n.fromBytes(E.subarray(n.BYTES))}},toBytes:({c0:E,c1:y})=>Be(n.toBytes(E),n.toBytes(y)),cmov:({c0:E,c1:y},{c0:w,c1:g},m)=>({c0:n.cmov(E,w,m),c1:n.cmov(y,g,m)}),reim:({c0:E,c1:y})=>({re:E,im:y}),mulByNonresidue:({c0:E,c1:y})=>d.mul({c0:E,c1:y},l),mulByB:t.Fp2mulByB,fromBigTuple:u,frobeniusMap:({c0:E,c1:y},w)=>({c0:E,c1:n.mul(y,s[w%2])})},p=({c0:E,c1:y,c2:w},{c0:g,c1:m,c2:_})=>({c0:d.add(E,g),c1:d.add(y,m),c2:d.add(w,_)}),b=({c0:E,c1:y,c2:w},{c0:g,c1:m,c2:_})=>({c0:d.sub(E,g),c1:d.sub(y,m),c2:d.sub(w,_)}),v=({c0:E,c1:y,c2:w},g)=>{if(typeof g=="bigint")return{c0:d.mul(E,g),c1:d.mul(y,g),c2:d.mul(w,g)};const{c0:m,c1:_,c2:B}=g,I=d.mul(E,m),$=d.mul(y,_),D=d.mul(w,B);return{c0:d.add(I,d.mulByNonresidue(d.sub(d.mul(d.add(y,w),d.add(_,B)),d.add($,D)))),c1:d.add(d.sub(d.mul(d.add(E,y),d.add(m,_)),d.add(I,$)),d.mulByNonresidue(D)),c2:d.sub(d.add($,d.mul(d.add(E,w),d.add(m,B))),d.add(I,D))}},O=({c0:E,c1:y,c2:w})=>{let g=d.sqr(E),m=d.mul(d.mul(E,y),zn),_=d.mul(d.mul(y,w),zn),B=d.sqr(w);return{c0:d.add(d.mulByNonresidue(_),g),c1:d.add(d.mulByNonresidue(B),m),c2:d.sub(d.sub(d.add(d.add(m,d.sqr(d.add(d.sub(E,y),w))),_),g),B)}},[P,x]=kf(d,l,n.ORDER,6,2,3),S={ORDER:d.ORDER,isLE:d.isLE,BITS:3*d.BITS,BYTES:3*d.BYTES,MASK:wi(3*d.BITS),ZERO:{c0:d.ZERO,c1:d.ZERO,c2:d.ZERO},ONE:{c0:d.ONE,c1:d.ZERO,c2:d.ZERO},create:E=>E,isValid:({c0:E,c1:y,c2:w})=>d.isValid(E)&&d.isValid(y)&&d.isValid(w),is0:({c0:E,c1:y,c2:w})=>d.is0(E)&&d.is0(y)&&d.is0(w),neg:({c0:E,c1:y,c2:w})=>({c0:d.neg(E),c1:d.neg(y),c2:d.neg(w)}),eql:({c0:E,c1:y,c2:w},{c0:g,c1:m,c2:_})=>d.eql(E,g)&&d.eql(y,m)&&d.eql(w,_),sqrt:n0,div:(E,y)=>S.mul(E,typeof y=="bigint"?n.inv(n.create(y)):S.inv(y)),pow:(E,y)=>la(S,E,y),invertBatch:E=>vi(S,E),add:p,sub:b,mul:v,sqr:O,addN:p,subN:b,mulN:v,sqrN:O,inv:({c0:E,c1:y,c2:w})=>{let g=d.sub(d.sqr(E),d.mulByNonresidue(d.mul(w,y))),m=d.sub(d.mulByNonresidue(d.sqr(w)),d.mul(E,y)),_=d.sub(d.sqr(y),d.mul(E,w)),B=d.inv(d.add(d.mulByNonresidue(d.add(d.mul(w,m),d.mul(y,_))),d.mul(E,g)));return{c0:d.mul(B,g),c1:d.mul(B,m),c2:d.mul(B,_)}},fromBytes:E=>{if(E.length!==S.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:d.fromBytes(E.subarray(0,d.BYTES)),c1:d.fromBytes(E.subarray(d.BYTES,2*d.BYTES)),c2:d.fromBytes(E.subarray(2*d.BYTES))}},toBytes:({c0:E,c1:y,c2:w})=>Be(d.toBytes(E),d.toBytes(y),d.toBytes(w)),cmov:({c0:E,c1:y,c2:w},{c0:g,c1:m,c2:_},B)=>({c0:d.cmov(E,g,B),c1:d.cmov(y,m,B),c2:d.cmov(w,_,B)}),fromBigSix:E=>{if(!Array.isArray(E)||E.length!==6)throw new Error("invalid Fp6 usage");return{c0:d.fromBigTuple(E.slice(0,2)),c1:d.fromBigTuple(E.slice(2,4)),c2:d.fromBigTuple(E.slice(4,6))}},frobeniusMap:({c0:E,c1:y,c2:w},g)=>({c0:d.frobeniusMap(E,g),c1:d.mul(d.frobeniusMap(y,g),P[g%6]),c2:d.mul(d.frobeniusMap(w,g),x[g%6])}),mulByFp2:({c0:E,c1:y,c2:w},g)=>({c0:d.mul(E,g),c1:d.mul(y,g),c2:d.mul(w,g)}),mulByNonresidue:({c0:E,c1:y,c2:w})=>({c0:d.mulByNonresidue(w),c1:E,c2:y}),mul1:({c0:E,c1:y,c2:w},g)=>({c0:d.mulByNonresidue(d.mul(w,g)),c1:d.mul(E,g),c2:d.mul(y,g)}),mul01({c0:E,c1:y,c2:w},g,m){let _=d.mul(E,g),B=d.mul(y,m);return{c0:d.add(d.mulByNonresidue(d.sub(d.mul(d.add(y,w),m),B)),_),c1:d.sub(d.sub(d.mul(d.add(g,m),d.add(E,y)),_),B),c2:d.add(d.sub(d.mul(d.add(E,w),g),_),B)}}},R=kf(d,l,n.ORDER,12,1,6)[0],U=({c0:E,c1:y},{c0:w,c1:g})=>({c0:S.add(E,w),c1:S.add(y,g)}),L=({c0:E,c1:y},{c0:w,c1:g})=>({c0:S.sub(E,w),c1:S.sub(y,g)}),C=({c0:E,c1:y},w)=>{if(typeof w=="bigint")return{c0:S.mul(E,w),c1:S.mul(y,w)};let{c0:g,c1:m}=w,_=S.mul(E,g),B=S.mul(y,m);return{c0:S.add(_,S.mulByNonresidue(B)),c1:S.sub(S.mul(S.add(E,y),S.add(g,m)),S.add(_,B))}},A=({c0:E,c1:y})=>{let w=S.mul(E,y);return{c0:S.sub(S.sub(S.mul(S.add(S.mulByNonresidue(y),E),S.add(E,y)),w),S.mulByNonresidue(w)),c1:S.add(w,w)}};function j(E,y){const w=d.sqr(E),g=d.sqr(y);return{first:d.add(d.mulByNonresidue(g),w),second:d.sub(d.sub(d.sqr(d.add(E,y)),w),g)}}const q={ORDER:d.ORDER,isLE:S.isLE,BITS:2*S.BITS,BYTES:2*S.BYTES,MASK:wi(2*S.BITS),ZERO:{c0:S.ZERO,c1:S.ZERO},ONE:{c0:S.ONE,c1:S.ZERO},create:E=>E,isValid:({c0:E,c1:y})=>S.isValid(E)&&S.isValid(y),is0:({c0:E,c1:y})=>S.is0(E)&&S.is0(y),neg:({c0:E,c1:y})=>({c0:S.neg(E),c1:S.neg(y)}),eql:({c0:E,c1:y},{c0:w,c1:g})=>S.eql(E,w)&&S.eql(y,g),sqrt:n0,inv:({c0:E,c1:y})=>{let w=S.inv(S.sub(S.sqr(E),S.mulByNonresidue(S.sqr(y))));return{c0:S.mul(E,w),c1:S.neg(S.mul(y,w))}},div:(E,y)=>q.mul(E,typeof y=="bigint"?n.inv(n.create(y)):q.inv(y)),pow:(E,y)=>la(q,E,y),invertBatch:E=>vi(q,E),add:U,sub:L,mul:C,sqr:A,addN:U,subN:L,mulN:C,sqrN:A,fromBytes:E=>{if(E.length!==q.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:S.fromBytes(E.subarray(0,S.BYTES)),c1:S.fromBytes(E.subarray(S.BYTES))}},toBytes:({c0:E,c1:y})=>Be(S.toBytes(E),S.toBytes(y)),cmov:({c0:E,c1:y},{c0:w,c1:g},m)=>({c0:S.cmov(E,w,m),c1:S.cmov(y,g,m)}),fromBigTwelve:E=>({c0:S.fromBigSix(E.slice(0,6)),c1:S.fromBigSix(E.slice(6,12))}),frobeniusMap(E,y){const{c0:w,c1:g,c2:m}=S.frobeniusMap(E.c1,y),_=R[y%12];return{c0:S.frobeniusMap(E.c0,y),c1:S.create({c0:d.mul(w,_),c1:d.mul(g,_),c2:d.mul(m,_)})}},mulByFp2:({c0:E,c1:y},w)=>({c0:S.mulByFp2(E,w),c1:S.mulByFp2(y,w)}),conjugate:({c0:E,c1:y})=>({c0:E,c1:S.neg(y)}),mul014:({c0:E,c1:y},w,g,m)=>{let _=S.mul01(E,w,g),B=S.mul1(y,m);return{c0:S.add(S.mulByNonresidue(B),_),c1:S.sub(S.sub(S.mul01(S.add(y,E),w,d.add(g,m)),_),B)}},mul034:({c0:E,c1:y},w,g,m)=>{const _=S.create({c0:d.mul(E.c0,w),c1:d.mul(E.c1,w),c2:d.mul(E.c2,w)}),B=S.mul01(y,g,m),I=S.mul01(S.add(E,y),d.add(w,g),m);return{c0:S.add(S.mulByNonresidue(B),_),c1:S.sub(I,S.add(_,B))}},_cyclotomicSquare:t.Fp12cyclotomicSquare,_cyclotomicExp:t.Fp12cyclotomicExp,finalExponentiate:t.Fp12finalExponentiate};return{Fp:n,Fp2:d,Fp6:S,Fp4Square:j,Fp12:q}}const bt=BigInt(0),ga=BigInt(1),Le=BigInt(2),ya=BigInt(3),Gs=BigInt(4),Ir=BigInt("0xd201000000010000"),g8=js(Ir),{Fp:J,Fp2:Q,Fp6:qf,Fp4Square:Mf,Fp12:se}=p8({ORDER:BigInt("0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab"),FP2_NONRESIDUE:[ga,ga],Fp2mulByB:({c0:t,c1:e})=>{const n=J.mul(t,Gs),r=J.mul(e,Gs);return{c0:J.sub(n,r),c1:J.add(n,r)}},Fp12cyclotomicSquare:({c0:t,c1:e})=>{const{c0:n,c1:r,c2:i}=t,{c0:s,c1:o,c2:a}=e,{first:c,second:f}=Mf(n,o),{first:u,second:h}=Mf(s,i),{first:l,second:d}=Mf(r,a),p=Q.mulByNonresidue(d);return{c0:qf.create({c0:Q.add(Q.mul(Q.sub(c,n),Le),c),c1:Q.add(Q.mul(Q.sub(u,r),Le),u),c2:Q.add(Q.mul(Q.sub(l,i),Le),l)}),c1:qf.create({c0:Q.add(Q.mul(Q.add(p,s),Le),p),c1:Q.add(Q.mul(Q.add(f,o),Le),f),c2:Q.add(Q.mul(Q.add(h,a),Le),h)})}},Fp12cyclotomicExp(t,e){let n=se.ONE;for(let r=g8-1;r>=0;r--)n=se._cyclotomicSquare(n),zv(e,r)&&(n=se.mul(n,t));return n},Fp12finalExponentiate:t=>{const e=Ir,n=se.div(se.frobeniusMap(t,6),t),r=se.mul(se.frobeniusMap(n,2),n),i=se.conjugate(se._cyclotomicExp(r,e)),s=se.mul(se.conjugate(se._cyclotomicSquare(r)),i),o=se.conjugate(se._cyclotomicExp(s,e)),a=se.conjugate(se._cyclotomicExp(o,e)),c=se.mul(se.conjugate(se._cyclotomicExp(a,e)),se._cyclotomicSquare(i)),f=se.conjugate(se._cyclotomicExp(c,e)),u=se.frobeniusMap(se.mul(i,a),2),h=se.frobeniusMap(se.mul(o,r),3),l=se.frobeniusMap(se.mul(c,se.conjugate(r)),1),d=se.mul(se.mul(f,se.conjugate(s)),r);return se.mul(se.mul(se.mul(u,h),l),d)}}),q0=Er(BigInt("0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001")),y8=T0(Q,[[["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(t=>t.map(e=>Q.fromBigTuple(e.map(BigInt))))),b8=T0(J,[["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(t=>t.map(e=>BigInt(e)))),w8=P0(Q,{A:Q.create({c0:J.create(bt),c1:J.create(BigInt(240))}),B:Q.create({c0:J.create(BigInt(1012)),c1:J.create(BigInt(1012))}),Z:Q.create({c0:J.create(BigInt(-2)),c1:J.create(BigInt(-1))})}),m8=P0(J,{A:J.create(BigInt("0x144698a3b8e9433d693a02c96d4982b0ea985383ee66a8d8e8981aefd881ac98936f8da0e0f97f5cf428082d584c1d")),B:J.create(BigInt("0x12e2908d11688030018b12e8753eee3b2016c1f0f24f4070a0b9c14fcef35ef55a23215a316ceaa5d1cc48e98e172be0")),Z:J.create(BigInt(11))}),{G2psi:M0,G2psi2:v8}=d8(J,Q,Q.div(Q.ONE,Q.NONRESIDUE)),jf=Object.freeze({DST:"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_",encodeDST:"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_",p:J.ORDER,m:2,k:128,expand:"xmd",hash:ia}),ba=Zs(J.toBytes(bt),{infinity:!0,compressed:!0});function wa(t){t=t.slice();const e=t[0]&224,n=!!(e>>7&1),r=!!(e>>6&1),i=!!(e>>5&1);return t[0]&=31,{compressed:n,infinity:r,sort:i,value:t}}function Zs(t,e){if(t[0]&224)throw new Error("setMask: non-empty mask");return e.compressed&&(t[0]|=128),e.infinity&&(t[0]|=64),e.sort&&(t[0]|=32),t}function j0(t){t.assertValidity();const e=t.equals(sn.G1.ProjectivePoint.ZERO),{x:n,y:r}=t.toAffine();if(e)return ba.slice();const i=J.ORDER,s=!!(r*Le/i);return Zs(Re(n,J.BYTES),{compressed:!0,sort:s})}function z0(t){t.assertValidity();const e=J.BYTES;if(t.equals(sn.G2.ProjectivePoint.ZERO))return Be(ba,Re(bt,e));const{x:n,y:r}=t.toAffine(),{re:i,im:s}=Q.reim(n),{re:o,im:a}=Q.reim(r),f=!!((a>bt?a*Le:o*Le)/J.ORDER&ga),u=i;return Be(Zs(Re(s,e),{sort:f,compressed:!0}),Re(u,e))}const sn=l8({fields:{Fp:J,Fp2:Q,Fp6:qf,Fp12:se,Fr:q0},G1:{Fp:J,h:BigInt("0x396c8c005555e1568c00aaab0000aaab"),Gx:BigInt("0x17f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb"),Gy:BigInt("0x08b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e1"),a:J.ZERO,b:Gs,htfDefaults:{...jf,m:1,DST:"BLS_SIG_BLS12381G1_XMD:SHA-256_SSWU_RO_NUL_"},wrapPrivateKey:!0,allowInfinityPoint:!0,isTorsionFree:(t,e)=>{const n=BigInt("0x5f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffefffe"),r=new t(J.mul(e.px,n),e.py,e.pz);return e.multiplyUnsafe(Ir).negate().multiplyUnsafe(Ir).equals(r)},clearCofactor:(t,e)=>e.multiplyUnsafe(Ir).add(e),mapToCurve:t=>{const{x:e,y:n}=m8(J.create(t[0]));return b8(e,n)},fromBytes:t=>{const{compressed:e,infinity:n,sort:r,value:i}=wa(t);if(i.length===48&&e){const s=J.ORDER,o=pt(i),a=J.create(o&J.MASK);if(n){if(a!==bt)throw new Error("G1: non-empty compressed point at infinity");return{x:bt,y:bt}}const c=J.add(J.pow(a,ya),J.create(sn.params.G1b));let f=J.sqrt(c);if(!f)throw new Error("invalid compressed G1 point");return f*Le/s!==BigInt(r)&&(f=J.neg(f)),{x:J.create(a),y:J.create(f)}}else if(i.length===96&&!e){const s=pt(i.subarray(0,J.BYTES)),o=pt(i.subarray(J.BYTES));if(n){if(s!==bt||o!==bt)throw new Error("G1: non-empty point at infinity");return sn.G1.ProjectivePoint.ZERO.toAffine()}return{x:J.create(s),y:J.create(o)}}else throw new Error("invalid point G1, expected 48/96 bytes")},toBytes:(t,e,n)=>{const r=e.equals(t.ZERO),{x:i,y:s}=e.toAffine();if(n){if(r)return ba.slice();const o=J.ORDER,a=!!(s*Le/o);return Zs(Re(i,J.BYTES),{compressed:!0,sort:a})}else return r?Be(new Uint8Array([64]),new Uint8Array(2*J.BYTES-1)):Be(Re(i,J.BYTES),Re(s,J.BYTES))},ShortSignature:{fromHex(t){const{infinity:e,sort:n,value:r}=wa(nt("signatureHex",t,48)),i=J.ORDER,s=pt(r);if(e)return sn.G1.ProjectivePoint.ZERO;const o=J.create(s&J.MASK),a=J.add(J.pow(o,ya),J.create(sn.params.G1b));let c=J.sqrt(a);if(!c)throw new Error("invalid compressed G1 point");const f=BigInt(n);c*Le/i!==f&&(c=J.neg(c));const u=sn.G1.ProjectivePoint.fromAffine({x:o,y:c});return u.assertValidity(),u},toRawBytes(t){return j0(t)},toHex(t){return bi(j0(t))}}},G2:{Fp:Q,h:BigInt("0x5d543a95414e7f1091d50792876a202cd91de4547085abaa68a205b2e5a7ddfa628f1cb4d9e82ef21537e293a6691ae1616ec6e786f0c70cf1c38e31c7238e5"),Gx:Q.fromBigTuple([BigInt("0x024aa2b2f08f0a91260805272dc51051c6e47ad4fa403b02b4510b647ae3d1770bac0326a805bbefd48056c8c121bdb8"),BigInt("0x13e02b6052719f607dacd3a088274f65596bd0d09920b61ab5da61bbdc7f5049334cf11213945d57e5ac7d055d042b7e")]),Gy:Q.fromBigTuple([BigInt("0x0ce5d527727d6e118cc9cdc6da2e351aadfd9baa8cbdd3a76d429a695160d12c923ac9cc3baca289e193548608b82801"),BigInt("0x0606c4a02ea734cc32acd2b02bc28b99cb3e287e85a763af267492ab572e99ab3f370d275cec1da1aaa9075ff05f79be")]),a:Q.ZERO,b:Q.fromBigTuple([Gs,Gs]),hEff:BigInt("0xbc69f08f2ee75b3584c6a0ea91b352888e2a8e9145ad7689986ff031508ffe1329c2f178731db956d82bf015d1212b02ec0ec69d7477c1ae954cbc06689f6a359894c0adebbf6b4e8020005aaa95551"),htfDefaults:{...jf},wrapPrivateKey:!0,allowInfinityPoint:!0,mapToCurve:t=>{const{x:e,y:n}=w8(Q.fromBigTuple(t));return y8(e,n)},isTorsionFree:(t,e)=>e.multiplyUnsafe(Ir).negate().equals(M0(t,e)),clearCofactor:(t,e)=>{const n=Ir;let r=e.multiplyUnsafe(n).negate(),i=M0(t,e),s=e.double();return s=v8(t,s),s=s.subtract(i),i=r.add(i),i=i.multiplyUnsafe(n).negate(),s=s.add(i),s=s.subtract(r),s.subtract(e)},fromBytes:t=>{const{compressed:e,infinity:n,sort:r,value:i}=wa(t);if(!e&&!n&&r||!e&&n&&r||r&&n&&e)throw new Error("invalid encoding flag: "+(t[0]&224));const s=J.BYTES,o=(a,c,f)=>pt(a.slice(c,f));if(i.length===96&&e){const a=sn.params.G2b,c=J.ORDER;if(n){if(i.reduce((b,v)=>b!==0?v+1:v,0)>0)throw new Error("invalid compressed G2 point");return{x:Q.ZERO,y:Q.ZERO}}const f=o(i,0,s),u=o(i,s,2*s),h=Q.create({c0:J.create(u),c1:J.create(f)}),l=Q.add(Q.pow(h,ya),a);let d=Q.sqrt(l);const p=d.c1===bt?d.c0*Le/c:d.c1*Le/c?ga:bt;return d=r&&p>0?d:Q.neg(d),{x:h,y:d}}else if(i.length===192&&!e){if(n){if(i.reduce((h,l)=>h!==0?l+1:l,0)>0)throw new Error("invalid uncompressed G2 point");return{x:Q.ZERO,y:Q.ZERO}}const a=o(i,0,s),c=o(i,s,2*s),f=o(i,2*s,3*s),u=o(i,3*s,4*s);return{x:Q.fromBigTuple([c,a]),y:Q.fromBigTuple([u,f])}}else throw new Error("invalid point G2, expected 96/192 bytes")},toBytes:(t,e,n)=>{const{BYTES:r,ORDER:i}=J,s=e.equals(t.ZERO),{x:o,y:a}=e.toAffine();if(n){if(s)return Be(ba,Re(bt,r));const c=!!(a.c1===bt?a.c0*Le/i:a.c1*Le/i);return Be(Zs(Re(o.c1,r),{compressed:!0,sort:c}),Re(o.c0,r))}else{if(s)return Be(new Uint8Array([64]),new Uint8Array(4*r-1));const{re:c,im:f}=Q.reim(o),{re:u,im:h}=Q.reim(a);return Be(Re(f,r),Re(c,r),Re(h,r),Re(u,r))}},Signature:{fromHex(t){const{infinity:e,sort:n,value:r}=wa(nt("signatureHex",t)),i=J.ORDER,s=r.length/2;if(s!==48&&s!==96)throw new Error("invalid compressed signature length, must be 96 or 192");const o=pt(r.slice(0,s)),a=pt(r.slice(s));if(e)return sn.G2.ProjectivePoint.ZERO;const c=J.create(o&J.MASK),f=J.create(a),u=Q.create({c0:f,c1:c}),h=Q.add(Q.pow(u,ya),sn.params.G2b);let l=Q.sqrt(h);if(!l)throw new Error("Failed to find a square root");const{re:d,im:p}=Q.reim(l),b=BigInt(n),v=p>bt&&p*Le/i!==b,O=p===bt&&d*Le/i!==b;(v||O)&&(l=Q.neg(l));const P=sn.G2.ProjectivePoint.fromAffine({x:u,y:l});return P.assertValidity(),P},toRawBytes(t){return z0(t)},toHex(t){return bi(z0(t))}}},params:{ateLoopSize:Ir,r:q0.ORDER,xNegative:!0,twistType:"multiplicative"},htfDefaults:jf,hash:ia,randomBytes:Cd});BigInt(0),BigInt(1),BigInt(2),BigInt(8),BigInt(0),BigInt(1),BigInt(2),BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),BigInt(0),BigInt(1),BigInt(2),BigInt(3),BigInt(5),BigInt(8);const ns=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function ma(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function zf(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function Ei(t,...e){if(!ma(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function H0(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");zf(t.outputLen),zf(t.blockLen)}function va(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function E8(t,e){Ei(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function Ea(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function Hf(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function xn(t,e){return t<<32-e|t>>>e}const V0=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",x8=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function rs(t){if(Ei(t),V0)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=x8[t[n]];return e}const Hn={_0:48,_9:57,A:65,F:70,a:97,f:102};function K0(t){if(t>=Hn._0&&t<=Hn._9)return t-Hn._0;if(t>=Hn.A&&t<=Hn.F)return t-(Hn.A-10);if(t>=Hn.a&&t<=Hn.f)return t-(Hn.a-10)}function xa(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(V0)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=K0(t.charCodeAt(s)),a=K0(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function Vf(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Kf(t){return typeof t=="string"&&(t=Vf(t)),Ei(t),t}function Sr(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];Ei(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class G0{}function _8(t){const e=r=>t().update(Kf(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function Z0(t=32){if(ns&&typeof ns.getRandomValues=="function")return ns.getRandomValues(new Uint8Array(t));if(ns&&typeof ns.randomBytes=="function")return Uint8Array.from(ns.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}const Gf=BigInt(0),Zf=BigInt(1);function _a(t,e=""){if(typeof t!="boolean"){const n=e&&`"${e}"`;throw new Error(n+"expected boolean, got type="+typeof t)}return t}function xi(t,e,n=""){const r=ma(t),i=t?.length,s=e!==void 0;if(!r||s&&i!==e){const o=n&&`"${n}" `,a=s?` of length ${e}`:"",c=r?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+c)}return t}function Ia(t){const e=t.toString(16);return e.length&1?"0"+e:e}function W0(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?Gf:BigInt("0x"+t)}function Sa(t){return W0(rs(t))}function Y0(t){return Ei(t),W0(rs(Uint8Array.from(t).reverse()))}function Wf(t,e){return xa(t.toString(16).padStart(e*2,"0"))}function X0(t,e){return Wf(t,e).reverse()}function It(t,e,n){let r;if(typeof e=="string")try{r=xa(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(ma(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}const Yf=t=>typeof t=="bigint"&&Gf<=t;function I8(t,e,n){return Yf(t)&&Yf(e)&&Yf(n)&&e<=t&&t<n}function S8(t,e,n,r){if(!I8(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function J0(t){let e;for(e=0;t>Gf;t>>=Zf,e+=1);return e}const Ws=t=>(Zf<<BigInt(t))-Zf;function B8(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const r=d=>new Uint8Array(d),i=d=>Uint8Array.of(d);let s=r(t),o=r(t),a=0;const c=()=>{s.fill(1),o.fill(0),a=0},f=(...d)=>n(o,s,...d),u=(d=r(0))=>{o=f(i(0),d),s=f(),d.length!==0&&(o=f(i(1),d),s=f())},h=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let d=0;const p=[];for(;d<e;){s=f();const b=s.slice();p.push(b),d+=s.length}return Sr(...p)};return(d,p)=>{c(),u(d);let b;for(;!(b=p(h()));)u();return c(),b}}function Xf(t,e,n={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function r(i,s,o){const a=t[i];if(o&&a===void 0)return;const c=typeof a;if(c!==s||a===null)throw new Error(`param "${i}" is invalid: expected ${s}, got ${c}`)}Object.entries(e).forEach(([i,s])=>r(i,s,!1)),Object.entries(n).forEach(([i,s])=>r(i,s,!0))}function Q0(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const St=BigInt(0),wt=BigInt(1),_i=BigInt(2),ep=BigInt(3),tp=BigInt(4),np=BigInt(5),$8=BigInt(7),rp=BigInt(8),A8=BigInt(9),ip=BigInt(16);function on(t,e){const n=t%e;return n>=St?n:e+n}function Gt(t,e,n){let r=t;for(;e-- >St;)r*=r,r%=n;return r}function sp(t,e){if(t===St)throw new Error("invert: expected non-zero number");if(e<=St)throw new Error("invert: expected positive modulus, got "+e);let n=on(t,e),r=e,i=St,s=wt;for(;n!==St;){const a=r/n,c=r%n,f=i-s*a;r=n,n=c,i=s,s=f}if(r!==wt)throw new Error("invert: does not exist");return on(i,e)}function Jf(t,e,n){if(!t.eql(t.sqr(e),n))throw new Error("Cannot find square root")}function op(t,e){const n=(t.ORDER+wt)/tp,r=t.pow(e,n);return Jf(t,r,e),r}function O8(t,e){const n=(t.ORDER-np)/rp,r=t.mul(e,_i),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,_i),i),a=t.mul(s,t.sub(o,t.ONE));return Jf(t,a,e),a}function D8(t){const e=Ys(t),n=ap(t),r=n(e,e.neg(e.ONE)),i=n(e,r),s=n(e,e.neg(r)),o=(t+$8)/ip;return(a,c)=>{let f=a.pow(c,o),u=a.mul(f,r);const h=a.mul(f,i),l=a.mul(f,s),d=a.eql(a.sqr(u),c),p=a.eql(a.sqr(h),c);f=a.cmov(f,u,d),u=a.cmov(l,h,p);const b=a.eql(a.sqr(u),c),v=a.cmov(f,u,b);return Jf(a,v,c),v}}function ap(t){if(t<ep)throw new Error("sqrt is not defined for small field");let e=t-wt,n=0;for(;e%_i===St;)e/=_i,n++;let r=_i;const i=Ys(t);for(;fp(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return op;let s=i.pow(r,e);const o=(e+wt)/_i;return function(c,f){if(c.is0(f))return f;if(fp(c,f)!==1)throw new Error("Cannot find square root");let u=n,h=c.mul(c.ONE,s),l=c.pow(f,e),d=c.pow(f,o);for(;!c.eql(l,c.ONE);){if(c.is0(l))return c.ZERO;let p=1,b=c.sqr(l);for(;!c.eql(b,c.ONE);)if(p++,b=c.sqr(b),p===u)throw new Error("Cannot find square root");const v=wt<<BigInt(u-p-1),O=c.pow(h,v);u=p,h=c.sqr(O),l=c.mul(l,h),d=c.mul(d,O)}return d}}function P8(t){return t%tp===ep?op:t%rp===np?O8:t%ip===A8?D8(t):ap(t)}const R8=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function T8(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=R8.reduce((r,i)=>(r[i]="function",r),e);return Xf(t,n),t}function N8(t,e,n){if(n<St)throw new Error("invalid exponent, negatives unsupported");if(n===St)return t.ONE;if(n===wt)return e;let r=t.ONE,i=e;for(;n>St;)n&wt&&(r=t.mul(r,i)),i=t.sqr(i),n>>=wt;return r}function cp(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function fp(t,e){const n=(t.ORDER-wt)/_i,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function up(t,e){e!==void 0&&zf(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Ys(t,e,n=!1,r={}){if(t<=St)throw new Error("invalid field: expected ORDER > 0, got "+t);let i,s,o=!1,a;if(typeof e=="object"&&e!=null){if(r.sqrt||n)throw new Error("cannot specify opts in two arguments");const l=e;l.BITS&&(i=l.BITS),l.sqrt&&(s=l.sqrt),typeof l.isLE=="boolean"&&(n=l.isLE),typeof l.modFromBytes=="boolean"&&(o=l.modFromBytes),a=l.allowedLengths}else typeof e=="number"&&(i=e),r.sqrt&&(s=r.sqrt);const{nBitLength:c,nByteLength:f}=up(t,i);if(f>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let u;const h=Object.freeze({ORDER:t,isLE:n,BITS:c,BYTES:f,MASK:Ws(c),ZERO:St,ONE:wt,allowedLengths:a,create:l=>on(l,t),isValid:l=>{if(typeof l!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof l);return St<=l&&l<t},is0:l=>l===St,isValidNot0:l=>!h.is0(l)&&h.isValid(l),isOdd:l=>(l&wt)===wt,neg:l=>on(-l,t),eql:(l,d)=>l===d,sqr:l=>on(l*l,t),add:(l,d)=>on(l+d,t),sub:(l,d)=>on(l-d,t),mul:(l,d)=>on(l*d,t),pow:(l,d)=>N8(h,l,d),div:(l,d)=>on(l*sp(d,t),t),sqrN:l=>l*l,addN:(l,d)=>l+d,subN:(l,d)=>l-d,mulN:(l,d)=>l*d,inv:l=>sp(l,t),sqrt:s||(l=>(u||(u=P8(t)),u(h,l))),toBytes:l=>n?X0(l,f):Wf(l,f),fromBytes:(l,d=!0)=>{if(a){if(!a.includes(l.length)||l.length>f)throw new Error("Field.fromBytes: expected "+a+" bytes, got "+l.length);const b=new Uint8Array(f);b.set(l,n?0:b.length-l.length),l=b}if(l.length!==f)throw new Error("Field.fromBytes: expected "+f+" bytes, got "+l.length);let p=n?Y0(l):Sa(l);if(o&&(p=on(p,t)),!d&&!h.isValid(p))throw new Error("invalid field element: outside of range 0..ORDER");return p},invertBatch:l=>cp(h,l),cmov:(l,d,p)=>p?d:l});return Object.freeze(h)}function lp(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function hp(t){const e=lp(t);return e+Math.ceil(e/2)}function U8(t,e,n=!1){const r=t.length,i=lp(e),s=hp(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?Y0(t):Sa(t),a=on(o,e-wt)+wt;return n?X0(a,i):Wf(a,i)}function C8(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,f=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+f,a,r)}function F8(t,e,n){return t&e^~t&n}function L8(t,e,n){return t&e^t&n^e&n}class k8 extends G0{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=Hf(this.buffer)}update(e){va(this),e=Kf(e),Ei(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=Hf(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){va(this),E8(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,Ea(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let h=o;h<i;h++)n[h]=0;C8(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=Hf(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const f=c/4,u=this.get();if(f>u.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<f;h++)a.setUint32(4*h,u[h],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const Br=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),q8=Uint32Array.from([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]),$r=new Uint32Array(64);class M8 extends k8{constructor(e=32){super(64,e,8,!1),this.A=Br[0]|0,this.B=Br[1]|0,this.C=Br[2]|0,this.D=Br[3]|0,this.E=Br[4]|0,this.F=Br[5]|0,this.G=Br[6]|0,this.H=Br[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let h=0;h<16;h++,n+=4)$r[h]=e.getUint32(n,!1);for(let h=16;h<64;h++){const l=$r[h-15],d=$r[h-2],p=xn(l,7)^xn(l,18)^l>>>3,b=xn(d,17)^xn(d,19)^d>>>10;$r[h]=b+$r[h-7]+p+$r[h-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:f,H:u}=this;for(let h=0;h<64;h++){const l=xn(a,6)^xn(a,11)^xn(a,25),d=u+l+F8(a,c,f)+q8[h]+$r[h]|0,b=(xn(r,2)^xn(r,13)^xn(r,22))+L8(r,i,s)|0;u=f,f=c,c=a,a=o+d|0,o=s,s=i,i=r,r=d+b|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,f=f+this.G|0,u=u+this.H|0,this.set(r,i,s,o,a,c,f,u)}roundClean(){Ea($r)}destroy(){this.set(0,0,0,0,0,0,0,0),Ea(this.buffer)}}const dp=_8(()=>new M8);class pp extends G0{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,H0(e);const r=Kf(n);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),Ea(s)}update(e){return va(this),this.iHash.update(e),this}digestInto(e){va(this),Ei(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const gp=(t,e,n)=>new pp(t,e).update(n).digest();gp.create=(t,e)=>new pp(t,e);const is=BigInt(0),Ii=BigInt(1);function Ba(t,e){const n=e.negate();return t?n:e}function Qf(t,e){const n=cp(t.Fp,e.map(r=>r.Z));return e.map((r,i)=>t.fromAffine(r.toAffine(n[i])))}function yp(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function eu(t,e){yp(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=Ws(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function bp(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=Ii);const f=e*r,u=f+Math.abs(a)-1,h=a===0,l=a<0,d=e%2!==0;return{nextN:c,offset:u,isZero:h,isNeg:l,isNegF:d,offsetF:f}}function j8(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function z8(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const tu=new WeakMap,wp=new WeakMap;function nu(t){return wp.get(t)||1}function mp(t){if(t!==is)throw new Error("invalid wNAF")}class H8{constructor(e,n){this.BASE=e.BASE,this.ZERO=e.ZERO,this.Fn=e.Fn,this.bits=n}_unsafeLadder(e,n,r=this.ZERO){let i=e;for(;n>is;)n&Ii&&(r=r.add(i)),i=i.double(),n>>=Ii;return r}precomputeWindow(e,n){const{windows:r,windowSize:i}=eu(n,this.bits),s=[];let o=e,a=o;for(let c=0;c<r;c++){a=o,s.push(a);for(let f=1;f<i;f++)a=a.add(o),s.push(a);o=a.double()}return s}wNAF(e,n,r){if(!this.Fn.isValid(r))throw new Error("invalid scalar");let i=this.ZERO,s=this.BASE;const o=eu(e,this.bits);for(let a=0;a<o.windows;a++){const{nextN:c,offset:f,isZero:u,isNeg:h,isNegF:l,offsetF:d}=bp(r,a,o);r=c,u?s=s.add(Ba(l,n[d])):i=i.add(Ba(h,n[f]))}return mp(r),{p:i,f:s}}wNAFUnsafe(e,n,r,i=this.ZERO){const s=eu(e,this.bits);for(let o=0;o<s.windows&&r!==is;o++){const{nextN:a,offset:c,isZero:f,isNeg:u}=bp(r,o,s);if(r=a,!f){const h=n[c];i=i.add(u?h.negate():h)}}return mp(r),i}getPrecomputes(e,n,r){let i=tu.get(n);return i||(i=this.precomputeWindow(n,e),e!==1&&(typeof r=="function"&&(i=r(i)),tu.set(n,i))),i}cached(e,n,r){const i=nu(e);return this.wNAF(i,this.getPrecomputes(i,e,r),n)}unsafe(e,n,r,i){const s=nu(e);return s===1?this._unsafeLadder(e,n,i):this.wNAFUnsafe(s,this.getPrecomputes(s,e,r),n,i)}createCache(e,n){yp(n,this.bits),wp.set(e,n),tu.delete(e)}hasCache(e){return nu(e)!==1}}function V8(t,e,n,r){let i=e,s=t.ZERO,o=t.ZERO;for(;n>is||r>is;)n&Ii&&(s=s.add(i)),r&Ii&&(o=o.add(i)),i=i.double(),n>>=Ii,r>>=Ii;return{p1:s,p2:o}}function K8(t,e,n,r){j8(n,t),z8(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=J0(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const f=Ws(c),u=new Array(Number(f)+1).fill(o),h=Math.floor((e.BITS-1)/c)*c;let l=o;for(let d=h;d>=0;d-=c){u.fill(o);for(let b=0;b<s;b++){const v=r[b],O=Number(v>>BigInt(d)&f);u[O]=u[O].add(n[b])}let p=o;for(let b=u.length-1,v=o;b>0;b--)v=v.add(u[b]),p=p.add(v);if(l=l.add(p),d!==0)for(let b=0;b<c;b++)l=l.double()}return l}function vp(t,e,n){if(e){if(e.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return T8(e),e}else return Ys(t,{isLE:n})}function G8(t,e,n={},r){if(r===void 0&&(r=t==="edwards"),!e||typeof e!="object")throw new Error(`expected valid ${t} CURVE object`);for(const c of["p","n","h"]){const f=e[c];if(!(typeof f=="bigint"&&f>is))throw new Error(`CURVE.${c} must be positive bigint`)}const i=vp(e.p,n.Fp,r),s=vp(e.n,n.Fn,r),a=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const c of a)if(!i.isValid(e[c]))throw new Error(`CURVE.${c} must be valid field element of CURVE.Fp`);return e=Object.freeze(Object.assign({},e)),{CURVE:e,Fp:i,Fn:s}}const Ep=(t,e)=>(t+(t>=0?e:-e)/xp)/e;function Z8(t,e,n){const[[r,i],[s,o]]=e,a=Ep(o*t,n),c=Ep(-i*t,n);let f=t-a*r-c*s,u=-a*i-c*o;const h=f<Kn,l=u<Kn;h&&(f=-f),l&&(u=-u);const d=Ws(Math.ceil(J0(n)/2))+ss;if(f<Kn||f>=d||u<Kn||u>=d)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:h,k1:f,k2neg:l,k2:u}}function ru(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function iu(t,e){const n={};for(let r of Object.keys(e))n[r]=t[r]===void 0?e[r]:t[r];return _a(n.lowS,"lowS"),_a(n.prehash,"prehash"),n.format!==void 0&&ru(n.format),n}class W8 extends Error{constructor(e=""){super(e)}}const Vn={Err:W8,_tlv:{encode:(t,e)=>{const{Err:n}=Vn;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=Ia(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?Ia(i.length/2|128):"";return Ia(t)+s+i+e},decode(t,e){const{Err:n}=Vn;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const f=e.subarray(r,r+c);if(f.length!==c)throw new n("tlv.decode: length bytes not complete");if(f[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const u of f)o=o<<8|u;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=Vn;if(t<Kn)throw new e("integer: negative integers are not allowed");let n=Ia(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=Vn;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return Sa(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=Vn,i=It("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:f,l:u}=r.decode(2,c);if(u.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(f)}},hexFromSig(t){const{_tlv:e,_int:n}=Vn,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}},Kn=BigInt(0),ss=BigInt(1),xp=BigInt(2),$a=BigInt(3),Y8=BigInt(4);function os(t,e){const{BYTES:n}=t;let r;if(typeof e=="bigint")r=e;else{let i=It("private key",e);try{r=t.fromBytes(i)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof e}`)}}if(!t.isValidNot0(r))throw new Error("invalid private key: out of range [1..N-1]");return r}function X8(t,e={}){const n=G8("weierstrass",t,e),{Fp:r,Fn:i}=n;let s=n.CURVE;const{h:o,n:a}=s;Xf(e,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:c}=e;if(c&&(!r.is0(s.a)||typeof c.beta!="bigint"||!Array.isArray(c.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const f=Ip(r,i);function u(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function h(E,y,w){const{x:g,y:m}=y.toAffine(),_=r.toBytes(g);if(_a(w,"isCompressed"),w){u();const B=!r.isOdd(m);return Sr(_p(B),_)}else return Sr(Uint8Array.of(4),_,r.toBytes(m))}function l(E){xi(E,void 0,"Point");const{publicKey:y,publicKeyUncompressed:w}=f,g=E.length,m=E[0],_=E.subarray(1);if(g===y&&(m===2||m===3)){const B=r.fromBytes(_);if(!r.isValid(B))throw new Error("bad point: is not on curve, wrong x");const I=b(B);let $;try{$=r.sqrt(I)}catch(F){const k=F instanceof Error?": "+F.message:"";throw new Error("bad point: is not on curve, sqrt error"+k)}u();const D=r.isOdd($);return(m&1)===1!==D&&($=r.neg($)),{x:B,y:$}}else if(g===w&&m===4){const B=r.BYTES,I=r.fromBytes(_.subarray(0,B)),$=r.fromBytes(_.subarray(B,B*2));if(!v(I,$))throw new Error("bad point: is not on curve");return{x:I,y:$}}else throw new Error(`bad point: got length ${g}, expected compressed=${y} or uncompressed=${w}`)}const d=e.toBytes||h,p=e.fromBytes||l;function b(E){const y=r.sqr(E),w=r.mul(y,E);return r.add(r.add(w,r.mul(E,s.a)),s.b)}function v(E,y){const w=r.sqr(y),g=b(E);return r.eql(w,g)}if(!v(s.Gx,s.Gy))throw new Error("bad curve params: generator point");const O=r.mul(r.pow(s.a,$a),Y8),P=r.mul(r.sqr(s.b),BigInt(27));if(r.is0(r.add(O,P)))throw new Error("bad curve params: a or b");function x(E,y,w=!1){if(!r.isValid(y)||w&&r.is0(y))throw new Error(`bad point coordinate ${E}`);return y}function S(E){if(!(E instanceof A))throw new Error("ProjectivePoint expected")}function R(E){if(!c||!c.basises)throw new Error("no endo");return Z8(E,c.basises,i.ORDER)}const U=Q0((E,y)=>{const{X:w,Y:g,Z:m}=E;if(r.eql(m,r.ONE))return{x:w,y:g};const _=E.is0();y==null&&(y=_?r.ONE:r.inv(m));const B=r.mul(w,y),I=r.mul(g,y),$=r.mul(m,y);if(_)return{x:r.ZERO,y:r.ZERO};if(!r.eql($,r.ONE))throw new Error("invZ was invalid");return{x:B,y:I}}),L=Q0(E=>{if(E.is0()){if(e.allowInfinityPoint&&!r.is0(E.Y))return;throw new Error("bad point: ZERO")}const{x:y,y:w}=E.toAffine();if(!r.isValid(y)||!r.isValid(w))throw new Error("bad point: x or y not field elements");if(!v(y,w))throw new Error("bad point: equation left != right");if(!E.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function C(E,y,w,g,m){return w=new A(r.mul(w.X,E),w.Y,w.Z),y=Ba(g,y),w=Ba(m,w),y.add(w)}class A{constructor(y,w,g){this.X=x("x",y),this.Y=x("y",w,!0),this.Z=x("z",g),Object.freeze(this)}static CURVE(){return s}static fromAffine(y){const{x:w,y:g}=y||{};if(!y||!r.isValid(w)||!r.isValid(g))throw new Error("invalid affine point");if(y instanceof A)throw new Error("projective point not allowed");return r.is0(w)&&r.is0(g)?A.ZERO:new A(w,g,r.ONE)}static fromBytes(y){const w=A.fromAffine(p(xi(y,void 0,"point")));return w.assertValidity(),w}static fromHex(y){return A.fromBytes(It("pointHex",y))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(y=8,w=!0){return q.createCache(this,y),w||this.multiply($a),this}assertValidity(){L(this)}hasEvenY(){const{y}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(y)}equals(y){S(y);const{X:w,Y:g,Z:m}=this,{X:_,Y:B,Z:I}=y,$=r.eql(r.mul(w,I),r.mul(_,m)),D=r.eql(r.mul(g,I),r.mul(B,m));return $&&D}negate(){return new A(this.X,r.neg(this.Y),this.Z)}double(){const{a:y,b:w}=s,g=r.mul(w,$a),{X:m,Y:_,Z:B}=this;let I=r.ZERO,$=r.ZERO,D=r.ZERO,T=r.mul(m,m),F=r.mul(_,_),k=r.mul(B,B),N=r.mul(m,_);return N=r.add(N,N),D=r.mul(m,B),D=r.add(D,D),I=r.mul(y,D),$=r.mul(g,k),$=r.add(I,$),I=r.sub(F,$),$=r.add(F,$),$=r.mul(I,$),I=r.mul(N,I),D=r.mul(g,D),k=r.mul(y,k),N=r.sub(T,k),N=r.mul(y,N),N=r.add(N,D),D=r.add(T,T),T=r.add(D,T),T=r.add(T,k),T=r.mul(T,N),$=r.add($,T),k=r.mul(_,B),k=r.add(k,k),T=r.mul(k,N),I=r.sub(I,T),D=r.mul(k,F),D=r.add(D,D),D=r.add(D,D),new A(I,$,D)}add(y){S(y);const{X:w,Y:g,Z:m}=this,{X:_,Y:B,Z:I}=y;let $=r.ZERO,D=r.ZERO,T=r.ZERO;const F=s.a,k=r.mul(s.b,$a);let N=r.mul(w,_),M=r.mul(g,B),z=r.mul(m,I),K=r.add(w,g),H=r.add(_,B);K=r.mul(K,H),H=r.add(N,M),K=r.sub(K,H),H=r.add(w,m);let G=r.add(_,I);return H=r.mul(H,G),G=r.add(N,z),H=r.sub(H,G),G=r.add(g,m),$=r.add(B,I),G=r.mul(G,$),$=r.add(M,z),G=r.sub(G,$),T=r.mul(F,H),$=r.mul(k,z),T=r.add($,T),$=r.sub(M,T),T=r.add(M,T),D=r.mul($,T),M=r.add(N,N),M=r.add(M,N),z=r.mul(F,z),H=r.mul(k,H),M=r.add(M,z),z=r.sub(N,z),z=r.mul(F,z),H=r.add(H,z),N=r.mul(M,H),D=r.add(D,N),N=r.mul(G,H),$=r.mul(K,$),$=r.sub($,N),N=r.mul(K,M),T=r.mul(G,T),T=r.add(T,N),new A($,D,T)}subtract(y){return this.add(y.negate())}is0(){return this.equals(A.ZERO)}multiply(y){const{endo:w}=e;if(!i.isValidNot0(y))throw new Error("invalid scalar: out of range");let g,m;const _=B=>q.cached(this,B,I=>Qf(A,I));if(w){const{k1neg:B,k1:I,k2neg:$,k2:D}=R(y),{p:T,f:F}=_(I),{p:k,f:N}=_(D);m=F.add(N),g=C(w.beta,T,k,B,$)}else{const{p:B,f:I}=_(y);g=B,m=I}return Qf(A,[g,m])[0]}multiplyUnsafe(y){const{endo:w}=e,g=this;if(!i.isValid(y))throw new Error("invalid scalar: out of range");if(y===Kn||g.is0())return A.ZERO;if(y===ss)return g;if(q.hasCache(this))return this.multiply(y);if(w){const{k1neg:m,k1:_,k2neg:B,k2:I}=R(y),{p1:$,p2:D}=V8(A,g,_,I);return C(w.beta,$,D,m,B)}else return q.unsafe(g,y)}multiplyAndAddUnsafe(y,w,g){const m=this.multiplyUnsafe(w).add(y.multiplyUnsafe(g));return m.is0()?void 0:m}toAffine(y){return U(this,y)}isTorsionFree(){const{isTorsionFree:y}=e;return o===ss?!0:y?y(A,this):q.unsafe(this,a).is0()}clearCofactor(){const{clearCofactor:y}=e;return o===ss?this:y?y(A,this):this.multiplyUnsafe(o)}isSmallOrder(){return this.multiplyUnsafe(o).is0()}toBytes(y=!0){return _a(y,"isCompressed"),this.assertValidity(),d(A,this,y)}toHex(y=!0){return rs(this.toBytes(y))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(y=!0){return this.toBytes(y)}_setWindowSize(y){this.precompute(y)}static normalizeZ(y){return Qf(A,y)}static msm(y,w){return K8(A,i,y,w)}static fromPrivateKey(y){return A.BASE.multiply(os(i,y))}}A.BASE=new A(s.Gx,s.Gy,r.ONE),A.ZERO=new A(r.ZERO,r.ONE,r.ZERO),A.Fp=r,A.Fn=i;const j=i.BITS,q=new H8(A,e.endo?Math.ceil(j/2):j);return A.BASE.precompute(8),A}function _p(t){return Uint8Array.of(t?2:3)}function Ip(t,e){return{secretKey:e.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*e.BYTES}}function J8(t,e={}){const{Fn:n}=t,r=e.randomBytes||Z0,i=Object.assign(Ip(t.Fp,n),{seed:hp(n.ORDER)});function s(d){try{return!!os(n,d)}catch{return!1}}function o(d,p){const{publicKey:b,publicKeyUncompressed:v}=i;try{const O=d.length;return p===!0&&O!==b||p===!1&&O!==v?!1:!!t.fromBytes(d)}catch{return!1}}function a(d=r(i.seed)){return U8(xi(d,i.seed,"seed"),n.ORDER)}function c(d,p=!0){return t.BASE.multiply(os(n,d)).toBytes(p)}function f(d){const p=a(d);return{secretKey:p,publicKey:c(p)}}function u(d){if(typeof d=="bigint")return!1;if(d instanceof t)return!0;const{secretKey:p,publicKey:b,publicKeyUncompressed:v}=i;if(n.allowedLengths||p===b)return;const O=It("key",d).length;return O===b||O===v}function h(d,p,b=!0){if(u(d)===!0)throw new Error("first arg must be private key");if(u(p)===!1)throw new Error("second arg must be public key");const v=os(n,d);return t.fromHex(p).multiply(v).toBytes(b)}return Object.freeze({getPublicKey:c,getSharedSecret:h,keygen:f,Point:t,utils:{isValidSecretKey:s,isValidPublicKey:o,randomSecretKey:a,isValidPrivateKey:s,randomPrivateKey:a,normPrivateKeyToScalar:d=>os(n,d),precompute(d=8,p=t.BASE){return p.precompute(d,!1)}},lengths:i})}function Q8(t,e,n={}){H0(e),Xf(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const r=n.randomBytes||Z0,i=n.hmac||((w,...g)=>gp(e,w,Sr(...g))),{Fp:s,Fn:o}=t,{ORDER:a,BITS:c}=o,{keygen:f,getPublicKey:u,getSharedSecret:h,utils:l,lengths:d}=J8(t,n),p={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},b="compact";function v(w){const g=a>>ss;return w>g}function O(w,g){if(!o.isValidNot0(g))throw new Error(`invalid signature ${w}: out of range 1..Point.Fn.ORDER`);return g}function P(w,g){ru(g);const m=d.signature,_=g==="compact"?m:g==="recovered"?m+1:void 0;return xi(w,_,`${g} signature`)}class x{constructor(g,m,_){this.r=O("r",g),this.s=O("s",m),_!=null&&(this.recovery=_),Object.freeze(this)}static fromBytes(g,m=b){P(g,m);let _;if(m==="der"){const{r:D,s:T}=Vn.toSig(xi(g));return new x(D,T)}m==="recovered"&&(_=g[0],m="compact",g=g.subarray(1));const B=o.BYTES,I=g.subarray(0,B),$=g.subarray(B,B*2);return new x(o.fromBytes(I),o.fromBytes($),_)}static fromHex(g,m){return this.fromBytes(xa(g),m)}addRecoveryBit(g){return new x(this.r,this.s,g)}recoverPublicKey(g){const m=s.ORDER,{r:_,s:B,recovery:I}=this;if(I==null||![0,1,2,3].includes(I))throw new Error("recovery id invalid");if(a*xp<m&&I>1)throw new Error("recovery id is ambiguous for h>1 curve");const D=I===2||I===3?_+a:_;if(!s.isValid(D))throw new Error("recovery id 2 or 3 invalid");const T=s.toBytes(D),F=t.fromBytes(Sr(_p((I&1)===0),T)),k=o.inv(D),N=R(It("msgHash",g)),M=o.create(-N*k),z=o.create(B*k),K=t.BASE.multiplyUnsafe(M).add(F.multiplyUnsafe(z));if(K.is0())throw new Error("point at infinify");return K.assertValidity(),K}hasHighS(){return v(this.s)}toBytes(g=b){if(ru(g),g==="der")return xa(Vn.hexFromSig(this));const m=o.toBytes(this.r),_=o.toBytes(this.s);if(g==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return Sr(Uint8Array.of(this.recovery),m,_)}return Sr(m,_)}toHex(g){return rs(this.toBytes(g))}assertValidity(){}static fromCompact(g){return x.fromBytes(It("sig",g),"compact")}static fromDER(g){return x.fromBytes(It("sig",g),"der")}normalizeS(){return this.hasHighS()?new x(this.r,o.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return rs(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return rs(this.toBytes("compact"))}}const S=n.bits2int||function(g){if(g.length>8192)throw new Error("input is too large");const m=Sa(g),_=g.length*8-c;return _>0?m>>BigInt(_):m},R=n.bits2int_modN||function(g){return o.create(S(g))},U=Ws(c);function L(w){return S8("num < 2^"+c,w,Kn,U),o.toBytes(w)}function C(w,g){return xi(w,void 0,"message"),g?xi(e(w),void 0,"prehashed message"):w}function A(w,g,m){if(["recovered","canonical"].some(M=>M in m))throw new Error("sign() legacy options not supported");const{lowS:_,prehash:B,extraEntropy:I}=iu(m,p);w=C(w,B);const $=R(w),D=os(o,g),T=[L(D),L($)];if(I!=null&&I!==!1){const M=I===!0?r(d.secretKey):I;T.push(It("extraEntropy",M))}const F=Sr(...T),k=$;function N(M){const z=S(M);if(!o.isValidNot0(z))return;const K=o.inv(z),H=t.BASE.multiply(z).toAffine(),G=o.create(H.x);if(G===Kn)return;const ee=o.create(K*o.create(k+G*D));if(ee===Kn)return;let te=(H.x===G?0:2)|Number(H.y&ss),re=ee;return _&&v(ee)&&(re=o.neg(ee),te^=1),new x(G,re,te)}return{seed:F,k2sig:N}}function j(w,g,m={}){w=It("message",w);const{seed:_,k2sig:B}=A(w,g,m);return B8(e.outputLen,o.BYTES,i)(_,B)}function q(w){let g;const m=typeof w=="string"||ma(w),_=!m&&w!==null&&typeof w=="object"&&typeof w.r=="bigint"&&typeof w.s=="bigint";if(!m&&!_)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(_)g=new x(w.r,w.s);else if(m){try{g=x.fromBytes(It("sig",w),"der")}catch(B){if(!(B instanceof Vn.Err))throw B}if(!g)try{g=x.fromBytes(It("sig",w),"compact")}catch{return!1}}return g||!1}function E(w,g,m,_={}){const{lowS:B,prehash:I,format:$}=iu(_,p);if(m=It("publicKey",m),g=C(It("message",g),I),"strict"in _)throw new Error("options.strict was renamed to lowS");const D=$===void 0?q(w):x.fromBytes(It("sig",w),$);if(D===!1)return!1;try{const T=t.fromBytes(m);if(B&&D.hasHighS())return!1;const{r:F,s:k}=D,N=R(g),M=o.inv(k),z=o.create(N*M),K=o.create(F*M),H=t.BASE.multiplyUnsafe(z).add(T.multiplyUnsafe(K));return H.is0()?!1:o.create(H.x)===F}catch{return!1}}function y(w,g,m={}){const{prehash:_}=iu(m,p);return g=C(g,_),x.fromBytes(w,"recovered").recoverPublicKey(g).toBytes()}return Object.freeze({keygen:f,getPublicKey:u,getSharedSecret:h,utils:l,lengths:d,Point:t,sign:j,verify:E,recoverPublicKey:y,Signature:x,hash:e})}function e6(t){const e={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp;let r=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(o=>Math.ceil(o/2)))):void 0;const i=Ys(e.n,{BITS:t.nBitLength,allowedLengths:r,modFromBytes:t.wrapPrivateKey}),s={Fp:n,Fn:i,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:e,curveOpts:s}}function t6(t){const{CURVE:e,curveOpts:n}=e6(t),r={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:e,curveOpts:n,hash:t.hash,ecdsaOpts:r}}function n6(t,e){const n=e.Point;return Object.assign({},e,{ProjectivePoint:n,CURVE:Object.assign({},t,up(n.Fn.ORDER,n.Fn.BITS))})}function r6(t){const{CURVE:e,curveOpts:n,hash:r,ecdsaOpts:i}=t6(t),s=X8(e,n),o=Q8(s,r,i);return n6(t,o)}function i6(t,e){const n=r=>r6({...t,hash:r});return{...n(e),create:n}}Vf("HashToScalar-");const su={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),Gy:BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8")},s6={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),basises:[[BigInt("0x3086d221a7d46bcde86c90e49284eb15"),-BigInt("0xe4437ed6010e88286f547fa90abfe4c3")],[BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),BigInt("0x3086d221a7d46bcde86c90e49284eb15")]]},Sp=BigInt(2);function o6(t){const e=su.p,n=BigInt(3),r=BigInt(6),i=BigInt(11),s=BigInt(22),o=BigInt(23),a=BigInt(44),c=BigInt(88),f=t*t*t%e,u=f*f*t%e,h=Gt(u,n,e)*u%e,l=Gt(h,n,e)*u%e,d=Gt(l,Sp,e)*f%e,p=Gt(d,i,e)*d%e,b=Gt(p,s,e)*p%e,v=Gt(b,a,e)*b%e,O=Gt(v,c,e)*v%e,P=Gt(O,a,e)*b%e,x=Gt(P,n,e)*u%e,S=Gt(x,o,e)*p%e,R=Gt(S,r,e)*f%e,U=Gt(R,Sp,e);if(!ou.eql(ou.sqr(U),t))throw new Error("Cannot find square root");return U}const ou=Ys(su.p,{sqrt:o6});i6({...su,Fp:ou,lowS:!0,endo:s6},dp);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function as(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function au(t,...e){if(!as(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Bp(t,e){return Array.isArray(e)?e.length===0?!0:t?e.every(n=>typeof n=="string"):e.every(n=>Number.isSafeInteger(n)):!1}function cu(t){if(typeof t!="function")throw new Error("function expected");return!0}function Ar(t,e){if(typeof e!="string")throw new Error(`${t}: string expected`);return!0}function cs(t){if(!Number.isSafeInteger(t))throw new Error(`invalid integer: ${t}`)}function Aa(t){if(!Array.isArray(t))throw new Error("array expected")}function Oa(t,e){if(!Bp(!0,e))throw new Error(`${t}: array of strings expected`)}function fu(t,e){if(!Bp(!1,e))throw new Error(`${t}: array of numbers expected`)}function Bt(...t){const e=s=>s,n=(s,o)=>a=>s(o(a)),r=t.map(s=>s.encode).reduceRight(n,e),i=t.map(s=>s.decode).reduce(n,e);return{encode:r,decode:i}}function Lt(t){const e=typeof t=="string"?t.split(""):t,n=e.length;Oa("alphabet",e);const r=new Map(e.map((i,s)=>[i,s]));return{encode:i=>(Aa(i),i.map(s=>{if(!Number.isSafeInteger(s)||s<0||s>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${s}". Allowed: ${t}`);return e[s]})),decode:i=>(Aa(i),i.map(s=>{Ar("alphabet.decode",s);const o=r.get(s);if(o===void 0)throw new Error(`Unknown letter: "${s}". Allowed: ${t}`);return o}))}}function kt(t=""){return Ar("join",t),{encode:e=>(Oa("join.decode",e),e.join(t)),decode:e=>(Ar("join.decode",e),e.split(t))}}function Da(t,e="="){return cs(t),Ar("padding",e),{encode(n){for(Oa("padding.encode",n);n.length*t%8;)n.push(e);return n},decode(n){Oa("padding.decode",n);let r=n.length;if(r*t%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;r>0&&n[r-1]===e;r--)if((r-1)*t%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,r)}}}function $p(t){return cu(t),{encode:e=>e,decode:e=>t(e)}}function Ap(t,e,n){if(e<2)throw new Error(`convertRadix: invalid from=${e}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(Aa(t),!t.length)return[];let r=0;const i=[],s=Array.from(t,a=>{if(cs(a),a<0||a>=e)throw new Error(`invalid integer: ${a}`);return a}),o=s.length;for(;;){let a=0,c=!0;for(let f=r;f<o;f++){const u=s[f],h=e*a,l=h+u;if(!Number.isSafeInteger(l)||h/e!==a||l-u!==h)throw new Error("convertRadix: carry overflow");const d=l/n;a=l%n;const p=Math.floor(d);if(s[f]=p,!Number.isSafeInteger(p)||p*n+a!==l)throw new Error("convertRadix: carry overflow");if(c)p?c=!1:r=f;else continue}if(i.push(a),c)break}for(let a=0;a<t.length-1&&t[a]===0;a++)i.push(0);return i.reverse()}const Op=(t,e)=>e===0?t:Op(e,t%e),Pa=(t,e)=>t+(e-Op(t,e)),Ra=(()=>{let t=[];for(let e=0;e<40;e++)t.push(2**e);return t})();function uu(t,e,n,r){if(Aa(t),e<=0||e>32)throw new Error(`convertRadix2: wrong from=${e}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(Pa(e,n)>32)throw new Error(`convertRadix2: carry overflow from=${e} to=${n} carryBits=${Pa(e,n)}`);let i=0,s=0;const o=Ra[e],a=Ra[n]-1,c=[];for(const f of t){if(cs(f),f>=o)throw new Error(`convertRadix2: invalid data word=${f} from=${e}`);if(i=i<<e|f,s+e>32)throw new Error(`convertRadix2: carry overflow pos=${s} from=${e}`);for(s+=e;s>=n;s-=n)c.push((i>>s-n&a)>>>0);const u=Ra[s];if(u===void 0)throw new Error("invalid carry");i&=u-1}if(i=i<<n-s&a,!r&&s>=e)throw new Error("Excess padding");if(!r&&i>0)throw new Error(`Non-zero padding: ${i}`);return r&&s>0&&c.push(i>>>0),c}function a6(t){cs(t);const e=2**8;return{encode:n=>{if(!as(n))throw new Error("radix.encode input should be Uint8Array");return Ap(Array.from(n),e,t)},decode:n=>(fu("radix.decode",n),Uint8Array.from(Ap(n,t,e)))}}function Zt(t,e=!1){if(cs(t),t<=0||t>32)throw new Error("radix2: bits should be in (0..32]");if(Pa(8,t)>32||Pa(t,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!as(n))throw new Error("radix2.encode input should be Uint8Array");return uu(Array.from(n),8,t,!e)},decode:n=>(fu("radix2.decode",n),Uint8Array.from(uu(n,t,8,e)))}}function Dp(t){return cu(t),function(...e){try{return t.apply(null,e)}catch{}}}function c6(t,e){return cs(t),cu(e),{encode(n){if(!as(n))throw new Error("checksum.encode: input should be Uint8Array");const r=e(n).slice(0,t),i=new Uint8Array(n.length+t);return i.set(n),i.set(r,n.length),i},decode(n){if(!as(n))throw new Error("checksum.decode: input should be Uint8Array");const r=n.slice(0,-t),i=n.slice(-t),s=e(r).slice(0,t);for(let o=0;o<t;o++)if(s[o]!==i[o])throw new Error("Invalid checksum");return r}}}const f6=Bt(Zt(5),Lt("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),Da(5),kt("")),Pp=typeof Uint8Array.from([]).toBase64=="function"&&typeof Uint8Array.fromBase64=="function",Rp=(t,e)=>{Ar("base64",t);const n=e?/^[A-Za-z0-9=_-]+$/:/^[A-Za-z0-9=+/]+$/,r=e?"base64url":"base64";if(t.length>0&&!n.test(t))throw new Error("invalid base64");return Uint8Array.fromBase64(t,{alphabet:r,lastChunkHandling:"strict"})},lu=t=>Bt(a6(58),Lt(t),kt("")),u6=lu("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),l6=t=>Bt(c6(4,e=>t(t(e))),u6),hu=Bt(Lt("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),kt("")),Tp=[996825010,642813549,513874426,1027748829,705979059];function Xs(t){const e=t>>25;let n=(t&33554431)<<5;for(let r=0;r<Tp.length;r++)(e>>r&1)===1&&(n^=Tp[r]);return n}function Np(t,e,n=1){const r=t.length;let i=1;for(let s=0;s<r;s++){const o=t.charCodeAt(s);if(o<33||o>126)throw new Error(`Invalid prefix (${t})`);i=Xs(i)^o>>5}i=Xs(i);for(let s=0;s<r;s++)i=Xs(i)^t.charCodeAt(s)&31;for(let s of e)i=Xs(i)^s;for(let s=0;s<6;s++)i=Xs(i);return i^=n,hu.encode(uu([i%Ra[30]],30,5,!1))}function Up(t){const e=t==="bech32"?1:734539939,n=Zt(5),r=n.decode,i=n.encode,s=Dp(r);function o(h,l,d=90){Ar("bech32.encode prefix",h),as(l)&&(l=Array.from(l)),fu("bech32.encode",l);const p=h.length;if(p===0)throw new TypeError(`Invalid prefix length ${p}`);const b=p+7+l.length;if(d!==!1&&b>d)throw new TypeError(`Length ${b} exceeds limit ${d}`);const v=h.toLowerCase(),O=Np(v,l,e);return`${v}1${hu.encode(l)}${O}`}function a(h,l=90){Ar("bech32.decode input",h);const d=h.length;if(d<8||l!==!1&&d>l)throw new TypeError(`invalid string length: ${d} (${h}). Expected (8..${l})`);const p=h.toLowerCase();if(h!==p&&h!==h.toUpperCase())throw new Error("String must be lowercase or uppercase");const b=p.lastIndexOf("1");if(b===0||b===-1)throw new Error('Letter "1" must be present between prefix and data only');const v=p.slice(0,b),O=p.slice(b+1);if(O.length<6)throw new Error("Data must be at least 6 characters long");const P=hu.decode(O).slice(0,-6),x=Np(v,P,e);if(!O.endsWith(x))throw new Error(`Invalid checksum in ${h}: expected "${x}"`);return{prefix:v,words:P}}const c=Dp(a);function f(h){const{prefix:l,words:d}=a(h,!1);return{prefix:l,words:d,bytes:r(d)}}function u(h,l){return o(h,i(l))}return{encode:o,decode:a,encodeFromBytes:u,decodeToBytes:f,decodeUnsafe:c,fromWords:r,fromWordsUnsafe:s,toWords:i}}const h6=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",d6={encode(t){return au(t),t.toHex()},decode(t){return Ar("hex",t),Uint8Array.fromHex(t)}};l6(dp),Vf("Bitcoin seed");function p6(t){return BE(g6(t))}function g6(t){const{payload:e,signature:n}=t,{r,s:i,yParity:s}=n,a=new r8.Signature(BigInt(r),BigInt(i)).addRecoveryBit(s).recoverPublicKey(xf(e).substring(2));return bE(a)}/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */function Cp(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Ta(t,...e){if(!Cp(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Na(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Fp(t,e){Ta(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function Js(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function du(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function y6(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function b6(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Qs(t){if(typeof t=="string")t=b6(t);else if(Cp(t))t=Lp(t);else throw new Error("Uint8Array expected, got "+typeof t);return t}function Lp(t){return Uint8Array.from(t)}const Gn=16,pu=new Uint8Array(16),_n=Js(pu),w6=225,m6=(t,e,n,r)=>{const i=r&1;return{s3:n<<31|r>>>1,s2:e<<31|n>>>1,s1:t<<31|e>>>1,s0:t>>>1^w6<<24&-(i&1)}},Wt=t=>(t>>>0&255)<<24|(t>>>8&255)<<16|(t>>>16&255)<<8|t>>>24&255|0;function v6(t){t.reverse();const e=t[15]&1;let n=0;for(let r=0;r<t.length;r++){const i=t[r];t[r]=i>>>1|n,n=(i&1)<<7}return t[0]^=-e&225,t}const E6=t=>t>64*1024?8:t>1024?4:2;class kp{constructor(e,n){this.blockLen=Gn,this.outputLen=Gn,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,e=Qs(e),Ta(e,16);const r=y6(e);let i=r.getUint32(0,!1),s=r.getUint32(4,!1),o=r.getUint32(8,!1),a=r.getUint32(12,!1);const c=[];for(let p=0;p<128;p++)c.push({s0:Wt(i),s1:Wt(s),s2:Wt(o),s3:Wt(a)}),{s0:i,s1:s,s2:o,s3:a}=m6(i,s,o,a);const f=E6(n||1024);if(![1,2,4,8].includes(f))throw new Error("ghash: invalid window size, expected 2, 4 or 8");this.W=f;const h=128/f,l=this.windowSize=2**f,d=[];for(let p=0;p<h;p++)for(let b=0;b<l;b++){let v=0,O=0,P=0,x=0;for(let S=0;S<f;S++){if(!(b>>>f-S-1&1))continue;const{s0:U,s1:L,s2:C,s3:A}=c[f*p+S];v^=U,O^=L,P^=C,x^=A}d.push({s0:v,s1:O,s2:P,s3:x})}this.t=d}_updateBlock(e,n,r,i){e^=this.s0,n^=this.s1,r^=this.s2,i^=this.s3;const{W:s,t:o,windowSize:a}=this;let c=0,f=0,u=0,h=0;const l=(1<<s)-1;let d=0;for(const p of[e,n,r,i])for(let b=0;b<4;b++){const v=p>>>8*b&255;for(let O=8/s-1;O>=0;O--){const P=v>>>s*O&l,{s0:x,s1:S,s2:R,s3:U}=o[d*a+P];c^=x,f^=S,u^=R,h^=U,d+=1}}this.s0=c,this.s1=f,this.s2=u,this.s3=h}update(e){Na(this),e=Qs(e),Ta(e);const n=Js(e),r=Math.floor(e.length/Gn),i=e.length%Gn;for(let s=0;s<r;s++)this._updateBlock(n[s*4+0],n[s*4+1],n[s*4+2],n[s*4+3]);return i&&(pu.set(e.subarray(r*Gn)),this._updateBlock(_n[0],_n[1],_n[2],_n[3]),du(_n)),this}destroy(){const{t:e}=this;for(const n of e)n.s0=0,n.s1=0,n.s2=0,n.s3=0}digestInto(e){Na(this),Fp(e,this),this.finished=!0;const{s0:n,s1:r,s2:i,s3:s}=this,o=Js(e);return o[0]=n,o[1]=r,o[2]=i,o[3]=s,e}digest(){const e=new Uint8Array(Gn);return this.digestInto(e),this.destroy(),e}}class x6 extends kp{constructor(e,n){e=Qs(e),Ta(e);const r=v6(Lp(e));super(r,n),du(r)}update(e){e=Qs(e),Na(this);const n=Js(e),r=e.length%Gn,i=Math.floor(e.length/Gn);for(let s=0;s<i;s++)this._updateBlock(Wt(n[s*4+3]),Wt(n[s*4+2]),Wt(n[s*4+1]),Wt(n[s*4+0]));return r&&(pu.set(e.subarray(i*Gn)),this._updateBlock(Wt(_n[3]),Wt(_n[2]),Wt(_n[1]),Wt(_n[0])),du(_n)),this}digestInto(e){Na(this),Fp(e,this),this.finished=!0;const{s0:n,s1:r,s2:i,s3:s}=this,o=Js(e);return o[0]=n,o[1]=r,o[2]=i,o[3]=s,e.reverse()}}function qp(t){const e=(r,i)=>t(i,r.length).update(Qs(r)).digest(),n=t(new Uint8Array(16),0);return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=(r,i)=>t(r,i),e}qp((t,e)=>new kp(t,e)),qp((t,e)=>new x6(t,e));const Mp=Er(BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff")),_6=Mp.create(BigInt("-3")),I6=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b");da({a:_6,b:I6,Fp:Mp,n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"),h:BigInt(1),lowS:!1},ia);const jp=Er(BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff")),S6=jp.create(BigInt("-3")),B6=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");da({a:S6,b:B6,Fp:jp,n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f"),h:BigInt(1),lowS:!1},Mv);const zp=Er(BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")),$6=zp.create(BigInt("-3")),A6=BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00");da({a:$6,b:A6,Fp:zp,n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650"),h:BigInt(1),lowS:!1,allowedPrivateKeyLengths:[130,131,132]},qv);var O6={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(c,f,u){this.fn=c,this.context=f,this.once=u||!1}function s(c,f,u,h,l){if(typeof u!="function")throw new TypeError("The listener must be a function");var d=new i(u,h||c,l),p=n?n+f:f;return c._events[p]?c._events[p].fn?c._events[p]=[c._events[p],d]:c._events[p].push(d):(c._events[p]=d,c._eventsCount++),c}function o(c,f){--c._eventsCount===0?c._events=new r:delete c._events[f]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var f=[],u,h;if(this._eventsCount===0)return f;for(h in u=this._events)e.call(u,h)&&f.push(n?h.slice(1):h);return Object.getOwnPropertySymbols?f.concat(Object.getOwnPropertySymbols(u)):f},a.prototype.listeners=function(f){var u=n?n+f:f,h=this._events[u];if(!h)return[];if(h.fn)return[h.fn];for(var l=0,d=h.length,p=new Array(d);l<d;l++)p[l]=h[l].fn;return p},a.prototype.listenerCount=function(f){var u=n?n+f:f,h=this._events[u];return h?h.fn?1:h.length:0},a.prototype.emit=function(f,u,h,l,d,p){var b=n?n+f:f;if(!this._events[b])return!1;var v=this._events[b],O=arguments.length,P,x;if(v.fn){switch(v.once&&this.removeListener(f,v.fn,void 0,!0),O){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,u),!0;case 3:return v.fn.call(v.context,u,h),!0;case 4:return v.fn.call(v.context,u,h,l),!0;case 5:return v.fn.call(v.context,u,h,l,d),!0;case 6:return v.fn.call(v.context,u,h,l,d,p),!0}for(x=1,P=new Array(O-1);x<O;x++)P[x-1]=arguments[x];v.fn.apply(v.context,P)}else{var S=v.length,R;for(x=0;x<S;x++)switch(v[x].once&&this.removeListener(f,v[x].fn,void 0,!0),O){case 1:v[x].fn.call(v[x].context);break;case 2:v[x].fn.call(v[x].context,u);break;case 3:v[x].fn.call(v[x].context,u,h);break;case 4:v[x].fn.call(v[x].context,u,h,l);break;default:if(!P)for(R=1,P=new Array(O-1);R<O;R++)P[R-1]=arguments[R];v[x].fn.apply(v[x].context,P)}}return!0},a.prototype.on=function(f,u,h){return s(this,f,u,h,!1)},a.prototype.once=function(f,u,h){return s(this,f,u,h,!0)},a.prototype.removeListener=function(f,u,h,l){var d=n?n+f:f;if(!this._events[d])return this;if(!u)return o(this,d),this;var p=this._events[d];if(p.fn)p.fn===u&&(!l||p.once)&&(!h||p.context===h)&&o(this,d);else{for(var b=0,v=[],O=p.length;b<O;b++)(p[b].fn!==u||l&&!p[b].once||h&&p[b].context!==h)&&v.push(p[b]);v.length?this._events[d]=v.length===1?v[0]:v:o(this,d)}return this},a.prototype.removeAllListeners=function(f){var u;return f?(u=n?n+f:f,this._events[u]&&o(this,u)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,t.exports=a})(O6);function D6(t){if(t.length>=255)throw new TypeError("Alphabet too long");const e=new Uint8Array(256);for(let f=0;f<e.length;f++)e[f]=255;for(let f=0;f<t.length;f++){const u=t.charAt(f),h=u.charCodeAt(0);if(e[h]!==255)throw new TypeError(u+" is ambiguous");e[h]=f}const n=t.length,r=t.charAt(0),i=Math.log(n)/Math.log(256),s=Math.log(256)/Math.log(n);function o(f){if(f instanceof Uint8Array||(ArrayBuffer.isView(f)?f=new Uint8Array(f.buffer,f.byteOffset,f.byteLength):Array.isArray(f)&&(f=Uint8Array.from(f))),!(f instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(f.length===0)return"";let u=0,h=0,l=0;const d=f.length;for(;l!==d&&f[l]===0;)l++,u++;const p=(d-l)*s+1>>>0,b=new Uint8Array(p);for(;l!==d;){let P=f[l],x=0;for(let S=p-1;(P!==0||x<h)&&S!==-1;S--,x++)P+=256*b[S]>>>0,b[S]=P%n>>>0,P=P/n>>>0;if(P!==0)throw new Error("Non-zero carry");h=x,l++}let v=p-h;for(;v!==p&&b[v]===0;)v++;let O=r.repeat(u);for(;v<p;++v)O+=t.charAt(b[v]);return O}function a(f){if(typeof f!="string")throw new TypeError("Expected String");if(f.length===0)return new Uint8Array;let u=0,h=0,l=0;for(;f[u]===r;)h++,u++;const d=(f.length-u)*i+1>>>0,p=new Uint8Array(d);for(;u<f.length;){const P=f.charCodeAt(u);if(P>255)return;let x=e[P];if(x===255)return;let S=0;for(let R=d-1;(x!==0||S<l)&&R!==-1;R--,S++)x+=n*p[R]>>>0,p[R]=x%256>>>0,x=x/256>>>0;if(x!==0)throw new Error("Non-zero carry");l=S,u++}let b=d-l;for(;b!==d&&p[b]===0;)b++;const v=new Uint8Array(h+(d-b));let O=h;for(;b!==d;)v[O++]=p[b++];return v}function c(f){const u=a(f);if(u)return u;throw new Error("Non-base"+n+" character")}return{encode:o,decodeUnsafe:a,decode:c}}var P6="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",eo=D6(P6);const R6=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n),T6=t=>{const e=/([\[:])?(\d{17,}|(?:[9](?:[1-9]07199254740991|0[1-9]7199254740991|00[8-9]199254740991|007[2-9]99254740991|007199[3-9]54740991|0071992[6-9]4740991|00719925[5-9]740991|007199254[8-9]40991|0071992547[5-9]0991|00719925474[1-9]991|00719925474099[2-9])))([,\}\]])/g,n=t.replace(e,'$1"$2n"$3');return JSON.parse(n,(r,i)=>typeof i=="string"&&i.match(/^\d+n$/)?BigInt(i.substring(0,i.length-1)):i)};function fs(t){if(typeof t!="string")throw new Error(`Cannot safe json parse value of type ${typeof t}`);try{return T6(t)}catch{return t}}function to(t){return typeof t=="string"?t:R6(t)||""}function N6(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Hp(t,...e){if(!N6(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Vp(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function U6(t,e){Hp(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}const us=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const gu=t=>new DataView(t.buffer,t.byteOffset,t.byteLength);function C6(t){if(typeof t!="string")throw new Error("utf8ToBytes expected string, got "+typeof t);return new Uint8Array(new TextEncoder().encode(t))}function Kp(t){return typeof t=="string"&&(t=C6(t)),Hp(t),t}class F6{clone(){return this._cloneInto()}}function L6(t){const e=r=>t().update(Kp(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function Gp(t=32){if(us&&typeof us.getRandomValues=="function")return us.getRandomValues(new Uint8Array(t));if(us&&typeof us.randomBytes=="function")return us.randomBytes(t);throw new Error("crypto.getRandomValues must be defined")}function k6(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,f=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+f,a,r)}class q6 extends F6{constructor(e,n,r,i){super(),this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=gu(this.buffer)}update(e){Vp(this);const{view:n,buffer:r,blockLen:i}=this;e=Kp(e);const s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=gu(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Vp(this),U6(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>i-o&&(this.process(r,0),o=0);for(let h=o;h<i;h++)n[h]=0;k6(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=gu(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const f=c/4,u=this.get();if(f>u.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<f;h++)a.setUint32(4*h,u[h],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.length=i,e.pos=a,e.finished=s,e.destroyed=o,i%n&&e.buffer.set(r),e}}const Ua=BigInt(2**32-1),yu=BigInt(32);function Zp(t,e=!1){return e?{h:Number(t&Ua),l:Number(t>>yu&Ua)}:{h:Number(t>>yu&Ua)|0,l:Number(t&Ua)|0}}function M6(t,e=!1){let n=new Uint32Array(t.length),r=new Uint32Array(t.length);for(let i=0;i<t.length;i++){const{h:s,l:o}=Zp(t[i],e);[n[i],r[i]]=[s,o]}return[n,r]}const j6=(t,e)=>BigInt(t>>>0)<<yu|BigInt(e>>>0),z6=(t,e,n)=>t>>>n,H6=(t,e,n)=>t<<32-n|e>>>n,V6=(t,e,n)=>t>>>n|e<<32-n,K6=(t,e,n)=>t<<32-n|e>>>n,G6=(t,e,n)=>t<<64-n|e>>>n-32,Z6=(t,e,n)=>t>>>n-32|e<<64-n,W6=(t,e)=>e,Y6=(t,e)=>t,X6=(t,e,n)=>t<<n|e>>>32-n,J6=(t,e,n)=>e<<n|t>>>32-n,Q6=(t,e,n)=>e<<n-32|t>>>64-n,ex=(t,e,n)=>t<<n-32|e>>>64-n;function tx(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const nx=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),rx=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,ix=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),sx=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,ox=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),ax=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,ie={fromBig:Zp,split:M6,toBig:j6,shrSH:z6,shrSL:H6,rotrSH:V6,rotrSL:K6,rotrBH:G6,rotrBL:Z6,rotr32H:W6,rotr32L:Y6,rotlSH:X6,rotlSL:J6,rotlBH:Q6,rotlBL:ex,add:tx,add3L:nx,add3H:rx,add4L:ix,add4H:sx,add5H:ax,add5L:ox},[cx,fx]=ie.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),Or=new Uint32Array(80),Dr=new Uint32Array(80);class ux extends q6{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:f,El:u,Fh:h,Fl:l,Gh:d,Gl:p,Hh:b,Hl:v}=this;return[e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v]}set(e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=f|0,this.El=u|0,this.Fh=h|0,this.Fl=l|0,this.Gh=d|0,this.Gl=p|0,this.Hh=b|0,this.Hl=v|0}process(e,n){for(let x=0;x<16;x++,n+=4)Or[x]=e.getUint32(n),Dr[x]=e.getUint32(n+=4);for(let x=16;x<80;x++){const S=Or[x-15]|0,R=Dr[x-15]|0,U=ie.rotrSH(S,R,1)^ie.rotrSH(S,R,8)^ie.shrSH(S,R,7),L=ie.rotrSL(S,R,1)^ie.rotrSL(S,R,8)^ie.shrSL(S,R,7),C=Or[x-2]|0,A=Dr[x-2]|0,j=ie.rotrSH(C,A,19)^ie.rotrBH(C,A,61)^ie.shrSH(C,A,6),q=ie.rotrSL(C,A,19)^ie.rotrBL(C,A,61)^ie.shrSL(C,A,6),E=ie.add4L(L,q,Dr[x-7],Dr[x-16]),y=ie.add4H(E,U,j,Or[x-7],Or[x-16]);Or[x]=y|0,Dr[x]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:f,Dl:u,Eh:h,El:l,Fh:d,Fl:p,Gh:b,Gl:v,Hh:O,Hl:P}=this;for(let x=0;x<80;x++){const S=ie.rotrSH(h,l,14)^ie.rotrSH(h,l,18)^ie.rotrBH(h,l,41),R=ie.rotrSL(h,l,14)^ie.rotrSL(h,l,18)^ie.rotrBL(h,l,41),U=h&d^~h&b,L=l&p^~l&v,C=ie.add5L(P,R,L,fx[x],Dr[x]),A=ie.add5H(C,O,S,U,cx[x],Or[x]),j=C|0,q=ie.rotrSH(r,i,28)^ie.rotrBH(r,i,34)^ie.rotrBH(r,i,39),E=ie.rotrSL(r,i,28)^ie.rotrBL(r,i,34)^ie.rotrBL(r,i,39),y=r&s^r&a^s&a,w=i&o^i&c^o&c;O=b|0,P=v|0,b=d|0,v=p|0,d=h|0,p=l|0,{h,l}=ie.add(f|0,u|0,A|0,j|0),f=a|0,u=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=ie.add3L(j,E,w);r=ie.add3H(g,A,q,y),i=g|0}({h:r,l:i}=ie.add(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=ie.add(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=ie.add(this.Ch|0,this.Cl|0,a|0,c|0),{h:f,l:u}=ie.add(this.Dh|0,this.Dl|0,f|0,u|0),{h,l}=ie.add(this.Eh|0,this.El|0,h|0,l|0),{h:d,l:p}=ie.add(this.Fh|0,this.Fl|0,d|0,p|0),{h:b,l:v}=ie.add(this.Gh|0,this.Gl|0,b|0,v|0),{h:O,l:P}=ie.add(this.Hh|0,this.Hl|0,O|0,P|0),this.set(r,i,s,o,a,c,f,u,h,l,d,p,b,v,O,P)}roundClean(){Or.fill(0),Dr.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const lx=L6(()=>new ux);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const bu=BigInt(0),Wp=BigInt(1),hx=BigInt(2);function wu(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function mu(t){if(!wu(t))throw new Error("Uint8Array expected")}function vu(t,e){if(typeof e!="boolean")throw new Error(t+" boolean expected, got "+e)}const dx=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function Eu(t){mu(t);let e="";for(let n=0;n<t.length;n++)e+=dx[t[n]];return e}function Yp(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?bu:BigInt("0x"+t)}const Zn={_0:48,_9:57,A:65,F:70,a:97,f:102};function Xp(t){if(t>=Zn._0&&t<=Zn._9)return t-Zn._0;if(t>=Zn.A&&t<=Zn.F)return t-(Zn.A-10);if(t>=Zn.a&&t<=Zn.f)return t-(Zn.a-10)}function Jp(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=Xp(t.charCodeAt(s)),a=Xp(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function px(t){return Yp(Eu(t))}function Ca(t){return mu(t),Yp(Eu(Uint8Array.from(t).reverse()))}function Qp(t,e){return Jp(t.toString(16).padStart(e*2,"0"))}function xu(t,e){return Qp(t,e).reverse()}function Wn(t,e,n){let r;if(typeof e=="string")try{r=Jp(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(wu(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}function eg(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];mu(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}const _u=t=>typeof t=="bigint"&&bu<=t;function gx(t,e,n){return _u(t)&&_u(e)&&_u(n)&&e<=t&&t<n}function no(t,e,n,r){if(!gx(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function yx(t){let e;for(e=0;t>bu;t>>=Wp,e+=1);return e}const bx=t=>(hx<<BigInt(t-1))-Wp,wx={bigint:t=>typeof t=="bigint",function:t=>typeof t=="function",boolean:t=>typeof t=="boolean",string:t=>typeof t=="string",stringOrUint8Array:t=>typeof t=="string"||wu(t),isSafeInteger:t=>Number.isSafeInteger(t),array:t=>Array.isArray(t),field:(t,e)=>e.Fp.isValid(t),hash:t=>typeof t=="function"&&Number.isSafeInteger(t.outputLen)};function Iu(t,e,n={}){const r=(i,s,o)=>{const a=wx[s];if(typeof a!="function")throw new Error("invalid validator function");const c=t[i];if(!(o&&c===void 0)&&!a(c,t))throw new Error("param "+String(i)+" is invalid. Expected "+s+", got "+c)};for(const[i,s]of Object.entries(e))r(i,s,!1);for(const[i,s]of Object.entries(n))r(i,s,!0);return t}function tg(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const ke=BigInt(0),$e=BigInt(1),Si=BigInt(2),mx=BigInt(3),Su=BigInt(4),ng=BigInt(5),rg=BigInt(8);function Te(t,e){const n=t%e;return n>=ke?n:e+n}function vx(t,e,n){if(e<ke)throw new Error("invalid exponent, negatives unsupported");if(n<=ke)throw new Error("invalid modulus");if(n===$e)return ke;let r=$e;for(;e>ke;)e&$e&&(r=r*t%n),t=t*t%n,e>>=$e;return r}function In(t,e,n){let r=t;for(;e-- >ke;)r*=r,r%=n;return r}function ig(t,e){if(t===ke)throw new Error("invert: expected non-zero number");if(e<=ke)throw new Error("invert: expected positive modulus, got "+e);let n=Te(t,e),r=e,i=ke,s=$e;for(;n!==ke;){const o=r/n,a=r%n,c=i-s*o;r=n,n=a,i=s,s=c}if(r!==$e)throw new Error("invert: does not exist");return Te(i,e)}function Ex(t){const e=(t-$e)/Si;let n,r,i;for(n=t-$e,r=0;n%Si===ke;n/=Si,r++);for(i=Si;i<t&&vx(i,e,t)!==t-$e;i++)if(i>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const o=(t+$e)/Su;return function(a,c){const f=a.pow(c,o);if(!a.eql(a.sqr(f),c))throw new Error("Cannot find square root");return f}}const s=(n+$e)/Si;return function(o,a){if(o.pow(a,e)===o.neg(o.ONE))throw new Error("Cannot find square root");let c=r,f=o.pow(o.mul(o.ONE,i),n),u=o.pow(a,s),h=o.pow(a,n);for(;!o.eql(h,o.ONE);){if(o.eql(h,o.ZERO))return o.ZERO;let l=1;for(let p=o.sqr(h);l<c&&!o.eql(p,o.ONE);l++)p=o.sqr(p);const d=o.pow(f,$e<<BigInt(c-l-1));f=o.sqr(d),u=o.mul(u,d),h=o.mul(h,f),c=l}return u}}function xx(t){if(t%Su===mx){const e=(t+$e)/Su;return function(n,r){const i=n.pow(r,e);if(!n.eql(n.sqr(i),r))throw new Error("Cannot find square root");return i}}if(t%rg===ng){const e=(t-ng)/rg;return function(n,r){const i=n.mul(r,Si),s=n.pow(i,e),o=n.mul(r,s),a=n.mul(n.mul(o,Si),s),c=n.mul(o,n.sub(a,n.ONE));if(!n.eql(n.sqr(c),r))throw new Error("Cannot find square root");return c}}return Ex(t)}const _x=(t,e)=>(Te(t,e)&$e)===$e,Ix=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Sx(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=Ix.reduce((r,i)=>(r[i]="function",r),e);return Iu(t,n)}function Bx(t,e,n){if(n<ke)throw new Error("invalid exponent, negatives unsupported");if(n===ke)return t.ONE;if(n===$e)return e;let r=t.ONE,i=e;for(;n>ke;)n&$e&&(r=t.mul(r,i)),i=t.sqr(i),n>>=$e;return r}function $x(t,e){const n=new Array(e.length),r=e.reduce((s,o,a)=>t.is0(o)?s:(n[a]=s,t.mul(s,o)),t.ONE),i=t.inv(r);return e.reduceRight((s,o,a)=>t.is0(o)?s:(n[a]=t.mul(s,n[a]),t.mul(s,o)),i),n}function sg(t,e){const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function og(t,e,n=!1,r={}){if(t<=ke)throw new Error("invalid field: expected ORDER > 0, got "+t);const{nBitLength:i,nByteLength:s}=sg(t,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const a=Object.freeze({ORDER:t,isLE:n,BITS:i,BYTES:s,MASK:bx(i),ZERO:ke,ONE:$e,create:c=>Te(c,t),isValid:c=>{if(typeof c!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof c);return ke<=c&&c<t},is0:c=>c===ke,isOdd:c=>(c&$e)===$e,neg:c=>Te(-c,t),eql:(c,f)=>c===f,sqr:c=>Te(c*c,t),add:(c,f)=>Te(c+f,t),sub:(c,f)=>Te(c-f,t),mul:(c,f)=>Te(c*f,t),pow:(c,f)=>Bx(a,c,f),div:(c,f)=>Te(c*ig(f,t),t),sqrN:c=>c*c,addN:(c,f)=>c+f,subN:(c,f)=>c-f,mulN:(c,f)=>c*f,inv:c=>ig(c,t),sqrt:r.sqrt||(c=>(o||(o=xx(t)),o(a,c))),invertBatch:c=>$x(a,c),cmov:(c,f,u)=>u?f:c,toBytes:c=>n?xu(c,s):Qp(c,s),fromBytes:c=>{if(c.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+c.length);return n?Ca(c):px(c)}});return Object.freeze(a)}const ag=BigInt(0),Fa=BigInt(1);function Bu(t,e){const n=e.negate();return t?n:e}function cg(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function $u(t,e){cg(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1);return{windows:n,windowSize:r}}function Ax(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function Ox(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const Au=new WeakMap,fg=new WeakMap;function Ou(t){return fg.get(t)||1}function Dx(t,e){return{constTimeNegate:Bu,hasPrecomputes(n){return Ou(n)!==1},unsafeLadder(n,r,i=t.ZERO){let s=n;for(;r>ag;)r&Fa&&(i=i.add(s)),s=s.double(),r>>=Fa;return i},precomputeWindow(n,r){const{windows:i,windowSize:s}=$u(r,e),o=[];let a=n,c=a;for(let f=0;f<i;f++){c=a,o.push(c);for(let u=1;u<s;u++)c=c.add(a),o.push(c);a=c.double()}return o},wNAF(n,r,i){const{windows:s,windowSize:o}=$u(n,e);let a=t.ZERO,c=t.BASE;const f=BigInt(2**n-1),u=2**n,h=BigInt(n);for(let l=0;l<s;l++){const d=l*o;let p=Number(i&f);i>>=h,p>o&&(p-=u,i+=Fa);const b=d,v=d+Math.abs(p)-1,O=l%2!==0,P=p<0;p===0?c=c.add(Bu(O,r[b])):a=a.add(Bu(P,r[v]))}return{p:a,f:c}},wNAFUnsafe(n,r,i,s=t.ZERO){const{windows:o,windowSize:a}=$u(n,e),c=BigInt(2**n-1),f=2**n,u=BigInt(n);for(let h=0;h<o;h++){const l=h*a;if(i===ag)break;let d=Number(i&c);if(i>>=u,d>a&&(d-=f,i+=Fa),d===0)continue;let p=r[l+Math.abs(d)-1];d<0&&(p=p.negate()),s=s.add(p)}return s},getPrecomputes(n,r,i){let s=Au.get(r);return s||(s=this.precomputeWindow(r,n),n!==1&&Au.set(r,i(s))),s},wNAFCached(n,r,i){const s=Ou(n);return this.wNAF(s,this.getPrecomputes(s,n,i),r)},wNAFCachedUnsafe(n,r,i,s){const o=Ou(n);return o===1?this.unsafeLadder(n,r,s):this.wNAFUnsafe(o,this.getPrecomputes(o,n,i),r,s)},setWindowSize(n,r){cg(r,e),fg.set(n,r),Au.delete(n)}}}function Px(t,e,n,r){if(Ax(n,t),Ox(r,e),n.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const i=t.ZERO,s=yx(BigInt(n.length)),o=s>12?s-3:s>4?s-2:s?2:1,a=(1<<o)-1,c=new Array(a+1).fill(i),f=Math.floor((e.BITS-1)/o)*o;let u=i;for(let h=f;h>=0;h-=o){c.fill(i);for(let d=0;d<r.length;d++){const p=r[d],b=Number(p>>BigInt(h)&BigInt(a));c[b]=c[b].add(n[d])}let l=i;for(let d=c.length-1,p=i;d>0;d--)p=p.add(c[d]),l=l.add(p);if(u=u.add(l),h!==0)for(let d=0;d<o;d++)u=u.double()}return u}function Rx(t){return Sx(t.Fp),Iu(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...sg(t.n,t.nBitLength),...t,p:t.Fp.ORDER})}const an=BigInt(0),$t=BigInt(1),La=BigInt(2),Tx=BigInt(8),Nx={zip215:!0};function Ux(t){const e=Rx(t);return Iu(t,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...e})}function Cx(t){const e=Ux(t),{Fp:n,n:r,prehash:i,hash:s,randomBytes:o,nByteLength:a,h:c}=e,f=La<<BigInt(a*8)-$t,u=n.create,h=og(e.n,e.nBitLength),l=e.uvRatio||((g,m)=>{try{return{isValid:!0,value:n.sqrt(g*n.inv(m))}}catch{return{isValid:!1,value:an}}}),d=e.adjustScalarBytes||(g=>g),p=e.domain||((g,m,_)=>{if(vu("phflag",_),m.length||_)throw new Error("Contexts/pre-hash are not supported");return g});function b(g,m){no("coordinate "+g,m,an,f)}function v(g){if(!(g instanceof x))throw new Error("ExtendedPoint expected")}const O=tg((g,m)=>{const{ex:_,ey:B,ez:I}=g,$=g.is0();m==null&&(m=$?Tx:n.inv(I));const D=u(_*m),T=u(B*m),F=u(I*m);if($)return{x:an,y:$t};if(F!==$t)throw new Error("invZ was invalid");return{x:D,y:T}}),P=tg(g=>{const{a:m,d:_}=e;if(g.is0())throw new Error("bad point: ZERO");const{ex:B,ey:I,ez:$,et:D}=g,T=u(B*B),F=u(I*I),k=u($*$),N=u(k*k),M=u(T*m),z=u(k*u(M+F)),K=u(N+u(_*u(T*F)));if(z!==K)throw new Error("bad point: equation left != right (1)");const H=u(B*I),G=u($*D);if(H!==G)throw new Error("bad point: equation left != right (2)");return!0});class x{constructor(m,_,B,I){this.ex=m,this.ey=_,this.ez=B,this.et=I,b("x",m),b("y",_),b("z",B),b("t",I),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(m){if(m instanceof x)throw new Error("extended point not allowed");const{x:_,y:B}=m||{};return b("x",_),b("y",B),new x(_,B,$t,u(_*B))}static normalizeZ(m){const _=n.invertBatch(m.map(B=>B.ez));return m.map((B,I)=>B.toAffine(_[I])).map(x.fromAffine)}static msm(m,_){return Px(x,h,m,_)}_setWindowSize(m){U.setWindowSize(this,m)}assertValidity(){P(this)}equals(m){v(m);const{ex:_,ey:B,ez:I}=this,{ex:$,ey:D,ez:T}=m,F=u(_*T),k=u($*I),N=u(B*T),M=u(D*I);return F===k&&N===M}is0(){return this.equals(x.ZERO)}negate(){return new x(u(-this.ex),this.ey,this.ez,u(-this.et))}double(){const{a:m}=e,{ex:_,ey:B,ez:I}=this,$=u(_*_),D=u(B*B),T=u(La*u(I*I)),F=u(m*$),k=_+B,N=u(u(k*k)-$-D),M=F+D,z=M-T,K=F-D,H=u(N*z),G=u(M*K),ee=u(N*K),te=u(z*M);return new x(H,G,te,ee)}add(m){v(m);const{a:_,d:B}=e,{ex:I,ey:$,ez:D,et:T}=this,{ex:F,ey:k,ez:N,et:M}=m;if(_===BigInt(-1)){const t2=u(($-I)*(k+F)),n2=u(($+I)*(k-F)),Vh=u(n2-t2);if(Vh===an)return this.double();const r2=u(D*La*M),i2=u(T*La*N),s2=i2+r2,o2=n2+t2,a2=i2-r2,CU=u(s2*Vh),FU=u(o2*a2),LU=u(s2*a2),kU=u(Vh*o2);return new x(CU,FU,kU,LU)}const z=u(I*F),K=u($*k),H=u(T*B*M),G=u(D*N),ee=u((I+$)*(F+k)-z-K),te=G-H,re=G+H,ce=u(K-_*z),Ie=u(ee*te),lr=u(re*ce),Gc=u(ee*ce),UU=u(te*re);return new x(Ie,lr,UU,Gc)}subtract(m){return this.add(m.negate())}wNAF(m){return U.wNAFCached(this,m,x.normalizeZ)}multiply(m){const _=m;no("scalar",_,$t,r);const{p:B,f:I}=this.wNAF(_);return x.normalizeZ([B,I])[0]}multiplyUnsafe(m,_=x.ZERO){const B=m;return no("scalar",B,an,r),B===an?R:this.is0()||B===$t?this:U.wNAFCachedUnsafe(this,B,x.normalizeZ,_)}isSmallOrder(){return this.multiplyUnsafe(c).is0()}isTorsionFree(){return U.unsafeLadder(this,r).is0()}toAffine(m){return O(this,m)}clearCofactor(){const{h:m}=e;return m===$t?this:this.multiplyUnsafe(m)}static fromHex(m,_=!1){const{d:B,a:I}=e,$=n.BYTES;m=Wn("pointHex",m,$),vu("zip215",_);const D=m.slice(),T=m[$-1];D[$-1]=T&-129;const F=Ca(D),k=_?f:n.ORDER;no("pointHex.y",F,an,k);const N=u(F*F),M=u(N-$t),z=u(B*N-I);let{isValid:K,value:H}=l(M,z);if(!K)throw new Error("Point.fromHex: invalid y coordinate");const G=(H&$t)===$t,ee=(T&128)!==0;if(!_&&H===an&&ee)throw new Error("Point.fromHex: x=0 and x_0=1");return ee!==G&&(H=u(-H)),x.fromAffine({x:H,y:F})}static fromPrivateKey(m){return A(m).point}toRawBytes(){const{x:m,y:_}=this.toAffine(),B=xu(_,n.BYTES);return B[B.length-1]|=m&$t?128:0,B}toHex(){return Eu(this.toRawBytes())}}x.BASE=new x(e.Gx,e.Gy,$t,u(e.Gx*e.Gy)),x.ZERO=new x(an,$t,$t,an);const{BASE:S,ZERO:R}=x,U=Dx(x,a*8);function L(g){return Te(g,r)}function C(g){return L(Ca(g))}function A(g){const m=n.BYTES;g=Wn("private key",g,m);const _=Wn("hashed private key",s(g),2*m),B=d(_.slice(0,m)),I=_.slice(m,2*m),$=C(B),D=S.multiply($),T=D.toRawBytes();return{head:B,prefix:I,scalar:$,point:D,pointBytes:T}}function j(g){return A(g).pointBytes}function q(g=new Uint8Array,...m){const _=eg(...m);return C(s(p(_,Wn("context",g),!!i)))}function E(g,m,_={}){g=Wn("message",g),i&&(g=i(g));const{prefix:B,scalar:I,pointBytes:$}=A(m),D=q(_.context,B,g),T=S.multiply(D).toRawBytes(),F=q(_.context,T,$,g),k=L(D+F*I);no("signature.s",k,an,r);const N=eg(T,xu(k,n.BYTES));return Wn("result",N,n.BYTES*2)}const y=Nx;function w(g,m,_,B=y){const{context:I,zip215:$}=B,D=n.BYTES;g=Wn("signature",g,2*D),m=Wn("message",m),_=Wn("publicKey",_,D),$!==void 0&&vu("zip215",$),i&&(m=i(m));const T=Ca(g.slice(D,2*D));let F,k,N;try{F=x.fromHex(_,$),k=x.fromHex(g.slice(0,D),$),N=S.multiplyUnsafe(T)}catch{return!1}if(!$&&F.isSmallOrder())return!1;const M=q(I,k.toRawBytes(),F.toRawBytes(),m);return k.add(F.multiplyUnsafe(M)).subtract(N).clearCofactor().equals(x.ZERO)}return S._setWindowSize(8),{CURVE:e,getPublicKey:j,sign:E,verify:w,ExtendedPoint:x,utils:{getExtendedPublicKey:A,randomPrivateKey:()=>o(n.BYTES),precompute(g=8,m=x.BASE){return m._setWindowSize(g),m.multiply(BigInt(3)),m}}}}BigInt(0),BigInt(1);const Du=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),ug=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");BigInt(0);const Fx=BigInt(1),lg=BigInt(2);BigInt(3);const Lx=BigInt(5),kx=BigInt(8);function qx(t){const e=BigInt(10),n=BigInt(20),r=BigInt(40),i=BigInt(80),s=Du,o=t*t%s*t%s,a=In(o,lg,s)*o%s,c=In(a,Fx,s)*t%s,f=In(c,Lx,s)*c%s,u=In(f,e,s)*f%s,h=In(u,n,s)*u%s,l=In(h,r,s)*h%s,d=In(l,i,s)*l%s,p=In(d,i,s)*l%s,b=In(p,e,s)*f%s;return{pow_p_5_8:In(b,lg,s)*t%s,b2:o}}function Mx(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}function jx(t,e){const n=Du,r=Te(e*e*e,n),i=Te(r*r*e,n),s=qx(t*i).pow_p_5_8;let o=Te(t*r*s,n);const a=Te(e*o*o,n),c=o,f=Te(o*ug,n),u=a===t,h=a===Te(-t,n),l=a===Te(-t*ug,n);return u&&(o=c),(h||l)&&(o=f),_x(o,n)&&(o=Te(-o,n)),{isValid:u||h,value:o}}const zx=og(Du,void 0,!0),Hx={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:zx,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:kx,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:lx,randomBytes:Gp,adjustScalarBytes:Mx,uvRatio:jx},hg=Cx(Hx),Vx="EdDSA",Kx="JWT",ka=".",qa="base64url",dg="utf8",pg="utf8",Gx=":",Zx="did",Wx="key",gg="base58btc",Yx="z",Xx="K36",Jx=32;function Pu(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function yg(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Pu(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function bg(t,e){e||(e=t.reduce((i,s)=>i+s.length,0));const n=yg(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return Pu(n)}function Qx(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),f=Math.log(a)/Math.log(256),u=Math.log(256)/Math.log(a);function h(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var b=0,v=0,O=0,P=p.length;O!==P&&p[O]===0;)O++,b++;for(var x=(P-O)*u+1>>>0,S=new Uint8Array(x);O!==P;){for(var R=p[O],U=0,L=x-1;(R!==0||U<v)&&L!==-1;L--,U++)R+=256*S[L]>>>0,S[L]=R%a>>>0,R=R/a>>>0;if(R!==0)throw new Error("Non-zero carry");v=U,O++}for(var C=x-v;C!==x&&S[C]===0;)C++;for(var A=c.repeat(b);C<x;++C)A+=t.charAt(S[C]);return A}function l(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var b=0;if(p[b]!==" "){for(var v=0,O=0;p[b]===c;)v++,b++;for(var P=(p.length-b)*f+1>>>0,x=new Uint8Array(P);p[b];){var S=n[p.charCodeAt(b)];if(S===255)return;for(var R=0,U=P-1;(S!==0||R<O)&&U!==-1;U--,R++)S+=a*x[U]>>>0,x[U]=S%256>>>0,S=S/256>>>0;if(S!==0)throw new Error("Non-zero carry");O=R,b++}if(p[b]!==" "){for(var L=P-O;L!==P&&x[L]===0;)L++;for(var C=new Uint8Array(v+(P-L)),A=v;L!==P;)C[A++]=x[L++];return C}}}function d(p){var b=l(p);if(b)return b;throw new Error(`Non-${e} character`)}return{encode:h,decodeUnsafe:l,decode:d}}var e4=Qx,t4=e4;const wg=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},n4=t=>new TextEncoder().encode(t),r4=t=>new TextDecoder().decode(t);class i4{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class s4{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return mg(this,e)}}class o4{constructor(e){this.decoders=e}or(e){return mg(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const mg=(t,e)=>new o4({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class a4{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new i4(e,n,r),this.decoder=new s4(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const Ma=({name:t,prefix:e,encode:n,decode:r})=>new a4(t,e,n,r),ro=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=t4(n,e);return Ma({prefix:t,name:e,encode:r,decode:s=>wg(i(s))})},c4=(t,e,n,r)=>{const i={};for(let u=0;u<e.length;++u)i[e[u]]=u;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,f=0;for(let u=0;u<s;++u){const h=i[t[u]];if(h===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|h,a+=n,a>=8&&(a-=8,o[f++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},f4=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},He=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>Ma({prefix:e,name:t,encode(i){return f4(i,r,n)},decode(i){return c4(i,r,n,t)}}),u4=Ma({prefix:"\0",name:"identity",encode:t=>r4(t),decode:t=>n4(t)});var l4=Object.freeze({__proto__:null,identity:u4});const h4=He({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var d4=Object.freeze({__proto__:null,base2:h4});const p4=He({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var g4=Object.freeze({__proto__:null,base8:p4});const y4=ro({prefix:"9",name:"base10",alphabet:"0123456789"});var b4=Object.freeze({__proto__:null,base10:y4});const w4=He({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),m4=He({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var v4=Object.freeze({__proto__:null,base16:w4,base16upper:m4});const E4=He({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),x4=He({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),_4=He({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),I4=He({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),S4=He({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),B4=He({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),$4=He({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),A4=He({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),O4=He({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var D4=Object.freeze({__proto__:null,base32:E4,base32upper:x4,base32pad:_4,base32padupper:I4,base32hex:S4,base32hexupper:B4,base32hexpad:$4,base32hexpadupper:A4,base32z:O4});const P4=ro({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),R4=ro({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var T4=Object.freeze({__proto__:null,base36:P4,base36upper:R4});const N4=ro({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),U4=ro({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var C4=Object.freeze({__proto__:null,base58btc:N4,base58flickr:U4});const F4=He({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),L4=He({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),k4=He({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),q4=He({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var M4=Object.freeze({__proto__:null,base64:F4,base64pad:L4,base64url:k4,base64urlpad:q4});const vg=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),j4=vg.reduce((t,e,n)=>(t[n]=e,t),[]),z4=vg.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function H4(t){return t.reduce((e,n)=>(e+=j4[n],e),"")}function V4(t){const e=[];for(const n of t){const r=z4[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const K4=Ma({prefix:"\u{1F680}",name:"base256emoji",encode:H4,decode:V4});var G4=Object.freeze({__proto__:null,base256emoji:K4}),Z4=xg,Eg=128,W4=127,Y4=~W4,X4=Math.pow(2,31);function xg(t,e,n){e=e||[],n=n||0;for(var r=n;t>=X4;)e[n++]=t&255|Eg,t/=128;for(;t&Y4;)e[n++]=t&255|Eg,t>>>=7;return e[n]=t|0,xg.bytes=n-r+1,e}var J4=Ru,Q4=128,_g=127;function Ru(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw Ru.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&_g)<<i:(o&_g)*Math.pow(2,i),i+=7}while(o>=Q4);return Ru.bytes=s-r,n}var e5=Math.pow(2,7),t5=Math.pow(2,14),n5=Math.pow(2,21),r5=Math.pow(2,28),i5=Math.pow(2,35),s5=Math.pow(2,42),o5=Math.pow(2,49),a5=Math.pow(2,56),c5=Math.pow(2,63),f5=function(t){return t<e5?1:t<t5?2:t<n5?3:t<r5?4:t<i5?5:t<s5?6:t<o5?7:t<a5?8:t<c5?9:10},u5={encode:Z4,decode:J4,encodingLength:f5},Ig=u5;const Sg=(t,e,n=0)=>(Ig.encode(t,e,n),e),Bg=t=>Ig.encodingLength(t),Tu=(t,e)=>{const n=e.byteLength,r=Bg(t),i=r+Bg(n),s=new Uint8Array(i+n);return Sg(t,s,0),Sg(n,s,r),s.set(e,i),new l5(t,n,e,s)};class l5{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const $g=({name:t,code:e,encode:n})=>new h5(t,e,n);class h5{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?Tu(this.code,n):n.then(r=>Tu(this.code,r))}else throw Error("Unknown type, must be binary type")}}const Ag=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),d5=$g({name:"sha2-256",code:18,encode:Ag("SHA-256")}),p5=$g({name:"sha2-512",code:19,encode:Ag("SHA-512")});var g5=Object.freeze({__proto__:null,sha256:d5,sha512:p5});const Og=0,y5="identity",Dg=wg;var b5=Object.freeze({__proto__:null,identity:{code:Og,name:y5,encode:Dg,digest:t=>Tu(Og,Dg(t))}});new TextEncoder,new TextDecoder;const Pg={...l4,...d4,...g4,...b4,...v4,...D4,...T4,...C4,...M4,...G4};({...g5,...b5});function Rg(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const Tg=Rg("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),Nu=Rg("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=yg(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),Ng={utf8:Tg,"utf-8":Tg,hex:Pg.base16,latin1:Nu,ascii:Nu,binary:Nu,...Pg};function ja(t,e="utf8"){const n=Ng[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}function ls(t,e="utf8"){const n=Ng[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Pu(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}function Ug(t){return fs(ja(ls(t,qa),dg))}function za(t){return ja(ls(to(t),dg),qa)}function Cg(t){const e=ls(Xx,gg),n=Yx+ja(bg([e,t]),gg);return[Zx,Wx,n].join(Gx)}function w5(t){return ja(t,qa)}function m5(t){return ls(t,qa)}function v5(t){return ls([za(t.header),za(t.payload)].join(ka),pg)}function E5(t){return[za(t.header),za(t.payload),w5(t.signature)].join(ka)}function Uu(t){const e=t.split(ka),n=Ug(e[0]),r=Ug(e[1]),i=m5(e[2]),s=ls(e.slice(0,2).join(ka),pg);return{header:n,payload:r,signature:i,data:s}}function Fg(t=Gp(Jx)){const e=hg.getPublicKey(t);return{secretKey:bg([t,e]),publicKey:e}}async function x5(t,e,n,r,i=Z.fromMiliseconds(Date.now())){const s={alg:Vx,typ:Kx},o=Cg(r.publicKey),a=i+n,c={iss:o,sub:t,aud:e,iat:i,exp:a},f=v5({header:s,payload:c}),u=hg.sign(f,r.secretKey.slice(0,32));return E5({header:s,payload:c,signature:u})}function Cu(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function Lg(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Cu(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function io(t,e){e||(e=t.reduce((i,s)=>i+s.length,0));const n=Lg(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return Cu(n)}function _5(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),f=Math.log(a)/Math.log(256),u=Math.log(256)/Math.log(a);function h(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var b=0,v=0,O=0,P=p.length;O!==P&&p[O]===0;)O++,b++;for(var x=(P-O)*u+1>>>0,S=new Uint8Array(x);O!==P;){for(var R=p[O],U=0,L=x-1;(R!==0||U<v)&&L!==-1;L--,U++)R+=256*S[L]>>>0,S[L]=R%a>>>0,R=R/a>>>0;if(R!==0)throw new Error("Non-zero carry");v=U,O++}for(var C=x-v;C!==x&&S[C]===0;)C++;for(var A=c.repeat(b);C<x;++C)A+=t.charAt(S[C]);return A}function l(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var b=0;if(p[b]!==" "){for(var v=0,O=0;p[b]===c;)v++,b++;for(var P=(p.length-b)*f+1>>>0,x=new Uint8Array(P);p[b];){var S=n[p.charCodeAt(b)];if(S===255)return;for(var R=0,U=P-1;(S!==0||R<O)&&U!==-1;U--,R++)S+=a*x[U]>>>0,x[U]=S%256>>>0,S=S/256>>>0;if(S!==0)throw new Error("Non-zero carry");O=R,b++}if(p[b]!==" "){for(var L=P-O;L!==P&&x[L]===0;)L++;for(var C=new Uint8Array(v+(P-L)),A=v;L!==P;)C[A++]=x[L++];return C}}}function d(p){var b=l(p);if(b)return b;throw new Error(`Non-${e} character`)}return{encode:h,decodeUnsafe:l,decode:d}}var I5=_5,S5=I5;const kg=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},B5=t=>new TextEncoder().encode(t),$5=t=>new TextDecoder().decode(t);class A5{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class O5{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return qg(this,e)}}class D5{constructor(e){this.decoders=e}or(e){return qg(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const qg=(t,e)=>new D5({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class P5{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new A5(e,n,r),this.decoder=new O5(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const Ha=({name:t,prefix:e,encode:n,decode:r})=>new P5(t,e,n,r),so=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=S5(n,e);return Ha({prefix:t,name:e,encode:r,decode:s=>kg(i(s))})},R5=(t,e,n,r)=>{const i={};for(let u=0;u<e.length;++u)i[e[u]]=u;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,f=0;for(let u=0;u<s;++u){const h=i[t[u]];if(h===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|h,a+=n,a>=8&&(a-=8,o[f++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},T5=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},Ve=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>Ha({prefix:e,name:t,encode(i){return T5(i,r,n)},decode(i){return R5(i,r,n,t)}}),N5=Ha({prefix:"\0",name:"identity",encode:t=>$5(t),decode:t=>B5(t)});var U5=Object.freeze({__proto__:null,identity:N5});const C5=Ve({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var F5=Object.freeze({__proto__:null,base2:C5});const L5=Ve({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var k5=Object.freeze({__proto__:null,base8:L5});const q5=so({prefix:"9",name:"base10",alphabet:"0123456789"});var M5=Object.freeze({__proto__:null,base10:q5});const j5=Ve({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),z5=Ve({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var H5=Object.freeze({__proto__:null,base16:j5,base16upper:z5});const V5=Ve({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),K5=Ve({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),G5=Ve({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),Z5=Ve({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),W5=Ve({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Y5=Ve({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),X5=Ve({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),J5=Ve({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),Q5=Ve({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var e_=Object.freeze({__proto__:null,base32:V5,base32upper:K5,base32pad:G5,base32padupper:Z5,base32hex:W5,base32hexupper:Y5,base32hexpad:X5,base32hexpadupper:J5,base32z:Q5});const t_=so({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),n_=so({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var r_=Object.freeze({__proto__:null,base36:t_,base36upper:n_});const i_=so({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),s_=so({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var o_=Object.freeze({__proto__:null,base58btc:i_,base58flickr:s_});const a_=Ve({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),c_=Ve({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),f_=Ve({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),u_=Ve({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var l_=Object.freeze({__proto__:null,base64:a_,base64pad:c_,base64url:f_,base64urlpad:u_});const Mg=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),h_=Mg.reduce((t,e,n)=>(t[n]=e,t),[]),d_=Mg.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function p_(t){return t.reduce((e,n)=>(e+=h_[n],e),"")}function g_(t){const e=[];for(const n of t){const r=d_[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const y_=Ha({prefix:"\u{1F680}",name:"base256emoji",encode:p_,decode:g_});var b_=Object.freeze({__proto__:null,base256emoji:y_}),w_=zg,jg=128,m_=127,v_=~m_,E_=Math.pow(2,31);function zg(t,e,n){e=e||[],n=n||0;for(var r=n;t>=E_;)e[n++]=t&255|jg,t/=128;for(;t&v_;)e[n++]=t&255|jg,t>>>=7;return e[n]=t|0,zg.bytes=n-r+1,e}var x_=Fu,__=128,Hg=127;function Fu(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw Fu.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&Hg)<<i:(o&Hg)*Math.pow(2,i),i+=7}while(o>=__);return Fu.bytes=s-r,n}var I_=Math.pow(2,7),S_=Math.pow(2,14),B_=Math.pow(2,21),$_=Math.pow(2,28),A_=Math.pow(2,35),O_=Math.pow(2,42),D_=Math.pow(2,49),P_=Math.pow(2,56),R_=Math.pow(2,63),T_=function(t){return t<I_?1:t<S_?2:t<B_?3:t<$_?4:t<A_?5:t<O_?6:t<D_?7:t<P_?8:t<R_?9:10},N_={encode:w_,decode:x_,encodingLength:T_},Vg=N_;const Kg=(t,e,n=0)=>(Vg.encode(t,e,n),e),Gg=t=>Vg.encodingLength(t),Lu=(t,e)=>{const n=e.byteLength,r=Gg(t),i=r+Gg(n),s=new Uint8Array(i+n);return Kg(t,s,0),Kg(n,s,r),s.set(e,i),new U_(t,n,e,s)};class U_{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const Zg=({name:t,code:e,encode:n})=>new C_(t,e,n);class C_{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?Lu(this.code,n):n.then(r=>Lu(this.code,r))}else throw Error("Unknown type, must be binary type")}}const Wg=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),F_=Zg({name:"sha2-256",code:18,encode:Wg("SHA-256")}),L_=Zg({name:"sha2-512",code:19,encode:Wg("SHA-512")});var k_=Object.freeze({__proto__:null,sha256:F_,sha512:L_});const Yg=0,q_="identity",Xg=kg;var M_=Object.freeze({__proto__:null,identity:{code:Yg,name:q_,encode:Xg,digest:t=>Lu(Yg,Xg(t))}});new TextEncoder,new TextDecoder;const Jg={...U5,...F5,...k5,...M5,...H5,...e_,...r_,...o_,...l_,...b_};({...k_,...M_});function Qg(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const e1=Qg("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),ku=Qg("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=Lg(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),t1={utf8:e1,"utf-8":e1,hex:Jg.base16,latin1:ku,ascii:ku,binary:ku,...Jg};function Yt(t,e="utf8"){const n=t1[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Cu(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}function At(t,e="utf8"){const n=t1[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}const j_={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}},z_="Input must be an string, Buffer or Uint8Array";function H_(t){let e;if(t instanceof Uint8Array)e=t;else if(typeof t=="string")e=new TextEncoder().encode(t);else throw new Error(z_);return e}function V_(t){return Array.prototype.map.call(t,function(e){return(e<16?"0":"")+e.toString(16)}).join("")}function Va(t){return(4294967296+t).toString(16).substring(1)}function K_(t,e,n){let r=`
|
|
17
|
-
`+t+" = ";for(let i=0;i<e.length;i+=2){if(n===32)r+=
|
|
18
|
-
`+new Array(t.length+4).join(" "):i<e.length-2&&(r+=" ")}console.log(r)}function G_(t,e,n){let r=new Date().getTime();const i=new Uint8Array(e);for(let o=0;o<e;o++)i[o]=o%256;const s=new Date().getTime();console.log("Generated random input in "+(s-r)+"ms"),r=s;for(let o=0;o<n;o++){const a=t(i),c=new Date().getTime(),f=c-r;r=c,console.log("Hashed in "+f+"ms: "+a.substring(0,20)+"..."),console.log(Math.round(e/(1<<20)/(f/1e3)*100)/100+" MB PER SECOND")}}var n1={normalizeInput:H_,toHex:V_,debugPrint:K_,testSpeed:G_};const Ka=n1;function Ga(t,e,n){const r=t[e]+t[n];let i=t[e+1]+t[n+1];r>=4294967296&&i++,t[e]=r,t[e+1]=i}function r1(t,e,n,r){let i=t[e]+n;n<0&&(i+=4294967296);let s=t[e+1]+r;i>=4294967296&&s++,t[e]=i,t[e+1]=s}function i1(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function Pr(t,e,n,r,i,s){const o=oo[i],a=oo[i+1],c=oo[s],f=oo[s+1];Ga(ne,t,e),r1(ne,t,o,a);let u=ne[r]^ne[t],h=ne[r+1]^ne[t+1];ne[r]=h,ne[r+1]=u,Ga(ne,n,r),u=ne[e]^ne[n],h=ne[e+1]^ne[n+1],ne[e]=u>>>24^h<<8,ne[e+1]=h>>>24^u<<8,Ga(ne,t,e),r1(ne,t,c,f),u=ne[r]^ne[t],h=ne[r+1]^ne[t+1],ne[r]=u>>>16^h<<16,ne[r+1]=h>>>16^u<<16,Ga(ne,n,r),u=ne[e]^ne[n],h=ne[e+1]^ne[n+1],ne[e]=h>>>31^u<<1,ne[e+1]=u>>>31^h<<1}const s1=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),Z_=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],rt=new Uint8Array(Z_.map(function(t){return t*2})),ne=new Uint32Array(32),oo=new Uint32Array(32);function o1(t,e){let n=0;for(n=0;n<16;n++)ne[n]=t.h[n],ne[n+16]=s1[n];for(ne[24]=ne[24]^t.t,ne[25]=ne[25]^t.t/4294967296,e&&(ne[28]=~ne[28],ne[29]=~ne[29]),n=0;n<32;n++)oo[n]=i1(t.b,4*n);for(n=0;n<12;n++)Pr(0,8,16,24,rt[n*16+0],rt[n*16+1]),Pr(2,10,18,26,rt[n*16+2],rt[n*16+3]),Pr(4,12,20,28,rt[n*16+4],rt[n*16+5]),Pr(6,14,22,30,rt[n*16+6],rt[n*16+7]),Pr(0,10,20,30,rt[n*16+8],rt[n*16+9]),Pr(2,12,22,24,rt[n*16+10],rt[n*16+11]),Pr(4,14,16,26,rt[n*16+12],rt[n*16+13]),Pr(6,8,18,28,rt[n*16+14],rt[n*16+15]);for(n=0;n<16;n++)t.h[n]=t.h[n]^ne[n]^ne[n+16]}const Rr=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function a1(t,e,n,r){if(t===0||t>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(e&&e.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(n&&n.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(r&&r.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const i={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:t};Rr.fill(0),Rr[0]=t,e&&(Rr[1]=e.length),Rr[2]=1,Rr[3]=1,n&&Rr.set(n,32),r&&Rr.set(r,48);for(let s=0;s<16;s++)i.h[s]=s1[s]^i1(Rr,s*4);return e&&(qu(i,e),i.c=128),i}function qu(t,e){for(let n=0;n<e.length;n++)t.c===128&&(t.t+=t.c,o1(t,!1),t.c=0),t.b[t.c++]=e[n]}function c1(t){for(t.t+=t.c;t.c<128;)t.b[t.c++]=0;o1(t,!0);const e=new Uint8Array(t.outlen);for(let n=0;n<t.outlen;n++)e[n]=t.h[n>>2]>>8*(n&3);return e}function f1(t,e,n,r,i){n=n||64,t=Ka.normalizeInput(t),r&&(r=Ka.normalizeInput(r)),i&&(i=Ka.normalizeInput(i));const s=a1(n,e,r,i);return qu(s,t),c1(s)}function W_(t,e,n,r,i){const s=f1(t,e,n,r,i);return Ka.toHex(s)}var Y_={blake2b:f1,blake2bHex:W_,blake2bInit:a1,blake2bUpdate:qu,blake2bFinal:c1};const u1=n1;function X_(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function Tr(t,e,n,r,i,s){fe[t]=fe[t]+fe[e]+i,fe[r]=Za(fe[r]^fe[t],16),fe[n]=fe[n]+fe[r],fe[e]=Za(fe[e]^fe[n],12),fe[t]=fe[t]+fe[e]+s,fe[r]=Za(fe[r]^fe[t],8),fe[n]=fe[n]+fe[r],fe[e]=Za(fe[e]^fe[n],7)}function Za(t,e){return t>>>e^t<<32-e}const l1=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),it=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),fe=new Uint32Array(16),Ke=new Uint32Array(16);function h1(t,e){let n=0;for(n=0;n<8;n++)fe[n]=t.h[n],fe[n+8]=l1[n];for(fe[12]^=t.t,fe[13]^=t.t/4294967296,e&&(fe[14]=~fe[14]),n=0;n<16;n++)Ke[n]=X_(t.b,4*n);for(n=0;n<10;n++)Tr(0,4,8,12,Ke[it[n*16+0]],Ke[it[n*16+1]]),Tr(1,5,9,13,Ke[it[n*16+2]],Ke[it[n*16+3]]),Tr(2,6,10,14,Ke[it[n*16+4]],Ke[it[n*16+5]]),Tr(3,7,11,15,Ke[it[n*16+6]],Ke[it[n*16+7]]),Tr(0,5,10,15,Ke[it[n*16+8]],Ke[it[n*16+9]]),Tr(1,6,11,12,Ke[it[n*16+10]],Ke[it[n*16+11]]),Tr(2,7,8,13,Ke[it[n*16+12]],Ke[it[n*16+13]]),Tr(3,4,9,14,Ke[it[n*16+14]],Ke[it[n*16+15]]);for(n=0;n<8;n++)t.h[n]^=fe[n]^fe[n+8]}function d1(t,e){if(!(t>0&&t<=32))throw new Error("Incorrect output length, should be in [1, 32]");const n=e?e.length:0;if(e&&!(n>0&&n<=32))throw new Error("Incorrect key length, should be in [1, 32]");const r={h:new Uint32Array(l1),b:new Uint8Array(64),c:0,t:0,outlen:t};return r.h[0]^=16842752^n<<8^t,n>0&&(Mu(r,e),r.c=64),r}function Mu(t,e){for(let n=0;n<e.length;n++)t.c===64&&(t.t+=t.c,h1(t,!1),t.c=0),t.b[t.c++]=e[n]}function p1(t){for(t.t+=t.c;t.c<64;)t.b[t.c++]=0;h1(t,!0);const e=new Uint8Array(t.outlen);for(let n=0;n<t.outlen;n++)e[n]=t.h[n>>2]>>8*(n&3)&255;return e}function g1(t,e,n){n=n||32,t=u1.normalizeInput(t);const r=d1(n,e);return Mu(r,t),p1(r)}function J_(t,e,n){const r=g1(t,e,n);return u1.toHex(r)}var Q_={blake2s:g1,blake2sHex:J_,blake2sInit:d1,blake2sUpdate:Mu,blake2sFinal:p1};const ao=Y_,co=Q_;var e9={blake2b:ao.blake2b,blake2bHex:ao.blake2bHex,blake2bInit:ao.blake2bInit,blake2bUpdate:ao.blake2bUpdate,blake2bFinal:ao.blake2bFinal,blake2s:co.blake2s,blake2sHex:co.blake2sHex,blake2sInit:co.blake2sInit,blake2sUpdate:co.blake2sUpdate,blake2sFinal:co.blake2sFinal};const t9="ReactNative";function y1(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}function ju(){return!Un()&&!!Fs()&&navigator.product===t9}function n9(){return ju()&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"&&(global==null?void 0:global.Platform.OS)==="android"}function r9(){return ju()&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"&&(global==null?void 0:global.Platform.OS)==="ios"}function i9(){return!y1()&&!!Fs()&&!!Un()}function s9(){var t;try{return ju()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(t=global.Application)==null?void 0:t.applicationId:void 0}catch{return}}const Wa=BigInt(2**32-1),b1=BigInt(32);function w1(t,e=!1){return e?{h:Number(t&Wa),l:Number(t>>b1&Wa)}:{h:Number(t>>b1&Wa)|0,l:Number(t&Wa)|0}}function m1(t,e=!1){const n=t.length;let r=new Uint32Array(n),i=new Uint32Array(n);for(let s=0;s<n;s++){const{h:o,l:a}=w1(t[s],e);[r[s],i[s]]=[o,a]}return[r,i]}const v1=(t,e,n)=>t>>>n,E1=(t,e,n)=>t<<32-n|e>>>n,Nr=(t,e,n)=>t>>>n|e<<32-n,Ur=(t,e,n)=>t<<32-n|e>>>n,fo=(t,e,n)=>t<<64-n|e>>>n-32,uo=(t,e,n)=>t>>>n-32|e<<64-n,o9=(t,e)=>e,a9=(t,e)=>t,c9=(t,e,n)=>t<<n|e>>>32-n,f9=(t,e,n)=>e<<n|t>>>32-n,u9=(t,e,n)=>e<<n-32|t>>>64-n,l9=(t,e,n)=>t<<n-32|e>>>64-n;function cn(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const zu=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),Hu=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,h9=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),d9=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,p9=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),g9=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,hs=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function Ya(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Cr(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function fn(t,...e){if(!Ya(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function x1(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");Cr(t.outputLen),Cr(t.blockLen)}function Fr(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Vu(t,e){fn(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function lo(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function un(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function Ku(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Sn(t,e){return t<<32-e|t>>>e}const _1=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function I1(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}const Yn=_1?t=>t:t=>I1(t);function y9(t){for(let e=0;e<t.length;e++)t[e]=I1(t[e]);return t}const Lr=_1?t=>t:y9,S1=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",b9=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function ds(t){if(fn(t),S1)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=b9[t[n]];return e}const Xn={_0:48,_9:57,A:65,F:70,a:97,f:102};function B1(t){if(t>=Xn._0&&t<=Xn._9)return t-Xn._0;if(t>=Xn.A&&t<=Xn.F)return t-(Xn.A-10);if(t>=Xn.a&&t<=Xn.f)return t-(Xn.a-10)}function Xa(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(S1)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=B1(t.charCodeAt(s)),a=B1(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function $1(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Jn(t){return typeof t=="string"&&(t=$1(t)),fn(t),t}function kr(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];fn(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class Ja{}function ho(t){const e=r=>t().update(Jn(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function w9(t){const e=(r,i)=>t(i).update(Jn(r)).digest(),n=t({});return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=r=>t(r),e}function Gu(t=32){if(hs&&typeof hs.getRandomValues=="function")return hs.getRandomValues(new Uint8Array(t));if(hs&&typeof hs.randomBytes=="function")return Uint8Array.from(hs.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}const m9=BigInt(0),po=BigInt(1),v9=BigInt(2),E9=BigInt(7),x9=BigInt(256),_9=BigInt(113),A1=[],O1=[],D1=[];for(let t=0,e=po,n=1,r=0;t<24;t++){[n,r]=[r,(2*n+3*r)%5],A1.push(2*(5*r+n)),O1.push((t+1)*(t+2)/2%64);let i=m9;for(let s=0;s<7;s++)e=(e<<po^(e>>E9)*_9)%x9,e&v9&&(i^=po<<(po<<BigInt(s))-po);D1.push(i)}const P1=m1(D1,!0),I9=P1[0],S9=P1[1],R1=(t,e,n)=>n>32?u9(t,e,n):c9(t,e,n),T1=(t,e,n)=>n>32?l9(t,e,n):f9(t,e,n);function B9(t,e=24){const n=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let o=0;o<10;o++)n[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,f=n[c],u=n[c+1],h=R1(f,u,1)^n[a],l=T1(f,u,1)^n[a+1];for(let d=0;d<50;d+=10)t[o+d]^=h,t[o+d+1]^=l}let i=t[2],s=t[3];for(let o=0;o<24;o++){const a=O1[o],c=R1(i,s,a),f=T1(i,s,a),u=A1[o];i=t[u],s=t[u+1],t[u]=c,t[u+1]=f}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=t[o+a];for(let a=0;a<10;a++)t[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}t[0]^=I9[r],t[1]^=S9[r]}un(n)}class Zu extends Ja{constructor(e,n,r,i=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=s,Cr(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=lo(this.state)}clone(){return this._cloneInto()}keccak(){Lr(this.state32),B9(this.state32,this.rounds),Lr(this.state32),this.posOut=0,this.pos=0}update(e){Fr(this),e=Jn(e),fn(e);const{blockLen:n,state:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(n-this.pos,i-s);for(let a=0;a<o;a++)r[this.pos++]^=e[s++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:n,pos:r,blockLen:i}=this;e[r]^=n,(n&128)!==0&&r===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){Fr(this,!1),fn(e),this.finish();const n=this.state,{blockLen:r}=this;for(let i=0,s=e.length;i<s;){this.posOut>=r&&this.keccak();const o=Math.min(r-this.posOut,s-i);e.set(n.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return Cr(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(Vu(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,un(this.state)}_cloneInto(e){const{blockLen:n,suffix:r,outputLen:i,rounds:s,enableXOF:o}=this;return e||(e=new Zu(n,r,i,o,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=i,e.enableXOF=o,e.destroyed=this.destroyed,e}}((t,e,n)=>ho(()=>new Zu(e,t,n)))(1,136,256/8);function $9(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,f=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+f,a,r)}function A9(t,e,n){return t&e^~t&n}function O9(t,e,n){return t&e^t&n^e&n}class N1 extends Ja{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=Ku(this.buffer)}update(e){Fr(this),e=Jn(e),fn(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=Ku(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Fr(this),Vu(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,un(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let h=o;h<i;h++)n[h]=0;$9(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=Ku(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const f=c/4,u=this.get();if(f>u.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<f;h++)a.setUint32(4*h,u[h],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const qr=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),st=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),ot=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),D9=Uint32Array.from([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]),Mr=new Uint32Array(64);class P9 extends N1{constructor(e=32){super(64,e,8,!1),this.A=qr[0]|0,this.B=qr[1]|0,this.C=qr[2]|0,this.D=qr[3]|0,this.E=qr[4]|0,this.F=qr[5]|0,this.G=qr[6]|0,this.H=qr[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let h=0;h<16;h++,n+=4)Mr[h]=e.getUint32(n,!1);for(let h=16;h<64;h++){const l=Mr[h-15],d=Mr[h-2],p=Sn(l,7)^Sn(l,18)^l>>>3,b=Sn(d,17)^Sn(d,19)^d>>>10;Mr[h]=b+Mr[h-7]+p+Mr[h-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:f,H:u}=this;for(let h=0;h<64;h++){const l=Sn(a,6)^Sn(a,11)^Sn(a,25),d=u+l+A9(a,c,f)+D9[h]+Mr[h]|0,p=(Sn(r,2)^Sn(r,13)^Sn(r,22))+O9(r,i,s)|0;u=f,f=c,c=a,a=o+d|0,o=s,s=i,i=r,r=d+p|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,f=f+this.G|0,u=u+this.H|0,this.set(r,i,s,o,a,c,f,u)}roundClean(){un(Mr)}destroy(){this.set(0,0,0,0,0,0,0,0),un(this.buffer)}}const U1=m1(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),R9=U1[0],T9=U1[1],jr=new Uint32Array(80),zr=new Uint32Array(80);class Wu extends N1{constructor(e=64){super(128,e,16,!1),this.Ah=ot[0]|0,this.Al=ot[1]|0,this.Bh=ot[2]|0,this.Bl=ot[3]|0,this.Ch=ot[4]|0,this.Cl=ot[5]|0,this.Dh=ot[6]|0,this.Dl=ot[7]|0,this.Eh=ot[8]|0,this.El=ot[9]|0,this.Fh=ot[10]|0,this.Fl=ot[11]|0,this.Gh=ot[12]|0,this.Gl=ot[13]|0,this.Hh=ot[14]|0,this.Hl=ot[15]|0}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:f,El:u,Fh:h,Fl:l,Gh:d,Gl:p,Hh:b,Hl:v}=this;return[e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v]}set(e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=f|0,this.El=u|0,this.Fh=h|0,this.Fl=l|0,this.Gh=d|0,this.Gl=p|0,this.Hh=b|0,this.Hl=v|0}process(e,n){for(let x=0;x<16;x++,n+=4)jr[x]=e.getUint32(n),zr[x]=e.getUint32(n+=4);for(let x=16;x<80;x++){const S=jr[x-15]|0,R=zr[x-15]|0,U=Nr(S,R,1)^Nr(S,R,8)^v1(S,R,7),L=Ur(S,R,1)^Ur(S,R,8)^E1(S,R,7),C=jr[x-2]|0,A=zr[x-2]|0,j=Nr(C,A,19)^fo(C,A,61)^v1(C,A,6),q=Ur(C,A,19)^uo(C,A,61)^E1(C,A,6),E=h9(L,q,zr[x-7],zr[x-16]),y=d9(E,U,j,jr[x-7],jr[x-16]);jr[x]=y|0,zr[x]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:f,Dl:u,Eh:h,El:l,Fh:d,Fl:p,Gh:b,Gl:v,Hh:O,Hl:P}=this;for(let x=0;x<80;x++){const S=Nr(h,l,14)^Nr(h,l,18)^fo(h,l,41),R=Ur(h,l,14)^Ur(h,l,18)^uo(h,l,41),U=h&d^~h&b,L=l&p^~l&v,C=p9(P,R,L,T9[x],zr[x]),A=g9(C,O,S,U,R9[x],jr[x]),j=C|0,q=Nr(r,i,28)^fo(r,i,34)^fo(r,i,39),E=Ur(r,i,28)^uo(r,i,34)^uo(r,i,39),y=r&s^r&a^s&a,w=i&o^i&c^o&c;O=b|0,P=v|0,b=d|0,v=p|0,d=h|0,p=l|0,{h,l}=cn(f|0,u|0,A|0,j|0),f=a|0,u=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=zu(j,E,w);r=Hu(g,A,q,y),i=g|0}({h:r,l:i}=cn(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=cn(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=cn(this.Ch|0,this.Cl|0,a|0,c|0),{h:f,l:u}=cn(this.Dh|0,this.Dl|0,f|0,u|0),{h,l}=cn(this.Eh|0,this.El|0,h|0,l|0),{h:d,l:p}=cn(this.Fh|0,this.Fl|0,d|0,p|0),{h:b,l:v}=cn(this.Gh|0,this.Gl|0,b|0,v|0),{h:O,l:P}=cn(this.Hh|0,this.Hl|0,O|0,P|0),this.set(r,i,s,o,a,c,f,u,h,l,d,p,b,v,O,P)}roundClean(){un(jr,zr)}destroy(){un(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class N9 extends Wu{constructor(){super(48),this.Ah=st[0]|0,this.Al=st[1]|0,this.Bh=st[2]|0,this.Bl=st[3]|0,this.Ch=st[4]|0,this.Cl=st[5]|0,this.Dh=st[6]|0,this.Dl=st[7]|0,this.Eh=st[8]|0,this.El=st[9]|0,this.Fh=st[10]|0,this.Fl=st[11]|0,this.Gh=st[12]|0,this.Gl=st[13]|0,this.Hh=st[14]|0,this.Hl=st[15]|0}}const at=Uint32Array.from([573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882]);class U9 extends Wu{constructor(){super(32),this.Ah=at[0]|0,this.Al=at[1]|0,this.Bh=at[2]|0,this.Bl=at[3]|0,this.Ch=at[4]|0,this.Cl=at[5]|0,this.Dh=at[6]|0,this.Dl=at[7]|0,this.Eh=at[8]|0,this.El=at[9]|0,this.Fh=at[10]|0,this.Fl=at[11]|0,this.Gh=at[12]|0,this.Gl=at[13]|0,this.Hh=at[14]|0,this.Hl=at[15]|0}}const C9=ho(()=>new P9),F9=ho(()=>new Wu),L9=ho(()=>new N9);ho(()=>new U9);const k9=Uint8Array.from([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9]),Ne=Uint32Array.from([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),Y=new Uint32Array(32);function Hr(t,e,n,r,i,s){const o=i[s],a=i[s+1];let c=Y[2*t],f=Y[2*t+1],u=Y[2*e],h=Y[2*e+1],l=Y[2*n],d=Y[2*n+1],p=Y[2*r],b=Y[2*r+1],v=zu(c,u,o);f=Hu(v,f,h,a),c=v|0,{Dh:b,Dl:p}={Dh:b^f,Dl:p^c},{Dh:b,Dl:p}={Dh:o9(b,p),Dl:a9(b)},{h:d,l}=cn(d,l,b,p),{Bh:h,Bl:u}={Bh:h^d,Bl:u^l},{Bh:h,Bl:u}={Bh:Nr(h,u,24),Bl:Ur(h,u,24)},Y[2*t]=c,Y[2*t+1]=f,Y[2*e]=u,Y[2*e+1]=h,Y[2*n]=l,Y[2*n+1]=d,Y[2*r]=p,Y[2*r+1]=b}function Vr(t,e,n,r,i,s){const o=i[s],a=i[s+1];let c=Y[2*t],f=Y[2*t+1],u=Y[2*e],h=Y[2*e+1],l=Y[2*n],d=Y[2*n+1],p=Y[2*r],b=Y[2*r+1],v=zu(c,u,o);f=Hu(v,f,h,a),c=v|0,{Dh:b,Dl:p}={Dh:b^f,Dl:p^c},{Dh:b,Dl:p}={Dh:Nr(b,p,16),Dl:Ur(b,p,16)},{h:d,l}=cn(d,l,b,p),{Bh:h,Bl:u}={Bh:h^d,Bl:u^l},{Bh:h,Bl:u}={Bh:fo(h,u,63),Bl:uo(h,u,63)},Y[2*t]=c,Y[2*t+1]=f,Y[2*e]=u,Y[2*e+1]=h,Y[2*n]=l,Y[2*n+1]=d,Y[2*r]=p,Y[2*r+1]=b}function q9(t,e={},n,r,i){if(Cr(n),t<0||t>n)throw new Error("outputLen bigger than keyLen");const{key:s,salt:o,personalization:a}=e;if(s!==void 0&&(s.length<1||s.length>n))throw new Error("key length must be undefined or 1.."+n);if(o!==void 0&&o.length!==r)throw new Error("salt must be undefined or "+r);if(a!==void 0&&a.length!==i)throw new Error("personalization must be undefined or "+i)}class M9 extends Ja{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,this.length=0,this.pos=0,Cr(e),Cr(n),this.blockLen=e,this.outputLen=n,this.buffer=new Uint8Array(e),this.buffer32=lo(this.buffer)}update(e){Fr(this),e=Jn(e),fn(e);const{blockLen:n,buffer:r,buffer32:i}=this,s=e.length,o=e.byteOffset,a=e.buffer;for(let c=0;c<s;){this.pos===n&&(Lr(i),this.compress(i,0,!1),Lr(i),this.pos=0);const f=Math.min(n-this.pos,s-c),u=o+c;if(f===n&&!(u%4)&&c+f<s){const h=new Uint32Array(a,u,Math.floor((s-c)/4));Lr(h);for(let l=0;c+n<s;l+=i.length,c+=n)this.length+=n,this.compress(h,l,!1);Lr(h);continue}r.set(e.subarray(c,c+f),this.pos),this.pos+=f,this.length+=f,c+=f}return this}digestInto(e){Fr(this),Vu(e,this);const{pos:n,buffer32:r}=this;this.finished=!0,un(this.buffer.subarray(n)),Lr(r),this.compress(r,0,!0),Lr(r);const i=lo(e);this.get().forEach((s,o)=>i[o]=Yn(s))}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){const{buffer:n,length:r,finished:i,destroyed:s,outputLen:o,pos:a}=this;return e||(e=new this.constructor({dkLen:o})),e.set(...this.get()),e.buffer.set(n),e.destroyed=s,e.finished=i,e.length=r,e.pos=a,e.outputLen=o,e}clone(){return this._cloneInto()}}class j9 extends M9{constructor(e={}){const n=e.dkLen===void 0?64:e.dkLen;super(128,n),this.v0l=Ne[0]|0,this.v0h=Ne[1]|0,this.v1l=Ne[2]|0,this.v1h=Ne[3]|0,this.v2l=Ne[4]|0,this.v2h=Ne[5]|0,this.v3l=Ne[6]|0,this.v3h=Ne[7]|0,this.v4l=Ne[8]|0,this.v4h=Ne[9]|0,this.v5l=Ne[10]|0,this.v5h=Ne[11]|0,this.v6l=Ne[12]|0,this.v6h=Ne[13]|0,this.v7l=Ne[14]|0,this.v7h=Ne[15]|0,q9(n,e,64,16,16);let{key:r,personalization:i,salt:s}=e,o=0;if(r!==void 0&&(r=Jn(r),o=r.length),this.v0l^=this.outputLen|o<<8|65536|1<<24,s!==void 0){s=Jn(s);const a=lo(s);this.v4l^=Yn(a[0]),this.v4h^=Yn(a[1]),this.v5l^=Yn(a[2]),this.v5h^=Yn(a[3])}if(i!==void 0){i=Jn(i);const a=lo(i);this.v6l^=Yn(a[0]),this.v6h^=Yn(a[1]),this.v7l^=Yn(a[2]),this.v7h^=Yn(a[3])}if(r!==void 0){const a=new Uint8Array(this.blockLen);a.set(r),this.update(a)}}get(){let{v0l:e,v0h:n,v1l:r,v1h:i,v2l:s,v2h:o,v3l:a,v3h:c,v4l:f,v4h:u,v5l:h,v5h:l,v6l:d,v6h:p,v7l:b,v7h:v}=this;return[e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v]}set(e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v){this.v0l=e|0,this.v0h=n|0,this.v1l=r|0,this.v1h=i|0,this.v2l=s|0,this.v2h=o|0,this.v3l=a|0,this.v3h=c|0,this.v4l=f|0,this.v4h=u|0,this.v5l=h|0,this.v5h=l|0,this.v6l=d|0,this.v6h=p|0,this.v7l=b|0,this.v7h=v|0}compress(e,n,r){this.get().forEach((c,f)=>Y[f]=c),Y.set(Ne,16);let{h:i,l:s}=w1(BigInt(this.length));Y[24]=Ne[8]^s,Y[25]=Ne[9]^i,r&&(Y[28]=~Y[28],Y[29]=~Y[29]);let o=0;const a=k9;for(let c=0;c<12;c++)Hr(0,4,8,12,e,n+2*a[o++]),Vr(0,4,8,12,e,n+2*a[o++]),Hr(1,5,9,13,e,n+2*a[o++]),Vr(1,5,9,13,e,n+2*a[o++]),Hr(2,6,10,14,e,n+2*a[o++]),Vr(2,6,10,14,e,n+2*a[o++]),Hr(3,7,11,15,e,n+2*a[o++]),Vr(3,7,11,15,e,n+2*a[o++]),Hr(0,5,10,15,e,n+2*a[o++]),Vr(0,5,10,15,e,n+2*a[o++]),Hr(1,6,11,12,e,n+2*a[o++]),Vr(1,6,11,12,e,n+2*a[o++]),Hr(2,7,8,13,e,n+2*a[o++]),Vr(2,7,8,13,e,n+2*a[o++]),Hr(3,4,9,14,e,n+2*a[o++]),Vr(3,4,9,14,e,n+2*a[o++]);this.v0l^=Y[0]^Y[16],this.v0h^=Y[1]^Y[17],this.v1l^=Y[2]^Y[18],this.v1h^=Y[3]^Y[19],this.v2l^=Y[4]^Y[20],this.v2h^=Y[5]^Y[21],this.v3l^=Y[6]^Y[22],this.v3h^=Y[7]^Y[23],this.v4l^=Y[8]^Y[24],this.v4h^=Y[9]^Y[25],this.v5l^=Y[10]^Y[26],this.v5h^=Y[11]^Y[27],this.v6l^=Y[12]^Y[28],this.v6h^=Y[13]^Y[29],this.v7l^=Y[14]^Y[30],this.v7h^=Y[15]^Y[31],un(Y)}destroy(){this.destroyed=!0,un(this.buffer32),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}w9(t=>new j9(t));/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */function C1(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Yu(t){if(typeof t!="boolean")throw new Error(`boolean expected, not ${t}`)}function Xu(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function Ot(t,...e){if(!C1(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function F1(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function z9(t,e){Ot(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function Kr(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function ps(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function H9(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}const V9=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function K9(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Ju(t){if(typeof t=="string")t=K9(t);else if(C1(t))t=Qu(t);else throw new Error("Uint8Array expected, got "+typeof t);return t}function G9(t,e){if(e==null||typeof e!="object")throw new Error("options must be defined");return Object.assign(t,e)}function Z9(t,e){if(t.length!==e.length)return!1;let n=0;for(let r=0;r<t.length;r++)n|=t[r]^e[r];return n===0}const W9=(t,e)=>{function n(r,...i){if(Ot(r),!V9)throw new Error("Non little-endian hardware is not yet supported");if(t.nonceLength!==void 0){const f=i[0];if(!f)throw new Error("nonce / iv required");t.varSizeNonce?Ot(f):Ot(f,t.nonceLength)}const s=t.tagLength;s&&i[1]!==void 0&&Ot(i[1]);const o=e(r,...i),a=(f,u)=>{if(u!==void 0){if(f!==2)throw new Error("cipher output not supported");Ot(u)}};let c=!1;return{encrypt(f,u){if(c)throw new Error("cannot encrypt() twice with same key + nonce");return c=!0,Ot(f),a(o.encrypt.length,u),o.encrypt(f,u)},decrypt(f,u){if(Ot(f),s&&f.length<s)throw new Error("invalid ciphertext length: smaller than tagLength="+s);return a(o.decrypt.length,u),o.decrypt(f,u)}}}return Object.assign(n,t),n};function L1(t,e,n=!0){if(e===void 0)return new Uint8Array(t);if(e.length!==t)throw new Error("invalid output length, expected "+t+", got: "+e.length);if(n&&!X9(e))throw new Error("invalid output, must be aligned");return e}function k1(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,f=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+f,a,r)}function Y9(t,e,n){Yu(n);const r=new Uint8Array(16),i=H9(r);return k1(i,0,BigInt(e),n),k1(i,8,BigInt(t),n),r}function X9(t){return t.byteOffset%4===0}function Qu(t){return Uint8Array.from(t)}const q1=t=>Uint8Array.from(t.split("").map(e=>e.charCodeAt(0))),J9=q1("expand 16-byte k"),Q9=q1("expand 32-byte k"),e7=Kr(J9),t7=Kr(Q9);function ue(t,e){return t<<e|t>>>32-e}function el(t){return t.byteOffset%4===0}const Qa=64,n7=16,M1=2**32-1,j1=new Uint32Array;function r7(t,e,n,r,i,s,o,a){const c=i.length,f=new Uint8Array(Qa),u=Kr(f),h=el(i)&&el(s),l=h?Kr(i):j1,d=h?Kr(s):j1;for(let p=0;p<c;o++){if(t(e,n,r,u,o,a),o>=M1)throw new Error("arx: counter overflow");const b=Math.min(Qa,c-p);if(h&&b===Qa){const v=p/4;if(p%4!==0)throw new Error("arx: invalid block position");for(let O=0,P;O<n7;O++)P=v+O,d[P]=l[P]^u[O];p+=Qa;continue}for(let v=0,O;v<b;v++)O=p+v,s[O]=i[O]^f[v];p+=b}}function i7(t,e){const{allowShortKeys:n,extendNonceFn:r,counterLength:i,counterRight:s,rounds:o}=G9({allowShortKeys:!1,counterLength:8,counterRight:!1,rounds:20},e);if(typeof t!="function")throw new Error("core must be a function");return Xu(i),Xu(o),Yu(s),Yu(n),(a,c,f,u,h=0)=>{Ot(a),Ot(c),Ot(f);const l=f.length;if(u===void 0&&(u=new Uint8Array(l)),Ot(u),Xu(h),h<0||h>=M1)throw new Error("arx: counter overflow");if(u.length<l)throw new Error(`arx: output (${u.length}) is shorter than data (${l})`);const d=[];let p=a.length,b,v;if(p===32)d.push(b=Qu(a)),v=t7;else if(p===16&&n)b=new Uint8Array(32),b.set(a),b.set(a,16),v=e7,d.push(b);else throw new Error(`arx: invalid 32-byte key, got length=${p}`);el(c)||d.push(c=Qu(c));const O=Kr(b);if(r){if(c.length!==24)throw new Error("arx: extended nonce must be 24 bytes");r(v,O,Kr(c.subarray(0,16)),O),c=c.subarray(16)}const P=16-i;if(P!==c.length)throw new Error(`arx: nonce must be ${P} or 16 bytes`);if(P!==12){const S=new Uint8Array(12);S.set(c,s?0:12-c.length),c=S,d.push(c)}const x=Kr(c);return r7(t,v,O,x,f,u,h,o),ps(...d),u}}const Ge=(t,e)=>t[e++]&255|(t[e++]&255)<<8;class s7{constructor(e){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,e=Ju(e),Ot(e,32);const n=Ge(e,0),r=Ge(e,2),i=Ge(e,4),s=Ge(e,6),o=Ge(e,8),a=Ge(e,10),c=Ge(e,12),f=Ge(e,14);this.r[0]=n&8191,this.r[1]=(n>>>13|r<<3)&8191,this.r[2]=(r>>>10|i<<6)&7939,this.r[3]=(i>>>7|s<<9)&8191,this.r[4]=(s>>>4|o<<12)&255,this.r[5]=o>>>1&8190,this.r[6]=(o>>>14|a<<2)&8191,this.r[7]=(a>>>11|c<<5)&8065,this.r[8]=(c>>>8|f<<8)&8191,this.r[9]=f>>>5&127;for(let u=0;u<8;u++)this.pad[u]=Ge(e,16+2*u)}process(e,n,r=!1){const i=r?0:2048,{h:s,r:o}=this,a=o[0],c=o[1],f=o[2],u=o[3],h=o[4],l=o[5],d=o[6],p=o[7],b=o[8],v=o[9],O=Ge(e,n+0),P=Ge(e,n+2),x=Ge(e,n+4),S=Ge(e,n+6),R=Ge(e,n+8),U=Ge(e,n+10),L=Ge(e,n+12),C=Ge(e,n+14);let A=s[0]+(O&8191),j=s[1]+((O>>>13|P<<3)&8191),q=s[2]+((P>>>10|x<<6)&8191),E=s[3]+((x>>>7|S<<9)&8191),y=s[4]+((S>>>4|R<<12)&8191),w=s[5]+(R>>>1&8191),g=s[6]+((R>>>14|U<<2)&8191),m=s[7]+((U>>>11|L<<5)&8191),_=s[8]+((L>>>8|C<<8)&8191),B=s[9]+(C>>>5|i),I=0,$=I+A*a+j*(5*v)+q*(5*b)+E*(5*p)+y*(5*d);I=$>>>13,$&=8191,$+=w*(5*l)+g*(5*h)+m*(5*u)+_*(5*f)+B*(5*c),I+=$>>>13,$&=8191;let D=I+A*c+j*a+q*(5*v)+E*(5*b)+y*(5*p);I=D>>>13,D&=8191,D+=w*(5*d)+g*(5*l)+m*(5*h)+_*(5*u)+B*(5*f),I+=D>>>13,D&=8191;let T=I+A*f+j*c+q*a+E*(5*v)+y*(5*b);I=T>>>13,T&=8191,T+=w*(5*p)+g*(5*d)+m*(5*l)+_*(5*h)+B*(5*u),I+=T>>>13,T&=8191;let F=I+A*u+j*f+q*c+E*a+y*(5*v);I=F>>>13,F&=8191,F+=w*(5*b)+g*(5*p)+m*(5*d)+_*(5*l)+B*(5*h),I+=F>>>13,F&=8191;let k=I+A*h+j*u+q*f+E*c+y*a;I=k>>>13,k&=8191,k+=w*(5*v)+g*(5*b)+m*(5*p)+_*(5*d)+B*(5*l),I+=k>>>13,k&=8191;let N=I+A*l+j*h+q*u+E*f+y*c;I=N>>>13,N&=8191,N+=w*a+g*(5*v)+m*(5*b)+_*(5*p)+B*(5*d),I+=N>>>13,N&=8191;let M=I+A*d+j*l+q*h+E*u+y*f;I=M>>>13,M&=8191,M+=w*c+g*a+m*(5*v)+_*(5*b)+B*(5*p),I+=M>>>13,M&=8191;let z=I+A*p+j*d+q*l+E*h+y*u;I=z>>>13,z&=8191,z+=w*f+g*c+m*a+_*(5*v)+B*(5*b),I+=z>>>13,z&=8191;let K=I+A*b+j*p+q*d+E*l+y*h;I=K>>>13,K&=8191,K+=w*u+g*f+m*c+_*a+B*(5*v),I+=K>>>13,K&=8191;let H=I+A*v+j*b+q*p+E*d+y*l;I=H>>>13,H&=8191,H+=w*h+g*u+m*f+_*c+B*a,I+=H>>>13,H&=8191,I=(I<<2)+I|0,I=I+$|0,$=I&8191,I=I>>>13,D+=I,s[0]=$,s[1]=D,s[2]=T,s[3]=F,s[4]=k,s[5]=N,s[6]=M,s[7]=z,s[8]=K,s[9]=H}finalize(){const{h:e,pad:n}=this,r=new Uint16Array(10);let i=e[1]>>>13;e[1]&=8191;for(let a=2;a<10;a++)e[a]+=i,i=e[a]>>>13,e[a]&=8191;e[0]+=i*5,i=e[0]>>>13,e[0]&=8191,e[1]+=i,i=e[1]>>>13,e[1]&=8191,e[2]+=i,r[0]=e[0]+5,i=r[0]>>>13,r[0]&=8191;for(let a=1;a<10;a++)r[a]=e[a]+i,i=r[a]>>>13,r[a]&=8191;r[9]-=8192;let s=(i^1)-1;for(let a=0;a<10;a++)r[a]&=s;s=~s;for(let a=0;a<10;a++)e[a]=e[a]&s|r[a];e[0]=(e[0]|e[1]<<13)&65535,e[1]=(e[1]>>>3|e[2]<<10)&65535,e[2]=(e[2]>>>6|e[3]<<7)&65535,e[3]=(e[3]>>>9|e[4]<<4)&65535,e[4]=(e[4]>>>12|e[5]<<1|e[6]<<14)&65535,e[5]=(e[6]>>>2|e[7]<<11)&65535,e[6]=(e[7]>>>5|e[8]<<8)&65535,e[7]=(e[8]>>>8|e[9]<<5)&65535;let o=e[0]+n[0];e[0]=o&65535;for(let a=1;a<8;a++)o=(e[a]+n[a]|0)+(o>>>16)|0,e[a]=o&65535;ps(r)}update(e){F1(this),e=Ju(e),Ot(e);const{buffer:n,blockLen:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(r-this.pos,i-s);if(o===r){for(;r<=i-s;s+=r)this.process(e,s);continue}n.set(e.subarray(s,s+o),this.pos),this.pos+=o,s+=o,this.pos===r&&(this.process(n,0,!1),this.pos=0)}return this}destroy(){ps(this.h,this.r,this.buffer,this.pad)}digestInto(e){F1(this),z9(e,this),this.finished=!0;const{buffer:n,h:r}=this;let{pos:i}=this;if(i){for(n[i++]=1;i<16;i++)n[i]=0;this.process(n,0,!0)}this.finalize();let s=0;for(let o=0;o<8;o++)e[s++]=r[o]>>>0,e[s++]=r[o]>>>8;return e}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}}function o7(t){const e=(r,i)=>t(i).update(Ju(r)).digest(),n=t(new Uint8Array(32));return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=r=>t(r),e}const a7=o7(t=>new s7(t));function c7(t,e,n,r,i,s=20){let o=t[0],a=t[1],c=t[2],f=t[3],u=e[0],h=e[1],l=e[2],d=e[3],p=e[4],b=e[5],v=e[6],O=e[7],P=i,x=n[0],S=n[1],R=n[2],U=o,L=a,C=c,A=f,j=u,q=h,E=l,y=d,w=p,g=b,m=v,_=O,B=P,I=x,$=S,D=R;for(let F=0;F<s;F+=2)U=U+j|0,B=ue(B^U,16),w=w+B|0,j=ue(j^w,12),U=U+j|0,B=ue(B^U,8),w=w+B|0,j=ue(j^w,7),L=L+q|0,I=ue(I^L,16),g=g+I|0,q=ue(q^g,12),L=L+q|0,I=ue(I^L,8),g=g+I|0,q=ue(q^g,7),C=C+E|0,$=ue($^C,16),m=m+$|0,E=ue(E^m,12),C=C+E|0,$=ue($^C,8),m=m+$|0,E=ue(E^m,7),A=A+y|0,D=ue(D^A,16),_=_+D|0,y=ue(y^_,12),A=A+y|0,D=ue(D^A,8),_=_+D|0,y=ue(y^_,7),U=U+q|0,D=ue(D^U,16),m=m+D|0,q=ue(q^m,12),U=U+q|0,D=ue(D^U,8),m=m+D|0,q=ue(q^m,7),L=L+E|0,B=ue(B^L,16),_=_+B|0,E=ue(E^_,12),L=L+E|0,B=ue(B^L,8),_=_+B|0,E=ue(E^_,7),C=C+y|0,I=ue(I^C,16),w=w+I|0,y=ue(y^w,12),C=C+y|0,I=ue(I^C,8),w=w+I|0,y=ue(y^w,7),A=A+j|0,$=ue($^A,16),g=g+$|0,j=ue(j^g,12),A=A+j|0,$=ue($^A,8),g=g+$|0,j=ue(j^g,7);let T=0;r[T++]=o+U|0,r[T++]=a+L|0,r[T++]=c+C|0,r[T++]=f+A|0,r[T++]=u+j|0,r[T++]=h+q|0,r[T++]=l+E|0,r[T++]=d+y|0,r[T++]=p+w|0,r[T++]=b+g|0,r[T++]=v+m|0,r[T++]=O+_|0,r[T++]=P+B|0,r[T++]=x+I|0,r[T++]=S+$|0,r[T++]=R+D|0}const f7=i7(c7,{counterRight:!1,counterLength:4,allowShortKeys:!1}),u7=new Uint8Array(16),z1=(t,e)=>{t.update(e);const n=e.length%16;n&&t.update(u7.subarray(n))},l7=new Uint8Array(32);function H1(t,e,n,r,i){const s=t(e,n,l7),o=a7.create(s);i&&z1(o,i),z1(o,r);const a=Y9(r.length,i?i.length:0,!0);o.update(a);const c=o.digest();return ps(s,a),c}W9({blockSize:64,nonceLength:12,tagLength:16},(t=>(e,n,r)=>({encrypt(i,s){const o=i.length;s=L1(o+16,s,!1),s.set(i);const a=s.subarray(0,-16);t(e,n,a,a,1);const c=H1(t,e,n,a,r);return s.set(c,o),ps(c),s},decrypt(i,s){s=L1(i.length-16,s,!1);const o=i.subarray(0,-16),a=i.subarray(-16),c=H1(t,e,n,o,r);if(!Z9(a,c))throw new Error("invalid tag");return s.set(i.subarray(0,-16)),t(e,n,s,s,1),ps(c),s}}))(f7));class V1 extends Ja{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,x1(e);const r=Jn(n);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),un(s)}update(e){return Fr(this),this.iHash.update(e),this}digestInto(e){Fr(this),fn(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const K1=(t,e,n)=>new V1(t,e).update(n).digest();K1.create=(t,e)=>new V1(t,e);const tl=BigInt(0),nl=BigInt(1);function ec(t,e=""){if(typeof t!="boolean"){const n=e&&`"${e}"`;throw new Error(n+"expected boolean, got type="+typeof t)}return t}function Bi(t,e,n=""){const r=Ya(t),i=t?.length,s=e!==void 0;if(!r||s&&i!==e){const o=n&&`"${n}" `,a=s?` of length ${e}`:"",c=r?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+c)}return t}function tc(t){const e=t.toString(16);return e.length&1?"0"+e:e}function G1(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?tl:BigInt("0x"+t)}function nc(t){return G1(ds(t))}function rc(t){return fn(t),G1(ds(Uint8Array.from(t).reverse()))}function rl(t,e){return Xa(t.toString(16).padStart(e*2,"0"))}function il(t,e){return rl(t,e).reverse()}function ct(t,e,n){let r;if(typeof e=="string")try{r=Xa(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(Ya(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}const sl=t=>typeof t=="bigint"&&tl<=t;function h7(t,e,n){return sl(t)&&sl(e)&&sl(n)&&e<=t&&t<n}function ol(t,e,n,r){if(!h7(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function Z1(t){let e;for(e=0;t>tl;t>>=nl,e+=1);return e}const go=t=>(nl<<BigInt(t))-nl;function d7(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const r=l=>new Uint8Array(l),i=l=>Uint8Array.of(l);let s=r(t),o=r(t),a=0;const c=()=>{s.fill(1),o.fill(0),a=0},f=(...l)=>n(o,s,...l),u=(l=r(0))=>{o=f(i(0),l),s=f(),l.length!==0&&(o=f(i(1),l),s=f())},h=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let l=0;const d=[];for(;l<e;){s=f();const p=s.slice();d.push(p),l+=s.length}return kr(...d)};return(l,d)=>{c(),u(l);let p;for(;!(p=d(h()));)u();return c(),p}}function ic(t,e,n={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function r(i,s,o){const a=t[i];if(o&&a===void 0)return;const c=typeof a;if(c!==s||a===null)throw new Error(`param "${i}" is invalid: expected ${s}, got ${c}`)}Object.entries(e).forEach(([i,s])=>r(i,s,!1)),Object.entries(n).forEach(([i,s])=>r(i,s,!0))}function W1(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const Dt=BigInt(0),mt=BigInt(1),$i=BigInt(2),Y1=BigInt(3),X1=BigInt(4),J1=BigInt(5),p7=BigInt(7),Q1=BigInt(8),g7=BigInt(9),ey=BigInt(16);function qt(t,e){const n=t%e;return n>=Dt?n:e+n}function ln(t,e,n){let r=t;for(;e-- >Dt;)r*=r,r%=n;return r}function ty(t,e){if(t===Dt)throw new Error("invert: expected non-zero number");if(e<=Dt)throw new Error("invert: expected positive modulus, got "+e);let n=qt(t,e),r=e,i=Dt,s=mt;for(;n!==Dt;){const o=r/n,a=r%n,c=i-s*o;r=n,n=a,i=s,s=c}if(r!==mt)throw new Error("invert: does not exist");return qt(i,e)}function al(t,e,n){if(!t.eql(t.sqr(e),n))throw new Error("Cannot find square root")}function ny(t,e){const n=(t.ORDER+mt)/X1,r=t.pow(e,n);return al(t,r,e),r}function y7(t,e){const n=(t.ORDER-J1)/Q1,r=t.mul(e,$i),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,$i),i),a=t.mul(s,t.sub(o,t.ONE));return al(t,a,e),a}function b7(t){const e=Gr(t),n=ry(t),r=n(e,e.neg(e.ONE)),i=n(e,r),s=n(e,e.neg(r)),o=(t+p7)/ey;return(a,c)=>{let f=a.pow(c,o),u=a.mul(f,r);const h=a.mul(f,i),l=a.mul(f,s),d=a.eql(a.sqr(u),c),p=a.eql(a.sqr(h),c);f=a.cmov(f,u,d),u=a.cmov(l,h,p);const b=a.eql(a.sqr(u),c),v=a.cmov(f,u,b);return al(a,v,c),v}}function ry(t){if(t<Y1)throw new Error("sqrt is not defined for small field");let e=t-mt,n=0;for(;e%$i===Dt;)e/=$i,n++;let r=$i;const i=Gr(t);for(;sy(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return ny;let s=i.pow(r,e);const o=(e+mt)/$i;return function(a,c){if(a.is0(c))return c;if(sy(a,c)!==1)throw new Error("Cannot find square root");let f=n,u=a.mul(a.ONE,s),h=a.pow(c,e),l=a.pow(c,o);for(;!a.eql(h,a.ONE);){if(a.is0(h))return a.ZERO;let d=1,p=a.sqr(h);for(;!a.eql(p,a.ONE);)if(d++,p=a.sqr(p),d===f)throw new Error("Cannot find square root");const b=mt<<BigInt(f-d-1),v=a.pow(u,b);f=d,u=a.sqr(v),h=a.mul(h,u),l=a.mul(l,v)}return l}}function w7(t){return t%X1===Y1?ny:t%Q1===J1?y7:t%ey===g7?b7(t):ry(t)}const m7=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function v7(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=m7.reduce((r,i)=>(r[i]="function",r),e);return ic(t,n),t}function E7(t,e,n){if(n<Dt)throw new Error("invalid exponent, negatives unsupported");if(n===Dt)return t.ONE;if(n===mt)return e;let r=t.ONE,i=e;for(;n>Dt;)n&mt&&(r=t.mul(r,i)),i=t.sqr(i),n>>=mt;return r}function iy(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function sy(t,e){const n=(t.ORDER-mt)/$i,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function oy(t,e){e!==void 0&&Cr(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Gr(t,e,n=!1,r={}){if(t<=Dt)throw new Error("invalid field: expected ORDER > 0, got "+t);let i,s,o=!1,a;if(typeof e=="object"&&e!=null){if(r.sqrt||n)throw new Error("cannot specify opts in two arguments");const l=e;l.BITS&&(i=l.BITS),l.sqrt&&(s=l.sqrt),typeof l.isLE=="boolean"&&(n=l.isLE),typeof l.modFromBytes=="boolean"&&(o=l.modFromBytes),a=l.allowedLengths}else typeof e=="number"&&(i=e),r.sqrt&&(s=r.sqrt);const{nBitLength:c,nByteLength:f}=oy(t,i);if(f>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let u;const h=Object.freeze({ORDER:t,isLE:n,BITS:c,BYTES:f,MASK:go(c),ZERO:Dt,ONE:mt,allowedLengths:a,create:l=>qt(l,t),isValid:l=>{if(typeof l!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof l);return Dt<=l&&l<t},is0:l=>l===Dt,isValidNot0:l=>!h.is0(l)&&h.isValid(l),isOdd:l=>(l&mt)===mt,neg:l=>qt(-l,t),eql:(l,d)=>l===d,sqr:l=>qt(l*l,t),add:(l,d)=>qt(l+d,t),sub:(l,d)=>qt(l-d,t),mul:(l,d)=>qt(l*d,t),pow:(l,d)=>E7(h,l,d),div:(l,d)=>qt(l*ty(d,t),t),sqrN:l=>l*l,addN:(l,d)=>l+d,subN:(l,d)=>l-d,mulN:(l,d)=>l*d,inv:l=>ty(l,t),sqrt:s||(l=>(u||(u=w7(t)),u(h,l))),toBytes:l=>n?il(l,f):rl(l,f),fromBytes:(l,d=!0)=>{if(a){if(!a.includes(l.length)||l.length>f)throw new Error("Field.fromBytes: expected "+a+" bytes, got "+l.length);const b=new Uint8Array(f);b.set(l,n?0:b.length-l.length),l=b}if(l.length!==f)throw new Error("Field.fromBytes: expected "+f+" bytes, got "+l.length);let p=n?rc(l):nc(l);if(o&&(p=qt(p,t)),!d&&!h.isValid(p))throw new Error("invalid field element: outside of range 0..ORDER");return p},invertBatch:l=>iy(h,l),cmov:(l,d,p)=>p?d:l});return Object.freeze(h)}function ay(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function cy(t){const e=ay(t);return e+Math.ceil(e/2)}function x7(t,e,n=!1){const r=t.length,i=ay(e),s=cy(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?rc(t):nc(t),a=qt(o,e-mt)+mt;return n?il(a,i):rl(a,i)}const gs=BigInt(0),Ai=BigInt(1);function sc(t,e){const n=e.negate();return t?n:e}function cl(t,e){const n=iy(t.Fp,e.map(r=>r.Z));return e.map((r,i)=>t.fromAffine(r.toAffine(n[i])))}function fy(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function fl(t,e){fy(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=go(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function uy(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=Ai);const f=e*r,u=f+Math.abs(a)-1,h=a===0,l=a<0,d=e%2!==0;return{nextN:c,offset:u,isZero:h,isNeg:l,isNegF:d,offsetF:f}}function _7(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function I7(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const ul=new WeakMap,ly=new WeakMap;function ll(t){return ly.get(t)||1}function hy(t){if(t!==gs)throw new Error("invalid wNAF")}class S7{constructor(e,n){this.BASE=e.BASE,this.ZERO=e.ZERO,this.Fn=e.Fn,this.bits=n}_unsafeLadder(e,n,r=this.ZERO){let i=e;for(;n>gs;)n&Ai&&(r=r.add(i)),i=i.double(),n>>=Ai;return r}precomputeWindow(e,n){const{windows:r,windowSize:i}=fl(n,this.bits),s=[];let o=e,a=o;for(let c=0;c<r;c++){a=o,s.push(a);for(let f=1;f<i;f++)a=a.add(o),s.push(a);o=a.double()}return s}wNAF(e,n,r){if(!this.Fn.isValid(r))throw new Error("invalid scalar");let i=this.ZERO,s=this.BASE;const o=fl(e,this.bits);for(let a=0;a<o.windows;a++){const{nextN:c,offset:f,isZero:u,isNeg:h,isNegF:l,offsetF:d}=uy(r,a,o);r=c,u?s=s.add(sc(l,n[d])):i=i.add(sc(h,n[f]))}return hy(r),{p:i,f:s}}wNAFUnsafe(e,n,r,i=this.ZERO){const s=fl(e,this.bits);for(let o=0;o<s.windows&&r!==gs;o++){const{nextN:a,offset:c,isZero:f,isNeg:u}=uy(r,o,s);if(r=a,!f){const h=n[c];i=i.add(u?h.negate():h)}}return hy(r),i}getPrecomputes(e,n,r){let i=ul.get(n);return i||(i=this.precomputeWindow(n,e),e!==1&&(typeof r=="function"&&(i=r(i)),ul.set(n,i))),i}cached(e,n,r){const i=ll(e);return this.wNAF(i,this.getPrecomputes(i,e,r),n)}unsafe(e,n,r,i){const s=ll(e);return s===1?this._unsafeLadder(e,n,i):this.wNAFUnsafe(s,this.getPrecomputes(s,e,r),n,i)}createCache(e,n){fy(n,this.bits),ly.set(e,n),ul.delete(e)}hasCache(e){return ll(e)!==1}}function B7(t,e,n,r){let i=e,s=t.ZERO,o=t.ZERO;for(;n>gs||r>gs;)n&Ai&&(s=s.add(i)),r&Ai&&(o=o.add(i)),i=i.double(),n>>=Ai,r>>=Ai;return{p1:s,p2:o}}function $7(t,e,n,r){_7(n,t),I7(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=Z1(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const f=go(c),u=new Array(Number(f)+1).fill(o),h=Math.floor((e.BITS-1)/c)*c;let l=o;for(let d=h;d>=0;d-=c){u.fill(o);for(let b=0;b<s;b++){const v=r[b],O=Number(v>>BigInt(d)&f);u[O]=u[O].add(n[b])}let p=o;for(let b=u.length-1,v=o;b>0;b--)v=v.add(u[b]),p=p.add(v);if(l=l.add(p),d!==0)for(let b=0;b<c;b++)l=l.double()}return l}function dy(t,e,n){if(e){if(e.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return v7(e),e}else return Gr(t,{isLE:n})}function A7(t,e,n={},r){if(r===void 0&&(r=t==="edwards"),!e||typeof e!="object")throw new Error(`expected valid ${t} CURVE object`);for(const a of["p","n","h"]){const c=e[a];if(!(typeof c=="bigint"&&c>gs))throw new Error(`CURVE.${a} must be positive bigint`)}const i=dy(e.p,n.Fp,r),s=dy(e.n,n.Fn,r),o=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const a of o)if(!i.isValid(e[a]))throw new Error(`CURVE.${a} must be valid field element of CURVE.Fp`);return e=Object.freeze(Object.assign({},e)),{CURVE:e,Fp:i,Fn:s}}BigInt(0),BigInt(1),BigInt(2),BigInt(8),$1("HashToScalar-");const yo=BigInt(0),ys=BigInt(1),oc=BigInt(2);function O7(t){return ic(t,{adjustScalarBytes:"function",powPminus2:"function"}),Object.freeze({...t})}function D7(t){const e=O7(t),{P:n,type:r,adjustScalarBytes:i,powPminus2:s,randomBytes:o}=e,a=r==="x25519";if(!a&&r!=="x448")throw new Error("invalid type");const c=o||Gu,f=a?255:448,u=a?32:56,h=BigInt(a?9:5),l=BigInt(a?121665:39081),d=a?oc**BigInt(254):oc**BigInt(447),p=a?BigInt(8)*oc**BigInt(251)-ys:BigInt(4)*oc**BigInt(445)-ys,b=d+p+ys,v=E=>qt(E,n),O=P(h);function P(E){return il(v(E),u)}function x(E){const y=ct("u coordinate",E,u);return a&&(y[31]&=127),v(rc(y))}function S(E){return rc(i(ct("scalar",E,u)))}function R(E,y){const w=C(x(y),S(E));if(w===yo)throw new Error("invalid private or public key received");return P(w)}function U(E){return R(E,O)}function L(E,y,w){const g=v(E*(y-w));return y=v(y-g),w=v(w+g),{x_2:y,x_3:w}}function C(E,y){ol("u",E,yo,n),ol("scalar",y,d,b);const w=y,g=E;let m=ys,_=yo,B=E,I=ys,$=yo;for(let T=BigInt(f-1);T>=yo;T--){const F=w>>T&ys;$^=F,{x_2:m,x_3:B}=L($,m,B),{x_2:_,x_3:I}=L($,_,I),$=F;const k=m+_,N=v(k*k),M=m-_,z=v(M*M),K=N-z,H=B+I,G=B-I,ee=v(G*k),te=v(H*M),re=ee+te,ce=ee-te;B=v(re*re),I=v(g*v(ce*ce)),m=v(N*z),_=v(K*(N+v(l*K)))}({x_2:m,x_3:B}=L($,m,B)),{x_2:_,x_3:I}=L($,_,I);const D=s(_);return v(m*D)}const A={secretKey:u,publicKey:u,seed:u},j=(E=c(u))=>(fn(E,A.seed),E);function q(E){const y=j(E);return{secretKey:y,publicKey:U(y)}}return{keygen:q,getSharedSecret:(E,y)=>R(E,y),getPublicKey:E=>U(E),scalarMult:R,scalarMultBase:U,utils:{randomSecretKey:j,randomPrivateKey:j},GuBytes:O.slice(),lengths:A}}const P7=BigInt(1),py=BigInt(2),R7=BigInt(3),T7=BigInt(5),N7=BigInt(8),gy=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),U7={p:gy,n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:N7,a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")};function C7(t){const e=BigInt(10),n=BigInt(20),r=BigInt(40),i=BigInt(80),s=gy,o=t*t%s*t%s,a=ln(o,py,s)*o%s,c=ln(a,P7,s)*t%s,f=ln(c,T7,s)*c%s,u=ln(f,e,s)*f%s,h=ln(u,n,s)*u%s,l=ln(h,r,s)*h%s,d=ln(l,i,s)*l%s,p=ln(d,i,s)*l%s,b=ln(p,e,s)*f%s;return{pow_p_5_8:ln(b,py,s)*t%s,b2:o}}function F7(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}const L7=Gr(U7.p,{isLE:!0});(()=>{const t=L7.ORDER;return D7({P:t,type:"x25519",powPminus2:e=>{const{pow_p_5_8:n,b2:r}=C7(e);return qt(ln(n,R7,t)*r,t)},adjustScalarBytes:F7})})();const yy=(t,e)=>(t+(t>=0?e:-e)/by)/e;function k7(t,e,n){const[[r,i],[s,o]]=e,a=yy(o*t,n),c=yy(-i*t,n);let f=t-a*r-c*s,u=-a*i-c*o;const h=f<er,l=u<er;h&&(f=-f),l&&(u=-u);const d=go(Math.ceil(Z1(n)/2))+bs;if(f<er||f>=d||u<er||u>=d)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:h,k1:f,k2neg:l,k2:u}}function hl(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function dl(t,e){const n={};for(let r of Object.keys(e))n[r]=t[r]===void 0?e[r]:t[r];return ec(n.lowS,"lowS"),ec(n.prehash,"prehash"),n.format!==void 0&&hl(n.format),n}class q7 extends Error{constructor(e=""){super(e)}}const Qn={Err:q7,_tlv:{encode:(t,e)=>{const{Err:n}=Qn;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=tc(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?tc(i.length/2|128):"";return tc(t)+s+i+e},decode(t,e){const{Err:n}=Qn;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const f=e.subarray(r,r+c);if(f.length!==c)throw new n("tlv.decode: length bytes not complete");if(f[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const u of f)o=o<<8|u;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=Qn;if(t<er)throw new e("integer: negative integers are not allowed");let n=tc(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=Qn;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return nc(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=Qn,i=ct("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:f,l:u}=r.decode(2,c);if(u.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(f)}},hexFromSig(t){const{_tlv:e,_int:n}=Qn,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}},er=BigInt(0),bs=BigInt(1),by=BigInt(2),ac=BigInt(3),M7=BigInt(4);function ws(t,e){const{BYTES:n}=t;let r;if(typeof e=="bigint")r=e;else{let i=ct("private key",e);try{r=t.fromBytes(i)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof e}`)}}if(!t.isValidNot0(r))throw new Error("invalid private key: out of range [1..N-1]");return r}function j7(t,e={}){const n=A7("weierstrass",t,e),{Fp:r,Fn:i}=n;let s=n.CURVE;const{h:o,n:a}=s;ic(e,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:c}=e;if(c&&(!r.is0(s.a)||typeof c.beta!="bigint"||!Array.isArray(c.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const f=my(r,i);function u(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function h(E,y,w){const{x:g,y:m}=y.toAffine(),_=r.toBytes(g);if(ec(w,"isCompressed"),w){u();const B=!r.isOdd(m);return kr(wy(B),_)}else return kr(Uint8Array.of(4),_,r.toBytes(m))}function l(E){Bi(E,void 0,"Point");const{publicKey:y,publicKeyUncompressed:w}=f,g=E.length,m=E[0],_=E.subarray(1);if(g===y&&(m===2||m===3)){const B=r.fromBytes(_);if(!r.isValid(B))throw new Error("bad point: is not on curve, wrong x");const I=b(B);let $;try{$=r.sqrt(I)}catch(T){const F=T instanceof Error?": "+T.message:"";throw new Error("bad point: is not on curve, sqrt error"+F)}u();const D=r.isOdd($);return(m&1)===1!==D&&($=r.neg($)),{x:B,y:$}}else if(g===w&&m===4){const B=r.BYTES,I=r.fromBytes(_.subarray(0,B)),$=r.fromBytes(_.subarray(B,B*2));if(!v(I,$))throw new Error("bad point: is not on curve");return{x:I,y:$}}else throw new Error(`bad point: got length ${g}, expected compressed=${y} or uncompressed=${w}`)}const d=e.toBytes||h,p=e.fromBytes||l;function b(E){const y=r.sqr(E),w=r.mul(y,E);return r.add(r.add(w,r.mul(E,s.a)),s.b)}function v(E,y){const w=r.sqr(y),g=b(E);return r.eql(w,g)}if(!v(s.Gx,s.Gy))throw new Error("bad curve params: generator point");const O=r.mul(r.pow(s.a,ac),M7),P=r.mul(r.sqr(s.b),BigInt(27));if(r.is0(r.add(O,P)))throw new Error("bad curve params: a or b");function x(E,y,w=!1){if(!r.isValid(y)||w&&r.is0(y))throw new Error(`bad point coordinate ${E}`);return y}function S(E){if(!(E instanceof A))throw new Error("ProjectivePoint expected")}function R(E){if(!c||!c.basises)throw new Error("no endo");return k7(E,c.basises,i.ORDER)}const U=W1((E,y)=>{const{X:w,Y:g,Z:m}=E;if(r.eql(m,r.ONE))return{x:w,y:g};const _=E.is0();y==null&&(y=_?r.ONE:r.inv(m));const B=r.mul(w,y),I=r.mul(g,y),$=r.mul(m,y);if(_)return{x:r.ZERO,y:r.ZERO};if(!r.eql($,r.ONE))throw new Error("invZ was invalid");return{x:B,y:I}}),L=W1(E=>{if(E.is0()){if(e.allowInfinityPoint&&!r.is0(E.Y))return;throw new Error("bad point: ZERO")}const{x:y,y:w}=E.toAffine();if(!r.isValid(y)||!r.isValid(w))throw new Error("bad point: x or y not field elements");if(!v(y,w))throw new Error("bad point: equation left != right");if(!E.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function C(E,y,w,g,m){return w=new A(r.mul(w.X,E),w.Y,w.Z),y=sc(g,y),w=sc(m,w),y.add(w)}class A{constructor(y,w,g){this.X=x("x",y),this.Y=x("y",w,!0),this.Z=x("z",g),Object.freeze(this)}static CURVE(){return s}static fromAffine(y){const{x:w,y:g}=y||{};if(!y||!r.isValid(w)||!r.isValid(g))throw new Error("invalid affine point");if(y instanceof A)throw new Error("projective point not allowed");return r.is0(w)&&r.is0(g)?A.ZERO:new A(w,g,r.ONE)}static fromBytes(y){const w=A.fromAffine(p(Bi(y,void 0,"point")));return w.assertValidity(),w}static fromHex(y){return A.fromBytes(ct("pointHex",y))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(y=8,w=!0){return q.createCache(this,y),w||this.multiply(ac),this}assertValidity(){L(this)}hasEvenY(){const{y}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(y)}equals(y){S(y);const{X:w,Y:g,Z:m}=this,{X:_,Y:B,Z:I}=y,$=r.eql(r.mul(w,I),r.mul(_,m)),D=r.eql(r.mul(g,I),r.mul(B,m));return $&&D}negate(){return new A(this.X,r.neg(this.Y),this.Z)}double(){const{a:y,b:w}=s,g=r.mul(w,ac),{X:m,Y:_,Z:B}=this;let I=r.ZERO,$=r.ZERO,D=r.ZERO,T=r.mul(m,m),F=r.mul(_,_),k=r.mul(B,B),N=r.mul(m,_);return N=r.add(N,N),D=r.mul(m,B),D=r.add(D,D),I=r.mul(y,D),$=r.mul(g,k),$=r.add(I,$),I=r.sub(F,$),$=r.add(F,$),$=r.mul(I,$),I=r.mul(N,I),D=r.mul(g,D),k=r.mul(y,k),N=r.sub(T,k),N=r.mul(y,N),N=r.add(N,D),D=r.add(T,T),T=r.add(D,T),T=r.add(T,k),T=r.mul(T,N),$=r.add($,T),k=r.mul(_,B),k=r.add(k,k),T=r.mul(k,N),I=r.sub(I,T),D=r.mul(k,F),D=r.add(D,D),D=r.add(D,D),new A(I,$,D)}add(y){S(y);const{X:w,Y:g,Z:m}=this,{X:_,Y:B,Z:I}=y;let $=r.ZERO,D=r.ZERO,T=r.ZERO;const F=s.a,k=r.mul(s.b,ac);let N=r.mul(w,_),M=r.mul(g,B),z=r.mul(m,I),K=r.add(w,g),H=r.add(_,B);K=r.mul(K,H),H=r.add(N,M),K=r.sub(K,H),H=r.add(w,m);let G=r.add(_,I);return H=r.mul(H,G),G=r.add(N,z),H=r.sub(H,G),G=r.add(g,m),$=r.add(B,I),G=r.mul(G,$),$=r.add(M,z),G=r.sub(G,$),T=r.mul(F,H),$=r.mul(k,z),T=r.add($,T),$=r.sub(M,T),T=r.add(M,T),D=r.mul($,T),M=r.add(N,N),M=r.add(M,N),z=r.mul(F,z),H=r.mul(k,H),M=r.add(M,z),z=r.sub(N,z),z=r.mul(F,z),H=r.add(H,z),N=r.mul(M,H),D=r.add(D,N),N=r.mul(G,H),$=r.mul(K,$),$=r.sub($,N),N=r.mul(K,M),T=r.mul(G,T),T=r.add(T,N),new A($,D,T)}subtract(y){return this.add(y.negate())}is0(){return this.equals(A.ZERO)}multiply(y){const{endo:w}=e;if(!i.isValidNot0(y))throw new Error("invalid scalar: out of range");let g,m;const _=B=>q.cached(this,B,I=>cl(A,I));if(w){const{k1neg:B,k1:I,k2neg:$,k2:D}=R(y),{p:T,f:F}=_(I),{p:k,f:N}=_(D);m=F.add(N),g=C(w.beta,T,k,B,$)}else{const{p:B,f:I}=_(y);g=B,m=I}return cl(A,[g,m])[0]}multiplyUnsafe(y){const{endo:w}=e,g=this;if(!i.isValid(y))throw new Error("invalid scalar: out of range");if(y===er||g.is0())return A.ZERO;if(y===bs)return g;if(q.hasCache(this))return this.multiply(y);if(w){const{k1neg:m,k1:_,k2neg:B,k2:I}=R(y),{p1:$,p2:D}=B7(A,g,_,I);return C(w.beta,$,D,m,B)}else return q.unsafe(g,y)}multiplyAndAddUnsafe(y,w,g){const m=this.multiplyUnsafe(w).add(y.multiplyUnsafe(g));return m.is0()?void 0:m}toAffine(y){return U(this,y)}isTorsionFree(){const{isTorsionFree:y}=e;return o===bs?!0:y?y(A,this):q.unsafe(this,a).is0()}clearCofactor(){const{clearCofactor:y}=e;return o===bs?this:y?y(A,this):this.multiplyUnsafe(o)}isSmallOrder(){return this.multiplyUnsafe(o).is0()}toBytes(y=!0){return ec(y,"isCompressed"),this.assertValidity(),d(A,this,y)}toHex(y=!0){return ds(this.toBytes(y))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(y=!0){return this.toBytes(y)}_setWindowSize(y){this.precompute(y)}static normalizeZ(y){return cl(A,y)}static msm(y,w){return $7(A,i,y,w)}static fromPrivateKey(y){return A.BASE.multiply(ws(i,y))}}A.BASE=new A(s.Gx,s.Gy,r.ONE),A.ZERO=new A(r.ZERO,r.ONE,r.ZERO),A.Fp=r,A.Fn=i;const j=i.BITS,q=new S7(A,e.endo?Math.ceil(j/2):j);return A.BASE.precompute(8),A}function wy(t){return Uint8Array.of(t?2:3)}function my(t,e){return{secretKey:e.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*e.BYTES}}function z7(t,e={}){const{Fn:n}=t,r=e.randomBytes||Gu,i=Object.assign(my(t.Fp,n),{seed:cy(n.ORDER)});function s(l){try{return!!ws(n,l)}catch{return!1}}function o(l,d){const{publicKey:p,publicKeyUncompressed:b}=i;try{const v=l.length;return d===!0&&v!==p||d===!1&&v!==b?!1:!!t.fromBytes(l)}catch{return!1}}function a(l=r(i.seed)){return x7(Bi(l,i.seed,"seed"),n.ORDER)}function c(l,d=!0){return t.BASE.multiply(ws(n,l)).toBytes(d)}function f(l){const d=a(l);return{secretKey:d,publicKey:c(d)}}function u(l){if(typeof l=="bigint")return!1;if(l instanceof t)return!0;const{secretKey:d,publicKey:p,publicKeyUncompressed:b}=i;if(n.allowedLengths||d===p)return;const v=ct("key",l).length;return v===p||v===b}function h(l,d,p=!0){if(u(l)===!0)throw new Error("first arg must be private key");if(u(d)===!1)throw new Error("second arg must be public key");const b=ws(n,l);return t.fromHex(d).multiply(b).toBytes(p)}return Object.freeze({getPublicKey:c,getSharedSecret:h,keygen:f,Point:t,utils:{isValidSecretKey:s,isValidPublicKey:o,randomSecretKey:a,isValidPrivateKey:s,randomPrivateKey:a,normPrivateKeyToScalar:l=>ws(n,l),precompute(l=8,d=t.BASE){return d.precompute(l,!1)}},lengths:i})}function H7(t,e,n={}){x1(e),ic(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const r=n.randomBytes||Gu,i=n.hmac||((w,...g)=>K1(e,w,kr(...g))),{Fp:s,Fn:o}=t,{ORDER:a,BITS:c}=o,{keygen:f,getPublicKey:u,getSharedSecret:h,utils:l,lengths:d}=z7(t,n),p={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},b="compact";function v(w){const g=a>>bs;return w>g}function O(w,g){if(!o.isValidNot0(g))throw new Error(`invalid signature ${w}: out of range 1..Point.Fn.ORDER`);return g}function P(w,g){hl(g);const m=d.signature,_=g==="compact"?m:g==="recovered"?m+1:void 0;return Bi(w,_,`${g} signature`)}class x{constructor(g,m,_){this.r=O("r",g),this.s=O("s",m),_!=null&&(this.recovery=_),Object.freeze(this)}static fromBytes(g,m=b){P(g,m);let _;if(m==="der"){const{r:D,s:T}=Qn.toSig(Bi(g));return new x(D,T)}m==="recovered"&&(_=g[0],m="compact",g=g.subarray(1));const B=o.BYTES,I=g.subarray(0,B),$=g.subarray(B,B*2);return new x(o.fromBytes(I),o.fromBytes($),_)}static fromHex(g,m){return this.fromBytes(Xa(g),m)}addRecoveryBit(g){return new x(this.r,this.s,g)}recoverPublicKey(g){const m=s.ORDER,{r:_,s:B,recovery:I}=this;if(I==null||![0,1,2,3].includes(I))throw new Error("recovery id invalid");if(a*by<m&&I>1)throw new Error("recovery id is ambiguous for h>1 curve");const $=I===2||I===3?_+a:_;if(!s.isValid($))throw new Error("recovery id 2 or 3 invalid");const D=s.toBytes($),T=t.fromBytes(kr(wy((I&1)===0),D)),F=o.inv($),k=R(ct("msgHash",g)),N=o.create(-k*F),M=o.create(B*F),z=t.BASE.multiplyUnsafe(N).add(T.multiplyUnsafe(M));if(z.is0())throw new Error("point at infinify");return z.assertValidity(),z}hasHighS(){return v(this.s)}toBytes(g=b){if(hl(g),g==="der")return Xa(Qn.hexFromSig(this));const m=o.toBytes(this.r),_=o.toBytes(this.s);if(g==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return kr(Uint8Array.of(this.recovery),m,_)}return kr(m,_)}toHex(g){return ds(this.toBytes(g))}assertValidity(){}static fromCompact(g){return x.fromBytes(ct("sig",g),"compact")}static fromDER(g){return x.fromBytes(ct("sig",g),"der")}normalizeS(){return this.hasHighS()?new x(this.r,o.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return ds(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return ds(this.toBytes("compact"))}}const S=n.bits2int||function(w){if(w.length>8192)throw new Error("input is too large");const g=nc(w),m=w.length*8-c;return m>0?g>>BigInt(m):g},R=n.bits2int_modN||function(w){return o.create(S(w))},U=go(c);function L(w){return ol("num < 2^"+c,w,er,U),o.toBytes(w)}function C(w,g){return Bi(w,void 0,"message"),g?Bi(e(w),void 0,"prehashed message"):w}function A(w,g,m){if(["recovered","canonical"].some(M=>M in m))throw new Error("sign() legacy options not supported");const{lowS:_,prehash:B,extraEntropy:I}=dl(m,p);w=C(w,B);const $=R(w),D=ws(o,g),T=[L(D),L($)];if(I!=null&&I!==!1){const M=I===!0?r(d.secretKey):I;T.push(ct("extraEntropy",M))}const F=kr(...T),k=$;function N(M){const z=S(M);if(!o.isValidNot0(z))return;const K=o.inv(z),H=t.BASE.multiply(z).toAffine(),G=o.create(H.x);if(G===er)return;const ee=o.create(K*o.create(k+G*D));if(ee===er)return;let te=(H.x===G?0:2)|Number(H.y&bs),re=ee;return _&&v(ee)&&(re=o.neg(ee),te^=1),new x(G,re,te)}return{seed:F,k2sig:N}}function j(w,g,m={}){w=ct("message",w);const{seed:_,k2sig:B}=A(w,g,m);return d7(e.outputLen,o.BYTES,i)(_,B)}function q(w){let g;const m=typeof w=="string"||Ya(w),_=!m&&w!==null&&typeof w=="object"&&typeof w.r=="bigint"&&typeof w.s=="bigint";if(!m&&!_)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(_)g=new x(w.r,w.s);else if(m){try{g=x.fromBytes(ct("sig",w),"der")}catch(B){if(!(B instanceof Qn.Err))throw B}if(!g)try{g=x.fromBytes(ct("sig",w),"compact")}catch{return!1}}return g||!1}function E(w,g,m,_={}){const{lowS:B,prehash:I,format:$}=dl(_,p);if(m=ct("publicKey",m),g=C(ct("message",g),I),"strict"in _)throw new Error("options.strict was renamed to lowS");const D=$===void 0?q(w):x.fromBytes(ct("sig",w),$);if(D===!1)return!1;try{const T=t.fromBytes(m);if(B&&D.hasHighS())return!1;const{r:F,s:k}=D,N=R(g),M=o.inv(k),z=o.create(N*M),K=o.create(F*M),H=t.BASE.multiplyUnsafe(z).add(T.multiplyUnsafe(K));return H.is0()?!1:o.create(H.x)===F}catch{return!1}}function y(w,g,m={}){const{prehash:_}=dl(m,p);return g=C(g,_),x.fromBytes(w,"recovered").recoverPublicKey(g).toBytes()}return Object.freeze({keygen:f,getPublicKey:u,getSharedSecret:h,utils:l,lengths:d,Point:t,sign:j,verify:E,recoverPublicKey:y,Signature:x,hash:e})}function V7(t){const e={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp;let r=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(o=>Math.ceil(o/2)))):void 0;const i=Gr(e.n,{BITS:t.nBitLength,allowedLengths:r,modFromBytes:t.wrapPrivateKey}),s={Fp:n,Fn:i,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:e,curveOpts:s}}function K7(t){const{CURVE:e,curveOpts:n}=V7(t),r={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:e,curveOpts:n,hash:t.hash,ecdsaOpts:r}}function G7(t,e){const n=e.Point;return Object.assign({},e,{ProjectivePoint:n,CURVE:Object.assign({},t,oy(n.Fn.ORDER,n.Fn.BITS))})}function Z7(t){const{CURVE:e,curveOpts:n,hash:r,ecdsaOpts:i}=K7(t),s=j7(e,n),o=H7(s,r,i);return G7(t,o)}function pl(t,e){const n=r=>Z7({...t,hash:r});return{...n(e),create:n}}const vy={p:BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff"),n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),h:BigInt(1),a:BigInt("0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc"),b:BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5")},Ey={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff"),n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),h:BigInt(1),a:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc"),b:BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f")},xy={p:BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),h:BigInt(1),a:BigInt("0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc"),b:BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650")},W7=Gr(vy.p),Y7=Gr(Ey.p),X7=Gr(xy.p);pl({...vy,Fp:W7,lowS:!1},C9),pl({...Ey,Fp:Y7,lowS:!1},L9),pl({...xy,Fp:X7,lowS:!1,allowedPrivateKeyLengths:[130,131,132]},F9);const J7="https://api.pay.walletconnect.com",Q7="js-walletconnect-pay",eI="1.0.2",hn="WalletConnectPay";function tI(){return r9()?"rn-ios":n9()?"rn-android":i9()?"browser":y1()?"node":"unknown"}var nI=Object.defineProperty,rI=(t,e,n)=>e in t?nI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_y=(t,e,n)=>rI(t,typeof e!="symbol"?e+"":e,n);class Ae extends Error{constructor(e,n,r){super(n),_y(this,"code"),_y(this,"originalMessage"),this.name="PayError",this.code=e,this.originalMessage=r??n,Object.setPrototypeOf(this,Ae.prototype)}static fromNativeError(e){if(e instanceof Ae)return e;const n=e instanceof Error?e.message:String(e);return n.includes("JSON parse error")?new Ae("JSON_PARSE",n):n.includes("JSON serialize error")?new Ae("JSON_SERIALIZE",n):n.includes("Payment options error")?new Ae("PAYMENT_OPTIONS",n):n.includes("Payment request error")?new Ae("PAYMENT_REQUEST",n):n.includes("Confirm payment error")?new Ae("CONFIRM_PAYMENT",n):new Ae("UNKNOWN",n)}}class gl extends Ae{constructor(){super("NATIVE_MODULE_NOT_FOUND","WalletConnect Pay native module not found. Make sure @walletconnect/react-native-compat is installed and linked."),this.name="NativeModuleNotFoundError",Object.setPrototypeOf(this,gl.prototype)}}class yl extends Ae{constructor(e){super("PAYMENT_OPTIONS",`Failed to get payment options: ${e}`,e),this.name="PaymentOptionsError",Object.setPrototypeOf(this,yl.prototype)}}class bl extends Ae{constructor(e){super("PAYMENT_REQUEST",`Failed to get payment actions: ${e}`,e),this.name="PaymentActionsError",Object.setPrototypeOf(this,bl.prototype)}}class wl extends Ae{constructor(e){super("CONFIRM_PAYMENT",`Failed to confirm payment: ${e}`,e),this.name="ConfirmPaymentError",Object.setPrototypeOf(this,wl.prototype)}}var iI=Object.defineProperty,sI=(t,e,n)=>e in t?iI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,oI=(t,e,n)=>sI(t,typeof e!="symbol"?e+"":e,n);let Zr;function Iy(){var t,e;if(Zr!==void 0)return Zr;try{const n=globalThis.ReactNative;if((t=n?.NativeModules)!=null&&t.RNWalletConnectPay)return Zr=n.NativeModules.RNWalletConnectPay,Zr;const r=(e=globalThis.expo)==null?void 0:e.modules;return r!=null&&r.RNWalletConnectPay?(Zr=r.RNWalletConnectPay,Zr):(Zr=null,null)}catch{return Zr=null,null}}function aI(){return Iy()!==null}class cI{constructor(e){oI(this,"module");const n=Iy();if(!n)throw new gl;if(n.initialize)try{const r=JSON.stringify(e);n.initialize(r)}catch(r){throw new Ae("INITIALIZATION_ERROR",`Failed to initialize native Pay module: ${r instanceof Error?r.message:String(r)}`)}this.module=n}async getPaymentOptions(e){var n;const r={paymentLink:e.paymentLink,accounts:e.accounts,includePaymentInfo:(n=e.includePaymentInfo)!=null?n:!1};try{const i=await this.module.getPaymentOptions(JSON.stringify(r));return JSON.parse(i)}catch(i){throw Ae.fromNativeError(i)}}async getRequiredPaymentActions(e){const n={paymentId:e.paymentId,optionId:e.optionId};try{const r=await this.module.getRequiredPaymentActions(JSON.stringify(n));return JSON.parse(r)}catch(r){throw Ae.fromNativeError(r)}}async confirmPayment(e){const n={paymentId:e.paymentId,optionId:e.optionId,signatures:e.signatures,collectedData:e.collectedData};try{const r=await this.module.confirmPayment(JSON.stringify(n));return JSON.parse(r)}catch(r){throw Ae.fromNativeError(r)}}}function fI(t){return new cI(t)}function Sy(){return aI()?"native":null}function uI(t){const e=Sy();if(!e)throw new Error("No Pay provider available. Make sure you are running in React Native with the native module installed, or in a browser with WASM support.");switch(e){case"native":return fI(t);case"wasm":throw new Error("WASM provider not yet implemented");default:throw new Error(`Unknown provider type: ${e}`)}}function lI(){return Sy()!==null}var hI=Object.defineProperty,dI=(t,e,n)=>e in t?hI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,bo=(t,e,n)=>dI(t,typeof e!="symbol"?e+"":e,n);class pI{constructor(e){bo(this,"appId"),bo(this,"apiKey"),bo(this,"baseUrl"),bo(this,"logger"),bo(this,"provider");var n,r,i;this.appId=e.appId,this.apiKey=e.apiKey,this.baseUrl=(n=e.baseUrl)!=null?n:J7,this.logger=typeof e.logger=="string"?cd(ef({level:e.logger})):(r=e.logger)!=null?r:cd(ef({level:"error"})),this.logger.trace(`${hn} initialized`);const s={baseUrl:this.baseUrl,projectId:e.appId,apiKey:e.apiKey,appId:e.appId,clientId:e.clientId,sdkName:Q7,sdkVersion:eI,sdkPlatform:tI(),bundleId:(i=s9())!=null?i:""};this.provider=uI(s),this.logger.debug(`${hn} provider initialized`)}static isAvailable(){return lI()}async getPaymentOptions(e){this.logger.debug({paymentLink:e.paymentLink,accounts:e.accounts,includePaymentInfo:e.includePaymentInfo},`${hn} getPaymentOptions`);try{const n=await this.provider.getPaymentOptions(e);return this.logger.debug({paymentId:n.paymentId,optionsCount:n.options.length},`${hn} getPaymentOptions response`),n}catch(n){throw this.logger.error({error:n},`${hn} getPaymentOptions error`),n instanceof Ae?n:new yl(String(n))}}async getRequiredPaymentActions(e){this.logger.debug({paymentId:e.paymentId,optionId:e.optionId},`${hn} getRequiredPaymentActions`);try{const n=await this.provider.getRequiredPaymentActions(e);return this.logger.debug({actionsCount:n.length},`${hn} getRequiredPaymentActions response`),n}catch(n){throw this.logger.error({error:n},`${hn} getRequiredPaymentActions error`),n instanceof Ae?n:new bl(String(n))}}async confirmPayment(e){this.logger.debug({paymentId:e.paymentId,optionId:e.optionId,signaturesCount:e.signatures.length,hasCollectedData:!!e.collectedData},`${hn} confirmPayment`);try{const n=await this.provider.confirmPayment(e);return this.logger.debug({status:n.status,isFinal:n.isFinal},`${hn} confirmPayment response`),n}catch(n){throw this.logger.error({error:n},`${hn} confirmPayment error`),n instanceof Ae?n:new wl(String(n))}}}const By=pI,$y="wc",gI=2,ml="WalletKit",yI=`${$y}@2:${ml}:`,bI={database:":memory:"},wI="request";class Oi{}class mI extends Oi{constructor(e){super()}}const Ay=Z.FIVE_SECONDS,Di={pulse:"heartbeat_pulse"};class vl extends mI{constructor(e){super(e),this.events=new Qe.exports.EventEmitter,this.interval=Ay,this.interval=e?.interval||Ay}static async init(e){const n=new vl(e);return await n.init(),n}async init(){await this.initialize()}stop(){clearInterval(this.intervalRef)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async initialize(){this.intervalRef=setInterval(()=>this.pulse(),Z.toMiliseconds(this.interval))}pulse(){this.events.emit(Di.pulse)}}const vI=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,EI=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,xI=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function _I(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){II(t);return}return e}function II(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function cc(t,e={}){if(typeof t!="string")return t;if(t[0]==='"'&&t[t.length-1]==='"'&&t.indexOf("\\")===-1)return t.slice(1,-1);const n=t.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!xI.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(vI.test(t)||EI.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,_I)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}function SI(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function qe(t,...e){try{return SI(t(...e))}catch(n){return Promise.reject(n)}}function BI(t){const e=typeof t;return t===null||e!=="object"&&e!=="function"}function $I(t){const e=Object.getPrototypeOf(t);return!e||e.isPrototypeOf(Object)}function fc(t){if(BI(t))return String(t);if($I(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return fc(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function Oy(){if(typeof Buffer>"u")throw new TypeError("[unstorage] Buffer is not supported!")}const El="base64:";function AI(t){if(typeof t=="string")return t;Oy();const e=Buffer.from(t).toString("base64");return El+e}function OI(t){return typeof t!="string"||!t.startsWith(El)?t:(Oy(),Buffer.from(t.slice(El.length),"base64"))}function Pt(t){return t?t.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function DI(...t){return Pt(t.join(":"))}function uc(t){return t=Pt(t),t?t+":":""}function GU(t){return t}const PI="memory",RI=()=>{const t=new Map;return{name:PI,getInstance:()=>t,hasItem(e){return t.has(e)},getItem(e){return t.get(e)??null},getItemRaw(e){return t.get(e)??null},setItem(e,n){t.set(e,n)},setItemRaw(e,n){t.set(e,n)},removeItem(e){t.delete(e)},getKeys(){return[...t.keys()]},clear(){t.clear()},dispose(){t.clear()}}};function TI(t={}){const e={mounts:{"":t.driver||RI()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=f=>{for(const u of e.mountpoints)if(f.startsWith(u))return{base:u,relativeKey:f.slice(u.length),driver:e.mounts[u]};return{base:"",relativeKey:f,driver:e.mounts[""]}},r=(f,u)=>e.mountpoints.filter(h=>h.startsWith(f)||u&&f.startsWith(h)).map(h=>({relativeBase:f.length>h.length?f.slice(h.length):void 0,mountpoint:h,driver:e.mounts[h]})),i=(f,u)=>{if(e.watching){u=Pt(u);for(const h of e.watchListeners)h(f,u)}},s=async()=>{if(!e.watching){e.watching=!0;for(const f in e.mounts)e.unwatch[f]=await Dy(e.mounts[f],i,f)}},o=async()=>{if(e.watching){for(const f in e.unwatch)await e.unwatch[f]();e.unwatch={},e.watching=!1}},a=(f,u,h)=>{const l=new Map,d=p=>{let b=l.get(p.base);return b||(b={driver:p.driver,base:p.base,items:[]},l.set(p.base,b)),b};for(const p of f){const b=typeof p=="string",v=Pt(b?p:p.key),O=b?void 0:p.value,P=b||!p.options?u:{...u,...p.options},x=n(v);d(x).items.push({key:v,value:O,relativeKey:x.relativeKey,options:P})}return Promise.all([...l.values()].map(p=>h(p))).then(p=>p.flat())},c={hasItem(f,u={}){f=Pt(f);const{relativeKey:h,driver:l}=n(f);return qe(l.hasItem,h,u)},getItem(f,u={}){f=Pt(f);const{relativeKey:h,driver:l}=n(f);return qe(l.getItem,h,u).then(d=>cc(d))},getItems(f,u){return a(f,u,h=>h.driver.getItems?qe(h.driver.getItems,h.items.map(l=>({key:l.relativeKey,options:l.options})),u).then(l=>l.map(d=>({key:DI(h.base,d.key),value:cc(d.value)}))):Promise.all(h.items.map(l=>qe(h.driver.getItem,l.relativeKey,l.options).then(d=>({key:l.key,value:cc(d)})))))},getItemRaw(f,u={}){f=Pt(f);const{relativeKey:h,driver:l}=n(f);return l.getItemRaw?qe(l.getItemRaw,h,u):qe(l.getItem,h,u).then(d=>OI(d))},async setItem(f,u,h={}){if(u===void 0)return c.removeItem(f);f=Pt(f);const{relativeKey:l,driver:d}=n(f);d.setItem&&(await qe(d.setItem,l,fc(u),h),d.watch||i("update",f))},async setItems(f,u){await a(f,u,async h=>{if(h.driver.setItems)return qe(h.driver.setItems,h.items.map(l=>({key:l.relativeKey,value:fc(l.value),options:l.options})),u);h.driver.setItem&&await Promise.all(h.items.map(l=>qe(h.driver.setItem,l.relativeKey,fc(l.value),l.options)))})},async setItemRaw(f,u,h={}){if(u===void 0)return c.removeItem(f,h);f=Pt(f);const{relativeKey:l,driver:d}=n(f);if(d.setItemRaw)await qe(d.setItemRaw,l,u,h);else if(d.setItem)await qe(d.setItem,l,AI(u),h);else return;d.watch||i("update",f)},async removeItem(f,u={}){typeof u=="boolean"&&(u={removeMeta:u}),f=Pt(f);const{relativeKey:h,driver:l}=n(f);l.removeItem&&(await qe(l.removeItem,h,u),(u.removeMeta||u.removeMata)&&await qe(l.removeItem,h+"$",u),l.watch||i("remove",f))},async getMeta(f,u={}){typeof u=="boolean"&&(u={nativeOnly:u}),f=Pt(f);const{relativeKey:h,driver:l}=n(f),d=Object.create(null);if(l.getMeta&&Object.assign(d,await qe(l.getMeta,h,u)),!u.nativeOnly){const p=await qe(l.getItem,h+"$",u).then(b=>cc(b));p&&typeof p=="object"&&(typeof p.atime=="string"&&(p.atime=new Date(p.atime)),typeof p.mtime=="string"&&(p.mtime=new Date(p.mtime)),Object.assign(d,p))}return d},setMeta(f,u,h={}){return this.setItem(f+"$",u,h)},removeMeta(f,u={}){return this.removeItem(f+"$",u)},async getKeys(f,u={}){f=uc(f);const h=r(f,!0);let l=[];const d=[];for(const p of h){const b=await qe(p.driver.getKeys,p.relativeBase,u);for(const v of b){const O=p.mountpoint+Pt(v);l.some(P=>O.startsWith(P))||d.push(O)}l=[p.mountpoint,...l.filter(v=>!v.startsWith(p.mountpoint))]}return f?d.filter(p=>p.startsWith(f)&&p[p.length-1]!=="$"):d.filter(p=>p[p.length-1]!=="$")},async clear(f,u={}){f=uc(f),await Promise.all(r(f,!1).map(async h=>{if(h.driver.clear)return qe(h.driver.clear,h.relativeBase,u);if(h.driver.removeItem){const l=await h.driver.getKeys(h.relativeBase||"",u);return Promise.all(l.map(d=>h.driver.removeItem(d,u)))}}))},async dispose(){await Promise.all(Object.values(e.mounts).map(f=>Py(f)))},async watch(f){return await s(),e.watchListeners.push(f),async()=>{e.watchListeners=e.watchListeners.filter(u=>u!==f),e.watchListeners.length===0&&await o()}},async unwatch(){e.watchListeners=[],await o()},mount(f,u){if(f=uc(f),f&&e.mounts[f])throw new Error(`already mounted at ${f}`);return f&&(e.mountpoints.push(f),e.mountpoints.sort((h,l)=>l.length-h.length)),e.mounts[f]=u,e.watching&&Promise.resolve(Dy(u,i,f)).then(h=>{e.unwatch[f]=h}).catch(console.error),c},async unmount(f,u=!0){f=uc(f),!(!f||!e.mounts[f])&&(e.watching&&f in e.unwatch&&(e.unwatch[f](),delete e.unwatch[f]),u&&await Py(e.mounts[f]),e.mountpoints=e.mountpoints.filter(h=>h!==f),delete e.mounts[f])},getMount(f=""){f=Pt(f)+":";const u=n(f);return{driver:u.driver,base:u.base}},getMounts(f="",u={}){return f=Pt(f),r(f,u.parents).map(l=>({driver:l.driver,base:l.mountpoint}))},keys:(f,u={})=>c.getKeys(f,u),get:(f,u={})=>c.getItem(f,u),set:(f,u,h={})=>c.setItem(f,u,h),has:(f,u={})=>c.hasItem(f,u),del:(f,u={})=>c.removeItem(f,u),remove:(f,u={})=>c.removeItem(f,u)};return c}function Dy(t,e,n){return t.watch?t.watch((r,i)=>e(r,n+i)):()=>{}}async function Py(t){typeof t.dispose=="function"&&await qe(t.dispose)}function Pi(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function Ry(t,e){const n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);const r=Pi(n);return(i,s)=>r.then(o=>s(o.transaction(e,i).objectStore(e)))}let xl;function wo(){return xl||(xl=Ry("keyval-store","keyval")),xl}function Ty(t,e=wo()){return e("readonly",n=>Pi(n.get(t)))}function NI(t,e,n=wo()){return n("readwrite",r=>(r.put(e,t),Pi(r.transaction)))}function UI(t,e=wo()){return e("readwrite",n=>(n.delete(t),Pi(n.transaction)))}function CI(t=wo()){return t("readwrite",e=>(e.clear(),Pi(e.transaction)))}function FI(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},Pi(t.transaction)}function LI(t=wo()){return t("readonly",e=>{if(e.getAllKeys)return Pi(e.getAllKeys());const n=[];return FI(e,r=>n.push(r.key)).then(()=>n)})}const kI="idb-keyval";var qI=(t={})=>{const e=t.base&&t.base.length>0?`${t.base}:`:"",n=i=>e+i;let r;return t.dbName&&t.storeName&&(r=Ry(t.dbName,t.storeName)),{name:kI,options:t,async hasItem(i){return!(typeof await Ty(n(i),r)>"u")},async getItem(i){return await Ty(n(i),r)??null},setItem(i,s){return NI(n(i),s,r)},removeItem(i){return UI(n(i),r)},getKeys(){return LI(r)},clear(){return CI(r)}}};const MI="WALLET_CONNECT_V2_INDEXED_DB",jI="keyvaluestorage";class zI{constructor(){this.indexedDb=TI({driver:qI({dbName:MI,storeName:jI})})}async getKeys(){return this.indexedDb.getKeys()}async getEntries(){return(await this.indexedDb.getItems(await this.indexedDb.getKeys())).map(e=>[e.key,e.value])}async getItem(e){const n=await this.indexedDb.getItem(e);if(n!==null)return n}async setItem(e,n){await this.indexedDb.setItem(e,to(n))}async removeItem(e){await this.indexedDb.removeItem(e)}}var _l=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},lc={exports:{}};(function(){let t;function e(){}t=e,t.prototype.getItem=function(n){return this.hasOwnProperty(n)?String(this[n]):null},t.prototype.setItem=function(n,r){this[n]=String(r)},t.prototype.removeItem=function(n){delete this[n]},t.prototype.clear=function(){const n=this;Object.keys(n).forEach(function(r){n[r]=void 0,delete n[r]})},t.prototype.key=function(n){return n=n||0,Object.keys(this)[n]},t.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof _l<"u"&&_l.localStorage?lc.exports=_l.localStorage:typeof window<"u"&&window.localStorage?lc.exports=window.localStorage:lc.exports=new e})();function HI(t){var e;return[t[0],fs((e=t[1])!=null?e:"")]}class VI{constructor(){this.localStorage=lc.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(HI)}async getItem(e){const n=this.localStorage.getItem(e);if(n!==null)return fs(n)}async setItem(e,n){this.localStorage.setItem(e,to(n))}async removeItem(e){this.localStorage.removeItem(e)}}const KI="wc_storage_version",Ny=1,GI=async(t,e,n)=>{const r=KI,i=await e.getItem(r);if(i&&i>=Ny){n(e);return}const s=await t.getKeys();if(!s.length){n(e);return}const o=[];for(;s.length;){const a=s.shift();if(!a)continue;const c=a.toLowerCase();if(c.includes("wc@")||c.includes("walletconnect")||c.includes("wc_")||c.includes("wallet_connect")){const f=await t.getItem(a);await e.setItem(a,f),o.push(a)}}await e.setItem(r,Ny),n(e),ZI(t,o)},ZI=async(t,e)=>{e.length&&e.forEach(async n=>{await t.removeItem(n)})};class WI{constructor(){this.initialized=!1,this.setInitialized=n=>{this.storage=n,this.initialized=!0};const e=new VI;this.storage=e;try{const n=new zI;GI(e,n,this.setInitialized)}catch{this.initialized=!0}}async getKeys(){return await this.initialize(),this.storage.getKeys()}async getEntries(){return await this.initialize(),this.storage.getEntries()}async getItem(e){return await this.initialize(),this.storage.getItem(e)}async setItem(e,n){return await this.initialize(),this.storage.setItem(e,n)}async removeItem(e){return await this.initialize(),this.storage.removeItem(e)}async initialize(){this.initialized||await new Promise(e=>{const n=setInterval(()=>{this.initialized&&(clearInterval(n),e())},20)})}}var YI=Object.defineProperty,XI=(t,e,n)=>e in t?YI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Uy=(t,e,n)=>XI(t,typeof e!="symbol"?e+"":e,n);class JI extends Oi{constructor(e){super(),this.opts=e,Uy(this,"protocol","wc"),Uy(this,"version",2)}}var QI=Object.defineProperty,eS=(t,e,n)=>e in t?QI(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,tS=(t,e,n)=>eS(t,typeof e!="symbol"?e+"":e,n);class nS extends Oi{constructor(e,n){super(),this.core=e,this.logger=n,tS(this,"records",new Map)}}class rS{constructor(e,n){this.logger=e,this.core=n}}class iS extends Oi{constructor(e,n){super(),this.relayer=e,this.logger=n}}class sS extends Oi{constructor(e){super()}}class oS{constructor(e,n,r,i){this.core=e,this.logger=n,this.name=r}}class aS extends Oi{constructor(e,n){super(),this.relayer=e,this.logger=n}}class cS extends Oi{constructor(e,n){super(),this.core=e,this.logger=n}}class fS{constructor(e,n,r){this.core=e,this.logger=n,this.store=r}}class uS{constructor(e,n){this.projectId=e,this.logger=n}}class lS{constructor(e,n,r){this.core=e,this.logger=n,this.telemetryEnabled=r}}var hS=Object.defineProperty,dS=(t,e,n)=>e in t?hS(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Cy=(t,e,n)=>dS(t,typeof e!="symbol"?e+"":e,n);class pS{constructor(e){this.opts=e,Cy(this,"protocol","wc"),Cy(this,"version",2)}}class gS{constructor(e){this.client=e}}function yS(t){const e=t.length;let n=0,r=0;for(;r<e;){let i=t.charCodeAt(r++);if((i&4294967168)===0){n++;continue}else if((i&4294965248)===0)n+=2;else{if(i>=55296&&i<=56319&&r<e){const s=t.charCodeAt(r);(s&64512)===56320&&(++r,i=((i&1023)<<10)+(s&1023)+65536)}(i&4294901760)===0?n+=3:n+=4}}return n}function bS(t,e,n){const r=t.length;let i=n,s=0;for(;s<r;){let o=t.charCodeAt(s++);if((o&4294967168)===0){e[i++]=o;continue}else if((o&4294965248)===0)e[i++]=o>>6&31|192;else{if(o>=55296&&o<=56319&&s<r){const a=t.charCodeAt(s);(a&64512)===56320&&(++s,o=((o&1023)<<10)+(a&1023)+65536)}(o&4294901760)===0?(e[i++]=o>>12&15|224,e[i++]=o>>6&63|128):(e[i++]=o>>18&7|240,e[i++]=o>>12&63|128,e[i++]=o>>6&63|128)}e[i++]=o&63|128}}const wS=new TextEncoder,mS=50;function vS(t,e,n){wS.encodeInto(t,e.subarray(n))}function ES(t,e,n){t.length>mS?vS(t,e,n):bS(t,e,n)}const xS=4096;function Fy(t,e,n){let r=e;const i=r+n,s=[];let o="";for(;r<i;){const a=t[r++];if((a&128)===0)s.push(a);else if((a&224)===192){const c=t[r++]&63;s.push((a&31)<<6|c)}else if((a&240)===224){const c=t[r++]&63,f=t[r++]&63;s.push((a&31)<<12|c<<6|f)}else if((a&248)===240){const c=t[r++]&63,f=t[r++]&63,u=t[r++]&63;let h=(a&7)<<18|c<<12|f<<6|u;h>65535&&(h-=65536,s.push(h>>>10&1023|55296),h=56320|h&1023),s.push(h)}else s.push(a);s.length>=xS&&(o+=String.fromCharCode(...s),s.length=0)}return s.length>0&&(o+=String.fromCharCode(...s)),o}const _S=new TextDecoder,IS=200;function SS(t,e,n){const r=t.subarray(e,e+n);return _S.decode(r)}function BS(t,e,n){return n>IS?SS(t,e,n):Fy(t,e,n)}class hc{constructor(e,n){this.type=e,this.data=n}}class Mt extends Error{constructor(e){super(e);const n=Object.create(Mt.prototype);Object.setPrototypeOf(this,n),Object.defineProperty(this,"name",{configurable:!0,enumerable:!1,value:Mt.name})}}const mo=4294967295;function $S(t,e,n){const r=n/4294967296,i=n;t.setUint32(e,r),t.setUint32(e+4,i)}function Ly(t,e,n){const r=Math.floor(n/4294967296),i=n;t.setUint32(e,r),t.setUint32(e+4,i)}function ky(t,e){const n=t.getInt32(e),r=t.getUint32(e+4);return n*4294967296+r}function AS(t,e){const n=t.getUint32(e),r=t.getUint32(e+4);return n*4294967296+r}const OS=-1,DS=4294967296-1,PS=17179869184-1;function RS({sec:t,nsec:e}){if(t>=0&&e>=0&&t<=PS)if(e===0&&t<=DS){const n=new Uint8Array(4);return new DataView(n.buffer).setUint32(0,t),n}else{const n=t/4294967296,r=t&4294967295,i=new Uint8Array(8),s=new DataView(i.buffer);return s.setUint32(0,e<<2|n&3),s.setUint32(4,r),i}else{const n=new Uint8Array(12),r=new DataView(n.buffer);return r.setUint32(0,e),Ly(r,4,t),n}}function TS(t){const e=t.getTime(),n=Math.floor(e/1e3),r=(e-n*1e3)*1e6,i=Math.floor(r/1e9);return{sec:n+i,nsec:r-i*1e9}}function NS(t){if(t instanceof Date){const e=TS(t);return RS(e)}else return null}function US(t){const e=new DataView(t.buffer,t.byteOffset,t.byteLength);switch(t.byteLength){case 4:return{sec:e.getUint32(0),nsec:0};case 8:{const n=e.getUint32(0),r=e.getUint32(4),i=(n&3)*4294967296+r,s=n>>>2;return{sec:i,nsec:s}}case 12:{const n=ky(e,4),r=e.getUint32(0);return{sec:n,nsec:r}}default:throw new Mt(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${t.length}`)}}function CS(t){const e=US(t);return new Date(e.sec*1e3+e.nsec/1e6)}const FS={type:OS,encode:NS,decode:CS};class dc{constructor(){this.builtInEncoders=[],this.builtInDecoders=[],this.encoders=[],this.decoders=[],this.register(FS)}register({type:e,encode:n,decode:r}){if(e>=0)this.encoders[e]=n,this.decoders[e]=r;else{const i=-1-e;this.builtInEncoders[i]=n,this.builtInDecoders[i]=r}}tryToEncode(e,n){for(let r=0;r<this.builtInEncoders.length;r++){const i=this.builtInEncoders[r];if(i!=null){const s=i(e,n);if(s!=null){const o=-1-r;return new hc(o,s)}}}for(let r=0;r<this.encoders.length;r++){const i=this.encoders[r];if(i!=null){const s=i(e,n);if(s!=null){const o=r;return new hc(o,s)}}}return e instanceof hc?e:null}decode(e,n,r){const i=n<0?this.builtInDecoders[-1-n]:this.decoders[n];return i?i(e,n,r):new hc(n,e)}}dc.defaultCodec=new dc;function LS(t){return t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer}function Il(t){return t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):LS(t)?new Uint8Array(t):Uint8Array.from(t)}const kS=100,qS=2048;class Sl{constructor(e){this.entered=!1,this.extensionCodec=e?.extensionCodec??dc.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.maxDepth=e?.maxDepth??kS,this.initialBufferSize=e?.initialBufferSize??qS,this.sortKeys=e?.sortKeys??!1,this.forceFloat32=e?.forceFloat32??!1,this.ignoreUndefined=e?.ignoreUndefined??!1,this.forceIntegerToFloat=e?.forceIntegerToFloat??!1,this.pos=0,this.view=new DataView(new ArrayBuffer(this.initialBufferSize)),this.bytes=new Uint8Array(this.view.buffer)}clone(){return new Sl({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,maxDepth:this.maxDepth,initialBufferSize:this.initialBufferSize,sortKeys:this.sortKeys,forceFloat32:this.forceFloat32,ignoreUndefined:this.ignoreUndefined,forceIntegerToFloat:this.forceIntegerToFloat})}reinitializeState(){this.pos=0}encodeSharedRef(e){if(this.entered)return this.clone().encodeSharedRef(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.subarray(0,this.pos)}finally{this.entered=!1}}encode(e){if(this.entered)return this.clone().encode(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.slice(0,this.pos)}finally{this.entered=!1}}doEncode(e,n){if(n>this.maxDepth)throw new Error(`Too deep objects in depth ${n}`);e==null?this.encodeNil():typeof e=="boolean"?this.encodeBoolean(e):typeof e=="number"?this.forceIntegerToFloat?this.encodeNumberAsFloat(e):this.encodeNumber(e):typeof e=="string"?this.encodeString(e):this.useBigInt64&&typeof e=="bigint"?this.encodeBigInt64(e):this.encodeObject(e,n)}ensureBufferSizeToWrite(e){const n=this.pos+e;this.view.byteLength<n&&this.resizeBuffer(n*2)}resizeBuffer(e){const n=new ArrayBuffer(e),r=new Uint8Array(n),i=new DataView(n);r.set(this.bytes),this.view=i,this.bytes=r}encodeNil(){this.writeU8(192)}encodeBoolean(e){e===!1?this.writeU8(194):this.writeU8(195)}encodeNumber(e){!this.forceIntegerToFloat&&Number.isSafeInteger(e)?e>=0?e<128?this.writeU8(e):e<256?(this.writeU8(204),this.writeU8(e)):e<65536?(this.writeU8(205),this.writeU16(e)):e<4294967296?(this.writeU8(206),this.writeU32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(207),this.writeU64(e)):e>=-32?this.writeU8(224|e+32):e>=-128?(this.writeU8(208),this.writeI8(e)):e>=-32768?(this.writeU8(209),this.writeI16(e)):e>=-2147483648?(this.writeU8(210),this.writeI32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(211),this.writeI64(e)):this.encodeNumberAsFloat(e)}encodeNumberAsFloat(e){this.forceFloat32?(this.writeU8(202),this.writeF32(e)):(this.writeU8(203),this.writeF64(e))}encodeBigInt64(e){e>=BigInt(0)?(this.writeU8(207),this.writeBigUint64(e)):(this.writeU8(211),this.writeBigInt64(e))}writeStringHeader(e){if(e<32)this.writeU8(160+e);else if(e<256)this.writeU8(217),this.writeU8(e);else if(e<65536)this.writeU8(218),this.writeU16(e);else if(e<4294967296)this.writeU8(219),this.writeU32(e);else throw new Error(`Too long string: ${e} bytes in UTF-8`)}encodeString(e){const r=yS(e);this.ensureBufferSizeToWrite(5+r),this.writeStringHeader(r),ES(e,this.bytes,this.pos),this.pos+=r}encodeObject(e,n){const r=this.extensionCodec.tryToEncode(e,this.context);if(r!=null)this.encodeExtension(r);else if(Array.isArray(e))this.encodeArray(e,n);else if(ArrayBuffer.isView(e))this.encodeBinary(e);else if(typeof e=="object")this.encodeMap(e,n);else throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(e)}`)}encodeBinary(e){const n=e.byteLength;if(n<256)this.writeU8(196),this.writeU8(n);else if(n<65536)this.writeU8(197),this.writeU16(n);else if(n<4294967296)this.writeU8(198),this.writeU32(n);else throw new Error(`Too large binary: ${n}`);const r=Il(e);this.writeU8a(r)}encodeArray(e,n){const r=e.length;if(r<16)this.writeU8(144+r);else if(r<65536)this.writeU8(220),this.writeU16(r);else if(r<4294967296)this.writeU8(221),this.writeU32(r);else throw new Error(`Too large array: ${r}`);for(const i of e)this.doEncode(i,n+1)}countWithoutUndefined(e,n){let r=0;for(const i of n)e[i]!==void 0&&r++;return r}encodeMap(e,n){const r=Object.keys(e);this.sortKeys&&r.sort();const i=this.ignoreUndefined?this.countWithoutUndefined(e,r):r.length;if(i<16)this.writeU8(128+i);else if(i<65536)this.writeU8(222),this.writeU16(i);else if(i<4294967296)this.writeU8(223),this.writeU32(i);else throw new Error(`Too large map object: ${i}`);for(const s of r){const o=e[s];this.ignoreUndefined&&o===void 0||(this.encodeString(s),this.doEncode(o,n+1))}}encodeExtension(e){if(typeof e.data=="function"){const r=e.data(this.pos+6),i=r.length;if(i>=4294967296)throw new Error(`Too large extension object: ${i}`);this.writeU8(201),this.writeU32(i),this.writeI8(e.type),this.writeU8a(r);return}const n=e.data.length;if(n===1)this.writeU8(212);else if(n===2)this.writeU8(213);else if(n===4)this.writeU8(214);else if(n===8)this.writeU8(215);else if(n===16)this.writeU8(216);else if(n<256)this.writeU8(199),this.writeU8(n);else if(n<65536)this.writeU8(200),this.writeU16(n);else if(n<4294967296)this.writeU8(201),this.writeU32(n);else throw new Error(`Too large extension object: ${n}`);this.writeI8(e.type),this.writeU8a(e.data)}writeU8(e){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,e),this.pos++}writeU8a(e){const n=e.length;this.ensureBufferSizeToWrite(n),this.bytes.set(e,this.pos),this.pos+=n}writeI8(e){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,e),this.pos++}writeU16(e){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,e),this.pos+=2}writeI16(e){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,e),this.pos+=2}writeU32(e){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,e),this.pos+=4}writeI32(e){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,e),this.pos+=4}writeF32(e){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,e),this.pos+=4}writeF64(e){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,e),this.pos+=8}writeU64(e){this.ensureBufferSizeToWrite(8),$S(this.view,this.pos,e),this.pos+=8}writeI64(e){this.ensureBufferSizeToWrite(8),Ly(this.view,this.pos,e),this.pos+=8}writeBigUint64(e){this.ensureBufferSizeToWrite(8),this.view.setBigUint64(this.pos,e),this.pos+=8}writeBigInt64(e){this.ensureBufferSizeToWrite(8),this.view.setBigInt64(this.pos,e),this.pos+=8}}function MS(t,e){return new Sl(e).encodeSharedRef(t)}function Bl(t){return`${t<0?"-":""}0x${Math.abs(t).toString(16).padStart(2,"0")}`}const jS=16,zS=16;class HS{constructor(e=jS,n=zS){this.hit=0,this.miss=0,this.maxKeyLength=e,this.maxLengthPerKey=n,this.caches=[];for(let r=0;r<this.maxKeyLength;r++)this.caches.push([])}canBeCached(e){return e>0&&e<=this.maxKeyLength}find(e,n,r){const i=this.caches[r-1];e:for(const s of i){const o=s.bytes;for(let a=0;a<r;a++)if(o[a]!==e[n+a])continue e;return s.str}return null}store(e,n){const r=this.caches[e.length-1],i={bytes:e,str:n};r.length>=this.maxLengthPerKey?r[Math.random()*r.length|0]=i:r.push(i)}decode(e,n,r){const i=this.find(e,n,r);if(i!=null)return this.hit++,i;this.miss++;const s=Fy(e,n,r),o=Uint8Array.prototype.slice.call(e,n,n+r);return this.store(o,s),s}}const $l="array",vo="map_key",qy="map_value",VS=t=>{if(typeof t=="string"||typeof t=="number")return t;throw new Mt("The type of key must be string or number but "+typeof t)};class KS{constructor(){this.stack=[],this.stackHeadPosition=-1}get length(){return this.stackHeadPosition+1}top(){return this.stack[this.stackHeadPosition]}pushArrayState(e){const n=this.getUninitializedStateFromPool();n.type=$l,n.position=0,n.size=e,n.array=new Array(e)}pushMapState(e){const n=this.getUninitializedStateFromPool();n.type=vo,n.readCount=0,n.size=e,n.map={}}getUninitializedStateFromPool(){if(this.stackHeadPosition++,this.stackHeadPosition===this.stack.length){const e={type:void 0,size:0,array:void 0,position:0,readCount:0,map:void 0,key:null};this.stack.push(e)}return this.stack[this.stackHeadPosition]}release(e){if(this.stack[this.stackHeadPosition]!==e)throw new Error("Invalid stack state. Released state is not on top of the stack.");if(e.type===$l){const r=e;r.size=0,r.array=void 0,r.position=0,r.type=void 0}if(e.type===vo||e.type===qy){const r=e;r.size=0,r.map=void 0,r.readCount=0,r.type=void 0}this.stackHeadPosition--}reset(){this.stack.length=0,this.stackHeadPosition=-1}}const Eo=-1,Al=new DataView(new ArrayBuffer(0)),GS=new Uint8Array(Al.buffer);try{Al.getInt8(0)}catch(t){if(!(t instanceof RangeError))throw new Error("This module is not supported in the current JavaScript engine because DataView does not throw RangeError on out-of-bounds access")}const My=new RangeError("Insufficient data"),ZS=new HS;class Ol{constructor(e){this.totalPos=0,this.pos=0,this.view=Al,this.bytes=GS,this.headByte=Eo,this.stack=new KS,this.entered=!1,this.extensionCodec=e?.extensionCodec??dc.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.rawStrings=e?.rawStrings??!1,this.maxStrLength=e?.maxStrLength??mo,this.maxBinLength=e?.maxBinLength??mo,this.maxArrayLength=e?.maxArrayLength??mo,this.maxMapLength=e?.maxMapLength??mo,this.maxExtLength=e?.maxExtLength??mo,this.keyDecoder=e?.keyDecoder!==void 0?e.keyDecoder:ZS,this.mapKeyConverter=e?.mapKeyConverter??VS}clone(){return new Ol({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,rawStrings:this.rawStrings,maxStrLength:this.maxStrLength,maxBinLength:this.maxBinLength,maxArrayLength:this.maxArrayLength,maxMapLength:this.maxMapLength,maxExtLength:this.maxExtLength,keyDecoder:this.keyDecoder})}reinitializeState(){this.totalPos=0,this.headByte=Eo,this.stack.reset()}setBuffer(e){const n=Il(e);this.bytes=n,this.view=new DataView(n.buffer,n.byteOffset,n.byteLength),this.pos=0}appendBuffer(e){if(this.headByte===Eo&&!this.hasRemaining(1))this.setBuffer(e);else{const n=this.bytes.subarray(this.pos),r=Il(e),i=new Uint8Array(n.length+r.length);i.set(n),i.set(r,n.length),this.setBuffer(i)}}hasRemaining(e){return this.view.byteLength-this.pos>=e}createExtraByteError(e){const{view:n,pos:r}=this;return new RangeError(`Extra ${n.byteLength-r} of ${n.byteLength} byte(s) found at buffer[${e}]`)}decode(e){if(this.entered)return this.clone().decode(e);try{this.entered=!0,this.reinitializeState(),this.setBuffer(e);const n=this.doDecodeSync();if(this.hasRemaining(1))throw this.createExtraByteError(this.pos);return n}finally{this.entered=!1}}*decodeMulti(e){if(this.entered){yield*this.clone().decodeMulti(e);return}try{for(this.entered=!0,this.reinitializeState(),this.setBuffer(e);this.hasRemaining(1);)yield this.doDecodeSync()}finally{this.entered=!1}}async decodeAsync(e){if(this.entered)return this.clone().decodeAsync(e);try{this.entered=!0;let n=!1,r;for await(const a of e){if(n)throw this.entered=!1,this.createExtraByteError(this.totalPos);this.appendBuffer(a);try{r=this.doDecodeSync(),n=!0}catch(c){if(!(c instanceof RangeError))throw c}this.totalPos+=this.pos}if(n){if(this.hasRemaining(1))throw this.createExtraByteError(this.totalPos);return r}const{headByte:i,pos:s,totalPos:o}=this;throw new RangeError(`Insufficient data in parsing ${Bl(i)} at ${o} (${s} in the current buffer)`)}finally{this.entered=!1}}decodeArrayStream(e){return this.decodeMultiAsync(e,!0)}decodeStream(e){return this.decodeMultiAsync(e,!1)}async*decodeMultiAsync(e,n){if(this.entered){yield*this.clone().decodeMultiAsync(e,n);return}try{this.entered=!0;let r=n,i=-1;for await(const s of e){if(n&&i===0)throw this.createExtraByteError(this.totalPos);this.appendBuffer(s),r&&(i=this.readArraySize(),r=!1,this.complete());try{for(;yield this.doDecodeSync(),--i!==0;);}catch(o){if(!(o instanceof RangeError))throw o}this.totalPos+=this.pos}}finally{this.entered=!1}}doDecodeSync(){e:for(;;){const e=this.readHeadByte();let n;if(e>=224)n=e-256;else if(e<192)if(e<128)n=e;else if(e<144){const i=e-128;if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e<160){const i=e-144;if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else{const i=e-160;n=this.decodeString(i,0)}else if(e===192)n=null;else if(e===194)n=!1;else if(e===195)n=!0;else if(e===202)n=this.readF32();else if(e===203)n=this.readF64();else if(e===204)n=this.readU8();else if(e===205)n=this.readU16();else if(e===206)n=this.readU32();else if(e===207)this.useBigInt64?n=this.readU64AsBigInt():n=this.readU64();else if(e===208)n=this.readI8();else if(e===209)n=this.readI16();else if(e===210)n=this.readI32();else if(e===211)this.useBigInt64?n=this.readI64AsBigInt():n=this.readI64();else if(e===217){const i=this.lookU8();n=this.decodeString(i,1)}else if(e===218){const i=this.lookU16();n=this.decodeString(i,2)}else if(e===219){const i=this.lookU32();n=this.decodeString(i,4)}else if(e===220){const i=this.readU16();if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else if(e===221){const i=this.readU32();if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else if(e===222){const i=this.readU16();if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e===223){const i=this.readU32();if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e===196){const i=this.lookU8();n=this.decodeBinary(i,1)}else if(e===197){const i=this.lookU16();n=this.decodeBinary(i,2)}else if(e===198){const i=this.lookU32();n=this.decodeBinary(i,4)}else if(e===212)n=this.decodeExtension(1,0);else if(e===213)n=this.decodeExtension(2,0);else if(e===214)n=this.decodeExtension(4,0);else if(e===215)n=this.decodeExtension(8,0);else if(e===216)n=this.decodeExtension(16,0);else if(e===199){const i=this.lookU8();n=this.decodeExtension(i,1)}else if(e===200){const i=this.lookU16();n=this.decodeExtension(i,2)}else if(e===201){const i=this.lookU32();n=this.decodeExtension(i,4)}else throw new Mt(`Unrecognized type byte: ${Bl(e)}`);this.complete();const r=this.stack;for(;r.length>0;){const i=r.top();if(i.type===$l)if(i.array[i.position]=n,i.position++,i.position===i.size)n=i.array,r.release(i);else continue e;else if(i.type===vo){if(n==="__proto__")throw new Mt("The key __proto__ is not allowed");i.key=this.mapKeyConverter(n),i.type=qy;continue e}else if(i.map[i.key]=n,i.readCount++,i.readCount===i.size)n=i.map,r.release(i);else{i.key=null,i.type=vo;continue e}}return n}}readHeadByte(){return this.headByte===Eo&&(this.headByte=this.readU8()),this.headByte}complete(){this.headByte=Eo}readArraySize(){const e=this.readHeadByte();switch(e){case 220:return this.readU16();case 221:return this.readU32();default:{if(e<160)return e-144;throw new Mt(`Unrecognized array type byte: ${Bl(e)}`)}}}pushMapState(e){if(e>this.maxMapLength)throw new Mt(`Max length exceeded: map length (${e}) > maxMapLengthLength (${this.maxMapLength})`);this.stack.pushMapState(e)}pushArrayState(e){if(e>this.maxArrayLength)throw new Mt(`Max length exceeded: array length (${e}) > maxArrayLength (${this.maxArrayLength})`);this.stack.pushArrayState(e)}decodeString(e,n){return!this.rawStrings||this.stateIsMapKey()?this.decodeUtf8String(e,n):this.decodeBinary(e,n)}decodeUtf8String(e,n){if(e>this.maxStrLength)throw new Mt(`Max length exceeded: UTF-8 byte length (${e}) > maxStrLength (${this.maxStrLength})`);if(this.bytes.byteLength<this.pos+n+e)throw My;const r=this.pos+n;let i;return this.stateIsMapKey()&&this.keyDecoder?.canBeCached(e)?i=this.keyDecoder.decode(this.bytes,r,e):i=BS(this.bytes,r,e),this.pos+=n+e,i}stateIsMapKey(){return this.stack.length>0?this.stack.top().type===vo:!1}decodeBinary(e,n){if(e>this.maxBinLength)throw new Mt(`Max length exceeded: bin length (${e}) > maxBinLength (${this.maxBinLength})`);if(!this.hasRemaining(e+n))throw My;const r=this.pos+n,i=this.bytes.subarray(r,r+e);return this.pos+=n+e,i}decodeExtension(e,n){if(e>this.maxExtLength)throw new Mt(`Max length exceeded: ext length (${e}) > maxExtLength (${this.maxExtLength})`);const r=this.view.getInt8(this.pos+n),i=this.decodeBinary(e,n+1);return this.extensionCodec.decode(i,r,this.context)}lookU8(){return this.view.getUint8(this.pos)}lookU16(){return this.view.getUint16(this.pos)}lookU32(){return this.view.getUint32(this.pos)}readU8(){const e=this.view.getUint8(this.pos);return this.pos++,e}readI8(){const e=this.view.getInt8(this.pos);return this.pos++,e}readU16(){const e=this.view.getUint16(this.pos);return this.pos+=2,e}readI16(){const e=this.view.getInt16(this.pos);return this.pos+=2,e}readU32(){const e=this.view.getUint32(this.pos);return this.pos+=4,e}readI32(){const e=this.view.getInt32(this.pos);return this.pos+=4,e}readU64(){const e=AS(this.view,this.pos);return this.pos+=8,e}readI64(){const e=ky(this.view,this.pos);return this.pos+=8,e}readU64AsBigInt(){const e=this.view.getBigUint64(this.pos);return this.pos+=8,e}readI64AsBigInt(){const e=this.view.getBigInt64(this.pos);return this.pos+=8,e}readF32(){const e=this.view.getFloat32(this.pos);return this.pos+=4,e}readF64(){const e=this.view.getFloat64(this.pos);return this.pos+=8,e}}function WS(t,e){return new Ol(e).decode(t)}const YS=":";function pc(t){const[e,n]=t.split(YS);return{namespace:e,reference:n}}function jy(t,e){return t.includes(":")?[t]:e.chains||[]}var XS=Object.defineProperty,JS=Object.defineProperties,QS=Object.getOwnPropertyDescriptors,zy=Object.getOwnPropertySymbols,eB=Object.prototype.hasOwnProperty,tB=Object.prototype.propertyIsEnumerable,Dl=(t,e,n)=>e in t?XS(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Hy=(t,e)=>{for(var n in e||(e={}))eB.call(e,n)&&Dl(t,n,e[n]);if(zy)for(var n of zy(e))tB.call(e,n)&&Dl(t,n,e[n]);return t},nB=(t,e)=>JS(t,QS(e)),Vy=(t,e,n)=>Dl(t,typeof e!="symbol"?e+"":e,n);const rB="ReactNative",jt={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},iB="js";function gc(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}function Wr(){return!Un()&&!!Fs()&&navigator.product===rB}function sB(){return Wr()&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"&&(global==null?void 0:global.Platform.OS)==="android"}function oB(){return Wr()&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"&&(global==null?void 0:global.Platform.OS)==="ios"}function ms(){return!gc()&&!!Fs()&&!!Un()}function xo(){return Wr()?jt.reactNative:gc()?jt.node:ms()?jt.browser:jt.unknown}function Ky(){var t;try{return Wr()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(t=global.Application)==null?void 0:t.applicationId:void 0}catch{return}}function aB(t,e){const n=new URLSearchParams(t);return Object.entries(e).sort(([r],[i])=>r.localeCompare(i)).forEach(([r,i])=>{i!=null&&n.set(r,String(i))}),n.toString()}function cB(t){var e,n;const r=Gy();try{return t!=null&&t.url&&r.url&&new URL(t.url).host!==new URL(r.url).host&&(console.warn(`The configured WalletConnect 'metadata.url':${t.url} differs from the actual page url:${r.url}. This is probably unintended and can lead to issues.`),t.url=r.url),(e=t?.icons)!=null&&e.length&&t.icons.length>0&&(t.icons=t.icons.filter(i=>i!=="")),nB(Hy(Hy({},r),t),{url:t?.url||r.url,name:t?.name||r.name,description:t?.description||r.description,icons:(n=t?.icons)!=null&&n.length&&t.icons.length>0?t.icons:r.icons})}catch(i){return console.warn("Error populating app metadata",i),t||r}}function Gy(){return Pd()||{name:"",description:"",url:"",icons:[""]}}function fB(){if(xo()===jt.reactNative&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"){const{OS:n,Version:r}=global.Platform;return[n,r].join("-")}const t=l3();if(t===null)return"unknown";const e=t.os?t.os.replace(" ","").toLowerCase():"unknown";return t.type==="browser"?[e,t.name,t.version].join("-"):[e,t.version].join("-")}function uB(){var t;const e=xo();return e===jt.browser?[e,((t=Dd())==null?void 0:t.host)||"unknown"].join(":"):e}function Zy(t,e,n){const r=fB(),i=uB();return[[t,e].join("-"),[iB,n].join("-"),r,i].join("/")}function lB({protocol:t,version:e,relayUrl:n,sdkVersion:r,auth:i,projectId:s,useOnCloseEvent:o,bundleId:a,packageName:c}){const f=n.split("?"),u=Zy(t,e,r),h={auth:i,ua:u,projectId:s,useOnCloseEvent:o||void 0,packageName:c||void 0,bundleId:a||void 0},l=aB(f[1]||"",h);return f[0]+"?"+l}function Ri(t,e){return t.filter(n=>e.includes(n)).length===t.length}function Pl(t){return Object.fromEntries(t.entries())}function Rl(t){return new Map(Object.entries(t))}function Ti(t=Z.FIVE_MINUTES,e){const n=Z.toMiliseconds(t||Z.FIVE_MINUTES);let r,i,s,o;return{resolve:a=>{s&&r&&(clearTimeout(s),r(a),o=Promise.resolve(a))},reject:a=>{s&&i&&(clearTimeout(s),i(a))},done:()=>new Promise((a,c)=>{if(o)return a(o);s=setTimeout(()=>{const f=new Error(e);o=Promise.reject(f),c(f)},n),r=a,i=c})}}function Bn(t,e,n){return new Promise(async(r,i)=>{const s=setTimeout(()=>i(new Error(n)),e);try{const o=await t;r(o)}catch(o){i(o)}clearTimeout(s)})}function Wy(t,e){if(typeof e=="string"&&e.startsWith(`${t}:`))return e;if(t.toLowerCase()==="topic"){if(typeof e!="string")throw new Error('Value must be "string" for expirer target type: topic');return`topic:${e}`}else if(t.toLowerCase()==="id"){if(typeof e!="number")throw new Error('Value must be "number" for expirer target type: id');return`id:${e}`}throw new Error(`Unknown expirer target type: ${t}`)}function hB(t){return Wy("topic",t)}function dB(t){return Wy("id",t)}function Yy(t){const[e,n]=t.split(":"),r={id:void 0,topic:void 0};if(e==="topic"&&typeof n=="string")r.topic=n;else if(e==="id"&&Number.isInteger(Number(n)))r.id=Number(n);else throw new Error(`Invalid target, expected id:number or topic:string, got ${e}:${n}`);return r}function Ue(t,e){return Z.fromMiliseconds((e||Date.now())+Z.toMiliseconds(t))}function Yr(t){return Date.now()>=Z.toMiliseconds(t)}function pe(t,e){return`${t}${e?`:${e}`:""}`}function Ni(t=[],e=[]){return[...new Set([...t,...e])]}async function pB({id:t,topic:e,wcDeepLink:n}){var r;try{if(!n)return;const i=typeof n=="string"?JSON.parse(n):n,s=i?.href;if(typeof s!="string")return;const o=gB(s,t,e),a=xo();if(a===jt.browser){if(!((r=Un())!=null&&r.hasFocus())){console.warn("Document does not have focus, skipping deeplink.");return}yB(o)}else a===jt.reactNative&&typeof(global==null?void 0:global.Linking)<"u"&&await global.Linking.openURL(o)}catch(i){console.error(i)}}function gB(t,e,n){const r=`requestId=${e}&sessionTopic=${n}`;t.endsWith("/")&&(t=t.slice(0,-1));let i=`${t}`;if(t.startsWith("https://t.me")){const s=t.includes("?")?"&startapp=":"?startapp=";i=`${i}${s}${vB(r,!0)}`}else i=`${i}/wc?${r}`;return i}function yB(t){let e="_self";mB()?e="_top":(wB()||t.startsWith("https://")||t.startsWith("http://"))&&(e="_blank"),window.open(t,e,"noreferrer noopener")}async function bB(t,e){let n="";try{if(ms()&&(n=localStorage.getItem(e),n))return n;n=await t.getItem(e)}catch(r){console.error(r)}return n}function Xy(t,e){if(!t.includes(e))return null;const n=t.split(/([&,?,=])/),r=n.indexOf(e);return n[r+2]}function Jy(){return typeof crypto<"u"&&crypto!=null&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/gu,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}function Tl(){return typeof process<"u"&&process.env.IS_VITEST==="true"}function wB(){return typeof window<"u"&&(!!window.TelegramWebviewProxy||!!window.Telegram||!!window.TelegramWebviewProxyProto)}function mB(){try{return window.self!==window.top}catch{return!1}}function vB(t,e=!1){const n=Buffer.from(t).toString("base64");return e?n.replace(/[=]/g,""):n}function Qy(t){return Buffer.from(t,"base64").toString("utf-8")}function EB(t){return new Promise(e=>setTimeout(e,t))}class xB{constructor({limit:e}){Vy(this,"limit"),Vy(this,"set"),this.limit=e,this.set=new Set}add(e){if(!this.set.has(e)){if(this.set.size>=this.limit){const n=this.set.values().next().value;n&&this.set.delete(n)}this.set.add(e)}}has(e){return this.set.has(e)}}const yc=BigInt(2**32-1),eb=BigInt(32);function tb(t,e=!1){return e?{h:Number(t&yc),l:Number(t>>eb&yc)}:{h:Number(t>>eb&yc)|0,l:Number(t&yc)|0}}function nb(t,e=!1){const n=t.length;let r=new Uint32Array(n),i=new Uint32Array(n);for(let s=0;s<n;s++){const{h:o,l:a}=tb(t[s],e);[r[s],i[s]]=[o,a]}return[r,i]}const rb=(t,e,n)=>t>>>n,ib=(t,e,n)=>t<<32-n|e>>>n,Xr=(t,e,n)=>t>>>n|e<<32-n,Jr=(t,e,n)=>t<<32-n|e>>>n,_o=(t,e,n)=>t<<64-n|e>>>n-32,Io=(t,e,n)=>t>>>n-32|e<<64-n,_B=(t,e)=>e,IB=(t,e)=>t,SB=(t,e,n)=>t<<n|e>>>32-n,BB=(t,e,n)=>e<<n|t>>>32-n,$B=(t,e,n)=>e<<n-32|t>>>64-n,AB=(t,e,n)=>t<<n-32|e>>>64-n;function dn(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const Nl=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),Ul=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,OB=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),DB=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,PB=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),RB=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,vs=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function bc(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function tr(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function pn(t,...e){if(!bc(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function wc(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");tr(t.outputLen),tr(t.blockLen)}function Qr(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Cl(t,e){pn(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function So(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function Xt(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function Fl(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function $n(t,e){return t<<32-e|t>>>e}const sb=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function ob(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}const nr=sb?t=>t:t=>ob(t);function TB(t){for(let e=0;e<t.length;e++)t[e]=ob(t[e]);return t}const ei=sb?t=>t:TB,ab=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",NB=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function Es(t){if(pn(t),ab)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=NB[t[n]];return e}const rr={_0:48,_9:57,A:65,F:70,a:97,f:102};function cb(t){if(t>=rr._0&&t<=rr._9)return t-rr._0;if(t>=rr.A&&t<=rr.F)return t-(rr.A-10);if(t>=rr.a&&t<=rr.f)return t-(rr.a-10)}function mc(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(ab)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=cb(t.charCodeAt(s)),a=cb(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function fb(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function gn(t){return typeof t=="string"&&(t=fb(t)),pn(t),t}function ti(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];pn(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class vc{}function Bo(t){const e=r=>t().update(gn(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function UB(t){const e=(r,i)=>t(i).update(gn(r)).digest(),n=t({});return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=r=>t(r),e}function Ui(t=32){if(vs&&typeof vs.getRandomValues=="function")return vs.getRandomValues(new Uint8Array(t));if(vs&&typeof vs.randomBytes=="function")return Uint8Array.from(vs.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}const CB=BigInt(0),$o=BigInt(1),FB=BigInt(2),LB=BigInt(7),kB=BigInt(256),qB=BigInt(113),ub=[],lb=[],hb=[];for(let t=0,e=$o,n=1,r=0;t<24;t++){[n,r]=[r,(2*n+3*r)%5],ub.push(2*(5*r+n)),lb.push((t+1)*(t+2)/2%64);let i=CB;for(let s=0;s<7;s++)e=(e<<$o^(e>>LB)*qB)%kB,e&FB&&(i^=$o<<($o<<BigInt(s))-$o);hb.push(i)}const db=nb(hb,!0),MB=db[0],jB=db[1],pb=(t,e,n)=>n>32?$B(t,e,n):SB(t,e,n),gb=(t,e,n)=>n>32?AB(t,e,n):BB(t,e,n);function zB(t,e=24){const n=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let o=0;o<10;o++)n[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,f=n[c],u=n[c+1],h=pb(f,u,1)^n[a],l=gb(f,u,1)^n[a+1];for(let d=0;d<50;d+=10)t[o+d]^=h,t[o+d+1]^=l}let i=t[2],s=t[3];for(let o=0;o<24;o++){const a=lb[o],c=pb(i,s,a),f=gb(i,s,a),u=ub[o];i=t[u],s=t[u+1],t[u]=c,t[u+1]=f}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=t[o+a];for(let a=0;a<10;a++)t[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}t[0]^=MB[r],t[1]^=jB[r]}Xt(n)}class Ll extends vc{constructor(e,n,r,i=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=s,tr(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=So(this.state)}clone(){return this._cloneInto()}keccak(){ei(this.state32),zB(this.state32,this.rounds),ei(this.state32),this.posOut=0,this.pos=0}update(e){Qr(this),e=gn(e),pn(e);const{blockLen:n,state:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(n-this.pos,i-s);for(let a=0;a<o;a++)r[this.pos++]^=e[s++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:n,pos:r,blockLen:i}=this;e[r]^=n,(n&128)!==0&&r===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){Qr(this,!1),pn(e),this.finish();const n=this.state,{blockLen:r}=this;for(let i=0,s=e.length;i<s;){this.posOut>=r&&this.keccak();const o=Math.min(r-this.posOut,s-i);e.set(n.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return tr(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(Cl(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,Xt(this.state)}_cloneInto(e){const{blockLen:n,suffix:r,outputLen:i,rounds:s,enableXOF:o}=this;return e||(e=new Ll(n,r,i,o,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=i,e.enableXOF=o,e.destroyed=this.destroyed,e}}const HB=(t,e,n)=>Bo(()=>new Ll(e,t,n)),VB=HB(1,136,256/8);function KB(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,f=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+f,a,r)}function GB(t,e,n){return t&e^~t&n}function ZB(t,e,n){return t&e^t&n^e&n}class yb extends vc{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=Fl(this.buffer)}update(e){Qr(this),e=gn(e),pn(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=Fl(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Qr(this),Cl(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,Xt(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let h=o;h<i;h++)n[h]=0;KB(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=Fl(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const f=c/4,u=this.get();if(f>u.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<f;h++)a.setUint32(4*h,u[h],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const ni=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ft=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),ut=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),WB=Uint32Array.from([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]),ri=new Uint32Array(64);class YB extends yb{constructor(e=32){super(64,e,8,!1),this.A=ni[0]|0,this.B=ni[1]|0,this.C=ni[2]|0,this.D=ni[3]|0,this.E=ni[4]|0,this.F=ni[5]|0,this.G=ni[6]|0,this.H=ni[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let h=0;h<16;h++,n+=4)ri[h]=e.getUint32(n,!1);for(let h=16;h<64;h++){const l=ri[h-15],d=ri[h-2],p=$n(l,7)^$n(l,18)^l>>>3,b=$n(d,17)^$n(d,19)^d>>>10;ri[h]=b+ri[h-7]+p+ri[h-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:f,H:u}=this;for(let h=0;h<64;h++){const l=$n(a,6)^$n(a,11)^$n(a,25),d=u+l+GB(a,c,f)+WB[h]+ri[h]|0,p=($n(r,2)^$n(r,13)^$n(r,22))+ZB(r,i,s)|0;u=f,f=c,c=a,a=o+d|0,o=s,s=i,i=r,r=d+p|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,f=f+this.G|0,u=u+this.H|0,this.set(r,i,s,o,a,c,f,u)}roundClean(){Xt(ri)}destroy(){this.set(0,0,0,0,0,0,0,0),Xt(this.buffer)}}const bb=nb(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),XB=bb[0],JB=bb[1],ii=new Uint32Array(80),si=new Uint32Array(80);class kl extends yb{constructor(e=64){super(128,e,16,!1),this.Ah=ut[0]|0,this.Al=ut[1]|0,this.Bh=ut[2]|0,this.Bl=ut[3]|0,this.Ch=ut[4]|0,this.Cl=ut[5]|0,this.Dh=ut[6]|0,this.Dl=ut[7]|0,this.Eh=ut[8]|0,this.El=ut[9]|0,this.Fh=ut[10]|0,this.Fl=ut[11]|0,this.Gh=ut[12]|0,this.Gl=ut[13]|0,this.Hh=ut[14]|0,this.Hl=ut[15]|0}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:f,El:u,Fh:h,Fl:l,Gh:d,Gl:p,Hh:b,Hl:v}=this;return[e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v]}set(e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=f|0,this.El=u|0,this.Fh=h|0,this.Fl=l|0,this.Gh=d|0,this.Gl=p|0,this.Hh=b|0,this.Hl=v|0}process(e,n){for(let x=0;x<16;x++,n+=4)ii[x]=e.getUint32(n),si[x]=e.getUint32(n+=4);for(let x=16;x<80;x++){const S=ii[x-15]|0,R=si[x-15]|0,U=Xr(S,R,1)^Xr(S,R,8)^rb(S,R,7),L=Jr(S,R,1)^Jr(S,R,8)^ib(S,R,7),C=ii[x-2]|0,A=si[x-2]|0,j=Xr(C,A,19)^_o(C,A,61)^rb(C,A,6),q=Jr(C,A,19)^Io(C,A,61)^ib(C,A,6),E=OB(L,q,si[x-7],si[x-16]),y=DB(E,U,j,ii[x-7],ii[x-16]);ii[x]=y|0,si[x]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:f,Dl:u,Eh:h,El:l,Fh:d,Fl:p,Gh:b,Gl:v,Hh:O,Hl:P}=this;for(let x=0;x<80;x++){const S=Xr(h,l,14)^Xr(h,l,18)^_o(h,l,41),R=Jr(h,l,14)^Jr(h,l,18)^Io(h,l,41),U=h&d^~h&b,L=l&p^~l&v,C=PB(P,R,L,JB[x],si[x]),A=RB(C,O,S,U,XB[x],ii[x]),j=C|0,q=Xr(r,i,28)^_o(r,i,34)^_o(r,i,39),E=Jr(r,i,28)^Io(r,i,34)^Io(r,i,39),y=r&s^r&a^s&a,w=i&o^i&c^o&c;O=b|0,P=v|0,b=d|0,v=p|0,d=h|0,p=l|0,{h,l}=dn(f|0,u|0,A|0,j|0),f=a|0,u=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=Nl(j,E,w);r=Ul(g,A,q,y),i=g|0}({h:r,l:i}=dn(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=dn(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=dn(this.Ch|0,this.Cl|0,a|0,c|0),{h:f,l:u}=dn(this.Dh|0,this.Dl|0,f|0,u|0),{h,l}=dn(this.Eh|0,this.El|0,h|0,l|0),{h:d,l:p}=dn(this.Fh|0,this.Fl|0,d|0,p|0),{h:b,l:v}=dn(this.Gh|0,this.Gl|0,b|0,v|0),{h:O,l:P}=dn(this.Hh|0,this.Hl|0,O|0,P|0),this.set(r,i,s,o,a,c,f,u,h,l,d,p,b,v,O,P)}roundClean(){Xt(ii,si)}destroy(){Xt(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class QB extends kl{constructor(){super(48),this.Ah=ft[0]|0,this.Al=ft[1]|0,this.Bh=ft[2]|0,this.Bl=ft[3]|0,this.Ch=ft[4]|0,this.Cl=ft[5]|0,this.Dh=ft[6]|0,this.Dl=ft[7]|0,this.Eh=ft[8]|0,this.El=ft[9]|0,this.Fh=ft[10]|0,this.Fl=ft[11]|0,this.Gh=ft[12]|0,this.Gl=ft[13]|0,this.Hh=ft[14]|0,this.Hl=ft[15]|0}}const lt=Uint32Array.from([573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882]);class e$ extends kl{constructor(){super(32),this.Ah=lt[0]|0,this.Al=lt[1]|0,this.Bh=lt[2]|0,this.Bl=lt[3]|0,this.Ch=lt[4]|0,this.Cl=lt[5]|0,this.Dh=lt[6]|0,this.Dl=lt[7]|0,this.Eh=lt[8]|0,this.El=lt[9]|0,this.Fh=lt[10]|0,this.Fl=lt[11]|0,this.Gh=lt[12]|0,this.Gl=lt[13]|0,this.Hh=lt[14]|0,this.Hl=lt[15]|0}}const Ec=Bo(()=>new YB),t$=Bo(()=>new kl),n$=Bo(()=>new QB),r$=Bo(()=>new e$),i$=Uint8Array.from([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9]),Ce=Uint32Array.from([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),X=new Uint32Array(32);function oi(t,e,n,r,i,s){const o=i[s],a=i[s+1];let c=X[2*t],f=X[2*t+1],u=X[2*e],h=X[2*e+1],l=X[2*n],d=X[2*n+1],p=X[2*r],b=X[2*r+1],v=Nl(c,u,o);f=Ul(v,f,h,a),c=v|0,{Dh:b,Dl:p}={Dh:b^f,Dl:p^c},{Dh:b,Dl:p}={Dh:_B(b,p),Dl:IB(b)},{h:d,l}=dn(d,l,b,p),{Bh:h,Bl:u}={Bh:h^d,Bl:u^l},{Bh:h,Bl:u}={Bh:Xr(h,u,24),Bl:Jr(h,u,24)},X[2*t]=c,X[2*t+1]=f,X[2*e]=u,X[2*e+1]=h,X[2*n]=l,X[2*n+1]=d,X[2*r]=p,X[2*r+1]=b}function ai(t,e,n,r,i,s){const o=i[s],a=i[s+1];let c=X[2*t],f=X[2*t+1],u=X[2*e],h=X[2*e+1],l=X[2*n],d=X[2*n+1],p=X[2*r],b=X[2*r+1],v=Nl(c,u,o);f=Ul(v,f,h,a),c=v|0,{Dh:b,Dl:p}={Dh:b^f,Dl:p^c},{Dh:b,Dl:p}={Dh:Xr(b,p,16),Dl:Jr(b,p,16)},{h:d,l}=dn(d,l,b,p),{Bh:h,Bl:u}={Bh:h^d,Bl:u^l},{Bh:h,Bl:u}={Bh:_o(h,u,63),Bl:Io(h,u,63)},X[2*t]=c,X[2*t+1]=f,X[2*e]=u,X[2*e+1]=h,X[2*n]=l,X[2*n+1]=d,X[2*r]=p,X[2*r+1]=b}function s$(t,e={},n,r,i){if(tr(n),t<0||t>n)throw new Error("outputLen bigger than keyLen");const{key:s,salt:o,personalization:a}=e;if(s!==void 0&&(s.length<1||s.length>n))throw new Error("key length must be undefined or 1.."+n);if(o!==void 0&&o.length!==r)throw new Error("salt must be undefined or "+r);if(a!==void 0&&a.length!==i)throw new Error("personalization must be undefined or "+i)}class o$ extends vc{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,this.length=0,this.pos=0,tr(e),tr(n),this.blockLen=e,this.outputLen=n,this.buffer=new Uint8Array(e),this.buffer32=So(this.buffer)}update(e){Qr(this),e=gn(e),pn(e);const{blockLen:n,buffer:r,buffer32:i}=this,s=e.length,o=e.byteOffset,a=e.buffer;for(let c=0;c<s;){this.pos===n&&(ei(i),this.compress(i,0,!1),ei(i),this.pos=0);const f=Math.min(n-this.pos,s-c),u=o+c;if(f===n&&!(u%4)&&c+f<s){const h=new Uint32Array(a,u,Math.floor((s-c)/4));ei(h);for(let l=0;c+n<s;l+=i.length,c+=n)this.length+=n,this.compress(h,l,!1);ei(h);continue}r.set(e.subarray(c,c+f),this.pos),this.pos+=f,this.length+=f,c+=f}return this}digestInto(e){Qr(this),Cl(e,this);const{pos:n,buffer32:r}=this;this.finished=!0,Xt(this.buffer.subarray(n)),ei(r),this.compress(r,0,!0),ei(r);const i=So(e);this.get().forEach((s,o)=>i[o]=nr(s))}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){const{buffer:n,length:r,finished:i,destroyed:s,outputLen:o,pos:a}=this;return e||(e=new this.constructor({dkLen:o})),e.set(...this.get()),e.buffer.set(n),e.destroyed=s,e.finished=i,e.length=r,e.pos=a,e.outputLen=o,e}clone(){return this._cloneInto()}}class a$ extends o${constructor(e={}){const n=e.dkLen===void 0?64:e.dkLen;super(128,n),this.v0l=Ce[0]|0,this.v0h=Ce[1]|0,this.v1l=Ce[2]|0,this.v1h=Ce[3]|0,this.v2l=Ce[4]|0,this.v2h=Ce[5]|0,this.v3l=Ce[6]|0,this.v3h=Ce[7]|0,this.v4l=Ce[8]|0,this.v4h=Ce[9]|0,this.v5l=Ce[10]|0,this.v5h=Ce[11]|0,this.v6l=Ce[12]|0,this.v6h=Ce[13]|0,this.v7l=Ce[14]|0,this.v7h=Ce[15]|0,s$(n,e,64,16,16);let{key:r,personalization:i,salt:s}=e,o=0;if(r!==void 0&&(r=gn(r),o=r.length),this.v0l^=this.outputLen|o<<8|65536|1<<24,s!==void 0){s=gn(s);const a=So(s);this.v4l^=nr(a[0]),this.v4h^=nr(a[1]),this.v5l^=nr(a[2]),this.v5h^=nr(a[3])}if(i!==void 0){i=gn(i);const a=So(i);this.v6l^=nr(a[0]),this.v6h^=nr(a[1]),this.v7l^=nr(a[2]),this.v7h^=nr(a[3])}if(r!==void 0){const a=new Uint8Array(this.blockLen);a.set(r),this.update(a)}}get(){let{v0l:e,v0h:n,v1l:r,v1h:i,v2l:s,v2h:o,v3l:a,v3h:c,v4l:f,v4h:u,v5l:h,v5h:l,v6l:d,v6h:p,v7l:b,v7h:v}=this;return[e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v]}set(e,n,r,i,s,o,a,c,f,u,h,l,d,p,b,v){this.v0l=e|0,this.v0h=n|0,this.v1l=r|0,this.v1h=i|0,this.v2l=s|0,this.v2h=o|0,this.v3l=a|0,this.v3h=c|0,this.v4l=f|0,this.v4h=u|0,this.v5l=h|0,this.v5h=l|0,this.v6l=d|0,this.v6h=p|0,this.v7l=b|0,this.v7h=v|0}compress(e,n,r){this.get().forEach((c,f)=>X[f]=c),X.set(Ce,16);let{h:i,l:s}=tb(BigInt(this.length));X[24]=Ce[8]^s,X[25]=Ce[9]^i,r&&(X[28]=~X[28],X[29]=~X[29]);let o=0;const a=i$;for(let c=0;c<12;c++)oi(0,4,8,12,e,n+2*a[o++]),ai(0,4,8,12,e,n+2*a[o++]),oi(1,5,9,13,e,n+2*a[o++]),ai(1,5,9,13,e,n+2*a[o++]),oi(2,6,10,14,e,n+2*a[o++]),ai(2,6,10,14,e,n+2*a[o++]),oi(3,7,11,15,e,n+2*a[o++]),ai(3,7,11,15,e,n+2*a[o++]),oi(0,5,10,15,e,n+2*a[o++]),ai(0,5,10,15,e,n+2*a[o++]),oi(1,6,11,12,e,n+2*a[o++]),ai(1,6,11,12,e,n+2*a[o++]),oi(2,7,8,13,e,n+2*a[o++]),ai(2,7,8,13,e,n+2*a[o++]),oi(3,4,9,14,e,n+2*a[o++]),ai(3,4,9,14,e,n+2*a[o++]);this.v0l^=X[0]^X[16],this.v0h^=X[1]^X[17],this.v1l^=X[2]^X[18],this.v1h^=X[3]^X[19],this.v2l^=X[4]^X[20],this.v2h^=X[5]^X[21],this.v3l^=X[6]^X[22],this.v3h^=X[7]^X[23],this.v4l^=X[8]^X[24],this.v4h^=X[9]^X[25],this.v5l^=X[10]^X[26],this.v5h^=X[11]^X[27],this.v6l^=X[12]^X[28],this.v6h^=X[13]^X[29],this.v7l^=X[14]^X[30],this.v7h^=X[15]^X[31],Xt(X)}destroy(){this.destroyed=!0,Xt(this.buffer32),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const c$=UB(t=>new a$(t)),f$="https://rpc.walletconnect.org/v1";function wb(t){const e=`Ethereum Signed Message:
|
|
19
|
-
${t.length}`,n=new TextEncoder().encode(e+t);return"0x"+Buffer.from(
|
|
20
|
-
- ${
|
|
21
|
-
`)};function D$(t){return Buffer.from(JSON.stringify(t)).toString("base64")}function P$(t){return JSON.parse(Buffer.from(t,"base64").toString("utf-8"))}function Ci(t){if(!t)throw new Error("No recap provided, value is undefined");if(!t.att)throw new Error("No `att` property found");const e=Object.keys(t.att);if(!(e!=null&&e.length))throw new Error("No resources found in `att` property");e.forEach(n=>{const r=t.att[n];if(Array.isArray(r))throw new Error(`Resource must be an object: ${n}`);if(typeof r!="object")throw new Error(`Resource must be an object: ${n}`);if(!Object.keys(r).length)throw new Error(`Resource object is empty: ${n}`);Object.keys(r).forEach(i=>{const s=r[i];if(!Array.isArray(s))throw new Error(`Ability limits ${i} must be an array of objects, found: ${s}`);if(!s.length)throw new Error(`Value of ${i} is empty array, must be an array with objects`);s.forEach(o=>{if(typeof o!="object")throw new Error(`Ability limits (${i}) must be an array of objects, found: ${o}`)})})})}function R$(t,e,n,r={}){return n?.sort((i,s)=>i.localeCompare(s)),{att:{[t]:T$(e,n,r)}}}function T$(t,e,n={}){e=e?.sort((i,s)=>i.localeCompare(s));const r=e.map(i=>({[`${t}/${i}`]:[n]}));return Object.assign({},...r)}function Bb(t){return Ci(t),`urn:recap:${D$(t).replace(/=/g,"")}`}function Ao(t){const e=P$(t.replace("urn:recap:",""));return Ci(e),e}function N$(t,e,n){const r=R$(t,e,n);return Bb(r)}function U$(t){return t&&t.includes("urn:recap:")}function C$(t,e){const n=Ao(t),r=Ao(e),i=F$(n,r);return Bb(i)}function F$(t,e){Ci(t),Ci(e);const n=Object.keys(t.att).concat(Object.keys(e.att)).sort((i,s)=>i.localeCompare(s)),r={att:{}};return n.forEach(i=>{var s,o;Object.keys(((s=t.att)==null?void 0:s[i])||{}).concat(Object.keys(((o=e.att)==null?void 0:o[i])||{})).sort((a,c)=>a.localeCompare(c)).forEach(a=>{var c,f;r.att[i]=S$(I$({},r.att[i]),{[a]:((c=t.att[i])==null?void 0:c[a])||((f=e.att[i])==null?void 0:f[a])})})}),r}function L$(t="",e){Ci(e);const n="I further authorize the stated URI to perform the following actions on my behalf: ";if(t.includes(n))return t;const r=[];let i=0;Object.keys(e.att).forEach(a=>{const c=Object.keys(e.att[a]).map(h=>({ability:h.split("/")[0],action:h.split("/")[1]}));c.sort((h,l)=>h.action.localeCompare(l.action));const f={};c.forEach(h=>{f[h.ability]||(f[h.ability]=[]),f[h.ability].push(h.action)});const u=Object.keys(f).map(h=>(i++,`(${i}) '${h}': '${f[h].join("', '")}' for '${a}'.`));r.push(u.join(", ").replace(".,","."))});const s=r.join(" "),o=`${n}${s}`;return`${t?t+" ":""}${o}`}function $b(t){var e;const n=Ao(t);Ci(n);const r=(e=n.att)==null?void 0:e.eip155;return r?Object.keys(r).map(i=>i.split("/")[1]):[]}function Ab(t){const e=Ao(t);Ci(e);const n=[];return Object.values(e.att).forEach(r=>{Object.values(r).forEach(i=>{var s;(s=i?.[0])!=null&&s.chains&&n.push(i[0].chains)})}),[...new Set(n.flat())]}function Ic(t){if(!t)return;const e=t?.[t.length-1];return U$(e)?e:void 0}/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */function Ob(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function jl(t){if(typeof t!="boolean")throw new Error(`boolean expected, not ${t}`)}function zl(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function Rt(t,...e){if(!Ob(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Db(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function k$(t,e){Rt(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function ci(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function xs(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function q$(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}const M$=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function j$(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Hl(t){if(typeof t=="string")t=j$(t);else if(Ob(t))t=Vl(t);else throw new Error("Uint8Array expected, got "+typeof t);return t}function z$(t,e){if(e==null||typeof e!="object")throw new Error("options must be defined");return Object.assign(t,e)}function H$(t,e){if(t.length!==e.length)return!1;let n=0;for(let r=0;r<t.length;r++)n|=t[r]^e[r];return n===0}const V$=(t,e)=>{function n(r,...i){if(Rt(r),!M$)throw new Error("Non little-endian hardware is not yet supported");if(t.nonceLength!==void 0){const f=i[0];if(!f)throw new Error("nonce / iv required");t.varSizeNonce?Rt(f):Rt(f,t.nonceLength)}const s=t.tagLength;s&&i[1]!==void 0&&Rt(i[1]);const o=e(r,...i),a=(f,u)=>{if(u!==void 0){if(f!==2)throw new Error("cipher output not supported");Rt(u)}};let c=!1;return{encrypt(f,u){if(c)throw new Error("cannot encrypt() twice with same key + nonce");return c=!0,Rt(f),a(o.encrypt.length,u),o.encrypt(f,u)},decrypt(f,u){if(Rt(f),s&&f.length<s)throw new Error("invalid ciphertext length: smaller than tagLength="+s);return a(o.decrypt.length,u),o.decrypt(f,u)}}}return Object.assign(n,t),n};function Pb(t,e,n=!0){if(e===void 0)return new Uint8Array(t);if(e.length!==t)throw new Error("invalid output length, expected "+t+", got: "+e.length);if(n&&!G$(e))throw new Error("invalid output, must be aligned");return e}function Rb(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,f=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+f,a,r)}function K$(t,e,n){jl(n);const r=new Uint8Array(16),i=q$(r);return Rb(i,0,BigInt(e),n),Rb(i,8,BigInt(t),n),r}function G$(t){return t.byteOffset%4===0}function Vl(t){return Uint8Array.from(t)}const Tb=t=>Uint8Array.from(t.split("").map(e=>e.charCodeAt(0))),Z$=Tb("expand 16-byte k"),W$=Tb("expand 32-byte k"),Y$=ci(Z$),X$=ci(W$);function le(t,e){return t<<e|t>>>32-e}function Kl(t){return t.byteOffset%4===0}const Sc=64,J$=16,Nb=2**32-1,Ub=new Uint32Array;function Q$(t,e,n,r,i,s,o,a){const c=i.length,f=new Uint8Array(Sc),u=ci(f),h=Kl(i)&&Kl(s),l=h?ci(i):Ub,d=h?ci(s):Ub;for(let p=0;p<c;o++){if(t(e,n,r,u,o,a),o>=Nb)throw new Error("arx: counter overflow");const b=Math.min(Sc,c-p);if(h&&b===Sc){const v=p/4;if(p%4!==0)throw new Error("arx: invalid block position");for(let O=0,P;O<J$;O++)P=v+O,d[P]=l[P]^u[O];p+=Sc;continue}for(let v=0,O;v<b;v++)O=p+v,s[O]=i[O]^f[v];p+=b}}function eA(t,e){const{allowShortKeys:n,extendNonceFn:r,counterLength:i,counterRight:s,rounds:o}=z$({allowShortKeys:!1,counterLength:8,counterRight:!1,rounds:20},e);if(typeof t!="function")throw new Error("core must be a function");return zl(i),zl(o),jl(s),jl(n),(a,c,f,u,h=0)=>{Rt(a),Rt(c),Rt(f);const l=f.length;if(u===void 0&&(u=new Uint8Array(l)),Rt(u),zl(h),h<0||h>=Nb)throw new Error("arx: counter overflow");if(u.length<l)throw new Error(`arx: output (${u.length}) is shorter than data (${l})`);const d=[];let p=a.length,b,v;if(p===32)d.push(b=Vl(a)),v=X$;else if(p===16&&n)b=new Uint8Array(32),b.set(a),b.set(a,16),v=Y$,d.push(b);else throw new Error(`arx: invalid 32-byte key, got length=${p}`);Kl(c)||d.push(c=Vl(c));const O=ci(b);if(r){if(c.length!==24)throw new Error("arx: extended nonce must be 24 bytes");r(v,O,ci(c.subarray(0,16)),O),c=c.subarray(16)}const P=16-i;if(P!==c.length)throw new Error(`arx: nonce must be ${P} or 16 bytes`);if(P!==12){const S=new Uint8Array(12);S.set(c,s?0:12-c.length),c=S,d.push(c)}const x=ci(c);return Q$(t,v,O,x,f,u,h,o),xs(...d),u}}const Ze=(t,e)=>t[e++]&255|(t[e++]&255)<<8;class tA{constructor(e){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,e=Hl(e),Rt(e,32);const n=Ze(e,0),r=Ze(e,2),i=Ze(e,4),s=Ze(e,6),o=Ze(e,8),a=Ze(e,10),c=Ze(e,12),f=Ze(e,14);this.r[0]=n&8191,this.r[1]=(n>>>13|r<<3)&8191,this.r[2]=(r>>>10|i<<6)&7939,this.r[3]=(i>>>7|s<<9)&8191,this.r[4]=(s>>>4|o<<12)&255,this.r[5]=o>>>1&8190,this.r[6]=(o>>>14|a<<2)&8191,this.r[7]=(a>>>11|c<<5)&8065,this.r[8]=(c>>>8|f<<8)&8191,this.r[9]=f>>>5&127;for(let u=0;u<8;u++)this.pad[u]=Ze(e,16+2*u)}process(e,n,r=!1){const i=r?0:2048,{h:s,r:o}=this,a=o[0],c=o[1],f=o[2],u=o[3],h=o[4],l=o[5],d=o[6],p=o[7],b=o[8],v=o[9],O=Ze(e,n+0),P=Ze(e,n+2),x=Ze(e,n+4),S=Ze(e,n+6),R=Ze(e,n+8),U=Ze(e,n+10),L=Ze(e,n+12),C=Ze(e,n+14);let A=s[0]+(O&8191),j=s[1]+((O>>>13|P<<3)&8191),q=s[2]+((P>>>10|x<<6)&8191),E=s[3]+((x>>>7|S<<9)&8191),y=s[4]+((S>>>4|R<<12)&8191),w=s[5]+(R>>>1&8191),g=s[6]+((R>>>14|U<<2)&8191),m=s[7]+((U>>>11|L<<5)&8191),_=s[8]+((L>>>8|C<<8)&8191),B=s[9]+(C>>>5|i),I=0,$=I+A*a+j*(5*v)+q*(5*b)+E*(5*p)+y*(5*d);I=$>>>13,$&=8191,$+=w*(5*l)+g*(5*h)+m*(5*u)+_*(5*f)+B*(5*c),I+=$>>>13,$&=8191;let D=I+A*c+j*a+q*(5*v)+E*(5*b)+y*(5*p);I=D>>>13,D&=8191,D+=w*(5*d)+g*(5*l)+m*(5*h)+_*(5*u)+B*(5*f),I+=D>>>13,D&=8191;let T=I+A*f+j*c+q*a+E*(5*v)+y*(5*b);I=T>>>13,T&=8191,T+=w*(5*p)+g*(5*d)+m*(5*l)+_*(5*h)+B*(5*u),I+=T>>>13,T&=8191;let F=I+A*u+j*f+q*c+E*a+y*(5*v);I=F>>>13,F&=8191,F+=w*(5*b)+g*(5*p)+m*(5*d)+_*(5*l)+B*(5*h),I+=F>>>13,F&=8191;let k=I+A*h+j*u+q*f+E*c+y*a;I=k>>>13,k&=8191,k+=w*(5*v)+g*(5*b)+m*(5*p)+_*(5*d)+B*(5*l),I+=k>>>13,k&=8191;let N=I+A*l+j*h+q*u+E*f+y*c;I=N>>>13,N&=8191,N+=w*a+g*(5*v)+m*(5*b)+_*(5*p)+B*(5*d),I+=N>>>13,N&=8191;let M=I+A*d+j*l+q*h+E*u+y*f;I=M>>>13,M&=8191,M+=w*c+g*a+m*(5*v)+_*(5*b)+B*(5*p),I+=M>>>13,M&=8191;let z=I+A*p+j*d+q*l+E*h+y*u;I=z>>>13,z&=8191,z+=w*f+g*c+m*a+_*(5*v)+B*(5*b),I+=z>>>13,z&=8191;let K=I+A*b+j*p+q*d+E*l+y*h;I=K>>>13,K&=8191,K+=w*u+g*f+m*c+_*a+B*(5*v),I+=K>>>13,K&=8191;let H=I+A*v+j*b+q*p+E*d+y*l;I=H>>>13,H&=8191,H+=w*h+g*u+m*f+_*c+B*a,I+=H>>>13,H&=8191,I=(I<<2)+I|0,I=I+$|0,$=I&8191,I=I>>>13,D+=I,s[0]=$,s[1]=D,s[2]=T,s[3]=F,s[4]=k,s[5]=N,s[6]=M,s[7]=z,s[8]=K,s[9]=H}finalize(){const{h:e,pad:n}=this,r=new Uint16Array(10);let i=e[1]>>>13;e[1]&=8191;for(let a=2;a<10;a++)e[a]+=i,i=e[a]>>>13,e[a]&=8191;e[0]+=i*5,i=e[0]>>>13,e[0]&=8191,e[1]+=i,i=e[1]>>>13,e[1]&=8191,e[2]+=i,r[0]=e[0]+5,i=r[0]>>>13,r[0]&=8191;for(let a=1;a<10;a++)r[a]=e[a]+i,i=r[a]>>>13,r[a]&=8191;r[9]-=8192;let s=(i^1)-1;for(let a=0;a<10;a++)r[a]&=s;s=~s;for(let a=0;a<10;a++)e[a]=e[a]&s|r[a];e[0]=(e[0]|e[1]<<13)&65535,e[1]=(e[1]>>>3|e[2]<<10)&65535,e[2]=(e[2]>>>6|e[3]<<7)&65535,e[3]=(e[3]>>>9|e[4]<<4)&65535,e[4]=(e[4]>>>12|e[5]<<1|e[6]<<14)&65535,e[5]=(e[6]>>>2|e[7]<<11)&65535,e[6]=(e[7]>>>5|e[8]<<8)&65535,e[7]=(e[8]>>>8|e[9]<<5)&65535;let o=e[0]+n[0];e[0]=o&65535;for(let a=1;a<8;a++)o=(e[a]+n[a]|0)+(o>>>16)|0,e[a]=o&65535;xs(r)}update(e){Db(this),e=Hl(e),Rt(e);const{buffer:n,blockLen:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(r-this.pos,i-s);if(o===r){for(;r<=i-s;s+=r)this.process(e,s);continue}n.set(e.subarray(s,s+o),this.pos),this.pos+=o,s+=o,this.pos===r&&(this.process(n,0,!1),this.pos=0)}return this}destroy(){xs(this.h,this.r,this.buffer,this.pad)}digestInto(e){Db(this),k$(e,this),this.finished=!0;const{buffer:n,h:r}=this;let{pos:i}=this;if(i){for(n[i++]=1;i<16;i++)n[i]=0;this.process(n,0,!0)}this.finalize();let s=0;for(let o=0;o<8;o++)e[s++]=r[o]>>>0,e[s++]=r[o]>>>8;return e}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}}function nA(t){const e=(r,i)=>t(i).update(Hl(r)).digest(),n=t(new Uint8Array(32));return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=r=>t(r),e}const rA=nA(t=>new tA(t));function iA(t,e,n,r,i,s=20){let o=t[0],a=t[1],c=t[2],f=t[3],u=e[0],h=e[1],l=e[2],d=e[3],p=e[4],b=e[5],v=e[6],O=e[7],P=i,x=n[0],S=n[1],R=n[2],U=o,L=a,C=c,A=f,j=u,q=h,E=l,y=d,w=p,g=b,m=v,_=O,B=P,I=x,$=S,D=R;for(let F=0;F<s;F+=2)U=U+j|0,B=le(B^U,16),w=w+B|0,j=le(j^w,12),U=U+j|0,B=le(B^U,8),w=w+B|0,j=le(j^w,7),L=L+q|0,I=le(I^L,16),g=g+I|0,q=le(q^g,12),L=L+q|0,I=le(I^L,8),g=g+I|0,q=le(q^g,7),C=C+E|0,$=le($^C,16),m=m+$|0,E=le(E^m,12),C=C+E|0,$=le($^C,8),m=m+$|0,E=le(E^m,7),A=A+y|0,D=le(D^A,16),_=_+D|0,y=le(y^_,12),A=A+y|0,D=le(D^A,8),_=_+D|0,y=le(y^_,7),U=U+q|0,D=le(D^U,16),m=m+D|0,q=le(q^m,12),U=U+q|0,D=le(D^U,8),m=m+D|0,q=le(q^m,7),L=L+E|0,B=le(B^L,16),_=_+B|0,E=le(E^_,12),L=L+E|0,B=le(B^L,8),_=_+B|0,E=le(E^_,7),C=C+y|0,I=le(I^C,16),w=w+I|0,y=le(y^w,12),C=C+y|0,I=le(I^C,8),w=w+I|0,y=le(y^w,7),A=A+j|0,$=le($^A,16),g=g+$|0,j=le(j^g,12),A=A+j|0,$=le($^A,8),g=g+$|0,j=le(j^g,7);let T=0;r[T++]=o+U|0,r[T++]=a+L|0,r[T++]=c+C|0,r[T++]=f+A|0,r[T++]=u+j|0,r[T++]=h+q|0,r[T++]=l+E|0,r[T++]=d+y|0,r[T++]=p+w|0,r[T++]=b+g|0,r[T++]=v+m|0,r[T++]=O+_|0,r[T++]=P+B|0,r[T++]=x+I|0,r[T++]=S+$|0,r[T++]=R+D|0}const sA=eA(iA,{counterRight:!1,counterLength:4,allowShortKeys:!1}),oA=new Uint8Array(16),Cb=(t,e)=>{t.update(e);const n=e.length%16;n&&t.update(oA.subarray(n))},aA=new Uint8Array(32);function Fb(t,e,n,r,i){const s=t(e,n,aA),o=rA.create(s);i&&Cb(o,i),Cb(o,r);const a=K$(r.length,i?i.length:0,!0);o.update(a);const c=o.digest();return xs(s,a),c}const cA=t=>(e,n,r)=>({encrypt(i,s){const o=i.length;s=Pb(o+16,s,!1),s.set(i);const a=s.subarray(0,-16);t(e,n,a,a,1);const c=Fb(t,e,n,a,r);return s.set(c,o),xs(c),s},decrypt(i,s){s=Pb(i.length-16,s,!1);const o=i.subarray(0,-16),a=i.subarray(-16),c=Fb(t,e,n,o,r);if(!H$(a,c))throw new Error("invalid tag");return s.set(i.subarray(0,-16)),t(e,n,s,s,1),xs(c),s}}),Lb=V$({blockSize:64,nonceLength:12,tagLength:16},cA(sA));class kb extends vc{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,wc(e);const r=gn(n);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),Xt(s)}update(e){return Qr(this),this.iHash.update(e),this}digestInto(e){Qr(this),pn(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const Bc=(t,e,n)=>new kb(t,e).update(n).digest();Bc.create=(t,e)=>new kb(t,e);function fA(t,e,n){return wc(t),n===void 0&&(n=new Uint8Array(t.outputLen)),Bc(t,gn(n),gn(e))}const Gl=Uint8Array.from([0]),qb=Uint8Array.of();function uA(t,e,n,r=32){wc(t),tr(r);const i=t.outputLen;if(r>255*i)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(r/i);n===void 0&&(n=qb);const o=new Uint8Array(s*i),a=Bc.create(t,e),c=a._cloneInto(),f=new Uint8Array(a.outputLen);for(let u=0;u<s;u++)Gl[0]=u+1,c.update(u===0?qb:f).update(n).update(Gl).digestInto(f),o.set(f,i*u),a._cloneInto(c);return a.destroy(),c.destroy(),Xt(f,Gl),o.slice(0,r)}const lA=(t,e,n,r,i)=>uA(t,fA(t,e,n),r,i),$c=Ec,Zl=BigInt(0),Wl=BigInt(1);function Ac(t,e=""){if(typeof t!="boolean"){const n=e&&`"${e}"`;throw new Error(n+"expected boolean, got type="+typeof t)}return t}function Fi(t,e,n=""){const r=bc(t),i=t?.length,s=e!==void 0;if(!r||s&&i!==e){const o=n&&`"${n}" `,a=s?` of length ${e}`:"",c=r?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+c)}return t}function Oc(t){const e=t.toString(16);return e.length&1?"0"+e:e}function Mb(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?Zl:BigInt("0x"+t)}function Dc(t){return Mb(Es(t))}function Pc(t){return pn(t),Mb(Es(Uint8Array.from(t).reverse()))}function Yl(t,e){return mc(t.toString(16).padStart(e*2,"0"))}function Xl(t,e){return Yl(t,e).reverse()}function ht(t,e,n){let r;if(typeof e=="string")try{r=mc(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(bc(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}const Jl=t=>typeof t=="bigint"&&Zl<=t;function hA(t,e,n){return Jl(t)&&Jl(e)&&Jl(n)&&e<=t&&t<n}function Ql(t,e,n,r){if(!hA(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function jb(t){let e;for(e=0;t>Zl;t>>=Wl,e+=1);return e}const Oo=t=>(Wl<<BigInt(t))-Wl;function dA(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const r=l=>new Uint8Array(l),i=l=>Uint8Array.of(l);let s=r(t),o=r(t),a=0;const c=()=>{s.fill(1),o.fill(0),a=0},f=(...l)=>n(o,s,...l),u=(l=r(0))=>{o=f(i(0),l),s=f(),l.length!==0&&(o=f(i(1),l),s=f())},h=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let l=0;const d=[];for(;l<e;){s=f();const p=s.slice();d.push(p),l+=s.length}return ti(...d)};return(l,d)=>{c(),u(l);let p;for(;!(p=d(h()));)u();return c(),p}}function Rc(t,e,n={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function r(i,s,o){const a=t[i];if(o&&a===void 0)return;const c=typeof a;if(c!==s||a===null)throw new Error(`param "${i}" is invalid: expected ${s}, got ${c}`)}Object.entries(e).forEach(([i,s])=>r(i,s,!1)),Object.entries(n).forEach(([i,s])=>r(i,s,!0))}function zb(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const Tt=BigInt(0),vt=BigInt(1),Li=BigInt(2),Hb=BigInt(3),Vb=BigInt(4),Kb=BigInt(5),pA=BigInt(7),Gb=BigInt(8),gA=BigInt(9),Zb=BigInt(16);function zt(t,e){const n=t%e;return n>=Tt?n:e+n}function yn(t,e,n){let r=t;for(;e-- >Tt;)r*=r,r%=n;return r}function Wb(t,e){if(t===Tt)throw new Error("invert: expected non-zero number");if(e<=Tt)throw new Error("invert: expected positive modulus, got "+e);let n=zt(t,e),r=e,i=Tt,s=vt;for(;n!==Tt;){const o=r/n,a=r%n,c=i-s*o;r=n,n=a,i=s,s=c}if(r!==vt)throw new Error("invert: does not exist");return zt(i,e)}function eh(t,e,n){if(!t.eql(t.sqr(e),n))throw new Error("Cannot find square root")}function Yb(t,e){const n=(t.ORDER+vt)/Vb,r=t.pow(e,n);return eh(t,r,e),r}function yA(t,e){const n=(t.ORDER-Kb)/Gb,r=t.mul(e,Li),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,Li),i),a=t.mul(s,t.sub(o,t.ONE));return eh(t,a,e),a}function bA(t){const e=fi(t),n=Xb(t),r=n(e,e.neg(e.ONE)),i=n(e,r),s=n(e,e.neg(r)),o=(t+pA)/Zb;return(a,c)=>{let f=a.pow(c,o),u=a.mul(f,r);const h=a.mul(f,i),l=a.mul(f,s),d=a.eql(a.sqr(u),c),p=a.eql(a.sqr(h),c);f=a.cmov(f,u,d),u=a.cmov(l,h,p);const b=a.eql(a.sqr(u),c),v=a.cmov(f,u,b);return eh(a,v,c),v}}function Xb(t){if(t<Hb)throw new Error("sqrt is not defined for small field");let e=t-vt,n=0;for(;e%Li===Tt;)e/=Li,n++;let r=Li;const i=fi(t);for(;Qb(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return Yb;let s=i.pow(r,e);const o=(e+vt)/Li;return function(a,c){if(a.is0(c))return c;if(Qb(a,c)!==1)throw new Error("Cannot find square root");let f=n,u=a.mul(a.ONE,s),h=a.pow(c,e),l=a.pow(c,o);for(;!a.eql(h,a.ONE);){if(a.is0(h))return a.ZERO;let d=1,p=a.sqr(h);for(;!a.eql(p,a.ONE);)if(d++,p=a.sqr(p),d===f)throw new Error("Cannot find square root");const b=vt<<BigInt(f-d-1),v=a.pow(u,b);f=d,u=a.sqr(v),h=a.mul(h,u),l=a.mul(l,v)}return l}}function wA(t){return t%Vb===Hb?Yb:t%Gb===Kb?yA:t%Zb===gA?bA(t):Xb(t)}const mA=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function vA(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=mA.reduce((r,i)=>(r[i]="function",r),e);return Rc(t,n),t}function EA(t,e,n){if(n<Tt)throw new Error("invalid exponent, negatives unsupported");if(n===Tt)return t.ONE;if(n===vt)return e;let r=t.ONE,i=e;for(;n>Tt;)n&vt&&(r=t.mul(r,i)),i=t.sqr(i),n>>=vt;return r}function Jb(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function Qb(t,e){const n=(t.ORDER-vt)/Li,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function ew(t,e){e!==void 0&&tr(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function fi(t,e,n=!1,r={}){if(t<=Tt)throw new Error("invalid field: expected ORDER > 0, got "+t);let i,s,o=!1,a;if(typeof e=="object"&&e!=null){if(r.sqrt||n)throw new Error("cannot specify opts in two arguments");const l=e;l.BITS&&(i=l.BITS),l.sqrt&&(s=l.sqrt),typeof l.isLE=="boolean"&&(n=l.isLE),typeof l.modFromBytes=="boolean"&&(o=l.modFromBytes),a=l.allowedLengths}else typeof e=="number"&&(i=e),r.sqrt&&(s=r.sqrt);const{nBitLength:c,nByteLength:f}=ew(t,i);if(f>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let u;const h=Object.freeze({ORDER:t,isLE:n,BITS:c,BYTES:f,MASK:Oo(c),ZERO:Tt,ONE:vt,allowedLengths:a,create:l=>zt(l,t),isValid:l=>{if(typeof l!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof l);return Tt<=l&&l<t},is0:l=>l===Tt,isValidNot0:l=>!h.is0(l)&&h.isValid(l),isOdd:l=>(l&vt)===vt,neg:l=>zt(-l,t),eql:(l,d)=>l===d,sqr:l=>zt(l*l,t),add:(l,d)=>zt(l+d,t),sub:(l,d)=>zt(l-d,t),mul:(l,d)=>zt(l*d,t),pow:(l,d)=>EA(h,l,d),div:(l,d)=>zt(l*Wb(d,t),t),sqrN:l=>l*l,addN:(l,d)=>l+d,subN:(l,d)=>l-d,mulN:(l,d)=>l*d,inv:l=>Wb(l,t),sqrt:s||(l=>(u||(u=wA(t)),u(h,l))),toBytes:l=>n?Xl(l,f):Yl(l,f),fromBytes:(l,d=!0)=>{if(a){if(!a.includes(l.length)||l.length>f)throw new Error("Field.fromBytes: expected "+a+" bytes, got "+l.length);const b=new Uint8Array(f);b.set(l,n?0:b.length-l.length),l=b}if(l.length!==f)throw new Error("Field.fromBytes: expected "+f+" bytes, got "+l.length);let p=n?Pc(l):Dc(l);if(o&&(p=zt(p,t)),!d&&!h.isValid(p))throw new Error("invalid field element: outside of range 0..ORDER");return p},invertBatch:l=>Jb(h,l),cmov:(l,d,p)=>p?d:l});return Object.freeze(h)}function tw(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function nw(t){const e=tw(t);return e+Math.ceil(e/2)}function xA(t,e,n=!1){const r=t.length,i=tw(e),s=nw(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?Pc(t):Dc(t),a=zt(o,e-vt)+vt;return n?Xl(a,i):Yl(a,i)}const _s=BigInt(0),ki=BigInt(1);function Tc(t,e){const n=e.negate();return t?n:e}function th(t,e){const n=Jb(t.Fp,e.map(r=>r.Z));return e.map((r,i)=>t.fromAffine(r.toAffine(n[i])))}function rw(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function nh(t,e){rw(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=Oo(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function iw(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=ki);const f=e*r,u=f+Math.abs(a)-1,h=a===0,l=a<0,d=e%2!==0;return{nextN:c,offset:u,isZero:h,isNeg:l,isNegF:d,offsetF:f}}function _A(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function IA(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const rh=new WeakMap,sw=new WeakMap;function ih(t){return sw.get(t)||1}function ow(t){if(t!==_s)throw new Error("invalid wNAF")}class SA{constructor(e,n){this.BASE=e.BASE,this.ZERO=e.ZERO,this.Fn=e.Fn,this.bits=n}_unsafeLadder(e,n,r=this.ZERO){let i=e;for(;n>_s;)n&ki&&(r=r.add(i)),i=i.double(),n>>=ki;return r}precomputeWindow(e,n){const{windows:r,windowSize:i}=nh(n,this.bits),s=[];let o=e,a=o;for(let c=0;c<r;c++){a=o,s.push(a);for(let f=1;f<i;f++)a=a.add(o),s.push(a);o=a.double()}return s}wNAF(e,n,r){if(!this.Fn.isValid(r))throw new Error("invalid scalar");let i=this.ZERO,s=this.BASE;const o=nh(e,this.bits);for(let a=0;a<o.windows;a++){const{nextN:c,offset:f,isZero:u,isNeg:h,isNegF:l,offsetF:d}=iw(r,a,o);r=c,u?s=s.add(Tc(l,n[d])):i=i.add(Tc(h,n[f]))}return ow(r),{p:i,f:s}}wNAFUnsafe(e,n,r,i=this.ZERO){const s=nh(e,this.bits);for(let o=0;o<s.windows&&r!==_s;o++){const{nextN:a,offset:c,isZero:f,isNeg:u}=iw(r,o,s);if(r=a,!f){const h=n[c];i=i.add(u?h.negate():h)}}return ow(r),i}getPrecomputes(e,n,r){let i=rh.get(n);return i||(i=this.precomputeWindow(n,e),e!==1&&(typeof r=="function"&&(i=r(i)),rh.set(n,i))),i}cached(e,n,r){const i=ih(e);return this.wNAF(i,this.getPrecomputes(i,e,r),n)}unsafe(e,n,r,i){const s=ih(e);return s===1?this._unsafeLadder(e,n,i):this.wNAFUnsafe(s,this.getPrecomputes(s,e,r),n,i)}createCache(e,n){rw(n,this.bits),sw.set(e,n),rh.delete(e)}hasCache(e){return ih(e)!==1}}function BA(t,e,n,r){let i=e,s=t.ZERO,o=t.ZERO;for(;n>_s||r>_s;)n&ki&&(s=s.add(i)),r&ki&&(o=o.add(i)),i=i.double(),n>>=ki,r>>=ki;return{p1:s,p2:o}}function $A(t,e,n,r){_A(n,t),IA(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=jb(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const f=Oo(c),u=new Array(Number(f)+1).fill(o),h=Math.floor((e.BITS-1)/c)*c;let l=o;for(let d=h;d>=0;d-=c){u.fill(o);for(let b=0;b<s;b++){const v=r[b],O=Number(v>>BigInt(d)&f);u[O]=u[O].add(n[b])}let p=o;for(let b=u.length-1,v=o;b>0;b--)v=v.add(u[b]),p=p.add(v);if(l=l.add(p),d!==0)for(let b=0;b<c;b++)l=l.double()}return l}function aw(t,e,n){if(e){if(e.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return vA(e),e}else return fi(t,{isLE:n})}function AA(t,e,n={},r){if(r===void 0&&(r=t==="edwards"),!e||typeof e!="object")throw new Error(`expected valid ${t} CURVE object`);for(const a of["p","n","h"]){const c=e[a];if(!(typeof c=="bigint"&&c>_s))throw new Error(`CURVE.${a} must be positive bigint`)}const i=aw(e.p,n.Fp,r),s=aw(e.n,n.Fn,r),o=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const a of o)if(!i.isValid(e[a]))throw new Error(`CURVE.${a} must be valid field element of CURVE.Fp`);return e=Object.freeze(Object.assign({},e)),{CURVE:e,Fp:i,Fn:s}}BigInt(0),BigInt(1),BigInt(2),BigInt(8),fb("HashToScalar-");const Do=BigInt(0),Is=BigInt(1),Nc=BigInt(2);function OA(t){return Rc(t,{adjustScalarBytes:"function",powPminus2:"function"}),Object.freeze({...t})}function DA(t){const e=OA(t),{P:n,type:r,adjustScalarBytes:i,powPminus2:s,randomBytes:o}=e,a=r==="x25519";if(!a&&r!=="x448")throw new Error("invalid type");const c=o||Ui,f=a?255:448,u=a?32:56,h=BigInt(a?9:5),l=BigInt(a?121665:39081),d=a?Nc**BigInt(254):Nc**BigInt(447),p=a?BigInt(8)*Nc**BigInt(251)-Is:BigInt(4)*Nc**BigInt(445)-Is,b=d+p+Is,v=E=>zt(E,n),O=P(h);function P(E){return Xl(v(E),u)}function x(E){const y=ht("u coordinate",E,u);return a&&(y[31]&=127),v(Pc(y))}function S(E){return Pc(i(ht("scalar",E,u)))}function R(E,y){const w=C(x(y),S(E));if(w===Do)throw new Error("invalid private or public key received");return P(w)}function U(E){return R(E,O)}function L(E,y,w){const g=v(E*(y-w));return y=v(y-g),w=v(w+g),{x_2:y,x_3:w}}function C(E,y){Ql("u",E,Do,n),Ql("scalar",y,d,b);const w=y,g=E;let m=Is,_=Do,B=E,I=Is,$=Do;for(let T=BigInt(f-1);T>=Do;T--){const F=w>>T&Is;$^=F,{x_2:m,x_3:B}=L($,m,B),{x_2:_,x_3:I}=L($,_,I),$=F;const k=m+_,N=v(k*k),M=m-_,z=v(M*M),K=N-z,H=B+I,G=B-I,ee=v(G*k),te=v(H*M),re=ee+te,ce=ee-te;B=v(re*re),I=v(g*v(ce*ce)),m=v(N*z),_=v(K*(N+v(l*K)))}({x_2:m,x_3:B}=L($,m,B)),{x_2:_,x_3:I}=L($,_,I);const D=s(_);return v(m*D)}const A={secretKey:u,publicKey:u,seed:u},j=(E=c(u))=>(pn(E,A.seed),E);function q(E){const y=j(E);return{secretKey:y,publicKey:U(y)}}return{keygen:q,getSharedSecret:(E,y)=>R(E,y),getPublicKey:E=>U(E),scalarMult:R,scalarMultBase:U,utils:{randomSecretKey:j,randomPrivateKey:j},GuBytes:O.slice(),lengths:A}}const PA=BigInt(1),cw=BigInt(2),RA=BigInt(3),TA=BigInt(5),NA=BigInt(8),fw=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),UA={p:fw,n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:NA,a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")};function CA(t){const e=BigInt(10),n=BigInt(20),r=BigInt(40),i=BigInt(80),s=fw,o=t*t%s*t%s,a=yn(o,cw,s)*o%s,c=yn(a,PA,s)*t%s,f=yn(c,TA,s)*c%s,u=yn(f,e,s)*f%s,h=yn(u,n,s)*u%s,l=yn(h,r,s)*h%s,d=yn(l,i,s)*l%s,p=yn(d,i,s)*l%s,b=yn(p,e,s)*f%s;return{pow_p_5_8:yn(b,cw,s)*t%s,b2:o}}function FA(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}const LA=fi(UA.p,{isLE:!0}),sh=(()=>{const t=LA.ORDER;return DA({P:t,type:"x25519",powPminus2:e=>{const{pow_p_5_8:n,b2:r}=CA(e);return zt(yn(n,RA,t)*r,t)},adjustScalarBytes:FA})})(),uw=(t,e)=>(t+(t>=0?e:-e)/lw)/e;function kA(t,e,n){const[[r,i],[s,o]]=e,a=uw(o*t,n),c=uw(-i*t,n);let f=t-a*r-c*s,u=-a*i-c*o;const h=f<sr,l=u<sr;h&&(f=-f),l&&(u=-u);const d=Oo(Math.ceil(jb(n)/2))+Ss;if(f<sr||f>=d||u<sr||u>=d)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:h,k1:f,k2neg:l,k2:u}}function oh(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function ah(t,e){const n={};for(let r of Object.keys(e))n[r]=t[r]===void 0?e[r]:t[r];return Ac(n.lowS,"lowS"),Ac(n.prehash,"prehash"),n.format!==void 0&&oh(n.format),n}class qA extends Error{constructor(e=""){super(e)}}const ir={Err:qA,_tlv:{encode:(t,e)=>{const{Err:n}=ir;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=Oc(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?Oc(i.length/2|128):"";return Oc(t)+s+i+e},decode(t,e){const{Err:n}=ir;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const f=e.subarray(r,r+c);if(f.length!==c)throw new n("tlv.decode: length bytes not complete");if(f[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const u of f)o=o<<8|u;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=ir;if(t<sr)throw new e("integer: negative integers are not allowed");let n=Oc(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=ir;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return Dc(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=ir,i=ht("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:f,l:u}=r.decode(2,c);if(u.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(f)}},hexFromSig(t){const{_tlv:e,_int:n}=ir,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}},sr=BigInt(0),Ss=BigInt(1),lw=BigInt(2),Uc=BigInt(3),MA=BigInt(4);function Bs(t,e){const{BYTES:n}=t;let r;if(typeof e=="bigint")r=e;else{let i=ht("private key",e);try{r=t.fromBytes(i)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof e}`)}}if(!t.isValidNot0(r))throw new Error("invalid private key: out of range [1..N-1]");return r}function jA(t,e={}){const n=AA("weierstrass",t,e),{Fp:r,Fn:i}=n;let s=n.CURVE;const{h:o,n:a}=s;Rc(e,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:c}=e;if(c&&(!r.is0(s.a)||typeof c.beta!="bigint"||!Array.isArray(c.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const f=dw(r,i);function u(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function h(E,y,w){const{x:g,y:m}=y.toAffine(),_=r.toBytes(g);if(Ac(w,"isCompressed"),w){u();const B=!r.isOdd(m);return ti(hw(B),_)}else return ti(Uint8Array.of(4),_,r.toBytes(m))}function l(E){Fi(E,void 0,"Point");const{publicKey:y,publicKeyUncompressed:w}=f,g=E.length,m=E[0],_=E.subarray(1);if(g===y&&(m===2||m===3)){const B=r.fromBytes(_);if(!r.isValid(B))throw new Error("bad point: is not on curve, wrong x");const I=b(B);let $;try{$=r.sqrt(I)}catch(T){const F=T instanceof Error?": "+T.message:"";throw new Error("bad point: is not on curve, sqrt error"+F)}u();const D=r.isOdd($);return(m&1)===1!==D&&($=r.neg($)),{x:B,y:$}}else if(g===w&&m===4){const B=r.BYTES,I=r.fromBytes(_.subarray(0,B)),$=r.fromBytes(_.subarray(B,B*2));if(!v(I,$))throw new Error("bad point: is not on curve");return{x:I,y:$}}else throw new Error(`bad point: got length ${g}, expected compressed=${y} or uncompressed=${w}`)}const d=e.toBytes||h,p=e.fromBytes||l;function b(E){const y=r.sqr(E),w=r.mul(y,E);return r.add(r.add(w,r.mul(E,s.a)),s.b)}function v(E,y){const w=r.sqr(y),g=b(E);return r.eql(w,g)}if(!v(s.Gx,s.Gy))throw new Error("bad curve params: generator point");const O=r.mul(r.pow(s.a,Uc),MA),P=r.mul(r.sqr(s.b),BigInt(27));if(r.is0(r.add(O,P)))throw new Error("bad curve params: a or b");function x(E,y,w=!1){if(!r.isValid(y)||w&&r.is0(y))throw new Error(`bad point coordinate ${E}`);return y}function S(E){if(!(E instanceof A))throw new Error("ProjectivePoint expected")}function R(E){if(!c||!c.basises)throw new Error("no endo");return kA(E,c.basises,i.ORDER)}const U=zb((E,y)=>{const{X:w,Y:g,Z:m}=E;if(r.eql(m,r.ONE))return{x:w,y:g};const _=E.is0();y==null&&(y=_?r.ONE:r.inv(m));const B=r.mul(w,y),I=r.mul(g,y),$=r.mul(m,y);if(_)return{x:r.ZERO,y:r.ZERO};if(!r.eql($,r.ONE))throw new Error("invZ was invalid");return{x:B,y:I}}),L=zb(E=>{if(E.is0()){if(e.allowInfinityPoint&&!r.is0(E.Y))return;throw new Error("bad point: ZERO")}const{x:y,y:w}=E.toAffine();if(!r.isValid(y)||!r.isValid(w))throw new Error("bad point: x or y not field elements");if(!v(y,w))throw new Error("bad point: equation left != right");if(!E.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function C(E,y,w,g,m){return w=new A(r.mul(w.X,E),w.Y,w.Z),y=Tc(g,y),w=Tc(m,w),y.add(w)}class A{constructor(y,w,g){this.X=x("x",y),this.Y=x("y",w,!0),this.Z=x("z",g),Object.freeze(this)}static CURVE(){return s}static fromAffine(y){const{x:w,y:g}=y||{};if(!y||!r.isValid(w)||!r.isValid(g))throw new Error("invalid affine point");if(y instanceof A)throw new Error("projective point not allowed");return r.is0(w)&&r.is0(g)?A.ZERO:new A(w,g,r.ONE)}static fromBytes(y){const w=A.fromAffine(p(Fi(y,void 0,"point")));return w.assertValidity(),w}static fromHex(y){return A.fromBytes(ht("pointHex",y))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(y=8,w=!0){return q.createCache(this,y),w||this.multiply(Uc),this}assertValidity(){L(this)}hasEvenY(){const{y}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(y)}equals(y){S(y);const{X:w,Y:g,Z:m}=this,{X:_,Y:B,Z:I}=y,$=r.eql(r.mul(w,I),r.mul(_,m)),D=r.eql(r.mul(g,I),r.mul(B,m));return $&&D}negate(){return new A(this.X,r.neg(this.Y),this.Z)}double(){const{a:y,b:w}=s,g=r.mul(w,Uc),{X:m,Y:_,Z:B}=this;let I=r.ZERO,$=r.ZERO,D=r.ZERO,T=r.mul(m,m),F=r.mul(_,_),k=r.mul(B,B),N=r.mul(m,_);return N=r.add(N,N),D=r.mul(m,B),D=r.add(D,D),I=r.mul(y,D),$=r.mul(g,k),$=r.add(I,$),I=r.sub(F,$),$=r.add(F,$),$=r.mul(I,$),I=r.mul(N,I),D=r.mul(g,D),k=r.mul(y,k),N=r.sub(T,k),N=r.mul(y,N),N=r.add(N,D),D=r.add(T,T),T=r.add(D,T),T=r.add(T,k),T=r.mul(T,N),$=r.add($,T),k=r.mul(_,B),k=r.add(k,k),T=r.mul(k,N),I=r.sub(I,T),D=r.mul(k,F),D=r.add(D,D),D=r.add(D,D),new A(I,$,D)}add(y){S(y);const{X:w,Y:g,Z:m}=this,{X:_,Y:B,Z:I}=y;let $=r.ZERO,D=r.ZERO,T=r.ZERO;const F=s.a,k=r.mul(s.b,Uc);let N=r.mul(w,_),M=r.mul(g,B),z=r.mul(m,I),K=r.add(w,g),H=r.add(_,B);K=r.mul(K,H),H=r.add(N,M),K=r.sub(K,H),H=r.add(w,m);let G=r.add(_,I);return H=r.mul(H,G),G=r.add(N,z),H=r.sub(H,G),G=r.add(g,m),$=r.add(B,I),G=r.mul(G,$),$=r.add(M,z),G=r.sub(G,$),T=r.mul(F,H),$=r.mul(k,z),T=r.add($,T),$=r.sub(M,T),T=r.add(M,T),D=r.mul($,T),M=r.add(N,N),M=r.add(M,N),z=r.mul(F,z),H=r.mul(k,H),M=r.add(M,z),z=r.sub(N,z),z=r.mul(F,z),H=r.add(H,z),N=r.mul(M,H),D=r.add(D,N),N=r.mul(G,H),$=r.mul(K,$),$=r.sub($,N),N=r.mul(K,M),T=r.mul(G,T),T=r.add(T,N),new A($,D,T)}subtract(y){return this.add(y.negate())}is0(){return this.equals(A.ZERO)}multiply(y){const{endo:w}=e;if(!i.isValidNot0(y))throw new Error("invalid scalar: out of range");let g,m;const _=B=>q.cached(this,B,I=>th(A,I));if(w){const{k1neg:B,k1:I,k2neg:$,k2:D}=R(y),{p:T,f:F}=_(I),{p:k,f:N}=_(D);m=F.add(N),g=C(w.beta,T,k,B,$)}else{const{p:B,f:I}=_(y);g=B,m=I}return th(A,[g,m])[0]}multiplyUnsafe(y){const{endo:w}=e,g=this;if(!i.isValid(y))throw new Error("invalid scalar: out of range");if(y===sr||g.is0())return A.ZERO;if(y===Ss)return g;if(q.hasCache(this))return this.multiply(y);if(w){const{k1neg:m,k1:_,k2neg:B,k2:I}=R(y),{p1:$,p2:D}=BA(A,g,_,I);return C(w.beta,$,D,m,B)}else return q.unsafe(g,y)}multiplyAndAddUnsafe(y,w,g){const m=this.multiplyUnsafe(w).add(y.multiplyUnsafe(g));return m.is0()?void 0:m}toAffine(y){return U(this,y)}isTorsionFree(){const{isTorsionFree:y}=e;return o===Ss?!0:y?y(A,this):q.unsafe(this,a).is0()}clearCofactor(){const{clearCofactor:y}=e;return o===Ss?this:y?y(A,this):this.multiplyUnsafe(o)}isSmallOrder(){return this.multiplyUnsafe(o).is0()}toBytes(y=!0){return Ac(y,"isCompressed"),this.assertValidity(),d(A,this,y)}toHex(y=!0){return Es(this.toBytes(y))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(y=!0){return this.toBytes(y)}_setWindowSize(y){this.precompute(y)}static normalizeZ(y){return th(A,y)}static msm(y,w){return $A(A,i,y,w)}static fromPrivateKey(y){return A.BASE.multiply(Bs(i,y))}}A.BASE=new A(s.Gx,s.Gy,r.ONE),A.ZERO=new A(r.ZERO,r.ONE,r.ZERO),A.Fp=r,A.Fn=i;const j=i.BITS,q=new SA(A,e.endo?Math.ceil(j/2):j);return A.BASE.precompute(8),A}function hw(t){return Uint8Array.of(t?2:3)}function dw(t,e){return{secretKey:e.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*e.BYTES}}function zA(t,e={}){const{Fn:n}=t,r=e.randomBytes||Ui,i=Object.assign(dw(t.Fp,n),{seed:nw(n.ORDER)});function s(l){try{return!!Bs(n,l)}catch{return!1}}function o(l,d){const{publicKey:p,publicKeyUncompressed:b}=i;try{const v=l.length;return d===!0&&v!==p||d===!1&&v!==b?!1:!!t.fromBytes(l)}catch{return!1}}function a(l=r(i.seed)){return xA(Fi(l,i.seed,"seed"),n.ORDER)}function c(l,d=!0){return t.BASE.multiply(Bs(n,l)).toBytes(d)}function f(l){const d=a(l);return{secretKey:d,publicKey:c(d)}}function u(l){if(typeof l=="bigint")return!1;if(l instanceof t)return!0;const{secretKey:d,publicKey:p,publicKeyUncompressed:b}=i;if(n.allowedLengths||d===p)return;const v=ht("key",l).length;return v===p||v===b}function h(l,d,p=!0){if(u(l)===!0)throw new Error("first arg must be private key");if(u(d)===!1)throw new Error("second arg must be public key");const b=Bs(n,l);return t.fromHex(d).multiply(b).toBytes(p)}return Object.freeze({getPublicKey:c,getSharedSecret:h,keygen:f,Point:t,utils:{isValidSecretKey:s,isValidPublicKey:o,randomSecretKey:a,isValidPrivateKey:s,randomPrivateKey:a,normPrivateKeyToScalar:l=>Bs(n,l),precompute(l=8,d=t.BASE){return d.precompute(l,!1)}},lengths:i})}function HA(t,e,n={}){wc(e),Rc(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const r=n.randomBytes||Ui,i=n.hmac||((w,...g)=>Bc(e,w,ti(...g))),{Fp:s,Fn:o}=t,{ORDER:a,BITS:c}=o,{keygen:f,getPublicKey:u,getSharedSecret:h,utils:l,lengths:d}=zA(t,n),p={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},b="compact";function v(w){const g=a>>Ss;return w>g}function O(w,g){if(!o.isValidNot0(g))throw new Error(`invalid signature ${w}: out of range 1..Point.Fn.ORDER`);return g}function P(w,g){oh(g);const m=d.signature,_=g==="compact"?m:g==="recovered"?m+1:void 0;return Fi(w,_,`${g} signature`)}class x{constructor(g,m,_){this.r=O("r",g),this.s=O("s",m),_!=null&&(this.recovery=_),Object.freeze(this)}static fromBytes(g,m=b){P(g,m);let _;if(m==="der"){const{r:D,s:T}=ir.toSig(Fi(g));return new x(D,T)}m==="recovered"&&(_=g[0],m="compact",g=g.subarray(1));const B=o.BYTES,I=g.subarray(0,B),$=g.subarray(B,B*2);return new x(o.fromBytes(I),o.fromBytes($),_)}static fromHex(g,m){return this.fromBytes(mc(g),m)}addRecoveryBit(g){return new x(this.r,this.s,g)}recoverPublicKey(g){const m=s.ORDER,{r:_,s:B,recovery:I}=this;if(I==null||![0,1,2,3].includes(I))throw new Error("recovery id invalid");if(a*lw<m&&I>1)throw new Error("recovery id is ambiguous for h>1 curve");const $=I===2||I===3?_+a:_;if(!s.isValid($))throw new Error("recovery id 2 or 3 invalid");const D=s.toBytes($),T=t.fromBytes(ti(hw((I&1)===0),D)),F=o.inv($),k=R(ht("msgHash",g)),N=o.create(-k*F),M=o.create(B*F),z=t.BASE.multiplyUnsafe(N).add(T.multiplyUnsafe(M));if(z.is0())throw new Error("point at infinify");return z.assertValidity(),z}hasHighS(){return v(this.s)}toBytes(g=b){if(oh(g),g==="der")return mc(ir.hexFromSig(this));const m=o.toBytes(this.r),_=o.toBytes(this.s);if(g==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return ti(Uint8Array.of(this.recovery),m,_)}return ti(m,_)}toHex(g){return Es(this.toBytes(g))}assertValidity(){}static fromCompact(g){return x.fromBytes(ht("sig",g),"compact")}static fromDER(g){return x.fromBytes(ht("sig",g),"der")}normalizeS(){return this.hasHighS()?new x(this.r,o.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return Es(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return Es(this.toBytes("compact"))}}const S=n.bits2int||function(w){if(w.length>8192)throw new Error("input is too large");const g=Dc(w),m=w.length*8-c;return m>0?g>>BigInt(m):g},R=n.bits2int_modN||function(w){return o.create(S(w))},U=Oo(c);function L(w){return Ql("num < 2^"+c,w,sr,U),o.toBytes(w)}function C(w,g){return Fi(w,void 0,"message"),g?Fi(e(w),void 0,"prehashed message"):w}function A(w,g,m){if(["recovered","canonical"].some(M=>M in m))throw new Error("sign() legacy options not supported");const{lowS:_,prehash:B,extraEntropy:I}=ah(m,p);w=C(w,B);const $=R(w),D=Bs(o,g),T=[L(D),L($)];if(I!=null&&I!==!1){const M=I===!0?r(d.secretKey):I;T.push(ht("extraEntropy",M))}const F=ti(...T),k=$;function N(M){const z=S(M);if(!o.isValidNot0(z))return;const K=o.inv(z),H=t.BASE.multiply(z).toAffine(),G=o.create(H.x);if(G===sr)return;const ee=o.create(K*o.create(k+G*D));if(ee===sr)return;let te=(H.x===G?0:2)|Number(H.y&Ss),re=ee;return _&&v(ee)&&(re=o.neg(ee),te^=1),new x(G,re,te)}return{seed:F,k2sig:N}}function j(w,g,m={}){w=ht("message",w);const{seed:_,k2sig:B}=A(w,g,m);return dA(e.outputLen,o.BYTES,i)(_,B)}function q(w){let g;const m=typeof w=="string"||bc(w),_=!m&&w!==null&&typeof w=="object"&&typeof w.r=="bigint"&&typeof w.s=="bigint";if(!m&&!_)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(_)g=new x(w.r,w.s);else if(m){try{g=x.fromBytes(ht("sig",w),"der")}catch(B){if(!(B instanceof ir.Err))throw B}if(!g)try{g=x.fromBytes(ht("sig",w),"compact")}catch{return!1}}return g||!1}function E(w,g,m,_={}){const{lowS:B,prehash:I,format:$}=ah(_,p);if(m=ht("publicKey",m),g=C(ht("message",g),I),"strict"in _)throw new Error("options.strict was renamed to lowS");const D=$===void 0?q(w):x.fromBytes(ht("sig",w),$);if(D===!1)return!1;try{const T=t.fromBytes(m);if(B&&D.hasHighS())return!1;const{r:F,s:k}=D,N=R(g),M=o.inv(k),z=o.create(N*M),K=o.create(F*M),H=t.BASE.multiplyUnsafe(z).add(T.multiplyUnsafe(K));return H.is0()?!1:o.create(H.x)===F}catch{return!1}}function y(w,g,m={}){const{prehash:_}=ah(m,p);return g=C(g,_),x.fromBytes(w,"recovered").recoverPublicKey(g).toBytes()}return Object.freeze({keygen:f,getPublicKey:u,getSharedSecret:h,utils:l,lengths:d,Point:t,sign:j,verify:E,recoverPublicKey:y,Signature:x,hash:e})}function VA(t){const e={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp;let r=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(o=>Math.ceil(o/2)))):void 0;const i=fi(e.n,{BITS:t.nBitLength,allowedLengths:r,modFromBytes:t.wrapPrivateKey}),s={Fp:n,Fn:i,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:e,curveOpts:s}}function KA(t){const{CURVE:e,curveOpts:n}=VA(t),r={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:e,curveOpts:n,hash:t.hash,ecdsaOpts:r}}function GA(t,e){const n=e.Point;return Object.assign({},e,{ProjectivePoint:n,CURVE:Object.assign({},t,ew(n.Fn.ORDER,n.Fn.BITS))})}function ZA(t){const{CURVE:e,curveOpts:n,hash:r,ecdsaOpts:i}=KA(t),s=jA(e,n),o=HA(s,r,i);return GA(t,o)}function ch(t,e){const n=r=>ZA({...t,hash:r});return{...n(e),create:n}}const pw={p:BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff"),n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),h:BigInt(1),a:BigInt("0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc"),b:BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5")},gw={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff"),n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),h:BigInt(1),a:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc"),b:BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f")},yw={p:BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),h:BigInt(1),a:BigInt("0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc"),b:BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650")},WA=fi(pw.p),YA=fi(gw.p),XA=fi(yw.p),JA=ch({...pw,Fp:WA,lowS:!1},Ec);ch({...gw,Fp:YA,lowS:!1},n$),ch({...yw,Fp:XA,lowS:!1,allowedPrivateKeyLengths:[130,131,132]},t$);const QA=JA,bw="base10",Et="base16",Nt="base64pad",ui="base64url",Po="utf8",ww=0,or=1,Ro=2,eO=0,mw=1,To=12,fh=32;function tO(){const t=sh.utils.randomPrivateKey(),e=sh.getPublicKey(t);return{privateKey:At(t,Et),publicKey:At(e,Et)}}function uh(){const t=Ui(fh);return At(t,Et)}function nO(t,e){const n=sh.getSharedSecret(Yt(t,Et),Yt(e,Et)),r=lA($c,n,void 0,void 0,fh);return At(r,Et)}function Cc(t){const e=$c(Yt(t,Et));return At(e,Et)}function Jt(t){const e=$c(Yt(t,Po));return At(e,Et)}function vw(t){return Yt(`${t}`,bw)}function qi(t){return Number(At(t,bw))}function Ew(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function xw(t){const e=t.replace(/-/g,"+").replace(/_/g,"/"),n=(4-e.length%4)%4;return e+"=".repeat(n)}function rO(t){const e=vw(typeof t.type<"u"?t.type:ww);if(qi(e)===or&&typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");const n=typeof t.senderPublicKey<"u"?Yt(t.senderPublicKey,Et):void 0,r=typeof t.iv<"u"?Yt(t.iv,Et):Ui(To),i=Yt(t.symKey,Et),s=Lb(i,r).encrypt(Yt(t.message,Po)),o=_w({type:e,sealed:s,iv:r,senderPublicKey:n});return t.encoding===ui?Ew(o):o}function iO(t){const e=Yt(t.symKey,Et),{sealed:n,iv:r}=No({encoded:t.encoded,encoding:t.encoding}),i=Lb(e,r).decrypt(n);if(i===null)throw new Error("Failed to decrypt");return At(i,Po)}function sO(t,e){const n=vw(Ro),r=Ui(To),i=Yt(t,Po),s=_w({type:n,sealed:i,iv:r});return e===ui?Ew(s):s}function oO(t,e){const{sealed:n}=No({encoded:t,encoding:e});return At(n,Po)}function _w(t){if(qi(t.type)===Ro)return At(io([t.type,t.sealed]),Nt);if(qi(t.type)===or){if(typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return At(io([t.type,t.senderPublicKey,t.iv,t.sealed]),Nt)}return At(io([t.type,t.iv,t.sealed]),Nt)}function No(t){const e=(t.encoding||Nt)===ui?xw(t.encoded):t.encoded,n=Yt(e,Nt),r=n.slice(eO,mw),i=mw;if(qi(r)===or){const c=i+fh,f=c+To,u=n.slice(i,c),h=n.slice(c,f),l=n.slice(f);return{type:r,sealed:l,iv:h,senderPublicKey:u}}if(qi(r)===Ro){const c=n.slice(i),f=Ui(To);return{type:r,sealed:c,iv:f}}const s=i+To,o=n.slice(i,s),a=n.slice(s);return{type:r,sealed:a,iv:o}}function aO(t,e){const n=No({encoded:t,encoding:e?.encoding});return Iw({type:qi(n.type),senderPublicKey:typeof n.senderPublicKey<"u"?At(n.senderPublicKey,Et):void 0,receiverPublicKey:e?.receiverPublicKey})}function Iw(t){const e=t?.type||ww;if(e===or){if(typeof t?.senderPublicKey>"u")throw new Error("missing sender public key");if(typeof t?.receiverPublicKey>"u")throw new Error("missing receiver public key")}return{type:e,senderPublicKey:t?.senderPublicKey,receiverPublicKey:t?.receiverPublicKey}}function Sw(t){return t.type===or&&typeof t.senderPublicKey=="string"&&typeof t.receiverPublicKey=="string"}function Bw(t){return t.type===Ro}function cO(t){const e=Buffer.from(t.x,"base64"),n=Buffer.from(t.y,"base64");return io([new Uint8Array([4]),e,n])}function fO(t,e){const[n,r,i]=t.split("."),s=Buffer.from(xw(i),"base64");if(s.length!==64)throw new Error("Invalid signature length");const o=s.slice(0,32),a=s.slice(32,64),c=`${n}.${r}`,f=$c(c),u=cO(e);if(!QA.verify(io([o,a]),f,u))throw new Error("Invalid signature");return Uu(t).payload}const uO="irn";function Fc(t){return t?.relay||{protocol:uO}}function $s(t){const e=j_[t];if(typeof e>"u")throw new Error(`Relay Protocol not supported: ${t}`);return e}var lO=Object.defineProperty,hO=Object.defineProperties,dO=Object.getOwnPropertyDescriptors,$w=Object.getOwnPropertySymbols,pO=Object.prototype.hasOwnProperty,gO=Object.prototype.propertyIsEnumerable,Aw=(t,e,n)=>e in t?lO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,lh=(t,e)=>{for(var n in e||(e={}))pO.call(e,n)&&Aw(t,n,e[n]);if($w)for(var n of $w(e))gO.call(e,n)&&Aw(t,n,e[n]);return t},yO=(t,e)=>hO(t,dO(e));function bO(t,e="-"){const n={},r="relay"+e;return Object.keys(t).forEach(i=>{if(i.startsWith(r)){const s=i.replace(r,""),o=t[i];n[s]=o}}),n}function Ow(t){if(!t.includes("wc:")){const f=Qy(t);f!=null&&f.includes("wc:")&&(t=f)}t=t.includes("wc://")?t.replace("wc://",""):t,t=t.includes("wc:")?t.replace("wc:",""):t;const e=t.indexOf(":"),n=t.indexOf("?")!==-1?t.indexOf("?"):void 0,r=t.substring(0,e),i=t.substring(e+1,n).split("@"),s=typeof n<"u"?t.substring(n):"",o=new URLSearchParams(s),a=Object.fromEntries(o.entries()),c=typeof a.methods=="string"?a.methods.split(","):void 0;return{protocol:r,topic:wO(i[0]),version:parseInt(i[1],10),symKey:a.symKey,relay:bO(a),methods:c,expiryTimestamp:a.expiryTimestamp?parseInt(a.expiryTimestamp,10):void 0}}function wO(t){return t.startsWith("//")?t.substring(2):t}function mO(t,e="-"){const n="relay",r={};return Object.keys(t).forEach(i=>{const s=i,o=n+e+s;t[s]&&(r[o]=t[s])}),r}function Dw(t){const e=new URLSearchParams,n=lh(lh(yO(lh({},mO(t.relay)),{symKey:t.symKey}),t.expiryTimestamp&&{expiryTimestamp:t.expiryTimestamp.toString()}),t.methods&&{methods:t.methods.join(",")});return Object.entries(n).sort(([r],[i])=>r.localeCompare(i)).forEach(([r,i])=>{i!==void 0&&e.append(r,String(i))}),`${t.protocol}:${t.topic}@${t.version}?${e}`}function Lc(t,e,n){return`${t}?wc_ev=${n}&topic=${e}`}var vO=Object.defineProperty,EO=Object.defineProperties,xO=Object.getOwnPropertyDescriptors,Pw=Object.getOwnPropertySymbols,_O=Object.prototype.hasOwnProperty,IO=Object.prototype.propertyIsEnumerable,Rw=(t,e,n)=>e in t?vO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,SO=(t,e)=>{for(var n in e||(e={}))_O.call(e,n)&&Rw(t,n,e[n]);if(Pw)for(var n of Pw(e))IO.call(e,n)&&Rw(t,n,e[n]);return t},BO=(t,e)=>EO(t,xO(e));function As(t){const e=[];return t.forEach(n=>{const[r,i]=n.split(":");e.push(`${r}:${i}`)}),e}function Tw(t){const e=[];return Object.values(t).forEach(n=>{e.push(...As(n.accounts))}),[...new Set(e)]}function $O(t){const e=[];return Object.values(t).forEach(n=>{e.push(...n.methods)}),[...new Set(e)]}function AO(t){const e=[];return Object.values(t).forEach(n=>{e.push(...n.events)}),[...new Set(e)]}function OO(t,e){const n=[];return Object.values(t).forEach(r=>{As(r.accounts).includes(e)&&n.push(...r.methods)}),n}function DO(t,e){const n=[];return Object.values(t).forEach(r=>{As(r.accounts).includes(e)&&n.push(...r.events)}),n}function Nw(t){return t.includes(":")}function PO(t){return Nw(t)?t.split(":")[0]:t}function Uw(t){var e,n,r;const i={};if(!Uo(t))return i;for(const[s,o]of Object.entries(t)){const a=Nw(s)?[s]:o.chains,c=o.methods||[],f=o.events||[],u=PO(s);i[u]=BO(SO({},i[u]),{chains:Ni(a,(e=i[u])==null?void 0:e.chains),methods:Ni(c,(n=i[u])==null?void 0:n.methods),events:Ni(f,(r=i[u])==null?void 0:r.events)})}return i}function RO(t){const e={};return t?.forEach(n=>{var r;const[i,s]=n.split(":");e[i]||(e[i]={accounts:[],chains:[],events:[],methods:[]}),e[i].accounts.push(n),(r=e[i].chains)==null||r.push(`${i}:${s}`)}),e}function Cw(t,e){e=e.map(r=>r.replace("did:pkh:",""));const n=RO(e);for(const[r,i]of Object.entries(n))i.methods?i.methods=Ni(i.methods,t):i.methods=t,i.events=["chainChanged","accountsChanged"];return n}function TO(t,e){var n,r,i,s,o,a;const c=Uw(t),f=Uw(e),u={},h=Object.keys(c).concat(Object.keys(f));for(const l of h)u[l]={chains:Ni((n=c[l])==null?void 0:n.chains,(r=f[l])==null?void 0:r.chains),methods:Ni((i=c[l])==null?void 0:i.methods,(s=f[l])==null?void 0:s.methods),events:Ni((o=c[l])==null?void 0:o.events,(a=f[l])==null?void 0:a.events)};return u}const NO={INVALID_METHOD:{message:"Invalid method.",code:1001},INVALID_EVENT:{message:"Invalid event.",code:1002},INVALID_UPDATE_REQUEST:{message:"Invalid update request.",code:1003},INVALID_EXTEND_REQUEST:{message:"Invalid extend request.",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:"Invalid session settle request.",code:1005},UNAUTHORIZED_METHOD:{message:"Unauthorized method.",code:3001},UNAUTHORIZED_EVENT:{message:"Unauthorized event.",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:"Unauthorized update request.",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:"Unauthorized extend request.",code:3004},USER_REJECTED:{message:"User rejected.",code:5e3},USER_REJECTED_CHAINS:{message:"User rejected chains.",code:5001},USER_REJECTED_METHODS:{message:"User rejected methods.",code:5002},USER_REJECTED_EVENTS:{message:"User rejected events.",code:5003},UNSUPPORTED_CHAINS:{message:"Unsupported chains.",code:5100},UNSUPPORTED_METHODS:{message:"Unsupported methods.",code:5101},UNSUPPORTED_EVENTS:{message:"Unsupported events.",code:5102},UNSUPPORTED_ACCOUNTS:{message:"Unsupported accounts.",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:"Unsupported namespace key.",code:5104},USER_DISCONNECTED:{message:"User disconnected.",code:6e3},SESSION_SETTLEMENT_FAILED:{message:"Session settlement failed.",code:7e3},WC_METHOD_UNSUPPORTED:{message:"Unsupported wc_ method.",code:10001}},UO={NOT_INITIALIZED:{message:"Not initialized.",code:1},NO_MATCHING_KEY:{message:"No matching key.",code:2},RESTORE_WILL_OVERRIDE:{message:"Restore will override.",code:3},RESUBSCRIBED:{message:"Resubscribed.",code:4},MISSING_OR_INVALID:{message:"Missing or invalid.",code:5},EXPIRED:{message:"Expired.",code:6},UNKNOWN_TYPE:{message:"Unknown type.",code:7},MISMATCHED_TOPIC:{message:"Mismatched topic.",code:8},NON_CONFORMING_NAMESPACES:{message:"Non conforming namespaces.",code:9}};function W(t,e){const{message:n,code:r}=UO[t];return{message:e?`${n} ${e}`:n,code:r}}function Se(t,e){const{message:n,code:r}=NO[t];return{message:e?`${n} ${e}`:n,code:r}}function Os(t,e){return Array.isArray(t)?typeof e<"u"&&t.length?t.every(e):!0:!1}function Uo(t){return Object.getPrototypeOf(t)===Object.prototype&&Object.keys(t).length}function Fe(t){return typeof t>"u"}function Oe(t,e){return e&&Fe(t)?!0:typeof t=="string"&&!!t.trim().length}function hh(t,e){return e&&Fe(t)?!0:typeof t=="number"&&!isNaN(t)}function CO(t,e){const{requiredNamespaces:n}=e,r=Object.keys(t.namespaces),i=Object.keys(n);let s=!0;return Ri(i,r)?(r.forEach(o=>{const{accounts:a,methods:c,events:f}=t.namespaces[o],u=As(a),h=n[o];(!Ri(jy(o,h),u)||!Ri(h.methods,c)||!Ri(h.events,f))&&(s=!1)}),s):!1}function kc(t){return Oe(t,!1)&&t.includes(":")?t.split(":").length===2:!1}function FO(t){if(Oe(t,!1)&&t.includes(":")){const e=t.split(":");if(e.length===3){const n=e[0]+":"+e[1];return!!e[2]&&kc(n)}}return!1}function LO(t){function e(n){try{return typeof new URL(n)<"u"}catch{return!1}}try{if(Oe(t,!1)){if(e(t))return!0;const n=Qy(t);return e(n)}}catch{}return!1}function kO(t){var e;return(e=t?.proposer)==null?void 0:e.publicKey}function qO(t){return t?.topic}function MO(t,e){let n=null;return Oe(t?.publicKey,!1)||(n=W("MISSING_OR_INVALID",`${e} controller public key should be a string`)),n}function Fw(t){let e=!0;return Os(t)?t.length&&(e=t.every(n=>Oe(n,!1))):e=!1,e}function jO(t,e,n){let r=null;return Os(e)&&e.length?e.forEach(i=>{r||kc(i)||(r=Se("UNSUPPORTED_CHAINS",`${n}, chain ${i} should be a string and conform to "namespace:chainId" format`))}):kc(t)||(r=Se("UNSUPPORTED_CHAINS",`${n}, chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }`)),r}function zO(t,e,n){let r=null;return Object.entries(t).forEach(([i,s])=>{if(r)return;const o=jO(i,jy(i,s),`${e} ${n}`);o&&(r=o)}),r}function HO(t,e){let n=null;return Os(t)?t.forEach(r=>{n||FO(r)||(n=Se("UNSUPPORTED_ACCOUNTS",`${e}, account ${r} should be a string and conform to "namespace:chainId:address" format`))}):n=Se("UNSUPPORTED_ACCOUNTS",`${e}, accounts should be an array of strings conforming to "namespace:chainId:address" format`),n}function VO(t,e){let n=null;return Object.values(t).forEach(r=>{if(n)return;const i=HO(r?.accounts,`${e} namespace`);i&&(n=i)}),n}function KO(t,e){let n=null;return Fw(t?.methods)?Fw(t?.events)||(n=Se("UNSUPPORTED_EVENTS",`${e}, events should be an array of strings or empty array for no events`)):n=Se("UNSUPPORTED_METHODS",`${e}, methods should be an array of strings or empty array for no methods`),n}function Lw(t,e){let n=null;return Object.values(t).forEach(r=>{if(n)return;const i=KO(r,`${e}, namespace`);i&&(n=i)}),n}function GO(t,e,n){let r=null;if(t&&Uo(t)){const i=Lw(t,e);i&&(r=i);const s=zO(t,e,n);s&&(r=s)}else r=W("MISSING_OR_INVALID",`${e}, ${n} should be an object with data`);return r}function dh(t,e){let n=null;if(t&&Uo(t)){const r=Lw(t,e);r&&(n=r);const i=VO(t,e);i&&(n=i)}else n=W("MISSING_OR_INVALID",`${e}, namespaces should be an object with data`);return n}function kw(t){return Oe(t.protocol,!0)}function ZO(t,e){let n=!1;return e&&!t?n=!0:t&&Os(t)&&t.length&&t.forEach(r=>{n=kw(r)}),n}function WO(t){return typeof t=="number"}function Ut(t){return typeof t<"u"&&typeof t!==null}function YO(t){return!(!t||typeof t!="object"||!t.code||!hh(t.code,!1)||!t.message||!Oe(t.message,!1))}function XO(t){return!(Fe(t)||!Oe(t.method,!1))}function JO(t){return!(Fe(t)||Fe(t.result)&&Fe(t.error)||!hh(t.id,!1)||!Oe(t.jsonrpc,!1))}function QO(t){return!(Fe(t)||!Oe(t.name,!1))}function qw(t,e){return!(!kc(e)||!Tw(t).includes(e))}function eD(t,e,n){return Oe(n,!1)?OO(t,e).includes(n):!1}function tD(t,e,n){return Oe(n,!1)?DO(t,e).includes(n):!1}function Mw(t,e,n){let r=null;const i=nD(t),s=rD(e),o=Object.keys(i),a=Object.keys(s),c=jw(Object.keys(t)),f=jw(Object.keys(e)),u=c.filter(h=>!f.includes(h));return u.length&&(r=W("NON_CONFORMING_NAMESPACES",`${n} namespaces keys don't satisfy requiredNamespaces.
|
|
22
|
-
Required: ${
|
|
23
|
-
Received: ${Object.keys(e).toString()}`)),
|
|
14
|
+
***************************************************************************** */var Qc=function(t,e){return Qc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},Qc(t,e)};function P2(t,e){Qc(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var _c=function(){return _c=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},_c.apply(this,arguments)};function D2(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function R2(t,e,n,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function T2(t,e){return function(n,r){e(n,r,t)}}function N2(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function U2(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(l){try{u(r.next(l))}catch(f){o(f)}}function c(l){try{u(r.throw(l))}catch(f){o(f)}}function u(l){l.done?s(l.value):i(l.value).then(a,c)}u((r=r.apply(t,e||[])).next())})}function C2(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1],s=u;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(u);break}s[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(l){u=[6,l],i=0}finally{r=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function F2(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}function q2(t,e){for(var n in t)n!=="default"&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function $c(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function cd(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function k2(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(cd(arguments[e]));return t}function L2(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function Us(t){return this instanceof Us?(this.v=t,this):new Us(t)}function M2(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){r[d]&&(i[d]=function(h){return new Promise(function(p,w){s.push([d,h,p,w])>1||a(d,h)})})}function a(d,h){try{c(r[d](h))}catch(p){f(s[0][3],p)}}function c(d){d.value instanceof Us?Promise.resolve(d.value.v).then(u,l):f(s[0][2],d)}function u(d){a("next",d)}function l(d){a("throw",d)}function f(d,h){d(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}function j2(t){var e,n;return e={},r("next"),r("throw",function(i){throw i}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(i,s){e[i]=t[i]?function(o){return(n=!n)?{value:Us(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function z2(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof $c=="function"?$c(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(o){return new Promise(function(a,c){o=t[s](o),i(a,c,o.done,o.value)})}}function i(s,o,a,c){Promise.resolve(c).then(function(u){s({value:u,done:a})},o)}}function K2(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function V2(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function H2(t){return t&&t.__esModule?t:{default:t}}function G2(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function W2(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var Z2=Object.freeze({__proto__:null,__extends:P2,get __assign(){return _c},__rest:D2,__decorate:R2,__param:T2,__metadata:N2,__awaiter:U2,__generator:C2,__createBinding:F2,__exportStar:q2,__values:$c,__read:cd,__spread:k2,__spreadArrays:L2,__await:Us,__asyncGenerator:M2,__asyncDelegator:j2,__asyncValues:z2,__makeTemplateObject:K2,__importStar:V2,__importDefault:H2,__classPrivateFieldGet:G2,__classPrivateFieldSet:W2}),$o=Fh(Z2),eu={},Cs={},ud;function Y2(){if(ud)return Cs;ud=1,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.delay=void 0;function t(e){return new Promise(n=>{setTimeout(()=>{n(!0)},e)})}return Cs.delay=t,Cs}var oi={},tu={},ai={},ld;function X2(){return ld||(ld=1,Object.defineProperty(ai,"__esModule",{value:!0}),ai.ONE_THOUSAND=ai.ONE_HUNDRED=void 0,ai.ONE_HUNDRED=100,ai.ONE_THOUSAND=1e3),ai}var nu={},fd;function J2(){return fd||(fd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ONE_YEAR=t.FOUR_WEEKS=t.THREE_WEEKS=t.TWO_WEEKS=t.ONE_WEEK=t.THIRTY_DAYS=t.SEVEN_DAYS=t.FIVE_DAYS=t.THREE_DAYS=t.ONE_DAY=t.TWENTY_FOUR_HOURS=t.TWELVE_HOURS=t.SIX_HOURS=t.THREE_HOURS=t.ONE_HOUR=t.SIXTY_MINUTES=t.THIRTY_MINUTES=t.TEN_MINUTES=t.FIVE_MINUTES=t.ONE_MINUTE=t.SIXTY_SECONDS=t.THIRTY_SECONDS=t.TEN_SECONDS=t.FIVE_SECONDS=t.ONE_SECOND=void 0,t.ONE_SECOND=1,t.FIVE_SECONDS=5,t.TEN_SECONDS=10,t.THIRTY_SECONDS=30,t.SIXTY_SECONDS=60,t.ONE_MINUTE=t.SIXTY_SECONDS,t.FIVE_MINUTES=t.ONE_MINUTE*5,t.TEN_MINUTES=t.ONE_MINUTE*10,t.THIRTY_MINUTES=t.ONE_MINUTE*30,t.SIXTY_MINUTES=t.ONE_MINUTE*60,t.ONE_HOUR=t.SIXTY_MINUTES,t.THREE_HOURS=t.ONE_HOUR*3,t.SIX_HOURS=t.ONE_HOUR*6,t.TWELVE_HOURS=t.ONE_HOUR*12,t.TWENTY_FOUR_HOURS=t.ONE_HOUR*24,t.ONE_DAY=t.TWENTY_FOUR_HOURS,t.THREE_DAYS=t.ONE_DAY*3,t.FIVE_DAYS=t.ONE_DAY*5,t.SEVEN_DAYS=t.ONE_DAY*7,t.THIRTY_DAYS=t.ONE_DAY*30,t.ONE_WEEK=t.SEVEN_DAYS,t.TWO_WEEKS=t.ONE_WEEK*2,t.THREE_WEEKS=t.ONE_WEEK*3,t.FOUR_WEEKS=t.ONE_WEEK*4,t.ONE_YEAR=t.ONE_DAY*365}(nu)),nu}var hd;function dd(){return hd||(hd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=$o;e.__exportStar(X2(),t),e.__exportStar(J2(),t)}(tu)),tu}var pd;function Q2(){if(pd)return oi;pd=1,Object.defineProperty(oi,"__esModule",{value:!0}),oi.fromMiliseconds=oi.toMiliseconds=void 0;const t=dd();function e(r){return r*t.ONE_THOUSAND}oi.toMiliseconds=e;function n(r){return Math.floor(r/t.ONE_THOUSAND)}return oi.fromMiliseconds=n,oi}var gd;function _2(){return gd||(gd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=$o;e.__exportStar(Y2(),t),e.__exportStar(Q2(),t)}(eu)),eu}var Hi={},bd;function $2(){if(bd)return Hi;bd=1,Object.defineProperty(Hi,"__esModule",{value:!0}),Hi.Watch=void 0;class t{constructor(){this.timestamps=new Map}start(n){if(this.timestamps.has(n))throw new Error(`Watch already started for label: ${n}`);this.timestamps.set(n,{started:Date.now()})}stop(n){const r=this.get(n);if(typeof r.elapsed<"u")throw new Error(`Watch already stopped for label: ${n}`);const i=Date.now()-r.started;this.timestamps.set(n,{started:r.started,elapsed:i})}get(n){const r=this.timestamps.get(n);if(typeof r>"u")throw new Error(`No timestamp found for label: ${n}`);return r}elapsed(n){const r=this.get(n);return r.elapsed||Date.now()-r.started}}return Hi.Watch=t,Hi.default=t,Hi}var ru={},Fs={},wd;function e3(){if(wd)return Fs;wd=1,Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.IWatch=void 0;class t{}return Fs.IWatch=t,Fs}var yd;function t3(){return yd||(yd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),$o.__exportStar(e3(),t)}(ru)),ru}(function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=$o;e.__exportStar(_2(),t),e.__exportStar($2(),t),e.__exportStar(t3(),t),e.__exportStar(dd(),t)})(J);var De={};Object.defineProperty(De,"__esModule",{value:!0}),De.getLocalStorage=De.getLocalStorageOrThrow=De.getCrypto=De.getCryptoOrThrow=md=De.getLocation=De.getLocationOrThrow=iu=De.getNavigator=De.getNavigatorOrThrow=ui=De.getDocument=De.getDocumentOrThrow=De.getFromWindowOrThrow=De.getFromWindow=void 0;function ci(t){let e;return typeof window<"u"&&typeof window[t]<"u"&&(e=window[t]),e}De.getFromWindow=ci;function Gi(t){const e=ci(t);if(!e)throw new Error(`${t} is not defined in Window`);return e}De.getFromWindowOrThrow=Gi;function n3(){return Gi("document")}De.getDocumentOrThrow=n3;function r3(){return ci("document")}var ui=De.getDocument=r3;function i3(){return Gi("navigator")}De.getNavigatorOrThrow=i3;function s3(){return ci("navigator")}var iu=De.getNavigator=s3;function o3(){return Gi("location")}De.getLocationOrThrow=o3;function a3(){return ci("location")}var md=De.getLocation=a3;function c3(){return Gi("crypto")}De.getCryptoOrThrow=c3;function u3(){return ci("crypto")}De.getCrypto=u3;function l3(){return Gi("localStorage")}De.getLocalStorageOrThrow=l3;function f3(){return ci("localStorage")}De.getLocalStorage=f3;var su={};Object.defineProperty(su,"__esModule",{value:!0});var vd=su.getWindowMetadata=void 0;const Ed=De;function h3(){let t,e;try{t=Ed.getDocumentOrThrow(),e=Ed.getLocationOrThrow()}catch{return null}function n(){const f=t.getElementsByTagName("link"),d=[];for(let h=0;h<f.length;h++){const p=f[h],w=p.getAttribute("rel");if(w&&w.toLowerCase().indexOf("icon")>-1){const m=p.getAttribute("href");if(m)if(m.toLowerCase().indexOf("https:")===-1&&m.toLowerCase().indexOf("http:")===-1&&m.indexOf("//")!==0){let P=e.protocol+"//"+e.host;if(m.indexOf("/")===0)P+=m;else{const T=e.pathname.split("/");T.pop();const I=T.join("/");P+=I+"/"+m}d.push(P)}else if(m.indexOf("//")===0){const P=e.protocol+m;d.push(P)}else d.push(m)}}return d}function r(...f){const d=t.getElementsByTagName("meta");for(let h=0;h<d.length;h++){const p=d[h],w=["itemprop","property","name"].map(m=>p.getAttribute(m)).filter(m=>m?f.includes(m):!1);if(w.length&&w){const m=p.getAttribute("content");if(m)return m}}return""}function i(){let f=r("name","og:site_name","og:title","twitter:title");return f||(f=t.title),f}function s(){return r("description","og:description","twitter:description","keywords")}const o=i(),a=s(),c=e.origin,u=n();return{description:a,url:c,icons:u,name:o}}vd=su.getWindowMetadata=h3;const d3="0.1.1";function p3(){return d3}class Ae extends Error{constructor(e,n={}){const r=(()=>{if(n.cause instanceof Ae){if(n.cause.details)return n.cause.details;if(n.cause.shortMessage)return n.cause.shortMessage}return n.cause&&"details"in n.cause&&typeof n.cause.details=="string"?n.cause.details:n.cause?.message?n.cause.message:n.details})(),i=n.cause instanceof Ae&&n.cause.docsPath||n.docsPath,o=`https://oxlib.sh${i??""}`,a=[e||"An error occurred.",...n.metaMessages?["",...n.metaMessages]:[],...r||i?["",r?`Details: ${r}`:void 0,i?`See: ${o}`:void 0]:[]].filter(c=>typeof c=="string").join(`
|
|
15
|
+
`);super(a,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:`ox@${p3()}`}),this.cause=n.cause,this.details=r,this.docs=o,this.docsPath=i,this.shortMessage=e}walk(e){return xd(this,e)}}function xd(t,e){return e?.(t)?t:t&&typeof t=="object"&&"cause"in t&&t.cause?xd(t.cause,e):e?null:t}const Wi=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function g3(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function qs(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function li(t,...e){if(!g3(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function b3(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");qs(t.outputLen),qs(t.blockLen)}function Zi(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Id(t,e){li(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function w3(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function vr(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function ou(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function An(t,e){return t<<32-e|t>>>e}const y3=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function m3(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}function v3(t){for(let e=0;e<t.length;e++)t[e]=m3(t[e]);return t}const Sd=y3?t=>t:v3;function E3(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function ea(t){return typeof t=="string"&&(t=E3(t)),li(t),t}function x3(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];li(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class au{}function ta(t){const e=r=>t().update(ea(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function Bd(t=32){if(Wi&&typeof Wi.getRandomValues=="function")return Wi.getRandomValues(new Uint8Array(t));if(Wi&&typeof Wi.randomBytes=="function")return Uint8Array.from(Wi.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}function I3(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function S3(t,e,n){return t&e^~t&n}function B3(t,e,n){return t&e^t&n^e&n}class Od extends au{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=ou(this.buffer)}update(e){Zi(this),e=ea(e),li(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=ou(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Zi(this),Id(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,vr(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;I3(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=ou(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const Kn=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),lt=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),ft=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),na=BigInt(2**32-1),Ad=BigInt(32);function O3(t,e=!1){return e?{h:Number(t&na),l:Number(t>>Ad&na)}:{h:Number(t>>Ad&na)|0,l:Number(t&na)|0}}function Pd(t,e=!1){const n=t.length;let r=new Uint32Array(n),i=new Uint32Array(n);for(let s=0;s<n;s++){const{h:o,l:a}=O3(t[s],e);[r[s],i[s]]=[o,a]}return[r,i]}const Dd=(t,e,n)=>t>>>n,Rd=(t,e,n)=>t<<32-n|e>>>n,Yi=(t,e,n)=>t>>>n|e<<32-n,Xi=(t,e,n)=>t<<32-n|e>>>n,ra=(t,e,n)=>t<<64-n|e>>>n-32,ia=(t,e,n)=>t>>>n-32|e<<64-n,A3=(t,e,n)=>t<<n|e>>>32-n,P3=(t,e,n)=>e<<n|t>>>32-n,D3=(t,e,n)=>e<<n-32|t>>>64-n,R3=(t,e,n)=>t<<n-32|e>>>64-n;function Vn(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const T3=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),N3=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,U3=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),C3=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,F3=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),q3=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,k3=BigInt(0),ks=BigInt(1),L3=BigInt(2),M3=BigInt(7),j3=BigInt(256),z3=BigInt(113),Td=[],Nd=[],Ud=[];for(let t=0,e=ks,n=1,r=0;t<24;t++){[n,r]=[r,(2*n+3*r)%5],Td.push(2*(5*r+n)),Nd.push((t+1)*(t+2)/2%64);let i=k3;for(let s=0;s<7;s++)e=(e<<ks^(e>>M3)*z3)%j3,e&L3&&(i^=ks<<(ks<<BigInt(s))-ks);Ud.push(i)}const Cd=Pd(Ud,!0),K3=Cd[0],V3=Cd[1],Fd=(t,e,n)=>n>32?D3(t,e,n):A3(t,e,n),qd=(t,e,n)=>n>32?R3(t,e,n):P3(t,e,n);function H3(t,e=24){const n=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let o=0;o<10;o++)n[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,u=n[c],l=n[c+1],f=Fd(u,l,1)^n[a],d=qd(u,l,1)^n[a+1];for(let h=0;h<50;h+=10)t[o+h]^=f,t[o+h+1]^=d}let i=t[2],s=t[3];for(let o=0;o<24;o++){const a=Nd[o],c=Fd(i,s,a),u=qd(i,s,a),l=Td[o];i=t[l],s=t[l+1],t[l]=c,t[l+1]=u}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=t[o+a];for(let a=0;a<10;a++)t[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}t[0]^=K3[r],t[1]^=V3[r]}vr(n)}class cu extends au{constructor(e,n,r,i=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=s,qs(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=w3(this.state)}clone(){return this._cloneInto()}keccak(){Sd(this.state32),H3(this.state32,this.rounds),Sd(this.state32),this.posOut=0,this.pos=0}update(e){Zi(this),e=ea(e),li(e);const{blockLen:n,state:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(n-this.pos,i-s);for(let a=0;a<o;a++)r[this.pos++]^=e[s++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:n,pos:r,blockLen:i}=this;e[r]^=n,(n&128)!==0&&r===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){Zi(this,!1),li(e),this.finish();const n=this.state,{blockLen:r}=this;for(let i=0,s=e.length;i<s;){this.posOut>=r&&this.keccak();const o=Math.min(r-this.posOut,s-i);e.set(n.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return qs(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(Id(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,vr(this.state)}_cloneInto(e){const{blockLen:n,suffix:r,outputLen:i,rounds:s,enableXOF:o}=this;return e||(e=new cu(n,r,i,o,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=i,e.enableXOF=o,e.destroyed=this.destroyed,e}}const G3=(t,e,n)=>ta(()=>new cu(e,t,n)),W3=G3(1,136,256/8),Z3=Uint32Array.from([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]),Er=new Uint32Array(64);class Y3 extends Od{constructor(e=32){super(64,e,8,!1),this.A=Kn[0]|0,this.B=Kn[1]|0,this.C=Kn[2]|0,this.D=Kn[3]|0,this.E=Kn[4]|0,this.F=Kn[5]|0,this.G=Kn[6]|0,this.H=Kn[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let f=0;f<16;f++,n+=4)Er[f]=e.getUint32(n,!1);for(let f=16;f<64;f++){const d=Er[f-15],h=Er[f-2],p=An(d,7)^An(d,18)^d>>>3,w=An(h,17)^An(h,19)^h>>>10;Er[f]=w+Er[f-7]+p+Er[f-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:u,H:l}=this;for(let f=0;f<64;f++){const d=An(a,6)^An(a,11)^An(a,25),h=l+d+S3(a,c,u)+Z3[f]+Er[f]|0,w=(An(r,2)^An(r,13)^An(r,22))+B3(r,i,s)|0;l=u,u=c,c=a,a=o+h|0,o=s,s=i,i=r,r=h+w|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,i,s,o,a,c,u,l)}roundClean(){vr(Er)}destroy(){this.set(0,0,0,0,0,0,0,0),vr(this.buffer)}}const kd=Pd(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),X3=kd[0],J3=kd[1],xr=new Uint32Array(80),Ir=new Uint32Array(80);class Ld extends Od{constructor(e=64){super(128,e,16,!1),this.Ah=ft[0]|0,this.Al=ft[1]|0,this.Bh=ft[2]|0,this.Bl=ft[3]|0,this.Ch=ft[4]|0,this.Cl=ft[5]|0,this.Dh=ft[6]|0,this.Dl=ft[7]|0,this.Eh=ft[8]|0,this.El=ft[9]|0,this.Fh=ft[10]|0,this.Fl=ft[11]|0,this.Gh=ft[12]|0,this.Gl=ft[13]|0,this.Hh=ft[14]|0,this.Hl=ft[15]|0}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,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l|0,R|0,G|0),u=a|0,l=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=T3(G,E,v);r=N3(g,R,H,b),i=g|0}({h:r,l:i}=Vn(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=Vn(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=Vn(this.Ch|0,this.Cl|0,a|0,c|0),{h:u,l}=Vn(this.Dh|0,this.Dl|0,u|0,l|0),{h:f,l:d}=Vn(this.Eh|0,this.El|0,f|0,d|0),{h,l:p}=Vn(this.Fh|0,this.Fl|0,h|0,p|0),{h:w,l:m}=Vn(this.Gh|0,this.Gl|0,w|0,m|0),{h:P,l:T}=Vn(this.Hh|0,this.Hl|0,P|0,T|0),this.set(r,i,s,o,a,c,u,l,f,d,h,p,w,m,P,T)}roundClean(){vr(xr,Ir)}destroy(){vr(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class Q3 extends Ld{constructor(){super(48),this.Ah=lt[0]|0,this.Al=lt[1]|0,this.Bh=lt[2]|0,this.Bl=lt[3]|0,this.Ch=lt[4]|0,this.Cl=lt[5]|0,this.Dh=lt[6]|0,this.Dl=lt[7]|0,this.Eh=lt[8]|0,this.El=lt[9]|0,this.Fh=lt[10]|0,this.Fl=lt[11]|0,this.Gh=lt[12]|0,this.Gl=lt[13]|0,this.Hh=lt[14]|0,this.Hl=lt[15]|0}}const sa=ta(()=>new Y3),_3=ta(()=>new Ld),$3=ta(()=>new Q3);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const uu=BigInt(0),oa=BigInt(1);function Ls(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Sr(t){if(!Ls(t))throw new Error("Uint8Array expected")}function Ms(t,e){if(typeof e!="boolean")throw new Error(t+" boolean expected, got "+e)}function aa(t){const e=t.toString(16);return e.length&1?"0"+e:e}function Md(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?uu:BigInt("0x"+t)}const jd=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",ev=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function fi(t){if(Sr(t),jd)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=ev[t[n]];return e}const Hn={_0:48,_9:57,A:65,F:70,a:97,f:102};function zd(t){if(t>=Hn._0&&t<=Hn._9)return t-Hn._0;if(t>=Hn.A&&t<=Hn.F)return t-(Hn.A-10);if(t>=Hn.a&&t<=Hn.f)return t-(Hn.a-10)}function ca(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(jd)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=zd(t.charCodeAt(s)),a=zd(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function Et(t){return Md(fi(t))}function Kd(t){return Sr(t),Md(fi(Uint8Array.from(t).reverse()))}function ze(t,e){return ca(t.toString(16).padStart(e*2,"0"))}function Vd(t,e){return ze(t,e).reverse()}function ht(t,e,n){let r;if(typeof e=="string")try{r=ca(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(Ls(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}function Fe(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];Sr(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}function lu(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}const fu=t=>typeof t=="bigint"&&uu<=t;function hu(t,e,n){return fu(t)&&fu(e)&&fu(n)&&e<=t&&t<n}function Ji(t,e,n,r){if(!hu(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function js(t){let e;for(e=0;t>uu;t>>=oa,e+=1);return e}function tv(t,e){return t>>BigInt(e)&oa}const hi=t=>(oa<<BigInt(t))-oa,du=t=>new Uint8Array(t),Hd=t=>Uint8Array.from(t);function nv(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");let r=du(t),i=du(t),s=0;const o=()=>{r.fill(1),i.fill(0),s=0},a=(...f)=>n(i,r,...f),c=(f=du(0))=>{i=a(Hd([0]),f),r=a(),f.length!==0&&(i=a(Hd([1]),f),r=a())},u=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let f=0;const d=[];for(;f<e;){r=a();const h=r.slice();d.push(h),f+=r.length}return Fe(...d)};return(f,d)=>{o(),c(f);let h;for(;!(h=d(u()));)c();return o(),h}}const rv={bigint:t=>typeof t=="bigint",function:t=>typeof t=="function",boolean:t=>typeof t=="boolean",string:t=>typeof t=="string",stringOrUint8Array:t=>typeof t=="string"||Ls(t),isSafeInteger:t=>Number.isSafeInteger(t),array:t=>Array.isArray(t),field:(t,e)=>e.Fp.isValid(t),hash:t=>typeof t=="function"&&Number.isSafeInteger(t.outputLen)};function zs(t,e,n={}){const r=(i,s,o)=>{const a=rv[s];if(typeof a!="function")throw new Error("invalid validator function");const c=t[i];if(!(o&&c===void 0)&&!a(c,t))throw new Error("param "+String(i)+" is invalid. Expected "+s+", got "+c)};for(const[i,s]of Object.entries(e))r(i,s,!1);for(const[i,s]of Object.entries(n))r(i,s,!0);return t}const Gd=()=>{throw new Error("not implemented")};function pu(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}function iv(t,e){if(Qd(t)>e)throw new Ov({givenSize:Qd(t),maxSize:e})}const Gn={zero:48,nine:57,A:65,F:70,a:97,f:102};function Wd(t){if(t>=Gn.zero&&t<=Gn.nine)return t-Gn.zero;if(t>=Gn.A&&t<=Gn.F)return t-(Gn.A-10);if(t>=Gn.a&&t<=Gn.f)return t-(Gn.a-10)}function sv(t,e={}){const{dir:n,size:r=32}=e;if(r===0)return t;if(t.length>r)throw new Av({size:t.length,targetSize:r,type:"Bytes"});const i=new Uint8Array(r);for(let s=0;s<r;s++){const o=n==="right";i[o?s:r-s-1]=t[o?s:t.length-s-1]}return i}function gu(t,e){if(Zn(t)>e)throw new bv({givenSize:Zn(t),maxSize:e})}function ov(t,e){if(typeof e=="number"&&e>0&&e>Zn(t)-1)throw new Jd({offset:e,position:"start",size:Zn(t)})}function av(t,e,n){if(typeof e=="number"&&typeof n=="number"&&Zn(t)!==n-e)throw new Jd({offset:n,position:"end",size:Zn(t)})}function Zd(t,e={}){const{dir:n,size:r=32}=e;if(r===0)return t;const i=t.replace("0x","");if(i.length>r*2)throw new wv({size:Math.ceil(i.length/2),targetSize:r,type:"Hex"});return`0x${i[n==="right"?"padEnd":"padStart"](r*2,"0")}`}const cv="#__bigint";function bu(t,e,n){return JSON.stringify(t,(r,i)=>typeof e=="function"?e(r,i):typeof i=="bigint"?i.toString()+cv:i,n)}const uv=new TextEncoder,lv=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function fv(t,e={}){const{strict:n=!1}=e;if(!t)throw new Yd(t);if(typeof t!="string")throw new Yd(t);if(n&&!/^0x[0-9a-fA-F]*$/.test(t))throw new Xd(t);if(!t.startsWith("0x"))throw new Xd(t)}function wu(...t){return`0x${t.reduce((e,n)=>e+n.replace("0x",""),"")}`}function yu(t){return t instanceof Uint8Array?Ks(t):Array.isArray(t)?Ks(new Uint8Array(t)):t}function hv(t,e={}){const n=`0x${Number(t)}`;return typeof e.size=="number"?(gu(n,e.size),la(n,e.size)):n}function Ks(t,e={}){let n="";for(let i=0;i<t.length;i++)n+=lv[t[i]];const r=`0x${n}`;return typeof e.size=="number"?(gu(r,e.size),mu(r,e.size)):r}function ua(t,e={}){const{signed:n,size:r}=e,i=BigInt(t);let s;r?n?s=(1n<<BigInt(r)*8n-1n)-1n:s=2n**(BigInt(r)*8n)-1n:typeof t=="number"&&(s=BigInt(Number.MAX_SAFE_INTEGER));const o=typeof s=="bigint"&&n?-s-1n:0;if(s&&i>s||i<o){const u=typeof t=="bigint"?"n":"";throw new gv({max:s?`${s}${u}`:void 0,min:`${o}${u}`,signed:n,size:r,value:`${t}${u}`})}const c=`0x${(n&&i<0?(1n<<BigInt(r*8))+BigInt(i):i).toString(16)}`;return r?la(c,r):c}function dv(t,e={}){return Ks(uv.encode(t),e)}function la(t,e){return Zd(t,{dir:"left",size:e})}function mu(t,e){return Zd(t,{dir:"right",size:e})}function Wn(t,e,n,r={}){const{strict:i}=r;ov(t,e);const s=`0x${t.replace("0x","").slice((e??0)*2,(n??t.length)*2)}`;return i&&av(s,e,n),s}function Zn(t){return Math.ceil((t.length-2)/2)}function pv(t,e={}){const{strict:n=!1}=e;try{return fv(t,{strict:n}),!0}catch{return!1}}class gv extends Ae{constructor({max:e,min:n,signed:r,size:i,value:s}){super(`Number \`${s}\` is not in safe${i?` ${i*8}-bit`:""}${r?" signed":" unsigned"} integer range ${e?`(\`${n}\` to \`${e}\`)`:`(above \`${n}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}class Yd extends Ae{constructor(e){super(`Value \`${typeof e=="object"?bu(e):e}\` of type \`${typeof e}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class Xd extends Ae{constructor(e){super(`Value \`${e}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class bv extends Ae{constructor({givenSize:e,maxSize:n}){super(`Size cannot exceed \`${n}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class Jd extends Ae{constructor({offset:e,position:n,size:r}){super(`Slice ${n==="start"?"starting":"ending"} at offset \`${e}\` is out-of-bounds (size: \`${r}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class wv extends Ae{constructor({size:e,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}const yv=new TextEncoder;function mv(t){if(!(t instanceof Uint8Array)){if(!t)throw new fa(t);if(typeof t!="object")throw new fa(t);if(!("BYTES_PER_ELEMENT"in t))throw new fa(t);if(t.BYTES_PER_ELEMENT!==1||t.constructor.name!=="Uint8Array")throw new fa(t)}}function vv(t){return t instanceof Uint8Array?t:typeof t=="string"?xv(t):Ev(t)}function Ev(t){return t instanceof Uint8Array?t:new Uint8Array(t)}function xv(t,e={}){const{size:n}=e;let r=t;n&&(gu(t,n),r=mu(t,n));let i=r.slice(2);i.length%2&&(i=`0${i}`);const s=i.length/2,o=new Uint8Array(s);for(let a=0,c=0;a<s;a++){const u=Wd(i.charCodeAt(c++)),l=Wd(i.charCodeAt(c++));if(u===void 0||l===void 0)throw new Ae(`Invalid byte sequence ("${i[c-2]}${i[c-1]}" in "${i}").`);o[a]=u*16+l}return o}function Iv(t,e={}){const{size:n}=e,r=yv.encode(t);return typeof n=="number"?(iv(r,n),Sv(r,n)):r}function Sv(t,e){return sv(t,{dir:"right",size:e})}function Qd(t){return t.length}function Bv(t){try{return mv(t),!0}catch{return!1}}class fa extends Ae{constructor(e){super(`Value \`${typeof e=="object"?bu(e):e}\` of type \`${typeof e}\` is an invalid Bytes value.`,{metaMessages:["Bytes values must be of type `Bytes`."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesTypeError"})}}class Ov extends Ae{constructor({givenSize:e,maxSize:n}){super(`Size cannot exceed \`${n}\` bytes. Given size: \`${e}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}}class Av extends Ae{constructor({size:e,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${e}\`) exceeds padding size (\`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeExceedsPaddingSizeError"})}}function _d(t,e={}){const{as:n=typeof t=="string"?"Hex":"Bytes"}=e,r=W3(vv(t));return n==="Bytes"?r:Ks(r)}class Pv extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){const n=super.get(e);return super.has(e)&&n!==void 0&&(this.delete(e),super.set(e,n)),n}set(e,n){if(super.set(e,n),this.maxSize&&this.size>this.maxSize){const r=this.keys().next().value;r&&this.delete(r)}return this}}const vu={checksum:new Pv(8192)}.checksum;function $d(t,e={}){const{compressed:n}=e,{prefix:r,x:i,y:s}=t;if(n===!1||typeof i=="bigint"&&typeof s=="bigint"){if(r!==4)throw new t0({prefix:r,cause:new Cv});return}if(n===!0||typeof i=="bigint"&&typeof s>"u"){if(r!==3&&r!==2)throw new t0({prefix:r,cause:new Uv});return}throw new Nv({publicKey:t})}function Dv(t){const e=(()=>{if(pv(t))return e0(t);if(Bv(t))return Rv(t);const{prefix:n,x:r,y:i}=t;return typeof r=="bigint"&&typeof i=="bigint"?{prefix:n??4,x:r,y:i}:{prefix:n,x:r}})();return $d(e),e}function Rv(t){return e0(Ks(t))}function e0(t){if(t.length!==132&&t.length!==130&&t.length!==68)throw new Fv({publicKey:t});if(t.length===130){const r=BigInt(Wn(t,0,32)),i=BigInt(Wn(t,32,64));return{prefix:4,x:r,y:i}}if(t.length===132){const r=Number(Wn(t,0,1)),i=BigInt(Wn(t,1,33)),s=BigInt(Wn(t,33,65));return{prefix:r,x:i,y:s}}const e=Number(Wn(t,0,1)),n=BigInt(Wn(t,1,33));return{prefix:e,x:n}}function Tv(t,e={}){$d(t);const{prefix:n,x:r,y:i}=t,{includePrefix:s=!0}=e;return wu(s?ua(n,{size:1}):"0x",ua(r,{size:32}),typeof i=="bigint"?ua(i,{size:32}):"0x")}class Nv extends Ae{constructor({publicKey:e}){super(`Value \`${bu(e)}\` is not a valid public key.`,{metaMessages:["Public key must contain:","- an `x` and `prefix` value (compressed)","- an `x`, `y`, and `prefix` value (uncompressed)"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidError"})}}class t0 extends Ae{constructor({prefix:e,cause:n}){super(`Prefix "${e}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidPrefixError"})}}class Uv extends Ae{constructor(){super("Prefix must be 2 or 3 for compressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidCompressedPrefixError"})}}class Cv extends Ae{constructor(){super("Prefix must be 4 for uncompressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidUncompressedPrefixError"})}}class Fv extends Ae{constructor({publicKey:e}){super(`Value \`${e}\` is an invalid public key size.`,{metaMessages:["Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).",`Received ${Zn(yu(e))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidSerializedSizeError"})}}const qv=/^0x[a-fA-F0-9]{40}$/;function Eu(t,e={}){const{strict:n=!0}=e;if(!qv.test(t))throw new r0({address:t,cause:new Mv});if(n){if(t.toLowerCase()===t)return;if(n0(t)!==t)throw new r0({address:t,cause:new jv})}}function n0(t){if(vu.has(t))return vu.get(t);Eu(t,{strict:!1});const e=t.substring(2).toLowerCase(),n=_d(Iv(e),{as:"Bytes"}),r=e.split("");for(let s=0;s<40;s+=2)n[s>>1]>>4>=8&&r[s]&&(r[s]=r[s].toUpperCase()),(n[s>>1]&15)>=8&&r[s+1]&&(r[s+1]=r[s+1].toUpperCase());const i=`0x${r.join("")}`;return vu.set(t,i),i}function kv(t,e={}){const{checksum:n=!1}=e;return Eu(t),n?n0(t):t}function Lv(t,e={}){const n=_d(`0x${Tv(t).slice(4)}`).substring(26);return kv(`0x${n}`,e)}class r0 extends Ae{constructor({address:e,cause:n}){super(`Address "${e}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidAddressError"})}}class Mv extends Ae{constructor(){super("Address is not a 20 byte (40 hexadecimal character) value."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidInputError"})}}class jv extends Ae{constructor(){super("Address does not match its checksum counterpart."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Address.InvalidChecksumError"})}}const zv=/^(.*)\[([0-9]*)\]$/,Kv=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Vv=/^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;function xu(t,e){if(t.length!==e.length)throw new Gv({expectedLength:t.length,givenLength:e.length});const n=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[r];n.push(xu.encode(i,s))}return wu(...n)}(function(t){function e(n,r,i=!1){if(n==="address"){const c=r;return Eu(c),la(c.toLowerCase(),i?32:0)}if(n==="string")return dv(r);if(n==="bytes")return r;if(n==="bool")return la(hv(r),i?32:1);const s=n.match(Vv);if(s){const[c,u,l="256"]=s,f=Number.parseInt(l,10)/8;return ua(r,{size:i?32:f,signed:u==="int"})}const o=n.match(Kv);if(o){const[c,u]=o;if(Number.parseInt(u,10)!==(r.length-2)/2)throw new Hv({expectedSize:Number.parseInt(u,10),value:r});return mu(r,i?32:0)}const a=n.match(zv);if(a&&Array.isArray(r)){const[c,u]=a,l=[];for(let f=0;f<r.length;f++)l.push(e(u,r[f],!0));return l.length===0?"0x":wu(...l)}throw new Wv(n)}t.encode=e})(xu||(xu={}));class Hv extends Ae{constructor({expectedSize:e,value:n}){super(`Size of bytes "${n}" (bytes${Zn(n)}) does not match expected size (bytes${e}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.BytesSizeMismatchError"})}}class Gv extends Ae{constructor({expectedLength:e,givenLength:n}){super(["ABI encoding parameters/values length mismatch.",`Expected length (parameters): ${e}`,`Given length (values): ${n}`].join(`
|
|
16
|
+
`)),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.LengthMismatchError"})}}class Wv extends Ae{constructor(e){super(`Type \`${e}\` is not a valid ABI Type.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiParameters.InvalidTypeError"})}}class i0 extends au{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,b3(e);const r=ea(n);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),vr(s)}update(e){return Zi(this),this.iHash.update(e),this}digestInto(e){Zi(this),li(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const s0=(t,e,n)=>new i0(t,e).update(n).digest();s0.create=(t,e)=>new i0(t,e);const Tt=BigInt(0),xt=BigInt(1),di=BigInt(2),Zv=BigInt(3),o0=BigInt(4),a0=BigInt(5),c0=BigInt(8);function It(t,e){const n=t%e;return n>=Tt?n:e+n}function en(t,e,n){let r=t;for(;e-- >Tt;)r*=r,r%=n;return r}function Iu(t,e){if(t===Tt)throw new Error("invert: expected non-zero number");if(e<=Tt)throw new Error("invert: expected positive modulus, got "+e);let n=It(t,e),r=e,i=Tt,s=xt;for(;n!==Tt;){const a=r/n,c=r%n,u=i-s*a;r=n,n=c,i=s,s=u}if(r!==xt)throw new Error("invert: does not exist");return It(i,e)}function u0(t,e){const n=(t.ORDER+xt)/o0,r=t.pow(e,n);if(!t.eql(t.sqr(r),e))throw new Error("Cannot find square root");return r}function Yv(t,e){const n=(t.ORDER-a0)/c0,r=t.mul(e,di),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,di),i),a=t.mul(s,t.sub(o,t.ONE));if(!t.eql(t.sqr(a),e))throw new Error("Cannot find square root");return a}function Xv(t){if(t<BigInt(3))throw new Error("sqrt is not defined for small field");let e=t-xt,n=0;for(;e%di===Tt;)e/=di,n++;let r=di;const i=Br(t);for(;da(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return u0;let s=i.pow(r,e);const o=(e+xt)/di;return function(c,u){if(c.is0(u))return u;if(da(c,u)!==1)throw new Error("Cannot find square root");let l=n,f=c.mul(c.ONE,s),d=c.pow(u,e),h=c.pow(u,o);for(;!c.eql(d,c.ONE);){if(c.is0(d))return c.ZERO;let p=1,w=c.sqr(d);for(;!c.eql(w,c.ONE);)if(p++,w=c.sqr(w),p===l)throw new Error("Cannot find square root");const m=xt<<BigInt(l-p-1),P=c.pow(f,m);l=p,f=c.sqr(P),d=c.mul(d,f),h=c.mul(h,P)}return h}}function Jv(t){return t%o0===Zv?u0:t%c0===a0?Yv:Xv(t)}const Qv=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function l0(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=Qv.reduce((r,i)=>(r[i]="function",r),e);return zs(t,n)}function ha(t,e,n){if(n<Tt)throw new Error("invalid exponent, negatives unsupported");if(n===Tt)return t.ONE;if(n===xt)return e;let r=t.ONE,i=e;for(;n>Tt;)n&xt&&(r=t.mul(r,i)),i=t.sqr(i),n>>=xt;return r}function pi(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function da(t,e){const n=(t.ORDER-xt)/di,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function f0(t,e){e!==void 0&&qs(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Br(t,e,n=!1,r={}){if(t<=Tt)throw new Error("invalid field: expected ORDER > 0, got "+t);const{nBitLength:i,nByteLength:s}=f0(t,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const a=Object.freeze({ORDER:t,isLE:n,BITS:i,BYTES:s,MASK:hi(i),ZERO:Tt,ONE:xt,create:c=>It(c,t),isValid:c=>{if(typeof c!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof c);return Tt<=c&&c<t},is0:c=>c===Tt,isOdd:c=>(c&xt)===xt,neg:c=>It(-c,t),eql:(c,u)=>c===u,sqr:c=>It(c*c,t),add:(c,u)=>It(c+u,t),sub:(c,u)=>It(c-u,t),mul:(c,u)=>It(c*u,t),pow:(c,u)=>ha(a,c,u),div:(c,u)=>It(c*Iu(u,t),t),sqrN:c=>c*c,addN:(c,u)=>c+u,subN:(c,u)=>c-u,mulN:(c,u)=>c*u,inv:c=>Iu(c,t),sqrt:r.sqrt||(c=>(o||(o=Jv(t)),o(a,c))),toBytes:c=>n?Vd(c,s):ze(c,s),fromBytes:c=>{if(c.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+c.length);return n?Kd(c):Et(c)},invertBatch:c=>pi(a,c),cmov:(c,u,l)=>l?u:c});return Object.freeze(a)}function h0(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function Su(t){const e=h0(t);return e+Math.ceil(e/2)}function d0(t,e,n=!1){const r=t.length,i=h0(e),s=Su(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?Kd(t):Et(t),a=It(o,e-xt)+xt;return n?Vd(a,i):ze(a,i)}const p0=BigInt(0),Bu=BigInt(1);function Ou(t,e){const n=e.negate();return t?n:e}function g0(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function Au(t,e){g0(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=hi(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function b0(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=Bu);const u=e*r,l=u+Math.abs(a)-1,f=a===0,d=a<0,h=e%2!==0;return{nextN:c,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:u}}function _v(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function $v(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const Pu=new WeakMap,w0=new WeakMap;function Du(t){return w0.get(t)||1}function eE(t,e){return{constTimeNegate:Ou,hasPrecomputes(n){return Du(n)!==1},unsafeLadder(n,r,i=t.ZERO){let s=n;for(;r>p0;)r&Bu&&(i=i.add(s)),s=s.double(),r>>=Bu;return i},precomputeWindow(n,r){const{windows:i,windowSize:s}=Au(r,e),o=[];let a=n,c=a;for(let u=0;u<i;u++){c=a,o.push(c);for(let l=1;l<s;l++)c=c.add(a),o.push(c);a=c.double()}return o},wNAF(n,r,i){let s=t.ZERO,o=t.BASE;const a=Au(n,e);for(let c=0;c<a.windows;c++){const{nextN:u,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:p}=b0(i,c,a);i=u,f?o=o.add(Ou(h,r[p])):s=s.add(Ou(d,r[l]))}return{p:s,f:o}},wNAFUnsafe(n,r,i,s=t.ZERO){const o=Au(n,e);for(let a=0;a<o.windows&&i!==p0;a++){const{nextN:c,offset:u,isZero:l,isNeg:f}=b0(i,a,o);if(i=c,!l){const d=r[u];s=s.add(f?d.negate():d)}}return s},getPrecomputes(n,r,i){let s=Pu.get(r);return s||(s=this.precomputeWindow(r,n),n!==1&&Pu.set(r,i(s))),s},wNAFCached(n,r,i){const s=Du(n);return this.wNAF(s,this.getPrecomputes(s,n,i),r)},wNAFCachedUnsafe(n,r,i,s){const o=Du(n);return o===1?this.unsafeLadder(n,r,s):this.wNAFUnsafe(o,this.getPrecomputes(o,n,i),r,s)},setWindowSize(n,r){g0(r,e),w0.set(n,r),Pu.delete(n)}}}function tE(t,e,n,r){_v(n,t),$v(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=js(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const u=hi(c),l=new Array(Number(u)+1).fill(o),f=Math.floor((e.BITS-1)/c)*c;let d=o;for(let h=f;h>=0;h-=c){l.fill(o);for(let w=0;w<s;w++){const m=r[w],P=Number(m>>BigInt(h)&u);l[P]=l[P].add(n[w])}let p=o;for(let w=l.length-1,m=o;w>0;w--)m=m.add(l[w]),p=p.add(m);if(d=d.add(p),h!==0)for(let w=0;w<c;w++)d=d.double()}return d}function y0(t){return l0(t.Fp),zs(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...f0(t.n,t.nBitLength),...t,p:t.Fp.ORDER})}function m0(t){t.lowS!==void 0&&Ms("lowS",t.lowS),t.prehash!==void 0&&Ms("prehash",t.prehash)}function nE(t){const e=y0(t);zs(e,{a:"field",b:"field"},{allowInfinityPoint:"boolean",allowedPrivateKeyLengths:"array",clearCofactor:"function",fromBytes:"function",isTorsionFree:"function",toBytes:"function",wrapPrivateKey:"boolean"});const{endo:n,Fp:r,a:i}=e;if(n){if(!r.eql(i,r.ZERO))throw new Error("invalid endo: CURVE.a must be 0");if(typeof n!="object"||typeof n.beta!="bigint"||typeof n.splitScalar!="function")throw new Error('invalid endo: expected "beta": bigint and "splitScalar": function')}return Object.freeze({...e})}class rE extends Error{constructor(e=""){super(e)}}const Yn={Err:rE,_tlv:{encode:(t,e)=>{const{Err:n}=Yn;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=aa(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?aa(i.length/2|128):"";return aa(t)+s+i+e},decode(t,e){const{Err:n}=Yn;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+c);if(u.length!==c)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const l of u)o=o<<8|l;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=Yn;if(t<dn)throw new e("integer: negative integers are not allowed");let n=aa(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=Yn;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return Et(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=Yn,i=ht("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:u,l}=r.decode(2,c);if(l.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(u)}},hexFromSig(t){const{_tlv:e,_int:n}=Yn,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}};function Ru(t,e){return fi(ze(t,e))}const dn=BigInt(0),Se=BigInt(1),Or=BigInt(2),Vs=BigInt(3),Tu=BigInt(4);function Nu(t){const e=nE(t),{Fp:n}=e,r=Br(e.n,e.nBitLength),i=e.toBytes||((I,x,S)=>{const U=x.toAffine();return Fe(Uint8Array.from([4]),n.toBytes(U.x),n.toBytes(U.y))}),s=e.fromBytes||(I=>{const x=I.subarray(1),S=n.fromBytes(x.subarray(0,n.BYTES)),U=n.fromBytes(x.subarray(n.BYTES,2*n.BYTES));return{x:S,y:U}});function o(I){const{a:x,b:S}=e,U=n.sqr(I),k=n.mul(U,I);return n.add(n.add(k,n.mul(I,x)),S)}function a(I,x){const S=n.sqr(x),U=o(I);return n.eql(S,U)}if(!a(e.Gx,e.Gy))throw new Error("bad curve params: generator point");const c=n.mul(n.pow(e.a,Vs),Tu),u=n.mul(n.sqr(e.b),BigInt(27));if(n.is0(n.add(c,u)))throw new Error("bad curve params: a or b");function l(I){return hu(I,Se,e.n)}function f(I){const{allowedPrivateKeyLengths:x,nByteLength:S,wrapPrivateKey:U,n:k}=e;if(x&&typeof I!="bigint"){if(Ls(I)&&(I=fi(I)),typeof I!="string"||!x.includes(I.length))throw new Error("invalid private key");I=I.padStart(S*2,"0")}let F;try{F=typeof I=="bigint"?I:Et(ht("private key",I,S))}catch{throw new Error("invalid private key, expected hex or "+S+" bytes, got "+typeof I)}return U&&(F=It(F,k)),Ji("private key",F,Se,k),F}function d(I){if(!(I instanceof w))throw new Error("ProjectivePoint expected")}const h=pu((I,x)=>{const{px:S,py:U,pz:k}=I;if(n.eql(k,n.ONE))return{x:S,y:U};const F=I.is0();x==null&&(x=F?n.ONE:n.inv(k));const R=n.mul(S,x),G=n.mul(U,x),H=n.mul(k,x);if(F)return{x:n.ZERO,y:n.ZERO};if(!n.eql(H,n.ONE))throw new Error("invZ was invalid");return{x:R,y:G}}),p=pu(I=>{if(I.is0()){if(e.allowInfinityPoint&&!n.is0(I.py))return;throw new Error("bad point: ZERO")}const{x,y:S}=I.toAffine();if(!n.isValid(x)||!n.isValid(S))throw new Error("bad point: x or y not FE");if(!a(x,S))throw new Error("bad point: equation left != right");if(!I.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class w{constructor(x,S,U){if(x==null||!n.isValid(x))throw new Error("x required");if(S==null||!n.isValid(S)||n.is0(S))throw new Error("y required");if(U==null||!n.isValid(U))throw new Error("z required");this.px=x,this.py=S,this.pz=U,Object.freeze(this)}static fromAffine(x){const{x:S,y:U}=x||{};if(!x||!n.isValid(S)||!n.isValid(U))throw new Error("invalid affine point");if(x instanceof w)throw new Error("projective point not allowed");const k=F=>n.eql(F,n.ZERO);return k(S)&&k(U)?w.ZERO:new w(S,U,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(x){const S=pi(n,x.map(U=>U.pz));return x.map((U,k)=>U.toAffine(S[k])).map(w.fromAffine)}static fromHex(x){const S=w.fromAffine(s(ht("pointHex",x)));return S.assertValidity(),S}static fromPrivateKey(x){return w.BASE.multiply(f(x))}static msm(x,S){return tE(w,r,x,S)}_setWindowSize(x){T.setWindowSize(this,x)}assertValidity(){p(this)}hasEvenY(){const{y:x}=this.toAffine();if(n.isOdd)return!n.isOdd(x);throw new Error("Field doesn't support isOdd")}equals(x){d(x);const{px:S,py:U,pz:k}=this,{px:F,py:R,pz:G}=x,H=n.eql(n.mul(S,G),n.mul(F,k)),E=n.eql(n.mul(U,G),n.mul(R,k));return H&&E}negate(){return new w(this.px,n.neg(this.py),this.pz)}double(){const{a:x,b:S}=e,U=n.mul(S,Vs),{px:k,py:F,pz:R}=this;let G=n.ZERO,H=n.ZERO,E=n.ZERO,b=n.mul(k,k),v=n.mul(F,F),g=n.mul(R,R),y=n.mul(k,F);return y=n.add(y,y),E=n.mul(k,R),E=n.add(E,E),G=n.mul(x,E),H=n.mul(U,g),H=n.add(G,H),G=n.sub(v,H),H=n.add(v,H),H=n.mul(G,H),G=n.mul(y,G),E=n.mul(U,E),g=n.mul(x,g),y=n.sub(b,g),y=n.mul(x,y),y=n.add(y,E),E=n.add(b,b),b=n.add(E,b),b=n.add(b,g),b=n.mul(b,y),H=n.add(H,b),g=n.mul(F,R),g=n.add(g,g),b=n.mul(g,y),G=n.sub(G,b),E=n.mul(g,v),E=n.add(E,E),E=n.add(E,E),new w(G,H,E)}add(x){d(x);const{px:S,py:U,pz:k}=this,{px:F,py:R,pz:G}=x;let H=n.ZERO,E=n.ZERO,b=n.ZERO;const v=e.a,g=n.mul(e.b,Vs);let y=n.mul(S,F),B=n.mul(U,R),A=n.mul(k,G),O=n.add(S,U),D=n.add(F,R);O=n.mul(O,D),D=n.add(y,B),O=n.sub(O,D),D=n.add(S,k);let C=n.add(F,G);return D=n.mul(D,C),C=n.add(y,A),D=n.sub(D,C),C=n.add(U,k),H=n.add(R,G),C=n.mul(C,H),H=n.add(B,A),C=n.sub(C,H),b=n.mul(v,D),H=n.mul(g,A),b=n.add(H,b),H=n.sub(B,b),b=n.add(B,b),E=n.mul(H,b),B=n.add(y,y),B=n.add(B,y),A=n.mul(v,A),D=n.mul(g,D),B=n.add(B,A),A=n.sub(y,A),A=n.mul(v,A),D=n.add(D,A),y=n.mul(B,D),E=n.add(E,y),y=n.mul(C,D),H=n.mul(O,H),H=n.sub(H,y),y=n.mul(O,B),b=n.mul(C,b),b=n.add(b,y),new w(H,E,b)}subtract(x){return this.add(x.negate())}is0(){return this.equals(w.ZERO)}wNAF(x){return T.wNAFCached(this,x,w.normalizeZ)}multiplyUnsafe(x){const{endo:S,n:U}=e;Ji("scalar",x,dn,U);const k=w.ZERO;if(x===dn)return k;if(this.is0()||x===Se)return this;if(!S||T.hasPrecomputes(this))return T.wNAFCachedUnsafe(this,x,w.normalizeZ);let{k1neg:F,k1:R,k2neg:G,k2:H}=S.splitScalar(x),E=k,b=k,v=this;for(;R>dn||H>dn;)R&Se&&(E=E.add(v)),H&Se&&(b=b.add(v)),v=v.double(),R>>=Se,H>>=Se;return F&&(E=E.negate()),G&&(b=b.negate()),b=new w(n.mul(b.px,S.beta),b.py,b.pz),E.add(b)}multiply(x){const{endo:S,n:U}=e;Ji("scalar",x,Se,U);let k,F;if(S){const{k1neg:R,k1:G,k2neg:H,k2:E}=S.splitScalar(x);let{p:b,f:v}=this.wNAF(G),{p:g,f:y}=this.wNAF(E);b=T.constTimeNegate(R,b),g=T.constTimeNegate(H,g),g=new w(n.mul(g.px,S.beta),g.py,g.pz),k=b.add(g),F=v.add(y)}else{const{p:R,f:G}=this.wNAF(x);k=R,F=G}return w.normalizeZ([k,F])[0]}multiplyAndAddUnsafe(x,S,U){const k=w.BASE,F=(G,H)=>H===dn||H===Se||!G.equals(k)?G.multiplyUnsafe(H):G.multiply(H),R=F(this,S).add(F(x,U));return R.is0()?void 0:R}toAffine(x){return h(this,x)}isTorsionFree(){const{h:x,isTorsionFree:S}=e;if(x===Se)return!0;if(S)return S(w,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:x,clearCofactor:S}=e;return x===Se?this:S?S(w,this):this.multiplyUnsafe(e.h)}toRawBytes(x=!0){return Ms("isCompressed",x),this.assertValidity(),i(w,this,x)}toHex(x=!0){return Ms("isCompressed",x),fi(this.toRawBytes(x))}}w.BASE=new w(e.Gx,e.Gy,n.ONE),w.ZERO=new w(n.ZERO,n.ONE,n.ZERO);const{endo:m,nBitLength:P}=e,T=eE(w,m?Math.ceil(P/2):P);return{CURVE:e,ProjectivePoint:w,normPrivateKeyToScalar:f,weierstrassEquation:o,isWithinCurveOrder:l}}function iE(t){const e=y0(t);return zs(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}function sE(t){const e=iE(t),{Fp:n,n:r,nByteLength:i,nBitLength:s}=e,o=n.BYTES+1,a=2*n.BYTES+1;function c(g){return It(g,r)}function u(g){return Iu(g,r)}const{ProjectivePoint:l,normPrivateKeyToScalar:f,weierstrassEquation:d,isWithinCurveOrder:h}=Nu({...e,toBytes(g,y,B){const A=y.toAffine(),O=n.toBytes(A.x),D=Fe;return Ms("isCompressed",B),B?D(Uint8Array.from([y.hasEvenY()?2:3]),O):D(Uint8Array.from([4]),O,n.toBytes(A.y))},fromBytes(g){const y=g.length,B=g[0],A=g.subarray(1);if(y===o&&(B===2||B===3)){const O=Et(A);if(!hu(O,Se,n.ORDER))throw new Error("Point is not on curve");const D=d(O);let C;try{C=n.sqrt(D)}catch(V){const q=V instanceof Error?": "+V.message:"";throw new Error("Point is not on curve"+q)}const M=(C&Se)===Se;return(B&1)===1!==M&&(C=n.neg(C)),{x:O,y:C}}else if(y===a&&B===4){const O=n.fromBytes(A.subarray(0,n.BYTES)),D=n.fromBytes(A.subarray(n.BYTES,2*n.BYTES));return{x:O,y:D}}else{const O=o,D=a;throw new Error("invalid Point, expected length of "+O+", or uncompressed "+D+", got "+y)}}});function p(g){const y=r>>Se;return g>y}function w(g){return p(g)?c(-g):g}const m=(g,y,B)=>Et(g.slice(y,B));class P{constructor(y,B,A){Ji("r",y,Se,r),Ji("s",B,Se,r),this.r=y,this.s=B,A!=null&&(this.recovery=A),Object.freeze(this)}static fromCompact(y){const B=i;return y=ht("compactSignature",y,B*2),new P(m(y,0,B),m(y,B,2*B))}static fromDER(y){const{r:B,s:A}=Yn.toSig(ht("DER",y));return new P(B,A)}assertValidity(){}addRecoveryBit(y){return new P(this.r,this.s,y)}recoverPublicKey(y){const{r:B,s:A,recovery:O}=this,D=k(ht("msgHash",y));if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");const C=O===2||O===3?B+e.n:B;if(C>=n.ORDER)throw new Error("recovery id 2 or 3 invalid");const M=(O&1)===0?"02":"03",L=l.fromHex(M+Ru(C,n.BYTES)),V=u(C),q=c(-D*V),W=c(A*V),Z=l.BASE.multiplyAndAddUnsafe(L,q,W);if(!Z)throw new Error("point at infinify");return Z.assertValidity(),Z}hasHighS(){return p(this.s)}normalizeS(){return this.hasHighS()?new P(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return ca(this.toDERHex())}toDERHex(){return Yn.hexFromSig(this)}toCompactRawBytes(){return ca(this.toCompactHex())}toCompactHex(){const y=i;return Ru(this.r,y)+Ru(this.s,y)}}const T={isValidPrivateKey(g){try{return f(g),!0}catch{return!1}},normPrivateKeyToScalar:f,randomPrivateKey:()=>{const g=Su(e.n);return d0(e.randomBytes(g),e.n)},precompute(g=8,y=l.BASE){return y._setWindowSize(g),y.multiply(BigInt(3)),y}};function I(g,y=!0){return l.fromPrivateKey(g).toRawBytes(y)}function x(g){if(typeof g=="bigint")return!1;if(g instanceof l)return!0;const B=ht("key",g).length,A=n.BYTES,O=A+1,D=2*A+1;if(!(e.allowedPrivateKeyLengths||i===O))return B===O||B===D}function S(g,y,B=!0){if(x(g)===!0)throw new Error("first arg must be private key");if(x(y)===!1)throw new Error("second arg must be public key");return l.fromHex(y).multiply(f(g)).toRawBytes(B)}const U=e.bits2int||function(g){if(g.length>8192)throw new Error("input is too large");const y=Et(g),B=g.length*8-s;return B>0?y>>BigInt(B):y},k=e.bits2int_modN||function(g){return c(U(g))},F=hi(s);function R(g){return Ji("num < 2^"+s,g,dn,F),ze(g,i)}function G(g,y,B=H){if(["recovered","canonical"].some(N=>N in B))throw new Error("sign() legacy options not supported");const{hash:A,randomBytes:O}=e;let{lowS:D,prehash:C,extraEntropy:M}=B;D==null&&(D=!0),g=ht("msgHash",g),m0(B),C&&(g=ht("prehashed msgHash",A(g)));const L=k(g),V=f(y),q=[R(V),R(L)];if(M!=null&&M!==!1){const N=M===!0?O(n.BYTES):M;q.push(ht("extraEntropy",N))}const W=Fe(...q),Z=L;function z(N){const j=U(N);if(!h(j))return;const K=u(j),X=l.BASE.multiply(j).toAffine(),ee=c(X.x);if(ee===dn)return;const $=c(K*c(Z+ee*V));if($===dn)return;let re=(X.x===ee?0:2)|Number(X.y&Se),le=$;return D&&p($)&&(le=w($),re^=1),new P(ee,le,re)}return{seed:W,k2sig:z}}const H={lowS:e.lowS,prehash:!1},E={lowS:e.lowS,prehash:!1};function b(g,y,B=H){const{seed:A,k2sig:O}=G(g,y,B),D=e;return nv(D.hash.outputLen,D.nByteLength,D.hmac)(A,O)}l.BASE._setWindowSize(8);function v(g,y,B,A=E){const O=g;y=ht("msgHash",y),B=ht("publicKey",B);const{lowS:D,prehash:C,format:M}=A;if(m0(A),"strict"in A)throw new Error("options.strict was renamed to lowS");if(M!==void 0&&M!=="compact"&&M!=="der")throw new Error("format must be compact or der");const L=typeof O=="string"||Ls(O),V=!L&&!M&&typeof O=="object"&&O!==null&&typeof O.r=="bigint"&&typeof O.s=="bigint";if(!L&&!V)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let q,W;try{if(V&&(q=new P(O.r,O.s)),L){try{M!=="compact"&&(q=P.fromDER(O))}catch(re){if(!(re instanceof Yn.Err))throw re}!q&&M!=="der"&&(q=P.fromCompact(O))}W=l.fromHex(B)}catch{return!1}if(!q||D&&q.hasHighS())return!1;C&&(y=e.hash(y));const{r:Z,s:z}=q,N=k(y),j=u(z),K=c(N*j),X=c(Z*j),ee=l.BASE.multiplyAndAddUnsafe(W,K,X)?.toAffine();return ee?c(ee.x)===Z:!1}return{CURVE:e,getPublicKey:I,getSharedSecret:S,sign:b,verify:v,ProjectivePoint:l,Signature:P,utils:T}}function oE(t,e){const n=t.ORDER;let r=dn;for(let p=n-Se;p%Or===dn;p/=Or)r+=Se;const i=r,s=Or<<i-Se-Se,o=s*Or,a=(n-Se)/o,c=(a-Se)/Or,u=o-Se,l=s,f=t.pow(e,a),d=t.pow(e,(a+Se)/Or);let h=(p,w)=>{let m=f,P=t.pow(w,u),T=t.sqr(P);T=t.mul(T,w);let I=t.mul(p,T);I=t.pow(I,c),I=t.mul(I,P),P=t.mul(I,w),T=t.mul(I,p);let x=t.mul(T,P);I=t.pow(x,l);let S=t.eql(I,t.ONE);P=t.mul(T,d),I=t.mul(x,m),T=t.cmov(P,T,S),x=t.cmov(I,x,S);for(let U=i;U>Se;U--){let k=U-Or;k=Or<<k-Se;let F=t.pow(x,k);const R=t.eql(F,t.ONE);P=t.mul(T,m),m=t.mul(m,m),F=t.mul(x,m),T=t.cmov(P,T,R),x=t.cmov(F,x,R)}return{isValid:S,value:T}};if(t.ORDER%Tu===Vs){const p=(t.ORDER-Vs)/Tu,w=t.sqrt(t.neg(e));h=(m,P)=>{let T=t.sqr(P);const I=t.mul(m,P);T=t.mul(T,I);let x=t.pow(T,p);x=t.mul(x,I);const S=t.mul(x,w),U=t.mul(t.sqr(x),P),k=t.eql(U,m);let F=t.cmov(S,x,k);return{isValid:k,value:F}}}return h}function v0(t,e){if(l0(t),!t.isValid(e.A)||!t.isValid(e.B)||!t.isValid(e.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");const n=oE(t,e.Z);if(!t.isOdd)throw new Error("Fp.isOdd is not implemented!");return r=>{let i,s,o,a,c,u,l,f;i=t.sqr(r),i=t.mul(i,e.Z),s=t.sqr(i),s=t.add(s,i),o=t.add(s,t.ONE),o=t.mul(o,e.B),a=t.cmov(e.Z,t.neg(s),!t.eql(s,t.ZERO)),a=t.mul(a,e.A),s=t.sqr(o),u=t.sqr(a),c=t.mul(u,e.A),s=t.add(s,c),s=t.mul(s,o),u=t.mul(u,a),c=t.mul(u,e.B),s=t.add(s,c),l=t.mul(i,o);const{isValid:d,value:h}=n(s,u);f=t.mul(i,r),f=t.mul(f,h),l=t.cmov(l,o,d),f=t.cmov(f,h,d);const p=t.isOdd(r)===t.isOdd(f);f=t.cmov(t.neg(f),f,p);const w=pi(t,[a],!0)[0];return l=t.mul(l,w),{x:l,y:f}}}function aE(t){return{hash:t,hmac:(e,...n)=>s0(t,e,x3(...n)),randomBytes:Bd}}function pa(t,e){const n=r=>sE({...t,...aE(r)});return{...n(e),create:n}}const cE=Et;function Ar(t,e){if(Hs(t),Hs(e),t<0||t>=1<<8*e)throw new Error("invalid I2OSP input: "+t);const n=Array.from({length:e}).fill(0);for(let r=e-1;r>=0;r--)n[r]=t&255,t>>>=8;return new Uint8Array(n)}function uE(t,e){const n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r]^e[r];return n}function Hs(t){if(!Number.isSafeInteger(t))throw new Error("number expected")}function lE(t,e,n,r){Sr(t),Sr(e),Hs(n),e.length>255&&(e=r(Fe(lu("H2C-OVERSIZE-DST-"),e)));const{outputLen:i,blockLen:s}=r,o=Math.ceil(n/i);if(n>65535||o>255)throw new Error("expand_message_xmd: invalid lenInBytes");const a=Fe(e,Ar(e.length,1)),c=Ar(0,s),u=Ar(n,2),l=new Array(o),f=r(Fe(c,t,u,Ar(0,1),a));l[0]=r(Fe(f,Ar(1,1),a));for(let h=1;h<=o;h++){const p=[uE(f,l[h-1]),Ar(h+1,1),a];l[h]=r(Fe(...p))}return Fe(...l).slice(0,n)}function fE(t,e,n,r,i){if(Sr(t),Sr(e),Hs(n),e.length>255){const s=Math.ceil(2*r/8);e=i.create({dkLen:s}).update(lu("H2C-OVERSIZE-DST-")).update(e).digest()}if(n>65535||e.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return i.create({dkLen:n}).update(t).update(Ar(n,2)).update(e).update(Ar(e.length,1)).digest()}function E0(t,e,n){zs(n,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});const{p:r,k:i,m:s,hash:o,expand:a,DST:c}=n;Sr(t),Hs(e);const u=typeof c=="string"?lu(c):c,l=r.toString(2).length,f=Math.ceil((l+i)/8),d=e*s*f;let h;if(a==="xmd")h=lE(t,u,d,o);else if(a==="xof")h=fE(t,u,d,i,o);else if(a==="_internal_pass")h=t;else throw new Error('expand must be "xmd" or "xof"');const p=new Array(e);for(let w=0;w<e;w++){const m=new Array(s);for(let P=0;P<s;P++){const T=f*(P+w*s),I=h.subarray(T,T+f);m[P]=It(cE(I),r)}p[w]=m}return p}function x0(t,e){const n=e.map(r=>Array.from(r).reverse());return(r,i)=>{const[s,o,a,c]=n.map(f=>f.reduce((d,h)=>t.add(t.mul(d,r),h))),[u,l]=pi(t,[o,c],!0);return r=t.mul(s,u),i=t.mul(i,t.mul(a,l)),{x:r,y:i}}}function I0(t,e,n){if(typeof e!="function")throw new Error("mapToCurve() must be defined");function r(s){return t.fromAffine(e(s))}function i(s){const o=s.clearCofactor();return o.equals(t.ZERO)?t.ZERO:(o.assertValidity(),o)}return{defaults:n,hashToCurve(s,o){const a=E0(s,2,{...n,DST:n.DST,...o}),c=r(a[0]),u=r(a[1]);return i(c.add(u))},encodeToCurve(s,o){const a=E0(s,1,{...n,DST:n.encodeDST,...o});return i(r(a[0]))},mapToCurve(s){if(!Array.isArray(s))throw new Error("expected array of bigints");for(const o of s)if(typeof o!="bigint")throw new Error("expected array of bigints");return i(r(s))}}}const S0=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),B0=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),hE=BigInt(0),dE=BigInt(1),Uu=BigInt(2),O0=(t,e)=>(t+e/Uu)/e;function pE(t){const e=S0,n=BigInt(3),r=BigInt(6),i=BigInt(11),s=BigInt(22),o=BigInt(23),a=BigInt(44),c=BigInt(88),u=t*t*t%e,l=u*u*t%e,f=en(l,n,e)*l%e,d=en(f,n,e)*l%e,h=en(d,Uu,e)*u%e,p=en(h,i,e)*h%e,w=en(p,s,e)*p%e,m=en(w,a,e)*w%e,P=en(m,c,e)*m%e,T=en(P,a,e)*w%e,I=en(T,n,e)*l%e,x=en(I,o,e)*p%e,S=en(x,r,e)*u%e,U=en(S,Uu,e);if(!Cu.eql(Cu.sqr(U),t))throw new Error("Cannot find square root");return U}const Cu=Br(S0,void 0,void 0,{sqrt:pE}),gE=pa({a:hE,b:BigInt(7),Fp:Cu,n:B0,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:t=>{const e=B0,n=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-dE*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=n,o=BigInt("0x100000000000000000000000000000000"),a=O0(s*t,e),c=O0(-r*t,e);let u=It(t-a*n-c*i,e),l=It(-a*r-c*s,e);const f=u>o,d=l>o;if(f&&(u=e-u),d&&(l=e-l),u>o||l>o)throw new Error("splitScalar: Endomorphism failed, k="+t);return{k1neg:f,k1:u,k2neg:d,k2:l}}}},sa);function bE(t){if(t.length!==130&&t.length!==132)throw new yE({signature:t});const e=BigInt(Wn(t,0,32)),n=BigInt(Wn(t,32,64)),r=(()=>{const i=+`0x${t.slice(130)}`;if(!Number.isNaN(i))try{return wE(i)}catch{throw new mE({value:i})}})();return typeof r>"u"?{r:e,s:n}:{r:e,s:n,yParity:r}}function wE(t){if(t===0||t===27)return 0;if(t===1||t===28)return 1;if(t>=35)return t%2===0?1:0;throw new vE({value:t})}class yE extends Ae{constructor({signature:e}){super(`Value \`${e}\` is an invalid signature size.`,{metaMessages:["Expected: 64 bytes or 65 bytes.",`Received ${Zn(yu(e))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSerializedSizeError"})}}class mE extends Ae{constructor({value:e}){super(`Value \`${e}\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidYParityError"})}}class vE extends Ae{constructor({value:e}){super(`Value \`${e}\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidVError"})}}Object.freeze({1:0n,2:1n,3:2n,4:3n,5:4n,6:5n,7:6n,8:7n,9:8n,A:9n,B:10n,C:11n,D:12n,E:13n,F:14n,G:15n,H:16n,J:17n,K:18n,L:19n,M:20n,N:21n,P:22n,Q:23n,R:24n,S:25n,T:26n,U:27n,V:28n,W:29n,X:30n,Y:31n,Z:32n,a:33n,b:34n,c:35n,d:36n,e:37n,f:38n,g:39n,h:40n,i:41n,j:42n,k:43n,m:44n,n:45n,o:46n,p:47n,q:48n,r:49n,s:50n,t:51n,u:52n,v:53n,w:54n,x:55n,y:56n,z:57n}),Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((t,e)=>[e,t.charCodeAt(0)]),{...Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((t,e)=>[t.charCodeAt(0),e]))},Kn.slice();const EE=BigInt(0),ga=BigInt(1),A0=BigInt(2),Qi=BigInt(3);function xE(t){const e=[];for(;t>ga;t>>=ga)(t&ga)===EE?e.unshift(0):(t&Qi)===Qi?(e.unshift(-1),t+=ga):e.unshift(1);return e}function IE(t){const{Fp:e,Fr:n,Fp2:r,Fp6:i,Fp12:s}=t.fields,o=t.params.xNegative,a=t.params.twistType,c=Nu({n:n.ORDER,...t.G1}),u=Object.assign(c,I0(c.ProjectivePoint,t.G1.mapToCurve,{...t.htfDefaults,...t.G1.htfDefaults})),l=Nu({n:n.ORDER,...t.G2}),f=Object.assign(l,I0(l.ProjectivePoint,t.G2.mapToCurve,{...t.htfDefaults,...t.G2.htfDefaults}));let d;if(a==="multiplicative")d=(L,V,q,W,Z,z)=>s.mul014(W,L,r.mul(V,Z),r.mul(q,z));else if(a==="divisive")d=(L,V,q,W,Z,z)=>s.mul034(W,r.mul(q,z),r.mul(V,Z),L);else throw new Error("bls: unknown twist type");const h=r.div(r.ONE,r.mul(r.ONE,A0));function p(L,V,q,W){const Z=r.sqr(q),z=r.sqr(W),N=r.mulByB(r.mul(z,Qi)),j=r.mul(N,Qi),K=r.sub(r.sub(r.sqr(r.add(q,W)),z),Z),X=r.sub(N,Z),ee=r.mul(r.sqr(V),Qi),$=r.neg(K);return L.push([X,ee,$]),V=r.mul(r.mul(r.mul(r.sub(Z,j),V),q),h),q=r.sub(r.sqr(r.mul(r.add(Z,j),h)),r.mul(r.sqr(N),Qi)),W=r.mul(Z,K),{Rx:V,Ry:q,Rz:W}}function w(L,V,q,W,Z,z){const N=r.sub(q,r.mul(z,W)),j=r.sub(V,r.mul(Z,W)),K=r.sub(r.mul(N,Z),r.mul(j,z)),X=r.neg(N),ee=j;L.push([K,X,ee]);const $=r.sqr(j),re=r.mul($,j),le=r.mul($,V),ce=r.add(r.sub(re,r.mul(le,A0)),r.mul(r.sqr(N),W));return V=r.mul(j,ce),q=r.sub(r.mul(r.sub(le,ce),N),r.mul(re,q)),W=r.mul(W,re),{Rx:V,Ry:q,Rz:W}}const m=xE(t.params.ateLoopSize),P=pu(L=>{const V=L,{x:q,y:W}=V.toAffine(),Z=q,z=W,N=r.neg(W);let j=Z,K=z,X=r.ONE;const ee=[];for(const $ of m){const re=[];({Rx:j,Ry:K,Rz:X}=p(re,j,K,X)),$&&({Rx:j,Ry:K,Rz:X}=w(re,j,K,X,Z,$===-1?N:z)),ee.push(re)}if(t.postPrecompute){const $=ee[ee.length-1];t.postPrecompute(j,K,X,Z,z,w.bind(null,$))}return ee});function T(L,V=!1){let q=s.ONE;if(L.length){const W=L[0][0].length;for(let Z=0;Z<W;Z++){q=s.sqr(q);for(const[z,N,j]of L)for(const[K,X,ee]of z[Z])q=d(K,X,ee,q,N,j)}}return o&&(q=s.conjugate(q)),V?s.finalExponentiate(q):q}function I(L,V=!0){const q=[];u.ProjectivePoint.normalizeZ(L.map(({g1:W})=>W)),f.ProjectivePoint.normalizeZ(L.map(({g2:W})=>W));for(const{g1:W,g2:Z}of L){if(W.equals(u.ProjectivePoint.ZERO)||Z.equals(f.ProjectivePoint.ZERO))throw new Error("pairing is not available for ZERO point");W.assertValidity(),Z.assertValidity();const z=W.toAffine();q.push([P(Z),z.x,z.y])}return T(q,V)}function x(L,V,q=!0){return I([{g1:L,g2:V}],q)}const S={randomPrivateKey:()=>{const L=Su(n.ORDER);return d0(t.randomBytes(L),n.ORDER)},calcPairingPrecomputes:P},{ShortSignature:U}=t.G1,{Signature:k}=t.G2;function F(L){return L instanceof u.ProjectivePoint?L:u.ProjectivePoint.fromHex(L)}function R(L,V){return L instanceof u.ProjectivePoint?L:u.hashToCurve(ht("point",L),V)}function G(L){return L instanceof f.ProjectivePoint?L:k.fromHex(L)}function H(L,V){return L instanceof f.ProjectivePoint?L:f.hashToCurve(ht("point",L),V)}function E(L){return u.ProjectivePoint.fromPrivateKey(L).toRawBytes(!0)}function b(L){return f.ProjectivePoint.fromPrivateKey(L).toRawBytes(!0)}function v(L,V,q){const W=H(L,q);W.assertValidity();const Z=W.multiply(u.normPrivateKeyToScalar(V));return L instanceof f.ProjectivePoint?Z:k.toRawBytes(Z)}function g(L,V,q){const W=R(L,q);W.assertValidity();const Z=W.multiply(u.normPrivateKeyToScalar(V));return L instanceof u.ProjectivePoint?Z:U.toRawBytes(Z)}function y(L,V,q,W){const Z=F(q),z=H(V,W),N=u.ProjectivePoint.BASE,j=G(L),K=I([{g1:Z.negate(),g2:z},{g1:N,g2:j}]);return s.eql(K,s.ONE)}function B(L,V,q,W){const Z=G(q),z=R(V,W),N=f.ProjectivePoint.BASE,j=F(L),K=I([{g1:z,g2:Z},{g1:j,g2:N.negate()}]);return s.eql(K,s.ONE)}function A(L){if(!Array.isArray(L)||L.length===0)throw new Error("expected non-empty array")}function O(L){A(L);const q=L.map(F).reduce((W,Z)=>W.add(Z),u.ProjectivePoint.ZERO);return L[0]instanceof u.ProjectivePoint?(q.assertValidity(),q):q.toRawBytes(!0)}function D(L){A(L);const q=L.map(G).reduce((W,Z)=>W.add(Z),f.ProjectivePoint.ZERO);return L[0]instanceof f.ProjectivePoint?(q.assertValidity(),q):k.toRawBytes(q)}function C(L){A(L);const q=L.map(F).reduce((W,Z)=>W.add(Z),u.ProjectivePoint.ZERO);return L[0]instanceof u.ProjectivePoint?(q.assertValidity(),q):U.toRawBytes(q)}function M(L,V,q,W){if(A(V),q.length!==V.length)throw new Error("amount of public keys and messages should be equal");const Z=G(L),z=V.map(X=>H(X,W)),N=q.map(F),j=new Map;for(let X=0;X<N.length;X++){const ee=N[X],$=z[X];let re=j.get($);re===void 0&&(re=[],j.set($,re)),re.push(ee)}const K=[];try{for(const[X,ee]of j){const $=ee.reduce((re,le)=>re.add(le));K.push({g1:$,g2:X})}return K.push({g1:u.ProjectivePoint.BASE.negate(),g2:Z}),s.eql(I(K),s.ONE)}catch{return!1}}return u.ProjectivePoint.BASE._setWindowSize(4),{getPublicKey:E,getPublicKeyForShortSignatures:b,sign:v,signShortSignature:g,verify:y,verifyBatch:M,verifyShortSignature:B,aggregatePublicKeys:O,aggregateSignatures:D,aggregateShortSignatures:C,millerLoopBatch:T,pairing:x,pairingBatch:I,G1:u,G2:f,Signature:k,ShortSignature:U,fields:{Fr:n,Fp:e,Fp2:r,Fp6:i,Fp12:s},params:{ateLoopSize:t.params.ateLoopSize,r:t.params.r,G1b:t.G1.b,G2b:t.G2.b},utils:S}}const SE=BigInt(0),_i=BigInt(1),Xn=BigInt(2),P0=BigInt(3);function Fu(t,e,n,r,i=1,s){const o=BigInt(s===void 0?r:s),a=n**BigInt(r),c=[];for(let u=0;u<i;u++){const l=BigInt(u+1),f=[];for(let d=0,h=_i;d<r;d++){const p=(l*h-l)/o%a;f.push(t.pow(e,p)),h*=n}c.push(f)}return c}function BE(t,e,n){const r=e.pow(n,(t.ORDER-_i)/P0),i=e.pow(n,(t.ORDER-_i)/Xn);function s(d,h){const p=e.mul(e.frobeniusMap(d,1),r),w=e.mul(e.frobeniusMap(h,1),i);return[p,w]}const o=e.pow(n,(t.ORDER**Xn-_i)/P0),a=e.pow(n,(t.ORDER**Xn-_i)/Xn);if(!e.eql(a,e.neg(e.ONE)))throw new Error("psiFrobenius: PSI2_Y!==-1");function c(d,h){return[e.mul(d,o),e.neg(h)]}const u=d=>(h,p)=>{const w=p.toAffine(),m=d(w.x,w.y);return h.fromAffine({x:m[0],y:m[1]})},l=u(s),f=u(c);return{psi:s,psi2:c,G2psi:l,G2psi2:f,PSI_X:r,PSI_Y:i,PSI2_X:o,PSI2_Y:a}}function OE(t){const{ORDER:e}=t,n=Br(e),r=n.create(t.NONRESIDUE||BigInt(-1)),i=n.div(n.ONE,Xn),s=Fu(n,r,n.ORDER,2)[0],o=({c0:E,c1:b},{c0:v,c1:g})=>({c0:n.add(E,v),c1:n.add(b,g)}),a=({c0:E,c1:b},{c0:v,c1:g})=>({c0:n.sub(E,v),c1:n.sub(b,g)}),c=({c0:E,c1:b},v)=>{if(typeof v=="bigint")return{c0:n.mul(E,v),c1:n.mul(b,v)};const{c0:g,c1:y}=v;let B=n.mul(E,g),A=n.mul(b,y);const O=n.sub(B,A),D=n.sub(n.mul(n.add(E,b),n.add(g,y)),n.add(B,A));return{c0:O,c1:D}},u=({c0:E,c1:b})=>{const v=n.add(E,b),g=n.sub(E,b),y=n.add(E,E);return{c0:n.mul(v,g),c1:n.mul(y,b)}},l=E=>{if(E.length!==2)throw new Error("invalid tuple");const b=E.map(v=>n.create(v));return{c0:b[0],c1:b[1]}},f=e*e,d=l(t.FP2_NONRESIDUE),h={ORDER:f,isLE:n.isLE,NONRESIDUE:d,BITS:js(f),BYTES:Math.ceil(js(f)/8),MASK:hi(js(f)),ZERO:{c0:n.ZERO,c1:n.ZERO},ONE:{c0:n.ONE,c1:n.ZERO},create:E=>E,isValid:({c0:E,c1:b})=>typeof E=="bigint"&&typeof b=="bigint",is0:({c0:E,c1:b})=>n.is0(E)&&n.is0(b),eql:({c0:E,c1:b},{c0:v,c1:g})=>n.eql(E,v)&&n.eql(b,g),neg:({c0:E,c1:b})=>({c0:n.neg(E),c1:n.neg(b)}),pow:(E,b)=>ha(h,E,b),invertBatch:E=>pi(h,E),add:o,sub:a,mul:c,sqr:u,addN:o,subN:a,mulN:c,sqrN:u,div:(E,b)=>h.mul(E,typeof b=="bigint"?n.inv(n.create(b)):h.inv(b)),inv:({c0:E,c1:b})=>{const v=n.inv(n.create(E*E+b*b));return{c0:n.mul(v,n.create(E)),c1:n.mul(v,n.create(-b))}},sqrt:E=>{if(t.Fp2sqrt)return t.Fp2sqrt(E);const{c0:b,c1:v}=E;if(n.is0(v))return da(n,b)===1?h.create({c0:n.sqrt(b),c1:n.ZERO}):h.create({c0:n.ZERO,c1:n.sqrt(n.div(b,r))});const g=n.sqrt(n.sub(n.sqr(b),n.mul(n.sqr(v),r)));let y=n.mul(n.add(g,b),i);da(n,y)===-1&&(y=n.sub(y,g));const A=n.sqrt(y),O=h.create({c0:A,c1:n.div(n.mul(v,i),A)});if(!h.eql(h.sqr(O),E))throw new Error("Cannot find square root");const D=O,C=h.neg(D),{re:M,im:L}=h.reim(D),{re:V,im:q}=h.reim(C);return L>q||L===q&&M>V?D:C},isOdd:E=>{const{re:b,im:v}=h.reim(E),g=b%Xn,y=b===SE,B=v%Xn;return BigInt(g||y&&B)==_i},fromBytes(E){if(E.length!==h.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:n.fromBytes(E.subarray(0,n.BYTES)),c1:n.fromBytes(E.subarray(n.BYTES))}},toBytes:({c0:E,c1:b})=>Fe(n.toBytes(E),n.toBytes(b)),cmov:({c0:E,c1:b},{c0:v,c1:g},y)=>({c0:n.cmov(E,v,y),c1:n.cmov(b,g,y)}),reim:({c0:E,c1:b})=>({re:E,im:b}),mulByNonresidue:({c0:E,c1:b})=>h.mul({c0:E,c1:b},d),mulByB:t.Fp2mulByB,fromBigTuple:l,frobeniusMap:({c0:E,c1:b},v)=>({c0:E,c1:n.mul(b,s[v%2])})},p=({c0:E,c1:b,c2:v},{c0:g,c1:y,c2:B})=>({c0:h.add(E,g),c1:h.add(b,y),c2:h.add(v,B)}),w=({c0:E,c1:b,c2:v},{c0:g,c1:y,c2:B})=>({c0:h.sub(E,g),c1:h.sub(b,y),c2:h.sub(v,B)}),m=({c0:E,c1:b,c2:v},g)=>{if(typeof g=="bigint")return{c0:h.mul(E,g),c1:h.mul(b,g),c2:h.mul(v,g)};const{c0:y,c1:B,c2:A}=g,O=h.mul(E,y),D=h.mul(b,B),C=h.mul(v,A);return{c0:h.add(O,h.mulByNonresidue(h.sub(h.mul(h.add(b,v),h.add(B,A)),h.add(D,C)))),c1:h.add(h.sub(h.mul(h.add(E,b),h.add(y,B)),h.add(O,D)),h.mulByNonresidue(C)),c2:h.sub(h.add(D,h.mul(h.add(E,v),h.add(y,A))),h.add(O,C))}},P=({c0:E,c1:b,c2:v})=>{let g=h.sqr(E),y=h.mul(h.mul(E,b),Xn),B=h.mul(h.mul(b,v),Xn),A=h.sqr(v);return{c0:h.add(h.mulByNonresidue(B),g),c1:h.add(h.mulByNonresidue(A),y),c2:h.sub(h.sub(h.add(h.add(y,h.sqr(h.add(h.sub(E,b),v))),B),g),A)}},[T,I]=Fu(h,d,n.ORDER,6,2,3),x={ORDER:h.ORDER,isLE:h.isLE,BITS:3*h.BITS,BYTES:3*h.BYTES,MASK:hi(3*h.BITS),ZERO:{c0:h.ZERO,c1:h.ZERO,c2:h.ZERO},ONE:{c0:h.ONE,c1:h.ZERO,c2:h.ZERO},create:E=>E,isValid:({c0:E,c1:b,c2:v})=>h.isValid(E)&&h.isValid(b)&&h.isValid(v),is0:({c0:E,c1:b,c2:v})=>h.is0(E)&&h.is0(b)&&h.is0(v),neg:({c0:E,c1:b,c2:v})=>({c0:h.neg(E),c1:h.neg(b),c2:h.neg(v)}),eql:({c0:E,c1:b,c2:v},{c0:g,c1:y,c2:B})=>h.eql(E,g)&&h.eql(b,y)&&h.eql(v,B),sqrt:Gd,div:(E,b)=>x.mul(E,typeof b=="bigint"?n.inv(n.create(b)):x.inv(b)),pow:(E,b)=>ha(x,E,b),invertBatch:E=>pi(x,E),add:p,sub:w,mul:m,sqr:P,addN:p,subN:w,mulN:m,sqrN:P,inv:({c0:E,c1:b,c2:v})=>{let g=h.sub(h.sqr(E),h.mulByNonresidue(h.mul(v,b))),y=h.sub(h.mulByNonresidue(h.sqr(v)),h.mul(E,b)),B=h.sub(h.sqr(b),h.mul(E,v)),A=h.inv(h.add(h.mulByNonresidue(h.add(h.mul(v,y),h.mul(b,B))),h.mul(E,g)));return{c0:h.mul(A,g),c1:h.mul(A,y),c2:h.mul(A,B)}},fromBytes:E=>{if(E.length!==x.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:h.fromBytes(E.subarray(0,h.BYTES)),c1:h.fromBytes(E.subarray(h.BYTES,2*h.BYTES)),c2:h.fromBytes(E.subarray(2*h.BYTES))}},toBytes:({c0:E,c1:b,c2:v})=>Fe(h.toBytes(E),h.toBytes(b),h.toBytes(v)),cmov:({c0:E,c1:b,c2:v},{c0:g,c1:y,c2:B},A)=>({c0:h.cmov(E,g,A),c1:h.cmov(b,y,A),c2:h.cmov(v,B,A)}),fromBigSix:E=>{if(!Array.isArray(E)||E.length!==6)throw new Error("invalid Fp6 usage");return{c0:h.fromBigTuple(E.slice(0,2)),c1:h.fromBigTuple(E.slice(2,4)),c2:h.fromBigTuple(E.slice(4,6))}},frobeniusMap:({c0:E,c1:b,c2:v},g)=>({c0:h.frobeniusMap(E,g),c1:h.mul(h.frobeniusMap(b,g),T[g%6]),c2:h.mul(h.frobeniusMap(v,g),I[g%6])}),mulByFp2:({c0:E,c1:b,c2:v},g)=>({c0:h.mul(E,g),c1:h.mul(b,g),c2:h.mul(v,g)}),mulByNonresidue:({c0:E,c1:b,c2:v})=>({c0:h.mulByNonresidue(v),c1:E,c2:b}),mul1:({c0:E,c1:b,c2:v},g)=>({c0:h.mulByNonresidue(h.mul(v,g)),c1:h.mul(E,g),c2:h.mul(b,g)}),mul01({c0:E,c1:b,c2:v},g,y){let B=h.mul(E,g),A=h.mul(b,y);return{c0:h.add(h.mulByNonresidue(h.sub(h.mul(h.add(b,v),y),A)),B),c1:h.sub(h.sub(h.mul(h.add(g,y),h.add(E,b)),B),A),c2:h.add(h.sub(h.mul(h.add(E,v),g),B),A)}}},S=Fu(h,d,n.ORDER,12,1,6)[0],U=({c0:E,c1:b},{c0:v,c1:g})=>({c0:x.add(E,v),c1:x.add(b,g)}),k=({c0:E,c1:b},{c0:v,c1:g})=>({c0:x.sub(E,v),c1:x.sub(b,g)}),F=({c0:E,c1:b},v)=>{if(typeof v=="bigint")return{c0:x.mul(E,v),c1:x.mul(b,v)};let{c0:g,c1:y}=v,B=x.mul(E,g),A=x.mul(b,y);return{c0:x.add(B,x.mulByNonresidue(A)),c1:x.sub(x.mul(x.add(E,b),x.add(g,y)),x.add(B,A))}},R=({c0:E,c1:b})=>{let v=x.mul(E,b);return{c0:x.sub(x.sub(x.mul(x.add(x.mulByNonresidue(b),E),x.add(E,b)),v),x.mulByNonresidue(v)),c1:x.add(v,v)}};function G(E,b){const v=h.sqr(E),g=h.sqr(b);return{first:h.add(h.mulByNonresidue(g),v),second:h.sub(h.sub(h.sqr(h.add(E,b)),v),g)}}const H={ORDER:h.ORDER,isLE:x.isLE,BITS:2*x.BITS,BYTES:2*x.BYTES,MASK:hi(2*x.BITS),ZERO:{c0:x.ZERO,c1:x.ZERO},ONE:{c0:x.ONE,c1:x.ZERO},create:E=>E,isValid:({c0:E,c1:b})=>x.isValid(E)&&x.isValid(b),is0:({c0:E,c1:b})=>x.is0(E)&&x.is0(b),neg:({c0:E,c1:b})=>({c0:x.neg(E),c1:x.neg(b)}),eql:({c0:E,c1:b},{c0:v,c1:g})=>x.eql(E,v)&&x.eql(b,g),sqrt:Gd,inv:({c0:E,c1:b})=>{let v=x.inv(x.sub(x.sqr(E),x.mulByNonresidue(x.sqr(b))));return{c0:x.mul(E,v),c1:x.neg(x.mul(b,v))}},div:(E,b)=>H.mul(E,typeof b=="bigint"?n.inv(n.create(b)):H.inv(b)),pow:(E,b)=>ha(H,E,b),invertBatch:E=>pi(H,E),add:U,sub:k,mul:F,sqr:R,addN:U,subN:k,mulN:F,sqrN:R,fromBytes:E=>{if(E.length!==H.BYTES)throw new Error("fromBytes invalid length="+E.length);return{c0:x.fromBytes(E.subarray(0,x.BYTES)),c1:x.fromBytes(E.subarray(x.BYTES))}},toBytes:({c0:E,c1:b})=>Fe(x.toBytes(E),x.toBytes(b)),cmov:({c0:E,c1:b},{c0:v,c1:g},y)=>({c0:x.cmov(E,v,y),c1:x.cmov(b,g,y)}),fromBigTwelve:E=>({c0:x.fromBigSix(E.slice(0,6)),c1:x.fromBigSix(E.slice(6,12))}),frobeniusMap(E,b){const{c0:v,c1:g,c2:y}=x.frobeniusMap(E.c1,b),B=S[b%12];return{c0:x.frobeniusMap(E.c0,b),c1:x.create({c0:h.mul(v,B),c1:h.mul(g,B),c2:h.mul(y,B)})}},mulByFp2:({c0:E,c1:b},v)=>({c0:x.mulByFp2(E,v),c1:x.mulByFp2(b,v)}),conjugate:({c0:E,c1:b})=>({c0:E,c1:x.neg(b)}),mul014:({c0:E,c1:b},v,g,y)=>{let B=x.mul01(E,v,g),A=x.mul1(b,y);return{c0:x.add(x.mulByNonresidue(A),B),c1:x.sub(x.sub(x.mul01(x.add(b,E),v,h.add(g,y)),B),A)}},mul034:({c0:E,c1:b},v,g,y)=>{const B=x.create({c0:h.mul(E.c0,v),c1:h.mul(E.c1,v),c2:h.mul(E.c2,v)}),A=x.mul01(b,g,y),O=x.mul01(x.add(E,b),h.add(v,g),y);return{c0:x.add(x.mulByNonresidue(A),B),c1:x.sub(O,x.add(B,A))}},_cyclotomicSquare:t.Fp12cyclotomicSquare,_cyclotomicExp:t.Fp12cyclotomicExp,finalExponentiate:t.Fp12finalExponentiate};return{Fp:n,Fp2:h,Fp6:x,Fp4Square:G,Fp12:H}}const St=BigInt(0),ba=BigInt(1),Ze=BigInt(2),wa=BigInt(3),Gs=BigInt(4),Pr=BigInt("0xd201000000010000"),AE=js(Pr),{Fp:se,Fp2:ae,Fp6:qu,Fp4Square:ku,Fp12:ge}=OE({ORDER:BigInt("0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab"),FP2_NONRESIDUE:[ba,ba],Fp2mulByB:({c0:t,c1:e})=>{const n=se.mul(t,Gs),r=se.mul(e,Gs);return{c0:se.sub(n,r),c1:se.add(n,r)}},Fp12cyclotomicSquare:({c0:t,c1:e})=>{const{c0:n,c1:r,c2:i}=t,{c0:s,c1:o,c2:a}=e,{first:c,second:u}=ku(n,o),{first:l,second:f}=ku(s,i),{first:d,second:h}=ku(r,a),p=ae.mulByNonresidue(h);return{c0:qu.create({c0:ae.add(ae.mul(ae.sub(c,n),Ze),c),c1:ae.add(ae.mul(ae.sub(l,r),Ze),l),c2:ae.add(ae.mul(ae.sub(d,i),Ze),d)}),c1:qu.create({c0:ae.add(ae.mul(ae.add(p,s),Ze),p),c1:ae.add(ae.mul(ae.add(u,o),Ze),u),c2:ae.add(ae.mul(ae.add(f,a),Ze),f)})}},Fp12cyclotomicExp(t,e){let n=ge.ONE;for(let r=AE-1;r>=0;r--)n=ge._cyclotomicSquare(n),tv(e,r)&&(n=ge.mul(n,t));return n},Fp12finalExponentiate:t=>{const e=Pr,n=ge.div(ge.frobeniusMap(t,6),t),r=ge.mul(ge.frobeniusMap(n,2),n),i=ge.conjugate(ge._cyclotomicExp(r,e)),s=ge.mul(ge.conjugate(ge._cyclotomicSquare(r)),i),o=ge.conjugate(ge._cyclotomicExp(s,e)),a=ge.conjugate(ge._cyclotomicExp(o,e)),c=ge.mul(ge.conjugate(ge._cyclotomicExp(a,e)),ge._cyclotomicSquare(i)),u=ge.conjugate(ge._cyclotomicExp(c,e)),l=ge.frobeniusMap(ge.mul(i,a),2),f=ge.frobeniusMap(ge.mul(o,r),3),d=ge.frobeniusMap(ge.mul(c,ge.conjugate(r)),1),h=ge.mul(ge.mul(u,ge.conjugate(s)),r);return ge.mul(ge.mul(ge.mul(l,f),d),h)}}),D0=Br(BigInt("0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001")),PE=x0(ae,[[["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(t=>t.map(e=>ae.fromBigTuple(e.map(BigInt))))),DE=x0(se,[["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(t=>t.map(e=>BigInt(e)))),RE=v0(ae,{A:ae.create({c0:se.create(St),c1:se.create(BigInt(240))}),B:ae.create({c0:se.create(BigInt(1012)),c1:se.create(BigInt(1012))}),Z:ae.create({c0:se.create(BigInt(-2)),c1:se.create(BigInt(-1))})}),TE=v0(se,{A:se.create(BigInt("0x144698a3b8e9433d693a02c96d4982b0ea985383ee66a8d8e8981aefd881ac98936f8da0e0f97f5cf428082d584c1d")),B:se.create(BigInt("0x12e2908d11688030018b12e8753eee3b2016c1f0f24f4070a0b9c14fcef35ef55a23215a316ceaa5d1cc48e98e172be0")),Z:se.create(BigInt(11))}),{G2psi:R0,G2psi2:NE}=BE(se,ae,ae.div(ae.ONE,ae.NONRESIDUE)),Lu=Object.freeze({DST:"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_",encodeDST:"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_",p:se.ORDER,m:2,k:128,expand:"xmd",hash:sa}),ya=Ws(se.toBytes(St),{infinity:!0,compressed:!0});function ma(t){t=t.slice();const e=t[0]&224,n=!!(e>>7&1),r=!!(e>>6&1),i=!!(e>>5&1);return t[0]&=31,{compressed:n,infinity:r,sort:i,value:t}}function Ws(t,e){if(t[0]&224)throw new Error("setMask: non-empty mask");return e.compressed&&(t[0]|=128),e.infinity&&(t[0]|=64),e.sort&&(t[0]|=32),t}function T0(t){t.assertValidity();const e=t.equals(pn.G1.ProjectivePoint.ZERO),{x:n,y:r}=t.toAffine();if(e)return ya.slice();const i=se.ORDER,s=!!(r*Ze/i);return Ws(ze(n,se.BYTES),{compressed:!0,sort:s})}function N0(t){t.assertValidity();const e=se.BYTES;if(t.equals(pn.G2.ProjectivePoint.ZERO))return Fe(ya,ze(St,e));const{x:n,y:r}=t.toAffine(),{re:i,im:s}=ae.reim(n),{re:o,im:a}=ae.reim(r),u=!!((a>St?a*Ze:o*Ze)/se.ORDER&ba),l=i;return Fe(Ws(ze(s,e),{sort:u,compressed:!0}),ze(l,e))}const pn=IE({fields:{Fp:se,Fp2:ae,Fp6:qu,Fp12:ge,Fr:D0},G1:{Fp:se,h:BigInt("0x396c8c005555e1568c00aaab0000aaab"),Gx:BigInt("0x17f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb"),Gy:BigInt("0x08b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e1"),a:se.ZERO,b:Gs,htfDefaults:{...Lu,m:1,DST:"BLS_SIG_BLS12381G1_XMD:SHA-256_SSWU_RO_NUL_"},wrapPrivateKey:!0,allowInfinityPoint:!0,isTorsionFree:(t,e)=>{const n=BigInt("0x5f19672fdf76ce51ba69c6076a0f77eaddb3a93be6f89688de17d813620a00022e01fffffffefffe"),r=new t(se.mul(e.px,n),e.py,e.pz);return e.multiplyUnsafe(Pr).negate().multiplyUnsafe(Pr).equals(r)},clearCofactor:(t,e)=>e.multiplyUnsafe(Pr).add(e),mapToCurve:t=>{const{x:e,y:n}=TE(se.create(t[0]));return DE(e,n)},fromBytes:t=>{const{compressed:e,infinity:n,sort:r,value:i}=ma(t);if(i.length===48&&e){const s=se.ORDER,o=Et(i),a=se.create(o&se.MASK);if(n){if(a!==St)throw new Error("G1: non-empty compressed point at infinity");return{x:St,y:St}}const c=se.add(se.pow(a,wa),se.create(pn.params.G1b));let u=se.sqrt(c);if(!u)throw new Error("invalid compressed G1 point");return u*Ze/s!==BigInt(r)&&(u=se.neg(u)),{x:se.create(a),y:se.create(u)}}else if(i.length===96&&!e){const s=Et(i.subarray(0,se.BYTES)),o=Et(i.subarray(se.BYTES));if(n){if(s!==St||o!==St)throw new Error("G1: non-empty point at infinity");return pn.G1.ProjectivePoint.ZERO.toAffine()}return{x:se.create(s),y:se.create(o)}}else throw new Error("invalid point G1, expected 48/96 bytes")},toBytes:(t,e,n)=>{const r=e.equals(t.ZERO),{x:i,y:s}=e.toAffine();if(n){if(r)return ya.slice();const o=se.ORDER,a=!!(s*Ze/o);return Ws(ze(i,se.BYTES),{compressed:!0,sort:a})}else return r?Fe(new Uint8Array([64]),new Uint8Array(2*se.BYTES-1)):Fe(ze(i,se.BYTES),ze(s,se.BYTES))},ShortSignature:{fromHex(t){const{infinity:e,sort:n,value:r}=ma(ht("signatureHex",t,48)),i=se.ORDER,s=Et(r);if(e)return pn.G1.ProjectivePoint.ZERO;const o=se.create(s&se.MASK),a=se.add(se.pow(o,wa),se.create(pn.params.G1b));let c=se.sqrt(a);if(!c)throw new Error("invalid compressed G1 point");const u=BigInt(n);c*Ze/i!==u&&(c=se.neg(c));const l=pn.G1.ProjectivePoint.fromAffine({x:o,y:c});return l.assertValidity(),l},toRawBytes(t){return T0(t)},toHex(t){return fi(T0(t))}}},G2:{Fp:ae,h:BigInt("0x5d543a95414e7f1091d50792876a202cd91de4547085abaa68a205b2e5a7ddfa628f1cb4d9e82ef21537e293a6691ae1616ec6e786f0c70cf1c38e31c7238e5"),Gx:ae.fromBigTuple([BigInt("0x024aa2b2f08f0a91260805272dc51051c6e47ad4fa403b02b4510b647ae3d1770bac0326a805bbefd48056c8c121bdb8"),BigInt("0x13e02b6052719f607dacd3a088274f65596bd0d09920b61ab5da61bbdc7f5049334cf11213945d57e5ac7d055d042b7e")]),Gy:ae.fromBigTuple([BigInt("0x0ce5d527727d6e118cc9cdc6da2e351aadfd9baa8cbdd3a76d429a695160d12c923ac9cc3baca289e193548608b82801"),BigInt("0x0606c4a02ea734cc32acd2b02bc28b99cb3e287e85a763af267492ab572e99ab3f370d275cec1da1aaa9075ff05f79be")]),a:ae.ZERO,b:ae.fromBigTuple([Gs,Gs]),hEff:BigInt("0xbc69f08f2ee75b3584c6a0ea91b352888e2a8e9145ad7689986ff031508ffe1329c2f178731db956d82bf015d1212b02ec0ec69d7477c1ae954cbc06689f6a359894c0adebbf6b4e8020005aaa95551"),htfDefaults:{...Lu},wrapPrivateKey:!0,allowInfinityPoint:!0,mapToCurve:t=>{const{x:e,y:n}=RE(ae.fromBigTuple(t));return PE(e,n)},isTorsionFree:(t,e)=>e.multiplyUnsafe(Pr).negate().equals(R0(t,e)),clearCofactor:(t,e)=>{const n=Pr;let r=e.multiplyUnsafe(n).negate(),i=R0(t,e),s=e.double();return s=NE(t,s),s=s.subtract(i),i=r.add(i),i=i.multiplyUnsafe(n).negate(),s=s.add(i),s=s.subtract(r),s.subtract(e)},fromBytes:t=>{const{compressed:e,infinity:n,sort:r,value:i}=ma(t);if(!e&&!n&&r||!e&&n&&r||r&&n&&e)throw new Error("invalid encoding flag: "+(t[0]&224));const s=se.BYTES,o=(a,c,u)=>Et(a.slice(c,u));if(i.length===96&&e){const a=pn.params.G2b,c=se.ORDER;if(n){if(i.reduce((w,m)=>w!==0?m+1:m,0)>0)throw new Error("invalid compressed G2 point");return{x:ae.ZERO,y:ae.ZERO}}const u=o(i,0,s),l=o(i,s,2*s),f=ae.create({c0:se.create(l),c1:se.create(u)}),d=ae.add(ae.pow(f,wa),a);let h=ae.sqrt(d);const p=h.c1===St?h.c0*Ze/c:h.c1*Ze/c?ba:St;return h=r&&p>0?h:ae.neg(h),{x:f,y:h}}else if(i.length===192&&!e){if(n){if(i.reduce((f,d)=>f!==0?d+1:d,0)>0)throw new Error("invalid uncompressed G2 point");return{x:ae.ZERO,y:ae.ZERO}}const a=o(i,0,s),c=o(i,s,2*s),u=o(i,2*s,3*s),l=o(i,3*s,4*s);return{x:ae.fromBigTuple([c,a]),y:ae.fromBigTuple([l,u])}}else throw new Error("invalid point G2, expected 96/192 bytes")},toBytes:(t,e,n)=>{const{BYTES:r,ORDER:i}=se,s=e.equals(t.ZERO),{x:o,y:a}=e.toAffine();if(n){if(s)return Fe(ya,ze(St,r));const c=!!(a.c1===St?a.c0*Ze/i:a.c1*Ze/i);return Fe(Ws(ze(o.c1,r),{compressed:!0,sort:c}),ze(o.c0,r))}else{if(s)return Fe(new Uint8Array([64]),new Uint8Array(4*r-1));const{re:c,im:u}=ae.reim(o),{re:l,im:f}=ae.reim(a);return Fe(ze(u,r),ze(c,r),ze(f,r),ze(l,r))}},Signature:{fromHex(t){const{infinity:e,sort:n,value:r}=ma(ht("signatureHex",t)),i=se.ORDER,s=r.length/2;if(s!==48&&s!==96)throw new Error("invalid compressed signature length, must be 96 or 192");const o=Et(r.slice(0,s)),a=Et(r.slice(s));if(e)return pn.G2.ProjectivePoint.ZERO;const c=se.create(o&se.MASK),u=se.create(a),l=ae.create({c0:u,c1:c}),f=ae.add(ae.pow(l,wa),pn.params.G2b);let d=ae.sqrt(f);if(!d)throw new Error("Failed to find a square root");const{re:h,im:p}=ae.reim(d),w=BigInt(n),m=p>St&&p*Ze/i!==w,P=p===St&&h*Ze/i!==w;(m||P)&&(d=ae.neg(d));const T=pn.G2.ProjectivePoint.fromAffine({x:l,y:d});return T.assertValidity(),T},toRawBytes(t){return N0(t)},toHex(t){return fi(N0(t))}}},params:{ateLoopSize:Pr,r:D0.ORDER,xNegative:!0,twistType:"multiplicative"},htfDefaults:Lu,hash:sa,randomBytes:Bd});BigInt(0),BigInt(1),BigInt(2),BigInt(8),BigInt(0),BigInt(1),BigInt(2),BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),BigInt(0),BigInt(1),BigInt(2),BigInt(3),BigInt(5),BigInt(8);const $i=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function va(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Mu(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function gi(t,...e){if(!va(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function U0(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");Mu(t.outputLen),Mu(t.blockLen)}function Ea(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function UE(t,e){gi(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function xa(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function ju(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Pn(t,e){return t<<32-e|t>>>e}const C0=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",CE=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function es(t){if(gi(t),C0)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=CE[t[n]];return e}const Jn={_0:48,_9:57,A:65,F:70,a:97,f:102};function F0(t){if(t>=Jn._0&&t<=Jn._9)return t-Jn._0;if(t>=Jn.A&&t<=Jn.F)return t-(Jn.A-10);if(t>=Jn.a&&t<=Jn.f)return t-(Jn.a-10)}function Ia(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(C0)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=F0(t.charCodeAt(s)),a=F0(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function zu(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Ku(t){return typeof t=="string"&&(t=zu(t)),gi(t),t}function Dr(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];gi(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class q0{}function FE(t){const e=r=>t().update(Ku(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function k0(t=32){if($i&&typeof $i.getRandomValues=="function")return $i.getRandomValues(new Uint8Array(t));if($i&&typeof $i.randomBytes=="function")return Uint8Array.from($i.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}const Vu=BigInt(0),Hu=BigInt(1);function Sa(t,e=""){if(typeof t!="boolean"){const n=e&&`"${e}"`;throw new Error(n+"expected boolean, got type="+typeof t)}return t}function bi(t,e,n=""){const r=va(t),i=t?.length,s=e!==void 0;if(!r||s&&i!==e){const o=n&&`"${n}" `,a=s?` of length ${e}`:"",c=r?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+c)}return t}function Ba(t){const e=t.toString(16);return e.length&1?"0"+e:e}function L0(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?Vu:BigInt("0x"+t)}function Oa(t){return L0(es(t))}function M0(t){return gi(t),L0(es(Uint8Array.from(t).reverse()))}function Gu(t,e){return Ia(t.toString(16).padStart(e*2,"0"))}function j0(t,e){return Gu(t,e).reverse()}function Nt(t,e,n){let r;if(typeof e=="string")try{r=Ia(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(va(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}const Wu=t=>typeof t=="bigint"&&Vu<=t;function qE(t,e,n){return Wu(t)&&Wu(e)&&Wu(n)&&e<=t&&t<n}function kE(t,e,n,r){if(!qE(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function z0(t){let e;for(e=0;t>Vu;t>>=Hu,e+=1);return e}const Zs=t=>(Hu<<BigInt(t))-Hu;function LE(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const r=h=>new Uint8Array(h),i=h=>Uint8Array.of(h);let s=r(t),o=r(t),a=0;const c=()=>{s.fill(1),o.fill(0),a=0},u=(...h)=>n(o,s,...h),l=(h=r(0))=>{o=u(i(0),h),s=u(),h.length!==0&&(o=u(i(1),h),s=u())},f=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let h=0;const p=[];for(;h<e;){s=u();const w=s.slice();p.push(w),h+=s.length}return Dr(...p)};return(h,p)=>{c(),l(h);let w;for(;!(w=p(f()));)l();return c(),w}}function Zu(t,e,n={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function r(i,s,o){const a=t[i];if(o&&a===void 0)return;const c=typeof a;if(c!==s||a===null)throw new Error(`param "${i}" is invalid: expected ${s}, got ${c}`)}Object.entries(e).forEach(([i,s])=>r(i,s,!1)),Object.entries(n).forEach(([i,s])=>r(i,s,!0))}function K0(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const Ut=BigInt(0),Bt=BigInt(1),wi=BigInt(2),V0=BigInt(3),H0=BigInt(4),G0=BigInt(5),ME=BigInt(7),W0=BigInt(8),jE=BigInt(9),Z0=BigInt(16);function gn(t,e){const n=t%e;return n>=Ut?n:e+n}function tn(t,e,n){let r=t;for(;e-- >Ut;)r*=r,r%=n;return r}function Y0(t,e){if(t===Ut)throw new Error("invert: expected non-zero number");if(e<=Ut)throw new Error("invert: expected positive modulus, got "+e);let n=gn(t,e),r=e,i=Ut,s=Bt;for(;n!==Ut;){const a=r/n,c=r%n,u=i-s*a;r=n,n=c,i=s,s=u}if(r!==Bt)throw new Error("invert: does not exist");return gn(i,e)}function Yu(t,e,n){if(!t.eql(t.sqr(e),n))throw new Error("Cannot find square root")}function X0(t,e){const n=(t.ORDER+Bt)/H0,r=t.pow(e,n);return Yu(t,r,e),r}function zE(t,e){const n=(t.ORDER-G0)/W0,r=t.mul(e,wi),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,wi),i),a=t.mul(s,t.sub(o,t.ONE));return Yu(t,a,e),a}function KE(t){const e=Ys(t),n=J0(t),r=n(e,e.neg(e.ONE)),i=n(e,r),s=n(e,e.neg(r)),o=(t+ME)/Z0;return(a,c)=>{let u=a.pow(c,o),l=a.mul(u,r);const f=a.mul(u,i),d=a.mul(u,s),h=a.eql(a.sqr(l),c),p=a.eql(a.sqr(f),c);u=a.cmov(u,l,h),l=a.cmov(d,f,p);const w=a.eql(a.sqr(l),c),m=a.cmov(u,l,w);return Yu(a,m,c),m}}function J0(t){if(t<V0)throw new Error("sqrt is not defined for small field");let e=t-Bt,n=0;for(;e%wi===Ut;)e/=wi,n++;let r=wi;const i=Ys(t);for(;_0(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return X0;let s=i.pow(r,e);const o=(e+Bt)/wi;return function(c,u){if(c.is0(u))return u;if(_0(c,u)!==1)throw new Error("Cannot find square root");let l=n,f=c.mul(c.ONE,s),d=c.pow(u,e),h=c.pow(u,o);for(;!c.eql(d,c.ONE);){if(c.is0(d))return c.ZERO;let p=1,w=c.sqr(d);for(;!c.eql(w,c.ONE);)if(p++,w=c.sqr(w),p===l)throw new Error("Cannot find square root");const m=Bt<<BigInt(l-p-1),P=c.pow(f,m);l=p,f=c.sqr(P),d=c.mul(d,f),h=c.mul(h,P)}return h}}function VE(t){return t%H0===V0?X0:t%W0===G0?zE:t%Z0===jE?KE(t):J0(t)}const HE=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function GE(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=HE.reduce((r,i)=>(r[i]="function",r),e);return Zu(t,n),t}function WE(t,e,n){if(n<Ut)throw new Error("invalid exponent, negatives unsupported");if(n===Ut)return t.ONE;if(n===Bt)return e;let r=t.ONE,i=e;for(;n>Ut;)n&Bt&&(r=t.mul(r,i)),i=t.sqr(i),n>>=Bt;return r}function Q0(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function _0(t,e){const n=(t.ORDER-Bt)/wi,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function $0(t,e){e!==void 0&&Mu(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Ys(t,e,n=!1,r={}){if(t<=Ut)throw new Error("invalid field: expected ORDER > 0, got "+t);let i,s,o=!1,a;if(typeof e=="object"&&e!=null){if(r.sqrt||n)throw new Error("cannot specify opts in two arguments");const d=e;d.BITS&&(i=d.BITS),d.sqrt&&(s=d.sqrt),typeof d.isLE=="boolean"&&(n=d.isLE),typeof d.modFromBytes=="boolean"&&(o=d.modFromBytes),a=d.allowedLengths}else typeof e=="number"&&(i=e),r.sqrt&&(s=r.sqrt);const{nBitLength:c,nByteLength:u}=$0(t,i);if(u>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l;const f=Object.freeze({ORDER:t,isLE:n,BITS:c,BYTES:u,MASK:Zs(c),ZERO:Ut,ONE:Bt,allowedLengths:a,create:d=>gn(d,t),isValid:d=>{if(typeof d!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof d);return Ut<=d&&d<t},is0:d=>d===Ut,isValidNot0:d=>!f.is0(d)&&f.isValid(d),isOdd:d=>(d&Bt)===Bt,neg:d=>gn(-d,t),eql:(d,h)=>d===h,sqr:d=>gn(d*d,t),add:(d,h)=>gn(d+h,t),sub:(d,h)=>gn(d-h,t),mul:(d,h)=>gn(d*h,t),pow:(d,h)=>WE(f,d,h),div:(d,h)=>gn(d*Y0(h,t),t),sqrN:d=>d*d,addN:(d,h)=>d+h,subN:(d,h)=>d-h,mulN:(d,h)=>d*h,inv:d=>Y0(d,t),sqrt:s||(d=>(l||(l=VE(t)),l(f,d))),toBytes:d=>n?j0(d,u):Gu(d,u),fromBytes:(d,h=!0)=>{if(a){if(!a.includes(d.length)||d.length>u)throw new Error("Field.fromBytes: expected "+a+" bytes, got "+d.length);const w=new Uint8Array(u);w.set(d,n?0:w.length-d.length),d=w}if(d.length!==u)throw new Error("Field.fromBytes: expected "+u+" bytes, got "+d.length);let p=n?M0(d):Oa(d);if(o&&(p=gn(p,t)),!h&&!f.isValid(p))throw new Error("invalid field element: outside of range 0..ORDER");return p},invertBatch:d=>Q0(f,d),cmov:(d,h,p)=>p?h:d});return Object.freeze(f)}function ep(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function tp(t){const e=ep(t);return e+Math.ceil(e/2)}function ZE(t,e,n=!1){const r=t.length,i=ep(e),s=tp(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?M0(t):Oa(t),a=gn(o,e-Bt)+Bt;return n?j0(a,i):Gu(a,i)}function YE(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function XE(t,e,n){return t&e^~t&n}function JE(t,e,n){return t&e^t&n^e&n}class QE extends q0{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=ju(this.buffer)}update(e){Ea(this),e=Ku(e),gi(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=ju(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Ea(this),UE(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,xa(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;YE(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=ju(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const Rr=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),_E=Uint32Array.from([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]),Tr=new Uint32Array(64);class $E extends QE{constructor(e=32){super(64,e,8,!1),this.A=Rr[0]|0,this.B=Rr[1]|0,this.C=Rr[2]|0,this.D=Rr[3]|0,this.E=Rr[4]|0,this.F=Rr[5]|0,this.G=Rr[6]|0,this.H=Rr[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let f=0;f<16;f++,n+=4)Tr[f]=e.getUint32(n,!1);for(let f=16;f<64;f++){const d=Tr[f-15],h=Tr[f-2],p=Pn(d,7)^Pn(d,18)^d>>>3,w=Pn(h,17)^Pn(h,19)^h>>>10;Tr[f]=w+Tr[f-7]+p+Tr[f-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:u,H:l}=this;for(let f=0;f<64;f++){const d=Pn(a,6)^Pn(a,11)^Pn(a,25),h=l+d+XE(a,c,u)+_E[f]+Tr[f]|0,w=(Pn(r,2)^Pn(r,13)^Pn(r,22))+JE(r,i,s)|0;l=u,u=c,c=a,a=o+h|0,o=s,s=i,i=r,r=h+w|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,i,s,o,a,c,u,l)}roundClean(){xa(Tr)}destroy(){this.set(0,0,0,0,0,0,0,0),xa(this.buffer)}}const np=FE(()=>new $E);class rp extends q0{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,U0(e);const r=Ku(n);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),xa(s)}update(e){return Ea(this),this.iHash.update(e),this}digestInto(e){Ea(this),gi(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const ip=(t,e,n)=>new rp(t,e).update(n).digest();ip.create=(t,e)=>new rp(t,e);const ts=BigInt(0),yi=BigInt(1);function Aa(t,e){const n=e.negate();return t?n:e}function Xu(t,e){const n=Q0(t.Fp,e.map(r=>r.Z));return e.map((r,i)=>t.fromAffine(r.toAffine(n[i])))}function sp(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function Ju(t,e){sp(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=Zs(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function op(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=yi);const u=e*r,l=u+Math.abs(a)-1,f=a===0,d=a<0,h=e%2!==0;return{nextN:c,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:u}}function e8(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function t8(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const Qu=new WeakMap,ap=new WeakMap;function _u(t){return ap.get(t)||1}function cp(t){if(t!==ts)throw new Error("invalid wNAF")}class n8{constructor(e,n){this.BASE=e.BASE,this.ZERO=e.ZERO,this.Fn=e.Fn,this.bits=n}_unsafeLadder(e,n,r=this.ZERO){let i=e;for(;n>ts;)n&yi&&(r=r.add(i)),i=i.double(),n>>=yi;return r}precomputeWindow(e,n){const{windows:r,windowSize:i}=Ju(n,this.bits),s=[];let o=e,a=o;for(let c=0;c<r;c++){a=o,s.push(a);for(let u=1;u<i;u++)a=a.add(o),s.push(a);o=a.double()}return s}wNAF(e,n,r){if(!this.Fn.isValid(r))throw new Error("invalid scalar");let i=this.ZERO,s=this.BASE;const o=Ju(e,this.bits);for(let a=0;a<o.windows;a++){const{nextN:c,offset:u,isZero:l,isNeg:f,isNegF:d,offsetF:h}=op(r,a,o);r=c,l?s=s.add(Aa(d,n[h])):i=i.add(Aa(f,n[u]))}return cp(r),{p:i,f:s}}wNAFUnsafe(e,n,r,i=this.ZERO){const s=Ju(e,this.bits);for(let o=0;o<s.windows&&r!==ts;o++){const{nextN:a,offset:c,isZero:u,isNeg:l}=op(r,o,s);if(r=a,!u){const f=n[c];i=i.add(l?f.negate():f)}}return cp(r),i}getPrecomputes(e,n,r){let i=Qu.get(n);return i||(i=this.precomputeWindow(n,e),e!==1&&(typeof r=="function"&&(i=r(i)),Qu.set(n,i))),i}cached(e,n,r){const i=_u(e);return this.wNAF(i,this.getPrecomputes(i,e,r),n)}unsafe(e,n,r,i){const s=_u(e);return s===1?this._unsafeLadder(e,n,i):this.wNAFUnsafe(s,this.getPrecomputes(s,e,r),n,i)}createCache(e,n){sp(n,this.bits),ap.set(e,n),Qu.delete(e)}hasCache(e){return _u(e)!==1}}function r8(t,e,n,r){let i=e,s=t.ZERO,o=t.ZERO;for(;n>ts||r>ts;)n&yi&&(s=s.add(i)),r&yi&&(o=o.add(i)),i=i.double(),n>>=yi,r>>=yi;return{p1:s,p2:o}}function i8(t,e,n,r){e8(n,t),t8(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=z0(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const u=Zs(c),l=new Array(Number(u)+1).fill(o),f=Math.floor((e.BITS-1)/c)*c;let d=o;for(let h=f;h>=0;h-=c){l.fill(o);for(let w=0;w<s;w++){const m=r[w],P=Number(m>>BigInt(h)&u);l[P]=l[P].add(n[w])}let p=o;for(let w=l.length-1,m=o;w>0;w--)m=m.add(l[w]),p=p.add(m);if(d=d.add(p),h!==0)for(let w=0;w<c;w++)d=d.double()}return d}function up(t,e,n){if(e){if(e.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return GE(e),e}else return Ys(t,{isLE:n})}function s8(t,e,n={},r){if(r===void 0&&(r=t==="edwards"),!e||typeof e!="object")throw new Error(`expected valid ${t} CURVE object`);for(const c of["p","n","h"]){const u=e[c];if(!(typeof u=="bigint"&&u>ts))throw new Error(`CURVE.${c} must be positive bigint`)}const i=up(e.p,n.Fp,r),s=up(e.n,n.Fn,r),a=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const c of a)if(!i.isValid(e[c]))throw new Error(`CURVE.${c} must be valid field element of CURVE.Fp`);return e=Object.freeze(Object.assign({},e)),{CURVE:e,Fp:i,Fn:s}}const lp=(t,e)=>(t+(t>=0?e:-e)/fp)/e;function o8(t,e,n){const[[r,i],[s,o]]=e,a=lp(o*t,n),c=lp(-i*t,n);let u=t-a*r-c*s,l=-a*i-c*o;const f=u<_n,d=l<_n;f&&(u=-u),d&&(l=-l);const h=Zs(Math.ceil(z0(n)/2))+ns;if(u<_n||u>=h||l<_n||l>=h)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:f,k1:u,k2neg:d,k2:l}}function $u(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function el(t,e){const n={};for(let r of Object.keys(e))n[r]=t[r]===void 0?e[r]:t[r];return Sa(n.lowS,"lowS"),Sa(n.prehash,"prehash"),n.format!==void 0&&$u(n.format),n}class a8 extends Error{constructor(e=""){super(e)}}const Qn={Err:a8,_tlv:{encode:(t,e)=>{const{Err:n}=Qn;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=Ba(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?Ba(i.length/2|128):"";return Ba(t)+s+i+e},decode(t,e){const{Err:n}=Qn;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+c);if(u.length!==c)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const l of u)o=o<<8|l;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=Qn;if(t<_n)throw new e("integer: negative integers are not allowed");let n=Ba(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=Qn;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return Oa(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=Qn,i=Nt("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:u,l}=r.decode(2,c);if(l.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(u)}},hexFromSig(t){const{_tlv:e,_int:n}=Qn,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}},_n=BigInt(0),ns=BigInt(1),fp=BigInt(2),Pa=BigInt(3),c8=BigInt(4);function rs(t,e){const{BYTES:n}=t;let r;if(typeof e=="bigint")r=e;else{let i=Nt("private key",e);try{r=t.fromBytes(i)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof e}`)}}if(!t.isValidNot0(r))throw new Error("invalid private key: out of range [1..N-1]");return r}function u8(t,e={}){const n=s8("weierstrass",t,e),{Fp:r,Fn:i}=n;let s=n.CURVE;const{h:o,n:a}=s;Zu(e,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:c}=e;if(c&&(!r.is0(s.a)||typeof c.beta!="bigint"||!Array.isArray(c.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const u=dp(r,i);function l(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function f(E,b,v){const{x:g,y}=b.toAffine(),B=r.toBytes(g);if(Sa(v,"isCompressed"),v){l();const A=!r.isOdd(y);return Dr(hp(A),B)}else return Dr(Uint8Array.of(4),B,r.toBytes(y))}function d(E){bi(E,void 0,"Point");const{publicKey:b,publicKeyUncompressed:v}=u,g=E.length,y=E[0],B=E.subarray(1);if(g===b&&(y===2||y===3)){const A=r.fromBytes(B);if(!r.isValid(A))throw new Error("bad point: is not on curve, wrong x");const O=w(A);let D;try{D=r.sqrt(O)}catch(L){const V=L instanceof Error?": "+L.message:"";throw new Error("bad point: is not on curve, sqrt error"+V)}l();const C=r.isOdd(D);return(y&1)===1!==C&&(D=r.neg(D)),{x:A,y:D}}else if(g===v&&y===4){const A=r.BYTES,O=r.fromBytes(B.subarray(0,A)),D=r.fromBytes(B.subarray(A,A*2));if(!m(O,D))throw new Error("bad point: is not on curve");return{x:O,y:D}}else throw new Error(`bad point: got length ${g}, expected compressed=${b} or uncompressed=${v}`)}const h=e.toBytes||f,p=e.fromBytes||d;function w(E){const b=r.sqr(E),v=r.mul(b,E);return r.add(r.add(v,r.mul(E,s.a)),s.b)}function m(E,b){const v=r.sqr(b),g=w(E);return r.eql(v,g)}if(!m(s.Gx,s.Gy))throw new Error("bad curve params: generator point");const P=r.mul(r.pow(s.a,Pa),c8),T=r.mul(r.sqr(s.b),BigInt(27));if(r.is0(r.add(P,T)))throw new Error("bad curve params: a or b");function I(E,b,v=!1){if(!r.isValid(b)||v&&r.is0(b))throw new Error(`bad point coordinate ${E}`);return b}function x(E){if(!(E instanceof R))throw new Error("ProjectivePoint expected")}function S(E){if(!c||!c.basises)throw new Error("no endo");return o8(E,c.basises,i.ORDER)}const U=K0((E,b)=>{const{X:v,Y:g,Z:y}=E;if(r.eql(y,r.ONE))return{x:v,y:g};const B=E.is0();b==null&&(b=B?r.ONE:r.inv(y));const A=r.mul(v,b),O=r.mul(g,b),D=r.mul(y,b);if(B)return{x:r.ZERO,y:r.ZERO};if(!r.eql(D,r.ONE))throw new Error("invZ was invalid");return{x:A,y:O}}),k=K0(E=>{if(E.is0()){if(e.allowInfinityPoint&&!r.is0(E.Y))return;throw new Error("bad point: ZERO")}const{x:b,y:v}=E.toAffine();if(!r.isValid(b)||!r.isValid(v))throw new Error("bad point: x or y not field elements");if(!m(b,v))throw new Error("bad point: equation left != right");if(!E.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function F(E,b,v,g,y){return v=new R(r.mul(v.X,E),v.Y,v.Z),b=Aa(g,b),v=Aa(y,v),b.add(v)}class R{constructor(b,v,g){this.X=I("x",b),this.Y=I("y",v,!0),this.Z=I("z",g),Object.freeze(this)}static CURVE(){return s}static fromAffine(b){const{x:v,y:g}=b||{};if(!b||!r.isValid(v)||!r.isValid(g))throw new Error("invalid affine point");if(b instanceof R)throw new Error("projective point not allowed");return r.is0(v)&&r.is0(g)?R.ZERO:new R(v,g,r.ONE)}static fromBytes(b){const v=R.fromAffine(p(bi(b,void 0,"point")));return v.assertValidity(),v}static fromHex(b){return R.fromBytes(Nt("pointHex",b))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(b=8,v=!0){return H.createCache(this,b),v||this.multiply(Pa),this}assertValidity(){k(this)}hasEvenY(){const{y:b}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(b)}equals(b){x(b);const{X:v,Y:g,Z:y}=this,{X:B,Y:A,Z:O}=b,D=r.eql(r.mul(v,O),r.mul(B,y)),C=r.eql(r.mul(g,O),r.mul(A,y));return D&&C}negate(){return new R(this.X,r.neg(this.Y),this.Z)}double(){const{a:b,b:v}=s,g=r.mul(v,Pa),{X:y,Y:B,Z:A}=this;let O=r.ZERO,D=r.ZERO,C=r.ZERO,M=r.mul(y,y),L=r.mul(B,B),V=r.mul(A,A),q=r.mul(y,B);return q=r.add(q,q),C=r.mul(y,A),C=r.add(C,C),O=r.mul(b,C),D=r.mul(g,V),D=r.add(O,D),O=r.sub(L,D),D=r.add(L,D),D=r.mul(O,D),O=r.mul(q,O),C=r.mul(g,C),V=r.mul(b,V),q=r.sub(M,V),q=r.mul(b,q),q=r.add(q,C),C=r.add(M,M),M=r.add(C,M),M=r.add(M,V),M=r.mul(M,q),D=r.add(D,M),V=r.mul(B,A),V=r.add(V,V),M=r.mul(V,q),O=r.sub(O,M),C=r.mul(V,L),C=r.add(C,C),C=r.add(C,C),new R(O,D,C)}add(b){x(b);const{X:v,Y:g,Z:y}=this,{X:B,Y:A,Z:O}=b;let D=r.ZERO,C=r.ZERO,M=r.ZERO;const L=s.a,V=r.mul(s.b,Pa);let q=r.mul(v,B),W=r.mul(g,A),Z=r.mul(y,O),z=r.add(v,g),N=r.add(B,A);z=r.mul(z,N),N=r.add(q,W),z=r.sub(z,N),N=r.add(v,y);let j=r.add(B,O);return N=r.mul(N,j),j=r.add(q,Z),N=r.sub(N,j),j=r.add(g,y),D=r.add(A,O),j=r.mul(j,D),D=r.add(W,Z),j=r.sub(j,D),M=r.mul(L,N),D=r.mul(V,Z),M=r.add(D,M),D=r.sub(W,M),M=r.add(W,M),C=r.mul(D,M),W=r.add(q,q),W=r.add(W,q),Z=r.mul(L,Z),N=r.mul(V,N),W=r.add(W,Z),Z=r.sub(q,Z),Z=r.mul(L,Z),N=r.add(N,Z),q=r.mul(W,N),C=r.add(C,q),q=r.mul(j,N),D=r.mul(z,D),D=r.sub(D,q),q=r.mul(z,W),M=r.mul(j,M),M=r.add(M,q),new R(D,C,M)}subtract(b){return this.add(b.negate())}is0(){return this.equals(R.ZERO)}multiply(b){const{endo:v}=e;if(!i.isValidNot0(b))throw new Error("invalid scalar: out of range");let g,y;const B=A=>H.cached(this,A,O=>Xu(R,O));if(v){const{k1neg:A,k1:O,k2neg:D,k2:C}=S(b),{p:M,f:L}=B(O),{p:V,f:q}=B(C);y=L.add(q),g=F(v.beta,M,V,A,D)}else{const{p:A,f:O}=B(b);g=A,y=O}return Xu(R,[g,y])[0]}multiplyUnsafe(b){const{endo:v}=e,g=this;if(!i.isValid(b))throw new Error("invalid scalar: out of range");if(b===_n||g.is0())return R.ZERO;if(b===ns)return g;if(H.hasCache(this))return this.multiply(b);if(v){const{k1neg:y,k1:B,k2neg:A,k2:O}=S(b),{p1:D,p2:C}=r8(R,g,B,O);return F(v.beta,D,C,y,A)}else return H.unsafe(g,b)}multiplyAndAddUnsafe(b,v,g){const y=this.multiplyUnsafe(v).add(b.multiplyUnsafe(g));return y.is0()?void 0:y}toAffine(b){return U(this,b)}isTorsionFree(){const{isTorsionFree:b}=e;return o===ns?!0:b?b(R,this):H.unsafe(this,a).is0()}clearCofactor(){const{clearCofactor:b}=e;return o===ns?this:b?b(R,this):this.multiplyUnsafe(o)}isSmallOrder(){return this.multiplyUnsafe(o).is0()}toBytes(b=!0){return Sa(b,"isCompressed"),this.assertValidity(),h(R,this,b)}toHex(b=!0){return es(this.toBytes(b))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(b=!0){return this.toBytes(b)}_setWindowSize(b){this.precompute(b)}static normalizeZ(b){return Xu(R,b)}static msm(b,v){return i8(R,i,b,v)}static fromPrivateKey(b){return R.BASE.multiply(rs(i,b))}}R.BASE=new R(s.Gx,s.Gy,r.ONE),R.ZERO=new R(r.ZERO,r.ONE,r.ZERO),R.Fp=r,R.Fn=i;const G=i.BITS,H=new n8(R,e.endo?Math.ceil(G/2):G);return R.BASE.precompute(8),R}function hp(t){return Uint8Array.of(t?2:3)}function dp(t,e){return{secretKey:e.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*e.BYTES}}function l8(t,e={}){const{Fn:n}=t,r=e.randomBytes||k0,i=Object.assign(dp(t.Fp,n),{seed:tp(n.ORDER)});function s(h){try{return!!rs(n,h)}catch{return!1}}function o(h,p){const{publicKey:w,publicKeyUncompressed:m}=i;try{const P=h.length;return p===!0&&P!==w||p===!1&&P!==m?!1:!!t.fromBytes(h)}catch{return!1}}function a(h=r(i.seed)){return ZE(bi(h,i.seed,"seed"),n.ORDER)}function c(h,p=!0){return t.BASE.multiply(rs(n,h)).toBytes(p)}function u(h){const p=a(h);return{secretKey:p,publicKey:c(p)}}function l(h){if(typeof h=="bigint")return!1;if(h instanceof t)return!0;const{secretKey:p,publicKey:w,publicKeyUncompressed:m}=i;if(n.allowedLengths||p===w)return;const P=Nt("key",h).length;return P===w||P===m}function f(h,p,w=!0){if(l(h)===!0)throw new Error("first arg must be private key");if(l(p)===!1)throw new Error("second arg must be public key");const m=rs(n,h);return t.fromHex(p).multiply(m).toBytes(w)}return Object.freeze({getPublicKey:c,getSharedSecret:f,keygen:u,Point:t,utils:{isValidSecretKey:s,isValidPublicKey:o,randomSecretKey:a,isValidPrivateKey:s,randomPrivateKey:a,normPrivateKeyToScalar:h=>rs(n,h),precompute(h=8,p=t.BASE){return p.precompute(h,!1)}},lengths:i})}function f8(t,e,n={}){U0(e),Zu(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const r=n.randomBytes||k0,i=n.hmac||((v,...g)=>ip(e,v,Dr(...g))),{Fp:s,Fn:o}=t,{ORDER:a,BITS:c}=o,{keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h}=l8(t,n),p={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},w="compact";function m(v){const g=a>>ns;return v>g}function P(v,g){if(!o.isValidNot0(g))throw new Error(`invalid signature ${v}: out of range 1..Point.Fn.ORDER`);return g}function T(v,g){$u(g);const y=h.signature,B=g==="compact"?y:g==="recovered"?y+1:void 0;return bi(v,B,`${g} signature`)}class I{constructor(g,y,B){this.r=P("r",g),this.s=P("s",y),B!=null&&(this.recovery=B),Object.freeze(this)}static fromBytes(g,y=w){T(g,y);let B;if(y==="der"){const{r:C,s:M}=Qn.toSig(bi(g));return new I(C,M)}y==="recovered"&&(B=g[0],y="compact",g=g.subarray(1));const A=o.BYTES,O=g.subarray(0,A),D=g.subarray(A,A*2);return new I(o.fromBytes(O),o.fromBytes(D),B)}static fromHex(g,y){return this.fromBytes(Ia(g),y)}addRecoveryBit(g){return new I(this.r,this.s,g)}recoverPublicKey(g){const y=s.ORDER,{r:B,s:A,recovery:O}=this;if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");if(a*fp<y&&O>1)throw new Error("recovery id is ambiguous for h>1 curve");const C=O===2||O===3?B+a:B;if(!s.isValid(C))throw new Error("recovery id 2 or 3 invalid");const M=s.toBytes(C),L=t.fromBytes(Dr(hp((O&1)===0),M)),V=o.inv(C),q=S(Nt("msgHash",g)),W=o.create(-q*V),Z=o.create(A*V),z=t.BASE.multiplyUnsafe(W).add(L.multiplyUnsafe(Z));if(z.is0())throw new Error("point at infinify");return z.assertValidity(),z}hasHighS(){return m(this.s)}toBytes(g=w){if($u(g),g==="der")return Ia(Qn.hexFromSig(this));const y=o.toBytes(this.r),B=o.toBytes(this.s);if(g==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return Dr(Uint8Array.of(this.recovery),y,B)}return Dr(y,B)}toHex(g){return es(this.toBytes(g))}assertValidity(){}static fromCompact(g){return I.fromBytes(Nt("sig",g),"compact")}static fromDER(g){return I.fromBytes(Nt("sig",g),"der")}normalizeS(){return this.hasHighS()?new I(this.r,o.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return es(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return es(this.toBytes("compact"))}}const x=n.bits2int||function(g){if(g.length>8192)throw new Error("input is too large");const y=Oa(g),B=g.length*8-c;return B>0?y>>BigInt(B):y},S=n.bits2int_modN||function(g){return o.create(x(g))},U=Zs(c);function k(v){return kE("num < 2^"+c,v,_n,U),o.toBytes(v)}function F(v,g){return bi(v,void 0,"message"),g?bi(e(v),void 0,"prehashed message"):v}function R(v,g,y){if(["recovered","canonical"].some(W=>W in y))throw new Error("sign() legacy options not supported");const{lowS:B,prehash:A,extraEntropy:O}=el(y,p);v=F(v,A);const D=S(v),C=rs(o,g),M=[k(C),k(D)];if(O!=null&&O!==!1){const W=O===!0?r(h.secretKey):O;M.push(Nt("extraEntropy",W))}const L=Dr(...M),V=D;function q(W){const Z=x(W);if(!o.isValidNot0(Z))return;const z=o.inv(Z),N=t.BASE.multiply(Z).toAffine(),j=o.create(N.x);if(j===_n)return;const K=o.create(z*o.create(V+j*C));if(K===_n)return;let X=(N.x===j?0:2)|Number(N.y&ns),ee=K;return B&&m(K)&&(ee=o.neg(K),X^=1),new I(j,ee,X)}return{seed:L,k2sig:q}}function G(v,g,y={}){v=Nt("message",v);const{seed:B,k2sig:A}=R(v,g,y);return LE(e.outputLen,o.BYTES,i)(B,A)}function H(v){let g;const y=typeof v=="string"||va(v),B=!y&&v!==null&&typeof v=="object"&&typeof v.r=="bigint"&&typeof v.s=="bigint";if(!y&&!B)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(B)g=new I(v.r,v.s);else if(y){try{g=I.fromBytes(Nt("sig",v),"der")}catch(A){if(!(A instanceof Qn.Err))throw A}if(!g)try{g=I.fromBytes(Nt("sig",v),"compact")}catch{return!1}}return g||!1}function E(v,g,y,B={}){const{lowS:A,prehash:O,format:D}=el(B,p);if(y=Nt("publicKey",y),g=F(Nt("message",g),O),"strict"in B)throw new Error("options.strict was renamed to lowS");const C=D===void 0?H(v):I.fromBytes(Nt("sig",v),D);if(C===!1)return!1;try{const M=t.fromBytes(y);if(A&&C.hasHighS())return!1;const{r:L,s:V}=C,q=S(g),W=o.inv(V),Z=o.create(q*W),z=o.create(L*W),N=t.BASE.multiplyUnsafe(Z).add(M.multiplyUnsafe(z));return N.is0()?!1:o.create(N.x)===L}catch{return!1}}function b(v,g,y={}){const{prehash:B}=el(y,p);return g=F(g,B),I.fromBytes(v,"recovered").recoverPublicKey(g).toBytes()}return Object.freeze({keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h,Point:t,sign:G,verify:E,recoverPublicKey:b,Signature:I,hash:e})}function h8(t){const e={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp;let r=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(o=>Math.ceil(o/2)))):void 0;const i=Ys(e.n,{BITS:t.nBitLength,allowedLengths:r,modFromBytes:t.wrapPrivateKey}),s={Fp:n,Fn:i,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:e,curveOpts:s}}function d8(t){const{CURVE:e,curveOpts:n}=h8(t),r={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:e,curveOpts:n,hash:t.hash,ecdsaOpts:r}}function p8(t,e){const n=e.Point;return Object.assign({},e,{ProjectivePoint:n,CURVE:Object.assign({},t,$0(n.Fn.ORDER,n.Fn.BITS))})}function g8(t){const{CURVE:e,curveOpts:n,hash:r,ecdsaOpts:i}=d8(t),s=u8(e,n),o=f8(s,r,i);return p8(t,o)}function b8(t,e){const n=r=>g8({...t,hash:r});return{...n(e),create:n}}zu("HashToScalar-");const tl={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:BigInt(1),a:BigInt(0),b:BigInt(7),Gx:BigInt("0x79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"),Gy:BigInt("0x483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8")},w8={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),basises:[[BigInt("0x3086d221a7d46bcde86c90e49284eb15"),-BigInt("0xe4437ed6010e88286f547fa90abfe4c3")],[BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),BigInt("0x3086d221a7d46bcde86c90e49284eb15")]]},pp=BigInt(2);function y8(t){const e=tl.p,n=BigInt(3),r=BigInt(6),i=BigInt(11),s=BigInt(22),o=BigInt(23),a=BigInt(44),c=BigInt(88),u=t*t*t%e,l=u*u*t%e,f=tn(l,n,e)*l%e,d=tn(f,n,e)*l%e,h=tn(d,pp,e)*u%e,p=tn(h,i,e)*h%e,w=tn(p,s,e)*p%e,m=tn(w,a,e)*w%e,P=tn(m,c,e)*m%e,T=tn(P,a,e)*w%e,I=tn(T,n,e)*l%e,x=tn(I,o,e)*p%e,S=tn(x,r,e)*u%e,U=tn(S,pp,e);if(!nl.eql(nl.sqr(U),t))throw new Error("Cannot find square root");return U}const nl=Ys(tl.p,{sqrt:y8});b8({...tl,Fp:nl,lowS:!0,endo:w8},np);/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function is(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function rl(t,...e){if(!is(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function gp(t,e){return Array.isArray(e)?e.length===0?!0:t?e.every(n=>typeof n=="string"):e.every(n=>Number.isSafeInteger(n)):!1}function il(t){if(typeof t!="function")throw new Error("function expected");return!0}function Nr(t,e){if(typeof e!="string")throw new Error(`${t}: string expected`);return!0}function ss(t){if(!Number.isSafeInteger(t))throw new Error(`invalid integer: ${t}`)}function Da(t){if(!Array.isArray(t))throw new Error("array expected")}function Ra(t,e){if(!gp(!0,e))throw new Error(`${t}: array of strings expected`)}function sl(t,e){if(!gp(!1,e))throw new Error(`${t}: array of numbers expected`)}function Ct(...t){const e=s=>s,n=(s,o)=>a=>s(o(a)),r=t.map(s=>s.encode).reduceRight(n,e),i=t.map(s=>s.decode).reduce(n,e);return{encode:r,decode:i}}function Wt(t){const e=typeof t=="string"?t.split(""):t,n=e.length;Ra("alphabet",e);const r=new Map(e.map((i,s)=>[i,s]));return{encode:i=>(Da(i),i.map(s=>{if(!Number.isSafeInteger(s)||s<0||s>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${s}". Allowed: ${t}`);return e[s]})),decode:i=>(Da(i),i.map(s=>{Nr("alphabet.decode",s);const o=r.get(s);if(o===void 0)throw new Error(`Unknown letter: "${s}". Allowed: ${t}`);return o}))}}function Zt(t=""){return Nr("join",t),{encode:e=>(Ra("join.decode",e),e.join(t)),decode:e=>(Nr("join.decode",e),e.split(t))}}function Ta(t,e="="){return ss(t),Nr("padding",e),{encode(n){for(Ra("padding.encode",n);n.length*t%8;)n.push(e);return n},decode(n){Ra("padding.decode",n);let r=n.length;if(r*t%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;r>0&&n[r-1]===e;r--)if((r-1)*t%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,r)}}}function bp(t){return il(t),{encode:e=>e,decode:e=>t(e)}}function wp(t,e,n){if(e<2)throw new Error(`convertRadix: invalid from=${e}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(Da(t),!t.length)return[];let r=0;const i=[],s=Array.from(t,a=>{if(ss(a),a<0||a>=e)throw new Error(`invalid integer: ${a}`);return a}),o=s.length;for(;;){let a=0,c=!0;for(let u=r;u<o;u++){const l=s[u],f=e*a,d=f+l;if(!Number.isSafeInteger(d)||f/e!==a||d-l!==f)throw new Error("convertRadix: carry overflow");const h=d/n;a=d%n;const p=Math.floor(h);if(s[u]=p,!Number.isSafeInteger(p)||p*n+a!==d)throw new Error("convertRadix: carry overflow");if(c)p?c=!1:r=u;else continue}if(i.push(a),c)break}for(let a=0;a<t.length-1&&t[a]===0;a++)i.push(0);return i.reverse()}const yp=(t,e)=>e===0?t:yp(e,t%e),Na=(t,e)=>t+(e-yp(t,e)),Ua=(()=>{let t=[];for(let e=0;e<40;e++)t.push(2**e);return t})();function ol(t,e,n,r){if(Da(t),e<=0||e>32)throw new Error(`convertRadix2: wrong from=${e}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if(Na(e,n)>32)throw new Error(`convertRadix2: carry overflow from=${e} to=${n} carryBits=${Na(e,n)}`);let i=0,s=0;const o=Ua[e],a=Ua[n]-1,c=[];for(const u of t){if(ss(u),u>=o)throw new Error(`convertRadix2: invalid data word=${u} from=${e}`);if(i=i<<e|u,s+e>32)throw new Error(`convertRadix2: carry overflow pos=${s} from=${e}`);for(s+=e;s>=n;s-=n)c.push((i>>s-n&a)>>>0);const l=Ua[s];if(l===void 0)throw new Error("invalid carry");i&=l-1}if(i=i<<n-s&a,!r&&s>=e)throw new Error("Excess padding");if(!r&&i>0)throw new Error(`Non-zero padding: ${i}`);return r&&s>0&&c.push(i>>>0),c}function m8(t){ss(t);const e=2**8;return{encode:n=>{if(!is(n))throw new Error("radix.encode input should be Uint8Array");return wp(Array.from(n),e,t)},decode:n=>(sl("radix.decode",n),Uint8Array.from(wp(n,t,e)))}}function nn(t,e=!1){if(ss(t),t<=0||t>32)throw new Error("radix2: bits should be in (0..32]");if(Na(8,t)>32||Na(t,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!is(n))throw new Error("radix2.encode input should be Uint8Array");return ol(Array.from(n),8,t,!e)},decode:n=>(sl("radix2.decode",n),Uint8Array.from(ol(n,t,8,e)))}}function mp(t){return il(t),function(...e){try{return t.apply(null,e)}catch{}}}function v8(t,e){return ss(t),il(e),{encode(n){if(!is(n))throw new Error("checksum.encode: input should be Uint8Array");const r=e(n).slice(0,t),i=new Uint8Array(n.length+t);return i.set(n),i.set(r,n.length),i},decode(n){if(!is(n))throw new Error("checksum.decode: input should be Uint8Array");const r=n.slice(0,-t),i=n.slice(-t),s=e(r).slice(0,t);for(let o=0;o<t;o++)if(s[o]!==i[o])throw new Error("Invalid checksum");return r}}}const E8=Ct(nn(5),Wt("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),Ta(5),Zt("")),vp=typeof Uint8Array.from([]).toBase64=="function"&&typeof Uint8Array.fromBase64=="function",Ep=(t,e)=>{Nr("base64",t);const n=e?/^[A-Za-z0-9=_-]+$/:/^[A-Za-z0-9=+/]+$/,r=e?"base64url":"base64";if(t.length>0&&!n.test(t))throw new Error("invalid base64");return Uint8Array.fromBase64(t,{alphabet:r,lastChunkHandling:"strict"})},al=t=>Ct(m8(58),Wt(t),Zt("")),os=al("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),x8=t=>Ct(v8(4,e=>t(t(e))),os),cl=Ct(Wt("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),Zt("")),xp=[996825010,642813549,513874426,1027748829,705979059];function Xs(t){const e=t>>25;let n=(t&33554431)<<5;for(let r=0;r<xp.length;r++)(e>>r&1)===1&&(n^=xp[r]);return n}function Ip(t,e,n=1){const r=t.length;let i=1;for(let s=0;s<r;s++){const o=t.charCodeAt(s);if(o<33||o>126)throw new Error(`Invalid prefix (${t})`);i=Xs(i)^o>>5}i=Xs(i);for(let s=0;s<r;s++)i=Xs(i)^t.charCodeAt(s)&31;for(let s of e)i=Xs(i)^s;for(let s=0;s<6;s++)i=Xs(i);return i^=n,cl.encode(ol([i%Ua[30]],30,5,!1))}function Sp(t){const e=t==="bech32"?1:734539939,n=nn(5),r=n.decode,i=n.encode,s=mp(r);function o(f,d,h=90){Nr("bech32.encode prefix",f),is(d)&&(d=Array.from(d)),sl("bech32.encode",d);const p=f.length;if(p===0)throw new TypeError(`Invalid prefix length ${p}`);const w=p+7+d.length;if(h!==!1&&w>h)throw new TypeError(`Length ${w} exceeds limit ${h}`);const m=f.toLowerCase(),P=Ip(m,d,e);return`${m}1${cl.encode(d)}${P}`}function a(f,d=90){Nr("bech32.decode input",f);const h=f.length;if(h<8||d!==!1&&h>d)throw new TypeError(`invalid string length: ${h} (${f}). Expected (8..${d})`);const p=f.toLowerCase();if(f!==p&&f!==f.toUpperCase())throw new Error("String must be lowercase or uppercase");const w=p.lastIndexOf("1");if(w===0||w===-1)throw new Error('Letter "1" must be present between prefix and data only');const m=p.slice(0,w),P=p.slice(w+1);if(P.length<6)throw new Error("Data must be at least 6 characters long");const T=cl.decode(P).slice(0,-6),I=Ip(m,T,e);if(!P.endsWith(I))throw new Error(`Invalid checksum in ${f}: expected "${I}"`);return{prefix:m,words:T}}const c=mp(a);function u(f){const{prefix:d,words:h}=a(f,!1);return{prefix:d,words:h,bytes:r(h)}}function l(f,d){return o(f,i(d))}return{encode:o,decode:a,encodeFromBytes:l,decodeToBytes:u,decodeUnsafe:c,fromWords:r,fromWordsUnsafe:s,toWords:i}}const I8=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",S8={encode(t){return rl(t),t.toHex()},decode(t){return Nr("hex",t),Uint8Array.fromHex(t)}};x8(np),zu("Bitcoin seed");function B8(t){return Lv(O8(t))}function O8(t){const{payload:e,signature:n}=t,{r,s:i,yParity:s}=n,a=new gE.Signature(BigInt(r),BigInt(i)).addRecoveryBit(s).recoverPublicKey(yu(e).substring(2));return Dv(a)}/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */function Bp(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Ca(t,...e){if(!Bp(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Fa(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Op(t,e){Ca(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function Js(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function ul(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function A8(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function P8(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function Qs(t){if(typeof t=="string")t=P8(t);else if(Bp(t))t=Ap(t);else throw new Error("Uint8Array expected, got "+typeof t);return t}function Ap(t){return Uint8Array.from(t)}const $n=16,ll=new Uint8Array(16),Dn=Js(ll),D8=225,R8=(t,e,n,r)=>{const i=r&1;return{s3:n<<31|r>>>1,s2:e<<31|n>>>1,s1:t<<31|e>>>1,s0:t>>>1^D8<<24&-(i&1)}},rn=t=>(t>>>0&255)<<24|(t>>>8&255)<<16|(t>>>16&255)<<8|t>>>24&255|0;function T8(t){t.reverse();const e=t[15]&1;let n=0;for(let r=0;r<t.length;r++){const i=t[r];t[r]=i>>>1|n,n=(i&1)<<7}return t[0]^=-e&225,t}const N8=t=>t>64*1024?8:t>1024?4:2;class Pp{constructor(e,n){this.blockLen=$n,this.outputLen=$n,this.s0=0,this.s1=0,this.s2=0,this.s3=0,this.finished=!1,e=Qs(e),Ca(e,16);const r=A8(e);let i=r.getUint32(0,!1),s=r.getUint32(4,!1),o=r.getUint32(8,!1),a=r.getUint32(12,!1);const c=[];for(let p=0;p<128;p++)c.push({s0:rn(i),s1:rn(s),s2:rn(o),s3:rn(a)}),{s0:i,s1:s,s2:o,s3:a}=R8(i,s,o,a);const u=N8(n||1024);if(![1,2,4,8].includes(u))throw new Error("ghash: invalid window size, expected 2, 4 or 8");this.W=u;const f=128/u,d=this.windowSize=2**u,h=[];for(let p=0;p<f;p++)for(let w=0;w<d;w++){let m=0,P=0,T=0,I=0;for(let x=0;x<u;x++){if(!(w>>>u-x-1&1))continue;const{s0:U,s1:k,s2:F,s3:R}=c[u*p+x];m^=U,P^=k,T^=F,I^=R}h.push({s0:m,s1:P,s2:T,s3:I})}this.t=h}_updateBlock(e,n,r,i){e^=this.s0,n^=this.s1,r^=this.s2,i^=this.s3;const{W:s,t:o,windowSize:a}=this;let c=0,u=0,l=0,f=0;const d=(1<<s)-1;let h=0;for(const p of[e,n,r,i])for(let w=0;w<4;w++){const m=p>>>8*w&255;for(let P=8/s-1;P>=0;P--){const T=m>>>s*P&d,{s0:I,s1:x,s2:S,s3:U}=o[h*a+T];c^=I,u^=x,l^=S,f^=U,h+=1}}this.s0=c,this.s1=u,this.s2=l,this.s3=f}update(e){Fa(this),e=Qs(e),Ca(e);const n=Js(e),r=Math.floor(e.length/$n),i=e.length%$n;for(let s=0;s<r;s++)this._updateBlock(n[s*4+0],n[s*4+1],n[s*4+2],n[s*4+3]);return i&&(ll.set(e.subarray(r*$n)),this._updateBlock(Dn[0],Dn[1],Dn[2],Dn[3]),ul(Dn)),this}destroy(){const{t:e}=this;for(const n of e)n.s0=0,n.s1=0,n.s2=0,n.s3=0}digestInto(e){Fa(this),Op(e,this),this.finished=!0;const{s0:n,s1:r,s2:i,s3:s}=this,o=Js(e);return o[0]=n,o[1]=r,o[2]=i,o[3]=s,e}digest(){const e=new Uint8Array($n);return this.digestInto(e),this.destroy(),e}}class U8 extends Pp{constructor(e,n){e=Qs(e),Ca(e);const r=T8(Ap(e));super(r,n),ul(r)}update(e){e=Qs(e),Fa(this);const n=Js(e),r=e.length%$n,i=Math.floor(e.length/$n);for(let s=0;s<i;s++)this._updateBlock(rn(n[s*4+3]),rn(n[s*4+2]),rn(n[s*4+1]),rn(n[s*4+0]));return r&&(ll.set(e.subarray(i*$n)),this._updateBlock(rn(Dn[3]),rn(Dn[2]),rn(Dn[1]),rn(Dn[0])),ul(Dn)),this}digestInto(e){Fa(this),Op(e,this),this.finished=!0;const{s0:n,s1:r,s2:i,s3:s}=this,o=Js(e);return o[0]=n,o[1]=r,o[2]=i,o[3]=s,e.reverse()}}function Dp(t){const e=(r,i)=>t(i,r.length).update(Qs(r)).digest(),n=t(new Uint8Array(16),0);return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=(r,i)=>t(r,i),e}Dp((t,e)=>new Pp(t,e)),Dp((t,e)=>new U8(t,e));const Rp=Br(BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff")),C8=Rp.create(BigInt("-3")),F8=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b");pa({a:C8,b:F8,Fp:Rp,n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"),h:BigInt(1),lowS:!1},sa);const Tp=Br(BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff")),q8=Tp.create(BigInt("-3")),k8=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");pa({a:q8,b:k8,Fp:Tp,n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f"),h:BigInt(1),lowS:!1},$3);const Np=Br(BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")),L8=Np.create(BigInt("-3")),M8=BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00");pa({a:L8,b:M8,Fp:Np,n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650"),h:BigInt(1),lowS:!1,allowedPrivateKeyLengths:[130,131,132]},_3);var j8={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(c,u,l){this.fn=c,this.context=u,this.once=l||!1}function s(c,u,l,f,d){if(typeof l!="function")throw new TypeError("The listener must be a function");var h=new i(l,f||c,d),p=n?n+u:u;return c._events[p]?c._events[p].fn?c._events[p]=[c._events[p],h]:c._events[p].push(h):(c._events[p]=h,c._eventsCount++),c}function o(c,u){--c._eventsCount===0?c._events=new r:delete c._events[u]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var u=[],l,f;if(this._eventsCount===0)return u;for(f in l=this._events)e.call(l,f)&&u.push(n?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(l)):u},a.prototype.listeners=function(u){var l=n?n+u:u,f=this._events[l];if(!f)return[];if(f.fn)return[f.fn];for(var d=0,h=f.length,p=new Array(h);d<h;d++)p[d]=f[d].fn;return p},a.prototype.listenerCount=function(u){var l=n?n+u:u,f=this._events[l];return f?f.fn?1:f.length:0},a.prototype.emit=function(u,l,f,d,h,p){var w=n?n+u:u;if(!this._events[w])return!1;var m=this._events[w],P=arguments.length,T,I;if(m.fn){switch(m.once&&this.removeListener(u,m.fn,void 0,!0),P){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,l),!0;case 3:return m.fn.call(m.context,l,f),!0;case 4:return m.fn.call(m.context,l,f,d),!0;case 5:return m.fn.call(m.context,l,f,d,h),!0;case 6:return m.fn.call(m.context,l,f,d,h,p),!0}for(I=1,T=new Array(P-1);I<P;I++)T[I-1]=arguments[I];m.fn.apply(m.context,T)}else{var x=m.length,S;for(I=0;I<x;I++)switch(m[I].once&&this.removeListener(u,m[I].fn,void 0,!0),P){case 1:m[I].fn.call(m[I].context);break;case 2:m[I].fn.call(m[I].context,l);break;case 3:m[I].fn.call(m[I].context,l,f);break;case 4:m[I].fn.call(m[I].context,l,f,d);break;default:if(!T)for(S=1,T=new Array(P-1);S<P;S++)T[S-1]=arguments[S];m[I].fn.apply(m[I].context,T)}}return!0},a.prototype.on=function(u,l,f){return s(this,u,l,f,!1)},a.prototype.once=function(u,l,f){return s(this,u,l,f,!0)},a.prototype.removeListener=function(u,l,f,d){var h=n?n+u:u;if(!this._events[h])return this;if(!l)return o(this,h),this;var p=this._events[h];if(p.fn)p.fn===l&&(!d||p.once)&&(!f||p.context===f)&&o(this,h);else{for(var w=0,m=[],P=p.length;w<P;w++)(p[w].fn!==l||d&&!p[w].once||f&&p[w].context!==f)&&m.push(p[w]);m.length?this._events[h]=m.length===1?m[0]:m:o(this,h)}return this},a.prototype.removeAllListeners=function(u){var l;return u?(l=n?n+u:u,this._events[l]&&o(this,l)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,t.exports=a})(j8);function z8(t){const e=t.length;let n=0,r=0;for(;r<e;){let i=t.charCodeAt(r++);if((i&4294967168)===0){n++;continue}else if((i&4294965248)===0)n+=2;else{if(i>=55296&&i<=56319&&r<e){const s=t.charCodeAt(r);(s&64512)===56320&&(++r,i=((i&1023)<<10)+(s&1023)+65536)}(i&4294901760)===0?n+=3:n+=4}}return n}function K8(t,e,n){const r=t.length;let i=n,s=0;for(;s<r;){let o=t.charCodeAt(s++);if((o&4294967168)===0){e[i++]=o;continue}else if((o&4294965248)===0)e[i++]=o>>6&31|192;else{if(o>=55296&&o<=56319&&s<r){const a=t.charCodeAt(s);(a&64512)===56320&&(++s,o=((o&1023)<<10)+(a&1023)+65536)}(o&4294901760)===0?(e[i++]=o>>12&15|224,e[i++]=o>>6&63|128):(e[i++]=o>>18&7|240,e[i++]=o>>12&63|128,e[i++]=o>>6&63|128)}e[i++]=o&63|128}}const V8=new TextEncoder,H8=50;function G8(t,e,n){V8.encodeInto(t,e.subarray(n))}function W8(t,e,n){t.length>H8?G8(t,e,n):K8(t,e,n)}const Z8=4096;function Up(t,e,n){let r=e;const i=r+n,s=[];let o="";for(;r<i;){const a=t[r++];if((a&128)===0)s.push(a);else if((a&224)===192){const c=t[r++]&63;s.push((a&31)<<6|c)}else if((a&240)===224){const c=t[r++]&63,u=t[r++]&63;s.push((a&31)<<12|c<<6|u)}else if((a&248)===240){const c=t[r++]&63,u=t[r++]&63,l=t[r++]&63;let f=(a&7)<<18|c<<12|u<<6|l;f>65535&&(f-=65536,s.push(f>>>10&1023|55296),f=56320|f&1023),s.push(f)}else s.push(a);s.length>=Z8&&(o+=String.fromCharCode(...s),s.length=0)}return s.length>0&&(o+=String.fromCharCode(...s)),o}const Y8=new TextDecoder,X8=200;function J8(t,e,n){const r=t.subarray(e,e+n);return Y8.decode(r)}function Q8(t,e,n){return n>X8?J8(t,e,n):Up(t,e,n)}class qa{type;data;constructor(e,n){this.type=e,this.data=n}}class Yt extends Error{constructor(e){super(e);const n=Object.create(Yt.prototype);Object.setPrototypeOf(this,n),Object.defineProperty(this,"name",{configurable:!0,enumerable:!1,value:Yt.name})}}const _s=4294967295;function _8(t,e,n){const r=n/4294967296,i=n;t.setUint32(e,r),t.setUint32(e+4,i)}function Cp(t,e,n){const r=Math.floor(n/4294967296),i=n;t.setUint32(e,r),t.setUint32(e+4,i)}function Fp(t,e){const n=t.getInt32(e),r=t.getUint32(e+4);return n*4294967296+r}function $8(t,e){const n=t.getUint32(e),r=t.getUint32(e+4);return n*4294967296+r}const e6=-1,t6=4294967296-1,n6=17179869184-1;function r6({sec:t,nsec:e}){if(t>=0&&e>=0&&t<=n6)if(e===0&&t<=t6){const n=new Uint8Array(4);return new DataView(n.buffer).setUint32(0,t),n}else{const n=t/4294967296,r=t&4294967295,i=new Uint8Array(8),s=new DataView(i.buffer);return s.setUint32(0,e<<2|n&3),s.setUint32(4,r),i}else{const n=new Uint8Array(12),r=new DataView(n.buffer);return r.setUint32(0,e),Cp(r,4,t),n}}function i6(t){const e=t.getTime(),n=Math.floor(e/1e3),r=(e-n*1e3)*1e6,i=Math.floor(r/1e9);return{sec:n+i,nsec:r-i*1e9}}function s6(t){if(t instanceof Date){const e=i6(t);return r6(e)}else return null}function o6(t){const e=new DataView(t.buffer,t.byteOffset,t.byteLength);switch(t.byteLength){case 4:return{sec:e.getUint32(0),nsec:0};case 8:{const n=e.getUint32(0),r=e.getUint32(4),i=(n&3)*4294967296+r,s=n>>>2;return{sec:i,nsec:s}}case 12:{const n=Fp(e,4),r=e.getUint32(0);return{sec:n,nsec:r}}default:throw new Yt(`Unrecognized data size for timestamp (expected 4, 8, or 12): ${t.length}`)}}function a6(t){const e=o6(t);return new Date(e.sec*1e3+e.nsec/1e6)}const c6={type:e6,encode:s6,decode:a6};class ka{static defaultCodec=new ka;__brand;builtInEncoders=[];builtInDecoders=[];encoders=[];decoders=[];constructor(){this.register(c6)}register({type:e,encode:n,decode:r}){if(e>=0)this.encoders[e]=n,this.decoders[e]=r;else{const i=-1-e;this.builtInEncoders[i]=n,this.builtInDecoders[i]=r}}tryToEncode(e,n){for(let r=0;r<this.builtInEncoders.length;r++){const i=this.builtInEncoders[r];if(i!=null){const s=i(e,n);if(s!=null){const o=-1-r;return new qa(o,s)}}}for(let r=0;r<this.encoders.length;r++){const i=this.encoders[r];if(i!=null){const s=i(e,n);if(s!=null){const o=r;return new qa(o,s)}}}return e instanceof qa?e:null}decode(e,n,r){const i=n<0?this.builtInDecoders[-1-n]:this.decoders[n];return i?i(e,n,r):new qa(n,e)}}function u6(t){return t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer}function fl(t){return t instanceof Uint8Array?t:ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):u6(t)?new Uint8Array(t):Uint8Array.from(t)}const l6=100,f6=2048;class hl{extensionCodec;context;useBigInt64;maxDepth;initialBufferSize;sortKeys;forceFloat32;ignoreUndefined;forceIntegerToFloat;pos;view;bytes;entered=!1;constructor(e){this.extensionCodec=e?.extensionCodec??ka.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.maxDepth=e?.maxDepth??l6,this.initialBufferSize=e?.initialBufferSize??f6,this.sortKeys=e?.sortKeys??!1,this.forceFloat32=e?.forceFloat32??!1,this.ignoreUndefined=e?.ignoreUndefined??!1,this.forceIntegerToFloat=e?.forceIntegerToFloat??!1,this.pos=0,this.view=new DataView(new ArrayBuffer(this.initialBufferSize)),this.bytes=new Uint8Array(this.view.buffer)}clone(){return new hl({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,maxDepth:this.maxDepth,initialBufferSize:this.initialBufferSize,sortKeys:this.sortKeys,forceFloat32:this.forceFloat32,ignoreUndefined:this.ignoreUndefined,forceIntegerToFloat:this.forceIntegerToFloat})}reinitializeState(){this.pos=0}encodeSharedRef(e){if(this.entered)return this.clone().encodeSharedRef(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.subarray(0,this.pos)}finally{this.entered=!1}}encode(e){if(this.entered)return this.clone().encode(e);try{return this.entered=!0,this.reinitializeState(),this.doEncode(e,1),this.bytes.slice(0,this.pos)}finally{this.entered=!1}}doEncode(e,n){if(n>this.maxDepth)throw new Error(`Too deep objects in depth ${n}`);e==null?this.encodeNil():typeof e=="boolean"?this.encodeBoolean(e):typeof e=="number"?this.forceIntegerToFloat?this.encodeNumberAsFloat(e):this.encodeNumber(e):typeof e=="string"?this.encodeString(e):this.useBigInt64&&typeof e=="bigint"?this.encodeBigInt64(e):this.encodeObject(e,n)}ensureBufferSizeToWrite(e){const n=this.pos+e;this.view.byteLength<n&&this.resizeBuffer(n*2)}resizeBuffer(e){const n=new ArrayBuffer(e),r=new Uint8Array(n),i=new DataView(n);r.set(this.bytes),this.view=i,this.bytes=r}encodeNil(){this.writeU8(192)}encodeBoolean(e){e===!1?this.writeU8(194):this.writeU8(195)}encodeNumber(e){!this.forceIntegerToFloat&&Number.isSafeInteger(e)?e>=0?e<128?this.writeU8(e):e<256?(this.writeU8(204),this.writeU8(e)):e<65536?(this.writeU8(205),this.writeU16(e)):e<4294967296?(this.writeU8(206),this.writeU32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(207),this.writeU64(e)):e>=-32?this.writeU8(224|e+32):e>=-128?(this.writeU8(208),this.writeI8(e)):e>=-32768?(this.writeU8(209),this.writeI16(e)):e>=-2147483648?(this.writeU8(210),this.writeI32(e)):this.useBigInt64?this.encodeNumberAsFloat(e):(this.writeU8(211),this.writeI64(e)):this.encodeNumberAsFloat(e)}encodeNumberAsFloat(e){this.forceFloat32?(this.writeU8(202),this.writeF32(e)):(this.writeU8(203),this.writeF64(e))}encodeBigInt64(e){e>=BigInt(0)?(this.writeU8(207),this.writeBigUint64(e)):(this.writeU8(211),this.writeBigInt64(e))}writeStringHeader(e){if(e<32)this.writeU8(160+e);else if(e<256)this.writeU8(217),this.writeU8(e);else if(e<65536)this.writeU8(218),this.writeU16(e);else if(e<4294967296)this.writeU8(219),this.writeU32(e);else throw new Error(`Too long string: ${e} bytes in UTF-8`)}encodeString(e){const r=z8(e);this.ensureBufferSizeToWrite(5+r),this.writeStringHeader(r),W8(e,this.bytes,this.pos),this.pos+=r}encodeObject(e,n){const r=this.extensionCodec.tryToEncode(e,this.context);if(r!=null)this.encodeExtension(r);else if(Array.isArray(e))this.encodeArray(e,n);else if(ArrayBuffer.isView(e))this.encodeBinary(e);else if(typeof e=="object")this.encodeMap(e,n);else throw new Error(`Unrecognized object: ${Object.prototype.toString.apply(e)}`)}encodeBinary(e){const n=e.byteLength;if(n<256)this.writeU8(196),this.writeU8(n);else if(n<65536)this.writeU8(197),this.writeU16(n);else if(n<4294967296)this.writeU8(198),this.writeU32(n);else throw new Error(`Too large binary: ${n}`);const r=fl(e);this.writeU8a(r)}encodeArray(e,n){const r=e.length;if(r<16)this.writeU8(144+r);else if(r<65536)this.writeU8(220),this.writeU16(r);else if(r<4294967296)this.writeU8(221),this.writeU32(r);else throw new Error(`Too large array: ${r}`);for(const i of e)this.doEncode(i,n+1)}countWithoutUndefined(e,n){let r=0;for(const i of n)e[i]!==void 0&&r++;return r}encodeMap(e,n){const r=Object.keys(e);this.sortKeys&&r.sort();const i=this.ignoreUndefined?this.countWithoutUndefined(e,r):r.length;if(i<16)this.writeU8(128+i);else if(i<65536)this.writeU8(222),this.writeU16(i);else if(i<4294967296)this.writeU8(223),this.writeU32(i);else throw new Error(`Too large map object: ${i}`);for(const s of r){const o=e[s];this.ignoreUndefined&&o===void 0||(this.encodeString(s),this.doEncode(o,n+1))}}encodeExtension(e){if(typeof e.data=="function"){const r=e.data(this.pos+6),i=r.length;if(i>=4294967296)throw new Error(`Too large extension object: ${i}`);this.writeU8(201),this.writeU32(i),this.writeI8(e.type),this.writeU8a(r);return}const n=e.data.length;if(n===1)this.writeU8(212);else if(n===2)this.writeU8(213);else if(n===4)this.writeU8(214);else if(n===8)this.writeU8(215);else if(n===16)this.writeU8(216);else if(n<256)this.writeU8(199),this.writeU8(n);else if(n<65536)this.writeU8(200),this.writeU16(n);else if(n<4294967296)this.writeU8(201),this.writeU32(n);else throw new Error(`Too large extension object: ${n}`);this.writeI8(e.type),this.writeU8a(e.data)}writeU8(e){this.ensureBufferSizeToWrite(1),this.view.setUint8(this.pos,e),this.pos++}writeU8a(e){const n=e.length;this.ensureBufferSizeToWrite(n),this.bytes.set(e,this.pos),this.pos+=n}writeI8(e){this.ensureBufferSizeToWrite(1),this.view.setInt8(this.pos,e),this.pos++}writeU16(e){this.ensureBufferSizeToWrite(2),this.view.setUint16(this.pos,e),this.pos+=2}writeI16(e){this.ensureBufferSizeToWrite(2),this.view.setInt16(this.pos,e),this.pos+=2}writeU32(e){this.ensureBufferSizeToWrite(4),this.view.setUint32(this.pos,e),this.pos+=4}writeI32(e){this.ensureBufferSizeToWrite(4),this.view.setInt32(this.pos,e),this.pos+=4}writeF32(e){this.ensureBufferSizeToWrite(4),this.view.setFloat32(this.pos,e),this.pos+=4}writeF64(e){this.ensureBufferSizeToWrite(8),this.view.setFloat64(this.pos,e),this.pos+=8}writeU64(e){this.ensureBufferSizeToWrite(8),_8(this.view,this.pos,e),this.pos+=8}writeI64(e){this.ensureBufferSizeToWrite(8),Cp(this.view,this.pos,e),this.pos+=8}writeBigUint64(e){this.ensureBufferSizeToWrite(8),this.view.setBigUint64(this.pos,e),this.pos+=8}writeBigInt64(e){this.ensureBufferSizeToWrite(8),this.view.setBigInt64(this.pos,e),this.pos+=8}}function h6(t,e){return new hl(e).encodeSharedRef(t)}function dl(t){return`${t<0?"-":""}0x${Math.abs(t).toString(16).padStart(2,"0")}`}const d6=16,p6=16;class g6{hit=0;miss=0;caches;maxKeyLength;maxLengthPerKey;constructor(e=d6,n=p6){this.maxKeyLength=e,this.maxLengthPerKey=n,this.caches=[];for(let r=0;r<this.maxKeyLength;r++)this.caches.push([])}canBeCached(e){return e>0&&e<=this.maxKeyLength}find(e,n,r){const i=this.caches[r-1];e:for(const s of i){const o=s.bytes;for(let a=0;a<r;a++)if(o[a]!==e[n+a])continue e;return s.str}return null}store(e,n){const r=this.caches[e.length-1],i={bytes:e,str:n};r.length>=this.maxLengthPerKey?r[Math.random()*r.length|0]=i:r.push(i)}decode(e,n,r){const i=this.find(e,n,r);if(i!=null)return this.hit++,i;this.miss++;const s=Up(e,n,r),o=Uint8Array.prototype.slice.call(e,n,n+r);return this.store(o,s),s}}const pl="array",$s="map_key",qp="map_value",b6=t=>{if(typeof t=="string"||typeof t=="number")return t;throw new Yt("The type of key must be string or number but "+typeof t)};class w6{stack=[];stackHeadPosition=-1;get length(){return this.stackHeadPosition+1}top(){return this.stack[this.stackHeadPosition]}pushArrayState(e){const n=this.getUninitializedStateFromPool();n.type=pl,n.position=0,n.size=e,n.array=new Array(e)}pushMapState(e){const n=this.getUninitializedStateFromPool();n.type=$s,n.readCount=0,n.size=e,n.map={}}getUninitializedStateFromPool(){if(this.stackHeadPosition++,this.stackHeadPosition===this.stack.length){const e={type:void 0,size:0,array:void 0,position:0,readCount:0,map:void 0,key:null};this.stack.push(e)}return this.stack[this.stackHeadPosition]}release(e){if(this.stack[this.stackHeadPosition]!==e)throw new Error("Invalid stack state. Released state is not on top of the stack.");if(e.type===pl){const r=e;r.size=0,r.array=void 0,r.position=0,r.type=void 0}if(e.type===$s||e.type===qp){const r=e;r.size=0,r.map=void 0,r.readCount=0,r.type=void 0}this.stackHeadPosition--}reset(){this.stack.length=0,this.stackHeadPosition=-1}}const eo=-1,gl=new DataView(new ArrayBuffer(0)),y6=new Uint8Array(gl.buffer);try{gl.getInt8(0)}catch(t){if(!(t instanceof RangeError))throw new Error("This module is not supported in the current JavaScript engine because DataView does not throw RangeError on out-of-bounds access")}const kp=new RangeError("Insufficient data"),m6=new g6;class bl{extensionCodec;context;useBigInt64;rawStrings;maxStrLength;maxBinLength;maxArrayLength;maxMapLength;maxExtLength;keyDecoder;mapKeyConverter;totalPos=0;pos=0;view=gl;bytes=y6;headByte=eo;stack=new w6;entered=!1;constructor(e){this.extensionCodec=e?.extensionCodec??ka.defaultCodec,this.context=e?.context,this.useBigInt64=e?.useBigInt64??!1,this.rawStrings=e?.rawStrings??!1,this.maxStrLength=e?.maxStrLength??_s,this.maxBinLength=e?.maxBinLength??_s,this.maxArrayLength=e?.maxArrayLength??_s,this.maxMapLength=e?.maxMapLength??_s,this.maxExtLength=e?.maxExtLength??_s,this.keyDecoder=e?.keyDecoder!==void 0?e.keyDecoder:m6,this.mapKeyConverter=e?.mapKeyConverter??b6}clone(){return new bl({extensionCodec:this.extensionCodec,context:this.context,useBigInt64:this.useBigInt64,rawStrings:this.rawStrings,maxStrLength:this.maxStrLength,maxBinLength:this.maxBinLength,maxArrayLength:this.maxArrayLength,maxMapLength:this.maxMapLength,maxExtLength:this.maxExtLength,keyDecoder:this.keyDecoder})}reinitializeState(){this.totalPos=0,this.headByte=eo,this.stack.reset()}setBuffer(e){const n=fl(e);this.bytes=n,this.view=new DataView(n.buffer,n.byteOffset,n.byteLength),this.pos=0}appendBuffer(e){if(this.headByte===eo&&!this.hasRemaining(1))this.setBuffer(e);else{const n=this.bytes.subarray(this.pos),r=fl(e),i=new Uint8Array(n.length+r.length);i.set(n),i.set(r,n.length),this.setBuffer(i)}}hasRemaining(e){return this.view.byteLength-this.pos>=e}createExtraByteError(e){const{view:n,pos:r}=this;return new RangeError(`Extra ${n.byteLength-r} of ${n.byteLength} byte(s) found at buffer[${e}]`)}decode(e){if(this.entered)return this.clone().decode(e);try{this.entered=!0,this.reinitializeState(),this.setBuffer(e);const n=this.doDecodeSync();if(this.hasRemaining(1))throw this.createExtraByteError(this.pos);return n}finally{this.entered=!1}}*decodeMulti(e){if(this.entered){yield*this.clone().decodeMulti(e);return}try{for(this.entered=!0,this.reinitializeState(),this.setBuffer(e);this.hasRemaining(1);)yield this.doDecodeSync()}finally{this.entered=!1}}async decodeAsync(e){if(this.entered)return this.clone().decodeAsync(e);try{this.entered=!0;let n=!1,r;for await(const a of e){if(n)throw this.entered=!1,this.createExtraByteError(this.totalPos);this.appendBuffer(a);try{r=this.doDecodeSync(),n=!0}catch(c){if(!(c instanceof RangeError))throw c}this.totalPos+=this.pos}if(n){if(this.hasRemaining(1))throw this.createExtraByteError(this.totalPos);return r}const{headByte:i,pos:s,totalPos:o}=this;throw new RangeError(`Insufficient data in parsing ${dl(i)} at ${o} (${s} in the current buffer)`)}finally{this.entered=!1}}decodeArrayStream(e){return this.decodeMultiAsync(e,!0)}decodeStream(e){return this.decodeMultiAsync(e,!1)}async*decodeMultiAsync(e,n){if(this.entered){yield*this.clone().decodeMultiAsync(e,n);return}try{this.entered=!0;let r=n,i=-1;for await(const s of e){if(n&&i===0)throw this.createExtraByteError(this.totalPos);this.appendBuffer(s),r&&(i=this.readArraySize(),r=!1,this.complete());try{for(;yield this.doDecodeSync(),--i!==0;);}catch(o){if(!(o instanceof RangeError))throw o}this.totalPos+=this.pos}}finally{this.entered=!1}}doDecodeSync(){e:for(;;){const e=this.readHeadByte();let n;if(e>=224)n=e-256;else if(e<192)if(e<128)n=e;else if(e<144){const i=e-128;if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e<160){const i=e-144;if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else{const i=e-160;n=this.decodeString(i,0)}else if(e===192)n=null;else if(e===194)n=!1;else if(e===195)n=!0;else if(e===202)n=this.readF32();else if(e===203)n=this.readF64();else if(e===204)n=this.readU8();else if(e===205)n=this.readU16();else if(e===206)n=this.readU32();else if(e===207)this.useBigInt64?n=this.readU64AsBigInt():n=this.readU64();else if(e===208)n=this.readI8();else if(e===209)n=this.readI16();else if(e===210)n=this.readI32();else if(e===211)this.useBigInt64?n=this.readI64AsBigInt():n=this.readI64();else if(e===217){const i=this.lookU8();n=this.decodeString(i,1)}else if(e===218){const i=this.lookU16();n=this.decodeString(i,2)}else if(e===219){const i=this.lookU32();n=this.decodeString(i,4)}else if(e===220){const i=this.readU16();if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else if(e===221){const i=this.readU32();if(i!==0){this.pushArrayState(i),this.complete();continue e}else n=[]}else if(e===222){const i=this.readU16();if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e===223){const i=this.readU32();if(i!==0){this.pushMapState(i),this.complete();continue e}else n={}}else if(e===196){const i=this.lookU8();n=this.decodeBinary(i,1)}else if(e===197){const i=this.lookU16();n=this.decodeBinary(i,2)}else if(e===198){const i=this.lookU32();n=this.decodeBinary(i,4)}else if(e===212)n=this.decodeExtension(1,0);else if(e===213)n=this.decodeExtension(2,0);else if(e===214)n=this.decodeExtension(4,0);else if(e===215)n=this.decodeExtension(8,0);else if(e===216)n=this.decodeExtension(16,0);else if(e===199){const i=this.lookU8();n=this.decodeExtension(i,1)}else if(e===200){const i=this.lookU16();n=this.decodeExtension(i,2)}else if(e===201){const i=this.lookU32();n=this.decodeExtension(i,4)}else throw new Yt(`Unrecognized type byte: ${dl(e)}`);this.complete();const r=this.stack;for(;r.length>0;){const i=r.top();if(i.type===pl)if(i.array[i.position]=n,i.position++,i.position===i.size)n=i.array,r.release(i);else continue e;else if(i.type===$s){if(n==="__proto__")throw new Yt("The key __proto__ is not allowed");i.key=this.mapKeyConverter(n),i.type=qp;continue e}else if(i.map[i.key]=n,i.readCount++,i.readCount===i.size)n=i.map,r.release(i);else{i.key=null,i.type=$s;continue e}}return n}}readHeadByte(){return this.headByte===eo&&(this.headByte=this.readU8()),this.headByte}complete(){this.headByte=eo}readArraySize(){const e=this.readHeadByte();switch(e){case 220:return this.readU16();case 221:return this.readU32();default:{if(e<160)return e-144;throw new Yt(`Unrecognized array type byte: ${dl(e)}`)}}}pushMapState(e){if(e>this.maxMapLength)throw new Yt(`Max length exceeded: map length (${e}) > maxMapLengthLength (${this.maxMapLength})`);this.stack.pushMapState(e)}pushArrayState(e){if(e>this.maxArrayLength)throw new Yt(`Max length exceeded: array length (${e}) > maxArrayLength (${this.maxArrayLength})`);this.stack.pushArrayState(e)}decodeString(e,n){return!this.rawStrings||this.stateIsMapKey()?this.decodeUtf8String(e,n):this.decodeBinary(e,n)}decodeUtf8String(e,n){if(e>this.maxStrLength)throw new Yt(`Max length exceeded: UTF-8 byte length (${e}) > maxStrLength (${this.maxStrLength})`);if(this.bytes.byteLength<this.pos+n+e)throw kp;const r=this.pos+n;let i;return this.stateIsMapKey()&&this.keyDecoder?.canBeCached(e)?i=this.keyDecoder.decode(this.bytes,r,e):i=Q8(this.bytes,r,e),this.pos+=n+e,i}stateIsMapKey(){return this.stack.length>0?this.stack.top().type===$s:!1}decodeBinary(e,n){if(e>this.maxBinLength)throw new Yt(`Max length exceeded: bin length (${e}) > maxBinLength (${this.maxBinLength})`);if(!this.hasRemaining(e+n))throw kp;const r=this.pos+n,i=this.bytes.subarray(r,r+e);return this.pos+=n+e,i}decodeExtension(e,n){if(e>this.maxExtLength)throw new Yt(`Max length exceeded: ext length (${e}) > maxExtLength (${this.maxExtLength})`);const r=this.view.getInt8(this.pos+n),i=this.decodeBinary(e,n+1);return this.extensionCodec.decode(i,r,this.context)}lookU8(){return this.view.getUint8(this.pos)}lookU16(){return this.view.getUint16(this.pos)}lookU32(){return this.view.getUint32(this.pos)}readU8(){const e=this.view.getUint8(this.pos);return this.pos++,e}readI8(){const e=this.view.getInt8(this.pos);return this.pos++,e}readU16(){const e=this.view.getUint16(this.pos);return this.pos+=2,e}readI16(){const e=this.view.getInt16(this.pos);return this.pos+=2,e}readU32(){const e=this.view.getUint32(this.pos);return this.pos+=4,e}readI32(){const e=this.view.getInt32(this.pos);return this.pos+=4,e}readU64(){const e=$8(this.view,this.pos);return this.pos+=8,e}readI64(){const e=Fp(this.view,this.pos);return this.pos+=8,e}readU64AsBigInt(){const e=this.view.getBigUint64(this.pos);return this.pos+=8,e}readI64AsBigInt(){const e=this.view.getBigInt64(this.pos);return this.pos+=8,e}readF32(){const e=this.view.getFloat32(this.pos);return this.pos+=4,e}readF64(){const e=this.view.getFloat64(this.pos);return this.pos+=8,e}}function v6(t,e){return new bl(e).decode(t)}const E6=t=>JSON.stringify(t,(e,n)=>typeof n=="bigint"?n.toString()+"n":n),x6=t=>{const e=/([\[:])?(\d{17,}|(?:[9](?:[1-9]07199254740991|0[1-9]7199254740991|00[8-9]199254740991|007[2-9]99254740991|007199[3-9]54740991|0071992[6-9]4740991|00719925[5-9]740991|007199254[8-9]40991|0071992547[5-9]0991|00719925474[1-9]991|00719925474099[2-9])))([,\}\]])/g,n=t.replace(e,'$1"$2n"$3');return JSON.parse(n,(r,i)=>typeof i=="string"&&i.match(/^\d+n$/)?BigInt(i.substring(0,i.length-1)):i)};function as(t){if(typeof t!="string")throw new Error(`Cannot safe json parse value of type ${typeof t}`);try{return x6(t)}catch{return t}}function to(t){return typeof t=="string"?t:E6(t)||""}function I6(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Lp(t,...e){if(!I6(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function Mp(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function S6(t,e){Lp(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}const cs=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const wl=t=>new DataView(t.buffer,t.byteOffset,t.byteLength);function B6(t){if(typeof t!="string")throw new Error("utf8ToBytes expected string, got "+typeof t);return new Uint8Array(new TextEncoder().encode(t))}function jp(t){return typeof t=="string"&&(t=B6(t)),Lp(t),t}class O6{clone(){return this._cloneInto()}}function A6(t){const e=r=>t().update(jp(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function zp(t=32){if(cs&&typeof cs.getRandomValues=="function")return cs.getRandomValues(new Uint8Array(t));if(cs&&typeof cs.randomBytes=="function")return cs.randomBytes(t);throw new Error("crypto.getRandomValues must be defined")}function P6(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}class D6 extends O6{constructor(e,n,r,i){super(),this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=wl(this.buffer)}update(e){Mp(this);const{view:n,buffer:r,blockLen:i}=this;e=jp(e);const s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=wl(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){Mp(this),S6(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;P6(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=wl(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.length=i,e.pos=a,e.finished=s,e.destroyed=o,i%n&&e.buffer.set(r),e}}const La=BigInt(2**32-1),yl=BigInt(32);function Kp(t,e=!1){return e?{h:Number(t&La),l:Number(t>>yl&La)}:{h:Number(t>>yl&La)|0,l:Number(t&La)|0}}function R6(t,e=!1){let n=new Uint32Array(t.length),r=new Uint32Array(t.length);for(let i=0;i<t.length;i++){const{h:s,l:o}=Kp(t[i],e);[n[i],r[i]]=[s,o]}return[n,r]}const T6=(t,e)=>BigInt(t>>>0)<<yl|BigInt(e>>>0),N6=(t,e,n)=>t>>>n,U6=(t,e,n)=>t<<32-n|e>>>n,C6=(t,e,n)=>t>>>n|e<<32-n,F6=(t,e,n)=>t<<32-n|e>>>n,q6=(t,e,n)=>t<<64-n|e>>>n-32,k6=(t,e,n)=>t>>>n-32|e<<64-n,L6=(t,e)=>e,M6=(t,e)=>t,j6=(t,e,n)=>t<<n|e>>>32-n,z6=(t,e,n)=>e<<n|t>>>32-n,K6=(t,e,n)=>e<<n-32|t>>>64-n,V6=(t,e,n)=>t<<n-32|e>>>64-n;function H6(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const G6=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),W6=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,Z6=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),Y6=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,X6=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),J6=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,fe={fromBig:Kp,split:R6,toBig:T6,shrSH:N6,shrSL:U6,rotrSH:C6,rotrSL:F6,rotrBH:q6,rotrBL:k6,rotr32H:L6,rotr32L:M6,rotlSH:j6,rotlSL:z6,rotlBH:K6,rotlBL:V6,add:H6,add3L:G6,add3H:W6,add4L:Z6,add4H:Y6,add5H:J6,add5L:X6},[Q6,_6]=fe.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),Ur=new Uint32Array(80),Cr=new Uint32Array(80);class $6 extends D6{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:u,El:l,Fh:f,Fl:d,Gh:h,Gl:p,Hh:w,Hl:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=u|0,this.El=l|0,this.Fh=f|0,this.Fl=d|0,this.Gh=h|0,this.Gl=p|0,this.Hh=w|0,this.Hl=m|0}process(e,n){for(let I=0;I<16;I++,n+=4)Ur[I]=e.getUint32(n),Cr[I]=e.getUint32(n+=4);for(let I=16;I<80;I++){const x=Ur[I-15]|0,S=Cr[I-15]|0,U=fe.rotrSH(x,S,1)^fe.rotrSH(x,S,8)^fe.shrSH(x,S,7),k=fe.rotrSL(x,S,1)^fe.rotrSL(x,S,8)^fe.shrSL(x,S,7),F=Ur[I-2]|0,R=Cr[I-2]|0,G=fe.rotrSH(F,R,19)^fe.rotrBH(F,R,61)^fe.shrSH(F,R,6),H=fe.rotrSL(F,R,19)^fe.rotrBL(F,R,61)^fe.shrSL(F,R,6),E=fe.add4L(k,H,Cr[I-7],Cr[I-16]),b=fe.add4H(E,U,G,Ur[I-7],Ur[I-16]);Ur[I]=b|0,Cr[I]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:u,Dl:l,Eh:f,El:d,Fh:h,Fl:p,Gh:w,Gl:m,Hh:P,Hl:T}=this;for(let I=0;I<80;I++){const x=fe.rotrSH(f,d,14)^fe.rotrSH(f,d,18)^fe.rotrBH(f,d,41),S=fe.rotrSL(f,d,14)^fe.rotrSL(f,d,18)^fe.rotrBL(f,d,41),U=f&h^~f&w,k=d&p^~d&m,F=fe.add5L(T,S,k,_6[I],Cr[I]),R=fe.add5H(F,P,x,U,Q6[I],Ur[I]),G=F|0,H=fe.rotrSH(r,i,28)^fe.rotrBH(r,i,34)^fe.rotrBH(r,i,39),E=fe.rotrSL(r,i,28)^fe.rotrBL(r,i,34)^fe.rotrBL(r,i,39),b=r&s^r&a^s&a,v=i&o^i&c^o&c;P=w|0,T=m|0,w=h|0,m=p|0,h=f|0,p=d|0,{h:f,l:d}=fe.add(u|0,l|0,R|0,G|0),u=a|0,l=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=fe.add3L(G,E,v);r=fe.add3H(g,R,H,b),i=g|0}({h:r,l:i}=fe.add(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=fe.add(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=fe.add(this.Ch|0,this.Cl|0,a|0,c|0),{h:u,l}=fe.add(this.Dh|0,this.Dl|0,u|0,l|0),{h:f,l:d}=fe.add(this.Eh|0,this.El|0,f|0,d|0),{h,l:p}=fe.add(this.Fh|0,this.Fl|0,h|0,p|0),{h:w,l:m}=fe.add(this.Gh|0,this.Gl|0,w|0,m|0),{h:P,l:T}=fe.add(this.Hh|0,this.Hl|0,P|0,T|0),this.set(r,i,s,o,a,c,u,l,f,d,h,p,w,m,P,T)}roundClean(){Ur.fill(0),Cr.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const e4=A6(()=>new $6);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const ml=BigInt(0),Vp=BigInt(1),t4=BigInt(2);function vl(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function El(t){if(!vl(t))throw new Error("Uint8Array expected")}function xl(t,e){if(typeof e!="boolean")throw new Error(t+" boolean expected, got "+e)}const n4=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function Il(t){El(t);let e="";for(let n=0;n<t.length;n++)e+=n4[t[n]];return e}function Hp(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?ml:BigInt("0x"+t)}const er={_0:48,_9:57,A:65,F:70,a:97,f:102};function Gp(t){if(t>=er._0&&t<=er._9)return t-er._0;if(t>=er.A&&t<=er.F)return t-(er.A-10);if(t>=er.a&&t<=er.f)return t-(er.a-10)}function Wp(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=Gp(t.charCodeAt(s)),a=Gp(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function r4(t){return Hp(Il(t))}function Ma(t){return El(t),Hp(Il(Uint8Array.from(t).reverse()))}function Zp(t,e){return Wp(t.toString(16).padStart(e*2,"0"))}function Sl(t,e){return Zp(t,e).reverse()}function tr(t,e,n){let r;if(typeof e=="string")try{r=Wp(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(vl(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}function Yp(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];El(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}const Bl=t=>typeof t=="bigint"&&ml<=t;function i4(t,e,n){return Bl(t)&&Bl(e)&&Bl(n)&&e<=t&&t<n}function no(t,e,n,r){if(!i4(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function s4(t){let e;for(e=0;t>ml;t>>=Vp,e+=1);return e}const o4=t=>(t4<<BigInt(t-1))-Vp,a4={bigint:t=>typeof t=="bigint",function:t=>typeof t=="function",boolean:t=>typeof t=="boolean",string:t=>typeof t=="string",stringOrUint8Array:t=>typeof t=="string"||vl(t),isSafeInteger:t=>Number.isSafeInteger(t),array:t=>Array.isArray(t),field:(t,e)=>e.Fp.isValid(t),hash:t=>typeof t=="function"&&Number.isSafeInteger(t.outputLen)};function Ol(t,e,n={}){const r=(i,s,o)=>{const a=a4[s];if(typeof a!="function")throw new Error("invalid validator function");const c=t[i];if(!(o&&c===void 0)&&!a(c,t))throw new Error("param "+String(i)+" is invalid. Expected "+s+", got "+c)};for(const[i,s]of Object.entries(e))r(i,s,!1);for(const[i,s]of Object.entries(n))r(i,s,!0);return t}function Xp(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const Ye=BigInt(0),qe=BigInt(1),mi=BigInt(2),c4=BigInt(3),Al=BigInt(4),Jp=BigInt(5),Qp=BigInt(8);function Ke(t,e){const n=t%e;return n>=Ye?n:e+n}function u4(t,e,n){if(e<Ye)throw new Error("invalid exponent, negatives unsupported");if(n<=Ye)throw new Error("invalid modulus");if(n===qe)return Ye;let r=qe;for(;e>Ye;)e&qe&&(r=r*t%n),t=t*t%n,e>>=qe;return r}function Rn(t,e,n){let r=t;for(;e-- >Ye;)r*=r,r%=n;return r}function _p(t,e){if(t===Ye)throw new Error("invert: expected non-zero number");if(e<=Ye)throw new Error("invert: expected positive modulus, got "+e);let n=Ke(t,e),r=e,i=Ye,s=qe;for(;n!==Ye;){const o=r/n,a=r%n,c=i-s*o;r=n,n=a,i=s,s=c}if(r!==qe)throw new Error("invert: does not exist");return Ke(i,e)}function l4(t){const e=(t-qe)/mi;let n,r,i;for(n=t-qe,r=0;n%mi===Ye;n/=mi,r++);for(i=mi;i<t&&u4(i,e,t)!==t-qe;i++)if(i>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const o=(t+qe)/Al;return function(a,c){const u=a.pow(c,o);if(!a.eql(a.sqr(u),c))throw new Error("Cannot find square root");return u}}const s=(n+qe)/mi;return function(o,a){if(o.pow(a,e)===o.neg(o.ONE))throw new Error("Cannot find square root");let c=r,u=o.pow(o.mul(o.ONE,i),n),l=o.pow(a,s),f=o.pow(a,n);for(;!o.eql(f,o.ONE);){if(o.eql(f,o.ZERO))return o.ZERO;let d=1;for(let p=o.sqr(f);d<c&&!o.eql(p,o.ONE);d++)p=o.sqr(p);const h=o.pow(u,qe<<BigInt(c-d-1));u=o.sqr(h),l=o.mul(l,h),f=o.mul(f,u),c=d}return l}}function f4(t){if(t%Al===c4){const e=(t+qe)/Al;return function(n,r){const i=n.pow(r,e);if(!n.eql(n.sqr(i),r))throw new Error("Cannot find square root");return i}}if(t%Qp===Jp){const e=(t-Jp)/Qp;return function(n,r){const i=n.mul(r,mi),s=n.pow(i,e),o=n.mul(r,s),a=n.mul(n.mul(o,mi),s),c=n.mul(o,n.sub(a,n.ONE));if(!n.eql(n.sqr(c),r))throw new Error("Cannot find square root");return c}}return l4(t)}const h4=(t,e)=>(Ke(t,e)&qe)===qe,d4=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function p4(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=d4.reduce((r,i)=>(r[i]="function",r),e);return Ol(t,n)}function g4(t,e,n){if(n<Ye)throw new Error("invalid exponent, negatives unsupported");if(n===Ye)return t.ONE;if(n===qe)return e;let r=t.ONE,i=e;for(;n>Ye;)n&qe&&(r=t.mul(r,i)),i=t.sqr(i),n>>=qe;return r}function b4(t,e){const n=new Array(e.length),r=e.reduce((s,o,a)=>t.is0(o)?s:(n[a]=s,t.mul(s,o)),t.ONE),i=t.inv(r);return e.reduceRight((s,o,a)=>t.is0(o)?s:(n[a]=t.mul(s,n[a]),t.mul(s,o)),i),n}function $p(t,e){const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function eg(t,e,n=!1,r={}){if(t<=Ye)throw new Error("invalid field: expected ORDER > 0, got "+t);const{nBitLength:i,nByteLength:s}=$p(t,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let o;const a=Object.freeze({ORDER:t,isLE:n,BITS:i,BYTES:s,MASK:o4(i),ZERO:Ye,ONE:qe,create:c=>Ke(c,t),isValid:c=>{if(typeof c!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof c);return Ye<=c&&c<t},is0:c=>c===Ye,isOdd:c=>(c&qe)===qe,neg:c=>Ke(-c,t),eql:(c,u)=>c===u,sqr:c=>Ke(c*c,t),add:(c,u)=>Ke(c+u,t),sub:(c,u)=>Ke(c-u,t),mul:(c,u)=>Ke(c*u,t),pow:(c,u)=>g4(a,c,u),div:(c,u)=>Ke(c*_p(u,t),t),sqrN:c=>c*c,addN:(c,u)=>c+u,subN:(c,u)=>c-u,mulN:(c,u)=>c*u,inv:c=>_p(c,t),sqrt:r.sqrt||(c=>(o||(o=f4(t)),o(a,c))),invertBatch:c=>b4(a,c),cmov:(c,u,l)=>l?u:c,toBytes:c=>n?Sl(c,s):Zp(c,s),fromBytes:c=>{if(c.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+c.length);return n?Ma(c):r4(c)}});return Object.freeze(a)}const tg=BigInt(0),ja=BigInt(1);function Pl(t,e){const n=e.negate();return t?n:e}function ng(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function Dl(t,e){ng(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1);return{windows:n,windowSize:r}}function w4(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function y4(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const Rl=new WeakMap,rg=new WeakMap;function Tl(t){return rg.get(t)||1}function m4(t,e){return{constTimeNegate:Pl,hasPrecomputes(n){return Tl(n)!==1},unsafeLadder(n,r,i=t.ZERO){let s=n;for(;r>tg;)r&ja&&(i=i.add(s)),s=s.double(),r>>=ja;return i},precomputeWindow(n,r){const{windows:i,windowSize:s}=Dl(r,e),o=[];let a=n,c=a;for(let u=0;u<i;u++){c=a,o.push(c);for(let l=1;l<s;l++)c=c.add(a),o.push(c);a=c.double()}return o},wNAF(n,r,i){const{windows:s,windowSize:o}=Dl(n,e);let a=t.ZERO,c=t.BASE;const u=BigInt(2**n-1),l=2**n,f=BigInt(n);for(let d=0;d<s;d++){const h=d*o;let p=Number(i&u);i>>=f,p>o&&(p-=l,i+=ja);const w=h,m=h+Math.abs(p)-1,P=d%2!==0,T=p<0;p===0?c=c.add(Pl(P,r[w])):a=a.add(Pl(T,r[m]))}return{p:a,f:c}},wNAFUnsafe(n,r,i,s=t.ZERO){const{windows:o,windowSize:a}=Dl(n,e),c=BigInt(2**n-1),u=2**n,l=BigInt(n);for(let f=0;f<o;f++){const d=f*a;if(i===tg)break;let h=Number(i&c);if(i>>=l,h>a&&(h-=u,i+=ja),h===0)continue;let p=r[d+Math.abs(h)-1];h<0&&(p=p.negate()),s=s.add(p)}return s},getPrecomputes(n,r,i){let s=Rl.get(r);return s||(s=this.precomputeWindow(r,n),n!==1&&Rl.set(r,i(s))),s},wNAFCached(n,r,i){const s=Tl(n);return this.wNAF(s,this.getPrecomputes(s,n,i),r)},wNAFCachedUnsafe(n,r,i,s){const o=Tl(n);return o===1?this.unsafeLadder(n,r,s):this.wNAFUnsafe(o,this.getPrecomputes(o,n,i),r,s)},setWindowSize(n,r){ng(r,e),rg.set(n,r),Rl.delete(n)}}}function v4(t,e,n,r){if(w4(n,t),y4(r,e),n.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const i=t.ZERO,s=s4(BigInt(n.length)),o=s>12?s-3:s>4?s-2:s?2:1,a=(1<<o)-1,c=new Array(a+1).fill(i),u=Math.floor((e.BITS-1)/o)*o;let l=i;for(let f=u;f>=0;f-=o){c.fill(i);for(let h=0;h<r.length;h++){const p=r[h],w=Number(p>>BigInt(f)&BigInt(a));c[w]=c[w].add(n[h])}let d=i;for(let h=c.length-1,p=i;h>0;h--)p=p.add(c[h]),d=d.add(p);if(l=l.add(d),f!==0)for(let h=0;h<o;h++)l=l.double()}return l}function E4(t){return p4(t.Fp),Ol(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...$p(t.n,t.nBitLength),...t,p:t.Fp.ORDER})}const bn=BigInt(0),Ft=BigInt(1),za=BigInt(2),x4=BigInt(8),I4={zip215:!0};function S4(t){const e=E4(t);return Ol(t,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...e})}function B4(t){const e=S4(t),{Fp:n,n:r,prehash:i,hash:s,randomBytes:o,nByteLength:a,h:c}=e,u=za<<BigInt(a*8)-Ft,l=n.create,f=eg(e.n,e.nBitLength),d=e.uvRatio||((g,y)=>{try{return{isValid:!0,value:n.sqrt(g*n.inv(y))}}catch{return{isValid:!1,value:bn}}}),h=e.adjustScalarBytes||(g=>g),p=e.domain||((g,y,B)=>{if(xl("phflag",B),y.length||B)throw new Error("Contexts/pre-hash are not supported");return g});function w(g,y){no("coordinate "+g,y,bn,u)}function m(g){if(!(g instanceof I))throw new Error("ExtendedPoint expected")}const P=Xp((g,y)=>{const{ex:B,ey:A,ez:O}=g,D=g.is0();y==null&&(y=D?x4:n.inv(O));const C=l(B*y),M=l(A*y),L=l(O*y);if(D)return{x:bn,y:Ft};if(L!==Ft)throw new Error("invZ was invalid");return{x:C,y:M}}),T=Xp(g=>{const{a:y,d:B}=e;if(g.is0())throw new Error("bad point: ZERO");const{ex:A,ey:O,ez:D,et:C}=g,M=l(A*A),L=l(O*O),V=l(D*D),q=l(V*V),W=l(M*y),Z=l(V*l(W+L)),z=l(q+l(B*l(M*L)));if(Z!==z)throw new Error("bad point: equation left != right (1)");const N=l(A*O),j=l(D*C);if(N!==j)throw new Error("bad point: equation left != right (2)");return!0});class I{constructor(y,B,A,O){this.ex=y,this.ey=B,this.ez=A,this.et=O,w("x",y),w("y",B),w("z",A),w("t",O),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(y){if(y instanceof I)throw new Error("extended point not allowed");const{x:B,y:A}=y||{};return w("x",B),w("y",A),new I(B,A,Ft,l(B*A))}static normalizeZ(y){const B=n.invertBatch(y.map(A=>A.ez));return y.map((A,O)=>A.toAffine(B[O])).map(I.fromAffine)}static msm(y,B){return v4(I,f,y,B)}_setWindowSize(y){U.setWindowSize(this,y)}assertValidity(){T(this)}equals(y){m(y);const{ex:B,ey:A,ez:O}=this,{ex:D,ey:C,ez:M}=y,L=l(B*M),V=l(D*O),q=l(A*M),W=l(C*O);return L===V&&q===W}is0(){return this.equals(I.ZERO)}negate(){return new I(l(-this.ex),this.ey,this.ez,l(-this.et))}double(){const{a:y}=e,{ex:B,ey:A,ez:O}=this,D=l(B*B),C=l(A*A),M=l(za*l(O*O)),L=l(y*D),V=B+A,q=l(l(V*V)-D-C),W=L+C,Z=W-M,z=L-C,N=l(q*Z),j=l(W*z),K=l(q*z),X=l(Z*W);return new I(N,j,X,K)}add(y){m(y);const{a:B,d:A}=e,{ex:O,ey:D,ez:C,et:M}=this,{ex:L,ey:V,ez:q,et:W}=y;if(B===BigInt(-1)){const xe=l((D-O)*(V+L)),at=l((D+O)*(V-L)),Vt=l(at-xe);if(Vt===bn)return this.double();const Pt=l(C*za*W),vt=l(M*za*q),Ce=vt+Pt,ct=at+xe,Dt=vt-Pt,he=l(Ce*Vt),Ih=l(ct*Dt),Ps=l(Ce*Dt),We=l(Vt*ct);return new I(he,Ih,We,Ps)}const Z=l(O*L),z=l(D*V),N=l(M*A*W),j=l(C*q),K=l((O+D)*(L+V)-Z-z),X=j-N,ee=j+N,$=l(z-B*Z),re=l(K*X),le=l(ee*$),ce=l(K*$),ie=l(X*ee);return new I(re,le,ie,ce)}subtract(y){return this.add(y.negate())}wNAF(y){return U.wNAFCached(this,y,I.normalizeZ)}multiply(y){const B=y;no("scalar",B,Ft,r);const{p:A,f:O}=this.wNAF(B);return I.normalizeZ([A,O])[0]}multiplyUnsafe(y,B=I.ZERO){const A=y;return no("scalar",A,bn,r),A===bn?S:this.is0()||A===Ft?this:U.wNAFCachedUnsafe(this,A,I.normalizeZ,B)}isSmallOrder(){return this.multiplyUnsafe(c).is0()}isTorsionFree(){return U.unsafeLadder(this,r).is0()}toAffine(y){return P(this,y)}clearCofactor(){const{h:y}=e;return y===Ft?this:this.multiplyUnsafe(y)}static fromHex(y,B=!1){const{d:A,a:O}=e,D=n.BYTES;y=tr("pointHex",y,D),xl("zip215",B);const C=y.slice(),M=y[D-1];C[D-1]=M&-129;const L=Ma(C),V=B?u:n.ORDER;no("pointHex.y",L,bn,V);const q=l(L*L),W=l(q-Ft),Z=l(A*q-O);let{isValid:z,value:N}=d(W,Z);if(!z)throw new Error("Point.fromHex: invalid y coordinate");const j=(N&Ft)===Ft,K=(M&128)!==0;if(!B&&N===bn&&K)throw new Error("Point.fromHex: x=0 and x_0=1");return K!==j&&(N=l(-N)),I.fromAffine({x:N,y:L})}static fromPrivateKey(y){return R(y).point}toRawBytes(){const{x:y,y:B}=this.toAffine(),A=Sl(B,n.BYTES);return A[A.length-1]|=y&Ft?128:0,A}toHex(){return Il(this.toRawBytes())}}I.BASE=new I(e.Gx,e.Gy,Ft,l(e.Gx*e.Gy)),I.ZERO=new I(bn,Ft,Ft,bn);const{BASE:x,ZERO:S}=I,U=m4(I,a*8);function k(g){return Ke(g,r)}function F(g){return k(Ma(g))}function R(g){const y=n.BYTES;g=tr("private key",g,y);const B=tr("hashed private key",s(g),2*y),A=h(B.slice(0,y)),O=B.slice(y,2*y),D=F(A),C=x.multiply(D),M=C.toRawBytes();return{head:A,prefix:O,scalar:D,point:C,pointBytes:M}}function G(g){return R(g).pointBytes}function H(g=new Uint8Array,...y){const B=Yp(...y);return F(s(p(B,tr("context",g),!!i)))}function E(g,y,B={}){g=tr("message",g),i&&(g=i(g));const{prefix:A,scalar:O,pointBytes:D}=R(y),C=H(B.context,A,g),M=x.multiply(C).toRawBytes(),L=H(B.context,M,D,g),V=k(C+L*O);no("signature.s",V,bn,r);const q=Yp(M,Sl(V,n.BYTES));return tr("result",q,n.BYTES*2)}const b=I4;function v(g,y,B,A=b){const{context:O,zip215:D}=A,C=n.BYTES;g=tr("signature",g,2*C),y=tr("message",y),B=tr("publicKey",B,C),D!==void 0&&xl("zip215",D),i&&(y=i(y));const M=Ma(g.slice(C,2*C));let L,V,q;try{L=I.fromHex(B,D),V=I.fromHex(g.slice(0,C),D),q=x.multiplyUnsafe(M)}catch{return!1}if(!D&&L.isSmallOrder())return!1;const W=H(O,V.toRawBytes(),L.toRawBytes(),y);return V.add(L.multiplyUnsafe(W)).subtract(q).clearCofactor().equals(I.ZERO)}return x._setWindowSize(8),{CURVE:e,getPublicKey:G,sign:E,verify:v,ExtendedPoint:I,utils:{getExtendedPublicKey:R,randomPrivateKey:()=>o(n.BYTES),precompute(g=8,y=I.BASE){return y._setWindowSize(g),y.multiply(BigInt(3)),y}}}}BigInt(0),BigInt(1);const Nl=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),ig=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");BigInt(0);const O4=BigInt(1),sg=BigInt(2);BigInt(3);const A4=BigInt(5),P4=BigInt(8);function D4(t){const e=BigInt(10),n=BigInt(20),r=BigInt(40),i=BigInt(80),s=Nl,o=t*t%s*t%s,a=Rn(o,sg,s)*o%s,c=Rn(a,O4,s)*t%s,u=Rn(c,A4,s)*c%s,l=Rn(u,e,s)*u%s,f=Rn(l,n,s)*l%s,d=Rn(f,r,s)*f%s,h=Rn(d,i,s)*d%s,p=Rn(h,i,s)*d%s,w=Rn(p,e,s)*u%s;return{pow_p_5_8:Rn(w,sg,s)*t%s,b2:o}}function R4(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}function T4(t,e){const n=Nl,r=Ke(e*e*e,n),i=Ke(r*r*e,n),s=D4(t*i).pow_p_5_8;let o=Ke(t*r*s,n);const a=Ke(e*o*o,n),c=o,u=Ke(o*ig,n),l=a===t,f=a===Ke(-t,n),d=a===Ke(-t*ig,n);return l&&(o=c),(f||d)&&(o=u),h4(o,n)&&(o=Ke(-o,n)),{isValid:l||f,value:o}}const N4=eg(Nl,void 0,!0),U4={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:N4,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:P4,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:e4,randomBytes:zp,adjustScalarBytes:R4,uvRatio:T4},og=B4(U4),C4="EdDSA",F4="JWT",Ka=".",Va="base64url",ag="utf8",cg="utf8",q4=":",k4="did",L4="key",ug="base58btc",M4="z",j4="K36",z4=32;function Ul(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function lg(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Ul(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function fg(t,e){e||(e=t.reduce((i,s)=>i+s.length,0));const n=lg(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return Ul(n)}function K4(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function f(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var w=0,m=0,P=0,T=p.length;P!==T&&p[P]===0;)P++,w++;for(var I=(T-P)*l+1>>>0,x=new Uint8Array(I);P!==T;){for(var S=p[P],U=0,k=I-1;(S!==0||U<m)&&k!==-1;k--,U++)S+=256*x[k]>>>0,x[k]=S%a>>>0,S=S/a>>>0;if(S!==0)throw new Error("Non-zero carry");m=U,P++}for(var F=I-m;F!==I&&x[F]===0;)F++;for(var R=c.repeat(w);F<I;++F)R+=t.charAt(x[F]);return R}function d(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var w=0;if(p[w]!==" "){for(var m=0,P=0;p[w]===c;)m++,w++;for(var T=(p.length-w)*u+1>>>0,I=new Uint8Array(T);p[w];){var x=n[p.charCodeAt(w)];if(x===255)return;for(var S=0,U=T-1;(x!==0||S<P)&&U!==-1;U--,S++)x+=a*I[U]>>>0,I[U]=x%256>>>0,x=x/256>>>0;if(x!==0)throw new Error("Non-zero carry");P=S,w++}if(p[w]!==" "){for(var k=T-P;k!==T&&I[k]===0;)k++;for(var F=new Uint8Array(m+(T-k)),R=m;k!==T;)F[R++]=I[k++];return F}}}function h(p){var w=d(p);if(w)return w;throw new Error(`Non-${e} character`)}return{encode:f,decodeUnsafe:d,decode:h}}var V4=K4,H4=V4;const hg=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},G4=t=>new TextEncoder().encode(t),W4=t=>new TextDecoder().decode(t);class Z4{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class Y4{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return dg(this,e)}}class X4{constructor(e){this.decoders=e}or(e){return dg(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const dg=(t,e)=>new X4({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class J4{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new Z4(e,n,r),this.decoder=new Y4(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const Ha=({name:t,prefix:e,encode:n,decode:r})=>new J4(t,e,n,r),ro=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=H4(n,e);return Ha({prefix:t,name:e,encode:r,decode:s=>hg(i(s))})},Q4=(t,e,n,r)=>{const i={};for(let l=0;l<e.length;++l)i[e[l]]=l;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,u=0;for(let l=0;l<s;++l){const f=i[t[l]];if(f===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|f,a+=n,a>=8&&(a-=8,o[u++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},_4=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},$e=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>Ha({prefix:e,name:t,encode(i){return _4(i,r,n)},decode(i){return Q4(i,r,n,t)}}),$4=Ha({prefix:"\0",name:"identity",encode:t=>W4(t),decode:t=>G4(t)});var e5=Object.freeze({__proto__:null,identity:$4});const t5=$e({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var n5=Object.freeze({__proto__:null,base2:t5});const r5=$e({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var i5=Object.freeze({__proto__:null,base8:r5});const s5=ro({prefix:"9",name:"base10",alphabet:"0123456789"});var o5=Object.freeze({__proto__:null,base10:s5});const a5=$e({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),c5=$e({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var u5=Object.freeze({__proto__:null,base16:a5,base16upper:c5});const l5=$e({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),f5=$e({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),h5=$e({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),d5=$e({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),p5=$e({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),g5=$e({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),b5=$e({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),w5=$e({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),y5=$e({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var m5=Object.freeze({__proto__:null,base32:l5,base32upper:f5,base32pad:h5,base32padupper:d5,base32hex:p5,base32hexupper:g5,base32hexpad:b5,base32hexpadupper:w5,base32z:y5});const v5=ro({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),E5=ro({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var x5=Object.freeze({__proto__:null,base36:v5,base36upper:E5});const I5=ro({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),S5=ro({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var B5=Object.freeze({__proto__:null,base58btc:I5,base58flickr:S5});const O5=$e({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),A5=$e({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),P5=$e({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),D5=$e({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var R5=Object.freeze({__proto__:null,base64:O5,base64pad:A5,base64url:P5,base64urlpad:D5});const pg=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),T5=pg.reduce((t,e,n)=>(t[n]=e,t),[]),N5=pg.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function U5(t){return t.reduce((e,n)=>(e+=T5[n],e),"")}function C5(t){const e=[];for(const n of t){const r=N5[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const F5=Ha({prefix:"\u{1F680}",name:"base256emoji",encode:U5,decode:C5});var q5=Object.freeze({__proto__:null,base256emoji:F5}),k5=bg,gg=128,L5=127,M5=~L5,j5=Math.pow(2,31);function bg(t,e,n){e=e||[],n=n||0;for(var r=n;t>=j5;)e[n++]=t&255|gg,t/=128;for(;t&M5;)e[n++]=t&255|gg,t>>>=7;return e[n]=t|0,bg.bytes=n-r+1,e}var z5=Cl,K5=128,wg=127;function Cl(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw Cl.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&wg)<<i:(o&wg)*Math.pow(2,i),i+=7}while(o>=K5);return Cl.bytes=s-r,n}var V5=Math.pow(2,7),H5=Math.pow(2,14),G5=Math.pow(2,21),W5=Math.pow(2,28),Z5=Math.pow(2,35),Y5=Math.pow(2,42),X5=Math.pow(2,49),J5=Math.pow(2,56),Q5=Math.pow(2,63),_5=function(t){return t<V5?1:t<H5?2:t<G5?3:t<W5?4:t<Z5?5:t<Y5?6:t<X5?7:t<J5?8:t<Q5?9:10},$5={encode:k5,decode:z5,encodingLength:_5},yg=$5;const mg=(t,e,n=0)=>(yg.encode(t,e,n),e),vg=t=>yg.encodingLength(t),Fl=(t,e)=>{const n=e.byteLength,r=vg(t),i=r+vg(n),s=new Uint8Array(i+n);return mg(t,s,0),mg(n,s,r),s.set(e,i),new ex(t,n,e,s)};class ex{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const Eg=({name:t,code:e,encode:n})=>new tx(t,e,n);class tx{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?Fl(this.code,n):n.then(r=>Fl(this.code,r))}else throw Error("Unknown type, must be binary type")}}const xg=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),nx=Eg({name:"sha2-256",code:18,encode:xg("SHA-256")}),rx=Eg({name:"sha2-512",code:19,encode:xg("SHA-512")});var ix=Object.freeze({__proto__:null,sha256:nx,sha512:rx});const Ig=0,sx="identity",Sg=hg;var ox=Object.freeze({__proto__:null,identity:{code:Ig,name:sx,encode:Sg,digest:t=>Fl(Ig,Sg(t))}});new TextEncoder,new TextDecoder;const Bg={...e5,...n5,...i5,...o5,...u5,...m5,...x5,...B5,...R5,...q5};({...ix,...ox});function Og(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const Ag=Og("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),ql=Og("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=lg(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),Pg={utf8:Ag,"utf-8":Ag,hex:Bg.base16,latin1:ql,ascii:ql,binary:ql,...Bg};function Ga(t,e="utf8"){const n=Pg[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}function us(t,e="utf8"){const n=Pg[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Ul(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}function Dg(t){return as(Ga(us(t,Va),ag))}function Wa(t){return Ga(us(to(t),ag),Va)}function Rg(t){const e=us(j4,ug),n=M4+Ga(fg([e,t]),ug);return[k4,L4,n].join(q4)}function ax(t){return Ga(t,Va)}function cx(t){return us(t,Va)}function ux(t){return us([Wa(t.header),Wa(t.payload)].join(Ka),cg)}function lx(t){return[Wa(t.header),Wa(t.payload),ax(t.signature)].join(Ka)}function kl(t){const e=t.split(Ka),n=Dg(e[0]),r=Dg(e[1]),i=cx(e[2]),s=us(e.slice(0,2).join(Ka),cg);return{header:n,payload:r,signature:i,data:s}}function Tg(t=zp(z4)){const e=og.getPublicKey(t);return{secretKey:fg([t,e]),publicKey:e}}async function fx(t,e,n,r,i=J.fromMiliseconds(Date.now())){const s={alg:C4,typ:F4},o=Rg(r.publicKey),a=i+n,c={iss:o,sub:t,aud:e,iat:i,exp:a},u=ux({header:s,payload:c}),l=og.sign(u,r.secretKey.slice(0,32));return lx({header:s,payload:c,signature:l})}function Ll(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function Ng(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Ll(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function io(t,e){e||(e=t.reduce((i,s)=>i+s.length,0));const n=Ng(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return Ll(n)}function hx(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function f(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var w=0,m=0,P=0,T=p.length;P!==T&&p[P]===0;)P++,w++;for(var I=(T-P)*l+1>>>0,x=new Uint8Array(I);P!==T;){for(var S=p[P],U=0,k=I-1;(S!==0||U<m)&&k!==-1;k--,U++)S+=256*x[k]>>>0,x[k]=S%a>>>0,S=S/a>>>0;if(S!==0)throw new Error("Non-zero carry");m=U,P++}for(var F=I-m;F!==I&&x[F]===0;)F++;for(var R=c.repeat(w);F<I;++F)R+=t.charAt(x[F]);return R}function d(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var w=0;if(p[w]!==" "){for(var m=0,P=0;p[w]===c;)m++,w++;for(var T=(p.length-w)*u+1>>>0,I=new Uint8Array(T);p[w];){var x=n[p.charCodeAt(w)];if(x===255)return;for(var S=0,U=T-1;(x!==0||S<P)&&U!==-1;U--,S++)x+=a*I[U]>>>0,I[U]=x%256>>>0,x=x/256>>>0;if(x!==0)throw new Error("Non-zero carry");P=S,w++}if(p[w]!==" "){for(var k=T-P;k!==T&&I[k]===0;)k++;for(var F=new Uint8Array(m+(T-k)),R=m;k!==T;)F[R++]=I[k++];return F}}}function h(p){var w=d(p);if(w)return w;throw new Error(`Non-${e} character`)}return{encode:f,decodeUnsafe:d,decode:h}}var dx=hx,px=dx;const Ug=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},gx=t=>new TextEncoder().encode(t),bx=t=>new TextDecoder().decode(t);class wx{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class yx{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return Cg(this,e)}}class mx{constructor(e){this.decoders=e}or(e){return Cg(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const Cg=(t,e)=>new mx({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class vx{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new wx(e,n,r),this.decoder=new yx(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const Za=({name:t,prefix:e,encode:n,decode:r})=>new vx(t,e,n,r),so=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=px(n,e);return Za({prefix:t,name:e,encode:r,decode:s=>Ug(i(s))})},Ex=(t,e,n,r)=>{const i={};for(let l=0;l<e.length;++l)i[e[l]]=l;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,u=0;for(let l=0;l<s;++l){const f=i[t[l]];if(f===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|f,a+=n,a>=8&&(a-=8,o[u++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},xx=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},et=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>Za({prefix:e,name:t,encode(i){return xx(i,r,n)},decode(i){return Ex(i,r,n,t)}}),Ix=Za({prefix:"\0",name:"identity",encode:t=>bx(t),decode:t=>gx(t)});var Sx=Object.freeze({__proto__:null,identity:Ix});const Bx=et({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var Ox=Object.freeze({__proto__:null,base2:Bx});const Ax=et({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var Px=Object.freeze({__proto__:null,base8:Ax});const Dx=so({prefix:"9",name:"base10",alphabet:"0123456789"});var Rx=Object.freeze({__proto__:null,base10:Dx});const Tx=et({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),Nx=et({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var Ux=Object.freeze({__proto__:null,base16:Tx,base16upper:Nx});const Cx=et({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),Fx=et({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),qx=et({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),kx=et({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),Lx=et({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),Mx=et({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),jx=et({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),zx=et({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),Kx=et({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var Vx=Object.freeze({__proto__:null,base32:Cx,base32upper:Fx,base32pad:qx,base32padupper:kx,base32hex:Lx,base32hexupper:Mx,base32hexpad:jx,base32hexpadupper:zx,base32z:Kx});const Hx=so({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),Gx=so({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var Wx=Object.freeze({__proto__:null,base36:Hx,base36upper:Gx});const Zx=so({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),Yx=so({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var Xx=Object.freeze({__proto__:null,base58btc:Zx,base58flickr:Yx});const Jx=et({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),Qx=et({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),_x=et({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),$x=et({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var e7=Object.freeze({__proto__:null,base64:Jx,base64pad:Qx,base64url:_x,base64urlpad:$x});const Fg=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),t7=Fg.reduce((t,e,n)=>(t[n]=e,t),[]),n7=Fg.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function r7(t){return t.reduce((e,n)=>(e+=t7[n],e),"")}function i7(t){const e=[];for(const n of t){const r=n7[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const s7=Za({prefix:"\u{1F680}",name:"base256emoji",encode:r7,decode:i7});var o7=Object.freeze({__proto__:null,base256emoji:s7}),a7=kg,qg=128,c7=127,u7=~c7,l7=Math.pow(2,31);function kg(t,e,n){e=e||[],n=n||0;for(var r=n;t>=l7;)e[n++]=t&255|qg,t/=128;for(;t&u7;)e[n++]=t&255|qg,t>>>=7;return e[n]=t|0,kg.bytes=n-r+1,e}var f7=Ml,h7=128,Lg=127;function Ml(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw Ml.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&Lg)<<i:(o&Lg)*Math.pow(2,i),i+=7}while(o>=h7);return Ml.bytes=s-r,n}var d7=Math.pow(2,7),p7=Math.pow(2,14),g7=Math.pow(2,21),b7=Math.pow(2,28),w7=Math.pow(2,35),y7=Math.pow(2,42),m7=Math.pow(2,49),v7=Math.pow(2,56),E7=Math.pow(2,63),x7=function(t){return t<d7?1:t<p7?2:t<g7?3:t<b7?4:t<w7?5:t<y7?6:t<m7?7:t<v7?8:t<E7?9:10},I7={encode:a7,decode:f7,encodingLength:x7},Mg=I7;const jg=(t,e,n=0)=>(Mg.encode(t,e,n),e),zg=t=>Mg.encodingLength(t),jl=(t,e)=>{const n=e.byteLength,r=zg(t),i=r+zg(n),s=new Uint8Array(i+n);return jg(t,s,0),jg(n,s,r),s.set(e,i),new S7(t,n,e,s)};class S7{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const Kg=({name:t,code:e,encode:n})=>new B7(t,e,n);class B7{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?jl(this.code,n):n.then(r=>jl(this.code,r))}else throw Error("Unknown type, must be binary type")}}const Vg=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),O7=Kg({name:"sha2-256",code:18,encode:Vg("SHA-256")}),A7=Kg({name:"sha2-512",code:19,encode:Vg("SHA-512")});var P7=Object.freeze({__proto__:null,sha256:O7,sha512:A7});const Hg=0,D7="identity",Gg=Ug;var R7=Object.freeze({__proto__:null,identity:{code:Hg,name:D7,encode:Gg,digest:t=>jl(Hg,Gg(t))}});new TextEncoder,new TextDecoder;const Wg={...Sx,...Ox,...Px,...Rx,...Ux,...Vx,...Wx,...Xx,...e7,...o7};({...P7,...R7});function Zg(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const Yg=Zg("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),zl=Zg("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=Ng(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),Xg={utf8:Yg,"utf-8":Yg,hex:Wg.base16,latin1:zl,ascii:zl,binary:zl,...Wg};function sn(t,e="utf8"){const n=Xg[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Ll(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}function qt(t,e="utf8"){const n=Xg[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8"):n.encoder.encode(t).substring(1)}const T7={waku:{publish:"waku_publish",batchPublish:"waku_batchPublish",subscribe:"waku_subscribe",batchSubscribe:"waku_batchSubscribe",subscription:"waku_subscription",unsubscribe:"waku_unsubscribe",batchUnsubscribe:"waku_batchUnsubscribe",batchFetchMessages:"waku_batchFetchMessages"},irn:{publish:"irn_publish",batchPublish:"irn_batchPublish",subscribe:"irn_subscribe",batchSubscribe:"irn_batchSubscribe",subscription:"irn_subscription",unsubscribe:"irn_unsubscribe",batchUnsubscribe:"irn_batchUnsubscribe",batchFetchMessages:"irn_batchFetchMessages"},iridium:{publish:"iridium_publish",batchPublish:"iridium_batchPublish",subscribe:"iridium_subscribe",batchSubscribe:"iridium_batchSubscribe",subscription:"iridium_subscription",unsubscribe:"iridium_unsubscribe",batchUnsubscribe:"iridium_batchUnsubscribe",batchFetchMessages:"iridium_batchFetchMessages"}},N7="Input must be an string, Buffer or Uint8Array";function U7(t){let e;if(t instanceof Uint8Array)e=t;else if(typeof t=="string")e=new TextEncoder().encode(t);else throw new Error(N7);return e}function C7(t){return Array.prototype.map.call(t,function(e){return(e<16?"0":"")+e.toString(16)}).join("")}function Ya(t){return(4294967296+t).toString(16).substring(1)}function F7(t,e,n){let r=`
|
|
17
|
+
`+t+" = ";for(let i=0;i<e.length;i+=2){if(n===32)r+=Ya(e[i]).toUpperCase(),r+=" ",r+=Ya(e[i+1]).toUpperCase();else if(n===64)r+=Ya(e[i+1]).toUpperCase(),r+=Ya(e[i]).toUpperCase();else throw new Error("Invalid size "+n);i%6===4?r+=`
|
|
18
|
+
`+new Array(t.length+4).join(" "):i<e.length-2&&(r+=" ")}console.log(r)}function q7(t,e,n){let r=new Date().getTime();const i=new Uint8Array(e);for(let o=0;o<e;o++)i[o]=o%256;const s=new Date().getTime();console.log("Generated random input in "+(s-r)+"ms"),r=s;for(let o=0;o<n;o++){const a=t(i),c=new Date().getTime(),u=c-r;r=c,console.log("Hashed in "+u+"ms: "+a.substring(0,20)+"..."),console.log(Math.round(e/(1<<20)/(u/1e3)*100)/100+" MB PER SECOND")}}var Jg={normalizeInput:U7,toHex:C7,debugPrint:F7,testSpeed:q7};const Xa=Jg;function Ja(t,e,n){const r=t[e]+t[n];let i=t[e+1]+t[n+1];r>=4294967296&&i++,t[e]=r,t[e+1]=i}function Qg(t,e,n,r){let i=t[e]+n;n<0&&(i+=4294967296);let s=t[e+1]+r;i>=4294967296&&s++,t[e]=i,t[e+1]=s}function _g(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function Fr(t,e,n,r,i,s){const o=oo[i],a=oo[i+1],c=oo[s],u=oo[s+1];Ja(ue,t,e),Qg(ue,t,o,a);let l=ue[r]^ue[t],f=ue[r+1]^ue[t+1];ue[r]=f,ue[r+1]=l,Ja(ue,n,r),l=ue[e]^ue[n],f=ue[e+1]^ue[n+1],ue[e]=l>>>24^f<<8,ue[e+1]=f>>>24^l<<8,Ja(ue,t,e),Qg(ue,t,c,u),l=ue[r]^ue[t],f=ue[r+1]^ue[t+1],ue[r]=l>>>16^f<<16,ue[r+1]=f>>>16^l<<16,Ja(ue,n,r),l=ue[e]^ue[n],f=ue[e+1]^ue[n+1],ue[e]=f>>>31^l<<1,ue[e+1]=l>>>31^f<<1}const $g=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),k7=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],dt=new Uint8Array(k7.map(function(t){return t*2})),ue=new Uint32Array(32),oo=new Uint32Array(32);function e1(t,e){let n=0;for(n=0;n<16;n++)ue[n]=t.h[n],ue[n+16]=$g[n];for(ue[24]=ue[24]^t.t,ue[25]=ue[25]^t.t/4294967296,e&&(ue[28]=~ue[28],ue[29]=~ue[29]),n=0;n<32;n++)oo[n]=_g(t.b,4*n);for(n=0;n<12;n++)Fr(0,8,16,24,dt[n*16+0],dt[n*16+1]),Fr(2,10,18,26,dt[n*16+2],dt[n*16+3]),Fr(4,12,20,28,dt[n*16+4],dt[n*16+5]),Fr(6,14,22,30,dt[n*16+6],dt[n*16+7]),Fr(0,10,20,30,dt[n*16+8],dt[n*16+9]),Fr(2,12,22,24,dt[n*16+10],dt[n*16+11]),Fr(4,14,16,26,dt[n*16+12],dt[n*16+13]),Fr(6,8,18,28,dt[n*16+14],dt[n*16+15]);for(n=0;n<16;n++)t.h[n]=t.h[n]^ue[n]^ue[n+16]}const qr=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function t1(t,e,n,r){if(t===0||t>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(e&&e.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(n&&n.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(r&&r.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const i={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:t};qr.fill(0),qr[0]=t,e&&(qr[1]=e.length),qr[2]=1,qr[3]=1,n&&qr.set(n,32),r&&qr.set(r,48);for(let s=0;s<16;s++)i.h[s]=$g[s]^_g(qr,s*4);return e&&(Kl(i,e),i.c=128),i}function Kl(t,e){for(let n=0;n<e.length;n++)t.c===128&&(t.t+=t.c,e1(t,!1),t.c=0),t.b[t.c++]=e[n]}function n1(t){for(t.t+=t.c;t.c<128;)t.b[t.c++]=0;e1(t,!0);const e=new Uint8Array(t.outlen);for(let n=0;n<t.outlen;n++)e[n]=t.h[n>>2]>>8*(n&3);return e}function r1(t,e,n,r,i){n=n||64,t=Xa.normalizeInput(t),r&&(r=Xa.normalizeInput(r)),i&&(i=Xa.normalizeInput(i));const s=t1(n,e,r,i);return Kl(s,t),n1(s)}function L7(t,e,n,r,i){const s=r1(t,e,n,r,i);return Xa.toHex(s)}var M7={blake2b:r1,blake2bHex:L7,blake2bInit:t1,blake2bUpdate:Kl,blake2bFinal:n1};const i1=Jg;function j7(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function kr(t,e,n,r,i,s){ye[t]=ye[t]+ye[e]+i,ye[r]=Qa(ye[r]^ye[t],16),ye[n]=ye[n]+ye[r],ye[e]=Qa(ye[e]^ye[n],12),ye[t]=ye[t]+ye[e]+s,ye[r]=Qa(ye[r]^ye[t],8),ye[n]=ye[n]+ye[r],ye[e]=Qa(ye[e]^ye[n],7)}function Qa(t,e){return t>>>e^t<<32-e}const s1=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),pt=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),ye=new Uint32Array(16),tt=new Uint32Array(16);function o1(t,e){let n=0;for(n=0;n<8;n++)ye[n]=t.h[n],ye[n+8]=s1[n];for(ye[12]^=t.t,ye[13]^=t.t/4294967296,e&&(ye[14]=~ye[14]),n=0;n<16;n++)tt[n]=j7(t.b,4*n);for(n=0;n<10;n++)kr(0,4,8,12,tt[pt[n*16+0]],tt[pt[n*16+1]]),kr(1,5,9,13,tt[pt[n*16+2]],tt[pt[n*16+3]]),kr(2,6,10,14,tt[pt[n*16+4]],tt[pt[n*16+5]]),kr(3,7,11,15,tt[pt[n*16+6]],tt[pt[n*16+7]]),kr(0,5,10,15,tt[pt[n*16+8]],tt[pt[n*16+9]]),kr(1,6,11,12,tt[pt[n*16+10]],tt[pt[n*16+11]]),kr(2,7,8,13,tt[pt[n*16+12]],tt[pt[n*16+13]]),kr(3,4,9,14,tt[pt[n*16+14]],tt[pt[n*16+15]]);for(n=0;n<8;n++)t.h[n]^=ye[n]^ye[n+8]}function a1(t,e){if(!(t>0&&t<=32))throw new Error("Incorrect output length, should be in [1, 32]");const n=e?e.length:0;if(e&&!(n>0&&n<=32))throw new Error("Incorrect key length, should be in [1, 32]");const r={h:new Uint32Array(s1),b:new Uint8Array(64),c:0,t:0,outlen:t};return r.h[0]^=16842752^n<<8^t,n>0&&(Vl(r,e),r.c=64),r}function Vl(t,e){for(let n=0;n<e.length;n++)t.c===64&&(t.t+=t.c,o1(t,!1),t.c=0),t.b[t.c++]=e[n]}function c1(t){for(t.t+=t.c;t.c<64;)t.b[t.c++]=0;o1(t,!0);const e=new Uint8Array(t.outlen);for(let n=0;n<t.outlen;n++)e[n]=t.h[n>>2]>>8*(n&3)&255;return e}function u1(t,e,n){n=n||32,t=i1.normalizeInput(t);const r=a1(n,e);return Vl(r,t),c1(r)}function z7(t,e,n){const r=u1(t,e,n);return i1.toHex(r)}var K7={blake2s:u1,blake2sHex:z7,blake2sInit:a1,blake2sUpdate:Vl,blake2sFinal:c1};const ao=M7,co=K7;var V7={blake2b:ao.blake2b,blake2bHex:ao.blake2bHex,blake2bInit:ao.blake2bInit,blake2bUpdate:ao.blake2bUpdate,blake2bFinal:ao.blake2bFinal,blake2s:co.blake2s,blake2sHex:co.blake2sHex,blake2sInit:co.blake2sInit,blake2sUpdate:co.blake2sUpdate,blake2sFinal:co.blake2sFinal};const H7=":";function _a(t){const[e,n]=t.split(H7);return{namespace:e,reference:n}}function l1(t,e){return t.includes(":")?[t]:e.chains||[]}var G7=Object.defineProperty,W7=Object.defineProperties,Z7=Object.getOwnPropertyDescriptors,f1=Object.getOwnPropertySymbols,Y7=Object.prototype.hasOwnProperty,X7=Object.prototype.propertyIsEnumerable,Hl=(t,e,n)=>e in t?G7(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,h1=(t,e)=>{for(var n in e||(e={}))Y7.call(e,n)&&Hl(t,n,e[n]);if(f1)for(var n of f1(e))X7.call(e,n)&&Hl(t,n,e[n]);return t},J7=(t,e)=>W7(t,Z7(e)),d1=(t,e,n)=>Hl(t,typeof e!="symbol"?e+"":e,n);const Q7="ReactNative",Xt={reactNative:"react-native",node:"node",browser:"browser",unknown:"unknown"},_7="js";function uo(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}function nr(){return!ui()&&!!iu()&&navigator.product===Q7}function p1(){return nr()&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"&&(global==null?void 0:global.Platform.OS)==="android"}function g1(){return nr()&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"&&(global==null?void 0:global.Platform.OS)==="ios"}function vi(){return!uo()&&!!iu()&&!!ui()}function lo(){return nr()?Xt.reactNative:uo()?Xt.node:vi()?Xt.browser:Xt.unknown}function Gl(){var t;try{return nr()&&typeof global<"u"&&typeof(global==null?void 0:global.Application)<"u"?(t=global.Application)==null?void 0:t.applicationId:void 0}catch{return}}function $7(t,e){const n=new URLSearchParams(t);return Object.entries(e).sort(([r],[i])=>r.localeCompare(i)).forEach(([r,i])=>{i!=null&&n.set(r,String(i))}),n.toString()}function eI(t){var e,n;const r=b1();try{return t!=null&&t.url&&r.url&&new URL(t.url).host!==new URL(r.url).host&&(console.warn(`The configured WalletConnect 'metadata.url':${t.url} differs from the actual page url:${r.url}. This is probably unintended and can lead to issues.`),t.url=r.url),(e=t?.icons)!=null&&e.length&&t.icons.length>0&&(t.icons=t.icons.filter(i=>i!=="")),J7(h1(h1({},r),t),{url:t?.url||r.url,name:t?.name||r.name,description:t?.description||r.description,icons:(n=t?.icons)!=null&&n.length&&t.icons.length>0?t.icons:r.icons})}catch(i){return console.warn("Error populating app metadata",i),t||r}}function b1(){return vd()||{name:"",description:"",url:"",icons:[""]}}function tI(){if(lo()===Xt.reactNative&&typeof global<"u"&&typeof(global==null?void 0:global.Platform)<"u"){const{OS:n,Version:r}=global.Platform;return[n,r].join("-")}const t=I2();if(t===null)return"unknown";const e=t.os?t.os.replace(" ","").toLowerCase():"unknown";return t.type==="browser"?[e,t.name,t.version].join("-"):[e,t.version].join("-")}function nI(){var t;const e=lo();return e===Xt.browser?[e,((t=md())==null?void 0:t.host)||"unknown"].join(":"):e}function w1(t,e,n){const r=tI(),i=nI();return[[t,e].join("-"),[_7,n].join("-"),r,i].join("/")}function rI({protocol:t,version:e,relayUrl:n,sdkVersion:r,auth:i,projectId:s,useOnCloseEvent:o,bundleId:a,packageName:c}){const u=n.split("?"),l=w1(t,e,r),f={auth:i,ua:l,projectId:s,useOnCloseEvent:o||void 0,packageName:c||void 0,bundleId:a||void 0},d=$7(u[1]||"",f);return u[0]+"?"+d}function Ei(t,e){return t.filter(n=>e.includes(n)).length===t.length}function Wl(t){return Object.fromEntries(t.entries())}function Zl(t){return new Map(Object.entries(t))}function xi(t=J.FIVE_MINUTES,e){const n=J.toMiliseconds(t||J.FIVE_MINUTES);let r,i,s,o;return{resolve:a=>{s&&r&&(clearTimeout(s),r(a),o=Promise.resolve(a))},reject:a=>{s&&i&&(clearTimeout(s),i(a))},done:()=>new Promise((a,c)=>{if(o)return a(o);s=setTimeout(()=>{const u=new Error(e);o=Promise.reject(u),c(u)},n),r=a,i=c})}}function Tn(t,e,n){return new Promise(async(r,i)=>{const s=setTimeout(()=>i(new Error(n)),e);try{const o=await t;r(o)}catch(o){i(o)}clearTimeout(s)})}function y1(t,e){if(typeof e=="string"&&e.startsWith(`${t}:`))return e;if(t.toLowerCase()==="topic"){if(typeof e!="string")throw new Error('Value must be "string" for expirer target type: topic');return`topic:${e}`}else if(t.toLowerCase()==="id"){if(typeof e!="number")throw new Error('Value must be "number" for expirer target type: id');return`id:${e}`}throw new Error(`Unknown expirer target type: ${t}`)}function iI(t){return y1("topic",t)}function sI(t){return y1("id",t)}function m1(t){const[e,n]=t.split(":"),r={id:void 0,topic:void 0};if(e==="topic"&&typeof n=="string")r.topic=n;else if(e==="id"&&Number.isInteger(Number(n)))r.id=Number(n);else throw new Error(`Invalid target, expected id:number or topic:string, got ${e}:${n}`);return r}function Ve(t,e){return J.fromMiliseconds((e||Date.now())+J.toMiliseconds(t))}function Lr(t){return Date.now()>=J.toMiliseconds(t)}function Ee(t,e){return`${t}${e?`:${e}`:""}`}function Ii(t=[],e=[]){return[...new Set([...t,...e])]}async function oI({id:t,topic:e,wcDeepLink:n}){var r;try{if(!n)return;const i=typeof n=="string"?JSON.parse(n):n,s=i?.href;if(typeof s!="string")return;const o=aI(s,t,e),a=lo();if(a===Xt.browser){if(!((r=ui())!=null&&r.hasFocus())){console.warn("Document does not have focus, skipping deeplink.");return}cI(o)}else a===Xt.reactNative&&typeof(global==null?void 0:global.Linking)<"u"&&await global.Linking.openURL(o)}catch(i){console.error(i)}}function aI(t,e,n){const r=`requestId=${e}&sessionTopic=${n}`;t.endsWith("/")&&(t=t.slice(0,-1));let i=`${t}`;if(t.startsWith("https://t.me")){const s=t.includes("?")?"&startapp=":"?startapp=";i=`${i}${s}${hI(r,!0)}`}else i=`${i}/wc?${r}`;return i}function cI(t){let e="_self";fI()?e="_top":(lI()||t.startsWith("https://")||t.startsWith("http://"))&&(e="_blank"),window.open(t,e,"noreferrer noopener")}async function uI(t,e){let n="";try{if(vi()&&(n=localStorage.getItem(e),n))return n;n=await t.getItem(e)}catch(r){console.error(r)}return n}function v1(t,e){if(!t.includes(e))return null;const n=t.split(/([&,?,=])/),r=n.indexOf(e);return n[r+2]}function E1(){return typeof crypto<"u"&&crypto!=null&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/gu,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}function Yl(){return typeof process<"u"&&process.env.IS_VITEST==="true"}function lI(){return typeof window<"u"&&(!!window.TelegramWebviewProxy||!!window.Telegram||!!window.TelegramWebviewProxyProto)}function fI(){try{return window.self!==window.top}catch{return!1}}function hI(t,e=!1){const n=Buffer.from(t).toString("base64");return e?n.replace(/[=]/g,""):n}function x1(t){return Buffer.from(t,"base64").toString("utf-8")}function dI(t){return new Promise(e=>setTimeout(e,t))}class pI{constructor({limit:e}){d1(this,"limit"),d1(this,"set"),this.limit=e,this.set=new Set}add(e){if(!this.set.has(e)){if(this.set.size>=this.limit){const n=this.set.values().next().value;n&&this.set.delete(n)}this.set.add(e)}}has(e){return this.set.has(e)}}const $a=BigInt(2**32-1),I1=BigInt(32);function S1(t,e=!1){return e?{h:Number(t&$a),l:Number(t>>I1&$a)}:{h:Number(t>>I1&$a)|0,l:Number(t&$a)|0}}function B1(t,e=!1){const n=t.length;let r=new Uint32Array(n),i=new Uint32Array(n);for(let s=0;s<n;s++){const{h:o,l:a}=S1(t[s],e);[r[s],i[s]]=[o,a]}return[r,i]}const O1=(t,e,n)=>t>>>n,A1=(t,e,n)=>t<<32-n|e>>>n,Mr=(t,e,n)=>t>>>n|e<<32-n,jr=(t,e,n)=>t<<32-n|e>>>n,fo=(t,e,n)=>t<<64-n|e>>>n-32,ho=(t,e,n)=>t>>>n-32|e<<64-n,gI=(t,e)=>e,bI=(t,e)=>t,wI=(t,e,n)=>t<<n|e>>>32-n,yI=(t,e,n)=>e<<n|t>>>32-n,mI=(t,e,n)=>e<<n-32|t>>>64-n,vI=(t,e,n)=>t<<n-32|e>>>64-n;function wn(t,e,n,r){const i=(e>>>0)+(r>>>0);return{h:t+n+(i/2**32|0)|0,l:i|0}}const Xl=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),Jl=(t,e,n,r)=>e+n+r+(t/2**32|0)|0,EI=(t,e,n,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0),xI=(t,e,n,r,i)=>e+n+r+i+(t/2**32|0)|0,II=(t,e,n,r,i)=>(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0),SI=(t,e,n,r,i,s)=>e+n+r+i+s+(t/2**32|0)|0,ls=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;function ec(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function rr(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function yn(t,...e){if(!ec(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function tc(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");rr(t.outputLen),rr(t.blockLen)}function zr(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Ql(t,e){yn(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function po(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function on(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function _l(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Nn(t,e){return t<<32-e|t>>>e}const P1=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function D1(t){return t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255}const ir=P1?t=>t:t=>D1(t);function BI(t){for(let e=0;e<t.length;e++)t[e]=D1(t[e]);return t}const Kr=P1?t=>t:BI,R1=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",OI=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function fs(t){if(yn(t),R1)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=OI[t[n]];return e}const sr={_0:48,_9:57,A:65,F:70,a:97,f:102};function T1(t){if(t>=sr._0&&t<=sr._9)return t-sr._0;if(t>=sr.A&&t<=sr.F)return t-(sr.A-10);if(t>=sr.a&&t<=sr.f)return t-(sr.a-10)}function nc(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);if(R1)return Uint8Array.fromHex(t);const e=t.length,n=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(n);for(let i=0,s=0;i<n;i++,s+=2){const o=T1(t.charCodeAt(s)),a=T1(t.charCodeAt(s+1));if(o===void 0||a===void 0){const c=t[s]+t[s+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+s)}r[i]=o*16+a}return r}function N1(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function mn(t){return typeof t=="string"&&(t=N1(t)),yn(t),t}function Vr(...t){let e=0;for(let r=0;r<t.length;r++){const i=t[r];yn(i),e+=i.length}const n=new Uint8Array(e);for(let r=0,i=0;r<t.length;r++){const s=t[r];n.set(s,i),i+=s.length}return n}class rc{}function go(t){const e=r=>t().update(mn(r)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}function AI(t){const e=(r,i)=>t(i).update(mn(r)).digest(),n=t({});return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=r=>t(r),e}function Si(t=32){if(ls&&typeof ls.getRandomValues=="function")return ls.getRandomValues(new Uint8Array(t));if(ls&&typeof ls.randomBytes=="function")return Uint8Array.from(ls.randomBytes(t));throw new Error("crypto.getRandomValues must be defined")}const PI=BigInt(0),bo=BigInt(1),DI=BigInt(2),RI=BigInt(7),TI=BigInt(256),NI=BigInt(113),U1=[],C1=[],F1=[];for(let t=0,e=bo,n=1,r=0;t<24;t++){[n,r]=[r,(2*n+3*r)%5],U1.push(2*(5*r+n)),C1.push((t+1)*(t+2)/2%64);let i=PI;for(let s=0;s<7;s++)e=(e<<bo^(e>>RI)*NI)%TI,e&DI&&(i^=bo<<(bo<<BigInt(s))-bo);F1.push(i)}const q1=B1(F1,!0),UI=q1[0],CI=q1[1],k1=(t,e,n)=>n>32?mI(t,e,n):wI(t,e,n),L1=(t,e,n)=>n>32?vI(t,e,n):yI(t,e,n);function FI(t,e=24){const n=new Uint32Array(10);for(let r=24-e;r<24;r++){for(let o=0;o<10;o++)n[o]=t[o]^t[o+10]^t[o+20]^t[o+30]^t[o+40];for(let o=0;o<10;o+=2){const a=(o+8)%10,c=(o+2)%10,u=n[c],l=n[c+1],f=k1(u,l,1)^n[a],d=L1(u,l,1)^n[a+1];for(let h=0;h<50;h+=10)t[o+h]^=f,t[o+h+1]^=d}let i=t[2],s=t[3];for(let o=0;o<24;o++){const a=C1[o],c=k1(i,s,a),u=L1(i,s,a),l=U1[o];i=t[l],s=t[l+1],t[l]=c,t[l+1]=u}for(let o=0;o<50;o+=10){for(let a=0;a<10;a++)n[a]=t[o+a];for(let a=0;a<10;a++)t[o+a]^=~n[(a+2)%10]&n[(a+4)%10]}t[0]^=UI[r],t[1]^=CI[r]}on(n)}class $l extends rc{constructor(e,n,r,i=!1,s=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=e,this.suffix=n,this.outputLen=r,this.enableXOF=i,this.rounds=s,rr(r),!(0<e&&e<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=po(this.state)}clone(){return this._cloneInto()}keccak(){Kr(this.state32),FI(this.state32,this.rounds),Kr(this.state32),this.posOut=0,this.pos=0}update(e){zr(this),e=mn(e),yn(e);const{blockLen:n,state:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(n-this.pos,i-s);for(let a=0;a<o;a++)r[this.pos++]^=e[s++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:e,suffix:n,pos:r,blockLen:i}=this;e[r]^=n,(n&128)!==0&&r===i-1&&this.keccak(),e[i-1]^=128,this.keccak()}writeInto(e){zr(this,!1),yn(e),this.finish();const n=this.state,{blockLen:r}=this;for(let i=0,s=e.length;i<s;){this.posOut>=r&&this.keccak();const o=Math.min(r-this.posOut,s-i);e.set(n.subarray(this.posOut,this.posOut+o),i),this.posOut+=o,i+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return rr(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(Ql(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,on(this.state)}_cloneInto(e){const{blockLen:n,suffix:r,outputLen:i,rounds:s,enableXOF:o}=this;return e||(e=new $l(n,r,i,o,s)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=s,e.suffix=r,e.outputLen=i,e.enableXOF=o,e.destroyed=this.destroyed,e}}const qI=(t,e,n)=>go(()=>new $l(e,t,n)),kI=qI(1,136,256/8);function LI(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function MI(t,e,n){return t&e^~t&n}function jI(t,e,n){return t&e^t&n^e&n}class M1 extends rc{constructor(e,n,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=n,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=_l(this.buffer)}update(e){zr(this),e=mn(e),yn(e);const{view:n,buffer:r,blockLen:i}=this,s=e.length;for(let o=0;o<s;){const a=Math.min(i-this.pos,s-o);if(a===i){const c=_l(e);for(;i<=s-o;o+=i)this.process(c,o);continue}r.set(e.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===i&&(this.process(n,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){zr(this),Ql(e,this),this.finished=!0;const{buffer:n,view:r,blockLen:i,isLE:s}=this;let{pos:o}=this;n[o++]=128,on(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(r,0),o=0);for(let f=o;f<i;f++)n[f]=0;LI(r,i-8,BigInt(this.length*8),s),this.process(r,0);const a=_l(e),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=c/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<u;f++)a.setUint32(4*f,l[f],s)}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:n,buffer:r,length:i,finished:s,destroyed:o,pos:a}=this;return e.destroyed=o,e.finished=s,e.length=i,e.pos=a,i%n&&e.buffer.set(r),e}clone(){return this._cloneInto()}}const Hr=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),gt=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),bt=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]),zI=Uint32Array.from([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]),Gr=new Uint32Array(64);class KI extends M1{constructor(e=32){super(64,e,8,!1),this.A=Hr[0]|0,this.B=Hr[1]|0,this.C=Hr[2]|0,this.D=Hr[3]|0,this.E=Hr[4]|0,this.F=Hr[5]|0,this.G=Hr[6]|0,this.H=Hr[7]|0}get(){const{A:e,B:n,C:r,D:i,E:s,F:o,G:a,H:c}=this;return[e,n,r,i,s,o,a,c]}set(e,n,r,i,s,o,a,c){this.A=e|0,this.B=n|0,this.C=r|0,this.D=i|0,this.E=s|0,this.F=o|0,this.G=a|0,this.H=c|0}process(e,n){for(let f=0;f<16;f++,n+=4)Gr[f]=e.getUint32(n,!1);for(let f=16;f<64;f++){const d=Gr[f-15],h=Gr[f-2],p=Nn(d,7)^Nn(d,18)^d>>>3,w=Nn(h,17)^Nn(h,19)^h>>>10;Gr[f]=w+Gr[f-7]+p+Gr[f-16]|0}let{A:r,B:i,C:s,D:o,E:a,F:c,G:u,H:l}=this;for(let f=0;f<64;f++){const d=Nn(a,6)^Nn(a,11)^Nn(a,25),h=l+d+MI(a,c,u)+zI[f]+Gr[f]|0,p=(Nn(r,2)^Nn(r,13)^Nn(r,22))+jI(r,i,s)|0;l=u,u=c,c=a,a=o+h|0,o=s,s=i,i=r,r=h+p|0}r=r+this.A|0,i=i+this.B|0,s=s+this.C|0,o=o+this.D|0,a=a+this.E|0,c=c+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,i,s,o,a,c,u,l)}roundClean(){on(Gr)}destroy(){this.set(0,0,0,0,0,0,0,0),on(this.buffer)}}const j1=B1(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),VI=j1[0],HI=j1[1],Wr=new Uint32Array(80),Zr=new Uint32Array(80);class ef extends M1{constructor(e=64){super(128,e,16,!1),this.Ah=bt[0]|0,this.Al=bt[1]|0,this.Bh=bt[2]|0,this.Bl=bt[3]|0,this.Ch=bt[4]|0,this.Cl=bt[5]|0,this.Dh=bt[6]|0,this.Dl=bt[7]|0,this.Eh=bt[8]|0,this.El=bt[9]|0,this.Fh=bt[10]|0,this.Fl=bt[11]|0,this.Gh=bt[12]|0,this.Gl=bt[13]|0,this.Hh=bt[14]|0,this.Hl=bt[15]|0}get(){const{Ah:e,Al:n,Bh:r,Bl:i,Ch:s,Cl:o,Dh:a,Dl:c,Eh:u,El:l,Fh:f,Fl:d,Gh:h,Gl:p,Hh:w,Hl:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m){this.Ah=e|0,this.Al=n|0,this.Bh=r|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=c|0,this.Eh=u|0,this.El=l|0,this.Fh=f|0,this.Fl=d|0,this.Gh=h|0,this.Gl=p|0,this.Hh=w|0,this.Hl=m|0}process(e,n){for(let I=0;I<16;I++,n+=4)Wr[I]=e.getUint32(n),Zr[I]=e.getUint32(n+=4);for(let I=16;I<80;I++){const x=Wr[I-15]|0,S=Zr[I-15]|0,U=Mr(x,S,1)^Mr(x,S,8)^O1(x,S,7),k=jr(x,S,1)^jr(x,S,8)^A1(x,S,7),F=Wr[I-2]|0,R=Zr[I-2]|0,G=Mr(F,R,19)^fo(F,R,61)^O1(F,R,6),H=jr(F,R,19)^ho(F,R,61)^A1(F,R,6),E=EI(k,H,Zr[I-7],Zr[I-16]),b=xI(E,U,G,Wr[I-7],Wr[I-16]);Wr[I]=b|0,Zr[I]=E|0}let{Ah:r,Al:i,Bh:s,Bl:o,Ch:a,Cl:c,Dh:u,Dl:l,Eh:f,El:d,Fh:h,Fl:p,Gh:w,Gl:m,Hh:P,Hl:T}=this;for(let I=0;I<80;I++){const x=Mr(f,d,14)^Mr(f,d,18)^fo(f,d,41),S=jr(f,d,14)^jr(f,d,18)^ho(f,d,41),U=f&h^~f&w,k=d&p^~d&m,F=II(T,S,k,HI[I],Zr[I]),R=SI(F,P,x,U,VI[I],Wr[I]),G=F|0,H=Mr(r,i,28)^fo(r,i,34)^fo(r,i,39),E=jr(r,i,28)^ho(r,i,34)^ho(r,i,39),b=r&s^r&a^s&a,v=i&o^i&c^o&c;P=w|0,T=m|0,w=h|0,m=p|0,h=f|0,p=d|0,{h:f,l:d}=wn(u|0,l|0,R|0,G|0),u=a|0,l=c|0,a=s|0,c=o|0,s=r|0,o=i|0;const g=Xl(G,E,v);r=Jl(g,R,H,b),i=g|0}({h:r,l:i}=wn(this.Ah|0,this.Al|0,r|0,i|0)),{h:s,l:o}=wn(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l:c}=wn(this.Ch|0,this.Cl|0,a|0,c|0),{h:u,l}=wn(this.Dh|0,this.Dl|0,u|0,l|0),{h:f,l:d}=wn(this.Eh|0,this.El|0,f|0,d|0),{h,l:p}=wn(this.Fh|0,this.Fl|0,h|0,p|0),{h:w,l:m}=wn(this.Gh|0,this.Gl|0,w|0,m|0),{h:P,l:T}=wn(this.Hh|0,this.Hl|0,P|0,T|0),this.set(r,i,s,o,a,c,u,l,f,d,h,p,w,m,P,T)}roundClean(){on(Wr,Zr)}destroy(){on(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class GI extends ef{constructor(){super(48),this.Ah=gt[0]|0,this.Al=gt[1]|0,this.Bh=gt[2]|0,this.Bl=gt[3]|0,this.Ch=gt[4]|0,this.Cl=gt[5]|0,this.Dh=gt[6]|0,this.Dl=gt[7]|0,this.Eh=gt[8]|0,this.El=gt[9]|0,this.Fh=gt[10]|0,this.Fl=gt[11]|0,this.Gh=gt[12]|0,this.Gl=gt[13]|0,this.Hh=gt[14]|0,this.Hl=gt[15]|0}}const wt=Uint32Array.from([573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882]);class WI extends ef{constructor(){super(32),this.Ah=wt[0]|0,this.Al=wt[1]|0,this.Bh=wt[2]|0,this.Bl=wt[3]|0,this.Ch=wt[4]|0,this.Cl=wt[5]|0,this.Dh=wt[6]|0,this.Dl=wt[7]|0,this.Eh=wt[8]|0,this.El=wt[9]|0,this.Fh=wt[10]|0,this.Fl=wt[11]|0,this.Gh=wt[12]|0,this.Gl=wt[13]|0,this.Hh=wt[14]|0,this.Hl=wt[15]|0}}const ic=go(()=>new KI),ZI=go(()=>new ef),YI=go(()=>new GI),XI=go(()=>new WI),JI=Uint8Array.from([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9]),He=Uint32Array.from([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),ne=new Uint32Array(32);function Yr(t,e,n,r,i,s){const o=i[s],a=i[s+1];let c=ne[2*t],u=ne[2*t+1],l=ne[2*e],f=ne[2*e+1],d=ne[2*n],h=ne[2*n+1],p=ne[2*r],w=ne[2*r+1],m=Xl(c,l,o);u=Jl(m,u,f,a),c=m|0,{Dh:w,Dl:p}={Dh:w^u,Dl:p^c},{Dh:w,Dl:p}={Dh:gI(w,p),Dl:bI(w)},{h,l:d}=wn(h,d,w,p),{Bh:f,Bl:l}={Bh:f^h,Bl:l^d},{Bh:f,Bl:l}={Bh:Mr(f,l,24),Bl:jr(f,l,24)},ne[2*t]=c,ne[2*t+1]=u,ne[2*e]=l,ne[2*e+1]=f,ne[2*n]=d,ne[2*n+1]=h,ne[2*r]=p,ne[2*r+1]=w}function Xr(t,e,n,r,i,s){const o=i[s],a=i[s+1];let c=ne[2*t],u=ne[2*t+1],l=ne[2*e],f=ne[2*e+1],d=ne[2*n],h=ne[2*n+1],p=ne[2*r],w=ne[2*r+1],m=Xl(c,l,o);u=Jl(m,u,f,a),c=m|0,{Dh:w,Dl:p}={Dh:w^u,Dl:p^c},{Dh:w,Dl:p}={Dh:Mr(w,p,16),Dl:jr(w,p,16)},{h,l:d}=wn(h,d,w,p),{Bh:f,Bl:l}={Bh:f^h,Bl:l^d},{Bh:f,Bl:l}={Bh:fo(f,l,63),Bl:ho(f,l,63)},ne[2*t]=c,ne[2*t+1]=u,ne[2*e]=l,ne[2*e+1]=f,ne[2*n]=d,ne[2*n+1]=h,ne[2*r]=p,ne[2*r+1]=w}function QI(t,e={},n,r,i){if(rr(n),t<0||t>n)throw new Error("outputLen bigger than keyLen");const{key:s,salt:o,personalization:a}=e;if(s!==void 0&&(s.length<1||s.length>n))throw new Error("key length must be undefined or 1.."+n);if(o!==void 0&&o.length!==r)throw new Error("salt must be undefined or "+r);if(a!==void 0&&a.length!==i)throw new Error("personalization must be undefined or "+i)}class _I extends rc{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,this.length=0,this.pos=0,rr(e),rr(n),this.blockLen=e,this.outputLen=n,this.buffer=new Uint8Array(e),this.buffer32=po(this.buffer)}update(e){zr(this),e=mn(e),yn(e);const{blockLen:n,buffer:r,buffer32:i}=this,s=e.length,o=e.byteOffset,a=e.buffer;for(let c=0;c<s;){this.pos===n&&(Kr(i),this.compress(i,0,!1),Kr(i),this.pos=0);const u=Math.min(n-this.pos,s-c),l=o+c;if(u===n&&!(l%4)&&c+u<s){const f=new Uint32Array(a,l,Math.floor((s-c)/4));Kr(f);for(let d=0;c+n<s;d+=i.length,c+=n)this.length+=n,this.compress(f,d,!1);Kr(f);continue}r.set(e.subarray(c,c+u),this.pos),this.pos+=u,this.length+=u,c+=u}return this}digestInto(e){zr(this),Ql(e,this);const{pos:n,buffer32:r}=this;this.finished=!0,on(this.buffer.subarray(n)),Kr(r),this.compress(r,0,!0),Kr(r);const i=po(e);this.get().forEach((s,o)=>i[o]=ir(s))}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}_cloneInto(e){const{buffer:n,length:r,finished:i,destroyed:s,outputLen:o,pos:a}=this;return e||(e=new this.constructor({dkLen:o})),e.set(...this.get()),e.buffer.set(n),e.destroyed=s,e.finished=i,e.length=r,e.pos=a,e.outputLen=o,e}clone(){return this._cloneInto()}}class $I extends _I{constructor(e={}){const n=e.dkLen===void 0?64:e.dkLen;super(128,n),this.v0l=He[0]|0,this.v0h=He[1]|0,this.v1l=He[2]|0,this.v1h=He[3]|0,this.v2l=He[4]|0,this.v2h=He[5]|0,this.v3l=He[6]|0,this.v3h=He[7]|0,this.v4l=He[8]|0,this.v4h=He[9]|0,this.v5l=He[10]|0,this.v5h=He[11]|0,this.v6l=He[12]|0,this.v6h=He[13]|0,this.v7l=He[14]|0,this.v7h=He[15]|0,QI(n,e,64,16,16);let{key:r,personalization:i,salt:s}=e,o=0;if(r!==void 0&&(r=mn(r),o=r.length),this.v0l^=this.outputLen|o<<8|65536|1<<24,s!==void 0){s=mn(s);const a=po(s);this.v4l^=ir(a[0]),this.v4h^=ir(a[1]),this.v5l^=ir(a[2]),this.v5h^=ir(a[3])}if(i!==void 0){i=mn(i);const a=po(i);this.v6l^=ir(a[0]),this.v6h^=ir(a[1]),this.v7l^=ir(a[2]),this.v7h^=ir(a[3])}if(r!==void 0){const a=new Uint8Array(this.blockLen);a.set(r),this.update(a)}}get(){let{v0l:e,v0h:n,v1l:r,v1h:i,v2l:s,v2h:o,v3l:a,v3h:c,v4l:u,v4h:l,v5l:f,v5h:d,v6l:h,v6h:p,v7l:w,v7h:m}=this;return[e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m]}set(e,n,r,i,s,o,a,c,u,l,f,d,h,p,w,m){this.v0l=e|0,this.v0h=n|0,this.v1l=r|0,this.v1h=i|0,this.v2l=s|0,this.v2h=o|0,this.v3l=a|0,this.v3h=c|0,this.v4l=u|0,this.v4h=l|0,this.v5l=f|0,this.v5h=d|0,this.v6l=h|0,this.v6h=p|0,this.v7l=w|0,this.v7h=m|0}compress(e,n,r){this.get().forEach((c,u)=>ne[u]=c),ne.set(He,16);let{h:i,l:s}=S1(BigInt(this.length));ne[24]=He[8]^s,ne[25]=He[9]^i,r&&(ne[28]=~ne[28],ne[29]=~ne[29]);let o=0;const a=JI;for(let c=0;c<12;c++)Yr(0,4,8,12,e,n+2*a[o++]),Xr(0,4,8,12,e,n+2*a[o++]),Yr(1,5,9,13,e,n+2*a[o++]),Xr(1,5,9,13,e,n+2*a[o++]),Yr(2,6,10,14,e,n+2*a[o++]),Xr(2,6,10,14,e,n+2*a[o++]),Yr(3,7,11,15,e,n+2*a[o++]),Xr(3,7,11,15,e,n+2*a[o++]),Yr(0,5,10,15,e,n+2*a[o++]),Xr(0,5,10,15,e,n+2*a[o++]),Yr(1,6,11,12,e,n+2*a[o++]),Xr(1,6,11,12,e,n+2*a[o++]),Yr(2,7,8,13,e,n+2*a[o++]),Xr(2,7,8,13,e,n+2*a[o++]),Yr(3,4,9,14,e,n+2*a[o++]),Xr(3,4,9,14,e,n+2*a[o++]);this.v0l^=ne[0]^ne[16],this.v0h^=ne[1]^ne[17],this.v1l^=ne[2]^ne[18],this.v1h^=ne[3]^ne[19],this.v2l^=ne[4]^ne[20],this.v2h^=ne[5]^ne[21],this.v3l^=ne[6]^ne[22],this.v3h^=ne[7]^ne[23],this.v4l^=ne[8]^ne[24],this.v4h^=ne[9]^ne[25],this.v5l^=ne[10]^ne[26],this.v5h^=ne[11]^ne[27],this.v6l^=ne[12]^ne[28],this.v6h^=ne[13]^ne[29],this.v7l^=ne[14]^ne[30],this.v7h^=ne[15]^ne[31],on(ne)}destroy(){this.destroyed=!0,on(this.buffer32),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const e9=AI(t=>new $I(t)),t9="https://rpc.walletconnect.org/v1";function z1(t){const e=`Ethereum Signed Message:
|
|
19
|
+
${t.length}`,n=new TextEncoder().encode(e+t);return"0x"+Buffer.from(kI(n)).toString("hex")}async function n9(t,e,n,r,i,s){switch(n.t){case"eip191":return await r9(t,e,n.s);case"eip1271":return await i9(t,e,n.s,r,i,s);default:throw new Error(`verifySignature failed: Attempted to verify CacaoSignature with unknown type: ${n.t}`)}}function r9(t,e,n){const r=bE(n);return B8({payload:z1(e),signature:r}).toLowerCase()===t.toLowerCase()}async function i9(t,e,n,r,i,s){const o=_a(r);if(!o.namespace||!o.reference)throw new Error(`isValidEip1271Signature failed: chainId must be in CAIP-2 format, received: ${r}`);try{const a="0x1626ba7e",c="0000000000000000000000000000000000000000000000000000000000000040",u=n.substring(2),l=(u.length/2).toString(16).padStart(64,"0"),f=(e.startsWith("0x")?e:z1(e)).substring(2),d=a+f+c+l+u,h=await fetch(`${s||t9}/?chainId=${r}&projectId=${i}`,{headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify({id:s9(),jsonrpc:"2.0",method:"eth_call",params:[{to:t,data:d},"latest"]})}),{result:p}=await h.json();return p?p.slice(0,a.length).toLowerCase()===a.toLowerCase():!1}catch(a){return console.error("isValidEip1271Signature: ",a),!1}}function s9(){return Date.now()+Math.floor(Math.random()*1e3)}function o9(t){const e=atob(t),n=new Uint8Array(e.length);for(let o=0;o<e.length;o++)n[o]=e.charCodeAt(o);const r=n[0];if(r===0)throw new Error("No signatures found");const i=1+r*64;if(n.length<i)throw new Error("Transaction data too short for claimed signature count");if(n.length<100)throw new Error("Transaction too short");const s=Buffer.from(t,"base64").slice(1,65);return os.encode(s)}function a9(t){const e=new Uint8Array(Buffer.from(t,"base64")),n=Array.from("TransactionData::").map(s=>s.charCodeAt(0)),r=new Uint8Array(n.length+e.length);r.set(n),r.set(e,n.length);const i=e9(r,{dkLen:32});return os.encode(i)}function K1(t){const e=new Uint8Array(ic(c9(t)));return os.encode(e)}function c9(t){if(t instanceof Uint8Array)return t;if(Array.isArray(t))return new Uint8Array(t);if(typeof t=="object"&&t!=null&&t.data)return new Uint8Array(Object.values(t.data));if(typeof t=="object"&&t)return new Uint8Array(Object.values(t));throw new Error("getNearUint8ArrayFromBytes: Unexpected result type from bytes array")}function V1(t){const e=Buffer.from(t,"base64"),n=v6(e).txn;if(!n)throw new Error("Invalid signed transaction: missing 'txn' field");const r=h6(n),i=Buffer.from("TX"),s=Buffer.concat([i,Buffer.from(r)]),o=XI(s);return E8.encode(o).replace(/=+$/,"")}function tf(t){const e=[];let n=BigInt(t);for(;n>=BigInt(128);)e.push(Number(n&BigInt(127)|BigInt(128))),n>>=BigInt(7);return e.push(Number(n)),Buffer.from(e)}function u9(t){const e=Buffer.from(t.signed.bodyBytes,"base64"),n=Buffer.from(t.signed.authInfoBytes,"base64"),r=Buffer.from(t.signature.signature,"base64"),i=[];i.push(Buffer.from([10])),i.push(tf(e.length)),i.push(e),i.push(Buffer.from([18])),i.push(tf(n.length)),i.push(n),i.push(Buffer.from([26])),i.push(tf(r.length)),i.push(r);const s=Buffer.concat(i),o=ic(s);return Buffer.from(o).toString("hex").toUpperCase()}function l9(t){var e,n;const r=[];try{if(typeof t=="string")return r.push(t),r;if(typeof t!="object")return r;t!=null&&t.id&&r.push(t.id);const i=(n=(e=t?.capabilities)==null?void 0:e.caip345)==null?void 0:n.transactionHashes;i&&r.push(...i)}catch(i){console.warn("getWalletSendCallsHashes failed: ",i)}return r}var f9=Object.defineProperty,h9=Object.defineProperties,d9=Object.getOwnPropertyDescriptors,H1=Object.getOwnPropertySymbols,p9=Object.prototype.hasOwnProperty,g9=Object.prototype.propertyIsEnumerable,G1=(t,e,n)=>e in t?f9(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,b9=(t,e)=>{for(var n in e||(e={}))p9.call(e,n)&&G1(t,n,e[n]);if(H1)for(var n of H1(e))g9.call(e,n)&&G1(t,n,e[n]);return t},w9=(t,e)=>h9(t,d9(e));const W1="did:pkh:",y9={eip155:"Ethereum",solana:"Solana",bip122:"Bitcoin"},m9=t=>t?y9[t]||t:"",sc=t=>t?.split(":"),v9=t=>{const e=t&&sc(t);if(e)return t.includes(W1)?e[3]:e[1]},E9=t=>{const e=t&&sc(t);if(e)return t.includes(W1)?e[2]:e[0]},nf=t=>{const e=t&&sc(t);if(e)return e[2]+":"+e[3]},oc=t=>{const e=t&&sc(t);if(e)return e.pop()};async function Z1(t){const{cacao:e,projectId:n}=t,{s:r,p:i}=e,s=Y1(i,i.iss),o=oc(i.iss);return await n9(o,s,r,nf(i.iss),n)}const Y1=(t,e)=>{const n=E9(e);if(!n)throw new Error("Invalid issuer: "+e);const r=`${t.domain} wants you to sign in with your ${m9(n)} account:`,i=oc(e);if(!t.aud&&!t.uri)throw new Error("Either `aud` or `uri` is required to construct the message");let s=t.statement||void 0;const o=`URI: ${t.aud||t.uri}`,a=`Version: ${t.version}`,c=`Chain ID: ${v9(e)}`,u=`Nonce: ${t.nonce}`,l=`Issued At: ${t.iat}`,f=t.exp?`Expiration Time: ${t.exp}`:void 0,d=t.nbf?`Not Before: ${t.nbf}`:void 0,h=t.requestId?`Request ID: ${t.requestId}`:void 0,p=t.resources?`Resources:${t.resources.map(m=>`
|
|
20
|
+
- ${m}`).join("")}`:void 0,w=ac(t.resources);if(w){const m=wo(w);s=R9(s,m)}return[r,i,"",s,"",o,a,c,u,l,f,d,h,p].filter(m=>m!=null).join(`
|
|
21
|
+
`)};function x9(t){return Buffer.from(JSON.stringify(t)).toString("base64")}function I9(t){return JSON.parse(Buffer.from(t,"base64").toString("utf-8"))}function Bi(t){if(!t)throw new Error("No recap provided, value is undefined");if(!t.att)throw new Error("No `att` property found");const e=Object.keys(t.att);if(!(e!=null&&e.length))throw new Error("No resources found in `att` property");e.forEach(n=>{const r=t.att[n];if(Array.isArray(r))throw new Error(`Resource must be an object: ${n}`);if(typeof r!="object")throw new Error(`Resource must be an object: ${n}`);if(!Object.keys(r).length)throw new Error(`Resource object is empty: ${n}`);Object.keys(r).forEach(i=>{const s=r[i];if(!Array.isArray(s))throw new Error(`Ability limits ${i} must be an array of objects, found: ${s}`);if(!s.length)throw new Error(`Value of ${i} is empty array, must be an array with objects`);s.forEach(o=>{if(typeof o!="object")throw new Error(`Ability limits (${i}) must be an array of objects, found: ${o}`)})})})}function S9(t,e,n,r={}){return n?.sort((i,s)=>i.localeCompare(s)),{att:{[t]:B9(e,n,r)}}}function B9(t,e,n={}){e=e?.sort((i,s)=>i.localeCompare(s));const r=e.map(i=>({[`${t}/${i}`]:[n]}));return Object.assign({},...r)}function X1(t){return Bi(t),`urn:recap:${x9(t).replace(/=/g,"")}`}function wo(t){const e=I9(t.replace("urn:recap:",""));return Bi(e),e}function O9(t,e,n){const r=S9(t,e,n);return X1(r)}function A9(t){return t&&t.includes("urn:recap:")}function P9(t,e){const n=wo(t),r=wo(e),i=D9(n,r);return X1(i)}function D9(t,e){Bi(t),Bi(e);const n=Object.keys(t.att).concat(Object.keys(e.att)).sort((i,s)=>i.localeCompare(s)),r={att:{}};return n.forEach(i=>{var s,o;Object.keys(((s=t.att)==null?void 0:s[i])||{}).concat(Object.keys(((o=e.att)==null?void 0:o[i])||{})).sort((a,c)=>a.localeCompare(c)).forEach(a=>{var c,u;r.att[i]=w9(b9({},r.att[i]),{[a]:((c=t.att[i])==null?void 0:c[a])||((u=e.att[i])==null?void 0:u[a])})})}),r}function R9(t="",e){Bi(e);const n="I further authorize the stated URI to perform the following actions on my behalf: ";if(t.includes(n))return t;const r=[];let i=0;Object.keys(e.att).forEach(a=>{const c=Object.keys(e.att[a]).map(f=>({ability:f.split("/")[0],action:f.split("/")[1]}));c.sort((f,d)=>f.action.localeCompare(d.action));const u={};c.forEach(f=>{u[f.ability]||(u[f.ability]=[]),u[f.ability].push(f.action)});const l=Object.keys(u).map(f=>(i++,`(${i}) '${f}': '${u[f].join("', '")}' for '${a}'.`));r.push(l.join(", ").replace(".,","."))});const s=r.join(" "),o=`${n}${s}`;return`${t?t+" ":""}${o}`}function J1(t){var e;const n=wo(t);Bi(n);const r=(e=n.att)==null?void 0:e.eip155;return r?Object.keys(r).map(i=>i.split("/")[1]):[]}function Q1(t){const e=wo(t);Bi(e);const n=[];return Object.values(e.att).forEach(r=>{Object.values(r).forEach(i=>{var s;(s=i?.[0])!=null&&s.chains&&n.push(i[0].chains)})}),[...new Set(n.flat())]}function ac(t){if(!t)return;const e=t?.[t.length-1];return A9(e)?e:void 0}/*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) */function _1(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function rf(t){if(typeof t!="boolean")throw new Error(`boolean expected, not ${t}`)}function sf(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("positive integer expected, got "+t)}function kt(t,...e){if(!_1(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error("Uint8Array expected of length "+e+", got length="+t.length)}function $1(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function T9(t,e){kt(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function Jr(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))}function hs(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function N9(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}const U9=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function C9(t){if(typeof t!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}function of(t){if(typeof t=="string")t=C9(t);else if(_1(t))t=af(t);else throw new Error("Uint8Array expected, got "+typeof t);return t}function F9(t,e){if(e==null||typeof e!="object")throw new Error("options must be defined");return Object.assign(t,e)}function q9(t,e){if(t.length!==e.length)return!1;let n=0;for(let r=0;r<t.length;r++)n|=t[r]^e[r];return n===0}const k9=(t,e)=>{function n(r,...i){if(kt(r),!U9)throw new Error("Non little-endian hardware is not yet supported");if(t.nonceLength!==void 0){const u=i[0];if(!u)throw new Error("nonce / iv required");t.varSizeNonce?kt(u):kt(u,t.nonceLength)}const s=t.tagLength;s&&i[1]!==void 0&&kt(i[1]);const o=e(r,...i),a=(u,l)=>{if(l!==void 0){if(u!==2)throw new Error("cipher output not supported");kt(l)}};let c=!1;return{encrypt(u,l){if(c)throw new Error("cannot encrypt() twice with same key + nonce");return c=!0,kt(u),a(o.encrypt.length,l),o.encrypt(u,l)},decrypt(u,l){if(kt(u),s&&u.length<s)throw new Error("invalid ciphertext length: smaller than tagLength="+s);return a(o.decrypt.length,l),o.decrypt(u,l)}}}return Object.assign(n,t),n};function eb(t,e,n=!0){if(e===void 0)return new Uint8Array(t);if(e.length!==t)throw new Error("invalid output length, expected "+t+", got: "+e.length);if(n&&!M9(e))throw new Error("invalid output, must be aligned");return e}function tb(t,e,n,r){if(typeof t.setBigUint64=="function")return t.setBigUint64(e,n,r);const i=BigInt(32),s=BigInt(4294967295),o=Number(n>>i&s),a=Number(n&s),c=r?4:0,u=r?0:4;t.setUint32(e+c,o,r),t.setUint32(e+u,a,r)}function L9(t,e,n){rf(n);const r=new Uint8Array(16),i=N9(r);return tb(i,0,BigInt(e),n),tb(i,8,BigInt(t),n),r}function M9(t){return t.byteOffset%4===0}function af(t){return Uint8Array.from(t)}const nb=t=>Uint8Array.from(t.split("").map(e=>e.charCodeAt(0))),j9=nb("expand 16-byte k"),z9=nb("expand 32-byte k"),K9=Jr(j9),V9=Jr(z9);function me(t,e){return t<<e|t>>>32-e}function cf(t){return t.byteOffset%4===0}const cc=64,H9=16,rb=2**32-1,ib=new Uint32Array;function G9(t,e,n,r,i,s,o,a){const c=i.length,u=new Uint8Array(cc),l=Jr(u),f=cf(i)&&cf(s),d=f?Jr(i):ib,h=f?Jr(s):ib;for(let p=0;p<c;o++){if(t(e,n,r,l,o,a),o>=rb)throw new Error("arx: counter overflow");const w=Math.min(cc,c-p);if(f&&w===cc){const m=p/4;if(p%4!==0)throw new Error("arx: invalid block position");for(let P=0,T;P<H9;P++)T=m+P,h[T]=d[T]^l[P];p+=cc;continue}for(let m=0,P;m<w;m++)P=p+m,s[P]=i[P]^u[m];p+=w}}function W9(t,e){const{allowShortKeys:n,extendNonceFn:r,counterLength:i,counterRight:s,rounds:o}=F9({allowShortKeys:!1,counterLength:8,counterRight:!1,rounds:20},e);if(typeof t!="function")throw new Error("core must be a function");return sf(i),sf(o),rf(s),rf(n),(a,c,u,l,f=0)=>{kt(a),kt(c),kt(u);const d=u.length;if(l===void 0&&(l=new Uint8Array(d)),kt(l),sf(f),f<0||f>=rb)throw new Error("arx: counter overflow");if(l.length<d)throw new Error(`arx: output (${l.length}) is shorter than data (${d})`);const h=[];let p=a.length,w,m;if(p===32)h.push(w=af(a)),m=V9;else if(p===16&&n)w=new Uint8Array(32),w.set(a),w.set(a,16),m=K9,h.push(w);else throw new Error(`arx: invalid 32-byte key, got length=${p}`);cf(c)||h.push(c=af(c));const P=Jr(w);if(r){if(c.length!==24)throw new Error("arx: extended nonce must be 24 bytes");r(m,P,Jr(c.subarray(0,16)),P),c=c.subarray(16)}const T=16-i;if(T!==c.length)throw new Error(`arx: nonce must be ${T} or 16 bytes`);if(T!==12){const x=new Uint8Array(12);x.set(c,s?0:12-c.length),c=x,h.push(c)}const I=Jr(c);return G9(t,m,P,I,u,l,f,o),hs(...h),l}}const nt=(t,e)=>t[e++]&255|(t[e++]&255)<<8;class Z9{constructor(e){this.blockLen=16,this.outputLen=16,this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.pos=0,this.finished=!1,e=of(e),kt(e,32);const n=nt(e,0),r=nt(e,2),i=nt(e,4),s=nt(e,6),o=nt(e,8),a=nt(e,10),c=nt(e,12),u=nt(e,14);this.r[0]=n&8191,this.r[1]=(n>>>13|r<<3)&8191,this.r[2]=(r>>>10|i<<6)&7939,this.r[3]=(i>>>7|s<<9)&8191,this.r[4]=(s>>>4|o<<12)&255,this.r[5]=o>>>1&8190,this.r[6]=(o>>>14|a<<2)&8191,this.r[7]=(a>>>11|c<<5)&8065,this.r[8]=(c>>>8|u<<8)&8191,this.r[9]=u>>>5&127;for(let l=0;l<8;l++)this.pad[l]=nt(e,16+2*l)}process(e,n,r=!1){const i=r?0:2048,{h:s,r:o}=this,a=o[0],c=o[1],u=o[2],l=o[3],f=o[4],d=o[5],h=o[6],p=o[7],w=o[8],m=o[9],P=nt(e,n+0),T=nt(e,n+2),I=nt(e,n+4),x=nt(e,n+6),S=nt(e,n+8),U=nt(e,n+10),k=nt(e,n+12),F=nt(e,n+14);let R=s[0]+(P&8191),G=s[1]+((P>>>13|T<<3)&8191),H=s[2]+((T>>>10|I<<6)&8191),E=s[3]+((I>>>7|x<<9)&8191),b=s[4]+((x>>>4|S<<12)&8191),v=s[5]+(S>>>1&8191),g=s[6]+((S>>>14|U<<2)&8191),y=s[7]+((U>>>11|k<<5)&8191),B=s[8]+((k>>>8|F<<8)&8191),A=s[9]+(F>>>5|i),O=0,D=O+R*a+G*(5*m)+H*(5*w)+E*(5*p)+b*(5*h);O=D>>>13,D&=8191,D+=v*(5*d)+g*(5*f)+y*(5*l)+B*(5*u)+A*(5*c),O+=D>>>13,D&=8191;let C=O+R*c+G*a+H*(5*m)+E*(5*w)+b*(5*p);O=C>>>13,C&=8191,C+=v*(5*h)+g*(5*d)+y*(5*f)+B*(5*l)+A*(5*u),O+=C>>>13,C&=8191;let M=O+R*u+G*c+H*a+E*(5*m)+b*(5*w);O=M>>>13,M&=8191,M+=v*(5*p)+g*(5*h)+y*(5*d)+B*(5*f)+A*(5*l),O+=M>>>13,M&=8191;let L=O+R*l+G*u+H*c+E*a+b*(5*m);O=L>>>13,L&=8191,L+=v*(5*w)+g*(5*p)+y*(5*h)+B*(5*d)+A*(5*f),O+=L>>>13,L&=8191;let V=O+R*f+G*l+H*u+E*c+b*a;O=V>>>13,V&=8191,V+=v*(5*m)+g*(5*w)+y*(5*p)+B*(5*h)+A*(5*d),O+=V>>>13,V&=8191;let q=O+R*d+G*f+H*l+E*u+b*c;O=q>>>13,q&=8191,q+=v*a+g*(5*m)+y*(5*w)+B*(5*p)+A*(5*h),O+=q>>>13,q&=8191;let W=O+R*h+G*d+H*f+E*l+b*u;O=W>>>13,W&=8191,W+=v*c+g*a+y*(5*m)+B*(5*w)+A*(5*p),O+=W>>>13,W&=8191;let Z=O+R*p+G*h+H*d+E*f+b*l;O=Z>>>13,Z&=8191,Z+=v*u+g*c+y*a+B*(5*m)+A*(5*w),O+=Z>>>13,Z&=8191;let z=O+R*w+G*p+H*h+E*d+b*f;O=z>>>13,z&=8191,z+=v*l+g*u+y*c+B*a+A*(5*m),O+=z>>>13,z&=8191;let N=O+R*m+G*w+H*p+E*h+b*d;O=N>>>13,N&=8191,N+=v*f+g*l+y*u+B*c+A*a,O+=N>>>13,N&=8191,O=(O<<2)+O|0,O=O+D|0,D=O&8191,O=O>>>13,C+=O,s[0]=D,s[1]=C,s[2]=M,s[3]=L,s[4]=V,s[5]=q,s[6]=W,s[7]=Z,s[8]=z,s[9]=N}finalize(){const{h:e,pad:n}=this,r=new Uint16Array(10);let i=e[1]>>>13;e[1]&=8191;for(let a=2;a<10;a++)e[a]+=i,i=e[a]>>>13,e[a]&=8191;e[0]+=i*5,i=e[0]>>>13,e[0]&=8191,e[1]+=i,i=e[1]>>>13,e[1]&=8191,e[2]+=i,r[0]=e[0]+5,i=r[0]>>>13,r[0]&=8191;for(let a=1;a<10;a++)r[a]=e[a]+i,i=r[a]>>>13,r[a]&=8191;r[9]-=8192;let s=(i^1)-1;for(let a=0;a<10;a++)r[a]&=s;s=~s;for(let a=0;a<10;a++)e[a]=e[a]&s|r[a];e[0]=(e[0]|e[1]<<13)&65535,e[1]=(e[1]>>>3|e[2]<<10)&65535,e[2]=(e[2]>>>6|e[3]<<7)&65535,e[3]=(e[3]>>>9|e[4]<<4)&65535,e[4]=(e[4]>>>12|e[5]<<1|e[6]<<14)&65535,e[5]=(e[6]>>>2|e[7]<<11)&65535,e[6]=(e[7]>>>5|e[8]<<8)&65535,e[7]=(e[8]>>>8|e[9]<<5)&65535;let o=e[0]+n[0];e[0]=o&65535;for(let a=1;a<8;a++)o=(e[a]+n[a]|0)+(o>>>16)|0,e[a]=o&65535;hs(r)}update(e){$1(this),e=of(e),kt(e);const{buffer:n,blockLen:r}=this,i=e.length;for(let s=0;s<i;){const o=Math.min(r-this.pos,i-s);if(o===r){for(;r<=i-s;s+=r)this.process(e,s);continue}n.set(e.subarray(s,s+o),this.pos),this.pos+=o,s+=o,this.pos===r&&(this.process(n,0,!1),this.pos=0)}return this}destroy(){hs(this.h,this.r,this.buffer,this.pad)}digestInto(e){$1(this),T9(e,this),this.finished=!0;const{buffer:n,h:r}=this;let{pos:i}=this;if(i){for(n[i++]=1;i<16;i++)n[i]=0;this.process(n,0,!0)}this.finalize();let s=0;for(let o=0;o<8;o++)e[s++]=r[o]>>>0,e[s++]=r[o]>>>8;return e}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const r=e.slice(0,n);return this.destroy(),r}}function Y9(t){const e=(r,i)=>t(i).update(of(r)).digest(),n=t(new Uint8Array(32));return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=r=>t(r),e}const X9=Y9(t=>new Z9(t));function J9(t,e,n,r,i,s=20){let o=t[0],a=t[1],c=t[2],u=t[3],l=e[0],f=e[1],d=e[2],h=e[3],p=e[4],w=e[5],m=e[6],P=e[7],T=i,I=n[0],x=n[1],S=n[2],U=o,k=a,F=c,R=u,G=l,H=f,E=d,b=h,v=p,g=w,y=m,B=P,A=T,O=I,D=x,C=S;for(let L=0;L<s;L+=2)U=U+G|0,A=me(A^U,16),v=v+A|0,G=me(G^v,12),U=U+G|0,A=me(A^U,8),v=v+A|0,G=me(G^v,7),k=k+H|0,O=me(O^k,16),g=g+O|0,H=me(H^g,12),k=k+H|0,O=me(O^k,8),g=g+O|0,H=me(H^g,7),F=F+E|0,D=me(D^F,16),y=y+D|0,E=me(E^y,12),F=F+E|0,D=me(D^F,8),y=y+D|0,E=me(E^y,7),R=R+b|0,C=me(C^R,16),B=B+C|0,b=me(b^B,12),R=R+b|0,C=me(C^R,8),B=B+C|0,b=me(b^B,7),U=U+H|0,C=me(C^U,16),y=y+C|0,H=me(H^y,12),U=U+H|0,C=me(C^U,8),y=y+C|0,H=me(H^y,7),k=k+E|0,A=me(A^k,16),B=B+A|0,E=me(E^B,12),k=k+E|0,A=me(A^k,8),B=B+A|0,E=me(E^B,7),F=F+b|0,O=me(O^F,16),v=v+O|0,b=me(b^v,12),F=F+b|0,O=me(O^F,8),v=v+O|0,b=me(b^v,7),R=R+G|0,D=me(D^R,16),g=g+D|0,G=me(G^g,12),R=R+G|0,D=me(D^R,8),g=g+D|0,G=me(G^g,7);let M=0;r[M++]=o+U|0,r[M++]=a+k|0,r[M++]=c+F|0,r[M++]=u+R|0,r[M++]=l+G|0,r[M++]=f+H|0,r[M++]=d+E|0,r[M++]=h+b|0,r[M++]=p+v|0,r[M++]=w+g|0,r[M++]=m+y|0,r[M++]=P+B|0,r[M++]=T+A|0,r[M++]=I+O|0,r[M++]=x+D|0,r[M++]=S+C|0}const Q9=W9(J9,{counterRight:!1,counterLength:4,allowShortKeys:!1}),_9=new Uint8Array(16),sb=(t,e)=>{t.update(e);const n=e.length%16;n&&t.update(_9.subarray(n))},$9=new Uint8Array(32);function ob(t,e,n,r,i){const s=t(e,n,$9),o=X9.create(s);i&&sb(o,i),sb(o,r);const a=L9(r.length,i?i.length:0,!0);o.update(a);const c=o.digest();return hs(s,a),c}const eS=t=>(e,n,r)=>({encrypt(i,s){const o=i.length;s=eb(o+16,s,!1),s.set(i);const a=s.subarray(0,-16);t(e,n,a,a,1);const c=ob(t,e,n,a,r);return s.set(c,o),hs(c),s},decrypt(i,s){s=eb(i.length-16,s,!1);const o=i.subarray(0,-16),a=i.subarray(-16),c=ob(t,e,n,o,r);if(!q9(a,c))throw new Error("invalid tag");return s.set(i.subarray(0,-16)),t(e,n,s,s,1),hs(c),s}}),ab=k9({blockSize:64,nonceLength:12,tagLength:16},eS(Q9));class cb extends rc{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,tc(e);const r=mn(n);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const i=this.blockLen,s=new Uint8Array(i);s.set(r.length>i?e.create().update(r).digest():r);for(let o=0;o<s.length;o++)s[o]^=54;this.iHash.update(s),this.oHash=e.create();for(let o=0;o<s.length;o++)s[o]^=106;this.oHash.update(s),on(s)}update(e){return zr(this),this.iHash.update(e),this}digestInto(e){zr(this),yn(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:i,destroyed:s,blockLen:o,outputLen:a}=this;return e=e,e.finished=i,e.destroyed=s,e.blockLen=o,e.outputLen=a,e.oHash=n._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}clone(){return this._cloneInto()}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const uc=(t,e,n)=>new cb(t,e).update(n).digest();uc.create=(t,e)=>new cb(t,e);function tS(t,e,n){return tc(t),n===void 0&&(n=new Uint8Array(t.outputLen)),uc(t,mn(n),mn(e))}const uf=Uint8Array.from([0]),ub=Uint8Array.of();function nS(t,e,n,r=32){tc(t),rr(r);const i=t.outputLen;if(r>255*i)throw new Error("Length should be <= 255*HashLen");const s=Math.ceil(r/i);n===void 0&&(n=ub);const o=new Uint8Array(s*i),a=uc.create(t,e),c=a._cloneInto(),u=new Uint8Array(a.outputLen);for(let l=0;l<s;l++)uf[0]=l+1,c.update(l===0?ub:u).update(n).update(uf).digestInto(u),o.set(u,i*l),a._cloneInto(c);return a.destroy(),c.destroy(),on(u,uf),o.slice(0,r)}const rS=(t,e,n,r,i)=>nS(t,tS(t,e,n),r,i),lc=ic,lf=BigInt(0),ff=BigInt(1);function fc(t,e=""){if(typeof t!="boolean"){const n=e&&`"${e}"`;throw new Error(n+"expected boolean, got type="+typeof t)}return t}function Oi(t,e,n=""){const r=ec(t),i=t?.length,s=e!==void 0;if(!r||s&&i!==e){const o=n&&`"${n}" `,a=s?` of length ${e}`:"",c=r?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+c)}return t}function hc(t){const e=t.toString(16);return e.length&1?"0"+e:e}function lb(t){if(typeof t!="string")throw new Error("hex string expected, got "+typeof t);return t===""?lf:BigInt("0x"+t)}function dc(t){return lb(fs(t))}function pc(t){return yn(t),lb(fs(Uint8Array.from(t).reverse()))}function hf(t,e){return nc(t.toString(16).padStart(e*2,"0"))}function df(t,e){return hf(t,e).reverse()}function yt(t,e,n){let r;if(typeof e=="string")try{r=nc(e)}catch(s){throw new Error(t+" must be hex string or Uint8Array, cause: "+s)}else if(ec(e))r=Uint8Array.from(e);else throw new Error(t+" must be hex string or Uint8Array");const i=r.length;if(typeof n=="number"&&i!==n)throw new Error(t+" of length "+n+" expected, got "+i);return r}const pf=t=>typeof t=="bigint"&&lf<=t;function iS(t,e,n){return pf(t)&&pf(e)&&pf(n)&&e<=t&&t<n}function gf(t,e,n,r){if(!iS(e,n,r))throw new Error("expected valid "+t+": "+n+" <= n < "+r+", got "+e)}function fb(t){let e;for(e=0;t>lf;t>>=ff,e+=1);return e}const yo=t=>(ff<<BigInt(t))-ff;function sS(t,e,n){if(typeof t!="number"||t<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");const r=d=>new Uint8Array(d),i=d=>Uint8Array.of(d);let s=r(t),o=r(t),a=0;const c=()=>{s.fill(1),o.fill(0),a=0},u=(...d)=>n(o,s,...d),l=(d=r(0))=>{o=u(i(0),d),s=u(),d.length!==0&&(o=u(i(1),d),s=u())},f=()=>{if(a++>=1e3)throw new Error("drbg: tried 1000 values");let d=0;const h=[];for(;d<e;){s=u();const p=s.slice();h.push(p),d+=s.length}return Vr(...h)};return(d,h)=>{c(),l(d);let p;for(;!(p=h(f()));)l();return c(),p}}function gc(t,e,n={}){if(!t||typeof t!="object")throw new Error("expected valid options object");function r(i,s,o){const a=t[i];if(o&&a===void 0)return;const c=typeof a;if(c!==s||a===null)throw new Error(`param "${i}" is invalid: expected ${s}, got ${c}`)}Object.entries(e).forEach(([i,s])=>r(i,s,!1)),Object.entries(n).forEach(([i,s])=>r(i,s,!0))}function hb(t){const e=new WeakMap;return(n,...r)=>{const i=e.get(n);if(i!==void 0)return i;const s=t(n,...r);return e.set(n,s),s}}const Lt=BigInt(0),Ot=BigInt(1),Ai=BigInt(2),db=BigInt(3),pb=BigInt(4),gb=BigInt(5),oS=BigInt(7),bb=BigInt(8),aS=BigInt(9),wb=BigInt(16);function Jt(t,e){const n=t%e;return n>=Lt?n:e+n}function vn(t,e,n){let r=t;for(;e-- >Lt;)r*=r,r%=n;return r}function yb(t,e){if(t===Lt)throw new Error("invert: expected non-zero number");if(e<=Lt)throw new Error("invert: expected positive modulus, got "+e);let n=Jt(t,e),r=e,i=Lt,s=Ot;for(;n!==Lt;){const o=r/n,a=r%n,c=i-s*o;r=n,n=a,i=s,s=c}if(r!==Ot)throw new Error("invert: does not exist");return Jt(i,e)}function bf(t,e,n){if(!t.eql(t.sqr(e),n))throw new Error("Cannot find square root")}function mb(t,e){const n=(t.ORDER+Ot)/pb,r=t.pow(e,n);return bf(t,r,e),r}function cS(t,e){const n=(t.ORDER-gb)/bb,r=t.mul(e,Ai),i=t.pow(r,n),s=t.mul(e,i),o=t.mul(t.mul(s,Ai),i),a=t.mul(s,t.sub(o,t.ONE));return bf(t,a,e),a}function uS(t){const e=Qr(t),n=vb(t),r=n(e,e.neg(e.ONE)),i=n(e,r),s=n(e,e.neg(r)),o=(t+oS)/wb;return(a,c)=>{let u=a.pow(c,o),l=a.mul(u,r);const f=a.mul(u,i),d=a.mul(u,s),h=a.eql(a.sqr(l),c),p=a.eql(a.sqr(f),c);u=a.cmov(u,l,h),l=a.cmov(d,f,p);const w=a.eql(a.sqr(l),c),m=a.cmov(u,l,w);return bf(a,m,c),m}}function vb(t){if(t<db)throw new Error("sqrt is not defined for small field");let e=t-Ot,n=0;for(;e%Ai===Lt;)e/=Ai,n++;let r=Ai;const i=Qr(t);for(;xb(i,r)===1;)if(r++>1e3)throw new Error("Cannot find square root: probably non-prime P");if(n===1)return mb;let s=i.pow(r,e);const o=(e+Ot)/Ai;return function(a,c){if(a.is0(c))return c;if(xb(a,c)!==1)throw new Error("Cannot find square root");let u=n,l=a.mul(a.ONE,s),f=a.pow(c,e),d=a.pow(c,o);for(;!a.eql(f,a.ONE);){if(a.is0(f))return a.ZERO;let h=1,p=a.sqr(f);for(;!a.eql(p,a.ONE);)if(h++,p=a.sqr(p),h===u)throw new Error("Cannot find square root");const w=Ot<<BigInt(u-h-1),m=a.pow(l,w);u=h,l=a.sqr(m),f=a.mul(f,l),d=a.mul(d,m)}return d}}function lS(t){return t%pb===db?mb:t%bb===gb?cS:t%wb===aS?uS(t):vb(t)}const fS=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function hS(t){const e={ORDER:"bigint",MASK:"bigint",BYTES:"number",BITS:"number"},n=fS.reduce((r,i)=>(r[i]="function",r),e);return gc(t,n),t}function dS(t,e,n){if(n<Lt)throw new Error("invalid exponent, negatives unsupported");if(n===Lt)return t.ONE;if(n===Ot)return e;let r=t.ONE,i=e;for(;n>Lt;)n&Ot&&(r=t.mul(r,i)),i=t.sqr(i),n>>=Ot;return r}function Eb(t,e,n=!1){const r=new Array(e.length).fill(n?t.ZERO:void 0),i=e.reduce((o,a,c)=>t.is0(a)?o:(r[c]=o,t.mul(o,a)),t.ONE),s=t.inv(i);return e.reduceRight((o,a,c)=>t.is0(a)?o:(r[c]=t.mul(o,r[c]),t.mul(o,a)),s),r}function xb(t,e){const n=(t.ORDER-Ot)/Ai,r=t.pow(e,n),i=t.eql(r,t.ONE),s=t.eql(r,t.ZERO),o=t.eql(r,t.neg(t.ONE));if(!i&&!s&&!o)throw new Error("invalid Legendre symbol result");return i?1:s?0:-1}function Ib(t,e){e!==void 0&&rr(e);const n=e!==void 0?e:t.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function Qr(t,e,n=!1,r={}){if(t<=Lt)throw new Error("invalid field: expected ORDER > 0, got "+t);let i,s,o=!1,a;if(typeof e=="object"&&e!=null){if(r.sqrt||n)throw new Error("cannot specify opts in two arguments");const d=e;d.BITS&&(i=d.BITS),d.sqrt&&(s=d.sqrt),typeof d.isLE=="boolean"&&(n=d.isLE),typeof d.modFromBytes=="boolean"&&(o=d.modFromBytes),a=d.allowedLengths}else typeof e=="number"&&(i=e),r.sqrt&&(s=r.sqrt);const{nBitLength:c,nByteLength:u}=Ib(t,i);if(u>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l;const f=Object.freeze({ORDER:t,isLE:n,BITS:c,BYTES:u,MASK:yo(c),ZERO:Lt,ONE:Ot,allowedLengths:a,create:d=>Jt(d,t),isValid:d=>{if(typeof d!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof d);return Lt<=d&&d<t},is0:d=>d===Lt,isValidNot0:d=>!f.is0(d)&&f.isValid(d),isOdd:d=>(d&Ot)===Ot,neg:d=>Jt(-d,t),eql:(d,h)=>d===h,sqr:d=>Jt(d*d,t),add:(d,h)=>Jt(d+h,t),sub:(d,h)=>Jt(d-h,t),mul:(d,h)=>Jt(d*h,t),pow:(d,h)=>dS(f,d,h),div:(d,h)=>Jt(d*yb(h,t),t),sqrN:d=>d*d,addN:(d,h)=>d+h,subN:(d,h)=>d-h,mulN:(d,h)=>d*h,inv:d=>yb(d,t),sqrt:s||(d=>(l||(l=lS(t)),l(f,d))),toBytes:d=>n?df(d,u):hf(d,u),fromBytes:(d,h=!0)=>{if(a){if(!a.includes(d.length)||d.length>u)throw new Error("Field.fromBytes: expected "+a+" bytes, got "+d.length);const w=new Uint8Array(u);w.set(d,n?0:w.length-d.length),d=w}if(d.length!==u)throw new Error("Field.fromBytes: expected "+u+" bytes, got "+d.length);let p=n?pc(d):dc(d);if(o&&(p=Jt(p,t)),!h&&!f.isValid(p))throw new Error("invalid field element: outside of range 0..ORDER");return p},invertBatch:d=>Eb(f,d),cmov:(d,h,p)=>p?h:d});return Object.freeze(f)}function Sb(t){if(typeof t!="bigint")throw new Error("field order must be bigint");const e=t.toString(2).length;return Math.ceil(e/8)}function Bb(t){const e=Sb(t);return e+Math.ceil(e/2)}function pS(t,e,n=!1){const r=t.length,i=Sb(e),s=Bb(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const o=n?pc(t):dc(t),a=Jt(o,e-Ot)+Ot;return n?df(a,i):hf(a,i)}const ds=BigInt(0),Pi=BigInt(1);function bc(t,e){const n=e.negate();return t?n:e}function wf(t,e){const n=Eb(t.Fp,e.map(r=>r.Z));return e.map((r,i)=>t.fromAffine(r.toAffine(n[i])))}function Ob(t,e){if(!Number.isSafeInteger(t)||t<=0||t>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+t)}function yf(t,e){Ob(t,e);const n=Math.ceil(e/t)+1,r=2**(t-1),i=2**t,s=yo(t),o=BigInt(t);return{windows:n,windowSize:r,mask:s,maxNumber:i,shiftBy:o}}function Ab(t,e,n){const{windowSize:r,mask:i,maxNumber:s,shiftBy:o}=n;let a=Number(t&i),c=t>>o;a>r&&(a-=s,c+=Pi);const u=e*r,l=u+Math.abs(a)-1,f=a===0,d=a<0,h=e%2!==0;return{nextN:c,offset:l,isZero:f,isNeg:d,isNegF:h,offsetF:u}}function gS(t,e){if(!Array.isArray(t))throw new Error("array expected");t.forEach((n,r)=>{if(!(n instanceof e))throw new Error("invalid point at index "+r)})}function bS(t,e){if(!Array.isArray(t))throw new Error("array of scalars expected");t.forEach((n,r)=>{if(!e.isValid(n))throw new Error("invalid scalar at index "+r)})}const mf=new WeakMap,Pb=new WeakMap;function vf(t){return Pb.get(t)||1}function Db(t){if(t!==ds)throw new Error("invalid wNAF")}class wS{constructor(e,n){this.BASE=e.BASE,this.ZERO=e.ZERO,this.Fn=e.Fn,this.bits=n}_unsafeLadder(e,n,r=this.ZERO){let i=e;for(;n>ds;)n&Pi&&(r=r.add(i)),i=i.double(),n>>=Pi;return r}precomputeWindow(e,n){const{windows:r,windowSize:i}=yf(n,this.bits),s=[];let o=e,a=o;for(let c=0;c<r;c++){a=o,s.push(a);for(let u=1;u<i;u++)a=a.add(o),s.push(a);o=a.double()}return s}wNAF(e,n,r){if(!this.Fn.isValid(r))throw new Error("invalid scalar");let i=this.ZERO,s=this.BASE;const o=yf(e,this.bits);for(let a=0;a<o.windows;a++){const{nextN:c,offset:u,isZero:l,isNeg:f,isNegF:d,offsetF:h}=Ab(r,a,o);r=c,l?s=s.add(bc(d,n[h])):i=i.add(bc(f,n[u]))}return Db(r),{p:i,f:s}}wNAFUnsafe(e,n,r,i=this.ZERO){const s=yf(e,this.bits);for(let o=0;o<s.windows&&r!==ds;o++){const{nextN:a,offset:c,isZero:u,isNeg:l}=Ab(r,o,s);if(r=a,!u){const f=n[c];i=i.add(l?f.negate():f)}}return Db(r),i}getPrecomputes(e,n,r){let i=mf.get(n);return i||(i=this.precomputeWindow(n,e),e!==1&&(typeof r=="function"&&(i=r(i)),mf.set(n,i))),i}cached(e,n,r){const i=vf(e);return this.wNAF(i,this.getPrecomputes(i,e,r),n)}unsafe(e,n,r,i){const s=vf(e);return s===1?this._unsafeLadder(e,n,i):this.wNAFUnsafe(s,this.getPrecomputes(s,e,r),n,i)}createCache(e,n){Ob(n,this.bits),Pb.set(e,n),mf.delete(e)}hasCache(e){return vf(e)!==1}}function yS(t,e,n,r){let i=e,s=t.ZERO,o=t.ZERO;for(;n>ds||r>ds;)n&Pi&&(s=s.add(i)),r&Pi&&(o=o.add(i)),i=i.double(),n>>=Pi,r>>=Pi;return{p1:s,p2:o}}function mS(t,e,n,r){gS(n,t),bS(r,e);const i=n.length,s=r.length;if(i!==s)throw new Error("arrays of points and scalars must have equal length");const o=t.ZERO,a=fb(BigInt(i));let c=1;a>12?c=a-3:a>4?c=a-2:a>0&&(c=2);const u=yo(c),l=new Array(Number(u)+1).fill(o),f=Math.floor((e.BITS-1)/c)*c;let d=o;for(let h=f;h>=0;h-=c){l.fill(o);for(let w=0;w<s;w++){const m=r[w],P=Number(m>>BigInt(h)&u);l[P]=l[P].add(n[w])}let p=o;for(let w=l.length-1,m=o;w>0;w--)m=m.add(l[w]),p=p.add(m);if(d=d.add(p),h!==0)for(let w=0;w<c;w++)d=d.double()}return d}function Rb(t,e,n){if(e){if(e.ORDER!==t)throw new Error("Field.ORDER must match order: Fp == p, Fn == n");return hS(e),e}else return Qr(t,{isLE:n})}function vS(t,e,n={},r){if(r===void 0&&(r=t==="edwards"),!e||typeof e!="object")throw new Error(`expected valid ${t} CURVE object`);for(const a of["p","n","h"]){const c=e[a];if(!(typeof c=="bigint"&&c>ds))throw new Error(`CURVE.${a} must be positive bigint`)}const i=Rb(e.p,n.Fp,r),s=Rb(e.n,n.Fn,r),o=["Gx","Gy","a",t==="weierstrass"?"b":"d"];for(const a of o)if(!i.isValid(e[a]))throw new Error(`CURVE.${a} must be valid field element of CURVE.Fp`);return e=Object.freeze(Object.assign({},e)),{CURVE:e,Fp:i,Fn:s}}BigInt(0),BigInt(1),BigInt(2),BigInt(8),N1("HashToScalar-");const mo=BigInt(0),ps=BigInt(1),wc=BigInt(2);function ES(t){return gc(t,{adjustScalarBytes:"function",powPminus2:"function"}),Object.freeze({...t})}function xS(t){const e=ES(t),{P:n,type:r,adjustScalarBytes:i,powPminus2:s,randomBytes:o}=e,a=r==="x25519";if(!a&&r!=="x448")throw new Error("invalid type");const c=o||Si,u=a?255:448,l=a?32:56,f=BigInt(a?9:5),d=BigInt(a?121665:39081),h=a?wc**BigInt(254):wc**BigInt(447),p=a?BigInt(8)*wc**BigInt(251)-ps:BigInt(4)*wc**BigInt(445)-ps,w=h+p+ps,m=E=>Jt(E,n),P=T(f);function T(E){return df(m(E),l)}function I(E){const b=yt("u coordinate",E,l);return a&&(b[31]&=127),m(pc(b))}function x(E){return pc(i(yt("scalar",E,l)))}function S(E,b){const v=F(I(b),x(E));if(v===mo)throw new Error("invalid private or public key received");return T(v)}function U(E){return S(E,P)}function k(E,b,v){const g=m(E*(b-v));return b=m(b-g),v=m(v+g),{x_2:b,x_3:v}}function F(E,b){gf("u",E,mo,n),gf("scalar",b,h,w);const v=b,g=E;let y=ps,B=mo,A=E,O=ps,D=mo;for(let M=BigInt(u-1);M>=mo;M--){const L=v>>M&ps;D^=L,{x_2:y,x_3:A}=k(D,y,A),{x_2:B,x_3:O}=k(D,B,O),D=L;const V=y+B,q=m(V*V),W=y-B,Z=m(W*W),z=q-Z,N=A+O,j=A-O,K=m(j*V),X=m(N*W),ee=K+X,$=K-X;A=m(ee*ee),O=m(g*m($*$)),y=m(q*Z),B=m(z*(q+m(d*z)))}({x_2:y,x_3:A}=k(D,y,A)),{x_2:B,x_3:O}=k(D,B,O);const C=s(B);return m(y*C)}const R={secretKey:l,publicKey:l,seed:l},G=(E=c(l))=>(yn(E,R.seed),E);function H(E){const b=G(E);return{secretKey:b,publicKey:U(b)}}return{keygen:H,getSharedSecret:(E,b)=>S(E,b),getPublicKey:E=>U(E),scalarMult:S,scalarMultBase:U,utils:{randomSecretKey:G,randomPrivateKey:G},GuBytes:P.slice(),lengths:R}}const IS=BigInt(1),Tb=BigInt(2),SS=BigInt(3),BS=BigInt(5),OS=BigInt(8),Nb=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),AS={p:Nb,n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:OS,a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")};function PS(t){const e=BigInt(10),n=BigInt(20),r=BigInt(40),i=BigInt(80),s=Nb,o=t*t%s*t%s,a=vn(o,Tb,s)*o%s,c=vn(a,IS,s)*t%s,u=vn(c,BS,s)*c%s,l=vn(u,e,s)*u%s,f=vn(l,n,s)*l%s,d=vn(f,r,s)*f%s,h=vn(d,i,s)*d%s,p=vn(h,i,s)*d%s,w=vn(p,e,s)*u%s;return{pow_p_5_8:vn(w,Tb,s)*t%s,b2:o}}function DS(t){return t[0]&=248,t[31]&=127,t[31]|=64,t}const RS=Qr(AS.p,{isLE:!0}),Ef=(()=>{const t=RS.ORDER;return xS({P:t,type:"x25519",powPminus2:e=>{const{pow_p_5_8:n,b2:r}=PS(e);return Jt(vn(n,SS,t)*r,t)},adjustScalarBytes:DS})})(),Ub=(t,e)=>(t+(t>=0?e:-e)/Cb)/e;function TS(t,e,n){const[[r,i],[s,o]]=e,a=Ub(o*t,n),c=Ub(-i*t,n);let u=t-a*r-c*s,l=-a*i-c*o;const f=u<ar,d=l<ar;f&&(u=-u),d&&(l=-l);const h=yo(Math.ceil(fb(n)/2))+gs;if(u<ar||u>=h||l<ar||l>=h)throw new Error("splitScalar (endomorphism): failed, k="+t);return{k1neg:f,k1:u,k2neg:d,k2:l}}function xf(t){if(!["compact","recovered","der"].includes(t))throw new Error('Signature format must be "compact", "recovered", or "der"');return t}function If(t,e){const n={};for(let r of Object.keys(e))n[r]=t[r]===void 0?e[r]:t[r];return fc(n.lowS,"lowS"),fc(n.prehash,"prehash"),n.format!==void 0&&xf(n.format),n}class NS extends Error{constructor(e=""){super(e)}}const or={Err:NS,_tlv:{encode:(t,e)=>{const{Err:n}=or;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length&1)throw new n("tlv.encode: unpadded data");const r=e.length/2,i=hc(r);if(i.length/2&128)throw new n("tlv.encode: long form length too big");const s=r>127?hc(i.length/2|128):"";return hc(t)+s+i+e},decode(t,e){const{Err:n}=or;let r=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(e.length<2||e[r++]!==t)throw new n("tlv.decode: wrong tlv");const i=e[r++],s=!!(i&128);let o=0;if(!s)o=i;else{const c=i&127;if(!c)throw new n("tlv.decode(long): indefinite length not supported");if(c>4)throw new n("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+c);if(u.length!==c)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const l of u)o=o<<8|l;if(r+=c,o<128)throw new n("tlv.decode(long): not minimal encoding")}const a=e.subarray(r,r+o);if(a.length!==o)throw new n("tlv.decode: wrong value length");return{v:a,l:e.subarray(r+o)}}},_int:{encode(t){const{Err:e}=or;if(t<ar)throw new e("integer: negative integers are not allowed");let n=hc(t);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return n},decode(t){const{Err:e}=or;if(t[0]&128)throw new e("invalid signature integer: negative");if(t[0]===0&&!(t[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return dc(t)}},toSig(t){const{Err:e,_int:n,_tlv:r}=or,i=yt("signature",t),{v:s,l:o}=r.decode(48,i);if(o.length)throw new e("invalid signature: left bytes after parsing");const{v:a,l:c}=r.decode(2,s),{v:u,l}=r.decode(2,c);if(l.length)throw new e("invalid signature: left bytes after parsing");return{r:n.decode(a),s:n.decode(u)}},hexFromSig(t){const{_tlv:e,_int:n}=or,r=e.encode(2,n.encode(t.r)),i=e.encode(2,n.encode(t.s)),s=r+i;return e.encode(48,s)}},ar=BigInt(0),gs=BigInt(1),Cb=BigInt(2),yc=BigInt(3),US=BigInt(4);function bs(t,e){const{BYTES:n}=t;let r;if(typeof e=="bigint")r=e;else{let i=yt("private key",e);try{r=t.fromBytes(i)}catch{throw new Error(`invalid private key: expected ui8a of size ${n}, got ${typeof e}`)}}if(!t.isValidNot0(r))throw new Error("invalid private key: out of range [1..N-1]");return r}function CS(t,e={}){const n=vS("weierstrass",t,e),{Fp:r,Fn:i}=n;let s=n.CURVE;const{h:o,n:a}=s;gc(e,{},{allowInfinityPoint:"boolean",clearCofactor:"function",isTorsionFree:"function",fromBytes:"function",toBytes:"function",endo:"object",wrapPrivateKey:"boolean"});const{endo:c}=e;if(c&&(!r.is0(s.a)||typeof c.beta!="bigint"||!Array.isArray(c.basises)))throw new Error('invalid endo: expected "beta": bigint and "basises": array');const u=qb(r,i);function l(){if(!r.isOdd)throw new Error("compression is not supported: Field does not have .isOdd()")}function f(E,b,v){const{x:g,y}=b.toAffine(),B=r.toBytes(g);if(fc(v,"isCompressed"),v){l();const A=!r.isOdd(y);return Vr(Fb(A),B)}else return Vr(Uint8Array.of(4),B,r.toBytes(y))}function d(E){Oi(E,void 0,"Point");const{publicKey:b,publicKeyUncompressed:v}=u,g=E.length,y=E[0],B=E.subarray(1);if(g===b&&(y===2||y===3)){const A=r.fromBytes(B);if(!r.isValid(A))throw new Error("bad point: is not on curve, wrong x");const O=w(A);let D;try{D=r.sqrt(O)}catch(M){const L=M instanceof Error?": "+M.message:"";throw new Error("bad point: is not on curve, sqrt error"+L)}l();const C=r.isOdd(D);return(y&1)===1!==C&&(D=r.neg(D)),{x:A,y:D}}else if(g===v&&y===4){const A=r.BYTES,O=r.fromBytes(B.subarray(0,A)),D=r.fromBytes(B.subarray(A,A*2));if(!m(O,D))throw new Error("bad point: is not on curve");return{x:O,y:D}}else throw new Error(`bad point: got length ${g}, expected compressed=${b} or uncompressed=${v}`)}const h=e.toBytes||f,p=e.fromBytes||d;function w(E){const b=r.sqr(E),v=r.mul(b,E);return r.add(r.add(v,r.mul(E,s.a)),s.b)}function m(E,b){const v=r.sqr(b),g=w(E);return r.eql(v,g)}if(!m(s.Gx,s.Gy))throw new Error("bad curve params: generator point");const P=r.mul(r.pow(s.a,yc),US),T=r.mul(r.sqr(s.b),BigInt(27));if(r.is0(r.add(P,T)))throw new Error("bad curve params: a or b");function I(E,b,v=!1){if(!r.isValid(b)||v&&r.is0(b))throw new Error(`bad point coordinate ${E}`);return b}function x(E){if(!(E instanceof R))throw new Error("ProjectivePoint expected")}function S(E){if(!c||!c.basises)throw new Error("no endo");return TS(E,c.basises,i.ORDER)}const U=hb((E,b)=>{const{X:v,Y:g,Z:y}=E;if(r.eql(y,r.ONE))return{x:v,y:g};const B=E.is0();b==null&&(b=B?r.ONE:r.inv(y));const A=r.mul(v,b),O=r.mul(g,b),D=r.mul(y,b);if(B)return{x:r.ZERO,y:r.ZERO};if(!r.eql(D,r.ONE))throw new Error("invZ was invalid");return{x:A,y:O}}),k=hb(E=>{if(E.is0()){if(e.allowInfinityPoint&&!r.is0(E.Y))return;throw new Error("bad point: ZERO")}const{x:b,y:v}=E.toAffine();if(!r.isValid(b)||!r.isValid(v))throw new Error("bad point: x or y not field elements");if(!m(b,v))throw new Error("bad point: equation left != right");if(!E.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});function F(E,b,v,g,y){return v=new R(r.mul(v.X,E),v.Y,v.Z),b=bc(g,b),v=bc(y,v),b.add(v)}class R{constructor(b,v,g){this.X=I("x",b),this.Y=I("y",v,!0),this.Z=I("z",g),Object.freeze(this)}static CURVE(){return s}static fromAffine(b){const{x:v,y:g}=b||{};if(!b||!r.isValid(v)||!r.isValid(g))throw new Error("invalid affine point");if(b instanceof R)throw new Error("projective point not allowed");return r.is0(v)&&r.is0(g)?R.ZERO:new R(v,g,r.ONE)}static fromBytes(b){const v=R.fromAffine(p(Oi(b,void 0,"point")));return v.assertValidity(),v}static fromHex(b){return R.fromBytes(yt("pointHex",b))}get x(){return this.toAffine().x}get y(){return this.toAffine().y}precompute(b=8,v=!0){return H.createCache(this,b),v||this.multiply(yc),this}assertValidity(){k(this)}hasEvenY(){const{y:b}=this.toAffine();if(!r.isOdd)throw new Error("Field doesn't support isOdd");return!r.isOdd(b)}equals(b){x(b);const{X:v,Y:g,Z:y}=this,{X:B,Y:A,Z:O}=b,D=r.eql(r.mul(v,O),r.mul(B,y)),C=r.eql(r.mul(g,O),r.mul(A,y));return D&&C}negate(){return new R(this.X,r.neg(this.Y),this.Z)}double(){const{a:b,b:v}=s,g=r.mul(v,yc),{X:y,Y:B,Z:A}=this;let O=r.ZERO,D=r.ZERO,C=r.ZERO,M=r.mul(y,y),L=r.mul(B,B),V=r.mul(A,A),q=r.mul(y,B);return q=r.add(q,q),C=r.mul(y,A),C=r.add(C,C),O=r.mul(b,C),D=r.mul(g,V),D=r.add(O,D),O=r.sub(L,D),D=r.add(L,D),D=r.mul(O,D),O=r.mul(q,O),C=r.mul(g,C),V=r.mul(b,V),q=r.sub(M,V),q=r.mul(b,q),q=r.add(q,C),C=r.add(M,M),M=r.add(C,M),M=r.add(M,V),M=r.mul(M,q),D=r.add(D,M),V=r.mul(B,A),V=r.add(V,V),M=r.mul(V,q),O=r.sub(O,M),C=r.mul(V,L),C=r.add(C,C),C=r.add(C,C),new R(O,D,C)}add(b){x(b);const{X:v,Y:g,Z:y}=this,{X:B,Y:A,Z:O}=b;let D=r.ZERO,C=r.ZERO,M=r.ZERO;const L=s.a,V=r.mul(s.b,yc);let q=r.mul(v,B),W=r.mul(g,A),Z=r.mul(y,O),z=r.add(v,g),N=r.add(B,A);z=r.mul(z,N),N=r.add(q,W),z=r.sub(z,N),N=r.add(v,y);let j=r.add(B,O);return N=r.mul(N,j),j=r.add(q,Z),N=r.sub(N,j),j=r.add(g,y),D=r.add(A,O),j=r.mul(j,D),D=r.add(W,Z),j=r.sub(j,D),M=r.mul(L,N),D=r.mul(V,Z),M=r.add(D,M),D=r.sub(W,M),M=r.add(W,M),C=r.mul(D,M),W=r.add(q,q),W=r.add(W,q),Z=r.mul(L,Z),N=r.mul(V,N),W=r.add(W,Z),Z=r.sub(q,Z),Z=r.mul(L,Z),N=r.add(N,Z),q=r.mul(W,N),C=r.add(C,q),q=r.mul(j,N),D=r.mul(z,D),D=r.sub(D,q),q=r.mul(z,W),M=r.mul(j,M),M=r.add(M,q),new R(D,C,M)}subtract(b){return this.add(b.negate())}is0(){return this.equals(R.ZERO)}multiply(b){const{endo:v}=e;if(!i.isValidNot0(b))throw new Error("invalid scalar: out of range");let g,y;const B=A=>H.cached(this,A,O=>wf(R,O));if(v){const{k1neg:A,k1:O,k2neg:D,k2:C}=S(b),{p:M,f:L}=B(O),{p:V,f:q}=B(C);y=L.add(q),g=F(v.beta,M,V,A,D)}else{const{p:A,f:O}=B(b);g=A,y=O}return wf(R,[g,y])[0]}multiplyUnsafe(b){const{endo:v}=e,g=this;if(!i.isValid(b))throw new Error("invalid scalar: out of range");if(b===ar||g.is0())return R.ZERO;if(b===gs)return g;if(H.hasCache(this))return this.multiply(b);if(v){const{k1neg:y,k1:B,k2neg:A,k2:O}=S(b),{p1:D,p2:C}=yS(R,g,B,O);return F(v.beta,D,C,y,A)}else return H.unsafe(g,b)}multiplyAndAddUnsafe(b,v,g){const y=this.multiplyUnsafe(v).add(b.multiplyUnsafe(g));return y.is0()?void 0:y}toAffine(b){return U(this,b)}isTorsionFree(){const{isTorsionFree:b}=e;return o===gs?!0:b?b(R,this):H.unsafe(this,a).is0()}clearCofactor(){const{clearCofactor:b}=e;return o===gs?this:b?b(R,this):this.multiplyUnsafe(o)}isSmallOrder(){return this.multiplyUnsafe(o).is0()}toBytes(b=!0){return fc(b,"isCompressed"),this.assertValidity(),h(R,this,b)}toHex(b=!0){return fs(this.toBytes(b))}toString(){return`<Point ${this.is0()?"ZERO":this.toHex()}>`}get px(){return this.X}get py(){return this.X}get pz(){return this.Z}toRawBytes(b=!0){return this.toBytes(b)}_setWindowSize(b){this.precompute(b)}static normalizeZ(b){return wf(R,b)}static msm(b,v){return mS(R,i,b,v)}static fromPrivateKey(b){return R.BASE.multiply(bs(i,b))}}R.BASE=new R(s.Gx,s.Gy,r.ONE),R.ZERO=new R(r.ZERO,r.ONE,r.ZERO),R.Fp=r,R.Fn=i;const G=i.BITS,H=new wS(R,e.endo?Math.ceil(G/2):G);return R.BASE.precompute(8),R}function Fb(t){return Uint8Array.of(t?2:3)}function qb(t,e){return{secretKey:e.BYTES,publicKey:1+t.BYTES,publicKeyUncompressed:1+2*t.BYTES,publicKeyHasPrefix:!0,signature:2*e.BYTES}}function FS(t,e={}){const{Fn:n}=t,r=e.randomBytes||Si,i=Object.assign(qb(t.Fp,n),{seed:Bb(n.ORDER)});function s(d){try{return!!bs(n,d)}catch{return!1}}function o(d,h){const{publicKey:p,publicKeyUncompressed:w}=i;try{const m=d.length;return h===!0&&m!==p||h===!1&&m!==w?!1:!!t.fromBytes(d)}catch{return!1}}function a(d=r(i.seed)){return pS(Oi(d,i.seed,"seed"),n.ORDER)}function c(d,h=!0){return t.BASE.multiply(bs(n,d)).toBytes(h)}function u(d){const h=a(d);return{secretKey:h,publicKey:c(h)}}function l(d){if(typeof d=="bigint")return!1;if(d instanceof t)return!0;const{secretKey:h,publicKey:p,publicKeyUncompressed:w}=i;if(n.allowedLengths||h===p)return;const m=yt("key",d).length;return m===p||m===w}function f(d,h,p=!0){if(l(d)===!0)throw new Error("first arg must be private key");if(l(h)===!1)throw new Error("second arg must be public key");const w=bs(n,d);return t.fromHex(h).multiply(w).toBytes(p)}return Object.freeze({getPublicKey:c,getSharedSecret:f,keygen:u,Point:t,utils:{isValidSecretKey:s,isValidPublicKey:o,randomSecretKey:a,isValidPrivateKey:s,randomPrivateKey:a,normPrivateKeyToScalar:d=>bs(n,d),precompute(d=8,h=t.BASE){return h.precompute(d,!1)}},lengths:i})}function qS(t,e,n={}){tc(e),gc(n,{},{hmac:"function",lowS:"boolean",randomBytes:"function",bits2int:"function",bits2int_modN:"function"});const r=n.randomBytes||Si,i=n.hmac||((v,...g)=>uc(e,v,Vr(...g))),{Fp:s,Fn:o}=t,{ORDER:a,BITS:c}=o,{keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h}=FS(t,n),p={prehash:!1,lowS:typeof n.lowS=="boolean"?n.lowS:!1,format:void 0,extraEntropy:!1},w="compact";function m(v){const g=a>>gs;return v>g}function P(v,g){if(!o.isValidNot0(g))throw new Error(`invalid signature ${v}: out of range 1..Point.Fn.ORDER`);return g}function T(v,g){xf(g);const y=h.signature,B=g==="compact"?y:g==="recovered"?y+1:void 0;return Oi(v,B,`${g} signature`)}class I{constructor(g,y,B){this.r=P("r",g),this.s=P("s",y),B!=null&&(this.recovery=B),Object.freeze(this)}static fromBytes(g,y=w){T(g,y);let B;if(y==="der"){const{r:C,s:M}=or.toSig(Oi(g));return new I(C,M)}y==="recovered"&&(B=g[0],y="compact",g=g.subarray(1));const A=o.BYTES,O=g.subarray(0,A),D=g.subarray(A,A*2);return new I(o.fromBytes(O),o.fromBytes(D),B)}static fromHex(g,y){return this.fromBytes(nc(g),y)}addRecoveryBit(g){return new I(this.r,this.s,g)}recoverPublicKey(g){const y=s.ORDER,{r:B,s:A,recovery:O}=this;if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");if(a*Cb<y&&O>1)throw new Error("recovery id is ambiguous for h>1 curve");const D=O===2||O===3?B+a:B;if(!s.isValid(D))throw new Error("recovery id 2 or 3 invalid");const C=s.toBytes(D),M=t.fromBytes(Vr(Fb((O&1)===0),C)),L=o.inv(D),V=S(yt("msgHash",g)),q=o.create(-V*L),W=o.create(A*L),Z=t.BASE.multiplyUnsafe(q).add(M.multiplyUnsafe(W));if(Z.is0())throw new Error("point at infinify");return Z.assertValidity(),Z}hasHighS(){return m(this.s)}toBytes(g=w){if(xf(g),g==="der")return nc(or.hexFromSig(this));const y=o.toBytes(this.r),B=o.toBytes(this.s);if(g==="recovered"){if(this.recovery==null)throw new Error("recovery bit must be present");return Vr(Uint8Array.of(this.recovery),y,B)}return Vr(y,B)}toHex(g){return fs(this.toBytes(g))}assertValidity(){}static fromCompact(g){return I.fromBytes(yt("sig",g),"compact")}static fromDER(g){return I.fromBytes(yt("sig",g),"der")}normalizeS(){return this.hasHighS()?new I(this.r,o.neg(this.s),this.recovery):this}toDERRawBytes(){return this.toBytes("der")}toDERHex(){return fs(this.toBytes("der"))}toCompactRawBytes(){return this.toBytes("compact")}toCompactHex(){return fs(this.toBytes("compact"))}}const x=n.bits2int||function(v){if(v.length>8192)throw new Error("input is too large");const g=dc(v),y=v.length*8-c;return y>0?g>>BigInt(y):g},S=n.bits2int_modN||function(v){return o.create(x(v))},U=yo(c);function k(v){return gf("num < 2^"+c,v,ar,U),o.toBytes(v)}function F(v,g){return Oi(v,void 0,"message"),g?Oi(e(v),void 0,"prehashed message"):v}function R(v,g,y){if(["recovered","canonical"].some(W=>W in y))throw new Error("sign() legacy options not supported");const{lowS:B,prehash:A,extraEntropy:O}=If(y,p);v=F(v,A);const D=S(v),C=bs(o,g),M=[k(C),k(D)];if(O!=null&&O!==!1){const W=O===!0?r(h.secretKey):O;M.push(yt("extraEntropy",W))}const L=Vr(...M),V=D;function q(W){const Z=x(W);if(!o.isValidNot0(Z))return;const z=o.inv(Z),N=t.BASE.multiply(Z).toAffine(),j=o.create(N.x);if(j===ar)return;const K=o.create(z*o.create(V+j*C));if(K===ar)return;let X=(N.x===j?0:2)|Number(N.y&gs),ee=K;return B&&m(K)&&(ee=o.neg(K),X^=1),new I(j,ee,X)}return{seed:L,k2sig:q}}function G(v,g,y={}){v=yt("message",v);const{seed:B,k2sig:A}=R(v,g,y);return sS(e.outputLen,o.BYTES,i)(B,A)}function H(v){let g;const y=typeof v=="string"||ec(v),B=!y&&v!==null&&typeof v=="object"&&typeof v.r=="bigint"&&typeof v.s=="bigint";if(!y&&!B)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");if(B)g=new I(v.r,v.s);else if(y){try{g=I.fromBytes(yt("sig",v),"der")}catch(A){if(!(A instanceof or.Err))throw A}if(!g)try{g=I.fromBytes(yt("sig",v),"compact")}catch{return!1}}return g||!1}function E(v,g,y,B={}){const{lowS:A,prehash:O,format:D}=If(B,p);if(y=yt("publicKey",y),g=F(yt("message",g),O),"strict"in B)throw new Error("options.strict was renamed to lowS");const C=D===void 0?H(v):I.fromBytes(yt("sig",v),D);if(C===!1)return!1;try{const M=t.fromBytes(y);if(A&&C.hasHighS())return!1;const{r:L,s:V}=C,q=S(g),W=o.inv(V),Z=o.create(q*W),z=o.create(L*W),N=t.BASE.multiplyUnsafe(Z).add(M.multiplyUnsafe(z));return N.is0()?!1:o.create(N.x)===L}catch{return!1}}function b(v,g,y={}){const{prehash:B}=If(y,p);return g=F(g,B),I.fromBytes(v,"recovered").recoverPublicKey(g).toBytes()}return Object.freeze({keygen:u,getPublicKey:l,getSharedSecret:f,utils:d,lengths:h,Point:t,sign:G,verify:E,recoverPublicKey:b,Signature:I,hash:e})}function kS(t){const e={a:t.a,b:t.b,p:t.Fp.ORDER,n:t.n,h:t.h,Gx:t.Gx,Gy:t.Gy},n=t.Fp;let r=t.allowedPrivateKeyLengths?Array.from(new Set(t.allowedPrivateKeyLengths.map(o=>Math.ceil(o/2)))):void 0;const i=Qr(e.n,{BITS:t.nBitLength,allowedLengths:r,modFromBytes:t.wrapPrivateKey}),s={Fp:n,Fn:i,allowInfinityPoint:t.allowInfinityPoint,endo:t.endo,isTorsionFree:t.isTorsionFree,clearCofactor:t.clearCofactor,fromBytes:t.fromBytes,toBytes:t.toBytes};return{CURVE:e,curveOpts:s}}function LS(t){const{CURVE:e,curveOpts:n}=kS(t),r={hmac:t.hmac,randomBytes:t.randomBytes,lowS:t.lowS,bits2int:t.bits2int,bits2int_modN:t.bits2int_modN};return{CURVE:e,curveOpts:n,hash:t.hash,ecdsaOpts:r}}function MS(t,e){const n=e.Point;return Object.assign({},e,{ProjectivePoint:n,CURVE:Object.assign({},t,Ib(n.Fn.ORDER,n.Fn.BITS))})}function jS(t){const{CURVE:e,curveOpts:n,hash:r,ecdsaOpts:i}=LS(t),s=CS(e,n),o=qS(s,r,i);return MS(t,o)}function Sf(t,e){const n=r=>jS({...t,hash:r});return{...n(e),create:n}}const kb={p:BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff"),n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),h:BigInt(1),a:BigInt("0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc"),b:BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5")},Lb={p:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff"),n:BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffc7634d81f4372ddf581a0db248b0a77aecec196accc52973"),h:BigInt(1),a:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc"),b:BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef"),Gx:BigInt("0xaa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7"),Gy:BigInt("0x3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f")},Mb={p:BigInt("0x1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),n:BigInt("0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409"),h:BigInt(1),a:BigInt("0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc"),b:BigInt("0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"),Gx:BigInt("0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66"),Gy:BigInt("0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650")},zS=Qr(kb.p),KS=Qr(Lb.p),VS=Qr(Mb.p),HS=Sf({...kb,Fp:zS,lowS:!1},ic);Sf({...Lb,Fp:KS,lowS:!1},YI),Sf({...Mb,Fp:VS,lowS:!1,allowedPrivateKeyLengths:[130,131,132]},ZI);const GS=HS,jb="base10",At="base16",Mt="base64pad",_r="base64url",vo="utf8",zb=0,cr=1,Eo=2,WS=0,Kb=1,xo=12,Bf=32;function ZS(){const t=Ef.utils.randomPrivateKey(),e=Ef.getPublicKey(t);return{privateKey:qt(t,At),publicKey:qt(e,At)}}function Of(){const t=Si(Bf);return qt(t,At)}function YS(t,e){const n=Ef.getSharedSecret(sn(t,At),sn(e,At)),r=rS(lc,n,void 0,void 0,Bf);return qt(r,At)}function mc(t){const e=lc(sn(t,At));return qt(e,At)}function an(t){const e=lc(sn(t,vo));return qt(e,At)}function Vb(t){return sn(`${t}`,jb)}function Di(t){return Number(qt(t,jb))}function Hb(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Gb(t){const e=t.replace(/-/g,"+").replace(/_/g,"/"),n=(4-e.length%4)%4;return e+"=".repeat(n)}function XS(t){const e=Vb(typeof t.type<"u"?t.type:zb);if(Di(e)===cr&&typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");const n=typeof t.senderPublicKey<"u"?sn(t.senderPublicKey,At):void 0,r=typeof t.iv<"u"?sn(t.iv,At):Si(xo),i=sn(t.symKey,At),s=ab(i,r).encrypt(sn(t.message,vo)),o=Wb({type:e,sealed:s,iv:r,senderPublicKey:n});return t.encoding===_r?Hb(o):o}function JS(t){const e=sn(t.symKey,At),{sealed:n,iv:r}=Io({encoded:t.encoded,encoding:t.encoding}),i=ab(e,r).decrypt(n);if(i===null)throw new Error("Failed to decrypt");return qt(i,vo)}function QS(t,e){const n=Vb(Eo),r=Si(xo),i=sn(t,vo),s=Wb({type:n,sealed:i,iv:r});return e===_r?Hb(s):s}function _S(t,e){const{sealed:n}=Io({encoded:t,encoding:e});return qt(n,vo)}function Wb(t){if(Di(t.type)===Eo)return qt(io([t.type,t.sealed]),Mt);if(Di(t.type)===cr){if(typeof t.senderPublicKey>"u")throw new Error("Missing sender public key for type 1 envelope");return qt(io([t.type,t.senderPublicKey,t.iv,t.sealed]),Mt)}return qt(io([t.type,t.iv,t.sealed]),Mt)}function Io(t){const e=(t.encoding||Mt)===_r?Gb(t.encoded):t.encoded,n=sn(e,Mt),r=n.slice(WS,Kb),i=Kb;if(Di(r)===cr){const c=i+Bf,u=c+xo,l=n.slice(i,c),f=n.slice(c,u),d=n.slice(u);return{type:r,sealed:d,iv:f,senderPublicKey:l}}if(Di(r)===Eo){const c=n.slice(i),u=Si(xo);return{type:r,sealed:c,iv:u}}const s=i+xo,o=n.slice(i,s),a=n.slice(s);return{type:r,sealed:a,iv:o}}function $S(t,e){const n=Io({encoded:t,encoding:e?.encoding});return Zb({type:Di(n.type),senderPublicKey:typeof n.senderPublicKey<"u"?qt(n.senderPublicKey,At):void 0,receiverPublicKey:e?.receiverPublicKey})}function Zb(t){const e=t?.type||zb;if(e===cr){if(typeof t?.senderPublicKey>"u")throw new Error("missing sender public key");if(typeof t?.receiverPublicKey>"u")throw new Error("missing receiver public key")}return{type:e,senderPublicKey:t?.senderPublicKey,receiverPublicKey:t?.receiverPublicKey}}function Yb(t){return t.type===cr&&typeof t.senderPublicKey=="string"&&typeof t.receiverPublicKey=="string"}function Xb(t){return t.type===Eo}function eB(t){const e=Buffer.from(t.x,"base64"),n=Buffer.from(t.y,"base64");return io([new Uint8Array([4]),e,n])}function tB(t,e){const[n,r,i]=t.split("."),s=Buffer.from(Gb(i),"base64");if(s.length!==64)throw new Error("Invalid signature length");const o=s.slice(0,32),a=s.slice(32,64),c=`${n}.${r}`,u=lc(c),l=eB(e);if(!GS.verify(io([o,a]),u,l))throw new Error("Invalid signature");return kl(t).payload}const nB="irn";function vc(t){return t?.relay||{protocol:nB}}function ws(t){const e=T7[t];if(typeof e>"u")throw new Error(`Relay Protocol not supported: ${t}`);return e}var rB=Object.defineProperty,iB=Object.defineProperties,sB=Object.getOwnPropertyDescriptors,Jb=Object.getOwnPropertySymbols,oB=Object.prototype.hasOwnProperty,aB=Object.prototype.propertyIsEnumerable,Qb=(t,e,n)=>e in t?rB(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Af=(t,e)=>{for(var n in e||(e={}))oB.call(e,n)&&Qb(t,n,e[n]);if(Jb)for(var n of Jb(e))aB.call(e,n)&&Qb(t,n,e[n]);return t},cB=(t,e)=>iB(t,sB(e));function uB(t,e="-"){const n={},r="relay"+e;return Object.keys(t).forEach(i=>{if(i.startsWith(r)){const s=i.replace(r,""),o=t[i];n[s]=o}}),n}function _b(t){if(!t.includes("wc:")){const u=x1(t);u!=null&&u.includes("wc:")&&(t=u)}t=t.includes("wc://")?t.replace("wc://",""):t,t=t.includes("wc:")?t.replace("wc:",""):t;const e=t.indexOf(":"),n=t.indexOf("?")!==-1?t.indexOf("?"):void 0,r=t.substring(0,e),i=t.substring(e+1,n).split("@"),s=typeof n<"u"?t.substring(n):"",o=new URLSearchParams(s),a=Object.fromEntries(o.entries()),c=typeof a.methods=="string"?a.methods.split(","):void 0;return{protocol:r,topic:lB(i[0]),version:parseInt(i[1],10),symKey:a.symKey,relay:uB(a),methods:c,expiryTimestamp:a.expiryTimestamp?parseInt(a.expiryTimestamp,10):void 0}}function lB(t){return t.startsWith("//")?t.substring(2):t}function fB(t,e="-"){const n="relay",r={};return Object.keys(t).forEach(i=>{const s=i,o=n+e+s;t[s]&&(r[o]=t[s])}),r}function $b(t){const e=new URLSearchParams,n=Af(Af(cB(Af({},fB(t.relay)),{symKey:t.symKey}),t.expiryTimestamp&&{expiryTimestamp:t.expiryTimestamp.toString()}),t.methods&&{methods:t.methods.join(",")});return Object.entries(n).sort(([r],[i])=>r.localeCompare(i)).forEach(([r,i])=>{i!==void 0&&e.append(r,String(i))}),`${t.protocol}:${t.topic}@${t.version}?${e}`}function Ec(t,e,n){return`${t}?wc_ev=${n}&topic=${e}`}var hB=Object.defineProperty,dB=Object.defineProperties,pB=Object.getOwnPropertyDescriptors,ew=Object.getOwnPropertySymbols,gB=Object.prototype.hasOwnProperty,bB=Object.prototype.propertyIsEnumerable,tw=(t,e,n)=>e in t?hB(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,wB=(t,e)=>{for(var n in e||(e={}))gB.call(e,n)&&tw(t,n,e[n]);if(ew)for(var n of ew(e))bB.call(e,n)&&tw(t,n,e[n]);return t},yB=(t,e)=>dB(t,pB(e));function ys(t){const e=[];return t.forEach(n=>{const[r,i]=n.split(":");e.push(`${r}:${i}`)}),e}function nw(t){const e=[];return Object.values(t).forEach(n=>{e.push(...ys(n.accounts))}),[...new Set(e)]}function mB(t){const e=[];return Object.values(t).forEach(n=>{e.push(...n.methods)}),[...new Set(e)]}function vB(t){const e=[];return Object.values(t).forEach(n=>{e.push(...n.events)}),[...new Set(e)]}function EB(t,e){const n=[];return Object.values(t).forEach(r=>{ys(r.accounts).includes(e)&&n.push(...r.methods)}),n}function xB(t,e){const n=[];return Object.values(t).forEach(r=>{ys(r.accounts).includes(e)&&n.push(...r.events)}),n}function rw(t){return t.includes(":")}function IB(t){return rw(t)?t.split(":")[0]:t}function iw(t){var e,n,r;const i={};if(!So(t))return i;for(const[s,o]of Object.entries(t)){const a=rw(s)?[s]:o.chains,c=o.methods||[],u=o.events||[],l=IB(s);i[l]=yB(wB({},i[l]),{chains:Ii(a,(e=i[l])==null?void 0:e.chains),methods:Ii(c,(n=i[l])==null?void 0:n.methods),events:Ii(u,(r=i[l])==null?void 0:r.events)})}return i}function SB(t){const e={};return t?.forEach(n=>{var r;const[i,s]=n.split(":");e[i]||(e[i]={accounts:[],chains:[],events:[],methods:[]}),e[i].accounts.push(n),(r=e[i].chains)==null||r.push(`${i}:${s}`)}),e}function sw(t,e){e=e.map(r=>r.replace("did:pkh:",""));const n=SB(e);for(const[r,i]of Object.entries(n))i.methods?i.methods=Ii(i.methods,t):i.methods=t,i.events=["chainChanged","accountsChanged"];return n}function BB(t,e){var n,r,i,s,o,a;const c=iw(t),u=iw(e),l={},f=Object.keys(c).concat(Object.keys(u));for(const d of f)l[d]={chains:Ii((n=c[d])==null?void 0:n.chains,(r=u[d])==null?void 0:r.chains),methods:Ii((i=c[d])==null?void 0:i.methods,(s=u[d])==null?void 0:s.methods),events:Ii((o=c[d])==null?void 0:o.events,(a=u[d])==null?void 0:a.events)};return l}const OB={INVALID_METHOD:{message:"Invalid method.",code:1001},INVALID_EVENT:{message:"Invalid event.",code:1002},INVALID_UPDATE_REQUEST:{message:"Invalid update request.",code:1003},INVALID_EXTEND_REQUEST:{message:"Invalid extend request.",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:"Invalid session settle request.",code:1005},UNAUTHORIZED_METHOD:{message:"Unauthorized method.",code:3001},UNAUTHORIZED_EVENT:{message:"Unauthorized event.",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:"Unauthorized update request.",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:"Unauthorized extend request.",code:3004},USER_REJECTED:{message:"User rejected.",code:5e3},USER_REJECTED_CHAINS:{message:"User rejected chains.",code:5001},USER_REJECTED_METHODS:{message:"User rejected methods.",code:5002},USER_REJECTED_EVENTS:{message:"User rejected events.",code:5003},UNSUPPORTED_CHAINS:{message:"Unsupported chains.",code:5100},UNSUPPORTED_METHODS:{message:"Unsupported methods.",code:5101},UNSUPPORTED_EVENTS:{message:"Unsupported events.",code:5102},UNSUPPORTED_ACCOUNTS:{message:"Unsupported accounts.",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:"Unsupported namespace key.",code:5104},USER_DISCONNECTED:{message:"User disconnected.",code:6e3},SESSION_SETTLEMENT_FAILED:{message:"Session settlement failed.",code:7e3},WC_METHOD_UNSUPPORTED:{message:"Unsupported wc_ method.",code:10001}},AB={NOT_INITIALIZED:{message:"Not initialized.",code:1},NO_MATCHING_KEY:{message:"No matching key.",code:2},RESTORE_WILL_OVERRIDE:{message:"Restore will override.",code:3},RESUBSCRIBED:{message:"Resubscribed.",code:4},MISSING_OR_INVALID:{message:"Missing or invalid.",code:5},EXPIRED:{message:"Expired.",code:6},UNKNOWN_TYPE:{message:"Unknown type.",code:7},MISMATCHED_TOPIC:{message:"Mismatched topic.",code:8},NON_CONFORMING_NAMESPACES:{message:"Non conforming namespaces.",code:9}};function _(t,e){const{message:n,code:r}=AB[t];return{message:e?`${n} ${e}`:n,code:r}}function Ue(t,e){const{message:n,code:r}=OB[t];return{message:e?`${n} ${e}`:n,code:r}}function ms(t,e){return Array.isArray(t)?typeof e<"u"&&t.length?t.every(e):!0:!1}function So(t){return Object.getPrototypeOf(t)===Object.prototype&&Object.keys(t).length}function Ge(t){return typeof t>"u"}function Me(t,e){return e&&Ge(t)?!0:typeof t=="string"&&!!t.trim().length}function Pf(t,e){return e&&Ge(t)?!0:typeof t=="number"&&!isNaN(t)}function PB(t,e){const{requiredNamespaces:n}=e,r=Object.keys(t.namespaces),i=Object.keys(n);let s=!0;return Ei(i,r)?(r.forEach(o=>{const{accounts:a,methods:c,events:u}=t.namespaces[o],l=ys(a),f=n[o];(!Ei(l1(o,f),l)||!Ei(f.methods,c)||!Ei(f.events,u))&&(s=!1)}),s):!1}function xc(t){return Me(t,!1)&&t.includes(":")?t.split(":").length===2:!1}function DB(t){if(Me(t,!1)&&t.includes(":")){const e=t.split(":");if(e.length===3){const n=e[0]+":"+e[1];return!!e[2]&&xc(n)}}return!1}function RB(t){function e(n){try{return typeof new URL(n)<"u"}catch{return!1}}try{if(Me(t,!1)){if(e(t))return!0;const n=x1(t);return e(n)}}catch{}return!1}function TB(t){var e;return(e=t?.proposer)==null?void 0:e.publicKey}function NB(t){return t?.topic}function UB(t,e){let n=null;return Me(t?.publicKey,!1)||(n=_("MISSING_OR_INVALID",`${e} controller public key should be a string`)),n}function ow(t){let e=!0;return ms(t)?t.length&&(e=t.every(n=>Me(n,!1))):e=!1,e}function CB(t,e,n){let r=null;return ms(e)&&e.length?e.forEach(i=>{r||xc(i)||(r=Ue("UNSUPPORTED_CHAINS",`${n}, chain ${i} should be a string and conform to "namespace:chainId" format`))}):xc(t)||(r=Ue("UNSUPPORTED_CHAINS",`${n}, chains must be defined as "namespace:chainId" e.g. "eip155:1": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: ["eip155:1", "eip155:5"] }`)),r}function FB(t,e,n){let r=null;return Object.entries(t).forEach(([i,s])=>{if(r)return;const o=CB(i,l1(i,s),`${e} ${n}`);o&&(r=o)}),r}function qB(t,e){let n=null;return ms(t)?t.forEach(r=>{n||DB(r)||(n=Ue("UNSUPPORTED_ACCOUNTS",`${e}, account ${r} should be a string and conform to "namespace:chainId:address" format`))}):n=Ue("UNSUPPORTED_ACCOUNTS",`${e}, accounts should be an array of strings conforming to "namespace:chainId:address" format`),n}function kB(t,e){let n=null;return Object.values(t).forEach(r=>{if(n)return;const i=qB(r?.accounts,`${e} namespace`);i&&(n=i)}),n}function LB(t,e){let n=null;return ow(t?.methods)?ow(t?.events)||(n=Ue("UNSUPPORTED_EVENTS",`${e}, events should be an array of strings or empty array for no events`)):n=Ue("UNSUPPORTED_METHODS",`${e}, methods should be an array of strings or empty array for no methods`),n}function aw(t,e){let n=null;return Object.values(t).forEach(r=>{if(n)return;const i=LB(r,`${e}, namespace`);i&&(n=i)}),n}function MB(t,e,n){let r=null;if(t&&So(t)){const i=aw(t,e);i&&(r=i);const s=FB(t,e,n);s&&(r=s)}else r=_("MISSING_OR_INVALID",`${e}, ${n} should be an object with data`);return r}function Df(t,e){let n=null;if(t&&So(t)){const r=aw(t,e);r&&(n=r);const i=kB(t,e);i&&(n=i)}else n=_("MISSING_OR_INVALID",`${e}, namespaces should be an object with data`);return n}function cw(t){return Me(t.protocol,!0)}function jB(t,e){let n=!1;return e&&!t?n=!0:t&&ms(t)&&t.length&&t.forEach(r=>{n=cw(r)}),n}function zB(t){return typeof t=="number"}function jt(t){return typeof t<"u"&&typeof t!==null}function KB(t){return!(!t||typeof t!="object"||!t.code||!Pf(t.code,!1)||!t.message||!Me(t.message,!1))}function VB(t){return!(Ge(t)||!Me(t.method,!1))}function HB(t){return!(Ge(t)||Ge(t.result)&&Ge(t.error)||!Pf(t.id,!1)||!Me(t.jsonrpc,!1))}function GB(t){return!(Ge(t)||!Me(t.name,!1))}function uw(t,e){return!(!xc(e)||!nw(t).includes(e))}function WB(t,e,n){return Me(n,!1)?EB(t,e).includes(n):!1}function ZB(t,e,n){return Me(n,!1)?xB(t,e).includes(n):!1}function lw(t,e,n){let r=null;const i=YB(t),s=XB(e),o=Object.keys(i),a=Object.keys(s),c=fw(Object.keys(t)),u=fw(Object.keys(e)),l=c.filter(f=>!u.includes(f));return l.length&&(r=_("NON_CONFORMING_NAMESPACES",`${n} namespaces keys don't satisfy requiredNamespaces.
|
|
22
|
+
Required: ${l.toString()}
|
|
23
|
+
Received: ${Object.keys(e).toString()}`)),Ei(o,a)||(r=_("NON_CONFORMING_NAMESPACES",`${n} namespaces chains don't satisfy required namespaces.
|
|
24
24
|
Required: ${o.toString()}
|
|
25
|
-
Approved: ${a.toString()}`)),Object.keys(e).forEach(
|
|
26
|
-
Required: ${
|
|
27
|
-
Approved: ${l.toString()}`))}),o.forEach(h=>{r||(Ri(i[h].methods,s[h].methods)?Ri(i[h].events,s[h].events)||(r=W("NON_CONFORMING_NAMESPACES",`${n} namespaces events don't satisfy namespace events for ${h}`)):r=W("NON_CONFORMING_NAMESPACES",`${n} namespaces methods don't satisfy namespace methods for ${h}`))}),r}function nD(t){const e={};return Object.keys(t).forEach(n=>{var r;n.includes(":")?e[n]=t[n]:(r=t[n].chains)==null||r.forEach(i=>{e[i]={methods:t[n].methods,events:t[n].events}})}),e}function jw(t){return[...new Set(t.map(e=>e.includes(":")?e.split(":")[0]:e))]}function rD(t){const e={};return Object.keys(t).forEach(n=>{n.includes(":")?e[n]=t[n]:As(t[n].accounts)?.forEach(i=>{e[i]={accounts:t[n].accounts.filter(s=>s.includes(`${i}:`)),methods:t[n].methods,events:t[n].events}})}),e}function iD(t,e){return hh(t,!1)&&t<=e.max&&t>=e.min}function zw(){const t=xo();return new Promise(e=>{switch(t){case jt.browser:e(sD());break;case jt.reactNative:e(oD());break;case jt.node:e(aD());break;default:e(!0)}})}function sD(){return ms()&&navigator?.onLine}async function oD(){return Wr()&&typeof global<"u"&&global!=null&&global.NetInfo?(await(global==null?void 0:global.NetInfo.fetch()))?.isConnected:!0}function aD(){return!0}function cD(t){switch(xo()){case jt.browser:fD(t);break;case jt.reactNative:uD(t);break}}function fD(t){!Wr()&&ms()&&(window.addEventListener("online",()=>t(!0)),window.addEventListener("offline",()=>t(!1)))}function uD(t){Wr()&&typeof global<"u"&&global!=null&&global.NetInfo&&global?.NetInfo.addEventListener(e=>t(e?.isConnected))}function lD(){var t;return ms()&&Un()?((t=Un())==null?void 0:t.visibilityState)==="visible":!0}const ph={};class Co{static get(e){return ph[e]}static set(e,n){ph[e]=n}static delete(e){delete ph[e]}}function hD(t){const e=eo.decode(t);if(e.length<33)throw new Error("Too short to contain a public key");return e.slice(1,33)}function dD({publicKey:t,signature:e,payload:n}){var r;const i=gh(n.method),s=128|parseInt(((r=n.version)==null?void 0:r.toString())||"4"),o=yD(n.address),a=n.era==="00"?new Uint8Array([0]):gh(n.era);if(a.length!==1&&a.length!==2)throw new Error("Invalid era length");const c=parseInt(n.nonce,16),f=new Uint8Array([c&255,c>>8&255]),u=BigInt(`0x${gD(n.tip)}`),h=wD(u),l=new Uint8Array([0,...t,o,...e,...a,...f,...h,...i]),d=bD(l.length+1);return new Uint8Array([...d,s,...l])}function pD(t){const e=gh(t),n=e9.blake2b(e,void 0,32);return"0x"+Buffer.from(n).toString("hex")}function gh(t){return new Uint8Array(t.replace(/^0x/,"").match(/.{1,2}/g).map(e=>parseInt(e,16)))}function gD(t){return t.startsWith("0x")?t.slice(2):t}function yD(t){const e=eo.decode(t)[0];return e===42?0:e===60?2:1}function bD(t){if(t<64)return new Uint8Array([t<<2]);if(t<16384){const e=t<<2|1;return new Uint8Array([e&255,e>>8&255])}else if(t<1<<30){const e=t<<2|2;return new Uint8Array([e&255,e>>8&255,e>>16&255,e>>24&255])}else throw new Error("Compact encoding > 2^30 not supported")}function wD(t){if(t<BigInt(1)<<BigInt(6))return new Uint8Array([Number(t<<BigInt(2))]);if(t<BigInt(1)<<BigInt(14)){const e=t<<BigInt(2)|BigInt(1);return new Uint8Array([Number(e&BigInt(255)),Number(e>>BigInt(8)&BigInt(255))])}else if(t<BigInt(1)<<BigInt(30)){const e=t<<BigInt(2)|BigInt(2);return new Uint8Array([Number(e&BigInt(255)),Number(e>>BigInt(8)&BigInt(255)),Number(e>>BigInt(16)&BigInt(255)),Number(e>>BigInt(24)&BigInt(255))])}else throw new Error("BigInt compact encoding not supported > 2^30")}function mD(t){const e=Uint8Array.from(Buffer.from(t.signature,"hex")),n=hD(t.transaction.address),r=dD({publicKey:n,signature:e,payload:t.transaction}),i=Buffer.from(r).toString("hex");return pD(i)}function Hw({logger:t,name:e}){const n=typeof t=="string"?pd({opts:{level:t,name:e}}).logger:t;return n.level=typeof t=="string"?t:t.level,n}const vD="PARSE_ERROR",ED="INVALID_REQUEST",xD="METHOD_NOT_FOUND",_D="INVALID_PARAMS",Vw="INTERNAL_ERROR",yh="SERVER_ERROR",ID=[-32700,-32600,-32601,-32602,-32603],Fo={[vD]:{code:-32700,message:"Parse error"},[ED]:{code:-32600,message:"Invalid Request"},[xD]:{code:-32601,message:"Method not found"},[_D]:{code:-32602,message:"Invalid params"},[Vw]:{code:-32603,message:"Internal error"},[yh]:{code:-32e3,message:"Server error"}},Kw=yh;function SD(t){return ID.includes(t)}function Gw(t){return Object.keys(Fo).includes(t)?Fo[t]:Fo[Kw]}function BD(t){const e=Object.values(Fo).find(n=>n.code===t);return e||Fo[Kw]}function $D(t,e,n){return t.message.includes("getaddrinfo ENOTFOUND")||t.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${n} RPC url at ${e}`):t}var Zw={};/*! *****************************************************************************
|
|
25
|
+
Approved: ${a.toString()}`)),Object.keys(e).forEach(f=>{if(!f.includes(":")||r)return;const d=ys(e[f].accounts);d.includes(f)||(r=_("NON_CONFORMING_NAMESPACES",`${n} namespaces accounts don't satisfy namespace accounts for ${f}
|
|
26
|
+
Required: ${f}
|
|
27
|
+
Approved: ${d.toString()}`))}),o.forEach(f=>{r||(Ei(i[f].methods,s[f].methods)?Ei(i[f].events,s[f].events)||(r=_("NON_CONFORMING_NAMESPACES",`${n} namespaces events don't satisfy namespace events for ${f}`)):r=_("NON_CONFORMING_NAMESPACES",`${n} namespaces methods don't satisfy namespace methods for ${f}`))}),r}function YB(t){const e={};return Object.keys(t).forEach(n=>{var r;n.includes(":")?e[n]=t[n]:(r=t[n].chains)==null||r.forEach(i=>{e[i]={methods:t[n].methods,events:t[n].events}})}),e}function fw(t){return[...new Set(t.map(e=>e.includes(":")?e.split(":")[0]:e))]}function XB(t){const e={};return Object.keys(t).forEach(n=>{n.includes(":")?e[n]=t[n]:ys(t[n].accounts)?.forEach(i=>{e[i]={accounts:t[n].accounts.filter(s=>s.includes(`${i}:`)),methods:t[n].methods,events:t[n].events}})}),e}function JB(t,e){return Pf(t,!1)&&t<=e.max&&t>=e.min}function hw(){const t=lo();return new Promise(e=>{switch(t){case Xt.browser:e(QB());break;case Xt.reactNative:e(_B());break;case Xt.node:e($B());break;default:e(!0)}})}function QB(){return vi()&&navigator?.onLine}async function _B(){return nr()&&typeof global<"u"&&global!=null&&global.NetInfo?(await(global==null?void 0:global.NetInfo.fetch()))?.isConnected:!0}function $B(){return!0}function eO(t){switch(lo()){case Xt.browser:tO(t);break;case Xt.reactNative:nO(t);break}}function tO(t){!nr()&&vi()&&(window.addEventListener("online",()=>t(!0)),window.addEventListener("offline",()=>t(!1)))}function nO(t){nr()&&typeof global<"u"&&global!=null&&global.NetInfo&&global?.NetInfo.addEventListener(e=>t(e?.isConnected))}function rO(){var t;return vi()&&ui()?((t=ui())==null?void 0:t.visibilityState)==="visible":!0}const Rf={};class Bo{static get(e){return Rf[e]}static set(e,n){Rf[e]=n}static delete(e){delete Rf[e]}}function iO(t){const e=os.decode(t);if(e.length<33)throw new Error("Too short to contain a public key");return e.slice(1,33)}function sO({publicKey:t,signature:e,payload:n}){var r;const i=Tf(n.method),s=128|parseInt(((r=n.version)==null?void 0:r.toString())||"4"),o=cO(n.address),a=n.era==="00"?new Uint8Array([0]):Tf(n.era);if(a.length!==1&&a.length!==2)throw new Error("Invalid era length");const c=parseInt(n.nonce,16),u=new Uint8Array([c&255,c>>8&255]),l=BigInt(`0x${aO(n.tip)}`),f=lO(l),d=new Uint8Array([0,...t,o,...e,...a,...u,...f,...i]),h=uO(d.length+1);return new Uint8Array([...h,s,...d])}function oO(t){const e=Tf(t),n=V7.blake2b(e,void 0,32);return"0x"+Buffer.from(n).toString("hex")}function Tf(t){return new Uint8Array(t.replace(/^0x/,"").match(/.{1,2}/g).map(e=>parseInt(e,16)))}function aO(t){return t.startsWith("0x")?t.slice(2):t}function cO(t){const e=os.decode(t)[0];return e===42?0:e===60?2:1}function uO(t){if(t<64)return new Uint8Array([t<<2]);if(t<16384){const e=t<<2|1;return new Uint8Array([e&255,e>>8&255])}else if(t<1<<30){const e=t<<2|2;return new Uint8Array([e&255,e>>8&255,e>>16&255,e>>24&255])}else throw new Error("Compact encoding > 2^30 not supported")}function lO(t){if(t<BigInt(1)<<BigInt(6))return new Uint8Array([Number(t<<BigInt(2))]);if(t<BigInt(1)<<BigInt(14)){const e=t<<BigInt(2)|BigInt(1);return new Uint8Array([Number(e&BigInt(255)),Number(e>>BigInt(8)&BigInt(255))])}else if(t<BigInt(1)<<BigInt(30)){const e=t<<BigInt(2)|BigInt(2);return new Uint8Array([Number(e&BigInt(255)),Number(e>>BigInt(8)&BigInt(255)),Number(e>>BigInt(16)&BigInt(255)),Number(e>>BigInt(24)&BigInt(255))])}else throw new Error("BigInt compact encoding not supported > 2^30")}function fO(t){const e=Uint8Array.from(Buffer.from(t.signature,"hex")),n=iO(t.transaction.address),r=sO({publicKey:n,signature:e,payload:t.transaction}),i=Buffer.from(r).toString("hex");return oO(i)}function dw({logger:t,name:e}){const n=typeof t=="string"?rd({opts:{level:t,name:e}}).logger:t;return n.level=typeof t=="string"?t:t.level,n}const hO="https://api.pay.walletconnect.com",dO="js-walletconnect-pay",pO="1.0.4",En="WalletConnectPay";function gO(){return g1()?"rn-ios":p1()?"rn-android":vi()?"browser":uo()?"node":"unknown"}var bO=Object.defineProperty,wO=(t,e,n)=>e in t?bO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,pw=(t,e,n)=>wO(t,typeof e!="symbol"?e+"":e,n);class Ne extends Error{constructor(e,n,r){super(n),pw(this,"code"),pw(this,"originalMessage"),this.name="PayError",this.code=e,this.originalMessage=r??n,Object.setPrototypeOf(this,Ne.prototype)}static fromNativeError(e){if(e instanceof Ne)return e;const n=e instanceof Error?e.message:String(e);return n.includes("JSON parse error")?new Ne("JSON_PARSE",n):n.includes("JSON serialize error")?new Ne("JSON_SERIALIZE",n):n.includes("Payment options error")?new Ne("PAYMENT_OPTIONS",n):n.includes("Payment request error")?new Ne("PAYMENT_REQUEST",n):n.includes("Confirm payment error")?new Ne("CONFIRM_PAYMENT",n):new Ne("UNKNOWN",n)}}class Nf extends Ne{constructor(){super("NATIVE_MODULE_NOT_FOUND","WalletConnect Pay native module not found. Make sure @walletconnect/react-native-compat is installed and linked."),this.name="NativeModuleNotFoundError",Object.setPrototypeOf(this,Nf.prototype)}}class Uf extends Ne{constructor(e){super("PAYMENT_OPTIONS",`Failed to get payment options: ${e}`,e),this.name="PaymentOptionsError",Object.setPrototypeOf(this,Uf.prototype)}}class Cf extends Ne{constructor(e){super("PAYMENT_REQUEST",`Failed to get payment actions: ${e}`,e),this.name="PaymentActionsError",Object.setPrototypeOf(this,Cf.prototype)}}class Ff extends Ne{constructor(e){super("CONFIRM_PAYMENT",`Failed to confirm payment: ${e}`,e),this.name="ConfirmPaymentError",Object.setPrototypeOf(this,Ff.prototype)}}function yO(t){var e;return JSON.stringify({paymentLink:t.paymentLink,accounts:t.accounts,includePaymentInfo:(e=t.includePaymentInfo)!=null?e:!1})}function mO(t){return JSON.stringify({paymentId:t.paymentId,optionId:t.optionId})}function vO(t){return JSON.stringify({paymentId:t.paymentId,optionId:t.optionId,signatures:t.signatures,collectedData:t.collectedData})}function EO(t){const e=JSON.parse(t);if(!e||typeof e!="object")throw new Ne("JSON_PARSE","Invalid payment options response format");return e}function xO(t){const e=JSON.parse(t);if(!Array.isArray(e))throw new Ne("JSON_PARSE","Invalid required actions response format: expected array");return e}function IO(t){const e=JSON.parse(t);if(!e||typeof e!="object")throw new Ne("JSON_PARSE","Invalid confirm payment response format");return e}function qf(t){return Ne.fromNativeError(t)}var SO=Object.defineProperty,BO=(t,e,n)=>e in t?SO(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,OO=(t,e,n)=>BO(t,typeof e!="symbol"?e+"":e,n);class gw{constructor(e){OO(this,"backend"),this.backend=e}async getPaymentOptions(e){try{const n=await this.backend.getPaymentOptions(yO(e));return EO(n)}catch(n){throw qf(n)}}async getRequiredPaymentActions(e){try{const n=await this.backend.getRequiredPaymentActions(mO(e));return xO(n)}catch(n){throw qf(n)}}async confirmPayment(e){try{const n=await this.backend.confirmPayment(vO(e));return IO(n)}catch(n){throw qf(n)}}}let $r;function bw(){var t,e;if($r!==void 0)return $r;try{const n=globalThis.ReactNative;if((t=n?.NativeModules)!=null&&t.RNWalletConnectPay)return $r=n.NativeModules.RNWalletConnectPay,$r;const r=(e=globalThis.expo)==null?void 0:e.modules;return r!=null&&r.RNWalletConnectPay?($r=r.RNWalletConnectPay,$r):($r=null,null)}catch{return $r=null,null}}function AO(){return bw()!==null}function PO(t){const e=bw();if(!e)throw new Nf;if(e.initialize)try{e.initialize(JSON.stringify(t))}catch(n){throw new Ne("INITIALIZATION_ERROR",`Failed to initialize native Pay module: ${n instanceof Error?n.message:String(n)}`)}return{getPaymentOptions:n=>e.getPaymentOptions(n),getRequiredPaymentActions:n=>e.getRequiredPaymentActions(n),confirmPayment:n=>e.confirmPayment(n)}}function DO(t){const e=PO(t);return new gw(e)}const RO="W2FGuATCZLjPaQyE1gheW1ihm5tq14hm7iJqFdH96+ZDxZDmsHi5NCsk/KOGtvqtrSMatVuFDvxvL0vn2I8RqCRqruyMrTmK/X/ilDigqqqqqqqqqqpqA8keya2fSdZ5yVZYYJEqdKWIwontmv5/EMwjRC9LPnVmOWLhLFFWrcKj7WuuuuORdZEFSVKFTs+44f4tddg8ROKBX/Azuh06RoPxsDVBRl0VGGNEoUuaku5mmC/ukCKHlhivYLM4HMbQDLMQM6254A1XfttkApfccN99/4A7w24qrIX9wVzHR2SnFLblJ8yQ05RTZOr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wiebqn/hKPQo5vnF4KHSj9J4lgrgPyAOcBjgHe57rYwmoDYdAbK1DuxSPsDLX6vgykmLkZAf6aoAkPK1I80bG7n1GA+AKB1bs/SHKSA7SvSru57jlkjy0ttmI1UPf924IzqDH3/cfW1gU7LhcZyG0nsHBEAS9JF3xp3L4TWPHmZsk1876XQvIDSYcUP6Ycm94LAzGt1HJjvVTOQVd39j3UHK7d2h4Qj36Q1f//meaQ24F6dm2DOfg39e/zqz74+rBILnncb9BQaaqCq5R5QArsgNuft+2esKkolt4yUuoAoq2XCFFcjldv+H/ZRbIwdSUzPHn/moO56ehsUudljT6Yz0rAyv7fn0dKxNTtfMKDF2ACV5kKF5J0gR61/fyG2GQohnahAoreJAsedcrXvz+uaNgAnTfAOwdailwekRR77x+2HWys4dtyvf88+c4tR7Pw2/KkH8w38yxvBxj9kLZBWP/0GAv06879Dc6sk/";let de;const ur=new Array(128).fill(void 0);ur.push(void 0,null,!0,!1);function Q(t){return ur[t]}let Ic=null;function TO(){if(!Ic){if(typeof TextDecoder>"u")throw Error("TextDecoder not available");Ic=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),Ic.decode()}return Ic}let Oo=null;function Ao(){return(Oo===null||Oo.byteLength===0)&&(Oo=new Uint8Array(de.memory.buffer)),Oo}function lr(t,e){return t=t>>>0,TO().decode(Ao().subarray(t,t+e))}let Po=ur.length;function oe(t){Po===ur.length&&ur.push(ur.length+1);const e=Po;return Po=ur[e],ur[e]=t,e}function ke(t,e){try{return t.apply(this,e)}catch(n){de.__wbindgen_export_0(oe(n))}}function Ri(t){return t==null}function NO(t){t<132||(ur[t]=Po,Po=t)}function ei(t){const e=Q(t);return NO(t),e}function UO(t,e){return t=t>>>0,Ao().subarray(t/1,t/1+e)}let ti=0,kf=null;function ww(){if(!kf){if(typeof TextEncoder>"u")throw Error("TextEncoder not available");kf=new TextEncoder("utf-8")}return kf}function CO(t,e){const n=ww();if(typeof n.encodeInto=="function")return n.encodeInto(t,e);const r=n.encode(t);return e.set(r),{read:t.length,written:r.length}}function vs(t,e,n){if(n===void 0){const a=ww().encode(t),c=e(a.length,1)>>>0;return Ao().subarray(c,c+a.length).set(a),ti=a.length,c}let r=t.length,i=e(r,1)>>>0;const s=Ao();let o=0;for(;o<r;o++){const a=t.charCodeAt(o);if(a>127)break;s[i+o]=a}if(o!==r){o!==0&&(t=t.slice(o)),i=n(i,r,r=o+t.length*3,1)>>>0;const a=Ao().subarray(i+o,i+r),c=CO(t,a);o+=c.written,i=n(i,r,o,1)>>>0}return ti=o,i}let Ti=null;function Ni(){return(Ti===null||Ti.buffer.detached===!0||Ti.buffer.detached===void 0&&Ti.buffer!==de.memory.buffer)&&(Ti=new DataView(de.memory.buffer)),Ti}const yw=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{de.__wbindgen_export_3.get(t.dtor)(t.a,t.b)});function Lf(t,e,n,r){const i={a:t,b:e,cnt:1,dtor:n},s=(...o)=>{i.cnt++;const a=i.a;i.a=0;try{return r(a,i.b,...o)}finally{--i.cnt===0?(de.__wbindgen_export_3.get(i.dtor)(a,i.b),yw.unregister(i)):i.a=a}};return s.original=i,yw.register(s,i,i),s}function FO(t,e){de.__wbindgen_export_4(t,e)}function qO(t,e){de.__wbindgen_export_5(t,e)}function kO(t,e,n){de.__wbindgen_export_6(t,e,oe(n))}function LO(t,e,n,r){de.__wbindgen_export_7(t,e,oe(n),oe(r))}const MO=["default","no-store","reload","no-cache","force-cache","only-if-cached"],jO=["omit","same-origin","include"],zO=["same-origin","no-cors","cors","navigate"];typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>de.__wbg_intounderlyingbytesource_free(t>>>0,1)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>de.__wbg_intounderlyingsink_free(t>>>0,1)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>de.__wbg_intounderlyingsource_free(t>>>0,1));const mw=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>de.__wbg_payjson_free(t>>>0,1));class KO{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,mw.unregister(this),e}free(){const e=this.__destroy_into_raw();de.__wbg_payjson_free(e,0)}confirm_payment(e){const n=vs(e,de.__wbindgen_export_1,de.__wbindgen_export_2),r=ti,i=de.payjson_confirm_payment(this.__wbg_ptr,n,r);return ei(i)}get_payment_options(e){const n=vs(e,de.__wbindgen_export_1,de.__wbindgen_export_2),r=ti,i=de.payjson_get_payment_options(this.__wbg_ptr,n,r);return ei(i)}get_required_payment_actions(e){const n=vs(e,de.__wbindgen_export_1,de.__wbindgen_export_2),r=ti,i=de.payjson_get_required_payment_actions(this.__wbg_ptr,n,r);return ei(i)}constructor(e){try{const s=de.__wbindgen_add_to_stack_pointer(-16),o=vs(e,de.__wbindgen_export_1,de.__wbindgen_export_2),a=ti;de.payjson_new(s,o,a);var n=Ni().getInt32(s+4*0,!0),r=Ni().getInt32(s+4*1,!0),i=Ni().getInt32(s+4*2,!0);if(i)throw ei(r);return this.__wbg_ptr=n>>>0,mw.register(this,this.__wbg_ptr,this),this}finally{de.__wbindgen_add_to_stack_pointer(16)}}}function VO(){const t={};return t.wbg={},t.wbg.__wbg_abort_410ec47a64ac6117=function(e,n){Q(e).abort(Q(n))},t.wbg.__wbg_abort_775ef1d17fc65868=function(e){Q(e).abort()},t.wbg.__wbg_append_8c7dd8d641a5f01b=function(){return ke(function(e,n,r,i,s){Q(e).append(lr(n,r),lr(i,s))},arguments)},t.wbg.__wbg_arrayBuffer_d1b44c4390db422f=function(){return ke(function(e){const n=Q(e).arrayBuffer();return oe(n)},arguments)},t.wbg.__wbg_buffer_09165b52af8c5237=function(e){const n=Q(e).buffer;return oe(n)},t.wbg.__wbg_buffer_609cc3eee51ed158=function(e){const n=Q(e).buffer;return oe(n)},t.wbg.__wbg_byobRequest_77d9adf63337edfb=function(e){const n=Q(e).byobRequest;return Ri(n)?0:oe(n)},t.wbg.__wbg_byteLength_e674b853d9c77e1d=function(e){return Q(e).byteLength},t.wbg.__wbg_byteOffset_fd862df290ef848d=function(e){return Q(e).byteOffset},t.wbg.__wbg_call_672a4d21634d4a24=function(){return ke(function(e,n){const r=Q(e).call(Q(n));return oe(r)},arguments)},t.wbg.__wbg_call_7cccdd69e0791ae2=function(){return ke(function(e,n,r){const i=Q(e).call(Q(n),Q(r));return oe(i)},arguments)},t.wbg.__wbg_clearTimeout_3b6a9a13d4bde075=function(e){const n=clearTimeout(ei(e));return oe(n)},t.wbg.__wbg_close_304cc1fef3466669=function(){return ke(function(e){Q(e).close()},arguments)},t.wbg.__wbg_close_5ce03e29be453811=function(){return ke(function(e){Q(e).close()},arguments)},t.wbg.__wbg_crypto_574e78ad8b13b65f=function(e){const n=Q(e).crypto;return oe(n)},t.wbg.__wbg_done_769e5ede4b31c67b=function(e){return Q(e).done},t.wbg.__wbg_enqueue_bb16ba72f537dc9e=function(){return ke(function(e,n){Q(e).enqueue(Q(n))},arguments)},t.wbg.__wbg_fetch_509096533071c657=function(e,n){const r=Q(e).fetch(Q(n));return oe(r)},t.wbg.__wbg_fetch_df3fa17a5772dafb=function(e){const n=fetch(Q(e));return oe(n)},t.wbg.__wbg_getRandomValues_3c9c0d586e575a16=function(){return ke(function(e,n){globalThis.crypto.getRandomValues(UO(e,n))},arguments)},t.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e=function(){return ke(function(e,n){Q(e).getRandomValues(Q(n))},arguments)},t.wbg.__wbg_get_67b2ba62fc30de12=function(){return ke(function(e,n){const r=Reflect.get(Q(e),Q(n));return oe(r)},arguments)},t.wbg.__wbg_has_a5ea9117f258a0ec=function(){return ke(function(e,n){return Reflect.has(Q(e),Q(n))},arguments)},t.wbg.__wbg_headers_9cb51cfd2ac780a4=function(e){const n=Q(e).headers;return oe(n)},t.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644=function(e){let n;try{n=Q(e)instanceof Response}catch{n=!1}return n},t.wbg.__wbg_iterator_9a24c88df860dc65=function(){return oe(Symbol.iterator)},t.wbg.__wbg_length_a446193dc22c12f8=function(e){return Q(e).length},t.wbg.__wbg_msCrypto_a61aeb35a24c1329=function(e){const n=Q(e).msCrypto;return oe(n)},t.wbg.__wbg_new_018dcc2d6c8c2f6a=function(){return ke(function(){const e=new Headers;return oe(e)},arguments)},t.wbg.__wbg_new_23a2665fac83c611=function(e,n){try{var r={a:e,b:n},i=(o,a)=>{const c=r.a;r.a=0;try{return LO(c,r.b,o,a)}finally{r.a=c}};const s=new Promise(i);return oe(s)}finally{r.a=r.b=0}},t.wbg.__wbg_new_405e22f390576ce2=function(){const e=new Object;return oe(e)},t.wbg.__wbg_new_a12002a7f91c75be=function(e){const n=new Uint8Array(Q(e));return oe(n)},t.wbg.__wbg_new_c68d7209be747379=function(e,n){const r=new Error(lr(e,n));return oe(r)},t.wbg.__wbg_new_e25e5aab09ff45db=function(){return ke(function(){const e=new AbortController;return oe(e)},arguments)},t.wbg.__wbg_newnoargs_105ed471475aaf50=function(e,n){const r=new Function(lr(e,n));return oe(r)},t.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a=function(e,n,r){const i=new Uint8Array(Q(e),n>>>0,r>>>0);return oe(i)},t.wbg.__wbg_newwithlength_a381634e90c276d4=function(e){const n=new Uint8Array(e>>>0);return oe(n)},t.wbg.__wbg_newwithstrandinit_06c535e0a867c635=function(){return ke(function(e,n,r){const i=new Request(lr(e,n),Q(r));return oe(i)},arguments)},t.wbg.__wbg_next_25feadfc0913fea9=function(e){const n=Q(e).next;return oe(n)},t.wbg.__wbg_next_6574e1a8a62d1055=function(){return ke(function(e){const n=Q(e).next();return oe(n)},arguments)},t.wbg.__wbg_node_905d3e251edff8a2=function(e){const n=Q(e).node;return oe(n)},t.wbg.__wbg_now_807e54c39636c349=function(){return Date.now()},t.wbg.__wbg_now_e1163c67115ff874=function(e){return Q(e).now()},t.wbg.__wbg_performance_7fe0928f3ab059e5=function(e){const n=Q(e).performance;return oe(n)},t.wbg.__wbg_process_dc0fbacc7c1c06f7=function(e){const n=Q(e).process;return oe(n)},t.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5=function(e){queueMicrotask(Q(e))},t.wbg.__wbg_queueMicrotask_d3219def82552485=function(e){const n=Q(e).queueMicrotask;return oe(n)},t.wbg.__wbg_randomFillSync_ac0988aba3254290=function(){return ke(function(e,n){Q(e).randomFillSync(ei(n))},arguments)},t.wbg.__wbg_require_60cc747a6bc5215a=function(){return ke(function(){const e=module.require;return oe(e)},arguments)},t.wbg.__wbg_resolve_4851785c9c5f573d=function(e){const n=Promise.resolve(Q(e));return oe(n)},t.wbg.__wbg_respond_1f279fa9f8edcb1c=function(){return ke(function(e,n){Q(e).respond(n>>>0)},arguments)},t.wbg.__wbg_setTimeout_35a07631c669fbee=function(e,n){const r=setTimeout(Q(e),n);return oe(r)},t.wbg.__wbg_setTimeout_42370cb3051b8c2c=function(){return ke(function(e,n,r){const i=Q(e).setTimeout(Q(n),r);return oe(i)},arguments)},t.wbg.__wbg_set_65595bdd868b3009=function(e,n,r){Q(e).set(Q(n),r>>>0)},t.wbg.__wbg_setbody_5923b78a95eedf29=function(e,n){Q(e).body=Q(n)},t.wbg.__wbg_setcache_12f17c3a980650e4=function(e,n){Q(e).cache=MO[n]},t.wbg.__wbg_setcredentials_c3a22f1cd105a2c6=function(e,n){Q(e).credentials=jO[n]},t.wbg.__wbg_setheaders_834c0bdb6a8949ad=function(e,n){Q(e).headers=Q(n)},t.wbg.__wbg_setmethod_3c5280fe5d890842=function(e,n,r){Q(e).method=lr(n,r)},t.wbg.__wbg_setmode_5dc300b865044b65=function(e,n){Q(e).mode=zO[n]},t.wbg.__wbg_setsignal_75b21ef3a81de905=function(e,n){Q(e).signal=Q(n)},t.wbg.__wbg_signal_aaf9ad74119f20a4=function(e){const n=Q(e).signal;return oe(n)},t.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07=function(){const e=typeof global>"u"?null:global;return Ri(e)?0:oe(e)},t.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0=function(){const e=typeof globalThis>"u"?null:globalThis;return Ri(e)?0:oe(e)},t.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819=function(){const e=typeof self>"u"?null:self;return Ri(e)?0:oe(e)},t.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40=function(){const e=typeof window>"u"?null:window;return Ri(e)?0:oe(e)},t.wbg.__wbg_status_f6360336ca686bf0=function(e){return Q(e).status},t.wbg.__wbg_stringify_f7ed6987935b4a24=function(){return ke(function(e){const n=JSON.stringify(Q(e));return oe(n)},arguments)},t.wbg.__wbg_subarray_aa9065fa9dc5df96=function(e,n,r){const i=Q(e).subarray(n>>>0,r>>>0);return oe(i)},t.wbg.__wbg_text_7805bea50de2af49=function(){return ke(function(e){const n=Q(e).text();return oe(n)},arguments)},t.wbg.__wbg_then_44b73946d2fb3e7d=function(e,n){const r=Q(e).then(Q(n));return oe(r)},t.wbg.__wbg_then_48b406749878a531=function(e,n,r){const i=Q(e).then(Q(n),Q(r));return oe(i)},t.wbg.__wbg_url_ae10c34ca209681d=function(e,n){const r=Q(n).url,i=vs(r,de.__wbindgen_export_1,de.__wbindgen_export_2),s=ti;Ni().setInt32(e+4*1,s,!0),Ni().setInt32(e+4*0,i,!0)},t.wbg.__wbg_value_cd1ffa7b1ab794f1=function(e){const n=Q(e).value;return oe(n)},t.wbg.__wbg_versions_c01dfd4722a88165=function(e){const n=Q(e).versions;return oe(n)},t.wbg.__wbg_view_fd8a56e8983f448d=function(e){const n=Q(e).view;return Ri(n)?0:oe(n)},t.wbg.__wbindgen_cb_drop=function(e){const n=ei(e).original;return n.cnt--==1?(n.a=0,!0):!1},t.wbg.__wbindgen_closure_wrapper1265=function(e,n,r){const i=Lf(e,n,145,FO);return oe(i)},t.wbg.__wbindgen_closure_wrapper1473=function(e,n,r){const i=Lf(e,n,168,qO);return oe(i)},t.wbg.__wbindgen_closure_wrapper1754=function(e,n,r){const i=Lf(e,n,226,kO);return oe(i)},t.wbg.__wbindgen_error_new=function(e,n){const r=new Error(lr(e,n));return oe(r)},t.wbg.__wbindgen_is_function=function(e){return typeof Q(e)=="function"},t.wbg.__wbindgen_is_object=function(e){const n=Q(e);return typeof n=="object"&&n!==null},t.wbg.__wbindgen_is_string=function(e){return typeof Q(e)=="string"},t.wbg.__wbindgen_is_undefined=function(e){return Q(e)===void 0},t.wbg.__wbindgen_memory=function(){const e=de.memory;return oe(e)},t.wbg.__wbindgen_object_clone_ref=function(e){const n=Q(e);return oe(n)},t.wbg.__wbindgen_object_drop_ref=function(e){ei(e)},t.wbg.__wbindgen_string_get=function(e,n){const r=Q(n),i=typeof r=="string"?r:void 0;var s=Ri(i)?0:vs(i,de.__wbindgen_export_1,de.__wbindgen_export_2),o=ti;Ni().setInt32(e+4*1,o,!0),Ni().setInt32(e+4*0,s,!0)},t.wbg.__wbindgen_string_new=function(e,n){const r=lr(e,n);return oe(r)},t.wbg.__wbindgen_throw=function(e,n){throw new Error(lr(e,n))},t}function HO(t,e){return de=t.exports,Ti=null,Oo=null,de}function GO(t){if(de!==void 0)return de;typeof t<"u"&&(Object.getPrototypeOf(t)===Object.prototype?{module:t}=t:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const e=VO();t instanceof WebAssembly.Module||(t=new WebAssembly.Module(t));const n=new WebAssembly.Instance(t,e);return HO(n)}var Do={},Sc={};function vw(t){this.buffer=t,this.pos=0}vw.prototype.read=function(t,e,n){this.pos+n>this.buffer.length&&(n=this.buffer.length-this.pos);for(var r=0;r<n;r++)t[e+r]=this.buffer[this.pos+r];return this.pos+=n,n},Sc.BrotliInput=vw;function Ew(t){this.buffer=t,this.pos=0}Ew.prototype.write=function(t,e){if(this.pos+e>this.buffer.length)throw new Error("Output buffer is not large enough");return this.buffer.set(t.subarray(0,e),this.pos),this.pos+=e,e},Sc.BrotliOutput=Ew;var Ui=4096,WO=2*Ui+32,xw=2*Ui-1,ZO=new Uint32Array([0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215]);function Ci(t){this.buf_=new Uint8Array(WO),this.input_=t,this.reset()}Ci.READ_SIZE=Ui,Ci.IBUF_MASK=xw,Ci.prototype.reset=function(){this.buf_ptr_=0,this.val_=0,this.pos_=0,this.bit_pos_=0,this.bit_end_pos_=0,this.eos_=0,this.readMoreInput();for(var t=0;t<4;t++)this.val_|=this.buf_[this.pos_]<<8*t,++this.pos_;return this.bit_end_pos_>0},Ci.prototype.readMoreInput=function(){if(!(this.bit_end_pos_>256))if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var t=this.buf_ptr_,e=this.input_.read(this.buf_,t,Ui);if(e<0)throw new Error("Unexpected end of input");if(e<Ui){this.eos_=1;for(var n=0;n<32;n++)this.buf_[t+e+n]=0}if(t===0){for(var n=0;n<32;n++)this.buf_[(Ui<<1)+n]=this.buf_[n];this.buf_ptr_=Ui}else this.buf_ptr_=0;this.bit_end_pos_+=e<<3}},Ci.prototype.fillBitWindow=function(){for(;this.bit_pos_>=8;)this.val_>>>=8,this.val_|=this.buf_[this.pos_&xw]<<24,++this.pos_,this.bit_pos_=this.bit_pos_-8>>>0,this.bit_end_pos_=this.bit_end_pos_-8>>>0},Ci.prototype.readBits=function(t){32-this.bit_pos_<t&&this.fillBitWindow();var e=this.val_>>>this.bit_pos_&ZO[t];return this.bit_pos_+=t,e};var YO=Ci,ni={},Mf={},Bc={};Bc.byteLength=QO,Bc.toByteArray=$O,Bc.fromByteArray=nA;for(var Un=[],cn=[],XO=typeof Uint8Array<"u"?Uint8Array:Array,jf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Es=0,JO=jf.length;Es<JO;++Es)Un[Es]=jf[Es],cn[jf.charCodeAt(Es)]=Es;cn[45]=62,cn[95]=63;function Iw(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");n===-1&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function QO(t){var e=Iw(t),n=e[0],r=e[1];return(n+r)*3/4-r}function _O(t,e,n){return(e+n)*3/4-n}function $O(t){var e,n=Iw(t),r=n[0],i=n[1],s=new XO(_O(t,r,i)),o=0,a=i>0?r-4:r,c;for(c=0;c<a;c+=4)e=cn[t.charCodeAt(c)]<<18|cn[t.charCodeAt(c+1)]<<12|cn[t.charCodeAt(c+2)]<<6|cn[t.charCodeAt(c+3)],s[o++]=e>>16&255,s[o++]=e>>8&255,s[o++]=e&255;return i===2&&(e=cn[t.charCodeAt(c)]<<2|cn[t.charCodeAt(c+1)]>>4,s[o++]=e&255),i===1&&(e=cn[t.charCodeAt(c)]<<10|cn[t.charCodeAt(c+1)]<<4|cn[t.charCodeAt(c+2)]>>2,s[o++]=e>>8&255,s[o++]=e&255),s}function eA(t){return Un[t>>18&63]+Un[t>>12&63]+Un[t>>6&63]+Un[t&63]}function tA(t,e,n){for(var r,i=[],s=e;s<n;s+=3)r=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(t[s+2]&255),i.push(eA(r));return i.join("")}function nA(t){for(var e,n=t.length,r=n%3,i=[],s=16383,o=0,a=n-r;o<a;o+=s)i.push(tA(t,o,o+s>a?a:o+s));return r===1?(e=t[n-1],i.push(Un[e>>2]+Un[e<<4&63]+"==")):r===2&&(e=(t[n-2]<<8)+t[n-1],i.push(Un[e>>10]+Un[e>>4&63]+Un[e<<2&63]+"=")),i.join("")}var Sw,Bw;function rA(){return Bw||(Bw=1,Sw="W5/fcQLn5gKf2XUbAiQ1XULX+TZz6ADToDsgqk6qVfeC0e4m6OO2wcQ1J76ZBVRV1fRkEsdu//62zQsFEZWSTCnMhcsQKlS2qOhuVYYMGCkV0fXWEoMFbESXrKEZ9wdUEsyw9g4bJlEt1Y6oVMxMRTEVbCIwZzJzboK5j8m4YH02qgXYhv1V+PM435sLVxy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0BHNWnip3liDXI2fXf05jjvfJ0NpjLCUgfTh9CMFYVFKEd4Z/OG/2C+N435mnK+9t1gvCiVcaaH7rK4+PjCvpVNiz+t2QyqH1O8x3JKZVl6Q+Lp/XK8wMjVMslOq9FdSw5FtUs/CptXH9PW+wbWHgrV17R5jTVOtGtKFu3nb80T+E0tv9QkzW3J2dbaw/8ddAKZ0pxIaEqLjlPrji3VgJ3GvdFvlqD8075woxh4fVt0JZE0KVFsAvqhe0dqN9b35jtSpnYMXkU+vZq+IAHad3IHc2s/LYrnD1anfG46IFiMIr9oNbZDWvwthqYNqOigaKd/XlLU4XHfk/PXIjPsLy/9/kAtQ+/wKH+hI/IROWj5FPvTZAT9f7j4ZXQyG4M0TujMAFXYkKvEHv1xhySekgXGGqNxWeWKlf8dDAlLuB1cb/qOD+rk7cmwt+1yKpk9cudqBanTi6zTbXRtV8qylNtjyOVKy1HTz0GW9rjt6sSjAZcT5R+KdtyYb0zyqG9pSLuCw5WBwAn7fjBjKLLoxLXMI+52L9cLwIR2B6OllJZLHJ8vDxmWdtF+QJnmt1rsHPIWY20lftk8fYePkAIg6Hgn532QoIpegMxiWgAOfe5/U44APR8Ac0NeZrVh3gEhs12W+tVSiWiUQekf/YBECUy5fdYbA08dd7VzPAP9aiVcIB9k6tY7WdJ1wNV+bHeydNtmC6G5ICtFC1ZwmJU/j8hf0I8TRVKSiz5oYIa93EpUI78X8GYIAZabx47/n8LDAAJ0nNtP1rpROprqKMBRecShca6qXuTSI3jZBLOB3Vp381B5rCGhjSvh/NSVkYp2qIdP/Bg="),Sw}var Ow;function iA(){if(Ow)return Mf;Ow=1;var t=Bc;return Mf.init=function(){var e=Uw().BrotliDecompressBuffer,n=t.toByteArray(rA());return e(n)},Mf}var Aw;function Pw(){if(Aw)return ni;Aw=1;var t=iA();return ni.init=function(){ni.dictionary=t.init()},ni.offsetsByLength=new Uint32Array([0,0,0,0,0,4096,9216,21504,35840,44032,53248,63488,74752,87040,93696,100864,104704,106752,108928,113536,115968,118528,119872,121280,122016]),ni.sizeBitsByLength=new Uint8Array([0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5]),ni.minDictionaryWordLength=4,ni.maxDictionaryWordLength=24,ni}var Oc={};function xs(t,e){this.bits=t,this.value=e}Oc.HuffmanCode=xs;var Is=15;function Dw(t,e){for(var n=1<<e-1;t&n;)n>>=1;return(t&n-1)+n}function Rw(t,e,n,r,i){do r-=n,t[e+r]=new xs(i.bits,i.value);while(r>0)}function sA(t,e,n){for(var r=1<<e-n;e<Is&&(r-=t[e],!(r<=0));)++e,r<<=1;return e-n}Oc.BrotliBuildHuffmanTable=function(t,e,n,r,i){var s=e,o,a,c,u,l,f,d,h,p,w,m,P=new Int32Array(Is+1),T=new Int32Array(Is+1);for(m=new Int32Array(i),c=0;c<i;c++)P[r[c]]++;for(T[1]=0,a=1;a<Is;a++)T[a+1]=T[a]+P[a];for(c=0;c<i;c++)r[c]!==0&&(m[T[r[c]]++]=c);if(h=n,p=1<<h,w=p,T[Is]===1){for(u=0;u<w;++u)t[e+u]=new xs(0,m[0]&65535);return w}for(u=0,c=0,a=1,l=2;a<=n;++a,l<<=1)for(;P[a]>0;--P[a])o=new xs(a&255,m[c++]&65535),Rw(t,e+u,l,p,o),u=Dw(u,a);for(d=w-1,f=-1,a=n+1,l=2;a<=Is;++a,l<<=1)for(;P[a]>0;--P[a])(u&d)!==f&&(e+=p,h=sA(P,a,n),p=1<<h,w+=p,f=u&d,t[s+f]=new xs(h+n&255,e-s-f&65535)),o=new xs(a-n&255,m[c++]&65535),Rw(t,e+(u>>n),l,p,o),u=Dw(u,a);return w};var zf={};zf.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52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,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),zf.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512]);var Ss={};function te(t,e){this.offset=t,this.nbits=e}Ss.kBlockLengthPrefixCode=[new te(1,2),new te(5,2),new te(9,2),new te(13,2),new te(17,3),new te(25,3),new te(33,3),new te(41,3),new te(49,4),new te(65,4),new te(81,4),new te(97,4),new te(113,5),new te(145,5),new te(177,5),new te(209,5),new te(241,6),new te(305,6),new te(369,7),new te(497,8),new te(753,9),new te(1265,10),new te(2289,11),new te(4337,12),new te(8433,13),new te(16625,24)],Ss.kInsertLengthPrefixCode=[new te(0,0),new te(1,0),new te(2,0),new te(3,0),new te(4,0),new te(5,0),new te(6,1),new te(8,1),new te(10,2),new te(14,2),new te(18,3),new te(26,3),new te(34,4),new te(50,4),new te(66,5),new te(98,5),new te(130,6),new te(194,7),new te(322,8),new te(578,9),new te(1090,10),new te(2114,12),new te(6210,14),new te(22594,24)],Ss.kCopyLengthPrefixCode=[new te(2,0),new te(3,0),new te(4,0),new te(5,0),new te(6,0),new te(7,0),new te(8,0),new te(9,0),new te(10,1),new te(12,1),new te(14,2),new te(18,2),new te(22,3),new te(30,3),new te(38,4),new te(54,4),new te(70,5),new te(102,5),new te(134,6),new te(198,7),new te(326,8),new te(582,9),new te(1094,10),new te(2118,24)],Ss.kInsertRangeLut=[0,0,8,8,0,16,8,16,16],Ss.kCopyRangeLut=[0,8,0,8,16,0,16,8,16];var Ro={},Tw;function oA(){if(Tw)return Ro;Tw=1;var t=Pw(),e=0,n=1,r=2,i=3,s=4,o=5,a=6,c=7,u=8,l=9,f=10,d=11,h=12,p=13,w=14,m=15,P=16,T=17,I=18,x=20;function S(F,R,G){this.prefix=new Uint8Array(F.length),this.transform=R,this.suffix=new Uint8Array(G.length);for(var H=0;H<F.length;H++)this.prefix[H]=F.charCodeAt(H);for(var H=0;H<G.length;H++)this.suffix[H]=G.charCodeAt(H)}var U=[new S("",e,""),new S("",e," "),new S(" ",e," "),new S("",h,""),new S("",f," "),new S("",e," the "),new S(" ",e,""),new S("s ",e," "),new S("",e," of "),new S("",f,""),new S("",e," and "),new S("",p,""),new S("",n,""),new S(", ",e," "),new S("",e,", "),new S(" ",f," "),new S("",e," in "),new S("",e," to "),new S("e ",e," "),new S("",e,'"'),new S("",e,"."),new S("",e,'">'),new S("",e,`
|
|
28
|
+
`),new S("",i,""),new S("",e,"]"),new S("",e," for "),new S("",w,""),new S("",r,""),new S("",e," a "),new S("",e," that "),new S(" ",f,""),new S("",e,". "),new S(".",e,""),new S(" ",e,", "),new S("",m,""),new S("",e," with "),new S("",e,"'"),new S("",e," from "),new S("",e," by "),new S("",P,""),new S("",T,""),new S(" the ",e,""),new S("",s,""),new S("",e,". The "),new S("",d,""),new S("",e," on "),new S("",e," as "),new S("",e," is "),new S("",c,""),new S("",n,"ing "),new S("",e,`
|
|
29
|
+
`),new S("",e,":"),new S(" ",e,". "),new S("",e,"ed "),new S("",x,""),new S("",I,""),new S("",a,""),new S("",e,"("),new S("",f,", "),new S("",u,""),new S("",e," at "),new S("",e,"ly "),new S(" the ",e," of "),new S("",o,""),new S("",l,""),new S(" ",f,", "),new S("",f,'"'),new S(".",e,"("),new S("",d," "),new S("",f,'">'),new S("",e,'="'),new S(" ",e,"."),new S(".com/",e,""),new S(" the ",e," of the "),new S("",f,"'"),new S("",e,". This "),new S("",e,","),new S(".",e," "),new S("",f,"("),new S("",f,"."),new S("",e," not "),new S(" ",e,'="'),new S("",e,"er "),new S(" ",d," "),new S("",e,"al "),new S(" ",d,""),new S("",e,"='"),new S("",d,'"'),new S("",f,". "),new S(" ",e,"("),new S("",e,"ful "),new S(" ",f,". "),new S("",e,"ive "),new S("",e,"less "),new S("",d,"'"),new S("",e,"est "),new S(" ",f,"."),new S("",d,'">'),new S(" ",e,"='"),new S("",f,","),new S("",e,"ize "),new S("",d,"."),new S("\xC2\xA0",e,""),new S(" ",e,","),new S("",f,'="'),new S("",d,'="'),new S("",e,"ous "),new S("",d,", "),new S("",f,"='"),new S(" ",f,","),new S(" ",d,'="'),new S(" ",d,", "),new S("",d,","),new S("",d,"("),new S("",d,". "),new S(" ",d,"."),new S("",d,"='"),new S(" ",d,". "),new S(" ",f,'="'),new S(" ",d,"='"),new S(" ",f,"='")];Ro.kTransforms=U,Ro.kNumTransforms=U.length;function k(F,R){return F[R]<192?(F[R]>=97&&F[R]<=122&&(F[R]^=32),1):F[R]<224?(F[R+1]^=32,2):(F[R+2]^=5,3)}return Ro.transformDictionaryWord=function(F,R,G,H,E){var b=U[E].prefix,v=U[E].suffix,g=U[E].transform,y=g<h?0:g-(h-1),B=0,A=R,O;y>H&&(y=H);for(var D=0;D<b.length;)F[R++]=b[D++];for(G+=y,H-=y,g<=l&&(H-=g),B=0;B<H;B++)F[R++]=t.dictionary[G+B];if(O=R-H,g===f)k(F,O);else if(g===d)for(;H>0;){var C=k(F,O);O+=C,H-=C}for(var M=0;M<v.length;)F[R++]=v[M++];return R-A},Ro}var Nw;function Uw(){if(Nw)return Do;Nw=1;var t=Sc.BrotliInput,e=Sc.BrotliOutput,n=YO,r=Pw(),i=Oc.HuffmanCode,s=Oc.BrotliBuildHuffmanTable,o=zf,a=Ss,c=oA(),u=8,l=16,f=256,d=704,h=26,p=6,w=2,m=8,P=255,T=1080,I=18,x=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),S=16,U=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]),k=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),F=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function R(z){var N;return z.readBits(1)===0?16:(N=z.readBits(3),N>0?17+N:(N=z.readBits(3),N>0?8+N:17))}function G(z){if(z.readBits(1)){var N=z.readBits(3);return N===0?1:z.readBits(N)+(1<<N)}return 0}function H(){this.meta_block_length=0,this.input_end=0,this.is_uncompressed=0,this.is_metadata=!1}function E(z){var N=new H,j,K,X;if(N.input_end=z.readBits(1),N.input_end&&z.readBits(1))return N;if(j=z.readBits(2)+4,j===7){if(N.is_metadata=!0,z.readBits(1)!==0)throw new Error("Invalid reserved bit");if(K=z.readBits(2),K===0)return N;for(X=0;X<K;X++){var ee=z.readBits(8);if(X+1===K&&K>1&&ee===0)throw new Error("Invalid size byte");N.meta_block_length|=ee<<X*8}}else for(X=0;X<j;++X){var $=z.readBits(4);if(X+1===j&&j>4&&$===0)throw new Error("Invalid size nibble");N.meta_block_length|=$<<X*4}return++N.meta_block_length,!N.input_end&&!N.is_metadata&&(N.is_uncompressed=z.readBits(1)),N}function b(z,N,j){var K;return j.fillBitWindow(),N+=j.val_>>>j.bit_pos_&P,K=z[N].bits-m,K>0&&(j.bit_pos_+=m,N+=z[N].value,N+=j.val_>>>j.bit_pos_&(1<<K)-1),j.bit_pos_+=z[N].bits,z[N].value}function v(z,N,j,K){for(var X=0,ee=u,$=0,re=0,le=32768,ce=[],ie=0;ie<32;ie++)ce.push(new i(0,0));for(s(ce,0,5,z,I);X<N&&le>0;){var xe=0,at;if(K.readMoreInput(),K.fillBitWindow(),xe+=K.val_>>>K.bit_pos_&31,K.bit_pos_+=ce[xe].bits,at=ce[xe].value&255,at<l)$=0,j[X++]=at,at!==0&&(ee=at,le-=32768>>at);else{var Vt=at-14,Pt,vt,Ce=0;if(at===l&&(Ce=ee),re!==Ce&&($=0,re=Ce),Pt=$,$>0&&($-=2,$<<=Vt),$+=K.readBits(Vt)+3,vt=$-Pt,X+vt>N)throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols");for(var ct=0;ct<vt;ct++)j[X+ct]=re;X+=vt,re!==0&&(le-=vt<<15-re)}}if(le!==0)throw new Error("[ReadHuffmanCodeLengths] space = "+le);for(;X<N;X++)j[X]=0}function g(z,N,j,K){var X=0,ee,$=new Uint8Array(z);if(K.readMoreInput(),ee=K.readBits(2),ee===1){for(var re,le=z-1,ce=0,ie=new Int32Array(4),xe=K.readBits(2)+1;le;)le>>=1,++ce;for(re=0;re<xe;++re)ie[re]=K.readBits(ce)%z,$[ie[re]]=2;switch($[ie[0]]=1,xe){case 1:break;case 3:if(ie[0]===ie[1]||ie[0]===ie[2]||ie[1]===ie[2])throw new Error("[ReadHuffmanCode] invalid symbols");break;case 2:if(ie[0]===ie[1])throw new Error("[ReadHuffmanCode] invalid symbols");$[ie[1]]=1;break;case 4:if(ie[0]===ie[1]||ie[0]===ie[2]||ie[0]===ie[3]||ie[1]===ie[2]||ie[1]===ie[3]||ie[2]===ie[3])throw new Error("[ReadHuffmanCode] invalid symbols");K.readBits(1)?($[ie[2]]=3,$[ie[3]]=3):$[ie[0]]=2;break}}else{var re,at=new Uint8Array(I),Vt=32,Pt=0,vt=[new i(2,0),new i(2,4),new i(2,3),new i(3,2),new i(2,0),new i(2,4),new i(2,3),new i(4,1),new i(2,0),new i(2,4),new i(2,3),new i(3,2),new i(2,0),new i(2,4),new i(2,3),new i(4,5)];for(re=ee;re<I&&Vt>0;++re){var Ce=x[re],ct=0,Dt;K.fillBitWindow(),ct+=K.val_>>>K.bit_pos_&15,K.bit_pos_+=vt[ct].bits,Dt=vt[ct].value,at[Ce]=Dt,Dt!==0&&(Vt-=32>>Dt,++Pt)}if(!(Pt===1||Vt===0))throw new Error("[ReadHuffmanCode] invalid num_codes or space");v(at,z,$,K)}if(X=s(N,j,m,$,z),X===0)throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ");return X}function y(z,N,j){var K,X;return K=b(z,N,j),X=a.kBlockLengthPrefixCode[K].nbits,a.kBlockLengthPrefixCode[K].offset+j.readBits(X)}function B(z,N,j){var K;return z<S?(j+=U[z],j&=3,K=N[j]+k[z]):K=z-S+1,K}function A(z,N){for(var j=z[N],K=N;K;--K)z[K]=z[K-1];z[0]=j}function O(z,N){var j=new Uint8Array(256),K;for(K=0;K<256;++K)j[K]=K;for(K=0;K<N;++K){var X=z[K];z[K]=j[X],X&&A(j,X)}}function D(z,N){this.alphabet_size=z,this.num_htrees=N,this.codes=new Array(N+N*F[z+31>>>5]),this.htrees=new Uint32Array(N)}D.prototype.decode=function(z){var N,j,K=0;for(N=0;N<this.num_htrees;++N)this.htrees[N]=K,j=g(this.alphabet_size,this.codes,K,z),K+=j};function C(z,N){var j={num_htrees:null,context_map:null},K,X=0,ee,$;N.readMoreInput();var re=j.num_htrees=G(N)+1,le=j.context_map=new Uint8Array(z);if(re<=1)return j;for(K=N.readBits(1),K&&(X=N.readBits(4)+1),ee=[],$=0;$<T;$++)ee[$]=new i(0,0);for(g(re+X,ee,0,N),$=0;$<z;){var ce;if(N.readMoreInput(),ce=b(ee,0,N),ce===0)le[$]=0,++$;else if(ce<=X)for(var ie=1+(1<<ce)+N.readBits(ce);--ie;){if($>=z)throw new Error("[DecodeContextMap] i >= context_map_size");le[$]=0,++$}else le[$]=ce-X,++$}return N.readBits(1)&&O(le,z),j}function M(z,N,j,K,X,ee,$){var re=j*2,le=j,ce=b(N,j*T,$),ie;ce===0?ie=X[re+(ee[le]&1)]:ce===1?ie=X[re+(ee[le]-1&1)]+1:ie=ce-2,ie>=z&&(ie-=z),K[j]=ie,X[re+(ee[le]&1)]=ie,++ee[le]}function L(z,N,j,K,X,ee){var $=X+1,re=j&X,le=ee.pos_&n.IBUF_MASK,ce;if(N<8||ee.bit_pos_+(N<<3)<ee.bit_end_pos_){for(;N-- >0;)ee.readMoreInput(),K[re++]=ee.readBits(8),re===$&&(z.write(K,$),re=0);return}if(ee.bit_end_pos_<32)throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32");for(;ee.bit_pos_<32;)K[re]=ee.val_>>>ee.bit_pos_,ee.bit_pos_+=8,++re,--N;if(ce=ee.bit_end_pos_-ee.bit_pos_>>3,le+ce>n.IBUF_MASK){for(var ie=n.IBUF_MASK+1-le,xe=0;xe<ie;xe++)K[re+xe]=ee.buf_[le+xe];ce-=ie,re+=ie,N-=ie,le=0}for(var xe=0;xe<ce;xe++)K[re+xe]=ee.buf_[le+xe];if(re+=ce,N-=ce,re>=$){z.write(K,$),re-=$;for(var xe=0;xe<re;xe++)K[xe]=K[$+xe]}for(;re+N>=$;){if(ce=$-re,ee.input_.read(K,re,ce)<ce)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");z.write(K,$),N-=ce,re=0}if(ee.input_.read(K,re,N)<N)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");ee.reset()}function V(z){var N=z.bit_pos_+7&-8,j=z.readBits(N-z.bit_pos_);return j==0}function q(z){var N=new t(z),j=new n(N);R(j);var K=E(j);return K.meta_block_length}Do.BrotliDecompressedSize=q;function W(z,N){var j=new t(z);N==null&&(N=q(z));var K=new Uint8Array(N),X=new e(K);return Z(j,X),X.pos<X.buffer.length&&(X.buffer=X.buffer.subarray(0,X.pos)),X.buffer}Do.BrotliDecompressBuffer=W;function Z(z,N){var j,K=0,X=0,ee=0,$,re=0,le,ce,ie,xe,at=[16,15,11,4],Vt=0,Pt=0,vt=0,Ce=[new D(0,0),new D(0,0),new D(0,0)],ct,Dt,he,Ih=128+n.READ_SIZE;he=new n(z),ee=R(he),$=(1<<ee)-16,le=1<<ee,ce=le-1,ie=new Uint8Array(le+Ih+r.maxDictionaryWordLength),xe=le,ct=[],Dt=[];for(var Ps=0;Ps<3*T;Ps++)ct[Ps]=new i(0,0),Dt[Ps]=new i(0,0);for(;!X;){var We=0,nm,jn=[1<<28,1<<28,1<<28],ii=[0],Sn=[1,1,1],Sh=[0,1,0,1,0,1],Mc=[0],Ds,Vo,rm,im,sm=null,jc=null,om,am=null,cm,um=0,Bh=null,lm=0,fm=0,Oh=null,hm=0,Ah=0,Ph=0,Rs,Dh;for(j=0;j<3;++j)Ce[j].codes=null,Ce[j].htrees=null;he.readMoreInput();var zc=E(he);if(We=zc.meta_block_length,K+We>N.buffer.length){var dm=new Uint8Array(K+We);dm.set(N.buffer),N.buffer=dm}if(X=zc.input_end,nm=zc.is_uncompressed,zc.is_metadata){for(V(he);We>0;--We)he.readMoreInput(),he.readBits(8);continue}if(We!==0){if(nm){he.bit_pos_=he.bit_pos_+7&-8,L(N,We,K,ie,ce,he),K+=We;continue}for(j=0;j<3;++j)Sn[j]=G(he)+1,Sn[j]>=2&&(g(Sn[j]+2,ct,j*T,he),g(h,Dt,j*T,he),jn[j]=y(Dt,j*T,he),Mc[j]=1);for(he.readMoreInput(),Ds=he.readBits(2),Vo=S+(he.readBits(4)<<Ds),rm=(1<<Ds)-1,im=Vo+(48<<Ds),jc=new Uint8Array(Sn[0]),j=0;j<Sn[0];++j)he.readMoreInput(),jc[j]=he.readBits(2)<<1;var pm=C(Sn[0]<<p,he);om=pm.num_htrees,sm=pm.context_map;var gm=C(Sn[2]<<w,he);for(cm=gm.num_htrees,am=gm.context_map,Ce[0]=new D(f,om),Ce[1]=new D(d,Sn[1]),Ce[2]=new D(im,cm),j=0;j<3;++j)Ce[j].decode(he);for(Bh=0,Oh=0,Rs=jc[ii[0]],Ah=o.lookupOffsets[Rs],Ph=o.lookupOffsets[Rs+1],Dh=Ce[1].htrees[0];We>0;){var Kc,Ho,Rh,Th,Nh,Ht,$t,gr,Go,Ts,Wo;for(he.readMoreInput(),jn[1]===0&&(M(Sn[1],ct,1,ii,Sh,Mc,he),jn[1]=y(Dt,T,he),Dh=Ce[1].htrees[ii[1]]),--jn[1],Kc=b(Ce[1].codes,Dh,he),Ho=Kc>>6,Ho>=2?(Ho-=2,$t=-1):$t=0,Rh=a.kInsertRangeLut[Ho]+(Kc>>3&7),Th=a.kCopyRangeLut[Ho]+(Kc&7),Nh=a.kInsertLengthPrefixCode[Rh].offset+he.readBits(a.kInsertLengthPrefixCode[Rh].nbits),Ht=a.kCopyLengthPrefixCode[Th].offset+he.readBits(a.kCopyLengthPrefixCode[Th].nbits),Pt=ie[K-1&ce],vt=ie[K-2&ce],Ts=0;Ts<Nh;++Ts)he.readMoreInput(),jn[0]===0&&(M(Sn[0],ct,0,ii,Sh,Mc,he),jn[0]=y(Dt,0,he),um=ii[0]<<p,Bh=um,Rs=jc[ii[0]],Ah=o.lookupOffsets[Rs],Ph=o.lookupOffsets[Rs+1]),Go=o.lookup[Ah+Pt]|o.lookup[Ph+vt],lm=sm[Bh+Go],--jn[0],vt=Pt,Pt=b(Ce[0].codes,Ce[0].htrees[lm],he),ie[K&ce]=Pt,(K&ce)===ce&&N.write(ie,le),++K;if(We-=Nh,We<=0)break;if($t<0){var Go;if(he.readMoreInput(),jn[2]===0&&(M(Sn[2],ct,2,ii,Sh,Mc,he),jn[2]=y(Dt,2*T,he),fm=ii[2]<<w,Oh=fm),--jn[2],Go=(Ht>4?3:Ht-2)&255,hm=am[Oh+Go],$t=b(Ce[2].codes,Ce[2].htrees[hm],he),$t>=Vo){var Uh,bm,Zo;$t-=Vo,bm=$t&rm,$t>>=Ds,Uh=($t>>1)+1,Zo=(2+($t&1)<<Uh)-4,$t=Vo+(Zo+he.readBits(Uh)<<Ds)+bm}}if(gr=B($t,at,Vt),gr<0)throw new Error("[BrotliDecompress] invalid distance");if(K<$&&re!==$?re=K:re=$,Wo=K&ce,gr>re)if(Ht>=r.minDictionaryWordLength&&Ht<=r.maxDictionaryWordLength){var Zo=r.offsetsByLength[Ht],wm=gr-re-1,ym=r.sizeBitsByLength[Ht],zU=(1<<ym)-1,KU=wm&zU,mm=wm>>ym;if(Zo+=KU*Ht,mm<c.kNumTransforms){var Ch=c.transformDictionaryWord(ie,Wo,Zo,Ht,mm);if(Wo+=Ch,K+=Ch,We-=Ch,Wo>=xe){N.write(ie,le);for(var Vc=0;Vc<Wo-xe;Vc++)ie[Vc]=ie[xe+Vc]}}else throw new Error("Invalid backward reference. pos: "+K+" distance: "+gr+" len: "+Ht+" bytes left: "+We)}else throw new Error("Invalid backward reference. pos: "+K+" distance: "+gr+" len: "+Ht+" bytes left: "+We);else{if($t>0&&(at[Vt&3]=gr,++Vt),Ht>We)throw new Error("Invalid backward reference. pos: "+K+" distance: "+gr+" len: "+Ht+" bytes left: "+We);for(Ts=0;Ts<Ht;++Ts)ie[K&ce]=ie[K-gr&ce],(K&ce)===ce&&N.write(ie,le),++K,--We}Pt=ie[K-1&ce],vt=ie[K-2&ce]}K&=1073741823}}N.write(ie,K&ce)}return Do.BrotliDecompress=Z,r.init(),Do}var aA=Uw().BrotliDecompressBuffer,cA=Object.defineProperty,uA=(t,e,n)=>e in t?cA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Kf=(t,e,n)=>uA(t,typeof e!="symbol"?e+"":e,n);let Cw=!1,Ac=null;function lA(t){if(typeof atob=="function"){const e=atob(t),n=new Uint8Array(e.length);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n}if(typeof Buffer<"u")return new Uint8Array(Buffer.from(t,"base64"));throw new Ne("INITIALIZATION_ERROR","No base64 decoder available (requires atob or Buffer)")}async function fA(t){return new Promise((e,n)=>{try{const r=aA(Buffer.from(t));e(new Uint8Array(r))}catch(r){n(new Ne("INITIALIZATION_ERROR",`Brotli decompression failed: ${r instanceof Error?r.message:String(r)}`))}})}async function hA(){if(!Cw){if(Ac){await Ac;return}Ac=(async()=>{const t=lA(RO),e=await fA(t);GO({module:e}),Cw=!0})(),await Ac}}function dA(){return typeof WebAssembly<"u"}class pA{constructor(e){Kf(this,"payJson",null),Kf(this,"config"),Kf(this,"initPromise",null),this.config=e}async ensureInitialized(){return this.payJson?this.payJson:(this.initPromise||(this.initPromise=this.initialize()),await this.initPromise,this.payJson)}async initialize(){try{await hA();const e=JSON.stringify({baseUrl:this.config.baseUrl,projectId:this.config.projectId,apiKey:this.config.apiKey,appId:this.config.appId,clientId:this.config.clientId,sdkName:this.config.sdkName,sdkVersion:this.config.sdkVersion,sdkPlatform:this.config.sdkPlatform,bundleId:this.config.bundleId});this.payJson=new KO(e)}catch(e){throw new Ne("INITIALIZATION_ERROR",`Failed to initialize WASM Pay module: ${e instanceof Error?e.message:String(e)}`)}}async getPaymentOptions(e){return(await this.ensureInitialized()).get_payment_options(e)}async getRequiredPaymentActions(e){return(await this.ensureInitialized()).get_required_payment_actions(e)}async confirmPayment(e){return(await this.ensureInitialized()).confirm_payment(e)}}function gA(t){const e=new pA(t);return new gw(e)}function Fw(){return AO()?"native":!nr()&&dA()?"wasm":null}function bA(t){const e=Fw();if(!e)throw new Error("No Pay provider available. Make sure you are running in React Native with the native module installed, or in a browser/Node.js environment with WebAssembly support.");switch(e){case"native":return DO(t);case"wasm":return gA(t);default:throw new Error(`Unknown provider type: ${e}`)}}function wA(){return Fw()!==null}var yA=Object.defineProperty,mA=(t,e,n)=>e in t?yA(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,To=(t,e,n)=>mA(t,typeof e!="symbol"?e+"":e,n);class vA{constructor(e){To(this,"appId"),To(this,"apiKey"),To(this,"baseUrl"),To(this,"logger"),To(this,"provider");var n,r,i;this.appId=e.appId,this.apiKey=e.apiKey,this.baseUrl=(n=e.baseUrl)!=null?n:hO,this.logger=typeof e.logger=="string"?Qh(Jc({level:e.logger})):(r=e.logger)!=null?r:Qh(Jc({level:"error"})),this.logger.trace(`${En} initialized`);const s={baseUrl:this.baseUrl,projectId:e.appId,apiKey:e.apiKey,appId:e.appId,clientId:e.clientId,sdkName:dO,sdkVersion:pO,sdkPlatform:gO(),bundleId:(i=Gl())!=null?i:""};this.provider=bA(s),this.logger.debug(`${En} provider initialized`)}static isAvailable(){return wA()}async getPaymentOptions(e){this.logger.debug({paymentLink:e.paymentLink,accounts:e.accounts,includePaymentInfo:e.includePaymentInfo},`${En} getPaymentOptions`);try{const n=await this.provider.getPaymentOptions(e);return this.logger.debug({paymentId:n.paymentId,optionsCount:n.options.length},`${En} getPaymentOptions response`),n}catch(n){throw this.logger.error({error:n},`${En} getPaymentOptions error`),n instanceof Ne?n:new Uf(String(n))}}async getRequiredPaymentActions(e){this.logger.debug({paymentId:e.paymentId,optionId:e.optionId},`${En} getRequiredPaymentActions`);try{const n=await this.provider.getRequiredPaymentActions(e);return this.logger.debug({actionsCount:n.length},`${En} getRequiredPaymentActions response`),n}catch(n){throw this.logger.error({error:n},`${En} getRequiredPaymentActions error`),n instanceof Ne?n:new Cf(String(n))}}async confirmPayment(e){this.logger.debug({paymentId:e.paymentId,optionId:e.optionId,signaturesCount:e.signatures.length,hasCollectedData:!!e.collectedData},`${En} confirmPayment`);try{const n=await this.provider.confirmPayment(e);return this.logger.debug({status:n.status,isFinal:n.isFinal},`${En} confirmPayment response`),n}catch(n){throw this.logger.error({error:n},`${En} confirmPayment error`),n instanceof Ne?n:new Ff(String(n))}}}const qw=vA,kw="wc",EA=2,Vf="WalletKit",xA=`${kw}@2:${Vf}:`,IA={database:":memory:"},SA="request";class Fi{}class BA extends Fi{constructor(e){super()}}const Lw=J.FIVE_SECONDS,qi={pulse:"heartbeat_pulse"};class Hf extends BA{constructor(e){super(e),this.events=new ut.exports.EventEmitter,this.interval=Lw,this.interval=e?.interval||Lw}static async init(e){const n=new Hf(e);return await n.init(),n}async init(){await this.initialize()}stop(){clearInterval(this.intervalRef)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async initialize(){this.intervalRef=setInterval(()=>this.pulse(),J.toMiliseconds(this.interval))}pulse(){this.events.emit(qi.pulse)}}const OA=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,AA=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,PA=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function DA(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){RA(t);return}return e}function RA(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function Pc(t,e={}){if(typeof t!="string")return t;if(t[0]==='"'&&t[t.length-1]==='"'&&t.indexOf("\\")===-1)return t.slice(1,-1);const n=t.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!PA.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(OA.test(t)||AA.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,DA)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}function TA(t){return!t||typeof t.then!="function"?Promise.resolve(t):t}function Xe(t,...e){try{return TA(t(...e))}catch(n){return Promise.reject(n)}}function NA(t){const e=typeof t;return t===null||e!=="object"&&e!=="function"}function UA(t){const e=Object.getPrototypeOf(t);return!e||e.isPrototypeOf(Object)}function Dc(t){if(NA(t))return String(t);if(UA(t)||Array.isArray(t))return JSON.stringify(t);if(typeof t.toJSON=="function")return Dc(t.toJSON());throw new Error("[unstorage] Cannot stringify value!")}const Gf="base64:";function CA(t){return typeof t=="string"?t:Gf+kA(t)}function FA(t){return typeof t!="string"||!t.startsWith(Gf)?t:qA(t.slice(Gf.length))}function qA(t){return globalThis.Buffer?Buffer.from(t,"base64"):Uint8Array.from(globalThis.atob(t),e=>e.codePointAt(0))}function kA(t){return globalThis.Buffer?Buffer.from(t).toString("base64"):globalThis.btoa(String.fromCodePoint(...t))}function zt(t){return t&&t.split("?")[0]?.replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,"")||""}function LA(...t){return zt(t.join(":"))}function Rc(t){return t=zt(t),t?t+":":""}function MA(t,e){if(e===void 0)return!0;let n=0,r=t.indexOf(":");for(;r>-1;)n++,r=t.indexOf(":",r+1);return n<=e}function jA(t,e){return e?t.startsWith(e)&&t[t.length-1]!=="$":t[t.length-1]!=="$"}function YU(t){return t}const zA="memory",KA=()=>{const t=new Map;return{name:zA,getInstance:()=>t,hasItem(e){return t.has(e)},getItem(e){return t.get(e)??null},getItemRaw(e){return t.get(e)??null},setItem(e,n){t.set(e,n)},setItemRaw(e,n){t.set(e,n)},removeItem(e){t.delete(e)},getKeys(){return[...t.keys()]},clear(){t.clear()},dispose(){t.clear()}}};function VA(t={}){const e={mounts:{"":t.driver||KA()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=u=>{for(const l of e.mountpoints)if(u.startsWith(l))return{base:l,relativeKey:u.slice(l.length),driver:e.mounts[l]};return{base:"",relativeKey:u,driver:e.mounts[""]}},r=(u,l)=>e.mountpoints.filter(f=>f.startsWith(u)||l&&u.startsWith(f)).map(f=>({relativeBase:u.length>f.length?u.slice(f.length):void 0,mountpoint:f,driver:e.mounts[f]})),i=(u,l)=>{if(e.watching){l=zt(l);for(const f of e.watchListeners)f(u,l)}},s=async()=>{if(!e.watching){e.watching=!0;for(const u in e.mounts)e.unwatch[u]=await Mw(e.mounts[u],i,u)}},o=async()=>{if(e.watching){for(const u in e.unwatch)await e.unwatch[u]();e.unwatch={},e.watching=!1}},a=(u,l,f)=>{const d=new Map,h=p=>{let w=d.get(p.base);return w||(w={driver:p.driver,base:p.base,items:[]},d.set(p.base,w)),w};for(const p of u){const w=typeof p=="string",m=zt(w?p:p.key),P=w?void 0:p.value,T=w||!p.options?l:{...l,...p.options},I=n(m);h(I).items.push({key:m,value:P,relativeKey:I.relativeKey,options:T})}return Promise.all([...d.values()].map(p=>f(p))).then(p=>p.flat())},c={hasItem(u,l={}){u=zt(u);const{relativeKey:f,driver:d}=n(u);return Xe(d.hasItem,f,l)},getItem(u,l={}){u=zt(u);const{relativeKey:f,driver:d}=n(u);return Xe(d.getItem,f,l).then(h=>Pc(h))},getItems(u,l={}){return a(u,l,f=>f.driver.getItems?Xe(f.driver.getItems,f.items.map(d=>({key:d.relativeKey,options:d.options})),l).then(d=>d.map(h=>({key:LA(f.base,h.key),value:Pc(h.value)}))):Promise.all(f.items.map(d=>Xe(f.driver.getItem,d.relativeKey,d.options).then(h=>({key:d.key,value:Pc(h)})))))},getItemRaw(u,l={}){u=zt(u);const{relativeKey:f,driver:d}=n(u);return d.getItemRaw?Xe(d.getItemRaw,f,l):Xe(d.getItem,f,l).then(h=>FA(h))},async setItem(u,l,f={}){if(l===void 0)return c.removeItem(u);u=zt(u);const{relativeKey:d,driver:h}=n(u);h.setItem&&(await Xe(h.setItem,d,Dc(l),f),h.watch||i("update",u))},async setItems(u,l){await a(u,l,async f=>{if(f.driver.setItems)return Xe(f.driver.setItems,f.items.map(d=>({key:d.relativeKey,value:Dc(d.value),options:d.options})),l);f.driver.setItem&&await Promise.all(f.items.map(d=>Xe(f.driver.setItem,d.relativeKey,Dc(d.value),d.options)))})},async setItemRaw(u,l,f={}){if(l===void 0)return c.removeItem(u,f);u=zt(u);const{relativeKey:d,driver:h}=n(u);if(h.setItemRaw)await Xe(h.setItemRaw,d,l,f);else if(h.setItem)await Xe(h.setItem,d,CA(l),f);else return;h.watch||i("update",u)},async removeItem(u,l={}){typeof l=="boolean"&&(l={removeMeta:l}),u=zt(u);const{relativeKey:f,driver:d}=n(u);d.removeItem&&(await Xe(d.removeItem,f,l),(l.removeMeta||l.removeMata)&&await Xe(d.removeItem,f+"$",l),d.watch||i("remove",u))},async getMeta(u,l={}){typeof l=="boolean"&&(l={nativeOnly:l}),u=zt(u);const{relativeKey:f,driver:d}=n(u),h=Object.create(null);if(d.getMeta&&Object.assign(h,await Xe(d.getMeta,f,l)),!l.nativeOnly){const p=await Xe(d.getItem,f+"$",l).then(w=>Pc(w));p&&typeof p=="object"&&(typeof p.atime=="string"&&(p.atime=new Date(p.atime)),typeof p.mtime=="string"&&(p.mtime=new Date(p.mtime)),Object.assign(h,p))}return h},setMeta(u,l,f={}){return this.setItem(u+"$",l,f)},removeMeta(u,l={}){return this.removeItem(u+"$",l)},async getKeys(u,l={}){u=Rc(u);const f=r(u,!0);let d=[];const h=[];let p=!0;for(const m of f){m.driver.flags?.maxDepth||(p=!1);const P=await Xe(m.driver.getKeys,m.relativeBase,l);for(const T of P){const I=m.mountpoint+zt(T);d.some(x=>I.startsWith(x))||h.push(I)}d=[m.mountpoint,...d.filter(T=>!T.startsWith(m.mountpoint))]}const w=l.maxDepth!==void 0&&!p;return h.filter(m=>(!w||MA(m,l.maxDepth))&&jA(m,u))},async clear(u,l={}){u=Rc(u),await Promise.all(r(u,!1).map(async f=>{if(f.driver.clear)return Xe(f.driver.clear,f.relativeBase,l);if(f.driver.removeItem){const d=await f.driver.getKeys(f.relativeBase||"",l);return Promise.all(d.map(h=>f.driver.removeItem(h,l)))}}))},async dispose(){await Promise.all(Object.values(e.mounts).map(u=>jw(u)))},async watch(u){return await s(),e.watchListeners.push(u),async()=>{e.watchListeners=e.watchListeners.filter(l=>l!==u),e.watchListeners.length===0&&await o()}},async unwatch(){e.watchListeners=[],await o()},mount(u,l){if(u=Rc(u),u&&e.mounts[u])throw new Error(`already mounted at ${u}`);return u&&(e.mountpoints.push(u),e.mountpoints.sort((f,d)=>d.length-f.length)),e.mounts[u]=l,e.watching&&Promise.resolve(Mw(l,i,u)).then(f=>{e.unwatch[u]=f}).catch(console.error),c},async unmount(u,l=!0){u=Rc(u),!(!u||!e.mounts[u])&&(e.watching&&u in e.unwatch&&(e.unwatch[u]?.(),delete e.unwatch[u]),l&&await jw(e.mounts[u]),e.mountpoints=e.mountpoints.filter(f=>f!==u),delete e.mounts[u])},getMount(u=""){u=zt(u)+":";const l=n(u);return{driver:l.driver,base:l.base}},getMounts(u="",l={}){return u=zt(u),r(u,l.parents).map(d=>({driver:d.driver,base:d.mountpoint}))},keys:(u,l={})=>c.getKeys(u,l),get:(u,l={})=>c.getItem(u,l),set:(u,l,f={})=>c.setItem(u,l,f),has:(u,l={})=>c.hasItem(u,l),del:(u,l={})=>c.removeItem(u,l),remove:(u,l={})=>c.removeItem(u,l)};return c}function Mw(t,e,n){return t.watch?t.watch((r,i)=>e(r,n+i)):()=>{}}async function jw(t){typeof t.dispose=="function"&&await Xe(t.dispose)}function ki(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}function zw(t,e){let n;const r=()=>{if(n)return n;const i=indexedDB.open(t);return i.onupgradeneeded=()=>i.result.createObjectStore(e),n=ki(i),n.then(s=>{s.onclose=()=>n=void 0},()=>{}),n};return(i,s)=>r().then(o=>s(o.transaction(e,i).objectStore(e)))}let Wf;function No(){return Wf||(Wf=zw("keyval-store","keyval")),Wf}function Kw(t,e=No()){return e("readonly",n=>ki(n.get(t)))}function HA(t,e,n=No()){return n("readwrite",r=>(r.put(e,t),ki(r.transaction)))}function GA(t,e=No()){return e("readwrite",n=>(n.delete(t),ki(n.transaction)))}function WA(t=No()){return t("readwrite",e=>(e.clear(),ki(e.transaction)))}function ZA(t,e){return t.openCursor().onsuccess=function(){this.result&&(e(this.result),this.result.continue())},ki(t.transaction)}function YA(t=No()){return t("readonly",e=>{if(e.getAllKeys)return ki(e.getAllKeys());const n=[];return ZA(e,r=>n.push(r.key)).then(()=>n)})}const XA="idb-keyval";var JA=(t={})=>{const e=t.base&&t.base.length>0?`${t.base}:`:"",n=i=>e+i;let r;return t.dbName&&t.storeName&&(r=zw(t.dbName,t.storeName)),{name:XA,options:t,async hasItem(i){return!(typeof await Kw(n(i),r)>"u")},async getItem(i){return await Kw(n(i),r)??null},setItem(i,s){return HA(n(i),s,r)},removeItem(i){return GA(n(i),r)},getKeys(){return YA(r)},clear(){return WA(r)}}};const QA="WALLET_CONNECT_V2_INDEXED_DB",_A="keyvaluestorage";class $A{constructor(){this.indexedDb=VA({driver:JA({dbName:QA,storeName:_A})})}async getKeys(){return this.indexedDb.getKeys()}async getEntries(){return(await this.indexedDb.getItems(await this.indexedDb.getKeys())).map(e=>[e.key,e.value])}async getItem(e){const n=await this.indexedDb.getItem(e);if(n!==null)return n}async setItem(e,n){await this.indexedDb.setItem(e,to(n))}async removeItem(e){await this.indexedDb.removeItem(e)}}var Zf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Tc={exports:{}};(function(){let t;function e(){}t=e,t.prototype.getItem=function(n){return this.hasOwnProperty(n)?String(this[n]):null},t.prototype.setItem=function(n,r){this[n]=String(r)},t.prototype.removeItem=function(n){delete this[n]},t.prototype.clear=function(){const n=this;Object.keys(n).forEach(function(r){n[r]=void 0,delete n[r]})},t.prototype.key=function(n){return n=n||0,Object.keys(this)[n]},t.prototype.__defineGetter__("length",function(){return Object.keys(this).length}),typeof Zf<"u"&&Zf.localStorage?Tc.exports=Zf.localStorage:typeof window<"u"&&window.localStorage?Tc.exports=window.localStorage:Tc.exports=new e})();function eP(t){var e;return[t[0],as((e=t[1])!=null?e:"")]}class tP{constructor(){this.localStorage=Tc.exports}async getKeys(){return Object.keys(this.localStorage)}async getEntries(){return Object.entries(this.localStorage).map(eP)}async getItem(e){const n=this.localStorage.getItem(e);if(n!==null)return as(n)}async setItem(e,n){this.localStorage.setItem(e,to(n))}async removeItem(e){this.localStorage.removeItem(e)}}const nP="wc_storage_version",Vw=1,rP=async(t,e,n)=>{const r=nP,i=await e.getItem(r);if(i&&i>=Vw){n(e);return}const s=await t.getKeys();if(!s.length){n(e);return}const o=[];for(;s.length;){const a=s.shift();if(!a)continue;const c=a.toLowerCase();if(c.includes("wc@")||c.includes("walletconnect")||c.includes("wc_")||c.includes("wallet_connect")){const u=await t.getItem(a);await e.setItem(a,u),o.push(a)}}await e.setItem(r,Vw),n(e),iP(t,o)},iP=async(t,e)=>{e.length&&e.forEach(async n=>{await t.removeItem(n)})};class sP{constructor(){this.initialized=!1,this.setInitialized=n=>{this.storage=n,this.initialized=!0};const e=new tP;this.storage=e;try{const n=new $A;rP(e,n,this.setInitialized)}catch{this.initialized=!0}}async getKeys(){return await this.initialize(),this.storage.getKeys()}async getEntries(){return await this.initialize(),this.storage.getEntries()}async getItem(e){return await this.initialize(),this.storage.getItem(e)}async setItem(e,n){return await this.initialize(),this.storage.setItem(e,n)}async removeItem(e){return await this.initialize(),this.storage.removeItem(e)}async initialize(){this.initialized||await new Promise(e=>{const n=setInterval(()=>{this.initialized&&(clearInterval(n),e())},20)})}}var oP=Object.defineProperty,aP=(t,e,n)=>e in t?oP(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Hw=(t,e,n)=>aP(t,typeof e!="symbol"?e+"":e,n);class cP extends Fi{constructor(e){super(),this.opts=e,Hw(this,"protocol","wc"),Hw(this,"version",2)}}var uP=Object.defineProperty,lP=(t,e,n)=>e in t?uP(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,fP=(t,e,n)=>lP(t,typeof e!="symbol"?e+"":e,n);class hP extends Fi{constructor(e,n){super(),this.core=e,this.logger=n,fP(this,"records",new Map)}}class dP{constructor(e,n){this.logger=e,this.core=n}}class pP extends Fi{constructor(e,n){super(),this.relayer=e,this.logger=n}}class gP extends Fi{constructor(e){super()}}class bP{constructor(e,n,r,i){this.core=e,this.logger=n,this.name=r}}class wP extends Fi{constructor(e,n){super(),this.relayer=e,this.logger=n}}class yP extends Fi{constructor(e,n){super(),this.core=e,this.logger=n}}class mP{constructor(e,n,r){this.core=e,this.logger=n,this.store=r}}class vP{constructor(e,n){this.projectId=e,this.logger=n}}class EP{constructor(e,n,r){this.core=e,this.logger=n,this.telemetryEnabled=r}}var xP=Object.defineProperty,IP=(t,e,n)=>e in t?xP(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Gw=(t,e,n)=>IP(t,typeof e!="symbol"?e+"":e,n);class SP{constructor(e){this.opts=e,Gw(this,"protocol","wc"),Gw(this,"version",2)}}class BP{constructor(e){this.client=e}}const OP="PARSE_ERROR",AP="INVALID_REQUEST",PP="METHOD_NOT_FOUND",DP="INVALID_PARAMS",Ww="INTERNAL_ERROR",Yf="SERVER_ERROR",RP=[-32700,-32600,-32601,-32602,-32603],Uo={[OP]:{code:-32700,message:"Parse error"},[AP]:{code:-32600,message:"Invalid Request"},[PP]:{code:-32601,message:"Method not found"},[DP]:{code:-32602,message:"Invalid params"},[Ww]:{code:-32603,message:"Internal error"},[Yf]:{code:-32e3,message:"Server error"}},Zw=Yf;function TP(t){return RP.includes(t)}function Yw(t){return Object.keys(Uo).includes(t)?Uo[t]:Uo[Zw]}function NP(t){const e=Object.values(Uo).find(n=>n.code===t);return e||Uo[Zw]}function UP(t,e,n){return t.message.includes("getaddrinfo ENOTFOUND")||t.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${n} RPC url at ${e}`):t}var Xw={};/*! *****************************************************************************
|
|
28
30
|
Copyright (c) Microsoft Corporation.
|
|
29
31
|
|
|
30
32
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -37,5 +39,5 @@ ${t.length}`,n=new TextEncoder().encode(e+t);return"0x"+Buffer.from(VB(n)).toStr
|
|
|
37
39
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
38
40
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
39
41
|
PERFORMANCE OF THIS SOFTWARE.
|
|
40
|
-
***************************************************************************** */var bh=function(t,e){return bh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},bh(t,e)};function AD(t,e){bh(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var wh=function(){return wh=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},wh.apply(this,arguments)};function OD(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function DD(t,e,n,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function PD(t,e){return function(n,r){e(n,r,t)}}function RD(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function TD(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(u){try{f(r.next(u))}catch(h){o(h)}}function c(u){try{f(r.throw(u))}catch(h){o(h)}}function f(u){u.done?s(u.value):i(u.value).then(a,c)}f((r=r.apply(t,e||[])).next())})}function ND(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(f){return function(u){return c([f,u])}}function c(f){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=f[0]&2?i.return:f[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,f[1])).done)return s;switch(i=0,s&&(f=[f[0]&2,s.value]),f[0]){case 0:case 1:s=f;break;case 4:return n.label++,{value:f[1],done:!1};case 5:n.label++,i=f[1],f=[0];continue;case 7:f=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(f[0]===6||f[0]===2)){n=0;continue}if(f[0]===3&&(!s||f[1]>s[0]&&f[1]<s[3])){n.label=f[1];break}if(f[0]===6&&n.label<s[1]){n.label=s[1],s=f;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(f);break}s[2]&&n.ops.pop(),n.trys.pop();continue}f=e.call(t,n)}catch(u){f=[6,u],i=0}finally{r=s=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}function UD(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}function CD(t,e){for(var n in t)n!=="default"&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function mh(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ww(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function FD(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Ww(arguments[e]));return t}function LD(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function Lo(t){return this instanceof Lo?(this.v=t,this):new Lo(t)}function kD(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(l){r[l]&&(i[l]=function(d){return new Promise(function(p,b){s.push([l,d,p,b])>1||a(l,d)})})}function a(l,d){try{c(r[l](d))}catch(p){h(s[0][3],p)}}function c(l){l.value instanceof Lo?Promise.resolve(l.value.v).then(f,u):h(s[0][2],l)}function f(l){a("next",l)}function u(l){a("throw",l)}function h(l,d){l(d),s.shift(),s.length&&a(s[0][0],s[0][1])}}function qD(t){var e,n;return e={},r("next"),r("throw",function(i){throw i}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(i,s){e[i]=t[i]?function(o){return(n=!n)?{value:Lo(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function MD(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof mh=="function"?mh(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(o){return new Promise(function(a,c){o=t[s](o),i(a,c,o.done,o.value)})}}function i(s,o,a,c){Promise.resolve(c).then(function(f){s({value:f,done:a})},o)}}function jD(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function zD(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function HD(t){return t&&t.__esModule?t:{default:t}}function VD(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function KD(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var GD=Object.freeze({__proto__:null,__extends:AD,get __assign(){return wh},__rest:OD,__decorate:DD,__param:PD,__metadata:RD,__awaiter:TD,__generator:ND,__createBinding:UD,__exportStar:CD,__values:mh,__read:Ww,__spread:FD,__spreadArrays:LD,__await:Lo,__asyncGenerator:kD,__asyncDelegator:qD,__asyncValues:MD,__makeTemplateObject:jD,__importStar:zD,__importDefault:HD,__classPrivateFieldGet:VD,__classPrivateFieldSet:KD}),ZD=Kh(GD),ar={},Yw;function WD(){if(Yw)return ar;Yw=1,Object.defineProperty(ar,"__esModule",{value:!0}),ar.isBrowserCryptoAvailable=ar.getSubtleCrypto=ar.getBrowerCrypto=void 0;function t(){return mn?.crypto||mn?.msCrypto||{}}ar.getBrowerCrypto=t;function e(){const r=t();return r.subtle||r.webkitSubtle}ar.getSubtleCrypto=e;function n(){return!!t()&&!!e()}return ar.isBrowserCryptoAvailable=n,ar}var cr={},Xw;function YD(){if(Xw)return cr;Xw=1,Object.defineProperty(cr,"__esModule",{value:!0}),cr.isBrowser=cr.isNode=cr.isReactNative=void 0;function t(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}cr.isReactNative=t;function e(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}cr.isNode=e;function n(){return!t()&&!e()}return cr.isBrowser=n,cr}(function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=ZD;e.__exportStar(WD(),t),e.__exportStar(YD(),t)})(Zw);function An(t=3){const e=Date.now()*Math.pow(10,t),n=Math.floor(Math.random()*Math.pow(10,t));return e+n}function li(t=6){return BigInt(An(t))}function fr(t,e,n){return{id:n||An(),jsonrpc:"2.0",method:t,params:e}}function qc(t,e){return{id:t,jsonrpc:"2.0",result:e}}function vh(t,e,n){return{id:t,jsonrpc:"2.0",error:XD(e,n)}}function XD(t,e){return typeof t>"u"?Gw(Vw):(typeof t=="string"&&(t=Object.assign(Object.assign({},Gw(yh)),{message:t})),typeof e<"u"&&(t.data=e),SD(t.code)&&(t=BD(t.code)),t)}class JD{}class QD extends JD{constructor(){super()}}class eP extends QD{constructor(e){super()}}const tP="^wss?:";function nP(t){const e=t.match(new RegExp(/^\w+:/,"gi"));if(!(!e||!e.length))return e[0]}function rP(t,e){const n=nP(t);return typeof n>"u"?!1:new RegExp(e).test(n)}function Jw(t){return rP(t,tP)}function iP(t){return new RegExp("wss?://localhost(:d{2,5})?").test(t)}function Qw(t){return typeof t=="object"&&"id"in t&&"jsonrpc"in t&&t.jsonrpc==="2.0"}function Eh(t){return Qw(t)&&"method"in t}function Mc(t){return Qw(t)&&(On(t)||Qt(t))}function On(t){return"result"in t}function Qt(t){return"error"in t}class sP extends eP{constructor(e){super(e),this.events=new Qe.exports.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(e),this.connection.connected&&this.registerEventListeners()}async connect(e=this.connection){await this.open(e)}async disconnect(){await this.close()}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async request(e,n){return this.requestStrict(fr(e.method,e.params||[],e.id||li().toString()),n)}async requestStrict(e,n){return new Promise(async(r,i)=>{if(!this.connection.connected)try{await this.open()}catch(s){i(s)}this.events.on(`${e.id}`,s=>{Qt(s)?i(s.error):r(s.result)});try{await this.connection.send(e,n)}catch(s){i(s)}})}setConnection(e=this.connection){return e}onPayload(e){this.events.emit("payload",e),Mc(e)?this.events.emit(`${e.id}`,e):this.events.emit("message",{type:e.method,data:e.params})}onClose(e){e&&e.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${e.code} ${e.reason?`(${e.reason})`:""}`)),this.events.emit("disconnect")}async open(e=this.connection){this.connection===e&&this.connection.connected||(this.connection.connected&&this.close(),typeof e=="string"&&(await this.connection.open(e),e=this.connection),this.connection=this.setConnection(e),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",e=>this.onPayload(e)),this.connection.on("close",e=>this.onClose(e)),this.connection.on("error",e=>this.events.emit("error",e)),this.connection.on("register_error",e=>this.onClose()),this.hasRegisteredEventListeners=!0)}}const oP=()=>typeof WebSocket<"u"?WebSocket:typeof global<"u"&&typeof global.WebSocket<"u"?global.WebSocket:typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:typeof self<"u"&&typeof self.WebSocket<"u"?self.WebSocket:require("ws"),aP=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",em=t=>t.split("?")[0],tm=10,cP=oP();class fP{constructor(e){if(this.url=e,this.events=new Qe.exports.EventEmitter,this.registering=!1,!Jw(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);this.url=e}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async open(e=this.url){await this.register(e)}async close(){return new Promise((e,n)=>{if(typeof this.socket>"u"){n(new Error("Connection already closed"));return}this.socket.onclose=r=>{this.onClose(r),e()},this.socket.close()})}async send(e){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(to(e))}catch(n){this.onError(e.id,n)}}register(e=this.url){if(!Jw(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);if(this.registering){const n=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=n||this.events.listenerCount("open")>=n)&&this.events.setMaxListeners(n+1),new Promise((r,i)=>{this.events.once("register_error",s=>{this.resetMaxListeners(),i(s)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return i(new Error("WebSocket connection is missing or invalid"));r(this.socket)})})}return this.url=e,this.registering=!0,new Promise((n,r)=>{const i=Zw.isReactNative()?void 0:{rejectUnauthorized:!iP(e)},s=new cP(e,[],i);aP()?s.onerror=o=>{const a=o;r(this.emitError(a.error))}:s.on("error",o=>{r(this.emitError(o))}),s.onopen=()=>{this.onOpen(s),n(s)}})}onOpen(e){e.onmessage=n=>this.onPayload(n),e.onclose=n=>this.onClose(n),this.socket=e,this.registering=!1,this.events.emit("open")}onClose(e){this.socket=void 0,this.registering=!1,this.events.emit("close",e)}onPayload(e){if(typeof e.data>"u")return;const n=typeof e.data=="string"?fs(e.data):e.data;this.events.emit("payload",n)}onError(e,n){const r=this.parseError(n),i=r.message||r.toString(),s=vh(e,i);this.events.emit("payload",s)}parseError(e,n=this.url){return $D(e,em(n),"WS")}resetMaxListeners(){this.events.getMaxListeners()>tm&&this.events.setMaxListeners(tm)}emitError(e){const n=this.parseError(new Error(e?.message||`WebSocket connection failed for host: ${em(this.url)}`));return this.events.emit("register_error",n),n}}const nm="wc",rm=2,jc="core",Dn=`${nm}@2:${jc}:`,uP={name:jc,logger:"error"},lP={database:":memory:"},hP="crypto",im="client_ed25519_seed",dP=Z.ONE_DAY,pP="keychain",gP="0.3",yP="messages",bP="0.3",wP=Z.SIX_HOURS,mP="publisher",sm="irn",vP="error",om="wss://relay.walletconnect.org",EP="relayer",De={message:"relayer_message",message_ack:"relayer_message_ack",connect:"relayer_connect",disconnect:"relayer_disconnect",error:"relayer_error",connection_stalled:"relayer_connection_stalled",transport_closed:"relayer_transport_closed",publish:"relayer_publish"},xP="_subscription",en={payload:"payload",connect:"connect",disconnect:"disconnect",error:"error"},_P=.1,xh="2.23.3",_e={link_mode:"link_mode",relay:"relay"},zc={inbound:"inbound",outbound:"outbound"},IP="0.3",SP="WALLETCONNECT_CLIENT_ID",am="WALLETCONNECT_LINK_MODE_APPS",Ht={created:"subscription_created",deleted:"subscription_deleted",expired:"subscription_expired",disabled:"subscription_disabled",sync:"subscription_sync",resubscribed:"subscription_resubscribed"},BP="subscription",$P="0.3",AP="pairing",OP="0.3",ko={wc_pairingDelete:{req:{ttl:Z.ONE_DAY,prompt:!1,tag:1e3},res:{ttl:Z.ONE_DAY,prompt:!1,tag:1001}},wc_pairingPing:{req:{ttl:Z.THIRTY_SECONDS,prompt:!1,tag:1002},res:{ttl:Z.THIRTY_SECONDS,prompt:!1,tag:1003}},unregistered_method:{req:{ttl:Z.ONE_DAY,prompt:!1,tag:0},res:{ttl:Z.ONE_DAY,prompt:!1,tag:0}}},Mi={create:"pairing_create",expire:"pairing_expire",delete:"pairing_delete",ping:"pairing_ping"},bn={created:"history_created",updated:"history_updated",deleted:"history_deleted",sync:"history_sync"},DP="history",PP="0.3",RP="expirer",tn={created:"expirer_created",deleted:"expirer_deleted",expired:"expirer_expired",sync:"expirer_sync"},TP="0.3",NP="verify-api",UP="https://verify.walletconnect.com",cm="https://verify.walletconnect.org",qo=cm,CP=`${qo}/v3`,FP=[UP,cm],LP="echo",kP="https://echo.walletconnect.com",Pn={pairing_started:"pairing_started",pairing_uri_validation_success:"pairing_uri_validation_success",pairing_uri_not_expired:"pairing_uri_not_expired",store_new_pairing:"store_new_pairing",subscribing_pairing_topic:"subscribing_pairing_topic",subscribe_pairing_topic_success:"subscribe_pairing_topic_success",existing_pairing:"existing_pairing",pairing_not_expired:"pairing_not_expired",emit_inactive_pairing:"emit_inactive_pairing",emit_session_proposal:"emit_session_proposal",subscribing_to_pairing_topic:"subscribing_to_pairing_topic"},ur={no_wss_connection:"no_wss_connection",no_internet_connection:"no_internet_connection",malformed_pairing_uri:"malformed_pairing_uri",active_pairing_already_exists:"active_pairing_already_exists",subscribe_pairing_topic_failure:"subscribe_pairing_topic_failure",pairing_expired:"pairing_expired",proposal_expired:"proposal_expired",proposal_listener_not_found:"proposal_listener_not_found"},wn={session_approve_started:"session_approve_started",proposal_not_expired:"proposal_not_expired",session_namespaces_validation_success:"session_namespaces_validation_success",create_session_topic:"create_session_topic",subscribing_session_topic:"subscribing_session_topic",subscribe_session_topic_success:"subscribe_session_topic_success",publishing_session_approve:"publishing_session_approve",session_approve_publish_success:"session_approve_publish_success",store_session:"store_session",publishing_session_settle:"publishing_session_settle",session_settle_publish_success:"session_settle_publish_success",session_request_response_started:"session_request_response_started",session_request_response_validation_success:"session_request_response_validation_success",session_request_response_publish_started:"session_request_response_publish_started"},ji={no_internet_connection:"no_internet_connection",no_wss_connection:"no_wss_connection",proposal_expired:"proposal_expired",subscribe_session_topic_failure:"subscribe_session_topic_failure",session_approve_publish_failure:"session_approve_publish_failure",session_settle_publish_failure:"session_settle_publish_failure",session_approve_namespace_validation_failure:"session_approve_namespace_validation_failure",proposal_not_found:"proposal_not_found",session_request_response_validation_failure:"session_request_response_validation_failure",session_request_response_publish_failure:"session_request_response_publish_failure"},zi={authenticated_session_approve_started:"authenticated_session_approve_started",authenticated_session_not_expired:"authenticated_session_not_expired",chains_caip2_compliant:"chains_caip2_compliant",chains_evm_compliant:"chains_evm_compliant",create_authenticated_session_topic:"create_authenticated_session_topic",cacaos_verified:"cacaos_verified",store_authenticated_session:"store_authenticated_session",subscribing_authenticated_session_topic:"subscribing_authenticated_session_topic",subscribe_authenticated_session_topic_success:"subscribe_authenticated_session_topic_success",publishing_authenticated_session_approve:"publishing_authenticated_session_approve",authenticated_session_approve_publish_success:"authenticated_session_approve_publish_success"},Mo={no_internet_connection:"no_internet_connection",no_wss_connection:"no_wss_connection",missing_session_authenticate_request:"missing_session_authenticate_request",session_authenticate_request_expired:"session_authenticate_request_expired",chains_caip2_compliant_failure:"chains_caip2_compliant_failure",chains_evm_compliant_failure:"chains_evm_compliant_failure",invalid_cacao:"invalid_cacao",subscribe_authenticated_session_topic_failure:"subscribe_authenticated_session_topic_failure",authenticated_session_approve_publish_failure:"authenticated_session_approve_publish_failure",authenticated_session_pending_request_not_found:"authenticated_session_pending_request_not_found"},qP=.1,MP="event-client",jP=86400,zP="https://pulse.walletconnect.org/batch";function HP(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),f=Math.log(a)/Math.log(256),u=Math.log(256)/Math.log(a);function h(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var b=0,v=0,O=0,P=p.length;O!==P&&p[O]===0;)O++,b++;for(var x=(P-O)*u+1>>>0,S=new Uint8Array(x);O!==P;){for(var R=p[O],U=0,L=x-1;(R!==0||U<v)&&L!==-1;L--,U++)R+=256*S[L]>>>0,S[L]=R%a>>>0,R=R/a>>>0;if(R!==0)throw new Error("Non-zero carry");v=U,O++}for(var C=x-v;C!==x&&S[C]===0;)C++;for(var A=c.repeat(b);C<x;++C)A+=t.charAt(S[C]);return A}function l(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var b=0;if(p[b]!==" "){for(var v=0,O=0;p[b]===c;)v++,b++;for(var P=(p.length-b)*f+1>>>0,x=new Uint8Array(P);p[b];){var S=n[p.charCodeAt(b)];if(S===255)return;for(var R=0,U=P-1;(S!==0||R<O)&&U!==-1;U--,R++)S+=a*x[U]>>>0,x[U]=S%256>>>0,S=S/256>>>0;if(S!==0)throw new Error("Non-zero carry");O=R,b++}if(p[b]!==" "){for(var L=P-O;L!==P&&x[L]===0;)L++;for(var C=new Uint8Array(v+(P-L)),A=v;L!==P;)C[A++]=x[L++];return C}}}function d(p){var b=l(p);if(b)return b;throw new Error(`Non-${e} character`)}return{encode:h,decodeUnsafe:l,decode:d}}var VP=HP,KP=VP;const fm=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},GP=t=>new TextEncoder().encode(t),ZP=t=>new TextDecoder().decode(t);class WP{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class YP{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return um(this,e)}}class XP{constructor(e){this.decoders=e}or(e){return um(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const um=(t,e)=>new XP({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class JP{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new WP(e,n,r),this.decoder=new YP(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const Hc=({name:t,prefix:e,encode:n,decode:r})=>new JP(t,e,n,r),jo=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=KP(n,e);return Hc({prefix:t,name:e,encode:r,decode:s=>fm(i(s))})},QP=(t,e,n,r)=>{const i={};for(let u=0;u<e.length;++u)i[e[u]]=u;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,f=0;for(let u=0;u<s;++u){const h=i[t[u]];if(h===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|h,a+=n,a>=8&&(a-=8,o[f++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},eR=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},We=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>Hc({prefix:e,name:t,encode(i){return eR(i,r,n)},decode(i){return QP(i,r,n,t)}}),tR=Hc({prefix:"\0",name:"identity",encode:t=>ZP(t),decode:t=>GP(t)});var nR=Object.freeze({__proto__:null,identity:tR});const rR=We({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var iR=Object.freeze({__proto__:null,base2:rR});const sR=We({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var oR=Object.freeze({__proto__:null,base8:sR});const aR=jo({prefix:"9",name:"base10",alphabet:"0123456789"});var cR=Object.freeze({__proto__:null,base10:aR});const fR=We({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),uR=We({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var lR=Object.freeze({__proto__:null,base16:fR,base16upper:uR});const hR=We({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),dR=We({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),pR=We({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),gR=We({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),yR=We({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),bR=We({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),wR=We({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),mR=We({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),vR=We({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var ER=Object.freeze({__proto__:null,base32:hR,base32upper:dR,base32pad:pR,base32padupper:gR,base32hex:yR,base32hexupper:bR,base32hexpad:wR,base32hexpadupper:mR,base32z:vR});const xR=jo({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),_R=jo({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var IR=Object.freeze({__proto__:null,base36:xR,base36upper:_R});const SR=jo({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),BR=jo({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var $R=Object.freeze({__proto__:null,base58btc:SR,base58flickr:BR});const AR=We({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),OR=We({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),DR=We({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),PR=We({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var RR=Object.freeze({__proto__:null,base64:AR,base64pad:OR,base64url:DR,base64urlpad:PR});const lm=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),TR=lm.reduce((t,e,n)=>(t[n]=e,t),[]),NR=lm.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function UR(t){return t.reduce((e,n)=>(e+=TR[n],e),"")}function CR(t){const e=[];for(const n of t){const r=NR[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const FR=Hc({prefix:"\u{1F680}",name:"base256emoji",encode:UR,decode:CR});var LR=Object.freeze({__proto__:null,base256emoji:FR}),kR=dm,hm=128,qR=127,MR=~qR,jR=Math.pow(2,31);function dm(t,e,n){e=e||[],n=n||0;for(var r=n;t>=jR;)e[n++]=t&255|hm,t/=128;for(;t&MR;)e[n++]=t&255|hm,t>>>=7;return e[n]=t|0,dm.bytes=n-r+1,e}var zR=_h,HR=128,pm=127;function _h(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw _h.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&pm)<<i:(o&pm)*Math.pow(2,i),i+=7}while(o>=HR);return _h.bytes=s-r,n}var VR=Math.pow(2,7),KR=Math.pow(2,14),GR=Math.pow(2,21),ZR=Math.pow(2,28),WR=Math.pow(2,35),YR=Math.pow(2,42),XR=Math.pow(2,49),JR=Math.pow(2,56),QR=Math.pow(2,63),eT=function(t){return t<VR?1:t<KR?2:t<GR?3:t<ZR?4:t<WR?5:t<YR?6:t<XR?7:t<JR?8:t<QR?9:10},tT={encode:kR,decode:zR,encodingLength:eT},gm=tT;const ym=(t,e,n=0)=>(gm.encode(t,e,n),e),bm=t=>gm.encodingLength(t),Ih=(t,e)=>{const n=e.byteLength,r=bm(t),i=r+bm(n),s=new Uint8Array(i+n);return ym(t,s,0),ym(n,s,r),s.set(e,i),new nT(t,n,e,s)};class nT{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const wm=({name:t,code:e,encode:n})=>new rT(t,e,n);class rT{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?Ih(this.code,n):n.then(r=>Ih(this.code,r))}else throw Error("Unknown type, must be binary type")}}const mm=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),iT=wm({name:"sha2-256",code:18,encode:mm("SHA-256")}),sT=wm({name:"sha2-512",code:19,encode:mm("SHA-512")});var oT=Object.freeze({__proto__:null,sha256:iT,sha512:sT});const vm=0,aT="identity",Em=fm;var cT=Object.freeze({__proto__:null,identity:{code:vm,name:aT,encode:Em,digest:t=>Ih(vm,Em(t))}});new TextEncoder,new TextDecoder;const xm={...nR,...iR,...oR,...cR,...lR,...ER,...IR,...$R,...RR,...LR};({...oT,...cT});function _m(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function fT(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?_m(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function Im(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const Sm=Im("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),Sh=Im("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=fT(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),uT={utf8:Sm,"utf-8":Sm,hex:xm.base16,latin1:Sh,ascii:Sh,binary:Sh,...xm};function lT(t,e="utf8"){const n=uT[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?_m(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var hT=Object.defineProperty,dT=(t,e,n)=>e in t?hT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Rn=(t,e,n)=>dT(t,typeof e!="symbol"?e+"":e,n);class pT{constructor(e,n){this.core=e,this.logger=n,Rn(this,"keychain",new Map),Rn(this,"name",pP),Rn(this,"version",gP),Rn(this,"initialized",!1),Rn(this,"storagePrefix",Dn),Rn(this,"init",async()=>{if(!this.initialized){const r=await this.getKeyChain();typeof r<"u"&&(this.keychain=r),this.initialized=!0}}),Rn(this,"has",r=>(this.isInitialized(),this.keychain.has(r))),Rn(this,"set",async(r,i)=>{this.isInitialized(),this.keychain.set(r,i),await this.persist()}),Rn(this,"get",r=>{this.isInitialized();const i=this.keychain.get(r);if(typeof i>"u"){const{message:s}=W("NO_MATCHING_KEY",`${this.name}: ${r}`);throw new Error(s)}return i}),Rn(this,"del",async r=>{this.isInitialized(),this.keychain.delete(r),await this.persist()}),this.core=e,this.logger=Ft(n,this.name)}get context(){return xt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,Pl(e))}async getKeyChain(){const e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Rl(e):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){const{message:e}=W("NOT_INITIALIZED",this.name);throw new Error(e)}}}var gT=Object.defineProperty,yT=(t,e,n)=>e in t?gT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Me=(t,e,n)=>yT(t,typeof e!="symbol"?e+"":e,n);class bT{constructor(e,n,r){this.core=e,this.logger=n,Me(this,"name",hP),Me(this,"keychain"),Me(this,"randomSessionIdentifier",uh()),Me(this,"initialized",!1),Me(this,"clientId"),Me(this,"init",async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)}),Me(this,"hasKeys",i=>(this.isInitialized(),this.keychain.has(i))),Me(this,"getClientId",async()=>{if(this.isInitialized(),this.clientId)return this.clientId;const i=await this.getClientSeed(),s=Fg(i),o=Cg(s.publicKey);return this.clientId=o,o}),Me(this,"generateKeyPair",()=>{this.isInitialized();const i=tO();return this.setPrivateKey(i.publicKey,i.privateKey)}),Me(this,"signJWT",async i=>{this.isInitialized();const s=await this.getClientSeed(),o=Fg(s),a=this.randomSessionIdentifier;return await x5(a,i,dP,o)}),Me(this,"generateSharedKey",(i,s,o)=>{this.isInitialized();const a=this.getPrivateKey(i),c=nO(a,s);return this.setSymKey(c,o)}),Me(this,"setSymKey",async(i,s)=>{this.isInitialized();const o=s||Cc(i);return await this.keychain.set(o,i),o}),Me(this,"deleteKeyPair",async i=>{this.isInitialized(),await this.keychain.del(i)}),Me(this,"deleteSymKey",async i=>{this.isInitialized(),await this.keychain.del(i)}),Me(this,"encode",async(i,s,o)=>{this.isInitialized();const a=Iw(o),c=to(s);if(Bw(a))return sO(c,o?.encoding);if(Sw(a)){const l=a.senderPublicKey,d=a.receiverPublicKey;i=await this.generateSharedKey(l,d)}const f=this.getSymKey(i),{type:u,senderPublicKey:h}=a;return rO({type:u,symKey:f,message:c,senderPublicKey:h,encoding:o?.encoding})}),Me(this,"decode",async(i,s,o)=>{this.isInitialized();const a=aO(s,o);if(Bw(a)){const c=oO(s,o?.encoding);return fs(c)}if(Sw(a)){const c=a.receiverPublicKey,f=a.senderPublicKey;i=await this.generateSharedKey(c,f)}try{const c=this.getSymKey(i),f=iO({symKey:c,encoded:s,encoding:o?.encoding});return fs(f)}catch(c){this.logger.error(`Failed to decode message from topic: '${i}', clientId: '${await this.getClientId()}'`),this.logger.error(c)}}),Me(this,"getPayloadType",(i,s=Nt)=>{const o=No({encoded:i,encoding:s});return qi(o.type)}),Me(this,"getPayloadSenderPublicKey",(i,s=Nt)=>{const o=No({encoded:i,encoding:s});return o.senderPublicKey?At(o.senderPublicKey,Et):void 0}),this.core=e,this.logger=Ft(n,this.name),this.keychain=r||new pT(this.core,this.logger)}get context(){return xt(this.logger)}async setPrivateKey(e,n){return await this.keychain.set(e,n),e}getPrivateKey(e){return this.keychain.get(e)}async getClientSeed(){let e="";try{e=this.keychain.get(im)}catch{e=uh(),await this.keychain.set(im,e)}return lT(e,"base16")}getSymKey(e){return this.keychain.get(e)}isInitialized(){if(!this.initialized){const{message:e}=W("NOT_INITIALIZED",this.name);throw new Error(e)}}}var wT=Object.defineProperty,mT=Object.defineProperties,vT=Object.getOwnPropertyDescriptors,Bm=Object.getOwnPropertySymbols,ET=Object.prototype.hasOwnProperty,xT=Object.prototype.propertyIsEnumerable,Bh=(t,e,n)=>e in t?wT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_T=(t,e)=>{for(var n in e||(e={}))ET.call(e,n)&&Bh(t,n,e[n]);if(Bm)for(var n of Bm(e))xT.call(e,n)&&Bh(t,n,e[n]);return t},IT=(t,e)=>mT(t,vT(e)),Vt=(t,e,n)=>Bh(t,typeof e!="symbol"?e+"":e,n);class ST extends rS{constructor(e,n){super(e,n),this.logger=e,this.core=n,Vt(this,"messages",new Map),Vt(this,"messagesWithoutClientAck",new Map),Vt(this,"name",yP),Vt(this,"version",bP),Vt(this,"initialized",!1),Vt(this,"storagePrefix",Dn),Vt(this,"init",async()=>{if(!this.initialized){this.logger.trace("Initialized");try{const r=await this.getRelayerMessages();typeof r<"u"&&(this.messages=r);const i=await this.getRelayerMessagesWithoutClientAck();typeof i<"u"&&(this.messagesWithoutClientAck=i),this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(r){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(r)}finally{this.initialized=!0}}}),Vt(this,"set",async(r,i,s)=>{this.isInitialized();const o=Jt(i);let a=this.messages.get(r);if(typeof a>"u"&&(a={}),typeof a[o]<"u")return o;if(a[o]=i,this.messages.set(r,a),s===zc.inbound){const c=this.messagesWithoutClientAck.get(r)||{};this.messagesWithoutClientAck.set(r,IT(_T({},c),{[o]:i}))}return await this.persist(),o}),Vt(this,"get",r=>{this.isInitialized();let i=this.messages.get(r);return typeof i>"u"&&(i={}),i}),Vt(this,"getWithoutAck",r=>{this.isInitialized();const i={};for(const s of r){const o=this.messagesWithoutClientAck.get(s)||{};i[s]=Object.values(o)}return i}),Vt(this,"has",(r,i)=>{this.isInitialized();const s=this.get(r),o=Jt(i);return typeof s[o]<"u"}),Vt(this,"ack",async(r,i)=>{this.isInitialized();const s=this.messagesWithoutClientAck.get(r);if(typeof s>"u")return;const o=Jt(i);delete s[o],Object.keys(s).length===0?this.messagesWithoutClientAck.delete(r):this.messagesWithoutClientAck.set(r,s),await this.persist()}),Vt(this,"del",async r=>{this.isInitialized(),this.messages.delete(r),this.messagesWithoutClientAck.delete(r),await this.persist()}),this.logger=Ft(e,this.name),this.core=n}get context(){return xt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get storageKeyWithoutClientAck(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name+"_withoutClientAck"}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,Pl(e))}async setRelayerMessagesWithoutClientAck(e){await this.core.storage.setItem(this.storageKeyWithoutClientAck,Pl(e))}async getRelayerMessages(){const e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Rl(e):void 0}async getRelayerMessagesWithoutClientAck(){const e=await this.core.storage.getItem(this.storageKeyWithoutClientAck);return typeof e<"u"?Rl(e):void 0}async persist(){await this.setRelayerMessages(this.messages),await this.setRelayerMessagesWithoutClientAck(this.messagesWithoutClientAck)}isInitialized(){if(!this.initialized){const{message:e}=W("NOT_INITIALIZED",this.name);throw new Error(e)}}}var BT=Object.defineProperty,$T=Object.defineProperties,AT=Object.getOwnPropertyDescriptors,$m=Object.getOwnPropertySymbols,OT=Object.prototype.hasOwnProperty,DT=Object.prototype.propertyIsEnumerable,$h=(t,e,n)=>e in t?BT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ds=(t,e)=>{for(var n in e||(e={}))OT.call(e,n)&&$h(t,n,e[n]);if($m)for(var n of $m(e))DT.call(e,n)&&$h(t,n,e[n]);return t},Am=(t,e)=>$T(t,AT(e)),nn=(t,e,n)=>$h(t,typeof e!="symbol"?e+"":e,n);class PT extends iS{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,nn(this,"events",new Qe.exports.EventEmitter),nn(this,"name",mP),nn(this,"queue",new Map),nn(this,"publishTimeout",Z.toMiliseconds(Z.ONE_MINUTE)),nn(this,"initialPublishTimeout",Z.toMiliseconds(Z.ONE_SECOND*15)),nn(this,"needsTransportRestart",!1),nn(this,"publish",async(r,i,s)=>{var o,a,c,f,u;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:r,message:i,opts:s}});const h=s?.ttl||wP,l=s?.prompt||!1,d=s?.tag||0,p=s?.id||li().toString(),b=$s(Fc().protocol),v={id:p,method:s?.publishMethod||b.publish,params:Ds({topic:r,message:i,ttl:h,prompt:l,tag:d,attestation:s?.attestation},s?.tvf)},O=`Failed to publish payload, please try again. id:${p} tag:${d}`;try{Fe((o=v.params)==null?void 0:o.prompt)&&((a=v.params)==null||delete a.prompt),Fe((c=v.params)==null?void 0:c.tag)&&((f=v.params)==null||delete f.tag);const P=new Promise(async x=>{const S=({id:U})=>{var L;((L=v.id)==null?void 0:L.toString())===U.toString()&&(this.removeRequestFromQueue(U),this.relayer.events.removeListener(De.publish,S),x())};this.relayer.events.on(De.publish,S);const R=Bn(new Promise((U,L)=>{this.rpcPublish(v,s).then(U).catch(C=>{this.logger.warn(C,C?.message),L(C)})}),this.initialPublishTimeout,`Failed initial publish, retrying.... id:${p} tag:${d}`);try{await R,this.events.removeListener(De.publish,S)}catch(U){this.queue.set(p,{request:v,opts:s,attempt:1}),this.logger.warn(U,U?.message)}});this.logger.trace({type:"method",method:"publish",params:{id:p,topic:r,message:i,opts:s}}),await Bn(P,this.publishTimeout,O)}catch(P){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(P),(u=s?.internal)!=null&&u.throwOnFailedPublish)throw P}finally{this.queue.delete(p)}}),nn(this,"publishCustom",async r=>{var i,s,o,a,c;this.logger.debug("Publishing custom payload"),this.logger.trace({type:"method",method:"publishCustom",params:r});const{payload:f,opts:u={}}=r,{attestation:h,tvf:l,publishMethod:d,prompt:p,tag:b,ttl:v=Z.FIVE_MINUTES}=u,O=u.id||li().toString(),P=$s(Fc().protocol),x=d||P.publish,S={id:O,method:x,params:Ds(Am(Ds({},f),{ttl:v,prompt:p,tag:b,attestation:h}),l)},R=`Failed to publish custom payload, please try again. id:${O} tag:${b}`;try{Fe((i=S.params)==null?void 0:i.prompt)&&((s=S.params)==null||delete s.prompt),Fe((o=S.params)==null?void 0:o.tag)&&((a=S.params)==null||delete a.tag);const U=new Promise(async L=>{const C=({id:j})=>{var q;((q=S.id)==null?void 0:q.toString())===j.toString()&&(this.removeRequestFromQueue(j),this.relayer.events.removeListener(De.publish,C),L())};this.relayer.events.on(De.publish,C);const A=Bn(new Promise((j,q)=>{this.rpcPublish(S,u).then(j).catch(E=>{this.logger.warn(E,E?.message),q(E)})}),this.initialPublishTimeout,`Failed initial custom payload publish, retrying.... method:${x} id:${O} tag:${b}`);try{await A,this.events.removeListener(De.publish,C)}catch(j){this.queue.set(O,{request:S,opts:u,attempt:1}),this.logger.warn(j,j?.message)}});this.logger.trace({type:"method",method:"publish",params:{id:O,payload:f,opts:u}}),await Bn(U,this.publishTimeout,R)}catch(U){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(U),(c=u?.internal)!=null&&c.throwOnFailedPublish)throw U}finally{this.queue.delete(O)}}),nn(this,"on",(r,i)=>{this.events.on(r,i)}),nn(this,"once",(r,i)=>{this.events.once(r,i)}),nn(this,"off",(r,i)=>{this.events.off(r,i)}),nn(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.relayer=e,this.logger=Ft(n,this.name),this.registerEventListeners()}get context(){return xt(this.logger)}async rpcPublish(e,n){this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:e});const r=await this.relayer.request(e);return this.relayer.events.emit(De.publish,Ds(Ds({},e),n)),this.logger.debug("Successfully Published Payload"),r}removeRequestFromQueue(e){this.queue.delete(e)}checkQueue(){this.queue.forEach(async(e,n)=>{var r;const i=e.attempt+1;this.queue.set(n,Am(Ds({},e),{attempt:i})),this.logger.warn({},`Publisher: queue->publishing: ${e.request.id}, tag: ${(r=e.request.params)==null?void 0:r.tag}, attempt: ${i}`),await this.rpcPublish(e.request,e.opts),this.logger.warn({},`Publisher: queue->published: ${e.request.id}`)})}registerEventListeners(){this.relayer.core.heartbeat.on(Di.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(De.connection_stalled);return}this.checkQueue()}),this.relayer.on(De.message_ack,e=>{this.removeRequestFromQueue(e.id.toString())})}}var RT=Object.defineProperty,TT=(t,e,n)=>e in t?RT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ps=(t,e,n)=>TT(t,typeof e!="symbol"?e+"":e,n);class NT{constructor(){Ps(this,"map",new Map),Ps(this,"set",(e,n)=>{const r=this.get(e);this.exists(e,n)||this.map.set(e,[...r,n])}),Ps(this,"get",e=>this.map.get(e)||[]),Ps(this,"exists",(e,n)=>this.get(e).includes(n)),Ps(this,"delete",(e,n)=>{if(typeof n>"u"){this.map.delete(e);return}if(!this.map.has(e))return;const r=this.get(e);if(!this.exists(e,n))return;const i=r.filter(s=>s!==n);if(!i.length){this.map.delete(e);return}this.map.set(e,i)}),Ps(this,"clear",()=>{this.map.clear()})}get topics(){return Array.from(this.map.keys())}}var UT=Object.defineProperty,CT=Object.defineProperties,FT=Object.getOwnPropertyDescriptors,Om=Object.getOwnPropertySymbols,LT=Object.prototype.hasOwnProperty,kT=Object.prototype.propertyIsEnumerable,Ah=(t,e,n)=>e in t?UT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zo=(t,e)=>{for(var n in e||(e={}))LT.call(e,n)&&Ah(t,n,e[n]);if(Om)for(var n of Om(e))kT.call(e,n)&&Ah(t,n,e[n]);return t},Oh=(t,e)=>CT(t,FT(e)),ve=(t,e,n)=>Ah(t,typeof e!="symbol"?e+"":e,n);class qT extends aS{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,ve(this,"subscriptions",new Map),ve(this,"topicMap",new NT),ve(this,"events",new Qe.exports.EventEmitter),ve(this,"name",BP),ve(this,"version",$P),ve(this,"pending",new Map),ve(this,"cached",[]),ve(this,"initialized",!1),ve(this,"storagePrefix",Dn),ve(this,"subscribeTimeout",Z.toMiliseconds(Z.ONE_MINUTE)),ve(this,"initialSubscribeTimeout",Z.toMiliseconds(Z.ONE_SECOND*15)),ve(this,"clientId"),ve(this,"batchSubscribeTopicsLimit",500),ve(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),await this.restore()),this.initialized=!0}),ve(this,"subscribe",async(r,i)=>{var s;this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:r,opts:i}});try{const o=Fc(i),a={topic:r,relay:o,transportType:i?.transportType};(s=i?.internal)!=null&&s.skipSubscribe||this.pending.set(r,a);const c=await this.rpcSubscribe(r,o,i);return typeof c=="string"&&(this.onSubscribe(c,a),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:r,opts:i}})),c}catch(o){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(o),o}}),ve(this,"unsubscribe",async(r,i)=>{this.isInitialized(),typeof i?.id<"u"?await this.unsubscribeById(r,i.id,i):await this.unsubscribeByTopic(r,i)}),ve(this,"isSubscribed",r=>new Promise(i=>{i(this.topicMap.topics.includes(r))})),ve(this,"isKnownTopic",r=>new Promise(i=>{i(this.topicMap.topics.includes(r)||this.pending.has(r)||this.cached.some(s=>s.topic===r))})),ve(this,"on",(r,i)=>{this.events.on(r,i)}),ve(this,"once",(r,i)=>{this.events.once(r,i)}),ve(this,"off",(r,i)=>{this.events.off(r,i)}),ve(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),ve(this,"start",async()=>{await this.onConnect()}),ve(this,"stop",async()=>{await this.onDisconnect()}),ve(this,"restart",async()=>{await this.restore(),await this.onRestart()}),ve(this,"checkPending",async()=>{if(this.pending.size===0&&(!this.initialized||!this.relayer.connected))return;const r=[];this.pending.forEach(i=>{r.push(i)}),await this.batchSubscribe(r)}),ve(this,"registerEventListeners",()=>{this.relayer.core.heartbeat.on(Di.pulse,async()=>{await this.checkPending()}),this.events.on(Ht.created,async r=>{const i=Ht.created;this.logger.info(`Emitting ${i}`),this.logger.debug({type:"event",event:i,data:r}),await this.persist()}),this.events.on(Ht.deleted,async r=>{const i=Ht.deleted;this.logger.info(`Emitting ${i}`),this.logger.debug({type:"event",event:i,data:r}),await this.persist()})}),this.relayer=e,this.logger=Ft(n,this.name),this.clientId=""}get context(){return xt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.relayer.core.customStoragePrefix+"//"+this.name}get length(){return this.subscriptions.size}get ids(){return Array.from(this.subscriptions.keys())}get values(){return Array.from(this.subscriptions.values())}get topics(){return this.topicMap.topics}get hasAnyTopics(){return this.topicMap.topics.length>0||this.pending.size>0||this.cached.length>0||this.subscriptions.size>0}hasSubscription(e,n){let r=!1;try{r=this.getSubscription(e).topic===n}catch{}return r}reset(){this.cached=[],this.initialized=!0}onDisable(){this.values.length>0&&(this.cached=this.values),this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(e,n){const r=this.topicMap.get(e);await Promise.all(r.map(async i=>await this.unsubscribeById(e,i,n)))}async unsubscribeById(e,n,r){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:r}});try{const i=Fc(r);await this.restartToComplete({topic:e,id:n,relay:i}),await this.rpcUnsubscribe(e,n,i);const s=Se("USER_DISCONNECTED",`${this.name}, ${e}`);await this.onUnsubscribe(e,n,s),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:r}})}catch(i){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(i),i}}async rpcSubscribe(e,n,r){var i,s;const o=await this.getSubscriptionId(e);if((i=r?.internal)!=null&&i.skipSubscribe)return o;(!r||r?.transportType===_e.relay)&&await this.restartToComplete({topic:e,id:e,relay:n});const a={method:$s(n.protocol).subscribe,params:{topic:e}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});const c=(s=r?.internal)==null?void 0:s.throwOnFailedPublish;try{if(r?.transportType===_e.link_mode)return setTimeout(()=>{(this.relayer.connected||this.relayer.connecting)&&this.relayer.request(a).catch(h=>this.logger.warn(h))},Z.toMiliseconds(Z.ONE_SECOND)),o;const f=new Promise(async h=>{const l=d=>{d.topic===e&&(this.events.removeListener(Ht.created,l),h(d.id))};this.events.on(Ht.created,l);try{const d=await Bn(new Promise((p,b)=>{this.relayer.request(a).catch(v=>{this.logger.warn(v,v?.message),b(v)}).then(p)}),this.initialSubscribeTimeout,`Subscribing to ${e} failed, please try again`);this.events.removeListener(Ht.created,l),h(d)}catch{}}),u=await Bn(f,this.subscribeTimeout,`Subscribing to ${e} failed, please try again`);if(!u&&c)throw new Error(`Subscribing to ${e} failed, please try again`);return u?o:null}catch(f){if(this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(De.connection_stalled),c)throw f}return null}async rpcBatchSubscribe(e){if(!e.length)return;const n=e[0].relay,r={method:$s(n.protocol).batchSubscribe,params:{topics:e.map(i=>i.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r});try{await await Bn(new Promise(i=>{this.relayer.request(r).catch(s=>this.logger.warn(s)).then(i)}),this.subscribeTimeout,"rpcBatchSubscribe failed, please try again")}catch{this.relayer.events.emit(De.connection_stalled)}}async rpcBatchFetchMessages(e){if(!e.length)return;const n=e[0].relay,r={method:$s(n.protocol).batchFetchMessages,params:{topics:e.map(s=>s.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r});let i;try{i=await await Bn(new Promise((s,o)=>{this.relayer.request(r).catch(a=>{this.logger.warn(a),o(a)}).then(s)}),this.subscribeTimeout,"rpcBatchFetchMessages failed, please try again")}catch{this.relayer.events.emit(De.connection_stalled)}return i}rpcUnsubscribe(e,n,r){const i={method:$s(r.protocol).unsubscribe,params:{topic:e,id:n}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:i}),this.relayer.request(i)}onSubscribe(e,n){this.setSubscription(e,Oh(zo({},n),{id:e})),this.pending.delete(n.topic)}onBatchSubscribe(e){e.length&&e.forEach(n=>{this.setSubscription(n.id,zo({},n)),this.pending.delete(n.topic)})}async onUnsubscribe(e,n,r){this.events.removeAllListeners(n),this.hasSubscription(n,e)&&this.deleteSubscription(n,r),await this.relayer.messages.del(e)}async setRelayerSubscriptions(e){await this.relayer.core.storage.setItem(this.storageKey,e)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(e,n){this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:e,subscription:n}),this.addSubscription(e,n)}addSubscription(e,n){this.subscriptions.set(e,zo({},n)),this.topicMap.set(n.topic,e),this.events.emit(Ht.created,n)}getSubscription(e){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:e});const n=this.subscriptions.get(e);if(!n){const{message:r}=W("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(r)}return n}deleteSubscription(e,n){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:e,reason:n});const r=this.getSubscription(e);this.subscriptions.delete(e),this.topicMap.delete(r.topic,e),this.events.emit(Ht.deleted,Oh(zo({},r),{reason:n}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Ht.sync)}async onRestart(){if(this.cached.length){const e=[...this.cached],n=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let r=0;r<n;r++){const i=e.splice(0,this.batchSubscribeTopicsLimit);await this.batchSubscribe(i)}}this.events.emit(Ht.resubscribed)}async restore(){try{const e=await this.getRelayerSubscriptions();if(typeof e>"u"||!e.length)return;if(this.subscriptions.size&&!e.every(n=>{var r;return n.topic===((r=this.subscriptions.get(n.id))==null?void 0:r.topic)})){const{message:n}=W("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),this.logger.error(`${this.name}: ${JSON.stringify(this.values)}`),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored subscriptions for ${this.name}`),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(e){this.logger.debug(`Failed to Restore subscriptions for ${this.name}`),this.logger.error(e)}}async batchSubscribe(e){e.length&&(await this.rpcBatchSubscribe(e),this.onBatchSubscribe(await Promise.all(e.map(async n=>Oh(zo({},n),{id:await this.getSubscriptionId(n.topic)})))))}async batchFetchMessages(e){if(!e.length)return;this.logger.trace(`Fetching batch messages for ${e.length} subscriptions`);const n=await this.rpcBatchFetchMessages(e);n&&n.messages&&(await EB(Z.toMiliseconds(Z.ONE_SECOND)),await this.relayer.handleBatchMessageEvents(n.messages))}async onConnect(){await this.restart(),this.reset()}onDisconnect(){this.onDisable()}isInitialized(){if(!this.initialized){const{message:e}=W("NOT_INITIALIZED",this.name);throw new Error(e)}}async restartToComplete(e){!this.relayer.connected&&!this.relayer.connecting&&(this.cached.push(e),await this.relayer.transportOpen())}async getClientId(){return this.clientId||(this.clientId=await this.relayer.core.crypto.getClientId()),this.clientId}async getSubscriptionId(e){return Jt(e+await this.getClientId())}}var MT=Object.defineProperty,Dm=Object.getOwnPropertySymbols,jT=Object.prototype.hasOwnProperty,zT=Object.prototype.propertyIsEnumerable,Dh=(t,e,n)=>e in t?MT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Pm=(t,e)=>{for(var n in e||(e={}))jT.call(e,n)&&Dh(t,n,e[n]);if(Dm)for(var n of Dm(e))zT.call(e,n)&&Dh(t,n,e[n]);return t},he=(t,e,n)=>Dh(t,typeof e!="symbol"?e+"":e,n);class HT extends sS{constructor(e){var n;super(e),he(this,"protocol","wc"),he(this,"version",2),he(this,"core"),he(this,"logger"),he(this,"events",new Qe.exports.EventEmitter),he(this,"provider"),he(this,"messages"),he(this,"subscriber"),he(this,"publisher"),he(this,"name",EP),he(this,"transportExplicitlyClosed",!1),he(this,"initialized",!1),he(this,"connectionAttemptInProgress",!1),he(this,"relayUrl"),he(this,"projectId"),he(this,"packageName"),he(this,"bundleId"),he(this,"hasExperiencedNetworkDisruption",!1),he(this,"pingTimeout"),he(this,"heartBeatTimeout",Z.toMiliseconds(Z.THIRTY_SECONDS+Z.FIVE_SECONDS)),he(this,"reconnectTimeout"),he(this,"connectPromise"),he(this,"reconnectInProgress",!1),he(this,"requestsInFlight",[]),he(this,"connectTimeout",Z.toMiliseconds(Z.ONE_SECOND*15)),he(this,"request",async r=>{var i,s;this.logger.debug("Publishing Request Payload");const o=r.id||li().toString();await this.toEstablishConnection();try{this.logger.trace({id:o,method:r.method,topic:(i=r.params)==null?void 0:i.topic},"relayer.request - publishing...");const a=`${o}:${((s=r.params)==null?void 0:s.tag)||""}`;this.requestsInFlight.push(a);const c=await this.provider.request(r);return this.requestsInFlight=this.requestsInFlight.filter(f=>f!==a),c}catch(a){throw this.logger.debug(`Failed to Publish Request: ${o}`),a}}),he(this,"resetPingTimeout",()=>{gc()&&(clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{var r,i,s,o;try{this.logger.debug({},"pingTimeout: Connection stalled, terminating..."),(o=(s=(i=(r=this.provider)==null?void 0:r.connection)==null?void 0:i.socket)==null?void 0:s.terminate)==null||o.call(s)}catch(a){this.logger.warn(a,a?.message)}},this.heartBeatTimeout))}),he(this,"onPayloadHandler",r=>{this.onProviderPayload(r),this.resetPingTimeout()}),he(this,"onConnectHandler",()=>{this.logger.warn({},"Relayer connected \u{1F6DC}"),this.startPingTimeout(),this.events.emit(De.connect)}),he(this,"onDisconnectHandler",()=>{this.logger.warn({},"Relayer disconnected \u{1F6D1}"),this.requestsInFlight=[],this.onProviderDisconnect()}),he(this,"onProviderErrorHandler",r=>{this.logger.fatal(`Fatal socket error: ${r.message}`),this.events.emit(De.error,r),this.logger.fatal("Fatal socket error received, closing transport"),this.transportExplicitlyClosed=!0,clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,this.reconnectInProgress=!1,this.transportClose().catch(i=>this.logger.warn(i))}),he(this,"registerProviderListeners",()=>{this.provider.on(en.payload,this.onPayloadHandler),this.provider.on(en.connect,this.onConnectHandler),this.provider.on(en.disconnect,this.onDisconnectHandler),this.provider.on(en.error,this.onProviderErrorHandler)}),this.core=e.core,this.logger=Hw({logger:(n=e.logger)!=null?n:vP,name:this.name}),this.messages=new ST(this.logger,e.core),this.subscriber=new qT(this,this.logger),this.publisher=new PT(this,this.logger),this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||om,sB()?this.packageName=Ky():oB()&&(this.bundleId=Ky()),this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await Promise.all([this.messages.init(),this.subscriber.init()]),this.initialized=!0,this.transportOpen().catch(e=>this.logger.warn(e,e?.message))}get context(){return xt(this.logger)}get connected(){var e,n,r;return((r=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:r.readyState)===1||!1}get connecting(){var e,n,r;return((r=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:r.readyState)===0||this.connectPromise!==void 0||!1}async publish(e,n,r){this.isInitialized(),await this.publisher.publish(e,n,r),await this.recordMessageEvent({topic:e,message:n,publishedAt:Date.now(),transportType:_e.relay},zc.outbound)}async publishCustom(e){this.isInitialized(),await this.publisher.publishCustom(e)}async subscribe(e,n){var r,i,s;this.isInitialized(),(!(n!=null&&n.transportType)||n?.transportType==="relay")&&await this.toEstablishConnection();const o=typeof((r=n?.internal)==null?void 0:r.throwOnFailedPublish)>"u"?!0:(i=n?.internal)==null?void 0:i.throwOnFailedPublish;let a=((s=this.subscriber.topicMap.get(e))==null?void 0:s[0])||"",c;const f=u=>{u.topic===e&&(this.subscriber.off(Ht.created,f),c())};return await Promise.all([new Promise(u=>{c=u,this.subscriber.on(Ht.created,f)}),new Promise(async(u,h)=>{a=await this.subscriber.subscribe(e,Pm({internal:{throwOnFailedPublish:o}},n)).catch(l=>{o&&h(l)})||a,u()})]),a}async unsubscribe(e,n){this.isInitialized(),await this.subscriber.unsubscribe(e,n)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async transportDisconnect(){this.provider.disconnect&&(this.hasExperiencedNetworkDisruption||this.connected)?await Bn(this.provider.disconnect(),2e3,"provider.disconnect()").catch(()=>this.onProviderDisconnect()):this.onProviderDisconnect()}async transportClose(){this.transportExplicitlyClosed=!0,clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,this.reconnectInProgress=!1,await this.transportDisconnect()}async transportOpen(e){if(!this.subscriber.hasAnyTopics){this.logger.info("Starting WS connection skipped because the client has no topics to work with.");return}if(this.connectPromise?(this.logger.debug({},"Waiting for existing connection attempt to resolve..."),await this.connectPromise,this.logger.debug({},"Existing connection attempt resolved")):(this.connectPromise=new Promise(async(n,r)=>{await this.connect(e).then(n).catch(r).finally(()=>{this.connectPromise=void 0})}),await this.connectPromise),!this.connected)throw new Error(`Couldn't establish socket connection to the relay server: ${this.relayUrl}`)}async restartTransport(e){this.logger.debug({},"Restarting transport..."),!this.connectionAttemptInProgress&&(this.relayUrl=e||this.relayUrl,await this.confirmOnlineStateOrThrow(),await this.transportClose(),await this.transportOpen())}async confirmOnlineStateOrThrow(){if(!await zw())throw new Error("No internet connection detected. Please restart your network and try again.")}async handleBatchMessageEvents(e){if(e?.length===0){this.logger.trace("Batch message events is empty. Ignoring...");return}const n=e.sort((r,i)=>r.publishedAt-i.publishedAt);this.logger.debug(`Batch of ${n.length} message events sorted`);for(const r of n)try{await this.onMessageEvent(r)}catch(i){this.logger.warn(i,"Error while processing batch message event: "+i?.message)}this.logger.trace(`Batch of ${n.length} message events processed`)}async onLinkMessageEvent(e,n){const{topic:r}=e;if(!n.sessionExists){const i=Ue(Z.FIVE_MINUTES),s={topic:r,expiry:i,relay:{protocol:"irn"},active:!1};await this.core.pairing.pairings.set(r,s)}this.events.emit(De.message,e),await this.recordMessageEvent(e,zc.inbound)}async connect(e){await this.confirmOnlineStateOrThrow(),e&&e!==this.relayUrl&&(this.relayUrl=e,await this.transportDisconnect()),this.connectionAttemptInProgress=!0,this.transportExplicitlyClosed=!1;let n=1;for(;n<6;){try{if(this.transportExplicitlyClosed)break;this.logger.debug({},`Connecting to ${this.relayUrl}, attempt: ${n}...`),await this.createProvider(),await new Promise(async(r,i)=>{const s=()=>{i(new Error("Connection interrupted while trying to connect"))};this.provider.once(en.disconnect,s),await Bn(new Promise((o,a)=>{this.provider.connect().then(o).catch(a)}),this.connectTimeout,`Socket stalled when trying to connect to ${this.relayUrl}`).catch(o=>{i(o)}).finally(()=>{this.provider.off(en.disconnect,s),clearTimeout(this.reconnectTimeout)}),await new Promise(async(o,a)=>{const c=()=>{i(new Error("Connection interrupted while trying to subscribe"))};this.provider.once(en.disconnect,c),await this.subscriber.start().then(o).catch(a).finally(()=>{this.provider.off(en.disconnect,c)})}),this.hasExperiencedNetworkDisruption=!1,r()})}catch(r){await this.subscriber.stop();const i=r;this.logger.warn({},i.message),this.hasExperiencedNetworkDisruption=!0}finally{this.connectionAttemptInProgress=!1}if(this.connected){this.logger.debug({},`Connected to ${this.relayUrl} successfully on attempt: ${n}`);break}await new Promise(r=>setTimeout(r,Z.toMiliseconds(n*1))),n++}}startPingTimeout(){var e,n,r,i,s;if(gc())try{(n=(e=this.provider)==null?void 0:e.connection)!=null&&n.socket&&((s=(i=(r=this.provider)==null?void 0:r.connection)==null?void 0:i.socket)==null||s.on("ping",()=>{this.resetPingTimeout()})),this.resetPingTimeout()}catch(o){this.logger.warn(o,o?.message)}}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();const e=await this.core.crypto.signJWT(this.relayUrl);this.provider=new sP(new fP(lB({sdkVersion:xh,protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:e,useOnCloseEvent:!0,bundleId:this.bundleId,packageName:this.packageName}))),this.registerProviderListeners()}async recordMessageEvent(e,n){const{topic:r,message:i}=e;await this.messages.set(r,i,n)}async shouldIgnoreMessageEvent(e){const{topic:n,message:r}=e;if(!r||r.length===0)return this.logger.warn(`Ignoring invalid/empty message: ${r}`),!0;if(!await this.subscriber.isKnownTopic(n))return this.logger.warn(`Ignoring message for unknown topic ${n}`),!0;const i=this.messages.has(n,r);return i&&this.logger.warn(`Ignoring duplicate message: ${r}`),i}async onProviderPayload(e){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:e}),Eh(e)){if(!e.method.endsWith(xP))return;const n=e.params,{topic:r,message:i,publishedAt:s,attestation:o}=n.data,a={topic:r,message:i,publishedAt:s,transportType:_e.relay,attestation:o};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(Pm({type:"event",event:n.id},a)),this.events.emit(n.id,a),await this.acknowledgePayload(e),await this.onMessageEvent(a)}else Mc(e)&&this.events.emit(De.message_ack,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(await this.recordMessageEvent(e,zc.inbound),this.events.emit(De.message,e))}async acknowledgePayload(e){const n=qc(e.id,!0);await this.provider.connection.send(n)}unregisterProviderListeners(){this.provider.off(en.payload,this.onPayloadHandler),this.provider.off(en.connect,this.onConnectHandler),this.provider.off(en.disconnect,this.onDisconnectHandler),this.provider.off(en.error,this.onProviderErrorHandler),clearTimeout(this.pingTimeout)}async registerEventListeners(){let e=await zw();cD(async n=>{e!==n&&(e=n,n?await this.transportOpen().catch(r=>this.logger.error(r,r?.message)):(this.hasExperiencedNetworkDisruption=!0,await this.transportDisconnect(),this.transportExplicitlyClosed=!1))}),this.core.heartbeat.on(Di.pulse,async()=>{if(!this.transportExplicitlyClosed&&!this.connected&&lD())try{await this.confirmOnlineStateOrThrow(),await this.transportOpen()}catch(n){this.logger.warn(n,n?.message)}})}async onProviderDisconnect(){clearTimeout(this.pingTimeout),this.events.emit(De.disconnect),this.connectionAttemptInProgress=!1,!this.reconnectInProgress&&(this.reconnectInProgress=!0,await this.subscriber.stop(),this.subscriber.hasAnyTopics&&(this.transportExplicitlyClosed||(this.reconnectTimeout=setTimeout(async()=>{await this.transportOpen().catch(e=>this.logger.error(e,e?.message)),this.reconnectTimeout=void 0,this.reconnectInProgress=!1},Z.toMiliseconds(_P)))))}isInitialized(){if(!this.initialized){const{message:e}=W("NOT_INITIALIZED",this.name);throw new Error(e)}}async toEstablishConnection(){if(await this.confirmOnlineStateOrThrow(),!this.connected){if(this.connectPromise){await this.connectPromise;return}await this.connect()}}}function VT(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}function Rm(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function Tm(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const KT="[object RegExp]",GT="[object String]",ZT="[object Number]",WT="[object Boolean]",Nm="[object Arguments]",YT="[object Symbol]",XT="[object Date]",JT="[object Map]",QT="[object Set]",eN="[object Array]",tN="[object Function]",nN="[object ArrayBuffer]",Ph="[object Object]",rN="[object Error]",iN="[object DataView]",sN="[object Uint8Array]",oN="[object Uint8ClampedArray]",aN="[object Uint16Array]",cN="[object Uint32Array]",fN="[object BigUint64Array]",uN="[object Int8Array]",lN="[object Int16Array]",hN="[object Int32Array]",dN="[object BigInt64Array]",pN="[object Float32Array]",gN="[object Float64Array]";function yN(){}function Um(t){if(!t||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e===null||e===Object.prototype||Object.getPrototypeOf(e)===null?Object.prototype.toString.call(t)==="[object Object]":!1}function bN(t,e,n){return Ho(t,e,void 0,void 0,void 0,void 0,n)}function Ho(t,e,n,r,i,s,o){const a=o(t,e,n,r,i,s);if(a!==void 0)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return t===e;case"number":return t===e||Object.is(t,e);case"function":return t===e;case"object":return Vo(t,e,s,o)}return Vo(t,e,s,o)}function Vo(t,e,n,r){if(Object.is(t,e))return!0;let i=Tm(t),s=Tm(e);if(i===Nm&&(i=Ph),s===Nm&&(s=Ph),i!==s)return!1;switch(i){case GT:return t.toString()===e.toString();case ZT:{const c=t.valueOf(),f=e.valueOf();return VT(c,f)}case WT:case XT:case YT:return Object.is(t.valueOf(),e.valueOf());case KT:return t.source===e.source&&t.flags===e.flags;case tN:return t===e}n=n??new Map;const o=n.get(t),a=n.get(e);if(o!=null&&a!=null)return o===e;n.set(t,e),n.set(e,t);try{switch(i){case JT:{if(t.size!==e.size)return!1;for(const[c,f]of t.entries())if(!e.has(c)||!Ho(f,e.get(c),c,t,e,n,r))return!1;return!0}case QT:{if(t.size!==e.size)return!1;const c=Array.from(t.values()),f=Array.from(e.values());for(let u=0;u<c.length;u++){const h=c[u],l=f.findIndex(d=>Ho(h,d,void 0,t,e,n,r));if(l===-1)return!1;f.splice(l,1)}return!0}case eN:case sN:case oN:case aN:case cN:case fN:case uN:case lN:case hN:case dN:case pN:case gN:{if(typeof Buffer<"u"&&Buffer.isBuffer(t)!==Buffer.isBuffer(e)||t.length!==e.length)return!1;for(let c=0;c<t.length;c++)if(!Ho(t[c],e[c],c,t,e,n,r))return!1;return!0}case nN:return t.byteLength!==e.byteLength?!1:Vo(new Uint8Array(t),new Uint8Array(e),n,r);case iN:return t.byteLength!==e.byteLength||t.byteOffset!==e.byteOffset?!1:Vo(new Uint8Array(t),new Uint8Array(e),n,r);case rN:return t.name===e.name&&t.message===e.message;case Ph:{if(!(Vo(t.constructor,e.constructor,n,r)||Um(t)&&Um(e)))return!1;const c=[...Object.keys(t),...Rm(t)],f=[...Object.keys(e),...Rm(e)];if(c.length!==f.length)return!1;for(let u=0;u<c.length;u++){const h=c[u],l=t[h];if(!Object.hasOwn(e,h))return!1;const d=e[h];if(!Ho(l,d,h,t,e,n,r))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(e)}}function wN(t,e){return bN(t,e,yN)}var mN=Object.defineProperty,Cm=Object.getOwnPropertySymbols,vN=Object.prototype.hasOwnProperty,EN=Object.prototype.propertyIsEnumerable,Rh=(t,e,n)=>e in t?mN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Fm=(t,e)=>{for(var n in e||(e={}))vN.call(e,n)&&Rh(t,n,e[n]);if(Cm)for(var n of Cm(e))EN.call(e,n)&&Rh(t,n,e[n]);return t},Ct=(t,e,n)=>Rh(t,typeof e!="symbol"?e+"":e,n);class Hi extends oS{constructor(e,n,r,i=Dn,s=void 0){super(e,n,r,i),this.core=e,this.logger=n,this.name=r,Ct(this,"map",new Map),Ct(this,"version",IP),Ct(this,"cached",[]),Ct(this,"initialized",!1),Ct(this,"getKey"),Ct(this,"storagePrefix",Dn),Ct(this,"recentlyDeleted",[]),Ct(this,"recentlyDeletedLimit",200),Ct(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(o=>{this.getKey&&o!==null&&!Fe(o)?this.map.set(this.getKey(o),o):kO(o)?this.map.set(o.id,o):qO(o)&&this.map.set(o.topic,o)}),this.cached=[],this.initialized=!0)}),Ct(this,"set",async(o,a)=>{this.isInitialized(),this.map.has(o)?await this.update(o,a):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:o,value:a}),this.map.set(o,a),await this.persist())}),Ct(this,"get",o=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:o}),this.getData(o))),Ct(this,"getAll",o=>(this.isInitialized(),o?this.values.filter(a=>Object.keys(o).every(c=>wN(a[c],o[c]))):this.values)),Ct(this,"update",async(o,a)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:o,update:a});const c=Fm(Fm({},this.getData(o)),a);this.map.set(o,c),await this.persist()}),Ct(this,"delete",async(o,a)=>{this.isInitialized(),this.map.has(o)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:o,reason:a}),this.map.delete(o),this.addToRecentlyDeleted(o),await this.persist())}),this.logger=Ft(n,this.name),this.storagePrefix=i,this.getKey=s}get context(){return xt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.map.size}get keys(){return Array.from(this.map.keys())}get values(){return Array.from(this.map.values())}addToRecentlyDeleted(e){this.recentlyDeleted.push(e),this.recentlyDeleted.length>=this.recentlyDeletedLimit&&this.recentlyDeleted.splice(0,this.recentlyDeletedLimit/2)}async setDataStore(e){await this.core.storage.setItem(this.storageKey,e)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(e){const n=this.map.get(e);if(!n){if(this.recentlyDeleted.includes(e)){const{message:i}=W("MISSING_OR_INVALID",`Record was recently deleted - ${this.name}: ${e}`);throw this.logger.error(i),new Error(i)}const{message:r}=W("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.error(r),new Error(r)}return n}async persist(){await this.setDataStore(this.values)}async restore(){try{const e=await this.getDataStore();if(typeof e>"u"||!e.length)return;if(this.map.size){const{message:n}=W("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored value for ${this.name}`),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(e){this.logger.debug(`Failed to Restore value for ${this.name}`),this.logger.error(e)}}isInitialized(){if(!this.initialized){const{message:e}=W("NOT_INITIALIZED",this.name);throw new Error(e)}}}var xN=Object.defineProperty,_N=(t,e,n)=>e in t?xN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,oe=(t,e,n)=>_N(t,typeof e!="symbol"?e+"":e,n);class IN{constructor(e,n){this.core=e,this.logger=n,oe(this,"name",AP),oe(this,"version",OP),oe(this,"events",new Qe.exports),oe(this,"pairings"),oe(this,"initialized",!1),oe(this,"storagePrefix",Dn),oe(this,"ignoredPayloadTypes",[or]),oe(this,"registeredMethods",[]),oe(this,"init",async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))}),oe(this,"register",({methods:r})=>{this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...r])]}),oe(this,"create",async r=>{this.isInitialized();const i=uh(),s=await this.core.crypto.setSymKey(i),o=Ue(Z.FIVE_MINUTES),a={protocol:sm},c={topic:s,expiry:o,relay:a,active:!1,methods:r?.methods},f=Dw({protocol:this.core.protocol,version:this.core.version,topic:s,symKey:i,relay:a,expiryTimestamp:o,methods:r?.methods});return this.events.emit(Mi.create,c),this.core.expirer.set(s,o),await this.pairings.set(s,c),await this.core.relayer.subscribe(s,{transportType:r?.transportType,internal:r?.internal}),{topic:s,uri:f}}),oe(this,"pair",async r=>{this.isInitialized();const i=this.core.eventClient.createEvent({properties:{topic:r?.uri,trace:[Pn.pairing_started]}});this.isValidPair(r,i);const{topic:s,symKey:o,relay:a,expiryTimestamp:c,methods:f}=Ow(r.uri);i.props.properties.topic=s,i.addTrace(Pn.pairing_uri_validation_success),i.addTrace(Pn.pairing_uri_not_expired);let u;if(this.pairings.keys.includes(s)){if(u=this.pairings.get(s),i.addTrace(Pn.existing_pairing),u.active)throw i.setError(ur.active_pairing_already_exists),new Error(`Pairing already exists: ${s}. Please try again with a new connection URI.`);i.addTrace(Pn.pairing_not_expired)}const h=c||Ue(Z.FIVE_MINUTES),l={topic:s,relay:a,expiry:h,active:!1,methods:f};this.core.expirer.set(s,h),await this.pairings.set(s,l),i.addTrace(Pn.store_new_pairing),r.activatePairing&&await this.activate({topic:s}),this.events.emit(Mi.create,l),i.addTrace(Pn.emit_inactive_pairing),this.core.crypto.keychain.has(s)||await this.core.crypto.setSymKey(o,s),i.addTrace(Pn.subscribing_pairing_topic);try{await this.core.relayer.confirmOnlineStateOrThrow()}catch{i.setError(ur.no_internet_connection)}try{await this.core.relayer.subscribe(s,{relay:a})}catch(d){throw i.setError(ur.subscribe_pairing_topic_failure),d}return i.addTrace(Pn.subscribe_pairing_topic_success),l}),oe(this,"activate",async({topic:r})=>{this.isInitialized();const i=Ue(Z.FIVE_MINUTES);this.core.expirer.set(r,i),await this.pairings.update(r,{active:!0,expiry:i})}),oe(this,"ping",async r=>{this.isInitialized(),await this.isValidPing(r),this.logger.warn("ping() is deprecated and will be removed in the next major release.");const{topic:i}=r;if(this.pairings.keys.includes(i)){const s=await this.sendRequest(i,"wc_pairingPing",{}),{done:o,resolve:a,reject:c}=Ti();this.events.once(pe("pairing_ping",s),({error:f})=>{f?c(f):a()}),await o()}}),oe(this,"updateExpiry",async({topic:r,expiry:i})=>{this.isInitialized(),await this.pairings.update(r,{expiry:i})}),oe(this,"updateMetadata",async({topic:r,metadata:i})=>{this.isInitialized(),await this.pairings.update(r,{peerMetadata:i})}),oe(this,"getPairings",()=>(this.isInitialized(),this.pairings.values)),oe(this,"disconnect",async r=>{this.isInitialized(),await this.isValidDisconnect(r);const{topic:i}=r;this.pairings.keys.includes(i)&&(await this.sendRequest(i,"wc_pairingDelete",Se("USER_DISCONNECTED")),await this.deletePairing(i))}),oe(this,"formatUriFromPairing",r=>{this.isInitialized();const{topic:i,relay:s,expiry:o,methods:a}=r,c=this.core.crypto.keychain.get(i);return Dw({protocol:this.core.protocol,version:this.core.version,topic:i,symKey:c,relay:s,expiryTimestamp:o,methods:a})}),oe(this,"sendRequest",async(r,i,s)=>{const o=fr(i,s),a=await this.core.crypto.encode(r,o),c=ko[i].req;return this.core.history.set(r,o),this.core.relayer.publish(r,a,c),o.id}),oe(this,"sendResult",async(r,i,s)=>{const o=qc(r,s),a=await this.core.crypto.encode(i,o),c=(await this.core.history.get(i,r)).request.method,f=ko[c].res;await this.core.relayer.publish(i,a,f),await this.core.history.resolve(o)}),oe(this,"sendError",async(r,i,s)=>{const o=vh(r,s),a=await this.core.crypto.encode(i,o),c=(await this.core.history.get(i,r)).request.method,f=ko[c]?ko[c].res:ko.unregistered_method.res;await this.core.relayer.publish(i,a,f),await this.core.history.resolve(o)}),oe(this,"deletePairing",async(r,i)=>{await this.core.relayer.unsubscribe(r),await Promise.all([this.pairings.delete(r,Se("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(r),i?Promise.resolve():this.core.expirer.del(r)])}),oe(this,"cleanup",async()=>{const r=this.pairings.getAll().filter(i=>Yr(i.expiry));await Promise.all(r.map(i=>this.deletePairing(i.topic)))}),oe(this,"onRelayEventRequest",async r=>{const{topic:i,payload:s}=r;switch(s.method){case"wc_pairingPing":return await this.onPairingPingRequest(i,s);case"wc_pairingDelete":return await this.onPairingDeleteRequest(i,s);default:return await this.onUnknownRpcMethodRequest(i,s)}}),oe(this,"onRelayEventResponse",async r=>{const{topic:i,payload:s}=r,o=(await this.core.history.get(i,s.id)).request.method;switch(o){case"wc_pairingPing":return this.onPairingPingResponse(i,s);default:return this.onUnknownRpcMethodResponse(o)}}),oe(this,"onPairingPingRequest",async(r,i)=>{const{id:s}=i;try{this.isValidPing({topic:r}),await this.sendResult(s,r,!0),this.events.emit(Mi.ping,{id:s,topic:r})}catch(o){await this.sendError(s,r,o),this.logger.error(o)}}),oe(this,"onPairingPingResponse",(r,i)=>{const{id:s}=i;setTimeout(()=>{On(i)?this.events.emit(pe("pairing_ping",s),{}):Qt(i)&&this.events.emit(pe("pairing_ping",s),{error:i.error})},500)}),oe(this,"onPairingDeleteRequest",async(r,i)=>{const{id:s}=i;try{this.isValidDisconnect({topic:r}),await this.deletePairing(r),this.events.emit(Mi.delete,{id:s,topic:r})}catch(o){await this.sendError(s,r,o),this.logger.error(o)}}),oe(this,"onUnknownRpcMethodRequest",async(r,i)=>{const{id:s,method:o}=i;try{if(this.registeredMethods.includes(o))return;const a=Se("WC_METHOD_UNSUPPORTED",o);await this.sendError(s,r,a),this.logger.error(a)}catch(a){await this.sendError(s,r,a),this.logger.error(a)}}),oe(this,"onUnknownRpcMethodResponse",r=>{this.registeredMethods.includes(r)||this.logger.error(Se("WC_METHOD_UNSUPPORTED",r))}),oe(this,"isValidPair",(r,i)=>{var s;if(!Ut(r)){const{message:a}=W("MISSING_OR_INVALID",`pair() params: ${r}`);throw i.setError(ur.malformed_pairing_uri),new Error(a)}if(!LO(r.uri)){const{message:a}=W("MISSING_OR_INVALID",`pair() uri: ${r.uri}`);throw i.setError(ur.malformed_pairing_uri),new Error(a)}const o=Ow(r?.uri);if(!((s=o?.relay)!=null&&s.protocol)){const{message:a}=W("MISSING_OR_INVALID","pair() uri#relay-protocol");throw i.setError(ur.malformed_pairing_uri),new Error(a)}if(!(o!=null&&o.symKey)){const{message:a}=W("MISSING_OR_INVALID","pair() uri#symKey");throw i.setError(ur.malformed_pairing_uri),new Error(a)}if(o!=null&&o.expiryTimestamp&&Z.toMiliseconds(o?.expiryTimestamp)<Date.now()){i.setError(ur.pairing_expired);const{message:a}=W("EXPIRED","pair() URI has expired. Please try again with a new connection URI.");throw new Error(a)}}),oe(this,"isValidPing",async r=>{if(!Ut(r)){const{message:s}=W("MISSING_OR_INVALID",`ping() params: ${r}`);throw new Error(s)}const{topic:i}=r;await this.isValidPairingTopic(i)}),oe(this,"isValidDisconnect",async r=>{if(!Ut(r)){const{message:s}=W("MISSING_OR_INVALID",`disconnect() params: ${r}`);throw new Error(s)}const{topic:i}=r;await this.isValidPairingTopic(i)}),oe(this,"isValidPairingTopic",async r=>{if(!Oe(r,!1)){const{message:i}=W("MISSING_OR_INVALID",`pairing topic should be a string: ${r}`);throw new Error(i)}if(!this.pairings.keys.includes(r)){const{message:i}=W("NO_MATCHING_KEY",`pairing topic doesn't exist: ${r}`);throw new Error(i)}if(Yr(this.pairings.get(r).expiry)){await this.deletePairing(r);const{message:i}=W("EXPIRED",`pairing topic: ${r}`);throw new Error(i)}}),this.core=e,this.logger=Ft(n,this.name),this.pairings=new Hi(this.core,this.logger,this.name,this.storagePrefix)}get context(){return xt(this.logger)}isInitialized(){if(!this.initialized){const{message:e}=W("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(De.message,async e=>{const{topic:n,message:r,transportType:i}=e;if(this.pairings.keys.includes(n)&&i!==_e.link_mode&&!this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(r)))try{const s=await this.core.crypto.decode(n,r);Eh(s)?(this.core.history.set(n,s),await this.onRelayEventRequest({topic:n,payload:s})):Mc(s)&&(await this.core.history.resolve(s),await this.onRelayEventResponse({topic:n,payload:s}),this.core.history.delete(n,s.id)),await this.core.relayer.messages.ack(n,r)}catch(s){this.logger.error(s)}})}registerExpirerEvents(){this.core.expirer.on(tn.expired,async e=>{const{topic:n}=Yy(e.target);n&&this.pairings.keys.includes(n)&&(await this.deletePairing(n,!0),this.events.emit(Mi.expire,{topic:n}))})}}var SN=Object.defineProperty,BN=(t,e,n)=>e in t?SN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ye=(t,e,n)=>BN(t,typeof e!="symbol"?e+"":e,n);class $N extends nS{constructor(e,n){super(e,n),this.core=e,this.logger=n,Ye(this,"records",new Map),Ye(this,"events",new Qe.exports.EventEmitter),Ye(this,"name",DP),Ye(this,"version",PP),Ye(this,"cached",[]),Ye(this,"initialized",!1),Ye(this,"storagePrefix",Dn),Ye(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(r=>this.records.set(r.id,r)),this.cached=[],this.registerEventListeners(),this.initialized=!0)}),Ye(this,"set",(r,i,s)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:r,request:i,chainId:s}),this.records.has(i.id))return;const o={id:i.id,topic:r,request:{method:i.method,params:i.params||null},chainId:s,expiry:Ue(Z.THIRTY_DAYS)};this.records.set(o.id,o),this.persist(),this.events.emit(bn.created,o)}),Ye(this,"resolve",async r=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:r}),!this.records.has(r.id))return;const i=await this.getRecord(r.id);typeof i.response>"u"&&(i.response=Qt(r)?{error:r.error}:{result:r.result},this.records.set(i.id,i),this.persist(),this.events.emit(bn.updated,i))}),Ye(this,"get",async(r,i)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:r,id:i}),await this.getRecord(i))),Ye(this,"delete",(r,i)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:i}),this.values.forEach(s=>{if(s.topic===r){if(typeof i<"u"&&s.id!==i)return;this.records.delete(s.id),this.events.emit(bn.deleted,s)}}),this.persist()}),Ye(this,"exists",async(r,i)=>(this.isInitialized(),this.records.has(i)?(await this.getRecord(i)).topic===r:!1)),Ye(this,"on",(r,i)=>{this.events.on(r,i)}),Ye(this,"once",(r,i)=>{this.events.once(r,i)}),Ye(this,"off",(r,i)=>{this.events.off(r,i)}),Ye(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.logger=Ft(n,this.name)}get context(){return xt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get size(){return this.records.size}get keys(){return Array.from(this.records.keys())}get values(){return Array.from(this.records.values())}get pending(){const e=[];return this.values.forEach(n=>{if(typeof n.response<"u")return;const r={topic:n.topic,request:fr(n.request.method,n.request.params,n.id),chainId:n.chainId};return e.push(r)}),e}async setJsonRpcRecords(e){await this.core.storage.setItem(this.storageKey,e)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(e){this.isInitialized();const n=this.records.get(e);if(!n){const{message:r}=W("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(r)}return n}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(bn.sync)}async restore(){try{const e=await this.getJsonRpcRecords();if(typeof e>"u"||!e.length)return;if(this.records.size){const{message:n}=W("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(e){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(e)}}registerEventListeners(){this.events.on(bn.created,e=>{const n=bn.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(bn.updated,e=>{const n=bn.updated;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(bn.deleted,e=>{const n=bn.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.core.heartbeat.on(Di.pulse,()=>{this.cleanup()})}cleanup(){try{this.isInitialized();let e=!1;this.records.forEach(n=>{Z.toMiliseconds(n.expiry||0)-Date.now()<=0&&(this.logger.info(`Deleting expired history log: ${n.id}`),this.records.delete(n.id),this.events.emit(bn.deleted,n,!1),e=!0)}),e&&this.persist()}catch(e){this.logger.warn(e)}}isInitialized(){if(!this.initialized){const{message:e}=W("NOT_INITIALIZED",this.name);throw new Error(e)}}}var AN=Object.defineProperty,ON=(t,e,n)=>e in t?AN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,dt=(t,e,n)=>ON(t,typeof e!="symbol"?e+"":e,n);class DN extends cS{constructor(e,n){super(e,n),this.core=e,this.logger=n,dt(this,"expirations",new Map),dt(this,"events",new Qe.exports.EventEmitter),dt(this,"name",RP),dt(this,"version",TP),dt(this,"cached",[]),dt(this,"initialized",!1),dt(this,"storagePrefix",Dn),dt(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(r=>this.expirations.set(r.target,r)),this.cached=[],this.registerEventListeners(),this.initialized=!0)}),dt(this,"has",r=>{try{const i=this.formatTarget(r);return typeof this.getExpiration(i)<"u"}catch{return!1}}),dt(this,"set",(r,i)=>{this.isInitialized();const s=this.formatTarget(r),o={target:s,expiry:i};this.expirations.set(s,o),this.checkExpiry(s,o),this.events.emit(tn.created,{target:s,expiration:o})}),dt(this,"get",r=>{this.isInitialized();const i=this.formatTarget(r);return this.getExpiration(i)}),dt(this,"del",r=>{if(this.isInitialized(),this.has(r)){const i=this.formatTarget(r),s=this.getExpiration(i);this.expirations.delete(i),this.events.emit(tn.deleted,{target:i,expiration:s})}}),dt(this,"on",(r,i)=>{this.events.on(r,i)}),dt(this,"once",(r,i)=>{this.events.once(r,i)}),dt(this,"off",(r,i)=>{this.events.off(r,i)}),dt(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.logger=Ft(n,this.name)}get context(){return xt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.expirations.size}get keys(){return Array.from(this.expirations.keys())}get values(){return Array.from(this.expirations.values())}formatTarget(e){if(typeof e=="string")return hB(e);if(typeof e=="number")return dB(e);const{message:n}=W("UNKNOWN_TYPE",`Target type: ${typeof e}`);throw new Error(n)}async setExpirations(e){await this.core.storage.setItem(this.storageKey,e)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(tn.sync)}async restore(){try{const e=await this.getExpirations();if(typeof e>"u"||!e.length)return;if(this.expirations.size){const{message:n}=W("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored expirations for ${this.name}`),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(e){this.logger.debug(`Failed to Restore expirations for ${this.name}`),this.logger.error(e)}}getExpiration(e){const n=this.expirations.get(e);if(!n){const{message:r}=W("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.warn(r),new Error(r)}return n}checkExpiry(e,n){const{expiry:r}=n;Z.toMiliseconds(r)-Date.now()<=0&&this.expire(e,n)}expire(e,n){this.expirations.delete(e),this.events.emit(tn.expired,{target:e,expiration:n})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((e,n)=>this.checkExpiry(n,e))}registerEventListeners(){this.core.heartbeat.on(Di.pulse,()=>this.checkExpirations()),this.events.on(tn.created,e=>{const n=tn.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(tn.expired,e=>{const n=tn.expired;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(tn.deleted,e=>{const n=tn.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()})}isInitialized(){if(!this.initialized){const{message:e}=W("NOT_INITIALIZED",this.name);throw new Error(e)}}}var PN=Object.defineProperty,RN=(t,e,n)=>e in t?PN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Pe=(t,e,n)=>RN(t,typeof e!="symbol"?e+"":e,n);class TN extends fS{constructor(e,n,r){super(e,n,r),this.core=e,this.logger=n,this.store=r,Pe(this,"name",NP),Pe(this,"abortController"),Pe(this,"isDevEnv"),Pe(this,"verifyUrlV3",CP),Pe(this,"storagePrefix",Dn),Pe(this,"version",rm),Pe(this,"publicKey"),Pe(this,"fetchPromise"),Pe(this,"init",async()=>{var i;this.isDevEnv||(this.publicKey=await this.store.getItem(this.storeKey),this.publicKey&&Z.toMiliseconds((i=this.publicKey)==null?void 0:i.expiresAt)<Date.now()&&(this.logger.debug("verify v2 public key expired"),await this.removePublicKey()))}),Pe(this,"register",async i=>{if(!ms()||this.isDevEnv)return;const s=window.location.origin,{id:o,decryptedId:a}=i,c=`${this.verifyUrlV3}/attestation?projectId=${this.core.projectId}&origin=${s}&id=${o}&decryptedId=${a}`;try{const f=Un(),u=this.startAbortTimer(Z.ONE_SECOND*5),h=await new Promise((l,d)=>{const p=()=>{window.removeEventListener("message",v),f.body.removeChild(b),d("attestation aborted")};this.abortController.signal.addEventListener("abort",p);const b=f.createElement("iframe");b.src=c,b.style.display="none",b.addEventListener("error",p,{signal:this.abortController.signal});const v=O=>{if(O.data&&typeof O.data=="string")try{const P=JSON.parse(O.data);if(P.type==="verify_attestation"){if(Uu(P.attestation).payload.id!==o)return;clearInterval(u),f.body.removeChild(b),this.abortController.signal.removeEventListener("abort",p),window.removeEventListener("message",v),l(P.attestation===null?"":P.attestation)}}catch(P){this.logger.warn(P)}};f.body.appendChild(b),window.addEventListener("message",v,{signal:this.abortController.signal})});return this.logger.debug(h,"jwt attestation"),h}catch(f){this.logger.warn(f)}return""}),Pe(this,"resolve",async i=>{if(this.isDevEnv)return"";const{attestationId:s,hash:o,encryptedId:a}=i;if(s===""){this.logger.debug("resolve: attestationId is empty, skipping");return}if(s){if(Uu(s).payload.id!==a)return;const f=await this.isValidJwtAttestation(s);if(f){if(!f.isVerified){this.logger.warn("resolve: jwt attestation: origin url not verified");return}return f}}if(!o)return;const c=this.getVerifyUrl(i?.verifyUrl);return this.fetchAttestation(o,c)}),Pe(this,"fetchAttestation",async(i,s)=>{this.logger.debug(`resolving attestation: ${i} from url: ${s}`);const o=this.startAbortTimer(Z.ONE_SECOND*5),a=await fetch(`${s}/attestation/${i}?v2Supported=true`,{signal:this.abortController.signal});return clearTimeout(o),a.status===200?await a.json():void 0}),Pe(this,"getVerifyUrl",i=>{let s=i||qo;return FP.includes(s)||(this.logger.info(`verify url: ${s}, not included in trusted list, assigning default: ${qo}`),s=qo),s}),Pe(this,"fetchPublicKey",async()=>{try{this.logger.debug(`fetching public key from: ${this.verifyUrlV3}`);const i=this.startAbortTimer(Z.FIVE_SECONDS),s=await fetch(`${this.verifyUrlV3}/public-key`,{signal:this.abortController.signal});return clearTimeout(i),await s.json()}catch(i){this.logger.warn(i)}}),Pe(this,"persistPublicKey",async i=>{this.logger.debug(i,"persisting public key to local storage"),await this.store.setItem(this.storeKey,i),this.publicKey=i}),Pe(this,"removePublicKey",async()=>{this.logger.debug("removing verify v2 public key from storage"),await this.store.removeItem(this.storeKey),this.publicKey=void 0}),Pe(this,"isValidJwtAttestation",async i=>{const s=await this.getPublicKey();try{if(s)return this.validateAttestation(i,s)}catch(a){this.logger.error(a),this.logger.warn("error validating attestation")}const o=await this.fetchAndPersistPublicKey();try{if(o)return this.validateAttestation(i,o)}catch(a){this.logger.error(a),this.logger.warn("error validating attestation")}}),Pe(this,"getPublicKey",async()=>this.publicKey?this.publicKey:await this.fetchAndPersistPublicKey()),Pe(this,"fetchAndPersistPublicKey",async()=>{if(this.fetchPromise)return await this.fetchPromise,this.publicKey;this.fetchPromise=new Promise(async s=>{const o=await this.fetchPublicKey();o&&(await this.persistPublicKey(o),s(o))});const i=await this.fetchPromise;return this.fetchPromise=void 0,i}),Pe(this,"validateAttestation",(i,s)=>{const o=fO(i,s.publicKey),a={hasExpired:Z.toMiliseconds(o.exp)<Date.now(),payload:o};if(a.hasExpired)throw this.logger.warn("resolve: jwt attestation expired"),new Error("JWT attestation expired");return{origin:a.payload.origin,isScam:a.payload.isScam,isVerified:a.payload.isVerified}}),this.logger=Ft(n,this.name),this.abortController=new AbortController,this.isDevEnv=Tl(),this.init()}get storeKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//verify:public:key"}get context(){return xt(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),Z.toMiliseconds(e))}}var NN=Object.defineProperty,UN=(t,e,n)=>e in t?NN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Lm=(t,e,n)=>UN(t,typeof e!="symbol"?e+"":e,n);class CN extends uS{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,Lm(this,"context",LP),Lm(this,"registerDeviceToken",async r=>{const{clientId:i,token:s,notificationType:o,enableEncrypted:a=!1}=r,c=`${kP}/${this.projectId}/clients`;await fetch(c,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:i,type:o,token:s,always_raw:a})})}),this.logger=Ft(n,this.context)}}var FN=Object.defineProperty,km=Object.getOwnPropertySymbols,LN=Object.prototype.hasOwnProperty,kN=Object.prototype.propertyIsEnumerable,Th=(t,e,n)=>e in t?FN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ko=(t,e)=>{for(var n in e||(e={}))LN.call(e,n)&&Th(t,n,e[n]);if(km)for(var n of km(e))kN.call(e,n)&&Th(t,n,e[n]);return t},je=(t,e,n)=>Th(t,typeof e!="symbol"?e+"":e,n);class qN extends lS{constructor(e,n,r=!0){super(e,n,r),this.core=e,this.logger=n,je(this,"context",MP),je(this,"storagePrefix",Dn),je(this,"storageVersion",qP),je(this,"events",new Map),je(this,"shouldPersist",!1),je(this,"init",async()=>{if(!Tl())try{const i={eventId:Jy(),timestamp:Date.now(),domain:this.getAppDomain(),props:{event:"INIT",type:"",properties:{client_id:await this.core.crypto.getClientId(),user_agent:Zy(this.core.relayer.protocol,this.core.relayer.version,xh)}}};await this.sendEvent([i])}catch(i){this.logger.warn(i)}}),je(this,"createEvent",i=>{const{event:s="ERROR",type:o="",properties:{topic:a,trace:c}}=i,f=Jy(),u=this.core.projectId||"",h=Date.now(),l=Ko({eventId:f,timestamp:h,props:{event:s,type:o,properties:{topic:a,trace:c}},bundleId:u,domain:this.getAppDomain()},this.setMethods(f));return this.telemetryEnabled&&(this.events.set(f,l),this.shouldPersist=!0),l}),je(this,"getEvent",i=>{const{eventId:s,topic:o}=i;if(s)return this.events.get(s);const a=Array.from(this.events.values()).find(c=>c.props.properties.topic===o);if(a)return Ko(Ko({},a),this.setMethods(a.eventId))}),je(this,"deleteEvent",i=>{const{eventId:s}=i;this.events.delete(s),this.shouldPersist=!0}),je(this,"setEventListeners",()=>{this.core.heartbeat.on(Di.pulse,async()=>{this.shouldPersist&&await this.persist(),this.events.forEach(i=>{Z.fromMiliseconds(Date.now())-Z.fromMiliseconds(i.timestamp)>jP&&(this.events.delete(i.eventId),this.shouldPersist=!0)})})}),je(this,"setMethods",i=>({addTrace:s=>this.addTrace(i,s),setError:s=>this.setError(i,s)})),je(this,"addTrace",(i,s)=>{const o=this.events.get(i);o&&(o.props.properties.trace.push(s),this.events.set(i,o),this.shouldPersist=!0)}),je(this,"setError",(i,s)=>{const o=this.events.get(i);o&&(o.props.type=s,o.timestamp=Date.now(),this.events.set(i,o),this.shouldPersist=!0)}),je(this,"persist",async()=>{await this.core.storage.setItem(this.storageKey,Array.from(this.events.values())),this.shouldPersist=!1}),je(this,"restore",async()=>{try{const i=await this.core.storage.getItem(this.storageKey)||[];if(!i.length)return;i.forEach(s=>{this.events.set(s.eventId,Ko(Ko({},s),this.setMethods(s.eventId)))})}catch(i){this.logger.warn(i)}}),je(this,"submit",async()=>{if(!this.telemetryEnabled||this.events.size===0)return;const i=[];for(const[s,o]of this.events)o.props.type&&i.push(o);if(i.length!==0)try{if((await this.sendEvent(i)).ok)for(const s of i)this.events.delete(s.eventId),this.shouldPersist=!0}catch(s){this.logger.warn(s)}}),je(this,"sendEvent",async i=>{const s=this.getAppDomain()?"":"&sp=desktop";return await fetch(`${zP}?projectId=${this.core.projectId}&st=events_sdk&sv=js-${xh}${s}`,{method:"POST",body:JSON.stringify(i)})}),je(this,"getAppDomain",()=>Gy().url),this.logger=Ft(n,this.context),this.telemetryEnabled=r,r?this.restore().then(async()=>{await this.submit(),this.setEventListeners()}):this.persist()}get storageKey(){return this.storagePrefix+this.storageVersion+this.core.customStoragePrefix+"//"+this.context}}var MN=Object.defineProperty,qm=Object.getOwnPropertySymbols,jN=Object.prototype.hasOwnProperty,zN=Object.prototype.propertyIsEnumerable,Nh=(t,e,n)=>e in t?MN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Mm=(t,e)=>{for(var n in e||(e={}))jN.call(e,n)&&Nh(t,n,e[n]);if(qm)for(var n of qm(e))zN.call(e,n)&&Nh(t,n,e[n]);return t},xe=(t,e,n)=>Nh(t,typeof e!="symbol"?e+"":e,n);class Uh extends JI{constructor(e){var n;super(e),xe(this,"protocol",nm),xe(this,"version",rm),xe(this,"name",jc),xe(this,"relayUrl"),xe(this,"projectId"),xe(this,"customStoragePrefix"),xe(this,"events",new Qe.exports.EventEmitter),xe(this,"logger"),xe(this,"heartbeat"),xe(this,"relayer"),xe(this,"crypto"),xe(this,"storage"),xe(this,"history"),xe(this,"expirer"),xe(this,"pairing"),xe(this,"verify"),xe(this,"echoClient"),xe(this,"linkModeSupportedApps"),xe(this,"eventClient"),xe(this,"initialized",!1),xe(this,"logChunkController"),xe(this,"on",(a,c)=>this.events.on(a,c)),xe(this,"once",(a,c)=>this.events.once(a,c)),xe(this,"off",(a,c)=>this.events.off(a,c)),xe(this,"removeListener",(a,c)=>this.events.removeListener(a,c)),xe(this,"dispatchEnvelope",({topic:a,message:c,sessionExists:f})=>{if(!a||!c)return;const u={topic:a,message:c,publishedAt:Date.now(),transportType:_e.link_mode};this.relayer.onLinkMessageEvent(u,{sessionExists:f})});const r=this.getGlobalCore(e?.customStoragePrefix);if(r)try{return this.customStoragePrefix=r.customStoragePrefix,this.logger=r.logger,this.heartbeat=r.heartbeat,this.crypto=r.crypto,this.history=r.history,this.expirer=r.expirer,this.storage=r.storage,this.relayer=r.relayer,this.pairing=r.pairing,this.verify=r.verify,this.echoClient=r.echoClient,this.linkModeSupportedApps=r.linkModeSupportedApps,this.eventClient=r.eventClient,this.initialized=r.initialized,this.logChunkController=r.logChunkController,r}catch(a){console.warn("Failed to copy global core",a)}this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||om,this.customStoragePrefix=e!=null&&e.customStoragePrefix?`:${e.customStoragePrefix}`:"";const i=ef({level:typeof e?.logger=="string"&&e.logger?e.logger:uP.logger,name:jc}),{logger:s,chunkLoggerController:o}=pd({opts:i,maxSizeInBytes:e?.maxLogBlobSizeInBytes,loggerOverride:e?.logger});this.logChunkController=o,(n=this.logChunkController)!=null&&n.downloadLogsBlobInBrowser&&(window.downloadLogsBlobInBrowser=async()=>{var a,c;(a=this.logChunkController)!=null&&a.downloadLogsBlobInBrowser&&((c=this.logChunkController)==null||c.downloadLogsBlobInBrowser({clientId:await this.crypto.getClientId()}))}),this.logger=Ft(s,this.name),this.heartbeat=new vl,this.crypto=new bT(this,this.logger,e?.keychain),this.history=new $N(this,this.logger),this.expirer=new DN(this,this.logger),this.storage=e!=null&&e.storage?e.storage:new WI(Mm(Mm({},lP),e?.storageOptions)),this.relayer=new HT({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new IN(this,this.logger),this.verify=new TN(this,this.logger,this.storage),this.echoClient=new CN(this.projectId||"",this.logger),this.linkModeSupportedApps=[],this.eventClient=new qN(this,this.logger,e?.telemetryEnabled),this.setGlobalCore(this)}static async init(e){const n=new Uh(e);await n.initialize();const r=await n.crypto.getClientId();return await n.storage.setItem(SP,r),n}get context(){return xt(this.logger)}async start(){this.initialized||await this.initialize()}async getLogsBlob(){var e;return(e=this.logChunkController)==null?void 0:e.logsToBlob({clientId:await this.crypto.getClientId()})}async addLinkModeSupportedApp(e){this.linkModeSupportedApps.includes(e)||(this.linkModeSupportedApps.push(e),await this.storage.setItem(am,this.linkModeSupportedApps))}async initialize(){this.logger.trace("Initialized");try{await this.crypto.init(),await this.history.init(),await this.expirer.init(),await this.relayer.init(),await this.heartbeat.init(),await this.pairing.init(),this.linkModeSupportedApps=await this.storage.getItem(am)||[],this.initialized=!0,this.logger.info("Core Initialization Success")}catch(e){throw this.logger.warn(e,`Core Initialization Failure at epoch ${Date.now()}`),this.logger.error(e.message),e}}getGlobalCore(e=""){try{if(this.isGlobalCoreDisabled())return;const n=`_walletConnectCore_${e}`,r=`${n}_count`;return globalThis[r]=(globalThis[r]||0)+1,globalThis[r]>1&&console.warn(`WalletConnect Core is already initialized. This is probably a mistake and can lead to unexpected behavior. Init() was called ${globalThis[r]} times.`),globalThis[n]}catch(n){console.warn("Failed to get global WalletConnect core",n);return}}setGlobalCore(e){var n;try{if(this.isGlobalCoreDisabled())return;const r=`_walletConnectCore_${((n=e.opts)==null?void 0:n.customStoragePrefix)||""}`;globalThis[r]=e}catch(r){console.warn("Failed to set global WalletConnect core",r)}}isGlobalCoreDisabled(){try{return typeof process<"u"&&process.env.DISABLE_GLOBAL_CORE==="true"}catch{return!0}}}const Ch=Uh,jm="wc",zm=2,Hm="client",Fh=`${jm}@${zm}:${Hm}:`,Lh={name:Hm,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.org"},Vm="WALLETCONNECT_DEEPLINK_CHOICE",HN="proposal",Km="Proposal expired",VN="session",Rs=Z.SEVEN_DAYS,KN="engine",Xe={wc_sessionPropose:{req:{ttl:Z.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:Z.FIVE_MINUTES,prompt:!1,tag:1101},reject:{ttl:Z.FIVE_MINUTES,prompt:!1,tag:1120},autoReject:{ttl:Z.FIVE_MINUTES,prompt:!1,tag:1121}},wc_sessionSettle:{req:{ttl:Z.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:Z.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:Z.ONE_DAY,prompt:!1,tag:1104},res:{ttl:Z.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:Z.ONE_DAY,prompt:!1,tag:1106},res:{ttl:Z.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:Z.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:Z.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:Z.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:Z.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:Z.ONE_DAY,prompt:!1,tag:1112},res:{ttl:Z.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:Z.ONE_DAY,prompt:!1,tag:1114},res:{ttl:Z.ONE_DAY,prompt:!1,tag:1115}},wc_sessionAuthenticate:{req:{ttl:Z.ONE_HOUR,prompt:!0,tag:1116},res:{ttl:Z.ONE_HOUR,prompt:!1,tag:1117},reject:{ttl:Z.FIVE_MINUTES,prompt:!1,tag:1118},autoReject:{ttl:Z.FIVE_MINUTES,prompt:!1,tag:1119}}},kh={min:Z.FIVE_MINUTES,max:Z.SEVEN_DAYS},Tn={idle:"IDLE",active:"ACTIVE"},GN={eth_sendTransaction:{key:""},eth_sendRawTransaction:{key:""},wallet_sendCalls:{key:""},solana_signTransaction:{key:"signature"},solana_signAllTransactions:{key:"transactions"},solana_signAndSendTransaction:{key:"signature"},sui_signAndExecuteTransaction:{key:"digest"},sui_signTransaction:{key:""},hedera_signAndExecuteTransaction:{key:"transactionId"},hedera_executeTransaction:{key:"transactionId"},near_signTransaction:{key:""},near_signTransactions:{key:""},tron_signTransaction:{key:"txID"},xrpl_signTransaction:{key:""},xrpl_signTransactionFor:{key:""},algo_signTxn:{key:""},sendTransfer:{key:"txid"},stacks_stxTransfer:{key:"txId"},polkadot_signTransaction:{key:""},cosmos_signDirect:{key:""}},ZN="request",WN=["wc_sessionPropose","wc_sessionRequest","wc_authRequest","wc_sessionAuthenticate"],YN="wc",XN="auth",JN="authKeys",QN="pairingTopics",eU="requests",Vc=`${YN}@${1.5}:${XN}:`,Kc=`${Vc}:PUB_KEY`;var tU=Object.defineProperty,nU=Object.defineProperties,rU=Object.getOwnPropertyDescriptors,Gm=Object.getOwnPropertySymbols,iU=Object.prototype.hasOwnProperty,sU=Object.prototype.propertyIsEnumerable,qh=(t,e,n)=>e in t?tU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,de=(t,e)=>{for(var n in e||(e={}))iU.call(e,n)&&qh(t,n,e[n]);if(Gm)for(var n of Gm(e))sU.call(e,n)&&qh(t,n,e[n]);return t},Je=(t,e)=>nU(t,rU(e)),V=(t,e,n)=>qh(t,typeof e!="symbol"?e+"":e,n);class oU extends gS{constructor(e){super(e),V(this,"name",KN),V(this,"events",new Qe.exports),V(this,"initialized",!1),V(this,"requestQueue",{state:Tn.idle,queue:[]}),V(this,"sessionRequestQueue",{state:Tn.idle,queue:[]}),V(this,"emittedSessionRequests",new xB({limit:500})),V(this,"requestQueueDelay",Z.ONE_SECOND),V(this,"expectedPairingMethodMap",new Map),V(this,"recentlyDeletedMap",new Map),V(this,"recentlyDeletedLimit",200),V(this,"relayMessageCache",[]),V(this,"pendingSessions",new Map),V(this,"init",async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),await this.registerLinkModeListeners(),this.client.core.pairing.register({methods:Object.keys(Xe)}),this.initialized=!0,setTimeout(async()=>{await this.processPendingMessageEvents(),this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()},Z.toMiliseconds(this.requestQueueDelay)))}),V(this,"connect",async n=>{var r;this.isInitialized(),await this.confirmOnlineStateOrThrow();const i=Je(de({},n),{requiredNamespaces:n.requiredNamespaces||{},optionalNamespaces:n.optionalNamespaces||{}});await this.isValidConnect(i),i.optionalNamespaces=TO(i.requiredNamespaces,i.optionalNamespaces),i.requiredNamespaces={};const{pairingTopic:s,requiredNamespaces:o,optionalNamespaces:a,sessionProperties:c,scopedProperties:f,relays:u,authentication:h,walletPay:l}=i,d=((r=h?.[0])==null?void 0:r.ttl)||Xe.wc_sessionPropose.req.ttl||Z.FIVE_MINUTES;this.validateRequestExpiry(d);let p=s,b,v=!1;try{if(p){const A=this.client.core.pairing.pairings.get(p);this.client.logger.warn("connect() with existing pairing topic is deprecated and will be removed in the next major release."),v=A.active}}catch(A){throw this.client.logger.error(`connect() -> pairing.get(${p}) failed`),A}if(!p||!v){const{topic:A,uri:j}=await this.client.core.pairing.create({internal:{skipSubscribe:!0}});p=A,b=j}if(!p){const{message:A}=W("NO_MATCHING_KEY",`connect() pairing topic: ${p}`);throw new Error(A)}const O=await this.client.core.crypto.generateKeyPair(),P=Ue(d),x=de(Je(de(de({requiredNamespaces:o,optionalNamespaces:a,relays:u??[{protocol:sm}],proposer:{publicKey:O,metadata:this.client.metadata},expiryTimestamp:P,pairingTopic:p},c&&{sessionProperties:c}),f&&{scopedProperties:f}),{id:An()}),(h||l)&&{requests:{authentication:h?.map(A=>{const{domain:j,chains:q,nonce:E,uri:y,exp:w,nbf:g,type:m,statement:_,requestId:B,resources:I,signatureTypes:$}=A;return{domain:j,chains:q,nonce:E,type:m??"caip122",aud:y,version:"1",iat:new Date().toISOString(),exp:w,nbf:g,statement:_,requestId:B,resources:I,signatureTypes:$}}),walletPay:l}}),S=pe("session_connect",x.id),{reject:R,resolve:U,done:L}=Ti(d,Km),C=({id:A})=>{A===x.id&&(this.client.events.off("proposal_expire",C),this.pendingSessions.delete(x.id),this.events.emit(S,{error:{message:Km,code:0}}))};return this.client.events.on("proposal_expire",C),this.events.once(S,({error:A,session:j})=>{this.client.events.off("proposal_expire",C),A?R(A):j&&U(j)}),await this.setProposal(x.id,x),await this.sendProposeSession({proposal:x,publishOpts:{internal:{throwOnFailedPublish:!0},tvf:{correlationId:x.id}}}).catch(A=>{throw this.deleteProposal(x.id),A}),{uri:b,approval:L}}),V(this,"pair",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{return await this.client.core.pairing.pair(n)}catch(r){throw this.client.logger.error("pair() failed"),r}}),V(this,"approve",async n=>{var r,i,s;const o=this.client.core.eventClient.createEvent({properties:{topic:(r=n?.id)==null?void 0:r.toString(),trace:[wn.session_approve_started]}});try{this.isInitialized(),await this.confirmOnlineStateOrThrow()}catch(j){throw o.setError(ji.no_internet_connection),j}try{await this.isValidProposalId(n?.id)}catch(j){throw this.client.logger.error(`approve() -> proposal.get(${n?.id}) failed`),o.setError(ji.proposal_not_found),j}try{await this.isValidApprove(n)}catch(j){throw this.client.logger.error("approve() -> isValidApprove() failed"),o.setError(ji.session_approve_namespace_validation_failure),j}const{id:a,relayProtocol:c,namespaces:f,sessionProperties:u,scopedProperties:h,sessionConfig:l,proposalRequestsResponses:d}=n,p=this.client.proposal.get(a);this.client.core.eventClient.deleteEvent({eventId:o.eventId});const{pairingTopic:b,proposer:v,requiredNamespaces:O,optionalNamespaces:P}=p;let x=(i=this.client.core.eventClient)==null?void 0:i.getEvent({topic:b});x||(x=(s=this.client.core.eventClient)==null?void 0:s.createEvent({type:wn.session_approve_started,properties:{topic:b,trace:[wn.session_approve_started,wn.session_namespaces_validation_success]}}));const S=await this.client.core.crypto.generateKeyPair(),R=v.publicKey,U=await this.client.core.crypto.generateSharedKey(S,R),L=Je(de(de(de({relay:{protocol:c??"irn"},namespaces:f,controller:{publicKey:S,metadata:this.client.metadata},expiry:Ue(Rs)},u&&{sessionProperties:u}),h&&{scopedProperties:h}),l&&{sessionConfig:l}),{proposalRequestsResponses:d}),C=_e.relay;x.addTrace(wn.subscribing_session_topic);try{await this.client.core.relayer.subscribe(U,{transportType:C,internal:{skipSubscribe:!0}})}catch(j){throw x.setError(ji.subscribe_session_topic_failure),j}x.addTrace(wn.subscribe_session_topic_success);const A=Je(de({},L),{topic:U,requiredNamespaces:O,optionalNamespaces:P,pairingTopic:b,acknowledged:!1,self:L.controller,peer:{publicKey:v.publicKey,metadata:v.metadata},controller:S,transportType:_e.relay,authentication:d?.authentication,walletPayResult:d?.walletPay});await this.client.session.set(U,A),x.addTrace(wn.store_session);try{await this.sendApproveSession({sessionTopic:U,proposal:p,pairingProposalResponse:{relay:{protocol:c??"irn"},responderPublicKey:S},sessionSettleRequest:L,publishOpts:{internal:{throwOnFailedPublish:!0},tvf:de({correlationId:a},this.getTVFApproveParams(A))}}),x.addTrace(wn.session_approve_publish_success)}catch(j){throw this.client.logger.error(j),this.client.session.delete(U,Se("USER_DISCONNECTED")),await this.client.core.relayer.unsubscribe(U),j}return this.client.core.eventClient.deleteEvent({eventId:x.eventId}),await this.client.core.pairing.updateMetadata({topic:b,metadata:v.metadata}),await this.deleteProposal(a),await this.client.core.pairing.activate({topic:b}),await this.setExpiry(U,Ue(Rs)),{topic:U,acknowledged:()=>Promise.resolve(this.client.session.get(U))}}),V(this,"reject",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidReject(n)}catch(o){throw this.client.logger.error("reject() -> isValidReject() failed"),o}const{id:r,reason:i}=n;let s;try{s=this.client.proposal.get(r).pairingTopic}catch(o){throw this.client.logger.error(`reject() -> proposal.get(${r}) failed`),o}s&&await this.sendError({id:r,topic:s,error:i,rpcOpts:Xe.wc_sessionPropose.reject}),await this.deleteProposal(r)}),V(this,"update",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidUpdate(n)}catch(h){throw this.client.logger.error("update() -> isValidUpdate() failed"),h}const{topic:r,namespaces:i}=n,{done:s,resolve:o,reject:a}=Ti(Z.FIVE_MINUTES,"Session update request expired without receiving any acknowledgement"),c=An(),f=li().toString(),u=this.client.session.get(r).namespaces;return this.events.once(pe("session_update",c),({error:h})=>{h?a(h):o()}),await this.client.session.update(r,{namespaces:i}),await this.sendRequest({topic:r,method:"wc_sessionUpdate",params:{namespaces:i},throwOnFailedPublish:!0,clientRpcId:c,relayRpcId:f}).catch(h=>{this.client.logger.error(h),this.client.session.update(r,{namespaces:u}),a(h)}),{acknowledged:s}}),V(this,"extend",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidExtend(n)}catch(c){throw this.client.logger.error("extend() -> isValidExtend() failed"),c}const{topic:r}=n,i=An(),{done:s,resolve:o,reject:a}=Ti(Z.FIVE_MINUTES,"Session extend request expired without receiving any acknowledgement");return this.events.once(pe("session_extend",i),({error:c})=>{c?a(c):o()}),await this.setExpiry(r,Ue(Rs)),this.sendRequest({topic:r,method:"wc_sessionExtend",params:{},clientRpcId:i,throwOnFailedPublish:!0}).catch(c=>{a(c)}),{acknowledged:s}}),V(this,"request",async n=>{this.isInitialized();try{await this.isValidRequest(n)}catch(v){throw this.client.logger.error("request() -> isValidRequest() failed"),v}const{chainId:r,request:i,topic:s,expiry:o=Xe.wc_sessionRequest.req.ttl}=n,a=this.client.session.get(s);a?.transportType===_e.relay&&await this.confirmOnlineStateOrThrow();const c=An(),f=li().toString(),{done:u,resolve:h,reject:l}=Ti(o,"Request expired. Please try again.");this.events.once(pe("session_request",c),({error:v,result:O})=>{v?l(v):h(O)});const d="wc_sessionRequest",p=this.getAppLinkIfEnabled(a.peer.metadata,a.transportType);if(p)return await this.sendRequest({clientRpcId:c,relayRpcId:f,topic:s,method:d,params:{request:Je(de({},i),{expiryTimestamp:Ue(o)}),chainId:r},expiry:o,throwOnFailedPublish:!0,appLink:p}).catch(v=>l(v)),this.client.events.emit("session_request_sent",{topic:s,request:i,chainId:r,id:c}),await u();const b={request:Je(de({},i),{expiryTimestamp:Ue(o)}),chainId:r};return await Promise.all([new Promise(async v=>{await this.sendRequest({clientRpcId:c,relayRpcId:f,topic:s,method:d,params:b,expiry:o,throwOnFailedPublish:!0,tvf:this.getTVFParams(c,b)}).catch(O=>l(O)),this.client.events.emit("session_request_sent",{topic:s,request:i,chainId:r,id:c}),v()}),new Promise(async v=>{var O;if(!((O=a.sessionConfig)!=null&&O.disableDeepLink)){const P=await bB(this.client.core.storage,Vm);await pB({id:c,topic:s,wcDeepLink:P})}v()}),u()]).then(v=>v[2])}),V(this,"respond",async n=>{var r,i;this.isInitialized();const s=this.client.core.eventClient.createEvent({properties:{topic:n?.topic||((i=(r=n?.response)==null?void 0:r.id)==null?void 0:i.toString()),trace:[wn.session_request_response_started]}});try{await this.isValidRespond(n)}catch(h){throw s.addTrace(h?.message),s.setError(ji.session_request_response_validation_failure),h}s.addTrace(wn.session_request_response_validation_success);const{topic:o,response:a}=n,{id:c}=a,f=this.client.session.get(o);f.transportType===_e.relay&&await this.confirmOnlineStateOrThrow();const u=this.getAppLinkIfEnabled(f.peer.metadata,f.transportType);try{s.addTrace(wn.session_request_response_publish_started),On(a)?await this.sendResult({id:c,topic:o,result:a.result,throwOnFailedPublish:!0,appLink:u}):Qt(a)&&await this.sendError({id:c,topic:o,error:a.error,appLink:u}),this.cleanupAfterResponse(n)}catch(h){throw s.addTrace(h?.message),s.setError(ji.session_request_response_publish_failure),h}}),V(this,"ping",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidPing(n)}catch(i){throw this.client.logger.error("ping() -> isValidPing() failed"),i}const{topic:r}=n;if(this.client.session.keys.includes(r)){const i=An(),s=li().toString(),{done:o,resolve:a,reject:c}=Ti(Z.FIVE_MINUTES,"Ping request expired without receiving any acknowledgement");this.events.once(pe("session_ping",i),({error:f})=>{f?c(f):a()}),await Promise.all([this.sendRequest({topic:r,method:"wc_sessionPing",params:{},throwOnFailedPublish:!0,clientRpcId:i,relayRpcId:s}),o()])}else this.client.core.pairing.pairings.keys.includes(r)&&(this.client.logger.warn("ping() on pairing topic is deprecated and will be removed in the next major release."),await this.client.core.pairing.ping({topic:r}))}),V(this,"emit",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow(),await this.isValidEmit(n);const{topic:r,event:i,chainId:s}=n,o=li().toString(),a=An();await this.sendRequest({topic:r,method:"wc_sessionEvent",params:{event:i,chainId:s},throwOnFailedPublish:!0,relayRpcId:o,clientRpcId:a})}),V(this,"disconnect",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow(),await this.isValidDisconnect(n);const{topic:r}=n;if(this.client.session.keys.includes(r))await this.sendRequest({topic:r,method:"wc_sessionDelete",params:Se("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession({topic:r,emitEvent:!1});else if(this.client.core.pairing.pairings.keys.includes(r))await this.client.core.pairing.disconnect({topic:r});else{const{message:i}=W("MISMATCHED_TOPIC",`Session or pairing topic not found: ${r}`);throw new Error(i)}}),V(this,"find",n=>(this.isInitialized(),this.client.session.getAll().filter(r=>CO(r,n)))),V(this,"getPendingSessionRequests",()=>this.client.pendingRequest.getAll()),V(this,"authenticate",async(n,r)=>{var i;this.isInitialized(),this.isValidAuthenticate(n);const s=r&&this.client.core.linkModeSupportedApps.includes(r)&&((i=this.client.metadata.redirect)==null?void 0:i.linkMode),o=s?_e.link_mode:_e.relay;o===_e.relay&&await this.confirmOnlineStateOrThrow();const{chains:a,statement:c="",uri:f,domain:u,nonce:h,type:l,exp:d,nbf:p,methods:b=[],expiry:v}=n,O=[...n.resources||[]],{topic:P,uri:x}=await this.client.core.pairing.create({methods:["wc_sessionAuthenticate"],transportType:o});this.client.logger.info({message:"Generated new pairing",pairing:{topic:P,uri:x}});const S=await this.client.core.crypto.generateKeyPair(),R=Cc(S);if(await Promise.all([this.client.auth.authKeys.set(Kc,{responseTopic:R,publicKey:S}),this.client.auth.pairingTopics.set(R,{topic:R,pairingTopic:P})]),await this.client.core.relayer.subscribe(R,{transportType:o}),this.client.logger.info(`sending request to new pairing topic: ${P}`),b.length>0){const{namespace:I}=pc(a[0]);let $=N$(I,"request",b);Ic(O)&&($=C$($,O.pop())),O.push($)}const U=v&&v>Xe.wc_sessionAuthenticate.req.ttl?v:Xe.wc_sessionAuthenticate.req.ttl,L={authPayload:{type:l??"caip122",chains:a,statement:c,aud:f,domain:u,version:"1",nonce:h,iat:new Date().toISOString(),exp:d,nbf:p,resources:O},requester:{publicKey:S,metadata:this.client.metadata},expiryTimestamp:Ue(U)},C={eip155:{chains:a,methods:[...new Set(["personal_sign",...b])],events:["chainChanged","accountsChanged"]}},A={requiredNamespaces:{},optionalNamespaces:C,relays:[{protocol:"irn"}],pairingTopic:P,proposer:{publicKey:S,metadata:this.client.metadata},expiryTimestamp:Ue(Xe.wc_sessionPropose.req.ttl),id:An()},{done:j,resolve:q,reject:E}=Ti(U,"Request expired"),y=An(),w=pe("session_connect",A.id),g=pe("session_request",y),m=async({error:I,session:$})=>{this.events.off(g,_),I?E(I):$&&q({session:$})},_=async I=>{var $,D,T;if(await this.deletePendingAuthRequest(y,{message:"fulfilled",code:0}),I.error){const H=Se("WC_METHOD_UNSUPPORTED","wc_sessionAuthenticate");return I.error.code===H.code?void 0:(this.events.off(w,m),E(I.error.message))}await this.deleteProposal(A.id),this.events.off(w,m);const{cacaos:F,responder:k}=I.result,N=[],M=[];for(const H of F){await Ib({cacao:H,projectId:this.client.core.projectId})||(this.client.logger.error(H,"Signature verification failed"),E(Se("SESSION_SETTLEMENT_FAILED","Signature verification failed")));const{p:G}=H,ee=Ic(G.resources),te=[Ml(G.iss)],re=_c(G.iss);if(ee){const ce=$b(ee),Ie=Ab(ee);N.push(...ce),te.push(...Ie)}for(const ce of te)M.push(`${ce}:${re}`)}const z=await this.client.core.crypto.generateSharedKey(S,k.publicKey);let K;N.length>0&&(K={topic:z,acknowledged:!0,self:{publicKey:S,metadata:this.client.metadata},peer:k,controller:k.publicKey,expiry:Ue(Rs),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:P,namespaces:Cw([...new Set(N)],[...new Set(M)]),transportType:o},await this.client.core.relayer.subscribe(z,{transportType:o}),await this.client.session.set(z,K),P&&await this.client.core.pairing.updateMetadata({topic:P,metadata:k.metadata}),K=this.client.session.get(z)),($=this.client.metadata.redirect)!=null&&$.linkMode&&(D=k.metadata.redirect)!=null&&D.linkMode&&(T=k.metadata.redirect)!=null&&T.universal&&r&&(this.client.core.addLinkModeSupportedApp(k.metadata.redirect.universal),this.client.session.update(z,{transportType:_e.link_mode})),q({auths:F,session:K})};this.events.once(w,m),this.events.once(g,_);let B;try{if(s){const I=fr("wc_sessionAuthenticate",L,y);this.client.core.history.set(P,I);const $=await this.client.core.crypto.encode("",I,{type:Ro,encoding:ui});B=Lc(r,P,$)}else await Promise.all([this.sendRequest({topic:P,method:"wc_sessionAuthenticate",params:L,expiry:n.expiry,throwOnFailedPublish:!0,clientRpcId:y}),this.sendRequest({topic:P,method:"wc_sessionPropose",params:A,expiry:Xe.wc_sessionPropose.req.ttl,throwOnFailedPublish:!0,clientRpcId:A.id})])}catch(I){throw this.events.off(w,m),this.events.off(g,_),I}return await this.setProposal(A.id,A),await this.setAuthRequest(y,{request:Je(de({},L),{verifyContext:{}}),pairingTopic:P,transportType:o}),{uri:B??x,response:j}}),V(this,"approveSessionAuthenticate",async n=>{const{id:r,auths:i}=n,s=this.client.core.eventClient.createEvent({properties:{topic:r.toString(),trace:[zi.authenticated_session_approve_started]}});try{this.isInitialized()}catch(v){throw s.setError(Mo.no_internet_connection),v}const o=this.getPendingAuthRequest(r);if(!o)throw s.setError(Mo.authenticated_session_pending_request_not_found),new Error(`Could not find pending auth request with id ${r}`);const a=o.transportType||_e.relay;a===_e.relay&&await this.confirmOnlineStateOrThrow();const c=o.requester.publicKey,f=await this.client.core.crypto.generateKeyPair(),u=Cc(c),h={type:or,receiverPublicKey:c,senderPublicKey:f},l=[],d=[];for(const v of i){if(!await Ib({cacao:v,projectId:this.client.core.projectId})){s.setError(Mo.invalid_cacao);const R=Se("SESSION_SETTLEMENT_FAILED","Signature verification failed");throw await this.sendError({id:r,topic:u,error:R,encodeOpts:h}),new Error(R.message)}s.addTrace(zi.cacaos_verified);const{p:O}=v,P=Ic(O.resources),x=[Ml(O.iss)],S=_c(O.iss);if(P){const R=$b(P),U=Ab(P);l.push(...R),x.push(...U)}for(const R of x)d.push(`${R}:${S}`)}const p=await this.client.core.crypto.generateSharedKey(f,c);s.addTrace(zi.create_authenticated_session_topic);let b;if(l?.length>0){b={topic:p,acknowledged:!0,self:{publicKey:f,metadata:this.client.metadata},peer:{publicKey:c,metadata:o.requester.metadata},controller:c,expiry:Ue(Rs),authentication:i,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:o.pairingTopic,namespaces:Cw([...new Set(l)],[...new Set(d)]),transportType:a},s.addTrace(zi.subscribing_authenticated_session_topic);try{await this.client.core.relayer.subscribe(p,{transportType:a})}catch(v){throw s.setError(Mo.subscribe_authenticated_session_topic_failure),v}s.addTrace(zi.subscribe_authenticated_session_topic_success),await this.client.session.set(p,b),s.addTrace(zi.store_authenticated_session),await this.client.core.pairing.updateMetadata({topic:o.pairingTopic,metadata:o.requester.metadata})}s.addTrace(zi.publishing_authenticated_session_approve);try{await this.sendResult({topic:u,id:r,result:{cacaos:i,responder:{publicKey:f,metadata:this.client.metadata}},encodeOpts:h,throwOnFailedPublish:!0,appLink:this.getAppLinkIfEnabled(o.requester.metadata,a)})}catch(v){throw s.setError(Mo.authenticated_session_approve_publish_failure),v}return await this.client.auth.requests.delete(r,{message:"fulfilled",code:0}),await this.client.core.pairing.activate({topic:o.pairingTopic}),this.client.core.eventClient.deleteEvent({eventId:s.eventId}),{session:b}}),V(this,"rejectSessionAuthenticate",async n=>{this.isInitialized();const{id:r,reason:i}=n,s=this.getPendingAuthRequest(r);if(!s)throw new Error(`Could not find pending auth request with id ${r}`);s.transportType===_e.relay&&await this.confirmOnlineStateOrThrow();const o=s.requester.publicKey,a=await this.client.core.crypto.generateKeyPair(),c=Cc(o),f={type:or,receiverPublicKey:o,senderPublicKey:a};await this.sendError({id:r,topic:c,error:i,encodeOpts:f,rpcOpts:Xe.wc_sessionAuthenticate.reject,appLink:this.getAppLinkIfEnabled(s.requester.metadata,s.transportType)}),await this.client.auth.requests.delete(r,{message:"rejected",code:0}),await this.deleteProposal(r)}),V(this,"formatAuthMessage",n=>{this.isInitialized();const{request:r,iss:i}=n;return Sb(r,i)}),V(this,"processRelayMessageCache",()=>{setTimeout(async()=>{if(this.relayMessageCache.length!==0)for(;this.relayMessageCache.length>0;)try{const n=this.relayMessageCache.shift();n&&await this.onRelayMessage(n)}catch(n){this.client.logger.error(n)}},50)}),V(this,"cleanupDuplicatePairings",async n=>{if(n.pairingTopic)try{const r=this.client.core.pairing.pairings.get(n.pairingTopic),i=this.client.core.pairing.pairings.getAll().filter(s=>{var o,a;return((o=s.peerMetadata)==null?void 0:o.url)&&((a=s.peerMetadata)==null?void 0:a.url)===n.peer.metadata.url&&s.topic&&s.topic!==r.topic});if(i.length===0)return;this.client.logger.info(`Cleaning up ${i.length} duplicate pairing(s)`),await Promise.all(i.map(s=>this.client.core.pairing.disconnect({topic:s.topic}))),this.client.logger.info("Duplicate pairings clean up finished")}catch(r){this.client.logger.error(r)}}),V(this,"deleteSession",async n=>{var r;const{topic:i,expirerHasDeleted:s=!1,emitEvent:o=!0,id:a=0}=n,{self:c}=this.client.session.get(i);await this.client.core.relayer.unsubscribe(i),await this.client.session.delete(i,Se("USER_DISCONNECTED")),this.addToRecentlyDeleted(i,"session"),this.client.core.crypto.keychain.has(c.publicKey)&&await this.client.core.crypto.deleteKeyPair(c.publicKey),this.client.core.crypto.keychain.has(i)&&await this.client.core.crypto.deleteSymKey(i),s||this.client.core.expirer.del(i),this.client.core.storage.removeItem(Vm).catch(f=>this.client.logger.warn(f)),i===((r=this.sessionRequestQueue.queue[0])==null?void 0:r.topic)&&(this.sessionRequestQueue.state=Tn.idle),await Promise.all(this.getPendingSessionRequests().filter(f=>f.topic===i).map(f=>this.deletePendingSessionRequest(f.id,Se("USER_DISCONNECTED")))),o&&this.client.events.emit("session_delete",{id:a,topic:i})}),V(this,"deleteProposal",async(n,r)=>{if(r)try{const i=this.client.proposal.get(n);this.client.core.eventClient.getEvent({topic:i.pairingTopic})?.setError(ji.proposal_expired)}catch{}await Promise.all([this.client.proposal.delete(n,Se("USER_DISCONNECTED")),r?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"proposal")}),V(this,"deletePendingSessionRequest",async(n,r,i=!1)=>{await Promise.all([this.client.pendingRequest.delete(n,r),i?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"request"),this.sessionRequestQueue.queue=this.sessionRequestQueue.queue.filter(s=>s.id!==n),i&&(this.sessionRequestQueue.state=Tn.idle,this.client.events.emit("session_request_expire",{id:n}))}),V(this,"deletePendingAuthRequest",async(n,r,i=!1)=>{await Promise.all([this.client.auth.requests.delete(n,r),i?Promise.resolve():this.client.core.expirer.del(n)])}),V(this,"setExpiry",async(n,r)=>{this.client.session.keys.includes(n)&&(this.client.core.expirer.set(n,r),await this.client.session.update(n,{expiry:r}))}),V(this,"setProposal",async(n,r)=>{this.client.core.expirer.set(n,Ue(Xe.wc_sessionPropose.req.ttl)),await this.client.proposal.set(n,r)}),V(this,"setAuthRequest",async(n,r)=>{const{request:i,pairingTopic:s,transportType:o=_e.relay}=r;this.client.core.expirer.set(n,i.expiryTimestamp),await this.client.auth.requests.set(n,{authPayload:i.authPayload,requester:i.requester,expiryTimestamp:i.expiryTimestamp,id:n,pairingTopic:s,verifyContext:i.verifyContext,transportType:o})}),V(this,"setPendingSessionRequest",async n=>{const{id:r,topic:i,params:s,verifyContext:o}=n,a=s.request.expiryTimestamp||Ue(Xe.wc_sessionRequest.req.ttl);this.client.core.expirer.set(r,a),await this.client.pendingRequest.set(r,{id:r,topic:i,params:s,verifyContext:o})}),V(this,"sendRequest",async n=>{const{topic:r,method:i,params:s,expiry:o,relayRpcId:a,clientRpcId:c,throwOnFailedPublish:f,appLink:u,tvf:h,publishOpts:l={}}=n,d=fr(i,s,c);let p;const b=!!u;try{const P=b?ui:Nt;p=await this.client.core.crypto.encode(r,d,{encoding:P})}catch(P){throw await this.cleanup(),this.client.logger.error(`sendRequest() -> core.crypto.encode() for topic ${r} failed`),P}let v;if(WN.includes(i)){const P=Jt(JSON.stringify(d)),x=Jt(p);v=await this.client.core.verify.register({id:x,decryptedId:P})}const O=de(de({},Xe[i].req),l);if(O.attestation=v,o&&(O.ttl=o),a&&(O.id=a),this.client.core.history.set(r,d),b){const P=Lc(u,r,p);await global.Linking.openURL(P,this.client.name)}else O.tvf=Je(de({},h),{correlationId:d.id}),f?(O.internal=Je(de({},O.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(r,p,O)):this.client.core.relayer.publish(r,p,O).catch(P=>this.client.logger.error(P));return d.id}),V(this,"sendProposeSession",async n=>{const{proposal:r,publishOpts:i}=n,s=fr("wc_sessionPropose",r,r.id);this.client.core.history.set(r.pairingTopic,s);const o=await this.client.core.crypto.encode(r.pairingTopic,s,{encoding:Nt}),a=Jt(JSON.stringify(s)),c=Jt(o),f=await this.client.core.verify.register({id:c,decryptedId:a});await this.client.core.relayer.publishCustom({payload:{pairingTopic:r.pairingTopic,sessionProposal:o},opts:Je(de({},i),{publishMethod:"wc_proposeSession",attestation:f})})}),V(this,"sendApproveSession",async n=>{const{sessionTopic:r,pairingProposalResponse:i,proposal:s,sessionSettleRequest:o,publishOpts:a}=n,c=qc(s.id,i),f=await this.client.core.crypto.encode(s.pairingTopic,c,{encoding:Nt}),u=fr("wc_sessionSettle",o,a?.id),h=await this.client.core.crypto.encode(r,u,{encoding:Nt});this.client.core.history.set(r,u),await this.client.core.relayer.publishCustom({payload:{sessionTopic:r,pairingTopic:s.pairingTopic,sessionProposalResponse:f,sessionSettlementRequest:h},opts:Je(de({},a),{publishMethod:"wc_approveSession"})})}),V(this,"sendResult",async n=>{const{id:r,topic:i,result:s,throwOnFailedPublish:o,encodeOpts:a,appLink:c}=n,f=qc(r,s);let u;const h=c&&typeof(global==null?void 0:global.Linking)<"u";try{const p=h?ui:Nt;u=await this.client.core.crypto.encode(i,f,Je(de({},a||{}),{encoding:p}))}catch(p){throw await this.cleanup(),this.client.logger.error(`sendResult() -> core.crypto.encode() for topic ${i} failed`),p}let l,d;try{l=await this.client.core.history.get(i,r);const p=l.request;try{d=this.getTVFParams(r,p.params,s)}catch(b){this.client.logger.warn(`sendResult() -> getTVFParams() failed: ${b?.message}`)}}catch(p){throw this.client.logger.error(`sendResult() -> history.get(${i}, ${r}) failed`),p}if(h){const p=Lc(c,i,u);await global.Linking.openURL(p,this.client.name)}else{const p=l.request.method,b=Xe[p].res;b.tvf=Je(de({},d),{correlationId:r}),o?(b.internal=Je(de({},b.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(i,u,b)):this.client.core.relayer.publish(i,u,b).catch(v=>this.client.logger.error(v))}await this.client.core.history.resolve(f)}),V(this,"sendError",async n=>{const{id:r,topic:i,error:s,encodeOpts:o,rpcOpts:a,appLink:c}=n,f=vh(r,s);let u;const h=c&&typeof(global==null?void 0:global.Linking)<"u";try{const d=h?ui:Nt;u=await this.client.core.crypto.encode(i,f,Je(de({},o||{}),{encoding:d}))}catch(d){throw await this.cleanup(),this.client.logger.error(`sendError() -> core.crypto.encode() for topic ${i} failed`),d}let l;try{l=await this.client.core.history.get(i,r)}catch(d){throw this.client.logger.error(`sendError() -> history.get(${i}, ${r}) failed`),d}if(h){const d=Lc(c,i,u);await global.Linking.openURL(d,this.client.name)}else{const d=l.request.method,p=a||Xe[d].res;this.client.core.relayer.publish(i,u,p)}await this.client.core.history.resolve(f)}),V(this,"cleanup",async()=>{const n=[],r=[];this.client.session.getAll().forEach(i=>{let s=!1;Yr(i.expiry)&&(s=!0),this.client.core.crypto.keychain.has(i.topic)||(s=!0),s&&n.push(i.topic)}),this.client.proposal.getAll().forEach(i=>{Yr(i.expiryTimestamp)&&r.push(i.id)}),await Promise.all([...n.map(i=>this.deleteSession({topic:i})),...r.map(i=>this.deleteProposal(i))])}),V(this,"onProviderMessageEvent",async n=>{!this.initialized||this.relayMessageCache.length>0?this.relayMessageCache.push(n):await this.onRelayMessage(n)}),V(this,"onRelayEventRequest",async n=>{this.requestQueue.queue.push(n),await this.processRequestsQueue()}),V(this,"processRequestsQueue",async()=>{if(this.requestQueue.state===Tn.active){this.client.logger.info("Request queue already active, skipping...");return}for(this.client.logger.info(`Request queue starting with ${this.requestQueue.queue.length} requests`);this.requestQueue.queue.length>0;){this.requestQueue.state=Tn.active;const n=this.requestQueue.queue.shift();if(n)try{await this.processRequest(n)}catch(r){this.client.logger.warn(r)}}this.requestQueue.state=Tn.idle}),V(this,"processRequest",async n=>{const{topic:r,payload:i,attestation:s,transportType:o,encryptedId:a}=n,c=i.method;if(!this.shouldIgnorePairingRequest({topic:r,requestMethod:c}))switch(c){case"wc_sessionPropose":return await this.onSessionProposeRequest({topic:r,payload:i,attestation:s,encryptedId:a});case"wc_sessionSettle":return await this.onSessionSettleRequest(r,i);case"wc_sessionUpdate":return await this.onSessionUpdateRequest(r,i);case"wc_sessionExtend":return await this.onSessionExtendRequest(r,i);case"wc_sessionPing":return await this.onSessionPingRequest(r,i);case"wc_sessionDelete":return await this.onSessionDeleteRequest(r,i);case"wc_sessionRequest":return await this.onSessionRequest({topic:r,payload:i,attestation:s,encryptedId:a,transportType:o});case"wc_sessionEvent":return await this.onSessionEventRequest(r,i);case"wc_sessionAuthenticate":return await this.onSessionAuthenticateRequest({topic:r,payload:i,attestation:s,encryptedId:a,transportType:o});default:return this.client.logger.info(`Unsupported request method ${c}`)}}),V(this,"onRelayEventResponse",async n=>{const{topic:r,payload:i,transportType:s}=n,o=(await this.client.core.history.get(r,i.id)).request.method;switch(o){case"wc_sessionPropose":return this.onSessionProposeResponse(r,i,s);case"wc_sessionSettle":return this.onSessionSettleResponse(r,i);case"wc_sessionUpdate":return this.onSessionUpdateResponse(r,i);case"wc_sessionExtend":return this.onSessionExtendResponse(r,i);case"wc_sessionPing":return this.onSessionPingResponse(r,i);case"wc_sessionRequest":return this.onSessionRequestResponse(r,i);case"wc_sessionAuthenticate":return this.onSessionAuthenticateResponse(r,i);default:return this.client.logger.info(`Unsupported response method ${o}`)}}),V(this,"onRelayEventUnknownPayload",n=>{const{topic:r}=n,{message:i}=W("MISSING_OR_INVALID",`Decoded payload on topic ${r} is not identifiable as a JSON-RPC request or a response.`);throw new Error(i)}),V(this,"shouldIgnorePairingRequest",n=>{const{topic:r,requestMethod:i}=n,s=this.expectedPairingMethodMap.get(r);return!s||s.includes(i)?!1:!!(s.includes("wc_sessionAuthenticate")&&this.client.events.listenerCount("session_authenticate")>0)}),V(this,"onSessionProposeRequest",async n=>{const{topic:r,payload:i,attestation:s,encryptedId:o}=n,{params:a,id:c}=i;try{const f=this.client.core.eventClient.getEvent({topic:r});this.client.events.listenerCount("session_proposal")===0&&(console.warn("No listener for session_proposal event"),f?.setError(ur.proposal_listener_not_found)),this.isValidConnect(de({},i.params));const u=a.expiryTimestamp||Ue(Xe.wc_sessionPropose.req.ttl),h=de({id:c,pairingTopic:r,expiryTimestamp:u,attestation:s,encryptedId:o},a);await this.setProposal(c,h);const l=await this.getVerifyContext({attestationId:s,hash:Jt(JSON.stringify(i)),encryptedId:o,metadata:h.proposer.metadata});f?.addTrace(Pn.emit_session_proposal),this.client.events.emit("session_proposal",{id:c,params:h,verifyContext:l})}catch(f){await this.sendError({id:c,topic:r,error:f,rpcOpts:Xe.wc_sessionPropose.autoReject}),this.client.logger.error(f)}}),V(this,"onSessionProposeResponse",async(n,r,i)=>{const{id:s}=r;if(On(r)){const{result:o}=r;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:o});const a=this.client.proposal.get(s);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:a});const c=a.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:c});const f=o.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:f});const u=await this.client.core.crypto.generateSharedKey(c,f);this.pendingSessions.set(s,{sessionTopic:u,pairingTopic:n,proposalId:s,publicKey:c});const h=await this.client.core.relayer.subscribe(u,{transportType:i});this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:h}),await this.client.core.pairing.activate({topic:n})}else if(Qt(r)){await this.deleteProposal(s);const o=pe("session_connect",s);if(this.events.listenerCount(o)===0)throw new Error(`emitting ${o} without any listeners, 954`);this.events.emit(o,{error:r.error})}}),V(this,"onSessionSettleRequest",async(n,r)=>{const{id:i,params:s}=r;try{this.isValidSessionSettleRequest(s);const{relay:o,controller:a,expiry:c,namespaces:f,sessionProperties:u,scopedProperties:h,sessionConfig:l,proposalRequestsResponses:d}=r.params,p=[...this.pendingSessions.values()].find(O=>O.sessionTopic===n);if(!p)return this.client.logger.error(`Pending session not found for topic ${n}`);const b=this.client.proposal.get(p.proposalId),v=Je(de(de(de({topic:n,relay:o,expiry:c,namespaces:f,acknowledged:!0,pairingTopic:p.pairingTopic,requiredNamespaces:b.requiredNamespaces,optionalNamespaces:b.optionalNamespaces,controller:a.publicKey,self:{publicKey:p.publicKey,metadata:this.client.metadata},peer:{publicKey:a.publicKey,metadata:a.metadata}},u&&{sessionProperties:u}),h&&{scopedProperties:h}),l&&{sessionConfig:l}),{transportType:_e.relay,authentication:d?.authentication,walletPayResult:d?.walletPay});await this.client.session.set(v.topic,v),await this.setExpiry(v.topic,v.expiry),await this.client.core.pairing.updateMetadata({topic:p.pairingTopic,metadata:v.peer.metadata}),this.pendingSessions.delete(p.proposalId),this.deleteProposal(p.proposalId,!1),this.cleanupDuplicatePairings(v),await this.sendResult({id:r.id,topic:n,throwOnFailedPublish:!0,result:!0}),this.client.events.emit("session_connect",{session:v}),this.events.emit(pe("session_connect",p.proposalId),{session:v})}catch(o){await this.sendError({id:i,topic:n,error:o}),this.client.logger.error(o)}}),V(this,"onSessionSettleResponse",async(n,r)=>{const{id:i}=r;On(r)?(await this.client.session.update(n,{acknowledged:!0}),this.events.emit(pe("session_approve",i),{})):Qt(r)&&(await this.client.session.delete(n,Se("USER_DISCONNECTED")),this.events.emit(pe("session_approve",i),{error:r.error}))}),V(this,"onSessionUpdateRequest",async(n,r)=>{const{params:i,id:s}=r;try{const o=`${n}_session_update`,a=Co.get(o);if(a&&this.isRequestOutOfSync(a,s)){this.client.logger.warn(`Discarding out of sync request - ${s}`),this.sendError({id:s,topic:n,error:Se("INVALID_UPDATE_REQUEST")});return}this.isValidUpdate(de({topic:n},i));try{Co.set(o,s),await this.client.session.update(n,{namespaces:i.namespaces}),await this.sendResult({id:s,topic:n,result:!0})}catch(c){throw Co.delete(o),c}this.client.events.emit("session_update",{id:s,topic:n,params:i})}catch(o){await this.sendError({id:s,topic:n,error:o}),this.client.logger.error(o)}}),V(this,"isRequestOutOfSync",(n,r)=>r.toString().slice(0,-3)<n.toString().slice(0,-3)),V(this,"onSessionUpdateResponse",(n,r)=>{const{id:i}=r,s=pe("session_update",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);On(r)?this.events.emit(pe("session_update",i),{}):Qt(r)&&this.events.emit(pe("session_update",i),{error:r.error})}),V(this,"onSessionExtendRequest",async(n,r)=>{const{id:i}=r;try{this.isValidExtend({topic:n}),await this.setExpiry(n,Ue(Rs)),await this.sendResult({id:i,topic:n,result:!0}),this.client.events.emit("session_extend",{id:i,topic:n})}catch(s){await this.sendError({id:i,topic:n,error:s}),this.client.logger.error(s)}}),V(this,"onSessionExtendResponse",(n,r)=>{const{id:i}=r,s=pe("session_extend",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);On(r)?this.events.emit(pe("session_extend",i),{}):Qt(r)&&this.events.emit(pe("session_extend",i),{error:r.error})}),V(this,"onSessionPingRequest",async(n,r)=>{const{id:i}=r;try{this.isValidPing({topic:n}),await this.sendResult({id:i,topic:n,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_ping",{id:i,topic:n})}catch(s){await this.sendError({id:i,topic:n,error:s}),this.client.logger.error(s)}}),V(this,"onSessionPingResponse",(n,r)=>{const{id:i}=r,s=pe("session_ping",i);setTimeout(()=>{if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners 2176`);On(r)?this.events.emit(pe("session_ping",i),{}):Qt(r)&&this.events.emit(pe("session_ping",i),{error:r.error})},500)}),V(this,"onSessionDeleteRequest",async(n,r)=>{const{id:i}=r;try{await this.isValidDisconnect({topic:n,reason:r.params}),this.cleanupPendingSentRequestsForTopic({topic:n,error:Se("USER_DISCONNECTED")}),await this.deleteSession({topic:n,id:i})}catch(s){this.client.logger.error(s)}}),V(this,"onSessionRequest",async n=>{var r,i,s;const{topic:o,payload:a,attestation:c,encryptedId:f,transportType:u}=n,{id:h,params:l}=a;try{await this.isValidRequest(de({topic:o},l));const d=this.client.session.get(o),p=await this.getVerifyContext({attestationId:c,hash:Jt(JSON.stringify(fr("wc_sessionRequest",l,h))),encryptedId:f,metadata:d.peer.metadata,transportType:u}),b={id:h,topic:o,params:l,verifyContext:p};await this.setPendingSessionRequest(b),u===_e.link_mode&&(r=d.peer.metadata.redirect)!=null&&r.universal&&this.client.core.addLinkModeSupportedApp((i=d.peer.metadata.redirect)==null?void 0:i.universal),(s=this.client.signConfig)!=null&&s.disableRequestQueue?this.emitSessionRequest(b):(this.addSessionRequestToSessionRequestQueue(b),this.processSessionRequestQueue())}catch(d){await this.sendError({id:h,topic:o,error:d}),this.client.logger.error(d)}}),V(this,"onSessionRequestResponse",(n,r)=>{const{id:i}=r,s=pe("session_request",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);On(r)?this.events.emit(pe("session_request",i),{result:r.result}):Qt(r)&&this.events.emit(pe("session_request",i),{error:r.error})}),V(this,"onSessionEventRequest",async(n,r)=>{const{id:i,params:s}=r;try{const o=`${n}_session_event_${s.event.name}`,a=Co.get(o);if(a&&this.isRequestOutOfSync(a,i)){this.client.logger.info(`Discarding out of sync request - ${i}`);return}this.isValidEmit(de({topic:n},s)),this.client.events.emit("session_event",{id:i,topic:n,params:s}),Co.set(o,i)}catch(o){await this.sendError({id:i,topic:n,error:o}),this.client.logger.error(o)}}),V(this,"onSessionAuthenticateResponse",(n,r)=>{const{id:i}=r;this.client.logger.trace({type:"method",method:"onSessionAuthenticateResponse",topic:n,payload:r}),On(r)?this.events.emit(pe("session_request",i),{result:r.result}):Qt(r)&&this.events.emit(pe("session_request",i),{error:r.error})}),V(this,"onSessionAuthenticateRequest",async n=>{var r;const{topic:i,payload:s,attestation:o,encryptedId:a,transportType:c}=n;try{const{requester:f,authPayload:u,expiryTimestamp:h}=s.params,l=await this.getVerifyContext({attestationId:o,hash:Jt(JSON.stringify(s)),encryptedId:a,metadata:f.metadata,transportType:c}),d={requester:f,pairingTopic:i,id:s.id,authPayload:u,verifyContext:l,expiryTimestamp:h};await this.setAuthRequest(s.id,{request:d,pairingTopic:i,transportType:c}),c===_e.link_mode&&(r=f.metadata.redirect)!=null&&r.universal&&this.client.core.addLinkModeSupportedApp(f.metadata.redirect.universal),this.client.events.emit("session_authenticate",{topic:i,params:s.params,id:s.id,verifyContext:l})}catch(f){this.client.logger.error(f);const u=s.params.requester.publicKey,h=await this.client.core.crypto.generateKeyPair(),l=this.getAppLinkIfEnabled(s.params.requester.metadata,c),d={type:or,receiverPublicKey:u,senderPublicKey:h};await this.sendError({id:s.id,topic:i,error:f,encodeOpts:d,rpcOpts:Xe.wc_sessionAuthenticate.autoReject,appLink:l})}}),V(this,"addSessionRequestToSessionRequestQueue",n=>{this.sessionRequestQueue.queue.push(n)}),V(this,"cleanupAfterResponse",n=>{this.deletePendingSessionRequest(n.response.id,{message:"fulfilled",code:0}),setTimeout(()=>{this.sessionRequestQueue.state=Tn.idle,this.processSessionRequestQueue()},Z.toMiliseconds(this.requestQueueDelay))}),V(this,"cleanupPendingSentRequestsForTopic",({topic:n,error:r})=>{const i=this.client.core.history.pending;i.length>0&&i.filter(s=>s.topic===n&&s.request.method==="wc_sessionRequest").forEach(s=>{this.events.emit(pe("session_request",s.request.id),{error:r})})}),V(this,"processSessionRequestQueue",()=>{if(this.sessionRequestQueue.state===Tn.active){this.client.logger.info("session request queue is already active.");return}const n=this.sessionRequestQueue.queue[0];if(!n){this.client.logger.info("session request queue is empty.");return}try{this.emitSessionRequest(n)}catch(r){this.client.logger.error(r)}}),V(this,"emitSessionRequest",n=>{if(this.emittedSessionRequests.has(n.id)){this.client.logger.warn({id:n.id},`Skipping emitting \`session_request\` event for duplicate request. id: ${n.id}`);return}this.sessionRequestQueue.state=Tn.active,this.emittedSessionRequests.add(n.id),this.client.events.emit("session_request",n)}),V(this,"onPairingCreated",n=>{if(n.methods&&this.expectedPairingMethodMap.set(n.topic,n.methods),n.active)return;const r=this.client.proposal.getAll().find(i=>i.pairingTopic===n.topic);r&&this.onSessionProposeRequest({topic:n.topic,payload:fr("wc_sessionPropose",Je(de({},r),{requiredNamespaces:r.requiredNamespaces,optionalNamespaces:r.optionalNamespaces,relays:r.relays,proposer:r.proposer,sessionProperties:r.sessionProperties,scopedProperties:r.scopedProperties}),r.id),attestation:r.attestation,encryptedId:r.encryptedId})}),V(this,"isValidConnect",async n=>{if(!Ut(n)){const{message:f}=W("MISSING_OR_INVALID",`connect() params: ${JSON.stringify(n)}`);throw new Error(f)}const{pairingTopic:r,requiredNamespaces:i,optionalNamespaces:s,sessionProperties:o,scopedProperties:a,relays:c}=n;if(Fe(r)||await this.isValidPairingTopic(r),!ZO(c,!0)){const{message:f}=W("MISSING_OR_INVALID",`connect() relays: ${c}`);throw new Error(f)}if(i&&!Fe(i)&&Uo(i)!==0){const f="requiredNamespaces are deprecated and are automatically assigned to optionalNamespaces";["fatal","error","silent"].includes(this.client.logger.level)?console.warn(f):this.client.logger.warn(f),this.validateNamespaces(i,"requiredNamespaces")}if(s&&!Fe(s)&&Uo(s)!==0&&this.validateNamespaces(s,"optionalNamespaces"),o&&!Fe(o)&&this.validateSessionProps(o,"sessionProperties"),a&&!Fe(a)){this.validateSessionProps(a,"scopedProperties");const f=Object.keys(i||{}).concat(Object.keys(s||{}));if(!Object.keys(a).every(u=>f.includes(u.split(":")[0])))throw new Error(`Scoped properties must be a subset of required/optional namespaces, received: ${JSON.stringify(a)}, required/optional namespaces: ${JSON.stringify(f)}`)}}),V(this,"validateNamespaces",(n,r)=>{const i=GO(n,"connect()",r);if(i)throw new Error(i.message)}),V(this,"isValidApprove",async n=>{if(!Ut(n))throw new Error(W("MISSING_OR_INVALID",`approve() params: ${n}`).message);const{id:r,namespaces:i,relayProtocol:s,sessionProperties:o,scopedProperties:a}=n;this.checkRecentlyDeleted(r),await this.isValidProposalId(r);const c=this.client.proposal.get(r),f=dh(i,"approve()");if(f)throw new Error(f.message);const u=Mw(c.requiredNamespaces,i,"approve()");if(u)throw new Error(u.message);if(!Oe(s,!0)){const{message:h}=W("MISSING_OR_INVALID",`approve() relayProtocol: ${s}`);throw new Error(h)}if(o&&!Fe(o)&&this.validateSessionProps(o,"sessionProperties"),a&&!Fe(a)){this.validateSessionProps(a,"scopedProperties");const h=new Set(Object.keys(i));if(!Object.keys(a).every(l=>h.has(l.split(":")[0])))throw new Error(`Scoped properties must be a subset of approved namespaces, received: ${JSON.stringify(a)}, approved namespaces: ${Array.from(h).join(", ")}`)}}),V(this,"isValidReject",async n=>{if(!Ut(n)){const{message:s}=W("MISSING_OR_INVALID",`reject() params: ${n}`);throw new Error(s)}const{id:r,reason:i}=n;if(this.checkRecentlyDeleted(r),await this.isValidProposalId(r),!YO(i)){const{message:s}=W("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(i)}`);throw new Error(s)}}),V(this,"isValidSessionSettleRequest",n=>{if(!Ut(n)){const{message:f}=W("MISSING_OR_INVALID",`onSessionSettleRequest() params: ${n}`);throw new Error(f)}const{relay:r,controller:i,namespaces:s,expiry:o}=n;if(!kw(r)){const{message:f}=W("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(f)}const a=MO(i,"onSessionSettleRequest()");if(a)throw new Error(a.message);const c=dh(s,"onSessionSettleRequest()");if(c)throw new Error(c.message);if(Yr(o)){const{message:f}=W("EXPIRED","onSessionSettleRequest()");throw new Error(f)}}),V(this,"isValidUpdate",async n=>{if(!Ut(n)){const{message:c}=W("MISSING_OR_INVALID",`update() params: ${n}`);throw new Error(c)}const{topic:r,namespaces:i}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r);const s=this.client.session.get(r),o=dh(i,"update()");if(o)throw new Error(o.message);const a=Mw(s.requiredNamespaces,i,"update()");if(a)throw new Error(a.message)}),V(this,"isValidExtend",async n=>{if(!Ut(n)){const{message:i}=W("MISSING_OR_INVALID",`extend() params: ${n}`);throw new Error(i)}const{topic:r}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r)}),V(this,"isValidRequest",async n=>{if(!Ut(n)){const{message:c}=W("MISSING_OR_INVALID",`request() params: ${n}`);throw new Error(c)}const{topic:r,request:i,chainId:s,expiry:o}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r);const{namespaces:a}=this.client.session.get(r);if(!qw(a,s)){const{message:c}=W("MISSING_OR_INVALID",`request() chainId: ${s}`);throw new Error(c)}if(!XO(i)){const{message:c}=W("MISSING_OR_INVALID",`request() ${JSON.stringify(i)}`);throw new Error(c)}if(!eD(a,s,i.method)){const{message:c}=W("MISSING_OR_INVALID",`request() method: ${i.method}`);throw new Error(c)}this.validateRequestExpiry(o)}),V(this,"isValidRespond",async n=>{var r;if(!Ut(n)){const{message:a}=W("MISSING_OR_INVALID",`respond() params: ${n}`);throw new Error(a)}const{topic:i,response:s}=n;try{await this.isValidSessionTopic(i)}catch(a){throw(r=n?.response)!=null&&r.id&&this.cleanupAfterResponse(n),a}if(!JO(s)){const{message:a}=W("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(s)}`);throw new Error(a)}const o=this.client.pendingRequest.get(s.id);if(o.topic!==i){const{message:a}=W("MISMATCHED_TOPIC",`Request response topic mismatch. reqId: ${s.id}, expected topic: ${o.topic}, received topic: ${i}`);throw new Error(a)}}),V(this,"isValidPing",async n=>{if(!Ut(n)){const{message:i}=W("MISSING_OR_INVALID",`ping() params: ${n}`);throw new Error(i)}const{topic:r}=n;await this.isValidSessionOrPairingTopic(r)}),V(this,"isValidEmit",async n=>{if(!Ut(n)){const{message:a}=W("MISSING_OR_INVALID",`emit() params: ${n}`);throw new Error(a)}const{topic:r,event:i,chainId:s}=n;await this.isValidSessionTopic(r);const{namespaces:o}=this.client.session.get(r);if(!qw(o,s)){const{message:a}=W("MISSING_OR_INVALID",`emit() chainId: ${s}`);throw new Error(a)}if(!QO(i)){const{message:a}=W("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(i)}`);throw new Error(a)}if(!tD(o,s,i.name)){const{message:a}=W("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(i)}`);throw new Error(a)}}),V(this,"isValidDisconnect",async n=>{if(!Ut(n)){const{message:i}=W("MISSING_OR_INVALID",`disconnect() params: ${n}`);throw new Error(i)}const{topic:r}=n;await this.isValidSessionOrPairingTopic(r)}),V(this,"isValidAuthenticate",n=>{const{chains:r,uri:i,domain:s,nonce:o}=n;if(!Array.isArray(r)||r.length===0)throw new Error("chains is required and must be a non-empty array");if(!Oe(i,!1))throw new Error("uri is required parameter");if(!Oe(s,!1))throw new Error("domain is required parameter");if(!Oe(o,!1))throw new Error("nonce is required parameter");if([...new Set(r.map(c=>pc(c).namespace))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");const{namespace:a}=pc(r[0]);if(a!=="eip155")throw new Error("Only eip155 namespace is supported for authenticated sessions. Please use .connect() for non-eip155 chains.")}),V(this,"getVerifyContext",async n=>{const{attestationId:r,hash:i,encryptedId:s,metadata:o,transportType:a}=n,c={verified:{verifyUrl:o.verifyUrl||qo,validation:"UNKNOWN",origin:o.url||""}};try{if(a===_e.link_mode){const u=this.getAppLinkIfEnabled(o,a);return c.verified.validation=u&&new URL(u).origin===new URL(o.url).origin?"VALID":"INVALID",c}const f=await this.client.core.verify.resolve({attestationId:r,hash:i,encryptedId:s,verifyUrl:o.verifyUrl});f&&(c.verified.origin=f.origin,c.verified.isScam=f.isScam,c.verified.validation=f.origin===new URL(o.url).origin?"VALID":"INVALID")}catch(f){this.client.logger.warn(f)}return this.client.logger.debug(`Verify context: ${JSON.stringify(c)}`),c}),V(this,"validateSessionProps",(n,r)=>{Object.values(n).forEach((i,s)=>{if(i==null){const{message:o}=W("MISSING_OR_INVALID",`${r} must contain an existing value for each key. Received: ${i} for key ${Object.keys(n)[s]}`);throw new Error(o)}})}),V(this,"getPendingAuthRequest",n=>{const r=this.client.auth.requests.get(n);return typeof r=="object"?r:void 0}),V(this,"addToRecentlyDeleted",(n,r)=>{if(this.recentlyDeletedMap.set(n,r),this.recentlyDeletedMap.size>=this.recentlyDeletedLimit){let i=0;const s=this.recentlyDeletedLimit/2;for(const o of this.recentlyDeletedMap.keys()){if(i++>=s)break;this.recentlyDeletedMap.delete(o)}}}),V(this,"checkRecentlyDeleted",n=>{const r=this.recentlyDeletedMap.get(n);if(r){const{message:i}=W("MISSING_OR_INVALID",`Record was recently deleted - ${r}: ${n}`);throw new Error(i)}}),V(this,"isLinkModeEnabled",(n,r)=>{var i,s,o,a,c,f,u,h,l;return!n||r!==_e.link_mode?!1:((s=(i=this.client.metadata)==null?void 0:i.redirect)==null?void 0:s.linkMode)===!0&&((a=(o=this.client.metadata)==null?void 0:o.redirect)==null?void 0:a.universal)!==void 0&&((f=(c=this.client.metadata)==null?void 0:c.redirect)==null?void 0:f.universal)!==""&&((u=n?.redirect)==null?void 0:u.universal)!==void 0&&((h=n?.redirect)==null?void 0:h.universal)!==""&&((l=n?.redirect)==null?void 0:l.linkMode)===!0&&this.client.core.linkModeSupportedApps.includes(n.redirect.universal)&&typeof(global==null?void 0:global.Linking)<"u"}),V(this,"getAppLinkIfEnabled",(n,r)=>{var i;return this.isLinkModeEnabled(n,r)?(i=n?.redirect)==null?void 0:i.universal:void 0}),V(this,"handleLinkModeMessage",({url:n})=>{if(!n||!n.includes("wc_ev")||!n.includes("topic"))return;const r=Xy(n,"topic")||"",i=decodeURIComponent(Xy(n,"wc_ev")||""),s=this.client.session.keys.includes(r);s&&this.client.session.update(r,{transportType:_e.link_mode}),this.client.core.dispatchEnvelope({topic:r,message:i,sessionExists:s})}),V(this,"registerLinkModeListeners",async()=>{var n;if(Tl()||Wr()&&(n=this.client.metadata.redirect)!=null&&n.linkMode){const r=global==null?void 0:global.Linking;if(typeof r<"u"){r.addEventListener("url",this.handleLinkModeMessage,this.client.name);const i=await r.getInitialURL();i&&setTimeout(()=>{this.handleLinkModeMessage({url:i})},50)}}}),V(this,"getTVFApproveParams",n=>{try{const r=Tw(n.namespaces),i=$O(n.namespaces),s=AO(n.namespaces),o=n.sessionProperties,a=n.scopedProperties;return{approvedChains:r,approvedMethods:i,approvedEvents:s,sessionProperties:o,scopedProperties:a}}catch(r){return this.client.logger.warn(r,"Error getting TVF approve params"),{}}}),V(this,"getTVFParams",(n,r,i)=>{var s,o,a;if(!((s=r.request)!=null&&s.method))return{};const c={correlationId:n,rpcMethods:[r.request.method],chainId:r.chainId};try{const f=this.extractTxHashesFromResult(r.request,i);c.txHashes=f,c.contractAddresses=this.isValidContractData(r.request.params)?[(a=(o=r.request.params)==null?void 0:o[0])==null?void 0:a.to]:[]}catch(f){this.client.logger.warn(f,"Error getting TVF params")}return c}),V(this,"isValidContractData",n=>{var r;if(!n)return!1;try{const i=n?.data||((r=n?.[0])==null?void 0:r.data);if(!i.startsWith("0x"))return!1;const s=i.slice(2);return/^[0-9a-fA-F]*$/.test(s)?s.length%2===0:!1}catch{}return!1}),V(this,"extractTxHashesFromResult",(n,r)=>{var i;try{if(!r)return[];const s=n.method,o=GN[s];if(s==="sui_signTransaction")return[g$(r.transactionBytes)];if(s==="near_signTransaction")return[mb(r)];if(s==="near_signTransactions")return r.map(c=>mb(c));if(s==="xrpl_signTransactionFor"||s==="xrpl_signTransaction")return[(i=r.tx_json)==null?void 0:i.hash];if(s==="polkadot_signTransaction")return[mD({transaction:n.params.transactionPayload,signature:r.signature})];if(s==="algo_signTxn")return Os(r)?r.map(c=>vb(c)):[vb(r)];if(s==="cosmos_signDirect")return[b$(r)];if(s==="wallet_sendCalls")return w$(r);if(typeof r=="string")return[r];const a=r[o.key];if(Os(a))return s==="solana_signAllTransactions"?a.map(c=>p$(c)):a;if(typeof a=="string")return[a]}catch(s){this.client.logger.warn(s,"Error extracting tx hashes from result")}return[]})}async processPendingMessageEvents(){try{const e=this.client.session.keys,n=this.client.core.relayer.messages.getWithoutAck(e);for(const[r,i]of Object.entries(n))for(const s of i)try{await this.onProviderMessageEvent({topic:r,message:s,publishedAt:Date.now()})}catch{this.client.logger.warn(`Error processing pending message event for topic: ${r}, message: ${s}`)}}catch(e){this.client.logger.warn(e,"processPendingMessageEvents failed")}}isInitialized(){if(!this.initialized){const{message:e}=W("NOT_INITIALIZED",this.name);throw new Error(e)}}async confirmOnlineStateOrThrow(){await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(De.message,e=>{this.onProviderMessageEvent(e)})}async onRelayMessage(e){const{topic:n,message:r,attestation:i,transportType:s}=e,{publicKey:o}=this.client.auth.authKeys.keys.includes(Kc)?this.client.auth.authKeys.get(Kc):{responseTopic:void 0,publicKey:void 0};try{const a=await this.client.core.crypto.decode(n,r,{receiverPublicKey:o,encoding:s===_e.link_mode?ui:Nt});Eh(a)?(this.client.core.history.set(n,a),await this.onRelayEventRequest({topic:n,payload:a,attestation:i,transportType:s,encryptedId:Jt(r)})):Mc(a)?(await this.client.core.history.resolve(a),await this.onRelayEventResponse({topic:n,payload:a,transportType:s}),this.client.core.history.delete(n,a.id)):(this.client.logger.error(`onRelayMessage() -> unknown payload: ${JSON.stringify(a)}`),await this.onRelayEventUnknownPayload({topic:n,payload:a,transportType:s})),await this.client.core.relayer.messages.ack(n,r)}catch(a){this.client.logger.error(`onRelayMessage() -> failed to process an inbound message: ${r}`),this.client.logger.error(a)}}registerExpirerEvents(){this.client.core.expirer.on(tn.expired,async e=>{const{topic:n,id:r}=Yy(e.target);if(r&&this.client.pendingRequest.keys.includes(r))return await this.deletePendingSessionRequest(r,W("EXPIRED"),!0);if(r&&this.client.auth.requests.keys.includes(r))return await this.deletePendingAuthRequest(r,W("EXPIRED"),!0);n?this.client.session.keys.includes(n)&&(await this.deleteSession({topic:n,expirerHasDeleted:!0}),this.client.events.emit("session_expire",{topic:n})):r&&(await this.deleteProposal(r,!0),this.client.events.emit("proposal_expire",{id:r}))})}registerPairingEvents(){this.client.core.pairing.events.on(Mi.create,e=>this.onPairingCreated(e)),this.client.core.pairing.events.on(Mi.delete,e=>{this.addToRecentlyDeleted(e.topic,"pairing")})}isValidPairingTopic(e){if(!Oe(e,!1)){const{message:n}=W("MISSING_OR_INVALID",`pairing topic should be a string: ${e}`);throw new Error(n)}if(!this.client.core.pairing.pairings.keys.includes(e)){const{message:n}=W("NO_MATCHING_KEY",`pairing topic doesn't exist: ${e}`);throw new Error(n)}if(Yr(this.client.core.pairing.pairings.get(e).expiry)){const{message:n}=W("EXPIRED",`pairing topic: ${e}`);throw new Error(n)}}async isValidSessionTopic(e){if(!Oe(e,!1)){const{message:n}=W("MISSING_OR_INVALID",`session topic should be a string: ${e}`);throw new Error(n)}if(this.checkRecentlyDeleted(e),!this.client.session.keys.includes(e)){const{message:n}=W("NO_MATCHING_KEY",`session topic doesn't exist: ${e}`);throw new Error(n)}if(Yr(this.client.session.get(e).expiry)){await this.deleteSession({topic:e});const{message:n}=W("EXPIRED",`session topic: ${e}`);throw new Error(n)}if(!this.client.core.crypto.keychain.has(e)){const{message:n}=W("MISSING_OR_INVALID",`session topic does not exist in keychain: ${e}`);throw await this.deleteSession({topic:e}),new Error(n)}}async isValidSessionOrPairingTopic(e){if(this.checkRecentlyDeleted(e),this.client.session.keys.includes(e))await this.isValidSessionTopic(e);else if(this.client.core.pairing.pairings.keys.includes(e))this.isValidPairingTopic(e);else if(Oe(e,!1)){const{message:n}=W("NO_MATCHING_KEY",`session or pairing topic doesn't exist: ${e}`);throw new Error(n)}else{const{message:n}=W("MISSING_OR_INVALID",`session or pairing topic should be a string: ${e}`);throw new Error(n)}}async isValidProposalId(e){if(!WO(e)){const{message:n}=W("MISSING_OR_INVALID",`proposal id should be a number: ${e}`);throw new Error(n)}if(!this.client.proposal.keys.includes(e)){const{message:n}=W("NO_MATCHING_KEY",`proposal id doesn't exist: ${e}`);throw new Error(n)}if(Yr(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);const{message:n}=W("EXPIRED",`proposal id: ${e}`);throw new Error(n)}}validateRequestExpiry(e){if(e&&!iD(e,kh)){const{message:n}=W("MISSING_OR_INVALID",`request() expiry: ${e}. Expiry must be a number (in seconds) between ${kh.min} and ${kh.max}`);throw new Error(n)}}}class aU extends Hi{constructor(e,n){super(e,n,HN,Fh),this.core=e,this.logger=n}}class Zm extends Hi{constructor(e,n){super(e,n,VN,Fh),this.core=e,this.logger=n}}class cU extends Hi{constructor(e,n){super(e,n,ZN,Fh,r=>r.id),this.core=e,this.logger=n}}class fU extends Hi{constructor(e,n){super(e,n,JN,Vc,()=>Kc),this.core=e,this.logger=n}}class uU extends Hi{constructor(e,n){super(e,n,QN,Vc),this.core=e,this.logger=n}}class lU extends Hi{constructor(e,n){super(e,n,eU,Vc,r=>r.id),this.core=e,this.logger=n}}var hU=Object.defineProperty,dU=(t,e,n)=>e in t?hU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Mh=(t,e,n)=>dU(t,typeof e!="symbol"?e+"":e,n);class pU{constructor(e,n){this.core=e,this.logger=n,Mh(this,"authKeys"),Mh(this,"pairingTopics"),Mh(this,"requests"),this.authKeys=new fU(this.core,this.logger),this.pairingTopics=new uU(this.core,this.logger),this.requests=new lU(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}}var gU=Object.defineProperty,yU=(t,e,n)=>e in t?gU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ae=(t,e,n)=>yU(t,typeof e!="symbol"?e+"":e,n);class jh extends pS{constructor(e){super(e),ae(this,"protocol",jm),ae(this,"version",zm),ae(this,"name",Lh.name),ae(this,"metadata"),ae(this,"core"),ae(this,"logger"),ae(this,"events",new Qe.exports.EventEmitter),ae(this,"engine"),ae(this,"session"),ae(this,"proposal"),ae(this,"pendingRequest"),ae(this,"auth"),ae(this,"signConfig"),ae(this,"on",(r,i)=>this.events.on(r,i)),ae(this,"once",(r,i)=>this.events.once(r,i)),ae(this,"off",(r,i)=>this.events.off(r,i)),ae(this,"removeListener",(r,i)=>this.events.removeListener(r,i)),ae(this,"removeAllListeners",r=>this.events.removeAllListeners(r)),ae(this,"connect",async r=>{try{return await this.engine.connect(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"pair",async r=>{try{return await this.engine.pair(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"approve",async r=>{try{return await this.engine.approve(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"reject",async r=>{try{return await this.engine.reject(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"update",async r=>{try{return await this.engine.update(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"extend",async r=>{try{return await this.engine.extend(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"request",async r=>{try{return await this.engine.request(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"respond",async r=>{try{return await this.engine.respond(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"ping",async r=>{try{return await this.engine.ping(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"emit",async r=>{try{return await this.engine.emit(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"disconnect",async r=>{try{return await this.engine.disconnect(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"find",r=>{try{return this.engine.find(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"getPendingSessionRequests",()=>{try{return this.engine.getPendingSessionRequests()}catch(r){throw this.logger.error(r.message),r}}),ae(this,"authenticate",async(r,i)=>{try{return await this.engine.authenticate(r,i)}catch(s){throw this.logger.error(s.message),s}}),ae(this,"formatAuthMessage",r=>{try{return this.engine.formatAuthMessage(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"approveSessionAuthenticate",async r=>{try{return await this.engine.approveSessionAuthenticate(r)}catch(i){throw this.logger.error(i.message),i}}),ae(this,"rejectSessionAuthenticate",async r=>{try{return await this.engine.rejectSessionAuthenticate(r)}catch(i){throw this.logger.error(i.message),i}}),this.name=e?.name||Lh.name,this.metadata=cB(e?.metadata),this.signConfig=e?.signConfig;const n=Hw({logger:e?.logger||Lh.logger,name:this.name});this.logger=n,this.core=e?.core||new Ch(e),this.session=new Zm(this.core,this.logger),this.proposal=new aU(this.core,this.logger),this.pendingRequest=new cU(this.core,this.logger),this.engine=new oU(this),this.auth=new pU(this.core,this.logger)}static async init(e){const n=new jh(e);return await n.initialize(),n}get context(){return xt(this.logger)}get pairing(){return this.core.pairing.pairings}async initialize(){this.logger.trace("Initialized");try{await this.core.start(),await this.session.init(),await this.proposal.init(),await this.pendingRequest.init(),await this.auth.init(),await this.engine.init(),this.logger.info("SignClient Initialization Success")}catch(e){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(e.message),e}}}const bU=Zm,wU=jh;class mU extends Qe.exports{constructor(){super()}}class Wm{constructor(e){this.opts=e}}class Ym{constructor(e){this.client=e}}var vU=Object.defineProperty,EU=Object.defineProperties,xU=Object.getOwnPropertyDescriptors,Xm=Object.getOwnPropertySymbols,_U=Object.prototype.hasOwnProperty,IU=Object.prototype.propertyIsEnumerable,zh=(t,e,n)=>e in t?vU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,SU=(t,e)=>{for(var n in e||(e={}))_U.call(e,n)&&zh(t,n,e[n]);if(Xm)for(var n of Xm(e))IU.call(e,n)&&zh(t,n,e[n]);return t},BU=(t,e)=>EU(t,xU(e)),be=(t,e,n)=>zh(t,typeof e!="symbol"?e+"":e,n);class $U extends Ym{constructor(e){super(e),be(this,"signClient"),be(this,"init",async()=>{this.signClient=await wU.init({core:this.client.core,metadata:this.client.metadata,signConfig:this.client.signConfig}),this.signClient.core.eventClient.init().catch(n=>{this.client.logger.warn(n)})}),be(this,"pair",async n=>{await this.client.core.pairing.pair(n)}),be(this,"approveSession",async n=>{const{topic:r,acknowledged:i}=await this.signClient.approve(BU(SU({},n),{id:n.id,namespaces:n.namespaces,sessionProperties:n.sessionProperties,scopedProperties:n.scopedProperties,sessionConfig:n.sessionConfig,proposalRequestsResponses:n?.proposalRequestsResponses}));return await i(),this.signClient.session.get(r)}),be(this,"rejectSession",async n=>await this.signClient.reject(n)),be(this,"updateSession",async n=>await this.signClient.update(n)),be(this,"extendSession",async n=>await this.signClient.extend(n)),be(this,"respondSessionRequest",async n=>await this.signClient.respond(n)),be(this,"disconnectSession",async n=>await this.signClient.disconnect(n)),be(this,"emitSessionEvent",async n=>await this.signClient.emit(n)),be(this,"getActiveSessions",()=>this.signClient.session.getAll().reduce((n,r)=>(n[r.topic]=r,n),{})),be(this,"getPendingSessionProposals",()=>this.signClient.proposal.getAll()),be(this,"getPendingSessionRequests",()=>this.signClient.getPendingSessionRequests()),be(this,"approveSessionAuthenticate",async n=>await this.signClient.approveSessionAuthenticate(n)),be(this,"rejectSessionAuthenticate",async n=>await this.signClient.rejectSessionAuthenticate(n)),be(this,"formatAuthMessage",n=>this.signClient.formatAuthMessage(n)),be(this,"registerDeviceToken",n=>this.client.core.echoClient.registerDeviceToken(n)),be(this,"on",(n,r)=>(this.setEvent(n,"off"),this.setEvent(n,"on"),this.client.events.on(n,r))),be(this,"once",(n,r)=>(this.setEvent(n,"off"),this.setEvent(n,"once"),this.client.events.once(n,r))),be(this,"off",(n,r)=>(this.setEvent(n,"off"),this.client.events.off(n,r))),be(this,"removeListener",(n,r)=>(this.setEvent(n,"removeListener"),this.client.events.removeListener(n,r))),be(this,"onSessionRequest",n=>{this.client.events.emit("session_request",n)}),be(this,"onSessionProposal",n=>{this.client.events.emit("session_proposal",n)}),be(this,"onSessionDelete",n=>{this.client.events.emit("session_delete",n)}),be(this,"onProposalExpire",n=>{this.client.events.emit("proposal_expire",n)}),be(this,"onSessionRequestExpire",n=>{this.client.events.emit("session_request_expire",n)}),be(this,"onSessionRequestAuthenticate",n=>{this.client.events.emit("session_authenticate",n)}),be(this,"setEvent",(n,r)=>{switch(n){case"session_request":this.signClient.events[r]("session_request",this.onSessionRequest);break;case"session_proposal":this.signClient.events[r]("session_proposal",this.onSessionProposal);break;case"session_delete":this.signClient.events[r]("session_delete",this.onSessionDelete);break;case"proposal_expire":this.signClient.events[r]("proposal_expire",this.onProposalExpire);break;case"session_request_expire":this.signClient.events[r]("session_request_expire",this.onSessionRequestExpire);break;case"session_authenticate":this.signClient.events[r]("session_authenticate",this.onSessionRequestAuthenticate);break}}),this.signClient={}}}const AU={decryptMessage:async t=>{const e={core:new Ch({storageOptions:t.storageOptions,storage:t.storage})};await e.core.crypto.init();const n=e.core.crypto.decode(t.topic,t.encryptedMessage);return e.core=null,n},getMetadata:async t=>{const e={core:new Ch({storageOptions:t.storageOptions,storage:t.storage}),sessionStore:null};e.sessionStore=new bU(e.core,e.core.logger),await e.sessionStore.init();const n=e.sessionStore.get(t.topic),r=n?.peer.metadata;return e.core=null,e.sessionStore=null,r}};function OU(t){const e=t.toLowerCase();return e.includes("pay.")||e.includes("pay=")||e.includes("pay_")||e.includes("pay%2e")||e.includes("pay%3d")||e.includes("pay%5f")}var DU=Object.defineProperty,Jm=Object.getOwnPropertySymbols,PU=Object.prototype.hasOwnProperty,RU=Object.prototype.propertyIsEnumerable,Hh=(t,e,n)=>e in t?DU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,TU=(t,e)=>{for(var n in e||(e={}))PU.call(e,n)&&Hh(t,n,e[n]);if(Jm)for(var n of Jm(e))RU.call(e,n)&&Hh(t,n,e[n]);return t},we=(t,e,n)=>Hh(t,typeof e!="symbol"?e+"":e,n);const Qm=class c2 extends Wm{constructor(e){super(e),we(this,"name"),we(this,"core"),we(this,"logger"),we(this,"events",new Qe.exports),we(this,"engine"),we(this,"metadata"),we(this,"signConfig"),we(this,"pay"),we(this,"on",(n,r)=>this.engine.on(n,r)),we(this,"once",(n,r)=>this.engine.once(n,r)),we(this,"off",(n,r)=>this.engine.off(n,r)),we(this,"removeListener",(n,r)=>this.engine.removeListener(n,r)),we(this,"pair",async n=>{try{return await this.engine.pair(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"approveSession",async n=>{try{return await this.engine.approveSession(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"rejectSession",async n=>{try{return await this.engine.rejectSession(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"updateSession",async n=>{try{return await this.engine.updateSession(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"extendSession",async n=>{try{return await this.engine.extendSession(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"respondSessionRequest",async n=>{try{return await this.engine.respondSessionRequest(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"disconnectSession",async n=>{try{return await this.engine.disconnectSession(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"emitSessionEvent",async n=>{try{return await this.engine.emitSessionEvent(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"getActiveSessions",()=>{try{return this.engine.getActiveSessions()}catch(n){throw this.logger.error(n.message),n}}),we(this,"getPendingSessionProposals",()=>{try{return this.engine.getPendingSessionProposals()}catch(n){throw this.logger.error(n.message),n}}),we(this,"getPendingSessionRequests",()=>{try{return this.engine.getPendingSessionRequests()}catch(n){throw this.logger.error(n.message),n}}),we(this,"registerDeviceToken",n=>{try{return this.engine.registerDeviceToken(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"approveSessionAuthenticate",n=>{try{return this.engine.approveSessionAuthenticate(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"rejectSessionAuthenticate",n=>{try{return this.engine.rejectSessionAuthenticate(n)}catch(r){throw this.logger.error(r.message),r}}),we(this,"formatAuthMessage",n=>{try{return this.engine.formatAuthMessage(n)}catch(r){throw this.logger.error(r.message),r}}),this.metadata=e.metadata,this.name=e.name||ml,this.signConfig=e.signConfig,this.core=e.core,this.logger=this.core.logger,this.engine=new $U(this),this.pay=void 0}static async init(e){const n=new c2(e);return await n.initialize(),n}async initialize(){this.logger.trace("Initialized");try{await this.engine.init(),By.isAvailable()&&(this.pay=new By(TU({clientId:await this.core.crypto.getClientId(),appId:this.core.projectId},this.opts.payConfig||{}))),this.logger.info("WalletKit Initialization Success")}catch(e){throw this.logger.info("WalletKit Initialization Failure"),this.logger.error(e.message),e}}};we(Qm,"notifications",AU);let e2=Qm;const NU=e2;ze.CLIENT_CONTEXT=ml,ze.CLIENT_STORAGE_OPTIONS=bI,ze.CLIENT_STORAGE_PREFIX=yI,ze.IWalletKit=Wm,ze.IWalletKitEngine=Ym,ze.IWalletKitEvents=mU,ze.PROTOCOL=$y,ze.PROTOCOL_VERSION=gI,ze.REQUEST_CONTEXT=wI,ze.WalletKit=NU,ze.default=e2,ze.isPaymentLink=OU,Object.defineProperty(ze,"__esModule",{value:!0})});
|
|
42
|
+
***************************************************************************** */var Xf=function(t,e){return Xf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},Xf(t,e)};function CP(t,e){Xf(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var Jf=function(){return Jf=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Jf.apply(this,arguments)};function FP(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function qP(t,e,n,r){var i=arguments.length,s=i<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,n):r,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,n,s):o(e,n))||s);return i>3&&s&&Object.defineProperty(e,n,s),s}function kP(t,e){return function(n,r){e(n,r,t)}}function LP(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function MP(t,e,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(l){try{u(r.next(l))}catch(f){o(f)}}function c(l){try{u(r.throw(l))}catch(f){o(f)}}function u(l){l.done?s(l.value):i(l.value).then(a,c)}u((r=r.apply(t,e||[])).next())})}function jP(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(l){return c([u,l])}}function c(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){n.label=u[1];break}if(u[0]===6&&n.label<s[1]){n.label=s[1],s=u;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(u);break}s[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(l){u=[6,l],i=0}finally{r=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function zP(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}function KP(t,e){for(var n in t)n!=="default"&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Qf(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Jw(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function VP(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Jw(arguments[e]));return t}function HP(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)r[i]=s[o];return r}function Co(t){return this instanceof Co?(this.v=t,this):new Co(t)}function GP(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){r[d]&&(i[d]=function(h){return new Promise(function(p,w){s.push([d,h,p,w])>1||a(d,h)})})}function a(d,h){try{c(r[d](h))}catch(p){f(s[0][3],p)}}function c(d){d.value instanceof Co?Promise.resolve(d.value.v).then(u,l):f(s[0][2],d)}function u(d){a("next",d)}function l(d){a("throw",d)}function f(d,h){d(h),s.shift(),s.length&&a(s[0][0],s[0][1])}}function WP(t){var e,n;return e={},r("next"),r("throw",function(i){throw i}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(i,s){e[i]=t[i]?function(o){return(n=!n)?{value:Co(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function ZP(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Qf=="function"?Qf(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(o){return new Promise(function(a,c){o=t[s](o),i(a,c,o.done,o.value)})}}function i(s,o,a,c){Promise.resolve(c).then(function(u){s({value:u,done:a})},o)}}function YP(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function XP(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function JP(t){return t&&t.__esModule?t:{default:t}}function QP(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function _P(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}var $P=Object.freeze({__proto__:null,__extends:CP,get __assign(){return Jf},__rest:FP,__decorate:qP,__param:kP,__metadata:LP,__awaiter:MP,__generator:jP,__createBinding:zP,__exportStar:KP,__values:Qf,__read:Jw,__spread:VP,__spreadArrays:HP,__await:Co,__asyncGenerator:GP,__asyncDelegator:WP,__asyncValues:ZP,__makeTemplateObject:YP,__importStar:XP,__importDefault:JP,__classPrivateFieldGet:QP,__classPrivateFieldSet:_P}),eD=Fh($P),fr={},Qw;function tD(){if(Qw)return fr;Qw=1,Object.defineProperty(fr,"__esModule",{value:!0}),fr.isBrowserCryptoAvailable=fr.getSubtleCrypto=fr.getBrowerCrypto=void 0;function t(){return Bn?.crypto||Bn?.msCrypto||{}}fr.getBrowerCrypto=t;function e(){const r=t();return r.subtle||r.webkitSubtle}fr.getSubtleCrypto=e;function n(){return!!t()&&!!e()}return fr.isBrowserCryptoAvailable=n,fr}var hr={},_w;function nD(){if(_w)return hr;_w=1,Object.defineProperty(hr,"__esModule",{value:!0}),hr.isBrowser=hr.isNode=hr.isReactNative=void 0;function t(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}hr.isReactNative=t;function e(){return typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.node<"u"}hr.isNode=e;function n(){return!t()&&!e()}return hr.isBrowser=n,hr}(function(t){Object.defineProperty(t,"__esModule",{value:!0});const e=eD;e.__exportStar(tD(),t),e.__exportStar(nD(),t)})(Xw);function Cn(t=3){const e=Date.now()*Math.pow(10,t),n=Math.floor(Math.random()*Math.pow(10,t));return e+n}function ri(t=6){return BigInt(Cn(t))}function dr(t,e,n){return{id:n||Cn(),jsonrpc:"2.0",method:t,params:e}}function Nc(t,e){return{id:t,jsonrpc:"2.0",result:e}}function _f(t,e,n){return{id:t,jsonrpc:"2.0",error:rD(e,n)}}function rD(t,e){return typeof t>"u"?Yw(Ww):(typeof t=="string"&&(t=Object.assign(Object.assign({},Yw(Yf)),{message:t})),typeof e<"u"&&(t.data=e),TP(t.code)&&(t=NP(t.code)),t)}class iD{}class sD extends iD{constructor(){super()}}class oD extends sD{constructor(e){super()}}const aD="^wss?:";function cD(t){const e=t.match(new RegExp(/^\w+:/,"gi"));if(!(!e||!e.length))return e[0]}function uD(t,e){const n=cD(t);return typeof n>"u"?!1:new RegExp(e).test(n)}function $w(t){return uD(t,aD)}function lD(t){return new RegExp("wss?://localhost(:d{2,5})?").test(t)}function ey(t){return typeof t=="object"&&"id"in t&&"jsonrpc"in t&&t.jsonrpc==="2.0"}function $f(t){return ey(t)&&"method"in t}function Uc(t){return ey(t)&&(Fn(t)||un(t))}function Fn(t){return"result"in t}function un(t){return"error"in t}class fD extends oD{constructor(e){super(e),this.events=new ut.exports.EventEmitter,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(e),this.connection.connected&&this.registerEventListeners()}async connect(e=this.connection){await this.open(e)}async disconnect(){await this.close()}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async request(e,n){return this.requestStrict(dr(e.method,e.params||[],e.id||ri().toString()),n)}async requestStrict(e,n){return new Promise(async(r,i)=>{if(!this.connection.connected)try{await this.open()}catch(s){i(s)}this.events.on(`${e.id}`,s=>{un(s)?i(s.error):r(s.result)});try{await this.connection.send(e,n)}catch(s){i(s)}})}setConnection(e=this.connection){return e}onPayload(e){this.events.emit("payload",e),Uc(e)?this.events.emit(`${e.id}`,e):this.events.emit("message",{type:e.method,data:e.params})}onClose(e){e&&e.code===3e3&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${e.code} ${e.reason?`(${e.reason})`:""}`)),this.events.emit("disconnect")}async open(e=this.connection){this.connection===e&&this.connection.connected||(this.connection.connected&&this.close(),typeof e=="string"&&(await this.connection.open(e),e=this.connection),this.connection=this.setConnection(e),await this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}async close(){await this.connection.close()}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",e=>this.onPayload(e)),this.connection.on("close",e=>this.onClose(e)),this.connection.on("error",e=>this.events.emit("error",e)),this.connection.on("register_error",e=>this.onClose()),this.hasRegisteredEventListeners=!0)}}const hD=()=>typeof WebSocket<"u"?WebSocket:typeof global<"u"&&typeof global.WebSocket<"u"?global.WebSocket:typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:typeof self<"u"&&typeof self.WebSocket<"u"?self.WebSocket:require("ws"),dD=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u",ty=t=>t.split("?")[0],ny=10,pD=hD();class gD{constructor(e){if(this.url=e,this.events=new ut.exports.EventEmitter,this.registering=!1,!$w(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);this.url=e}get connected(){return typeof this.socket<"u"}get connecting(){return this.registering}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async open(e=this.url){await this.register(e)}async close(){return new Promise((e,n)=>{if(typeof this.socket>"u"){n(new Error("Connection already closed"));return}this.socket.onclose=r=>{this.onClose(r),e()},this.socket.close()})}async send(e){typeof this.socket>"u"&&(this.socket=await this.register());try{this.socket.send(to(e))}catch(n){this.onError(e.id,n)}}register(e=this.url){if(!$w(e))throw new Error(`Provided URL is not compatible with WebSocket connection: ${e}`);if(this.registering){const n=this.events.getMaxListeners();return(this.events.listenerCount("register_error")>=n||this.events.listenerCount("open")>=n)&&this.events.setMaxListeners(n+1),new Promise((r,i)=>{this.events.once("register_error",s=>{this.resetMaxListeners(),i(s)}),this.events.once("open",()=>{if(this.resetMaxListeners(),typeof this.socket>"u")return i(new Error("WebSocket connection is missing or invalid"));r(this.socket)})})}return this.url=e,this.registering=!0,new Promise((n,r)=>{const i=Xw.isReactNative()?void 0:{rejectUnauthorized:!lD(e)},s=new pD(e,[],i);dD()?s.onerror=o=>{const a=o;r(this.emitError(a.error))}:s.on("error",o=>{r(this.emitError(o))}),s.onopen=()=>{this.onOpen(s),n(s)}})}onOpen(e){e.onmessage=n=>this.onPayload(n),e.onclose=n=>this.onClose(n),this.socket=e,this.registering=!1,this.events.emit("open")}onClose(e){this.socket=void 0,this.registering=!1,this.events.emit("close",e)}onPayload(e){if(typeof e.data>"u")return;const n=typeof e.data=="string"?as(e.data):e.data;this.events.emit("payload",n)}onError(e,n){const r=this.parseError(n),i=r.message||r.toString(),s=_f(e,i);this.events.emit("payload",s)}parseError(e,n=this.url){return UP(e,ty(n),"WS")}resetMaxListeners(){this.events.getMaxListeners()>ny&&this.events.setMaxListeners(ny)}emitError(e){const n=this.parseError(new Error(e?.message||`WebSocket connection failed for host: ${ty(this.url)}`));return this.events.emit("register_error",n),n}}const ry="wc",iy=2,Cc="core",qn=`${ry}@2:${Cc}:`,bD={name:Cc,logger:"error"},wD={database:":memory:"},yD="crypto",sy="client_ed25519_seed",mD=J.ONE_DAY,vD="keychain",ED="0.3",xD="messages",ID="0.3",SD=J.SIX_HOURS,BD="publisher",oy="irn",OD="error",ay="wss://relay.walletconnect.org",AD="relayer",Le={message:"relayer_message",message_ack:"relayer_message_ack",connect:"relayer_connect",disconnect:"relayer_disconnect",error:"relayer_error",connection_stalled:"relayer_connection_stalled",transport_closed:"relayer_transport_closed",publish:"relayer_publish"},PD="_subscription",ln={payload:"payload",connect:"connect",disconnect:"disconnect",error:"error"},DD=.1,eh="2.23.5",Te={link_mode:"link_mode",relay:"relay"},Fc={inbound:"inbound",outbound:"outbound"},RD="0.3",TD="WALLETCONNECT_CLIENT_ID",cy="WALLETCONNECT_LINK_MODE_APPS",Qt={created:"subscription_created",deleted:"subscription_deleted",expired:"subscription_expired",disabled:"subscription_disabled",sync:"subscription_sync",resubscribed:"subscription_resubscribed"},ND="subscription",UD="0.3",CD="pairing",FD="0.3",Fo={wc_pairingDelete:{req:{ttl:J.ONE_DAY,prompt:!1,tag:1e3},res:{ttl:J.ONE_DAY,prompt:!1,tag:1001}},wc_pairingPing:{req:{ttl:J.THIRTY_SECONDS,prompt:!1,tag:1002},res:{ttl:J.THIRTY_SECONDS,prompt:!1,tag:1003}},unregistered_method:{req:{ttl:J.ONE_DAY,prompt:!1,tag:0},res:{ttl:J.ONE_DAY,prompt:!1,tag:0}}},Li={create:"pairing_create",expire:"pairing_expire",delete:"pairing_delete",ping:"pairing_ping"},xn={created:"history_created",updated:"history_updated",deleted:"history_deleted",sync:"history_sync"},qD="history",kD="0.3",LD="expirer",fn={created:"expirer_created",deleted:"expirer_deleted",expired:"expirer_expired",sync:"expirer_sync"},MD="0.3",jD="verify-api",zD="https://verify.walletconnect.com",uy="https://verify.walletconnect.org",qo=uy,KD=`${qo}/v3`,VD=[zD,uy],HD="echo",GD="https://echo.walletconnect.com",kn={pairing_started:"pairing_started",pairing_uri_validation_success:"pairing_uri_validation_success",pairing_uri_not_expired:"pairing_uri_not_expired",store_new_pairing:"store_new_pairing",subscribing_pairing_topic:"subscribing_pairing_topic",subscribe_pairing_topic_success:"subscribe_pairing_topic_success",existing_pairing:"existing_pairing",pairing_not_expired:"pairing_not_expired",emit_inactive_pairing:"emit_inactive_pairing",emit_session_proposal:"emit_session_proposal",subscribing_to_pairing_topic:"subscribing_to_pairing_topic"},pr={no_wss_connection:"no_wss_connection",no_internet_connection:"no_internet_connection",malformed_pairing_uri:"malformed_pairing_uri",active_pairing_already_exists:"active_pairing_already_exists",subscribe_pairing_topic_failure:"subscribe_pairing_topic_failure",pairing_expired:"pairing_expired",proposal_expired:"proposal_expired",proposal_listener_not_found:"proposal_listener_not_found"},In={session_approve_started:"session_approve_started",proposal_not_expired:"proposal_not_expired",session_namespaces_validation_success:"session_namespaces_validation_success",create_session_topic:"create_session_topic",subscribing_session_topic:"subscribing_session_topic",subscribe_session_topic_success:"subscribe_session_topic_success",publishing_session_approve:"publishing_session_approve",session_approve_publish_success:"session_approve_publish_success",store_session:"store_session",publishing_session_settle:"publishing_session_settle",session_settle_publish_success:"session_settle_publish_success",session_request_response_started:"session_request_response_started",session_request_response_validation_success:"session_request_response_validation_success",session_request_response_publish_started:"session_request_response_publish_started"},Mi={no_internet_connection:"no_internet_connection",no_wss_connection:"no_wss_connection",proposal_expired:"proposal_expired",subscribe_session_topic_failure:"subscribe_session_topic_failure",session_approve_publish_failure:"session_approve_publish_failure",session_settle_publish_failure:"session_settle_publish_failure",session_approve_namespace_validation_failure:"session_approve_namespace_validation_failure",proposal_not_found:"proposal_not_found",session_request_response_validation_failure:"session_request_response_validation_failure",session_request_response_publish_failure:"session_request_response_publish_failure"},ji={authenticated_session_approve_started:"authenticated_session_approve_started",authenticated_session_not_expired:"authenticated_session_not_expired",chains_caip2_compliant:"chains_caip2_compliant",chains_evm_compliant:"chains_evm_compliant",create_authenticated_session_topic:"create_authenticated_session_topic",cacaos_verified:"cacaos_verified",store_authenticated_session:"store_authenticated_session",subscribing_authenticated_session_topic:"subscribing_authenticated_session_topic",subscribe_authenticated_session_topic_success:"subscribe_authenticated_session_topic_success",publishing_authenticated_session_approve:"publishing_authenticated_session_approve",authenticated_session_approve_publish_success:"authenticated_session_approve_publish_success"},ko={no_internet_connection:"no_internet_connection",no_wss_connection:"no_wss_connection",missing_session_authenticate_request:"missing_session_authenticate_request",session_authenticate_request_expired:"session_authenticate_request_expired",chains_caip2_compliant_failure:"chains_caip2_compliant_failure",chains_evm_compliant_failure:"chains_evm_compliant_failure",invalid_cacao:"invalid_cacao",subscribe_authenticated_session_topic_failure:"subscribe_authenticated_session_topic_failure",authenticated_session_approve_publish_failure:"authenticated_session_approve_publish_failure",authenticated_session_pending_request_not_found:"authenticated_session_pending_request_not_found"},WD=.1,ZD="event-client",YD=86400,XD="https://pulse.walletconnect.org/batch";function JD(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var n=new Uint8Array(256),r=0;r<n.length;r++)n[r]=255;for(var i=0;i<t.length;i++){var s=t.charAt(i),o=s.charCodeAt(0);if(n[o]!==255)throw new TypeError(s+" is ambiguous");n[o]=i}var a=t.length,c=t.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function f(p){if(p instanceof Uint8Array||(ArrayBuffer.isView(p)?p=new Uint8Array(p.buffer,p.byteOffset,p.byteLength):Array.isArray(p)&&(p=Uint8Array.from(p))),!(p instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(p.length===0)return"";for(var w=0,m=0,P=0,T=p.length;P!==T&&p[P]===0;)P++,w++;for(var I=(T-P)*l+1>>>0,x=new Uint8Array(I);P!==T;){for(var S=p[P],U=0,k=I-1;(S!==0||U<m)&&k!==-1;k--,U++)S+=256*x[k]>>>0,x[k]=S%a>>>0,S=S/a>>>0;if(S!==0)throw new Error("Non-zero carry");m=U,P++}for(var F=I-m;F!==I&&x[F]===0;)F++;for(var R=c.repeat(w);F<I;++F)R+=t.charAt(x[F]);return R}function d(p){if(typeof p!="string")throw new TypeError("Expected String");if(p.length===0)return new Uint8Array;var w=0;if(p[w]!==" "){for(var m=0,P=0;p[w]===c;)m++,w++;for(var T=(p.length-w)*u+1>>>0,I=new Uint8Array(T);p[w];){var x=n[p.charCodeAt(w)];if(x===255)return;for(var S=0,U=T-1;(x!==0||S<P)&&U!==-1;U--,S++)x+=a*I[U]>>>0,I[U]=x%256>>>0,x=x/256>>>0;if(x!==0)throw new Error("Non-zero carry");P=S,w++}if(p[w]!==" "){for(var k=T-P;k!==T&&I[k]===0;)k++;for(var F=new Uint8Array(m+(T-k)),R=m;k!==T;)F[R++]=I[k++];return F}}}function h(p){var w=d(p);if(w)return w;throw new Error(`Non-${e} character`)}return{encode:f,decodeUnsafe:d,decode:h}}var QD=JD,_D=QD;const ly=t=>{if(t instanceof Uint8Array&&t.constructor.name==="Uint8Array")return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},$D=t=>new TextEncoder().encode(t),eR=t=>new TextDecoder().decode(t);class tR{constructor(e,n,r){this.name=e,this.prefix=n,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}}class nR{constructor(e,n,r){if(this.name=e,this.prefix=n,n.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=n.codePointAt(0),this.baseDecode=r}decode(e){if(typeof e=="string"){if(e.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(e.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(e){return fy(this,e)}}class rR{constructor(e){this.decoders=e}or(e){return fy(this,e)}decode(e){const n=e[0],r=this.decoders[n];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const fy=(t,e)=>new rR({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class iR{constructor(e,n,r,i){this.name=e,this.prefix=n,this.baseEncode=r,this.baseDecode=i,this.encoder=new tR(e,n,r),this.decoder=new nR(e,n,i)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}}const qc=({name:t,prefix:e,encode:n,decode:r})=>new iR(t,e,n,r),Lo=({prefix:t,name:e,alphabet:n})=>{const{encode:r,decode:i}=_D(n,e);return qc({prefix:t,name:e,encode:r,decode:s=>ly(i(s))})},sR=(t,e,n,r)=>{const i={};for(let l=0;l<e.length;++l)i[e[l]]=l;let s=t.length;for(;t[s-1]==="=";)--s;const o=new Uint8Array(s*n/8|0);let a=0,c=0,u=0;for(let l=0;l<s;++l){const f=i[t[l]];if(f===void 0)throw new SyntaxError(`Non-${r} character`);c=c<<n|f,a+=n,a>=8&&(a-=8,o[u++]=255&c>>a)}if(a>=n||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return o},oR=(t,e,n)=>{const r=e[e.length-1]==="=",i=(1<<n)-1;let s="",o=0,a=0;for(let c=0;c<t.length;++c)for(a=a<<8|t[c],o+=8;o>n;)o-=n,s+=e[i&a>>o];if(o&&(s+=e[i&a<<n-o]),r)for(;s.length*n&7;)s+="=";return s},rt=({name:t,prefix:e,bitsPerChar:n,alphabet:r})=>qc({prefix:e,name:t,encode(i){return oR(i,r,n)},decode(i){return sR(i,r,n,t)}}),aR=qc({prefix:"\0",name:"identity",encode:t=>eR(t),decode:t=>$D(t)});var cR=Object.freeze({__proto__:null,identity:aR});const uR=rt({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});var lR=Object.freeze({__proto__:null,base2:uR});const fR=rt({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});var hR=Object.freeze({__proto__:null,base8:fR});const dR=Lo({prefix:"9",name:"base10",alphabet:"0123456789"});var pR=Object.freeze({__proto__:null,base10:dR});const gR=rt({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),bR=rt({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});var wR=Object.freeze({__proto__:null,base16:gR,base16upper:bR});const yR=rt({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),mR=rt({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),vR=rt({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),ER=rt({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),xR=rt({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),IR=rt({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),SR=rt({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),BR=rt({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),OR=rt({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});var AR=Object.freeze({__proto__:null,base32:yR,base32upper:mR,base32pad:vR,base32padupper:ER,base32hex:xR,base32hexupper:IR,base32hexpad:SR,base32hexpadupper:BR,base32z:OR});const PR=Lo({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),DR=Lo({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});var RR=Object.freeze({__proto__:null,base36:PR,base36upper:DR});const TR=Lo({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),NR=Lo({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});var UR=Object.freeze({__proto__:null,base58btc:TR,base58flickr:NR});const CR=rt({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),FR=rt({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),qR=rt({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),kR=rt({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});var LR=Object.freeze({__proto__:null,base64:CR,base64pad:FR,base64url:qR,base64urlpad:kR});const hy=Array.from("\u{1F680}\u{1FA90}\u2604\u{1F6F0}\u{1F30C}\u{1F311}\u{1F312}\u{1F313}\u{1F314}\u{1F315}\u{1F316}\u{1F317}\u{1F318}\u{1F30D}\u{1F30F}\u{1F30E}\u{1F409}\u2600\u{1F4BB}\u{1F5A5}\u{1F4BE}\u{1F4BF}\u{1F602}\u2764\u{1F60D}\u{1F923}\u{1F60A}\u{1F64F}\u{1F495}\u{1F62D}\u{1F618}\u{1F44D}\u{1F605}\u{1F44F}\u{1F601}\u{1F525}\u{1F970}\u{1F494}\u{1F496}\u{1F499}\u{1F622}\u{1F914}\u{1F606}\u{1F644}\u{1F4AA}\u{1F609}\u263A\u{1F44C}\u{1F917}\u{1F49C}\u{1F614}\u{1F60E}\u{1F607}\u{1F339}\u{1F926}\u{1F389}\u{1F49E}\u270C\u2728\u{1F937}\u{1F631}\u{1F60C}\u{1F338}\u{1F64C}\u{1F60B}\u{1F497}\u{1F49A}\u{1F60F}\u{1F49B}\u{1F642}\u{1F493}\u{1F929}\u{1F604}\u{1F600}\u{1F5A4}\u{1F603}\u{1F4AF}\u{1F648}\u{1F447}\u{1F3B6}\u{1F612}\u{1F92D}\u2763\u{1F61C}\u{1F48B}\u{1F440}\u{1F62A}\u{1F611}\u{1F4A5}\u{1F64B}\u{1F61E}\u{1F629}\u{1F621}\u{1F92A}\u{1F44A}\u{1F973}\u{1F625}\u{1F924}\u{1F449}\u{1F483}\u{1F633}\u270B\u{1F61A}\u{1F61D}\u{1F634}\u{1F31F}\u{1F62C}\u{1F643}\u{1F340}\u{1F337}\u{1F63B}\u{1F613}\u2B50\u2705\u{1F97A}\u{1F308}\u{1F608}\u{1F918}\u{1F4A6}\u2714\u{1F623}\u{1F3C3}\u{1F490}\u2639\u{1F38A}\u{1F498}\u{1F620}\u261D\u{1F615}\u{1F33A}\u{1F382}\u{1F33B}\u{1F610}\u{1F595}\u{1F49D}\u{1F64A}\u{1F639}\u{1F5E3}\u{1F4AB}\u{1F480}\u{1F451}\u{1F3B5}\u{1F91E}\u{1F61B}\u{1F534}\u{1F624}\u{1F33C}\u{1F62B}\u26BD\u{1F919}\u2615\u{1F3C6}\u{1F92B}\u{1F448}\u{1F62E}\u{1F646}\u{1F37B}\u{1F343}\u{1F436}\u{1F481}\u{1F632}\u{1F33F}\u{1F9E1}\u{1F381}\u26A1\u{1F31E}\u{1F388}\u274C\u270A\u{1F44B}\u{1F630}\u{1F928}\u{1F636}\u{1F91D}\u{1F6B6}\u{1F4B0}\u{1F353}\u{1F4A2}\u{1F91F}\u{1F641}\u{1F6A8}\u{1F4A8}\u{1F92C}\u2708\u{1F380}\u{1F37A}\u{1F913}\u{1F619}\u{1F49F}\u{1F331}\u{1F616}\u{1F476}\u{1F974}\u25B6\u27A1\u2753\u{1F48E}\u{1F4B8}\u2B07\u{1F628}\u{1F31A}\u{1F98B}\u{1F637}\u{1F57A}\u26A0\u{1F645}\u{1F61F}\u{1F635}\u{1F44E}\u{1F932}\u{1F920}\u{1F927}\u{1F4CC}\u{1F535}\u{1F485}\u{1F9D0}\u{1F43E}\u{1F352}\u{1F617}\u{1F911}\u{1F30A}\u{1F92F}\u{1F437}\u260E\u{1F4A7}\u{1F62F}\u{1F486}\u{1F446}\u{1F3A4}\u{1F647}\u{1F351}\u2744\u{1F334}\u{1F4A3}\u{1F438}\u{1F48C}\u{1F4CD}\u{1F940}\u{1F922}\u{1F445}\u{1F4A1}\u{1F4A9}\u{1F450}\u{1F4F8}\u{1F47B}\u{1F910}\u{1F92E}\u{1F3BC}\u{1F975}\u{1F6A9}\u{1F34E}\u{1F34A}\u{1F47C}\u{1F48D}\u{1F4E3}\u{1F942}"),MR=hy.reduce((t,e,n)=>(t[n]=e,t),[]),jR=hy.reduce((t,e,n)=>(t[e.codePointAt(0)]=n,t),[]);function zR(t){return t.reduce((e,n)=>(e+=MR[n],e),"")}function KR(t){const e=[];for(const n of t){const r=jR[n.codePointAt(0)];if(r===void 0)throw new Error(`Non-base256emoji character: ${n}`);e.push(r)}return new Uint8Array(e)}const VR=qc({prefix:"\u{1F680}",name:"base256emoji",encode:zR,decode:KR});var HR=Object.freeze({__proto__:null,base256emoji:VR}),GR=py,dy=128,WR=127,ZR=~WR,YR=Math.pow(2,31);function py(t,e,n){e=e||[],n=n||0;for(var r=n;t>=YR;)e[n++]=t&255|dy,t/=128;for(;t&ZR;)e[n++]=t&255|dy,t>>>=7;return e[n]=t|0,py.bytes=n-r+1,e}var XR=th,JR=128,gy=127;function th(t,r){var n=0,r=r||0,i=0,s=r,o,a=t.length;do{if(s>=a)throw th.bytes=0,new RangeError("Could not decode varint");o=t[s++],n+=i<28?(o&gy)<<i:(o&gy)*Math.pow(2,i),i+=7}while(o>=JR);return th.bytes=s-r,n}var QR=Math.pow(2,7),_R=Math.pow(2,14),$R=Math.pow(2,21),eT=Math.pow(2,28),tT=Math.pow(2,35),nT=Math.pow(2,42),rT=Math.pow(2,49),iT=Math.pow(2,56),sT=Math.pow(2,63),oT=function(t){return t<QR?1:t<_R?2:t<$R?3:t<eT?4:t<tT?5:t<nT?6:t<rT?7:t<iT?8:t<sT?9:10},aT={encode:GR,decode:XR,encodingLength:oT},by=aT;const wy=(t,e,n=0)=>(by.encode(t,e,n),e),yy=t=>by.encodingLength(t),nh=(t,e)=>{const n=e.byteLength,r=yy(t),i=r+yy(n),s=new Uint8Array(i+n);return wy(t,s,0),wy(n,s,r),s.set(e,i),new cT(t,n,e,s)};class cT{constructor(e,n,r,i){this.code=e,this.size=n,this.digest=r,this.bytes=i}}const my=({name:t,code:e,encode:n})=>new uT(t,e,n);class uT{constructor(e,n,r){this.name=e,this.code=n,this.encode=r}digest(e){if(e instanceof Uint8Array){const n=this.encode(e);return n instanceof Uint8Array?nh(this.code,n):n.then(r=>nh(this.code,r))}else throw Error("Unknown type, must be binary type")}}const vy=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),lT=my({name:"sha2-256",code:18,encode:vy("SHA-256")}),fT=my({name:"sha2-512",code:19,encode:vy("SHA-512")});var hT=Object.freeze({__proto__:null,sha256:lT,sha512:fT});const Ey=0,dT="identity",xy=ly;var pT=Object.freeze({__proto__:null,identity:{code:Ey,name:dT,encode:xy,digest:t=>nh(Ey,xy(t))}});new TextEncoder,new TextDecoder;const Iy={...cR,...lR,...hR,...pR,...wR,...AR,...RR,...UR,...LR,...HR};({...hT,...pT});function Sy(t){return globalThis.Buffer!=null?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}function gT(t=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?Sy(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}function By(t,e,n,r){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:n},decoder:{decode:r}}}const Oy=By("utf8","u",t=>"u"+new TextDecoder("utf8").decode(t),t=>new TextEncoder().encode(t.substring(1))),rh=By("ascii","a",t=>{let e="a";for(let n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},t=>{t=t.substring(1);const e=gT(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}),bT={utf8:Oy,"utf-8":Oy,hex:Iy.base16,latin1:rh,ascii:rh,binary:rh,...Iy};function wT(t,e="utf8"){const n=bT[e];if(!n)throw new Error(`Unsupported encoding "${e}"`);return(e==="utf8"||e==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?Sy(globalThis.Buffer.from(t,"utf-8")):n.decoder.decode(`${n.prefix}${t}`)}var yT=Object.defineProperty,mT=(t,e,n)=>e in t?yT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ln=(t,e,n)=>mT(t,typeof e!="symbol"?e+"":e,n);class vT{constructor(e,n){this.core=e,this.logger=n,Ln(this,"keychain",new Map),Ln(this,"name",vD),Ln(this,"version",ED),Ln(this,"initialized",!1),Ln(this,"storagePrefix",qn),Ln(this,"init",async()=>{if(!this.initialized){const r=await this.getKeyChain();typeof r<"u"&&(this.keychain=r),this.initialized=!0}}),Ln(this,"has",r=>(this.isInitialized(),this.keychain.has(r))),Ln(this,"set",async(r,i)=>{this.isInitialized(),this.keychain.set(r,i),await this.persist()}),Ln(this,"get",r=>{this.isInitialized();const i=this.keychain.get(r);if(typeof i>"u"){const{message:s}=_("NO_MATCHING_KEY",`${this.name}: ${r}`);throw new Error(s)}return i}),Ln(this,"del",async r=>{this.isInitialized(),this.keychain.delete(r),await this.persist()}),this.core=e,this.logger=Gt(n,this.name)}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}async setKeyChain(e){await this.core.storage.setItem(this.storageKey,Wl(e))}async getKeyChain(){const e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Zl(e):void 0}async persist(){await this.setKeyChain(this.keychain)}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var ET=Object.defineProperty,xT=(t,e,n)=>e in t?ET(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Je=(t,e,n)=>xT(t,typeof e!="symbol"?e+"":e,n);class IT{constructor(e,n,r){this.core=e,this.logger=n,Je(this,"name",yD),Je(this,"keychain"),Je(this,"randomSessionIdentifier",Of()),Je(this,"initialized",!1),Je(this,"clientId"),Je(this,"init",async()=>{this.initialized||(await this.keychain.init(),this.initialized=!0)}),Je(this,"hasKeys",i=>(this.isInitialized(),this.keychain.has(i))),Je(this,"getClientId",async()=>{if(this.isInitialized(),this.clientId)return this.clientId;const i=await this.getClientSeed(),s=Tg(i),o=Rg(s.publicKey);return this.clientId=o,o}),Je(this,"generateKeyPair",()=>{this.isInitialized();const i=ZS();return this.setPrivateKey(i.publicKey,i.privateKey)}),Je(this,"signJWT",async i=>{this.isInitialized();const s=await this.getClientSeed(),o=Tg(s),a=this.randomSessionIdentifier;return await fx(a,i,mD,o)}),Je(this,"generateSharedKey",(i,s,o)=>{this.isInitialized();const a=this.getPrivateKey(i),c=YS(a,s);return this.setSymKey(c,o)}),Je(this,"setSymKey",async(i,s)=>{this.isInitialized();const o=s||mc(i);return await this.keychain.set(o,i),o}),Je(this,"deleteKeyPair",async i=>{this.isInitialized(),await this.keychain.del(i)}),Je(this,"deleteSymKey",async i=>{this.isInitialized(),await this.keychain.del(i)}),Je(this,"encode",async(i,s,o)=>{this.isInitialized();const a=Zb(o),c=to(s);if(Xb(a))return QS(c,o?.encoding);if(Yb(a)){const d=a.senderPublicKey,h=a.receiverPublicKey;i=await this.generateSharedKey(d,h)}const u=this.getSymKey(i),{type:l,senderPublicKey:f}=a;return XS({type:l,symKey:u,message:c,senderPublicKey:f,encoding:o?.encoding})}),Je(this,"decode",async(i,s,o)=>{this.isInitialized();const a=$S(s,o);if(Xb(a)){const c=_S(s,o?.encoding);return as(c)}if(Yb(a)){const c=a.receiverPublicKey,u=a.senderPublicKey;i=await this.generateSharedKey(c,u)}try{const c=this.getSymKey(i),u=JS({symKey:c,encoded:s,encoding:o?.encoding});return as(u)}catch(c){this.logger.error(`Failed to decode message from topic: '${i}', clientId: '${await this.getClientId()}'`),this.logger.error(c)}}),Je(this,"getPayloadType",(i,s=Mt)=>{const o=Io({encoded:i,encoding:s});return Di(o.type)}),Je(this,"getPayloadSenderPublicKey",(i,s=Mt)=>{const o=Io({encoded:i,encoding:s});return o.senderPublicKey?qt(o.senderPublicKey,At):void 0}),this.core=e,this.logger=Gt(n,this.name),this.keychain=r||new vT(this.core,this.logger)}get context(){return Rt(this.logger)}async setPrivateKey(e,n){return await this.keychain.set(e,n),e}getPrivateKey(e){return this.keychain.get(e)}async getClientSeed(){let e="";try{e=this.keychain.get(sy)}catch{e=Of(),await this.keychain.set(sy,e)}return wT(e,"base16")}getSymKey(e){return this.keychain.get(e)}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var ST=Object.defineProperty,BT=Object.defineProperties,OT=Object.getOwnPropertyDescriptors,Ay=Object.getOwnPropertySymbols,AT=Object.prototype.hasOwnProperty,PT=Object.prototype.propertyIsEnumerable,ih=(t,e,n)=>e in t?ST(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,DT=(t,e)=>{for(var n in e||(e={}))AT.call(e,n)&&ih(t,n,e[n]);if(Ay)for(var n of Ay(e))PT.call(e,n)&&ih(t,n,e[n]);return t},RT=(t,e)=>BT(t,OT(e)),_t=(t,e,n)=>ih(t,typeof e!="symbol"?e+"":e,n);class TT extends dP{constructor(e,n){super(e,n),this.logger=e,this.core=n,_t(this,"messages",new Map),_t(this,"messagesWithoutClientAck",new Map),_t(this,"name",xD),_t(this,"version",ID),_t(this,"initialized",!1),_t(this,"storagePrefix",qn),_t(this,"init",async()=>{if(!this.initialized){this.logger.trace("Initialized");try{const r=await this.getRelayerMessages();typeof r<"u"&&(this.messages=r);const i=await this.getRelayerMessagesWithoutClientAck();typeof i<"u"&&(this.messagesWithoutClientAck=i),this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",size:this.messages.size})}catch(r){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(r)}finally{this.initialized=!0}}}),_t(this,"set",async(r,i,s)=>{this.isInitialized();const o=an(i);let a=this.messages.get(r);if(typeof a>"u"&&(a={}),typeof a[o]<"u")return o;if(a[o]=i,this.messages.set(r,a),s===Fc.inbound){const c=this.messagesWithoutClientAck.get(r)||{};this.messagesWithoutClientAck.set(r,RT(DT({},c),{[o]:i}))}return await this.persist(),o}),_t(this,"get",r=>{this.isInitialized();let i=this.messages.get(r);return typeof i>"u"&&(i={}),i}),_t(this,"getWithoutAck",r=>{this.isInitialized();const i={};for(const s of r){const o=this.messagesWithoutClientAck.get(s)||{};i[s]=Object.values(o)}return i}),_t(this,"has",(r,i)=>{this.isInitialized();const s=this.get(r),o=an(i);return typeof s[o]<"u"}),_t(this,"ack",async(r,i)=>{this.isInitialized();const s=this.messagesWithoutClientAck.get(r);if(typeof s>"u")return;const o=an(i);delete s[o],Object.keys(s).length===0?this.messagesWithoutClientAck.delete(r):this.messagesWithoutClientAck.set(r,s),await this.persist()}),_t(this,"del",async r=>{this.isInitialized(),this.messages.delete(r),this.messagesWithoutClientAck.delete(r),await this.persist()}),this.logger=Gt(e,this.name),this.core=n}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get storageKeyWithoutClientAck(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name+"_withoutClientAck"}async setRelayerMessages(e){await this.core.storage.setItem(this.storageKey,Wl(e))}async setRelayerMessagesWithoutClientAck(e){await this.core.storage.setItem(this.storageKeyWithoutClientAck,Wl(e))}async getRelayerMessages(){const e=await this.core.storage.getItem(this.storageKey);return typeof e<"u"?Zl(e):void 0}async getRelayerMessagesWithoutClientAck(){const e=await this.core.storage.getItem(this.storageKeyWithoutClientAck);return typeof e<"u"?Zl(e):void 0}async persist(){await this.setRelayerMessages(this.messages),await this.setRelayerMessagesWithoutClientAck(this.messagesWithoutClientAck)}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var NT=Object.defineProperty,UT=Object.defineProperties,CT=Object.getOwnPropertyDescriptors,Py=Object.getOwnPropertySymbols,FT=Object.prototype.hasOwnProperty,qT=Object.prototype.propertyIsEnumerable,sh=(t,e,n)=>e in t?NT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Bs=(t,e)=>{for(var n in e||(e={}))FT.call(e,n)&&sh(t,n,e[n]);if(Py)for(var n of Py(e))qT.call(e,n)&&sh(t,n,e[n]);return t},Dy=(t,e)=>UT(t,CT(e)),hn=(t,e,n)=>sh(t,typeof e!="symbol"?e+"":e,n);class kT extends pP{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,hn(this,"events",new ut.exports.EventEmitter),hn(this,"name",BD),hn(this,"queue",new Map),hn(this,"publishTimeout",J.toMiliseconds(J.ONE_MINUTE)),hn(this,"initialPublishTimeout",J.toMiliseconds(J.ONE_SECOND*15)),hn(this,"needsTransportRestart",!1),hn(this,"publish",async(r,i,s)=>{var o,a,c,u,l;this.logger.debug("Publishing Payload"),this.logger.trace({type:"method",method:"publish",params:{topic:r,message:i,opts:s}});const f=s?.ttl||SD,d=s?.prompt||!1,h=s?.tag||0,p=s?.id||ri().toString(),w=ws(vc().protocol),m={id:p,method:s?.publishMethod||w.publish,params:Bs({topic:r,message:i,ttl:f,prompt:d,tag:h,attestation:s?.attestation},s?.tvf)},P=`Failed to publish payload, please try again. id:${p} tag:${h}`;try{Ge((o=m.params)==null?void 0:o.prompt)&&((a=m.params)==null||delete a.prompt),Ge((c=m.params)==null?void 0:c.tag)&&((u=m.params)==null||delete u.tag);const T=new Promise(async I=>{const x=({id:U})=>{var k;((k=m.id)==null?void 0:k.toString())===U.toString()&&(this.removeRequestFromQueue(U),this.relayer.events.removeListener(Le.publish,x),I())};this.relayer.events.on(Le.publish,x);const S=Tn(new Promise((U,k)=>{this.rpcPublish(m,s).then(U).catch(F=>{this.logger.warn(F,F?.message),k(F)})}),this.initialPublishTimeout,`Failed initial publish, retrying.... id:${p} tag:${h}`);try{await S,this.events.removeListener(Le.publish,x)}catch(U){this.queue.set(p,{request:m,opts:s,attempt:1}),this.logger.warn(U,U?.message)}});this.logger.trace({type:"method",method:"publish",params:{id:p,topic:r,message:i,opts:s}}),await Tn(T,this.publishTimeout,P)}catch(T){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(T),(l=s?.internal)!=null&&l.throwOnFailedPublish)throw T}finally{this.queue.delete(p)}}),hn(this,"publishCustom",async r=>{var i,s,o,a,c;this.logger.debug("Publishing custom payload"),this.logger.trace({type:"method",method:"publishCustom",params:r});const{payload:u,opts:l={}}=r,{attestation:f,tvf:d,publishMethod:h,prompt:p,tag:w,ttl:m=J.FIVE_MINUTES}=l,P=l.id||ri().toString(),T=ws(vc().protocol),I=h||T.publish,x={id:P,method:I,params:Bs(Dy(Bs({},u),{ttl:m,prompt:p,tag:w,attestation:f}),d)},S=`Failed to publish custom payload, please try again. id:${P} tag:${w}`;try{Ge((i=x.params)==null?void 0:i.prompt)&&((s=x.params)==null||delete s.prompt),Ge((o=x.params)==null?void 0:o.tag)&&((a=x.params)==null||delete a.tag);const U=new Promise(async k=>{const F=({id:G})=>{var H;((H=x.id)==null?void 0:H.toString())===G.toString()&&(this.removeRequestFromQueue(G),this.relayer.events.removeListener(Le.publish,F),k())};this.relayer.events.on(Le.publish,F);const R=Tn(new Promise((G,H)=>{this.rpcPublish(x,l).then(G).catch(E=>{this.logger.warn(E,E?.message),H(E)})}),this.initialPublishTimeout,`Failed initial custom payload publish, retrying.... method:${I} id:${P} tag:${w}`);try{await R,this.events.removeListener(Le.publish,F)}catch(G){this.queue.set(P,{request:x,opts:l,attempt:1}),this.logger.warn(G,G?.message)}});this.logger.trace({type:"method",method:"publish",params:{id:P,payload:u,opts:l}}),await Tn(U,this.publishTimeout,S)}catch(U){if(this.logger.debug("Failed to Publish Payload"),this.logger.error(U),(c=l?.internal)!=null&&c.throwOnFailedPublish)throw U}finally{this.queue.delete(P)}}),hn(this,"on",(r,i)=>{this.events.on(r,i)}),hn(this,"once",(r,i)=>{this.events.once(r,i)}),hn(this,"off",(r,i)=>{this.events.off(r,i)}),hn(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.relayer=e,this.logger=Gt(n,this.name),this.registerEventListeners()}get context(){return Rt(this.logger)}async rpcPublish(e,n){this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"message",direction:"outgoing",request:e});const r=await this.relayer.request(e);return this.relayer.events.emit(Le.publish,Bs(Bs({},e),n)),this.logger.debug("Successfully Published Payload"),r}removeRequestFromQueue(e){this.queue.delete(e)}checkQueue(){this.queue.forEach(async(e,n)=>{var r;const i=e.attempt+1;this.queue.set(n,Dy(Bs({},e),{attempt:i})),this.logger.warn({},`Publisher: queue->publishing: ${e.request.id}, tag: ${(r=e.request.params)==null?void 0:r.tag}, attempt: ${i}`),await this.rpcPublish(e.request,e.opts),this.logger.warn({},`Publisher: queue->published: ${e.request.id}`)})}registerEventListeners(){this.relayer.core.heartbeat.on(qi.pulse,()=>{if(this.needsTransportRestart){this.needsTransportRestart=!1,this.relayer.events.emit(Le.connection_stalled);return}this.checkQueue()}),this.relayer.on(Le.message_ack,e=>{this.removeRequestFromQueue(e.id.toString())})}}var LT=Object.defineProperty,MT=(t,e,n)=>e in t?LT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Os=(t,e,n)=>MT(t,typeof e!="symbol"?e+"":e,n);class jT{constructor(){Os(this,"map",new Map),Os(this,"set",(e,n)=>{const r=this.get(e);this.exists(e,n)||this.map.set(e,[...r,n])}),Os(this,"get",e=>this.map.get(e)||[]),Os(this,"exists",(e,n)=>this.get(e).includes(n)),Os(this,"delete",(e,n)=>{if(typeof n>"u"){this.map.delete(e);return}if(!this.map.has(e))return;const r=this.get(e);if(!this.exists(e,n))return;const i=r.filter(s=>s!==n);if(!i.length){this.map.delete(e);return}this.map.set(e,i)}),Os(this,"clear",()=>{this.map.clear()})}get topics(){return Array.from(this.map.keys())}}var zT=Object.defineProperty,KT=Object.defineProperties,VT=Object.getOwnPropertyDescriptors,Ry=Object.getOwnPropertySymbols,HT=Object.prototype.hasOwnProperty,GT=Object.prototype.propertyIsEnumerable,oh=(t,e,n)=>e in t?zT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Mo=(t,e)=>{for(var n in e||(e={}))HT.call(e,n)&&oh(t,n,e[n]);if(Ry)for(var n of Ry(e))GT.call(e,n)&&oh(t,n,e[n]);return t},ah=(t,e)=>KT(t,VT(e)),Pe=(t,e,n)=>oh(t,typeof e!="symbol"?e+"":e,n);class WT extends wP{constructor(e,n){super(e,n),this.relayer=e,this.logger=n,Pe(this,"subscriptions",new Map),Pe(this,"topicMap",new jT),Pe(this,"events",new ut.exports.EventEmitter),Pe(this,"name",ND),Pe(this,"version",UD),Pe(this,"pending",new Map),Pe(this,"cached",[]),Pe(this,"initialized",!1),Pe(this,"storagePrefix",qn),Pe(this,"subscribeTimeout",J.toMiliseconds(J.ONE_MINUTE)),Pe(this,"initialSubscribeTimeout",J.toMiliseconds(J.ONE_SECOND*15)),Pe(this,"clientId"),Pe(this,"batchSubscribeTopicsLimit",500),Pe(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),this.registerEventListeners(),await this.restore()),this.initialized=!0}),Pe(this,"subscribe",async(r,i)=>{var s;this.isInitialized(),this.logger.debug("Subscribing Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:r,opts:i}});try{const o=vc(i),a={topic:r,relay:o,transportType:i?.transportType};(s=i?.internal)!=null&&s.skipSubscribe||this.pending.set(r,a);const c=await this.rpcSubscribe(r,o,i);return typeof c=="string"&&(this.onSubscribe(c,a),this.logger.debug("Successfully Subscribed Topic"),this.logger.trace({type:"method",method:"subscribe",params:{topic:r,opts:i}})),c}catch(o){throw this.logger.debug("Failed to Subscribe Topic"),this.logger.error(o),o}}),Pe(this,"unsubscribe",async(r,i)=>{this.isInitialized(),typeof i?.id<"u"?await this.unsubscribeById(r,i.id,i):await this.unsubscribeByTopic(r,i)}),Pe(this,"isSubscribed",r=>new Promise(i=>{i(this.topicMap.topics.includes(r))})),Pe(this,"isKnownTopic",r=>new Promise(i=>{i(this.topicMap.topics.includes(r)||this.pending.has(r)||this.cached.some(s=>s.topic===r))})),Pe(this,"on",(r,i)=>{this.events.on(r,i)}),Pe(this,"once",(r,i)=>{this.events.once(r,i)}),Pe(this,"off",(r,i)=>{this.events.off(r,i)}),Pe(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),Pe(this,"start",async()=>{await this.onConnect()}),Pe(this,"stop",async()=>{await this.onDisconnect()}),Pe(this,"restart",async()=>{await this.restore(),await this.onRestart()}),Pe(this,"checkPending",async()=>{if(this.pending.size===0&&(!this.initialized||!this.relayer.connected))return;const r=[];this.pending.forEach(i=>{r.push(i)}),await this.batchSubscribe(r)}),Pe(this,"registerEventListeners",()=>{this.relayer.core.heartbeat.on(qi.pulse,async()=>{await this.checkPending()}),this.events.on(Qt.created,async r=>{const i=Qt.created;this.logger.info(`Emitting ${i}`),this.logger.debug({type:"event",event:i,data:r}),await this.persist()}),this.events.on(Qt.deleted,async r=>{const i=Qt.deleted;this.logger.info(`Emitting ${i}`),this.logger.debug({type:"event",event:i,data:r}),await this.persist()})}),this.relayer=e,this.logger=Gt(n,this.name),this.clientId=""}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.relayer.core.customStoragePrefix+"//"+this.name}get length(){return this.subscriptions.size}get ids(){return Array.from(this.subscriptions.keys())}get values(){return Array.from(this.subscriptions.values())}get topics(){return this.topicMap.topics}get hasAnyTopics(){return this.topicMap.topics.length>0||this.pending.size>0||this.cached.length>0||this.subscriptions.size>0}hasSubscription(e,n){let r=!1;try{r=this.getSubscription(e).topic===n}catch{}return r}reset(){this.cached=[],this.initialized=!0}onDisable(){this.values.length>0&&(this.cached=this.values),this.subscriptions.clear(),this.topicMap.clear()}async unsubscribeByTopic(e,n){const r=this.topicMap.get(e);await Promise.all(r.map(async i=>await this.unsubscribeById(e,i,n)))}async unsubscribeById(e,n,r){this.logger.debug("Unsubscribing Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:r}});try{const i=vc(r);await this.restartToComplete({topic:e,id:n,relay:i}),await this.rpcUnsubscribe(e,n,i);const s=Ue("USER_DISCONNECTED",`${this.name}, ${e}`);await this.onUnsubscribe(e,n,s),this.logger.debug("Successfully Unsubscribed Topic"),this.logger.trace({type:"method",method:"unsubscribe",params:{topic:e,id:n,opts:r}})}catch(i){throw this.logger.debug("Failed to Unsubscribe Topic"),this.logger.error(i),i}}async rpcSubscribe(e,n,r){var i,s;const o=await this.getSubscriptionId(e);if((i=r?.internal)!=null&&i.skipSubscribe)return o;(!r||r?.transportType===Te.relay)&&await this.restartToComplete({topic:e,id:e,relay:n});const a={method:ws(n.protocol).subscribe,params:{topic:e}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:a});const c=(s=r?.internal)==null?void 0:s.throwOnFailedPublish;try{if(r?.transportType===Te.link_mode)return setTimeout(()=>{(this.relayer.connected||this.relayer.connecting)&&this.relayer.request(a).catch(f=>this.logger.warn(f))},J.toMiliseconds(J.ONE_SECOND)),o;const u=new Promise(async f=>{const d=h=>{h.topic===e&&(this.events.removeListener(Qt.created,d),f(h.id))};this.events.on(Qt.created,d);try{const h=await Tn(new Promise((p,w)=>{this.relayer.request(a).catch(m=>{this.logger.warn(m,m?.message),w(m)}).then(p)}),this.initialSubscribeTimeout,`Subscribing to ${e} failed, please try again`);this.events.removeListener(Qt.created,d),f(h)}catch{}}),l=await Tn(u,this.subscribeTimeout,`Subscribing to ${e} failed, please try again`);if(!l&&c)throw new Error(`Subscribing to ${e} failed, please try again`);return l?o:null}catch(u){if(this.logger.debug("Outgoing Relay Subscribe Payload stalled"),this.relayer.events.emit(Le.connection_stalled),c)throw u}return null}async rpcBatchSubscribe(e){if(!e.length)return!0;const n=e[0].relay,r={method:ws(n.protocol).batchSubscribe,params:{topics:e.map(i=>i.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r});try{return await Tn(new Promise((i,s)=>{this.relayer.request(r).then(i).catch(o=>{this.logger.warn(o),s(o)})}),this.subscribeTimeout,"rpcBatchSubscribe failed, please try again"),!0}catch{return this.relayer.events.emit(Le.connection_stalled),!1}}async rpcBatchFetchMessages(e){if(!e.length)return;const n=e[0].relay,r={method:ws(n.protocol).batchFetchMessages,params:{topics:e.map(s=>s.topic)}};this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:r});let i;try{i=await await Tn(new Promise((s,o)=>{this.relayer.request(r).catch(a=>{this.logger.warn(a),o(a)}).then(s)}),this.subscribeTimeout,"rpcBatchFetchMessages failed, please try again")}catch{this.relayer.events.emit(Le.connection_stalled)}return i}rpcUnsubscribe(e,n,r){const i={method:ws(r.protocol).unsubscribe,params:{topic:e,id:n}};return this.logger.debug("Outgoing Relay Payload"),this.logger.trace({type:"payload",direction:"outgoing",request:i}),this.relayer.request(i)}onSubscribe(e,n){this.setSubscription(e,ah(Mo({},n),{id:e})),this.pending.delete(n.topic)}onBatchSubscribe(e){e.length&&e.forEach(n=>{this.setSubscription(n.id,Mo({},n)),this.pending.delete(n.topic)})}async onUnsubscribe(e,n,r){this.events.removeAllListeners(n),this.hasSubscription(n,e)&&this.deleteSubscription(n,r),await this.relayer.messages.del(e)}async setRelayerSubscriptions(e){await this.relayer.core.storage.setItem(this.storageKey,e)}async getRelayerSubscriptions(){return await this.relayer.core.storage.getItem(this.storageKey)}setSubscription(e,n){this.logger.debug("Setting subscription"),this.logger.trace({type:"method",method:"setSubscription",id:e,subscription:n}),this.addSubscription(e,n)}addSubscription(e,n){this.subscriptions.set(e,Mo({},n)),this.topicMap.set(n.topic,e),this.events.emit(Qt.created,n)}getSubscription(e){this.logger.debug("Getting subscription"),this.logger.trace({type:"method",method:"getSubscription",id:e});const n=this.subscriptions.get(e);if(!n){const{message:r}=_("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(r)}return n}deleteSubscription(e,n){this.logger.debug("Deleting subscription"),this.logger.trace({type:"method",method:"deleteSubscription",id:e,reason:n});const r=this.getSubscription(e);this.subscriptions.delete(e),this.topicMap.delete(r.topic,e),this.events.emit(Qt.deleted,ah(Mo({},r),{reason:n}))}async persist(){await this.setRelayerSubscriptions(this.values),this.events.emit(Qt.sync)}async onRestart(){if(this.cached.length){const e=[...this.cached],n=Math.ceil(this.cached.length/this.batchSubscribeTopicsLimit);for(let r=0;r<n;r++){const i=e.splice(0,this.batchSubscribeTopicsLimit);await this.batchSubscribe(i)}}this.events.emit(Qt.resubscribed)}async restore(){try{const e=await this.getRelayerSubscriptions();if(typeof e>"u"||!e.length)return;if(this.subscriptions.size&&!e.every(n=>{var r;return n.topic===((r=this.subscriptions.get(n.id))==null?void 0:r.topic)})){const{message:n}=_("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),this.logger.error(`${this.name}: ${JSON.stringify(this.values)}`),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored subscriptions for ${this.name}`),this.logger.trace({type:"method",method:"restore",subscriptions:this.values})}catch(e){this.logger.debug(`Failed to Restore subscriptions for ${this.name}`),this.logger.error(e)}}async batchSubscribe(e){if(e.length){if(!await this.rpcBatchSubscribe(e)){this.logger.warn(`Batch subscribe failed for ${e.length} topics, adding to pending for retry`),e.forEach(n=>{this.pending.set(n.topic,n)});return}this.onBatchSubscribe(await Promise.all(e.map(async n=>ah(Mo({},n),{id:await this.getSubscriptionId(n.topic)}))))}}async batchFetchMessages(e){if(!e.length)return;this.logger.trace(`Fetching batch messages for ${e.length} subscriptions`);const n=await this.rpcBatchFetchMessages(e);n&&n.messages&&(await dI(J.toMiliseconds(J.ONE_SECOND)),await this.relayer.handleBatchMessageEvents(n.messages))}async onConnect(){await this.restart(),this.reset()}onDisconnect(){this.onDisable()}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}async restartToComplete(e){!this.relayer.connected&&!this.relayer.connecting&&(this.cached.push(e),await this.relayer.transportOpen())}async getClientId(){return this.clientId||(this.clientId=await this.relayer.core.crypto.getClientId()),this.clientId}async getSubscriptionId(e){return an(e+await this.getClientId())}}var ZT=Object.defineProperty,Ty=Object.getOwnPropertySymbols,YT=Object.prototype.hasOwnProperty,XT=Object.prototype.propertyIsEnumerable,ch=(t,e,n)=>e in t?ZT(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ny=(t,e)=>{for(var n in e||(e={}))YT.call(e,n)&&ch(t,n,e[n]);if(Ty)for(var n of Ty(e))XT.call(e,n)&&ch(t,n,e[n]);return t},pe=(t,e,n)=>ch(t,typeof e!="symbol"?e+"":e,n);class JT extends gP{constructor(e){var n;super(e),pe(this,"protocol","wc"),pe(this,"version",2),pe(this,"core"),pe(this,"logger"),pe(this,"events",new ut.exports.EventEmitter),pe(this,"provider"),pe(this,"messages"),pe(this,"subscriber"),pe(this,"publisher"),pe(this,"name",AD),pe(this,"transportExplicitlyClosed",!1),pe(this,"initialized",!1),pe(this,"connectionAttemptInProgress",!1),pe(this,"relayUrl"),pe(this,"projectId"),pe(this,"packageName"),pe(this,"bundleId"),pe(this,"hasExperiencedNetworkDisruption",!1),pe(this,"pingTimeout"),pe(this,"heartBeatTimeout",J.toMiliseconds(J.THIRTY_SECONDS+J.FIVE_SECONDS)),pe(this,"reconnectTimeout"),pe(this,"connectPromise"),pe(this,"reconnectInProgress",!1),pe(this,"requestsInFlight",[]),pe(this,"connectTimeout",J.toMiliseconds(J.ONE_SECOND*15)),pe(this,"stalledRestartInProgress",!1),pe(this,"stalledRestartTimeout"),pe(this,"stalledRestartBackoff",0),pe(this,"stalledRestartBaseInterval",J.toMiliseconds(J.ONE_SECOND*2)),pe(this,"stalledRestartMaxInterval",J.toMiliseconds(J.THIRTY_SECONDS)),pe(this,"request",async r=>{var i,s;this.logger.debug("Publishing Request Payload");const o=r.id||ri().toString();await this.toEstablishConnection();try{this.logger.trace({id:o,method:r.method,topic:(i=r.params)==null?void 0:i.topic},"relayer.request - publishing...");const a=`${o}:${((s=r.params)==null?void 0:s.tag)||""}`;this.requestsInFlight.push(a);const c=await this.provider.request(r);return this.requestsInFlight=this.requestsInFlight.filter(u=>u!==a),c}catch(a){throw this.logger.debug(`Failed to Publish Request: ${o}`),a}}),pe(this,"resetPingTimeout",()=>{uo()&&(clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{var r,i,s,o;try{this.logger.debug({},"pingTimeout: Connection stalled, terminating..."),(o=(s=(i=(r=this.provider)==null?void 0:r.connection)==null?void 0:i.socket)==null?void 0:s.terminate)==null||o.call(s)}catch(a){this.logger.warn(a,a?.message)}},this.heartBeatTimeout))}),pe(this,"onPayloadHandler",r=>{this.onProviderPayload(r),this.resetPingTimeout()}),pe(this,"onConnectHandler",()=>{this.logger.warn({},"Relayer connected \u{1F6DC}"),this.startPingTimeout(),this.events.emit(Le.connect)}),pe(this,"onDisconnectHandler",()=>{this.logger.warn({},"Relayer disconnected \u{1F6D1}"),this.requestsInFlight=[],this.onProviderDisconnect()}),pe(this,"onProviderErrorHandler",r=>{this.logger.fatal(`Fatal socket error: ${r.message}`),this.events.emit(Le.error,r),this.logger.fatal("Fatal socket error received, closing transport"),this.transportExplicitlyClosed=!0,clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,this.reconnectInProgress=!1,this.transportClose().catch(i=>this.logger.warn(i))}),pe(this,"registerProviderListeners",()=>{this.provider.on(ln.payload,this.onPayloadHandler),this.provider.on(ln.connect,this.onConnectHandler),this.provider.on(ln.disconnect,this.onDisconnectHandler),this.provider.on(ln.error,this.onProviderErrorHandler)}),this.core=e.core,this.logger=dw({logger:(n=e.logger)!=null?n:OD,name:this.name}),this.messages=new TT(this.logger,e.core),this.subscriber=new WT(this,this.logger),this.publisher=new kT(this,this.logger),this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||ay,p1()?this.packageName=Gl():g1()&&(this.bundleId=Gl()),this.provider={}}async init(){this.logger.trace("Initialized"),this.registerEventListeners(),await Promise.all([this.messages.init(),this.subscriber.init()]),this.initialized=!0,this.transportOpen().catch(e=>this.logger.warn(e,e?.message))}get context(){return Rt(this.logger)}get connected(){var e,n,r;return((r=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:r.readyState)===1||!1}get connecting(){var e,n,r;return((r=(n=(e=this.provider)==null?void 0:e.connection)==null?void 0:n.socket)==null?void 0:r.readyState)===0||this.connectPromise!==void 0||!1}async publish(e,n,r){this.isInitialized(),await this.publisher.publish(e,n,r),await this.recordMessageEvent({topic:e,message:n,publishedAt:Date.now(),transportType:Te.relay},Fc.outbound)}async publishCustom(e){this.isInitialized(),await this.publisher.publishCustom(e)}async subscribe(e,n){var r,i,s;this.isInitialized(),(!(n!=null&&n.transportType)||n?.transportType==="relay")&&await this.toEstablishConnection();const o=typeof((r=n?.internal)==null?void 0:r.throwOnFailedPublish)>"u"?!0:(i=n?.internal)==null?void 0:i.throwOnFailedPublish;let a=((s=this.subscriber.topicMap.get(e))==null?void 0:s[0])||"",c;const u=l=>{l.topic===e&&(this.subscriber.off(Qt.created,u),c())};return await Promise.all([new Promise(l=>{c=l,this.subscriber.on(Qt.created,u)}),new Promise(async(l,f)=>{a=await this.subscriber.subscribe(e,Ny({internal:{throwOnFailedPublish:o}},n)).catch(d=>{o&&f(d)})||a,l()})]),a}async unsubscribe(e,n){this.isInitialized(),await this.subscriber.unsubscribe(e,n)}on(e,n){this.events.on(e,n)}once(e,n){this.events.once(e,n)}off(e,n){this.events.off(e,n)}removeListener(e,n){this.events.removeListener(e,n)}async transportDisconnect(){this.provider.disconnect&&(this.hasExperiencedNetworkDisruption||this.connected)?await Tn(this.provider.disconnect(),2e3,"provider.disconnect()").catch(()=>this.onProviderDisconnect()):this.onProviderDisconnect()}async transportClose(){this.transportExplicitlyClosed=!0,clearTimeout(this.stalledRestartTimeout),this.stalledRestartInProgress=!1,this.stalledRestartBackoff=0,await this.resetTransport()}async transportOpen(e){if(!this.subscriber.hasAnyTopics){this.logger.info("Starting WS connection skipped because the client has no topics to work with.");return}if(this.connectPromise?(this.logger.debug({},"Waiting for existing connection attempt to resolve..."),await this.connectPromise,this.logger.debug({},"Existing connection attempt resolved")):(this.connectPromise=new Promise(async(n,r)=>{await this.connect(e).then(n).catch(r).finally(()=>{this.connectPromise=void 0})}),await this.connectPromise),!this.connected)throw new Error(`Couldn't establish socket connection to the relay server: ${this.relayUrl}`)}async restartTransport(e){this.logger.debug({},"Restarting transport..."),!this.connectionAttemptInProgress&&(this.relayUrl=e||this.relayUrl,await this.confirmOnlineStateOrThrow(),await this.resetTransport(),await this.transportOpen())}async resetTransport(){this.reconnectInProgress=!0,clearTimeout(this.reconnectTimeout),this.reconnectTimeout=void 0,await this.transportDisconnect(),await this.subscriber.stop(),this.reconnectInProgress=!1}async confirmOnlineStateOrThrow(){if(!await hw())throw new Error("No internet connection detected. Please restart your network and try again.")}async handleBatchMessageEvents(e){if(e?.length===0){this.logger.trace("Batch message events is empty. Ignoring...");return}const n=e.sort((r,i)=>r.publishedAt-i.publishedAt);this.logger.debug(`Batch of ${n.length} message events sorted`);for(const r of n)try{await this.onMessageEvent(r)}catch(i){this.logger.warn(i,"Error while processing batch message event: "+i?.message)}this.logger.trace(`Batch of ${n.length} message events processed`)}async onLinkMessageEvent(e,n){const{topic:r}=e;if(!n.sessionExists){const i=Ve(J.FIVE_MINUTES),s={topic:r,expiry:i,relay:{protocol:"irn"},active:!1};await this.core.pairing.pairings.set(r,s)}this.events.emit(Le.message,e),await this.recordMessageEvent(e,Fc.inbound)}async connect(e){await this.confirmOnlineStateOrThrow(),e&&e!==this.relayUrl&&(this.relayUrl=e,await this.transportDisconnect()),this.connectionAttemptInProgress=!0,this.transportExplicitlyClosed=!1;let n=1;for(;n<6;){try{if(this.transportExplicitlyClosed)break;this.logger.debug({},`Connecting to ${this.relayUrl}, attempt: ${n}...`),await this.createProvider(),await new Promise(async(r,i)=>{const s=()=>{i(new Error("Connection interrupted while trying to connect"))};this.provider.once(ln.disconnect,s),await Tn(new Promise((o,a)=>{this.provider.connect().then(o).catch(a)}),this.connectTimeout,`Socket stalled when trying to connect to ${this.relayUrl}`).catch(o=>{i(o)}).finally(()=>{this.provider.off(ln.disconnect,s),clearTimeout(this.reconnectTimeout)}),await new Promise(async(o,a)=>{const c=()=>{i(new Error("Connection interrupted while trying to subscribe"))};this.provider.once(ln.disconnect,c),await this.subscriber.start().then(o).catch(a).finally(()=>{this.provider.off(ln.disconnect,c)})}),this.hasExperiencedNetworkDisruption=!1,r()})}catch(r){await this.subscriber.stop();const i=r;this.logger.warn({},i.message),this.hasExperiencedNetworkDisruption=!0}finally{this.connectionAttemptInProgress=!1}if(this.connected){this.logger.debug({},`Connected to ${this.relayUrl} successfully on attempt: ${n}`);break}await new Promise(r=>setTimeout(r,J.toMiliseconds(n*1))),n++}}startPingTimeout(){var e,n,r,i,s;if(uo())try{(n=(e=this.provider)==null?void 0:e.connection)!=null&&n.socket&&((s=(i=(r=this.provider)==null?void 0:r.connection)==null?void 0:i.socket)==null||s.on("ping",()=>{this.resetPingTimeout()})),this.resetPingTimeout()}catch(o){this.logger.warn(o,o?.message)}}async createProvider(){this.provider.connection&&this.unregisterProviderListeners();const e=await this.core.crypto.signJWT(this.relayUrl);this.provider=new fD(new gD(rI({sdkVersion:eh,protocol:this.protocol,version:this.version,relayUrl:this.relayUrl,projectId:this.projectId,auth:e,useOnCloseEvent:!0,bundleId:this.bundleId,packageName:this.packageName}))),this.registerProviderListeners()}async recordMessageEvent(e,n){const{topic:r,message:i}=e;await this.messages.set(r,i,n)}async shouldIgnoreMessageEvent(e){const{topic:n,message:r}=e;if(!r||r.length===0)return this.logger.warn(`Ignoring invalid/empty message: ${r}`),!0;if(!await this.subscriber.isKnownTopic(n))return this.logger.warn(`Ignoring message for unknown topic ${n}`),!0;const i=this.messages.has(n,r);return i&&this.logger.warn(`Ignoring duplicate message: ${r}`),i}async onProviderPayload(e){if(this.logger.debug("Incoming Relay Payload"),this.logger.trace({type:"payload",direction:"incoming",payload:e}),$f(e)){if(!e.method.endsWith(PD))return;const n=e.params,{topic:r,message:i,publishedAt:s,attestation:o}=n.data,a={topic:r,message:i,publishedAt:s,transportType:Te.relay,attestation:o};this.logger.debug("Emitting Relayer Payload"),this.logger.trace(Ny({type:"event",event:n.id},a)),this.events.emit(n.id,a),await this.acknowledgePayload(e),await this.onMessageEvent(a)}else Uc(e)&&this.events.emit(Le.message_ack,e)}async onMessageEvent(e){await this.shouldIgnoreMessageEvent(e)||(await this.recordMessageEvent(e,Fc.inbound),this.events.emit(Le.message,e))}async acknowledgePayload(e){const n=Nc(e.id,!0);await this.provider.connection.send(n)}unregisterProviderListeners(){this.provider.off(ln.payload,this.onPayloadHandler),this.provider.off(ln.connect,this.onConnectHandler),this.provider.off(ln.disconnect,this.onDisconnectHandler),this.provider.off(ln.error,this.onProviderErrorHandler),clearTimeout(this.pingTimeout)}async registerEventListeners(){let e=await hw();eO(async n=>{e!==n&&(e=n,n?await this.transportOpen().catch(r=>this.logger.error(r,r?.message)):(this.hasExperiencedNetworkDisruption=!0,await this.transportDisconnect(),this.transportExplicitlyClosed=!1))}),this.core.heartbeat.on(qi.pulse,async()=>{if(!this.transportExplicitlyClosed&&!this.connected&&rO())try{await this.confirmOnlineStateOrThrow(),await this.transportOpen()}catch(n){this.logger.warn(n,n?.message)}}),this.events.on(Le.connection_stalled,()=>{if(this.transportExplicitlyClosed||this.stalledRestartInProgress)return;this.stalledRestartInProgress=!0;const n=this.stalledRestartBackoff===0?0:Math.min(Math.pow(2,this.stalledRestartBackoff-1)*this.stalledRestartBaseInterval,this.stalledRestartMaxInterval);this.stalledRestartBackoff++,this.logger.warn(`Connection stalled, restarting transport${n?` in ${n}ms`:""}...`),this.stalledRestartTimeout=setTimeout(async()=>{try{if(this.transportExplicitlyClosed)return;await this.restartTransport()}catch(r){this.logger.error(r,r?.message)}finally{this.stalledRestartInProgress=!1}},n)})}async onProviderDisconnect(){clearTimeout(this.pingTimeout),this.events.emit(Le.disconnect),this.connectionAttemptInProgress=!1,!this.reconnectInProgress&&(this.reconnectInProgress=!0,await this.subscriber.stop(),this.subscriber.hasAnyTopics&&(this.transportExplicitlyClosed||(this.reconnectTimeout=setTimeout(async()=>{await this.transportOpen().catch(e=>this.logger.error(e,e?.message)),this.reconnectTimeout=void 0,this.reconnectInProgress=!1},J.toMiliseconds(DD)))))}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}async toEstablishConnection(){if(await this.confirmOnlineStateOrThrow(),!this.connected){if(this.connectPromise){await this.connectPromise;return}await this.connect()}}}function QT(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}function Uy(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function Cy(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const _T="[object RegExp]",$T="[object String]",eN="[object Number]",tN="[object Boolean]",Fy="[object Arguments]",nN="[object Symbol]",rN="[object Date]",iN="[object Map]",sN="[object Set]",oN="[object Array]",aN="[object Function]",cN="[object ArrayBuffer]",uh="[object Object]",uN="[object Error]",lN="[object DataView]",fN="[object Uint8Array]",hN="[object Uint8ClampedArray]",dN="[object Uint16Array]",pN="[object Uint32Array]",gN="[object BigUint64Array]",bN="[object Int8Array]",wN="[object Int16Array]",yN="[object Int32Array]",mN="[object BigInt64Array]",vN="[object Float32Array]",EN="[object Float64Array]";function qy(t){if(!t||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e===null||e===Object.prototype||Object.getPrototypeOf(e)===null?Object.prototype.toString.call(t)==="[object Object]":!1}function xN(t,e,n){return jo(t,e,void 0,void 0,void 0,void 0,n)}function jo(t,e,n,r,i,s,o){const a=o(t,e,n,r,i,s);if(a!==void 0)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return t===e;case"number":return t===e||Object.is(t,e);case"function":return t===e;case"object":return zo(t,e,s,o)}return zo(t,e,s,o)}function zo(t,e,n,r){if(Object.is(t,e))return!0;let i=Cy(t),s=Cy(e);if(i===Fy&&(i=uh),s===Fy&&(s=uh),i!==s)return!1;switch(i){case $T:return t.toString()===e.toString();case eN:{const c=t.valueOf(),u=e.valueOf();return QT(c,u)}case tN:case rN:case nN:return Object.is(t.valueOf(),e.valueOf());case _T:return t.source===e.source&&t.flags===e.flags;case aN:return t===e}n=n??new Map;const o=n.get(t),a=n.get(e);if(o!=null&&a!=null)return o===e;n.set(t,e),n.set(e,t);try{switch(i){case iN:{if(t.size!==e.size)return!1;for(const[c,u]of t.entries())if(!e.has(c)||!jo(u,e.get(c),c,t,e,n,r))return!1;return!0}case sN:{if(t.size!==e.size)return!1;const c=Array.from(t.values()),u=Array.from(e.values());for(let l=0;l<c.length;l++){const f=c[l],d=u.findIndex(h=>jo(f,h,void 0,t,e,n,r));if(d===-1)return!1;u.splice(d,1)}return!0}case oN:case fN:case hN:case dN:case pN:case gN:case bN:case wN:case yN:case mN:case vN:case EN:{if(typeof Buffer<"u"&&Buffer.isBuffer(t)!==Buffer.isBuffer(e)||t.length!==e.length)return!1;for(let c=0;c<t.length;c++)if(!jo(t[c],e[c],c,t,e,n,r))return!1;return!0}case cN:return t.byteLength!==e.byteLength?!1:zo(new Uint8Array(t),new Uint8Array(e),n,r);case lN:return t.byteLength!==e.byteLength||t.byteOffset!==e.byteOffset?!1:zo(new Uint8Array(t),new Uint8Array(e),n,r);case uN:return t.name===e.name&&t.message===e.message;case uh:{if(!(zo(t.constructor,e.constructor,n,r)||qy(t)&&qy(e)))return!1;const c=[...Object.keys(t),...Uy(t)],u=[...Object.keys(e),...Uy(e)];if(c.length!==u.length)return!1;for(let l=0;l<c.length;l++){const f=c[l],d=t[f];if(!Object.hasOwn(e,f))return!1;const h=e[f];if(!jo(d,h,f,t,e,n,r))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(e)}}function IN(){}function SN(t,e){return xN(t,e,IN)}var BN=Object.defineProperty,ky=Object.getOwnPropertySymbols,ON=Object.prototype.hasOwnProperty,AN=Object.prototype.propertyIsEnumerable,lh=(t,e,n)=>e in t?BN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ly=(t,e)=>{for(var n in e||(e={}))ON.call(e,n)&&lh(t,n,e[n]);if(ky)for(var n of ky(e))AN.call(e,n)&&lh(t,n,e[n]);return t},Kt=(t,e,n)=>lh(t,typeof e!="symbol"?e+"":e,n);class zi extends bP{constructor(e,n,r,i=qn,s=void 0){super(e,n,r,i),this.core=e,this.logger=n,this.name=r,Kt(this,"map",new Map),Kt(this,"version",RD),Kt(this,"cached",[]),Kt(this,"initialized",!1),Kt(this,"getKey"),Kt(this,"storagePrefix",qn),Kt(this,"recentlyDeleted",[]),Kt(this,"recentlyDeletedLimit",200),Kt(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(o=>{this.getKey&&o!==null&&!Ge(o)?this.map.set(this.getKey(o),o):TB(o)?this.map.set(o.id,o):NB(o)&&this.map.set(o.topic,o)}),this.cached=[],this.initialized=!0)}),Kt(this,"set",async(o,a)=>{this.isInitialized(),this.map.has(o)?await this.update(o,a):(this.logger.debug("Setting value"),this.logger.trace({type:"method",method:"set",key:o,value:a}),this.map.set(o,a),await this.persist())}),Kt(this,"get",o=>(this.isInitialized(),this.logger.debug("Getting value"),this.logger.trace({type:"method",method:"get",key:o}),this.getData(o))),Kt(this,"getAll",o=>(this.isInitialized(),o?this.values.filter(a=>Object.keys(o).every(c=>SN(a[c],o[c]))):this.values)),Kt(this,"update",async(o,a)=>{this.isInitialized(),this.logger.debug("Updating value"),this.logger.trace({type:"method",method:"update",key:o,update:a});const c=Ly(Ly({},this.getData(o)),a);this.map.set(o,c),await this.persist()}),Kt(this,"delete",async(o,a)=>{this.isInitialized(),this.map.has(o)&&(this.logger.debug("Deleting value"),this.logger.trace({type:"method",method:"delete",key:o,reason:a}),this.map.delete(o),this.addToRecentlyDeleted(o),await this.persist())}),this.logger=Gt(n,this.name),this.storagePrefix=i,this.getKey=s}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.map.size}get keys(){return Array.from(this.map.keys())}get values(){return Array.from(this.map.values())}addToRecentlyDeleted(e){this.recentlyDeleted.push(e),this.recentlyDeleted.length>=this.recentlyDeletedLimit&&this.recentlyDeleted.splice(0,this.recentlyDeletedLimit/2)}async setDataStore(e){await this.core.storage.setItem(this.storageKey,e)}async getDataStore(){return await this.core.storage.getItem(this.storageKey)}getData(e){const n=this.map.get(e);if(!n){if(this.recentlyDeleted.includes(e)){const{message:i}=_("MISSING_OR_INVALID",`Record was recently deleted - ${this.name}: ${e}`);throw this.logger.error(i),new Error(i)}const{message:r}=_("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.error(r),new Error(r)}return n}async persist(){await this.setDataStore(this.values)}async restore(){try{const e=await this.getDataStore();if(typeof e>"u"||!e.length)return;if(this.map.size){const{message:n}=_("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored value for ${this.name}`),this.logger.trace({type:"method",method:"restore",value:this.values})}catch(e){this.logger.debug(`Failed to Restore value for ${this.name}`),this.logger.error(e)}}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var PN=Object.defineProperty,DN=(t,e,n)=>e in t?PN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,be=(t,e,n)=>DN(t,typeof e!="symbol"?e+"":e,n);class RN{constructor(e,n){this.core=e,this.logger=n,be(this,"name",CD),be(this,"version",FD),be(this,"events",new ut.exports),be(this,"pairings"),be(this,"initialized",!1),be(this,"storagePrefix",qn),be(this,"ignoredPayloadTypes",[cr]),be(this,"registeredMethods",[]),be(this,"init",async()=>{this.initialized||(await this.pairings.init(),await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.initialized=!0,this.logger.trace("Initialized"))}),be(this,"register",({methods:r})=>{this.isInitialized(),this.registeredMethods=[...new Set([...this.registeredMethods,...r])]}),be(this,"create",async r=>{this.isInitialized();const i=Of(),s=await this.core.crypto.setSymKey(i),o=Ve(J.FIVE_MINUTES),a={protocol:oy},c={topic:s,expiry:o,relay:a,active:!1,methods:r?.methods},u=$b({protocol:this.core.protocol,version:this.core.version,topic:s,symKey:i,relay:a,expiryTimestamp:o,methods:r?.methods});return this.events.emit(Li.create,c),this.core.expirer.set(s,o),await this.pairings.set(s,c),await this.core.relayer.subscribe(s,{transportType:r?.transportType,internal:r?.internal}),{topic:s,uri:u}}),be(this,"pair",async r=>{this.isInitialized();const i=this.core.eventClient.createEvent({properties:{topic:r?.uri,trace:[kn.pairing_started]}});this.isValidPair(r,i);const{topic:s,symKey:o,relay:a,expiryTimestamp:c,methods:u}=_b(r.uri);i.props.properties.topic=s,i.addTrace(kn.pairing_uri_validation_success),i.addTrace(kn.pairing_uri_not_expired);let l;if(this.pairings.keys.includes(s)){if(l=this.pairings.get(s),i.addTrace(kn.existing_pairing),l.active)throw i.setError(pr.active_pairing_already_exists),new Error(`Pairing already exists: ${s}. Please try again with a new connection URI.`);i.addTrace(kn.pairing_not_expired)}const f=c||Ve(J.FIVE_MINUTES),d={topic:s,relay:a,expiry:f,active:!1,methods:u};this.core.expirer.set(s,f),await this.pairings.set(s,d),i.addTrace(kn.store_new_pairing),r.activatePairing&&await this.activate({topic:s}),this.events.emit(Li.create,d),i.addTrace(kn.emit_inactive_pairing),this.core.crypto.keychain.has(s)||await this.core.crypto.setSymKey(o,s),i.addTrace(kn.subscribing_pairing_topic);try{await this.core.relayer.confirmOnlineStateOrThrow()}catch{i.setError(pr.no_internet_connection)}try{await this.core.relayer.subscribe(s,{relay:a})}catch(h){throw i.setError(pr.subscribe_pairing_topic_failure),h}return i.addTrace(kn.subscribe_pairing_topic_success),d}),be(this,"activate",async({topic:r})=>{this.isInitialized();const i=Ve(J.FIVE_MINUTES);this.core.expirer.set(r,i),await this.pairings.update(r,{active:!0,expiry:i})}),be(this,"ping",async r=>{this.isInitialized(),await this.isValidPing(r),this.logger.warn("ping() is deprecated and will be removed in the next major release.");const{topic:i}=r;if(this.pairings.keys.includes(i)){const s=await this.sendRequest(i,"wc_pairingPing",{}),{done:o,resolve:a,reject:c}=xi();this.events.once(Ee("pairing_ping",s),({error:u})=>{u?c(u):a()}),await o()}}),be(this,"updateExpiry",async({topic:r,expiry:i})=>{this.isInitialized(),await this.pairings.update(r,{expiry:i})}),be(this,"updateMetadata",async({topic:r,metadata:i})=>{this.isInitialized(),await this.pairings.update(r,{peerMetadata:i})}),be(this,"getPairings",()=>(this.isInitialized(),this.pairings.values)),be(this,"disconnect",async r=>{this.isInitialized(),await this.isValidDisconnect(r);const{topic:i}=r;this.pairings.keys.includes(i)&&(await this.sendRequest(i,"wc_pairingDelete",Ue("USER_DISCONNECTED")),await this.deletePairing(i))}),be(this,"formatUriFromPairing",r=>{this.isInitialized();const{topic:i,relay:s,expiry:o,methods:a}=r,c=this.core.crypto.keychain.get(i);return $b({protocol:this.core.protocol,version:this.core.version,topic:i,symKey:c,relay:s,expiryTimestamp:o,methods:a})}),be(this,"sendRequest",async(r,i,s)=>{const o=dr(i,s),a=await this.core.crypto.encode(r,o),c=Fo[i].req;return this.core.history.set(r,o),this.core.relayer.publish(r,a,c),o.id}),be(this,"sendResult",async(r,i,s)=>{const o=Nc(r,s),a=await this.core.crypto.encode(i,o),c=(await this.core.history.get(i,r)).request.method,u=Fo[c].res;await this.core.relayer.publish(i,a,u),await this.core.history.resolve(o)}),be(this,"sendError",async(r,i,s)=>{const o=_f(r,s),a=await this.core.crypto.encode(i,o),c=(await this.core.history.get(i,r)).request.method,u=Fo[c]?Fo[c].res:Fo.unregistered_method.res;await this.core.relayer.publish(i,a,u),await this.core.history.resolve(o)}),be(this,"deletePairing",async(r,i)=>{await this.core.relayer.unsubscribe(r),await Promise.all([this.pairings.delete(r,Ue("USER_DISCONNECTED")),this.core.crypto.deleteSymKey(r),i?Promise.resolve():this.core.expirer.del(r)])}),be(this,"cleanup",async()=>{const r=this.pairings.getAll().filter(i=>Lr(i.expiry));await Promise.all(r.map(i=>this.deletePairing(i.topic)))}),be(this,"onRelayEventRequest",async r=>{const{topic:i,payload:s}=r;switch(s.method){case"wc_pairingPing":return await this.onPairingPingRequest(i,s);case"wc_pairingDelete":return await this.onPairingDeleteRequest(i,s);default:return await this.onUnknownRpcMethodRequest(i,s)}}),be(this,"onRelayEventResponse",async r=>{const{topic:i,payload:s}=r,o=(await this.core.history.get(i,s.id)).request.method;switch(o){case"wc_pairingPing":return this.onPairingPingResponse(i,s);default:return this.onUnknownRpcMethodResponse(o)}}),be(this,"onPairingPingRequest",async(r,i)=>{const{id:s}=i;try{this.isValidPing({topic:r}),await this.sendResult(s,r,!0),this.events.emit(Li.ping,{id:s,topic:r})}catch(o){await this.sendError(s,r,o),this.logger.error(o)}}),be(this,"onPairingPingResponse",(r,i)=>{const{id:s}=i;setTimeout(()=>{Fn(i)?this.events.emit(Ee("pairing_ping",s),{}):un(i)&&this.events.emit(Ee("pairing_ping",s),{error:i.error})},500)}),be(this,"onPairingDeleteRequest",async(r,i)=>{const{id:s}=i;try{this.isValidDisconnect({topic:r}),await this.deletePairing(r),this.events.emit(Li.delete,{id:s,topic:r})}catch(o){await this.sendError(s,r,o),this.logger.error(o)}}),be(this,"onUnknownRpcMethodRequest",async(r,i)=>{const{id:s,method:o}=i;try{if(this.registeredMethods.includes(o))return;const a=Ue("WC_METHOD_UNSUPPORTED",o);await this.sendError(s,r,a),this.logger.error(a)}catch(a){await this.sendError(s,r,a),this.logger.error(a)}}),be(this,"onUnknownRpcMethodResponse",r=>{this.registeredMethods.includes(r)||this.logger.error(Ue("WC_METHOD_UNSUPPORTED",r))}),be(this,"isValidPair",(r,i)=>{var s;if(!jt(r)){const{message:a}=_("MISSING_OR_INVALID",`pair() params: ${r}`);throw i.setError(pr.malformed_pairing_uri),new Error(a)}if(!RB(r.uri)){const{message:a}=_("MISSING_OR_INVALID",`pair() uri: ${r.uri}`);throw i.setError(pr.malformed_pairing_uri),new Error(a)}const o=_b(r?.uri);if(!((s=o?.relay)!=null&&s.protocol)){const{message:a}=_("MISSING_OR_INVALID","pair() uri#relay-protocol");throw i.setError(pr.malformed_pairing_uri),new Error(a)}if(!(o!=null&&o.symKey)){const{message:a}=_("MISSING_OR_INVALID","pair() uri#symKey");throw i.setError(pr.malformed_pairing_uri),new Error(a)}if(o!=null&&o.expiryTimestamp&&J.toMiliseconds(o?.expiryTimestamp)<Date.now()){i.setError(pr.pairing_expired);const{message:a}=_("EXPIRED","pair() URI has expired. Please try again with a new connection URI.");throw new Error(a)}}),be(this,"isValidPing",async r=>{if(!jt(r)){const{message:s}=_("MISSING_OR_INVALID",`ping() params: ${r}`);throw new Error(s)}const{topic:i}=r;await this.isValidPairingTopic(i)}),be(this,"isValidDisconnect",async r=>{if(!jt(r)){const{message:s}=_("MISSING_OR_INVALID",`disconnect() params: ${r}`);throw new Error(s)}const{topic:i}=r;await this.isValidPairingTopic(i)}),be(this,"isValidPairingTopic",async r=>{if(!Me(r,!1)){const{message:i}=_("MISSING_OR_INVALID",`pairing topic should be a string: ${r}`);throw new Error(i)}if(!this.pairings.keys.includes(r)){const{message:i}=_("NO_MATCHING_KEY",`pairing topic doesn't exist: ${r}`);throw new Error(i)}if(Lr(this.pairings.get(r).expiry)){await this.deletePairing(r);const{message:i}=_("EXPIRED",`pairing topic: ${r}`);throw new Error(i)}}),this.core=e,this.logger=Gt(n,this.name),this.pairings=new zi(this.core,this.logger,this.name,this.storagePrefix)}get context(){return Rt(this.logger)}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}registerRelayerEvents(){this.core.relayer.on(Le.message,async e=>{const{topic:n,message:r,transportType:i}=e;if(this.pairings.keys.includes(n)&&i!==Te.link_mode&&!this.ignoredPayloadTypes.includes(this.core.crypto.getPayloadType(r)))try{const s=await this.core.crypto.decode(n,r);$f(s)?(this.core.history.set(n,s),await this.onRelayEventRequest({topic:n,payload:s})):Uc(s)&&(await this.core.history.resolve(s),await this.onRelayEventResponse({topic:n,payload:s}),this.core.history.delete(n,s.id)),await this.core.relayer.messages.ack(n,r)}catch(s){this.logger.error(s)}})}registerExpirerEvents(){this.core.expirer.on(fn.expired,async e=>{const{topic:n}=m1(e.target);n&&this.pairings.keys.includes(n)&&(await this.deletePairing(n,!0),this.events.emit(Li.expire,{topic:n}))})}}var TN=Object.defineProperty,NN=(t,e,n)=>e in t?TN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,it=(t,e,n)=>NN(t,typeof e!="symbol"?e+"":e,n);class UN extends hP{constructor(e,n){super(e,n),this.core=e,this.logger=n,it(this,"records",new Map),it(this,"events",new ut.exports.EventEmitter),it(this,"name",qD),it(this,"version",kD),it(this,"cached",[]),it(this,"initialized",!1),it(this,"storagePrefix",qn),it(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(r=>this.records.set(r.id,r)),this.cached=[],this.registerEventListeners(),this.initialized=!0)}),it(this,"set",(r,i,s)=>{if(this.isInitialized(),this.logger.debug("Setting JSON-RPC request history record"),this.logger.trace({type:"method",method:"set",topic:r,request:i,chainId:s}),this.records.has(i.id))return;const o={id:i.id,topic:r,request:{method:i.method,params:i.params||null},chainId:s,expiry:Ve(J.THIRTY_DAYS)};this.records.set(o.id,o),this.persist(),this.events.emit(xn.created,o)}),it(this,"resolve",async r=>{if(this.isInitialized(),this.logger.debug("Updating JSON-RPC response history record"),this.logger.trace({type:"method",method:"update",response:r}),!this.records.has(r.id))return;const i=await this.getRecord(r.id);typeof i.response>"u"&&(i.response=un(r)?{error:r.error}:{result:r.result},this.records.set(i.id,i),this.persist(),this.events.emit(xn.updated,i))}),it(this,"get",async(r,i)=>(this.isInitialized(),this.logger.debug("Getting record"),this.logger.trace({type:"method",method:"get",topic:r,id:i}),await this.getRecord(i))),it(this,"delete",(r,i)=>{this.isInitialized(),this.logger.debug("Deleting record"),this.logger.trace({type:"method",method:"delete",id:i}),this.values.forEach(s=>{if(s.topic===r){if(typeof i<"u"&&s.id!==i)return;this.records.delete(s.id),this.events.emit(xn.deleted,s)}}),this.persist()}),it(this,"exists",async(r,i)=>(this.isInitialized(),this.records.has(i)?(await this.getRecord(i)).topic===r:!1)),it(this,"on",(r,i)=>{this.events.on(r,i)}),it(this,"once",(r,i)=>{this.events.once(r,i)}),it(this,"off",(r,i)=>{this.events.off(r,i)}),it(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.logger=Gt(n,this.name)}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get size(){return this.records.size}get keys(){return Array.from(this.records.keys())}get values(){return Array.from(this.records.values())}get pending(){const e=[];return this.values.forEach(n=>{if(typeof n.response<"u")return;const r={topic:n.topic,request:dr(n.request.method,n.request.params,n.id),chainId:n.chainId};return e.push(r)}),e}async setJsonRpcRecords(e){await this.core.storage.setItem(this.storageKey,e)}async getJsonRpcRecords(){return await this.core.storage.getItem(this.storageKey)}getRecord(e){this.isInitialized();const n=this.records.get(e);if(!n){const{message:r}=_("NO_MATCHING_KEY",`${this.name}: ${e}`);throw new Error(r)}return n}async persist(){await this.setJsonRpcRecords(this.values),this.events.emit(xn.sync)}async restore(){try{const e=await this.getJsonRpcRecords();if(typeof e>"u"||!e.length)return;if(this.records.size){const{message:n}=_("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored records for ${this.name}`),this.logger.trace({type:"method",method:"restore",records:this.values})}catch(e){this.logger.debug(`Failed to Restore records for ${this.name}`),this.logger.error(e)}}registerEventListeners(){this.events.on(xn.created,e=>{const n=xn.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(xn.updated,e=>{const n=xn.updated;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.events.on(xn.deleted,e=>{const n=xn.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,record:e})}),this.core.heartbeat.on(qi.pulse,()=>{this.cleanup()})}cleanup(){try{this.isInitialized();let e=!1;this.records.forEach(n=>{J.toMiliseconds(n.expiry||0)-Date.now()<=0&&(this.logger.info(`Deleting expired history log: ${n.id}`),this.records.delete(n.id),this.events.emit(xn.deleted,n,!1),e=!0)}),e&&this.persist()}catch(e){this.logger.warn(e)}}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var CN=Object.defineProperty,FN=(t,e,n)=>e in t?CN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mt=(t,e,n)=>FN(t,typeof e!="symbol"?e+"":e,n);class qN extends yP{constructor(e,n){super(e,n),this.core=e,this.logger=n,mt(this,"expirations",new Map),mt(this,"events",new ut.exports.EventEmitter),mt(this,"name",LD),mt(this,"version",MD),mt(this,"cached",[]),mt(this,"initialized",!1),mt(this,"storagePrefix",qn),mt(this,"init",async()=>{this.initialized||(this.logger.trace("Initialized"),await this.restore(),this.cached.forEach(r=>this.expirations.set(r.target,r)),this.cached=[],this.registerEventListeners(),this.initialized=!0)}),mt(this,"has",r=>{try{const i=this.formatTarget(r);return typeof this.getExpiration(i)<"u"}catch{return!1}}),mt(this,"set",(r,i)=>{this.isInitialized();const s=this.formatTarget(r),o={target:s,expiry:i};this.expirations.set(s,o),this.checkExpiry(s,o),this.events.emit(fn.created,{target:s,expiration:o})}),mt(this,"get",r=>{this.isInitialized();const i=this.formatTarget(r);return this.getExpiration(i)}),mt(this,"del",r=>{if(this.isInitialized(),this.has(r)){const i=this.formatTarget(r),s=this.getExpiration(i);this.expirations.delete(i),this.events.emit(fn.deleted,{target:i,expiration:s})}}),mt(this,"on",(r,i)=>{this.events.on(r,i)}),mt(this,"once",(r,i)=>{this.events.once(r,i)}),mt(this,"off",(r,i)=>{this.events.off(r,i)}),mt(this,"removeListener",(r,i)=>{this.events.removeListener(r,i)}),this.logger=Gt(n,this.name)}get context(){return Rt(this.logger)}get storageKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//"+this.name}get length(){return this.expirations.size}get keys(){return Array.from(this.expirations.keys())}get values(){return Array.from(this.expirations.values())}formatTarget(e){if(typeof e=="string")return iI(e);if(typeof e=="number")return sI(e);const{message:n}=_("UNKNOWN_TYPE",`Target type: ${typeof e}`);throw new Error(n)}async setExpirations(e){await this.core.storage.setItem(this.storageKey,e)}async getExpirations(){return await this.core.storage.getItem(this.storageKey)}async persist(){await this.setExpirations(this.values),this.events.emit(fn.sync)}async restore(){try{const e=await this.getExpirations();if(typeof e>"u"||!e.length)return;if(this.expirations.size){const{message:n}=_("RESTORE_WILL_OVERRIDE",this.name);throw this.logger.error(n),new Error(n)}this.cached=e,this.logger.debug(`Successfully Restored expirations for ${this.name}`),this.logger.trace({type:"method",method:"restore",expirations:this.values})}catch(e){this.logger.debug(`Failed to Restore expirations for ${this.name}`),this.logger.error(e)}}getExpiration(e){const n=this.expirations.get(e);if(!n){const{message:r}=_("NO_MATCHING_KEY",`${this.name}: ${e}`);throw this.logger.warn(r),new Error(r)}return n}checkExpiry(e,n){const{expiry:r}=n;J.toMiliseconds(r)-Date.now()<=0&&this.expire(e,n)}expire(e,n){this.expirations.delete(e),this.events.emit(fn.expired,{target:e,expiration:n})}checkExpirations(){this.core.relayer.connected&&this.expirations.forEach((e,n)=>this.checkExpiry(n,e))}registerEventListeners(){this.core.heartbeat.on(qi.pulse,()=>this.checkExpirations()),this.events.on(fn.created,e=>{const n=fn.created;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(fn.expired,e=>{const n=fn.expired;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()}),this.events.on(fn.deleted,e=>{const n=fn.deleted;this.logger.info(`Emitting ${n}`),this.logger.debug({type:"event",event:n,data:e}),this.persist()})}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}}var kN=Object.defineProperty,LN=(t,e,n)=>e in t?kN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,je=(t,e,n)=>LN(t,typeof e!="symbol"?e+"":e,n);class MN extends mP{constructor(e,n,r){super(e,n,r),this.core=e,this.logger=n,this.store=r,je(this,"name",jD),je(this,"abortController"),je(this,"isDevEnv"),je(this,"verifyUrlV3",KD),je(this,"storagePrefix",qn),je(this,"version",iy),je(this,"publicKey"),je(this,"fetchPromise"),je(this,"init",async()=>{var i;this.isDevEnv||(this.publicKey=await this.store.getItem(this.storeKey),this.publicKey&&J.toMiliseconds((i=this.publicKey)==null?void 0:i.expiresAt)<Date.now()&&(this.logger.debug("verify v2 public key expired"),await this.removePublicKey()))}),je(this,"register",async i=>{if(!vi()||this.isDevEnv)return;const s=window.location.origin,{id:o,decryptedId:a}=i,c=`${this.verifyUrlV3}/attestation?projectId=${this.core.projectId}&origin=${s}&id=${o}&decryptedId=${a}`;try{const u=ui(),l=this.startAbortTimer(J.ONE_SECOND*5),f=await new Promise((d,h)=>{const p=()=>{window.removeEventListener("message",m),u.body.removeChild(w),h("attestation aborted")};this.abortController.signal.addEventListener("abort",p);const w=u.createElement("iframe");w.src=c,w.style.display="none",w.addEventListener("error",p,{signal:this.abortController.signal});const m=P=>{if(P.data&&typeof P.data=="string")try{const T=JSON.parse(P.data);if(T.type==="verify_attestation"){if(kl(T.attestation).payload.id!==o)return;clearInterval(l),u.body.removeChild(w),this.abortController.signal.removeEventListener("abort",p),window.removeEventListener("message",m),d(T.attestation===null?"":T.attestation)}}catch(T){this.logger.warn(T)}};u.body.appendChild(w),window.addEventListener("message",m,{signal:this.abortController.signal})});return this.logger.debug(f,"jwt attestation"),f}catch(u){this.logger.warn(u)}return""}),je(this,"resolve",async i=>{if(this.isDevEnv)return"";const{attestationId:s,hash:o,encryptedId:a}=i;if(s===""){this.logger.debug("resolve: attestationId is empty, skipping");return}if(s){if(kl(s).payload.id!==a)return;const u=await this.isValidJwtAttestation(s);if(u){if(!u.isVerified){this.logger.warn("resolve: jwt attestation: origin url not verified");return}return u}}if(!o)return;const c=this.getVerifyUrl(i?.verifyUrl);return this.fetchAttestation(o,c)}),je(this,"fetchAttestation",async(i,s)=>{this.logger.debug(`resolving attestation: ${i} from url: ${s}`);const o=this.startAbortTimer(J.ONE_SECOND*5),a=await fetch(`${s}/attestation/${i}?v2Supported=true`,{signal:this.abortController.signal});return clearTimeout(o),a.status===200?await a.json():void 0}),je(this,"getVerifyUrl",i=>{let s=i||qo;return VD.includes(s)||(this.logger.info(`verify url: ${s}, not included in trusted list, assigning default: ${qo}`),s=qo),s}),je(this,"fetchPublicKey",async()=>{try{this.logger.debug(`fetching public key from: ${this.verifyUrlV3}`);const i=this.startAbortTimer(J.FIVE_SECONDS),s=await fetch(`${this.verifyUrlV3}/public-key`,{signal:this.abortController.signal});return clearTimeout(i),await s.json()}catch(i){this.logger.warn(i)}}),je(this,"persistPublicKey",async i=>{this.logger.debug(i,"persisting public key to local storage"),await this.store.setItem(this.storeKey,i),this.publicKey=i}),je(this,"removePublicKey",async()=>{this.logger.debug("removing verify v2 public key from storage"),await this.store.removeItem(this.storeKey),this.publicKey=void 0}),je(this,"isValidJwtAttestation",async i=>{const s=await this.getPublicKey();try{if(s)return this.validateAttestation(i,s)}catch(a){this.logger.error(a),this.logger.warn("error validating attestation")}const o=await this.fetchAndPersistPublicKey();try{if(o)return this.validateAttestation(i,o)}catch(a){this.logger.error(a),this.logger.warn("error validating attestation")}}),je(this,"getPublicKey",async()=>this.publicKey?this.publicKey:await this.fetchAndPersistPublicKey()),je(this,"fetchAndPersistPublicKey",async()=>{if(this.fetchPromise)return await this.fetchPromise,this.publicKey;this.fetchPromise=new Promise(async s=>{const o=await this.fetchPublicKey();o&&(await this.persistPublicKey(o),s(o))});const i=await this.fetchPromise;return this.fetchPromise=void 0,i}),je(this,"validateAttestation",(i,s)=>{const o=tB(i,s.publicKey),a={hasExpired:J.toMiliseconds(o.exp)<Date.now(),payload:o};if(a.hasExpired)throw this.logger.warn("resolve: jwt attestation expired"),new Error("JWT attestation expired");return{origin:a.payload.origin,isScam:a.payload.isScam,isVerified:a.payload.isVerified}}),this.logger=Gt(n,this.name),this.abortController=new AbortController,this.isDevEnv=Yl(),this.init()}get storeKey(){return this.storagePrefix+this.version+this.core.customStoragePrefix+"//verify:public:key"}get context(){return Rt(this.logger)}startAbortTimer(e){return this.abortController=new AbortController,setTimeout(()=>this.abortController.abort(),J.toMiliseconds(e))}}var jN=Object.defineProperty,zN=(t,e,n)=>e in t?jN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,My=(t,e,n)=>zN(t,typeof e!="symbol"?e+"":e,n);class KN extends vP{constructor(e,n){super(e,n),this.projectId=e,this.logger=n,My(this,"context",HD),My(this,"registerDeviceToken",async r=>{const{clientId:i,token:s,notificationType:o,enableEncrypted:a=!1}=r,c=`${GD}/${this.projectId}/clients`;await fetch(c,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({client_id:i,type:o,token:s,always_raw:a})})}),this.logger=Gt(n,this.context)}}var VN=Object.defineProperty,jy=Object.getOwnPropertySymbols,HN=Object.prototype.hasOwnProperty,GN=Object.prototype.propertyIsEnumerable,fh=(t,e,n)=>e in t?VN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ko=(t,e)=>{for(var n in e||(e={}))HN.call(e,n)&&fh(t,n,e[n]);if(jy)for(var n of jy(e))GN.call(e,n)&&fh(t,n,e[n]);return t},Qe=(t,e,n)=>fh(t,typeof e!="symbol"?e+"":e,n);class WN extends EP{constructor(e,n,r=!0){super(e,n,r),this.core=e,this.logger=n,Qe(this,"context",ZD),Qe(this,"storagePrefix",qn),Qe(this,"storageVersion",WD),Qe(this,"events",new Map),Qe(this,"shouldPersist",!1),Qe(this,"init",async()=>{if(!Yl())try{const i={eventId:E1(),timestamp:Date.now(),domain:this.getAppDomain(),props:{event:"INIT",type:"",properties:{client_id:await this.core.crypto.getClientId(),user_agent:w1(this.core.relayer.protocol,this.core.relayer.version,eh)}}};await this.sendEvent([i])}catch(i){this.logger.warn(i)}}),Qe(this,"createEvent",i=>{const{event:s="ERROR",type:o="",properties:{topic:a,trace:c}}=i,u=E1(),l=this.core.projectId||"",f=Date.now(),d=Ko({eventId:u,timestamp:f,props:{event:s,type:o,properties:{topic:a,trace:c}},bundleId:l,domain:this.getAppDomain()},this.setMethods(u));return this.telemetryEnabled&&(this.events.set(u,d),this.shouldPersist=!0),d}),Qe(this,"getEvent",i=>{const{eventId:s,topic:o}=i;if(s)return this.events.get(s);const a=Array.from(this.events.values()).find(c=>c.props.properties.topic===o);if(a)return Ko(Ko({},a),this.setMethods(a.eventId))}),Qe(this,"deleteEvent",i=>{const{eventId:s}=i;this.events.delete(s),this.shouldPersist=!0}),Qe(this,"setEventListeners",()=>{this.core.heartbeat.on(qi.pulse,async()=>{this.shouldPersist&&await this.persist(),this.events.forEach(i=>{J.fromMiliseconds(Date.now())-J.fromMiliseconds(i.timestamp)>YD&&(this.events.delete(i.eventId),this.shouldPersist=!0)})})}),Qe(this,"setMethods",i=>({addTrace:s=>this.addTrace(i,s),setError:s=>this.setError(i,s)})),Qe(this,"addTrace",(i,s)=>{const o=this.events.get(i);o&&(o.props.properties.trace.push(s),this.events.set(i,o),this.shouldPersist=!0)}),Qe(this,"setError",(i,s)=>{const o=this.events.get(i);o&&(o.props.type=s,o.timestamp=Date.now(),this.events.set(i,o),this.shouldPersist=!0)}),Qe(this,"persist",async()=>{await this.core.storage.setItem(this.storageKey,Array.from(this.events.values())),this.shouldPersist=!1}),Qe(this,"restore",async()=>{try{const i=await this.core.storage.getItem(this.storageKey)||[];if(!i.length)return;i.forEach(s=>{this.events.set(s.eventId,Ko(Ko({},s),this.setMethods(s.eventId)))})}catch(i){this.logger.warn(i)}}),Qe(this,"submit",async()=>{if(!this.telemetryEnabled||this.events.size===0)return;const i=[];for(const[s,o]of this.events)o.props.type&&i.push(o);if(i.length!==0)try{if((await this.sendEvent(i)).ok)for(const s of i)this.events.delete(s.eventId),this.shouldPersist=!0}catch(s){this.logger.warn(s)}}),Qe(this,"sendEvent",async i=>{const s=this.getAppDomain()?"":"&sp=desktop";return await fetch(`${XD}?projectId=${this.core.projectId}&st=events_sdk&sv=js-${eh}${s}`,{method:"POST",body:JSON.stringify(i)})}),Qe(this,"getAppDomain",()=>b1().url),this.logger=Gt(n,this.context),this.telemetryEnabled=r,r?this.restore().then(async()=>{await this.submit(),this.setEventListeners()}):this.persist()}get storageKey(){return this.storagePrefix+this.storageVersion+this.core.customStoragePrefix+"//"+this.context}}var ZN=Object.defineProperty,zy=Object.getOwnPropertySymbols,YN=Object.prototype.hasOwnProperty,XN=Object.prototype.propertyIsEnumerable,hh=(t,e,n)=>e in t?ZN(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ky=(t,e)=>{for(var n in e||(e={}))YN.call(e,n)&&hh(t,n,e[n]);if(zy)for(var n of zy(e))XN.call(e,n)&&hh(t,n,e[n]);return t},Re=(t,e,n)=>hh(t,typeof e!="symbol"?e+"":e,n);class dh extends cP{constructor(e){var n;super(e),Re(this,"protocol",ry),Re(this,"version",iy),Re(this,"name",Cc),Re(this,"relayUrl"),Re(this,"projectId"),Re(this,"customStoragePrefix"),Re(this,"events",new ut.exports.EventEmitter),Re(this,"logger"),Re(this,"heartbeat"),Re(this,"relayer"),Re(this,"crypto"),Re(this,"storage"),Re(this,"history"),Re(this,"expirer"),Re(this,"pairing"),Re(this,"verify"),Re(this,"echoClient"),Re(this,"linkModeSupportedApps"),Re(this,"eventClient"),Re(this,"initialized",!1),Re(this,"logChunkController"),Re(this,"on",(a,c)=>this.events.on(a,c)),Re(this,"once",(a,c)=>this.events.once(a,c)),Re(this,"off",(a,c)=>this.events.off(a,c)),Re(this,"removeListener",(a,c)=>this.events.removeListener(a,c)),Re(this,"dispatchEnvelope",({topic:a,message:c,sessionExists:u})=>{if(!a||!c)return;const l={topic:a,message:c,publishedAt:Date.now(),transportType:Te.link_mode};this.relayer.onLinkMessageEvent(l,{sessionExists:u})});const r=this.getGlobalCore(e?.customStoragePrefix);if(r)try{return this.customStoragePrefix=r.customStoragePrefix,this.logger=r.logger,this.heartbeat=r.heartbeat,this.crypto=r.crypto,this.history=r.history,this.expirer=r.expirer,this.storage=r.storage,this.relayer=r.relayer,this.pairing=r.pairing,this.verify=r.verify,this.echoClient=r.echoClient,this.linkModeSupportedApps=r.linkModeSupportedApps,this.eventClient=r.eventClient,this.initialized=r.initialized,this.logChunkController=r.logChunkController,r}catch(a){console.warn("Failed to copy global core",a)}this.projectId=e?.projectId,this.relayUrl=e?.relayUrl||ay,this.customStoragePrefix=e!=null&&e.customStoragePrefix?`:${e.customStoragePrefix}`:"";const i=Jc({level:typeof e?.logger=="string"&&e.logger?e.logger:bD.logger,name:Cc}),{logger:s,chunkLoggerController:o}=rd({opts:i,maxSizeInBytes:e?.maxLogBlobSizeInBytes,loggerOverride:e?.logger});this.logChunkController=o,(n=this.logChunkController)!=null&&n.downloadLogsBlobInBrowser&&(window.downloadLogsBlobInBrowser=async()=>{var a,c;(a=this.logChunkController)!=null&&a.downloadLogsBlobInBrowser&&((c=this.logChunkController)==null||c.downloadLogsBlobInBrowser({clientId:await this.crypto.getClientId()}))}),this.logger=Gt(s,this.name),this.heartbeat=new Hf,this.crypto=new IT(this,this.logger,e?.keychain),this.history=new UN(this,this.logger),this.expirer=new qN(this,this.logger),this.storage=e!=null&&e.storage?e.storage:new sP(Ky(Ky({},wD),e?.storageOptions)),this.relayer=new JT({core:this,logger:this.logger,relayUrl:this.relayUrl,projectId:this.projectId}),this.pairing=new RN(this,this.logger),this.verify=new MN(this,this.logger,this.storage),this.echoClient=new KN(this.projectId||"",this.logger),this.linkModeSupportedApps=[],this.eventClient=new WN(this,this.logger,e?.telemetryEnabled),this.setGlobalCore(this)}static async init(e){const n=new dh(e);await n.initialize();const r=await n.crypto.getClientId();return await n.storage.setItem(TD,r),n}get context(){return Rt(this.logger)}async start(){this.initialized||await this.initialize()}async getLogsBlob(){var e;return(e=this.logChunkController)==null?void 0:e.logsToBlob({clientId:await this.crypto.getClientId()})}async addLinkModeSupportedApp(e){this.linkModeSupportedApps.includes(e)||(this.linkModeSupportedApps.push(e),await this.storage.setItem(cy,this.linkModeSupportedApps))}async initialize(){this.logger.trace("Initialized");try{await this.crypto.init(),await this.history.init(),await this.expirer.init(),await this.relayer.init(),await this.heartbeat.init(),await this.pairing.init(),this.linkModeSupportedApps=await this.storage.getItem(cy)||[],this.initialized=!0,this.logger.info("Core Initialization Success")}catch(e){throw this.logger.warn(e,`Core Initialization Failure at epoch ${Date.now()}`),this.logger.error(e.message),e}}getGlobalCore(e=""){try{if(this.isGlobalCoreDisabled())return;const n=`_walletConnectCore_${e}`,r=`${n}_count`;return globalThis[r]=(globalThis[r]||0)+1,globalThis[r]>1&&console.warn(`WalletConnect Core is already initialized. This is probably a mistake and can lead to unexpected behavior. Init() was called ${globalThis[r]} times.`),globalThis[n]}catch(n){console.warn("Failed to get global WalletConnect core",n);return}}setGlobalCore(e){var n;try{if(this.isGlobalCoreDisabled())return;const r=`_walletConnectCore_${((n=e.opts)==null?void 0:n.customStoragePrefix)||""}`;globalThis[r]=e}catch(r){console.warn("Failed to set global WalletConnect core",r)}}isGlobalCoreDisabled(){try{return typeof process<"u"&&process.env.DISABLE_GLOBAL_CORE==="true"}catch{return!0}}}const ph=dh,Vy="wc",Hy=2,Gy="client",gh=`${Vy}@${Hy}:${Gy}:`,bh={name:Gy,logger:"error",controller:!1,relayUrl:"wss://relay.walletconnect.org"},Wy="WALLETCONNECT_DEEPLINK_CHOICE",JN="proposal",Zy="Proposal expired",QN="session",As=J.SEVEN_DAYS,_N="engine",st={wc_sessionPropose:{req:{ttl:J.FIVE_MINUTES,prompt:!0,tag:1100},res:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1101},reject:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1120},autoReject:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1121}},wc_sessionSettle:{req:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1102},res:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1103}},wc_sessionUpdate:{req:{ttl:J.ONE_DAY,prompt:!1,tag:1104},res:{ttl:J.ONE_DAY,prompt:!1,tag:1105}},wc_sessionExtend:{req:{ttl:J.ONE_DAY,prompt:!1,tag:1106},res:{ttl:J.ONE_DAY,prompt:!1,tag:1107}},wc_sessionRequest:{req:{ttl:J.FIVE_MINUTES,prompt:!0,tag:1108},res:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1109}},wc_sessionEvent:{req:{ttl:J.FIVE_MINUTES,prompt:!0,tag:1110},res:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1111}},wc_sessionDelete:{req:{ttl:J.ONE_DAY,prompt:!1,tag:1112},res:{ttl:J.ONE_DAY,prompt:!1,tag:1113}},wc_sessionPing:{req:{ttl:J.ONE_DAY,prompt:!1,tag:1114},res:{ttl:J.ONE_DAY,prompt:!1,tag:1115}},wc_sessionAuthenticate:{req:{ttl:J.ONE_HOUR,prompt:!0,tag:1116},res:{ttl:J.ONE_HOUR,prompt:!1,tag:1117},reject:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1118},autoReject:{ttl:J.FIVE_MINUTES,prompt:!1,tag:1119}}},wh={min:J.FIVE_MINUTES,max:J.SEVEN_DAYS},Mn={idle:"IDLE",active:"ACTIVE"},$N={eth_sendTransaction:{key:""},eth_sendRawTransaction:{key:""},wallet_sendCalls:{key:""},solana_signTransaction:{key:"signature"},solana_signAllTransactions:{key:"transactions"},solana_signAndSendTransaction:{key:"signature"},sui_signAndExecuteTransaction:{key:"digest"},sui_signTransaction:{key:""},hedera_signAndExecuteTransaction:{key:"transactionId"},hedera_executeTransaction:{key:"transactionId"},near_signTransaction:{key:""},near_signTransactions:{key:""},tron_signTransaction:{key:"txID"},xrpl_signTransaction:{key:""},xrpl_signTransactionFor:{key:""},algo_signTxn:{key:""},sendTransfer:{key:"txid"},stacks_stxTransfer:{key:"txId"},polkadot_signTransaction:{key:""},cosmos_signDirect:{key:""}},eU="request",tU=["wc_sessionPropose","wc_sessionRequest","wc_authRequest","wc_sessionAuthenticate"],nU="wc",rU="auth",iU="authKeys",sU="pairingTopics",oU="requests",kc=`${nU}@${1.5}:${rU}:`,Lc=`${kc}:PUB_KEY`;var aU=Object.defineProperty,cU=Object.defineProperties,uU=Object.getOwnPropertyDescriptors,Yy=Object.getOwnPropertySymbols,lU=Object.prototype.hasOwnProperty,fU=Object.prototype.propertyIsEnumerable,yh=(t,e,n)=>e in t?aU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ve=(t,e)=>{for(var n in e||(e={}))lU.call(e,n)&&yh(t,n,e[n]);if(Yy)for(var n of Yy(e))fU.call(e,n)&&yh(t,n,e[n]);return t},ot=(t,e)=>cU(t,uU(e)),Y=(t,e,n)=>yh(t,typeof e!="symbol"?e+"":e,n);class hU extends BP{constructor(e){super(e),Y(this,"name",_N),Y(this,"events",new ut.exports),Y(this,"initialized",!1),Y(this,"requestQueue",{state:Mn.idle,queue:[]}),Y(this,"sessionRequestQueue",{state:Mn.idle,queue:[]}),Y(this,"emittedSessionRequests",new pI({limit:500})),Y(this,"requestQueueDelay",J.ONE_SECOND),Y(this,"expectedPairingMethodMap",new Map),Y(this,"recentlyDeletedMap",new Map),Y(this,"recentlyDeletedLimit",200),Y(this,"relayMessageCache",[]),Y(this,"pendingSessions",new Map),Y(this,"init",async()=>{this.initialized||(await this.cleanup(),this.registerRelayerEvents(),this.registerExpirerEvents(),this.registerPairingEvents(),await this.registerLinkModeListeners(),this.client.core.pairing.register({methods:Object.keys(st)}),this.initialized=!0,setTimeout(async()=>{await this.processPendingMessageEvents(),this.sessionRequestQueue.queue=this.getPendingSessionRequests(),this.processSessionRequestQueue()},J.toMiliseconds(this.requestQueueDelay)))}),Y(this,"connect",async n=>{var r;this.isInitialized(),await this.confirmOnlineStateOrThrow();const i=ot(ve({},n),{requiredNamespaces:n.requiredNamespaces||{},optionalNamespaces:n.optionalNamespaces||{}});await this.isValidConnect(i),i.optionalNamespaces=BB(i.requiredNamespaces,i.optionalNamespaces),i.requiredNamespaces={};const{pairingTopic:s,requiredNamespaces:o,optionalNamespaces:a,sessionProperties:c,scopedProperties:u,relays:l,authentication:f,walletPay:d}=i,h=((r=f?.[0])==null?void 0:r.ttl)||st.wc_sessionPropose.req.ttl||J.FIVE_MINUTES;this.validateRequestExpiry(h);let p=s,w,m=!1;try{if(p){const R=this.client.core.pairing.pairings.get(p);this.client.logger.warn("connect() with existing pairing topic is deprecated and will be removed in the next major release."),m=R.active}}catch(R){throw this.client.logger.error(`connect() -> pairing.get(${p}) failed`),R}if(!p||!m){const{topic:R,uri:G}=await this.client.core.pairing.create({internal:{skipSubscribe:!0}});p=R,w=G}if(!p){const{message:R}=_("NO_MATCHING_KEY",`connect() pairing topic: ${p}`);throw new Error(R)}const P=await this.client.core.crypto.generateKeyPair(),T=Ve(h),I=ve(ot(ve(ve({requiredNamespaces:o,optionalNamespaces:a,relays:l??[{protocol:oy}],proposer:{publicKey:P,metadata:this.client.metadata},expiryTimestamp:T,pairingTopic:p},c&&{sessionProperties:c}),u&&{scopedProperties:u}),{id:Cn()}),(f||d)&&{requests:{authentication:f?.map(R=>{const{domain:G,chains:H,nonce:E,uri:b,exp:v,nbf:g,type:y,statement:B,requestId:A,resources:O,signatureTypes:D}=R;return{domain:G,chains:H,nonce:E,type:y??"caip122",aud:b,version:"1",iat:new Date().toISOString(),exp:v,nbf:g,statement:B,requestId:A,resources:O,signatureTypes:D}}),walletPay:d}}),x=Ee("session_connect",I.id),{reject:S,resolve:U,done:k}=xi(h,Zy),F=({id:R})=>{R===I.id&&(this.client.events.off("proposal_expire",F),this.pendingSessions.delete(I.id),this.events.emit(x,{error:{message:Zy,code:0}}))};return this.client.events.on("proposal_expire",F),this.events.once(x,({error:R,session:G})=>{this.client.events.off("proposal_expire",F),R?S(R):G&&U(G)}),await this.setProposal(I.id,I),await this.sendProposeSession({proposal:I,publishOpts:{internal:{throwOnFailedPublish:!0},tvf:{correlationId:I.id}}}).catch(R=>{throw this.deleteProposal(I.id),R}),{uri:w,approval:k}}),Y(this,"pair",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{return await this.client.core.pairing.pair(n)}catch(r){throw this.client.logger.error("pair() failed"),r}}),Y(this,"approve",async n=>{var r,i,s;const o=this.client.core.eventClient.createEvent({properties:{topic:(r=n?.id)==null?void 0:r.toString(),trace:[In.session_approve_started]}});try{this.isInitialized(),await this.confirmOnlineStateOrThrow()}catch(G){throw o.setError(Mi.no_internet_connection),G}try{await this.isValidProposalId(n?.id)}catch(G){throw this.client.logger.error(`approve() -> proposal.get(${n?.id}) failed`),o.setError(Mi.proposal_not_found),G}try{await this.isValidApprove(n)}catch(G){throw this.client.logger.error("approve() -> isValidApprove() failed"),o.setError(Mi.session_approve_namespace_validation_failure),G}const{id:a,relayProtocol:c,namespaces:u,sessionProperties:l,scopedProperties:f,sessionConfig:d,proposalRequestsResponses:h}=n,p=this.client.proposal.get(a);this.client.core.eventClient.deleteEvent({eventId:o.eventId});const{pairingTopic:w,proposer:m,requiredNamespaces:P,optionalNamespaces:T}=p;let I=(i=this.client.core.eventClient)==null?void 0:i.getEvent({topic:w});I||(I=(s=this.client.core.eventClient)==null?void 0:s.createEvent({type:In.session_approve_started,properties:{topic:w,trace:[In.session_approve_started,In.session_namespaces_validation_success]}}));const x=await this.client.core.crypto.generateKeyPair(),S=m.publicKey,U=await this.client.core.crypto.generateSharedKey(x,S),k=ot(ve(ve(ve({relay:{protocol:c??"irn"},namespaces:u,controller:{publicKey:x,metadata:this.client.metadata},expiry:Ve(As)},l&&{sessionProperties:l}),f&&{scopedProperties:f}),d&&{sessionConfig:d}),{proposalRequestsResponses:h}),F=Te.relay;I.addTrace(In.subscribing_session_topic);try{await this.client.core.relayer.subscribe(U,{transportType:F,internal:{skipSubscribe:!0}})}catch(G){throw I.setError(Mi.subscribe_session_topic_failure),G}I.addTrace(In.subscribe_session_topic_success);const R=ot(ve({},k),{topic:U,requiredNamespaces:P,optionalNamespaces:T,pairingTopic:w,acknowledged:!1,self:k.controller,peer:{publicKey:m.publicKey,metadata:m.metadata},controller:x,transportType:Te.relay,authentication:h?.authentication,walletPayResult:h?.walletPay});await this.client.session.set(U,R),I.addTrace(In.store_session);try{await this.sendApproveSession({sessionTopic:U,proposal:p,pairingProposalResponse:{relay:{protocol:c??"irn"},responderPublicKey:x},sessionSettleRequest:k,publishOpts:{internal:{throwOnFailedPublish:!0},tvf:ve({correlationId:a},this.getTVFApproveParams(R))}}),I.addTrace(In.session_approve_publish_success)}catch(G){throw this.client.logger.error(G),this.client.session.delete(U,Ue("USER_DISCONNECTED")),await this.client.core.relayer.unsubscribe(U),G}return this.client.core.eventClient.deleteEvent({eventId:I.eventId}),await this.client.core.pairing.updateMetadata({topic:w,metadata:m.metadata}),await this.deleteProposal(a),await this.client.core.pairing.activate({topic:w}),await this.setExpiry(U,Ve(As)),{topic:U,acknowledged:()=>Promise.resolve(this.client.session.get(U))}}),Y(this,"reject",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidReject(n)}catch(o){throw this.client.logger.error("reject() -> isValidReject() failed"),o}const{id:r,reason:i}=n;let s;try{s=this.client.proposal.get(r).pairingTopic}catch(o){throw this.client.logger.error(`reject() -> proposal.get(${r}) failed`),o}s&&await this.sendError({id:r,topic:s,error:i,rpcOpts:st.wc_sessionPropose.reject}),await this.deleteProposal(r)}),Y(this,"update",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidUpdate(n)}catch(f){throw this.client.logger.error("update() -> isValidUpdate() failed"),f}const{topic:r,namespaces:i}=n,{done:s,resolve:o,reject:a}=xi(J.FIVE_MINUTES,"Session update request expired without receiving any acknowledgement"),c=Cn(),u=ri().toString(),l=this.client.session.get(r).namespaces;return this.events.once(Ee("session_update",c),({error:f})=>{f?a(f):o()}),await this.client.session.update(r,{namespaces:i}),await this.sendRequest({topic:r,method:"wc_sessionUpdate",params:{namespaces:i},throwOnFailedPublish:!0,clientRpcId:c,relayRpcId:u}).catch(f=>{this.client.logger.error(f),this.client.session.update(r,{namespaces:l}),a(f)}),{acknowledged:s}}),Y(this,"extend",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidExtend(n)}catch(c){throw this.client.logger.error("extend() -> isValidExtend() failed"),c}const{topic:r}=n,i=Cn(),{done:s,resolve:o,reject:a}=xi(J.FIVE_MINUTES,"Session extend request expired without receiving any acknowledgement");return this.events.once(Ee("session_extend",i),({error:c})=>{c?a(c):o()}),await this.setExpiry(r,Ve(As)),this.sendRequest({topic:r,method:"wc_sessionExtend",params:{},clientRpcId:i,throwOnFailedPublish:!0}).catch(c=>{a(c)}),{acknowledged:s}}),Y(this,"request",async n=>{this.isInitialized();try{await this.isValidRequest(n)}catch(m){throw this.client.logger.error("request() -> isValidRequest() failed"),m}const{chainId:r,request:i,topic:s,expiry:o=st.wc_sessionRequest.req.ttl}=n,a=this.client.session.get(s);a?.transportType===Te.relay&&await this.confirmOnlineStateOrThrow();const c=Cn(),u=ri().toString(),{done:l,resolve:f,reject:d}=xi(o,"Request expired. Please try again.");this.events.once(Ee("session_request",c),({error:m,result:P})=>{m?d(m):f(P)});const h="wc_sessionRequest",p=this.getAppLinkIfEnabled(a.peer.metadata,a.transportType);if(p)return await this.sendRequest({clientRpcId:c,relayRpcId:u,topic:s,method:h,params:{request:ot(ve({},i),{expiryTimestamp:Ve(o)}),chainId:r},expiry:o,throwOnFailedPublish:!0,appLink:p}).catch(m=>d(m)),this.client.events.emit("session_request_sent",{topic:s,request:i,chainId:r,id:c}),await l();const w={request:ot(ve({},i),{expiryTimestamp:Ve(o)}),chainId:r};return await Promise.all([new Promise(async m=>{await this.sendRequest({clientRpcId:c,relayRpcId:u,topic:s,method:h,params:w,expiry:o,throwOnFailedPublish:!0,tvf:this.getTVFParams(c,w)}).catch(P=>d(P)),this.client.events.emit("session_request_sent",{topic:s,request:i,chainId:r,id:c}),m()}),new Promise(async m=>{var P;if(!((P=a.sessionConfig)!=null&&P.disableDeepLink)){const T=await uI(this.client.core.storage,Wy);await oI({id:c,topic:s,wcDeepLink:T})}m()}),l()]).then(m=>m[2])}),Y(this,"respond",async n=>{var r,i;this.isInitialized();const s=this.client.core.eventClient.createEvent({properties:{topic:n?.topic||((i=(r=n?.response)==null?void 0:r.id)==null?void 0:i.toString()),trace:[In.session_request_response_started]}});try{await this.isValidRespond(n)}catch(f){throw s.addTrace(f?.message),s.setError(Mi.session_request_response_validation_failure),f}s.addTrace(In.session_request_response_validation_success);const{topic:o,response:a}=n,{id:c}=a,u=this.client.session.get(o);u.transportType===Te.relay&&await this.confirmOnlineStateOrThrow();const l=this.getAppLinkIfEnabled(u.peer.metadata,u.transportType);try{s.addTrace(In.session_request_response_publish_started),Fn(a)?await this.sendResult({id:c,topic:o,result:a.result,throwOnFailedPublish:!0,appLink:l}):un(a)&&await this.sendError({id:c,topic:o,error:a.error,appLink:l}),this.cleanupAfterResponse(n)}catch(f){throw s.addTrace(f?.message),s.setError(Mi.session_request_response_publish_failure),f}}),Y(this,"ping",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow();try{await this.isValidPing(n)}catch(i){throw this.client.logger.error("ping() -> isValidPing() failed"),i}const{topic:r}=n;if(this.client.session.keys.includes(r)){const i=Cn(),s=ri().toString(),{done:o,resolve:a,reject:c}=xi(J.FIVE_MINUTES,"Ping request expired without receiving any acknowledgement");this.events.once(Ee("session_ping",i),({error:u})=>{u?c(u):a()}),await Promise.all([this.sendRequest({topic:r,method:"wc_sessionPing",params:{},throwOnFailedPublish:!0,clientRpcId:i,relayRpcId:s}),o()])}else this.client.core.pairing.pairings.keys.includes(r)&&(this.client.logger.warn("ping() on pairing topic is deprecated and will be removed in the next major release."),await this.client.core.pairing.ping({topic:r}))}),Y(this,"emit",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow(),await this.isValidEmit(n);const{topic:r,event:i,chainId:s}=n,o=ri().toString(),a=Cn();await this.sendRequest({topic:r,method:"wc_sessionEvent",params:{event:i,chainId:s},throwOnFailedPublish:!0,relayRpcId:o,clientRpcId:a})}),Y(this,"disconnect",async n=>{this.isInitialized(),await this.confirmOnlineStateOrThrow(),await this.isValidDisconnect(n);const{topic:r}=n;if(this.client.session.keys.includes(r))await this.sendRequest({topic:r,method:"wc_sessionDelete",params:Ue("USER_DISCONNECTED"),throwOnFailedPublish:!0}),await this.deleteSession({topic:r,emitEvent:!1});else if(this.client.core.pairing.pairings.keys.includes(r))await this.client.core.pairing.disconnect({topic:r});else{const{message:i}=_("MISMATCHED_TOPIC",`Session or pairing topic not found: ${r}`);throw new Error(i)}}),Y(this,"find",n=>(this.isInitialized(),this.client.session.getAll().filter(r=>PB(r,n)))),Y(this,"getPendingSessionRequests",()=>this.client.pendingRequest.getAll()),Y(this,"authenticate",async(n,r)=>{var i;this.isInitialized(),this.isValidAuthenticate(n);const s=r&&this.client.core.linkModeSupportedApps.includes(r)&&((i=this.client.metadata.redirect)==null?void 0:i.linkMode),o=s?Te.link_mode:Te.relay;o===Te.relay&&await this.confirmOnlineStateOrThrow();const{chains:a,statement:c="",uri:u,domain:l,nonce:f,type:d,exp:h,nbf:p,methods:w=[],expiry:m}=n,P=[...n.resources||[]],{topic:T,uri:I}=await this.client.core.pairing.create({methods:["wc_sessionAuthenticate"],transportType:o});this.client.logger.info({message:"Generated new pairing",pairing:{topic:T,uri:I}});const x=await this.client.core.crypto.generateKeyPair(),S=mc(x);if(await Promise.all([this.client.auth.authKeys.set(Lc,{responseTopic:S,publicKey:x}),this.client.auth.pairingTopics.set(S,{topic:S,pairingTopic:T})]),await this.client.core.relayer.subscribe(S,{transportType:o}),this.client.logger.info(`sending request to new pairing topic: ${T}`),w.length>0){const{namespace:O}=_a(a[0]);let D=O9(O,"request",w);ac(P)&&(D=P9(D,P.pop())),P.push(D)}const U=m&&m>st.wc_sessionAuthenticate.req.ttl?m:st.wc_sessionAuthenticate.req.ttl,k={authPayload:{type:d??"caip122",chains:a,statement:c,aud:u,domain:l,version:"1",nonce:f,iat:new Date().toISOString(),exp:h,nbf:p,resources:P},requester:{publicKey:x,metadata:this.client.metadata},expiryTimestamp:Ve(U)},F={eip155:{chains:a,methods:[...new Set(["personal_sign",...w])],events:["chainChanged","accountsChanged"]}},R={requiredNamespaces:{},optionalNamespaces:F,relays:[{protocol:"irn"}],pairingTopic:T,proposer:{publicKey:x,metadata:this.client.metadata},expiryTimestamp:Ve(st.wc_sessionPropose.req.ttl),id:Cn()},{done:G,resolve:H,reject:E}=xi(U,"Request expired"),b=Cn(),v=Ee("session_connect",R.id),g=Ee("session_request",b),y=async({error:O,session:D})=>{this.events.off(g,B),O?E(O):D&&H({session:D})},B=async O=>{var D,C,M;if(await this.deletePendingAuthRequest(b,{message:"fulfilled",code:0}),O.error){const N=Ue("WC_METHOD_UNSUPPORTED","wc_sessionAuthenticate");return O.error.code===N.code?void 0:(this.events.off(v,y),E(O.error.message))}await this.deleteProposal(R.id),this.events.off(v,y);const{cacaos:L,responder:V}=O.result,q=[],W=[];for(const N of L){await Z1({cacao:N,projectId:this.client.core.projectId})||(this.client.logger.error(N,"Signature verification failed"),E(Ue("SESSION_SETTLEMENT_FAILED","Signature verification failed")));const{p:j}=N,K=ac(j.resources),X=[nf(j.iss)],ee=oc(j.iss);if(K){const $=J1(K),re=Q1(K);q.push(...$),X.push(...re)}for(const $ of X)W.push(`${$}:${ee}`)}const Z=await this.client.core.crypto.generateSharedKey(x,V.publicKey);let z;q.length>0&&(z={topic:Z,acknowledged:!0,self:{publicKey:x,metadata:this.client.metadata},peer:V,controller:V.publicKey,expiry:Ve(As),requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:T,namespaces:sw([...new Set(q)],[...new Set(W)]),transportType:o},await this.client.core.relayer.subscribe(Z,{transportType:o}),await this.client.session.set(Z,z),T&&await this.client.core.pairing.updateMetadata({topic:T,metadata:V.metadata}),z=this.client.session.get(Z)),(D=this.client.metadata.redirect)!=null&&D.linkMode&&(C=V.metadata.redirect)!=null&&C.linkMode&&(M=V.metadata.redirect)!=null&&M.universal&&r&&(this.client.core.addLinkModeSupportedApp(V.metadata.redirect.universal),this.client.session.update(Z,{transportType:Te.link_mode})),H({auths:L,session:z})};this.events.once(v,y),this.events.once(g,B);let A;try{if(s){const O=dr("wc_sessionAuthenticate",k,b);this.client.core.history.set(T,O);const D=await this.client.core.crypto.encode("",O,{type:Eo,encoding:_r});A=Ec(r,T,D)}else await Promise.all([this.sendRequest({topic:T,method:"wc_sessionAuthenticate",params:k,expiry:n.expiry,throwOnFailedPublish:!0,clientRpcId:b}),this.sendRequest({topic:T,method:"wc_sessionPropose",params:R,expiry:st.wc_sessionPropose.req.ttl,throwOnFailedPublish:!0,clientRpcId:R.id})])}catch(O){throw this.events.off(v,y),this.events.off(g,B),O}return await this.setProposal(R.id,R),await this.setAuthRequest(b,{request:ot(ve({},k),{verifyContext:{}}),pairingTopic:T,transportType:o}),{uri:A??I,response:G}}),Y(this,"approveSessionAuthenticate",async n=>{const{id:r,auths:i}=n,s=this.client.core.eventClient.createEvent({properties:{topic:r.toString(),trace:[ji.authenticated_session_approve_started]}});try{this.isInitialized()}catch(m){throw s.setError(ko.no_internet_connection),m}const o=this.getPendingAuthRequest(r);if(!o)throw s.setError(ko.authenticated_session_pending_request_not_found),new Error(`Could not find pending auth request with id ${r}`);const a=o.transportType||Te.relay;a===Te.relay&&await this.confirmOnlineStateOrThrow();const c=o.requester.publicKey,u=await this.client.core.crypto.generateKeyPair(),l=mc(c),f={type:cr,receiverPublicKey:c,senderPublicKey:u},d=[],h=[];for(const m of i){if(!await Z1({cacao:m,projectId:this.client.core.projectId})){s.setError(ko.invalid_cacao);const S=Ue("SESSION_SETTLEMENT_FAILED","Signature verification failed");throw await this.sendError({id:r,topic:l,error:S,encodeOpts:f}),new Error(S.message)}s.addTrace(ji.cacaos_verified);const{p:P}=m,T=ac(P.resources),I=[nf(P.iss)],x=oc(P.iss);if(T){const S=J1(T),U=Q1(T);d.push(...S),I.push(...U)}for(const S of I)h.push(`${S}:${x}`)}const p=await this.client.core.crypto.generateSharedKey(u,c);s.addTrace(ji.create_authenticated_session_topic);let w;if(d?.length>0){w={topic:p,acknowledged:!0,self:{publicKey:u,metadata:this.client.metadata},peer:{publicKey:c,metadata:o.requester.metadata},controller:c,expiry:Ve(As),authentication:i,requiredNamespaces:{},optionalNamespaces:{},relay:{protocol:"irn"},pairingTopic:o.pairingTopic,namespaces:sw([...new Set(d)],[...new Set(h)]),transportType:a},s.addTrace(ji.subscribing_authenticated_session_topic);try{await this.client.core.relayer.subscribe(p,{transportType:a})}catch(m){throw s.setError(ko.subscribe_authenticated_session_topic_failure),m}s.addTrace(ji.subscribe_authenticated_session_topic_success),await this.client.session.set(p,w),s.addTrace(ji.store_authenticated_session),await this.client.core.pairing.updateMetadata({topic:o.pairingTopic,metadata:o.requester.metadata})}s.addTrace(ji.publishing_authenticated_session_approve);try{await this.sendResult({topic:l,id:r,result:{cacaos:i,responder:{publicKey:u,metadata:this.client.metadata}},encodeOpts:f,throwOnFailedPublish:!0,appLink:this.getAppLinkIfEnabled(o.requester.metadata,a)})}catch(m){throw s.setError(ko.authenticated_session_approve_publish_failure),m}return await this.client.auth.requests.delete(r,{message:"fulfilled",code:0}),await this.client.core.pairing.activate({topic:o.pairingTopic}),this.client.core.eventClient.deleteEvent({eventId:s.eventId}),{session:w}}),Y(this,"rejectSessionAuthenticate",async n=>{this.isInitialized();const{id:r,reason:i}=n,s=this.getPendingAuthRequest(r);if(!s)throw new Error(`Could not find pending auth request with id ${r}`);s.transportType===Te.relay&&await this.confirmOnlineStateOrThrow();const o=s.requester.publicKey,a=await this.client.core.crypto.generateKeyPair(),c=mc(o),u={type:cr,receiverPublicKey:o,senderPublicKey:a};await this.sendError({id:r,topic:c,error:i,encodeOpts:u,rpcOpts:st.wc_sessionAuthenticate.reject,appLink:this.getAppLinkIfEnabled(s.requester.metadata,s.transportType)}),await this.client.auth.requests.delete(r,{message:"rejected",code:0}),await this.deleteProposal(r)}),Y(this,"formatAuthMessage",n=>{this.isInitialized();const{request:r,iss:i}=n;return Y1(r,i)}),Y(this,"processRelayMessageCache",()=>{setTimeout(async()=>{if(this.relayMessageCache.length!==0)for(;this.relayMessageCache.length>0;)try{const n=this.relayMessageCache.shift();n&&await this.onRelayMessage(n)}catch(n){this.client.logger.error(n)}},50)}),Y(this,"cleanupDuplicatePairings",async n=>{if(n.pairingTopic)try{const r=this.client.core.pairing.pairings.get(n.pairingTopic),i=this.client.core.pairing.pairings.getAll().filter(s=>{var o,a;return((o=s.peerMetadata)==null?void 0:o.url)&&((a=s.peerMetadata)==null?void 0:a.url)===n.peer.metadata.url&&s.topic&&s.topic!==r.topic});if(i.length===0)return;this.client.logger.info(`Cleaning up ${i.length} duplicate pairing(s)`),await Promise.all(i.map(s=>this.client.core.pairing.disconnect({topic:s.topic}))),this.client.logger.info("Duplicate pairings clean up finished")}catch(r){this.client.logger.error(r)}}),Y(this,"deleteSession",async n=>{var r;const{topic:i,expirerHasDeleted:s=!1,emitEvent:o=!0,id:a=0}=n,{self:c}=this.client.session.get(i);await this.client.core.relayer.unsubscribe(i),await this.client.session.delete(i,Ue("USER_DISCONNECTED")),this.addToRecentlyDeleted(i,"session"),this.client.core.crypto.keychain.has(c.publicKey)&&await this.client.core.crypto.deleteKeyPair(c.publicKey),this.client.core.crypto.keychain.has(i)&&await this.client.core.crypto.deleteSymKey(i),s||this.client.core.expirer.del(i),this.client.core.storage.removeItem(Wy).catch(u=>this.client.logger.warn(u)),i===((r=this.sessionRequestQueue.queue[0])==null?void 0:r.topic)&&(this.sessionRequestQueue.state=Mn.idle),await Promise.all(this.getPendingSessionRequests().filter(u=>u.topic===i).map(u=>this.deletePendingSessionRequest(u.id,Ue("USER_DISCONNECTED")))),o&&this.client.events.emit("session_delete",{id:a,topic:i})}),Y(this,"deleteProposal",async(n,r)=>{if(r)try{const i=this.client.proposal.get(n);this.client.core.eventClient.getEvent({topic:i.pairingTopic})?.setError(Mi.proposal_expired)}catch{}await Promise.all([this.client.proposal.delete(n,Ue("USER_DISCONNECTED")),r?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"proposal")}),Y(this,"deletePendingSessionRequest",async(n,r,i=!1)=>{await Promise.all([this.client.pendingRequest.delete(n,r),i?Promise.resolve():this.client.core.expirer.del(n)]),this.addToRecentlyDeleted(n,"request"),this.sessionRequestQueue.queue=this.sessionRequestQueue.queue.filter(s=>s.id!==n),i&&(this.sessionRequestQueue.state=Mn.idle,this.client.events.emit("session_request_expire",{id:n}))}),Y(this,"deletePendingAuthRequest",async(n,r,i=!1)=>{await Promise.all([this.client.auth.requests.delete(n,r),i?Promise.resolve():this.client.core.expirer.del(n)])}),Y(this,"setExpiry",async(n,r)=>{this.client.session.keys.includes(n)&&(this.client.core.expirer.set(n,r),await this.client.session.update(n,{expiry:r}))}),Y(this,"setProposal",async(n,r)=>{this.client.core.expirer.set(n,Ve(st.wc_sessionPropose.req.ttl)),await this.client.proposal.set(n,r)}),Y(this,"setAuthRequest",async(n,r)=>{const{request:i,pairingTopic:s,transportType:o=Te.relay}=r;this.client.core.expirer.set(n,i.expiryTimestamp),await this.client.auth.requests.set(n,{authPayload:i.authPayload,requester:i.requester,expiryTimestamp:i.expiryTimestamp,id:n,pairingTopic:s,verifyContext:i.verifyContext,transportType:o})}),Y(this,"setPendingSessionRequest",async n=>{const{id:r,topic:i,params:s,verifyContext:o}=n,a=s.request.expiryTimestamp||Ve(st.wc_sessionRequest.req.ttl);this.client.core.expirer.set(r,a),await this.client.pendingRequest.set(r,{id:r,topic:i,params:s,verifyContext:o})}),Y(this,"sendRequest",async n=>{const{topic:r,method:i,params:s,expiry:o,relayRpcId:a,clientRpcId:c,throwOnFailedPublish:u,appLink:l,tvf:f,publishOpts:d={}}=n,h=dr(i,s,c);let p;const w=!!l;try{const T=w?_r:Mt;p=await this.client.core.crypto.encode(r,h,{encoding:T})}catch(T){throw await this.cleanup(),this.client.logger.error(`sendRequest() -> core.crypto.encode() for topic ${r} failed`),T}let m;if(tU.includes(i)){const T=an(JSON.stringify(h)),I=an(p);m=await this.client.core.verify.register({id:I,decryptedId:T})}const P=ve(ve({},st[i].req),d);if(P.attestation=m,o&&(P.ttl=o),a&&(P.id=a),this.client.core.history.set(r,h),w){const T=Ec(l,r,p);await global.Linking.openURL(T,this.client.name)}else P.tvf=ot(ve({},f),{correlationId:h.id}),u?(P.internal=ot(ve({},P.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(r,p,P)):this.client.core.relayer.publish(r,p,P).catch(T=>this.client.logger.error(T));return h.id}),Y(this,"sendProposeSession",async n=>{const{proposal:r,publishOpts:i}=n,s=dr("wc_sessionPropose",r,r.id);this.client.core.history.set(r.pairingTopic,s);const o=await this.client.core.crypto.encode(r.pairingTopic,s,{encoding:Mt}),a=an(JSON.stringify(s)),c=an(o),u=await this.client.core.verify.register({id:c,decryptedId:a});await this.client.core.relayer.publishCustom({payload:{pairingTopic:r.pairingTopic,sessionProposal:o},opts:ot(ve({},i),{publishMethod:"wc_proposeSession",attestation:u})})}),Y(this,"sendApproveSession",async n=>{const{sessionTopic:r,pairingProposalResponse:i,proposal:s,sessionSettleRequest:o,publishOpts:a}=n,c=Nc(s.id,i),u=await this.client.core.crypto.encode(s.pairingTopic,c,{encoding:Mt}),l=dr("wc_sessionSettle",o,a?.id),f=await this.client.core.crypto.encode(r,l,{encoding:Mt});this.client.core.history.set(r,l),await this.client.core.relayer.publishCustom({payload:{sessionTopic:r,pairingTopic:s.pairingTopic,sessionProposalResponse:u,sessionSettlementRequest:f},opts:ot(ve({},a),{publishMethod:"wc_approveSession"})})}),Y(this,"sendResult",async n=>{const{id:r,topic:i,result:s,throwOnFailedPublish:o,encodeOpts:a,appLink:c}=n,u=Nc(r,s);let l;const f=c&&typeof(global==null?void 0:global.Linking)<"u";try{const p=f?_r:Mt;l=await this.client.core.crypto.encode(i,u,ot(ve({},a||{}),{encoding:p}))}catch(p){throw await this.cleanup(),this.client.logger.error(`sendResult() -> core.crypto.encode() for topic ${i} failed`),p}let d,h;try{d=await this.client.core.history.get(i,r);const p=d.request;try{h=this.getTVFParams(r,p.params,s)}catch(w){this.client.logger.warn(`sendResult() -> getTVFParams() failed: ${w?.message}`)}}catch(p){throw this.client.logger.error(`sendResult() -> history.get(${i}, ${r}) failed`),p}if(f){const p=Ec(c,i,l);await global.Linking.openURL(p,this.client.name)}else{const p=d.request.method,w=st[p].res;w.tvf=ot(ve({},h),{correlationId:r}),o?(w.internal=ot(ve({},w.internal),{throwOnFailedPublish:!0}),await this.client.core.relayer.publish(i,l,w)):this.client.core.relayer.publish(i,l,w).catch(m=>this.client.logger.error(m))}await this.client.core.history.resolve(u)}),Y(this,"sendError",async n=>{const{id:r,topic:i,error:s,encodeOpts:o,rpcOpts:a,appLink:c}=n,u=_f(r,s);let l;const f=c&&typeof(global==null?void 0:global.Linking)<"u";try{const h=f?_r:Mt;l=await this.client.core.crypto.encode(i,u,ot(ve({},o||{}),{encoding:h}))}catch(h){throw await this.cleanup(),this.client.logger.error(`sendError() -> core.crypto.encode() for topic ${i} failed`),h}let d;try{d=await this.client.core.history.get(i,r)}catch(h){throw this.client.logger.error(`sendError() -> history.get(${i}, ${r}) failed`),h}if(f){const h=Ec(c,i,l);await global.Linking.openURL(h,this.client.name)}else{const h=d.request.method,p=a||st[h].res;this.client.core.relayer.publish(i,l,p)}await this.client.core.history.resolve(u)}),Y(this,"cleanup",async()=>{const n=[],r=[];this.client.session.getAll().forEach(i=>{let s=!1;Lr(i.expiry)&&(s=!0),this.client.core.crypto.keychain.has(i.topic)||(s=!0),s&&n.push(i.topic)}),this.client.proposal.getAll().forEach(i=>{Lr(i.expiryTimestamp)&&r.push(i.id)}),await Promise.all([...n.map(i=>this.deleteSession({topic:i})),...r.map(i=>this.deleteProposal(i))])}),Y(this,"onProviderMessageEvent",async n=>{!this.initialized||this.relayMessageCache.length>0?this.relayMessageCache.push(n):await this.onRelayMessage(n)}),Y(this,"onRelayEventRequest",async n=>{this.requestQueue.queue.push(n),await this.processRequestsQueue()}),Y(this,"processRequestsQueue",async()=>{if(this.requestQueue.state===Mn.active){this.client.logger.info("Request queue already active, skipping...");return}for(this.client.logger.info(`Request queue starting with ${this.requestQueue.queue.length} requests`);this.requestQueue.queue.length>0;){this.requestQueue.state=Mn.active;const n=this.requestQueue.queue.shift();if(n)try{await this.processRequest(n)}catch(r){this.client.logger.warn(r)}}this.requestQueue.state=Mn.idle}),Y(this,"processRequest",async n=>{const{topic:r,payload:i,attestation:s,transportType:o,encryptedId:a}=n,c=i.method;if(!this.shouldIgnorePairingRequest({topic:r,requestMethod:c}))switch(c){case"wc_sessionPropose":return await this.onSessionProposeRequest({topic:r,payload:i,attestation:s,encryptedId:a});case"wc_sessionSettle":return await this.onSessionSettleRequest(r,i);case"wc_sessionUpdate":return await this.onSessionUpdateRequest(r,i);case"wc_sessionExtend":return await this.onSessionExtendRequest(r,i);case"wc_sessionPing":return await this.onSessionPingRequest(r,i);case"wc_sessionDelete":return await this.onSessionDeleteRequest(r,i);case"wc_sessionRequest":return await this.onSessionRequest({topic:r,payload:i,attestation:s,encryptedId:a,transportType:o});case"wc_sessionEvent":return await this.onSessionEventRequest(r,i);case"wc_sessionAuthenticate":return await this.onSessionAuthenticateRequest({topic:r,payload:i,attestation:s,encryptedId:a,transportType:o});default:return this.client.logger.info(`Unsupported request method ${c}`)}}),Y(this,"onRelayEventResponse",async n=>{const{topic:r,payload:i,transportType:s}=n,o=(await this.client.core.history.get(r,i.id)).request.method;switch(o){case"wc_sessionPropose":return this.onSessionProposeResponse(r,i,s);case"wc_sessionSettle":return this.onSessionSettleResponse(r,i);case"wc_sessionUpdate":return this.onSessionUpdateResponse(r,i);case"wc_sessionExtend":return this.onSessionExtendResponse(r,i);case"wc_sessionPing":return this.onSessionPingResponse(r,i);case"wc_sessionRequest":return this.onSessionRequestResponse(r,i);case"wc_sessionAuthenticate":return this.onSessionAuthenticateResponse(r,i);default:return this.client.logger.info(`Unsupported response method ${o}`)}}),Y(this,"onRelayEventUnknownPayload",n=>{const{topic:r}=n,{message:i}=_("MISSING_OR_INVALID",`Decoded payload on topic ${r} is not identifiable as a JSON-RPC request or a response.`);throw new Error(i)}),Y(this,"shouldIgnorePairingRequest",n=>{const{topic:r,requestMethod:i}=n,s=this.expectedPairingMethodMap.get(r);return!s||s.includes(i)?!1:!!(s.includes("wc_sessionAuthenticate")&&this.client.events.listenerCount("session_authenticate")>0)}),Y(this,"onSessionProposeRequest",async n=>{const{topic:r,payload:i,attestation:s,encryptedId:o}=n,{params:a,id:c}=i;try{const u=this.client.core.eventClient.getEvent({topic:r});this.client.events.listenerCount("session_proposal")===0&&(console.warn("No listener for session_proposal event"),u?.setError(pr.proposal_listener_not_found)),this.isValidConnect(ve({},i.params));const l=a.expiryTimestamp||Ve(st.wc_sessionPropose.req.ttl),f=ve({id:c,pairingTopic:r,expiryTimestamp:l,attestation:s,encryptedId:o},a);await this.setProposal(c,f);const d=await this.getVerifyContext({attestationId:s,hash:an(JSON.stringify(i)),encryptedId:o,metadata:f.proposer.metadata});u?.addTrace(kn.emit_session_proposal),this.client.events.emit("session_proposal",{id:c,params:f,verifyContext:d})}catch(u){await this.sendError({id:c,topic:r,error:u,rpcOpts:st.wc_sessionPropose.autoReject}),this.client.logger.error(u)}}),Y(this,"onSessionProposeResponse",async(n,r,i)=>{const{id:s}=r;if(Fn(r)){const{result:o}=r;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",result:o});const a=this.client.proposal.get(s);this.client.logger.trace({type:"method",method:"onSessionProposeResponse",proposal:a});const c=a.proposer.publicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",selfPublicKey:c});const u=o.responderPublicKey;this.client.logger.trace({type:"method",method:"onSessionProposeResponse",peerPublicKey:u});const l=await this.client.core.crypto.generateSharedKey(c,u);this.pendingSessions.set(s,{sessionTopic:l,pairingTopic:n,proposalId:s,publicKey:c});const f=await this.client.core.relayer.subscribe(l,{transportType:i});this.client.logger.trace({type:"method",method:"onSessionProposeResponse",subscriptionId:f}),await this.client.core.pairing.activate({topic:n})}else if(un(r)){await this.deleteProposal(s);const o=Ee("session_connect",s);if(this.events.listenerCount(o)===0)throw new Error(`emitting ${o} without any listeners, 954`);this.events.emit(o,{error:r.error})}}),Y(this,"onSessionSettleRequest",async(n,r)=>{const{id:i,params:s}=r;try{this.isValidSessionSettleRequest(s);const{relay:o,controller:a,expiry:c,namespaces:u,sessionProperties:l,scopedProperties:f,sessionConfig:d,proposalRequestsResponses:h}=r.params,p=[...this.pendingSessions.values()].find(P=>P.sessionTopic===n);if(!p)return this.client.logger.error(`Pending session not found for topic ${n}`);const w=this.client.proposal.get(p.proposalId),m=ot(ve(ve(ve({topic:n,relay:o,expiry:c,namespaces:u,acknowledged:!0,pairingTopic:p.pairingTopic,requiredNamespaces:w.requiredNamespaces,optionalNamespaces:w.optionalNamespaces,controller:a.publicKey,self:{publicKey:p.publicKey,metadata:this.client.metadata},peer:{publicKey:a.publicKey,metadata:a.metadata}},l&&{sessionProperties:l}),f&&{scopedProperties:f}),d&&{sessionConfig:d}),{transportType:Te.relay,authentication:h?.authentication,walletPayResult:h?.walletPay});await this.client.session.set(m.topic,m),await this.setExpiry(m.topic,m.expiry),await this.client.core.pairing.updateMetadata({topic:p.pairingTopic,metadata:m.peer.metadata}),this.pendingSessions.delete(p.proposalId),this.deleteProposal(p.proposalId,!1),this.cleanupDuplicatePairings(m),await this.sendResult({id:r.id,topic:n,throwOnFailedPublish:!0,result:!0}),this.client.events.emit("session_connect",{session:m}),this.events.emit(Ee("session_connect",p.proposalId),{session:m})}catch(o){await this.sendError({id:i,topic:n,error:o}),this.client.logger.error(o)}}),Y(this,"onSessionSettleResponse",async(n,r)=>{const{id:i}=r;Fn(r)?(await this.client.session.update(n,{acknowledged:!0}),this.events.emit(Ee("session_approve",i),{})):un(r)&&(await this.client.session.delete(n,Ue("USER_DISCONNECTED")),this.events.emit(Ee("session_approve",i),{error:r.error}))}),Y(this,"onSessionUpdateRequest",async(n,r)=>{const{params:i,id:s}=r;try{const o=`${n}_session_update`,a=Bo.get(o);if(a&&this.isRequestOutOfSync(a,s)){this.client.logger.warn(`Discarding out of sync request - ${s}`),this.sendError({id:s,topic:n,error:Ue("INVALID_UPDATE_REQUEST")});return}this.isValidUpdate(ve({topic:n},i));try{Bo.set(o,s),await this.client.session.update(n,{namespaces:i.namespaces}),await this.sendResult({id:s,topic:n,result:!0})}catch(c){throw Bo.delete(o),c}this.client.events.emit("session_update",{id:s,topic:n,params:i})}catch(o){await this.sendError({id:s,topic:n,error:o}),this.client.logger.error(o)}}),Y(this,"isRequestOutOfSync",(n,r)=>r.toString().slice(0,-3)<n.toString().slice(0,-3)),Y(this,"onSessionUpdateResponse",(n,r)=>{const{id:i}=r,s=Ee("session_update",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);Fn(r)?this.events.emit(Ee("session_update",i),{}):un(r)&&this.events.emit(Ee("session_update",i),{error:r.error})}),Y(this,"onSessionExtendRequest",async(n,r)=>{const{id:i}=r;try{this.isValidExtend({topic:n}),await this.setExpiry(n,Ve(As)),await this.sendResult({id:i,topic:n,result:!0}),this.client.events.emit("session_extend",{id:i,topic:n})}catch(s){await this.sendError({id:i,topic:n,error:s}),this.client.logger.error(s)}}),Y(this,"onSessionExtendResponse",(n,r)=>{const{id:i}=r,s=Ee("session_extend",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);Fn(r)?this.events.emit(Ee("session_extend",i),{}):un(r)&&this.events.emit(Ee("session_extend",i),{error:r.error})}),Y(this,"onSessionPingRequest",async(n,r)=>{const{id:i}=r;try{this.isValidPing({topic:n}),await this.sendResult({id:i,topic:n,result:!0,throwOnFailedPublish:!0}),this.client.events.emit("session_ping",{id:i,topic:n})}catch(s){await this.sendError({id:i,topic:n,error:s}),this.client.logger.error(s)}}),Y(this,"onSessionPingResponse",(n,r)=>{const{id:i}=r,s=Ee("session_ping",i);setTimeout(()=>{if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners 2176`);Fn(r)?this.events.emit(Ee("session_ping",i),{}):un(r)&&this.events.emit(Ee("session_ping",i),{error:r.error})},500)}),Y(this,"onSessionDeleteRequest",async(n,r)=>{const{id:i}=r;try{await this.isValidDisconnect({topic:n,reason:r.params}),this.cleanupPendingSentRequestsForTopic({topic:n,error:Ue("USER_DISCONNECTED")}),await this.deleteSession({topic:n,id:i})}catch(s){this.client.logger.error(s)}}),Y(this,"onSessionRequest",async n=>{var r,i,s;const{topic:o,payload:a,attestation:c,encryptedId:u,transportType:l}=n,{id:f,params:d}=a;try{await this.isValidRequest(ve({topic:o},d));const h=this.client.session.get(o),p=await this.getVerifyContext({attestationId:c,hash:an(JSON.stringify(dr("wc_sessionRequest",d,f))),encryptedId:u,metadata:h.peer.metadata,transportType:l}),w={id:f,topic:o,params:d,verifyContext:p};await this.setPendingSessionRequest(w),l===Te.link_mode&&(r=h.peer.metadata.redirect)!=null&&r.universal&&this.client.core.addLinkModeSupportedApp((i=h.peer.metadata.redirect)==null?void 0:i.universal),(s=this.client.signConfig)!=null&&s.disableRequestQueue?this.emitSessionRequest(w):(this.addSessionRequestToSessionRequestQueue(w),this.processSessionRequestQueue())}catch(h){await this.sendError({id:f,topic:o,error:h}),this.client.logger.error(h)}}),Y(this,"onSessionRequestResponse",(n,r)=>{const{id:i}=r,s=Ee("session_request",i);if(this.events.listenerCount(s)===0)throw new Error(`emitting ${s} without any listeners`);Fn(r)?this.events.emit(Ee("session_request",i),{result:r.result}):un(r)&&this.events.emit(Ee("session_request",i),{error:r.error})}),Y(this,"onSessionEventRequest",async(n,r)=>{const{id:i,params:s}=r;try{const o=`${n}_session_event_${s.event.name}`,a=Bo.get(o);if(a&&this.isRequestOutOfSync(a,i)){this.client.logger.info(`Discarding out of sync request - ${i}`);return}this.isValidEmit(ve({topic:n},s)),this.client.events.emit("session_event",{id:i,topic:n,params:s}),Bo.set(o,i)}catch(o){await this.sendError({id:i,topic:n,error:o}),this.client.logger.error(o)}}),Y(this,"onSessionAuthenticateResponse",(n,r)=>{const{id:i}=r;this.client.logger.trace({type:"method",method:"onSessionAuthenticateResponse",topic:n,payload:r}),Fn(r)?this.events.emit(Ee("session_request",i),{result:r.result}):un(r)&&this.events.emit(Ee("session_request",i),{error:r.error})}),Y(this,"onSessionAuthenticateRequest",async n=>{var r;const{topic:i,payload:s,attestation:o,encryptedId:a,transportType:c}=n;try{const{requester:u,authPayload:l,expiryTimestamp:f}=s.params,d=await this.getVerifyContext({attestationId:o,hash:an(JSON.stringify(s)),encryptedId:a,metadata:u.metadata,transportType:c}),h={requester:u,pairingTopic:i,id:s.id,authPayload:l,verifyContext:d,expiryTimestamp:f};await this.setAuthRequest(s.id,{request:h,pairingTopic:i,transportType:c}),c===Te.link_mode&&(r=u.metadata.redirect)!=null&&r.universal&&this.client.core.addLinkModeSupportedApp(u.metadata.redirect.universal),this.client.events.emit("session_authenticate",{topic:i,params:s.params,id:s.id,verifyContext:d})}catch(u){this.client.logger.error(u);const l=s.params.requester.publicKey,f=await this.client.core.crypto.generateKeyPair(),d=this.getAppLinkIfEnabled(s.params.requester.metadata,c),h={type:cr,receiverPublicKey:l,senderPublicKey:f};await this.sendError({id:s.id,topic:i,error:u,encodeOpts:h,rpcOpts:st.wc_sessionAuthenticate.autoReject,appLink:d})}}),Y(this,"addSessionRequestToSessionRequestQueue",n=>{this.sessionRequestQueue.queue.push(n)}),Y(this,"cleanupAfterResponse",n=>{this.deletePendingSessionRequest(n.response.id,{message:"fulfilled",code:0}),setTimeout(()=>{this.sessionRequestQueue.state=Mn.idle,this.processSessionRequestQueue()},J.toMiliseconds(this.requestQueueDelay))}),Y(this,"cleanupPendingSentRequestsForTopic",({topic:n,error:r})=>{const i=this.client.core.history.pending;i.length>0&&i.filter(s=>s.topic===n&&s.request.method==="wc_sessionRequest").forEach(s=>{this.events.emit(Ee("session_request",s.request.id),{error:r})})}),Y(this,"processSessionRequestQueue",()=>{if(this.sessionRequestQueue.state===Mn.active){this.client.logger.info("session request queue is already active.");return}const n=this.sessionRequestQueue.queue[0];if(!n){this.client.logger.info("session request queue is empty.");return}try{this.emitSessionRequest(n)}catch(r){this.client.logger.error(r)}}),Y(this,"emitSessionRequest",n=>{if(this.emittedSessionRequests.has(n.id)){this.client.logger.warn({id:n.id},`Skipping emitting \`session_request\` event for duplicate request. id: ${n.id}`);return}this.sessionRequestQueue.state=Mn.active,this.emittedSessionRequests.add(n.id),this.client.events.emit("session_request",n)}),Y(this,"onPairingCreated",n=>{if(n.methods&&this.expectedPairingMethodMap.set(n.topic,n.methods),n.active)return;const r=this.client.proposal.getAll().find(i=>i.pairingTopic===n.topic);r&&this.onSessionProposeRequest({topic:n.topic,payload:dr("wc_sessionPropose",ot(ve({},r),{requiredNamespaces:r.requiredNamespaces,optionalNamespaces:r.optionalNamespaces,relays:r.relays,proposer:r.proposer,sessionProperties:r.sessionProperties,scopedProperties:r.scopedProperties}),r.id),attestation:r.attestation,encryptedId:r.encryptedId})}),Y(this,"isValidConnect",async n=>{if(!jt(n)){const{message:u}=_("MISSING_OR_INVALID",`connect() params: ${JSON.stringify(n)}`);throw new Error(u)}const{pairingTopic:r,requiredNamespaces:i,optionalNamespaces:s,sessionProperties:o,scopedProperties:a,relays:c}=n;if(Ge(r)||await this.isValidPairingTopic(r),!jB(c,!0)){const{message:u}=_("MISSING_OR_INVALID",`connect() relays: ${c}`);throw new Error(u)}if(i&&!Ge(i)&&So(i)!==0){const u="requiredNamespaces are deprecated and are automatically assigned to optionalNamespaces";["fatal","error","silent"].includes(this.client.logger.level)?console.warn(u):this.client.logger.warn(u),this.validateNamespaces(i,"requiredNamespaces")}if(s&&!Ge(s)&&So(s)!==0&&this.validateNamespaces(s,"optionalNamespaces"),o&&!Ge(o)&&this.validateSessionProps(o,"sessionProperties"),a&&!Ge(a)){this.validateSessionProps(a,"scopedProperties");const u=Object.keys(i||{}).concat(Object.keys(s||{}));if(!Object.keys(a).every(l=>u.includes(l.split(":")[0])))throw new Error(`Scoped properties must be a subset of required/optional namespaces, received: ${JSON.stringify(a)}, required/optional namespaces: ${JSON.stringify(u)}`)}}),Y(this,"validateNamespaces",(n,r)=>{const i=MB(n,"connect()",r);if(i)throw new Error(i.message)}),Y(this,"isValidApprove",async n=>{if(!jt(n))throw new Error(_("MISSING_OR_INVALID",`approve() params: ${n}`).message);const{id:r,namespaces:i,relayProtocol:s,sessionProperties:o,scopedProperties:a}=n;this.checkRecentlyDeleted(r),await this.isValidProposalId(r);const c=this.client.proposal.get(r),u=Df(i,"approve()");if(u)throw new Error(u.message);const l=lw(c.requiredNamespaces,i,"approve()");if(l)throw new Error(l.message);if(!Me(s,!0)){const{message:f}=_("MISSING_OR_INVALID",`approve() relayProtocol: ${s}`);throw new Error(f)}if(o&&!Ge(o)&&this.validateSessionProps(o,"sessionProperties"),a&&!Ge(a)){this.validateSessionProps(a,"scopedProperties");const f=new Set(Object.keys(i));if(!Object.keys(a).every(d=>f.has(d.split(":")[0])))throw new Error(`Scoped properties must be a subset of approved namespaces, received: ${JSON.stringify(a)}, approved namespaces: ${Array.from(f).join(", ")}`)}}),Y(this,"isValidReject",async n=>{if(!jt(n)){const{message:s}=_("MISSING_OR_INVALID",`reject() params: ${n}`);throw new Error(s)}const{id:r,reason:i}=n;if(this.checkRecentlyDeleted(r),await this.isValidProposalId(r),!KB(i)){const{message:s}=_("MISSING_OR_INVALID",`reject() reason: ${JSON.stringify(i)}`);throw new Error(s)}}),Y(this,"isValidSessionSettleRequest",n=>{if(!jt(n)){const{message:u}=_("MISSING_OR_INVALID",`onSessionSettleRequest() params: ${n}`);throw new Error(u)}const{relay:r,controller:i,namespaces:s,expiry:o}=n;if(!cw(r)){const{message:u}=_("MISSING_OR_INVALID","onSessionSettleRequest() relay protocol should be a string");throw new Error(u)}const a=UB(i,"onSessionSettleRequest()");if(a)throw new Error(a.message);const c=Df(s,"onSessionSettleRequest()");if(c)throw new Error(c.message);if(Lr(o)){const{message:u}=_("EXPIRED","onSessionSettleRequest()");throw new Error(u)}}),Y(this,"isValidUpdate",async n=>{if(!jt(n)){const{message:c}=_("MISSING_OR_INVALID",`update() params: ${n}`);throw new Error(c)}const{topic:r,namespaces:i}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r);const s=this.client.session.get(r),o=Df(i,"update()");if(o)throw new Error(o.message);const a=lw(s.requiredNamespaces,i,"update()");if(a)throw new Error(a.message)}),Y(this,"isValidExtend",async n=>{if(!jt(n)){const{message:i}=_("MISSING_OR_INVALID",`extend() params: ${n}`);throw new Error(i)}const{topic:r}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r)}),Y(this,"isValidRequest",async n=>{if(!jt(n)){const{message:c}=_("MISSING_OR_INVALID",`request() params: ${n}`);throw new Error(c)}const{topic:r,request:i,chainId:s,expiry:o}=n;this.checkRecentlyDeleted(r),await this.isValidSessionTopic(r);const{namespaces:a}=this.client.session.get(r);if(!uw(a,s)){const{message:c}=_("MISSING_OR_INVALID",`request() chainId: ${s}`);throw new Error(c)}if(!VB(i)){const{message:c}=_("MISSING_OR_INVALID",`request() ${JSON.stringify(i)}`);throw new Error(c)}if(!WB(a,s,i.method)){const{message:c}=_("MISSING_OR_INVALID",`request() method: ${i.method}`);throw new Error(c)}this.validateRequestExpiry(o)}),Y(this,"isValidRespond",async n=>{var r;if(!jt(n)){const{message:a}=_("MISSING_OR_INVALID",`respond() params: ${n}`);throw new Error(a)}const{topic:i,response:s}=n;try{await this.isValidSessionTopic(i)}catch(a){throw(r=n?.response)!=null&&r.id&&this.cleanupAfterResponse(n),a}if(!HB(s)){const{message:a}=_("MISSING_OR_INVALID",`respond() response: ${JSON.stringify(s)}`);throw new Error(a)}const o=this.client.pendingRequest.get(s.id);if(o.topic!==i){const{message:a}=_("MISMATCHED_TOPIC",`Request response topic mismatch. reqId: ${s.id}, expected topic: ${o.topic}, received topic: ${i}`);throw new Error(a)}}),Y(this,"isValidPing",async n=>{if(!jt(n)){const{message:i}=_("MISSING_OR_INVALID",`ping() params: ${n}`);throw new Error(i)}const{topic:r}=n;await this.isValidSessionOrPairingTopic(r)}),Y(this,"isValidEmit",async n=>{if(!jt(n)){const{message:a}=_("MISSING_OR_INVALID",`emit() params: ${n}`);throw new Error(a)}const{topic:r,event:i,chainId:s}=n;await this.isValidSessionTopic(r);const{namespaces:o}=this.client.session.get(r);if(!uw(o,s)){const{message:a}=_("MISSING_OR_INVALID",`emit() chainId: ${s}`);throw new Error(a)}if(!GB(i)){const{message:a}=_("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(i)}`);throw new Error(a)}if(!ZB(o,s,i.name)){const{message:a}=_("MISSING_OR_INVALID",`emit() event: ${JSON.stringify(i)}`);throw new Error(a)}}),Y(this,"isValidDisconnect",async n=>{if(!jt(n)){const{message:i}=_("MISSING_OR_INVALID",`disconnect() params: ${n}`);throw new Error(i)}const{topic:r}=n;await this.isValidSessionOrPairingTopic(r)}),Y(this,"isValidAuthenticate",n=>{const{chains:r,uri:i,domain:s,nonce:o}=n;if(!Array.isArray(r)||r.length===0)throw new Error("chains is required and must be a non-empty array");if(!Me(i,!1))throw new Error("uri is required parameter");if(!Me(s,!1))throw new Error("domain is required parameter");if(!Me(o,!1))throw new Error("nonce is required parameter");if([...new Set(r.map(c=>_a(c).namespace))].length>1)throw new Error("Multi-namespace requests are not supported. Please request single namespace only.");const{namespace:a}=_a(r[0]);if(a!=="eip155")throw new Error("Only eip155 namespace is supported for authenticated sessions. Please use .connect() for non-eip155 chains.")}),Y(this,"getVerifyContext",async n=>{const{attestationId:r,hash:i,encryptedId:s,metadata:o,transportType:a}=n,c={verified:{verifyUrl:o.verifyUrl||qo,validation:"UNKNOWN",origin:o.url||""}};try{if(a===Te.link_mode){const l=this.getAppLinkIfEnabled(o,a);return c.verified.validation=l&&new URL(l).origin===new URL(o.url).origin?"VALID":"INVALID",c}const u=await this.client.core.verify.resolve({attestationId:r,hash:i,encryptedId:s,verifyUrl:o.verifyUrl});u&&(c.verified.origin=u.origin,c.verified.isScam=u.isScam,c.verified.validation=u.origin===new URL(o.url).origin?"VALID":"INVALID")}catch(u){this.client.logger.warn(u)}return this.client.logger.debug(`Verify context: ${JSON.stringify(c)}`),c}),Y(this,"validateSessionProps",(n,r)=>{Object.values(n).forEach((i,s)=>{if(i==null){const{message:o}=_("MISSING_OR_INVALID",`${r} must contain an existing value for each key. Received: ${i} for key ${Object.keys(n)[s]}`);throw new Error(o)}})}),Y(this,"getPendingAuthRequest",n=>{const r=this.client.auth.requests.get(n);return typeof r=="object"?r:void 0}),Y(this,"addToRecentlyDeleted",(n,r)=>{if(this.recentlyDeletedMap.set(n,r),this.recentlyDeletedMap.size>=this.recentlyDeletedLimit){let i=0;const s=this.recentlyDeletedLimit/2;for(const o of this.recentlyDeletedMap.keys()){if(i++>=s)break;this.recentlyDeletedMap.delete(o)}}}),Y(this,"checkRecentlyDeleted",n=>{const r=this.recentlyDeletedMap.get(n);if(r){const{message:i}=_("MISSING_OR_INVALID",`Record was recently deleted - ${r}: ${n}`);throw new Error(i)}}),Y(this,"isLinkModeEnabled",(n,r)=>{var i,s,o,a,c,u,l,f,d;return!n||r!==Te.link_mode?!1:((s=(i=this.client.metadata)==null?void 0:i.redirect)==null?void 0:s.linkMode)===!0&&((a=(o=this.client.metadata)==null?void 0:o.redirect)==null?void 0:a.universal)!==void 0&&((u=(c=this.client.metadata)==null?void 0:c.redirect)==null?void 0:u.universal)!==""&&((l=n?.redirect)==null?void 0:l.universal)!==void 0&&((f=n?.redirect)==null?void 0:f.universal)!==""&&((d=n?.redirect)==null?void 0:d.linkMode)===!0&&this.client.core.linkModeSupportedApps.includes(n.redirect.universal)&&typeof(global==null?void 0:global.Linking)<"u"}),Y(this,"getAppLinkIfEnabled",(n,r)=>{var i;return this.isLinkModeEnabled(n,r)?(i=n?.redirect)==null?void 0:i.universal:void 0}),Y(this,"handleLinkModeMessage",({url:n})=>{if(!n||!n.includes("wc_ev")||!n.includes("topic"))return;const r=v1(n,"topic")||"",i=decodeURIComponent(v1(n,"wc_ev")||""),s=this.client.session.keys.includes(r);s&&this.client.session.update(r,{transportType:Te.link_mode}),this.client.core.dispatchEnvelope({topic:r,message:i,sessionExists:s})}),Y(this,"registerLinkModeListeners",async()=>{var n;if(Yl()||nr()&&(n=this.client.metadata.redirect)!=null&&n.linkMode){const r=global==null?void 0:global.Linking;if(typeof r<"u"){r.addEventListener("url",this.handleLinkModeMessage,this.client.name);const i=await r.getInitialURL();i&&setTimeout(()=>{this.handleLinkModeMessage({url:i})},50)}}}),Y(this,"getTVFApproveParams",n=>{try{const r=nw(n.namespaces),i=mB(n.namespaces),s=vB(n.namespaces),o=n.sessionProperties,a=n.scopedProperties;return{approvedChains:r,approvedMethods:i,approvedEvents:s,sessionProperties:o,scopedProperties:a}}catch(r){return this.client.logger.warn(r,"Error getting TVF approve params"),{}}}),Y(this,"getTVFParams",(n,r,i)=>{var s,o,a;if(!((s=r.request)!=null&&s.method))return{};const c={correlationId:n,rpcMethods:[r.request.method],chainId:r.chainId};try{const u=this.extractTxHashesFromResult(r.request,i);c.txHashes=u,c.contractAddresses=this.isValidContractData(r.request.params)?[(a=(o=r.request.params)==null?void 0:o[0])==null?void 0:a.to]:[]}catch(u){this.client.logger.warn(u,"Error getting TVF params")}return c}),Y(this,"isValidContractData",n=>{var r;if(!n)return!1;try{const i=n?.data||((r=n?.[0])==null?void 0:r.data);if(!i.startsWith("0x"))return!1;const s=i.slice(2);return/^[0-9a-fA-F]*$/.test(s)?s.length%2===0:!1}catch{}return!1}),Y(this,"extractTxHashesFromResult",(n,r)=>{var i;try{if(!r)return[];const s=n.method,o=$N[s];if(s==="sui_signTransaction")return[a9(r.transactionBytes)];if(s==="near_signTransaction")return[K1(r)];if(s==="near_signTransactions")return r.map(c=>K1(c));if(s==="xrpl_signTransactionFor"||s==="xrpl_signTransaction")return[(i=r.tx_json)==null?void 0:i.hash];if(s==="polkadot_signTransaction")return[fO({transaction:n.params.transactionPayload,signature:r.signature})];if(s==="algo_signTxn")return ms(r)?r.map(c=>V1(c)):[V1(r)];if(s==="cosmos_signDirect")return[u9(r)];if(s==="wallet_sendCalls")return l9(r);if(typeof r=="string")return[r];const a=r[o.key];if(ms(a))return s==="solana_signAllTransactions"?a.map(c=>o9(c)):a;if(typeof a=="string")return[a]}catch(s){this.client.logger.warn(s,"Error extracting tx hashes from result")}return[]})}async processPendingMessageEvents(){try{const e=this.client.session.keys,n=this.client.core.relayer.messages.getWithoutAck(e);for(const[r,i]of Object.entries(n))for(const s of i)try{await this.onProviderMessageEvent({topic:r,message:s,publishedAt:Date.now()})}catch{this.client.logger.warn(`Error processing pending message event for topic: ${r}, message: ${s}`)}}catch(e){this.client.logger.warn(e,"processPendingMessageEvents failed")}}isInitialized(){if(!this.initialized){const{message:e}=_("NOT_INITIALIZED",this.name);throw new Error(e)}}async confirmOnlineStateOrThrow(){await this.client.core.relayer.confirmOnlineStateOrThrow()}registerRelayerEvents(){this.client.core.relayer.on(Le.message,e=>{this.onProviderMessageEvent(e)})}async onRelayMessage(e){const{topic:n,message:r,attestation:i,transportType:s}=e,{publicKey:o}=this.client.auth.authKeys.keys.includes(Lc)?this.client.auth.authKeys.get(Lc):{responseTopic:void 0,publicKey:void 0};try{const a=await this.client.core.crypto.decode(n,r,{receiverPublicKey:o,encoding:s===Te.link_mode?_r:Mt});$f(a)?(this.client.core.history.set(n,a),await this.onRelayEventRequest({topic:n,payload:a,attestation:i,transportType:s,encryptedId:an(r)})):Uc(a)?(await this.client.core.history.resolve(a),await this.onRelayEventResponse({topic:n,payload:a,transportType:s}),this.client.core.history.delete(n,a.id)):(this.client.logger.error(`onRelayMessage() -> unknown payload: ${JSON.stringify(a)}`),await this.onRelayEventUnknownPayload({topic:n,payload:a,transportType:s})),await this.client.core.relayer.messages.ack(n,r)}catch(a){this.client.logger.error(`onRelayMessage() -> failed to process an inbound message: ${r}`),this.client.logger.error(a)}}registerExpirerEvents(){this.client.core.expirer.on(fn.expired,async e=>{const{topic:n,id:r}=m1(e.target);if(r&&this.client.pendingRequest.keys.includes(r))return await this.deletePendingSessionRequest(r,_("EXPIRED"),!0);if(r&&this.client.auth.requests.keys.includes(r))return await this.deletePendingAuthRequest(r,_("EXPIRED"),!0);n?this.client.session.keys.includes(n)&&(await this.deleteSession({topic:n,expirerHasDeleted:!0}),this.client.events.emit("session_expire",{topic:n})):r&&(await this.deleteProposal(r,!0),this.client.events.emit("proposal_expire",{id:r}))})}registerPairingEvents(){this.client.core.pairing.events.on(Li.create,e=>this.onPairingCreated(e)),this.client.core.pairing.events.on(Li.delete,e=>{this.addToRecentlyDeleted(e.topic,"pairing")})}isValidPairingTopic(e){if(!Me(e,!1)){const{message:n}=_("MISSING_OR_INVALID",`pairing topic should be a string: ${e}`);throw new Error(n)}if(!this.client.core.pairing.pairings.keys.includes(e)){const{message:n}=_("NO_MATCHING_KEY",`pairing topic doesn't exist: ${e}`);throw new Error(n)}if(Lr(this.client.core.pairing.pairings.get(e).expiry)){const{message:n}=_("EXPIRED",`pairing topic: ${e}`);throw new Error(n)}}async isValidSessionTopic(e){if(!Me(e,!1)){const{message:n}=_("MISSING_OR_INVALID",`session topic should be a string: ${e}`);throw new Error(n)}if(this.checkRecentlyDeleted(e),!this.client.session.keys.includes(e)){const{message:n}=_("NO_MATCHING_KEY",`session topic doesn't exist: ${e}`);throw new Error(n)}if(Lr(this.client.session.get(e).expiry)){await this.deleteSession({topic:e});const{message:n}=_("EXPIRED",`session topic: ${e}`);throw new Error(n)}if(!this.client.core.crypto.keychain.has(e)){const{message:n}=_("MISSING_OR_INVALID",`session topic does not exist in keychain: ${e}`);throw await this.deleteSession({topic:e}),new Error(n)}}async isValidSessionOrPairingTopic(e){if(this.checkRecentlyDeleted(e),this.client.session.keys.includes(e))await this.isValidSessionTopic(e);else if(this.client.core.pairing.pairings.keys.includes(e))this.isValidPairingTopic(e);else if(Me(e,!1)){const{message:n}=_("NO_MATCHING_KEY",`session or pairing topic doesn't exist: ${e}`);throw new Error(n)}else{const{message:n}=_("MISSING_OR_INVALID",`session or pairing topic should be a string: ${e}`);throw new Error(n)}}async isValidProposalId(e){if(!zB(e)){const{message:n}=_("MISSING_OR_INVALID",`proposal id should be a number: ${e}`);throw new Error(n)}if(!this.client.proposal.keys.includes(e)){const{message:n}=_("NO_MATCHING_KEY",`proposal id doesn't exist: ${e}`);throw new Error(n)}if(Lr(this.client.proposal.get(e).expiryTimestamp)){await this.deleteProposal(e);const{message:n}=_("EXPIRED",`proposal id: ${e}`);throw new Error(n)}}validateRequestExpiry(e){if(e&&!JB(e,wh)){const{message:n}=_("MISSING_OR_INVALID",`request() expiry: ${e}. Expiry must be a number (in seconds) between ${wh.min} and ${wh.max}`);throw new Error(n)}}}class dU extends zi{constructor(e,n){super(e,n,JN,gh),this.core=e,this.logger=n}}class Xy extends zi{constructor(e,n){super(e,n,QN,gh),this.core=e,this.logger=n}}class pU extends zi{constructor(e,n){super(e,n,eU,gh,r=>r.id),this.core=e,this.logger=n}}class gU extends zi{constructor(e,n){super(e,n,iU,kc,()=>Lc),this.core=e,this.logger=n}}class bU extends zi{constructor(e,n){super(e,n,sU,kc),this.core=e,this.logger=n}}class wU extends zi{constructor(e,n){super(e,n,oU,kc,r=>r.id),this.core=e,this.logger=n}}var yU=Object.defineProperty,mU=(t,e,n)=>e in t?yU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mh=(t,e,n)=>mU(t,typeof e!="symbol"?e+"":e,n);class vU{constructor(e,n){this.core=e,this.logger=n,mh(this,"authKeys"),mh(this,"pairingTopics"),mh(this,"requests"),this.authKeys=new gU(this.core,this.logger),this.pairingTopics=new bU(this.core,this.logger),this.requests=new wU(this.core,this.logger)}async init(){await this.authKeys.init(),await this.pairingTopics.init(),await this.requests.init()}}var EU=Object.defineProperty,xU=(t,e,n)=>e in t?EU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,we=(t,e,n)=>xU(t,typeof e!="symbol"?e+"":e,n);class vh extends SP{constructor(e){super(e),we(this,"protocol",Vy),we(this,"version",Hy),we(this,"name",bh.name),we(this,"metadata"),we(this,"core"),we(this,"logger"),we(this,"events",new ut.exports.EventEmitter),we(this,"engine"),we(this,"session"),we(this,"proposal"),we(this,"pendingRequest"),we(this,"auth"),we(this,"signConfig"),we(this,"on",(r,i)=>this.events.on(r,i)),we(this,"once",(r,i)=>this.events.once(r,i)),we(this,"off",(r,i)=>this.events.off(r,i)),we(this,"removeListener",(r,i)=>this.events.removeListener(r,i)),we(this,"removeAllListeners",r=>this.events.removeAllListeners(r)),we(this,"connect",async r=>{try{return await this.engine.connect(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"pair",async r=>{try{return await this.engine.pair(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"approve",async r=>{try{return await this.engine.approve(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"reject",async r=>{try{return await this.engine.reject(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"update",async r=>{try{return await this.engine.update(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"extend",async r=>{try{return await this.engine.extend(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"request",async r=>{try{return await this.engine.request(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"respond",async r=>{try{return await this.engine.respond(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"ping",async r=>{try{return await this.engine.ping(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"emit",async r=>{try{return await this.engine.emit(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"disconnect",async r=>{try{return await this.engine.disconnect(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"find",r=>{try{return this.engine.find(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"getPendingSessionRequests",()=>{try{return this.engine.getPendingSessionRequests()}catch(r){throw this.logger.error(r.message),r}}),we(this,"authenticate",async(r,i)=>{try{return await this.engine.authenticate(r,i)}catch(s){throw this.logger.error(s.message),s}}),we(this,"formatAuthMessage",r=>{try{return this.engine.formatAuthMessage(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"approveSessionAuthenticate",async r=>{try{return await this.engine.approveSessionAuthenticate(r)}catch(i){throw this.logger.error(i.message),i}}),we(this,"rejectSessionAuthenticate",async r=>{try{return await this.engine.rejectSessionAuthenticate(r)}catch(i){throw this.logger.error(i.message),i}}),this.name=e?.name||bh.name,this.metadata=eI(e?.metadata),this.signConfig=e?.signConfig;const n=dw({logger:e?.logger||bh.logger,name:this.name});this.logger=n,this.core=e?.core||new ph(e),this.session=new Xy(this.core,this.logger),this.proposal=new dU(this.core,this.logger),this.pendingRequest=new pU(this.core,this.logger),this.engine=new hU(this),this.auth=new vU(this.core,this.logger)}static async init(e){const n=new vh(e);return await n.initialize(),n}get context(){return Rt(this.logger)}get pairing(){return this.core.pairing.pairings}async initialize(){this.logger.trace("Initialized");try{await this.core.start(),await this.session.init(),await this.proposal.init(),await this.pendingRequest.init(),await this.auth.init(),await this.engine.init(),this.logger.info("SignClient Initialization Success")}catch(e){throw this.logger.info("SignClient Initialization Failure"),this.logger.error(e.message),e}}}const IU=Xy,SU=vh;class BU extends ut.exports{constructor(){super()}}class Jy{constructor(e){this.opts=e}}class Qy{constructor(e){this.client=e}}var OU=Object.defineProperty,AU=Object.defineProperties,PU=Object.getOwnPropertyDescriptors,_y=Object.getOwnPropertySymbols,DU=Object.prototype.hasOwnProperty,RU=Object.prototype.propertyIsEnumerable,Eh=(t,e,n)=>e in t?OU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,TU=(t,e)=>{for(var n in e||(e={}))DU.call(e,n)&&Eh(t,n,e[n]);if(_y)for(var n of _y(e))RU.call(e,n)&&Eh(t,n,e[n]);return t},NU=(t,e)=>AU(t,PU(e)),Be=(t,e,n)=>Eh(t,typeof e!="symbol"?e+"":e,n);class UU extends Qy{constructor(e){super(e),Be(this,"signClient"),Be(this,"init",async()=>{this.signClient=await SU.init({core:this.client.core,metadata:this.client.metadata,signConfig:this.client.signConfig}),this.signClient.core.eventClient.init().catch(n=>{this.client.logger.warn(n)})}),Be(this,"pair",async n=>{await this.client.core.pairing.pair(n)}),Be(this,"approveSession",async n=>{const{topic:r,acknowledged:i}=await this.signClient.approve(NU(TU({},n),{id:n.id,namespaces:n.namespaces,sessionProperties:n.sessionProperties,scopedProperties:n.scopedProperties,sessionConfig:n.sessionConfig,proposalRequestsResponses:n?.proposalRequestsResponses}));return await i(),this.signClient.session.get(r)}),Be(this,"rejectSession",async n=>await this.signClient.reject(n)),Be(this,"updateSession",async n=>await this.signClient.update(n)),Be(this,"extendSession",async n=>await this.signClient.extend(n)),Be(this,"respondSessionRequest",async n=>await this.signClient.respond(n)),Be(this,"disconnectSession",async n=>await this.signClient.disconnect(n)),Be(this,"emitSessionEvent",async n=>await this.signClient.emit(n)),Be(this,"getActiveSessions",()=>this.signClient.session.getAll().reduce((n,r)=>(n[r.topic]=r,n),{})),Be(this,"getPendingSessionProposals",()=>this.signClient.proposal.getAll()),Be(this,"getPendingSessionRequests",()=>this.signClient.getPendingSessionRequests()),Be(this,"approveSessionAuthenticate",async n=>await this.signClient.approveSessionAuthenticate(n)),Be(this,"rejectSessionAuthenticate",async n=>await this.signClient.rejectSessionAuthenticate(n)),Be(this,"formatAuthMessage",n=>this.signClient.formatAuthMessage(n)),Be(this,"registerDeviceToken",n=>this.client.core.echoClient.registerDeviceToken(n)),Be(this,"on",(n,r)=>(this.setEvent(n,"off"),this.setEvent(n,"on"),this.client.events.on(n,r))),Be(this,"once",(n,r)=>(this.setEvent(n,"off"),this.setEvent(n,"once"),this.client.events.once(n,r))),Be(this,"off",(n,r)=>(this.setEvent(n,"off"),this.client.events.off(n,r))),Be(this,"removeListener",(n,r)=>(this.setEvent(n,"removeListener"),this.client.events.removeListener(n,r))),Be(this,"onSessionRequest",n=>{this.client.events.emit("session_request",n)}),Be(this,"onSessionProposal",n=>{this.client.events.emit("session_proposal",n)}),Be(this,"onSessionDelete",n=>{this.client.events.emit("session_delete",n)}),Be(this,"onProposalExpire",n=>{this.client.events.emit("proposal_expire",n)}),Be(this,"onSessionRequestExpire",n=>{this.client.events.emit("session_request_expire",n)}),Be(this,"onSessionRequestAuthenticate",n=>{this.client.events.emit("session_authenticate",n)}),Be(this,"setEvent",(n,r)=>{switch(n){case"session_request":this.signClient.events[r]("session_request",this.onSessionRequest);break;case"session_proposal":this.signClient.events[r]("session_proposal",this.onSessionProposal);break;case"session_delete":this.signClient.events[r]("session_delete",this.onSessionDelete);break;case"proposal_expire":this.signClient.events[r]("proposal_expire",this.onProposalExpire);break;case"session_request_expire":this.signClient.events[r]("session_request_expire",this.onSessionRequestExpire);break;case"session_authenticate":this.signClient.events[r]("session_authenticate",this.onSessionRequestAuthenticate);break}}),this.signClient={}}}const CU={decryptMessage:async t=>{const e={core:new ph({storageOptions:t.storageOptions,storage:t.storage,customStoragePrefix:t.customStoragePrefix})};await e.core.crypto.init();const n=e.core.crypto.decode(t.topic,t.encryptedMessage);return e.core=null,n},getMetadata:async t=>{const e={core:new ph({storageOptions:t.storageOptions,storage:t.storage,customStoragePrefix:t.customStoragePrefix}),sessionStore:null};e.sessionStore=new IU(e.core,e.core.logger),await e.sessionStore.init();const n=e.sessionStore.get(t.topic),r=n?.peer.metadata;return e.core=null,e.sessionStore=null,r}};function FU(t){const e=t.toLowerCase();return e.includes("pay.")||e.includes("pay=")||e.includes("pay_")||e.includes("pay%2e")||e.includes("pay%3d")||e.includes("pay%5f")}var qU=Object.defineProperty,$y=Object.getOwnPropertySymbols,kU=Object.prototype.hasOwnProperty,LU=Object.prototype.propertyIsEnumerable,xh=(t,e,n)=>e in t?qU(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,MU=(t,e)=>{for(var n in e||(e={}))kU.call(e,n)&&xh(t,n,e[n]);if($y)for(var n of $y(e))LU.call(e,n)&&xh(t,n,e[n]);return t},Oe=(t,e,n)=>xh(t,typeof e!="symbol"?e+"":e,n);const em=class vm extends Jy{constructor(e){super(e),Oe(this,"name"),Oe(this,"core"),Oe(this,"logger"),Oe(this,"events",new ut.exports),Oe(this,"engine"),Oe(this,"metadata"),Oe(this,"signConfig"),Oe(this,"pay"),Oe(this,"on",(n,r)=>this.engine.on(n,r)),Oe(this,"once",(n,r)=>this.engine.once(n,r)),Oe(this,"off",(n,r)=>this.engine.off(n,r)),Oe(this,"removeListener",(n,r)=>this.engine.removeListener(n,r)),Oe(this,"pair",async n=>{try{return await this.engine.pair(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"approveSession",async n=>{try{return await this.engine.approveSession(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"rejectSession",async n=>{try{return await this.engine.rejectSession(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"updateSession",async n=>{try{return await this.engine.updateSession(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"extendSession",async n=>{try{return await this.engine.extendSession(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"respondSessionRequest",async n=>{try{return await this.engine.respondSessionRequest(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"disconnectSession",async n=>{try{return await this.engine.disconnectSession(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"emitSessionEvent",async n=>{try{return await this.engine.emitSessionEvent(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"getActiveSessions",()=>{try{return this.engine.getActiveSessions()}catch(n){throw this.logger.error(n.message),n}}),Oe(this,"getPendingSessionProposals",()=>{try{return this.engine.getPendingSessionProposals()}catch(n){throw this.logger.error(n.message),n}}),Oe(this,"getPendingSessionRequests",()=>{try{return this.engine.getPendingSessionRequests()}catch(n){throw this.logger.error(n.message),n}}),Oe(this,"registerDeviceToken",n=>{try{return this.engine.registerDeviceToken(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"approveSessionAuthenticate",n=>{try{return this.engine.approveSessionAuthenticate(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"rejectSessionAuthenticate",n=>{try{return this.engine.rejectSessionAuthenticate(n)}catch(r){throw this.logger.error(r.message),r}}),Oe(this,"formatAuthMessage",n=>{try{return this.engine.formatAuthMessage(n)}catch(r){throw this.logger.error(r.message),r}}),this.metadata=e.metadata,this.name=e.name||Vf,this.signConfig=e.signConfig,this.core=e.core,this.logger=this.core.logger,this.engine=new UU(this),this.pay=void 0}static async init(e){const n=new vm(e);return await n.initialize(),n}async initialize(){this.logger.trace("Initialized");try{await this.engine.init(),qw.isAvailable()&&(this.pay=new qw(MU({clientId:await this.core.crypto.getClientId(),appId:this.core.projectId},this.opts.payConfig||{}))),this.logger.info("WalletKit Initialization Success")}catch(e){throw this.logger.info("WalletKit Initialization Failure"),this.logger.error(e.message),e}}};Oe(em,"notifications",CU);let tm=em;const jU=tm;_e.CLIENT_CONTEXT=Vf,_e.CLIENT_STORAGE_OPTIONS=IA,_e.CLIENT_STORAGE_PREFIX=xA,_e.IWalletKit=Jy,_e.IWalletKitEngine=Qy,_e.IWalletKitEvents=BU,_e.PROTOCOL=kw,_e.PROTOCOL_VERSION=EA,_e.REQUEST_CONTEXT=SA,_e.WalletKit=jU,_e.default=tm,_e.isPaymentLink=FU,Object.defineProperty(_e,"__esModule",{value:!0})});
|
|
41
43
|
//# sourceMappingURL=index.umd.js.map
|